1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-12-23 09:36:31 -05:00
Commit Graph

504 Commits

Author SHA1 Message Date
06b0d3f00d Switch back from termio to posix for Cygwin to be better aligned with Linux. 2015-10-01 07:26:15 +08:00
d3b02af275 Missing random.c from commit 198980b, review of newmlargt interface. 2015-09-29 15:06:08 +08:00
f13ae3957c Replace mlreply by newmlarg in eval, allowing user variable length to exceed 255 bytes. 2015-09-29 11:43:30 +08:00
7f5f0dd7b3 Introduce newmlarg as alternative to mlreply.
Rewrite gotoline accordingly.
2015-09-29 10:43:19 +08:00
198980b81f Review newmlargt interface and obsolete mlreplyt. 2015-09-29 10:25:36 +08:00
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
3ffa8967ef Align implementation of overwrite-string with insert-string. 2015-09-28 13:37:22 +08:00
cbbd860bdc Rework insert-string for dynamic token input. 2015-09-27 22:13:20 +08:00
cfa5c7fb65 Review getnewtoken, introduce getnewtokval and rewrite function evaluation accordingly. 2015-09-27 21:11:51 +08:00
b5eb424ad0 Introduce newtoken()/getnewtoken() for full length extraction of tokens. 2015-09-27 19:19:55 +08:00
2c9cbbfb1e write-message buffer adjust to full width of the terminal. 2015-09-18 17:55:35 +08:00
e0550db4d1 $line returns a full copy of the current line instead of truncated at NSTRING. 2015-09-18 17:53:58 +08:00
c3f4666ff3 Review usage of mlreply/ macarg/ gettokval according to execution context. 2015-09-01 11:29:08 +08:00
8d412dc388 Review file scope of functions dealing with token extraction and token evaluation. 2015-08-25 16:34:15 +08:00
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
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
6b3061cedb '#' as an alternative to ';' to start a comment. 2015-08-19 15:43:50 +08:00
02d12c5d84 Allow -x cmdfile as an alternative to @cmdfile options. 2015-08-19 15:42:16 +08:00
84bf4de212 Review function name table search in eval.c:gtfun. 2015-07-24 10:21:37 +08:00
c10b525fb5 Clarify code intent of emergencyexit(). 2015-07-17 10:48:17 +08:00
2522a858c1 Fix CID#39937 Copy into fixed size buffer. 2015-07-17 10:44:35 +08:00
dfc9a50fcf Fix CID#39903 Unchecked return value. 2015-07-17 10:01:17 +08:00
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
26f0f2eb8b Offer va_list version of mlwrite. 2015-06-12 17:05:43 +08:00
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
90c170e200 FIX: 'insert-string &add -1 -2147483647' was '-./,),(-*,(' instead of '-2147483648'. 2015-06-06 08:25:44 +08:00
4a0759fa89 Rename parameter to avoid OpenHub line counter misinterpretation as C++. 2015-05-27 16:43:33 +08:00
783ad9c2f0 Add Coverity badge to README. 2015-05-08 17:10:34 +08:00
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
6dfc2f057e Add 2 as a valid value of tab length. {2, 4, 8} 2015-05-05 19:42:53 +08:00
42d4a6be70 sizes reported by list-buffers are aligned with size reported by buffer-position. 2015-05-05 19:34:12 +08:00
0dc28967b5 Update project description. 2015-05-05 12:19:13 +08:00
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
267c218b9b Only display program name and version on the bottom mode line. 2015-04-19 11:59:31 +08:00
4ac1913cd1 CID 39934: Fix potential buffer overflow. 2015-04-13 18:26:06 +08:00
e3b6d1e076 Fix potential overflow during file look-up. 2015-03-26 15:56:33 +08:00
8597e3adcd Prefix number argument to execute-command-line is used as iteration count. 2015-03-26 11:04:36 +08:00
247fcfdfb8 Merge common code for setting prompt of search and incremental search. 2015-03-26 10:15:50 +08:00
ac267617ae Review potential buffer overflow when prompting for (incremental-)search pattern. 2015-03-25 15:15:43 +08:00
cfed6fdddf Extra allocation check during initialisation. 2015-03-24 17:49:12 +08:00
5a900d59e6 Fix CID 39917 Dereference null return value. 2015-03-24 11:59:10 +08:00
e34c15741e Fix CID 39919 Insecure temporary file. 2015-03-24 11:58:04 +08:00
4042ebe3d1 Fix CID 39916: potential dereference of Null pointer. 2015-03-24 11:57:10 +08:00
f8eb3531a4 Fix potential buffer overflow and align failure message display method on exit. 2015-03-23 19:12:38 +08:00
66649313ae Insure file descriptor is properly closed when doing filename completion. 2015-03-22 22:02:16 +08:00
8502fb66c6 Use binary search to locate function in sorted function name list. 2015-03-20 15:07:47 +08:00
70a5812928 Review function table format. 2015-03-19 22:37:41 +08:00
d57257d653 FIX: User variable names first 10 characters are now significant.
Also CID 39927 Unbounded source buffer, 39933 Copy into fixed size buffer.
2015-03-19 20:52:55 +08:00
7f7cc5b6fd Fix CID 39905, 39906, 39907: Operands don't affect result. 2015-03-19 14:29:24 +08:00
9b40894342 Fix CID 39908: Dead code. 2015-03-19 14:27:58 +08:00