Commit Graph

284 Commits

Author SHA1 Message Date
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
Renaud b07c1c0acd Recompile with CRYPT turned off. 2014-12-22 17:39:06 +08:00
Renaud 526c1e3baa Review global literals for mode names and color names. 2014-12-22 17:38:58 +08:00
Renaud 63e2f82211 Move global variable to module scope (display, exec, input). 2014-12-22 17:38:48 +08:00
Renaud 897c50013e Fix crash when "insert-string $HOME", missing length check when copying environment variables. 2014-12-22 17:38:07 +08:00
Renaud d0a5516da6 Move global string literal to eval. 2014-12-22 17:37:57 +08:00
Renaud 2a34d732c5 Move global variables to module scope, public of search and private of word. 2014-12-22 17:37:47 +08:00
Renaud 097de3bcdf Recompile under Cygwin64. Move color names as private to random. 2014-12-22 17:37:37 +08:00
Renaud 422bfa0288 Recompile on Linux. 2014-12-22 17:37:28 +08:00
Renaud 62e887547b Move global search pattern variables to public search scope. 2014-12-22 17:37:17 +08:00
Renaud e2035f0d92 Move global variables to public input scope. 2014-12-22 17:37:06 +08:00
Renaud 6f81579213 Move global variable to private scope. 2014-12-22 17:36:53 +08:00
Renaud 4e7a07405d Review scope of some global variables. 2014-12-22 17:36:44 +08:00
Renaud 015771e7a5 Move search and flag related defines out of estruct. 2014-12-22 17:36:33 +08:00
Renaud 9780b4ce16 Extract Struct terminal from estruct to terminal.h implemented by tcap. 2014-12-22 17:36:24 +08:00
Renaud e97f234607 AEDIT code activation moved from estruct to random.h. 2014-12-22 17:36:14 +08:00
Renaud 1f7826d3a8 Move paragraph related function from basic.c to word.c. 2014-12-22 17:36:06 +08:00
Renaud 9ec9176c81 Centralize kill buffer code in line.c 2014-12-22 17:35:58 +08:00
Renaud 1de3e139bb Move APROP and Token type out of estruct. 2014-12-22 17:35:50 +08:00
Renaud 58642eb97f Move variable related definition from estruct to eval, and ISRCH related ones to isearch. 2014-12-22 17:35:41 +08:00
Renaud 01d108d56d Move struct while and related defines from estruct to exec. Review exec.h. 2014-12-22 17:35:32 +08:00
Renaud 33713eb3bf Add lost comment in search.h (improve on previous commit). 2014-12-22 17:35:22 +08:00
Renaud f99fe6fe54 Move magic related definitions from estruct.h to search.c. Review search.h accordingly. 2014-12-22 17:35:13 +08:00
Renaud 870989f948 Move struct region from estruct.t to regiom.h. 2014-12-22 17:35:04 +08:00
Renaud 7b079662e4 Remove line.h from estruct.h. 2014-12-22 17:34:55 +08:00