Commit Graph

9127 Commits

Author SHA1 Message Date
Viktor Szakats
b7a7705eee 2008-10-03 09:04 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbole/oleauto.prg
  * contrib/hbole/ole2.c
  * contrib/hbwin/win_tole.prg
  * contrib/hbwin/win_ole.c
    * OLESHOWEXCEPTION() implemented on the .prg level, using 
      Alert() rather than MessageBox().
    ! All MessageBox()es converted to Alert()s.
    + Added OLEEXCEPTIONSOURCE(), OLEEXCEPTIONDESCRIPTION() 
      to hbole.

  * source/vm/maindllp.c
    ! Changed MessageBox() call to internal error.

  * contrib/gtwvg/gtwvg.c
  * source/rtl/gtwvt/gtwvt.c
    ! Changed MessageBox() calls to internal error.

  * contrib/gtwvg/gtwvg.c
    * Internal error calls synced with GTWVT.

  * source/rtl/hbgtcore.c
    - Removed "Internal error" text from two internal error descriptions.

  * make_vc.mak
    - Removed reference to MessageBox() from comment.

  ; NOTE: No more MessageBox() calls in Harbour.
          (except some wrappers for user .prg code)
2008-10-03 07:06:16 +00:00
Przemyslaw Czerpak
cd9a7b9a66 2008-10-03 00:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/filesys.c
    * added workaround for missing S_IREAD, S_IWRITE and S_IEXEC in OS2
      when _XOPEN_SOURCE is defined
2008-10-02 22:25:29 +00:00
Viktor Szakats
011d73157d 2008-10-02 23:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbsetup.ch
    ! Removed some company names from comments.

  * source/vm/extrap.c
    + Added //BATCH internal switch to indicate exception handler 
      to suppress the Windows exception dialog when an exception 
      occurs. Useful for programs running without user interaction.
      NOTE: This may not be the ultimate method. If we can gather 
            more such situations where such "batch" mode might 
            be useful, we may as well implement it as a Set().
    - Removed Harbour specific exception MessageBox(). Besides 
      having gotten rid of a MessageBox() call in core VM, Harbour now 
      got back the standard Windows error handling dialog, which is 
      more standard and easy to get by than the previous default 
      method, where several clicks were needed to pass through 
      the (sometimes hidden) popups. The details of all GPFs are 
      still logged into hb_out.log.
    + Removed size limit for the logged exception call stack.
2008-10-02 21:49:11 +00:00
Przemyslaw Czerpak
c16b13e573 2008-10-02 21:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rdd/sdf1.c
    ! fixed stupid typo (missing !) in last modification which broke
      SDF RDD read mode. Thanks to Marco for information and example.

  * harbour/include/hbstack.h
  * harbour/source/vm/estack.c
    * small cleanup in used macros
2008-10-02 19:12:30 +00:00
Viktor Szakats
738b3391e8 2008-10-02 20:25 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbct/Makefile
  * contrib/hbct/common.mak
  * contrib/hbct/ctmisc.prg
  + contrib/hbct/ctdummy.prg
    * Recently added dummy CT functions moved to a separate file.

  * source/vm/thread.c
    ! Fixed warning in HB_THREADID().
2008-10-02 18:30:09 +00:00
Maurilio Longo
f25e456ddb 2008-10-02 15:54 UTC+0200 Maurilio Longo (maurilio.longo@libero.it)
* harbour/source/vm/thread.c
    * hb_ThreadID() returns 0 when built in ST mode.
2008-10-02 13:53:54 +00:00
Maurilio Longo
c2f6b15424 2008-10-02 15:50 UTC+0200 Maurilio Longo (maurilio.longo@libero.it)
* harbour/source/vm/thread.c
    + added hb_ThreadID() function which returns thread ID of current thread.
2008-10-02 13:47:59 +00:00
Viktor Szakats
3271afe446 2008-10-02 15:19 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/vm/extrap.c
    + Upped internal buffer to store the exception dump 
      and stack trace.
