Commit Graph

42 Commits

Author SHA1 Message Date
Viktor Szakats
4e4a523edf 2008-08-26 00:43 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_vc.bat
   * make_vcce.bat
   * make_vc.mak
   - make_vcce.mak
     % make_vcce functionality merged into make_vc.
     * make_vcce.bat changed to a stub calling make_vc.bat.
     ; WinCE builds can be triggered using envvars:
       set HB_BUILD_WINCE=yes
       set HB_CC_NAME=vcce
       Please update your environment and test WinCE builds 
       after this change.

   * make_vc.mak
   * contrib/mtpl_vc.mak
     * Changed HB_VISUALC_VER default to 80.
       It was 60 for non-WinCE builds and contribs, 
       80 for WinCE builds. Now it is 80 for all 
       these cases.

   * make_b32.mak
     * Minor comment visual sync with make_vc.mak.
2008-08-25 22:49:32 +00:00
Viktor Szakats
709e84952d 2008-08-25 22:25 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_vcce.mak
     ! Attempt to fix /MANIFEST:NO warnings for MSVC 6.0.
     ! Attempt to fix WinCE .dll linking error.
     ; Jose, another test would be great.

   * make_vc.bat
   * make_vc.mak
   * make_vcce.bat
   * make_vcce.mak
     * Some syncing and minor fixes in comments.
2008-08-25 20:27:30 +00:00
Viktor Szakats
a4032c77b3 2008-08-25 14:12 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_vc.mak
   * make_vcce.mak
     % Cleaned list of system libraries for VC. winspool.lib 
       removed, the rest documented.
     * Syncing between VC and VCCE.
     ; NOTE: WinCE system lib list didn't get anything removed 
             (just added), but nevertheless pls test it.

   * ChangeLog
     * Some cleanups (regarding my entries).

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

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

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

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

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

   ; TOFIX: (for __CYGWIN__)
     ../../filesys.c: In function `hb_fsPOpen':
     ../../filesys.c:577: warning: passing arg 1 of `pipe' from incompatible pointer type
2008-08-25 12:19:06 +00:00
Viktor Szakats
2d78528f42 2008-08-24 18:18 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/compiler/cmdcheck.c
   * source/compiler/hbusage.c
     * Changed default .c code generation option to -gc0 (from -gc2).
       So now the default is 'compact' (faster/smaller) instead of 
       'verbose' (good to inspect/debug how Harbour pcode works).

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

   * make_vcce.mak
     % Removed unnecessary -DHB_WINCE from Harbour command line.
2008-08-24 16:19:41 +00:00
Viktor Szakats
36633f27b1 2008-08-22 08:20 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* common.mak
   * make_b32.mak
   * make_gcc.mak
   * make_vc.mak
   * make_vcce.mak
   * utils/hbdoc/Makefile
   * utils/hbdoc/bld_b32.bat
   * utils/hbdoc/bld_vc.bat
   * utils/hbdoc/hbdoc.prg
   * utils/hbmake/Makefile
   * utils/hbmake/bld_b32.bat
   * utils/hbmake/bld_vc.bat
   * utils/hbmake/hbmake.prg
     % Reduced executable size of hbmake and hbdoc
       (by 20%) by excluding unused libs and RDD stuff.
     % Optimized local non-GNU make files to work 
       faster and generate faster executables.

   * utils/hbdoc/hbdocdef.ch
     % Removed unused macro.
     * minor formatting.
2008-08-22 06:52:56 +00:00
Viktor Szakats
6bfdf01a17 2008-08-16 16:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_b32.mak
   * make_gcc.mak
   * make_vc.mak
   * make_vcce.mak
   * include/hbdefs.h
   * source/vm/mainwin.c
   * source/vm/hvm.c
   * source/hbpcre/_hbconf.h
   * source/hbzlib/ChangeLog
   * source/hbzlib/zconf.h
   * utils/hbmake/hbmake.prg
     * __EXPORT__ -> HB_DYNLIB
2008-08-16 14:23:37 +00:00
Viktor Szakats
56f2fd871a 2008-08-16 16:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* config/os2/gcc.cf
     % Cleaned include path for OS/2/GCC.
       David, please test it if it still builds successfully.

   * make_b32.mak
   * make_gcc.mak
   * make_vc.mak
   * make_vcce.mak
   * utils/hbmake/hbmake.prg
     % Removed using -D__EXPORT__ from any Harbour command lines, 
       as this switch has no effect of the .prg level.
2008-08-16 14:16:55 +00:00
Viktor Szakats
111bee4234 2008-08-10 16:18 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* config/rules.cf
   * make_b32.mak
   * make_gcc.mak
   * make_vcce.mak
   * make_vc.mak
     * -kM -> -km
     ! Synced make_vcce.mak HBFLAGSCMN flag with make_vc.mak.
       (-gc1 -> -gc0 -km)

   * make_xmingwce.sh
     ! Minor typos.
