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
77c9fd09ad
Remove eval from efunc.
2014-12-22 15:05:48 +08:00
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
93f2a6d691
clean up line dependencies.
2014-12-22 14:45:55 +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
d9bb0ea262
refactor epath into eval.
2014-12-22 14:44:35 +08:00
e86bdad4fc
refactor epath into bind and util into eval.
2014-12-22 14:44:26 +08:00
886402ccad
update file dependencies towards util.
2014-12-22 14:44:16 +08:00
4958b7d2af
use constant strings for pathnames.
2014-12-22 14:44:06 +08:00
13f4a7cefd
usage has been removed. should have been part of commit #776bd25
2014-12-22 14:43:57 +08:00
c9a59faf42
usage obsolete as refactored into wrapper.
2014-12-22 14:43:36 +08:00
86afdef45e
refactor handling of version and program name strings.
2014-12-22 14:43:23 +08:00
9f909644e9
rename program from 'em' to 'ue'.
2014-12-22 14:14:10 +08:00
34615aae05
first step for constant version strings.
2014-12-22 14:13:54 +08:00
8ef70b86fb
revert CYGWIN to termio for compatibility with console window
2014-12-22 14:13:29 +08:00
2e2d684697
enable ^S in posix
2014-12-22 14:13:11 +08:00
646fbbc4f6
remove need for usage
2014-12-22 14:12:55 +08:00
45a6523572
use posix (termios) with Cygwin)
2014-12-22 14:12:41 +08:00
052f7ff956
don't compile ansi, ibmpc, vmsvt, vt52
2014-12-22 14:12:27 +08:00
4b53c4887b
add ncurses directory for Cygwin
2014-12-22 14:12:15 +08:00
a1124441f7
fix compilation warning
2014-12-22 14:06:30 +08:00
02823cb59d
remove unnecessary include
2014-12-22 14:06:06 +08:00
c961759288
rework version and help printing
...
em --help now returns EXIT_SUCCESS
2014-12-22 14:05:53 +08:00
f3ce8236af
update file dependencies: usage, wrapper, version
2014-12-22 14:05:40 +08:00
68a79430e6
cleanup usage and wrapper
2014-12-22 14:04:17 +08:00
U-Renaud-PC\Renaud
128354e657
Adapatation to Cygwin32
2014-12-22 14:03:11 +08:00
Linus Torvalds
fa00fe882f
Stop using 'short' for line and allocation sizes
...
Yes, yes, it probably made sense 30 years ago as a way to save a tiny
amount of memory, but especially when interspersed in structures that
have pointers (aligned to 64 bits these days), it's not even saving
memory today. And it makes us fail in nasty ways when looking at files
with long lines.
So just make them 'int'. And if you have a line that is longer than
2GB, you only have yourself to blame. I no longer care.
In case anybody care, the "test-case" for this was a lovely UDDF file
with a binary divecomputer dump encoded as an XML element. Resulting in
a lovely 41kB single line. Not what poor micro-emacs was designed for,
I'm afraid.
I really should just learn another editor, rather than continue to
polish this turd.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-02-22 14:32:16 -08:00