Rob Gowin
737fee5323
Changes to compile on macOS. ( #2 )
...
defines.h:
Use (defined(__APPLE__) && defined(__MACH__)) to
detect macOS, as suggested by https://stackoverflow.com/questions/7063303/macro-unix-not-defined-in-macos-x .
Combined with __NetBSD__ to set BSD=1 and POSIX=1.
main.c:
Include <unistd.h> to pick up sleep() declaration.
Co-authored-by: Rob Gowin <rob.gowin@gmail.com>
2022-08-24 10:28:13 +08:00
e2f7cc0566
Sanity check with customization CLEAN, RAMSIZE, RAMSHOW.
2021-08-24 12:17:40 +08:00
e6921a8ed1
Centralize customization in defines.h instead of Makefile + estruct.h.
2021-08-18 16:54:35 +08:00
731ea754bb
Formatting and typos.
2021-08-15 16:05:31 +08:00
22bbd0417c
Revise types for names and keys bindings.
2021-07-30 09:30:12 +08:00
735aefc166
Manage key binding table dynamically.
...
Avoid deleting or binding to active prefix keys.
2021-07-24 16:34:54 +08:00
f30ef38bc8
Merge name to function and key code to function table initialization.
2021-07-23 10:47:58 +08:00
cf823e2fad
Clean up handling of unicode character width (non printable are displayed as \u) and insure modeline displays filename including double and zero width characters.
2020-06-24 16:38:03 +08:00
2f5d28a864
Improve UTF-8 display under NetBSD.
2020-06-20 14:25:53 +08:00
e71338b261
Cater to wcwidth implementation difference (Cygwin: UTF-16, Linux: UTF-32).
2019-11-06 13:31:05 +08:00
e62af18798
Display UTF-8 on the modeline [buffer name, file name].
2019-08-13 09:14:08 +08:00
e11ed9187f
Remove V7, MSC, TURBO conditional code. Partial remove of MSDOS.
2019-07-23 21:04:50 +08:00
a35185c4fa
Remove VMS related code.
2019-07-04 08:06:13 +08:00
f0836bb66a
Replace strncpy by mystrscpy.
2019-06-19 19:49:20 +08:00
3ef30d1c23
Review help command line option message.
2017-05-03 12:11:09 +08:00
ef7207b421
cppcheck: Variable 'startflag' was assigned a value that is never used.
2016-05-19 11:20:21 +08:00
3e2d73394a
Review buffer list related functions.
2016-03-24 21:53:36 +08:00
645a0d734b
Remove encryption as implementation is too weak.
2016-03-23 21:11:05 +08:00
910e6576b5
Update Makefile after make depend.
...
Suppress warning when reaching end of main on Linux.
2016-03-03 21:17:23 +08:00
7188773d13
Move command loop from main to kbd_loop in execute.
2016-03-02 21:37:43 +08:00
4feb70b484
Fix CID114555: Unchecked return value.
2015-10-05 17:42:57 +08:00
02d12c5d84
Allow -x cmdfile as an alternative to @cmdfile options.
2015-08-19 15:42:16 +08:00
c10b525fb5
Clarify code intent of emergencyexit().
2015-07-17 10:48:17 +08:00
cfed6fdddf
Extra allocation check during initialisation.
2015-03-24 17:49:12 +08:00
5a900d59e6
Fix CID 39917 Dereference null return value.
2015-03-24 11:59:10 +08:00
c10c550bdd
Valid compilation when CLEAN is set.
...
Use assert() and robust fallback instead of exit() to handle 'impossible' cases.
2015-02-15 14:41:35 +08:00
703c472f0b
Review message line outputs.
2015-02-13 21:48:05 +08:00
5e5558e00b
Align naming convention for output of text on the message line: mlout*. (Was a mix of log & write).
2015-02-13 12:31:59 +08:00
e13bc9ca7e
Version 4.2
...
Consistent display of µEMACS as program name among
- ue --version
- on status bar
- insert-string $progname
- write-message $progname (FIX).
2015-02-12 13:15:45 +08:00
639d912c88
Display correct mode on first empty buffer.
2015-01-27 20:22:47 +08:00
fe1eaf7348
Insure message line is correct after startup script execution and command line arguments processed.
2015-01-23 22:13:21 +08:00
15ae2d4135
Transition from logger/logwrite/mlwrite to writestr/writefmt.
2015-01-21 21:30:01 +08:00
fbfaa29497
Add %B in string format of mlwrite to ring a bell.
2015-01-21 14:12:24 +08:00
a634ae5087
Retest gflags and limit implementation details to eval.
2015-01-10 16:23:19 +08:00
3be85dec65
Recompile under MinGW32 with base framework for implementing kbd/screen (mingw32 + wscreen).
2014-12-22 20:58:10 +08:00
3197080cb1
Introduce spat_t as search pattern type and reduce need for NPAT as pattern length constant.
2014-12-22 20:57:26 +08:00
fa6edaa282
Introduce ekey_t encryption key type and remove need for NKEY length constant.
2014-12-22 20:57:18 +08:00
fc79c8e013
Introduce bname_t type and reduce need of NBUFN buffer name length constant.
2014-12-22 20:56:40 +08:00
494210424c
Introduce fname_t type and remove need of NFILEN filename length constant.
2014-12-22 20:56:32 +08:00
ccbd7d7099
Remove buffer overflow by limiting argument size of search pattern.
2014-12-22 20:56:17 +08:00
7b398855e7
Remove buffer overflow by limiting argument size of encryption key and filenames.
2014-12-22 20:56:08 +08:00
81c98138de
Clean compile with RAMSIZE and RAMSHOW activated.
2014-12-22 17:45:01 +08:00
da813d2efc
Partial move configuration options out of estruct.h.
2014-12-22 17:44:52 +08:00
2fe2d9c153
Finish move of globals into input and random.
...
Remove globals.
2014-12-22 17:43:53 +08:00
f166293e73
Clean up extern's in C files.
2014-12-22 17:42:08 +08:00
80256bdd6d
Remove edef.h, obsoleted by globals.h.
2014-12-22 17:41:40 +08:00
dc3e8984ab
Move standard includes of stdlib and string from edef.h.
2014-12-22 17:41:07 +08:00
9780b4ce16
Extract Struct terminal from estruct to terminal.h implemented by tcap.
2014-12-22 17:36:24 +08:00
87cd40ce6a
Extract struct buffer and struct window from estruct.h.
2014-12-22 16:11:13 +08:00
32a5631bde
Review return type of log functions.
2014-12-22 16:10:43 +08:00