Commit Graph

509 Commits

Author SHA1 Message Date
Renaud 3be85dec65 Recompile under MinGW32 with base framework for implementing kbd/screen (mingw32 + wscreen). 2014-12-22 20:58:10 +08:00
Renaud 45981e8793 Limit the scope of docmd. 2014-12-22 20:58:01 +08:00
Renaud cc06049046 $kill returns full copy of kill buffer. 2014-12-22 20:57:54 +08:00
Renaud 79b57c96d1 insert-string can insert strings up to 512 characters. 2014-12-22 20:57:47 +08:00
Renaud a560025c0c Fix $kill to cover at most first 127 characters of kill buffer. Was only first N % 250 (ex 25 out of 275). 2014-12-22 20:57:40 +08:00
Renaud 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
Renaud fa6edaa282 Introduce ekey_t encryption key type and remove need for NKEY length constant. 2014-12-22 20:57:18 +08:00
Renaud e2ae45e187 Insure list-buffer can report buffer size up to 99 999 999. 2014-12-22 20:57:09 +08:00
Renaud 0c423e4e04 Adjust columns according to buffer name size in list-buffers. 2014-12-22 20:57:01 +08:00
Renaud 3847f03f04 Explicit use of buffer name type in buffer name creation. 2014-12-22 20:56:49 +08:00
Renaud fc79c8e013 Introduce bname_t type and reduce need of NBUFN buffer name length constant. 2014-12-22 20:56:40 +08:00
Renaud 494210424c Introduce fname_t type and remove need of NFILEN filename length constant. 2014-12-22 20:56:32 +08:00
Renaud 5a0b64f952 Add test script to check and size limit on string variables and filenames. 2014-12-22 20:56:24 +08:00
Renaud ccbd7d7099 Remove buffer overflow by limiting argument size of search pattern. 2014-12-22 20:56:17 +08:00
Renaud 7b398855e7 Remove buffer overflow by limiting argument size of encryption key and filenames. 2014-12-22 20:56:08 +08:00
Renaud e9142541a9 Review visibility of tabsize variable and nextab() macro. 2014-12-22 20:55:56 +08:00
Renaud 6455b200c3 Recompile on CYGWIN64. 2014-12-22 17:45:32 +08:00
Renaud 5e87236c02 Review header dependencies 2014-12-22 17:45:24 +08:00
Renaud 2669f218b7 Recompile on Linux 2014-12-22 17:45:12 +08:00
Renaud 81c98138de Clean compile with RAMSIZE and RAMSHOW activated. 2014-12-22 17:45:01 +08:00
Renaud da813d2efc Partial move configuration options out of estruct.h. 2014-12-22 17:44:52 +08:00
Renaud c4becabbc2 Move globals defines from globals.c. 2014-12-22 17:44:41 +08:00
Renaud 94d21c96f3 Move globals defines out of estruct.h. 2014-12-22 17:44:31 +08:00
Renaud ba2dc0e5f8 Assign 'common' functionality to Del, Home and End keys. 2014-12-22 17:44:17 +08:00
Renaud 5ecb1a288c Remove includes of estruct.h from all headers. 2014-12-22 17:44:07 +08:00
Renaud 2fe2d9c153 Finish move of globals into input and random.
Remove globals.
2014-12-22 17:43:53 +08:00
Renaud ceac004e30 Move global curgoal to basic. 2014-12-22 17:43:11 +08:00
Renaud bd14ff374f Move globals rval and tabmask to eval and line. 2014-12-22 17:43:01 +08:00
Renaud 96ca2e8580 Move global fillcol to random. 2014-12-22 17:42:50 +08:00
Renaud 0fdefdba7c Move clexec from globals to exec. 2014-12-22 17:42:42 +08:00
Renaud f03b7c97e3 Move globals variables to related modules. 2014-12-22 17:42:27 +08:00
Renaud 867f0d9d60 Display related global flags moved to terminal/tcap. 2014-12-22 17:42:17 +08:00
Renaud f166293e73 Clean up extern's in C files. 2014-12-22 17:42:08 +08:00
Renaud 0f6ff70764 Move variables from globals to corresponding modules. 2014-12-22 17:41:59 +08:00
Renaud 8862838594 Restflag moved from globals to file. 2014-12-22 17:41:50 +08:00
Renaud 80256bdd6d Remove edef.h, obsoleted by globals.h. 2014-12-22 17:41:40 +08:00
Renaud cfd92b066c Introduce globals.h to prepare rmoval of edef.h. 2014-12-22 17:41:29 +08:00
Renaud 7573dcd226 Move edef.h out of bind.h and buffer.h out of edef.h. 2014-12-22 17:41:18 +08:00
Renaud dc3e8984ab Move standard includes of stdlib and string from edef.h. 2014-12-22 17:41:07 +08:00
Renaud bdeba62fcb Move fn_t type definition to bind.h.
Review globals.c imports.
2014-12-22 17:40:48 +08:00
Renaud d6e3df6ff3 Move global window pointers to window and global keyboard variables to input. 2014-12-22 17:40:38 +08:00
Renaud 83a0cc9d67 Move global buffer pointers and gmode to buffer. 2014-12-22 17:40:28 +08:00
Renaud 83e10e36d5 Move execstr from globals to exec. 2014-12-22 17:40:20 +08:00
Renaud 0a998c1cf9 Move gasave and gacount to execute. 2014-12-22 17:40:12 +08:00
Renaud a027973156 Move macbug, cmdstatus and saveflag to eval. 2014-12-22 17:40:02 +08:00
Renaud 31b1cc84fb Move gflags to eval. 2014-12-22 17:39:53 +08:00
Renaud 4da4c2f4de Avoid warning when turning DEBUGM off. 2014-12-22 17:39:45 +08:00
Renaud df349fa061 Recompile under CYGWIN64.
Move DEBUGM code to eval and exec.
2014-12-22 17:39:35 +08:00
Renaud a3be4fea81 Recompile on Linux; Replace stricmp by strcasecmp. 2014-12-22 17:39:25 +08:00
Renaud 1d5cbe67a4 Move global color variable with color names in random. 2014-12-22 17:39:17 +08:00