2008-10-02 13:20:00 +00:00
Przemyslaw Czerpak
ffd9b480a4 2008-10-02 14:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbstack.h
    % enable assembler inline function to access HVM thread stack pointer
      without native compiler TLS support even if HB_STACK_PRELOAD is not
      defined in MinGW builds. It gives some additional small speed
      improvement in MT mode

  * harbour/source/rtl/idle.c
    * unlock HVM inside hb_releaseCPU() function

  * harbour/contrib/hbwin/win_ole.c
    ! fixed casting and C++ compilation in some compilers

  * harbour/include/Makefile
  + harbour/contrib/examples/rdddbt/hbrdddbt.h
  - harbour/include/hbrdddbt.h
    ! moved hbrdddbt.h to correct location

  * harbour/include/Makefile
    ! added missinf hbthread.h

  * 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
    ! fixed description in header I wrongly copied without updating
      from other files

  + harbour/tests/hsxtest.prg
    + added test code for HiPer-SEEK indexes

  * harbour/source/rtl/filesys.c
    + added new functions: hb_fsExtName(), hb_fsReadAt(), hb_fsWriteAt(),
      hb_fsTruncAt() to use with shared file handles.
      Please test it in other *nixes. I used pread[64]()/pwrite[64]()
      POSIX functions but I do not know if they are available by default
      in other supported platforms like MacOSX, BSD, HPUX, SunOS.
      If not they I will have to implement some workaround.

  * harbour/common.mak
  * harbour/source/rtl/Makefile
  * harbour/include/hbapifs.h
  + harbour/source/rtl/filebuf.c
    + added set of new file functions (hb_file*()) which are designed to
      use with shared file handles and locks (buffers in the future):
      hb_fileExtOpen(), hb_fileCreateTemp(), hb_fileClose(), hb_fileLock(),
      hb_fileReadAt(), hb_fileWriteAt(), hb_fileTruncAt(), hb_fileSize(),
      hb_fileCommit(), hb_fileHandle()
      These functions operate on PHB_FILE structure instead of HB_FHANDLE.
      Now in POSIX systems they share file handle between aliased or
      simultaneously open by other thread work areas. It resolves the
      problem with releasing all process FCNTL locks by any close()
      operation even on duplicated or open() separately handle.
      Now DOS deny flags emulation works in single process even if
      BSD locks are disabled (non Linux *nixes).
      They also keep internal file lock list what allows to synchronize
      threads and aliases with file locks in POSIX systems. In the future
      it will be used also for internal locking to synchronize threads
      without OS level locks - pseudo exclusive mode in cloned WA.
      Finally these structures will be used also for file buffers
      which will be shared between aliased WA and threads.

  * harbour/include/hbrdddbf.h
  * harbour/include/hbrddcdx.h
  * harbour/include/hbrddntx.h
  * harbour/include/hbrdddel.h
  * harbour/include/hbrddsdf.h
  * harbour/source/rdd/dbf1.c
  * harbour/source/rdd/delim1.c
  * harbour/source/rdd/sdf1.c
  * harbour/source/rdd/dbffpt/dbffpt1.c
  * harbour/source/rdd/dbfntx/dbfntx1.c
  * harbour/source/rdd/dbfcdx/dbfcdx1.c
  * harbour/source/rdd/hsx/hsx.c
  * harbour/contrib/hbbmcdx/bmdbfcdx.c
  * harbour/contrib/hbbmcdx/hbbmcdx.h
    * use PHB_FILE and hb_file*() functions instead of HB_FHANDLE (hb_fs*())
      to access files.

  + harbour/tests/aliaslck.prg
    + added test code for file lock synchronization between aliased
      work areas
2008-10-02 12:34:36 +00:00
Viktor Szakats
693f75900d 2008-10-02 11:49 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/vm/extrap.c
    * Added "error" text in exception message.
2008-10-02 09:50:05 +00:00
Viktor Szakats
5a89aba522 2008-10-02 10:08 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbct/ctmisc.prg
    + Added dummy functions:
      GETKXLAT(), SETKXLAT(), DSETKBIOS()
