platform/upstream/ibus-libpinyin.git
13 years agoAdd auto correct "on" => "ong", and combine some fuzzy pinyin options to save flag...
Peng Huang [Mon, 21 Mar 2011 17:00:05 +0000 (13:00 -0400)]
Add auto correct "on" => "ong", and combine some fuzzy pinyin options to save flag bits.

BUG=none
TEST=Linux desktop

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

13 years agoUpdate PYSimpTradConverterTable.h from wikipedia
Peng Huang [Fri, 18 Feb 2011 14:15:24 +0000 (09:15 -0500)]
Update PYSimpTradConverterTable.h from wikipedia

BUG=none
TEST=manual

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

13 years agoStoring user database to disk, if engine idles more than 60 seconds.
Peng Huang [Mon, 7 Feb 2011 16:33:37 +0000 (11:33 -0500)]
Storing user database to disk, if engine idles more than 60 seconds.

BUG=none
TEST=manual

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

13 years agoDo not handle release key events, if engine is in init mode.
Peng Huang [Tue, 18 Jan 2011 15:12:40 +0000 (10:12 -0500)]
Do not handle release key events, if engine is in init mode.

Most application only process key press events, but some process key release events. This change will let Pinyin engine to ignore some release events in init mode, and let applications have chance to get release key events.

BUG=none
TEST=Test within Ubuntu 10.10

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

13 years agoUse in memory user database to improve performance.
Peng Huang [Wed, 24 Nov 2010 07:53:36 +0000 (16:53 +0900)]
Use in memory user database to improve performance.

I found pinyin's performance is very low when system IO load is big. So
I let pinyin use im memory user database to improve the performance, and
write the database to the harddisk in 60 seconds or when engine exits.

BUG=none
TEST=manual

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

14 years agoadd author
Peng Wu [Fri, 12 Nov 2010 07:06:09 +0000 (15:06 +0800)]
add author

14 years agoFix deb build errors.
Peng Huang [Thu, 4 Nov 2010 07:26:18 +0000 (16:26 +0900)]
Fix deb build errors.

14 years agoChange default ubunut serie to mavreick
Peng Huang [Fri, 29 Oct 2010 00:31:05 +0000 (09:31 +0900)]
Change default ubunut serie to mavreick

14 years agoBump version to 1.3.99
Peng Huang [Fri, 29 Oct 2010 00:28:48 +0000 (09:28 +0900)]
Bump version to 1.3.99

14 years agoFix build errors with ibus-1.4
Peng Huang [Fri, 22 Oct 2010 11:36:54 +0000 (20:36 +0900)]
Fix build errors with ibus-1.4

14 years agoFix some errors when build debian packages.
phuang [Mon, 18 Oct 2010 13:02:33 +0000 (22:02 +0900)]
Fix some errors when build debian packages.

14 years agoFix problem with ibus-2.0
Peng Huang [Mon, 12 Jul 2010 10:14:46 +0000 (18:14 +0800)]
Fix problem with ibus-2.0

14 years agoadded simp. chinese and hong kang translation
Yuren Ju [Wed, 20 Oct 2010 10:49:33 +0000 (18:49 +0800)]
added simp. chinese and hong kang translation

14 years agoadd options for enter key, original feature is commit original english text, new...
Yuren Ju [Wed, 20 Oct 2010 10:44:23 +0000 (18:44 +0800)]
add options for enter key, original feature is commit original english text, new feature is commit first candidate phrase

14 years agouse , & 。 instead of 《 & 》 for traditional chinese user
Yuren Ju [Mon, 11 Oct 2010 09:07:25 +0000 (17:07 +0800)]
use , & 。 instead of 《 & 》 for traditional chinese user

14 years agoAdd option --disable-boost to support build without boost
Peng Huang [Mon, 27 Sep 2010 06:09:07 +0000 (14:09 +0800)]
Add option --disable-boost to support build without boost

When build without boost, ibus-pinyin will use smart pointer
from c++0x and use the signal templates embedded instead of
boost::signals2.

