| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
R=shawn.p.huang@gmail.com
Review URL: https://codereview.appspot.com/306860043
|
|
|
|
| |
Review URL: https://codereview.appspot.com/304310043
|
|
|
|
|
|
| |
R=shawn.p.huang@gmail.com
Review URL: https://codereview.appspot.com/302320044
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
'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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
R=shawn.p.huang@gmail.com
Review URL: https://codereview.appspot.com/303110043
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
BUG=https://github.com/ibus/ibus/issues/1858
R=shawn.p.huang@gmail.com
Review URL: https://codereview.appspot.com/300810043
|
|
|
|
|
|
|
|
|
| |
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>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>.
|
|
|
|
| |
Review URL: https://codereview.appspot.com/290840043
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 .
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Fix a build failure with make check.
Review URL: https://codereview.appspot.com/285910043
|
|
|
|
| |
Review URL: https://codereview.appspot.com/285130043
|
|
|
|
|
|
|
|
| |
Update bn.po ca.po zh_CN.po zh_HK.po
R=Shawn.P.Huang@gmail.com
Review URL: https://codereview.appspot.com/272450043
|
|
|
|
|
|
| |
BUG=https://github.com/ibus/ibus/issues/1834
Review URL: https://codereview.appspot.com/283040043
|
|
|
|
|
|
| |
R=shawn.p.huang@gmail.com
Review URL: https://codereview.appspot.com/285830043
|
|
|
|
|
|
|
| |
"_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
|
|
|
|
|
|
|
|
|
|
|
| |
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>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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>.
|
|
|
|
| |
Review URL: https://codereview.appspot.com/242580043
|
|
|
|
|
|
|
|
|
|
|
|
| |
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:
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Review URL: https://codereview.appspot.com/249490043
|
|
|
|
|
|
| |
R=Shawn.P.Huang@gmail.com
Review URL: https://codereview.appspot.com/252740043
|
|
|
|
|
|
| |
R=Shawn.P.Huang@gmail.com
Review URL: https://codereview.appspot.com/249800043
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Review URL: https://codereview.appspot.com/241190043
|
|
|
|
|
|
|
| |
BUG=https://code.google.com/p/ibus/issues/detail?id=1433
R=Shawn.P.Huang@gmail.com
Review URL: https://codereview.appspot.com/243820043
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
TEST=src/IBus.gir bindings/vala/ibus.vapi
Review URL: https://codereview.appspot.com/236410043
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
TEST=engine/ibus-engine-simple
Review URL: https://codereview.appspot.com/240820043
|
|
|
|
|
|
|
|
|
|
|
| |
$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
|