Skip to content
  1. Mar 28, 2019
    • Yuanle Song's avatar
      v0.100.1 code review for Database.cc · 95b8f0b6
      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.
      95b8f0b6
    • Yuanle Song's avatar
      add meson.build for libpyzy project. · 43004d6f
      Yuanle Song authored
      updated meson.build for pinyin_parser/ sub project.
      it integrates swig build step in meson now.
      43004d6f