198980b81f
Review newmlargt interface and obsolete mlreplyt.
2015-09-29 10:25:36 +08:00
51967939b8
Harmonize usage of mlreply, mlreplyt and nextarg based on actual needs (input always terminated either on meta or newline characters).
2015-08-25 09:17:41 +08:00
247fcfdfb8
Merge common code for setting prompt of search and incremental search.
2015-03-26 10:15:50 +08:00
ac267617ae
Review potential buffer overflow when prompting for (incremental-)search pattern.
2015-03-25 15:15:43 +08:00
4042ebe3d1
Fix CID 39916: potential dereference of Null pointer.
2015-03-24 11:57:10 +08:00
d56b3af45a
CID 39909, 39912, 39918, 39920, 39922.
2015-03-16 11:17:28 +08:00
80cbd37f5c
Add extra warning check and fix signed to unsigned comparison issues.
2015-02-28 20:29:00 +08:00
e556f7714b
Avoid calling mlwrite with computed string as format parameter.
2015-02-15 17:32:13 +08:00
703c472f0b
Review message line outputs.
2015-02-13 21:48:05 +08:00
5e5558e00b
Align naming convention for output of text on the message line: mlout*. (Was a mix of log & write).
2015-02-13 12:31:59 +08:00
15ae2d4135
Transition from logger/logwrite/mlwrite to writestr/writefmt.
2015-01-21 21:30:01 +08:00
b101f703c0
Insure consistent use of TTbeep for bell (instead of alternative TTputc( BEL)).
2015-01-21 14:48:03 +08:00
3197080cb1
Introduce spat_t as search pattern type and reduce need for NPAT as pattern length constant.
2014-12-22 20:57:26 +08:00
2fe2d9c153
Finish move of globals into input and random.
...
Remove globals.
2014-12-22 17:43:53 +08:00
f166293e73
Clean up extern's in C files.
2014-12-22 17:42:08 +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
2a34d732c5
Move global variables to module scope, public of search and private of word.
2014-12-22 17:37:47 +08:00
62e887547b
Move global search pattern variables to public search scope.
2014-12-22 17:37:17 +08:00
9780b4ce16
Extract Struct terminal from estruct to terminal.h implemented by tcap.
2014-12-22 17:36:24 +08:00
f99fe6fe54
Move magic related definitions from estruct.h to search.c. Review search.h accordingly.
2014-12-22 17:35:13 +08:00
87cd40ce6a
Extract struct buffer and struct window from estruct.h.
2014-12-22 16:11:13 +08:00
45ea35f2a7
Move dependencies from display to log.
2014-12-22 16:09:23 +08:00
a96f1b5f85
Move rdonly and reterr from main to display to avoid dependencies to main.
2014-12-22 15:43:35 +08:00
b321dce49e
Remove efunc as dependencies.
2014-12-22 15:06:48 +08:00
4e24edf715
Remove basic from efunc.
2014-12-22 15:06:17 +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
0b093b8228
Remove main from efunc.
2014-12-22 15:04:37 +08:00
9c311a1ba8
split efunc into corresponding headers.
2014-12-22 14:46:16 +08:00
a1124441f7
fix compilation warning
2014-12-22 14:06:30 +08: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
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
4966cb355e
uemacs: get rid of BITMAP typedef.
...
Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-11-02 09:04:48 -04: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
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
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
Linus Torvalds
24338ae855
Fix more compiler warnings
...
Better initializers, and more proper function types.
2005-10-01 00:56:15 -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
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