Codebase list mozc / 3dd9a0e
update uim-mozc to r323 Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@debian.org> Nobuhiro Iwamatsu 11 years ago
1 changed file(s) with 18 addition(s) and 15 deletion(s). Raw diff Collapse all Expand all
00 Description: Support uim framework
1 Origin: macuim project: http://macuim.googlecode.com/svn/trunk / r319
1 Origin: macuim project: http://macuim.googlecode.com/svn/trunk / r323
22 Forwarded: http://code.google.com/p/mozc/issues/detail?id=13
33 Author: uim Project http://code.google.com/p/uim/
4 Last-Update: 2012-06-20
4 Last-Update: 2013-04-12
55
6 From bbd5996759344ac28497ead81c3be2b41b4f1a38 Mon Sep 17 00:00:00 2001
6 From 4ffa8f548066a4398d238df4a748cca9993bb105 Mon Sep 17 00:00:00 2001
77 From: Nobuhiro Iwamatsu <iwamatsu@debian.org>
8 Date: Wed, 20 Jun 2012 01:53:18 +0900
9 Subject: [PATCH] Add support uim / macuim r319
8 Date: Fri, 12 Apr 2013 12:40:01 +0900
9 Subject: [PATCH] Add support uim / macuim r323
1010
1111 Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@debian.org>
1212 ---
1515 unix/uim/mozc.cc | 1185 ++++++++++++++++++++++++++++++++++++++
1616 unix/uim/scm/mozc-custom.scm | 390 +++++++++++++
1717 unix/uim/scm/mozc-key-custom.scm | 74 +++
18 unix/uim/scm/mozc.scm | 557 ++++++++++++++++++
18 unix/uim/scm/mozc.scm | 560 ++++++++++++++++++
1919 unix/uim/uim.gyp | 85 +++
20 7 files changed, 2838 insertions(+)
20 7 files changed, 2841 insertions(+)
2121 create mode 100644 unix/uim/key_translator.cc
2222 create mode 100644 unix/uim/key_translator.h
2323 create mode 100644 unix/uim/mozc.cc
22542254 + (_ "long description will be here"))
22552255 diff --git a/unix/uim/scm/mozc.scm b/unix/uim/scm/mozc.scm
22562256 new file mode 100644
2257 index 0000000..4e303e6
2257 index 0000000..89a5c1c
22582258 --- /dev/null
22592259 +++ b/unix/uim/scm/mozc.scm
2260 @@ -0,0 +1,557 @@
2260 @@ -0,0 +1,560 @@
22612261 +;;;
22622262 +;;; Copyright (c) 2010-2012 uim Project http://code.google.com/p/uim/
22632263 +;;;
26232623 +(define mozc-context-new
26242624 + (lambda (id im name)
26252625 + (let* ((mc (mozc-context-new-internal id im))
2626 + (mid (if (symbol-bound? 'mozc-lib-alloc-context)
2627 + (mozc-lib-alloc-context mc)
2628 + #f)))
2626 + (mid (if (symbol-bound? 'mozc-lib-alloc-context)
2627 + (if (= (getuid) 0)
2628 + #f
2629 + (mozc-lib-alloc-context mc))
2630 + (begin
2631 + (uim-notify-info
2632 + (N_ "libuim-mozc.so couldn't be loaded"))
2633 + #f))))
26292634 + (mozc-context-set-widgets! mc mozc-widgets)
26302635 + (mozc-context-set-mc-id! mc mid)
2631 + (if (not mid)
2632 + (uim-notify-info (N_ "libuim-mozc.so couldn't be loaded")))
26332636 + mc)))
26342637 +
26352638 +(define mozc-separator
29072910 + ],
29082911 +}
29092912 --
2910 1.7.10
2913 1.7.10.4
29112914