Commit Graph

7910 Commits

Author SHA1 Message Date
Marek Paliwoda
fc69ecbf6e 2008-01-31 18:29 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl)
* contrib/gtwvg/common.mak
   * contrib/hbapollo/common.mak
   * contrib/hbbmcdx/common.mak
   * contrib/hbbtree/common.mak
   * contrib/hbclipsm/common.mak
   * contrib/hbct/common.mak
   * contrib/hbfbird/common.mak
   * contrib/hbfimage/common.mak
   * contrib/hbgd/common.mak
   * contrib/hbgt/common.mak
   * contrib/hbmisc/common.mak
   * contrib/hbmsql/common.mak
   * contrib/hbmysql/common.mak
   * contrib/hbnf/common.mak
   * contrib/hbodbc/common.mak
   * contrib/hbole/common.mak
   * contrib/hbpgsql/common.mak
   * contrib/hbtip/common.mak
   * contrib/hbtpathy/common.mak
   * contrib/hbw32/common.mak
   * contrib/hbw32ddr/common.mak
   * contrib/hbwhat32/common.mak
   * contrib/hbziparch/common.mak
   * contrib/hbzlib/common.mak
   * contrib/mtpl_b32.mak
   * contrib/mtpl_vc.mak
   * contrib/rddado/common.mak
   * contrib/rddads/common.mak
   * contrib/xhb/common.mak
   * contrib/mtpl_gcc.mak
     ! Fixed possible error in Bcc build, related to recent changes

   + contrib/hbbmcdx/make_gcc.sh
   + contrib/hbbtree/make_gcc.sh
   + contrib/rddado/make_gcc.sh
   + contrib/make_gcc_all.sh
   + contrib/mtpl_gcc.sh
     + Readded, due to my wrong last commit, when these files
       were not added at all
2008-01-31 17:30:36 +00:00
Viktor Szakats
ca8c0a0e89 2008-01-31 18:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* common.mak
   * harbour-ce-spec
   * harbour-w32-spec
   * harbour.spec
   * make_tgz.sh
   * utils/hbpptest/Makefile
   + utils/hbpptest/hbpptest.prg
   - utils/hbpptest/pretest.prg
     ! Fixed hbpptest to have this name (instead of 'pretest') even 
       when built with the GNU make system.
2008-01-31 17:09:17 +00:00
Viktor Szakats
b5ae06cc09 2008-01-31 17:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* bin/hb-func.sh
     + Updated for lib name change.
       Please test & review.

   * source/rtl/net.c
   * include/hbapi.h
     + Added hb_netname() and hb_username() low level versions 
       of NETNAME() and hb_USERNAME().
2008-01-31 16:48:02 +00:00
Ryszard Glab
d0f269ce90 2008-01-31 17:40 UTC+0100 Ryszard Glab <harbour//rglab.pl>
* config/w32/mingw32.cf
      * fixed library name mainstd -> hbmainstd
