From 4641b2b4f6c14e973d09ad5e38087043ea837549 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Tue, 10 Jul 2012 15:49:58 +0800 Subject: [PATCH] update patch --- ibus-libpinyin-1.4.x-head.patch | 37 +++++++++++++++++++++++++++------ 1 file changed, 31 insertions(+), 6 deletions(-) diff --git a/ibus-libpinyin-1.4.x-head.patch b/ibus-libpinyin-1.4.x-head.patch index f5e6aa0..104799f 100644 --- a/ibus-libpinyin-1.4.x-head.patch +++ b/ibus-libpinyin-1.4.x-head.patch @@ -1,7 +1,7 @@ From e16682240d6df8777a7b6605811258b5ec71cec1 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Wed, 4 Jul 2012 13:19:47 +0800 -Subject: [PATCH 1/6] fixes fillLookupTableByPage +Subject: [PATCH 1/7] fixes fillLookupTableByPage --- src/PYPPhoneticEditor.cc | 11 ++--------- @@ -43,7 +43,7 @@ index bdc05d8..a9b81ce 100644 From a742f0e61a9cc81ee14f5d66070bede4a737fa18 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Wed, 4 Jul 2012 15:19:05 +0800 -Subject: [PATCH 2/6] uses pinyin_load_phrase_library +Subject: [PATCH 2/7] uses pinyin_load_phrase_library --- src/PYLibPinyin.cc | 4 +++- @@ -78,7 +78,7 @@ index dd56fa7..621863b 100644 From 155103f5528d450c05c8639c64c8fef2cb9e52bd Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Mon, 9 Jul 2012 13:11:45 +0800 -Subject: [PATCH 3/6] fixes selectCandidate +Subject: [PATCH 3/7] fixes selectCandidate --- src/PYPPhoneticEditor.cc | 5 +++++ @@ -111,7 +111,7 @@ index a9b81ce..13e6011 100644 From 87c19323a056947e42b573e92dfd4e29e320d99b Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Mon, 9 Jul 2012 13:20:15 +0800 -Subject: [PATCH 4/6] improves full pinyin mode +Subject: [PATCH 4/7] improves full pinyin mode --- src/PYPFullPinyinEditor.cc | 11 +++++++++++ @@ -161,7 +161,7 @@ index a3b3df4..bb92655 100644 From a727155dc7dfeac0ac52e89c101003b9b2481a86 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Mon, 9 Jul 2012 13:29:18 +0800 -Subject: [PATCH 5/6] use divided table for full pinyin +Subject: [PATCH 5/7] use divided table for full pinyin --- src/PYLibPinyin.cc | 3 ++- @@ -188,7 +188,7 @@ index 621863b..44dcaf2 100644 From 2d8a65fdcefe0a8809740adb86f3d45d8c454793 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Mon, 9 Jul 2012 15:50:04 +0800 -Subject: [PATCH 6/6] fixes updatePinyin +Subject: [PATCH 6/7] fixes updatePinyin --- src/PYPBopomofoEditor.cc | 1 + @@ -248,3 +248,28 @@ index 13e6011..5e47be3 100644 -- 1.7.10.4 + +From 9634aef4f33bca66f1634f305860131c22c722ac Mon Sep 17 00:00:00 2001 +From: Peng Wu +Date: Tue, 10 Jul 2012 14:00:14 +0800 +Subject: [PATCH 7/7] fixes selectCandidate for full pinyin + +--- + src/PYPPhoneticEditor.cc | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/PYPPhoneticEditor.cc b/src/PYPPhoneticEditor.cc +index 5e47be3..b89db91 100644 +--- a/src/PYPPhoneticEditor.cc ++++ b/src/PYPPhoneticEditor.cc +@@ -367,6 +367,7 @@ LibPinyinPhoneticEditor::selectCandidate (guint i) + if (DIVIDED_CANDIDATE == candidate->m_candidate_type || + RESPLIT_CANDIDATE == candidate->m_candidate_type) { + m_text = m_instance->m_raw_full_pinyin; ++ updatePinyin (); + } + pinyin_guess_sentence (m_instance); + +-- +1.7.10.4 +