commit 3638ef8ae8a165e3bd0f5524521b5340d1e5137d
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Sat Jan 26 12:18:11 2013 +0900

    Add missing dictionary for tests.

 tests/Makefile.am   |    2 +
 tests/file-dict.dat | 3412
 +++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 3414 insertions(+)

commit f8dafd1a2f1037207ee8138caab267be4e698007
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Sat Jan 26 12:17:51 2013 +0900

    Rename SegmentDictionary.lookup to lookup_candidates.

 libkkc/segment-dictionary.vala        |   14 ++++++++++----
 libkkc/state.vala                     |   27 +++++++++++++++------------
 libkkc/system-segment-dictionary.vala |   26 +++++++++++++++++---------
 libkkc/user-dictionary.vala           |    8 ++++++--
 libkkc/user-segment-dictionary.vala   |   10 +++++++---
 5 files changed, 55 insertions(+), 30 deletions(-)

commit 78e69aa471141006e7a7f3dd798626eafb5874ad
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Sat Jan 26 12:05:10 2013 +0900

    Bump version to 0.0.3.

 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 3930c15fb662d08e027d74ff216d31e8f513db5b
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Sat Jan 26 11:33:58 2013 +0900

    Check if segment is really changed.

 libkkc/state.vala |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit 843996bda43906dcf9952541019ea75b4f5bbe4a
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Sat Jan 26 11:30:48 2013 +0900

    Make sure to update preedit when command is commit.

 libkkc/state.vala |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit acb7ad9ff818b9a1013d7d4ff67495712fb8ab36
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Sat Jan 26 08:21:48 2013 +0900

    Save sentence dictionary only when segments changed.

 libkkc/state.vala |    7 +++++++
 1 file changed, 7 insertions(+)

commit 565a629857432ed790fb5deeaf4587c9517aaecd
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Sat Jan 26 08:14:14 2013 +0900

    Remove unused code.

 libkkc/state.vala |   21 ---------------------
 1 file changed, 21 deletions(-)

commit 84455f190f4b3ff35e1b0dec113f887b80940d05
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Sat Jan 26 08:13:55 2013 +0900

    Bind Up to previous-candidate.

 rules/default/keymap/default.json |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit bf793bdf8dd58e63d1eeceb01a3fc5511d946f26
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Fri Jan 25 22:26:49 2013 +0900

    Consume other keys when preedit is active.

 libkkc/state.vala |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 0bce497d478770ea2f46717bae50b8ed48133de8
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Fri Jan 25 19:44:53 2013 +0900

    Bind S-space to previous-candidate.

 rules/default/keymap/default.json |    1 +
 1 file changed, 1 insertion(+)

commit 106bdb91b3cdfcb0498715add037ba348aafa97c
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Fri Jan 25 19:44:35 2013 +0900

    Add Context.has_output method.

 libkkc/context.vala |    9 +++++++--
 libkkc/state.vala   |    3 ---
 2 files changed, 7 insertions(+), 5 deletions(-)

commit 484d6ed591022a45318a6b2e5aea38930e99113e
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Fri Jan 25 18:41:13 2013 +0900

    Disable page movement with space.

 libkkc/state.vala |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 83ac4e04b1c4a3b1b1a87d55723c6b6da225387f
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Fri Jan 25 18:22:15 2013 +0900

    Bump version to 0.0.2.

 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit c115274a318d9a0e81239b7510a02e74da1b02ba
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Fri Jan 25 18:21:44 2013 +0900

    Try to fix make distcheck.

 docs/Makefile.am        |    2 ++
 libkkc/Makefile.am      |    1 +
 marisa-glib/Makefile.am |    2 +-
 3 files changed, 4 insertions(+), 1 deletion(-)

commit 5be63883796e70e49469bbedf274ddcc86ad1a1b
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Fri Jan 25 18:05:41 2013 +0900

    Don't install marisa-glib.vapi and .deps.

 marisa-glib/Makefile.am |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit 4e0677fa1d250ffe65f0f37f856d6b98df4a19e5
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Fri Jan 25 17:47:55 2013 +0900

    Rename kkc option -d to -m.

 tools/kkc.vala |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit d10a16222c5b1184178db2daf43cd8204dfdd2b8
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Fri Jan 25 17:46:28 2013 +0900

    Fix the last change.

 libkkc/state.vala |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

commit 4fab4f2d18cea38e6aa74513392f5c300b89c17a
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Fri Jan 25 16:07:08 2013 +0900

    Remove user-dict in tear down.

 tests/context.vala |    4 ++++
 1 file changed, 4 insertions(+)

commit c6cec3f500b0ce1650332d1453fe2731a0bfdc2a
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Fri Jan 25 16:05:06 2013 +0900

    Don't clear preedit when abort in convert sentence state.

 libkkc/state.vala |   10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

commit ebbd9b2e141a33693629da3f611cfe31d7fb9da7
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Fri Jan 25 16:04:56 2013 +0900

    Bind C-c to abort.

 rules/default/keymap/default.json |    1 +
 1 file changed, 1 insertion(+)