2008-01-31 16:36:06 +00:00
Viktor Szakats
8a5c03a538 2008-01-31 16:32 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbextern.ch
   * source/rtl/net.c
   * contrib/xhb/hbcompat.ch
     ! Removed non-compatible xhb extension from NetName().
     + hb_UserName() function added with the above functionality.
     ! Slight correction to the Win32 branch of hb_UserName().
     + Added compatibility translations to NetName(1) for 
       xhb lib users (enough to #include "hbcompat.ch").
2008-01-31 15:46:59 +00:00
Viktor Szakats
2edfc2e1b6 2008-01-31 14:13 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbbtree/hb_btree.c
     ! Removed HB_ERR_SS_TOOLS reference.
2008-01-31 13:13:42 +00:00
Ryszard Glab
9eee5e701c 2008-01-31 13:00 UTC+0100 Ryszard Glab <harbour//rglab.pl>
* source/rdd/Makefile
   * config/global.cf
      * added HB_LIB_DIRS with a list of valid RDD subdirectories
        (HB_LIB_DRIVERS stores the list of valid RDD libraries)
2008-01-31 11:59:05 +00:00
Ryszard Glab
5a658b2c03 2008-01-31 12:40 UTC+0100 Ryszard Glab <harbour//rglab.pl>
* doc/howtosvn.txt
      * svn update does not report locally modified files - it is 
        required to run 'svn status' to list all changed files
        
   * config/lib.cf
   * config/bin.cf
   * config/darwin/gcc.cf
   * config/darwin/global.cf
   * config/hpux/gcc.cf
   * config/hpux/global.cf
   * config/dos/owatcom.cf
   * config/dos/watcom.cf
   * config/dos/bcc16.cf
   * config/dos/global.cf
   * config/dos/rsx32.cf
   * config/dos/djgpp.cf
   * config/global.cf
   * config/linux/owatcom.cf
   * config/linux/gcc.cf
   * config/linux/global.cf
   * config/os2/gcc.cf
   * config/os2/icc.cf
   * config/os2/global.cf
   * config/sunos/gcc.cf
   * config/sunos/global.cf
   * config/bsd/gcc.cf
   * config/bsd/global.cf
   * config/w32/msvc.cf
   * config/w32/owatcom.cf
   * config/w32/watcom.cf
   * config/w32/bcc32.cf
   * config/w32/gcc.cf
   * config/w32/xcc.cf
   * config/w32/rsxnt.cf
   * config/w32/global.cf
   * config/w32/cemgw.cf
   * config/w32/pocc.cf
   * config/w32/mingw32.cf
      * updated to create libraries in harbour/lib/<arch>/<compiler>
        subdirectories
      NOTE: only 'linux/gcc' modifications were tested -please
      report any problems (mostly slash or backslash issues probably)
2008-01-31 11:36:57 +00:00
Marek Paliwoda
541265b357 2008-01-30 21:30 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl)
* contrib/gtwvg/common.mak
   * contrib/hbapollo/common.mak
   * contrib/hbbmcdx/common.mak
   * contrib/hbbtree/common.mak
   * contrib/hbclipsm/common.mak
   * contrib/hbct/common.mak
   * contrib/hbfbird/common.mak
   * contrib/hbfimage/common.mak
   * contrib/hbgd/common.mak
   * contrib/hbgt/common.mak
   * contrib/hbmisc/common.mak
   * contrib/hbmsql/common.mak
   * contrib/hbmysql/common.mak
   * contrib/hbnf/common.mak
   * contrib/hbodbc/common.mak
   * contrib/hbole/common.mak
   * contrib/hbpgsql/common.mak
   * contrib/hbtip/common.mak
   * contrib/hbtpathy/common.mak
   * contrib/hbw32/common.mak
   * contrib/hbw32ddr/common.mak
   * contrib/hbwhat32/common.mak
   * contrib/hbziparch/common.mak
   * contrib/hbzlib/common.mak
   * contrib/rddado/common.mak
   * contrib/rddads/common.mak
   * contrib/xhb/common.mak
     ! Changed to be compatible with GNU make for alternative
       building system centered around common.mak.

   + contrib/make_gcc_all.sh
   + contrib/mtpl_gcc.mak
   + contrib/mtpl_gcc.sh
     + New files for building contrib libs with GNU make using
       alternative building system centered around common.mak.

   + contrib/hbbmcdx/make_gcc.sh
   + contrib/hbbtree/make_gcc.sh
   + contrib/rddado/make_gcc.sh
     + New files for building contrib libs with GNU make using
       alternative building system centered around common.mak.
       Work in progress.

   * contrib/make_b32_all.bat
   * contrib/make_vc_all.bat
     + Added Copyright notes.

   * contrib/mtpl_b32.bat
   * contrib/mtpl_b32.mak
   * contrib/mtpl_vc.bat
   * contrib/mtpl_vc.mak
     ! Minor cleanup and formatting.

   * make_gcc.mak
   * make_gcc.sh
     ! Minor fix related to Cygwin platform
2008-01-30 20:39:26 +00:00
Viktor Szakats
735787b94d 2008-01-29 01:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
     ! Typos.

   * utils/hbpp/hbpplib.c
     ! Replaced RTE code 1001 with 1002.
       (almost the same error condition, but better have 
       it different to avoid any support confusions).
