1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-12-23 17:46:23 -05:00
Commit Graph

37 Commits

Author SHA1 Message Date
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
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
Pekka Enberg
74ffb9e254 uemacs: remove use of 'register' keyword
Lets welcome uEmacs/PK to the year 2010! As expected, the patch has no effect
on the generated code:

   text	   data	    bss	    dec	    hex	filename
 106002	   8864	  18616	 133482	  2096a	em
 106002	   8864	  18616	 133482	  2096a	em.new

Cc: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-02-27 16:17:44 -08: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
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
24338ae855 Fix more compiler warnings
Better initializers, and more proper function types.
2005-10-01 00:56:15 -07:00
Linus Torvalds
d66d329986 Replace "WINDOW" type with "window_t"
Starting to try to avoid name clashes with curses and friends.
2005-10-01 00:02:32 -07:00
Linus Torvalds
d5dc3160cf Lots of ANSI'fication and cleanups
Still tons of warnings with "-Wall", but now it's actually getting closer.

It even compiles again.
2005-09-30 22:52:45 -07:00
Linus Torvalds
435dd32ae2 Run "indent -kr -i8" on the sources
Let's see how nasty it is to clean things up. For real.
2005-09-30 15:26:09 -07:00
Linus Torvalds
d7148b21fe Initial import of em-4.0.15-lt
This is a slightly updated version of uemacs-PK (PK is Pekka
Kutvonen) which was used at Helsinki University a long time
ago. My fingers cannot be retrained.
2005-05-31 08:50:56 -07:00