TODO.done (2249B)
1 Done todos 2 ========== 3 4 [x] Investigate: testcase-001.po 5 [x] Cases where state->input_buffer == NULL when it shouldn't be 6 [x] scan-build 7 [x] Additional tests 8 - u, type, C-S; u, type, PgDn, y, type, C-S -> SEGV 9 10 [x] Investigate: statistics not updated when editing entries? 11 12 [x] Investigate: pressing C-W in the middle of the msgstr, then typing 13 14 [x] Tidy up basic logic everywhere (based on sled) 15 [x] Check cleanness against sled, function-by-function 16 [x] draw.c 17 [x] poe.c 18 [x] po.c 19 [x] util.c 20 [x] Investigate insert_char 21 [x] Revise dirty <-> dirty_before_edit and the interaction with keys 22 [x] Copy join_lines from sled's simple_join_lines 23 [x] str* -> memccpy 24 [x] Tidy up return codes and error handling 25 [x] Get rid of SAVE_* 26 [x] Introduce position_to (sled) 27 [x] Handle all TODO comments 28 [x] util.c: u32_match_msgid_ending 29 [x] Check L"" literals 30 31 [x] Document exit statuses in poe.1.in 32 33 [x] Add - to the list of whitespace characters 34 35 [x] Add -B, -b, -L, -W, -w 36 [x] --no-backup 37 [x] --backup 38 [x] --dont-break-literals 39 [x] --no-wrap 40 [x] --wrap-width 41 42 [x] More sophisticated "not PO file" detection - avoid opening "binary" 43 (relatively speaking) files 44 45 [x] Add pledge(2) and unveil(2) 46 47 [x] Switch to strlcpy, strlcat similar to sled; compare util.c and util.h to 48 versions of those files from sled 49 50 [/] Replace strn* -> strc*: like str[^n]*, but with configurable string 51 ending character (for msgstr, which has multiple lines delimited 52 with '\n') 53 54 [x] Bugfix: C-W when there was text offscreen would move pointer outside of the 55 input dialog 56 57 [x] Bugfix: obsolete msgstrs followed by non-obsolete ones 58 - msgid list handling was built entirely around the idea of obsolete 59 entries being at the end of .po file. Since I came across .po files 60 which have obsolete entries among the normal entries, this needs 61 adjusting, which has to incur a performance hit when navigating the 62 list. 63 64 [x] Add config.h options: 65 [x] Enable/disable automatic addition of dot 66 [x] Enable/disable automatic addition of Plural-Forms 67 68 [x] Automatic addition of Plural-Forms (configured as a literal in config.h) 69 70 [x] Replace "Unknown key (H for help)" with "Unknown key" where H is not 71 applicable as help character