Commit Graph

9029 Commits

Author SHA1 Message Date
Viktor Szakats
e233bb9fa3 2008-09-18 15:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbcurl/hbcurl.c
    ! Made it compile with a slightly older (~7.15.x) 
      versions of libcurl. Please test.
2008-09-18 13:01:47 +00:00
Viktor Szakats
b0190e34a0 2008-09-18 14:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_vc.mak
    * Synced with BCC to build in ST mode by default.

  ; TOFIX: There seems to be an old problem where contrib 
           .prg files won't get rebuilt after a modification 
           by running make_vc.bat (MSVC only).
           Marek, if you see this, could you take a look at it?
2008-09-18 12:02:27 +00:00
Viktor Szakats
d0d7894fdb 2008-09-18 11:48 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbmisc/fileread.prg
    * Changed to use natic CLASS syntax.
2008-09-18 09:48:55 +00:00
Viktor Szakats
ed4998676f 2008-09-18 11:25 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_rpm.sh
    ! Attempt to detect libcurl.
      [TOMERGE 1.0]

  * contrib/hbziparc/hbziparc.prg
  * contrib/hbwin/win_tole.prg
  * contrib/hbvpdf/hbvpdf.prg
    * Some STATIC vars converted to THREAD STATIC.
    * aReport renamed to s_aReport.
      (is it a good idea to name 'ts_name' THREAD STATIC 
      vars?)

  * utils/hbmake/hbmake.prg
    ! Patch by Bill Robertson applied.
      This should eliminate any messing with harbour.cfg.
2008-09-18 09:31:32 +00:00
Miguel Angel Marchuet Frutos
aaf182d085 2008-09-18 11:02 UTC+0100 Miguel Angel Marchuet <miguelangel@marchuet.net>
* contrib/hbbmcdx/bmdbfcdx.c
  * source/rdd/dbfcdx/dbfcdx1.c
    ! fixed generation error when length of key is greater than 256 as Clipper.
      instead of wait for internal error.
    * Used defined errors instead of hardcoded numbers.
2008-09-18 09:01:58 +00:00
Przemyslaw Czerpak
932e4f99a6 2008-09-18 07:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/cdpapi.c
    * explicit casting to char * in 1-st strchr() parameter as workaround
      for wrong function prototype in DMC header files
2008-09-18 05:56:41 +00:00
Przemyslaw Czerpak
86333ba271 2008-09-18 07:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbthread.h
    * use assembler version of atomic inc/dec operation in all x86 based
      GCC builds - it should noticeable improve OS2 MT build speed,
      please test.

  * harbour/include/hbcomp.h
  * harbour/include/hbapicdp.h
  * harbour/include/hbcompdf.h
  * harbour/include/hbgtcore.h
  * harbour/include/hbapifs.h
  * harbour/include/hbwince.h
  * harbour/include/hbexpra.c
  * harbour/include/hbexprop.h
  * harbour/include/hbmacro.h
  * harbour/include/hbapigt.h
  * harbour/include/hbapi.h
  * harbour/include/hbapiitm.h
  * harbour/include/hbexprb.c
  * harbour/source/pp/ppcore.c
  * harbour/source/pp/hbpp.c
  * harbour/source/vm/macro.c
  * harbour/source/vm/cmdarg.c
  * harbour/source/vm/arrays.c
  * harbour/source/vm/extrap.c
  * harbour/source/vm/memvars.c
  * harbour/source/vm/eval.c
  * harbour/source/vm/extend.c
  * harbour/source/vm/set.c
  * harbour/source/main/harbour.c
  * harbour/source/common/hbfsapi.c
  * harbour/source/common/reserved.c
  * harbour/source/common/expropt1.c
  * harbour/source/macro/macro.yyc
  * harbour/source/macro/macro.y
  * harbour/source/macro/macro.yyh
  * harbour/source/macro/macrolex.c
  * harbour/source/rtl/gtdos/gtdos.c
  * harbour/source/rtl/gtwin/gtwin.c
  * harbour/source/rtl/gtxwc/gtxwc.c
  * harbour/source/rtl/gtos2/gtos2.c
  * harbour/source/rtl/hbgtcore.c
  * harbour/source/rtl/cdpapi.c
  * harbour/source/rtl/gtcrs/gtcrs.c
  * harbour/source/rtl/hbtoken.c
  * harbour/source/rtl/gtchrmap.c
  * harbour/source/rtl/gtstd/gtstd.c
  * harbour/source/rtl/gtsln/mousesln.c
  * harbour/source/rtl/gtsln/gtsln.c
  * harbour/source/rtl/gtsln/kbsln.c
  * harbour/source/rtl/gttrm/gttrm.c
  * harbour/source/rtl/gtpca/gtpca.c
  * harbour/source/rtl/hbhex.c
  * harbour/source/rtl/gtgui/gtgui.c
  * harbour/source/rtl/gt_tpl/gt_tpl.c
  * harbour/source/rtl/gtcgi/gtcgi.c
  * harbour/source/rtl/gtwvt/gtwvt.c
  * harbour/source/rtl/strtran.c
  * harbour/source/rtl/hbinet.c
  * harbour/source/rtl/gtapi.c
  * harbour/source/rtl/filesys.c
  * harbour/source/rdd/dbfntx/dbfntx1.c
  * harbour/source/rdd/dbsql.c
  * harbour/source/rdd/dbfcdx/dbfcdx1.c
  * harbour/source/rdd/dbffpt/dbffpt1.c
  * harbour/source/rdd/hbsix/sxfname.c
  * harbour/source/compiler/ppcomp.c
  * harbour/source/compiler/hbmain.c
  * harbour/source/compiler/cmdcheck.c
  * harbour/source/compiler/hbdbginf.c
  * harbour/source/compiler/genc.c
  * harbour/source/compiler/hbident.c
  * harbour/source/compiler/hbusage.c
  * harbour/source/compiler/gencc.c
  * harbour/source/compiler/harbour.yyc
  * harbour/source/compiler/harbour.y
  * harbour/contrib/gtalleg/gtalleg.c
  * harbour/contrib/hbct/charlist.c
  * harbour/contrib/hbct/charmix.c
  * harbour/contrib/hbct/screen1.c
  * harbour/contrib/hbct/atrepl.c
  * harbour/contrib/xhb/hboutdbg.c
  * harbour/contrib/xhb/hbxml.c
  * harbour/contrib/xhb/hbxml.h
  * harbour/contrib/hbgt/strexpan.c
  * harbour/contrib/hbsqlit3/sqlite3/sqlite3.c
  * harbour/contrib/gtwvg/gtwvg.c
  * harbour/contrib/hbclipsm/status.c
  * harbour/contrib/hbclipsm/gauge.c
  * harbour/contrib/hbmisc/stringsx.c
  * harbour/contrib/hbtip/utils.c
  * harbour/contrib/hbgf/hbgfgtk/msginfo.c
  * harbour/contrib/hbgf/hbgfgtk/harbgtk.h
  * harbour/contrib/hbbmcdx/bmdbfcdx.c
  * harbour/utils/hbmake/hbmgauge.c
    * use const char * instead of char * in places which should be marked
      as const