commit 859028445b8d2a11e6dd9d6672a4720be0aa4cfb
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Fri Jan 25 15:55:32 2013 +0900

    Support shift modifier for command keys.

 libkkc/key-event-filter.vala      |    2 --
 libkkc/key-event.vala             |   12 ++++++++++--
 libkkc/nicola.vala                |    2 --
 rules/default/keymap/default.json |    2 ++
 4 files changed, 12 insertions(+), 6 deletions(-)

commit 1dc1ade2bd3bf480ed5bb36e0e4a20a2acec1d89
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Fri Jan 25 14:02:51 2013 +0900

    Finish phrase dictionary support.

 libkkc/Makefile.am                    |    7 +-
 libkkc/dictionary.vala                |   83 -------
 libkkc/file-dictionary.vala           |  361
 ------------------------------
 libkkc/segment-dictionary.vala        |  103 +++++++++
 libkkc/segment-list.vala              |    4 +
 libkkc/sentence-dictionary.vala       |  286 +-----------------------
 libkkc/state.vala                     |  140 ++++++++++--
 libkkc/system-segment-dictionary.vala |  361
 ++++++++++++++++++++++++++++++
 libkkc/user-dictionary.vala           |  374
 +++----------------------------
 libkkc/user-segment-dictionary.vala   |  396
 +++++++++++++++++++++++++++++++++
 libkkc/user-sentence-dictionary.vala  |  297 +++++++++++++++++++++++++
 libkkc/utils.vala                     |   37 +++
 tests/context.vala                    |    4 +-
 13 files changed, 1375 insertions(+), 1078 deletions(-)

commit 239f1af7dd9ebd41452091ccb2d4f2a09bc53386
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Fri Jan 25 08:01:13 2013 +0900

    Fix the last change.

 rules/default/keymap/default.json |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

commit bd2a358f0576331da92d4e8518e45c5449c83f16
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Fri Jan 25 03:55:24 2013 +0900

    Fix for old valac.

 libkkc/key-event.vala |    2 +-
 tests/context.vala    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 0f153d15cce330d137d924d781022ce57c0f9557
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Fri Jan 25 03:55:09 2013 +0900

    Bind more keys.

 rules/default/keymap/default.json |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

commit c036345e358bd667fa4388d8895fb698b593821a
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Thu Jan 24 19:41:12 2013 +0900

    Implement select_segments in user dictionary.

 libkkc/sentence-dictionary.vala |   17 +++++++++++++++++
 1 file changed, 17 insertions(+)

commit 8d95d8563c5eb44bce0d40a0857ba5d97c1083e8
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Thu Jan 24 19:34:31 2013 +0900

    Implement lookup methods of user dictionary.

 libkkc/sentence-dictionary.vala |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

commit 84e1e03ac23fd56cfda243f8b2ba95838583901a
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Thu Jan 24 19:29:47 2013 +0900

    Implement load/save of user sentence dictionary.

 libkkc/sentence-dictionary.vala |  184
 +++++++++++++++++++++++++++++++++++++--
 1 file changed, 179 insertions(+), 5 deletions(-)

commit 1adfbf9a7e19eb8e63673ec6c999e0701622f381
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Thu Jan 24 18:16:33 2013 +0900

    Update test data for the latest libkkc-data.

 tests/context.vala |   38 +++++++++++++++++++-------------------
 1 file changed, 19 insertions(+), 19 deletions(-)

commit be3a59ad10e2291a85c59cbd5383c9970cd945db
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Thu Jan 24 18:16:18 2013 +0900

    Utilize okuri-ari conversion.

 libkkc/numeric-template.vala |    2 ++
 libkkc/state.vala            |   18 ++++++++++--------
 libkkc/template.vala         |   32 ++++++++++++++++++++++++++++++++
 3 files changed, 44 insertions(+), 8 deletions(-)

commit 3ee4d362793cf451ae7789314d8d507b32db4ef2
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Thu Jan 24 18:13:15 2013 +0900

    Respect constraints when adding unknown nodes.

 libkkc/bigram-decoder.vala  |   17 +++++++++++++++--
 libkkc/trigram-decoder.vala |    2 +-
 2 files changed, 16 insertions(+), 3 deletions(-)

commit 2791279574507c26e0d53752bed2042d81f3ea55
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Thu Jan 24 15:20:06 2013 +0900

    Fix "delete" behavior.

 libkkc/state.vala |   16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

commit 8c43074085eb98a7de285e85ddeed31d092a8529
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Thu Jan 24 14:15:07 2013 +0900

    Update version.

 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 457a0afd0fc4b86e07955c892883c8ebd0b144b8
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Thu Jan 24 13:56:10 2013 +0900

    Start rewriting phrase dictionary.

 libkkc/Makefile.am              |    1 +
 libkkc/dictionary.vala          |   43 ++++++-------
 libkkc/file-dictionary.vala     |    2 +-
 libkkc/key-event.vala           |    4 +-
 libkkc/segment-list.vala        |   59 ------------------
 libkkc/sentence-dictionary.vala |  126
 +++++++++++++++++++++++++++++++++++++++
 libkkc/state.vala               |   56 ++++-------------
 libkkc/user-dictionary.vala     |    2 +-
 8 files changed, 166 insertions(+), 127 deletions(-)

