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

Issue 6586075: Enable layout(variant)[option,...] format in IBusEngineDesc.layout (Closed)

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

Description

Add layout_variant and layout_option in IBusEngineDesc for XKB. TEST=Manually

Patch Set 1 #

Total comments: 3

Patch Set 2 : Updated the patch with the request. #

Patch Set 3 : Updated with message #5 #

Patch Set 4 : Forgot to update panel.vala #

Total comments: 4

Patch Set 5 : Updated with message #10 #

Total comments: 3

Patch Set 6 : Updated with message #12. #

Total comments: 3

Patch Set 7 : Updated with message #14. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+234 lines, -48 lines) Patch
M ibus/enginedesc.py View 1 2 3 4 5 6 5 chunks +46 lines, -25 lines 0 comments Download
M src/ibusenginedesc.h View 1 2 2 chunks +22 lines, -0 lines 0 comments Download
M src/ibusenginedesc.c View 1 2 3 4 5 6 14 chunks +66 lines, -0 lines 0 comments Download
M src/ibusserializable.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M tools/main.vala View 1 2 3 4 2 chunks +51 lines, -12 lines 0 comments Download
M ui/gtk3/panel.vala View 1 2 3 4 2 chunks +46 lines, -9 lines 0 comments Download

Messages

Total messages: 16
fujiwara
11 years, 6 months ago (2012-10-04 05:45:42 UTC) #1
Peng
https://codereview.appspot.com/6586075/diff/1/src/ibusenginedesc.h File src/ibusenginedesc.h (right): https://codereview.appspot.com/6586075/diff/1/src/ibusenginedesc.h#newcode120 src/ibusenginedesc.h:120: * The format "layout(variant)[option1,...]" is supported. May I ask ...
11 years, 6 months ago (2012-10-04 13:32:02 UTC) #2
fujiwara
On 2012/10/04 13:32:02, Peng wrote: > https://codereview.appspot.com/6586075/diff/1/src/ibusenginedesc.h > File src/ibusenginedesc.h (right): > > https://codereview.appspot.com/6586075/diff/1/src/ibusenginedesc.h#newcode120 > ...
11 years, 6 months ago (2012-10-05 06:31:35 UTC) #3
TiagoMatos
Hi, I'd like to avoid parsing if at all possible. Could we instead add more ...
11 years, 6 months ago (2012-10-05 11:42:40 UTC) #4
fujiwara
On 2012/10/05 11:42:40, TiagoMatos wrote: > Hi, I'd like to avoid parsing if at all ...
11 years, 6 months ago (2012-10-05 13:07:18 UTC) #5
fujiwara
On 2012/10/05 13:07:18, fujiwara wrote: > On 2012/10/05 11:42:40, TiagoMatos wrote: > > Hi, I'd ...
11 years, 6 months ago (2012-10-05 15:27:52 UTC) #6
fujiwara
On 2012/10/05 15:27:52, fujiwara wrote: > On 2012/10/05 13:07:18, fujiwara wrote: > > On 2012/10/05 ...
11 years, 6 months ago (2012-10-05 17:49:08 UTC) #7
Peng
https://codereview.appspot.com/6586075/diff/13001/src/ibusenginedesc.c File src/ibusenginedesc.c (right): https://codereview.appspot.com/6586075/diff/13001/src/ibusenginedesc.c#newcode520 src/ibusenginedesc.c:520: g_variant_get_child (variant, retval++, "s", &desc->priv->layout_variant); I think it may ...
11 years, 6 months ago (2012-10-05 18:17:38 UTC) #8
fujiwara
On 2012/10/05 18:17:38, Peng wrote: > https://codereview.appspot.com/6586075/diff/13001/src/ibusenginedesc.c > File src/ibusenginedesc.c (right): > > https://codereview.appspot.com/6586075/diff/13001/src/ibusenginedesc.c#newcode520 > ...
11 years, 6 months ago (2012-10-05 18:51:02 UTC) #9
Daiki Ueno
https://codereview.appspot.com/6586075/diff/13001/ui/gtk3/panel.vala File ui/gtk3/panel.vala (right): https://codereview.appspot.com/6586075/diff/13001/ui/gtk3/panel.vala#newcode321 ui/gtk3/panel.vala:321: string arg = null; why not prepare the args ...
11 years, 6 months ago (2012-10-06 01:23:48 UTC) #10
fujiwara
On 2012/10/06 01:23:48, Daiki Ueno wrote: > https://codereview.appspot.com/6586075/diff/13001/ui/gtk3/panel.vala > File ui/gtk3/panel.vala (right): > > https://codereview.appspot.com/6586075/diff/13001/ui/gtk3/panel.vala#newcode321 ...
11 years, 6 months ago (2012-10-06 07:54:36 UTC) #11
Peng
https://codereview.appspot.com/6586075/diff/16002/ibus/enginedesc.py File ibus/enginedesc.py (right): https://codereview.appspot.com/6586075/diff/16002/ibus/enginedesc.py#newcode143 ibus/enginedesc.py:143: self.__setup = struct.pop(0) You need check number of struct(), ...
11 years, 6 months ago (2012-10-08 00:33:43 UTC) #12
fujiwara
On 2012/10/08 00:33:43, Peng wrote: > https://codereview.appspot.com/6586075/diff/16002/ibus/enginedesc.py > File ibus/enginedesc.py (right): > > https://codereview.appspot.com/6586075/diff/16002/ibus/enginedesc.py#newcode143 > ...
11 years, 6 months ago (2012-10-12 11:57:28 UTC) #13
Peng
https://codereview.appspot.com/6586075/diff/21001/ibus/enginedesc.py File ibus/enginedesc.py (right): https://codereview.appspot.com/6586075/diff/21001/ibus/enginedesc.py#newcode35 ibus/enginedesc.py:35: license="", author="", icon="", layout="en", hotkeys="", en? does xkb have ...
11 years, 6 months ago (2012-10-12 23:53:20 UTC) #14
fujiwara
On 2012/10/12 23:53:20, Peng wrote: > https://codereview.appspot.com/6586075/diff/21001/ibus/enginedesc.py > File ibus/enginedesc.py (right): > > https://codereview.appspot.com/6586075/diff/21001/ibus/enginedesc.py#newcode35 > ...
11 years, 6 months ago (2012-10-15 04:07:45 UTC) #15
Peng
11 years, 6 months ago (2012-10-15 14:44:49 UTC) #16
On 2012/10/15 04:07:45, fujiwara wrote:
> On 2012/10/12 23:53:20, Peng wrote:
> > https://codereview.appspot.com/6586075/diff/21001/ibus/enginedesc.py
> > File ibus/enginedesc.py (right):
> > 
> >
https://codereview.appspot.com/6586075/diff/21001/ibus/enginedesc.py#newcode35
> > ibus/enginedesc.py:35: license="", author="", icon="", layout="en",
> hotkeys="",
> > en? does xkb have en layout? maybe us?
> 
> Fixed. I mistook it.
> 
> > 
> > https://codereview.appspot.com/6586075/diff/21001/src/ibusenginedesc.c
> > File src/ibusenginedesc.c (right):
> > 
> >
>
https://codereview.appspot.com/6586075/diff/21001/src/ibusenginedesc.c#newcode39
> > src/ibusenginedesc.c:39: PROP_LAYOUT,
> > Could we put new properties here?
> > 
> >
>
https://codereview.appspot.com/6586075/diff/21001/src/ibusenginedesc.c#newcod...
> > src/ibusenginedesc.c:522: if (g_variant_n_children (variant) - parent_length
<
> > PROP_LAYOUT_OPTION)
> > test g_variant_n_children(variant) >= retval + 2 is more readable.
> 
> Done.

lgtm
Sign in to reply to this message.

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