2008-09-18 05:23:49 +00:00
Przemyslaw Czerpak
5ec4b754b9 2008-09-18 01:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/fm.c
  + harbour/source/vm/dlmalloc.c
    + added alternative memory manager written by Doug Lea
      It can be activated by recompiling Harbour with HB_FM_DL_ALLOC macro.
      Please make test on different platforms with different C compilers.
      Linux users will not benefit from it because the default GLIBC MM
      is derived from a version of code.
      NOTE: the results may strongly depend on total memory allocation
      and will be different then in simple memory tests.
2008-09-17 23:17:45 +00:00
Viktor Szakats
43499ce1b5 2008-09-17 22:15 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/rddado/adordd.prg
    ! Marking one STATIC var as thread STATIC.
    ; BTW, this should be revised for whole contrib .prg code.
2008-09-17 20:16:50 +00:00
Przemyslaw Czerpak
ab02c791d5 2008-09-17 18:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbthread.h
    + added macros to disable default native compiler TLS support:
      HB_NO_TLS

  * harbour/source/vm/set.c
    ! fixed GPF when set listeners were removed
2008-09-17 16:39:24 +00:00
Viktor Szakats
b203c5c037 2008-09-17 18:04 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_gcc.sh
  * contrib/make_gcc_all.sh
    ! cyg to w32 architecture conversion got uncommented.
2008-09-17 16:04:52 +00:00
Viktor Szakats
6735a91d3d Some additions to latest entry 2008-09-17 16:01:56 +00:00
Viktor Szakats
fd15782dd8 2008-09-17 17:32 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-mkslib.sh
  * make_gcc.sh
  * make_gnu.sh
  * make_tgz.sh
  * make_xmingw.sh
  * make_xmingwce.sh
  * contrib/make_gcc_all.sh
  * contrib/mtpl_gcc.sh
    - Removed unnecessary explicit SunOS detection.
    - Removed unnecessary explicit Darwin detection (to be tested).

  * contrib/make_gcc_all.sh
    ! Fixed 'cyg' platform in contrib make files.

  * make_tgz.sh
    ! Fixed .tgz generation for SunOS. Thanks Przemek.
      I simply copied the Linux method here, I'm not sure 64-bit 
      code would apply here, too.
    ! Fix for SunOS to link against curses instead of ncurses lib.
      Someone pls verify me.
    ; TOFIX: make_tgz.sh in OpenSolaris still has these errors:
             ld: fatal: relocations remain against allocatable but non-writable sections.
             ld: fatal: library -lharbour: not found
2008-09-17 15:54:07 +00:00
Viktor Szakats
f182ba5a3f 2008-09-17 14:04 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-mkslib.sh
  * make_xmingwce.sh
  * make_gcc.sh
  * make_xmingw.sh
  * make_gnu.sh
  * make_tgz.sh
    + Added SunOS platform detection as an attempt to make 
      make_tgz.sh work on OpenSolaris.
    ; NOFIX: Still, when trying to use make_tgz.sh in OpenSolaris, 
             I'm getting these errors:
             ---
             ld: fatal: library -lharbour: not found
             ld: fatal: library -lncurses: not found
             ---
             gtar: wheel: %s: Invalid group
2008-09-17 12:11:41 +00:00
Viktor Szakats
7a29cb3007 2008-09-17 13:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* tests/memtst.prg
  * tests/speedtst.prg
    * Made them compile with < 1.1 Harbour versions.
