| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Hey, what can I say? Without Apple, ppc on the desktop? Not very likely.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Mainly an issue of taking care of a few remaining K&R function
declarations.
|
|
|
|
| |
Better initializers, and more proper function types.
|
|
|
|
|
|
|
| |
Move various initializations into new "globals.c" file.
Also mark some variables static, and fix up some trivial compiler and
sparse warnings.
|
|
|
|
|
| |
This allows us to include the proper headers, instead of declaring
things (badly) by hand.
|
|
|
|
| |
Starting to try to avoid name clashes with curses and friends.
|
| |
|
| |
|
|
|
|
| |
Lots more to go.
|
|
|
|
|
|
| |
Still tons of warnings with "-Wall", but now it's actually getting closer.
It even compiles again.
|
|
|
|
| |
Oh, and change the -O4 to a saner -O2 while at it
|
|
|
|
|
| |
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..
|
|
|
|
| |
Bored? Me? Why do you ask?
|
| |
|
|
|
|
|
| |
Ugh. Some of this is ugly. We should really include <curses.h> etc,
but there are too many name clashes for that right now.
|
|
|
|
| |
Hey, "word.c" is now sparse-clean.
|
|
|
|
| |
Hey! Real declarations!
|
|
|
|
|
| |
Hey, it's already compiling cleaner. Getting proper function declarations
will be a bitch, though.
|
|
|
|
|
| |
Since sparse really wants clean ANSI C, we're not even _remotely_ close
to being sparse-clean. But maybe some day...
|
|
|
|
| |
Let's see how nasty it is to clean things up. For real.
|
|
|
|
| |
Hey, get with the bloated new world.
|
|
|
|
|
|
| |
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..)
|
|
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.
|