Commit Graph

23 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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