2008-01-29 00:00:52 +00:00
Viktor Szakats
eb89862ecf 2008-01-28 12:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapierr.h
   * source/rtl/errorapi.c
     ! Removed HB_ERR_SS_TOOLS non-core #define (formerly used by 
       /contrib/hbct from core header.
     ! Removed non-core related error API call hb_errRT_TOOLS()
       (functionality was similar to hb_errRT_BASE())

   * contrib/hbct/ctnet.c
     ! Fixed RTE calls to use unique IDs instead of 9999.
       Subcode changed to 0 from 999.

   * utils/hbpp/hbpplib.c
     ! Replaced RTE code 9999 with 1001.
2008-01-28 11:12:35 +00:00
Viktor Szakats
367c5a6264 2008-01-28 09:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* source/rdd/dbfntx/Makefile
   * source/rdd/dbfdbt/Makefile
   * source/rdd/dbfcdx/Makefile
   * source/rdd/dbffpt/Makefile
     ! Missing LIBNAME change now done.

   * ChangeLog
     ! Missing dbfdbt -> rdddbt name changed added to prev entry.
2008-01-28 08:29:30 +00:00
Viktor Szakats
6ba9eae6c2 2008-01-27 17:24 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmysql/make_b32.bat
   * contrib/hbmysql/make_vc.bat
   * contrib/hbodbc/make_b32.bat
   * contrib/hbodbc/make_vc.bat
   * contrib/hbfbird/make_b32.bat
   * contrib/hbfbird/make_vc.bat
   * contrib/hbapollo/make_b32.bat
   * contrib/hbapollo/make_vc.bat
   * contrib/hbzlib/make_b32.bat
   * contrib/hbzlib/make_vc.bat
   * contrib/hbpgsql/make_b32.bat
   * contrib/hbpgsql/make_vc.bat
   * contrib/rddads/make_b32.bat
   * contrib/rddads/make_vc.bat
   * contrib/hbfimage/make_b32.bat
   * contrib/hbfimage/make_vc.bat
   * contrib/hbgd/make_b32.bat
   * contrib/hbgd/make_vc.bat
     ! Minor formatting.

   * contrib/hbzlib/make_b32.bat
     ! -a added to implib until a better fix is found 
       for the problem.

   * source/rdd/dbfntx/dbfntx1.c
   * source/rdd/dbfcdx/dbfcdx1.c
     ! Changed previously used internal error code 
       ranges to better fit in already used ones.
       (70??/71?? -> 93??)

   * contrib/hbbmcdx/bmdbfcdx1.c
     ! 9999 internal error codes synced with CDX RDD.
2008-01-27 16:25:45 +00:00
Chen Kedem
b1df0448bf 2008-01-27 15:26 UTC+0200 Chen Kedem <niki@synel.co.il> 2008-01-27 13:26:32 +00:00
Viktor Szakats
2e3ce4504c 2008-01-27 12:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/objfunc.prg
     ! Fixed ISNUMBER() -> hb_ISPOINTER() for pointers.
       Thanks to Chen Kedem.

   * utils/hbtest/rt_stra.prg
   * utils/hbtest/rt_array.prg
     ! Fixed expected results to use the recently introduced new error codes.
       Thanks to Chen Kedem.
2008-01-27 12:32:37 +00:00
Marek Paliwoda
ec08662048 2008-01-26 22:42 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl)
* make_gcc.mak
    + Added an extra compilation phase for building
      shared VM+RTL library (if needed)
    ! Some minor fixes and cleanup
2008-01-26 21:41:12 +00:00
Lorenzo Fiorini
2d47404bcd 2008-01-26 15:53:58 +00:00
Viktor Szakats
c85b890109 2008-01-26 11:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* source/pp/Makefile
     ! Missed modification made after lib name change.
2008-01-26 10:01:06 +00:00
Viktor Szakats
093cef71c0 2008-01-26 10:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddads/adsfunc.c
     ! Warning fixed in ADSGetServerName().

   * contrib/hbtip/sessid.prg
     ! SVN header added.

   * contrib/hbtip/common.mak
     + New file added.

   * contrib/hbtip/Makefile
     * Formatting.

   * source/rtl/gtxwc/gtxwc.c
     ! Formatting.
