Commit Graph

35 Commits

Author SHA1 Message Date
Renaud cae7222493 Clarify names interface (only used in bind and input). 2014-12-22 15:08:05 +08:00
Renaud c4a5c31d42 clarify ebind dependencies (only needed by bind). 2014-12-22 15:07:52 +08:00
Renaud 08a3aa81e1 crypt depends on display and input instead of efunc. 2014-12-22 14:45:26 +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 fa57a63d57 uemacs: remove forward declaration of 'struct video' from edef.h
Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-11-03 15:09:55 -04: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 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 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 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 af9710adc4 uemacs: convert typedef struct TERM to struct terminal.
Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-07-11 13:30:44 -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 8403b1d597 uemacs: convert typedef struct KEYTAB to struct key_tab.
Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-06-30 15:40:09 -07:00
Thiago Farina e32cecc843 uemacs: convert typdef struct VIDEO to struct video.
Signed-off-by: Thiago Farina <thiago.farina@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-06-01 08:11:33 -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 7281ae375e uemacs: enable -Wstrict-prototypes
This patch enables the GCC '-Wstrict-prototypes' switch and fixes up broken
prototypes.

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 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
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 d0ed902432 Fix up some trivial gcc -Wall warnings
Lots more to go.
2005-09-30 23:37:34 -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 e3ca2a12cf More ANSI'fication
Next up: enabling "-Wall" in the makefile. Not because it's ready,
but because it gets easier to track where we are in the process..
2005-09-30 18:06:17 -07:00
Linus Torvalds de0961e007 Yet more ANSI'fication
Bored? Me? Why do you ask?
2005-09-30 17:52:20 -07:00
Linus Torvalds 2b3627510d Move "input.c" towards ANSI function declarations 2005-09-30 17:37:16 -07:00
Linus Torvalds 453f80d269 More ANSI-fication of the sources
Ugh.  Some of this is ugly.  We should really include <curses.h> etc,
but there are too many name clashes for that right now.
2005-09-30 17:08:36 -07:00
Linus Torvalds 021605246c More function declarations: region.c
Hey, "word.c" is now sparse-clean.
2005-09-30 16:37:36 -07:00
Linus Torvalds 9605cf8826 First cut at turning things into proper modern ANSI C
Hey! Real declarations!
2005-09-30 16:34:11 -07:00
Linus Torvalds 118ee5f944 Fix up headers and bogus re-definitions to use <stdlib.h> and <string.h>
Hey, it's already compiling cleaner. Getting proper function declarations
will be a bitch, though.
2005-09-30 15:33:51 -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