2008-09-17 11:23:42 +00:00
Przemyslaw Czerpak
453b0e0cd9 2008-09-17 01:29 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/make_xmingwce.sh
  * harbour/make_xmingw.sh
    + added an option to build utility binaries in cross builds

  * harbour/source/vm/thread.c
    ! fixes in OS2 builds MT builds
2008-09-16 23:30:28 +00:00
Viktor Szakats
80829934ea 2008-09-17 01:17 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* debian/changelog
    * Synced with 1.0.1.

  * source/pp/ppcore.c
    ! Minor typo in one PP error message. (sync 1.0.1)
    * Cleaned ":" from all PP error/warning messages to be 
      friendly with Eclipse.

  * source/compiler/hbgenerr.c
    * Cleaned some more ":" chars from compiler error/warning 
      messages to be friendly with Eclipse.
    ; NOTE: Few more still remain. If you have an idea how to rephrase these, pls tell:
            "Bound error: '%s'"
            "Syntax error: '%s'"
            "Syntax error: \"%s at '%s'\""
            "Invalid lvalue: '%s'"
            "Invalid use of '@' (pass by reference): '%s'"
            "3Incompatible type in assignment to declared array element expected: '%s'"
            "4Suspicious type in assignment to declared array element expected: '%s'"

  * utils/hbmake/hbmake.prg
    * Updated by large patch from Bill Robertson.
      Adds several enhancements, fixes and optimizations 
      to the previous version.

  * utils/hbdoc/hbdoc.prg
  * utils/hbmake/hbmake.prg
  * utils/hbrun/hbrun.prg
    * Changed the way version number is shown.

  * utils/hbmake/hbmake.prg
    * Updated MT lib lists. (untested)

  * make_b32.mak
    * Minor sync with make_vc.mak.

  * make_vc.mak
    * Attempt to implement hbvmmt.lib just like in 
      make_b32.mak to make them synced.
2008-09-16 23:18:21 +00:00
Przemyslaw Czerpak
18aa26dfc0 2008-09-16 19:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbtest/rt_class.prg
    ! fixed description message

  * harbour/common.mak
  * harbour/utils/hbtest/Makefile
  * harbour/utils/hbtest/hbtest.prg
  + harbour/utils/hbtest/rt_mt.prg
    + added simple MT test for fast checking MT builds
      NOTE: DMC builds crashes with and without direct TLS access
            If possible it has to be fixed. Now MT mode is not supported
            for this compiler.
2008-09-16 17:12:28 +00:00
Przemyslaw Czerpak
ca5637d31c 2008-09-16 15:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbthread.h
    * do not use native TLS support in BCC builds when CodeGuard
      is enabled
2008-09-16 13:58:37 +00:00
Przemyslaw Czerpak
61647d6776 2008-09-16 14:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbthread.h
    + added DMC to list of compilers which can use __declspec( thread )
    + automatically use TLS for Linux and GLIBC >= 2.6 on x86* machines

  * harbour/include/hbthread.h
  * harbour/source/vm/estack.c
  * harbour/source/vm/thread.c
    ! clean up typos in OS2 builds
2008-09-16 12:49:50 +00:00
Viktor Szakats
4b3851dee7 addition to prev entry 2008-09-16 11:03:05 +00:00
Viktor Szakats
999589b735 2008-09-16 13:01 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/compiler/hbgenerr.c
    * Most ':' chars removed from Harbour compiler error messages.
      Few still remain, where I wasn't sure of the exact meaning 
      or final layout of the texts.
      Warnings are also a TODO yet.
      Please review.
2008-09-16 11:01:24 +00:00
Viktor Szakats
7eca442c36 2008-09-16 12:01 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_b32.mak
  * contrib/mtpl_b32.mak
    ! Removed CG switches.
2008-09-16 10:01:52 +00:00
Viktor Szakats
56b4afff23 2008-09-16 05:14 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* doc/gmake.txt
   * doc/gtapi.txt
   * doc/hbmake.txt
   * doc/windll.txt
     * Useless changes.

   * make_vc.mak
     * Some untested MT support for MSVC.

   * include/hbdefs.h
     ! Removed mistakenly committed experiment to pull in 
       MT related libs. This caused the strange build problem due 
       to empty lib name passed to #pragma. This could work 
       in case someone wanted to deal with it in the future.
2008-09-16 03:18:31 +00:00
Przemyslaw Czerpak
04523710aa 2008-09-15 23:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
+ harbour/tests/memtst.prg
    + added some simple tests for memory manager

  * harbour/tests/speedtst.prg
    * reduced the size of allocated block size to not test C-RTL
      memory manager but HVM speed

  * harbour/include/hbthread.h
    * added for x86@32 PTHREADS builds HB_ATOM_GET() and HB_ATOM_SET()
      so they can be used together with HB_ATOM_INC()/HB_ATOM_DEC()
      also for x86@64 but with reduced to 32bit reference counter.
2008-09-15 21:09:27 +00:00
Viktor Szakats
359f4c772f 2008-09-15 21:05 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_b32.mak
  * contrib/mtpl_b32.mak
    + Added -vG -Od to debug flags (CodeGuard and no optimization 
      if HB_BUILD_DEBUG is 'yes').
    ; I couldn't test it, because I'm getting a fatal error 
      when trying with my BCC build file.
      Fatal: Unable to open file '.OBJ'
