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

Issue 10364043: Load the system registry cache prior to the user one. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years ago by fujiwara
Modified:
10 years, 11 months ago
Reviewers:
shawn.p.huang, Daiki Ueno, Peng
CC:
shawn.p.huang_gmail.com
Base URL:
git://github.com/ibus/ibus.git@master
Visibility:
Public.

Description

Load the system registry cache prior to the user one. gnome-settings-daemon runs ibus-daemon after the user configures any input method engines and causes a delay to show the engines on UI because no cache exists for ibus-daemon. The system cache can avoid the user timing.

Patch Set 1 #

Total comments: 4

Patch Set 2 : Use ibus command to update system cache. #

Patch Set 3 : Updated copyright. #

Total comments: 21

Patch Set 4 : Updated with message #3 and #5. #

Total comments: 12

Patch Set 5 : Fixed a typo. #

Patch Set 6 : Updated with message #8. #

Total comments: 7

Patch Set 7 : Fixed typo. #

Patch Set 8 : Fixed typo (cont). #

Total comments: 14

Patch Set 9 : Updated with message #12. #

Total comments: 6

Patch Set 10 : Updated with message #14 and #15. #

Patch Set 11 : Fixed typo. #

Patch Set 12 : Fixed typo (cont). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1156 lines, -889 lines) Patch
M bus/Makefile.am View 1 2 3 4 5 6 7 8 9 2 chunks +0 lines, -14 lines 0 comments Download
M bus/dbusimpl.c View 1 2 3 4 5 3 chunks +4 lines, -6 lines 0 comments Download
M bus/ibus-daemon.1.in View 1 1 chunk +2 lines, -1 line 0 comments Download
M bus/ibusimpl.h View 1 2 3 4 5 6 7 8 4 chunks +6 lines, -6 lines 0 comments Download
M bus/ibusimpl.c View 1 2 3 4 5 6 7 8 14 chunks +200 lines, -22 lines 0 comments Download
M bus/main.c View 1 2 3 4 5 3 chunks +6 lines, -4 lines 0 comments Download
M bus/registry.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -122 lines 0 comments Download
M bus/registry.c View 1 2 3 4 5 1 chunk +0 lines, -673 lines 0 comments Download
D bus/test-registry.c View 1 2 3 4 5 1 chunk +0 lines, -12 lines 0 comments Download
M docs/reference/ibus/ibus.types View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M docs/reference/ibus/ibus-docs.sgml.in View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M src/Makefile.am View 1 2 4 chunks +14 lines, -11 lines 0 comments Download
M src/ibus.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
A src/ibusregistry.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +223 lines, -0 lines 0 comments Download
A src/ibusregistry.c View 1 2 3 4 5 6 7 8 9 1 chunk +557 lines, -0 lines 0 comments Download
M src/tests/Makefile.am View 1 2 3 4 5 6 7 8 3 chunks +17 lines, -13 lines 0 comments Download
A src/tests/ibus-registry.c View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M tools/ibus.1.in View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +29 lines, -0 lines 0 comments Download
M tools/main.vala View 1 2 3 4 5 6 7 8 9 7 chunks +82 lines, -3 lines 0 comments Download

Messages