2008-08-10 14:23:46 +00:00
Przemyslaw Czerpak
15c63104c7 2008-08-06 13:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
  * harbour/source/vm/hvm.c
  * harbour/source/rtl/hbgtcore.c
    * added const to s_defaultGT and s_pszLinkedMain declarations
    * make s_pszLinkedMain visible and functional for platforms
      which does not use HARBOUR_START_PROCEDURE

  * harbour/source/vm/extrap.c
    + added exception trap for SIGSEGV, SIGILL, SIGFPE and SIGBUS
      for *nixes which support sigaltstack()

  * harbour/include/hbwmain.c
  * harbour/source/vm/mainwin.c
    * use of WinMain() from hbwmain.c

  * harbour/source/pp/pplib.c
    * ignore all #pragma directives setting compiler switches instead
      of generating RT error when user uses PP in .prg code by __PP_*()
      functions

  * harbour/source/Makefile
  + harbour/source/hbextern
  + harbour/source/hbextern/hbextern.prg
  + harbour/source/hbextern/Makefile
  * harbour/common.mak
  * harbour/make_b32.mak
  * harbour/make_gcc.mak
  * harbour/make_vc.mak
  * harbour/make_vcce.mak
  * harbour/bin/hb-func.sh
    + added hbextern library
    + added hbextern to harbour shared library. Now all functions
      are registered and visible for dynamically linked applications
      not only .prg ones and .c functions explicitly bound with some
      .prg code

  * harbour/utils/hbrun/Makefile
  * harbour/utils/hbrun/hbrun.prg
    * use hbextern library instead of #include "hbextern.ch"
      It has no noticeable effect on static builds but greatly
      reduce the size of dynamic builds, f.e. current hbrun
      linked dynamically in my Linux box has 12KB.
2008-08-06 11:10:24 +00:00
Viktor Szakats
4f0a3898f4 2008-08-05 08:50 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* harbour-ce-spec
   * harbour-w32-spec
   * harbour.spec
   * common.mak
   * make_b32.mak
   * make_gcc.mak
   * make_vc.mak
   * make_vcce.mak
   * make_tgz.sh
   * debian/rules
   - doc/man/hbdot.1
   * doc/man/hbrun.1
   - utils/hbdot
   * utils/hbrun/Makefile
   * utils/hbrun/hbrun.prg
   - utils/hbrun/external.prg
     * Replaced hbrun functionality with hbdot's.
     - Removed separate hbdot tool.

   * contrib/hbsqlit3/sqlite3/sqlite3.c
   * contrib/hbsqlit3/make_vc.bat
     ! Fixed bug in foreign code (sqlite3.c) to compile in 
       MSVC C++ mode. (HANDLE -> HMODULE)
     * C++ mode is no longer forced in non-GNU MSVC builds, 
       this way also avoiding a screen warning.

   * contrib/examples/dbu/bld_b32.bat
   * contrib/examples/dbu/bld_vc.bat
     ! Fixed to call 'patch' with '-N' so that it doesn't 
       ask to reverse patches when run multiple times.

   + utils/hbdoc/bld_b32.bat
   + utils/hbdoc/bld_vc.bat
     + Added non-GNU make batch files to build hbmake.
     ; This is a step towards detaching hbdoc from core.

   * utils/hbdoc/hbdocdef.ch
     ! Fixed equality operators to be SET EXACT independent.
     ; Minor formatting.
2008-08-05 06:51:07 +00:00
Viktor Szakats
47227807c9 2008-08-04 16:34 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* harbour-ce-spec
   * harbour-w32-spec
   * harbour.spec
   * common.mak
   * make_b32.mak
   * make_gcc.mak
   * make_vc.mak
   * make_vcce.mak
   * make_tgz.sh
   * utils/Makefile
   - utils/hbpptest
   + tests/hbpptest
     * Moved hbpptest to tests.
2008-08-04 14:37:36 +00:00
Viktor Szakats
71f2203148 2008-08-04 16:23 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* harbour-ce-spec
   * harbour-w32-spec
   * harbour.spec
   * common.mak
   * make_b32.mak
   * make_gcc.mak
   * make_vc.mak
   * make_vcce.mak
   * make_tgz.sh
   * utils/Makefile
   - utils/hbver
     - Removed obsolete binary hbverfix.
2008-08-04 14:27:07 +00:00
Viktor Szakats
249cdfe55e 2008-08-04 14:27 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_vcce.mak
   * make_b32.mak
   * make_vc.mak
     ! Fixed to delete .dlls from 'bin' dir, too.
2008-08-04 12:27:59 +00:00
Viktor Szakats
4a07750309 2008-08-04 14:09 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_b32.mak
   * make_gcc.mak
   * make_vc.mak
   * make_vcce.mak
     ! Fixed to delete hbverbld.h from include dir on 'clean'.
     ! Using INCLUDE_DIR instead of some hard-wired 'include' 
       dir references.
2008-08-04 12:12:39 +00:00
Marek Paliwoda
1e9fb98568 2008-07-09 12:05 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) 2008-07-09 10:03:30 +00:00
Viktor Szakats
3cae782e38 2008-06-23 10:37 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_vcce.mak
   * make_vc.mak
   * contrib/mtpl_vc.mak
     * KEEPSTATE -> HB_KEEPSTATE

   * contrib/hbziparch/Makefile
   * contrib/hbziparch/make_b32.bat
   * contrib/hbziparch/make_vc.bat
   * contrib/hbziparch/common.mak
   - contrib/hbziparch/zip.c
   + contrib/hbziparch/hbziparc.c
   - contrib/hbziparch/include/hbzip2.h
   + contrib/hbziparch/hbziparc.h
   - contrib/hbziparch/include/hbzip.h
   - contrib/hbziparch/include/hbz.h
   * contrib/hbziparch/zipcomp.cpp
   * contrib/hbziparch/zipnew.cpp
     - Removed unnecessary headers.
     * Renamed include/hbzip2.h to hbziparc.h
     * Renamed zip.c to hbziparc.c
     * Some cleanups to source.
     * BCC warnings suppressed.
     % Unecessary compilation flags removed.