commit 80c280fb514738afeae05ae46fcf8fecc6ec0fab
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Thu Jan 24 12:37:48 2013 +0900

    Fix keymap.

 rules/default/keymap/hankaku-katakana.json |    8 ++------
 rules/default/keymap/hiragana.json         |    8 ++------
 rules/default/keymap/katakana.json         |    8 ++------
 rules/default/keymap/latin.json            |    2 +-
 rules/default/keymap/wide-latin.json       |    2 +-
 5 files changed, 8 insertions(+), 20 deletions(-)

commit 5bee9c7673833823960aed02cb77d2ee5647eab5
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Thu Jan 24 10:53:30 2013 +0900

    Refactor Dictionary class.

 libkkc/dictionary.vala      |   28 +++++++++++++++-------------
 libkkc/file-dictionary.vala |   14 ++++++++------
 libkkc/user-dictionary.vala |   26 +++++++++++++-------------
 3 files changed, 36 insertions(+), 32 deletions(-)

commit 2c7bc2fb35fbee98a5ba6403810204eb816a0fcc
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Thu Jan 24 10:48:20 2013 +0900

    Rename Dict -> Dictionary.

 libkkc/Makefile.am          |    6 +-
 libkkc/context.vala         |    6 +-
 libkkc/dict.vala            |  173 -------------------
 libkkc/dictionary.vala      |  173 +++++++++++++++++++
 libkkc/file-dict.vala       |  359
 ---------------------------------------
 libkkc/file-dictionary.vala |  359
 +++++++++++++++++++++++++++++++++++++++
 libkkc/state.vala           |    4 +-
 libkkc/user-dict.vala       |  396
 -------------------------------------------
 libkkc/user-dictionary.vala |  396
 +++++++++++++++++++++++++++++++++++++++++++
 tests/context.vala          |    4 +-
 10 files changed, 938 insertions(+), 938 deletions(-)

commit 0f8aede5e41fc9e850415f35baa092c41f9f738c
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Wed Jan 23 18:36:11 2013 +0900

    Refactor phrase dictionary code.

 libkkc/state.vala |   34 +++++++++++++++++++++++++++++++---
 1 file changed, 31 insertions(+), 3 deletions(-)

commit d0006329244f75038304ea5ccb41b2528835108d
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Wed Jan 23 17:20:47 2013 +0900

    Add tools/kkc.c to POTFILES.skip.

 po/POTFILES.skip |    1 +
 1 file changed, 1 insertion(+)

commit 1e12061d62fe03e6944b9b957f5daae35e4c3dc6
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Wed Jan 23 17:20:30 2013 +0900

    Refactor phrase dictionary code.

 libkkc/segment-list.vala |   61 +++++++++++++++++++++++++++++++++++++++-
 libkkc/state.vala        |   69
 +++++++++++-----------------------------------
 tests/context.vala       |    2 +-
 3 files changed, 77 insertions(+), 55 deletions(-)

commit abaa9dc9bb993215733503f1978513b3be941b83
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Tue Jan 22 19:32:49 2013 +0900

    Support phrase dictionary (wip).

 libkkc/state.vala     |   71
 +++++++++++++++++++++++++++++++++++++++++++++++++
 libkkc/user-dict.vala |    6 ++---
 tests/context.vala    |    6 +++++
 3 files changed, 80 insertions(+), 3 deletions(-)

commit 80ed0c1210de0788ef34aeed0cf79bbcc11f34c9
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Tue Jan 22 18:09:11 2013 +0900

    Rename state handlers.

 libkkc/context.vala |   12 ++++++------
 libkkc/state.vala   |   22 +++++++++++-----------
 2 files changed, 17 insertions(+), 17 deletions(-)

commit 05924c47e19778053a8dc1a34d1c54d1f9e7e457
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Tue Jan 22 14:26:26 2013 +0900

    Lookup dictionary when segment is selected.

 libkkc/candidate-list.vala |   20 ++++++++++++----
 libkkc/state.vala          |   54
 +++++++++++++++++++++++++++++++-------------
 2 files changed, 54 insertions(+), 20 deletions(-)

commit 0182051befebd6ba82e2f4b245cd09966551d091
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Tue Jan 22 12:57:48 2013 +0900

    Rename "preedit" -> "input" to avoid confusion.

 libkkc/context.vala      |    5 +++--
 libkkc/segment-list.vala |    6 ++----
 libkkc/state.vala        |   41 ++++++++++++++++++++++++-----------------
 3 files changed, 29 insertions(+), 23 deletions(-)

commit 1c26821de761e2afd2e287d39d276dfc578ca8f6
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Tue Jan 22 12:57:26 2013 +0900

    Support rounding lookup table.

 libkkc/candidate-list.vala |   83
 +++++++++++++++++++++++++++++++++++---------
 1 file changed, 67 insertions(+), 16 deletions(-)

commit ff46a6c16225e6903848f268b1eeffb29e3f63be
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Tue Jan 22 11:43:16 2013 +0900

    Remove preedit property from context.

 libkkc/context.vala      |   78 ++++-----------------------------
 libkkc/segment-list.vala |   11 ++++-
 libkkc/state.vala        |  107
 ++++++++++++++--------------------------------
 tests/context.vala       |   55 ++++++++++++++----------
 tools/kkc.vala           |   10 ++---
 5 files changed, 85 insertions(+), 176 deletions(-)