2008-01-26 09:28:07 +00:00
Viktor Szakats
e15b5f14da minor formatting 2008-01-26 09:23:45 +00:00
Lorenzo Fiorini
08abc77ab8 2008-01-26 09:15:58 +00:00
Viktor Szakats
5aa509ba3a 2008-01-26 09:54 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make_b32_all.bat
   * contrib/make_vc_all.bat
   * contrib/Makefile
   + contrib/rddado
   * contrib/rddado/common.mak
   * contrib/rddado/Makefile
   + contrib/gtwvg
   * contrib/gtwvg/common.mak
   * contrib/gtwvg/Makefile
   + contrib/rddads
   * contrib/rddads/common.mak
   * contrib/rddads/Makefile
   - contrib/hbrddado
   - contrib/hbgtwvg
   - contrib/hbrddads
   * utils/hbmake/hbmutils.prg
     ! Done some final renames in contrib to be consistent 
       with the core names where some new rules had to be 
       made for DJGPP compatibility.

       Old name    New name
       --------    --------
       hbgtwvg  -> gtwvg
       hbrddado -> rddado
       hbrddads -> rddads
2008-01-26 09:02:24 +00:00
Viktor Szakats
80e4b3ae70 2008-01-26 07:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* source/pp/pplib.c
   * source/rtl/run.c
   * source/rtl/hbgtcore.c
   * source/rtl/philesx.c
   * source/rtl/strzero.c
   * source/vm/runner.c
   * source/vm/debug.c
   * source/vm/itemapi.c
   * source/vm/arrayshb.c
   * source/vm/classes.c
   * source/rdd/dbfntx/dbfntx1.c
   * source/rdd/dbfcdx/dbfcdx1.c
     ! Replaced 9999 internal and RT error codes with 
       unique ones, in new Harbour ranges:
       RT/PP: 1001-1999
       RT/BASE: 6001-6999
          runner: 6101-6199
       Internal/misc: 6001-6999
       Internal/RDD: 7001-7999
          CDX: 7001-7099
          NTX: 7101-7199
       NOTE: If you find some more 9999s in the core code, 
             pls tell.
2008-01-26 06:54:55 +00:00
Viktor Szakats
5212854942 typo 2008-01-26 05:29:46 +00:00
Viktor Szakats
a92f87015d 2008-01-26 06:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* tests/gfx.prg
   * tests/wcecon.prg
   * tests/gtchars.prg
   * tests/gtkeys.prg
   * include/hbgtinfo.ch
   * source/rtl/hbgtcore.c
   * source/rtl/gtkbstat.c
   * source/rtl/gtdos/gtdos.c
   * source/rtl/gtwin/gtwin.c
   * source/rtl/gtxwc/gtxwc.c
   * source/rtl/gtos2/gtos2.c
   * source/rtl/gtcrs/gtcrs.c
   * source/rtl/gtalleg/gtalleg.c
   * source/rtl/gtstd/gtstd.c
   * source/rtl/gtsln/gtsln.c
   * source/rtl/gttrm/gttrm.c
   * source/rtl/gtpca/gtpca.c
   * source/rtl/gtgui/gtgui.c
   * source/rtl/gtcgi/gtcgi.c
   * source/rtl/gtwvt/gtwvt.c
   * contrib/hbgtwvg/gtwvg.c
     ! Some minor formatting to the .ch file. Removed 
       reference to non-existing doc/gtinfo.txt.
     * Using HB_GTI_* instead of GTI_* in Harbour files.
