Commit Graph

5197 Commits

Author SHA1 Message Date
Przemyslaw Czerpak
5e79459116 2008-09-08 21:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/hashes.c
    ! fixed typo in hash cloning code which caused that references
      was copied to cloned array. Thanks to Mindaugas for example.
2008-09-08 19:37:49 +00:00
Viktor Szakats
cf8a578276 2008-09-08 02:08 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/transfrm.c
   * source/rtl/set.c
   * contrib/hbct/ctwin.c
   * contrib/hbct/token1.c
   * contrib/hbct/numat.c
     ! Fixed more MSVS 2008 -W4 warnings.

   * source/rtl/set.c
     * Formatting.
2008-09-08 00:18:24 +00:00
Viktor Szakats
fe2d52337b 2008-09-06 12:38 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/hbpcre/pcre.h
   * source/hbpcre/config.h
     + Upgraded PCRE lib to 7.8 release version.

   * contrib/hbct/token2.c
   * contrib/examples/pp/hbppcore.c
     * Minor formatting.
2008-09-06 10:39:48 +00:00
Viktor Szakats
3f1adf0012 2008-09-06 11:07 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_vc.bat
   * contrib/mtpl_vc.bat
     + Added -nologo to nmake.exe command line.

   * source/vm/memvars.c
   * source/rtl/scroll.c
   * source/rtl/diskspac.c
   * source/rtl/console.c
   * source/rtl/philes.c
   * source/rtl/oldclear.c
   * source/rtl/oldbox.c
   * source/rtl/cdpapi.c
   * source/rtl/setpos.c
   * source/rtl/errorapi.c
   * source/rtl/setcolor.c
   * source/rtl/philes53.c
   * source/rtl/setkey.c
   * source/rtl/disksphb.c
   * source/rtl/shadow.c
   * source/rtl/hbhex.c
   * source/rtl/setcurs.c
   * source/rtl/dates.c
   * source/rtl/gtwvt/gtwvt.c
   * source/rtl/hbinet.c
   * source/rtl/hbffind.c
   * source/rtl/filesys.c
   * contrib/hbct/screen2.c
   * contrib/hbct/screen1.c
   * contrib/hbnf/fttext.c
     ! Fixed more MSVS 2008 -W4 warnings (about 100 of them).

   * contrib/hbnf/fttext.c
     ! Fixed C++ compile error after recently 
       switching to Harbour API from Clipper one.
2008-09-06 09:11:45 +00:00
Viktor Szakats
f93ec8af2b 2008-09-05 20:34 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/debug/dbgentry.c
   * source/rtl/do.c
   * source/rtl/xhelp.c
   * contrib/xhb/freadlin.c
   * contrib/hbw32/w32_prn.c
   * contrib/rddads/ads1.c
   * contrib/hbgd/gdwrp.c
   * contrib/hbtip/encmthd.c
   * utils/hbdoc/hbdfrdln.c
   * utils/hbmake/hbmfrdln.c
     ! Fixed some more MSVS 2008 -W4 warnings.
2008-09-05 18:39:08 +00:00
Przemyslaw Czerpak
c9b7c20d6b 2008-09-05 15:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rdd/dbffpt/dbffpt1.c
    ! fixed GPF introduced by today MSVC warning cleanup
2008-09-05 13:59:19 +00:00
Miguel Angel Marchuet Frutos
4d67360c09 * source/rtl/hbinet.c
! Fixed return value of HB_INETGETSNDBUFSIZE
2008-09-05 12:01:56 +00:00
Viktor Szakats
d21af17b6d 2008-09-05 12:01 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/common/hbver.c
     ! Version detection fixed for __DMC__
       [TOMERGE 1.0.1]

   * contrib/mtpl_gcc.mak
     % One unnecessary C -I option deleted.
       [TOMERGE 1.0.1]

   - contrib/hbsqlit2
   + contrib/examples/hbsqlit2
   * doc/whatsnew.txt
     * Moved hbsqlit2 to examples.
       [TOMERGE 1.0.1]

   * contrib/examples/hbsqlit2/Makefile
   * contrib/examples/hbsqlit2/make_b32.bat
   * contrib/examples/hbsqlit2/make_gcc.sh
   * contrib/examples/hbsqlit2/make_vc.bat
   * contrib/examples/hbsqlit2/common.mak
   * contrib/examples/hbsqlit2/tests/bld_b32.bat
   * contrib/examples/hbsqlit2/tests/bld_vc.bat
     * Modified make files to work from the new location.
     * Location of sqlite2 headers can be specified by HB_INC_SQLITE2.
     ; Notice that sqlite2 lib itself should now be build separately.
       [TOMERGE 1.0.1]
2008-09-05 10:04:58 +00:00
Viktor Szakats
33f0a43bfb 2008-09-05 11:12 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/mtpl_vc.mak
     - Removed recently (and mistakenly) added unnecessary option.
       [TOMERGE 1.0.1]

   * source/macro/macro.y
     - Removed old comment, other part synced with harbour.y.
       [TOMERGE 1.0.1]

   * source/rdd/dbffpt/dbffpt1.c
     ! Fixed MSVC -W4 potentially unused var warnings.
       [TOMERGE 1.0.1]

   * contrib/Makefile
   * contrib/make_b32_all.bat
   * contrib/make_gcc_all.sh
   * contrib/make_vc_all.bat
     - Removed (commented) references to hbsqlit2.
       hbsqlit2 is broken due to foreign code problems.
       It will be converted to use separately compiled 
       sqlite2 library. Pls use hbsqlit3 as a replacement.
       [TOMERGE 1.0.1]

   - contrib/hbsqlit2/vdbeaux.c
   - contrib/hbsqlit2/build.c
   - contrib/hbsqlit2/vdbeInt.h
   - contrib/hbsqlit2/opcodes.h
   - contrib/hbsqlit2/btree.c
   - contrib/hbsqlit2/delete.c
   - contrib/hbsqlit2/printf.c
   - contrib/hbsqlit2/trigger.c
   - contrib/hbsqlit2/attach.c
   - contrib/hbsqlit2/btree.h
   - contrib/hbsqlit2/sqlite.h
   - contrib/hbsqlit2/pragma.c
   - contrib/hbsqlit2/config.h
   - contrib/hbsqlit2/util.c
   - contrib/hbsqlit2/select.c
   - contrib/hbsqlit2/os.c
   - contrib/hbsqlit2/hash.c
   - contrib/hbsqlit2/os.h
   - contrib/hbsqlit2/hash.h
   - contrib/hbsqlit2/tokenize.c
   - contrib/hbsqlit2/pager.c
   - contrib/hbsqlit2/vacuum.c
   - contrib/hbsqlit2/auth.c
   - contrib/hbsqlit2/pager.h
   - contrib/hbsqlit2/insert.c
   - contrib/hbsqlit2/copy.c
   - contrib/hbsqlit2/parse.c
   - contrib/hbsqlit2/where.c
   - contrib/hbsqlit2/date.c
   - contrib/hbsqlit2/expr.c
   - contrib/hbsqlit2/parse.h
   - contrib/hbsqlit2/LICENSE.txt
   - contrib/hbsqlit2/random.c
   - contrib/hbsqlit2/vdbe.c
   - contrib/hbsqlit2/sqliteInt.h
   - contrib/hbsqlit2/update.c
   - contrib/hbsqlit2/main.c
   - contrib/hbsqlit2/btree_rb.c
   - contrib/hbsqlit2/vdbe.h
   - contrib/hbsqlit2/table.c
   - contrib/hbsqlit2/func.c
   - contrib/hbsqlit2/opcodes.c
   - contrib/hbsqlit2/encode.c
     - Removed foreign code.
       [TOMERGE 1.0.1]
