Commit Graph

660 Commits

Author SHA1 Message Date
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
Renaud 51967939b8 Harmonize usage of mlreply, mlreplyt and nextarg based on actual needs (input always terminated either on meta or newline characters). 2015-08-25 09:17:41 +08:00
Renaud 1ab601071e In order to support # as comment indicator, buffer content prefix is changed to '='. #buffername becomes =buffername. 2015-08-19 15:46:40 +08:00
Renaud 6b3061cedb '#' as an alternative to ';' to start a comment. 2015-08-19 15:43:50 +08:00
Renaud 02d12c5d84 Allow -x cmdfile as an alternative to @cmdfile options. 2015-08-19 15:42:16 +08:00
Renaud 84bf4de212 Review function name table search in eval.c:gtfun. 2015-07-24 10:21:37 +08:00
Renaud c10b525fb5 Clarify code intent of emergencyexit(). 2015-07-17 10:48:17 +08:00
Renaud 2522a858c1 Fix CID#39937 Copy into fixed size buffer. 2015-07-17 10:44:35 +08:00
Renaud dfc9a50fcf Fix CID#39903 Unchecked return value. 2015-07-17 10:01:17 +08:00
Renaud 4d19ef668a Literals starting with '-' were interpreted as command token instead of literal token, "-3 set %i" failed as -3 was tried as command instead of an argument to set. 2015-06-12 21:06:18 +08:00
Renaud 26f0f2eb8b Offer va_list version of mlwrite. 2015-06-12 17:05:43 +08:00
Renaud 405d8683dc Tabs are rendered as spaces on message line. This fixes debug info when $debug is TRUE. 2015-06-12 13:42:23 +08:00
Renaud 90c170e200 FIX: 'insert-string &add -1 -2147483647' was '-./,),(-*,(' instead of '-2147483648'. 2015-06-06 08:25:44 +08:00
Renaud 4a0759fa89 Rename parameter to avoid OpenHub line counter misinterpretation as C++. 2015-05-27 16:43:33 +08:00
Renaud 783ad9c2f0 Add Coverity badge to README. 2015-05-08 17:10:34 +08:00
Renaud 1adae6bead Fix: list-buffers sizes reported wrong sizes as it used curbp to access EOL flags in buffer mode. 2015-05-06 09:11:23 +08:00
Renaud 6dfc2f057e Add 2 as a valid value of tab length. {2, 4, 8} 2015-05-05 19:42:53 +08:00
Renaud 42d4a6be70 sizes reported by list-buffers are aligned with size reported by buffer-position. 2015-05-05 19:34:12 +08:00
Renaud 0dc28967b5 Update project description. 2015-05-05 12:19:13 +08:00
Renaud af919c3f9c ^X= buffer-position displays EOL character as \r for DOS. Number of characters in file is also reported correctly. 2015-05-05 12:17:56 +08:00
Renaud 267c218b9b Only display program name and version on the bottom mode line. 2015-04-19 11:59:31 +08:00
Renaud 4ac1913cd1 CID 39934: Fix potential buffer overflow. 2015-04-13 18:26:06 +08:00
Renaud e3b6d1e076 Fix potential overflow during file look-up. 2015-03-26 15:56:33 +08:00
Renaud 8597e3adcd Prefix number argument to execute-command-line is used as iteration count. 2015-03-26 11:04:36 +08:00
Renaud 247fcfdfb8 Merge common code for setting prompt of search and incremental search. 2015-03-26 10:15:50 +08:00
Renaud ac267617ae Review potential buffer overflow when prompting for (incremental-)search pattern. 2015-03-25 15:15:43 +08:00
Renaud cfed6fdddf Extra allocation check during initialisation. 2015-03-24 17:49:12 +08:00
Renaud 5a900d59e6 Fix CID 39917 Dereference null return value. 2015-03-24 11:59:10 +08:00
Renaud e34c15741e Fix CID 39919 Insecure temporary file. 2015-03-24 11:58:04 +08:00
Renaud 4042ebe3d1 Fix CID 39916: potential dereference of Null pointer. 2015-03-24 11:57:10 +08:00
Renaud f8eb3531a4 Fix potential buffer overflow and align failure message display method on exit. 2015-03-23 19:12:38 +08:00