2008-09-15 19:07:15 +00:00
Viktor Szakats
21d7545e12 2008-09-15 20:54 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* tests/multifnc/Makefile
  * doc/gmake.txt
  * bin/hb-func.sh
  * bin/postinst.sh
  * include/hbdefs.h
  * source/vm/Makefile
  * source/vm/vmmt/Makefile
    ! Changed mingw32 to mingw in remaining places.
2008-09-15 18:55:03 +00:00
Przemyslaw Czerpak
36ed679f92 2008-09-15 17:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbthread.h
    + added assembler MT version of HB_ATOM_INC/HB_ATOM_DEC operation
      for x86@32

  * harbour/source/vm/fm.c
    ! removed #undef HB_ATOM_INC/HB_ATOM_DEC I left by mistake
2008-09-15 15:54:46 +00:00
Viktor Szakats
3590e186d8 2008-09-15 14:54 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* bin/bld.bat
  * bin/bld_os2.cmd
  * contrib/gtwvg/tests/bld_b32.bat
  * contrib/hbgd/tests/bld_b32.bat
    ! Changed CFLAGS to C_USR.
2008-09-15 13:02:33 +00:00
Przemyslaw Czerpak
e75b7f5003 2008-09-15 13:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/tests/speedtst.prg
    * small update in speedtst.prg. It should be enough to make test and
      compare MT and ST mode speed.
      Please make test with different C compiler and send results to
      devel list.
2008-09-15 11:39:41 +00:00
Viktor Szakats
593aa37a2a 2008-09-15 11:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* tests/bld_b32.bat
  * tests/bld_vc.bat
    + Added bld files for tests.

  * tests/bld_b32_dll.bat
    ! .dll name updated.
2008-09-15 09:17:46 +00:00
Przemyslaw Czerpak
26623b9f34 2008-09-15 04:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/pack_src.sh
    * added file list to archive so it's possible to recreate it later without SVN data

  * harbour/common.mak
  * harbour/make_b32.mak
  * harbour/make_gcc.mak
    + added HBVMMT library for default builds
      BCC version not tested - please test.

  * harbour/source/vm/hvm.c
    * moved language and code page setting before class and error initialization

  * harbour/source/rtl/fserror.c
  * harbour/source/rtl/fstemp.c
  * harbour/source/rtl/fssize.c
  * harbour/source/rtl/hbffind.c
  * harbour/source/rtl/filesys.c
    ! fixed overloading FS error codes by other operations, f.e. accessing
      TLS data by OS API function call
2008-09-15 02:34:44 +00:00
Viktor Szakats
82ac6e7cc6 2008-09-15 01:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/common/hbverdsp.c
    * Undone prev change.
2008-09-14 23:04:00 +00:00
Viktor Szakats
76bb0f05be 2008-09-14 22:46 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmake/hbmake.prg
    ! Fixed two typos in last commit. Thanks to Bill Robertson.
2008-09-14 20:46:26 +00:00
Viktor Szakats
8e7057547b 2008-09-14 22:36 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/common/hbverdsp.c
    + Showing MT status on //BUILD screen.

  * contrib/hbvpdf/hbvpdf.prg
    ! Fix to previous modification (fixing bookmarks).
2008-09-14 20:44:42 +00:00
Przemyslaw Czerpak
ca21165e4b 2008-09-14 22:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbsetup.h
    * accept both settings: HB_FM_STATISTICS and HB_FM_STATISTICS_OFF
      without errors

  * harbour/bin/postinst.sh
    * added small trick to make HBFM lib compilation not  dependent on
      default HB_FM_STATISTIC settings

  * harbour/include/hbvm.h
  * harbour/source/vm/hvm.c
    + added C function hb_vmIsMt()

  * harbour/source/vm/cmdarg.c
    * report MT HVM status when program is executed with //INFO
      parameter

  * harbour/source/vm/fm.c
    ! fixed memory statistic MT protection in hb_xrealloc() operation

  * harbour/config/w32/owatcom.cf
    * use echo instead of echo. for non empty output.

  * harbour/include/hbextern.ch
  * harbour/source/vm/thread.c
    + added .prg function hb_threadTerminateAll() - it sends QUIT request
      to each HVM thread and waits for their termination. Can be executed
      only by main HVM thread.
2008-09-14 20:16:03 +00:00
Viktor Szakats
b4dd3b7bbd ; Synced from 1.0
2008-09-14 16:30 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com)
  * contrib/hbvpdf/hbvpdf.prg
  * contrib/hbvpdf/hbvpdf.ch
  * contrib/hbvpdf/test/pdf_demo.prg
    ! Mostly a cleanup of the code, added some functions to avoid the use  
      of publics vars.
2008-09-14 18:26:06 +00:00
Viktor Szakats
3b262ebaaa 2008-09-14 20:18 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/common.ch
    % IS*() macros now using hb_Is*() functions instead of 
      ValType() calls.
2008-09-14 18:19:09 +00:00
Viktor Szakats
6bd3dababd 2008-09-14 19:59 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_b32.mak
    + Now setting 'HB_BUILD_ST = no' will generate an MT build.
      TODO: Change the default to 'yes' should be the way to go 
            IMO.

  * bin/bld.bat
    + Added cw32mt.lib for BCC32 to make it work for MT Harbour.
    ; I hope this won't break ST Harbour builds, a quick tests 
      proved not.
