Commit Graph

542 Commits

Author SHA1 Message Date
Stas Degteff
848b7129c2 Write message into log and statusline if parameter of update_statuslinef() is invalid 2011-02-22 12:55:06 +00:00
Stas Degteff
bc014f0485 Check parameters of update_statuslinef() 2011-02-22 12:48:13 +00:00
Stas Degteff
177bd5183a Fix soup & WQK operations on start 2011-02-22 11:27:21 +00:00
Stas Degteff
e59f2fc9f4 Change log messages about buffer overflow 2011-02-22 00:10:37 +00:00
Stas Degteff
343e008874 Comment: "FIXME: Strange, status line displayed always in first call. May be need to change?" 2011-02-21 15:02:03 +00:00
Stas Degteff
bf13c6929a Fix: Dont try to print NULL string (check result of strftimei()) 2011-02-21 13:06:29 +00:00
Stas Degteff
8211dab4a0 Fix ST_EDITSTATUS checking regexp 2011-02-19 22:16:02 +00:00
Stas Degteff
d8f5f56728 Fix windows build using MS VS: use gsprintf() instead snprintf() 2011-02-19 18:31:43 +00:00
Stas Degteff
81c1d6e91e Another fix bufer overflow in wide screen: status line don't cuting but shorten 2011-02-19 02:10:10 +00:00
Stas Degteff
1e71076fd4 Fix secondary freeing memory block 2011-02-19 02:08:13 +00:00
Stas Degteff
54dabe3345 Fix buffer overflow on wide terminal (width >=200 characters). Bugreport from Anton Gorlov 2:5059/37 2011-02-19 01:12:12 +00:00
Stas Degteff
3a22e17caf New macros in Makefile: LIBCURSES (for specify libcurses name and location), WIDE_NCURSES (for select wide-characters version of libcurses) 2011-02-18 22:16:25 +00:00
Stas Degteff
c3eaefb7aa Move all curses-related code into gcui library. Very big thank to Semen Panevin 2:5025/121 2011-02-18 21:47:20 +00:00
Stas Degteff
d9fc014ca2 Initialise value (forget by author) 2011-02-18 11:11:39 +00:00
Stas Degteff
b4ed4dc416 Use version of strschg_environ() with control bufer overflow 2011-02-17 23:22:23 +00:00
Stas Degteff
14dd2361a4 Prevent use NULL-pointer. display message and exit 2011-02-14 19:57:01 +00:00
Stas Degteff
f24985ea2f Preprocesor macro for write to log message about null-pointer in parameter. 2011-02-14 19:14:01 +00:00
Stas Degteff
bfece6f521 Prevent use null-pointer. Exit on error if parameter is NULL 2011-02-14 19:12:26 +00:00
Stas Degteff
2202849fb2 Check config file name length, report of too long 2011-02-13 23:52:22 +00:00
Stas Degteff
87bd198131 new preprocessor macro __GVER_SNAPSHOT__. Use srcdate.h for display revision date 2011-02-13 20:43:17 +00:00
Stas Degteff
b1693b62c7 Prevent buffer overflow in charset names. Bugreport from Semen Panevin 2:5025/121 2011-02-12 22:02:48 +00:00
Stas Degteff
f842f826fb Error in parser @-macro is fixed: macro in end of line are ignored before this fix. Thanks Max Vasilyev 2:5057/77 2011-02-11 20:13:47 +00:00
Gremlin from Kremlin
7f41e765d2 libraries reordered according to patch from Pavel Gulchouck 2010-09-09 20:30:59 +00:00
Stas Degteff
7eb3182884 OS/2 build fix for GNU C 3.5, patch from Max Vasilyev 2:5057/77 2010-05-02 06:54:52 +00:00
Stas Degteff
7561fa3569 use macros instead inline constants 2010-03-28 17:22:40 +00:00
Stas Degteff
19fdb52aab Fix buffer overflow. Bugreport from Nick Voronin 2010-03-28 17:20:21 +00:00
Stas Degteff
9f7400b7aa Fix memory leak in URLs list. Bugreport from Ivan Novikov,2:5080/31 2010-03-26 22:44:36 +00:00
Stas Degteff
5cde6a3023 fix segfault if urlhandler is not defined in golded.cfg 2010-03-26 22:17:07 +00:00
Stas Degteff
e2c0c182de New token for goldlang.cfg: IL_PEEKINFONOHANDLER 2010-03-26 22:16:07 +00:00
Stas Degteff
9ed87aece7 Check parameters of function for NULL 2010-03-21 13:59:45 +00:00
Stas Degteff
69493f5724 keys changed: Ctrl-Backspace acts as Backspace, Ctrl-W deletes word left 2010-03-12 11:21:39 +00:00
Stas Degteff
0ce8534f9a If TEMPPATH pointed to unexisted, display message and doing nothing instead abort 2010-03-11 17:02:03 +00:00
Stas Degteff
71abfaf13b If TEMPPATH pointed to unexisted, display message and doing nothing instead abort 2010-03-11 16:04:08 +00:00
Stas Degteff
e734e7d80a New statement for goldlang.cfg: IL_TMPINVALIDPATH 2010-03-11 14:12:49 +00:00
Stas Degteff
23684c34a2 Fix message for illegal ST_EDITSTATUS 2010-03-05 20:41:21 +00:00
Stas Degteff
9bb2536663 Set /BSD for DragonFly in version string 2010-03-05 20:40:38 +00:00
Stanislav Mekhanoshin
2944b6961b patch to build on MAC OS/X with make PLATFORM=osx 2009-12-16 13:18:20 +00:00
Gremlin from Kremlin
b288206652 fixed message date - set it to when editing was finished 2009-12-12 13:02:30 +00:00
Gremlin from Kremlin
5d1ed88a16 fix building with gcc 4.x 2009-04-04 09:51:04 +00:00
Stanislav Mekhanoshin
78800714b0 Added Mac OSX macro for platform selection 2008-10-12 09:17:01 +00:00
Stas Degteff
e50d2f728e Changed sequence of config search, thanks to Alexey Vissarionov 2:5020/545 2008-05-28 23:21:46 +00:00
Stas Degteff
9286e07651 Fix typo in previous patch 2008-01-20 18:02:59 +00:00
Stas Degteff
09f4b036f3 Prevents double transcoding 2008-01-20 17:41:56 +00:00
Stas Degteff
27aefddd82 Small code simplifying 2008-01-20 15:22:59 +00:00
Stas Degteff
6aa5bd173f Move issoftcr(), spanspaces() and spanfeeds() into goldlib 2008-01-20 14:45:52 +00:00
Stas Degteff
595346f1ac Small code's simplifying: use issoftcr() in span*() functions 2008-01-20 12:55:24 +00:00
Stas Degteff
1632703681 Small improve performance 2008-01-20 12:49:49 +00:00
Stas Degteff
43cef37d26 Remove unused variable 'level' in mime_header_encode() (addition to patch v.1.46 2008-01-19 17:41:42 +00:00
Stas Degteff
d50e82f8ec Change allocation of array 'temp_src' from heap to stack in mime_header_encode() 2008-01-19 17:40:26 +00:00
Stas Degteff
abb435a4ad Fix: translate charsets with any level, not only levels 1 & 2. A 256-bytes character map for UTF8 is violates FSC-54, but this document is obsoleted. Bugreport from Michiel van der Vlist 2:280/5555. 2008-01-19 17:28:14 +00:00