Total messages: 19
fujiwara
11 years ago (2013-06-18 01:44:50 UTC) #1
fujiwara
I updated ibus command to have read-cache and write-cache sub commands.
11 years ago (2013-06-25 08:13:08 UTC) #2
Peng
https://codereview.appspot.com/10364043/diff/1/bus/registry.c File bus/registry.c (right): https://codereview.appspot.com/10364043/diff/1/bus/registry.c#newcode137 bus/registry.c:137: */ I think system cache should not be writable ...
11 years ago (2013-06-25 18:06:53 UTC) #3
Peng
+Daiki as reviewer. As this CL is related to CL https://codereview.appspot.com/9963043/
11 years ago (2013-06-25 18:09:02 UTC) #4
Daiki Ueno
Well, overall, the separation of src/ibusregistry.c from bus/registry.c looks not very clear. Particularly I wonder ...
11 years ago (2013-06-26 06:22:53 UTC) #5
fujiwara
OK, the member of IBusRegistry makes sense. I updated it. Since both ibus_registry_load and ibus_registry_load_cache ...
11 years ago (2013-06-27 19:11:26 UTC) #6
fujiwara
Thinking about 'ibus write-cache --system', I think some installers need to modify the different system ...
11 years ago (2013-06-27 19:28:42 UTC) #7
Peng
https://codereview.appspot.com/10364043/diff/1/bus/registry.c File bus/registry.c (right): https://codereview.appspot.com/10364043/diff/1/bus/registry.c#newcode137 bus/registry.c:137: */ On 2013/06/27 19:28:43, fujiwara wrote: > On 2013/06/25 ...
11 years ago (2013-06-28 14:45:22 UTC) #8
fujiwara
https://codereview.appspot.com/10364043/diff/1/bus/registry.c File bus/registry.c (right): https://codereview.appspot.com/10364043/diff/1/bus/registry.c#newcode137 bus/registry.c:137: */ On 2013/06/28 14:45:22, Peng wrote: > On 2013/06/27 ...
10 years, 11 months ago (2013-07-04 17:04:27 UTC) #9
Daiki Ueno
If you remove bus/registry.[ch], you also need to remove them from bus/Makefile.am. Otherwise ibus-daemon does ...
10 years, 11 months ago (2013-07-05 07:32:38 UTC) #10
fujiwara
On 2013/07/05 07:32:38, Daiki Ueno wrote: > If you remove bus/registry.[ch], you also need to ...
10 years, 11 months ago (2013-07-05 13:24:38 UTC) #11
Peng
https://codereview.appspot.com/10364043/diff/38001/bus/ibusimpl.c File bus/ibusimpl.c (right): https://codereview.appspot.com/10364043/diff/38001/bus/ibusimpl.c#newcode65 bus/ibusimpl.c:65: IBusRegistry *registry; Add one blank line please https://codereview.appspot.com/10364043/diff/38001/bus/ibusimpl.c#newcode68 bus/ibusimpl.c:68: ...
10 years, 11 months ago (2013-07-08 14:05:30 UTC) #12
fujiwara
https://codereview.appspot.com/10364043/diff/38001/bus/ibusimpl.c File bus/ibusimpl.c (right): https://codereview.appspot.com/10364043/diff/38001/bus/ibusimpl.c#newcode65 bus/ibusimpl.c:65: IBusRegistry *registry; On 2013/07/08 14:05:31, Peng wrote: > Add ...
10 years, 11 months ago (2013-07-09 01:41:54 UTC) #13
Peng
lgtm with one comment https://codereview.appspot.com/10364043/diff/61001/src/ibusregistry.c File src/ibusregistry.c (right): https://codereview.appspot.com/10364043/diff/61001/src/ibusregistry.c#newcode73 src/ibusregistry.c:73: _signals[CHANGED] = It is better ...
10 years, 11 months ago (2013-07-09 03:18:46 UTC) #14
Daiki Ueno
You didn't answer the most part of comment #10. Maybe intentionally. Anyway, it is still ...
10 years, 11 months ago (2013-07-09 03:32:41 UTC) #15
fujiwara
On 2013/07/09 03:32:41, Daiki Ueno wrote: > You didn't answer the most part of comment ...
10 years, 11 months ago (2013-07-09 15:31:51 UTC) #16
fujiwara
https://codereview.appspot.com/10364043/diff/61001/src/ibusregistry.c File src/ibusregistry.c (right): https://codereview.appspot.com/10364043/diff/61001/src/ibusregistry.c#newcode73 src/ibusregistry.c:73: _signals[CHANGED] = On 2013/07/09 03:18:47, Peng wrote: > It ...
10 years, 11 months ago (2013-07-09 15:33:07 UTC) #17
Peng
On 2013/07/09 15:33:07, fujiwara wrote: > https://codereview.appspot.com/10364043/diff/61001/src/ibusregistry.c > File src/ibusregistry.c (right): > > https://codereview.appspot.com/10364043/diff/61001/src/ibusregistry.c#newcode73 > ...
10 years, 11 months ago (2013-07-09 16:04:24 UTC) #18
Daiki Ueno
10 years, 11 months ago (2013-07-11 02:08:51 UTC) #19
Message was sent while issue was closed.
Why you can't wait for all the reviewers' go.  LGTM anyway.
Sign in to reply to this message.

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