summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Free memory after useHEADmainBernhard M. Wiedemann2023-10-161-0/+1
|
* Update NEWS2.8.1Peng Wu2023-01-161-0/+3
|
* Bump version 2.8.1Peng Wu2023-01-161-1/+1
|
* Update table.conf.inPeng Wu2023-01-141-1/+1
|
* Fix code stylePeng Wu2023-01-143-5/+3
|
* Update NEWS2.8.0Peng Wu2023-01-031-0/+3
|
* Bump version 2.8.0Peng Wu2023-01-031-2/+2
|
* Add license header to unaligned_memory.hPeng Wu2022-11-301-0/+20
|
* Update class MemoryChunkPeng Wu2022-11-291-8/+4
|
* Fixup: fix build errorMatias Larsson2022-11-291-1/+2
| | | | Add the new header file to noinst_HEADERS.
* Fix libpinyin crash on ARMv7Matias Larsson2022-11-297-20/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the alignment trap in get_unigram_frequency(). Fix also other places where this same trap could happen (depending on compiler and surrounding code). The trap happened when the ARM GCC generated a SIMD instruction (specifically VLDR) to load 32 bits in a single instruction, and when the memory address was not aligned to 32 bits. VLDR traps if the address is not aligned. GCC generated the instruction because of the cast to uint32 from the address. The fix is to allocate a uint32 variable in stack and use memcpy to copy the data to that variable. This way we ensure that appropriate instructions are generated. **Links** About the issue with GCC: https://trust-in-soft.com/blog/2020/04/06/gcc-always-assumes-aligned-pointer-accesses/ How Linux does it: https://elixir.bootlin.com/linux/v5.10.155/source/include/linux/unaligned/memmove.h#L13 ARM documentation: https://documentation-service.arm.com/static/5f8dc043f86e16515cdbbc92?token= See 'A3.2.1 Unaligned data access'
* Fix segmentation fault on ARMv7Matias Larsson2022-11-291-2/+2
|
* Use Fedora rawhide container imagePeng Wu2022-11-181-1/+4
|
* Bump version 2.7.922.7.92Peng Wu2022-10-191-1/+1
|
* Update NEWSPeng Wu2022-10-191-0/+3
|
* Update pinyin.h for compatibilityPeng Wu2022-10-191-0/+5
|
* Update configure.ac2.7.91Peng Wu2022-10-131-1/+1
|
* Update NEWSPeng Wu2022-10-121-0/+4
|
* Update pinyin_choose_candidate functionPeng Wu2022-09-261-3/+24
|
* Improve pinyin_guess_predicted_candidates functionPeng Wu2022-09-261-2/+8
|
* Update pinyin_choose_candidate functionPeng Wu2022-09-231-1/+16
|
* Bump version 2.7.91Peng Wu2022-09-231-2/+2
|
* Refactor sort_option_t enumPeng Wu2022-09-223-33/+46
|
* Support longer candidatePeng Wu2022-09-213-3/+86
|
* Write search_suggestion_with_matrix functionPeng Wu2022-09-143-0/+104
|
* Write FacadeChewingTable2::search_suggestion methodPeng Wu2022-09-091-0/+26
|
* Write ChewingLargeTable2::search_suggesion method for Kyoto CabinetPeng Wu2022-09-083-1/+167
|
* Write ChewingLargeTable2::search_suggesion method for Berkeley DBPeng Wu2022-09-072-0/+164
|
* Write ChewingTableEntry::search_suggestion methodPeng Wu2022-09-022-4/+82
|
* Fix Kyoto Cabinet usagePeng Wu2022-08-303-4/+9
|
* Fix pinyin.cppPeng Wu2022-08-292-31/+36
|
* Support prefix candidatePeng Wu2022-08-262-15/+81
|
* Write FacadePhraseTable3::search_suggestion methodPeng Wu2022-08-251-0/+25
|
* Fix a typoPeng Wu2022-08-251-1/+1
|
* Write search_suggestion methodPeng Wu2022-07-265-5/+119
|
* Write compare_phrase functionPeng Wu2022-07-192-0/+76
|
* Use abort function instead of assert macroPeng Wu2022-06-0623-67/+67
|
* Use check_result macro in tests directoryPeng Wu2022-06-067-34/+34
|
* Use check_result macro in utils directoryPeng Wu2022-06-0215-119/+120
|
* Use check_result macro in src directoryPeng Wu2022-06-0116-73/+80
|
* Update Makefile.amPeng Wu2022-05-301-0/+1
|
* Write pinyin_utils.hPeng Wu2022-05-301-0/+32
|
* Update make-check.ymlPeng Wu2022-05-071-2/+2
|
* Bump version 2.6.22.6.2Peng Wu2022-04-131-1/+1
|
* Update NEWSPeng Wu2022-04-131-0/+3
|
* Switch from GrassDB to ProtoTreeDBPeng Wu2022-03-302-4/+4
|
* Create make-check.ymlPeng Wu2021-12-101-0/+27
|
* Update tests/Makefile.amPeng Wu2021-12-101-4/+4
|
* Fix libzhuyin linkage when using LLVM linkerCaleb Xu2021-09-181-1/+1
|
* Update special_table.h2.6.1Peng Wu2021-09-151-0/+1
|