Branch: refs/heads/master
  Home:   https://github.com/ibus/ibus-m17n

  Commit: 7a0deadb02ff06e7d2db1177ce1fbb0661201bf1
      
https://github.com/ibus/ibus-m17n/commit/7a0deadb02ff06e7d2db1177ce1fbb0661201bf1
  Author: Daiki Ueno <[email protected]>
  Date:   2011-09-04 (Sun, 04 Sep 2011)

  Changed paths:
    M src/Makefile.am
  M src/default.xml.in.in
  M src/engine.c
  M src/m17nutil.c
  M src/m17nutil.h
  A src/test.c

  Log Message:
  -----------
  Update the format of default.xml to allow override.

This patch allows value inheritance from the previous matches.
With the new format:

<engines>
  <engine>
    <name>*</name>
    <rank>0</rank>
    <preedit-highlight>FALSE</preedit-highlight>
  </engine>
  <engine>
    <name>m17n:ja:*</name>
    <rank>2</rank>
    <preedit-highlight>TRUE</preedit-highlight>
  </engine>
  <engine>
    <name>m17n:ja:anthy</name>
    <rank>1</rank>
  </engine>
</engines>

We will get preedit-highlight == TRUE and rank == 1 for m17n:ja:anthy.

BUG=none
TEST=manual

Review URL: http://codereview.appspot.com/4950059


-- 
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en

回复