2008-10-02 08:09:20 +00:00
Viktor Szakats
bb94b2aeaf 2008-10-02 08:57 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/dbedit.prg
    ! Fixed to use local Skipped() function.
    ! Guarded some 5.3 features with HB_COMPAT_C53.
    ! Fixed stepping back to real record from append position.
      (This fixes Clipper 5.x screen trashing and 
      '87 incompatibility.)
    ! Minor keyboard handling fix.
    ! Fixed behaviour in append mode.
2008-10-02 07:00:32 +00:00
Viktor Szakats
f3708dcdbb 2008-10-01 23:52 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbfbird/firebird.c
    ! Added ugly hack to make it compile with Firebird 2.1.1 
      and BCC 5.8.2 (and upper).
      This way all Win32/Win64 builds are now supporting 
      this newer version of Firebird. DOS still needs 2.0.4.

  * contrib/hbwin/win_tole.prg
  * contrib/hbwin/win_ole.c
    + Added support for optional License Key.
      Borrowed from xhb/Ron Pinkas.
      (untested)
2008-10-01 22:21:01 +00:00
Viktor Szakats
7b30a375cc fix to prev 2008-10-01 12:57:30 +00:00
Viktor Szakats
d3c7a63353 2008-10-01 14:46 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbct/ctmisc.prg
    ! Fix to CENTER() when 3rd param is logical.
    + Added ALLOFREE().
2008-10-01 12:47:20 +00:00
Przemyslaw Czerpak
cf55a99c10 2008-09-30 11:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/Makefile
  + harbour/include/hbvmint.h
    + added new header file which works like hbvmopt.h but does not enable
      stack macros

  * harbour/contrib/xhb/xhbenum.c
  * harbour/contrib/xhb/xhbqself.c
  * harbour/contrib/xhb/xhbwith.c
  * harbour/contrib/xhb/cstructc.c
  * harbour/contrib/hbwin/win_ole.c
    ! use hbvmint.h instead of hbvmopt.h to eliminate direct bindings to
      HVM stack structure
2008-09-30 09:37:58 +00:00
Viktor Szakats
793bb4300f 2008-09-30 02:07 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_vc.mak
  * config/w32/msvc.cf
  * config/w32/msvcce.cf
    ! Removed -fp:fast optimization switch from WinCE builds.
    ! -W4 warning level enabled for MSVC in GNU-make too.
2008-09-30 00:08:07 +00:00
Viktor Szakats
5fe7297ff5 2008-09-29 23:13 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_b32.mak
  * contrib/mtpl_b32.mak
  * bin/bld.bat
    % Added BCC optimization switches
      (the ones used for the Harbour release versions).

  * bin/bld.bat
  * bin/bld_os2.cmd
    + Added -O3 to GCC compilation.
2008-09-29 21:16:52 +00:00
Przemyslaw Czerpak
0ef0ce6b1c 2008-09-29 22:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/hvm.c
    ! restored some item type settings I wrongly removed few days ago
2008-09-29 20:56:23 +00:00
Przemyslaw Czerpak
9de9b0d5d9 2008-09-29 18:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/os2/gcc.cf
  * harbour/make_gnu_os2.cmd
    * moved -DTCPV40HDRS to make_gnu_os2.cmd and added small description
      about this macro. By default is enabled, can be disabled by
      setting environment variable HB_OS2_TCP32 to 'yes', f.e.
         SET HB_OS2_TCP32=yes
      David and Maurilio, please check me.
2008-09-29 16:50:43 +00:00
Antonio Carlos Pantaglione
8708942e19 2008-09-29 13:11 UTC-0300 Antonio Carlos Pantaglione <toninho@fwi.com.br>
* contrib/xhb/common.mak
   * contrib/xhb/makefile
   + contrib/xhb/hbstruct.ch
   + contrib/xhb/hbstruct.prg
     + STRUCTURE / MEMBER / ENDSTRUCTURE support
2008-09-29 16:11:16 +00:00
Przemyslaw Czerpak
f06af57f7e 2008-09-29 17:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbset.h
  * harbour/source/vm/set.c
    + divided __SETCENTURY() PRG function into two functions:
      __SETCENTURY() and public C function hb_setSetCentury()
      to manipulate century setting from C code.
      Modyfication by Francesco Saverio Giudice
2008-09-29 15:42:21 +00:00
Viktor Szakats
aa271fcd82 2008-09-29 15:59 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* ChangeLog
  * mpkg_tgz.sh
  * harbour.spec
  * config/darwin/gcc.cf
  * config/hpux/gcc.cf
  * config/dos/rsx32.cf
  * config/dos/djgpp.cf
  * config/linux/gcc.cf
  * config/os2/gcc.cf
  * config/sunos/gcc.cf
  * config/bsd/gcc.cf
  * config/w32/mingwce.cf
  * config/w32/gcc.cf
  * config/w32/rsxnt.cf
  * config/w32/mingw.cf
    + -O3 GCC optimization level made the default for all GCC 
      builds. Those who wish to use lower optimization settings, 
      pls use C_USR=-O2 or such.
2008-09-29 14:02:59 +00:00
Przemyslaw Czerpak
aba8190d72 2008-09-29 13:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rdd/workarea.c
    * added protection against multiple registering RDD with the same
      name by *_GETFUNCTABLE() in ST/MT mode or other thread in MT mode
2008-09-29 12:00:11 +00:00
Przemyslaw Czerpak
cce3e73961 2008-09-29 11:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbvm.h
  * harbour/include/hbthread.h
  * harbour/source/vm/hvm.c
  * harbour/source/vm/thread.c
    + added hb_vmThreadRegister() funtion which allows to register new
      thread in HVM without HVM stack allocation
    + added hb_vmThreadRelease() which removes registered thread which
      does not have allocated HVM stack yet
    + added hb_threadStateNew() which returns new thread control state
      which can be used as parameter to hb_vmThreadInit(),
      hb_vmThreadRegister(), hb_vmThreadRelease()
    * register thread control state also for main thread
      Now hb_threadSelf() returns thread pointer also for main thread
    ! fixed possible race condition in hb_threadWaitForAll() and
      hb_threadTerminateAll() by using hb_vmThreadRegister() before
      starting thread.

  * harbour/source/rtl/idle.c
    * interrupt hb_idleSleep() on QUIT or BREAK requests

  * harbour/tests/mt/mttest09.prg
    * small cleanup
2008-09-29 09:19:46 +00:00
Viktor Szakats
7ccf493b55 2008-09-29 10:13 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_b32.mak
  * make_vc.mak
    ! Fixed to use 'COPY /B' instead of 'COPY /A' to install 
      headers, to avoid appending and EOL to these files.
      They should work as is.

  * make_gcc.mak
    ! Fixed mainstd lib name.
      [TOMERGE 1.0]
2008-09-29 08:15:22 +00:00
Viktor Szakats
8497bab973 2008-09-27 09:17 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_gcc.sh
    % Minor cleanup after prev changes.
2008-09-27 07:19:20 +00:00
Viktor Szakats
26c2a6fd7e 2008-09-27 09:15 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbthread.h
    % Disabled HB_USE_TLS for __BORLAND__ and __MINGW32__ for 
      best performance.

  * contrib/hbwhat/whtmmcap.c
    ! Fixed some warnings under certain MinGW 4.3.2 
      installations. 
      TODO: hbwhat users pls finish this fix.

  * utils/hbmake/hbmake.prg
    ! Fixed hbw32 to hbwin.
    * Win32 references changed to Windows.

  * make_gcc.sh
    * Not accepting CFLAGS anymore as custom C flags envvar.
      Pls use C_USR instead.

  * make_gcc.mak
    + Added wsock32 lib to Cygwin system liblist.
    ! Removed setting HB_OS_* macros explicitly.

  * make_b32.mak
  * make_vc.mak
    * Minor formatting.
2008-09-27 07:16:10 +00:00
Przemyslaw Czerpak
88d4f41e4f 2008-09-26 21:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/thread.c
    * release thread return value when is retrieve

  * harbour/common.mak
  * harbour/source/rtl/Makefile
  + harbour/source/rtl/tthreadx.prg
    + added xBase++ compatible signal class

  * harbour/source/rdd/wacore.c
    ! added missing alias setting after attaching work area

  + harbour/tests/mt/mttest09.prg
    + added test code for using the same work area in different threads
2008-09-26 19:28:54 +00:00
Przemyslaw Czerpak
893c372e0b 2008-09-26 19:34 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbstack.h
  * harbour/source/vm/estack.c
    + added assembler inline macros for TLS access in BCC and MinGW32
      They are enabled when Harbour is compiled with -DHB_NO_TLS.
      Please check the speed difference. If it will be noticeable
      then we keep them probably as default. Otherwise they will be
      removed.
2008-09-26 17:35:37 +00:00
Przemyslaw Czerpak
acd86c6f02 2008-09-26 02:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/thread.c
    ! fixed thread cleanup code when startthread() fails, f.e.
      OS refuse to create new thread.
2008-09-26 00:42:41 +00:00
Viktor Szakats
68b7fcbc47 2008-09-25 21:50 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbdefs.h
    ! Fixed 64-bit printf() formatting strings to be compatible 
      with MinGW. MinGW seems to follow the Microsoft way instead 
      of being compatible with other GCC dialects.
      This fixes some pcode/c code (-gc3) generation problems for 
      long long literals, and hbfbird/FBGETDATA() potential problems, 
      when MinGW 3.x/4.x compilers were used.
      [TOMERGE 1.0]

    ; TOFIX: Some sqlite3.c code may also be affected, since 
             "%llX" and "%lld"s are hard-coded into the source.
2008-09-25 19:55:52 +00:00
Viktor Szakats
0b9b5330d6 2008-09-25 13:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
- make_tgz.sh
  + mpkg_tgz.sh
  - make_deb.sh
  + mpkg_deb.sh
  - make_rpm.sh
  + mpkg_rpm.sh
  - make_rpmwce.sh
  + mpkg_rpm_wce.sh
  - make_rpmwin.sh
  + mpkg_rpm_win.sh
  - make_xmingw.sh
  + make_gnu_xmingw.sh
  - make_xmingwce.sh
  + make_gnu_xmingwce.sh
  - make_rpm_from_svn.sh
  + mpkg_rpm_from_svn.sh
    * Some renamed in the hope that it will better separate 
      the simple build scripts (make*) from package build 
      (mpkg*) scripts.
2008-09-25 11:29:57 +00:00
Viktor Szakats
b1db06fc69 2008-09-25 13:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/xhb/hbcompat.ch
    + Added xhb_CopyFile() two-way translations.
      (untested)
2008-09-25 11:16:49 +00:00
Viktor Szakats
26d0b2dabb 2008-09-25 13:13 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* tests/speedtst.prg
    ! Use hb_OSNewLine() instead of hard-wired EOL.
    + Emulate hb_OSNewLine() for non-Harbour compilers.
2008-09-25 11:13:35 +00:00
Viktor Szakats
0bc59418eb 2008-09-25 13:07 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbthread.h
    + Enabled HB_USE_TLS for MinGW >= 4.3.0
2008-09-25 11:09:07 +00:00
Viktor Szakats
ee7b75c515 2008-09-25 11:26 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
- harbour-ce-spec
  + harbour-wce-spec
  - harbour-w32-spec
  + harbour-win-spec
  - make_rpmw32.sh
  + make_rpmwin.sh
  - make_rpmce.sh
  + make_rpmwce.sh
    * Some steps done to use more consistent names for Windows 
      and Windows CE, and also to move away from '32' usage.
    ; TODO: I'd prefer to give all .spec files the same 
            empty extensions, could anyone help how to 
            convert current harbour.spec to harbour-spec and 
            not break .rpm creation? Plus it would be also 
            good to implement automatic versioning on .rpm 
            build just like for harbour-win/wce in make_rpmw*.sh 
            scripts.

  - hbgtmk.sh
  + make_rpm_from_svn.sh
    * Renamed to give a better idea about its purpose.
    ; NOTE: make_rpm_from_svn.sh seems a bit pointless now 
            that we have the final releases in separate SVN tags.

  * make_gcc.mak
    * Minor formatting.
2008-09-25 09:33:06 +00:00
Viktor Szakats
cd96daef69 2008-09-25 00:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_b32.mak
  * make_gcc.mak
  * make_vc.mak
  * harbour.spec
  * source/rtl/hbgtcore.c
  * source/rtl/Makefile
  * source/rtl/gtsys.c
  * config/w32/poccce.cf
  * config/w32/xcc.cf
  * config/w32/pocc.cf
    % Removed HB_GT_DEFAULT envvar, which was the exact synonym 
      of HB_GT_LIB. Please use HB_GT_LIB instead, if you - by any 
      chance - want to change the default GT at Harbour build-time.

  * tests/speedtst.prg
    ! Fixed to delete temp .dbf files before exiting.
2008-09-24 22:22:57 +00:00
Przemyslaw Czerpak
e58b37da88 2008-09-24 20:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/estack.c
    ! fixed stack preloading - it should be after checking if stack
      exist :)