2008-01-26 05:29:20 +00:00
Viktor Szakats
b9c3cbccfc 2008-01-25 21:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* harbour-ce-spec
   * harbour-w32-spec
   * bin/bld.bat
   * harbour.spec
   * common.mak
   * source/pp/Makefile
   * source/lang/Makefile
   * source/macro/Makefile
   * source/rtl/Makefile
   * source/vm/mainstd/Makefile
   * source/vm/Makefile
   * source/vm/mainwin/Makefile
   * source/main/Makefile
   * source/debug/Makefile
   * source/codepage/Makefile
   * source/common/Makefile
   * source/rdd/nulsys/Makefile
   * source/rdd/Makefile
   * source/rdd/hsx/Makefile
   * source/rdd/usrrdd/Makefile
   * source/compiler/Makefile
   * contrib/hbct/tests/Makefile
   * contrib/hbodbc/tests/bld_b32.bat
   * contrib/hbole/tests/bld_b32.bat
   * contrib/hbapollo/tests/bld.bat
   * contrib/hbfbird/tests/bld_b32.bat
   * contrib/hbfbird/tests/Makefile
   * contrib/hbpgsql/tests/Makefile
   * contrib/hbfimage/tests/bld_b32.bat
   * contrib/hbgd/tests/bldtest.bat
   * contrib/hbmisc/tests/Makefile
   * contrib/hbgf/tests/bld_b32.bat
   * contrib/hbbtree/tests/Makefile
   * contrib/examples/guestbk/Makefile
   * contrib/examples/pe/Makefile
   * contrib/examples/dbu/Makefile
   * contrib/examples/misc/Makefile
   * contrib/examples/hscript/Makefile
   * utils/hbdoc/Makefile
   * utils/hbextern/Makefile
   * utils/hbdot/Makefile
   * utils/hbmake/Makefile
   * utils/hbmake/hbmutils.prg
   * utils/hbmake/hbmake.prg
   * utils/hbpp/Makefile
   * utils/hbpptest/Makefile
   * utils/hbtest/Makefile
   * utils/hbrun/Makefile
   * tests/Makefile
     * Core libs renamed to be prefixed with hb, while 
       having the first significant 5 chars unique.

       Old name    New name
       --------    --------
       codepage -> hbcpage 
       common   -> hbcommon
       compiler -> hbcplr  
       debug    -> hbdebug 
       hbsix    -> hbsix   
       hsx      -> hbhsx   
       lang     -> hblang  
       macro    -> hbmacro 
       pp       -> hbpp    
       rtl      -> hbrtl   
       vm       -> hbvm    
       rdd      -> hbrdd
       dbfcdx   -> rddcdx
       dbffpt   -> rddfpt
       dbfntx   -> rddntx
       nulsys   -> hbnulrdd
       usrrdd   -> hbusrrdd
       mainwin  -> hbmainwin
       mainstd  -> hbmainstd

       NOTE/TODO: We're currently not in sync with contribs, 
                  regarding hb prefixing, since in contrib 
                  rdds and gts (rightly) also have hb prefixes.
                  The only reason not to add them in core this
                  time, is to keep compatibility with DJGPP.
                  Maybe we should remove those prefixes from 
                  contrib.

       NOTE/TODO: Do tests in as many platforms and as many contrib 
                  tests as possible. Feedback from hbmake users is 
                  also welcome.

       !!! Please update your local make files !!!

   * include/hbgtinfo.ch
     + Added HB_ prefixed versions for all GTI_ macros.
       Unprefixed GTI_ macros are to be considered xhb 
       compatible (or legacy) ones, and they can be 
       excluded by #defining HB_GT_NO_XHB if they seem to 
       collide with user code.
       TODO: Switch to use HB_GTI_* inside Harbour code.
2008-01-25 20:40:49 +00:00
Viktor Szakats
b7587eddc1 2008-01-25 17:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/radiogrp.prg
     ! Minor formatting.
2008-01-25 16:55:35 +00:00
Viktor Szakats
64664455ce 2008-01-25 16:32 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
- contrib/hbzlib/zlib.h
   - contrib/hbzlib/zconf.h
   * contrib/hbzlib/hbmzip.c
   * contrib/hbzlib/readme.txt
     ! Removed zlib headers included in Harbour SVN.
       For this contrib to compiler, users will need to have 
       the zlib package installed.
     ! stricmp() -> hb_stricmp() to avoid MSVC warning and 
       to be more portable.
2008-01-25 15:32:55 +00:00
Mindaugas Kavaliauskas
05b520ce9e 2008-01-25 15:20 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/source/compiler/hbmain.c
    ! fixed a few /w3 memory leaks
2008-01-25 13:20:48 +00:00
Marek Paliwoda
49a0e3e484 2008-01-25 10:47 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl)
* contrib/make_b32_all.bat
   * contrib/make_vc_all.bat
    ! moved hbzlib compilation into "conditional section" of above batfiles
2008-01-25 09:46:54 +00:00
Viktor Szakats
31c5337d7a 2008-01-25 10:08 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbrddads/make_b32.bat
   * contrib/hbrddads/make_vc.bat
     ! Removed duplicate line.