BUG=chromium-os:5055
TEST=manual

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

14 years agoAdd codereview.settings.
Peng Huang [Mon, 27 Sep 2010 02:10:33 +0000 (10:10 +0800)]
Add codereview.settings.

This is for us to use codereview.appspot.com for code reviews.

Instructions to use codereview.appspot.com:

1. Get depot_tools and add PATH to the directory
http://dev.chromium.org/developers/how-tos/depottools

2. In your local IBus git repository,

% git checkout master
% git checkout -b somefix
make changes
% git cl upload
do code reviews at codereview.appspot.com
once it's done, run "git cl push" if you can commit.
otherwise, ask committers to commit on behalf.

Add target for build debian packages.

BUG=none
TEST=build fine

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

14 years agorelease 1.3.11 1.3.11
Peng Huang [Mon, 6 Sep 2010 02:43:20 +0000 (10:43 +0800)]
release 1.3.11

14 years agoFix make distcheck errors.
Peng Huang [Mon, 6 Sep 2010 02:41:04 +0000 (10:41 +0800)]
Fix make distcheck errors.

14 years agoTiny modification to m4/boost.m4.
Yusuke Sato [Tue, 11 May 2010 02:33:05 +0000 (11:33 +0900)]
Tiny modification to m4/boost.m4.

Pass $CXXFLAGS to $ac_cpp to make cross-compilation of ibus-pinyin easy.

BUG=none
TEST=ran emerge-x86-generic -a ibus-pinyin.

Review URL: http://codereview.chromium.org/2045008

14 years agoRemove sqlite3 in create_db.py
Peng Huang [Mon, 23 Aug 2010 01:54:49 +0000 (09:54 +0800)]
Remove sqlite3 in create_db.py

14 years agoRemove duplicated EXTRA_DIST value in lua/Makefile.am
Peng Huang [Fri, 13 Aug 2010 22:43:29 +0000 (06:43 +0800)]
Remove duplicated EXTRA_DIST value in lua/Makefile.am

14 years agoAdd PY prefix of all file names to avoid name conflict on some file
Peng Huang [Fri, 13 Aug 2010 08:20:01 +0000 (16:20 +0800)]
Add PY prefix of all file names to avoid name conflict on some file
system than is case insensitive.

14 years agochange the default fuzzy settings
Peng Huang [Tue, 17 Aug 2010 04:15:52 +0000 (13:15 +0900)]
change the default fuzzy settings

14 years agoRelease 1.3.10 1.3.10
Peng Huang [Fri, 6 Aug 2010 02:45:40 +0000 (10:45 +0800)]
Release 1.3.10

14 years agoUse ucs4_t API of OpenCC.
BYVoid [Tue, 27 Jul 2010 14:01:25 +0000 (22:01 +0800)]
Use ucs4_t API of OpenCC.

14 years agoFix some default punct mappings in traditional Chinese
BYVoid [Tue, 27 Jul 2010 14:00:47 +0000 (22:00 +0800)]
Fix some default punct mappings in traditional Chinese

14 years agoRefine coding style and update AUTHORS
Peng Huang [Tue, 20 Jul 2010 00:59:15 +0000 (08:59 +0800)]
Refine coding style and update AUTHORS

14 years agoRelease 1.3.9
Peng Huang [Fri, 16 Jul 2010 06:24:07 +0000 (14:24 +0800)]
Release 1.3.9

14 years agoMerge remote branch 'epic/master'
Peng Huang [Fri, 16 Jul 2010 06:02:10 +0000 (14:02 +0800)]
Merge remote branch 'epic/master'

14 years agofixes error when make distcheck.
Peng Wu [Wed, 14 Jul 2010 05:40:53 +0000 (13:40 +0800)]
fixes error when make distcheck.

14 years agoMerge remote branch 'epic/master'
Peng Huang [Fri, 9 Jul 2010 07:36:04 +0000 (15:36 +0800)]
Merge remote branch 'epic/master'

