1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-12-30 04:56:23 -05:00
Commit Graph

495 Commits

Author SHA1 Message Date
434c9ba7ab Review mlforce to avoid necessity to double '%' in input string, thus avoiding potential buffer overflow in caller functions (mdbugout and write-message). 2015-01-15 17:57:12 +08:00
01a84a3ac0 Insure debug output fits inside terminal and buffer width. 2015-01-15 16:46:45 +08:00
e3c8805260 Unify macro debugging code in eval and exec. 2015-01-15 14:36:19 +08:00
259de639e4 Limit scope of cbuf to exec. 2015-01-14 17:16:33 +08:00
84919039a5 Hide details of token extraction inside exec. 2015-01-13 16:42:14 +08:00
a634ae5087 Retest gflags and limit implementation details to eval. 2015-01-10 16:23:19 +08:00
f8c405f501 Limit visibility of token types to eval. 2015-01-09 17:53:29 +08:00
63776bb3f8 Restrict to local scope some internal funtions of eval. 2015-01-09 16:00:11 +08:00
3ce31669ae Clean up eval: local scope for gtfun, gtenv, gtusr. Review initial allocation of result buffer returned by gtfun. 2015-01-09 15:35:03 +08:00
57e5338ebd Insure &low and &upp don't point to the stack. 2015-01-09 09:46:03 +08:00
4070a97fc9 Review buffer usage in & function evaluation. 2015-01-08 17:36:25 +08:00
a6669903b2 Double maximum size of a user variable (128 -> 256). 2015-01-08 14:57:02 +08:00
8ddc8676ef More dynamic argument string size as parameters to predefined functions. 2015-01-08 14:16:15 +08:00
b596a3a09c macarg takes buffer length as parameter instead of assuming all buffer have NSTRING size. 2015-01-08 12:46:46 +08:00
d2d3581e74 Redimension result char array when doing &lef, &mid, &rig. 2015-01-07 14:47:13 +08:00
5756354dd5 Redimension result char array when doing &cat.
Intermediary step in supporting longer string retuns in functions.
2015-01-07 14:11:58 +08:00
534da43d08 Insure strings created by &lef and &mid are properly terminated. 2015-01-06 17:55:11 +08:00
e096092d5b Adjust MAXROW/MAXCOL to values aligned with 1920x1080 landscape resolution. If smaller font or portrait, limit to 400x150 (colxrow). 2015-01-05 16:54:21 +08:00
48ea9279a6 Allocate video buffers based on MAXROW/MAXCOL even if os window is smaller at initialization. 2015-01-02 20:26:34 +08:00
923d7bdc8e Insure resizing screen commands are aligned with OS window sizes. 2015-01-02 17:50:31 +08:00
c64d4ad381 README.md edited online with Bitbucket 2015-01-02 06:25:15 +00:00
20d21435e0 Rebuild on Linux.
Remove warnings on system and write call without return code check.
2015-01-02 14:20:07 +08:00
b6bd5c2927 Review header dependencies controlled by POSIX and MINGW32 flags. 2015-01-02 10:54:35 +08:00
5f7a1aa1a9 Rewrite make depend rule, replacing ed by sed. 2014-12-31 09:47:15 +08:00
8de97e3323 README.md edited online with Bitbucket 2014-12-25 03:30:41 +00:00
f0874a8497 Rebuild on Linux (xubuntu32).
Fix wrapper.h mode.
Silence warning of unused return value of system() in spawn.
2014-12-25 10:51:47 +08:00
7e8654faa1 CYGWIN not necessary to be set at build time if not making posix based version. 2014-12-24 11:18:52 +08:00
14bfe4fa5f Don't use 'char' for number of lines. Based on commit 8841922 from uEMACS/PK 2014-12-24 10:01:37 +08:00
3a67809c74 Merge remote-tracking branch 'origin/cigue' 2014-12-24 09:49:30 +08:00
bdd71519c4 Revert "Don't use 'char' for number of lines"
This reverts commit 8841922689.
2014-12-24 09:48:56 +08:00
ce0f6b9678 README.md edited online with Bitbucket 2014-12-23 07:33:46 +08:00
5b5325dbe7 Revert "Create empty readme.md for documenting changes."
This reverts commit 4c8493a888.
2014-12-23 07:32:57 +08:00
b5405fa6b8 curses.h now comes in standard include directory on Cygwin. 2014-12-22 21:24:47 +08:00
4c8493a888 Create empty readme.md for documenting changes. 2014-12-22 20:59:13 +08:00
cc4841b2e1 Add mingw32 and wscreen for initial MingGW32 support. 2014-12-22 20:58:30 +08:00
1911a389b4 Regenerate Makefile with Cygwin64 (make source ; make depend) as mingw32 and wscreen not commited. 2014-12-22 20:58:22 +08:00
3be85dec65 Recompile under MinGW32 with base framework for implementing kbd/screen (mingw32 + wscreen). 2014-12-22 20:58:10 +08:00
45981e8793 Limit the scope of docmd. 2014-12-22 20:58:01 +08:00
cc06049046 $kill returns full copy of kill buffer. 2014-12-22 20:57:54 +08:00
79b57c96d1 insert-string can insert strings up to 512 characters. 2014-12-22 20:57:47 +08:00
a560025c0c Fix $kill to cover at most first 127 characters of kill buffer. Was only first N % 250 (ex 25 out of 275). 2014-12-22 20:57:40 +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
e2ae45e187 Insure list-buffer can report buffer size up to 99 999 999. 2014-12-22 20:57:09 +08:00
0c423e4e04 Adjust columns according to buffer name size in list-buffers. 2014-12-22 20:57:01 +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
5a0b64f952 Add test script to check and size limit on string variables and filenames. 2014-12-22 20:56:24 +08:00
ccbd7d7099 Remove buffer overflow by limiting argument size of search pattern. 2014-12-22 20:56:17 +08:00