- 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.
-
- Aug 26, 2018
-
-
Boyuan Yang authored
-
Boyuan Yang authored
-
Boyuan Yang authored
-
Boyuan Yang authored
-
Boyuan Yang authored
-
Boyuan Yang authored
-
Boyuan Yang authored
-
Boyuan Yang authored
-
Boyuan Yang authored
-
Boyuan Yang authored
-
Aron Xu authored
libpyzy (1.0.1-5) unstable; urgency=medium * Remove opencc support due to lack support of new API * Move pre-depends to ${misc:Pre-Depends} * Ack NMU (Closes: #795602)
-
- Aug 08, 2016
-
-
Sebastian Ramacher authored
-
Aron Xu authored
-
- Nov 14, 2015
-
-
ChangZhuo Chen (陳昌倬) authored
-
- Feb 12, 2014
- Jan 31, 2014
-
-
Osamu Aoki authored
-
- Jan 30, 2014
-
-
Osamu Aoki authored
* Update the maintainer to make it part of pkg-ime. * Update uploaders. * Ship database in install. Closes: #737136, #737136 * Drop boost-dev since it is not used by ./configure as default. * Lintian override for C++ library symbols.
-
- Oct 16, 2013
-
-
YunQiang Su authored
Fix gitweb URL Signed-off-by: YunQiang Su <wzssyqa@gmail.com>
-
- Oct 10, 2013
-
-
Aron Xu authored
-
- Sep 27, 2013
-
-
YunQiang Su authored
Signed-off-by: YunQiang Su <wzssyqa@gmail.com>
-
YunQiang Su authored
Signed-off-by: YunQiang Su <wzssyqa@gmail.com>
-
YunQiang Su authored
-
YunQiang Su authored
This reverts commit 25a9b748.
-
YunQiang Su authored
-
YunQiang Su authored
(Closes: #713352 #705058) Signed-off-by: YunQiang Su <wzssyqa@gmail.com>
-
YunQiang Su authored
Signed-off-by: YunQiang Su <wzssyqa@gmail.com>
-
- Feb 10, 2013
-
-
YunQiang Su authored
-
- Feb 07, 2013
-
-
YunQiang Su authored
-