14 years agoFix build problem in ppa
Peng Huang [Fri, 9 Jul 2010 07:35:41 +0000 (15:35 +0800)]
Fix build problem in ppa

14 years agoonly enable lua extension when use single pinyin.
Peng Wu [Fri, 9 Jul 2010 03:42:01 +0000 (11:42 +0800)]
only enable lua extension when use single pinyin.

14 years agofixes autoconf bug.
Peng Wu [Thu, 8 Jul 2010 05:43:29 +0000 (13:43 +0800)]
fixes autoconf bug.

14 years agoadd lua version check.
Peng Wu [Tue, 6 Jul 2010 05:55:32 +0000 (13:55 +0800)]
add lua version check.

14 years agofixes ExtEditor compile.
Peng Wu [Tue, 6 Jul 2010 04:49:10 +0000 (12:49 +0800)]
fixes ExtEditor compile.

14 years agofixes ubuntu build.
Peng Wu [Tue, 6 Jul 2010 04:42:15 +0000 (12:42 +0800)]
fixes ubuntu build.

14 years agofixes a typo.
Peng Wu [Tue, 6 Jul 2010 03:22:44 +0000 (11:22 +0800)]
fixes a typo.

14 years agoUse opencc
Peng Huang [Tue, 6 Jul 2010 02:46:46 +0000 (10:46 +0800)]
Use opencc

14 years agoRevert to OpenCC C language API
BYVoid [Mon, 5 Jul 2010 08:29:48 +0000 (16:29 +0800)]
Revert to OpenCC C language API

14 years agoUse Constant of C++ wrapper of OpenCC instead of macro
BYVoid [Tue, 22 Jun 2010 08:42:18 +0000 (16:42 +0800)]
Use Constant of C++ wrapper of OpenCC instead of macro

14 years agoAdd error handler for call of OpenCC
BYVoid [Fri, 18 Jun 2010 05:54:33 +0000 (13:54 +0800)]
Add error handler for call of OpenCC

14 years agoFix call of OpenCC
BYVoid [Fri, 18 Jun 2010 05:49:58 +0000 (13:49 +0800)]
Fix call of OpenCC

14 years agoDisable lua extension by default
Peng Huang [Mon, 5 Jul 2010 07:31:03 +0000 (15:31 +0800)]
Disable lua extension by default

14 years agofixes traditional number.
Peng Wu [Thu, 1 Jul 2010 08:27:54 +0000 (16:27 +0800)]
fixes traditional number.

14 years agoadding lua-extension flags.
Peng Wu [Thu, 1 Jul 2010 08:17:19 +0000 (16:17 +0800)]
adding lua-extension flags.

14 years agoadd lua extension compile flags.
Peng Wu [Thu, 1 Jul 2010 07:32:36 +0000 (15:32 +0800)]
add lua extension compile flags.

14 years agofixes compile errors.
Peng Wu [Thu, 1 Jul 2010 03:55:52 +0000 (11:55 +0800)]
fixes compile errors.

14 years agore-factor chinese number code.
Peng Wu [Thu, 1 Jul 2010 03:46:59 +0000 (11:46 +0800)]
re-factor chinese number code.

14 years agoremove some warnings.
Peng Wu [Thu, 1 Jul 2010 02:36:39 +0000 (10:36 +0800)]
remove some warnings.

14 years agofixes translation.
Peng Wu [Thu, 1 Jul 2010 02:32:40 +0000 (10:32 +0800)]
fixes translation.

14 years agoadd comments.
Peng Wu [Tue, 29 Jun 2010 07:26:32 +0000 (15:26 +0800)]
add comments.

14 years agofixes huge number.
Peng Wu [Tue, 29 Jun 2010 07:21:34 +0000 (15:21 +0800)]
fixes huge number.

14 years agofixes aux text.
Peng Wu [Tue, 29 Jun 2010 06:50:10 +0000 (14:50 +0800)]
fixes aux text.

