Codebase list mozc / 1524cbf
Update uim patch to r317 Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@debian.org> Nobuhiro Iwamatsu 11 years ago
1 changed file(s) with 21 addition(s) and 21 deletion(s). Raw diff Collapse all Expand all
0 Origin: macuim project: http://macuim.googlecode.com/svn/trunk / r308
1 Bug: none
2 Bug-Debian: none
3 Comment: Add some change.
0 Origin: macuim project: http://macuim.googlecode.com/svn/trunk / r317
1 Bug: none
2 Bug-Debian: none
3 Comment:
44
5 From 016d5878509f08df20829082bf8e8fbe54b2b999 Mon Sep 17 00:00:00 2001
5 From 01753eb85146cd57ecf5fc59fe02a1784b63e42a Mon Sep 17 00:00:00 2001
66 From: Nobuhiro Iwamatsu <iwamatsu@debian.org>
7 Date: Wed, 28 Mar 2012 13:47:01 +0900
8 Subject: [PATCH] support uim
7 Date: Mon, 7 May 2012 10:22:43 +0900
8 Subject: [PATCH] Add support uim / macuim r317
99
1010 Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@debian.org>
1111 ---
12 unix/uim/key_translator.cc | 436 ++++++++++++++
13 unix/uim/key_translator.h | 111 ++++
14 unix/uim/mozc.cc | 1185 ++++++++++++++++++++++++++++++++++++++
15 unix/uim/scm/mozc-custom.scm | 390 +++++++++++++
16 unix/uim/scm/mozc-key-custom.scm | 74 +++
17 unix/uim/scm/mozc.scm | 555 ++++++++++++++++++
18 unix/uim/uim.gyp | 85 +++
19 7 files changed, 2836 insertions(+), 0 deletions(-)
12 unix/uim/key_translator.cc | 436 +++++++
13 unix/uim/key_translator.h | 111 ++
14 unix/uim/mozc.cc | 1185 ++++++++++++++++++++
15 unix/uim/scm/mozc-custom.scm | 390 +++++++
16 unix/uim/scm/mozc-key-custom.scm | 74 ++
17 unix/uim/scm/mozc.scm | 555 +++++++++
18 unix/uim/uim.gyp | 85 ++
19 12 files changed, 4008 insertions(+)
2020 create mode 100644 unix/uim/key_translator.cc
2121 create mode 100644 unix/uim/key_translator.h
2222 create mode 100644 unix/uim/mozc.cc
586586 +#endif // MOZC_UNIX_UIM_KEY_TRANSLATOR_H_
587587 diff --git a/unix/uim/mozc.cc b/unix/uim/mozc.cc
588588 new file mode 100644
589 index 0000000..d08bade
589 index 0000000..aa8ec1f
590590 --- /dev/null
591591 +++ b/unix/uim/mozc.cc
592592 @@ -0,0 +1,1185 @@
16671667 + }
16681668 +
16691669 + if (!context_slot[id].session->GetConfig(&config))
1670 + return false;
1670 + return uim_scm_f();
16711671 +
16721672 + config.set_preedit_method(method);
16731673 +
16741674 + if (!context_slot[id].session->SetConfig(config))
1675 + return false;
1675 + return uim_scm_f();
16761676 +
16771677 + context_slot[id].preedit_method = method;
16781678 +
28142814 +)
28152815 diff --git a/unix/uim/uim.gyp b/unix/uim/uim.gyp
28162816 new file mode 100644
2817 index 0000000..cba2ef3
2817 index 0000000..b2520d9
28182818 --- /dev/null
28192819 +++ b/unix/uim/uim.gyp
28202820 @@ -0,0 +1,85 @@
28692869 + 'key_translator.cc',
28702870 + ],
28712871 + 'dependencies': [
2872 + '../../session/session_base.gyp:genproto_session',
2872 + '../../session/session_base.gyp:genproto_session#host',
28732873 + ],
28742874 + 'cflags': [
28752875 + '<!@(pkg-config --cflags <@(pkg_config_libs))',
29042904 + ],
29052905 +}
29062906 --
2907 1.7.9.1
2907 1.7.10
29082908