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

71 Commits

Author SHA1 Message Date
e6921a8ed1 Centralize customization in defines.h instead of Makefile + estruct.h. 2021-08-18 16:54:35 +08:00
3bce7a4751 Rework file primitives. 2021-08-14 11:45:41 +08:00
50b727bf7f Bindable functions take a boolean as flag.
Emphasize which one always return TRUE.
Use mloutfail() to introduce consistency when a function fails with error message.
2021-08-11 17:02:19 +08:00
d890880a52 Revise bindable functions usage of struct to named types. 2021-08-03 13:37:06 +08:00
1aadb53956 Remove function pointer from key to bindable table.
Emphasize bindable functions in code.
Use function name based prompts.
2021-07-24 08:58:23 +08:00
695b5d37da Tag most view mode incompatible functions in function names table. 2021-07-19 20:50:32 +08:00
0f6de2f3b4 Improve buffer name generation from UTF-8 filename. 2019-08-13 16:39:56 +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
033012f645 Avoid warning on unused declared label in Cygwin. 2018-01-11 14:56:56 +08:00
7f8ab2d2a5 Avoid copy to buffer name using same source as destination to accomodate sensitive implementation of str(n)cpy. 2017-05-02 12:15:19 +08:00
16e6f87ad5 Review windows update when reading or writing buffers to file. 2016-04-01 13:25:05 +08:00
af23c6b3b5 Fix previous commit break: Handle case of non override of locked file in Linux. 2016-03-30 20:14:19 +08:00
ac3c2aa6dd Review file read and write into buffers. 2016-03-30 17:44:46 +08:00
645a0d734b Remove encryption as implementation is too weak. 2016-03-23 21:11:05 +08:00
a0ea6d07e6 Increase maximum file name length to 255 (Windows & Linux). 2016-03-19 11:37:54 +08:00
e3d7efda7f Add CRYPT mode to buffer when doing a set-encryption-key on a buffer where the mode is not set yet. 2015-11-06 11:33:05 +08:00
b59a47bb3a File commands based on newmlarg (replacement of mlreply). 2015-10-05 11:34:33 +08:00
8de64f81be Use strncpy instead of strcpy. (CID 39928 eval, 39931 file, 39932 exec, 39938 bind). 2015-03-19 12:42:47 +08:00
e2be62323b Review scope of exported variables and functions for bind, eval, file,fileio, random. 2015-02-16 11:39:16 +08:00
2b8992350d Avoid unnecessary sprintf & buffers when updating message or status line. 2015-02-15 16:10:44 +08:00
115d9babae When reading file, identify encoding (ASCII, UTF-8, EXTENDED, MIXED). 2015-02-15 13:30:54 +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
f8df147015 Insure restflag and resterr() belong to same scope. 2015-02-13 11:23:12 +08:00
15ae2d4135 Transition from logger/logwrite/mlwrite to writestr/writefmt. 2015-01-21 21:30:01 +08:00
fa6edaa282 Introduce ekey_t encryption key type and remove need for NKEY length constant. 2014-12-22 20:57:18 +08:00
3847f03f04 Explicit use of buffer name type in buffer name creation. 2014-12-22 20:56:49 +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
2fe2d9c153 Finish move of globals into input and random.
Remove globals.
2014-12-22 17:43:53 +08:00
8862838594 Restflag moved from globals to file. 2014-12-22 17:41:50 +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
87cd40ce6a Extract struct buffer and struct window from estruct.h. 2014-12-22 16:11:13 +08:00
0aea939e21 Review prototypes of function with filenames and lock flag. 2014-12-22 16:10:26 +08:00
fb6d6bd595 Insure CRYPT is defined before header inclusion. 2014-12-22 16:10:13 +08:00
45ea35f2a7 Move dependencies from display to log. 2014-12-22 16:09:23 +08:00
4cba352689 cleanup PKCODE variant in file 2014-12-22 16:07:39 +08:00
c7d2d30ab3 Force buffer in view mode when reading mixed eol file. 2014-12-22 16:07:30 +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
fb395c3f01 Cleanup encryption key setting by moving core to file. 2014-12-22 16:06:41 +08:00
a3b5257bfe Use memcpy to fill in line structure when reading and inserting files. 2014-12-22 16:06:32 +08:00
45527243a0 Avoid strlen & strncpy in reading lines from file. 2014-12-22 15:50:59 +08:00
787189d50c Insure consistency when building with CRYPT on or off.
clarify fileio dependencies t crypt.
2014-12-22 15:50:47 +08:00
a3f3102013 DOS mode added to preserve eol termination. 2014-12-22 15:49:19 +08:00
30b1b06acb Handle all types of eol when reading files. 2014-12-22 15:49:09 +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
de787262d3 rebuild on linux and fix lock dependencies. 2014-12-22 15:34:42 +08:00