- Sep 10, 2023
-
-
Yuanle Song authored
-
- Aug 10, 2021
-
-
Yuanle Song authored
-
Yuanle Song authored
in python3.8+, to link against python, you need to link against python3-embed lib, which is supported by a newer meson module.
-
- Apr 07, 2019
-
-
Yuanle Song authored
-
Yuanle Song authored
-
- Mar 30, 2019
-
-
Yuanle Song authored
pinyin_parser: updated so file install dir.
-
- Mar 29, 2019
-
-
Yuanle Song authored
-
Yuanle Song authored
the old design have flaws and limitations. see :id001: and :id002: in operational file. new design: open :memory: db readwrite, this will be the m_db handler. try attach main db at known path (readonly if possible) to "maindb". if failed, try next known path, if all failed, initDB() should return false and gave up. try attach user db at known path to "userdb" schema, if failed, create :memory: db and initialize it as user db. attach it as "userdb" schema. update all query against main db to query from maindb.* table. update all SQL against user db to run again userdb.* table. benefits: - access to user db is concurrent safe. multiple libpyzy app won't overwrite user's user db file and lose data. - there is no need to saveUserDB() using timer in the bg. - there is no need to copy data from user db to :memory:, if user db is large, this can lower memory usage.
-
- Mar 28, 2019
-
-
Yuanle Song authored
- add error handling for all db operations - refactoring Database.cc to make it more readable. add doc for Database.cc extract method copyDB(), initUserDB(), setPragmaOnMainDB() - fix old timeoutCallback(), now named cb_saveUserDB() saveUserDB() should not be in the condition, because save can fail endlessly if file system have problem. - no longer require main db to be a regular file. symlink should work fine. - drop the dreaded overly reused class variable m_buffer. use meaningful names in current context. - escape string in SQL statements - update meson.build add prefix in PKGDATADIR define glib logging domain disable glib asserts for release build - I will use so file version in git log.
-
Yuanle Song authored
updated meson.build for pinyin_parser/ sub project. it integrates swig build step in meson now.
-
Yuanle Song authored
it builds the libpinyin_parser.so python module.
-
- Feb 07, 2013
-
-
YunQiang Su authored
-
- Dec 17, 2012
-
-
Hiroshi Sumita authored
BUG=https://code.google.com/p/pyzy/issues/detail?id=1 TEST=None Review URL: https://codereview.appspot.com/6943055
-
- Aug 02, 2012
-
-
Hiroshi Sumita authored
BUG=Can't get candidates on InputContext::Observer::candidatesChanged(). Review URL: https://codereview.appspot.com/6448092
-
- Jul 12, 2012
-
-
Hiroshi Sumita authored
BUG=None TEST=Build Review URL: https://codereview.appspot.com/6352094
-
- Jul 10, 2012
-
-
Hiroshi Sumita authored
BUG=Memory leak on InputContext::init (). TEST=Manual. Review URL: https://codereview.appspot.com/6349073
-
- Jul 09, 2012
-
-
Hiroshi Sumita authored
BUG=None TEST=Build and run a test. Review URL: https://codereview.appspot.com/6355058
-
- Jun 12, 2012
-
-
Hiroshi Sumita authored
BUG=None TEST=Manual Review URL: https://codereview.appspot.com/6294051
-
- Jun 11, 2012
-
-
Hiroshi Sumita authored
BUG=None TEST=Manual Review URL: https://codereview.appspot.com/6307059
-
- Jun 07, 2012
-
-
Hiroshi Sumita authored
BUG=None TEST=Manual Review URL: https://codereview.appspot.com/6298043
-
- Jun 06, 2012
-
-
Hiroshi Sumita authored
BUG=Database::query crashes on some situation TEST=Manual Review URL: https://codereview.appspot.com/6295043
-
- May 25, 2012
-
-
Hiroshi Sumita authored
BUG=http://code.google.com/p/ibus/issues/detail?id=1441 TEST=Manually Review URL: https://codereview.appspot.com/6250045
-
Hiroshi Sumita authored
BUG=None TEST=Manual Review URL: https://codereview.appspot.com/6252043
-
- May 21, 2012
-
-
Hiroshi Sumita authored
BUG=Some documents are wrong. TEST=Manual Review URL: https://codereview.appspot.com/6227043
-
Hiroshi Sumita authored
BUG=Can't instantiate a Variant object. TEST=Manual Review URL: https://codereview.appspot.com/6227046
-
Hiroshi Sumita authored
BUG=None TEST=Manual Review URL: https://codereview.appspot.com/6211062
-
- May 18, 2012
-
-
Hiroshi Sumita authored
BUG=None TEST=Manual Review URL: https://codereview.appspot.com/6202056
-
- May 17, 2012
-
-
Hiroshi Sumita authored
BUG=None TEST=Manual build Review URL: https://codereview.appspot.com/6212053
-
- May 11, 2012
-
-
Hiroshi Sumita authored
BUG=Candidate characters are always simplified. TEST=Manual Review URL: https://codereview.appspot.com/6206052
-
- May 08, 2012
-
-
Hiroshi Sumita authored
BUG=None TEST=Manually Review URL: https://codereview.appspot.com/6201053
-
- Apr 26, 2012
-
-
Hiroshi Sumita authored
BUG=Conversion is slow TEST=Test manually with client applications. Review URL: https://codereview.appspot.com/6073043
-
- Mar 28, 2012
-
-
Hiroshi Sumita authored
BUG=focusedCandidate is not cleared after some operations. TEST=Test manually with client codes. Review URL: https://codereview.appspot.com/5927049
-
- Mar 27, 2012
-
-
Hiroshi Sumita authored
BUG=None TEST=Builds manually. Review URL: https://codereview.appspot.com/5903060
-
- Mar 22, 2012
-
-
Hiroshi Sumita authored
BUG=All characters should be set on conversionText when cursor position is not at the end. TEST=Manually tested with client codes. Review URL: https://codereview.appspot.com/5869044
-
- Mar 07, 2012
-
-
Hiroshi Sumita authored
BUG=Candidates text are always simplified chinese characters. TEST=Manually tested with client code. Review URL: https://codereview.appspot.com/5752053
-
- Feb 29, 2012
-
-
Hiroshi Sumita authored
BUG=rest_text() returns incorrect value in some situation. TEST=Manually tested with client code. Review URL: https://codereview.appspot.com/5694088
-
- Feb 13, 2012
-
-
Hiroshi Sumita authored
BUG=We only get at most 12 candidates for any input. TEST=Build a package. Review URL: https://codereview.appspot.com/5645079
-
- Jan 12, 2012
-
-
Hiroshi Sumita authored
BUG=None TEST=Manual Review URL: http://codereview.appspot.com/5528073
-
- Dec 05, 2011
-
-
Hiroshi Sumita authored
BUG=None TEST=Build manually Review URL: http://codereview.appspot.com/5440070
-
- Dec 01, 2011
-
-
Hiroshi Sumita authored
BUG=None TEST=None Review URL: http://codereview.appspot.com/5437085
-