2008-09-05 09:15:12 +00:00
Przemyslaw Czerpak
cb7c6e7273 2008-09-04 19:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rdd/dbfntx/dbfntx1.c
    ! fixed typo in previous commit
2008-09-04 17:30:25 +00:00
Przemyslaw Czerpak
767e964c92 2008-09-04 19:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rdd/dbfntx/dbfntx1.c
  * harbour/source/rdd/dbfcdx/dbfcdx1.c
    ! fixed dirty index reading, thx Miguel for bug report

  * harbour/source/compiler/hbmain.c
    * removed old comment and hack
2008-09-04 17:09:14 +00:00
Viktor Szakats
1e6b733289 2008-09-04 09:43 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_vc.mak
   * contrib/mtpl_vc.mak
     + -w34701 VC flag added to enabled warning 4701 (uninitialized vars) on -W3 level.
     % -FD VC flag removed. This is only needed for IDEs.
     % -Gs VC flag moved to the common section.
     % VC flags synced in contrib with core.
     + TOFIX added for WinCE command line. It's full of stuff which is _probably_ not needed.
     + NOTE added about MSDN page explaining VC switches.
     ; NOTE: -W4 and -Wp64 are recommended for MSVC.
     ; TOFIX: There are still a few uninit vars warnings:
              harboury.c(7226) : warning C4701: potentially uninitialized local variable 'hb_complval' used
              macroy.c(3095) : warning C4701: potentially uninitialized local variable 'hb_macrolval' used
              dbffpt1.c(2671) : warning C4701: potentially uninitialized local variable 'ulType' used
              dbffpt1.c(2614) : warning C4701: potentially uninitialized local variable 'ulSize' used
              dbffpt1.c(3073) : warning C4701: potentially uninitialized local variable 'ulOldSize' used
              dbffpt1.c(3083) : warning C4701: potentially uninitialized local variable 'ulBlock' used
              dbffpt1.c(3652) : warning C4701: potentially uninitialized local variable 'pBlock' used

   * source/rdd/workarea.c
     ! Fixed DBI_POSITIONED value returned.

   * include/hbsetup.h
   * source/vm/pvalue.c
   * source/rtl/fserror.c
   * source/rtl/accept.c
   * source/rtl/descend.c
   * source/rtl/inkey.c
   * source/rtl/dates.c
   * source/rtl/fkmax.c
   * source/rtl/natmsg.c
   * source/rtl/hbinet.c
   * source/rtl/dates.c
     ! Fixed some MSVS2008 -W4 warnings (we use -W3 as the default).
     ; NOTE: There is a lot more of these.

   * source/rtl/dates.c
     * Formatting.
2008-09-04 13:28:49 +00:00
Viktor Szakats
77a782874f 2008-09-03 23:06 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbziparc/hbziparc.prg
     ! Fix to one of the rarely used function names.

   * contrib/gtalleg/gtalleg.c
   * contrib/hbw32/dllcall.c
   * contrib/hbcurl/hbcurl.c
   * contrib/hbfimage/fi_winfu.c
   * contrib/hbfimage/fi_wrp.c
   * source/vm/memvars.c
   * source/rtl/gtwin/gtwin.c
   * source/rtl/math.c
   * source/rtl/gtclip.c
   * source/rtl/fstemp.c
   * source/rtl/is.c
   * source/rtl/xsavescr.c
   * source/rtl/fkmax.c
   * source/rtl/langapi.c
   * source/rtl/hbrandom.c
   * source/rtl/hbinet.c
   * source/rtl/hbffind.c
     * Minor formatting, code style/format cleanup (!=/== NULL mostly).

   * source/compiler/genc.c
     * Minor; empty line added to .c output.
2008-09-03 21:32:25 +00:00
Viktor Szakats
e8006b26e7 2008-09-01 09:42 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbziparch/hbziparc.h
   * contrib/hbziparch/hbziparc.c
   * contrib/hbziparch/hbzipnew.cpp
   * contrib/hbziparch/hbxdirec.c
     % Cleanups: Unused headers, types, one #define, 
       one BCC582 warning, one Linux/GCC/MinGW #ifdef oddness.
     ; NOTE: Need to test this on Linux.

   * utils/hbmake/hbmake.prg
     ; Applied cleanup and fix patch from Bill Robertson:
     ! LIBFILES -> HBLIBS
       EXTERNLIB -> CONTRIBLIB
       EXTLIBFILES -> CONTRIBLIBS
     * ALLLIB = $(USERLIBS) $(LIBFILES) ... ->
       ALLLIB = $(USERLIBS) $(CONTRIBLIBS) $(HBLIBS) ...
     % Removed CONTRIBLIB = YES from makefile output as it did nothing.
     % Combined two ShowHelp() secs into one and put together 
       with ShowCredits() at top of program.
     % Simplied Flag checks somewhat but it's still awkward. I fixed 
       a mingw bug where a flag was set to .t. in one place and .f. 
       later because of inconsistent use of letters, capitals/lower, etc. 
       Still lots of checking for lower(...), upper(...), etc. of the 
       command-line params.
     * Changed Help screen to reflect current program options better.
     * Made some alert message a little clearer and minor formatting.
     ! Initalized s_nMakeFileHandle to F_ERROR and reset it to F_ERROR 
       whenever the file was closed. Didn't seem to be a current problem, 
       just good practice.

   * utils/hbmake/hbmake.prg
     * Removed separate /credits switch and added content to 
       main help screen.
     % Removed a few CLS commands from command-line orientated 
       places.
     % Removed -elx and -ex from help screen (as these are the 
       same as -el and -e). They are still accepted though.

   * source/compiler/hbusage.c
     + Added Bill Robertson to credits list.