commit 01efb24c2c39d6d36b4552f48c0a835c03490403
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Mon Jan 21 19:15:03 2013 +0900

    Ignore empty input in none state.

 libkkc/state.vala |    2 ++
 1 file changed, 2 insertions(+)

commit 0bd00fde50247fee6f9117c39a34a75d0a331ef1
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Mon Jan 21 18:26:56 2013 +0900

    Change models directory from "model" to "models"

 libkkc/language-model.vala |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 1970893dcaf3e07028502a0ebb06e6a2ec97b178
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Mon Jan 21 18:06:52 2013 +0900

    Expose segment list through context.

 libkkc/candidate-list.vala |  119 --------------------------------------
 libkkc/context.vala        |   41 ++++++++------
 libkkc/dict.vala           |    2 +-
 libkkc/segment-list.vala   |   57 +++++++++----------
 libkkc/state.vala          |  135
 +++++++++++++++++---------------------------
 tests/context.vala         |   23 ++++++++
 6 files changed, 126 insertions(+), 251 deletions(-)

commit 595f5318c00af3664a189efe569d730fab81949a
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Mon Jan 21 15:34:03 2013 +0900

    Refactor numeric conversion.

 libkkc/Makefile.am           |    4 +-
 libkkc/expr.vala             |  194
 ---------------------------------------
 libkkc/expression.vala       |  209
 ++++++++++++++++++++++++++++++++++++++++++
 libkkc/numeric-template.vala |  120 ++++++++++++++++++++++++
 libkkc/state.vala            |  136 ++-------------------------
 libkkc/template.vala         |   35 +++++++
 6 files changed, 375 insertions(+), 323 deletions(-)

commit a43068c1c8f44df88fe49819410871107181fcc8
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Wed Jan 16 15:04:46 2013 +0900

    Suppress warnings.

 libkkc/file-dict.vala |    9 +++++++--
 libkkc/kkc.vala       |    4 ----
 libkkc/user-dict.vala |    2 +-
 3 files changed, 8 insertions(+), 7 deletions(-)

commit b186a8a024e4ea93200dd737ca2ceeb3f721c9ad
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Wed Jan 16 15:00:44 2013 +0900

    Update copyright year and email address.

 libkkc/dict.vala      |    4 ++--
 libkkc/encoding.vala  |    4 ++--
 libkkc/expr.vala      |    4 ++--
 libkkc/file-dict.vala |    4 ++--
 libkkc/user-dict.vala |    4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)

commit b9c5df728f346a52931ed68ec0d51f9ca4ccdb3e
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Wed Jan 16 15:00:00 2013 +0900

    Remove surrounding-text stuff atm.

 libkkc/context.vala |   41 -----------------------------------------
 libkkc/state.vala   |   30 ------------------------------
 2 files changed, 71 deletions(-)

commit 12862fdf3edacc1a93c73bab08452fbdaaf1ac54
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Tue Jan 15 19:42:51 2013 +0900

    Untabify.

 tests/basic.vala   |   68
 ++++++++++++++++++++++++++--------------------------
 tests/context.vala |   14 +++++------
 2 files changed, 41 insertions(+), 41 deletions(-)

commit feb8a8722ef9015fb8dbfaba9fbf4bb5ebf5da0b
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Tue Jan 15 19:39:33 2013 +0900

    Support SKK dictionary lookup.

 libkkc/Makefile.am  |    1 +
 libkkc/context.vala |   44 ++++++++++--
 libkkc/expr.vala    |  194
 +++++++++++++++++++++++++++++++++++++++++++++++++++
 libkkc/segment.vala |   19 ++---
 libkkc/state.vala   |  192
 ++++++++++++++++++++++++++++++++++++++++++--------
 tests/context.vala  |   12 ++++
 6 files changed, 413 insertions(+), 49 deletions(-)

commit c199e3703b90b4fab9efbdc47b69aed9cc1f490f
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Tue Jan 15 18:46:50 2013 +0900

    Support segment movement and resize.

 libkkc/segment-list.vala |   34 ++++++++++++++++++
 libkkc/state.vala        |   69 +++++++++++++++--------------------
 tests/Makefile.am        |    4 ++-
 tests/context.vala       |   89
 ++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 155 insertions(+), 41 deletions(-)

commit 86868aa150275b67458654c592e610119f412aeb
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Tue Jan 15 06:19:10 2013 +0900

    Import dictionary stuff from libskk.

 libkkc/Makefile.am    |   12 +-
 libkkc/candidate.vala |    9 ++
 libkkc/dict.vala      |  173 +++++++++++++++++++++
 libkkc/encoding.vala  |  116 +++++++++++++++
 libkkc/file-dict.vala |  354 +++++++++++++++++++++++++++++++++++++++++++
 libkkc/state.vala     |    2 +-
 libkkc/user-dict.vala |  396
 +++++++++++++++++++++++++++++++++++++++++++++++++
 7 files changed, 1057 insertions(+), 5 deletions(-)