2008-09-24 18:31:00 +00:00
Przemyslaw Czerpak
8387f4be99 2008-09-24 18:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    * reverted modification for import attributes - this will be changed
      in the future to function calls
2008-09-24 16:28:21 +00:00
Viktor Szakats
e2564e223e 2008-09-24 18:17 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbdoc/hbdoc.prg
  * utils/hbmake/hbmake.prg
  * utils/hbrun/hbrun.prg
    % One function made STATIC.
2008-09-24 16:18:11 +00:00
Viktor Szakats
a5a960784d 2008-09-24 17:58 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbrun/hbrun.prg
    + Added REQUESTs for GTSTD, GTCGI, GTPCA (these GTs are 
      available on all platforms).
    % Removed explicit GT defaulting logic (now identical to 
      the one in RTL).
2008-09-24 15:59:28 +00:00
Viktor Szakats
cb7b1a831c 2008-09-24 16:18 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/vm/fm.c
    + Enabled dlmalloc (HB_FM_DL_ALLOC) for MSVC, BCC and MINGW builds.
    ; It's possible to disable dlmalloc with HB_FM_STD_ALLOC 
      for testing purposes.
2008-09-24 14:19:05 +00:00
Viktor Szakats
ea0b8c9f82 2008-09-24 16:06 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* bin/bld.bat
  * bin/bld_os2.cmd
    * HARBOURFLAGS removed as a public envvar to setup Harbour 
      parameters. Use PRG_USR instead.

  * common.mak
    ! Fixed after recent modification.

  * source/compiler/cmdcheck.c
    * Minor formatting.
