Commit Graph

37 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
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
ba11d8dcf8 2008-08-13 02:30 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_b32.bat
   * make_b32.mak
     - Removed dummy option HB_BUILD_MODE.
2008-08-13 00:37:43 +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
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
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
631010f4ae 2008-05-30 17:36 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/common/hbverdsp.c
     * Some cleanups on appearance.
     * Company names removed (except CA).

   * contrib/rddads/adsmgmnt.c
     * Minor formatting.

   + contrib/examples/dbu/hb_dbu.dif
   * contrib/examples/dbu/bld_b32.bat
   * contrib/examples/dbu/readme.txt
     + Added .dif file with a patch fixing some 
       multiplatforms issues in original dbu source.
       It's a quick hack, I might have missed something, 
       and I didn't do any testing. Add your own fix, 
       if you have some.
     * DBU_DIR -> HB_DIR_DBU

   * make_b32.mak
   * contrib/mtpl_b32.mak
   * config/w32/bcc32.cf
     + Added following switches for BCC:
       -d: merge duplicate strings (was enabled already in GNU make)
       -w: enable warnings.
       -w-sig-: disable 'Conversion may lose significant digits' warnings.
2008-05-30 15:47:57 +00:00
Viktor Szakats
f42f92f69c 2008-05-29 20:56 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_b32.mak
     - HB_NO_BCC_MAX_OPENFILES_HACK - no longer used.

   * include/hbsetup.h
     - HB_ASORT_OPT_ITEMCOPY - no longer used.
     - HB_FAST_STOD - no longer used.
2008-05-29 19:06:15 +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
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
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
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
Viktor Szakats
3307b6f37e 2007-11-27 01:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* make_b32.mak
     ! Removed -l flag from .dll creation to be in sync with the 
       rest of Harbour.

   * contrib/mtpl_b32.mak
   * contrib/mtpl_vc.mak
     ! Synced with core flags (VC mainly).

   * contrib/freeimage/fi_winfu.c
   * contrib/freeimage/fi_wrp.c
   * contrib/freeimage/make_b32.bat
   * contrib/freeimage/make_vc.bat
   * contrib/firebird/firebird.c
   * contrib/firebird/make_b32.bat
   * contrib/firebird/make_vc.bat
   * contrib/pdflib/make_b32.bat
   * contrib/pdflib/make_vc.bat
   * contrib/pdflib/pdfhbdoc.c
   * contrib/pgsql/postgres.c
   * contrib/pgsql/make_b32.bat
   * contrib/pgsql/make_vc.bat
   * contrib/mysql/mysql.c
   * contrib/mysql/make_b32.bat
   * contrib/mysql/make_vc.bat
     ! Some extra lib-level custom C flags fixed to be 
       in sync with rest of Harbour. (mainly HB_OS_WIN_32_USED)

   * contrib/hbzlib/make_b32.bat
   * contrib/hbzlib/make_vc.bat
     ! hbziparch extra switches removed (all of them). 
       This made surface a whole lot of warnings.
       If someone wants to create a .dll from this, 
       -DZLIB_DLL will need to be added to C_USR.
       -a8 switch was also removed from the BCC build.
       If someone know that it's necessary, pls shout.
2007-11-27 00:26:23 +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
Przemyslaw Czerpak
ff7e0891fa 2007-11-21 18:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/make_vcce.bat
  * harbour/make_vcce.mak
  * harbour/make_b32.mak
  * harbour/common.mak
  * harbour/contrib/make_all.mak
  * harbour/contrib/mtpl_ruls.mak
  * harbour/make_gcc.mak
    + added missing Marek's Copyright
    * set svn attributes:
         svn ps svn:eol-style [native|CRLF]
         svn ps svn:keywords Id

  * harbour/contrib/mtpl_defs.mak
  * harbour/contrib/mtpl_b32.mak
  * harbour/contrib/mtpl_vc.mak
    + added missing Marek's and Viktor's Copyrights
    * set svn attributes:
         svn ps svn:eol-style [native|CRLF]
         svn ps svn:keywords Id
    Viktor, Marek if I missed sth then please fix me.

  * harbour/make_gcc.sh
    * added mine Copyright note
2007-11-21 17:30:26 +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