2008-09-14 18:00:05 +00:00
Viktor Szakats
5323090bc4 2008-09-14 19:15 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_b32.mak
  * make_vc.mak
  * make_gcc.mak
    * A change with the goal to further clean duplicate build 
      controlling options and make the configuration of GNU 
      and non-GNU build systems closer. INCOMPATIBLE.
      Builders should make the following changes in their 
      configurations and build scripts:
      - CFLAGS -> C_USR
      - CLIBFLAGS -> C_USR
      - LDFLAGS -> L_USR
      - HARBOURFLAGS -> PRG_USR
    * BCCDLL_WITH_DYNRT -> HB_BCCDLL_DYNRT
      Shouldn't this be the default, if it's marked as 'recommended'?
    ; Basic rules for builders is now pretty simple:
      C_USR for .c options, L_USR for link options, 
      PRG_USR for .prg options.
    ; L_USR doesn't work the same way as in GNU-make, yet.
    ; Also expect, that in the future - even before 1.1 release - 
      these switches might be also standardized to be 
      HB_USR_C, HB_USR_PRG, HB_USR_L, HB_USR_A.
2008-09-14 17:22:06 +00:00
Viktor Szakats
f093f8045b 2008-09-14 17:59 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
+ contrib/hbnf/tests/nftest.prg
    + Adapted hbnf test program from xhb.

  * contrib/hbnf/common.mak
    ! File list synced with the GNU-make one.
      [TOMERGE 1.0]

  * source/common/hbver.c
    * "Intl." removed from the version number. Besides mimicing 
      CA-Cl*pper there is not point in including this, since 
      all Harbour compilers are by default international version.
2008-09-14 16:00:27 +00:00
Viktor Szakats
41cf7beb92 some INCOMPATIBLE tags added. 2008-09-14 14:14:50 +00:00
Viktor Szakats
ce6fc90ab4 2008-09-14 16:10 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-func.sh
  * source/vm/hvm.c
  * source/rtl/hbgtcore.c
  * source/rtl/gtchrmap.c
    ! Global vars given std names:
      s_pszLinkedMain        -> hb_vm_pszLinkedMain
      s_defaultGT            -> hb_gt_szNameDefault
      s_szDefaultCharMapFile -> hb_gt_szCharMapFileDefault
2008-09-14 14:11:27 +00:00
Viktor Szakats
96dd4b861f 2008-09-14 15:56 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbsetup.ch
    * Turned off HB_LEGACY_LEVEL by default.

  * doc/whatsnew.txt
    * Synced with 1.0.1.

  * make_vc.mak
  * contrib/mtpl_vc.mak
    * MSVS warning level changed to -W4 (with one warning 
      type manually excluded).
    ; NOTE/TOFIX: This will still generate quite some warnings, 
                  hopefully we can fix these until the next major 
                  release.
2008-09-14 14:01:51 +00:00
Viktor Szakats
03b27f7468 2008-09-14 13:18 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_b32.mak
  * make_vc.mak
  * contrib/mtpl_b32.mak
  * contrib/mtpl_vc.mak
    + Attempt to add support for L_USR and A_USR 
      in non-GNU make. A_USR is probably wrong, L_USR 
      might also be. Please test.
2008-09-14 11:18:46 +00:00
Viktor Szakats
8eb7cf6c9a 2008-09-14 12:54 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* harbour-ce-spec
  * make_xmingwce.sh
  * harbour-w32-spec
  * bin/bld.bat
  * make_xmingw.sh
  * make_gnu.bat
  * make_gnu.sh
  * make_tgz.sh
    * mingw32 -> mingw changes.
    ! hbw32 -> hbwin fixes.

  + config/w32/bcc32.cf
  - config/w32/bcc.cf
    * Renamed back, because it's difficult to know in advance 
      how they will solve this, and there would be too many places 
      to update.
2008-09-14 10:55:33 +00:00
Viktor Szakats
6d5ae85d4f typo 2008-09-14 10:42:21 +00:00
Viktor Szakats
de22dc4cb6 2008-09-14 12:38 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
- config/w32/bcc32.cf
  + config/w32/bcc.cf
  - config/w32/mingw32.cf
  + config/w32/mingw.cf
    * Cleaning some '32's from HB_COMPILER names.
      BCC and MinGW 64-bit is coming.
    ; Please update your build files. INCOMPATIBLE.
2008-09-14 10:39:06 +00:00
Viktor Szakats
dd31acbb20 2008-09-14 12:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* harbour-ce-spec
  * harbour-w32-spec
  * harbour.spec
  * common.mak
  * include/hbver.h
    * Changed version number to 1.1.0

  * include/hbextern.ch
    + Added new thread functions.

  * harbour-ce-spec
  * harbour-w32-spec
  * contrib/Makefile
  * contrib/make_b32_all.bat
  * contrib/make_gcc_all.sh
  * contrib/make_vc_all.bat
  - contrib/hbw32
  + contrib/hbwin
  * contrib/hbwin/win_reg.prg
  * contrib/hbwin/win_os.prg
  * contrib/hbwin/win_tprt.prg
  * contrib/hbwin/common.mak
  - contrib/hbwin/hbw32.ch
  + contrib/hbwin/hbwin.ch
  - contrib/hbwin/tests/testw32p.prg
  + contrib/hbwin/tests/testprn.prg
  * contrib/hbwin/tests/testreg.prg
  * contrib/hbwin/tests/bld_b32.bat
  * contrib/hbwin/tests/testprt1.prg
  * contrib/hbwin/tests/bld_vc.bat
  * contrib/hbwin/tests/testprt2.prg
  * contrib/hbwin/Makefile
    * Renamed hbw32 to hbwin.
    * Renamed hbw32.ch to hbwin.ch.
    ; INCOMPATIBLE.
