1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-12-29 20:46:22 -05:00
Commit Graph

122 Commits

Author SHA1 Message Date
0a998c1cf9 Move gasave and gacount to execute. 2014-12-22 17:40:12 +08:00
df349fa061 Recompile under CYGWIN64.
Move DEBUGM code to eval and exec.
2014-12-22 17:39:35 +08:00
a3be4fea81 Recompile on Linux; Replace stricmp by strcasecmp. 2014-12-22 17:39:25 +08:00
097de3bcdf Recompile under Cygwin64. Move color names as private to random. 2014-12-22 17:37:37 +08:00
422bfa0288 Recompile on Linux. 2014-12-22 17:37:28 +08:00
9780b4ce16 Extract Struct terminal from estruct to terminal.h implemented by tcap. 2014-12-22 17:36:24 +08:00
1f7826d3a8 Move paragraph related function from basic.c to word.c. 2014-12-22 17:36:06 +08:00
58642eb97f Move variable related definition from estruct to eval, and ISRCH related ones to isearch. 2014-12-22 17:35:41 +08:00
01d108d56d Move struct while and related defines from estruct to exec. Review exec.h. 2014-12-22 17:35:32 +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
870989f948 Move struct region from estruct.t to regiom.h. 2014-12-22 17:35:04 +08:00
7b079662e4 Remove line.h from estruct.h. 2014-12-22 17:34:55 +08:00
63feade299 make depend on Cygwin64. 2014-12-22 16:11:42 +08:00
263834b7d9 Recompile on linux; Clean up lock prototypes. 2014-12-22 16:11:31 +08:00
947c4e7ef4 Make depend missing in previous commit. 2014-12-22 16:11:21 +08:00
ab432a6781 Clean up dependecies on estruct by introducing defines.h. 2014-12-22 16:10:51 +08:00
fb6d6bd595 Insure CRYPT is defined before header inclusion. 2014-12-22 16:10:13 +08:00
34e2041d8e Include flook header in spawn instead of redeclaring function. 2014-12-22 16:10:05 +08:00
d266ec4b2a Remove estruct dependencies in headers of fileio and flook. 2014-12-22 16:09:40 +08:00
c3bffda340 Extract retcode from estruct.h. Clean up log dependencies. 2014-12-22 16:09:31 +08:00
45ea35f2a7 Move dependencies from display to log. 2014-12-22 16:09:23 +08:00
245c4a0477 Remove dependencies from line to display: Move rdonly from display to loc and create instantiable function logger( retcode, beep, string). 2014-12-22 16:09:15 +08:00
15012326db Compile under Cygwin64. 2014-12-22 16:08:37 +08:00
03bd7dd902 Make line independant of display by introducing instanciable logwrite. 2014-12-22 16:08:21 +08:00
4f9598b5da review line dependencies. 2014-12-22 16:08:12 +08:00
423c45f2cc Move mlwrite calls from fileio to file to avoid dependencies of fileio towards display. 2014-12-22 16:07:22 +08:00
0071ce8f5b Rebuild on Linux, rollback prototype of ffputline. 2014-12-22 16:07:13 +08:00
d6058046fa Rerun make source and make depend. 2014-12-22 16:07:03 +08:00
a2804f6ca5 Align program name between Makefile and version.h 2014-12-22 15:48:37 +08:00
9da83ebffb rerun make source and make depend as there is no more dependencies to main. 2014-12-22 15:47:51 +08:00
c96138add5 remove left dependencies to main: bindable functions. 2014-12-22 15:47:33 +08:00
48db208aac extract execute from main to avoid dependencies of file, random and window to main. 2014-12-22 15:47:01 +08:00
a96f1b5f85 Move rdonly and reterr from main to display to avoid dependencies to main. 2014-12-22 15:43:35 +08:00
de787262d3 rebuild on linux and fix lock dependencies. 2014-12-22 15:34:42 +08:00
88fbe6bdff make source functional again.
Update Makefile by running make source then make depend.
2014-12-22 15:34:31 +08:00
586026a867 make depend based on cc -MM.
update Makefile by doing make depend.
2014-12-22 15:34:00 +08:00
f210ed610b cleanup bind & ebind dependencies to estruct & edef. 2014-12-22 15:28:20 +08:00
2ed4446758 ebind as a module instead of include in main. 2014-12-22 15:07:40 +08:00
b321dce49e Remove efunc as dependencies. 2014-12-22 15:06:48 +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
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
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
8ef70b86fb revert CYGWIN to termio for compatibility with console window 2014-12-22 14:13:29 +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
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
U-Renaud-PC\Renaud
128354e657 Adapatation to Cygwin32 2014-12-22 14:03:11 +08:00
Linus Torvalds
e62cdf04cf Split up the utf8 helper functions into a file of their own
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-07-10 16:21:35 -07:00
Naohiro Aota
1d0cfd0276 Make uemacs build on FreeBSD.
See <https://bugs.gentoo.org/show_bug.cgi?id=387135>.

Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-05-26 11:50:23 -07:00
Ulrich Müller
a511e03e60 Respect LDFLAGS when linking.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-08-22 09:26:46 -07:00
Thiago Farina
d6e76cca7b uemacs: input.c: Fix mkstemp warning.
Fix the following warning:

input.c: In function ‘getstring’:
input.c:590: warning: ignoring return value of ‘mkstemp’, declared with attribute warn_unused_result

This add usage.c module for die function.
This also add wrapper.c module for the xmkstemp that is wrapper function
around the original mkstemp function.

Both module codes was largelly based on git, linux and sparse codes.

Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-12-14 11:27:57 -08:00
Thiago Farina
5664b10291 uemacs/version.c: Add version function to output the version string information.
Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-09-07 13:55:02 -07:00
Pekka Enberg
f4ccd49650 uemacs: Clean up program executable
This patch fixes Makefile 'clean' target to clean up program executable 'em'.

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
Pekka Enberg
799b74b9e7 uemacs: Fix out-of-box build on Mac OS X
This patch fixes out-of-box build on Mac OS X by using "uname -s" to detect the
underlying OS and fixing up defines accordingly.

Cc: Yong Luk Stanley Elijah Goh <stan@t0xt.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-08-28 13:59:13 -07:00
Yong Luk Stanley Elijah Goh
89fea23de5 uemacs: Compiles on Mac OS X.
Compiles on Mac OS X 10.6.4.

setmode() is renamed to setemode() to avoid conflict with OS X's unistd.h's
setmode().

Modify Makefile to enable the appropriate DEFINES to compile on Mac OS X.

Signed-off-by: Yong Luk Stanley Elijah Goh <stan@t0xt.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-08-24 10:55:02 -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
3844da04b4 uemacs: rename 'makefile' to 'Makefile'
I keep typoing 'Makefile' instead of 'makefile'.  I guess it's hard-wired to
the brain by now so just rename the damn thing.

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