Commit Graph

9498 Commits

Author SHA1 Message Date
Przemyslaw Czerpak
e36ede247e 2008-11-12 01:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rdd/dbfcdx/dbfcdx1.c
    ! fixed bug in joined leaf pages size calculation which activated
      error massage enabled by HB_CDX_DBGCODE_EXT macro.
      Thanks to Saulius for reporting the problem.
2008-11-12 00:47:54 +00:00
Viktor Szakats
9a4a5e5661 2008-11-11 21:57 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/common/hbverdsp.c
    * Streamlined the /build information screen. It's now 
      more compact and now show if tracing is enabled. Max 
      symbol length got removed, ANSI C startup also, because 
      it needs a custom C flag anyway.

  * include/hbvmpub.h
  * include/hbsetup.h
    * HB_SYMBOL_NAME_LEN moved away from custom setup.
      This isn't an option users should normally tinker.

  * tests/run_prg.bat
    * Minor.
2008-11-11 21:03:38 +00:00
Przemyslaw Czerpak
40bcdde8c0 2008-11-11 15:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcompdf.h
  * harbour/source/compiler/harbour.yyc
  * harbour/source/compiler/harbour.y
    ! fixed compile time warnings for __enum* messages used in
      simpled code block variables inside FOR EACH statement,
2008-11-11 14:55:41 +00:00
Viktor Szakats
1c58580a01 2008-11-11 13:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_b32.mak
  * make_vc.mak
    + hbmk.bat and hbmk_*.bat will now be installed on 'make*.bat install'
2008-11-11 12:57:42 +00:00
Viktor Szakats
e457acf3d8 minor typo 2008-11-11 12:20:08 +00:00
Viktor Szakats
3c1f2fdeb4 2008-11-11 13:16 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_b32.mak
  * make_vc.mak
  * ChangeLog
    ! Fixed MT mode .dll not starting up properly. IOW now 
      'hbmk -shared -mt' works. Relevant entries marked as 
      [DONE]

  * bin/hbmk.bat
    + Added '-debug' switch. Currently supported in BCC and MSVC.
2008-11-11 12:18:46 +00:00
Viktor Szakats
ffae8f9489 2008-11-11 12:08 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/console.c
    ! Fixed __EJECT() writing an EJECT only if output device 
      was "PRINTER". This fixes problem reported by Ciro, and 
      also a very old TOFIX which was removed very long ago 
      by mistake. (see thread "Bug: __EJECT() (David)" on 2000-07-27)
      [TOMERGE 1.0]

  * source/rtl/treport.prg
    ! Fixed some linefeed differences.
      [TOMERGE 1.0]

  * source/vm/set.c
    * Minor formatting.
2008-11-11 11:09:30 +00:00
Viktor Szakats
1eba9cf55f 2008-11-11 05:34 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_b32.mak
  * make_vc.mak
  * common.mak
  * bin/hbmk.bat
    + Added generation of MT harbour .dlls for BCC and MSVC.
    ; TOFIX: 'hbmk -shared -mt' doesn't seem to work, resulting 
             app simply exists for both BCC and MSVC.
    ; TODO: Please update make_gcc.mak.