2008-06-23 08:40:49 +00:00
Viktor Szakats
67307d3dcb 2008-06-22 10:24 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* ChangeLog
     + Marked changes merged with 1.0.0RC1.

   * make_vc.mak
   * make_vcce.mak
     * Syncing between these two.
     ! Fixed minor typo in CE comment.
     ! Fixed one rule where HB var was not respected in CE 
       DLL generation. Marek please check me.
2008-06-22 08:39:14 +00:00
Viktor Szakats
c5ac234016 2008-06-05 18:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* common.mak
   * harbour-ce-spec
   * harbour-w32-spec
   * harbour.spec
   * make_b32.mak
   * make_gcc.mak
   * make_vc.mak
   * make_vcce.bat
   * make_vcce.mak
   * make_xmingw.sh
   * make_xmingwce.sh
   + source/pp/hbpp.c
   - source/pp/hbppgen.c
   * source/pp/Makefile
     * hbppgen -> hbpp
     ; Please test.

   * harbour-w32-spec
     ! Added 'svn:keywords "Author Date Id Revision"'
     ; TOMERGE [RC1]
2008-06-05 16:33:37 +00:00
Przemyslaw Czerpak
d2fda04885 2008-06-05 13:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/make_vcce.mak
  * harbour/make_vc.mak
  * harbour/common.mak
    * removed not longer used HBPP references
2008-06-05 11:53:53 +00:00
Viktor Szakats
830a722777 2008-06-05 12:42 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_b32.mak
   * make_gcc.mak
   * make_vc.mak
   * make_vcce.mak
   * common.mak
   * utils/Makefile
   - utils/hbpp/hbpplib.c
   - utils/hbpp
   + contrib/examples/pp
   + contrib/examples/pp/bld_b32.bat
     * Moved utils/hbpp -> contrib/examples/pp
     + Added BCC make file.

   * contrib/examples/pe/bld_b32.bat
     ! Fixed.
2008-06-05 10:49:01 +00:00
Viktor Szakats
6c6adce9d7 2008-05-28 13:29 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* common.mak
   * make_b32.mak
   * make_vc.mak
   * make_vcce.mak
   * make_gcc.mak
   * source/Makefile
   + source/hbzlib
   + source/hbzlib/ChangeLog
   + source/hbzlib/adler32.c
   + source/hbzlib/compress.c
   + source/hbzlib/crc32.c
   + source/hbzlib/crc32.h
   + source/hbzlib/deflate.c
   + source/hbzlib/deflate.h
   + source/hbzlib/gzio.c
   + source/hbzlib/infback.c
   + source/hbzlib/inffast.c
   + source/hbzlib/inffast.h
   + source/hbzlib/inffixed.h
   + source/hbzlib/inflate.c
   + source/hbzlib/inflate.h
   + source/hbzlib/inftrees.c
   + source/hbzlib/inftrees.h
   + source/hbzlib/Makefile
   + source/hbzlib/trees.c
   + source/hbzlib/trees.h
   + source/hbzlib/uncompr.c
   + source/hbzlib/zconf.h
   + source/hbzlib/zlib.h
   + source/hbzlib/zutil.c
   + source/hbzlib/zutil.h
     + Added unmodified ZLIB sources to Harbour core.
     + Added them to make systems.
     ; Work in progress.
2008-05-28 11:32:37 +00:00
Viktor Szakats
e81d9dc3e8 2008-05-27 04:15 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_vc.mak
     - No longer explicily defining WIN32, __WIN32__, __WINDOWS__ 
       macros.
2008-05-27 02:15:42 +00:00
Viktor Szakats
addea6d04e 2008-05-22 08:00 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
- contrib/hbmisc/dbftools.c
   * contrib/hbmisc/common.mak
   * contrib/hbmisc/Makefile
     - Removed to avoid collision with similar file in hbct.
       Notice the content was also similar, except that 
       in hbct it was updated and extended. There was also 
       FIELDTYPE() implemented which was colliding with 
       function with the same name in core.

   * include/hbextern.ch
   * source/rdd/dbcmd.c
   * source/rdd/dbdrop.c
   * source/rdd/dbexists.c
   * source/rdd/fieldhb.c
     + Added HB_ prefixed versions of DBDROP(), 
       DBEXISTS(), FIELDDEC(), FIELDLEN(), FIELDTYPE()

   * source/rdd/rddinfo.c
     ! Comment.

   * tests/multifnc/Makefile
     ! Updated lib names.

   * contrib/hbapollo/apollo.c
     ! Fixed MSVC errors.

   * contrib/mtpl_b32.bat
   * contrib/mtpl_vc.bat
     ! Removed one obsolete line.
     + Now defines _HB_MAKELOG.

   * contrib/hbapollo/make_b32.bat
   * contrib/hbapollo/make_vc.bat
   * contrib/hbfimage/make_b32.bat
   * contrib/hbgd/make_b32.bat
   * contrib/hbhpdf/make_b32.bat
   * contrib/hbmysql/make_b32.bat
   * contrib/hbodbc/make_b32.bat
   * contrib/hbodbc/make_vc.bat
   * contrib/hbpgsql/make_b32.bat
   * contrib/hbpgsql/make_vc.bat
   * contrib/hbw32ddr/make_b32.bat
   * contrib/hbw32ddr/make_vc.bat
   * contrib/hbzlib/make_b32.bat
   * contrib/rddads/make_b32.bat
     + Redirects .lib creation (implib, lib) output to log file.

   * contrib/xhb/hbcompat.ch
     + Added some more converions for xhb code.

   * contrib/rddads/ads1.c
     + Added two TODOs. (to adsDrop and adsExists)

   * source/pp/hbppgen.c
     ! MSVC warning fixed.

   * make_vc.mak
     ! Typo in prev commit.
