Commit Graph

660 Commits

Author SHA1 Message Date
Renaud 7e71cf52a3 Review cursor move commands in basic. 2016-05-22 22:22:39 +08:00
Renaud 14e6240b9c Transpose-characters valid with mixed UTF-8 and extended ASCII. 2016-05-21 07:52:19 +08:00
Renaud f11dea468f Insure transpose-characters works with UTF8. 2016-05-20 20:42:37 +08:00
Renaud 92078e5595 Check consistency of forwchar/backchar calls.
Review entab dot movement.
2016-05-20 19:46:54 +08:00
Renaud 2b21a98e9c Review forwchar and backchar. 2016-05-19 21:27:26 +08:00
Renaud d4b2a4c1aa Review ldelchar and ldelete. 2016-05-19 14:02:43 +08:00
Renaud a7c34c747d cppcheck: The scope of the variable 'bp' can be reduced. 2016-05-19 11:26:07 +08:00
Renaud ef7207b421 cppcheck: Variable 'startflag' was assigned a value that is never used. 2016-05-19 11:20:21 +08:00
Renaud 1b2307e056 Partial fix of issues when using unicode sequence with describe-key, search-forward, query-replace-string. 2016-04-09 11:46:40 +08:00
Renaud f83ab08609 Review formatted string printing when '%' is at end of string.
Clean up unused IO return code.
2016-04-05 11:33:38 +08:00
Renaud 16e6f87ad5 Review windows update when reading or writing buffers to file. 2016-04-01 13:25:05 +08:00
Renaud af23c6b3b5 Fix previous commit break: Handle case of non override of locked file in Linux. 2016-03-30 20:14:19 +08:00
Renaud ac3c2aa6dd Review file read and write into buffers. 2016-03-30 17:44:46 +08:00
Renaud 06eba37779 Include stddef on Linux for offsetof macro definition. 2016-03-25 19:27:09 +08:00
Renaud 135866231d Rework line allocation. 2016-03-25 14:56:34 +08:00
Renaud 3e2d73394a Review buffer list related functions. 2016-03-24 21:53:36 +08:00
Renaud 9669fea1ce Review buffer list and mode line printing.
Increase version number as two buffer modes have been removed (Spell and Crypt).
2016-03-24 15:25:48 +08:00
Renaud 645a0d734b Remove encryption as implementation is too weak. 2016-03-23 21:11:05 +08:00
Renaud 8c968322f6 Remove Spell buffer mode as it is not connected to any implemented functionality. 2016-03-23 20:25:16 +08:00
Renaud 3af4ee19a2 Adjust maximum file length in pklock. 2016-03-19 14:36:27 +08:00
Renaud a0ea6d07e6 Increase maximum file name length to 255 (Windows & Linux). 2016-03-19 11:37:54 +08:00
Renaud 187b0ce4a3 Review echo of input on message line. 2016-03-12 12:58:05 +08:00
Renaud 910e6576b5 Update Makefile after make depend.
Suppress warning when reaching end of main on Linux.
2016-03-03 21:17:23 +08:00
Renaud f781d458aa Review universal arg command and Alt-# processing in kbd_loop. 2016-03-03 21:15:45 +08:00
Renaud 7188773d13 Move command loop from main to kbd_loop in execute. 2016-03-02 21:37:43 +08:00
Renaud 5c6aac1ae9 Review execute keystroke handling logic. 2016-03-02 19:17:31 +08:00
Renaud ee667b25ed Move insbrace and fmatch to execute.
Review execute.
2016-03-01 19:17:39 +08:00
Renaud 14ef4f50ab Review insbrace, getfence and fmatch.
Adjust timing to pause when highlighting matching brace.
$tpause <= 0 disable matching brace highlight.
2016-02-29 21:23:43 +08:00
Renaud 663fc2e554 Fix: In C-mode, auto-indent increment was not correct when matching opening brace is first character of buffer. 2016-02-29 19:02:09 +08:00
Renaud 775b16c7b1 Rewrite cinsert to avoid buffer size constraint when doing indentation in C mode. 2016-02-25 21:50:04 +08:00
Renaud a42c60045d Improve consistency of tab insertion behaviour while indenting and brace matching. 2016-02-25 17:08:27 +08:00
Renaud 998559464b In C mode, insure indentation is correct when inserting newline at end of white lines. 2016-02-24 22:18:37 +08:00
Renaud 15e5796426 In C mode, insertion of pound # can take a count as argument. 2016-02-24 21:43:11 +08:00
Renaud 3436443807 Introduce boolean $hardtab to control insertion of hardcoded tab or soft ones (spaces). Review insert_tab accordingly. 2016-02-24 21:17:45 +08:00
Renaud 8dfa92ba44 Review inspound, '#' insertion in C mode. 2016-02-24 20:00:44 +08:00
Renaud c390cf2a3e Remove tab width constraints, was [2, 4, 8], now [1... 2016-02-24 13:22:54 +08:00
Renaud 3e27fcf19e Fix: handle tab size other than 8 in overwrite mode. 2016-02-23 22:00:05 +08:00
Renaud 893658b3ef Fix issue #5 by rolling back commit 06b0d3f. This insure compatibility with both CYGWIN and XTERM terminals under Cygwin. 2016-02-12 13:11:50 +08:00
Renaud c378a80204 Recompile with -pedantic. 2015-11-25 10:42:33 +08:00
Renaud e3d7efda7f Add CRYPT mode to buffer when doing a set-encryption-key on a buffer where the mode is not set yet. 2015-11-06 11:33:05 +08:00
Renaud 8aeb526a2a Clean up abs usage versus implementation.
Clarify ernd() behaviour.
2015-10-27 12:51:40 +08:00
Renaud 83b4028c95 Avoid 176719 periodicity of &rnd 0. 2015-10-22 16:57:56 +08:00
Renaud 9b1c5f48a2 Consistent use of upmode() to update all mode lines. 2015-10-22 15:26:07 +08:00
Renaud c1ebad4808 Always re-write entire line if reversed. This avoid minor redraw error with apropos.
Remove DEC Rainbow 100 specific code.
2015-10-22 10:10:39 +08:00
Renaud e5e2ca0636 Fix CID114556: Copy into fixed size buffer. 2015-10-05 17:44:05 +08:00
Renaud 4feb70b484 Fix CID114555: Unchecked return value. 2015-10-05 17:42:57 +08:00
Renaud fa96d9e63e Merge branch 'execute' 2015-10-05 14:22:39 +08:00
Renaud 4918da601c Increase version number before merge to master branch. 2015-10-05 14:20:15 +08:00
Renaud 45f138ac07 Remove mlreply after transition to replacement newmlarg. 2015-10-05 14:15:24 +08:00
Renaud 15453a9d52 Spawn commands based on newmlarg (replacement of mlreply). 2015-10-05 14:06:53 +08:00