1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-11-14 08:36:05 -05:00
Commit Graph

59 Commits

Author SHA1 Message Date
bcba236265 Exec commands based on newmlarg (replacement of mlreply). 2015-10-05 13:27:45 +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
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
6b3061cedb '#' as an alternative to ';' to start a comment. 2015-08-19 15:43:50 +08:00
26f0f2eb8b Offer va_list version of mlwrite. 2015-06-12 17:05:43 +08:00
8597e3adcd Prefix number argument to execute-command-line is used as iteration count. 2015-03-26 11:04:36 +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
8de64f81be Use strncpy instead of strcpy. (CID 39928 eval, 39931 file, 39932 exec, 39938 bind). 2015-03-19 12:42:47 +08:00
bc90c36603 Use temporary buffer in nextarg to avoid issue with strncpy under Linux. 2015-01-26 20:05:02 +08:00
f60e3fbc9f Review startup and associated prototypes. 2015-01-16 21:12:27 +08:00
e3c8805260 Unify macro debugging code in eval and exec. 2015-01-15 14:36:19 +08:00
259de639e4 Limit scope of cbuf to exec. 2015-01-14 17:16:33 +08:00
84919039a5 Hide details of token extraction inside exec. 2015-01-13 16:42:14 +08:00
f8c405f501 Limit visibility of token types to eval. 2015-01-09 17:53:29 +08:00
b596a3a09c macarg takes buffer length as parameter instead of assuming all buffer have NSTRING size. 2015-01-08 12:46:46 +08:00
20d21435e0 Rebuild on Linux.
Remove warnings on system and write call without return code check.
2015-01-02 14:20:07 +08:00
3be85dec65 Recompile under MinGW32 with base framework for implementing kbd/screen (mingw32 + wscreen). 2014-12-22 20:58:10 +08:00
45981e8793 Limit the scope of docmd. 2014-12-22 20:58:01 +08:00
3197080cb1 Introduce spat_t as search pattern type and reduce need for NPAT as pattern length constant. 2014-12-22 20:57:26 +08:00
fc79c8e013 Introduce bname_t type and reduce need of NBUFN buffer name length constant. 2014-12-22 20:56:40 +08:00
2fe2d9c153 Finish move of globals into input and random.
Remove globals.
2014-12-22 17:43:53 +08:00
0fdefdba7c Move clexec from globals to exec. 2014-12-22 17:42:42 +08:00
80256bdd6d Remove edef.h, obsoleted by globals.h. 2014-12-22 17:41:40 +08:00
dc3e8984ab Move standard includes of stdlib and string from edef.h. 2014-12-22 17:41:07 +08:00
83e10e36d5 Move execstr from globals to exec. 2014-12-22 17:40:20 +08:00
4da4c2f4de Avoid warning when turning DEBUGM off. 2014-12-22 17:39:45 +08:00
df349fa061 Recompile under CYGWIN64.
Move DEBUGM code to eval and exec.
2014-12-22 17:39:35 +08:00
63e2f82211 Move global variable to module scope (display, exec, input). 2014-12-22 17:38:48 +08:00
897c50013e Fix crash when "insert-string $HOME", missing length check when copying environment variables. 2014-12-22 17:38:07 +08:00
4e7a07405d Review scope of some global variables. 2014-12-22 17:36:44 +08:00
01d108d56d Move struct while and related defines from estruct to exec. Review exec.h. 2014-12-22 17:35:32 +08:00
87cd40ce6a Extract struct buffer and struct window from estruct.h. 2014-12-22 16:11:13 +08:00
f5c715debd Review prototypes of prompting functions. 2014-12-22 16:10:35 +08:00
5bbc6104ae Move flook and fexist to flook tosimplify dependency graph. 2014-12-22 16:06:50 +08:00
5ee997b695 reduce visibility of directive name variable (dname[]). 2014-12-22 15:48:00 +08:00
b321dce49e Remove efunc as dependencies. 2014-12-22 15:06:48 +08:00
9c2c4b7635 Remove display from efunc. 2014-12-22 15:06:08 +08:00
539f327271 Remove input from efunc. 2014-12-22 15:05:57 +08:00
77c9fd09ad Remove eval from efunc. 2014-12-22 15:05:48 +08:00
a61307aa59 Remove buffer from efunc. 2014-12-22 15:05:39 +08:00
b971f265fc Remove bind from efunc. 2014-12-22 15:04:46 +08:00
ba277c5573 remove file from efunc. 2014-12-22 15:03:24 +08:00
9c311a1ba8 split efunc into corresponding headers. 2014-12-22 14:46:16 +08:00
Thiago Farina
af19da1a99 uemacs: Move structure line and its functions to its own header file.
Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-11-15 08:46:20 -08:00
Thiago Farina
6491f4c4f0 uemacs: convert typedef struct WHBLOCK to struct while_block.
Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-10-30 18:09:40 -07:00
Pekka Enberg
0f05e53f99 uemacs: Fix return statements
Return statement is not a function so remove superfluous use of parenthesis.

Cc: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-08-29 08:15:23 -07:00
Thiago Farina
81a3a0be6e uemacs: convert typedef struct window_t to struct window.
Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-08-01 15:10:23 -07:00