2008-05-22 06:09:35 +00:00
Viktor Szakats
ce4dc8486c 2008-05-21 16:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_b32.mak
   * make_vc.mak
   * make_vcce.mak
     + Added HBDOC_LIBS to specify external libs for HBDOC.
       Only for non-GNU B32/VC/VCCE builds! For non-GNU GCC 
       it's probably LDFLAGS, for GNU it's probably LDLIBS.
       NOTE: Use full path for the libs.
       Such dependency is anything by good though (the core 
       build depends on a contrib lib, the contrib lib depends 
       on the core build), so consider this a temporary solution.
       Moving HBDOC to the contrib area is one possibility, 
       dropping it is another one.
     ; There is quite a big mess regarding these envvars depending 
       on the type of make system, platform, compiler, etc, 
       that it's almost impossible to document or understand, so 
       maybe it'd be worth a review after the release, and sync 
       all these external flag and dir envvars.
       
   * utils/hbdoc/genpdf1.prg
     ! Fixed warnings in HBDOC_PDF guarded code.
2008-05-21 14:42:04 +00:00
Viktor Szakats
6c59645931 2008-04-24 21:23 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* common.mak
   * make_vcce.mak
   * make_b32.mak
   * make_gcc.mak
   * make_vc.mak
   * utils/hbdoc/Makefile
   * utils/hbdoc/hbdoc.prg
   * utils/hbdoc/genpdf1.prg
     - Removed pdflib references from make file, since the 
       contrib was not working and got removed.
     + PDF enabling logic in HBDOC made local to HBDOC.
       Now HBDOC_PDF should be #defined in HARBOURFLAGS 
       (or PRG_USR) envvar, proper pdf library should be 
       specified using LDFLAGS envvar.

   * contrib/mtpl_b32.mak
     ! Removed permanent '-P' C compiler switch 
       from .prg -> .c rule. Thanks Rafa.
       Marek pls check me.
2008-04-24 19:26:54 +00:00
Przemyslaw Czerpak
8a6e4ecdff 2008-04-22 20:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbclass.ch
  * harbour/include/hbcomp.h
  * harbour/source/compiler/hbmain.c
  * harbour/source/compiler/harbour.yyc
  * harbour/source/compiler/harbour.y
    ! fixed -w3 warnings when class name is different then function name
    * allow to overwrite predefined classes definitions
      it's a dirty hack but current implementation of predefined
      function and class declarations has to be rewritten from scratch
      in the future so I make it intentionally - at least it resolves
      some memory leaks like: harbour -n -w3 tbcolumn.prg

  * harbour/config/rules.cf
  * harbour/make_b32.mak
  * harbour/make_gcc.mak
  * harbour/make_vc.mak
  * harbour/make_vcce.mak
  * harbour/contrib/mtpl_b32.mak
  * harbour/contrib/mtpl_gcc.mak
  * harbour/contrib/mtpl_vc.mak
    * changed default Harbour compiler switch -w2 to -w3

  * harbour/contrib/xhb/xhbcomp.prg
    * replaced repeated declarations by small hack

  * harbour/utils/hbmake/tmake.prg
    ! fixed reported by -w3 repeated aDir declaration

  * harbour/source/rtl/tbrowse.prg
    * calculate frozen area size for 5-th element of array returned
      by xbase++ compatible method :viewArea(). Viktor please check me.
      If you can also describe what exactly TOFIX in :firstScrCol()
      and :viewArea() means then maybe I can help - I do not have
      xbase++ so I do not know what should be fixed.