2008-09-24 14:07:22 +00:00
Przemyslaw Czerpak
b0a49b7ba1 2008-09-24 14:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/dynsym.c
  * harbour/source/vm/arrays.c
  * harbour/source/vm/memvars.c
    ! fixed three typos which broke HB_TR_DEBUG messages
2008-09-24 12:54:41 +00:00
Przemyslaw Czerpak
47e5d68b82 2008-09-24 13:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/compiler/cmdcheck.c
    ! fixed starting index in parsed parameters. argv[0] is
      application name with path not user parameter. Parsing
      it was giving unpredictable results if harbour binaries
      were located in path having option delimiters in name
2008-09-24 11:57:47 +00:00
Viktor Szakats
e0f22d4bd0 2008-09-24 12:47 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* harbour-ce-spec
  * harbour-w32-spec
  * harbour.spec
  * make_xmingwce.sh
    % Some remaining explicit GT defaultings removed. Relying on 
      RTL source code.

  * include/hbsetup.h
    ! Disabled HB_MT_VM for HB_WINCE.
2008-09-24 10:52:12 +00:00
Viktor Szakats
6b8ec38aec 2008-09-24 12:31 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/vm/vmmt/Makefile
    ! Possible fix for mingw build error:
      make: *** mainstd: No such file or directory.  Stop.
      make[3]: *** [first] Error 2
      make[2]: *** [first] Error 2
    ; Please review.

    ; TOFIX: These DLALLOC warnings are present with MinGW 4.3.2
             In file included from ../../fm.c:127:
             ../../dlmalloc.c:1144: warning: ignoring #pragma warning 
             In file included from ../../fm.c:127:
             ../../dlmalloc.c: In function 'sys_alloc':
             ../../dlmalloc.c:3396: warning: statement with no effect
2008-09-24 10:31:40 +00:00
Viktor Szakats
cb657c0fb5 2008-09-24 12:12 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* common.mak
  * source/rtl/gtgui/Makefile
  - source/rtl/gtgui/gtdef.c
    - Removed HB_GTGUI_HACK to masquerade GTGUI under a different 
      name and to make Windows users happier. Instead of hacking
      Windows users with GUI programs should simply use 
      this in their code:
      --
      PROCEDURE HB_GTSYS
         REQUEST HB_GT_GUI_DEFAULT
         RETURN
      --
    ; This clears up a few exceptions, make hacks and a few possible 
      confusions.
2008-09-24 10:13:27 +00:00
Viktor Szakats
8e4473cded 2008-09-24 02:26 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_gcc.sh
  * make_gnu_os2.cmd
  * make_gnu.bat
  * make_gnu.sh
  * make_tgz.sh
    % Some additional GT defaulting logic removed.
2008-09-24 01:50:19 +00:00