Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(6117)

Issue 4279042: Implement APIs for another non-Python panel. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 1 month ago by fujiwara
Modified:
13 years ago
Reviewers:
shawn.p.huang
CC:
shawn.p.huang_gmail.com, Yusuke Sato, satorux
Base URL:
git://github.com/ibus/ibus.git@master
Visibility:
Public.

Description

Implement APIs for another non-Python panel. 1. Support icon and prop_list = null in ibus_property_new with GIR. 2. Add getter methods in IBusText and IBusProperty since GJS cannot access the members in C-Structure. 3. Add ibus_get_language_name() since GIR libxml2 does not provide the useful APIs. 4. Implement flags in ibus_bus_request_name() to follow DBus RequestName signal spec. http://dbus.freedesktop.org/doc/dbus-specification.html#message-bus-names This is needed to terminate the current IBus panel. E.g. IBus GTK panel is launched by ibus-daemon but another panel is launched by gnome-shell. 5. Support IBUS_BUS_NAME_FLAG_ALLOW_REPLACEMENT in ui/gtk/main.py 6. Fix bus_component_set_factory() not to call bus_component_factory_destroy_cb() twice. 7. Hide ibus_text_new_from_static_string() for GIR. 8. Add ibus_is_running_gnome_shell() for ibus-ui-gtk because gnome-shell runs earlier than ibus-ui-gtk.

Patch Set 1 #

Total comments: 17

Patch Set 2 : Revised the patch #

Total comments: 3

Patch Set 3 : rebase on master #

Patch Set 4 : Fix typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1166 lines, -73 lines) Patch
M bus/component.c View 1 chunk +1 line, -1 line 0 comments Download
M bus/connection.h View 1 3 chunks +20 lines, -1 line 0 comments Download
M bus/connection.c View 1 4 chunks +19 lines, -0 lines 0 comments Download
M bus/dbusimpl.c View 1 2 3 18 chunks +558 lines, -37 lines 0 comments Download
M bus/ibusimpl.c View 1 1 chunk +6 lines, -5 lines 0 comments Download
M bus/marshalers.list View 1 1 chunk +2 lines, -1 line 0 comments Download
M ibus/bus.py View 1 1 chunk +3 lines, -0 lines 0 comments Download
M ibus/common.py View 4 chunks +23 lines, -1 line 0 comments Download
M src/Makefile.am View 1 3 chunks +10 lines, -7 lines 0 comments Download
M src/ibusbus.h View 1 2 chunks +19 lines, -4 lines 0 comments Download
M src/ibusbus.c View 1 2 chunks +38 lines, -3 lines 0 comments Download
M src/ibusproperty.h View 8 chunks +83 lines, -2 lines 0 comments Download
M src/ibusproperty.c View 1 chunk +24 lines, -0 lines 0 comments Download
M src/ibustext.h View 1 2 chunks +28 lines, -1 line 0 comments Download
M src/ibustext.c View 1 chunk +18 lines, -0 lines 0 comments Download
M src/ibustypes.h View 1 chunk +33 lines, -0 lines 0 comments Download
A src/ibusutil.h View 1 2 3 1 chunk +52 lines, -0 lines 0 comments Download
A src/ibusutil.c View 1 1 chunk +182 lines, -0 lines 0 comments Download
M ui/gtk/main.py View 1 6 chunks +31 lines, -7 lines 0 comments Download
M ui/gtk/panel.py View 1 2 chunks +16 lines, -3 lines 0 comments Download

Messages

Total messages: 11
fujiwara
Now I noticed I have to use ibus/ibus.git location for this review. Thanks for the ...
13 years, 1 month ago (2011-03-11 08:34:41 UTC) #1
Peng
http://codereview.appspot.com/4279042/diff/1/bus/dbusimpl.c File bus/dbusimpl.c (right): http://codereview.appspot.com/4279042/diff/1/bus/dbusimpl.c#newcode200 bus/dbusimpl.c:200: " <method name='ListQueuedOwners'>" It is better to implement it ...
13 years, 1 month ago (2011-03-11 15:19:20 UTC) #2
fujiwara
Sorry for the late response. I had thought what is better for ListQueuedOwner. On 2011/03/11 ...
13 years ago (2011-04-01 22:20:32 UTC) #3
Peng
On 2011/04/01 22:20:32, fujiwara wrote: > Sorry for the late response. > I had thought ...
13 years ago (2011-04-02 15:13:31 UTC) #4
fujiwara
On 2011/04/02 15:13:31, Peng wrote: > > > http://codereview.appspot.com/4279042/diff/1/ui/gtk/main.py#newcode97 > > > ui/gtk/main.py:97: stop_by_shell = ...
13 years ago (2011-04-04 06:51:12 UTC) #5
Peng
On 2011/04/04 06:51:12, fujiwara wrote: > On 2011/04/02 15:13:31, Peng wrote: > > > > ...
13 years ago (2011-04-04 13:14:43 UTC) #6
fujiwara
On 2011/03/11 15:19:20, Peng wrote: > http://codereview.appspot.com/4279042/diff/1/bus/dbusimpl.c > File bus/dbusimpl.c (right): > > http://codereview.appspot.com/4279042/diff/1/bus/dbusimpl.c#newcode200 > ...
13 years ago (2011-04-06 09:46:48 UTC) #7
Peng
On 2011/04/06 09:46:48, fujiwara wrote: > On 2011/03/11 15:19:20, Peng wrote: > > http://codereview.appspot.com/4279042/diff/1/bus/dbusimpl.c > ...
13 years ago (2011-04-06 13:46:15 UTC) #8
Peng
http://codereview.appspot.com/4279042/diff/12001/ui/gtk/main.py File ui/gtk/main.py (right): http://codereview.appspot.com/4279042/diff/12001/ui/gtk/main.py#newcode83 ui/gtk/main.py:83: print "Got NameAcquired signal", name Remove print http://codereview.appspot.com/4279042/diff/12001/ui/gtk/main.py#newcode87 ui/gtk/main.py:87: ...
13 years ago (2011-04-06 13:46:20 UTC) #9
Peng
I created a new CL http://codereview.appspot.com/4368056/ based on this CL. It refines some logic and ...
13 years ago (2011-04-07 19:32:58 UTC) #10
Peng
13 years ago (2011-04-18 21:05:14 UTC) #11
I think this CL could be closed. Please close it. Thanks.

On 2011/04/07 19:32:58, Peng wrote:
> I created a new CL http://codereview.appspot.com/4368056/ based on this CL. It
> refines some logic and fix some bugs.
> 
> On 2011/04/06 13:46:20, Peng wrote:
> > http://codereview.appspot.com/4279042/diff/12001/ui/gtk/main.py
> > File ui/gtk/main.py (right):
> > 
> > http://codereview.appspot.com/4279042/diff/12001/ui/gtk/main.py#newcode83
> > ui/gtk/main.py:83: print "Got NameAcquired signal", name
> > Remove print
> > 
> > http://codereview.appspot.com/4279042/diff/12001/ui/gtk/main.py#newcode87
> > ui/gtk/main.py:87: print "Got NameLost signal", name
> > Remove print
> > 
> > http://codereview.appspot.com/4279042/diff/12001/ui/gtk/main.py#newcode103
> > ui/gtk/main.py:103: print >> out, "-d, --daemonize        daemonize ibus"
> > Add help message for -r --replace
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b