1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-06-20 01:15:22 +00:00
Commit Graph

45 Commits

Author SHA1 Message Date
96ca2e8580 Move global fillcol to random. 2014-12-22 17:42:50 +08:00
0fdefdba7c Move clexec from globals to exec. 2014-12-22 17:42:42 +08:00
f03b7c97e3 Move globals variables to related modules. 2014-12-22 17:42:27 +08:00
867f0d9d60 Display related global flags moved to terminal/tcap. 2014-12-22 17:42:17 +08:00
0f6ff70764 Move variables from globals to corresponding modules. 2014-12-22 17:41:59 +08:00
8862838594 Restflag moved from globals to file. 2014-12-22 17:41:50 +08:00
cfd92b066c Introduce globals.h to prepare rmoval of edef.h. 2014-12-22 17:41:29 +08:00
bdeba62fcb Move fn_t type definition to bind.h.
Review globals.c imports.
2014-12-22 17:40:48 +08:00
d6e3df6ff3 Move global window pointers to window and global keyboard variables to input. 2014-12-22 17:40:38 +08:00
83a0cc9d67 Move global buffer pointers and gmode to buffer. 2014-12-22 17:40:28 +08:00
83e10e36d5 Move execstr from globals to exec. 2014-12-22 17:40:20 +08:00
0a998c1cf9 Move gasave and gacount to execute. 2014-12-22 17:40:12 +08:00
a027973156 Move macbug, cmdstatus and saveflag to eval. 2014-12-22 17:40:02 +08:00
31b1cc84fb Move gflags to eval. 2014-12-22 17:39:53 +08:00
df349fa061 Recompile under CYGWIN64.
Move DEBUGM code to eval and exec.
2014-12-22 17:39:35 +08:00
1d5cbe67a4 Move global color variable with color names in random. 2014-12-22 17:39:17 +08:00
526c1e3baa Review global literals for mode names and color names. 2014-12-22 17:38:58 +08:00
63e2f82211 Move global variable to module scope (display, exec, input). 2014-12-22 17:38:48 +08:00
d0a5516da6 Move global string literal to eval. 2014-12-22 17:37:57 +08:00
2a34d732c5 Move global variables to module scope, public of search and private of word. 2014-12-22 17:37:47 +08:00
097de3bcdf Recompile under Cygwin64. Move color names as private to random. 2014-12-22 17:37:37 +08:00
62e887547b Move global search pattern variables to public search scope. 2014-12-22 17:37:17 +08:00
e2035f0d92 Move global variables to public input scope. 2014-12-22 17:37:06 +08:00
6f81579213 Move global variable to private scope. 2014-12-22 17:36:53 +08:00
4e7a07405d Review scope of some global variables. 2014-12-22 17:36:44 +08:00
9780b4ce16 Extract Struct terminal from estruct to terminal.h implemented by tcap. 2014-12-22 17:36:24 +08:00
9ec9176c81 Centralize kill buffer code in line.c 2014-12-22 17:35:58 +08:00
87cd40ce6a Extract struct buffer and struct window from estruct.h. 2014-12-22 16:11:13 +08:00
b6c7a2cc80 Remove default of disallowing null and option to allow it. Allow null is default and no option. 2014-12-22 16:06:23 +08:00
787189d50c Insure consistency when building with CRYPT on or off.
clarify fileio dependencies t crypt.
2014-12-22 15:50:47 +08:00
4bf4c48056 Review interface of fileio. 2014-12-22 15:49:42 +08:00
a3f3102013 DOS mode added to preserve eol termination. 2014-12-22 15:49:19 +08:00
5ee997b695 reduce visibility of directive name variable (dname[]). 2014-12-22 15:48:00 +08:00
Linus Torvalds
3c7bd9a7d2 Make kbd macro save area use 'int' instead of short
I'm starting to expand the input value from 'short' (with flags in the
upper eight bytes) to 'int' (with negative values having flags).

Small baby steps.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-07-10 17:42:19 -07:00
Thiago Farina
bf3c3ac2bd uemacs: Make some magic variables private to search.c module.
Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-12-14 11:28:55 -08:00
Thiago Farina
f28629471c uemacs: convert typedef struct RMC to struct magic_replacement.
Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-11-30 14:39:37 -08:00
Thiago Farina
ebd4f2f1eb uemacs: convert typedef struct MC to struct magic.
Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-11-28 12:29:52 -08:00
Thiago Farina
74336ca924 uemacs: Get rid of the CALLED macro.
uemacs is not a subprogram and doesn't seem it will be, so there is no reason
to leave this macro. And this macro is defined to 0, so we never reach the path
where we test for this macro.

Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-09-07 13:47:00 -07:00
Thiago Farina
1f271323f8 uemacs: convert typedef struct KILL to struct kill.
Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-08-10 15:24:33 -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
Thiago Farina
c7e30a9636 uemacs: convert typdef struct LINE to struct line.
Cc: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-04-28 07:46:47 -07:00
Thiago Farina
5ffdebdbf3 uemacs: remove typdef struct BUFFER -> struct buffer.
Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-02-15 18:33:31 -08:00
Linus Torvalds
f313bcf64a Add support for a "utf-8" mode
NOTE! MicroEmacs is very much a byte-based editor, and the new utf-8
support is purely an issue of terminal input and output.  The file
contents themselves are in the 8-bit space.  In that space, Unicode is
the same as Latin1.

The new mode is called "utf-8", and is enabled automatically by the
new emacs.rc when $LANG contains the substring "UTF-8".

I'm sure people would like to some day also edit real UTF-8 contents,
rather than just edit old 8-bit Latin1 contents in a UTF-8 terminal.
However, that's an independent (and much bigger and thornier) issue.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-02 17:47:28 -07:00
Linus Torvalds
ef92bc8cd9 Make sources mostly sparse-clean
Mainly an issue of taking care of a few remaining K&R function
declarations.
2005-10-01 01:09:22 -07:00
Linus Torvalds
8967dfc2c6 Fix ugly "definitions in header file" crud
Move various initializations into new "globals.c" file.

Also mark some variables static, and fix up some trivial compiler and
sparse warnings.
2005-10-01 00:33:44 -07:00