Commit Graph

383 Commits

Author SHA1 Message Date
Stas Degteff
3ebbe6d352 Now Golded+ outputs errors of reading of a config in stderr instead stdout 2011-02-13 13:21:15 +00:00
Stas Degteff
cd61304518 fix eof 2011-02-13 13:20:19 +00:00
Stas Degteff
d6cc923213 Explicit specify type for shift operations is required by MS VC. Patch from Max Vasilyev 2:5057/77 2010-12-20 03:02:00 +00:00
Stas Degteff
3cadf21783 Comment out operator-function with 64 bit integer. Bugreport from Igor Zakharoff 2:5030/2404 2010-11-16 21:39:58 +00:00
Stas Degteff
8799e5272e Prepare to bigendian compatibility: byte-ordered file operations 2010-11-11 17:59:40 +00:00
Stas Degteff
3f8f3ac232 OS/2 build fix for GNU C 3.5, patch from Max Vasilyev 2:5057/77 2010-04-29 22:29:11 +00:00
Stas Degteff
28b6562a17 Fix SunOS/x86 build. Patch from Maxim Sokolsky 2:5020/828.777 2010-03-31 20:25:08 +00:00
Stas Degteff
20c366b27e Comment logic of strxcpy() 2010-03-28 17:21:39 +00:00
Stas Degteff
401cc6fbc2 Fix MS Visual C build 2010-03-24 07:29:21 +00:00
Stas Degteff
8ca25dc8ec Fix DJGPP build. Thanks to Max Vasilyev 2:5057/77 2010-03-23 19:06:16 +00:00
Stas Degteff
44d07e5098 fix warning about string conversion 2010-03-23 09:07:13 +00:00
Stas Degteff
795bbef6e2 Fix DJGPP build 2010-03-23 09:06:37 +00:00
Stas Degteff
11d0b8bb0a Checks for NULL pointers and result of read() for Squish and Jam 2010-03-21 23:37:12 +00:00
Stas Degteff
7ccca29f1d Fix DJGPP build with GCC 4.4.2 2010-03-21 21:11:53 +00:00
Stas Degteff
a899251028 Use platform-specific "off_t" instead "long" for filelength() 2010-03-21 12:16:21 +00:00
Stas Degteff
81d492adc7 Remove duplicated (in gcmpall.h) defines 2010-03-11 13:49:17 +00:00
Stas Degteff
7ef0fb5810 compile with -DTEST to gcrcs16 binary for calculate CRC16 of string for CRC_ constants 2010-03-11 13:43:06 +00:00
Stas Degteff
36ea6c3ec4 More accuracy platform-compiler definitions 2010-03-05 14:28:42 +00:00
Stas Degteff
1a3d650ba0 More accuracy platform-compiler definitions 2010-03-05 14:17:48 +00:00
Stas Degteff
cd2a9c1fab Fix build for Dragonfly BSD 2010-03-05 13:24:06 +00:00
Stanislav Mekhanoshin
2944b6961b patch to build on MAC OS/X with make PLATFORM=osx 2009-12-16 13:18:20 +00:00
Stas Degteff
68e876f006 Optimize is_dir() (use root directory detection in *nix) 2009-11-30 18:37:07 +00:00
Stas Degteff
1247b0cf02 Add comments to functions 2009-11-29 12:20:28 +00:00
Stas Degteff
7c153e6642 Fix build for OpenBSD and NetBSD 2009-08-13 13:28:16 +00:00
Stas Degteff
5dedb119d8 More accuracy check end of line in nodelist. Thanks to Konstantin Kuzov 2:5019/40 2009-07-17 16:52:31 +00:00
Stas Degteff
53063818f8 Fix g++ 4.3.x build 2009-04-19 20:49:49 +00:00
Gremlin from Kremlin
5d1ed88a16 fix building with gcc 4.x 2009-04-04 09:51:04 +00:00
Stas Degteff
d8d1f8f781 fix (decrease) clock jitter. Patch from Nick Voronin 2:5030/1554 2009-03-20 21:41:50 +00:00
Stas Degteff
d53d9dbf5d Fix mingw build (GCC 3.4.4) 2008-11-16 23:36:12 +00:00
Stas Degteff
70fceefab0 Fix compilation for 64 platform 2008-03-01 04:24:49 +00:00
Stas Degteff
e1ffb097c6 Implement the display level of the charset (2nd parameter of 3rd line of .CHS. Test this please! 2007-10-29 21:33:07 +00:00
Stanislav Mekhanoshin
0d3a3b3ebc + Added new keyword to support background transparency
TRANSPARENTCOLORS Yes/No
  default is "No". If set to "Yes" BLACK background color will become
  transparent. Supported for ncurses compilation, otherwise do nothing.
2007-06-21 19:03:18 +00:00
Stas Degteff
4583e435b4 Workaround for GCC 3.4.5/gentoo bug: define GCFG_NO_CPUID 2007-02-24 14:23:03 +00:00
Stas Degteff
2a5db84c7e Comment from Alexey Kasanzew (2:5080/168.22) about cursor hiding in Windows 98 2007-02-22 11:12:32 +00:00
Stas Degteff
be3fcd9b7e Fix Win32 build 2007-02-22 11:10:55 +00:00
Stas Degteff
0dd33ddc32 get console charset in Win32 2007-02-21 13:47:10 +00:00
Stas Degteff
fe8fe1a91c Resolve conflict between defines (win32) 2007-02-05 08:23:18 +00:00
Stas Degteff
241a56a1d8 Fix russian locale detection 2007-02-05 06:53:13 +00:00
Stas Degteff
8a29497f7d Use CP437 as default charset instead IBMPC and LATIN-1; use CP850 as DOS-charset for IBMPC 2007-02-04 09:14:12 +00:00
Stas Degteff
6a2d2e5ef8 Use LANG enviroment variable to select DOS-charset in unixes 2007-02-04 08:31:32 +00:00
Ianos Gnatiuc
2c67afec51 Win32: Added @uptime template token and MS_UPTIME stringid to goldlang.cfg 2007-01-19 17:38:41 +00:00
Ianos Gnatiuc
57563ba911 Speed optimisations. 2007-01-11 22:26:06 +00:00
Ianos Gnatiuc
c58810fefe Fixed MSVC 6 build. 2007-01-11 19:12:35 +00:00
Ianos Gnatiuc
52e08f890e Fixed sorting rules for file and url lists. 2007-01-10 20:22:24 +00:00
Ianos Gnatiuc
8cdbb0f937 ExernUtil was broken. 2007-01-08 14:07:01 +00:00
Ianos Gnatiuc
3750658bf2 Refactoring. Added URLSCHEME config keyword (not active yet). 2007-01-08 09:48:18 +00:00
Ianos Gnatiuc
0d84e02cfa Memory leak detector for windows build. It is very slow! Use it only in debug mode. 2007-01-08 09:41:15 +00:00
Stas Degteff
f2e95150d0 Use macros instead literal constants 2007-01-02 12:21:13 +00:00
Stas Degteff
d205161648 Fix linking mode changes in previous fix 2006-12-27 12:29:34 +00:00
Stas Degteff
c8276f8ff6 Fix gcc 3.3.x build 2006-11-25 11:44:40 +00:00
Ianos Gnatiuc
ffcc586cd5 Fixed some memory leaks. 2006-11-25 07:26:20 +00:00
Stas Degteff
9ff0025e52 Add destructor to CMYSpellLand & CMSSpellLand 2006-11-23 14:30:25 +00:00
Stas Degteff
17fcd5fc35 Fix build on FreeBSD 2006-11-01 10:10:53 +00:00
Stas Degteff
b219e0e68c Fix MacOS-X 2006-10-04 19:17:40 +00:00
Ianos Gnatiuc
186a608d2c Added __cpuid function for MSVC6 2006-09-24 16:35:01 +00:00
Ianos Gnatiuc
7ee7d90171 Using __cpuid intrinsic on x86 and x64 windows 2006-09-24 15:27:44 +00:00
Ianos Gnatiuc
abc9111f96 Win64 build support 2006-09-24 14:26:09 +00:00
Ianos Gnatiuc
f56cfa40da Win32: Fixed often registry reading when MCI sounds are enabled. 2006-08-13 17:03:02 +00:00
Stas Degteff
b322344dae Fix DJGPP build 2006-05-14 18:37:26 +00:00
Ianos Gnatiuc
4df8f71029 Fixed g++ warnings. 2006-05-14 11:45:05 +00:00
Ianos Gnatiuc
866e5c2657 Fixed cygwin build. 2006-05-14 01:19:58 +00:00
Ianos Gnatiuc
40cd10db65 Refactoring! 2006-05-13 16:15:35 +00:00
Ianos Gnatiuc
056c5341d9 Fixed keyboard deadlock on win32 2006-05-07 18:42:35 +00:00
Ianos Gnatiuc
1cb9ab528b Refactoring! 2006-05-06 09:13:21 +00:00
Stas Degteff
a4284831c6 Fix GCC build 2006-04-27 09:22:18 +00:00
Ianos Gnatiuc
f2ece5007e Sorry, refactoring! 2006-04-26 17:06:23 +00:00
Ianos Gnatiuc
6cac338f3e Sorry, refactoring! 2006-04-24 16:38:44 +00:00
Ianos Gnatiuc
df0f689816 Fixing warnings and errors for MSVS 2005 compiler 2006-04-21 19:57:30 +00:00
Stas Degteff
25a6aac799 CGG build with hunspell 2006-04-10 19:04:04 +00:00
Ianos Gnatiuc
df425217eb Added HunSpell support 2006-04-08 04:30:32 +00:00
Stas Degteff
ccfde2d1ec Fix FreeBSD build: stpcpy isn't exists in FreeBSD 2006-04-05 17:45:12 +00:00
Ianos Gnatiuc
15e8cdd990 SCheckerDefLang now may be used in random system groups 2006-04-05 15:56:53 +00:00
Ianos Gnatiuc
f5971f8c6e Win32: MS Spell dictionary charset is identified in the proper way. Also, language ID is in human readable form now. 2006-04-05 15:56:04 +00:00
Ianos Gnatiuc
ef23aba6de Win32: Fixed addition of new words to MS Spell user dictionary 2006-03-27 18:39:27 +00:00
Ianos Gnatiuc
8be23dd403 - Fixed MSVC build and some cosmetic fixes/optimizations 2006-03-12 10:48:42 +00:00
Stas Degteff
0eece91200 GCC build with Myspell support (DJGPP) 2006-03-12 09:15:19 +00:00
Stas Degteff
df1529fd6a GCC build with Myspell support (mingw-cygwin) 2006-03-12 07:57:03 +00:00
Stas Degteff
dbeae2ff64 Change (optimize) '#if' expression 2006-03-11 22:57:08 +00:00
Ianos Gnatiuc
60ab82953c Fixed some bugs 2006-03-11 19:24:51 +00:00
Ianos Gnatiuc
8a041219e4 Added support for MySpell spellchecker 2006-03-11 17:04:06 +00:00
Stas Degteff
b52fa95643 Revert incorrect patch sequence 2006-02-24 12:29:21 +00:00
Ianos Gnatiuc
f883787d6b Fixed macro redefinition 2006-02-24 10:03:55 +00:00
Ianos Gnatiuc
5fb7f95cb8 Fixed g++ std::string incompatibility 2006-02-24 08:53:21 +00:00
Ianos Gnatiuc
823a7c8699 All buffers used with TokenXlat function now are of variable size 2006-02-20 21:44:10 +00:00
Stas Degteff
3c82e53d5f Fix *nix builds 2006-02-18 14:06:59 +00:00
Ianos Gnatiuc
cead5992ee DispSoftCR now may be used in random system groups. Changed DispSoftCR and UseSoftCrxLat keywords global defaults. 2006-02-04 18:16:51 +00:00
Stanislav Mekhanoshin
5050e3eb8e Workaround for SunOS of conflict between system and local int8_t definitions.
System headers implies that char is signed by ABI and define the type as
`char' while GoldEd has to be compiled with -funsigned-char and defines it
as `signed char'. Thus we have conflict definition. At the same time goldlib
cannot be compiled with -fsigned-char.
2006-02-01 10:06:07 +00:00
Stanislav Mekhanoshin
cef676eec2 SUN Solaris support imroved 2006-01-27 13:04:36 +00:00
Stas Degteff
421a724a03 Fix *nix build 2006-01-21 16:12:31 +00:00
Stas Degteff
6854113d84 Replace macro __GOLD_SPELL__ with GCFG_NOSPELLDLL; DLL-speller allowed only for Win32; external cpellcheck program is disabled if DLL-speller is enabled 2006-01-21 00:57:09 +00:00
Stas Degteff
a9cfb10027 Fix garbage screen output on Linux 2006-01-20 11:55:12 +00:00
Ianos Gnatiuc
10f34e6765 Solving attribute constants definition conflicts 2006-01-20 00:15:05 +00:00
Stas Degteff
bcf87c8591 Fix DOS/DJGPP build 2006-01-19 21:33:24 +00:00
Ianos Gnatiuc
3350c0806e Replace all std::cout with internally defined macro 2006-01-17 17:47:35 +00:00
Ianos Gnatiuc
e3b8ef3ef9 Win9x: Fixed waiting for key pressing before area scanning 2006-01-15 09:06:02 +00:00
Stas Degteff
9b3a825e1c Success build Golded+ in MacOSX 2006-01-14 23:48:53 +00:00
Stas Degteff
ae3736fc28 Try to build Golded+ in MacOSX 2006-01-14 22:11:56 +00:00
Stas Degteff
66831e6a38 Fix unused variable definition 2006-01-14 22:11:32 +00:00
Stas Degteff
ffc0472dc6 remove unused variable definition 2006-01-14 21:06:37 +00:00
Stas Degteff
44bcc8b1a1 Try to build Golded+ in MacOSX 2006-01-14 20:50:53 +00:00