Commit Graph

490 Commits

Author SHA1 Message Date
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
Renaud bcba236265 Exec commands based on newmlarg (replacement of mlreply). 2015-10-05 13:27:45 +08:00
Renaud b59a47bb3a File commands based on newmlarg (replacement of mlreply). 2015-10-05 11:34:33 +08:00
Renaud b86ceeaf5e Buffer commands based on newmlarg (replacement of mlreply). 2015-10-01 09:11:54 +08:00
Renaud db30d6d734 Mode commands based on newmlarg (replacement of mlreply). 2015-10-01 08:19:39 +08:00
Renaud 575659b1c1 apropos based on newmlarg (replacement of mlreply). 2015-10-01 08:03:14 +08:00
Renaud 9682cdb2d2 Maps M-S to hunt-forward to match DOS Alt-S behavior. 2015-10-01 07:38:41 +08:00
Renaud 06b0d3f00d Switch back from termio to posix for Cygwin to be better aligned with Linux. 2015-10-01 07:26:15 +08:00
Renaud d3b02af275 Missing random.c from commit 198980b, review of newmlargt interface. 2015-09-29 15:06:08 +08:00
Renaud f13ae3957c Replace mlreply by newmlarg in eval, allowing user variable length to exceed 255 bytes. 2015-09-29 11:43:30 +08:00
Renaud 7f5f0dd7b3 Introduce newmlarg as alternative to mlreply.
Rewrite gotoline accordingly.
2015-09-29 10:43:19 +08:00
Renaud 198980b81f Review newmlargt interface and obsolete mlreplyt. 2015-09-29 10:25:36 +08:00
Renaud ce4d105794 Allow either dynamic or pre-defined input size from message line.
Insure to capture ABORT status when doing input from message line.
2015-09-28 17:46:00 +08:00
Renaud 3ffa8967ef Align implementation of overwrite-string with insert-string. 2015-09-28 13:37:22 +08:00
Renaud cbbd860bdc Rework insert-string for dynamic token input. 2015-09-27 22:13:20 +08:00
Renaud cfa5c7fb65 Review getnewtoken, introduce getnewtokval and rewrite function evaluation accordingly. 2015-09-27 21:11:51 +08:00
Renaud b5eb424ad0 Introduce newtoken()/getnewtoken() for full length extraction of tokens. 2015-09-27 19:19:55 +08:00
Renaud 2c9cbbfb1e write-message buffer adjust to full width of the terminal. 2015-09-18 17:55:35 +08:00
Renaud e0550db4d1 $line returns a full copy of the current line instead of truncated at NSTRING. 2015-09-18 17:53:58 +08:00
Renaud c3f4666ff3 Review usage of mlreply/ macarg/ gettokval according to execution context. 2015-09-01 11:29:08 +08:00
Renaud 8d412dc388 Review file scope of functions dealing with token extraction and token evaluation. 2015-08-25 16:34:15 +08:00