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

Issue 4667056: Add org.freedesktop.IBus.Config.GetValues to get all values in one RPC. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 12 months ago by Peng
Modified:
12 years, 11 months ago
Reviewers:
Yusuke Sato
CC:
bryeung
Base URL:
git@github.com:/ibus/ibus.git@master
Visibility:
Public.

Description

Add org.freedesktop.IBus.Config.GetValues to get all values in one RPC. BUG=http://crosbug.com/16287 TEST=Linux desktop

Patch Set 1 #

Patch Set 2 : Update #

Patch Set 3 : Update #

Total comments: 6

Patch Set 4 : Update #

Patch Set 5 : Update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+318 lines, -8 lines) Patch
M debian/control View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M debian/libibus-1.0-0.symbols View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M gconf/config.c View 1 2 3 5 chunks +39 lines, -5 lines 0 comments Download
M ibus/config.py View 1 3 chunks +12 lines, -0 lines 0 comments Download
M ibus/interface/iconfig.py View 1 1 chunk +3 lines, -0 lines 0 comments Download
M memconf/config.c View 1 2 3 4 4 chunks +34 lines, -0 lines 0 comments Download
M src/ibusconfig.h View 1 2 3 1 chunk +49 lines, -0 lines 0 comments Download
M src/ibusconfig.c View 1 2 2 chunks +74 lines, -1 line 0 comments Download
M src/ibusconfigservice.h View 1 chunk +4 lines, -1 line 0 comments Download
M src/ibusconfigservice.c View 1 2 5 chunks +41 lines, -0 lines 0 comments Download
M src/tests/ibus-config.c View 1 2 3 2 chunks +57 lines, -0 lines 0 comments Download

Messages

Total messages: 4
Peng
12 years, 12 months ago (2011-07-04 17:27:33 UTC) #1
Yusuke Sato
could you update src/tests/ibus-config.c as well? http://codereview.appspot.com/4667056/diff/2001/src/ibusconfig.c File src/ibusconfig.c (right): http://codereview.appspot.com/4667056/diff/2001/src/ibusconfig.c#newcode303 src/ibusconfig.c:303: g_variant_get (retval, "(@a{sv})", ...
12 years, 11 months ago (2011-07-05 05:20:53 UTC) #2
Yusuke Sato
other than that, lgtm. On 2011/07/05 05:20:53, Yusuke Sato wrote: > could you update src/tests/ibus-config.c ...
12 years, 11 months ago (2011-07-05 05:21:19 UTC) #3
Peng
12 years, 11 months ago (2011-07-05 14:42:24 UTC) #4
Added test cases for config too.

http://codereview.appspot.com/4667056/diff/2001/src/ibusconfig.c
File src/ibusconfig.c (right):

http://codereview.appspot.com/4667056/diff/2001/src/ibusconfig.c#newcode303
src/ibusconfig.c:303: g_variant_get (retval, "(@a{sv})", &value);
On 2011/07/05 05:20:53, Yusuke Sato wrote:
> is this change intentional??
Yeah.

Upon encountering a '@' in front of a type string, g_variant_get() takes a
pointer to a (GVariant *) (ie: a (GVariant **)) and sets it to a new reference
to a GVariant containing the value (instead of deconstructing the value into C
types in the usual way). NULL can be given to ignore the value. '*', '?' and 'r'
are handled in a way analogous to what is stated above.

http://codereview.appspot.com/4667056/diff/2001/src/ibusconfig.h
File src/ibusconfig.h (right):

http://codereview.appspot.com/4667056/diff/2001/src/ibusconfig.h#newcode199
src/ibusconfig.h:199: * @timeout_msec: The timeout in milliseconds or -1 to use
the default timeout.
On 2011/07/05 05:20:53, Yusuke Sato wrote:
> @timeout_ms:

Done.

http://codereview.appspot.com/4667056/diff/2001/src/ibusconfig.h#newcode217
src/ibusconfig.h:217: * @confi: A #IBusConfig.
On 2011/07/05 05:20:53, Yusuke Sato wrote:
> @config:

Done.
Sign in to reply to this message.

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