aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Add libcurses, remove ltermcapLinus Torvalds2009-07-151-2/+2
| | | | | | | That's how modern distributions roll (and have, for a long time. I just haven't committed this). Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* Turn ESC+'[' into a CSI characterLinus Torvalds2008-06-072-34/+58
| | | | | | | | This avoids the annoying behavior where we're on the command line, waiting for an ESC, and any control character sequence ends up finishing the command line and eating the first ESC. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* Clean up various compile warningsLinus Torvalds2006-11-1917-35/+41
| | | | | | | | | | 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>
* Make the sparse setup default to x86-64 rather than ppcLinus Torvalds2006-11-191-1/+1
| | | | | | Hey, what can I say? Without Apple, ppc on the desktop? Not very likely. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Mark functions and variables local to display.c 'static'Linus Torvalds2006-11-192-60/+52
| | | | | | | 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>
* Make "sparse" check target do a global sparseLinus Torvalds2005-11-161-1/+1
| | | | | | Instead of iterating over all the source files, just check them all together since it works these days, and could potentially find cross-file issues.
* Add a true UTF-8 demonstration fileLinus Torvalds2005-10-101-0/+212
| | | | | | | | | | We obviously don't handle it, but it's a wonderful example if we ever do. Demo by Markus Kuhn from http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Add support for a "utf-8" modeLinus Torvalds2005-10-024-5/+103
| | | | | | | | | | | | | | | | 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>
* [PATCH] Fix use of mktemp() in uemacsHorst von Brand2005-10-011-1/+1
| | | | | | | | | | After your last round of changes it compiles without warnings here (Fedora rawhide, gcc-4.0.2), but the link complains. mktemp(3) isn't always secure, the problem is fixed in mkstemp(3) Signed-off-by: Horst H. von Brand <vonbrand@inf.utfsm.cl> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Handle 8-bit characters better in displayLinus Torvalds2005-10-012-15/+36
| | | | | | | 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.
* Make sources mostly sparse-cleanLinus Torvalds2005-10-0112-37/+9
| | | | | Mainly an issue of taking care of a few remaining K&R function declarations.
* Fix more compiler warningsLinus Torvalds2005-10-0111-63/+76
| | | | Better initializers, and more proper function types.
* Fix ugly "definitions in header file" crudLinus Torvalds2005-10-0111-193/+174
| | | | | | | Move various initializations into new "globals.c" file. Also mark some variables static, and fix up some trivial compiler and sparse warnings.
* Avoid various name clashes with curses and termcap headersLinus Torvalds2005-10-0112-56/+47
| | | | | This allows us to include the proper headers, instead of declaring things (badly) by hand.
* Replace "WINDOW" type with "window_t"Linus Torvalds2005-10-0112-65/+65
| | | | Starting to try to avoid name clashes with curses and friends.
* Fix up unused variable and ambiguous else in random.cLinus Torvalds2005-09-301-13/+2
|
* More warning avoidance and code cleanupLinus Torvalds2005-09-306-27/+30
|
* Fix up some trivial gcc -Wall warningsLinus Torvalds2005-09-3010-28/+22
| | | | Lots more to go.
* Lots of ANSI'fication and cleanupsLinus Torvalds2005-09-3026-1140/+1152
| | | | | | Still tons of warnings with "-Wall", but now it's actually getting closer. It even compiles again.
* Start using "-Wall" when compilingLinus Torvalds2005-09-301-1/+1
| | | | Oh, and change the -O4 to a saner -O2 while at it
* More ANSI'ficationLinus Torvalds2005-09-303-60/+62
| | | | | 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..
* Yet more ANSI'ficationLinus Torvalds2005-09-303-89/+126
| | | | Bored? Me? Why do you ask?
* Move "input.c" towards ANSI function declarationsLinus Torvalds2005-09-302-53/+53
|
* More ANSI-fication of the sourcesLinus Torvalds2005-09-304-68/+82
| | | | | Ugh. Some of this is ugly. We should really include <curses.h> etc, but there are too many name clashes for that right now.
* More function declarations: region.cLinus Torvalds2005-09-302-6/+12
| | | | Hey, "word.c" is now sparse-clean.
* First cut at turning things into proper modern ANSI CLinus Torvalds2005-09-3010-469/+617
| | | | Hey! Real declarations!
* Fix up headers and bogus re-definitions to use <stdlib.h> and <string.h>Linus Torvalds2005-09-308-78/+3
| | | | | Hey, it's already compiling cleaner. Getting proper function declarations will be a bitch, though.
* Very optimistically add a "sparse" makefile target.Linus Torvalds2005-09-301-0/+6
| | | | | Since sparse really wants clean ANSI C, we're not even _remotely_ close to being sparse-clean. But maybe some day...
* Run "indent -kr -i8" on the sourcesLinus Torvalds2005-09-3034-6775/+6925
| | | | Let's see how nasty it is to clean things up. For real.
* Up the limit on maximum lines.Linus Torvalds2005-05-311-1/+1
| | | | Hey, get with the bloated new world.
* Minimal patches to make uemacs compile in a modern environment.Linus Torvalds2005-05-312-7/+5
| | | | | | make sure to include <errno.h>, and allow for the fact that newer gcc's don't allow function declarations in function scope (don't ask me why, but there you have it..)
* Initial import of em-4.0.15-ltLinus Torvalds2005-05-3150-0/+24188
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.