14 years agofixes compile errors.
Peng Wu [Tue, 29 Jun 2010 06:34:09 +0000 (14:34 +0800)]
fixes compile errors.

14 years agoadd Chinese Number Gen code
Peng Wu [Tue, 29 Jun 2010 06:17:28 +0000 (14:17 +0800)]
add Chinese Number Gen code

14 years agore-factor include headers.
Peng Wu [Wed, 23 Jun 2010 07:54:13 +0000 (15:54 +0800)]
re-factor include headers.

14 years agofixes strlen.
Peng Wu [Wed, 23 Jun 2010 07:31:58 +0000 (15:31 +0800)]
fixes strlen.

14 years agofixes help display on aux text.
Peng Wu [Wed, 23 Jun 2010 02:48:29 +0000 (10:48 +0800)]
fixes help display on aux text.

14 years agofixes space and m_cursor handles.
Peng Wu [Tue, 22 Jun 2010 10:08:00 +0000 (18:08 +0800)]
fixes space and m_cursor handles.

14 years agofixes return key.
Peng Wu [Tue, 22 Jun 2010 07:41:46 +0000 (15:41 +0800)]
fixes return key.
fixes lua script load path.

14 years agofixes digit labels gen.
Peng Wu [Tue, 22 Jun 2010 07:16:15 +0000 (15:16 +0800)]
fixes digit labels gen.
fixes label key '0' to '9'.

14 years agoadd lua command help hint.
Peng Wu [Tue, 22 Jun 2010 07:13:09 +0000 (15:13 +0800)]
add lua command help hint.

14 years agoadd enter key press handle.
Peng Wu [Tue, 22 Jun 2010 07:08:19 +0000 (15:08 +0800)]
add enter key press handle.

14 years agorefine code
Peng Huang [Tue, 22 Jun 2010 02:43:36 +0000 (10:43 +0800)]
refine code

14 years agoRefine code and fix some warnings
Peng Huang [Tue, 22 Jun 2010 02:40:44 +0000 (10:40 +0800)]
Refine code and fix some warnings

14 years agore-factor ExtEditor header.
Peng Wu [Tue, 22 Jun 2010 02:37:01 +0000 (10:37 +0800)]
re-factor ExtEditor header.

14 years agofixes m_cursor computing.
Peng Wu [Mon, 21 Jun 2010 07:17:48 +0000 (15:17 +0800)]
fixes m_cursor computing.

14 years agoadd license for lua ext mode.
Peng Wu [Mon, 21 Jun 2010 06:19:35 +0000 (14:19 +0800)]
add license for lua ext mode.

14 years agofixes label
Peng Wu [Mon, 21 Jun 2010 06:17:21 +0000 (14:17 +0800)]
fixes label

14 years agofixes base.lua path.
Peng Wu [Mon, 21 Jun 2010 05:34:12 +0000 (13:34 +0800)]
fixes base.lua path.

14 years agoadd stripped oslib for lua ext.
Peng Wu [Mon, 21 Jun 2010 05:21:47 +0000 (13:21 +0800)]
add stripped oslib for lua ext.

14 years agoadd base.lua
Peng Wu [Mon, 21 Jun 2010 05:06:01 +0000 (13:06 +0800)]
add base.lua

14 years agofixes compile warnings.
Peng Wu [Fri, 18 Jun 2010 07:58:01 +0000 (15:58 +0800)]
fixes compile warnings.

14 years agore-factor code.
Peng Wu [Fri, 18 Jun 2010 05:37:56 +0000 (13:37 +0800)]
re-factor code.

14 years agore-order code sequence.
Peng Wu [Fri, 18 Jun 2010 05:07:51 +0000 (13:07 +0800)]
re-order code sequence.

14 years agofixes include header.
Peng Wu [Fri, 18 Jun 2010 04:54:18 +0000 (12:54 +0800)]
fixes include header.

14 years agoFix build errors.
Peng Huang [Fri, 18 Jun 2010 03:37:25 +0000 (11:37 +0800)]
Fix build errors.

