Commit Graph

1380 Commits

Author SHA1 Message Date
Stas Degteff
91e68866fc Check parameters for NULL and empty string. Workaround for MS VC _CRT exeptions 2011-02-22 09:36:32 +00:00
Stas Degteff
b00d33ed03 Fix build files for MS Visual C++ 2011-02-22 08:08:14 +00:00
Stas Degteff
cb9a56766d Fix MS VC build 2011-02-22 07:45:45 +00:00
Stas Degteff
b5027d74e0 Declare prototiyes of snprintf() and vsnprintf() for Ms Visual C 2011-02-22 07:24:19 +00:00
Stas Degteff
25f0b9c4bc Try to fix buffer overflow detection for Microsoft implementation of vsnprintf() 2011-02-22 00:49:01 +00:00
Stas Degteff
e59f2fc9f4 Change log messages about buffer overflow 2011-02-22 00:10:37 +00:00
Stas Degteff
7320f46dbe update reldate to 20110222 2011-02-22 00:08:23 +00:00
Stas Degteff
da0ca5e01e update sources date constant to 20110222 2011-02-22 00:08:22 +00:00
Stas Degteff
bed4391df4 New variant of gerrinfo() - output to log arbitrary message with file-line information 2011-02-22 00:08:17 +00:00
Stas Degteff
4ae22df357 fix: insert required va_end() call 2011-02-21 22:09:01 +00:00
Stas Degteff
6c0ee5823a Fix log messages 2011-02-21 22:01:54 +00:00
Stas Degteff
68c5b9a098 fix perv 2011-02-21 19:06:50 +00:00
Stas Degteff
6f305a0c7d Update notes about work 2011-02-21 17:09:40 +00:00
Stas Degteff
75a1a1f565 Rename Microsoft Visual Studio 6 makefile from golded.mak to gedwin.mak 2011-02-21 15:33:04 +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
dc33e90de0 Add comment about strftimei() 2011-02-21 13:09:11 +00:00
Stas Degteff
f7f092da62 Prevent potencial bug: use memmove() instead strcpy() for overlap source and destination 2011-02-21 13:08:04 +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
56894ccd39 Fix MS Visual Studio build 2011-02-21 01:00:20 +00:00
Stas Degteff
fab3943cf4 update reldate to 20110221 2011-02-21 00:53:51 +00:00
Stas Degteff
e17b17fe39 update sources date constant to 20110221 2011-02-21 00:53:50 +00:00
Stas Degteff
25fe21e8aa Fix makefile for MS Visual Studio 2011-02-21 00:53:45 +00:00
Stas Degteff
cccfeb5b1e update comment 2011-02-20 22:21:41 +00:00
Stas Degteff
6e221f4c52 workaround for implementation "speciality" in snprintf() and vsnprintf() from Microsoft 2011-02-20 21:30:47 +00:00
Stas Degteff
00d2ebd8c6 Fix gsprintf() logic 2011-02-20 20:41:48 +00:00
Stas Degteff
5e98926932 New preprocessor macroses for compiler verstion tests: __GNUC_LESS(maj,min), __GNUC_NOT_LESS(maj, min), __VISUAL_STUDIO_LESS(maj, min), __VISUAL_STUDIO_NOT_LESS(maj, min), __VISUAL_C_LESS(maj, min) and __VISUAL_C_NOT_LESS(maj, min) 2011-02-20 16:19:32 +00:00
Stas Degteff
a1c4eeeeb1 update reldate to 20110220 2011-02-20 00:08:10 +00:00
Stas Degteff
3a9a77e125 update sources date constant to 20110220 2011-02-20 00:08:09 +00:00
Stas Degteff
e09f554a2f Use common-use macro HAVE_VSNPRINTF and HAVE__VSNPRINTF instead G_HAS_VSNPRINTF 2011-02-20 00:08:06 +00:00
Stas Degteff
65d6e4d2e9 Add notework.rus into official binary archives 2011-02-19 22:36:34 +00:00
Stas Degteff
1cd0dad4d0 Fix ST_EDITSTATUS format in swedish language file 2011-02-19 22:17:42 +00:00
Stas Degteff
8211dab4a0 Fix ST_EDITSTATUS checking regexp 2011-02-19 22:16:02 +00:00
Stas Degteff
72293cb2b7 Update build files for Microsoft Visual Studio. Patch from Semen Panevin 2:5025/121 2011-02-19 21:06:40 +00:00
Stas Degteff
02a87e8e2e Fix MS VS 6.0 build, where string:clear() is not exist. Use one instanse of class string for all temporary strings 2011-02-19 20:14:58 +00:00
Stas Degteff
1f25fbac5f snprintf() and vsnprintf() for compilers without his 2011-02-19 18:46:06 +00:00
Stas Degteff
3e074d5127 Update master build file. 2011-02-19 18:45:27 +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
e3217ec9be Add comment 2011-02-19 02:08:41 +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
c4bdce3da8 Gentoo ebuild portage 2011-02-19 01:05:28 +00:00
Stas Degteff
54dee577c3 This directory contain an instructions for package managers of different OS. 2011-02-19 01:04:18 +00:00
Stas Degteff
f10cf25fa1 update reldate to 20110219 2011-02-19 00:56:25 +00:00
Stas Degteff
72a35862cc update sources date constant to 20110219 2011-02-19 00:56:24 +00:00
Stas Degteff
45304db292 Update compilation instruction 2011-02-18 23:42:24 +00:00
Stas Degteff
81cacdd48f Wrote header with comments about possible parameters for calling make 2011-02-18 22:30:49 +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
a809315916 GCUI: Golded+ Character-oriented User Interface library. 2011-02-18 19:46:02 +00:00