2008-09-14 10:36:50 +00:00
Viktor Szakats
9738d0bef5 ; Merging changes to trunk from branches/harbour-1.0 r9377.
2008-09-14 11:14 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/gtalleg/ssf.h
    ! Fixed to compile with Cygwin.

  * contrib/hbwhat/whtsock.c
    ! Fixed for PellesC 4.5 where the inclusion order of 
      Windows headers needs to be the opposite of what 5.0 needs.

  * contrib/hbwhat/whtilst.c
    ! Fixed to compile with Cygwin.

  * contrib/hbwhat/whtinet.c
    ! Added missing Windows macro for Cygwin.
    ! Fixed three warnings with Cygwin.

  * contrib/hbwhat/whtseria.c
  * contrib/hbwhat/whtreg.c
  * contrib/hbwhat/whtini.c
    ! Removed #include "tchar.h", because it's unnecessary, 
      and breaks Cygwin.

  * contrib/hbwhat/whtsys.c
    ! Removed #include "htmlhelp.h", because it's unnecessary, 
      and breaks Cygwin.

2008-09-13 19:30 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/gtalleg/ssf.h
    ! Turned off ASM for MSVC AMD64 mode.

  * contrib/gtalleg/Makefile
    ! Disabled for OpenWatcom. (maybe compilation could be 
      fixed somehow, if someone is interested pls look into it.)

  * doc/whatsnew.txt
  * contrib/hbfimage/fi_winfu.c
  * contrib/hbfimage/fi_wrp.c
    ! Fixed for OpenWatcom.

  * contrib/gtwvg/wvgutils.c
  * contrib/gtwvg/wvgcore.c
    ! Silenced some MinGW/PelleC cast warnings.

  * contrib/hbw32/win_prt.c
    ! Fixed GCC (MinGW/Cygwin) warnings. The solution I choose is 
      pretty ugly, if someone knows the right one, please help.
      Warning was:
      ../../win_prt.c:70: warning: missing initializer
      ../../win_prt.c:70: warning: (near initialization for `s_PortData[0].OldDCB')
    ! Fixed few remaining warnings / minor bugs.

  * contrib/hbwhat/whtlv.c
  * contrib/hbwhat/whtcomm.c
  * contrib/hbwhat/whttab.c
  * contrib/hbwhat/whttree.c
    ! Silenced MinGW 4.12 warnings.

  * contrib/hbwhat/whtdate.c
    ! Removed #include "tchar.h", which seems unnecessary and 
      fixed Cygwin compilation.

  * contrib/hbwhat/whtsock.c
    ! Changed #include order of Windows headers to satisfy PellesC 5.

  ; TOFIX1: hbct / SETFDATI() has a possible bug here (shown in PelleC 64 bit):
    ../../files.c(264): warning #2006: [ISO] Conversion from 'void *' to 'int' is compiler dependent.
    ../../files.c(264): warning #2052: Conversion from 'void *' to 'int' is undefined.
    Problem is with HFILE / HANDLE conversion.

  ; TOFIX2: Here are some remaining 64-bit problems:
    ../../hb_btree.c(643): warning #2006: [ISO] Conversion from 'void *' to 'unsigned long int' is compiler dependent.
    ../../hb_btree.c(643): warning #2052: Conversion from 'void *' to 'unsigned long int' is undefined.
    ../../hb_btree.c(739): warning #2006: [ISO] Conversion from 'ioBuffer_T *' to 'unsigned long int' is compiler dependent.
    ../../hb_btree.c(739): warning #2052: Conversion from 'ioBuffer_T *' to 'unsigned long int' is undefined.
    ../../win_dll.c(511): warning #2006: [ISO] Conversion from 'void *' to 'unsigned long int' is compiler dependent.
    ../../win_dll.c(511): warning #2052: Conversion from 'void *' to 'unsigned long int' is undefined.
    ../../win_ole.c(761): warning #2006: [ISO] Conversion from 'LPDISPATCH' to 'long int' is compiler dependent.
    ../../win_ole.c(761): warning #2052: Conversion from 'LPDISPATCH' to 'long int' is undefined.
    ../../win_ole.c(1091): warning #2006: [ISO] Conversion from 'LPDISPATCH' to 'long int' is compiler dependent.
    ../../win_ole.c(1091): warning #2052: Conversion from 'LPDISPATCH' to 'long int' is undefined.
    ../../win_ole.c(1425): warning #2006: [ISO] Conversion from 'void *' to 'long int' is compiler dependent.
    ../../win_ole.c(1425): warning #2052: Conversion from 'void *' to 'long int' is undefined.
    ../../win_ole.c(1478): warning #2006: [ISO] Conversion from 'void *' to 'long int' is compiler dependent.
    ../../win_ole.c(1478): warning #2052: Conversion from 'void *' to 'long int' is undefined.
    ../../win_regc.c(94): warning #2006: [ISO] Conversion from 'HKEY' to 'unsigned long int' is compiler dependent.
    ../../win_regc.c(94): warning #2052: Conversion from 'HKEY' to 'unsigned long int' is undefined.
    ../../win_regc.c(116): warning #2006: [ISO] Conversion from 'HKEY' to 'unsigned long int' is compiler dependent.
    ../../win_regc.c(116): warning #2052: Conversion from 'HKEY' to 'unsigned long int' is undefined.

2008-09-13 13:34 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * doc/dirstruc.txt
    * Updated.

  - contrib/hbgf/hbgfw32
  + contrib/hbgf/hbgfwin
  * contrib/hbgf/tests/bld_b32.bat
  * contrib/hbgf/tests/bld_vc.bat
  * contrib/hbgf/Makefile
  * contrib/hbgf/hbgfwin/common.mak
  * contrib/hbgf/hbgfwin/button.prg
  * contrib/hbgf/hbgfwin/winctrl.prg
  * contrib/hbgf/hbgfwin/form.prg
  * contrib/hbgf/hbgfwin/menuitem.prg
  * contrib/hbgf/hbgfwin/menu.prg
  * contrib/hbgf/hbgfwin/edit.prg
  * contrib/hbgf/hbgfwin/Makefile
  - contrib/hbgf/hbgfwin/win32.c
  + contrib/hbgf/hbgfwin/winapi.c
  - contrib/hbgf/hbgfwin/hbgfw32.ch
  + contrib/hbgf/hbgfwin/hbgfwin.ch
    * Removed some '32's.

2008-09-13 12:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * doc/whatsnew.txt
    * Updated.

2008-09-13 12:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/hbw32/Makefile
  * contrib/hbw32/common.mak
  * contrib/hbw32/hbw32.ch
  + contrib/hbw32/hbwin.h
  + contrib/hbw32/win_prt.c
  + contrib/hbw32/win_tprt.prg
  + contrib/hbw32/tests/testprt1.prg
  + contrib/hbw32/tests/testprt2.prg
    + Added Windows COM port handling functions.
      Contributed by Alex Strickland.
    ; I did some changes to clean warnings, few 64-bit issues, 
      changed to use safe string functions, integrated 
      the header into hbw32.ch, added a new general C level 
      header, split BEGINDUMP into separate .c function, 
      changed to ANSI C comments, marked statics with s_, 
      fixed a few trashed string buffers and leaks in some 
      error cases. Separated tests into distinct .prgs.
      Fixed for UNICODE mode. Minor optimizations, formatting.
    ; TODO: Test WinCE build.
    ; Please test, I don't have any COM ports on my system.

2008-09-13 10:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/gtwvg/wvgcore.c
  * contrib/gtwvg/wvgutils.c
    ! Fixed 64-bit problems.
    ; Pritpal, could you please review and test these changes?

2008-09-13 09:37 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/hbvpdf/hbvpdf.prg
    ! Generic support functions made STATIC to avoid collision 
      with similarly named functions in other libs (like hbct).

  * contrib/hbvpdf/hbvpdf.prg
  * contrib/hbvpdf/hbvpdft.prg
    * Using hb_run() instead of RUN and __run().

2008-09-12 19:30 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/gtalleg/Makefile
    * Excluded Cygwin.

  * contrib/hbwhat/Makefile
  * contrib/hbwhat/common.mak
  - contrib/hbwhat/whtdll.c
  - contrib/hbwhat/whtcall.c
    - Removed DLL related stuff from hbwhat, since we're 
      maintaining (a better working) one already in hbw32, 
      and hbwhat by itself doesn't seem to need this 
      functionality internally. Users should migrate to 
      the hbw32 functions, which work mostly similarly.

2008-09-12 19:08 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * doc/whatsnew.txt
    * Added some build notes.

  * contrib/gtalleg/Makefile
    ! Fixed POCC, XCC compiler exlusions.
    * Excluded DMC compiler.

  * contrib/hbwhat/Makefile
    * Excluded DMC compiler.

  * contrib/hbwhat/wincorec.c
    ! Workaround for a wrong Windows API declaration in 
      __DMC__ headers.

2008-09-12 11:01 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/hbole/tests/bld_vc.bat
  * contrib/hbw32/tests/bld_vc.bat
    ! Added missing system libs.

2008-09-12 04:03 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/gtwvg/wvgutils.c
    ! Fix to previous fix, so it works again in 64-bit builds.
         hb_retclen( ( LPSTR ) pdlgtemplate, ( ( ULONG ) p - ( ULONG ) pdlgtemplate ) ) ; =>
         hb_retclen( ( LPSTR ) pdlgtemplate, ( ( HB_PTRDIFF ) p - ( HB_PTRDIFF ) pdlgtemplate ) ) ;
    ; This way it's now in sync with similar function in hbwhat.

2008-09-12 01:14 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * source/rdd/usrrdd/rdds/Makefile
  + source/rdd/usrrdd/rdds/arrayrdd.prg
  + source/rdd/usrrdd/rdds/vfpcdx.prg
    + Added two usrrdd based RDDs. Borrowed from xhb.
      Works of: Francesco Saverio Giudice and 
                Miguel Angel Marchuet Frutos
    ; These were adapted to compile and link in Harbour, but 
      I did no tests, so some more - hopefully minor - changes 
      may happen to be needed.

2008-09-12 00:53 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/rddado/adordd.prg
  * contrib/rddado/adordd.ch
    * Merged changes from xhb.
      Some hbusrrdd.ch values seem to be missing from Harbour, 
      related features will be automatically enabled if we 
      implement them in our usrrdd.
      Please test.

2008-09-11 22:55 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * doc/whatsnew.txt
  * source/vm/cmdarg.c
    * Legacy undocumented symbols hb_hInstance and 
      hb_hPrevInstance reenabled for 1.0.1, when HB_LEGACY_LEVEL 
      is #defined. This is the default in 1.0.x. It will be 
      turned off in 1.1.0.
      I did this to not break binary compatibility of 1.0.1 
      with 1.0.0 for those apps that rely on these symbols
      (like gtwvg).

2008-09-11 21:29 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/gtwvg/tests/bld_vc.bat
    ! Added required list of system libs.

2008-09-11 14:08 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * source/rtl/gtpca/gtpca.c
  * source/rtl/gtwin/gtwin.c
  * source/rtl/gtwvt/gtwvt.c
  * source/rtl/gttone.c
    ! Fixed some core MSVC -W4 warnings.

  * contrib/hbnf/getenvrn.c
    ! Fixed compile problem in MSVC C++ mode surfaced after 
      recent UNICODE fix.

2008-09-11 13:13 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/gtwvg/wvgutils.c
    ! Fixed last MSVC -W4 warnings.
    ; NOTE: Only these contribs have remaining -W4 warnings:
            hbbmcdx, hbbtree, hbct (in screen*.c).
            Plus core.

2008-09-11 12:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
  * contrib/hbnf/fttext.c
  * contrib/hbwhat/whtdate.c
  * contrib/hbwhat/wincorec.c
  * contrib/hbwhat/whtsock.c
  * contrib/hbwhat/whtseria.c
  * contrib/hbwhat/whtdlg.c
  * contrib/hbwhat/whtsys.c
  * contrib/hbwhat/whtmisc.c
  * contrib/hbwhat/whtcdlg.c
    ! Fixed all MinGW 4.3x warnings.
    ! Added workaround for slightly wrong MinGW definition for 
      Windows DateTime_GetMonthCal() macro.

  * contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/wvgutils.c
  * contrib/gtwvg/wvgcore.c
    ! Fixed all MSVC -W4 warnings.

  * contrib/gtwvg/gtwvg.h
    ! Fixed old bug, which surfaced after recently 
      fixing __MINGW__ to __MINGW32__.
      Apparently, comctl32.h is never needed here.

  * config/rules.cf
  * contrib/hbbtree/tests/bld_djgp.bat
    % Removed -gc0. Now default.

  * contrib/make_b32_all.bat
  * contrib/make_vc_all.bat
    * Minor formatting.

  * contrib/hbgt/asciisgt.c
  * utils/hbdoc/hbdoc.prg
    - Removed unnecessary version strings. This was good 
      in CVS times, but for SVN there is not much point.

  * utils/hbmake/hbmake.prg
    + Another patch session from Bill Robertson.
      Besides some further cleanups, this should fix 
      some problems with the previous version.

  * source/lang/msghuiso.c
  * source/lang/msgskiso.c
  * source/lang/msgrukoi.c
  * source/lang/msghuwin.c
  * source/lang/msgzhgb.c
  * source/lang/msgskwin.c
  * source/lang/msg_tpl.c
  * source/lang/msgruwin.c
  * source/lang/msgelwin.c
  * source/lang/msgro.c
  * source/lang/msgpt.c
  * source/lang/msghriso.c
  * source/lang/msghrwin.c
  * source/lang/msgsliso.c
  * source/lang/msgbe866.c
  * source/lang/msgslwin.c
  * source/lang/msghe862.c
  * source/lang/msgcskam.c
  * source/lang/msggl.c
  * source/lang/msgtrwin.c
  * source/lang/msgeo.c
  * source/lang/msgbgiso.c
  * source/lang/msgbgwin.c
  * source/lang/msgskkam.c
  * source/lang/msges.c
  * source/lang/msguakoi.c
  * source/lang/msgzhb5.c
  * source/lang/msgeu.c
  * source/lang/msgpl852.c
  * source/lang/msgsr852.c
  * source/lang/msguawin.c
  * source/lang/msgde.c
  * source/lang/msgtr857.c
  * source/lang/msgru866.c
  * source/lang/msgcs852.c
  * source/lang/msgfr.c
  * source/lang/msgis850.c
  * source/lang/msgnl.c
  * source/lang/msghu852.c
  * source/lang/msgsk852.c
  * source/lang/msgca.c
  * source/lang/msgplmaz.c
  * source/lang/msgpliso.c
  * source/lang/msgplwin.c
  * source/lang/msgbgmik.c
  * source/lang/msgid.c
  * source/lang/msgbg866.c
  * source/lang/msgltwin.c
  * source/lang/msgsriso.c
  * source/lang/msgel.c
  * source/lang/msgsrwin.c
  * source/lang/msgbewin.c
  * source/lang/msgdewin.c
  * source/lang/msghr437.c
  * source/lang/msghr852.c
  * source/lang/msgko.c
  * source/lang/msgua866.c
  * source/lang/msghewin.c
  * source/lang/msgit.c
  * source/lang/msgsl437.c
  * source/lang/msgsl852.c
  * source/lang/msghucwi.c
  * source/lang/msgcsiso.c
  * source/lang/msgcswin.c
  * source/lang/msgeswin.c
  * source/rtl/langapi.c
    - Cleared unnecessary version strings. This was good 
      in CVS times, but for SVN there is not much point.
2008-09-14 10:19:59 +00:00