Commit Graph

2444 Commits

Author SHA1 Message Date
Dianne Skoll 9500a929ea Fix indentation. 2024-12-10 11:00:13 -05:00
Dianne Skoll 585d45e4a1 Completely remove support for compile-time localization.
All localization is now done at run-time.
2024-12-10 10:58:09 -05:00
Dianne Skoll 67d1d1366d Add error message translations. 2024-12-10 10:39:13 -05:00
Dianne Skoll f4018892e8 Be pickier about syntax. 2024-12-10 10:25:38 -05:00
Dianne Skoll ffd309f89d Add missing translations. 2024-12-09 23:28:10 -05:00
Dianne Skoll 286babc1bf Avoid memory leak. 2024-12-09 23:23:39 -05:00
Dianne Skoll cc3c0040e9 Fix comment.
Remind unit tests / tests (push) Successful in 28s
2024-12-09 23:21:53 -05:00
Dianne Skoll b33a1ee98b Better error message if we hit EOLN after TRANSLATE. 2024-12-09 23:19:48 -05:00
Dianne Skoll 99706741bb Translate error messages in pl.rem 2024-12-09 23:04:52 -05:00
Dianne Skoll df73a74503 Better colors (for me, at any rate...)
Remind unit tests / tests (push) Successful in 34s
2024-12-09 21:11:01 -05:00
Dianne Skoll c747ebebb4 Don't escape high chars. :) 2024-12-09 20:55:26 -05:00
Dianne Skoll 6b412062c2 Dump translation table in a way that it can be re-ingested. 2024-12-09 20:53:44 -05:00
Dianne Skoll 27b688f82c Highlight strings first. 2024-12-09 20:46:44 -05:00
Dianne Skoll 4c314ff81c Add --print-errs and localize error messages in lang/fr.rem. 2024-12-09 20:40:41 -05:00
Dianne Skoll d2955ec733 Fix solstice translation. 2024-12-09 20:15:37 -05:00
Dianne Skoll 480216db9e Update test file 2024-12-09 20:08:46 -05:00
Dianne Skoll 9dbb0de7e6 Fix bug in ParseQuotedString 2024-12-09 20:07:29 -05:00
Dianne Skoll 9f9ae77895 Bound-check GetErr 2024-12-09 20:03:15 -05:00
Dianne Skoll d9796e72e5 Allow error messages to be localized. 2024-12-09 19:55:23 -05:00
Dianne Skoll e0b0d043c6 Add release notes 05.02.00-BETA-1 2024-12-09 19:09:37 -05:00
Dianne Skoll fe4499ab72 Make comparison function also useful for ordering. 2024-12-09 18:39:49 -05:00
Dianne Skoll e50d583659 Use case-sensitive hashing for dedup and translation hash tables. 2024-12-09 18:36:53 -05:00
Dianne Skoll 6b05d772f0 Exit if we run out of memory initializing hash tables. There's no sane way to recover. 2024-12-09 18:10:03 -05:00
Dianne Skoll 84dd73f023 Note connection between translation-related special variables and translation table. 2024-12-09 18:06:21 -05:00
Dianne Skoll 00dca8b70f Bump version to 05.02.00. 2024-12-09 17:59:40 -05:00
Dianne Skoll c4bc145cd9 Document the translation table. 2024-12-09 17:56:52 -05:00
Dianne Skoll bd614c1cde Make only one call to malloc() per XlateItem. 2024-12-09 17:07:58 -05:00
Dianne Skoll 1446ac0552 Make the output of "make test" considerably less verbose.
Remind unit tests / tests (push) Successful in 33s
2024-12-09 14:33:02 -05:00
Dianne Skoll 26ded447ab Fix some translations. 2024-12-09 14:24:14 -05:00
Dianne Skoll a4ccb0738e Make Chinese New Year file translatable. 2024-12-09 14:20:27 -05:00
Dianne Skoll 27a1b449bd Add new keywords and built-in function. 2024-12-09 14:14:29 -05:00
Dianne Skoll 1443282859 Add a whack more torture tests. 2024-12-09 14:09:40 -05:00
Dianne Skoll 4a2d707654 Properly handle deleting everything out of a hash table. 2024-12-09 13:59:41 -05:00
Dianne Skoll fd2a61928c Fix NL translation. 2024-12-09 13:32:21 -05:00
Dianne Skoll a05d9eefc9 Make "SET $foo" also add a translation table entry if $foo is a dynamic translation variable. 2024-12-09 13:29:05 -05:00
Dianne Skoll 6f230e81bd Add translations for moon phases and seasons. 2024-12-09 13:05:34 -05:00
Dianne Skoll 973019c4c7 Implement TRANSLATE keyword. 2024-12-09 12:56:40 -05:00
Dianne Skoll cb712ad7e7 Replace the individual hash table implementations with a unified one. 2024-12-09 11:54:52 -05:00
Dianne Skoll be7c67b6fd Add ParseQuotedString function for eventually implementing TRANSLATE directive. 2024-12-08 11:54:49 -05:00
Dianne Skoll a933c8bc69 Document that we don't read subdirectories when expanding *.rem.
Remind unit tests / tests (push) Successful in 31s
2024-12-06 20:21:09 -05:00
Dianne Skoll 087fbfd8e6 If a path returned by glob is a directory, ignore it. 2024-12-06 20:18:45 -05:00
Dianne Skoll ff641d7990 Refuse to open directories. 2024-12-06 20:09:30 -05:00
Dianne Skoll 54e788b765 Make the sun functions return E_SWERR if BASE != 1990.
Remind unit tests / tests (push) Successful in 44s
2024-12-04 13:12:40 -05:00
Dianne Skoll 4283feff31 Change #error to #warning so cppcheck can analyze funcs.c 2024-12-04 13:10:03 -05:00
Dianne Skoll 062a84b758 Simplify HAS_DATE and HAS_TIME macros by making type values into bitmasks.
Remind unit tests / tests (push) Successful in 34s
2024-12-02 09:50:33 -05:00
Dianne Skoll d161a8ff1a Actually allow up to 9 levels of INCLUDE nesting.
Remind unit tests / tests (push) Successful in 42s
2024-11-30 23:03:09 -05:00
Dianne Skoll 0df4a79531 Use memcpy to copy omit contexts. 2024-11-30 22:42:40 -05:00
Dianne Skoll 1b26e39e2f Update holidays as per recent commits to the Python library.
Remind unit tests / tests (push) Successful in 25s
2024-11-24 21:44:30 -05:00
Dianne Skoll c63c4cf07e Make token name const. 2024-11-19 22:59:47 -05:00
Dianne Skoll 586b3565f0 Sort token types. 2024-11-19 22:58:19 -05:00