1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-11-17 18:16:22 -05:00
Commit Graph

134 Commits

Author SHA1 Message Date
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