commit 41e60cf9ca34f32640c20f7cc0568d1c7f7301f6
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Sun Jan 13 16:48:02 2013 +0900

    Rename dict -> model.

 libkkc/bigram-decoder.vala  |   20 ++++++++---------
 libkkc/context.vala         |    4 ++--
 libkkc/decoder.vala         |   10 ++++-----
 libkkc/language-model.vala  |   24 ++++++++++----------
 libkkc/trigram-decoder.vala |   52
 +++++++++++++++++++++----------------------
 tests/basic.vala            |    4 ++--
 tools/kkc.vala              |   14 ++++++------
 7 files changed, 64 insertions(+), 64 deletions(-)

commit df1e8e8c1b2de39c7f423e5064ad8c2afc39f9d8
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Sun Jan 13 16:42:23 2013 +0900

    Rename Decoder.new_for_dict to .create.

 libkkc/context.vala |    2 +-
 libkkc/decoder.vala |    2 +-
 tests/basic.vala    |    2 +-
 tools/kkc.vala      |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

commit e329b459ad7b7c4c8348a56c3511c75506a789f6
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Sun Jan 13 16:32:20 2013 +0900

    Change email address.

 Makefile.am                               |    2 +-
 configure.ac                              |    4 ++--
 libkkc/Makefile.am                        |    2 +-
 libkkc/bigram-decoder.vala                |    2 +-
 libkkc/candidate-list.vala                |    2 +-
 libkkc/candidate.vala                     |    2 +-
 libkkc/context.vala                       |    2 +-
 libkkc/decoder.vala                       |    2 +-
 libkkc/key-event-filter.vala              |    2 +-
 libkkc/key-event.vala                     |    2 +-
 libkkc/keymap.vala                        |    2 +-
 libkkc/keysyms.vala                       |    2 +-
 libkkc/kkc.vala                           |    2 +-
 libkkc/language-model.vala                |    2 +-
 libkkc/libkkc.pc.in                       |    2 +-
 libkkc/map-file.vala                      |    2 +-
 libkkc/nicola.vala                        |    2 +-
 libkkc/rom-kana-utils.vala                |    2 +-
 libkkc/rom-kana.vala                      |    2 +-
 libkkc/rule.vala                          |    2 +-
 libkkc/segment-list.vala                  |    2 +-
 libkkc/segment.vala                       |    2 +-
 libkkc/sorted-bigram-language-model.vala  |    2 +-
 libkkc/sorted-trigram-language-model.vala |    2 +-
 libkkc/state.vala                         |    2 +-
 libkkc/text-bigram-language-model.vala    |    2 +-
 libkkc/text-trigram-language-model.vala   |    2 +-
 libkkc/trellis-node.vala                  |    2 +-
 libkkc/trigram-decoder.vala               |    2 +-
 libkkc/utils.vala                         |    2 +-
 marisa-glib/Makefile.am                   |    2 +-
 rules/Makefile.am                         |    2 +-
 rules/README.rules                        |    2 +-
 tests/Makefile.am                         |    2 +-
 tools/kkc.vala                            |    2 +-
 35 files changed, 36 insertions(+), 36 deletions(-)

commit aaf0c43ee1e52e1bacbd4111d18a2538e57e238f
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Sun Jan 13 16:31:27 2013 +0900

    Update copyright year.

 configure.ac |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit f0c2f02491b48a20aa38feb123f7e86a7e64efdb
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Sun Jan 13 10:08:40 2013 +0900

    Add .dir-locals.el.

 .dir-locals.el |    3 +++
 1 file changed, 3 insertions(+)

commit ef8801e9a735f5db53296ecbb6ff61d080c9861b
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Sun Jan 13 10:07:46 2013 +0900

    Rewrite tests in Vala.

 configure.ac             |    1 +
 tests/Makefile.am        |   35 +++++++++---
 tests/basic.c            |  135
 ----------------------------------------------
 tests/basic.vala         |   49 +++++++++++++++++
 tests/lib/Makefile.am    |   47 ++++++++++++++++
 tests/lib/test-case.vala |  118 ++++++++++++++++++++++++++++++++++++++++
 6 files changed, 243 insertions(+), 142 deletions(-)

commit ccf3e0934e2c9b6b1dbf3e3380305de53a63ab92
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Sat Jan 12 10:42:53 2013 +0900

    Update README.

 README |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit b622d2b1943cdc045a7ea6e3aea88c21a6440c22
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Fri Jan 11 18:49:08 2013 +0900

    Add coding cookie to README.

 README |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit d1ae0dacbed3751d46d09814f4add71ff2d3b723
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Fri Jan 11 18:48:45 2013 +0900

    Update copyright year.

 Makefile.am                  |    4 ++--
 libkkc/candidate-list.vala   |    4 ++--
 libkkc/candidate.vala        |    4 ++--
 libkkc/context.vala          |    4 ++--
 libkkc/key-event-filter.vala |    4 ++--
 libkkc/key-event.vala        |    4 ++--
 libkkc/keymap.vala           |    4 ++--
 libkkc/keysyms.vala          |    4 ++--
 libkkc/map-file.vala         |    4 ++--
 libkkc/nicola.vala           |    4 ++--
 libkkc/rom-kana-utils.vala   |    4 ++--
 libkkc/rom-kana.vala         |    4 ++--
 libkkc/rule.vala             |    4 ++--
 libkkc/state.vala            |    4 ++--
 rules/Makefile.am            |    4 ++--
 tests/Makefile.am            |    4 ++--
 16 files changed, 32 insertions(+), 32 deletions(-)