2008-01-25 09:08:58 +00:00
Viktor Szakats
b9f9689418 2008-01-25 10:05 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbzlib/make_b32.bat
   * contrib/hbzlib/make_vc.bat
     + Added creation of .lib from .dll for non-GNU make systems.
2008-01-25 09:05:57 +00:00
Przemyslaw Czerpak
da6f8a212c 2008-01-23 02:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbrddntx.h
    ! fixed type of Signature field in tag structure

  * harbour/source/rdd/dbfntx/dbfntx1.c
    ! fixed possible leaving locked index when number of tags
      exceed 63. 63 is maximum number of tags in multi tag NTX
      file
    ! fixed typo in HB_TRACE message
    % simplify NTXNODE data access in RDDINFO method

  * harbour/source/rdd/dbfcdx/dbfcdx1.c
    * formatting, some minor cleanup and fixed typo in comment
2008-01-23 01:24:48 +00:00
Viktor Szakats
dd38329862 2008-01-18 02:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbrddads/make_b32.bat
   * contrib/hbrddads/make_vc.bat
     ! Fixed typo in a label.
       (Thanks to Eduardo Horbino)
2008-01-18 01:12:08 +00:00
Przemyslaw Czerpak
5d809c61c4 2008-01-18 01:39 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbzlib/hbmzip.c
    * cast result of hb_fsGetOsHandle() to expected OS handle type
      - thanks to Jorge
2008-01-18 00:39:37 +00:00
Przemyslaw Czerpak
8bae6cb2b9 2008-01-18 01:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbzlib/zip.c
  * harbour/contrib/hbzlib/unzip.c
    ! fixed possible access to uninitialized memory - thanks to Lorenzo

  * harbour/contrib/hbzlib/hbzlib.c
    * fixed casting - thanks to Andi

  * harbour/contrib/hbzlib/hbmzip.c
    * use hb_fsGetOsHandle() instead of LongToHandle() - code which
      uses hb_fsGetOsHandle() will work also with our own virtual
      handles if we add such extensions in the future

  * harbour/source/vm/harbinit.prg
    ! call __SetHelpK() only when HELP() function/procedure exist
      Clipper compatible behavior
2008-01-18 00:17:35 +00:00
Przemyslaw Czerpak
8128564f46 2008-01-17 17:29 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/harbour.spec
    ! removed dummy %endif which left after recent modification
      for Mandriva detection

  * harbour/ChangeLog
    ! fixed ChangeLog description - I repeated by mistake the previous one
2008-01-17 16:29:26 +00:00
Przemyslaw Czerpak
0c2ee593bb 2008-01-17 17:23 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbzlib/ioapi.c
  * harbour/contrib/hbzlib/zip.c
  * harbour/contrib/hbzlib/unzip.c
  * harbour/contrib/hbzlib/crypt.h
  * harbour/contrib/hbzlib/hbzlib.c
  * harbour/contrib/hbzlib/hbmzip.c
    * casting for C++ compilation
    * changed function declaration for C++ compilation
    * removed #include "errno.h" - some platforms do not have it
    * updated WIN32 API for WinCE and UNICODE builds
    * use localtime_r() only for Linux builds - TODO: create our own
      API for it and remove all #if... from core code so we will have
      it only in one place easy to update for different platforms

  * harbour/contrib/hbzlib/common.mak
    * replaced TABs with SPACEs

  * harbour/harbour-ce-spec
  * harbour/harbour-w32-spec
  * harbour/harbour.spec
  * harbour/bin/hb-func.sh
  * harbour/contrib/Makefile
    + added hbzlib to contrib libraries compiled by default
2008-01-17 16:23:13 +00:00
Przemyslaw Czerpak
eec720e9e9 2008-01-17 16:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbzlib/ioapi.c
  * harbour/contrib/hbzlib/zip.c
  * harbour/contrib/hbzlib/unzip.c
  * harbour/contrib/hbzlib/crypt.h
  * harbour/contrib/hbzlib/hbzlib.c
  * harbour/contrib/hbzlib/hbmzip.c
    * casting for C++ compilation
    * changed function declaration for C++ compilation
    * removed #include "errno.h" - some platforms do not have it
    * updated WIN32 API for WinCE and UNICODE builds
    * use localtime_r() only for Linux builds - TODO: create our own
      API for it and remove all #if... from core code so we will have
      it only in one place easy to update for different platforms

  * harbour/contrib/hbzlib/common.mak
    * replaced TABs with SPACEs

  * harbour/harbour-ce-spec
  * harbour/harbour-w32-spec
  * harbour/harbour.spec
  * harbour/bin/hb-func.sh
  * harbour/contrib/Makefile
    + added hbzlib to contrib libraries compiled by default
