Commit Graph

86 Commits

Author SHA1 Message Date
Renaud e11ed9187f Remove V7, MSC, TURBO conditional code. Partial remove of MSDOS. 2019-07-23 21:04:50 +08:00
Renaud a35185c4fa Remove VMS related code. 2019-07-04 08:06:13 +08:00
Renaud f0836bb66a Replace strncpy by mystrscpy. 2019-06-19 19:49:20 +08:00
Renaud 3ef30d1c23 Review help command line option message. 2017-05-03 12:11:09 +08:00
Renaud ef7207b421 cppcheck: Variable 'startflag' was assigned a value that is never used. 2016-05-19 11:20:21 +08:00
Renaud 3e2d73394a Review buffer list related functions. 2016-03-24 21:53:36 +08:00
Renaud 645a0d734b Remove encryption as implementation is too weak. 2016-03-23 21:11:05 +08:00
Renaud 910e6576b5 Update Makefile after make depend.
Suppress warning when reaching end of main on Linux.
2016-03-03 21:17:23 +08:00
Renaud 7188773d13 Move command loop from main to kbd_loop in execute. 2016-03-02 21:37:43 +08:00
Renaud 4feb70b484 Fix CID114555: Unchecked return value. 2015-10-05 17:42:57 +08:00
Renaud 02d12c5d84 Allow -x cmdfile as an alternative to @cmdfile options. 2015-08-19 15:42:16 +08:00
Renaud c10b525fb5 Clarify code intent of emergencyexit(). 2015-07-17 10:48:17 +08:00
Renaud cfed6fdddf Extra allocation check during initialisation. 2015-03-24 17:49:12 +08:00
Renaud 5a900d59e6 Fix CID 39917 Dereference null return value. 2015-03-24 11:59:10 +08:00
Renaud 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
Renaud 703c472f0b Review message line outputs. 2015-02-13 21:48:05 +08:00
Renaud 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
Renaud 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
Renaud 639d912c88 Display correct mode on first empty buffer. 2015-01-27 20:22:47 +08:00
Renaud fe1eaf7348 Insure message line is correct after startup script execution and command line arguments processed. 2015-01-23 22:13:21 +08:00
Renaud 15ae2d4135 Transition from logger/logwrite/mlwrite to writestr/writefmt. 2015-01-21 21:30:01 +08:00
Renaud fbfaa29497 Add %B in string format of mlwrite to ring a bell. 2015-01-21 14:12:24 +08:00
Renaud a634ae5087 Retest gflags and limit implementation details to eval. 2015-01-10 16:23:19 +08:00
Renaud 3be85dec65 Recompile under MinGW32 with base framework for implementing kbd/screen (mingw32 + wscreen). 2014-12-22 20:58:10 +08:00
Renaud 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
Renaud fa6edaa282 Introduce ekey_t encryption key type and remove need for NKEY length constant. 2014-12-22 20:57:18 +08:00
Renaud fc79c8e013 Introduce bname_t type and reduce need of NBUFN buffer name length constant. 2014-12-22 20:56:40 +08:00
Renaud 494210424c Introduce fname_t type and remove need of NFILEN filename length constant. 2014-12-22 20:56:32 +08:00
Renaud ccbd7d7099 Remove buffer overflow by limiting argument size of search pattern. 2014-12-22 20:56:17 +08:00
Renaud 7b398855e7 Remove buffer overflow by limiting argument size of encryption key and filenames. 2014-12-22 20:56:08 +08:00
Renaud 81c98138de Clean compile with RAMSIZE and RAMSHOW activated. 2014-12-22 17:45:01 +08:00
Renaud da813d2efc Partial move configuration options out of estruct.h. 2014-12-22 17:44:52 +08:00
Renaud 2fe2d9c153 Finish move of globals into input and random.
Remove globals.
2014-12-22 17:43:53 +08:00
Renaud f166293e73 Clean up extern's in C files. 2014-12-22 17:42:08 +08:00
Renaud 80256bdd6d Remove edef.h, obsoleted by globals.h. 2014-12-22 17:41:40 +08:00
Renaud dc3e8984ab Move standard includes of stdlib and string from edef.h. 2014-12-22 17:41:07 +08:00
Renaud 9780b4ce16 Extract Struct terminal from estruct to terminal.h implemented by tcap. 2014-12-22 17:36:24 +08:00
Renaud 87cd40ce6a Extract struct buffer and struct window from estruct.h. 2014-12-22 16:11:13 +08:00
Renaud 32a5631bde Review return type of log functions. 2014-12-22 16:10:43 +08:00
Renaud 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
Renaud 03bd7dd902 Make line independant of display by introducing instanciable logwrite. 2014-12-22 16:08:21 +08:00
Renaud fb395c3f01 Cleanup encryption key setting by moving core to file. 2014-12-22 16:06:41 +08:00
Renaud b6c7a2cc80 Remove default of disallowing null and option to allow it. Allow null is default and no option. 2014-12-22 16:06:23 +08:00
Renaud 787189d50c Insure consistency when building with CRYPT on or off.
clarify fileio dependencies t crypt.
2014-12-22 15:50:47 +08:00
Renaud 319957e8e0 Add @cmdfile to usage. 2014-12-22 15:48:47 +08:00
Renaud 006f89258e update usage with all supported options. 2014-12-22 15:48:28 +08:00
Renaud e2fcb90996 clean macroes in main and remove main.h (no more dependencies to main). 2014-12-22 15:47:43 +08:00
Renaud c96138add5 remove left dependencies to main: bindable functions. 2014-12-22 15:47:33 +08:00
Renaud 48db208aac extract execute from main to avoid dependencies of file, random and window to main. 2014-12-22 15:47:01 +08:00
Renaud a96f1b5f85 Move rdonly and reterr from main to display to avoid dependencies to main. 2014-12-22 15:43:35 +08:00