commit 5616c8757e29f65dd1aabde49741841c0597e983
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Fri Jan 11 18:35:57 2013 +0900

    Update README.

 README |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

commit d2fc0a53d969264557e0332343464d8c505d2418
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Fri Jan 11 18:28:24 2013 +0900

    Update copyright year.

 libkkc/bigram-decoder.vala                |    4 ++--
 libkkc/decoder.vala                       |    4 ++--
 libkkc/kkc.vala                           |    4 ++--
 libkkc/language-model.vala                |    4 ++--
 libkkc/segment-list.vala                  |    4 ++--
 libkkc/segment.vala                       |    4 ++--
 libkkc/sorted-bigram-language-model.vala  |    4 ++--
 libkkc/sorted-trigram-language-model.vala |    4 ++--
 libkkc/text-bigram-language-model.vala    |    4 ++--
 libkkc/text-trigram-language-model.vala   |    4 ++--
 libkkc/trellis-node.vala                  |    4 ++--
 libkkc/trigram-decoder.vala               |    4 ++--
 libkkc/utils.vala                         |    4 ++--
 tools/kkc.vala                            |    4 ++--
 14 files changed, 28 insertions(+), 28 deletions(-)

commit 86f30891469f5e4e5c0a6bfb779dfdbd802c1135
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Fri Jan 11 18:27:10 2013 +0900

    Use IOError instead of LanguageModelError for MemoryMappedFile.

 libkkc/sorted-bigram-language-model.vala  |    4 ++--
 libkkc/sorted-trigram-language-model.vala |    2 +-
 libkkc/utils.vala                         |   17 ++++++++++-------
 3 files changed, 13 insertions(+), 10 deletions(-)

commit ba76eefc8475bbcab35a097e4cb176906813fceb
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Fri Jan 11 18:12:52 2013 +0900

    Rename util -> utils.

 libkkc/Makefile.am                        |    5 +-
 libkkc/kkc.vala                           |    2 +-
 libkkc/language-model-utils.vala          |   28 ++
 libkkc/language-model.vala                |    2 +-
 libkkc/rom-kana-util.vala                 |  432
 -----------------------------
 libkkc/rom-kana-utils.vala                |  432
 +++++++++++++++++++++++++++++
 libkkc/rule.vala                          |    6 +-
 libkkc/sorted-bigram-language-model.vala  |   10 +-
 libkkc/sorted-trigram-language-model.vala |    4 +-
 libkkc/state.vala                         |   12 +-
 libkkc/util.vala                          |  134 ---------
 libkkc/utils.vala                         |   97 +++++++
 12 files changed, 578 insertions(+), 586 deletions(-)

commit 589254cbfaa1056c57483592a5d7fd92a3d55465
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Fri Jan 11 17:55:33 2013 +0900

    Make SegmentList private.

 libkkc/segment-list.vala |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 2acad9db2638560945ae936165ccef2194012529
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Fri Jan 11 17:55:16 2013 +0900

    Add State.move_segment and .resize_segment.

 libkkc/state.vala |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

commit 02067c1d39a25b27d8eda89bb327be57ec32f381
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Fri Jan 11 17:41:29 2013 +0900

    Rename State.lookup_sentence to .convert_sentence.

 libkkc/state.vala |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

commit 706b813fcb0e82a8aa9b1ab55f36437dcc53a683
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Fri Jan 11 16:22:43 2013 +0900

    Rename Dict -> LanguageModel.

 libkkc/Makefile.am                        |   10 +-
 libkkc/bigram-decoder.vala                |    8 +-
 libkkc/context.vala                       |    2 +-
 libkkc/decoder.vala                       |   10 +-
 libkkc/dict.vala                          |  188
 ---------------------------
 libkkc/kkc.vala                           |    2 +-
 libkkc/language-model.vala                |  190
 ++++++++++++++++++++++++++++
 libkkc/sorted-bigram-dict.vala            |  195
 -----------------------------
 libkkc/sorted-bigram-language-model.vala  |  195
 +++++++++++++++++++++++++++++
 libkkc/sorted-trigram-dict.vala           |   78 ------------
 libkkc/sorted-trigram-language-model.vala |   78 ++++++++++++
 libkkc/text-bigram-dict.vala              |  188
 ---------------------------
 libkkc/text-bigram-language-model.vala    |  188
 +++++++++++++++++++++++++++
 libkkc/text-trigram-dict.vala             |   44 -------
 libkkc/text-trigram-language-model.vala   |   44 +++++++
 libkkc/trellis-node.vala                  |   20 +--
 libkkc/trigram-decoder.vala               |   16 +--
 libkkc/util.vala                          |   12 +-
 tools/kkc.vala                            |    6 +-
 19 files changed, 738 insertions(+), 736 deletions(-)

commit 12e3ce351ba65e26a547c5bfdead724fa6a33ce9
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Fri Jan 11 16:13:20 2013 +0900

    Remove Python dependency.

 configure.ac |    3 ---
 1 file changed, 3 deletions(-)