2008-01-17 15:51:12 +00:00
Viktor Szakats
9c37ecf0d7 2008-01-16 12:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make_b32_all.bat
   * contrib/make_vc_all.bat
   + contrib/hbzlib/common.mak
     + Added missing non-GNU make file.
     + Added hbzlib to "all" non-GNU make batches.
2008-01-16 11:04:15 +00:00
Przemyslaw Czerpak
5b3753ba89 2008-01-16 03:59 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
+ harbour/contrib/hbzlib/crypt.h
    + added modified for minizp crypt.h - it comes from minizip
      source code and it's modified infozip file

  * harbour/contrib/hbzlib/zip.c
    * disabled unused functions to eliminate warning

  * harbour/contrib/hbzlib/unzip.c
    * added suggested by compiler statement markers {} to pacify warnings

  * harbour/contrib/hbzlib/hbmzip.c
    ! added missing parenthesis in one logical expression
    * updated for Linux compilation - not tested yet but it
      can be cleanly compiled

  * harbour/contrib/hbzlib/hbzlib.c
    * synced with some minor modifications in my local copy
2008-01-16 03:00:00 +00:00
Przemyslaw Czerpak
47c3dbfebc 2008-01-16 03:18 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/macro.c
    ! strip trailing and leading SPACEs and TABs from macro compiled
      symbols
2008-01-16 02:18:23 +00:00
Mindaugas Kavaliauskas
b2f93a309a 2008-01-16 01:20 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
+ harbout/contrib/hbzlib
    + added support for zlib library and zip files (based on 
      minizip)
  + harbour/contrib/hbzlib/zconf.h
  + harbour/contrib/hbzlib/zlib.h
    + zlib include files
  + harbour/contrib/hbzlib/zip.h
  + harbour/contrib/hbzlib/unzip.h
    + minizip include files
  + harbour/contrib/hbzlib/ioapi.c
  + harbour/contrib/hbzlib/zip.c
  + harbour/contrib/hbzlib/unzip.c
    + minizip source files. Some fixes are applied to avoid compile 
      time warning and errors, see readme.txt for list
    ; I've compiled with BCC only, please, check other compilers
  + harbour/contrib/hbzlib/hbzlib.c
    + zlib wrapper functions. Przemyslaw Czerpak is author of this code. 
      The file was posted to developers mailing list on 2007-05-17. 
      I think licence statments in the begining of file gives permission 
      to include it into SVN.
    * HB_UNCOMPRESSLEN() function added. Source copied from Przemyslaw's
      email on 2008-01-10.
  + harbour/contrib/hbzlib/hbmzip.c
    + wrapper functions for minizip library
      Function names uses convention:
      - HB_ZIP*() - manages compression of .zip file:
           HB_ZIPOPEN(), HB_ZIPCLOSE()
      - HB_ZIPFILE*() - manages compression of files inside .zip:
           HB_ZIPFILECREATE(), HB_ZIPFILEWRITE(), HB_ZIPFILECLOSE()
      - HB_UNZIP*() - manages decompression of .zip fileL
           HB_UNZIPOPEN(), HB_UNZIPCLOSE()
      - HB_UNZIPFILE*() - manages decompression of files inside .zip
           HB_UNZIPFILEOPEN(), HB_UNZIPFILEREAD(), HB_UNZIPFILECLOSE(),
           HB_UNZIPFILEFIRST(), HB_UNZIPFILENEXT(), HB_UNZIPFILEPOS(), 
           HB_UNZIPFILEGOTO(), HB_UNZIPFILEINFO()
      Parameters of functions are documented inside source files.
    + implemented some higher level functions. These function are not 
      wrapper of minizip:
      HB_ZIPSTOREFILE(), HB_UNZIPEXTRACTCURRENTFILE()
    ; minizip gives low level access on zip files. This could be a 
      problem if you not going to put your fingers on internals, but 
      just want to compress/decompress files. Because managing of 
      file attributes is a little complicated. These higher level 
      functions do the job.
    ; please test code under linux. Source is written using docs only, 
      without test or deeper knowledge.
  + harbour/contrib/hbzlib/hbzlib.ch
    + defines for zlib and minizip libraries
    ; I've used HB_ZLIB_* and HB_ZIP_* prefixes, because some original 
      names of minizip library are too general, ex., APPEND_STATUS_CREATE
      If you want to use original define names we change this.
  + harbour/contrib/hbzlib/readme.txt
    * some comments on the source of libraries and ChangeLog for minizip 
      files
  + harbour/contrib/hbzlib/tests/myzip.prg
  + harbour/contrib/hbzlib/tests/myunzip.prg
    + tiny compression/decompression utilities written in Harbour
  + harbour/contrib/hbzlib/Makefile
  + harbour/contrib/hbzlib/make_b32.bat
  + harbour/contrib/hbzlib/make_vc.bat
    + makefiles written using another contrib's makefiles as template
    ; I'm not makefiles guru, please test it. I've also used command line 
      parameters: -DNOCRYPT -DNOUNCRYPT, to compile minizip. I don't know 
      howto include these to our makefiles
