summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release 1.5.141.5.14fujiwarat2016-08-051-1/+1
| | | | | | R=shawn.p.huang@gmail.com Review URL: https://codereview.appspot.com/306860043
* Replace deprecated GSimpleAsyncResult with GTask since GLib 2.46fujiwarat2016-08-043-233/+334
| | | | Review URL: https://codereview.appspot.com/304310043
* Fix Croatian language code in simple.xmlfujiwarat2016-08-021-3/+3
| | | | | | R=shawn.p.huang@gmail.com Review URL: https://codereview.appspot.com/302320044
* Fix make distfujiwarat2016-07-275-6/+16
| | | | | | | | | | | | | | | | | 'make dist' has different directories between builddir and srcdir. src/tests/runtest gets the builddir of ibus-memconf from the srcdir of memconf.xml and the builddir of ibus-engine-simple from the srcdir of simple.xml. bindings/pygobject/test-override-ibus.py runs IBus.Keymap.new() and gets the path of keymaps from IBUS_KEYMAP_PATH variable. bindings/vala/ibus-1.0.vapi needs to be cleaned by 'make distclean'. R=shawn.p.huang@gmail.com Review URL: https://codereview.appspot.com/305950043
* tests/ibus-engine-switch: Don't try to remove non-existing GSourcefujiwarat2016-07-253-7/+26
| | | | | | | | | | | | | | | | | | | ibus-engine-switch schedules an idle doing an engine switch, and also schedules a timeout after 1 microsecond which exits the main loop. Both of these callbacks will return FALSE, which detaches the associated GSource from the mainloop and destroys it. As the only way to exit the mainloop is when the timeout callback runs, we should not try to run g_source_remove(timeout_id) as it will already be gone, and this causes a warning. This commit reorders a bit to make the ordering between the idle and timeout more obvious, and it gets rid of the calls to g_source_remove() as they are needed. BUG=https://github.com/ibus/ibus/issues/1868 Review URL: https://codereview.appspot.com/103100044
* Fix typo in configure.acfujiwarat2016-07-201-1/+1
| | | | | | R=shawn.p.huang@gmail.com Review URL: https://codereview.appspot.com/303110043
* engine: Use annotations/en.xml from unocode.org but not emoji-list.htmlfujiwarat2016-07-079-157/+1634
| | | | | | | | | | | | | Downloading emoji-list would cause a different build by build site. Now save annotations/en.xml from unicode.org and get emoji.json from Emoji One. en.xml is used for Unicode annotations and emoji.json is used for aliases_ascii, e.g. ":)", and category, e.g. "people". BUG=https://github.com/ibus/ibus/issues/1865 R=Shawn.P.Huang@gmail.com Review URL: https://codereview.appspot.com/299530044
* engine: Add emoji-list.htmlfujiwarat2016-06-231-1/+22
| | | | | | | | | | | | | | Now we copied http://unicode.org/emoji/charts/emoji-list.html to http://ibus.github.io/files/ibus/emoji-list.html and download the file in the build time. We don't save emoji-list.html in the tarball because the file size is more than 5MB. We always don't get the latest emoji-list.html to avoid the build error. BUG=https://github.com/ibus/ibus/pull/1864 R=shawn.p.huang@gmail.com Review URL: https://codereview.appspot.com/298580043
* engine: Implement Emoji typing with XKB enginesfujiwarat2016-06-216-41/+890
| | | | | | | | | | Now Ctrl+Shift+e can convert an Emoji annotation to the Emoji characters likes Ctrl+Shift+u. The annotations are described as "Keywords" in the Unicode Emoji Data: http://www.unicode.org/emoji/charts/emoji-list.html 'emoji-parser' compiles 'emoji-list.html' and generates 'emoji.dict' Review URL: https://codereview.appspot.com/295610043
* ui/gtk3: Fix panel CSS format for GTK 3.20fujiwarat2016-06-033-7/+28
| | | | | | | | | CSS node names have been changed since GTK 3.20 and the font size and widget color no longer work with the previous node names. BUG=https://github.com/ibus/ibus/issues/1856 Review URL: https://codereview.appspot.com/297380043
* client/gtk2: Fix SEGV with Wayland displayfujiwarat2016-06-032-7/+5
| | | | | | | | | | | Delete gdk_display_get_name() in GTK clients because ibus-daemon does not use gdk_display_get_name(). GdkX11Dislay and GdkX11Window does not work with Wayland. BUG=https://github.com/ibus/ibus/issues/1859 R=Shawn.P.Huang@gmail.com Review URL: https://codereview.appspot.com/301760043
* conf/gconf: Fix SEGV in ibus_config_gconf_get_valuesfujiwarat2016-05-261-1/+1
| | | | | | | BUG=https://github.com/ibus/ibus/issues/1858 R=shawn.p.huang@gmail.com Review URL: https://codereview.appspot.com/300810043
* configure: don't hardcode pkg-configMarc-Antoine Perennou2016-05-261-1/+1
| | | | | | | | | BUG=https://github.com/ibus/ibus/pull/1860 R=Shawn.P.Huang@gmail.com Review URL: https://codereview.appspot.com/299150043 Patch from Marc-Antoine Perennou <Marc-Antoine@Perennou.com>.
* Install a DBus service fileRui Matos2016-05-252-0/+14
| | | | | | | | | | | | | | | | | | With the transition to user scoped DBus sessions (vs. login sessions) there's a need to start ibus-daemon via DBus activation so that the process gets properly tracked and disposed of when the login session ends. Otherwise the ibus-daemon process lingers on and keeps the whole login session up. We already connect and own a well known name on DBus. The remaining missing piece is the DBus service file which we introduce here. BUG=https://github.com/ibus/ibus/pull/1853 R=Shawn.P.Huang@gmail.com Review URL: https://codereview.appspot.com/295340043 Patch from Rui Matos <tiagomatos@gmail.com>.
* Don't warn if DISPLAY is not setMatthias Clasen2016-03-081-4/+1
| | | | | | | | | | | | | This is normal under Wayland, and not worth warning about. The warnings disrupt unit tests in GNOME continuous, which treat warnings as fatal. BUG=https://github.com/ibus/ibus/pull/1844 R=shawn.p.huang@gmail.com Review URL: https://codereview.appspot.com/289430043 Patch from Matthias Clasen <mclasen@redhat.com>.
* Release 1.5.131.5.13fujiwarat2016-02-221-1/+1
| | | | Review URL: https://codereview.appspot.com/290840043
* Add SetCursorLocationRelative D-Bus methodDaiki Ueno2016-02-178-1/+225
| | | | | | | | | | | | | | | | | | | | | | | | | | We have SetCursorLocation D-Bus method which takes the absolute coordinates of the screen, while on Wayland the coordinates are relative to the current input window and there is no way to calculate the absolute coordinates. That makes it impossible for the panel to position the lookup table correctly. This patch adds a new D-Bus method, SetCursorLocationRelative, which takes the relative coordinates, so that the panel implementation (typically the same process of Wayland compositor) can use that information. The counterpart of this changes is at: https://bugzilla.gnome.org/show_bug.cgi?id=753476 Unlike SetCursorLocation, SetCursorLocationRelative is not delivered to engines, since it is not very useful for the engines without knowing the current input window (which is also not accessible from a different process on Wayland). Co-authored-by: Rui Matos <tiagomatos@gmail.com> BUG= R=takao.fujiwara1@gmail.com Review URL: https://codereview.appspot.com/290780043 .
* src: Use cache file for compose table for launching timefujiwarat2016-02-105-62/+463
| | | | | | | | | | | | | | | | | | | Save the cache files of compose files under $HOME/.cache/ibus/compose for the performance. Load a compose file with the following order: 1. $HOME/.config/ibus/Compose 2. $HOME/.config/gtk-3.0/Compose 3. $HOME/.XCompose 4. /usr/share/X11/locale/$locale/Compose Check the system compose files of "el_GR", "fi_FI", "pt_BR" only for the performance because other compose files just load "en_US" compose file. BUG=https://bugzilla.gnome.org/show_bug.cgi?id=721120 R=Shawn.P.Huang@gmail.com Review URL: https://codereview.appspot.com/286040043
* src: Refactor ibuscomposetable.cfujiwarat2016-02-011-221/+182
| | | | | | | | | | Save raw integers of Unicode instead of code strings. Use g_warning() instead of g_set_error(). BUG=https://bugzilla.gnome.org/show_bug.cgi?id=721120 R=Shawn.P.Huang@gmail.com Review URL: https://codereview.appspot.com/282390044
* src: Change guint to guint16 in ibusenginesimple.cfujiwarat2016-01-292-9/+9
| | | | | | | | | IBusComposeTable and IBusComposeTableCompact use guint16 for the data. BUG=https://bugzilla.gnome.org/show_bug.cgi?id=721120 R=Shawn.P.Huang@gmail.com Review URL: https://codereview.appspot.com/282390043
* src: Unify duplicated check_compact_table() and check_algorithmically()fujiwarat2016-01-296-348/+205
| | | | | | | | | Clean up the duplicated APIs, check_compact_table() and check_algorithmically(), in ibuscomposetable.c and ibusenginesimple.c R=Shawn.P.Huang@gmail.com Review URL: https://codereview.appspot.com/286930043
* Release 1.5.12 (#2)1.5.12fujiwarat2016-01-201-1/+1
| | | | | | Fix a build failure with make check. Review URL: https://codereview.appspot.com/285910043
* Release 1.5.12fujiwarat2016-01-192-5/+13
| | | | Review URL: https://codereview.appspot.com/285130043
* Update translationsfujiwarat2016-01-194-508/+778
| | | | | | | | Update bn.po ca.po zh_CN.po zh_HK.po R=Shawn.P.Huang@gmail.com Review URL: https://codereview.appspot.com/272450043
* engine: Change language code from ISO 639-2 to ISO 639-1 in simple.xmlfujiwarat2016-01-154-67/+266
| | | | | | BUG=https://github.com/ibus/ibus/issues/1834 Review URL: https://codereview.appspot.com/283040043
* setup: Fix PyGIWarning: GdkX11 was imported without specifying a versionfujiwarat2016-01-141-2/+9
| | | | | | R=shawn.p.huang@gmail.com Review URL: https://codereview.appspot.com/285830043
* panel: Fix the default position of property panel with dual monitorsfujiwarat2015-11-041-59/+12
| | | | | | | "_NET_WORKAREA" Atom returns a big screen size including every monitors. Use Gdk.Screen.get_monitor_workarea() instead. Review URL: https://codereview.appspot.com/277760043
* panel: Constrain the candidate area to the current monitor boundsAlexey Kotlyarov2015-11-042-21/+40
| | | | | | | | | | | If the second monitor has the different size, lookup window on the second monitor could not get the right size. BUG=https://github.com/ibus/ibus/issues/1594 Review URL: https://codereview.appspot.com/267710043 Patch from Alexey Kotlyarov <a@koterpillar.com>.
* ibus-daemon update user cache when user observed path is updatedfujiwarat2015-09-083-18/+24
| | | | | | | | | | | | | | | After the system registry cache is generated by root, the cache remembers the observed path exists in /root == '~' but if a user updates the user observed path, the observed path exists in '~' and ibus-daemon cannot get the updated mtime because the cache refers the root directory but not the user directory. The patch tries to save '~' instead of the actual home dir in the cache. BUG=https://github.com/ibus/ibus/issues/1815 R=Shawn.P.Huang@gmail.com Review URL: https://codereview.appspot.com/261040043
* check for x11 for the ui tooMarc-Antoine Perennou2015-09-011-0/+4
| | | | | | | | | | | | if built with --enable-ui --disable-xim it currently fails because X11_LIBS is empty BUG=https://github.com/ibus/ibus/pull/1812 R=Shawn.P.Huang@gmail.com Review URL: https://codereview.appspot.com/264020043 Patch from Marc-Antoine Perennou <Marc-Antoine@Perennou.com>.
* Add terminator in NO_SNOOPER_APPSfujiwarat2015-08-141-1/+1
| | | | | | | | | | | | | | | | terminator connects "key-press-event" signal in VTE and receives the KeyPress events and copies the events to the multiple terminals. If IBus uses snooper and IBusIMContext returns true, terminator cannot receive the IME events because VTE does not export IME "commit" signal. After move terminator in NO_SNOOPER_APPS, terminator can receive the KeyPress events from "key-press-event" signal before IBusIMContext key_press_event() class method receives the events. BUG=https://github.com/ibus/ibus/issues/1802 R=Shawn.P.Huang@gmail.com Review URL: https://codereview.appspot.com/260120043
* client/x11: Remove an unused variableHodong Kim2015-07-211-2/+1
| | | | | | | | | BUG=https://github.com/ibus/ibus/pull/1808 R=Shawn.P.Huang@gmail.com Review URL: https://codereview.appspot.com/256010044 Patch from Hodong Kim <hodong@cogno.org>.
* Release 1.5.111.5.11fujiwarat2015-07-162-5/+4
| | | | Review URL: https://codereview.appspot.com/242580043
* Update translationsfujiwarat2015-07-1644-438/+611
| | | | | | | | | | | | Update po/ar.po po/as.po po/bg.po po/bn.po po/bn_IN.po po/ca.po po/da.po po/de.po po/en_GB.po po/es.po po/et.po po/eu.po po/fa.po po/fr.po po/gu.po po/he.po po/hi.po po/hu.po po/ia.po po/it.po po/ja.po po/kn.po po/ko.po po/lv.po po/ml.po po/mr.po po/nb.po po/nl.po po/or.po po/pa.po po/pl.po po/pt_BR.po po/ru.po po/sr.po po/sr@latin.po po/ta.po po/te.po po/tg.po po/uk.po po/ur.po po/vi.po po/zh_CN.po po/zh_HK.po po/zh_TW.po Review URL: https://codereview.appspot.com/241700043
* Fix GIR warnings about XMLNode with g-ir-scannerfujiwarat2015-07-162-7/+51
| | | | | | | | | | Fix: ibusxml.h:62: Warning: IBus: ibus_xml_parse_file: return value: Unresolved type: 'XMLNode*' R=Shawn.P.Huang@gmail.com Review URL: https://codereview.appspot.com/255210043
* Fix doc buildsfujiwarat2015-07-1335-553/+852
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generate: html/IBusEngineSimple.html Fix: ibuscomponent.h:137: Warning: IBus: "@Varargs" parameter is deprecated, please use "@..." instead: * @Varargs: the NULL-terminated arguments of the properties and values. ibuscomponent.h:83: Warning: IBus: GTK-Doc tag "Description:" has been deprecated: * description: Detailed description of component. ../../../src/ibusenumtypes.h:13: warning: Section ibusenumtypes is not defined in the ibus-sections.txt file. ../../../src/ibusenginesimple.h:39: warning: Section ibussimpleengine is not defined in the ibus-sections.txt file. ../../../src/ibusinternal.h:35: warning: Section ibusinternal is not defined in the ibus-sections.txt file. ../../../src/ibusattribute.h:138: warning: Parameter description for ibus_attribute_new::returns is not used from source code comment block. ../../../src/ibusattribute.h:161: warning: Parameter description for ibus_attribute_get_value::attr is missing in source code comment block. ../../../src/ibuscomponent.h:145: warning: Parameter description for ibus_component_new_varargs::... is missing in source code comment block. ../../../src/ibusconfig.h:95: warning: Parameter description for ibus_config_new::cancellable is missing in source code comment block. html/IBusBus.html:3540: warning: no link for: 'ibus-bus-get-property-async' -> (<code class="function">ibus_bus_get_property_async()</code>). html/api-index-full.html:2989: warning: no link for: 'ibus-ibuscomposetable' -> (ibuscomposetable). html/IBusAttribute.html:500: warning: no link for: 'FIXME:CAPS' -> (<code class="literal">FIXME</code>). html/ibus-ibuskeys.html:286: warning: no link for: 'IBUS-KEY-Enter' -> (<span class="type">IBUS_KEY_Enter</span>). html/IBusPanelService.html:574: warning: no link for: 'cursor-down-lookup-table' -> (<code class="function">cursor_down_lookup_table()</code>). html/IBusEngine.html:1190: warning: no link for: 'cancel-hand-writing' -> (<code class="function">cancel_hand_writing()</code>). Review URL: https://codereview.appspot.com/247680043
* Use LC_CTYPE in IBusEngineSimple until g_get_language_names() is fixedfujiwarat2015-07-031-8/+14
| | | | Review URL: https://codereview.appspot.com/249490043
* Replace code.google.com with github.comfujiwarat2015-06-2912-16/+16
| | | | | | R=Shawn.P.Huang@gmail.com Review URL: https://codereview.appspot.com/252740043
* Add maintainersfujiwarat2015-06-222-0/+5
| | | | | | R=Shawn.P.Huang@gmail.com Review URL: https://codereview.appspot.com/249800043
* Enable to show a property on ibus panel iconfujiwarat2015-06-194-5/+140
| | | | | | | | | If an engine sets the value of icon-prop-key of IBusEngineDesc to a property name of IBusProperty.key, the panel will show the engine property in the icon with a delayed time. This way can show both the engine icon and the engine mode in one icon. Review URL: https://codereview.appspot.com/248950043
* Support vertical writing with IBUS_INPUT_HINT_VERTICAL_WRITINGfujiwarat2015-06-154-10/+96
| | | | | | | | | | | | GTK_INPUT_HINT_VERTICAL_WRITING has been supported in gtk 3.18 Put the vertical lookup table at the left top of the cursor position in case of the vertical mode. Also the gtk client tries to get the character width not to overlap the character when the client window is moved to the screen left. BUG=https://code.google.com/p/ibus/issues/detail?id=1780 Review URL: https://codereview.appspot.com/242140043
* Do not put lookup window at the minus positionfujiwarat2015-06-121-0/+4
| | | | | | | | | tweetdeck.twitter.com seems has hidden GdkWindow and does not provide the positive cursor position. BUG=https://github.com/ibus/ibus/issues/1801 Review URL: https://codereview.appspot.com/246010043
* s/code.google.com/github.com/ in docsfujiwarat2015-06-055-9/+9
| | | | Review URL: https://codereview.appspot.com/241190043
* Delete gnome-do from NO_SNOOPER_APPSfujiwarat2015-06-031-1/+1
| | | | | | | BUG=https://code.google.com/p/ibus/issues/detail?id=1433 R=Shawn.P.Huang@gmail.com Review URL: https://codereview.appspot.com/243820043
* ibus-ui-gtk3: radio and check menu items work with GTK 3.16fujiwarat2015-05-251-4/+41
| | | | | | | | | | | GTK 3.16 has cleared the radio buttons' state in gtk_radio_menu_item_set_group(): https://git.gnome.org/browse/gtk+/commit/?id=955aed9227 BUG=https://code.google.com/p/ibus/issues/detail?id=1784 TEST=ui/gtk3/ibus-ui-gtk3 Review URL: https://codereview.appspot.com/240100043
* Set sync process_key_event in ibus-x11fujiwarat2015-05-221-2/+3
| | | | | | | | | | | If X11 client application spend time during XNextEvent(), e.g. sleep(1), under async process_key_event(), X11 does not keep the event order. I don't know why the event order is broken but now set the sync mode. BUG=https://code.google.com/p/ibus/issues/detail?id=1697 TEST=client/x11/ibus-x11 Review URL: https://codereview.appspot.com/240860043
* Enable null return in gobject-introspectionfujiwarat2015-05-214-28/+74
| | | | | | TEST=src/IBus.gir bindings/vala/ibus.vapi Review URL: https://codereview.appspot.com/236410043
* Fix SEGV of ibus-x11 on waylandfujiwarat2015-05-211-0/+7
| | | | | | | | | | In case that ibus-x11 is built with gtk3, GdkDisplay can be GdkWaylandDisplay but not GdkX11Display so GDK_DISPLAY_XDISPLAY() and GDK_WINDOW_XID() does not work in wayland. TEST=client/x11/ibus-x11 Review URL: https://codereview.appspot.com/234590043
* Use GLib.Idle.add() when ibus-engine-simple loads compose tablesfujiwarat2015-05-214-33/+35
| | | | | | TEST=engine/ibus-engine-simple Review URL: https://codereview.appspot.com/240820043
* Load locale compose files dynamically.fujiwarat2015-05-1813-5030/+5841
| | | | | | | | | | | $HOME/.XCompose is used for the customization of compose files. Now the static system locale data is dropped and load /usr/share/X11/locale/$LOCALE/Compose dynamically besides .XCompose. BUG=https://code.google.com/p/ibus/issues/detail?id=1728 TEST=src/libibus.so src/tests/ibus-compose engine/ibus-engine-simple Review URL: https://codereview.appspot.com/232440044