2008-04-22 18:42:38 +00:00
Przemyslaw Czerpak
bf68197ca0 2008-04-09 20:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/ChangeLog
  * harbour/harbour.spec
    * reverted translation to UTF8 - Tomaz please check your editor
      settings and disable automatic translation to UTF8. It's not
      the first as such situation happens.

  * harbour/include/hbclass.ch
    + added two missing PP directives
    ! protected against some repeated external definitions

  * harbour/source/pp/Makefile
  * harbour/source/pp/hbppgen.c
  * harbour/source/pp/ppcore.c
  * harbour/source/common/hbver.c
  * harbour/source/common/hbverdsp.c
  * harbour/source/main/harbour.c
  * harbour/source/vm/cmdarg.c
  * harbour/utils/hbpp/hbpp.c
  * harbour/include/hbpp.h
  * harbour/include/hbcomp.h
  * harbour/include/hbver.h
  * harbour/include/hbapi.h
  * harbour/make_vcce.mak
  * harbour/make_b32.mak
  * harbour/make_vc.mak
  * harbour/make_gcc.mak
    + added support for dynamically set during compilation ChangeLog entry
      ChangeLog ID and SVN revision and compilation flags
      Now hbppgen creates in include directory hbverbld.h file with
      information extracted from ChangeLog. New hbppgen parameters:
         Syntax:  ./hbppgen <file>[.prg] [options]
         Options: -i<path>       add #include file search path
                  -c[<file>]     look for ChangeLog file
                  -o<file>       creates .c file with PP rules
                  -v<file>       creates .h file with version information
                  -w             write preprocessed (.ppo) input file
                  -q             disable information messages
    + added new C functions:
         int hb_verSvnID( void )
            - retrieves ChangeLog SVN revision number
         const char * hb_verSvnChangeLogID( void )
            - retrieves a static buffer containing ChangeLog ID string
         const char * hb_verSvnLastEntry( void )
            - retrieves a static buffer containing ChangeLog last entry string
         const char * hb_verFlagsC( void )
            - retrieves a static buffer containing build time C compiler
              flags in C_USR envvar
         const char * hb_verFlagsL( void )
            - retrieves a static buffer containing build time linker
              flags in L_USR envvar
         const char * hb_verFlagsPRG( void )
            - retrieves a static buffer containing build time Harbour compiler
              flags in PRG_USR envvar
    + added new default PP defines which can be used in .prg code compiled
      by Harbour compiler: HB_VER_LENTRY, HB_VER_CHLID, HB_VER_SVNID

  * harbour/source/rtl/gtxwc/gtxwc.c
    * formatting

  * harbour/source/rtl/gttrm/gttrm.c
    ! fixed redrawing GPM mouse pointer after screen updating

  * harbour/source/rtl/gtstd/gtstd.c
  * harbour/source/rtl/gtpca/gtpca.c
    * updated for compilation even if some POSIX macros are not supported
      f.e. problems with some DJGPP versions reported recently

  * harbour/source/debug/dbgentry.c
  * harbour/source/debug/dbgtobj.prg
  * harbour/source/debug/dbgbrwsr.prg
  * harbour/source/debug/dbgthsh.prg
  * harbour/source/debug/tbrwtext.prg
  * harbour/source/debug/dbgwa.prg
  * harbour/source/debug/debugger.prg
  * harbour/source/debug/dbghelp.prg
  * harbour/source/debug/dbgtarr.prg
    ! Fixed object inspector in the debugger.
    ! Added HbDbBrowser:invalidate() message. Fixes work area browsing in debugger.
    ! Added an minimalistic TBrowse implementation that is just enough
      for internal use by the debugger. Fixes miscellaneous problems e.g.
      when debugging a piece of code with RELATIONs turned on.
    Fixes by Phil Krylov borrowed from xHarbour.
2008-04-09 18:44:03 +00:00
Teo Fonrouge
b968797d44 2008-02-25 00:08 UTC-0600 Teo Fonrouge (teo/at/windtelsoft/dot/com)
* make_vc.mak
    ! Fixed small typo
2008-02-25 06:08:46 +00:00
Marek Paliwoda
92b7fb4258 2008-02-22 22:28 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl)
* harbour/make_b32.mak
    * Synchronized with make_vc.mak regarding HB_BUILD_ST and HB_BUILD_MODE
      environment usage. There is still a difference between make_b32.mak
      and make_vc.mak, because under BCC - ST mode is default, while under
      MSVC - MT mode is default. To use MT mode under BCC one needs to
      set HB_BUILD_ST to something different than a word "yes". For example:
      set HB_BUILD_ST=no. The difference comes from the fact that so far
      BCC build has always been done in ST mode. It will be changed after
      a 1.0 release. Please note that harbour.dll is *always* built in MT
      mode under BCC and MSVC.

  * harbour/make_vc.mak
    ! Forced MT mode for harbour.dll
    * Minor formating

  * harbour/contrib/mtpl_vc.mak
    ! Fixed compilation using ST mode

  * harbour/contrib/mtpl_b32.mak
    ! Fixed compilation of CPP files
    + Added ST/MT handling logic

  * harbour/contrib/hbziparch/make_b32.bat
    ! Fixed compilation on some BCC instalations
2008-02-22 21:27:13 +00:00
Marek Paliwoda
f2210422b7 2008-02-21 22:17 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl)
* harbour/make_vc.mak
    + Added a possiblity to compile harbour in ST or MT mode by using
      an environment variable called HB_BUILD_ST. Setting HB_BUILD_ST
      to yes, causes Harbour+RTL+VM to be built in ST mode. Otherwise
      MT mode is used.
2008-02-21 21:16:46 +00:00
Marek Paliwoda
f7c252281e 2007-12-04 17:04 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl)
* harbour/make_b32.mak
  * harbour/make_vc.mak
    * TABs converted to spaces. Minor formatting

  * harbour/make_gcc.mak
  * harbour/make_vcce.mak
    * Minor formatting
2007-12-04 16:03:34 +00:00
Marek Paliwoda
30fa663a0b 2007-12-03 18:25 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl)
* harbour/common.mak
  * harbour/make_gcc.mak
  * harbour/make_gcc.sh
    + Added the possibility to build dll/so of Harbour VM+RTL
      (tested om MingW, Cygwin, FC8/64)

  * harbour/make_b32.mak
  * harbour/make_vc.mak
  * harbour/make_vcce.mak
    + Added HB_ARCHITECTURE definition (to be used in a future)

  * harbour/source/rtl/gtchrmap.c
    ! Fixed compilation under Linux using make_gcc.sh
2007-12-03 17:23:54 +00:00
Marek Paliwoda
c8772c3229 2007-11-40 07:00 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl)
* harbour/common.mak
  * harbour/make_b32.mak
  * harbour/make_vc.mak
    ! Reverted moving HB_GT_LIB to common.mak, because
      in common.mak it is set to gtstd by default.
2007-11-30 09:16:12 +00:00
Marek Paliwoda
c7351d006c 2007-11-40 07:00 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl)
* harbour/common.mak
  * harbour/make_b32.mak
  * harbour/make_vc.mak
    % HB_GT_LIB definition moved to common.mak to avoid redundancy
