Codebase list mozc / 4c61cb5
Update patch of uim-mozc to r290 Fix work with latest mozc framework. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@debian.org> Nobuhiro Iwamatsu 12 years ago
2 changed file(s) with 22 addition(s) and 15 deletion(s). Raw diff Collapse all Expand all
11
22 * New upstream release (r83).
33 * Update patches/support-kfreebsd.patch.
4 * Update patches/add_tegaki_ui_ibus_mozc.patch
5 * Update uim-mozc patch to r288
4 * Update patches/add_tegaki_ui_ibus_mozc.patch.
5 * Update uim-mozc patch to r290
66 * Apply patch of bug repot 207.
7 debian/patches/bug107_request_surrounding_text.patch
8
9 -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Tue, 06 Dec 2011 21:30:18 +0900
7 debian/patches/bug107_request_surrounding_text.patch.
8
9 -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Sat, 17 Dec 2011 00:53:17 +0900
1010
1111 mozc (1.2.855.102+main-1~bpo60+1) squeeze-backports; urgency=low
1212
0 Origin: macuim project: http://macuim.googlecode.com/svn/trunk / r288
0 Origin: macuim project: http://macuim.googlecode.com/svn/trunk / r290
11 Bug: none
22 Bug-Debian: none
33
4 From 452e19650181d18145b7b852059216f272b9b90d Mon Sep 17 00:00:00 2001
4 From a8dab019e89185c013853ba987992177fd38833d Mon Sep 17 00:00:00 2001
55 From: Nobuhiro Iwamatsu <iwamatsu@debian.org>
6 Date: Tue, 6 Dec 2011 02:39:18 +0900
6 Date: Sat, 17 Dec 2011 00:51:19 +0900
77 Subject: [PATCH] Add uim-mozc r288
88
99 Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@debian.org>
1010 ---
1111 unix/uim/key_translator.cc | 436 ++++++++++++++++
1212 unix/uim/key_translator.h | 111 ++++
13 unix/uim/mozc.cc | 1027 ++++++++++++++++++++++++++++++++++++++
13 unix/uim/mozc.cc | 1032 ++++++++++++++++++++++++++++++++++++++
1414 unix/uim/scm/mozc-custom.scm | 385 ++++++++++++++
1515 unix/uim/scm/mozc-key-custom.scm | 74 +++
1616 unix/uim/scm/mozc.scm | 513 +++++++++++++++++++
17 unix/uim/uim.gyp | 85 ++++
18 7 files changed, 2631 insertions(+), 0 deletions(-)
17 unix/uim/uim.gyp | 87 ++++
18 7 files changed, 2638 insertions(+), 0 deletions(-)
1919 create mode 100644 unix/uim/key_translator.cc
2020 create mode 100644 unix/uim/key_translator.h
2121 create mode 100644 unix/uim/mozc.cc
585585 +#endif // MOZC_UNIX_UIM_KEY_TRANSLATOR_H_
586586 diff --git a/unix/uim/mozc.cc b/unix/uim/mozc.cc
587587 new file mode 100644
588 index 0000000..e248fd2
588 index 0000000..88b9633
589589 --- /dev/null
590590 +++ b/unix/uim/mozc.cc
591 @@ -0,0 +1,1027 @@
591 @@ -0,0 +1,1032 @@
592592 +/*
593593 +
594594 + Copyright (c) 2010-2011 uim Project http://code.google.com/p/uim/
646646 +#include "session/commands.pb.h"
647647 +#include "client/client.h"
648648 +#include "unix/uim/key_translator.h"
649 +#include "languages/global_language_spec.h"
650 +#include "languages/japanese/lang_dep_spec.h"
649651 +
650652 +// use server/client session
651653 +#include "base/util.h"
665667 +uint64 GetTime() {
666668 + return static_cast<uint64>(time(NULL));
667669 +}
670 +mozc::japanese::LangDepSpecJapanese uim_mozc_lang_spec;
668671 +
669672 +namespace mozc {
670673 +
15991602 + argv[1] = NULL;
16001603 +
16011604 + InitGoogle((const char *)argv[0], &argc, (char ***)&argv, true);
1605 + mozc::language::GlobalLanguageSpec::SetLanguageDependentSpec(&uim_mozc_lang_spec);
16021606 + mozc::uim::install_keymap();
16031607 +}
16041608 +
16151619 + delete mozc::uim::keyTranslator;
16161620 + mozc::uim::keyTranslator = NULL;
16171621 + free(argv);
1622 + mozc::language::GlobalLanguageSpec::SetLanguageDependentSpec(NULL);
16181623 +}
16191624 diff --git a/unix/uim/scm/mozc-custom.scm b/unix/uim/scm/mozc-custom.scm
16201625 new file mode 100644
26082613 +)
26092614 diff --git a/unix/uim/uim.gyp b/unix/uim/uim.gyp
26102615 new file mode 100644
2611 index 0000000..8d2dc03
2616 index 0000000..9fe04ca
26122617 --- /dev/null
26132618 +++ b/unix/uim/uim.gyp
2614 @@ -0,0 +1,85 @@
2619 @@ -0,0 +1,87 @@
26152620 +#
26162621 +# Copyright (c) 2010-2011 uim Project http://code.google.com/p/uim/
26172622 +#
26532658 + 'uim_dependencies': [
26542659 + '../../base/base.gyp:base',
26552660 + '../../client/client.gyp:client',
2661 + '../../languages/languages.gyp:global_language_spec',
2662 + '../../languages/japanese/japanese.gyp:language_dependent_spec_japanese',
26562663 + ],
26572664 + },
26582665 + 'targets': [