1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-06-12 14:40:41 +00:00
Commit Graph

47 Commits

Author SHA1 Message Date
a61307aa59 Remove buffer from efunc. 2014-12-22 15:05:39 +08:00
7816f96508 Remove region from efunc. 2014-12-22 15:04:54 +08:00
b971f265fc Remove bind from efunc. 2014-12-22 15:04:46 +08:00
0b093b8228 Remove main from efunc. 2014-12-22 15:04:37 +08:00
dce5f2239c Remove window from efunc. 2014-12-22 15:04:27 +08:00
4f07526222 Remove word from efunc. 2014-12-22 15:04:19 +08:00
f1a0771bfc Remove random from efunc. 2014-12-22 15:04:10 +08:00
886adf1b69 Remove isearch from efunc. 2014-12-22 15:04:02 +08:00
1428d9e2aa Remove search from efunc. 2014-12-22 15:03:52 +08:00
4ab2e37ecb remove spawn from efunc. 2014-12-22 15:03:43 +08:00
7ede4aa6d8 remove exec from efunc. 2014-12-22 15:03:34 +08:00
ba277c5573 remove file from efunc. 2014-12-22 15:03:24 +08:00
255cab18b3 lock only for BSD or SVR4 2014-12-22 14:46:37 +08:00
548973517b termio and posix implement same prototypes. 2014-12-22 14:46:28 +08:00
9c311a1ba8 split efunc into corresponding headers. 2014-12-22 14:46:16 +08:00
73c372fc7f add file header. 2014-12-22 14:46:05 +08:00
4bba6e7417 refactor main and basic out of efunc. 2014-12-22 14:45:46 +08:00
0e9fc236f9 display depends on window instead of efunc. 2014-12-22 14:45:37 +08:00
08a3aa81e1 crypt depends on display and input instead of efunc. 2014-12-22 14:45:26 +08:00
86d5b10fa9 fileio depends on display instead of efunc. 2014-12-22 14:45:16 +08:00
f6780cb71b remove crypt from efunc, update dependencies. 2014-12-22 14:45:06 +08:00
fa56e5dfff remove fileio from efunc, update dependencies. 2014-12-22 14:44:58 +08:00
a65f7ca38c read files in text mode.
review fileio prototypes.
2014-12-22 14:44:49 +08:00
4958b7d2af use constant strings for pathnames. 2014-12-22 14:44:06 +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
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
6ceea8ba9b uemacs: convert typedef struct VDESC to struct variable_description.
Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-11-06 09:21:41 -07: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
Thiago Farina
18342f6246 uemacs: Move function declarations from edef.h to efunc.h.
Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-10-25 10:07:13 -07:00
Thiago Farina
b71ee14235 uemacs: Remove two completly unused functions (fnclabel and spal).
The implementation of these functions are doing anything at all at this moment.
So cleanup a bit the code by removing fnclabel and spal functions completly.

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
bd635515a6 uemacs/efunc.h: Get rid of a duplicated exported type called "names".
This type is already exported in edef.h

Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-08-29 08:15:23 -07:00
Thiago Farina
7622263b45 uemacs: Make getgoal function private to basic.c.
This functions is only used internally by basic.c, so marking it static,
to make it private.

Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-08-28 13:59:13 -07:00
Yong Luk Stanley Elijah Goh
89fea23de5 uemacs: Compiles on Mac OS X.
Compiles on Mac OS X 10.6.4.

setmode() is renamed to setemode() to avoid conflict with OS X's unistd.h's
setmode().

Modify Makefile to enable the appropriate DEFINES to compile on Mac OS X.

Signed-off-by: Yong Luk Stanley Elijah Goh <stan@t0xt.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-08-24 10:55:02 -07:00
Thiago Farina
bbf253858a uemacs: convert typedef struct REGION to struct region.
Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-07-10 10:26:32 -07:00
Thiago Farina
724c4efc5f uemacs: convert typedef struct NBIND to struct name_bind.
Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-07-04 20:14:34 -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
686a9e74ed Clean up various compile warnings
Most of them were harmless: gcc not being smart enough to realize that
an uninitialized variable was never used if it wasn't initialized etc.

Some of them were name clashes ("crypt()" is a standard library
function, so rename it to "myencrypt()") etc.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-11-19 11:52:18 -08:00
Linus Torvalds
378d2a835b Mark functions and variables local to display.c 'static'
Waste a few minutes occasionally on cleanup, and maybe we can make this
thing look ok in a decade or two..

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-11-19 11:22:04 -08:00
Linus Torvalds
dbc51bf972 Handle 8-bit characters better in display
This code still assumes a latin1 kind of "one byte, one character" setup.

UTF-8 input/output (even if the data is encoded in latin-1) is a separate
issue.
2005-10-01 10:46:09 -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
12cb79ceb4 Avoid various name clashes with curses and termcap headers
This allows us to include the proper headers, instead of declaring
things (badly) by hand.
2005-10-01 00:22:55 -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
8eab871e55 More warning avoidance and code cleanup 2005-09-30 23:52:55 -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