2007-11-30 06:01:49 +00:00
Viktor Szakats
afa2fb39fd 2007-11-29 22:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* make_vcce.bat
   * make_vcce.mak
   * make_b32.bat
   * make_b32.mak
   * make_vc.bat
   * make_vc.mak
   * common.mak
     + Now every internally used envvars are reset before 
       exiting.
     ! Not tampering with user level envvars by changing 
       their content to default values.
     % HB_GT_* envvar defaulting move to .mak file level, 
       since these envvars were not used on batch file 
       level anyway.

   * make_vcce.bat
   * make_vcce.mak
     * CFLAGS -DHB_NO_WIN_CONSOLE moved to the make file.
       If there was any reason to have this only CE C flag 
       in batch file separated from the rest of the extra 
       CE C flags in the make file, please speak up.
       This change may cause trouble for those using 
       the make file directly and at the same time don't 
       want to use the HB_NO_WIN_CONSOLE compiler flag. 
       In this case we should add a documented way to 
       disable it inside the make file IMO.

   * contrib/freeimage/make_b32.bat
   * contrib/freeimage/make_vc.bat
   * contrib/apollo/make_b32.bat
   * contrib/apollo/make_vc.bat
   * contrib/firebird/make_b32.bat
   * contrib/firebird/make_vc.bat
   * contrib/pdflib/make_b32.bat
   * contrib/pdflib/make_vc.bat
   * contrib/hbzlib/make_b32.bat
   * contrib/hbzlib/make_vc.bat
   * contrib/pgsql/make_b32.bat
   * contrib/pgsql/make_vc.bat
   * contrib/gd/make_b32.bat
   * contrib/gd/make_vc.bat
   * contrib/rdd_ads/make_b32.bat
   * contrib/rdd_ads/make_vc.bat
   * contrib/mysql/make_b32.bat
   * contrib/mysql/make_vc.bat
   * contrib/odbc/make_b32.bat
   * contrib/odbc/make_vc.bat
   * contrib/what32/make_b32.bat
   * contrib/what32/make_vc.bat
   * contrib/msql/make_b32.bat
   * contrib/msql/make_vc.bat
     + Now every internally used envvars are reset before 
       exiting the batch file, so they won't interact 
       with other batch files even if being called after 
       each other using "call". So "%COMPSPEC% /c" is not 
       necessary anymore when calling these batches.
     ! Fixed to use _HB_CC_NAME when dealing with .dll to .lib 
       conversions.

   * contrib/make_b32_all.bat
   * contrib/make_vc_all.bat
     + Added gtwvg library.
     + Added what32 library (to DO_NOT_COMPILE list for b32).

   * contrib/mtpl_b32.bat
   * contrib/mtpl_vc.bat
     ! Undone prev change because it interacted with .dll to .lib
       conversions.
2007-11-29 21:24:26 +00:00
Marek Paliwoda
38cac2f384 2007-11-28 18:30 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl)
* harbour/source/common/hbfhnd.c
    * Added conditional define to disable Bcc extension
      (HB_NO_BCC_MAX_OPENFILES_HACK). Required for dll
      build with dynamic runtime (-tWR).

  * harbour/make_b32.mak
  * harbour/make_vc.mak
  * harbour/make_vcce.mak
    * $ECHO) and $(DEL) definitions moved to common.mak to avoid redundancy
2007-11-28 17:35:16 +00:00
Marek Paliwoda
562aec7d81 2007-11-26 06:15 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl)
* harbour/make_b32.mak
  * harbour/make_gcc.mak
  * harbour/make_vc.mak
  * harbour/make_vcce.mak
    ! Fixed generation of pptable.c for dll build
      (I am amazed how it used to work before)
    * Changed -Iobj\$(HB_CC_NAME) to -I$(OBJ_DIR)
2007-11-26 12:00:35 +00:00
Marek Paliwoda
4c9a582dbe 2007-11-25 20:20 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl)
* harbour/common.mak
  * harbour/make_b32.mak
  * harbour/make_gcc.mak
  * harbour/make_vc.mak
  * harbour/make_vcce.mak
    * Moved HB and HBPPGEN definitions to common.mak
      to reduce unnecesary redundancy

  * harbour/contrib/make_b32.bat
  * harbour/contrib/make_vc.bat
    * Enclosed "help usage message" in double quotes
      due to special meaning of "<>" symbols in command
      processor.
