Commit Graph

65 Commits

Author SHA1 Message Date
xzhao 49328e1da8 Added guiwrapper for fcitx-qt5 (#19) 2017-01-28 10:43:46 -08:00
Weng Xuetian 6cc5e86b1c [qt5] don't crash if window->screen() is null 2016-10-12 16:26:34 -07:00
Weng Xuetian 927c3e2041 [qt5] remove usage of QPointer in icdata
QPointer doesn't protect anything here, it didn't protect anything. It's
not possible to delete FcitxQtInputContextProxy outside of input
context.

Fix #13
2016-03-30 08:26:05 -07:00
Weng Xuetian 909637a5e1 Revert "[qt5] delay the call to QDBusConnection::sessionBus"
This reverts commit ac3640ff20.
Ok the real issue is in qtcurve, let's revert it.
2016-03-19 17:08:34 -07:00
Weng Xuetian 328820d312 [qt5] use more nullptr 2016-03-19 16:51:40 -07:00
Weng Xuetian ac3640ff20 [qt5] delay the call to QDBusConnection::sessionBus
for some reason, if fcitx connection is created immediately, it
doesn't work with qt curve. I suspect bug is in qtcurve or qdbus, but
use this workaround won't harm anyway.
2016-03-19 16:47:46 -07:00
Weng Xuetian 4262d9f30c [qt5] use new connection syntax 2016-03-19 16:46:09 -07:00
Weng Xuetian 8fc110e612 [qt5] fromUcs4 expect a nul terminated string by default, give it a size 2016-02-09 19:55:22 -08:00
Weng Xuetian 31ecc9f2f9 [qt5] Fix inconsistency between qstring and ucs4 string when handle surrounding 2016-02-07 16:47:06 -08:00
Weng Xuetian 3726be634f [qt5] remove debug message 2015-12-17 16:02:37 -08:00
Weng Xuetian 2e6eaef587 [qt5] clean proxy even it's invalid. 2015-12-03 11:00:22 -08:00
Weng Xuetian 7f4134b43c [qt5] use some C++11 feature and fix ic not get recreated when fcitx restarts 2015-12-03 10:57:36 -08:00
Weng Xuetian 76bdb808a1 [qt5] move link_directories to the head of cmake 2015-11-23 23:01:09 -08:00
Weng Xuetian 6c8165b340 [qt5] use the correct var name
we are not using find_package(Fcitx) but pkg_check_modules
2015-11-23 22:58:42 -08:00
Weng Xuetian 2ce2ee0b3d [qt5] use link_directories for widgetaddons 2015-11-23 22:56:14 -08:00
Weng Xuetian ec8180295e [qt5] add missing locale() function 2015-10-28 13:04:21 -07:00
Weng Xuetian 302a50422a [qt5] implement locale in platform context 2015-10-28 12:25:38 -07:00
Weng Xuetian 73337c53f7 [qt5] also fix the coordinates for high dpi in qt5 2015-07-08 21:04:21 -07:00
Weng Xuetian 78c482b3fd [qt5] fixes #6
use macro instead of string literal and fix compatibility issue with qt5.5
2015-07-02 20:02:17 -07:00
Weng Xuetian 6d57ea52b6 [qt5] install to lib instead of data 2015-04-21 12:21:32 -07:00
Weng Xuetian da166a3481 [qt5] fix leak 2015-04-21 12:21:21 -07:00
Weng Xuetian 5bf30a2c20 [qt5] reset xkb compsoe state when reset context 2015-04-14 17:55:20 -07:00
Weng Xuetian 59762cfd93 [qt5] adjust order ensure log level works 2015-04-12 10:02:16 -07:00
Weng Xuetian 1b2c558ac6 [qt5] add check before set log level 2015-04-12 09:53:39 -07:00
Weng Xuetian 97869ce2ea [qt5] adjust xkb context log level 2015-04-12 09:51:37 -07:00
Weng Xuetian 7c7e0a854e [qt5] use xkbcommon for compose 2015-04-03 11:40:34 -07:00
Weng Xuetian 307ccd40cc [qt5] fix dependency check 2015-04-03 09:50:57 -07:00
Weng Xuetian 46dc9185da [qt5] Fix google code issue 748 2015-04-03 09:50:42 -07:00
Weng Xuetian b706cec9fb [qt5] implement async process key event 2015-01-17 17:33:58 -08:00
Weng Xuetian b0cfb8f5a1 [qt5] Fixes Issue #5
Nested event loop seems to be the root cause for this.
2015-01-17 16:51:56 -08:00
Weng Xuetian 944d523e79 [qt5] bump version in cmake 2015-01-15 14:12:37 -08:00
Weng Xuetian 43f831adf0 add copying 2015-01-15 14:10:23 -08:00
Weng Xuetian c69a7a1430 [qt5] use platform name to check x11 2014-12-31 20:57:49 -08:00
Weng Xuetian 6678c38546 access window function when context destructs is a bad thing
probably application is also shutting down at the same time and it might
cause crash.
2014-12-29 15:47:43 -08:00
Weng Xuetian f992b6c0ba reorganize fcitx-qt5 library 2014-12-08 00:36:16 -05:00
Weng Xuetian dae63d68d5 [qt5] remove debug message 2014-12-01 18:35:18 -05:00
Weng Xuetian 0cecc13060 [qt5] fix fcitx-qt5 display number resolution 2014-12-01 18:24:12 -05:00
Weng Xuetian d9346617a9 fix pkg-config file 2014-12-01 18:05:21 -05:00
Weng Xuetian 5018c9532e [qt5] use filterEvent instead of x11FilterEvent
the native* value is beint correctly set. we don't need to use
x11FilterEvent anymore.
2014-10-22 08:03:00 -04:00
Weng Xuetian 67ef9ab053 [qt5] update dbus support 2014-08-28 15:12:38 -04:00
Weng Xuetian c962fa8450 [qt5] use new qt5 library name 2014-05-24 23:09:07 -04:00
Weng Xuetian 0111fadd13 [qt5] widgets is not required any more 2014-04-10 01:39:37 -04:00
darius 1b55cfac29 fix invalid korean input
same issue from ibus-qt, patch from ibus-qt

https://code.google.com/p/ibus/issues/detail?id=654
f10a2153b6
2014-04-07 12:30:11 +09:00
Weng Xuetian c3d37b9bf4 [qt5] remove debug message 2013-01-25 13:22:13 -05:00
Weng Xuetian 6a7448595a [qt5] update license 2013-01-25 13:15:59 -05:00
Weng Xuetian 47b3137005 [qt5] add dbus part of fcitx-qt, without fcitx dependency
port all core to fcitx-qt5, and add "per window" ic feature
2013-01-25 10:39:04 -05:00
Weng Xuetian 83fb0b8ecc force update cursor position 2013-01-09 13:32:52 -05:00
Weng Xuetian afea484867 check icproxy is valid or not 2013-01-09 00:54:08 -05:00
Weng Xuetian 46a495de56 make cursor update better 2013-01-09 00:29:16 -05:00
Weng Xuetian 0dec3fda8e wrong private dbus path 2013-01-09 00:11:40 -05:00