2008-09-01 08:18:39 +00:00
Viktor Szakats
edc7abc792 2008-08-31 10:53 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbole/oleauto.prg
   * contrib/hbw32/w32_tole.prg
     * MessageBox() calls converted to Alert()s.
       A #translate added for the to be reconverted to MessageBox(), 
       since I'm not sure why should we use MessageBox()es here?
       IMO it'd be better to throw RTEs, or handle these cases more 
       "natively". Opinions?

   * contrib/hbole/oleauto.prg
     + Modified to generate RTE when the object could not 
       be created, so that it works more like OLE in hbw32.lib, 
       and the test doesn't crash in this case. I don't have 
       Excel, and this is what I could fix without it.

   * contrib/hbw32/w32_tole.prg
   * contrib/hbw32/w32_ole.c
     ! Typos, minor formatting.

   * common.mak
   * source/hbpcre/Makefile
   * source/hbpcre/cnv_hb2o.bat
   * source/hbpcre/cnv_o2hb.bat
   - source/hbpcre/ucpinter.h
   - source/hbpcre/ucptable.h
   - source/hbpcre/pcrefind.c
   + source/hbpcre/pcreucd.c
   * source/hbpcre/pcrevutf.c
   * source/hbpcre/pcre.h
   * source/hbpcre/pcreconf.c
   * source/hbpcre/pcreinfo.c
   * source/hbpcre/pcremktb.c
   * source/hbpcre/config.h
   * source/hbpcre/pcrenewl.c
   * source/hbpcre/pcreoutf.c
   * source/hbpcre/chartabs.c
   * source/hbpcre/pcrerefc.c
   * source/hbpcre/pcreget.c
   * source/hbpcre/pcrefinf.c
   * source/hbpcre/pcretryf.c
   * source/hbpcre/pcreexec.c
   * source/hbpcre/pcreinal.h
   * source/hbpcre/pcretabs.c
   * source/hbpcre/pcredfa.c
   * source/hbpcre/pcrever.c
   * source/hbpcre/pcrecomp.c
   * source/hbpcre/pcrexcls.c
   * source/hbpcre/pcrestud.c
   * source/hbpcre/ucp.h
     + Updated to PCRE 7.8 RC1
       (will be updated to final pretty soon)
       This version contains the small patches we 
       so far had locally in Harbour. Thanks to 
       Philip Hazel for applying them.
2008-08-31 09:07:57 +00:00
Viktor Szakats
ffdf363493 2008-08-30 11:58 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbsetup.ch
     + Added HB_LEGACY_OFF macro to turn off HB_LEGACY_LEVEL.

   * utils/hbmake/hbmake.prg
     * Two minor cleanups.

   * doc/en/hb_apiit.txt
   * source/vm/eval.c
     * PEVALINFO -> PHB_EVALINFO
     * EVALINFO -> HB_EVALINFO

   * contrib/hbct/ctwin.c
   * contrib/hbct/keyset.c
   * contrib/hbct/misc3.c
   * contrib/hbnf/numlock.c
   * contrib/hbnf/shift.c
   * contrib/hbnf/alt.c
   * contrib/hbnf/ctrl.c
   * contrib/hbnf/caplock.c
     * GTI_* -> HB_GTI_*

   * source/rtl/spfiles.c
     * FHANDLE -> HB_FHANDLE
2008-08-30 10:21:22 +00:00
Przemyslaw Czerpak
0b684e3379 2008-08-29 11:29 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcompdf.h
  * harbour/source/compiler/hbmain.c
  * harbour/source/compiler/harbour.yyc
  * harbour/source/compiler/harbour.y
    ! removed all classes and functions static declarations
    ! fixed cleanup code for classes and functions declarations
2008-08-29 09:30:15 +00:00
Viktor Szakats
dd64b568d8 2008-08-29 10:40 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
+ config/w32/mingwce.cf
   - config/w32/cemgw.cf
   * harbour-ce-spec
   * make_xmingwce.sh
   * bin/hb-mkslib.sh
   * bin/hb-func.sh
   * bin/postinst.sh
   * source/vm/Makefile
     * Renamed 'cemgw' HB_COMPILER name to 'mingwce' 
       for consitency.
2008-08-29 08:40:30 +00:00
Viktor Szakats
b7b03486a4 2008-08-29 10:35 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* ChangeLog
     ! Minor typo.

   * utils/hbmake/hbmake.prg
     % Minor cleanup.

   * source/common/hbver.c
     * Further cleanup of constant usage.
     + Changed Borland to CodeGear to BCC5.9 and above.
       (borrowed from xhb / Andi Jahja)

   * config/w32/gcc.cf
   * config/w32/dm.cf
     * contrib syslibs moved to separate lines.
2008-08-29 08:37:04 +00:00
Viktor Szakats
826f64a0c3 2008-08-28 20:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/gtchrmap.c
   * source/rtl/hbgtcore.c
   * source/vm/hvm.c
     + Added three TOFIXes regarding namespace violations.
       s_pszLinkedMain        -> hb_vm_pszLinkedMain
       s_defaultGT            -> hb_gt_szNameDefault
       s_szDefaultCharMapFile -> hb_gt_szCharMapFileDefault
       TOFIX: These should be fixed in 1.1 (or maybe even in 
              1.0.1 if this isn't such a big problem for 3rd 
              parties).
