Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Issue 1539001: Reimplement ibus-gconf so it does not depend on GConf-2 database (Closed)

Created:
10 years, 9 months ago by Yusuke Sato
Modified:
9 years, 7 months ago
Reviewers:
satorux1
CC:
chromium-os-reviews_chromium.org, mazda
Visibility:
Public.

Description

Reimplement ibus-gconf so it does not depend on GConf-2 database. (Please review the README.chromium first.) BUG=crosbug.com/1638 TEST=run autotest/files/config/site_tests/desktopui_IBusTest

Patch Set 1 #

Patch Set 2 : for code review #

Total comments: 18

Patch Set 3 : moving to memconf/ #

Total comments: 8

Patch Set 4 : Applied Satoru's --disable-gconf patch, addressed all comments #

Patch Set 5 : addressed all comments #

Patch Set 6 : style fixes #

Total comments: 12

Patch Set 7 : use GValue #

Total comments: 4

Patch Set 8 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+426 lines, -12 lines) Patch
M Makefile.am View 3 2 chunks +7 lines, -1 line 0 comments Download
M README.chromium View 1 2 3 4 5 6 1 chunk +18 lines, -1 line 0 comments Download
M configure.ac View 3 5 chunks +31 lines, -10 lines 0 comments Download
A memconf/Makefile.am View 3 4 5 6 1 chunk +92 lines, -0 lines 0 comments Download
A memconf/config.h View 3 4 5 6 1 chunk +42 lines, -0 lines 0 comments Download
A memconf/config.cc View 3 4 5 6 7 1 chunk +225 lines, -0 lines 0 comments Download
A memconf/memconf.xml.in.in View 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Yusuke Sato
10 years, 9 months ago (2010-03-29 02:48:28 UTC) #1
satorux1
http://codereview.chromium.org/1539001/diff/2001/3001 File README.chromium (right): http://codereview.chromium.org/1539001/diff/2001/3001#newcode11 README.chromium:11: - gconf/main.cc Any reason we should colocate the code ...
10 years, 9 months ago (2010-03-29 03:48:32 UTC) #2
Yusuke Sato
http://codereview.chromium.org/1539001/diff/2001/3001 File README.chromium (right): http://codereview.chromium.org/1539001/diff/2001/3001#newcode11 README.chromium:11: - gconf/main.cc Moved new files in gconf/ to a ...
10 years, 9 months ago (2010-03-29 05:15:47 UTC) #3
satorux1
http://codereview.chromium.org/1539001/diff/2001/3003 File gconf/config.proto (right): http://codereview.chromium.org/1539001/diff/2001/3003#newcode1 gconf/config.proto:1: // A protobuf definition which represents an entry of ...
10 years, 9 months ago (2010-03-29 05:19:50 UTC) #4
satorux1
Not sure if it's worth doing but we might want to add --enable-memconf and --disable-gconf ...
10 years, 9 months ago (2010-03-29 05:51:16 UTC) #5
Yusuke Sato
Thanks for the review. - Addressed all issues you pointed out. - Applied your --disable-gconf ...
10 years, 9 months ago (2010-03-29 09:05:24 UTC) #6
satorux1
http://codereview.chromium.org/1539001/diff/22001/23005 File memconf/config.cc (right): http://codereview.chromium.org/1539001/diff/22001/23005#newcode161 memconf/config.cc:161: const std::string key = std::string(section) + name; This fails ...
10 years, 9 months ago (2010-03-29 09:57:55 UTC) #7
satorux1
http://codereview.chromium.org/1539001/diff/22001/23006 File memconf/config.h (right): http://codereview.chromium.org/1539001/diff/22001/23006#newcode20 memconf/config.h:20: #ifndef CONFIG_H_ On 2010/03/29 09:57:55, satorux1 wrote: > MEMCONF_SERVER_H_ ...
10 years, 9 months ago (2010-03-29 09:59:18 UTC) #8
Yusuke Sato
http://codereview.chromium.org/1539001/diff/22001/23005 File memconf/config.cc (right): http://codereview.chromium.org/1539001/diff/22001/23005#newcode161 memconf/config.cc:161: const std::string key = std::string(section) + name; On 2010/03/29 ...
10 years, 9 months ago (2010-03-29 13:36:21 UTC) #9
satorux1
lgtm. please add some comments before checking this in. http://codereview.chromium.org/1539001/diff/29001/21013 File memconf/config.cc (right): http://codereview.chromium.org/1539001/diff/29001/21013#newcode110 memconf/config.cc:110: ...
10 years, 8 months ago (2010-03-30 02:45:17 UTC) #10
Yusuke Sato
10 years, 8 months ago (2010-03-30 04:47:29 UTC) #11
thanks. fixed & submitted.

http://codereview.chromium.org/1539001/diff/29001/21013
File memconf/config.cc (right):

http://codereview.chromium.org/1539001/diff/29001/21013#newcode110
memconf/config.cc:110: static gboolean do_unset(IBusConfigMemConf* memconf,
const std::string& key) {
On 2010/03/30 02:45:17, satorux1 wrote:
> Please write a function comment.

Done.

http://codereview.chromium.org/1539001/diff/29001/21013#newcode209
memconf/config.cc:209: // with zero-cleared GValue. See src/ibusconfigservice.c
for details.
On 2010/03/30 02:45:17, satorux1 wrote:
> Is this explaining why we don't call bus_config_service_value_changed () here?
> If so, would be nice to make the comment more explicit like:
> 
> ... zero-clered GValue, so we don't call the function here.
> 

Done.

Powered by Google App Engine
This is Rietveld 408576698