2008-01-15 23:23:34 +00:00
Tomaz Zupan
c99b895a06 2008-01-15 19:30 UTC+0100 Tomaz Zupan (tomaz.zupan/at/orpo.si)
* harbour.spec
    * Recognize more Mandriva releases
    * Changed platform from mdk to mdv for Mandriva
2008-01-15 18:39:00 +00:00
Przemyslaw Czerpak
0e5377f9dc 2008-01-15 14:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/macro.c
    ! make macro substitution before macro compilation - Clipper
      compatible behavior - fix borrowed from xHarbour
    ! do not overwrite 1-st error object by others which can appear
      during macro TYPE() checking
2008-01-15 13:27:56 +00:00
Miguel Angel Marchuet Frutos
7bcc218e29 2008-01-14 13:44 UTC+0100 Miguel Angel Marchuet Frutos <miguelangel@marchuet.net>
* source/vm/extend.c
    * Undo Added conversion from logical params in hb_par* functions.
      ( thks to Juan Gálvez )
2008-01-15 12:46:00 +00:00
Miguel Angel Marchuet Frutos
9fc3562477 2008-01-14 12:28 UTC+0100 Miguel Angel Marchuet Frutos <miguelangel@marchuet.net>
* source/vm/extend.c
    * Added conversion from logical params in hb_par* functions.
      ( thks to Juan Gálvez )
2008-01-15 11:33:42 +00:00
Przemyslaw Czerpak
ad374294bd 2008-01-15 10:31 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbdefs.h
    ! do not define [U]LONGLONG when HB_DONT_DEFINE_BASIC_TYPES macro
      is set
2008-01-15 09:31:22 +00:00
Przemyslaw Czerpak
5127d70658 2008-01-15 10:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rdd/usrrdd/usrrdd.c
    * added missing 'const' to few variable declarations
2008-01-15 09:21:41 +00:00
Przemyslaw Czerpak
18f80120f6 2008-01-14 19:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/common.mak
    * replaced TAB with SPACEs

  * harbour/source/rdd/dbcmd.c
    * changed hb_retnl() in LASTREC() to hb_retnint() to increase maximum
      record number to 2^32 - unsigned 32bit integer instead of signed one.

  * harbour/source/rdd/dbf1.c
    ! fixed possible memory leak/GPF when sx_DBFencrypt() is called when
      table already has password set
    * added support for password passing in sx_DBFdecrypt() - it's accepted
      only when table has no password

  * harbour/source/rdd/hbsix/sxcompat.prg
    - removed SX_SETPASS()
  * harbour/source/rdd/hbsix/sxtable.c
    + added new SX_SETPASS() implementation which supports
      some undocumented SIX3 actions
    ! fixed problem with setting password for currently open table
      with SX_SETPASS( <cPass> )
2008-01-14 18:35:54 +00:00