14 years agoMerge remote branch 'epico/lua-plugin' into lua-plugin
Peng Huang [Fri, 18 Jun 2010 03:25:15 +0000 (11:25 +0800)]
Merge remote branch 'epico/lua-plugin' into lua-plugin

Conflicts:
src/ExtEditor.cc
src/ExtEditor.h
src/LookupTable.h
src/Makefile.am
src/PinyinEngine.cc

14 years agofixes multi-line candidate content.
Peng Wu [Fri, 18 Jun 2010 03:08:36 +0000 (11:08 +0800)]
fixes multi-line candidate content.

14 years agofixes riqi and shijian.
Peng Wu [Fri, 18 Jun 2010 03:01:22 +0000 (11:01 +0800)]
fixes riqi and shijian.

14 years agofixes some typos.
Peng Wu [Fri, 18 Jun 2010 02:45:16 +0000 (10:45 +0800)]
fixes some typos.

14 years agoadd label and space key handle.
Peng Wu [Thu, 17 Jun 2010 07:17:27 +0000 (15:17 +0800)]
add label and space key handle.

14 years agowrite select candidate.
Peng Wu [Thu, 17 Jun 2010 05:07:20 +0000 (13:07 +0800)]
write select candidate.

14 years agoAdd er in xhe double pinyin schema
Peng Huang [Wed, 16 Jun 2010 16:02:11 +0000 (00:02 +0800)]
Add er in xhe double pinyin schema

14 years agoUse gint8 for pinyin id in double pinyin table
Peng Huang [Mon, 14 Jun 2010 16:12:30 +0000 (00:12 +0800)]
Use gint8 for pinyin id in double pinyin table

14 years agoUpdate configure.ac
Peng Huang [Mon, 14 Jun 2010 15:47:36 +0000 (23:47 +0800)]
Update configure.ac

14 years agoRefine code
Peng Huang [Mon, 14 Jun 2010 15:44:27 +0000 (23:44 +0800)]
Refine code

14 years agoUse utf8 string encode
Peng Huang [Mon, 14 Jun 2010 05:54:25 +0000 (13:54 +0800)]
Use utf8 string encode

14 years agoAdd --enable-opencc option
Peng Huang [Mon, 14 Jun 2010 03:09:21 +0000 (11:09 +0800)]
Add --enable-opencc option

14 years agorefine code
Peng Huang [Sun, 13 Jun 2010 08:03:08 +0000 (16:03 +0800)]
refine code

14 years agoAdd XiaoHe double pinyin schema
Peng Huang [Sun, 13 Jun 2010 07:38:36 +0000 (15:38 +0800)]
Add XiaoHe double pinyin schema

14 years agoImprove performance of SimpTradConvert
Peng Huang [Fri, 11 Jun 2010 09:26:10 +0000 (17:26 +0800)]
Improve performance of SimpTradConvert

14 years agoUse C++ API of OpenCC
BYVoid [Thu, 10 Jun 2010 14:28:04 +0000 (22:28 +0800)]
Use C++ API of OpenCC

14 years agoPrint message when an error occurs in opencc_convert
BYVoid [Thu, 10 Jun 2010 04:51:13 +0000 (12:51 +0800)]
Print message when an error occurs in opencc_convert

14 years agoSet release = 0
Peng Huang [Thu, 10 Jun 2010 05:34:18 +0000 (13:34 +0800)]
Set release = 0

14 years agoAdd class OpenCC to encapsulate opencc
Peng Huang [Wed, 9 Jun 2010 23:56:54 +0000 (07:56 +0800)]
Add class OpenCC to encapsulate opencc

14 years agoMerge from origin
BYVoid [Wed, 9 Jun 2010 14:38:08 +0000 (22:38 +0800)]
Merge from origin

14 years agoRefine some code.
Peng Huang [Wed, 9 Jun 2010 14:29:31 +0000 (22:29 +0800)]
Refine some code.