2008-08-28 18:01:20 +00:00
Viktor Szakats
2c93cfbd44 minor correction 2008-08-28 10:27:21 +00:00
Viktor Szakats
be82d17256 2008-08-28 12:20 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_vc.bat
     * Updated usage text.

   * include/hbwince.h
     ! Fix for Pelles C 5.0 in WinCE/ARM mode.

   * include/hbsetup.h
     + Detecting Pelles C 5.0 in ARM mode as HB_WINCE.

   * ChangeLog
     - Removed some advices not valid anymore from previous entry.

   * contrib/mtpl_b32.bat
   * contrib/mtpl_vc.bat
     * Synced with /make_*.bat so that the name of the .mak 
       file is now hard-wired instead of being HB_CC_NAME dependent.
       This way contribs may be built for WinCE in the future 
       (this still needs adding WinCE support to mtpl_vc.mak).

   * contrib/mtpl_gcc.sh
     + Darwin autodetection was missing.

   * contrib/hbfimage/fi_winfu.c
     ! Added CBM_INIT definition for Pellec C in WinCE mode.

   * source/rtl/gtclip.c
     + Added GMEM_MOVEABLE definiction for Pelles C in WinCE mode.

   + config/w32/poccce.cf
     + Added Pellec C WinCE make file.

   + config/w32/msvcce.cf
     + Added WinCE GNU make file for MSVC. Untested, probably not working, 
       this is just a small step to make the GNU-make equal in feature 
       with the non-GNU make one.

   * config/w32/bcc32.cf
     * Minor sync of C options with non-GNU make file.

   * config/w32/msvc.cf
     * Attempt to sync C options with non-GNU make file.

   * contrib/hbfbird/firebird.c
     * Minor formatting.

   ; NOTE1: For better consistency I'd like to rename GNU make compiler names
            'mingw32' to 'mingw' (they've dropped '32' long ago), and 
            'cemgw' to 'mingwce'.
   ; NOTE2: Pelles C WinCE build still generates following errors:
       POLINK: error: Unresolved external symbol 'GetModuleFileNameA'.
       POLINK: error: Unresolved external symbol 'RegOpenKeyExA'.
       ../../math.c(605): error #3120: [asm] Symbol 'inf' is undefined.
       contrib\gtwvg\gtwvg.h(78): fatal error #1035: Can't find include file <olectl.h>.
       ../../ctmath2.c(324): error #3120: [asm] Symbol 'inf' is undefined.
       ../../win32.c(70): error #2048: Undeclared identifier 'CS_OWNDC'.
       ../../win32.c(75): error #2048: Undeclared identifier 'IDI_APPLICATION'.
       ../../win32.c(75): error #2140: Type error in argument 2 to 'LoadIconA'; found 'int', expected 'const char *'.
       ../../win32.c(181): error #2048: Undeclared identifier 'MFS_DISABLED'.
       ../../win32.c(194): warning #2027: Missing prototype for 'InsertMenuItem'.
       ../../win32.c(219): warning #2027: Missing prototype for 'SetMenu'.
       ../../odbc.c(94): fatal error #1035: Can't find include file <sql.h>.
       contrib\hbsqlit3\sqlite3\sqlite3.c(9936): warning #2027: Missing prototype for 'localtime'. [ ... ]
       ../../w32_ole.c(403): error #2152: Unknown field 'pllVal' of 'union (no name)'.
       ../../w32_ole.c(403): error #2168: Operands of = have incompatible types 'int' and 'long long int *'.
       ../../w32_ole.c(408): error #2152: Unknown field 'llVal' of 'union (no name)'.
       ../../w32_ole.c(786): error #2152: Unknown field 'pllVal' of 'union (no name)'.
       ../../w32_ole.c(786): error #2144: Type error: pointer expected.
       ../../w32_ole.c(792): error #2152: Unknown field 'llVal' of 'union (no name)'.
       ../../hbsyslog.c(31): error #2140: Type error in argument 2 to 'RegisterEventSourceW'; found 'const char *', expected 'const wchar_t *'.
       ../../hbsyslog.c(97): error #2140: Type error in argument 8 to 'ReportEventW'; found 'const char * *', expected 'const wchar_t * *'.
       ../../firebird.c(448): error #2149: Undefined size for 'times' with type '(incomplete) struct tm'.
       ../../firebird.c(479): error #2152: Unknown field 'tm_year' of '(incomplete) struct tm'.
       ../../firebird.c(480): error #2152: Unknown field 'tm_mon' of '(incomplete) struct tm'.
       ../../firebird.c(481): error #2152: Unknown field 'tm_mday' of '(incomplete) struct tm'.
       ../../firebird.c(482): error #2152: Unknown field 'tm_hour' of '(incomplete) struct tm'.
       ../../firebird.c(483): error #2152: Unknown field 'tm_min' of '(incomplete) struct tm'.
       ../../firebird.c(484): error #2152: Unknown field 'tm_sec' of '(incomplete) struct tm'.
       ../../firebird.c(493): error #2152: Unknown field 'tm_year' of '(incomplete) struct tm'.
       ../../firebird.c(493): error #2152: Unknown field 'tm_mon' of '(incomplete) struct tm'.
       ../../firebird.c(493): error #2152: Unknown field 'tm_mday' of '(incomplete) struct tm'.
       ../../firebird.c(502): error #2152: Unknown field 'tm_hour' of '(incomplete) struct tm'.
       ../../firebird.c(503): error #2152: Unknown field 'tm_min' of '(incomplete) struct tm'.
       ../../firebird.c(504): error #2152: Unknown field 'tm_sec' of '(incomplete) struct tm'.
       ../../fi_winfu.c(97): warning #2027: Missing prototype for 'CreateDIBitmap'.
       ../../fi_winfu.c(98): error #2048: Undeclared identifier 'CBM_INIT'.
       ../../fi_winfu.c(99): error #2168: Operands of = have incompatible types 'HBITMAP' and 'int'.
       ../../fi_winfu.c(150): warning #2027: Missing prototype for 'GetDIBits'.
       [ lots of them with hbmysql ]
2008-08-28 10:22:54 +00:00
Viktor Szakats
19ca803a4d 2008-08-27 12:05 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/compiler/hbcomp.c
     * Changed the default -gc generation mode for real.
2008-08-27 10:06:20 +00:00
Viktor Szakats
b4a932d5e5 One changed missed from previous modification. 2008-08-27 09:55:23 +00:00
Viktor Szakats
de16b749e3 2008-08-27 11:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/examples/rdddbt/dbfdbt1.c
   * contrib/gtalleg/gtalleg.c
   * contrib/gtwvg/gtwvg.c
   * contrib/hbbmcdx/bmdbfcdx.c
   * contrib/hbbtree/hb_btree.c
   * contrib/hbct/ctwin.c
   * contrib/rddads/ads1.c
   * source/codepage/cp_tpl.c
   * source/codepage/cpbg866.c
   * source/codepage/cpbgiso.c
   * source/codepage/cpbgmik.c
   * source/codepage/cpbgwin.c
   * source/codepage/cpcs852.c
   * source/codepage/cpcsiso.c
   * source/codepage/cpcskam.c
   * source/codepage/cpcswin.c
   * source/codepage/cpde850.c
   * source/codepage/cpdeiso.c
   * source/codepage/cpdewin.c
   * source/codepage/cpel737.c
   * source/codepage/cpelwin.c
   * source/codepage/cpes850.c
   * source/codepage/cpesmwin.c
   * source/codepage/cpeswin.c
   * source/codepage/cpfr850.c
   * source/codepage/cphr1250.c
   * source/codepage/cphr437.c
   * source/codepage/cphr852.c
   * source/codepage/cphu852.c
   * source/codepage/cphu852s.c
   * source/codepage/cphuiso.c
   * source/codepage/cphuisos.c
   * source/codepage/cphuwin.c
   * source/codepage/cphuwins.c
   * source/codepage/cpit437.c
   * source/codepage/cpit850.c
   * source/codepage/cpitisb.c
   * source/codepage/cpitiso.c
   * source/codepage/cpltwin.c
   * source/codepage/cppl852.c
   * source/codepage/cppliso.c
   * source/codepage/cpplmaz.c
   * source/codepage/cpplwin.c
   * source/codepage/cppt850.c
   * source/codepage/cpptiso.c
   * source/codepage/cpru866.c
   * source/codepage/cpruiso.c
   * source/codepage/cprukoi.c
   * source/codepage/cpruwin.c
   * source/codepage/cpsk852.c
   * source/codepage/cpskiso.c
   * source/codepage/cpskkam.c
   * source/codepage/cpskwin.c
   * source/codepage/cpsl437.c
   * source/codepage/cpsl852.c
   * source/codepage/cpsliso.c
   * source/codepage/cpslwin.c
   * source/codepage/cpsrwin.c
   * source/codepage/cpsv850.c
   * source/codepage/cpsvclip.c
   * source/codepage/cpsvwin.c
   * source/codepage/cptr857.c
   * source/codepage/cptrwin.c
   * source/codepage/cpua866.c
   * source/codepage/cpuakoi.c
   * source/codepage/cpuawin.c
   * source/lang/msg_tpl.c
   * source/lang/msgbe866.c
   * source/lang/msgbewin.c
   * source/lang/msgbg866.c
   * source/lang/msgbgiso.c
   * source/lang/msgbgmik.c
   * source/lang/msgbgwin.c
   * source/lang/msgca.c
   * source/lang/msgcs852.c
   * source/lang/msgcsiso.c
   * source/lang/msgcskam.c
   * source/lang/msgcswin.c
   * source/lang/msgde.c
   * source/lang/msgdewin.c
   * source/lang/msgel.c
   * source/lang/msgelwin.c
   * source/lang/msgeo.c
   * source/lang/msges.c
   * source/lang/msgeswin.c
   * source/lang/msgeu.c
   * source/lang/msgfr.c
   * source/lang/msggl.c
   * source/lang/msghe862.c
   * source/lang/msghewin.c
   * source/lang/msghr437.c
   * source/lang/msghr852.c
   * source/lang/msghriso.c
   * source/lang/msghrwin.c
   * source/lang/msghu852.c
   * source/lang/msghucwi.c
   * source/lang/msghuiso.c
   * source/lang/msghuwin.c
   * source/lang/msgid.c
   * source/lang/msgis850.c
   * source/lang/msgit.c
   * source/lang/msgko.c
   * source/lang/msgltwin.c
   * source/lang/msgnl.c
   * source/lang/msgpl852.c
   * source/lang/msgpliso.c
   * source/lang/msgplmaz.c
   * source/lang/msgplwin.c
   * source/lang/msgpt.c
   * source/lang/msgro.c
   * source/lang/msgru866.c
   * source/lang/msgrukoi.c
   * source/lang/msgruwin.c
   * source/lang/msgsk852.c
   * source/lang/msgskiso.c
   * source/lang/msgskkam.c
   * source/lang/msgskwin.c
   * source/lang/msgsl437.c
   * source/lang/msgsl852.c
   * source/lang/msgsliso.c
   * source/lang/msgslwin.c
   * source/lang/msgsr852.c
   * source/lang/msgsriso.c
   * source/lang/msgsrwin.c
   * source/lang/msgtr857.c
   * source/lang/msgtrwin.c
   * source/lang/msgua866.c
   * source/lang/msguakoi.c
   * source/lang/msguawin.c
   * source/lang/msgzhb5.c
   * source/lang/msgzhgb.c
   * source/pp/pplib3.c
   * source/rdd/dbf1.c
   * source/rdd/dbfcdx/dbfcdx1.c
   * source/rdd/dbffpt/dbffpt1.c
   * source/rdd/dbfntx/dbfntx1.c
   * source/rdd/delim1.c
   * source/rdd/sdf1.c
   * source/rtl/gt_tpl/gt_tpl.c
   * source/rtl/gtcgi/gtcgi.c
   * source/rtl/gtcrs/gtcrs.c
   * source/rtl/gtdos/gtdos.c
   * source/rtl/gtgui/gtdef.c
   * source/rtl/gtgui/gtgui.c
   * source/rtl/gtos2/gtos2.c
   * source/rtl/gtpca/gtpca.c
   * source/rtl/gtsln/gtsln.c
   * source/rtl/gtstd/gtstd.c
   * source/rtl/gttrm/gttrm.c
   * source/rtl/gtxwc/gtxwc.c
     ! Fix for MSVC 64-bit C mode startup procedure.
2008-08-27 09:38:54 +00:00
Viktor Szakats
e433d7ff4b 2008-08-27 02:47 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/filesys.c
     ! Disabled hb_fsPOpen() body for __CYGWIN__.
       This way __CYGWIN__ compiles cleanly.
       (although I'm not sure how important Cygwin support is)
2008-08-27 00:48:03 +00:00
Viktor Szakats
d741d2d955 Restored previous 'minor formatting's 2008-08-26 23:48:47 +00:00
Viktor Szakats
59310e6115 2008-08-27 01:46 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/hbinet.c
     ! Bad workaround for the '__WSAFDIsSet unresolved' problem 
       in Pelles C 5.00.13 AMD64 mode, to make final executables 
       link at all. Some hbinet.c features (or the whole module) 
       won't properly work though.
       This possible bug has been reported on the Pellec C forums:
       http://forum.pellesc.de/index.php?topic=2590.0
2008-08-26 23:46:58 +00:00
Viktor Szakats
fd4c743825 2008-08-27 00:54 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbinit.h
   * source/rtl/gtwin/gtwin.c
   * source/rtl/gtwvt/gtwvt.c
   * source/compiler/genc.c
     + Enabled init functions for MSVC 64-bit in C mode.
     ; NOTE: You get the idea, please comment. If there is 
             no simpler/easier/shorter way to achieve this, 
             I'll update the rest 150 files, too.
2008-08-26 23:03:56 +00:00
Viktor Szakats
d2f974642f 2008-08-26 22:13 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/common/hbver.c
     * hb_verCompiler() buffer size cleanup.

   * source/rtl/hbinet.c
     * Minor formatting.

   * utils/hbmake/hbmake.prg
     * PRG -> .prg on some screen messages.

   * config/w32/xcc.cf
   * config/w32/pocc.cf
     + Added ws2_32.lib. Didn't solve the problem, but 
       as per MS docs of some functions we use, we should 
       use this instead of wsock2 (everywhere actually) 
       [and ws2 instead of winsock for WinCE]. Someone pls 
       correct me if I'm wrong, or if there is any reason 
       we're using both and/or the older one?

   * config/w32/pocc.cf
     - Removed C switch -Zx (Enable Pelles C extensions).
       We don't need this.
2008-08-26 20:15:41 +00:00
Viktor Szakats
2cce45bb1c 2008-08-26 15:14 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/common/hbver.c
     + Show bitness for all (non-DJGPP) compilers.
     ! Fixed to show "Windows Server 2003 / XP x64" when 
       Windows 5.2 is detected.
2008-08-26 13:15:04 +00:00
Viktor Szakats
c7200cdcf7 2008-08-26 13:24 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/compiler/hbmain.c
     ! Text casing fixed in some warning messages.
     ! Attempted to update hardcoded declarations for TGET methods.
       Some of the were removed, for some of them the parameter list 
       was updated to be in sync with current tget.prg.

   * contrib/gtalleg/gtalleg.c
   * contrib/gtwvg/gtwvg.c
   * contrib/hbbmcdx/bmdbfcdx.c
   * contrib/hbbmcdx/hbbmcdx.h
   * contrib/hbbtree/hb_btree.c
   * contrib/hbct/ctnet.c
   * contrib/hbct/ctstrfil.c
   * contrib/hbct/ctwin.c
   * contrib/hbcurl/hbcurl.c
   * contrib/hbgd/gdwrp.c
   * contrib/hbmzip/hbmzip.c
   * contrib/hbnf/fttext.c
   * contrib/hbtip/utils.c
   * contrib/xhb/freadlin.c
   * contrib/xhb/hbxml.c
   * contrib/xhb/hbxml.h
   * doc/codestyl.txt
   * doc/en/garbage.txt
   * doc/en/hb_apifs.txt
   * include/hbapigt.h
   * include/hbchksum.h
   * include/hbdbsort.h
   * include/hbgtcore.h
   * include/hbrddcdx.h
   * include/hbrdddbf.h
   * include/hbrdddel.h
   * include/hbrddntx.h
   * include/hbrddsdf.h
   * include/hbset.h
   * include/hbsxfunc.h
   * source/rdd/dbf1.c
   * source/rdd/dbfcdx/dbfcdx1.c
   * source/rdd/dbffpt/dbffpt1.c
   * source/rdd/dbfntx/dbfntx1.c
   * source/rdd/dbsql.c
   * source/rdd/hbsix/sxcompr.c
   * source/rdd/hbsix/sxsem.c
   * source/rdd/hsx/hsx.c
   * source/rtl/console.c
   * source/rtl/copyfile.c
   * source/rtl/fssize.c
   * source/rtl/fstemp.c
   * source/rtl/gt_tpl/gt_tpl.c
   * source/rtl/gtapi.c
   * source/rtl/gtcgi/gtcgi.c
   * source/rtl/gtcrs/gtcrs.c
   * source/rtl/gtdos/gtdos.c
   * source/rtl/gtos2/gtos2.c
   * source/rtl/gtpca/gtpca.c
   * source/rtl/gtsln/gtsln.c
   * source/rtl/gtstd/gtstd.c
   * source/rtl/gttrm/gttrm.c
   * source/rtl/gtwin/gtwin.c
   * source/rtl/gtwvt/gtwvt.c
   * source/rtl/gtxwc/gtxwc.c
   * source/rtl/hbgtcore.c
   * source/rtl/hbmd5.c
   * source/rtl/isprint.c
   * source/rtl/memofile.c
   * source/rtl/philes.c
   * source/rtl/set.c
   * source/vm/memvars.c
   * source/vm/runner.c
   * utils/hbdoc/hbdfrdln.c
   * utils/hbmake/hbmfrdln.c
     * FHANDLE -> HB_FHANDLE
     * hbct: HB_ITEM_PTR -> PHB_ITEM
2008-08-26 11:33:03 +00:00
Przemyslaw Czerpak
9768614ed1 2008-08-26 12:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/compiler/hbmain.c
    ! reset class and functions static declarations to avoid GPF
      when more then one file is compiled with -w3 switch
      NOTE: Whole this code will have to be removed and written
            from scratch
2008-08-26 10:50:29 +00:00
Przemyslaw Czerpak
15e1a4cf73 2008-08-26 11:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/compiler/hbmain.c
    ! fixed GPF when more then one file was compiled with -w3 switch
2008-08-26 09:57:45 +00:00
Viktor Szakats
0004a67873 2008-08-26 10:35 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
- source/rtl/gtalleg
   + contrib/gtalleg
   * TODO
   * doc/dirstruc.txt
   * include/hbgtcore.h
   * contrib/gtalleg/Makefile
   * contrib/gtalleg/make_b32.bat
   * contrib/gtalleg/make_vc.bat
   * contrib/gtalleg/make_gcc.sh
   * contrib/make_b32_all.bat
   * contrib/make_vc_all.bat
   * contrib/make_gcc_all.sh
   * contrib/Makefile
   * config/hpux/gcc.cf
   * config/hpux/global.cf
   * config/darwin/gcc.cf
   * config/darwin/global.cf
   * config/dos/global.cf
   * config/linux/gcc.cf
   * config/linux/global.cf
   * config/sunos/gcc.cf
   * config/sunos/global.cf
   * config/bsd/gcc.cf
   * config/bsd/global.cf
   * config/w32/global.cf
   * harbour-ce-spec
   * harbour-w32-spec
   * harbour.spec
     * GTALLEG moved to contrib to make it possible to build 
       using the non-GNU make system, also to align the build 
       process with other 3rd party package dependent parts 
       of Harbour.
       HB_INC_ALLEGRO or HB_DIR_ALLEGRO may be used to point 
       to Allegro package directory. This is generally necessary 
       on non-*nix systems.
     ; NOTE: Review and test build processes and modified files, 
             and unmodified, but potentially related files:
             bin/hb-func.sh
             make_gnu.sh
             make_rpm.sh
             make_rpmce.sh
             make_rpmw32.sh
2008-08-26 08:51:11 +00:00
Viktor Szakats
fae2a5f489 2008-08-26 02:43 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/xhb/hbcrypt.c
   * contrib/hbw32/tprinter.c
   * contrib/hbw32/w32_ole.c
   * contrib/hbw32/w32_prn.c
   * contrib/hbfbird/tests/testapi.c
   * contrib/hbziparch/hbziparc.c
   * contrib/hbziparch/hbzipnew.cpp
   * contrib/hbhpdf/harupdf.c
   * contrib/hbfimage/fi_winfu.c
   * contrib/hbfimage/fi_wrp.c
   * contrib/hbgf/hbgfw32/win32.c
   * contrib/hbgf/hbgfos2/os2pm.c
   * source/rtl/filesys.c
   * utils/hbtest/rt_miscc.c
     * // -> ANSI comments.
     ; NOTE: hbwhat32 and gtwvg remain with //.
2008-08-26 00:45:47 +00:00
Viktor Szakats
7eedaf89c6 2008-08-25 22:35 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbsetup.h
   * source/common/hbver.c
     - Removed HB_OS_MAC support. It was nothing more than a simple
       detection and a static version string, so we didn't lose much.
2008-08-25 20:36:31 +00:00
Przemyslaw Czerpak
d5b327f248 2008-08-25 20:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbw32/w32_ole.c
    * removed hack with malloc()/free() directly used to avoid
      memory leak reports - it's not necessary in Harbour.

  * harbour/contrib/hbfbird/firebird.c
  * harbour/contrib/examples/pp/hbppcore.c
    ! fixed buffer size calculation in hbstrnc*() functions

  * harbour/contrib/hbziparch/hbzipnew.cpp
    % use hb_strdup() instead of hb_xgrab()/hb_strncpy()

  * harbour/contrib/hbnf/getenvrn.c
    ! use hb_xgrab() instead of hb_xalloc() - the returned value
      was not checked and internal error is for sure better then
      GPF on NULL pointer

  * harbour/source/rdd/dbfntx/dbfntx1.c
    ! use memcpy() instead of hb_strncpy() to avoid problems when
      there is no place for tailing 0
2008-08-25 18:16:02 +00:00
Viktor Szakats
d90dfb210c 2008-08-25 19:49 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbsetup.h
     ! Fixed problem where Darwin autodetection went wrong 
       between 1.0.0rc2 -> 1.0.0.
     * HB_OS_DARWIN added to the HB_OS_UNIX detection list.
       (no functional difference, just makes it more clear.)
     % HB_OS_OS2_EMX removed. It was unused.

   * source/compiler/gencobj.c
   * include/hbsetup.h
     % Removed OS_DOS_COMPATIBLE.
       It's equivalent to !defined(HB_OS_UNIX_COMPATIBLE).
2008-08-25 18:04:02 +00:00
Viktor Szakats
7ecef08518 2008-08-25 18:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/common/hbver.c
     ! Fix to commit '2008-07-11 18:20 UTC+0200' which 
       effectively disabled Vista/2008 detection for 
       everything but MSVC (>1400) compilers.
2008-08-25 16:29:01 +00:00
Przemyslaw Czerpak
c9fde7451a 2008-08-25 16:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/macro.c
  * harbour/source/vm/hvm.c
    ! fixed _FIELD indirectly used as alias, f.e.:
         ? ("_FIELD")->NAME
      or:
         M->var := "_FIELD"
         ? ("&var")->NAME

  * harbour/include/hbclass.ch
  * harbour/include/common.ch
    * use a little bit simpler form for HB_SYMBOL_UNUSED()

  * harbour/contrib/hbw32/w32_ole.c
  * harbour/contrib/hbole/ole2.c
    ! fixed numeric to pointer casting
    * accept both pointer and numeric values as window handle
      for easier code migration
2008-08-25 14:02:59 +00:00
Viktor Szakats
d1b94f5e7e 2008-08-25 14:46 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/vm/cmdarg.c
     ! hb_hInstance, hb_hPrevInstance, s_iCmdShow, s_WinMainParam
       vars marked as 'static', hb_ prefix changed to s_.
       NOTE: This may pose a problem if some 3rd party code 
             was relying on the names or the fact that these 
             vars were exported by incident (since they were 
             not declared in any Harbour headers.)
             [INCOMPATIBLE]

   * contrib/hbwhat32/whtmain.c
     ! Removed WinMain() function and some global vars colliding 
       with some Harbour core ones.
     * HINSTANCE(), HPREVINSTANCE(), NCMDSHOW() functions now 
       use Harbour API calls to retrieve values.
2008-08-25 12:47:02 +00:00
Viktor Szakats
a4032c77b3 2008-08-25 14:12 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_vc.mak
   * make_vcce.mak
     % Cleaned list of system libraries for VC. winspool.lib 
       removed, the rest documented.
     * Syncing between VC and VCCE.
     ; NOTE: WinCE system lib list didn't get anything removed 
             (just added), but nevertheless pls test it.

   * ChangeLog
     * Some cleanups (regarding my entries).

   * source/pp/hbpp.c
     ! Comment typo.

   * source/rtl/gtclip.c
     ! Fixed for __CYGWIN__.

   * contrib/hbw32/dllcall.c
     ! Disabled asm parts for __CYGWIN__ to make it compile.

   * config/w32/gcc.cf
     ! Added missing system lib wsock32 for Cygwin.

   * config/w32/gcc.cf
   * config/w32/cemgw.cf
   * config/w32/mingw32.cf
   * config/w32/owatcom.cf
   * config/w32/pocc.cf
   * config/w32/watcom.cf
   * config/w32/xcc.cf
     * Attempt to sort out system libs needed for core from 
       those needed for contribs. No system libraries have 
       been removed or added so far. [ I wonder why we need to 
       include contrib sys lib dependencies here, when Harbour 
       GNU make system doesn't build any contrib dependent 
       executables. Also, some ws2_32.lib seems definitely 
       superfluous. ]

   ; TOFIX: (for __CYGWIN__)
     ../../filesys.c: In function `hb_fsPOpen':
     ../../filesys.c:577: warning: passing arg 1 of `pipe' from incompatible pointer type
2008-08-25 12:19:06 +00:00
Przemyslaw Czerpak
b29525039b 2008-08-25 14:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/tests/rddtest/rddmktst.prg
  * harbour/tests/rddtest/adscl52.prg
  * harbour/tests/rddtest/adscl53.prg
  * harbour/tests/rddtest/ntxcl52.prg
  * harbour/tests/rddtest/ntxcl53.prg
  * harbour/tests/rddtest/cdxcl52.prg
  * harbour/tests/rddtest/rddtst.prg
  * harbour/tests/rddtest/cdxcl53.prg
    * added copyright note. It's my code.

  * harbour/source/debug/dbgentry.c
    ! strip function name from module name used to initialize
      global and file wide variables. It fixes presenting file
      wide static variables in debugger.

  * harbour/source/debug/debugger.prg
    % minor optimization
2008-08-25 12:10:47 +00:00
Viktor Szakats
2d78528f42 2008-08-24 18:18 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/compiler/cmdcheck.c
   * source/compiler/hbusage.c
     * Changed default .c code generation option to -gc0 (from -gc2).
       So now the default is 'compact' (faster/smaller) instead of 
       'verbose' (good to inspect/debug how Harbour pcode works).

   * make_b32.mak
   * make_gcc.mak
   * make_vc.mak
   * make_vcce.mak
   * contrib/mtpl_b32.mak
   * contrib/mtpl_gcc.mak
   * contrib/mtpl_vc.mak
     % Removed explicit -gc0 switches from Harbour command lines.

   * make_vcce.mak
     % Removed unnecessary -DHB_WINCE from Harbour command line.
2008-08-24 16:19:41 +00:00
Viktor Szakats
55ae11bfcd 2008-08-24 13:15 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/vm/runner.c
   * source/vm/fm.c
   * source/common/hbver.c
   * source/rtl/hbgtcore.c
   * source/rtl/gtwvt/gtwvt.c
   * source/rdd/dbfntx/dbfntx1.c
   * source/rdd/workarea.c
   * source/rdd/wacore.c
   * source/rdd/sdf1.c
   * source/rdd/dbfcdx/dbfcdx1.c
   * source/rdd/delim1.c
   * source/rdd/dbf1.c
   * source/rdd/wafunc.c
   * source/rdd/dbffpt/dbffpt1.c
   * source/compiler/hbmain.c
   * source/compiler/fixflex.c
   * source/compiler/gencobj.c
   * source/compiler/genc.c
   * source/compiler/harbour.yyc
   * source/compiler/harbour.y
   * contrib/hbct/disk.c
   * contrib/hbwhat32/whtcdlg.c
   * contrib/gtwvg/gtwvg.c
   * contrib/rddads/adsfunc.c
   * contrib/rddads/ads1.c
   * contrib/hbbmcdx/bmdbfcdx.c
   * contrib/examples/pp/hbppcomp.c
     * hb_strncpy()/hb_strncat() size parameter changed from 
       CONSTANT to 'sizeof( dest ) - 1', where applicable.
     ! hbct/VOLUME() buffer overrun fixed.
     ; NOTE: dbfntx1.c has a couple of places where I wasn't 
             sure of the intention, so I left them unchanged.
2008-08-24 11:21:08 +00:00
Viktor Szakats
647a4ec957 2008-08-23 19:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/common/hbwince.c
     ! strcpy() -> hb_strncpy()
     ; TOFIX: Only spd.c and dbgentry.c have some remaining strcpy() 
              calls.
2008-08-23 17:01:47 +00:00
Viktor Szakats
22835dc3a6 2008-08-23 16:52 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* tests/multifnc/t0.prg
   * tests/multifnc/t1.prg
   * tests/multifnc/t2.prg
   * source/rdd/usrrdd/example/exmemo.prg
   * source/rdd/usrrdd/example/exhsx.prg
   * source/rdd/usrrdd/example/exfcm.prg
   * source/rdd/usrrdd/example/exrlx.prg
   * contrib/xhb/hbsyslog.c
   * contrib/rddado/tests/mysql3.prg
   * contrib/rddado/tests/access1.prg
   * contrib/rddado/tests/access2.prg
   * contrib/rddado/tests/mysql1.prg
   * contrib/hbpgsql/tests/tstpgrdd.prg
     ! SVN headers.

   * contrib/hbwhat32/Makefile
   * contrib/hbwhat32/common.mak
   - contrib/hbwhat32/wintypes.ch
     - Removed wintypes.ch, as it collides with a header with 
       the same name (and similar content) in xhb. It will 
       now use the xhb one, since it already relied on other 
       xhb headers anyway.
       If anyone wants to sort this out properly, pls do.
2008-08-23 15:02:49 +00:00
Viktor Szakats
5c3718eeba 2008-08-23 16:40 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbgt/Makefile
   * contrib/hbgt/common.mak
   - contrib/hbgt/strdiff.c
   + contrib/hbgt/strdiffg.c
   - contrib/hbgt/charmix.c
   + contrib/hbgt/charmixg.c
   - contrib/hbgt/asciisum.c
   + contrib/hbgt/asciisgt.c
   - contrib/hbgt/ascpos.c
   + contrib/hbgt/ascposgt.c
   * contrib/hbgf/hbgfos2/Makefile
   - contrib/hbgf/hbgfos2/tmenuitm.prg
   + contrib/hbgf/hbgfos2/tmenuit.prg
     ! Some files renamed to collide with each other on 
       non-GNU make systems.

   * contrib/examples/hscript/cgi.ch
   * contrib/examples/hscript/dir.hs
   * contrib/examples/hscript/multiply.hs
   * contrib/examples/hscript/ugly.hs
   * contrib/examples/hscript/hello.hs
   * contrib/examples/guestbk/guestbk.ini
     + Added SVN headers.

   + source/rtl/gtalleg/common.mak
   + source/rtl/gtalleg/make_gcc.sh
   + source/rtl/gtalleg/make_b32.bat
   + source/rtl/gtalleg/make_vc.bat
     + Added non-GNU make file as an ugly hack to 
       build them on Windows systems.

   - tests/altd.prg
   + tests/altdtest.prg
     * Rename.

   * include/hbver.h
   * harbour-ce-spec
   * harbour-w32-spec
   * harbour.spec
     * Version changed to '1.0.1dev'.
       Trunk will need to be synced to tag/1.0.

   * common.mak
     + Added version to harbour.dll: harbour-101-b32/vc.dll
     ; Work in progress. Pls comment.
2008-08-23 14:46:28 +00:00
Viktor Szakats
23221548b4 2008-08-23 11:38 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/pp/hbpp.c
   * source/vm/cmdarg.c
   * source/vm/memvars.c
   * source/rtl/dates.c
   * source/rtl/fstemp.c
   * source/rtl/gtchrmap.c
   * source/rtl/gtcrs/gtcrs.c
   * source/rtl/gtpca/gtpca.c
   * source/rtl/gtstd/gtstd.c
   * source/rdd/dbf1.c
   * source/rdd/dbfntx/dbfntx1.c
   * contrib/hbct/disk.c
   * contrib/hbfbird/firebird.c
   * contrib/hbw32/w32_ole.c
   * contrib/xhb/hboutdbg.c
   * contrib/examples/pp/hbppcore.c
     * strncpy() -> hb_strncpy()
     * strncat() -> hb_strncat()
     ! In most of these places the terminating zero 
       was not explicitly set by the caller before.

   * contrib/hbnf/getenvrn.c
   * contrib/hbw32/dllcall.c
   * contrib/hbw32/w32_ole.c
   * contrib/hbwhat32/_wincdlg.c
   * contrib/hbwhat32/_windll.c
   * contrib/hbwhat32/_winmain.c
   * contrib/hbziparch/hbzipnew.cpp
     ! strcpy() -> hb_strncpy()
     ! strcat() -> hb_strncat()
     ; TOFIX1: There are still two strcpy()s left in SQL_SPRINTF().
               Xavi, could you pls take a look at it?
     ; TOFIX2: There are still a few strcpy()s in hbwince.c and 
               dbgentry.c.

   * source/pp/hbpp.c
   * source/rtl/gtcrs/gtcrs.c
   * source/rtl/gtpca/gtpca.c
   * source/rtl/gtstd/gtstd.c
   * contrib/hbfbird/firebird.c
   * contrib/hbwhat32/_wincdlg.c
   * contrib/hbwhat32/_windll.c
     ! Fixed wrong buffer sizes (or no buffer limits) in some 
       string copy operations (potential buffer overruns).

   * contrib/hbnf/getenvrn.c
     ! Fixed bad leak in FT_GETE() on Win32 systems.

   * source/rtl/fstemp.c
     ! hb_fsTempName(): Fixed potential buffer overrun by one byte.
     * Minor formatting.

   * source/rtl/fstemp.c
   * source/rtl/hbffind.c
   * contrib/xhb/hboutdbg.c
     * Using sizeof() instead of explicit size in string copy operations.
     ; TODO: There is a lot more to fix like this.

   ; Przemek, could you double check these changes pls?
     I can send you the .diff if it helps.
2008-08-23 10:43:25 +00:00