2007-11-25 19:19:56 +00:00
Viktor Szakats
630119e503 2007-11-23 03:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* make_b32.mak
   * make_gcc.mak
   * make_vc.mak
   * make_vcce.mak
   * common.mak
     ! Fixed copyrights.
     ! Tabs converted to spaces.
     - CFLAGS not advertised anymore as an official public var to set 
       compiler flags.
       C_USR should be used, which is also GNU make system compatible.

   * make_vc.mak
   * make_vcce.mak
     ! Removed /Y from copy command
       (we're using the COPYCMD trick in core make files).

   - contrib/adordd/access1.prg
   - contrib/adordd/access2.prg
   - contrib/adordd/mysql1.prg
   - contrib/adordd/mysql3.prg
   + contrib/adordd/tests
   + contrib/adordd/tests/access1.prg
   + contrib/adordd/tests/access2.prg
   + contrib/adordd/tests/mysql1.prg
   + contrib/adordd/tests/mysql3.prg
   - contrib/btree/mktest.bat
   + contrib/btree/test/mktest.bat
   - contrib/samples/testdate.prg
   - contrib/samples/testenv.prg
   - contrib/samples/testgaug.prg
   - contrib/samples/testnum.prg
   - contrib/samples/teststat.prg
   - contrib/samples/testtime.prg
   - contrib/samples/tststack.prg
   + contrib/samples/tests
   + contrib/samples/tests/testdate.prg
   + contrib/samples/tests/testenv.prg
   + contrib/samples/tests/testgaug.prg
   + contrib/samples/tests/testnum.prg
   + contrib/samples/tests/teststat.prg
   + contrib/samples/tests/testtime.prg
   + contrib/samples/tests/tststack.prg
     * Test related files moved to test dir.
     ! Added EOLs to the last line in adordd files.

   - contrib/gd/README
   + contrib/gd/readme.txt
     * Renamed to use proper extension.

   * contrib/adordd/common.mak
   * contrib/apollo/common.mak
   * contrib/bmdbfcdx/common.mak
   * contrib/btree/common.mak
   * contrib/directx/common.mak
   * contrib/firebird/common.mak
   * contrib/freeimage/common.mak
   * contrib/gd/common.mak
   * contrib/hbzlib/common.mak
   * contrib/hgf/win32/common.mak
   * contrib/htmllib/common.mak
   * contrib/ole/common.mak
   * contrib/pdflib/common.mak
   * contrib/pgsql/common.mak
   * contrib/libct/common.mak
   * contrib/libgt/common.mak
   * contrib/libnf/common.mak
   * contrib/libmisc/common.mak
   * contrib/mysql/common.mak
   * contrib/odbc/common.mak
   * contrib/rdd_ads/common.mak
   * contrib/samples/common.mak
   * contrib/telepath/common.mak
   * contrib/tip/common.mak
   * contrib/win32/common.mak
   * contrib/xhb/common.mak
     * Formatting made consistent.

   * contrib/adordd/common.mak
   * contrib/bmdbfcdx/common.mak
   * contrib/btree/common.mak
   * contrib/freeimage/common.mak
   * contrib/gd/common.mak
   * contrib/hgf/win32/common.mak
   * contrib/libct/common.mak
   * contrib/libnf/common.mak
   * contrib/mysql/common.mak
   * contrib/odbc/common.mak
   * contrib/pdflib/common.mak
   * contrib/pgsql/common.mak
   * contrib/rdd_ads/common.mak
   * contrib/samples/common.mak
   * contrib/tip/common.mak
   * contrib/xhb/common.mak
     + Added headers.

   * contrib/btree/common.mak
   * contrib/freeimage/common.mak
   * contrib/freeimage/Makefile
   * contrib/hbzlib/common.mak
   * contrib/hbzlib/Makefile
   * contrib/libct/common.mak
   * contrib/libmisc/common.mak
   * contrib/libmisc/Makefile
   * contrib/mysql/common.mak
     ! Library names synced between GNU and non-GNU 
       make systems.
     ! Some libraries renamed to not have a too common 
       or non-descriptive name, like "misc".
       non-GNU hb_btree   -> hbbtree (synced with GNU)
       non-GNU fi_lib     -> hbfreeimage
       GNU     fi_lib     -> hbfreeimage
       non-GNU hbzip      -> hbziparch
       GNU     ziparchive -> hbziparch
       non-GNU libct      -> ct (synced with GNU)
       non-GNU libmisc    -> hbmisc
       GNU     misc       -> hbmisc
       non-GNU mysql      -> hbmysql (synced with GNU)

   * contrib/apollo/Makefile
   * contrib/firebird/Makefile
     ! Fixed space to tabs.

   + contrib/msql/make_b32.bat
   + contrib/msql/make_vc.bat
   + contrib/msql/common.mak
     + Added non-GNU make files.
     ; TOFIX: I cannot compile these still.

   * contrib/msql/Makefile
     ! Added SVN header.
     ; TOFIX: This is a non-standard Makefile.
              Did anyone manage to compile this lib?

   * contrib/adordd/adordd.ch
   * contrib/adordd/adordd.prg
     ! Added EOLs to the last line.

   * utils/hbmake/hbmutils.prg
     * Lib names fixed and changed to reflect the recent 
       changes in contrib.

   * contrib/rdd_ads/rddads.h
     ! Minor cosmetic fix.

   * include/hbextern.ch
   * source/rtl/memofile.c
     ! MEMOWRIT() 3rd parameter marked as extension.
     + HB_MEMOWRIT() function added, which never write the 
       obsolete EOF char at the end of the file.
2007-11-23 02:08:37 +00:00
Marek Paliwoda
4d13dd77f5 2007-11-21 16:45:29 +00:00
Viktor Szakats
9e835b11e4 2007-11-16 15:37 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* make_b32.mak
   * make_vc.mak
     ! Fixed BC/VC make files to generated pptable.c in the obj 
       dir instead of source/pp.
     ! Synced BC/VC pptable.c dependencies with make_gcc.mak
     ; Suggested by Przemek.

   * make_gcc.mak
     ! Fixed to not delete source/pp/pptable.c on clean
       (since it's never generated there).
2007-11-16 14:38:03 +00:00
Viktor Szakats
cf01ca3701 2007-11-10 05:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* make_b32.bat
   + make_b32.mak
   - makefile.bc
   * make_gcc.sh
   + make_gcc.mak
   - makefile.gc
   * make_vc.bat
   + make_vc.mak
   - makefile.vc
   * common.mak
   - contrib/maketpl.b32
   + contrib/mtpl_b32.mak
   - contrib/maketpl.vc
   + contrib/mtpl_vc.mak
   - contrib/maketpl.mak
   + contrib/mtpl.mak
   * contrib/libct/make_b32.bat
   * contrib/libct/make_vc.bat
     % Makefile name cleanup, batch file synchronization, 
       setting name cleanup. Some minor fixes.
       Now all non-GNU makefiles have the .mak extension.

   - contrib/xhb/makefile.vc
   * contrib/xhb/make_b32.bat
   + contrib/xhb/common.mak
   - contrib/xhb/makefile.bc
   * contrib/xhb/make_vc.bat
   - contrib/libmisc/makefile.vc
   * contrib/libmisc/make_b32.bat
   + contrib/libmisc/common.mak
   - contrib/libmisc/makefile.bc
   * contrib/libmisc/make_vc.bat
   + contrib/apollo/common.mak
   - contrib/apollo/makefile.bc
   * contrib/apollo/make_b32.bat
   + contrib/apollo/make_vc.bat
   - contrib/htmllib/makefile.vc
   * contrib/htmllib/make_b32.bat
   + contrib/htmllib/common.mak
   - contrib/htmllib/Makefile.bc
   * contrib/htmllib/make_vc.bat
   * contrib/libct/make_b32.bat
   * contrib/libct/make_vc.bat
   - contrib/libgt/makefile.vc
   * contrib/libgt/make_b32.bat
   + contrib/libgt/common.mak
   - contrib/libgt/makefile.bc
   * contrib/libgt/make_vc.bat
   * contrib/libnf/make_b32.bat
   - contrib/libnf/makefile.vc
   * contrib/libnf/make_vc.bat
   + contrib/libnf/common.mak
   - contrib/libnf/makefile.bc
   * contrib/gd/make_b32.bat
   + contrib/gd/common.mak
   - contrib/gd/makefile.bc
   + contrib/gd/make_vc.bat
   - contrib/tip/makefile.vc
   * contrib/tip/make_b32.bat
   + contrib/tip/common.mak
   - contrib/tip/makefile.bc
   * contrib/tip/make_vc.bat
   + contrib/adordd/common.mak
   - contrib/adordd/makefile.bc
   * contrib/adordd/make_b32.bat
   + contrib/adordd/make_vc.bat
   - contrib/rdd_ads/makefile.vc
   * contrib/rdd_ads/make_b32.bat
   + contrib/rdd_ads/common.mak
   - contrib/rdd_ads/makefile.bc
   * contrib/rdd_ads/make_vc.bat
   + contrib/btree/common.mak
   - contrib/btree/makefile.bc
   * contrib/btree/make_b32.bat
   + contrib/btree/make_vc.bat
   + contrib/directx/common.mak
   - contrib/directx/makefile.bc
   - contrib/directx/makefile.vc
   * contrib/directx/make_b32.bat
   * contrib/directx/make_vc.bat
   + contrib/win32/common.mak
   - contrib/win32/makefile.bc
   - contrib/win32/makefile.vc
   * contrib/win32/make_b32.bat
   * contrib/win32/make_vc.bat
   + contrib/bmdbfcdx/common.mak
   - contrib/bmdbfcdx/makefile.bc
   * contrib/bmdbfcdx/make_b32.bat
   + contrib/bmdbfcdx/make_vc.bat
   - contrib/samples/makefile.vc
   * contrib/samples/make_b32.bat
   + contrib/samples/common.mak
   - contrib/samples/makefile.bc
   * contrib/samples/make_vc.bat
   * contrib/mysql/common.mak
   - contrib/mysql/makefile.bc
   * contrib/mysql/make_b32.bat
   + contrib/mysql/make_vc.bat
   * contrib/pgsql/common.mak
   - contrib/pgsql/makefile.bc
   * contrib/pgsql/make_b32.bat
   + contrib/pgsql/make_vc.bat
     * Changed most libs to use the generic non-GNU makefiles.
     + Added support for MSVC for all above libs.
     ; directx won't build under MSVC with an error.
     + Added "implib" for rdd_ads. TOFIX: Doesn't work for MSVC.
     ; TOFIX: I couldn't compile pgsql using latest 8.2.5.

   * contrib/samples/gauge.c
     ! Fixed MSVC warning.

   + odbc/test
   + odbc/test/bld_b32.bat
   + odbc/test/harbour.mdb
   + odbc/test/odbcdemo.prg
   + odbc/test/browodbc.prg
   + odbc/test/odbccall.prg
   + odbc/test/testodbc.prg
   - odbc/bld_b32.bat
   - odbc/harbour.mdb
   - odbc/odbcdemo.prg
   - odbc/browodbc.prg
   - odbc/odbccall.prg
   - odbc/testodbc.prg
   - odbc/bldodbc.bat
   + odbc/make_b32.bat
   + odbc/make_vc.bat
   - odbc/hbodbc.b32
   + odbc/common.mak
     * Moved test functions to test fir.
     ! Fixed bld_b32.bat
     ! Renamed non-GNU BC make files to be in sync with the rest of contribs.
     ; TOFIX: There are some warnings under MSVC.
     ; TOFIX: .def -> .lib conversions fails under MSVC.

   - contrib/ole
   - contrib/delphi
   - contrib/hb_struc
   - contrib/dot
   - contrib/tprepro
     - Removed obsolete, incomplete or non-working contribs.
2007-11-10 04:53:45 +00:00