Commit Graph

498 Commits

Author SHA1 Message Date
Max Vasilyev
6d9bf382bd TZ offset in minutes for Synchronet, patch by Rob Swindell, 1:103/705 2016-02-01 14:29:17 +00:00
Semen Panevin
0daa950c4a Fix for better alt-backspace support in unix-like terminals, patch from Serguei E. Leontiev 2015-12-03 20:42:18 +00:00
Semen Panevin
1538ee7082 Better support of key modificators on Unix-like terminals, patch from Serguei E. Leontiev 2015-11-28 07:03:46 +00:00
Stas Degteff
4b33543f42 Attempt to fix collateral action of function LoadCharset() which called from schecker.Load(). Bugreport from Vladimir Fyodorov 2:50/15@fidonet 2012-05-15 17:02:39 +00:00
Stas Degteff
a6582b4f3c Fix clang build. Patch from Max Khon 2011-12-17 21:46:02 +00:00
Stas Degteff
8017245714 Improve diagnostic of crash 2011-10-19 23:31:31 +00:00
Stas Degteff
fdf4a3bea1 The conflict to standard function pow() in Visual Studio 2010 is eliminated. Patch from Max Vasilyev 2:5057/77 2011-04-10 06:26:02 +00:00
Semen Panevin
1ed82d8ca6 Fixed typo 2011-03-20 19:15:25 +00:00
Semen Panevin
47bccb26ed Fixed build 2011-03-20 19:07:00 +00:00
Stas Degteff
1d2b0ef698 Prepare to use system hunspell library. Patch from Semen Panevin 5025/121 2011-03-20 15:48:14 +00:00
Stas Degteff
9dfda10ada Describe last changes 2011-03-15 07:48:41 +00:00
Stas Degteff
1d9f8c3741 Declare global variable LOG in common header 2011-03-15 06:52:05 +00:00
Stas Degteff
48a1bf6e0b Prevent buffer overflows: 1 - Use dinamic arrays and std::string instead arrays created in stack, 2 - check pointers in parameters of functions 2011-03-15 06:50:50 +00:00
Stas Degteff
39bccb92ba Several dictionnaries may be defined for Spell checking feature. Patch from Semen Panevin 2:5025/121 2011-03-14 02:56:12 +00:00
Stas Degteff
ba101fcb7c License comments 2011-03-14 02:31:14 +00:00
Stas Degteff
5ee8951707 Fix usage own snprintf() and vsnprintf() 2011-03-05 00:32:23 +00:00
Stas Degteff
5a0e122d91 Fix format string 2011-03-02 13:43:56 +00:00
Stas Degteff
b06ac72a22 Fix DJGPP build 2011-03-02 12:42:07 +00:00
Stas Degteff
92626bd967 Fix DJGPP build (GCC 2.x). Bugreport from Max Vasilyev 2:5057/77 2011-03-02 08:54:12 +00:00
Stas Degteff
c90f069a9a Define HAVE_SNPRINTF, HAVE_VSNPRINTF, HAVE_STDARG_H at compile time (Fix DJGPP build) 2011-03-01 17:10:09 +00:00
Stas Degteff
84640ac97a Don't call close() for not associated file handle 2011-02-22 11:37:07 +00:00
Stas Degteff
acd96d47bc More accuracy checking result of MS VC _CRT _vsnprintf() 2011-02-22 09:38:30 +00:00
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
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
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
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
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
e09f554a2f Use common-use macro HAVE_VSNPRINTF and HAVE__VSNPRINTF instead G_HAS_VSNPRINTF 2011-02-20 00:08:06 +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
e3217ec9be Add comment 2011-02-19 02:08:41 +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
Stas Degteff
bfd77e1a19 New C++ version for PathCopy() 2011-02-17 23:00:49 +00:00
Stas Degteff
b7e669bf1e use strschg_environ() with control length of string 2011-02-17 22:59:54 +00:00
Stas Degteff
d0ea4b0d6c Additional checks in strschg_environ 2011-02-17 22:05:27 +00:00
Stas Degteff
0119f9a971 create 2nd strschg_environ(): one with control length of string, second without this check 2011-02-17 21:35:21 +00:00
Stas Degteff
75e84ece09 Add C++ version of the function GetFilesize() 2011-02-17 19:51:28 +00:00
Stas Degteff
08e43413cf Add C++ version of function StripBackslash() 2011-02-17 19:35:27 +00:00
Stas Degteff
13d2b4f059 Describe all operations of AddBackslash() 2011-02-17 19:09:22 +00:00