Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Free memory after useHEADmain | Bernhard M. Wiedemann | 2023-10-16 | 1 | -0/+1 |
| | |||||
* | Update NEWS2.8.1 | Peng Wu | 2023-01-16 | 1 | -0/+3 |
| | |||||
* | Bump version 2.8.1 | Peng Wu | 2023-01-16 | 1 | -1/+1 |
| | |||||
* | Update table.conf.in | Peng Wu | 2023-01-14 | 1 | -1/+1 |
| | |||||
* | Fix code style | Peng Wu | 2023-01-14 | 3 | -5/+3 |
| | |||||
* | Update NEWS2.8.0 | Peng Wu | 2023-01-03 | 1 | -0/+3 |
| | |||||
* | Bump version 2.8.0 | Peng Wu | 2023-01-03 | 1 | -2/+2 |
| | |||||
* | Add license header to unaligned_memory.h | Peng Wu | 2022-11-30 | 1 | -0/+20 |
| | |||||
* | Update class MemoryChunk | Peng Wu | 2022-11-29 | 1 | -8/+4 |
| | |||||
* | Fixup: fix build error | Matias Larsson | 2022-11-29 | 1 | -1/+2 |
| | | | | Add the new header file to noinst_HEADERS. | ||||
* | Fix libpinyin crash on ARMv7 | Matias Larsson | 2022-11-29 | 7 | -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 ARMv7 | Matias Larsson | 2022-11-29 | 1 | -2/+2 |
| | |||||
* | Use Fedora rawhide container image | Peng Wu | 2022-11-18 | 1 | -1/+4 |
| | |||||
* | Bump version 2.7.922.7.92 | Peng Wu | 2022-10-19 | 1 | -1/+1 |
| | |||||
* | Update NEWS | Peng Wu | 2022-10-19 | 1 | -0/+3 |
| | |||||
* | Update pinyin.h for compatibility | Peng Wu | 2022-10-19 | 1 | -0/+5 |
| | |||||
* | Update configure.ac2.7.91 | Peng Wu | 2022-10-13 | 1 | -1/+1 |
| | |||||
* | Update NEWS | Peng Wu | 2022-10-12 | 1 | -0/+4 |
| | |||||
* | Update pinyin_choose_candidate function | Peng Wu | 2022-09-26 | 1 | -3/+24 |
| | |||||
* | Improve pinyin_guess_predicted_candidates function | Peng Wu | 2022-09-26 | 1 | -2/+8 |
| | |||||
* | Update pinyin_choose_candidate function | Peng Wu | 2022-09-23 | 1 | -1/+16 |
| | |||||
* | Bump version 2.7.91 | Peng Wu | 2022-09-23 | 1 | -2/+2 |
| | |||||
* | Refactor sort_option_t enum | Peng Wu | 2022-09-22 | 3 | -33/+46 |
| | |||||
* | Support longer candidate | Peng Wu | 2022-09-21 | 3 | -3/+86 |
| | |||||
* | Write search_suggestion_with_matrix function | Peng Wu | 2022-09-14 | 3 | -0/+104 |
| | |||||
* | Write FacadeChewingTable2::search_suggestion method | Peng Wu | 2022-09-09 | 1 | -0/+26 |
| | |||||
* | Write ChewingLargeTable2::search_suggesion method for Kyoto Cabinet | Peng Wu | 2022-09-08 | 3 | -1/+167 |
| | |||||
* | Write ChewingLargeTable2::search_suggesion method for Berkeley DB | Peng Wu | 2022-09-07 | 2 | -0/+164 |
| | |||||
* | Write ChewingTableEntry::search_suggestion method | Peng Wu | 2022-09-02 | 2 | -4/+82 |
| | |||||
* | Fix Kyoto Cabinet usage | Peng Wu | 2022-08-30 | 3 | -4/+9 |
| | |||||
* | Fix pinyin.cpp | Peng Wu | 2022-08-29 | 2 | -31/+36 |
| | |||||
* | Support prefix candidate | Peng Wu | 2022-08-26 | 2 | -15/+81 |
| | |||||
* | Write FacadePhraseTable3::search_suggestion method | Peng Wu | 2022-08-25 | 1 | -0/+25 |
| | |||||
* | Fix a typo | Peng Wu | 2022-08-25 | 1 | -1/+1 |
| | |||||
* | Write search_suggestion method | Peng Wu | 2022-07-26 | 5 | -5/+119 |
| | |||||
* | Write compare_phrase function | Peng Wu | 2022-07-19 | 2 | -0/+76 |
| | |||||
* | Use abort function instead of assert macro | Peng Wu | 2022-06-06 | 23 | -67/+67 |
| | |||||
* | Use check_result macro in tests directory | Peng Wu | 2022-06-06 | 7 | -34/+34 |
| | |||||
* | Use check_result macro in utils directory | Peng Wu | 2022-06-02 | 15 | -119/+120 |
| | |||||
* | Use check_result macro in src directory | Peng Wu | 2022-06-01 | 16 | -73/+80 |
| | |||||
* | Update Makefile.am | Peng Wu | 2022-05-30 | 1 | -0/+1 |
| | |||||
* | Write pinyin_utils.h | Peng Wu | 2022-05-30 | 1 | -0/+32 |
| | |||||
* | Update make-check.yml | Peng Wu | 2022-05-07 | 1 | -2/+2 |
| | |||||
* | Bump version 2.6.22.6.2 | Peng Wu | 2022-04-13 | 1 | -1/+1 |
| | |||||
* | Update NEWS | Peng Wu | 2022-04-13 | 1 | -0/+3 |
| | |||||
* | Switch from GrassDB to ProtoTreeDB | Peng Wu | 2022-03-30 | 2 | -4/+4 |
| | |||||
* | Create make-check.yml | Peng Wu | 2021-12-10 | 1 | -0/+27 |
| | |||||
* | Update tests/Makefile.am | Peng Wu | 2021-12-10 | 1 | -4/+4 |
| | |||||
* | Fix libzhuyin linkage when using LLVM linker | Caleb Xu | 2021-09-18 | 1 | -1/+1 |
| | |||||
* | Update special_table.h2.6.1 | Peng Wu | 2021-09-15 | 1 | -0/+1 |
| |