Commit Graph
12 Commits
Author SHA1 Message Date
Yury Popov 09cdf8ce66 Add public API to seed PRNG 2022-11-15 09:59:06 +03:00
Yury Popov 1e279d3cb8 Add PRNG and use it instead of rand() 2022-11-15 09:58:29 +03:00
Juho Hiltunen d47d2d0a40 cleanup: remove duplicate StringToWord()
Found with pmd-cpd static analysis
2022-10-30 10:12:11 +02:00
Juho Hiltunen 77df00ad79 cleanup: fix cppcheck unreadVariable code smell in common.c 2022-10-23 17:32:41 +03:00
Juho Hiltunen 80a632ed26 cleanup: reduce variable scopes in common.c
Contributes to #9.
2022-10-23 17:32:41 +03:00
Juho Hiltunen 4a9f0e21be code cleanup: move Is*() helper functions to common.c 2022-09-17 18:57:20 +03:00
Juho Hiltunen c5db9220bf code cleanup: move Read4Bytes() 2022-09-17 17:41:43 +03:00
Juho Hiltunen 14ede3e372 code cleanup: move is_str_totally_null() 2022-09-17 17:28:52 +03:00
Juho Hiltunen 64f12fec87 code cleanup: move towlower2() 2022-09-17 17:22:01 +03:00
Juho Hiltunen ac3b9f6199 code cleanup: move utf8_* functions.
utf8_nbytes() is only used in dictionary.c. Others are moved to common.c
2022-09-17 11:24:59 +03:00
Juho Hiltunen b52d1f3afd code cleanup: move strncpy0 to common.c 2022-09-04 07:12:39 +03:00
Juho Hiltunen c4d8976fbc code cleanup: Add new source file common.h for misc functions. 2022-09-03 21:19:37 +03:00