commit 963d8503eb987145e9f1b53a20c831e56f20a97d
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Fri Jan 11 16:10:51 2013 +0900

    Update marisa-trie version to 0.2.1.

 README |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 774a26660089efbbb42620ce8004ea3a6556833b
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Fri Jan 11 15:59:14 2013 +0900

    Modernize vapi generation for marisa-glib.

 configure.ac            |    3 +++
 marisa-glib/Makefile.am |   28 +++++++++++++++++-----------
 2 files changed, 20 insertions(+), 11 deletions(-)

commit 1783e5287f68e426dee4c4337c2e47329aa18646
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Mon Sep 3 14:42:53 2012 +0900

    Fix typo.

 libkkc/context.vala  |    2 +-
 libkkc/rom-kana.vala |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 13b633fcf0fc525c81fe475340d7721decede6c4
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Mon Aug 27 16:40:04 2012 +0900

    Import rom-kana conversion stuff from libskk.

 Makefile.am                                        |    2 +-
 configure.ac                                       |    1 +
 docs/Makefile.am                                   |    2 +
 libkkc/Makefile.am                                 |   20 +-
 libkkc/candidate-list.vala                         |  430 +++
 libkkc/candidate.vala                              |   81 +
 libkkc/context.vala                                |  404 +++
 libkkc/decoder.vala                                |    6 +-
 libkkc/dict.vala                                   |    2 +-
 libkkc/key-event-filter.vala                       |   68 +
 libkkc/key-event.vala                              |  272 ++
 libkkc/keymap.vala                                 |   56 +
 libkkc/keysyms.vala                                | 2106 +++++++++++++
 libkkc/kkc.vala                                    |   41 +-
 libkkc/map-file.vala                               |  135 +
 libkkc/nicola.vala                                 |  306 ++
 libkkc/rom-kana-util.vala                          |  432 +++
 libkkc/rom-kana.vala                               |  342 +++
 libkkc/rule.vala                                   |  349 +++
 libkkc/segment-list.vala                           |   57 +
 libkkc/state.vala                                  |  538 ++++
 rules/Makefile.am                                  |  128 +
 rules/README.rules                                 |  166 +
 rules/act/keymap/default.json                      |    5 +
 rules/act/keymap/hankaku-katakana.json             |   10 +
 rules/act/keymap/hiragana.json                     |   10 +
 rules/act/keymap/katakana.json                     |   10 +
 rules/act/keymap/latin.json                        |    5 +
 rules/act/keymap/wide-latin.json                   |    5 +
 rules/act/metadata.json                            |    4 +
 rules/act/rom-kana/default.json                    |  671 ++++
 rules/azik-jp106/keymap/hankaku-katakana.json      |    5 +
 rules/azik-jp106/keymap/hiragana.json              |   11 +
 rules/azik-jp106/keymap/katakana.json              |   11 +
 rules/azik-jp106/keymap/latin.json                 |    5 +
 rules/azik-jp106/keymap/wide-latin.json            |    5 +
 rules/azik-jp106/metadata.json                     |    4 +
 rules/azik-jp106/rom-kana/default.json             |  497 +++
 rules/azik/keymap/default.json                     |   10 +
 rules/azik/keymap/hankaku-katakana.json            |   10 +
 rules/azik/keymap/hiragana.json                    |   10 +
 rules/azik/keymap/katakana.json                    |   10 +
 rules/azik/keymap/latin.json                       |    5 +
 rules/azik/keymap/wide-latin.json                  |    5 +
 rules/azik/metadata.json                           |    4 +
 rules/azik/rom-kana/default.json                   |  497 +++
 rules/default/keymap/default.json                  |   17 +
 rules/default/keymap/hankaku-katakana.json         |   15 +
 rules/default/keymap/hiragana.json                 |   15 +
 rules/default/keymap/katakana.json                 |   15 +
 rules/default/keymap/latin.json                    |   10 +
 rules/default/keymap/wide-latin.json               |   10 +
 rules/default/metadata.json                        |    4 +
 rules/default/rom-kana/default.json                |  242 ++
 rules/kzik/keymap/default.json                     |   10 +
 rules/kzik/keymap/hankaku-katakana.json            |   10 +
 rules/kzik/keymap/hiragana.json                    |   10 +
 rules/kzik/keymap/katakana.json                    |   10 +
 rules/kzik/keymap/latin.json                       |    5 +
 rules/kzik/keymap/wide-latin.json                  |    5 +
 rules/kzik/metadata.json                           |    4 +
 rules/kzik/rom-kana/default.json                   |  521 ++++
 rules/nicola/keymap/default.json                   |   19 +
 rules/nicola/keymap/hankaku-katakana.json          |    5 +
 rules/nicola/keymap/hiragana.json                  |   10 +
 rules/nicola/keymap/kana.json                      |  180 ++
 rules/nicola/keymap/katakana.json                  |   10 +
 rules/nicola/keymap/latin.json                     |    5 +
 rules/nicola/keymap/wide-latin.json                |    5 +
 rules/nicola/metadata.json                         |    5 +
 rules/nicola/rom-kana/default.json                 |    6 +
 rules/tcode/keymap/hankaku-katakana.json           |    5 +
 rules/tcode/keymap/hiragana.json                   |    5 +
 rules/tcode/keymap/katakana.json                   |    5 +
 rules/tcode/keymap/latin.json                      |    5 +
 rules/tcode/keymap/wide-latin.json                 |    5 +
 rules/tcode/metadata.json                          |    4 +
 rules/tcode/rom-kana/default.json                  | 1360 ++++++++
 rules/trycode/keymap/hankaku-katakana.json         |    5 +
 rules/trycode/keymap/hiragana.json                 |    5 +
 rules/trycode/keymap/katakana.json                 |    5 +
 rules/trycode/keymap/latin.json                    |    5 +
 rules/trycode/keymap/wide-latin.json               |    5 +
 rules/trycode/metadata.json                        |    4 +
 rules/trycode/rom-kana/default.json                | 3249
 ++++++++++++++++++++
 .../tutcode-touch16x/keymap/hankaku-katakana.json  |    5 +
 rules/tutcode-touch16x/keymap/hiragana.json        |    5 +
 rules/tutcode-touch16x/keymap/katakana.json        |    5 +
 rules/tutcode-touch16x/keymap/latin.json           |    5 +
 rules/tutcode-touch16x/keymap/wide-latin.json      |    5 +
 rules/tutcode-touch16x/metadata.json               |    4 +
 rules/tutcode-touch16x/rom-kana/default.json       |   18 +
 rules/tutcode/keymap/hankaku-katakana.json         |    5 +
 rules/tutcode/keymap/hiragana.json                 |    5 +
 rules/tutcode/keymap/katakana.json                 |    5 +
 rules/tutcode/keymap/latin.json                    |    5 +
 rules/tutcode/keymap/wide-latin.json               |    5 +
 rules/tutcode/metadata.json                        |    4 +
 rules/tutcode/rom-kana/default.json                | 2645
 ++++++++++++++++
 tools/kkc.vala                                     |   57 +-
 100 files changed, 16332 insertions(+), 14 deletions(-)