2008-11-11 04:35:28 +00:00
Viktor Szakats
ff29cb14e2 2008-11-11 04:22 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_b32.mak
  * make_vc.mak
  * make_gcc.mak
  * common.mak
    * Changed dll and mt obj locations to reside inside the platform dir:
      obj/dll/* -> obj/*/dll
      obj/*_mt -> obj/*/mt
    + Added provisions for new obj location:
      obj/*/mt_dll
2008-11-11 03:22:56 +00:00
Viktor Szakats
0342c6c8da 2008-11-11 03:56 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_b32.mak
  * make_vc.mak
  * make_gcc.mak
  * common.mak
    + Added generation of hbmainstd and hbmainwin libs.

  * bin/hbmk.bat
    + Changed to use above libs. This also means that '-shared' 
      can now be used in Harbour binary distributions, too.
2008-11-11 02:58:14 +00:00
Viktor Szakats
4f7b0310d3 2008-11-11 03:13 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
+ contrib/examples/rl
  + contrib/examples/rl/Makefile
  + contrib/examples/rl/hbmk_b32.bat
  + contrib/examples/rl/hbmk_vc.bat
  + contrib/examples/rl/readme.txt
    + Added build files for Clipper RL utility.
      (if someone remembers :)

  * contrib/examples/guestbk/hbmk_vc.bat
  * contrib/examples/pp/hbmk_vc.bat
  * contrib/examples/pe/hbmk_vc.bat
  * contrib/examples/dbu/hbmk_b32.bat
  * contrib/examples/dbu/hbmk_vc.bat
  * contrib/examples/hscript/hbmk_vc.bat
  * utils/hbdoc/hbmk_b32.bat
  * utils/hbdoc/hbmk_vc.bat
  * utils/hbmake/hbmk_b32.bat
  * utils/hbmake/hbmk_vc.bat
    % Removed winspool.lib from liblists.
    % Removed '/subsystem:console' from MSVC commandlines.
    + Added gtwvt.lib + gdi32.lib to liblists.
      (work in progress)

  * contrib/examples/dbu/readme.txt
    * Minor.

  * contrib/examples/pe/editorhi.prg
    ! Fixed stupid s&r error which broke compilation.
      [TOMERGE 1.0]
2008-11-11 02:15:10 +00:00
Viktor Szakats
57e48a64b0 2008-11-11 02:44 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/hbmk.bat
    + Added '-shared' support for MSVC.
    ! Fixed to cleanup mainstd.obj and mainwin.obj.

  * ChangeLog
    * Some TODO/TOFIX marked as [DONE]. One [DONE] marked 
      as [DONE - REOPENED].
2008-11-11 01:47:58 +00:00
Viktor Szakats
9a28707aba 2008-11-11 02:35 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_b32.mak
  * make_vc.mak
  * make_gcc.mak
    + Added -DHB_TR_LEVEL_DEBUG C compiler option when 
      HB_BUILD_DEBUG=yes.

  * source/rtl/hbinet.c
    * Minor formatting.
2008-11-11 01:36:18 +00:00
Viktor Szakats
4b8267162a 2008-11-11 01:39 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
+ config/w32/pocc64.cf
    + Added Pelles C x64 GNU-make file.

  * config/w32/pocc.cf
    * Minor cleanup.
2008-11-11 00:40:50 +00:00
Viktor Szakats
8f6aa8e802 2008-11-11 00:39 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_b32.mak
  * make_vc.mak
    ! Fixed linking hbtest-dll.exe with tracing enabled.

  * bin/hbmk.bat
    + Added '-shared' option.
    ; TOFIX: - '-shared' won't work in binary installations.
             - '-shared' cannot create MT apps.
             - '-shared' only works for BCC32 yet.

  - tests/hbmk_b32_dll.bat
    - Removed. Use 'hbmk_b32 -shared' instead.

  * source/rtl/treport.prg
    * Minor formatting.

  * make_b32.bat
  * make_vc.bat
  * common.mak
    * Changed default of HB_BUILD_DLL to 'yes'.
2008-11-10 23:44:17 +00:00
Viktor Szakats
d146d9bc50 2008-11-10 15:17 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/common.mak
  * contrib/hbcurl/Makefile
  * contrib/hbcurl/hbcurl.c
  + contrib/hbcurl/hbcurlm.c
    + Some disabled (not mainstream) functions moved to 
      a separate file.

  * contrib/hbwin/win_prn2.c
    * Minor fix in comment.
2008-11-10 14:19:04 +00:00
Przemyslaw Czerpak
caf47b7238 2008-11-10 14:41 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi.h
  * harbour/source/common/hbstr.c
    + added hb_numToStr()

  * harbour/source/vm/estack.c
  * harbour/source/compiler/genc.c
  * harbour/source/compiler/gencc.c
    * use hb_numToStr() for integer number conversions

  * harbour/source/vm/dlmalloc.c
    * disable #pragma warning ... in MinGW builds. If some newer MinGW
      versions support it and it's useful then it can be enabled after
      checking MinGW version
2008-11-10 13:40:43 +00:00
Viktor Szakats
4e5eba91bd 2008-11-10 09:50 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbmath.h
    ! Fixed Pelles C 5.00 not having an 'inf' (HUGE_VAL) symbol 
      when in -Tarm-coff (~WinCE) mode. Pelles C bug (?).

    ; NOTE: Now core fully compiles in WinCE mode. So we have 
            a new port.

    ; TOFIX: (this is a complete list of all Pelles C WinCE problems)
             [except hbmysql errors]

      --- WARNINGS
      POLINK: warning: Multiple '.rdata' sections found with different flags (0x40000040 and 0xc0000040).
      POLINK: warning: Multiple '.rdata' sections found with different flags (0x40000040 and 0xc0000040).
      ../../ctnet.c(119): warning #2027: Missing prototype for 'WNetGetLastError'.
      ../../ctnet.c(167): warning #2027: Missing prototype for 'WNetCancelConnection'.
      ../../ctnet.c(208): warning #2027: Missing prototype for 'WNetAddConnection'.
      ../../ctnet.c(210): warning #2027: Missing prototype for 'WNetAddConnection'.
      ../../ctnet.c(251): warning #2027: Missing prototype for 'WNetGetProviderName'.
      ../../ctnet.c(271): warning #2027: Missing prototype for 'WNetGetProviderName'.
      ../../disk.c(127): warning #2027: Missing prototype for 'GetDriveType'.
      ../../disk.c(244): warning #2027: Missing prototype for 'SetVolumeLabel'.
      ../../disk.c(270): warning #2027: Missing prototype for 'GetVolumeInformation'.
      ../../disk.c(307): warning #2027: Missing prototype for 'GetVolumeInformation'.
      ../../disk.c(337): warning #2027: Missing prototype for 'GetFullPathName'.
      ../../winapi.c(194): warning #2027: Missing prototype for 'InsertMenuItem'.
      ../../winapi.c(219): warning #2027: Missing prototype for 'SetMenu'.
      ../../getenvrn.c(177): warning #2027: Missing prototype for 'GetEnvironmentStrings'.
      ../../getenvrn.c(246): warning #2027: Missing prototype for 'FreeEnvironmentStrings'.
      contrib\hbsqlit3\sqlite3\sqlite3.c(9936): warning #2027: Missing prototype for 'localtime'.
      ../../tpwin32.c(75): warning #2027: Missing prototype for 'BuildCommDCB'.
      ../../wincorec.c(164): warning #2027: Missing prototype for 'CreateMDIWindow'.
      ../../fi_winfu.c(97): warning #2027: Missing prototype for 'CreateDIBitmap'.
      ../../fi_winfu.c(147): warning #2027: Missing prototype for 'GetDIBits'.
      ../../sqlbase.c(509): warning #2130: Result of unsigned comparison is constant.

      --- ERRORS
      contrib\gtwvg\gtwvg.h(78): fatal error #1035: Can't find include file <olectl.h>.
      ../../ctnet.c(119): warning #2027: Missing prototype for 'WNetGetLastError'.
      ../../disk.c(129): error #2048: Undeclared identifier 'DRIVE_RAMDISK'.
      ../../disk.c(129): error #2045: Case label must be a constant integer expression.
      ../../disk.c(132): error #2048: Undeclared identifier 'DRIVE_REMOVABLE'.
      ../../disk.c(132): error #2045: Case label must be a constant integer expression.
      ../../disk.c(135): error #2048: Undeclared identifier 'DRIVE_FIXED'.
      ../../disk.c(135): error #2045: Case label must be a constant integer expression.
      ../../disk.c(138): error #2048: Undeclared identifier 'DRIVE_CDROM'.
      ../../disk.c(138): error #2045: Case label must be a constant integer expression.
      ../../disk.c(141): error #2048: Undeclared identifier 'DRIVE_REMOTE'.
      ../../disk.c(141): error #2045: Case label must be a constant integer expression.
      ../../winapi.c(70): error #2048: Undeclared identifier 'CS_OWNDC'.
      ../../winapi.c(75): error #2048: Undeclared identifier 'IDI_APPLICATION'.
      ../../winapi.c(75): error #2140: Type error in argument 2 to 'LoadIconW'; found 'int', expected 'const wchar_t *'.
      ../../winapi.c(181): error #2048: Undeclared identifier 'MFS_DISABLED'.
      ../../getenvrn.c(177): error #2168: Operands of = have incompatible types 'wchar_t *' and 'int'.
      ../../odbc.c(94): fatal error #1035: Can't find include file <sql.h>.
      contrib\hbsqlit3\sqlite3\sqlite3.c(9936): error #2168: Operands of = have incompatible types '(incomplete) struct tm *' and 'int'.
      contrib\hbsqlit3\sqlite3\sqlite3.c(9937): error #2152: Unknown field 'tm_year' of '(incomplete) struct tm'.
      contrib\hbsqlit3\sqlite3\sqlite3.c(9938): error #2152: Unknown field 'tm_mon' of '(incomplete) struct tm'.
      contrib\hbsqlit3\sqlite3\sqlite3.c(9939): error #2152: Unknown field 'tm_mday' of '(incomplete) struct tm'.
      contrib\hbsqlit3\sqlite3\sqlite3.c(9940): error #2152: Unknown field 'tm_hour' of '(incomplete) struct tm'.
      contrib\hbsqlit3\sqlite3\sqlite3.c(9941): error #2152: Unknown field 'tm_min' of '(incomplete) struct tm'.
      contrib\hbsqlit3\sqlite3\sqlite3.c(9942): error #2152: Unknown field 'tm_sec' of '(incomplete) struct tm'.
      contrib\hbsqlit3\sqlite3\sqlite3.c(22136): error #2120: Redeclaration of 'localtime' previously declared at contrib\hbsqlit3\sqlite3\sqlite3.c(9936): found '(incomplete) struct tm * __cdecl function(const unsigned long int *)', expected 'int __cdecl function()'.
      contrib\hbsqlit3\sqlite3\sqlite3.c(22137): error #2149: Undefined size for 'y' with type '(incomplete) struct tm'.
      contrib\hbsqlit3\sqlite3\sqlite3.c(22137): error #2149: Undefined size for 'y' with type '(incomplete) struct tm'.
      contrib\hbsqlit3\sqlite3\sqlite3.c(22147): error #2152: Unknown field 'tm_year' of '(incomplete) struct tm'.
      contrib\hbsqlit3\sqlite3\sqlite3.c(22148): error #2152: Unknown field 'tm_mon' of '(incomplete) struct tm'.
      contrib\hbsqlit3\sqlite3\sqlite3.c(22149): error #2152: Unknown field 'tm_wday' of '(incomplete) struct tm'.
      contrib\hbsqlit3\sqlite3\sqlite3.c(22150): error #2152: Unknown field 'tm_mday' of '(incomplete) struct tm'.
      contrib\hbsqlit3\sqlite3\sqlite3.c(22151): error #2152: Unknown field 'tm_hour' of '(incomplete) struct tm'.
      contrib\hbsqlit3\sqlite3\sqlite3.c(22152): error #2152: Unknown field 'tm_min' of '(incomplete) struct tm'.
      contrib\hbsqlit3\sqlite3\sqlite3.c(22153): error #2152: Unknown field 'tm_sec' of '(incomplete) struct tm'.
      ../../win_ole.c(77): fatal error #1035: Can't find include file <olectl.h>.
      ../../wincorec.c(150): error #2048: Undeclared identifier 'WS_MAXIMIZE'.
      ../../wincorec.c(166): error #2168: Operands of = have incompatible types 'HWND' and 'int'.
      C:\devl\allegro-4.2.2\include\allegro\platform\almsvc.h(23): fatal error #1035: Can't find include file <malloc.h>.
      ../../firebird.c(456): error #2149: Undefined size for 'times' with type '(incomplete) struct tm'.
      ../../firebird.c(487): error #2152: Unknown field 'tm_year' of '(incomplete) struct tm'.
      ../../firebird.c(488): error #2152: Unknown field 'tm_mon' of '(incomplete) struct tm'.
      ../../firebird.c(489): error #2152: Unknown field 'tm_mday' of '(incomplete) struct tm'.
      ../../firebird.c(490): error #2152: Unknown field 'tm_hour' of '(incomplete) struct tm'.
      ../../firebird.c(491): error #2152: Unknown field 'tm_min' of '(incomplete) struct tm'.
      ../../firebird.c(492): error #2152: Unknown field 'tm_sec' of '(incomplete) struct tm'.
      ../../firebird.c(501): error #2152: Unknown field 'tm_year' of '(incomplete) struct tm'.
      ../../firebird.c(501): error #2152: Unknown field 'tm_mon' of '(incomplete) struct tm'.
      ../../firebird.c(501): error #2152: Unknown field 'tm_mday' of '(incomplete) struct tm'.
      ../../firebird.c(510): error #2152: Unknown field 'tm_hour' of '(incomplete) struct tm'.
      ../../firebird.c(511): error #2152: Unknown field 'tm_min' of '(incomplete) struct tm'.
      ../../firebird.c(512): error #2152: Unknown field 'tm_sec' of '(incomplete) struct tm'.
      ../../fi_winfu.c(98): error #2048: Undeclared identifier 'CBM_INIT'.
      ../../fi_winfu.c(99): error #2168: Operands of = have incompatible types 'HBITMAP' and 'int'.
2008-11-10 08:56:41 +00:00
Viktor Szakats
8aeaaac8eb 2008-11-10 03:35 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/vm/fm.c
    ! Fixed missing abort() on WinCE. (for Pelles C only, but 
      the fix should work for any WinCE compilers).
    ; TOFIX: Now the only remaining showstopper for PellesC5 WinCE 
             support is:
             ../../math.c(652): error #3120: [asm] Symbol 'inf' is undefined.
2008-11-10 02:36:53 +00:00
Viktor Szakats
0168003aa6 2008-11-10 03:15 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* config/w32/poccce.cf
    ! Added -DHB_NO_WIN_CONSOLE.
2008-11-10 02:26:54 +00:00
Viktor Szakats
73d025d232 2008-11-10 02:56 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* config/w32/poccce.cf
    ! Added -DUNICODE switch.

  ; TOFIX: (important ones only)

    --- ERRORS
    ../../math.c(652): 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.
    ../../getenvrn.c(177): error #2168: Operands of = have incompatible types 'wchar_t *' and 'int'.

    --- WARNINGS
    source\vm\dlmalloc.c(2486): warning #2027: Missing prototype for 'abort'.
    source\vm\dlmalloc.c(3253): warning #2027: [ LOTS MORE ]
    ../../getenvrn.c(177): warning #2027: Missing prototype for 'GetEnvironmentStrings'.
    ../../getenvrn.c(246): warning #2027: Missing prototype for 'FreeEnvironmentStrings'.
    contrib\hbsqlit3\sqlite3\sqlite3.c(9936): warning #2027: Missing prototype for 'localtime'.
2008-11-10 02:06:20 +00:00
Viktor Szakats
53819692ec 2008-11-10 02:14 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* config/w32/poccce.cf
    + Added -D_WINCE to C compiler options.

  * source/pp/hbpp.c
  * source/main/harbour.c
    ! Reenabled hbwmain.c for __POCC__.

  * source/pp/hbpp.c
    * WinCE cleanup. (__MINGW32CE__ is always defined 
      when HB_WINCE is, so checking for HB_WINCE seems enough)
    % Removed #include <windows.h>.
    ; Please verify me.

  ; TOFIX: Pelles C 5.0 WinCE build results so far:

--- ERRORS
POLINK: error: Unresolved external symbol 'RegOpenKeyExA'.
POLINK: fatal error: 1 unresolved external(s).
../../harbour.c(56): fatal error #1035: Can't find include file "hbverbld.h".
../../math.c(652): error #3120: [asm] Symbol 'inf' is undefined.
../../cmdarg.c(61): fatal error #1035: Can't find include file "hbverbld.h".
POLINK: fatal error: File not found: 'hbvm.lib'.
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.
../../winapi.c(70): error #2048: Undeclared identifier 'CS_OWNDC'.
../../winapi.c(75): error #2048: Undeclared identifier 'IDI_APPLICATION'.
../../winapi.c(75): error #2140: Type error in argument 2 to 'LoadIconA'; found 'int', expected 'const char *'.
../../winapi.c(181): error #2048: Undeclared identifier 'MFS_DISABLED'.
../../getenvrn.c(177): error #2168: Operands of = have incompatible types 'char *' and 'int'.
../../odbc.c(94): fatal error #1035: Can't find include file <sql.h>.
contrib\hbsqlit3\sqlite3\sqlite3.c(9936): error #2168: Operands of = have incompatible types '(incomplete) struct tm *' and 'int'.
contrib\hbsqlit3\sqlite3\sqlite3.c(9937): error #2152: Unknown field 'tm_year' of '(incomplete) struct tm'.
contrib\hbsqlit3\sqlite3\sqlite3.c(9938): error #2152: Unknown field 'tm_mon' of '(incomplete) struct tm'.
contrib\hbsqlit3\sqlite3\sqlite3.c(9939): error #2152: Unknown field 'tm_mday' of '(incomplete) struct tm'.
contrib\hbsqlit3\sqlite3\sqlite3.c(9940): error #2152: Unknown field 'tm_hour' of '(incomplete) struct tm'.
contrib\hbsqlit3\sqlite3\sqlite3.c(9941): error #2152: Unknown field 'tm_min' of '(incomplete) struct tm'.
contrib\hbsqlit3\sqlite3\sqlite3.c(9942): error #2152: Unknown field 'tm_sec' of '(incomplete) struct tm'.
contrib\hbsqlit3\sqlite3\sqlite3.c(22136): error #2120: Redeclaration of 'localtime' previously declared at contrib\hbsqlit3\sqlite3\sqlite3.c(9936): found '(incomplete) struct tm * __cdecl function(const unsigned long int *)', expected 'int __cdecl function()'.
contrib\hbsqlit3\sqlite3\sqlite3.c(22137): error #2149: Undefined size for 'y' with type '(incomplete) struct tm'.
contrib\hbsqlit3\sqlite3\sqlite3.c(22137): error #2149: Undefined size for 'y' with type '(incomplete) struct tm'.
contrib\hbsqlit3\sqlite3\sqlite3.c(22147): error #2152: Unknown field 'tm_year' of '(incomplete) struct tm'.
contrib\hbsqlit3\sqlite3\sqlite3.c(22148): error #2152: Unknown field 'tm_mon' of '(incomplete) struct tm'.
contrib\hbsqlit3\sqlite3\sqlite3.c(22149): error #2152: Unknown field 'tm_wday' of '(incomplete) struct tm'.
contrib\hbsqlit3\sqlite3\sqlite3.c(22150): error #2152: Unknown field 'tm_mday' of '(incomplete) struct tm'.
contrib\hbsqlit3\sqlite3\sqlite3.c(22151): error #2152: Unknown field 'tm_hour' of '(incomplete) struct tm'.
contrib\hbsqlit3\sqlite3\sqlite3.c(22152): error #2152: Unknown field 'tm_min' of '(incomplete) struct tm'.
contrib\hbsqlit3\sqlite3\sqlite3.c(22153): error #2152: Unknown field 'tm_sec' of '(incomplete) struct tm'.
../../win_ole.c(77): fatal error #1035: Can't find include file <olectl.h>.
../../wincorec.c(150): error #2048: Undeclared identifier 'WS_MAXIMIZE'.
../../wincorec.c(166): error #2168: Operands of = have incompatible types 'HWND' and 'int'.
../../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 * *'.
C:\devl\allegro-4.2.2\include\allegro\platform\almsvc.h(23): fatal error #1035: Can't find include file <malloc.h>.
../../firebird.c(456): error #2149: Undefined size for 'times' with type '(incomplete) struct tm'.
../../firebird.c(487): error #2152: Unknown field 'tm_year' of '(incomplete) struct tm'.
../../firebird.c(488): error #2152: Unknown field 'tm_mon' of '(incomplete) struct tm'.
../../firebird.c(489): error #2152: Unknown field 'tm_mday' of '(incomplete) struct tm'.
../../firebird.c(490): error #2152: Unknown field 'tm_hour' of '(incomplete) struct tm'.
../../firebird.c(491): error #2152: Unknown field 'tm_min' of '(incomplete) struct tm'.
../../firebird.c(492): error #2152: Unknown field 'tm_sec' of '(incomplete) struct tm'.
../../firebird.c(501): error #2152: Unknown field 'tm_year' of '(incomplete) struct tm'.
../../firebird.c(501): error #2152: Unknown field 'tm_mon' of '(incomplete) struct tm'.
../../firebird.c(501): error #2152: Unknown field 'tm_mday' of '(incomplete) struct tm'.
../../firebird.c(510): error #2152: Unknown field 'tm_hour' of '(incomplete) struct tm'.
../../firebird.c(511): error #2152: Unknown field 'tm_min' of '(incomplete) struct tm'.
../../firebird.c(512): error #2152: Unknown field 'tm_sec' of '(incomplete) struct tm'.
../../fi_winfu.c(98): error #2048: Undeclared identifier 'CBM_INIT'.
../../fi_winfu.c(99): error #2168: Operands of = have incompatible types 'HBITMAP' and 'int'.
C:\devl\mysql-5.0.67\include\mysql_com.h(183): error #2001: Syntax error: expected '}' but found 'SOCKET'.
C:\devl\mysql-5.0.67\include\mysql_com.h(222): error #2156: Unrecognized declaration.
C:\devl\mysql-5.0.67\include\mysql_com.h(335): error #2001: [ LOTS MORE ]

--- WARNINGS
../../winapi.c(194): warning #2027: Missing prototype for 'InsertMenuItem'.
../../winapi.c(219): warning #2027: Missing prototype for 'SetMenu'.
../../getenvrn.c(177): warning #2027: Missing prototype for 'GetEnvironmentStrings'.
../../getenvrn.c(246): warning #2027: Missing prototype for 'FreeEnvironmentStrings'.
contrib\hbsqlit3\sqlite3\sqlite3.c(9936): warning #2027: Missing prototype for 'localtime'.
../../tpwin32.c(75): warning #2027: Missing prototype for 'BuildCommDCB'.
../../wincorec.c(164): warning #2027: Missing prototype for 'CreateMDIWindow'.
C:\devl\PellesC-501\include\wince\ws2tcpip.h(381): warning #2115: Local 'dwMsgLen' is initialized but never used.
C:\devl\PellesC-501\include\wince\ws2tcpip.h(392): warning #2115: Local 'dwMsgLen' is initialized but never used.
../../fi_winfu.c(97): warning #2027: Missing prototype for 'CreateDIBitmap'.
../../fi_winfu.c(147): warning #2027: Missing prototype for 'GetDIBits'.
C:\devl\mysql-5.0.67\include\mysql_com.h(222): warning #2099: Missing type specifier.
C:\devl\mysql-5.0.67\include\mysql.h(275): error #2011: Declared parameter 'warning_count' is missing.
../../sqlbase.c(509): warning #2130: Result of unsigned comparison is constant.
2008-11-10 01:35:03 +00:00
Viktor Szakats
2a78c11e64 2008-11-10 01:24 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/hbzlib/zconf.h
    * Removed commented Harbour additions.

  * config/w32/mingwce.cf
  * config/w32/poccce.cf
  * config/w32/msvcce.cf
    ! Fixed typo in previous today's commit.
2008-11-10 00:24:56 +00:00
Przemyslaw Czerpak
ae5075fa5b 2008-11-10 00:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/rules.cf
    ! fixed recursive HB_FLAGS declaration

  * harbour/include/hbdefs.h
  * harbour/include/hbsetup.h
  * harbour/include/hbtrace.h
    * declared hb_tr_trace() parameters as printf() compatible in GCC
      builds. It enabled format string with parameters validation

  * harbour/source/rtl/errorapi.c
    ! fixed GPF caused by HB_ERR_FUNCNAME which is not longer valid
      string

  * harbour/source/vm/itemapi.c
  * harbour/source/vm/hvm.c
  * harbour/source/vm/arrays.c
  * harbour/source/vm/memvars.c
  * harbour/source/vm/eval.c
  * harbour/source/vm/extend.c
  * harbour/source/vm/set.c
  * harbour/source/debug/dbgentry.c
  * harbour/source/rtl/gtwin/gtwin.c
  * harbour/source/rtl/gtxwc/gtxwc.c
  * harbour/source/rtl/hbgtcore.c
  * harbour/source/rtl/gtcrs/gtcrs.c
  * harbour/source/rtl/gtstd/gtstd.c
  * harbour/source/rtl/gtsln/gtsln.c
  * harbour/source/rtl/gttrm/gttrm.c
  * harbour/source/rtl/gtpca/gtpca.c
  * harbour/source/rtl/gtcgi/gtcgi.c
  * harbour/source/rtl/gtwvt/gtwvt.c
  * harbour/source/rtl/filesys.c
  * harbour/source/rdd/dbf1.c
  * harbour/source/rdd/dbffpt/dbffpt1.c
  * harbour/contrib/gtalleg/gtalleg.c
  * harbour/contrib/xhb/freadlin.c
  * harbour/contrib/gtwvg/gtwvg.c
  * harbour/contrib/rddads/adsfunc.c
  * harbour/contrib/rddads/ads1.c
  * harbour/contrib/hbwin/win_ole.c
  * harbour/utils/hbdoc/hbdfrdln.c
  * harbour/utils/hbmake/hbmfrdln.c
    ! fixed bugs in HB_TRACE massages reported in GCC builds
2008-11-09 23:20:16 +00:00
Viktor Szakats
6787c3b900 typo 2008-11-09 20:00:59 +00:00
Viktor Szakats
69952de84f 2008-11-09 20:58 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbdefs.h
  * include/hbapigt.h
  * source/common/hbfsapi.c
  * source/rtl/console.c
  * source/rtl/fserror.c
  * source/rtl/fstemp.c
  * source/rtl/gtstd/gtstd.c
  * source/rtl/gtpca/gtpca.c
  * source/rtl/filesys.c
    * Macro rename:
      - HB_WIN32_IO_OFF -> HB_IO_WIN_OFF
      - HB_WIN32_IO     -> HB_IO_WIN
    ; NOTE: INCOMPATIBLE if someone happens to disable 
            Windows native IO. Users don't normally 
            needs this though.
2008-11-09 19:59:39 +00:00
Viktor Szakats
20afe05286 2008-11-09 20:49 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
- contrib/hbmysql/utils/bld_b32.bat
  - contrib/hbmysql/utils/bld_vc.bat
  + contrib/hbmysql/utils/hbmk_b32.bat
  + contrib/hbmysql/utils/hbmk_vc.bat
  - contrib/hbgd/tests/bld.sh
  + contrib/hbgd/tests/hbmk_gnu.sh
  * contrib/hbbtree/tests/hbmk_b32.bat
  * contrib/hbbtree/tests/hbmk_vc.bat
  * contrib/examples/pp/hbmk_b32.bat
  * contrib/examples/pp/hbmk_vc.bat
  * contrib/examples/guestbk/hbmk_b32.bat
  * contrib/examples/guestbk/hbmk_vc.bat
  * contrib/examples/pe/hbmk_b32.bat
  * contrib/examples/pe/hbmk_vc.bat
  * contrib/examples/hscript/hbmk_vc.bat
    * Some remaining renames.
    * Got rid of temp files in BCC batch files. Win9x is no longer 
      supported.
    * Some other minor cleanups.
2008-11-09 19:50:29 +00:00
Viktor Szakats
70425cd2eb 2008-11-09 20:27 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
- contrib/examples/dbu/bld_b32.bat
  - contrib/examples/dbu/bld_vc.bat
  + contrib/examples/dbu/hbmk_b32.bat
  + contrib/examples/dbu/hbmk_vc.bat
  - contrib/examples/guestbk/bld_b32.bat
  - contrib/examples/guestbk/bld_vc.bat
  + contrib/examples/guestbk/hbmk_b32.bat
  + contrib/examples/guestbk/hbmk_vc.bat
  - contrib/examples/hbsqlit2/tests/bld_b32.bat
  - contrib/examples/hbsqlit2/tests/bld_vc.bat
  + contrib/examples/hbsqlit2/tests/hbmk_b32.bat
  + contrib/examples/hbsqlit2/tests/hbmk_vc.bat
  - contrib/examples/hscript/bld_b32.bat
  - contrib/examples/hscript/bld_vc.bat
  + contrib/examples/hscript/hbmk_b32.bat
  + contrib/examples/hscript/hbmk_vc.bat
  - contrib/examples/pe/bld_b32.bat
  - contrib/examples/pe/bld_vc.bat
  + contrib/examples/pe/hbmk_b32.bat
  + contrib/examples/pe/hbmk_vc.bat
  - contrib/examples/pp/bld_b32.bat
  - contrib/examples/pp/bld_vc.bat
  + contrib/examples/pp/hbmk_b32.bat
  + contrib/examples/pp/hbmk_vc.bat
  - contrib/gtwvg/tests/bld_b32.bat
  - contrib/gtwvg/tests/bld_vc.bat
  + contrib/gtwvg/tests/hbmk_b32.bat
  + contrib/gtwvg/tests/hbmk_vc.bat
  - contrib/hbapollo/tests/bld_b32.bat
  - contrib/hbapollo/tests/bld_vc.bat
  + contrib/hbapollo/tests/hbmk_b32.bat
  + contrib/hbapollo/tests/hbmk_vc.bat
  - contrib/hbbtree/tests/bld_b32.bat
  - contrib/hbbtree/tests/bld_djgp.bat
  - contrib/hbbtree/tests/bld_vc.bat
  + contrib/hbbtree/tests/hbmk_b32.bat
  + contrib/hbbtree/tests/hbmk_djg.bat
  + contrib/hbbtree/tests/hbmk_vc.bat
  - contrib/hbclipsm/tests/bld_b32.bat
  - contrib/hbclipsm/tests/bld_vc.bat
  + contrib/hbclipsm/tests/hbmk_b32.bat
  + contrib/hbclipsm/tests/hbmk_vc.bat
  - contrib/hbct/tests/bld_b32.bat
  - contrib/hbct/tests/bld_vc.bat
  + contrib/hbct/tests/hbmk_b32.bat
  + contrib/hbct/tests/hbmk_vc.bat
  - contrib/hbcurl/tests/bld_b32.bat
  - contrib/hbcurl/tests/bld_vc.bat
  + contrib/hbcurl/tests/hbmk_b32.bat
  + contrib/hbcurl/tests/hbmk_vc.bat
  - contrib/hbfbird/tests/bld_b32.bat
  - contrib/hbfbird/tests/bld_vc.bat
  + contrib/hbfbird/tests/hbmk_b32.bat
  + contrib/hbfbird/tests/hbmk_vc.bat
  - contrib/hbfimage/tests/bld_b32.bat
  - contrib/hbfimage/tests/bld_vc.bat
  + contrib/hbfimage/tests/hbmk_b32.bat
  + contrib/hbfimage/tests/hbmk_vc.bat
  - contrib/hbgd/tests/bld_b32.bat
  - contrib/hbgd/tests/bld_vc.bat
  + contrib/hbgd/tests/hbmk_b32.bat
  + contrib/hbgd/tests/hbmk_vc.bat
  - contrib/hbgf/tests/bld_b32.bat
  - contrib/hbgf/tests/bld_vc.bat
  + contrib/hbgf/tests/hbmk_b32.bat
  + contrib/hbgf/tests/hbmk_vc.bat
  - contrib/hbhpdf/tests/bld_b32.bat
  - contrib/hbhpdf/tests/bld_vc.bat
  + contrib/hbhpdf/tests/hbmk_b32.bat
  + contrib/hbhpdf/tests/hbmk_vc.bat
  - contrib/hbmisc/tests/bld_b32.bat
  - contrib/hbmisc/tests/bld_vc.bat
  + contrib/hbmisc/tests/hbmk_b32.bat
  + contrib/hbmisc/tests/hbmk_vc.bat
  - contrib/hbmysql/tests/bld_b32.bat
  - contrib/hbmysql/tests/bld_vc.bat
  + contrib/hbmysql/tests/hbmk_b32.bat
  + contrib/hbmysql/tests/hbmk_vc.bat
  - contrib/hbmzip/tests/bld_b32.bat
  - contrib/hbmzip/tests/bld_vc.bat
  + contrib/hbmzip/tests/hbmk_b32.bat
  + contrib/hbmzip/tests/hbmk_vc.bat
  - contrib/hbnf/tests/bld_b32.bat
  - contrib/hbnf/tests/bld_vc.bat
  + contrib/hbnf/tests/hbmk_b32.bat
  + contrib/hbnf/tests/hbmk_vc.bat
  - contrib/hbodbc/tests/bld_b32.bat
  - contrib/hbodbc/tests/bld_vc.bat
  + contrib/hbodbc/tests/hbmk_b32.bat
  + contrib/hbodbc/tests/hbmk_vc.bat
  - contrib/hbole/tests/bld_b32.bat
  - contrib/hbole/tests/bld_vc.bat
  + contrib/hbole/tests/hbmk_b32.bat
  + contrib/hbole/tests/hbmk_vc.bat
  - contrib/hbpgsql/tests/bld_b32.bat
  - contrib/hbpgsql/tests/bld_vc.bat
  + contrib/hbpgsql/tests/hbmk_b32.bat
  + contrib/hbpgsql/tests/hbmk_vc.bat
  - contrib/hbsqlit3/tests/bld_b32.bat
  - contrib/hbsqlit3/tests/bld_vc.bat
  + contrib/hbsqlit3/tests/hbmk_b32.bat
  + contrib/hbsqlit3/tests/hbmk_vc.bat
  - contrib/hbtip/tests/bld_b32.bat
  - contrib/hbtip/tests/bld_vc.bat
  + contrib/hbtip/tests/hbmk_b32.bat
  + contrib/hbtip/tests/hbmk_vc.bat
  - contrib/hbtpathy/tests/bld_b32.bat
  - contrib/hbtpathy/tests/bld_vc.bat
  + contrib/hbtpathy/tests/hbmk_b32.bat
  + contrib/hbtpathy/tests/hbmk_vc.bat
  - contrib/hbvpdf/tests/bld_b32.bat
  - contrib/hbvpdf/tests/bld_vc.bat
  + contrib/hbvpdf/tests/hbmk_b32.bat
  + contrib/hbvpdf/tests/hbmk_vc.bat
  - contrib/hbwhat/tests/bld_b32.bat
  - contrib/hbwhat/tests/bld_vc.bat
  + contrib/hbwhat/tests/hbmk_b32.bat
  + contrib/hbwhat/tests/hbmk_vc.bat
  - contrib/hbwin/tests/bld_b32.bat
  - contrib/hbwin/tests/bld_vc.bat
  + contrib/hbwin/tests/hbmk_b32.bat
  + contrib/hbwin/tests/hbmk_vc.bat
  - contrib/hbziparc/tests/bld_b32.bat
  - contrib/hbziparc/tests/bld_vc.bat
  + contrib/hbziparc/tests/hbmk_b32.bat
  + contrib/hbziparc/tests/hbmk_vc.bat
  - contrib/rddado/tests/bld_b32.bat
  - contrib/rddado/tests/bld_vc.bat
  + contrib/rddado/tests/hbmk_b32.bat
  + contrib/rddado/tests/hbmk_vc.bat
  - contrib/rddads/tests/bld_b32.bat
  - contrib/rddads/tests/bld_vc.bat
  + contrib/rddads/tests/hbmk_b32.bat
  + contrib/rddads/tests/hbmk_vc.bat
  - contrib/rddsql/tests/bld_b32.bat
  - contrib/rddsql/tests/bld_vc.bat
  + contrib/rddsql/tests/hbmk_b32.bat
  + contrib/rddsql/tests/hbmk_vc.bat
  - contrib/xhb/tests/bld_b32.bat
  - contrib/xhb/tests/bld_vc.bat
  + contrib/xhb/tests/hbmk_b32.bat
  + contrib/xhb/tests/hbmk_vc.bat
  - tests/bld_b32.bat
  - tests/bld_b32_dll.bat
  - tests/bld_gnu.bat
  - tests/bld_vc.bat
  + tests/hbmk_b32.bat
  + tests/hbmk_b32_dll.bat
  + tests/hbmk_gnu.bat
  + tests/hbmk_vc.bat
  - utils/hbdoc/bld_b32.bat
  - utils/hbdoc/bld_vc.bat
  + utils/hbdoc/hbmk_b32.bat
  + utils/hbdoc/hbmk_vc.bat
  - utils/hbmake/bld_b32.bat
  - utils/hbmake/bld_vc.bat
  + utils/hbmake/hbmk_b32.bat
  + utils/hbmake/hbmk_vc.bat
    * bld*.bat -> hbmk*.bat

  * contrib/mtpl_b32.mak
    * /P32 -> /P64

  + contrib/hbmsql/tests/hbmk_b32.bat
  + contrib/hbmsql/tests/hbmk_vc.bat
    + Added make files.

  - contrib/hbclip
    - Removed this contrib. It was incomplete and not 
      updated since 2001.
2008-11-09 19:37:16 +00:00
Viktor Szakats
3abe82bcc0 2008-11-09 17:44 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_vc.mak
  * config/rules.cf
  * config/w32/mingwce.cf
  * config/w32/poccce.cf
  * config/w32/msvcce.cf
    * Use Harbour option -gc0 for WinCE builds.
    * Use C option -O2 (instead of -O3) for MinGWCE builds.
    ; None of these were tested.
2008-11-09 16:45:26 +00:00
Viktor Szakats
8be149614c 2008-11-09 17:15 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/vm/arrays.c
  * source/vm/classes.c
  * source/vm/cmdarg.c
  * source/vm/codebloc.c
  * source/vm/debug.c
  * source/vm/dynsym.c
  * source/vm/extend.c
  * source/vm/fm.c
  * source/vm/hashes.c
  * source/vm/hvm.c
  * source/vm/itemapi.c
  * source/vm/maindll.c
  * source/vm/maindllh.c
  * source/vm/maindllp.c
  * source/vm/mainstd.c
  * source/vm/mainwin.c
  * source/vm/set.c
  * source/vm/vm.c
    % Removed HB_EXPORT from remaining function definitions.
2008-11-09 16:16:54 +00:00
Viktor Szakats
618407cbec 2008-11-09 17:03 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/gtwvg/wvgcore.c
  * contrib/gtwvg/wvgutils.c
  * contrib/hbwin/win_dll.c
  * contrib/hbwin/win_ole.c
  * contrib/xhb/cstructc.c
  * contrib/xhb/dbgfxc.c
  * source/common/hbarch.c
  * source/common/hbdate.c
  * source/common/hbfsapi.c
  * source/common/hbstr.c
  * source/common/hbver.c
  * source/common/hbverdsp.c
  * source/debug/dbgentry.c
  * source/main/harbour.c
  * source/rdd/dbf1.c
  * source/rdd/nulsys/nulsys.c
  * source/rdd/wacore.c
  * source/rdd/wafunc.c
  * source/rdd/workarea.c
  * source/rtl/cdpapi.c
  * source/rtl/console.c
  * source/rtl/dates.c
  * source/rtl/errorint.c
  * source/rtl/file.c
  * source/rtl/filesys.c
  * source/rtl/fscopy.c
  * source/rtl/fserror.c
  * source/rtl/fstemp.c
  * source/rtl/gtapi.c
  * source/rtl/gtapiu.c
  * source/rtl/hbadler.c
  * source/rtl/hbcrc.c
  * source/rtl/hbffind.c
  * source/rtl/hbgtcore.c
  * source/rtl/hbmd5.c
  * source/rtl/inkeyapi.c
  * source/rtl/isprint.c
  * source/rtl/math.c
  * source/rtl/mouseapi.c
  * source/rtl/seconds.c
  * source/rtl/setcolor.c
  * source/rtl/setcurs.c
  * source/rtl/strmatch.c
  * source/vm/hvm.c
    % Removed HB_EXPORT from function definitions.
      Placing it in declaration is enough.

  * source/debug/dbgentry.c
    * Formatting.
2008-11-09 16:06:36 +00:00
Viktor Szakats
13b74f6edc 2008-11-09 16:49 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/hbcurl.c
  * contrib/hbcurl/hbcurl.ch
    + Added libcurl 7.19.1 features.
    % Removed hashing calls from some parts which are 
      only compiled for libcurl versions which don't need 
      hashing anyway.

  * ChangeLog
    * Changed CVS ID tag name in some very old entries to 
      avoid them being replaced by versioning system.
2008-11-09 15:52:14 +00:00
Viktor Szakats
0b765b9181 2008-11-09 16:00 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_b32.mak
  * make_vc.mak
    ! Added hbpp.lib and hbcommon.lib to HBRUN_DLL liblist.

  * include/hbapi.h
  * source/vm/cmdarg.c
  * source/common/hbver.c
  * source/common/hbverdsp.c
  * source/rtl/console.c
  * source/rtl/setcolor.c
  * source/rtl/setcurs.c
    + Added HB_EXPORT to some functions to make it possible 
      to build hbrun-dll.exe.
      For other reasons, it only works if Harbour built with 
      set C_USR=-DHB_DYNLIB.
    ; TODO: Make HB_DYNLIB the default build mode, do gradual 
            steps to remove separate DLL building pass, and 
            finally to remove HB_BUILD_DLL option.
            The only drawback will be about 10-100K 
            (currently) overhead in final executable size due 
            to included export table for BCC and MSVC builds.
2008-11-09 15:04:03 +00:00
Viktor Szakats
10457b0fcf 2008-11-09 15:46 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/xhb/hboutdbg.c
    ! Fixed to compile without warnings and with more 
      consistent behavior across platforms.

  * source/rtl/gtwvt/gtwvt.c
    * Minor formatting.
2008-11-09 14:47:44 +00:00
Przemyslaw Czerpak
c6fab64db4 2008-11-09 15:16 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbstack.h
    * do not define hb_stack_ptr_from_tls() in BCC builds when
      HB_STACK_PRELOAD macro is not defined to pacify BCC warning
2008-11-09 14:15:45 +00:00
Viktor Szakats
8e232cd644 2008-11-09 14:37 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_b32.mak
    ! /P32 -> /P64
2008-11-09 13:37:32 +00:00
Viktor Szakats
42732bfe70 2008-11-09 14:29 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_b32.mak
  * make_vc.mak
    + Added HBRUN_DLL.
    ; TOFIX: It doesn't work. Maybe more eyeballs will spot the 
             problem more easily.
2008-11-09 13:29:41 +00:00
Viktor Szakats
8b095d9c56 2008-11-09 14:23 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* tests/longstr.prg
  * contrib/hbole/oleauto.prg
  * contrib/hbole/ole2.c
  * contrib/gtwvg/wvgutils.c
  * contrib/gtwvg/wvgcore.c
  * contrib/hbgd/gdbarcod.prg
  * contrib/hbgd/gdbar.prg
  * contrib/hbwin/win_tole.prg
  * contrib/hbwin/win_ole.c
  * contrib/hbvpdf/hbvpdf.prg
  * contrib/examples/hbsqlit2/tests/hbsqlite.prg
  * contrib/examples/hbsqlit2/TODO.txt
  * contrib/examples/hbsqlit2/hbsqlit2.c
  * source/debug/dbgwa.prg
  * source/rtl/gtwin/gtwin.c
  * source/rtl/tget.prg
  * source/rtl/tgetint.prg
  * source/compiler/gencobj.c
    ! Removed high chars from comments. This usually means 
      copyright holders' names. I apologize for touching 
      them, I also have one in mine, but it's better to 
      not use them in source code to avoid encoding problems.
2008-11-09 13:25:55 +00:00
Przemyslaw Czerpak
f5188233ef 2008-11-09 14:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/common.mak
  * harbour/make_gcc.mak
    ! fixed hbtest-dll linking - the path to used harbour shared library
      was hardcoded in final binaries
    + added hbrun-dll. Please update make_b32.mak and make_vc.mak
2008-11-09 13:19:14 +00:00
Viktor Szakats
642efdc827 2008-11-09 14:02 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_vc.mak
    + Added /nxcompat linker flag for non-WinCE, non-DLL, 
      HB_VISUALC_VER >= 80 MSVC executables. 
      This should add extra safety.

  * include/hbextern.ch
  * source/rtl/rat.c
    + Added HB_RAT() which is similar to RAT(), but also accepts 
      <nStart> and <nEnd> optional paramaters, similarly to HB_AT().
    ; Please test.

  * source/rtl/at.c
    * Minor formatting.
2008-11-09 13:03:31 +00:00
Przemyslaw Czerpak
c497f05e91 2008-11-09 13:16 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/memvars.c
    ! fixed 3 tracelog messages

  * harbour/source/rtl/hbgtcore.c
    * declare core method table as const

  * harbour/source/compiler/gencc.c
    ! fixed accessing data out of buffer in string to hex conversion and
      logical expression used to divide strings
2008-11-09 12:15:27 +00:00
Viktor Szakats
ef9d33048e 2008-11-09 13:03 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbtip/utils.c
    ! Fixed static function also marked as HB_EXPORT.

  * contrib/xhb/dbgfx.prg
    * Minor formatting.
2008-11-09 12:03:26 +00:00
Viktor Szakats
f46964e85b 2008-11-09 12:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* ChangeLog
    ! Fixed again the UNICODE problem (I've uploaded a wrong 
      version apparently).
    + Added my last entry which was lost due to above.
    ! Removed all ending whitespaces.
    ! Stripped all non-ASCII chars. Sorry to all who's names 
      were thus modified.
    ; NOTE: Please don't use any high chars in the future, 
            only 7-bit ASCII. Same goes for all Harbour source 
            comments BTW.
            This way everyone can read what the other are typing 
            and it's much easier to fix files if someone 
            accidentally saves with the wrong codepage.
    ; TOFIX: We should also possibly fix all high chars in 
             .prg and .c code _strings_.
2008-11-09 11:32:25 +00:00
Viktor Szakats
5b53f67db4 2008-11-09 11:48 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* ChangeLog
    ! Restored last non-UNICODE version, and readded
      all entries and reapplied all changes since then.
    ; NOTE: Please never save any Harbour files in
            UNICODE mode. Thank you.

  * contrib/make_gcc_all.sh
  * contrib/Makefile
    - Removed hbdbgfx.

  * source/pp/hbpp.c
  * source/main/harbour.c
    * Excluded hbwmain for __POCC__ WinCE.
    ; TOFIX: Warning: Not proper fix.
             This way it won't link but at least it compiles.

  * source/compiler/gencc.c
    * Switched to hexadecimal format for high chars, because
      octal was tried to be converted to Windows codepage, by
      PellesC.

  * config/w32/poccce.cf
    - Removed -DSTRSAFE_NO_DEPRECATE switch.

  * config/w32/pocc.cf
    + Added -MT switch.

  * contrib/hbwin/win_prn2.c
  * contrib/hbwin/win_dll.c
  * source/rtl/hbhex.c
  * source/rdd/hbsix/sxcompat.prg
    * Minor formatting.
2008-11-09 11:15:06 +00:00
Przemyslaw Czerpak
abd25b1b8f 2008-11-09 11:45 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/make_gcc.mak
    ! declared non file helper rules as .PHONY ones.
    ! fixed bad typo in helper rules usage - strange that I haven't seen
      it before.
    * restored non indirect rules - now they should work as expected
      also in parallel builds.
      TODO: remove static libraries from HB_BUILD_TARGETS in common.mak
      if everything is correct then they should be created to satisfy
      hbrun and other tools dependencies. It's not necessary to explicitly
      duplicate it.
2008-11-09 10:44:51 +00:00
Pritpal Bedi
51f934239f 2008-11-08 15:40 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/gtwvg.c
  * harbour/contrib/gtwvg/gtwvg.h
  * harbour/source/rtl/gtwvt/gtwvt.c
  * harbour/source/rtl/gtwvt/gtwvt.h
    
    + BOOL bResizing
    + BOOL bAlreadySizing
      To control unnecessary code execution while sizing operation is 
      being carried out. Now the flickering of console window should be
      greatly minimized, IMO, please test.

    ! Fixed behavior of some function not to recreate font if one is already
      created given other parameters are the same. SetMode() does nothing if
      nRows, nCols are the same as with console prior to calling this function.
     
    ; NOTE: Please test extensively as this is one gray area of GTWVT we all
      are in a quest to fix.
2008-11-08 23:47:17 +00:00
Przemyslaw Czerpak
8905ad498a 2008-11-08 19:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/make_gcc.mak
    ! corrected missing $(HARBOUR_EXE) dependence in .prg files rules
    ! replaced non indirect rules (::) which are strictly file base with
      indirect ones to not confuse dependence logic when parallel
      compilation is enabled
    ! marked harbour.c and cmdarg.c as dependent on pptable.c to fix
      compilation order - these files needs hbverbld.h which is generated
      together with pptable.c
    ! fixed HBTESTDLL_EXE dependencies - static library were used instead
      of harbour share library. BTW probably it will be good to create also
      HBRUNDLL_EXE

      With above modification parallel compilation can be enabled for
      make_gcc.sh (-j<N> GNU make option). It greatly improves compilation
      speed. Probably also make_{bcc,vc}.mak should be fixed even if they
      do not support parallel compilation.
2008-11-08 18:52:35 +00:00
Pritpal Bedi
f5d1c2c173 2008-11-08 10:23 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/gtwvg.c
    ! Updated to match current GTWVT.

  * harbour/contrib/gtwvg/wvgutils.c
    + HB_FUNC( WIN_DESTROYWINDOW ) - Winapi compatible function.
2008-11-08 18:26:27 +00:00
Francesco Saverio Giudice
c68dbc0cb0 2008-11-08 18:40 UTC+0100 Francesco Saverio Giudice (info fsgiudice com)
- contrib/hbdbgfx
  - contrib/hbdbgfx/common.mak
  - contrib/hbdbgfx/dbgfx.prg
  - contrib/hbdbgfx/dbgfxc.c
  - contrib/hbdbgfx/hbdbgfx.h
  - contrib/hbdbgfx/make_b32.bat
  - contrib/hbdbgfx/make_gcc.sh
  - contrib/hbdbgfx/make_vc.bat
  - contrib/hbdbgfx/Makefile
  - contrib/hbdbgfx/sprintf.prg
  + contrib/xhb/dbgfx.prg
  + contrib/xhb/dbgfxc.c
  + contrib/xhb/sprintf.prg
  + contrib/xhb/xhb.h
  * contrib/make_b32_all.bat
  * contrib/make_vc_all.bat
  * contrib/xhb/common.mak
  * contrib/xhb/Makefile
    * moved hbdbgfx to xhb folder
2008-11-08 17:41:00 +00:00
Viktor Szakats
0a3c1096aa 2008-11-08 16:43 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/version.c
    % Minor.
2008-11-08 15:43:26 +00:00