1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-11-17 18:16:22 -05:00
Commit Graph

592 Commits

Author SHA1 Message Date
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
8de64f81be Use strncpy instead of strcpy. (CID 39928 eval, 39931 file, 39932 exec, 39938 bind). 2015-03-19 12:42:47 +08:00
eb7217f8ec Fix CID 39910: &rnd 0 return a pseudo-random number instead of triggering a zero divide crash. 2015-03-18 12:27:55 +08:00
b1cc7bfe3a Fix CID 39902: Insure that buffer is properly terminated after a strncpy. 2015-03-17 17:17:35 +08:00
911b4cd402 Insure that coverity locs number is aligned with result from lc. 2015-03-17 17:14:43 +08:00
d01649bf3a Return error if &div or &mod by 0. 2015-03-17 09:04:22 +08:00
f97746a87b CID 39914: Fallthrough in switch was altering value of $gflags when assigning to $line. 2015-03-16 13:47:03 +08:00
5f9de6bb89 CID 39925: Missing size check on buffer name when creating a new buffer. 2015-03-16 13:24:08 +08:00
d56b3af45a CID 39909, 39912, 39918, 39920, 39922. 2015-03-16 11:17:28 +08:00
87350f4c16 Review getgoal code. 2015-03-16 10:46:51 +08:00
80cbd37f5c Add extra warning check and fix signed to unsigned comparison issues. 2015-02-28 20:29:00 +08:00
e8bb7b1ea2 Review apropos/buildlist/strinc.
Potential sign extension issue while converting key description to keycode.
2015-02-22 16:22:48 +08:00
61f5fe7e2d Fix off by one buffer access.
Minor variable scope review.
2015-02-22 14:58:25 +08:00