commit 3c93a29be690d91a86026969908d0af25f88ee9f
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Mon Aug 27 16:39:18 2012 +0900

    Minor style fix.

 libkkc/decoder.vala |    4 +---
 libkkc/dict.vala    |    1 -
 2 files changed, 1 insertion(+), 4 deletions(-)

commit cc1fd123be76fea24209df7d0e79cd0cd3504430
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Mon Aug 27 16:35:59 2012 +0900

    Handle mmap errors.

 libkkc/sorted-bigram-dict.vala  |   29 +++++++++++++++++++++++++----
 libkkc/sorted-trigram-dict.vala |    7 ++++++-
 libkkc/text-bigram-dict.vala    |   11 ++++++++---
 libkkc/util.vala                |    2 +-
 4 files changed, 40 insertions(+), 9 deletions(-)

commit cd7c103b24034c37b21c6bf62abfe72bf62dab79
Author: Daiki Ueno <ueno@unixuser.org>
Date:   Tue Aug 7 11:31:16 2012 +0900

    Initial import.

 COPYING                           |  674
 +++++++++++++++++++++++++++++++++++++
 INSTALL                           |  370 ++++++++++++++++++++
 Makefile.am                       |   78 +++++
 README                            |   36 ++
 autogen.sh                        |   25 ++
 configure.ac                      |  175 ++++++++++
 docs/Makefile.am                  |   98 ++++++
 git.mk                            |  206 ++++++++++++
 lcov.mk                           |   23 ++
 libkkc/Makefile.am                |  111 ++++++
 libkkc/bigram-decoder.vala        |  271 +++++++++++++++
 libkkc/config.vapi                |   11 +
 libkkc/decoder.vala               |   40 +++
 libkkc/dict.vala                  |  189 +++++++++++
 libkkc/kkc-1.0.deps               |    5 +
 libkkc/kkc.vala                   |   34 ++
 libkkc/libkkc.pc.in               |   29 ++
 libkkc/segment.vala               |   43 +++
 libkkc/sorted-bigram-dict.vala    |  174 ++++++++++
 libkkc/sorted-trigram-dict.vala   |   73 ++++
 libkkc/text-bigram-dict.vala      |  183 ++++++++++
 libkkc/text-trigram-dict.vala     |   44 +++
 libkkc/trellis-node.vala          |  153 +++++++++
 libkkc/trigram-decoder.vala       |  246 ++++++++++++++
 libkkc/util.vala                  |  134 ++++++++
 marisa-glib/Makefile.am           |   63 ++++
 marisa-glib/Marisa-custom.vala    |    2 +
 marisa-glib/Marisa.metadata       |    5 +
 marisa-glib/marisa-agent.cc       |   63 ++++
 marisa-glib/marisa-agent.h        |   37 ++
 marisa-glib/marisa-glib-private.h |   57 ++++
 marisa-glib/marisa-glib.deps      |    1 +
 marisa-glib/marisa-glib.h         |   18 +
 marisa-glib/marisa-key.cc         |   66 ++++
 marisa-glib/marisa-key.h          |   31 ++
 marisa-glib/marisa-keyset.cc      |   61 ++++
 marisa-glib/marisa-keyset.h       |   37 ++
 marisa-glib/marisa-trie.cc        |  134 ++++++++
 marisa-glib/marisa-trie.h         |   42 +++
 tests/Makefile.am                 |   37 ++
 tests/basic.c                     |  135 ++++++++
 tools/Makefile.am                 |   22 ++
 tools/kkc.vala                    |   95 ++++++
 43 files changed, 4331 insertions(+)
