Commit Graph

1767 Commits

Author SHA1 Message Date
Viktor Szakats
5c3718eeba 2008-08-23 16:40 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbgt/Makefile
   * contrib/hbgt/common.mak
   - contrib/hbgt/strdiff.c
   + contrib/hbgt/strdiffg.c
   - contrib/hbgt/charmix.c
   + contrib/hbgt/charmixg.c
   - contrib/hbgt/asciisum.c
   + contrib/hbgt/asciisgt.c
   - contrib/hbgt/ascpos.c
   + contrib/hbgt/ascposgt.c
   * contrib/hbgf/hbgfos2/Makefile
   - contrib/hbgf/hbgfos2/tmenuitm.prg
   + contrib/hbgf/hbgfos2/tmenuit.prg
     ! Some files renamed to collide with each other on 
       non-GNU make systems.

   * contrib/examples/hscript/cgi.ch
   * contrib/examples/hscript/dir.hs
   * contrib/examples/hscript/multiply.hs
   * contrib/examples/hscript/ugly.hs
   * contrib/examples/hscript/hello.hs
   * contrib/examples/guestbk/guestbk.ini
     + Added SVN headers.

   + source/rtl/gtalleg/common.mak
   + source/rtl/gtalleg/make_gcc.sh
   + source/rtl/gtalleg/make_b32.bat
   + source/rtl/gtalleg/make_vc.bat
     + Added non-GNU make file as an ugly hack to 
       build them on Windows systems.

   - tests/altd.prg
   + tests/altdtest.prg
     * Rename.

   * include/hbver.h
   * harbour-ce-spec
   * harbour-w32-spec
   * harbour.spec
     * Version changed to '1.0.1dev'.
       Trunk will need to be synced to tag/1.0.

   * common.mak
     + Added version to harbour.dll: harbour-101-b32/vc.dll
     ; Work in progress. Pls comment.
2008-08-23 14:46:28 +00:00
Viktor Szakats
8235137004 2008-08-21 14:11 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbcomp.h
     * Minor formatting (alignment).

   * ChangeLog
     ! Added missing file from previous entry.

   * contrib/hbclipsm/gauge.c
     ! Fixed very old bug (too small buffer for snprintf()).
     * Minor adjustment to Harbour percentage var retrieval.

   * common.mak
   * utils/hbmake/Makefile
   * utils/hbmake/bld_b32.bat
   * utils/hbmake/bld_vc.bat
   - utils/hbmake/checkdef.ch
   - utils/hbmake/checks.ch
   - utils/hbmake/checks.prg
   * utils/hbmake/fclass1.prg
   * utils/hbmake/ffile1.prg
   * utils/hbmake/ft_funcs.prg
   - utils/hbmake/hbdocdef.ch
   * utils/hbmake/hbmake.prg
   * utils/hbmake/hbmlang.c
   * utils/hbmake/hbmutils.prg
   * utils/hbmake/Makefile
   * utils/hbmake/pickfile.prg
   * utils/hbmake/prb_stak.prg
   - utils/hbmake/radiodef.ch
   - utils/hbmake/radios.ch
   - utils/hbmake/radios.prg
   * utils/hbmake/readline.c
   * utils/hbmake/tmake.prg
   * utils/hbdoc/fclass1.prg
   * utils/hbdoc/ffile1.prg
   * utils/hbdoc/ft_funcs.prg
   * utils/hbdoc/genasc.prg
   * utils/hbdoc/genchm.prg
   * utils/hbdoc/genhpc.prg
   * utils/hbdoc/genhtm.prg
   * utils/hbdoc/genng.prg
   * utils/hbdoc/genos2.prg
   * utils/hbdoc/genpdf1.prg
   * utils/hbdoc/genrtf.prg
   * utils/hbdoc/gentrf.prg
   * utils/hbdoc/hbdoc.prg
   * utils/hbdoc/hbdocdef.ch
     * Cleanups.
     % Removed unused parts.
     ! GAUGE*() functions synced with hbclipsm.lib.
     * Removed hbclip.ch requirement when compiled 
       with CA-Cl*pper. (not tested)
2008-08-21 12:53:11 +00:00
Viktor Szakats
4c4120985a 2008-08-21 10:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/dbinfo.ch
   * include/dbstruct.ch
   * include/hbgtinfo.ch
   * include/hblang.ch
   * include/setcurs.ch
     ! Added "also used from C code" comments.

   * utils/hbmake/ffile1.prg
     ! Minor cleanup.

   * include/hbgfxdef.ch
   * include/hbgtinfo.ch
     * Marked old GTI_*, GFX_* macros with HB_LEGACY_LEVEL.
       (Old macro HB_GT_NO_XHB no longer works)

   * include/hbsetup.ch
     + Added HB_LEGACY_LEVEL macro. Currently turned on.
       Will be turned off later, and completely removed 
       as a final step. Times are not defined for these 
       yet. Please prepare to modify your code to not 
       use old legacy stuff.
       NOTE: C code using legacy Clipper (.api) headers are
             unaffected.

   * include/hbapirdd.h
     * Marked HARBOUR_* macros with HB_LEGACY_LEVEL

   * include/hbsetup.h
     * Marked OS_UNIX_COMPATIBLE, OS_PATH_DELIMITER 
       macros with HB_LEGACY_LEVEL.

   * include/hbapifs.h
   * source/rtl/filesys.c
     * Marked hb_fileNameConv() as HB_LEGACY_LEVEL.
     ; 3rd party and app developers should switch to 
       hb_fsNameConv().

   * source/rtl/box.c
   * source/rtl/console.c
   * source/rtl/filesys.c
   * source/rtl/gtapi.c
   * source/rtl/hbgtcore.c
   * contrib/hbclipsm/gauge.c
   * contrib/hbclipsm/status.c
   * contrib/hbct/ctwin.c
   * source/rtl/set.c
   * utils/hbmake/hbmlang.c
     * Updated core/contrib sources to use non-legacy names:
       HB_CLRSTR_LEN, HB_EVALINFO, PHB_EVALINFO, HB_FHANDLE
     ; TODO: FHANDLE -> HB_FHANDLE is incomplete yet.

   * include/hbdefs.h
     * Minor formatting.

   * include/hbmath.h
     ! #include <hbmath.ch> -> #include "hbmath.ch"

   * contrib/hbmysql/mysql.c
     + function SQLFETCHR() updated to allow fetching binary (BLOB) 
       fields. [Thanks to Mitja Podgornik]

   * include/hbapifs.h
   * include/hbapigt.h
   * include/hbapiitm.h
   * include/hbdefs.h
   * include/item.api
   * include/filesys.api
   * include/gt.api
     * FHANDLE      -> HB_FHANDLE
     * EVALINFO     -> HB_EVALINFO
     * PEVALINFO    -> PHB_EVALINFO
     * EVALINFO_PTR -> marked as legacy
     * CLR_STRLEN   -> HB_CLRSTR_LEN
     ; Old names are still working if HB_LEGACY_LEVEL 
       is #defined, and by default now it is.
     ; It's highly recommended to change all 3rd party and 
       app C code to use the new #defines/types/functions.
     ; NOTE1: There are some more names which are still 
              in the legacy "namespace", and gradually 
              I'd like to clean some of these as well. The most 
              important would be the type names, as these 
              are currently colliding with multiple external 
              packages, like windows.h, and it also makes it 
              impossible to compile hbfimage on certain systems.
     ; NOTE2: I'd also like to move the *_PTR (like HB_ITEM_PTR) 
              names to legacy status as we don't really use 
              them except in a few VM files, and we have PHB_* 
              as a wide-spread (and shorter) replacement.
     ; NOTE3: We may also use HB_LEGACY_LEVEL to obolete other 
              legacy or unsafe functions, with better new 
              alternatives.
     ; NOTE4: Here's a more or less complete list of names 
              that _may_ cause such problems:
              ; Type related stuff
                - TRUE, FALSE
                - BOOL, BYTE, SCHAR, UINT, USHORT
                - INT_MAX, INT_MIN
                - INT16, INT16_MAX, INT16_MIN
                - INT24_MAX, INT24_MIN
                - INT32, INT32_MAX, INT32_MIN
                - INT64, INT64_MAX, INT64_MIN
                - LONG, LONG_MAX, LONG_MIN
                - LONGLONG, LONGLONG_MAX, LONGLONG_MIN
                - SHORT, SHRT_MAX, SHRT_MIN
                - UCHAR, UCHAR_MAX
                - UINT16, UINT16_MAX
                - UINT24_MAX
                - UINT32, UINT32_MAX
                - UINT64, UINT64_MAX
                - ULONG, ULONG_MAX
                - ULONGLONG, ULONGLONG_MAX
                - assert()
              ; Some hacks currently used:
                - HB_DONT_DEFINE_BASIC_TYPES
                - HB_DONT_DEFINE_BOOL
                - HB_OS_WIN_32_USED ->
                  (include <windows.h> locally where needed)
              ; Compiler related stuff:
                - VS_*, VU_*, VT_*, FUN_*
                - *COMDECLARED, *COMCLASS, *COMSYMBOL
                - VAR, PVAR
                - _FUNC, PFUNCTION
                - _INLINE, PINLINE
                - _FUNCALL, PFUNCALL
                - _EXTERN, PEXTERN
                - AUTOOPEN, PAUTOOPEN
                - FUNCTIONS
                - INLINES
                - FUNCALLS
                - SYMBOLS
              ; Clipper compatibility #defines,
                better be moved behind a compatibility layer:
                - F_ERROR, FS_ERROR
                - IS*()
                - E_*, EF_*
                - FL_*, FLX_*, FO_*, FXO_*
                - _B_*
                - FC_*, FS_*, FD_*
                - INKEY_*, K_*
                - ES_*, EG_*
                - SC_*
                - DBS_*
              ; + All RDD related stuff, including "dbinfo.ch" constants.
2008-08-21 09:12:17 +00:00
Viktor Szakats
ef0acc114a Removed TODOs 2008-08-19 15:22:50 +00:00
Viktor Szakats
b2594752b3 2008-08-19 14:58 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_deb.sh
     * Removed wrong comment recently added.
       (we will need to fix hbfimage compilation anyway)

   * harbour-ce-spec
   * harbour-w32-spec
   * harbour.spec
   * debian/control
   * include/vm.api
   * include/extend.api
   * include/button.ch
   * include/hbstack.h
   * include/item.api
   * include/rdd.api
   * include/gt.api
   * include/dbinfo.ch
   * include/error.api
   * include/filesys.api
   * include/hbapigt.h
   * include/clipdefs.h
   * include/assert.ch
   * include/fm.api
   * include/extend.h
   * source/compiler/genhrb.c
   * config/os2/install.cf
   * tests/db_brows.prg
   * tests/debugtst.prg
   * tests/ac_test.prg
   * tests/testhtml.prg
   * tests/tstcolor.prg
   * doc/hdr_tpl.txt
   * doc/man/harbour.1
   * doc/dirstruc.txt
   * doc/howtobld.txt
   * doc/en/diskspac.txt
   * doc/en/string.txt
   * doc/en/rddord.txt
   * doc/en/math.txt
   * doc/en/error.txt
   * doc/en/treport.txt
   * doc/en/memvar2.txt
   * doc/en/terminal.txt
   * doc/en/dir.txt
   * doc/en/rddmisc.txt
   * doc/en/var.txt
   * doc/en/nation.txt
   * doc/en/dbstrux.txt
   * doc/en/datetime.txt
   * doc/en/memo.txt
   * doc/en/tgetlist.txt
   * doc/en/tlabel.txt
   * doc/en/hb_compa.txt
   * doc/en/array.txt
   * doc/en/rdddb.txt
   * doc/en/dbsdf.txt
   * doc/en/tbrowse.txt
   * doc/en/hvm.txt
   * doc/en/input.txt
   * doc/en/dbdelim.txt
   * doc/en/browse.txt
   * doc/en/menu.txt
   * doc/en/file.txt
   * doc/en/binnum.txt
   * doc/en/tclass.txt
   * doc/en/set.txt
   * doc/en/misc.txt
   * doc/en/sayget.txt
   * doc/en/readme.txt
   * doc/es/diskspac.txt
   * doc/es/tlabel.txt
   * doc/es/array.txt
   * doc/es/dbsdf.txt
   * doc/es/tbrowse.txt
   * doc/es/math.txt
   * doc/es/hvm.txt
   * doc/es/treport.txt
   * doc/es/input.txt
   * doc/es/dbdelim.txt
   * doc/es/browse.txt
   * doc/es/memvar2.txt
   * doc/es/command.txt
   * doc/es/dir.txt
   * doc/es/file.txt
   * doc/es/eval.txt
   * doc/es/binnum.txt
   * doc/es/nation.txt
   * doc/es/var.txt
   * doc/es/tclass.txt
   * doc/es/dbstrux.txt
   * doc/es/misc.txt
   * doc/es/datetime.txt
   * doc/es/sayget.txt
   * doc/es/memo.txt
   * doc/es/readme.txt
   * doc/es/tgetlist.txt
   * doc/readme.txt
   * contrib/hbct/ctnet.c
   * contrib/hbct/video.c
   * contrib/hbct/dattime3.c
   * contrib/hbct/color.c
   * contrib/hbnf/acctyear.prg
   * contrib/hbnf/byteneg.prg
   * contrib/hbnf/isshare.prg
   * contrib/hbnf/sinkey.prg
   * contrib/hbnf/dhkey.h
   * contrib/hbnf/kspeed.c
   * contrib/hbnf/prtscr.c
   * contrib/hbnf/descendn.c
   * contrib/hbnf/peek.c
   * contrib/hbnf/scancode.prg
   * contrib/hbnf/vidmode.prg
   * contrib/hbnf/nwsem.prg
   * contrib/hbnf/acctadj.prg
   * contrib/hbnf/week.prg
   * contrib/hbnf/vidcur.prg
   * contrib/hbnf/iamidle.c
   * contrib/hbnf/prtesc.prg
   * contrib/hbnf/miltime.prg
   * contrib/hbnf/proper.c
   * contrib/hbnf/acctmnth.prg
   * contrib/hbnf/savearr.prg
   * contrib/hbnf/rand1.prg
   * contrib/hbnf/madd.prg
   * contrib/hbnf/dispmsg.prg
   * contrib/hbnf/settime.prg
   * contrib/hbnf/restsets.prg
   * contrib/hbnf/page.prg
   * contrib/hbnf/byt2bit.prg
   * contrib/hbnf/setkeys.c
   * contrib/hbnf/month.prg
   * contrib/hbnf/byt2hex.prg
   * contrib/hbnf/findith.prg
   * contrib/hbnf/at2.prg
   * contrib/hbnf/acctweek.prg
   * contrib/hbnf/dispc.c
   * contrib/hbnf/gcd.prg
   * contrib/hbnf/pegs.prg
   * contrib/hbnf/min2dhm.prg
   * contrib/hbnf/acctqtr.prg
   * contrib/hbnf/numlock.c
   * contrib/hbnf/dosver.prg
   * contrib/hbnf/nooccur.prg
   * contrib/hbnf/dayofyr.prg
   * contrib/hbnf/metaph.prg
   * contrib/hbnf/ontick.c
   * contrib/hbnf/menu1.prg
   * contrib/hbnf/byteand.prg
   * contrib/hbnf/sqzn.prg
   * contrib/hbnf/bytexor.prg
   * contrib/hbnf/ftidle.c
   * contrib/hbnf/workdays.prg
   * contrib/hbnf/byteor.prg
   * contrib/hbnf/asum.prg
   * contrib/hbnf/shift.c
   * contrib/hbnf/sleep.prg
   * contrib/hbnf/wda.prg
   * contrib/hbnf/aavg.prg
   * contrib/hbnf/woy.prg
   * contrib/hbnf/origin.c
   * contrib/hbnf/any2any.prg
   * contrib/hbnf/chdir.c
   * contrib/hbnf/adessort.prg
   * contrib/hbnf/setdate.prg
   * contrib/hbnf/netpv.prg
   * contrib/hbnf/amedian.prg
   * contrib/hbnf/blink.prg
   * contrib/hbnf/stod.c
   * contrib/hbnf/vertmenu.prg
   * contrib/hbnf/qtr.prg
   * contrib/hbnf/linked.prg
   * contrib/hbnf/n2color.c
   * contrib/hbnf/aredit.prg
   * contrib/hbnf/alt.c
   * contrib/hbnf/xbox.prg
   * contrib/hbnf/ftround.prg
   * contrib/hbnf/hex2dec.prg
   * contrib/hbnf/nwuid.prg
   * contrib/hbnf/dectobin.prg
   * contrib/hbnf/bitset.prg
   * contrib/hbnf/aemaxlen.prg
   * contrib/hbnf/nwlstat.prg
   * contrib/hbnf/invclr.prg
   * contrib/hbnf/ctrl.c
   * contrib/hbnf/lastday.prg
   * contrib/hbnf/tempfile.prg
   * contrib/hbnf/diskfunc.prg
   * contrib/hbnf/scregion.prg
   * contrib/hbnf/mouse2.prg
   * contrib/hbnf/d2e.prg
   * contrib/hbnf/ftisprn.c
   * contrib/hbnf/pickday.prg
   * contrib/hbnf/firstday.prg
   * contrib/hbnf/daytobow.prg
   * contrib/hbnf/anomatch.prg
   * contrib/hbnf/pvid.prg
   * contrib/hbnf/isbiton.prg
   * contrib/hbnf/color2n.c
   * contrib/hbnf/isbit.prg
   * contrib/hbnf/putkey.c
   * contrib/hbnf/cntryset.prg
   * contrib/hbnf/datecnfg.prg
   * contrib/hbnf/getenvrn.c
   * contrib/hbnf/easter.prg
   * contrib/hbnf/bytenot.prg
   * contrib/hbnf/ntow.prg
   * contrib/hbnf/poke.c
   * contrib/hbnf/aeminlen.prg
   * contrib/hbnf/floptst.prg
   * contrib/hbnf/pchr.prg
   * contrib/hbnf/savesets.prg
   * contrib/hbnf/mkdir.c
   * contrib/hbnf/year.prg
   * contrib/hbnf/caplock.c
   * contrib/hbnf/rmdir.c
   * contrib/hbnf/calendar.prg
   * contrib/hbnf/e2d.prg
   * contrib/hbnf/elapsed.prg
   * contrib/hbnf/sysmem.prg
   * contrib/hbnf/bitclr.prg
   * contrib/hbnf/eltime.prg
   * contrib/hbnf/aading.prg
   * contrib/hbnf/dfile.prg
   * contrib/hbnf/elapmil.prg
   * contrib/hbnf/setlastk.c
   * contrib/hbnf/pending.prg
   * contrib/hbnf/clrsel.prg
   * contrib/rddads/doc/en/adsfuncs.txt
   * contrib/rddads/doc/en/readme.txt
   * contrib/hbclip/hbclip.ch
   * contrib/hbclip/readme.txt
   * contrib/hbmisc/doc/en/ht_dbf.txt
   * utils/hbdoc/rtf.prg
   * utils/hbdoc/fclass1.prg
   * utils/hbdoc/genos2.prg
   * utils/hbdoc/genng.prg
   * utils/hbdoc/genasc.prg
   * utils/hbdoc/genchm.prg
   * utils/hbdoc/os2.prg
   * utils/hbdoc/ng.prg
   * utils/hbdoc/genhpc.prg
   * utils/hbdoc/html.prg
   * utils/hbdoc/ffile1.prg
   * utils/hbdoc/ft_funcs.prg
   * utils/hbdoc/hbdoc.prg
   * utils/hbdoc/troff.prg
   * utils/hbdoc/genhtm.prg
   * utils/hbdoc/genpdf1.prg
   * utils/hbdoc/gentrf.prg
   * utils/hbdoc/genrtf.prg
   * utils/hbmake/fclass1.prg
   * utils/hbmake/prb_stak.prg
   * utils/hbmake/ffile1.prg
   * utils/hbmake/ft_funcs.prg
   * utils/hbmake/pickfile.prg
   * utils/hbmake/hbmutils.prg
     * More cleanups, formatting (filename casing, CA-Cl*pper, etc).
2008-08-19 13:11:22 +00:00
Viktor Szakats
56e978010a 2008-08-17 17:30 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbstack.h
   * include/hbsetup.h
   * include/hbapi.h
   * source/rtl/filesys.c
   * contrib/gtwvg/tests/demowvg.prg
   * contrib/hbct/tests/ctwtest.prg
   * contrib/hbgd/ChangeLog
   * contrib/hbodbc/sql.ch
   * contrib/rddads/ads.ch
   * contrib/rddads/ads1.c
     ! Some more filename casing related cleanups.
2008-08-17 15:48:25 +00:00
Viktor Szakats
097ae961f2 2008-08-17 17:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/examples/guestbk/guestbk.ini
   * contrib/examples/guestbk/testcgi.prg
   * contrib/examples/hscript/hscript.prg
   * contrib/examples/pp/hbppdef.h
   * contrib/examples/pp/hbpptbl.c
   * contrib/gtwvg/tests/demowvg.prg
   * contrib/gtwvg/wvgclass.prg
   * contrib/hbapollo/tests/apollo.prg
   * contrib/hbgd/ChangeLog
   * contrib/hbgt/doc/gendoc.bat
   * contrib/hbmisc/doc/gendoc.bat
   * contrib/hbvpdf/hbvpdf.prg
   * contrib/hbvpdf/hbvpdft.prg
   * contrib/hbwhat32/_winclpb.c
   * contrib/hbwhat32/_windate.c
   * contrib/hbwhat32/_windc.c
   * contrib/hbwhat32/_windir.c
   * contrib/hbwhat32/_windraw.c
   * contrib/hbwhat32/_wingdi.c
   * contrib/hbwhat32/_winmisc.c
   * contrib/hbwhat32/_winpen.c
   * contrib/hbwhat32/_winprn.c
   * contrib/hbwhat32/_winrect.c
   * contrib/hbwhat32/_winrgn.c
   * contrib/hbwhat32/_winsock.c
   * contrib/hbwhat32/_wintbar.c
   * contrib/hbwhat32/import.ch
   * contrib/hbwhat32/sqltypes.ch
   * contrib/hbwhat32/windebug.prg
   * contrib/hbwhat32/winerror.prg
   * contrib/hbwhat32/winini.prg
   * contrib/hbwhat32/winrbar.prg
   * contrib/hbwhat32/winstruc.ch
   * contrib/hbwhat32/wintbar.prg
   * contrib/hbziparch/hbziparc.c
   * contrib/rddads/doc/gendoc.bat
   * doc/cmdline.txt
   * doc/dirstruc.txt
   * doc/en/cmdline.txt
   * doc/en/dbstrux.txt
   * doc/en/dir.txt
   * doc/en/file.txt
   * doc/en/rddord.txt
   * doc/es/dbstrux.txt
   * doc/es/file.txt
   * doc/es/hbpplib.txt
   * doc/howtomak.txt
   * doc/hrb_faq.txt
   * doc/windll.txt
   * include/dbinfo.ch
   * source/debug/dbghelp.prg
   * source/vm/classes.c
   * source/vm/hvm.c
   * tests/keywords.ch
   * tests/output.prg
   * tests/statics1.prg
   * tests/statics2.prg
   * tests/test_all.prg
   * tests/testcgi.prg
   * tests/testpre.prg
   * tests/testrdd2.prg
   * utils/hbmake/hbmake.prg
   * utils/hbmake/hbmutils.prg
     ! Some filename casing related fixes, cleanups.
     * Some non-ASCII drawing chars in comments changed to ASCII ones.
2008-08-17 15:04:11 +00:00
Viktor Szakats
01630ab48c 2008-08-17 09:48 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbapirdd.h
   * include/hbsetup.h
     + Added the most commonly used old #defines for compatibility:
       - HARBOUR_MAX_RDD_DRIVERNAME_LENGTH
       - HARBOUR_MAX_RDD_ALIAS_LENGTH
       - OS_UNIX_COMPATIBLE
       - OS_PATH_DELIMITER
       Please try not to use these anymore, as they will be removed 
       in version 1.1.
2008-08-17 07:48:39 +00:00
Viktor Szakats
3a41ed1d2b 2008-08-17 08:59 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* doc/dirstruc.txt
     * Updated to reflect current state. [Chen Kedem]

   * contrib/examples/pp/hbppcore.c
   * contrib/examples/pp/pp.c
   * contrib/hbct/disk.c
   * contrib/hbct/files.c
   * contrib/hbnf/getenvrn.c
   * contrib/hbw32/tprinter.c
   * contrib/hbziparch/hbxdirec.c
   * contrib/hbziparch/hbziparc.c
   * contrib/rddads/ads1.c
   * contrib/rddads/adsfunc.c
   * doc/en/terminal.txt
   * include/hb_io.h
   * include/hbapifs.h
   * include/hbapirdd.h
   * include/hbdefs.h
   * include/hbsetup.h
   * include/hbwince.h
   * source/common/hbfsapi.c
   * source/compiler/gencobj.c
   * source/compiler/hbcomp.c
   * source/compiler/hbusage.c
   * source/debug/dbgentry.c
   * source/main/harbour.c
   * source/pp/hbpp.c
   * source/pp/ppcore.c
   * source/rdd/dbcmd.c
   * source/rdd/dbf1.c
   * source/rdd/delim1.c
   * source/rdd/sdf1.c
   * source/rdd/usrrdd/usrrdd.c
   * source/rdd/wacore.c
   * source/rdd/wafunc.c
   * source/rdd/workarea.c
   * source/rtl/console.c
   * source/rtl/copyfile.c
   * source/rtl/defpath.c
   * source/rtl/direct.c
   * source/rtl/disksphb.c
   * source/rtl/file.c
   * source/rtl/filesys.c
   * source/rtl/fssize.c
   * source/rtl/fstemp.c
   * source/rtl/gtos2/gtos2.c
   * source/rtl/gtpca/gtpca.c
   * source/rtl/gtstd/gtstd.c
   * source/rtl/gttrm/gttrm.c
   * source/rtl/hbffind.c
   * source/rtl/hbinet.c
   * source/rtl/memofile.c
   * source/rtl/philes.c
   * source/rtl/seconds.c
   * source/rtl/set.c
   * source/vm/hvm.c
   * source/vm/main.c
     * Changed some macros to be in the HB_ namespace, to be 
       possibly shorter, more unified and clearer.
       OS_UNIX_COMPATIBLE                -> HB_OS_UNIX_COMPATIBLE
       OS_PATH_LIST_SEPARATOR            -> HB_OS_PATH_LIST_SEP_CHR
       OS_PATH_DELIMITER                 -> HB_OS_PATH_DELIM_CHR
       OS_PATH_DELIMITER_STRING          -> HB_OS_PATH_DELIM_STR
       OS_PATH_DELIMITER_LIST            -> HB_OS_PATH_DELIM_LIST
       OS_FILE_MASK                      -> HB_OS_ALLFILE_MASK
       OS_DRIVE_DELIMITER                -> HB_OS_DRIVE_DELIM_CHR
       OS_HAS_DRIVE_LETTER               -> HB_OS_HAS_DRIVE_LETTER
       OS_OPT_DELIMITER_LIST             -> HB_OS_OPT_DELIM_LIST
       OS_EOL_LEN                        -> HB_OS_EOL_LEN
       HARBOUR_GCC_OS2                   -> HB_OS_OS2_GCC
       HARBOUR_START_PROCEDURE           -> HB_START_PROCEDURE
       HARBOUR_MAIN_STD                  -> HB_MAIN_STD
       HARBOUR_MAIN_WIN                  -> HB_MAIN_WIN
       HARBOUR_MAX_RDD_DRIVERNAME_LENGTH -> HB_RDD_MAX_DRIVERNAME_LEN
       HARBOUR_MAX_RDD_ALIAS_LENGTH      -> HB_RDD_MAX_ALIAS_LEN
       HARBOUR_MAX_RDD_AREA_NUM          -> HB_RDD_MAX_AREA_NUM
     ; INCOMPATIBLE change, please update your sources, a simple 
       case-sensitive search and replace on .c/.cpp/.h/.hpp files 
       will be enough for most sources.
2008-08-17 07:39:25 +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
3c38398a5d 2008-08-16 02:19 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbmzip/hbmzip.c
     ! Fixed potential GPF in executable type detection.
       Fixes GCC 4.3.1 warnings in openSUSE 11.

   * tests/debugtst.prg
   * tests/funcarr.prg
   * tests/inherit.prg
   * tests/objarr.prg
   * tests/objasign.prg
   * doc/en/hvm.txt
   * doc/es/hvm.txt
   * include/hbextern.ch
   * source/vm/debug.c
   * source/vm/hvm.c
   * source/debug/dbgtobj.prg
   * source/debug/debugger.prg
   * source/rtl/altd.prg
     * Harbour level HB_DBG_*() functions renamed to __DBG*() to 
       reflect their internal nature.
     - Removed old __VM*() synonyms to Harbour level __DBG*() functions.
       INCOMPATIBLE.
     ! Fixed a few minor doc bugs along the way.
2008-08-16 00:21:13 +00:00
Przemyslaw Czerpak
fe6e74b765 2008-08-14 00:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    ! updated SunOS and HPUX library list
    ! allow to set startup .prg function in DJGPP builds

  * harbour/include/hbdefs.h
    ! defined HARBOUR_START_PROCEDURE procedure for DMC
      it fixes problem with executing final applications

  * harbour/config/w32/dm.cf
    ! disabled -o+time - with this switch wrong code is generated
      what can be seen in HBRUN
2008-08-13 22:08:53 +00:00
Viktor Szakats
9baaa07952 2008-08-13 01:11 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* doc/whatsnew.txt
     * Extended releases notes/issues section.

   * config/w32/dm.cf
     ! Fixed to exclude "possible extraneous ';'" warnings 
       for every for()/while()/etc constructs with an empty body.
     ! Further fixes to link/lib rules.
     ; TOFIX1: odbc.c, gtwvg.c still don't compile.
     ; TOFIX2: Harbour executables won't run, by simply doing nothing.

   * source/rtl/gtwvt/gtwvt.c
     ! Fixed to compile with __DMC__.
     ; NOTE: Przemek, could you please check these?

   * include/hbsetup.h
     ! snprintf() for __DMC__.
     
   * contrib/hbw32/dllcall.c
     ! Fixed casting for __DMC__.

   * contrib/hbsqlit3/hbsqlit3.c
     ! Workaround for Pelles C 4.5 and Open Watcom, so that 
       sqlite3.c won't be included for these compilers.
       Pelles C 4.5 crashes, Open Watcom 1.7 goes into an 
       infinite loop on this huge file. For thes compilers 
       the sqlite3 library should be supplied by the users.

   * contrib/hbapollo/apollo.c
     ! Fixed to compile with Open Watcom.

   * source/vm/mainwin.c
   * source/vm/hvm.c
     ! Fix for __DMC__ startup problem:
       'OPTLINK : Warning 134: No Start Address'
2008-08-12 23:12:36 +00:00
Viktor Szakats
53d1817e97 2008-08-11 21:20 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbsetup.h
   * config/hpux/gcc.cf
   * config/linux/gcc.cf
   * config/os2/gcc.cf
   * config/bsd/gcc.cf
     ! Never force the platform from the make files, rather 
       rely on the autodetection in hbsetup.h.
       Compiling default parts of the software should only rely 
       on manually set macros if there is no reasonable chance to 
       make the detection automatic.
     ! HB_OS_LINUX, HB_OS_HPUX autodetection supposedly made more robust.

   * include/hbsetup.ch
   * include/hbapi.h
   * source/rtl/hbffind.c
     - Removed HB_FILE_VER stuff. It's lost it's importancy with SVN.

   * include/Makefile
   * include/hbcommon.ch
     - Removed hbcommon.ch no longer needed. It only contained 
       HB_FILE_VER related stuff.

   * contrib/rddado/Makefile
     ! Excluded from OS/2 builds.
2008-08-11 19:33:46 +00:00
Viktor Szakats
0bb563286e 2008-08-11 15:58 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* config/sunos/gcc.cf
     ! Fixed to include required system libs for hbinet.c.
     - Removed HB_OS_SUNOS command-line macro. Now relying on 
       autodetection.

   * include/hbsetup.h
     * Extended autodetection for HB_OS_SUNOS.

   * source/vm/itemapi.c
     ! Fixed to check for HB_OS_SUNOS macro after 
       including Harbour headers.
2008-08-11 14:01:13 +00:00
Przemyslaw Czerpak
ebd4b939a1 2008-08-10 15:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/ChangeLog
  * harbour/include/hbextern.ch
    ! fixed typo, should be HB_REQUEST_SCALAR
2008-08-10 13:15:01 +00:00
Przemyslaw Czerpak
ea7b9d69d5 2008-08-10 12:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbextern.ch
    * include scalar classes only when HB_REQUEST_SCALLAR define is set

  * harbour/source/rtl/tobject.prg
    ! use <obj>:className instead of __objGetClsName( <obj> ) in error
      message
2008-08-10 10:59:11 +00:00
Viktor Szakats
cc57d998b6 2008-08-09 17:52 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* doc/whatsnew.txt
   * include/hbextern.ch
   * source/vm/runner.c
     - Completely removed __HRBDOFU(). Users should use DO() instead.
2008-08-09 15:52:42 +00:00
Viktor Szakats
574c4116b8 2008-08-09 16:52 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbsetup.h
     * Refinement to HB_OS_DARWIN autodetection.
       Thanks Przemek.

   * doc/whatsnew.txt
   * include/hbextern.ch
   * source/vm/runner.c
     * Refinements to previous commit.
       HB_HRBGETSYMBOL() -> HB_HRBGETFUNSYM()
       HB_HRBDOSYMBOL()  -> deleted
     * __HRBDOFU() made equivalent to __HRBDO()
2008-08-09 15:00:36 +00:00
Viktor Szakats
8e01405ad7 2008-08-09 11:43 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* doc/whatsnew.txt
   * bin/hb-mkslib.sh
     ! Changed the way harbour.dylib is created on Darwin systems 
       to support universal builds. Please review and test.
     ! Fixed generating links for .dylibs on Darwin.
     ! Removed one excessive 'cd "${OTMPDIR}"' command.
       (I hope this is right)
     ! Removed previously added $(L_USR) from Darwin dynamic 
       lib creation command line, as the L_USR "-arch" flags 
       (and probably others) cannot work here.
     ; TOFIX: 'ld: library not found for -lharbour' is still 
              present.

   * include/hbsetup.h
     + Added autodetection for HB_OS_DARWIN (based on __APPLE__).

   * config/darwin/gcc.cf
     ! Not forcing HB_OS_DARWIN from the command-line, 
       we're relying on the autodetection.

   * source/rtl/hbzlib.c
   * include/hbextern.ch
   * doc/whatsnew.txt
     * Harbour level functions renamed:
       HB_COMPRESS      -> HB_ZCOMPRESS     
       HB_COMPRESSBOUND -> HB_ZCOMPRESSBOUND
       HB_UNCOMPRESS    -> HB_ZUNCOMPRESS   
       HB_UNCOMPRESSLEN -> HB_ZUNCOMPRESSLEN
       This is to avoid collision with xhb functions 
       with similar name but different parameter list.
       Please modify your programs to use the new interface.
       INCOMPATIBLE.

   * utils/hbextern/hbextern.prg
     * Disabled scanning C HB_FUNC functions in .prg files.
     * Minor formatting.

   * include/hbapigt.h
     ! Minor cosmetic.

   * source/vm/runner.c
   * include/hbextern.ch
   * doc/whatsnew.txt
   * contrib/examples/hscript/hscript.prg
   * utils/hbrun/hbrun.prg
     * Harbour level functions renamed:
       __HRBRUN    -> HB_HRBRUN
       __HRBLOAD   -> HB_HRBLOAD
       __HRBDO     -> HB_HRBDO
       __HRBUNLOAD -> HB_HRBUNLOAD
       __HRBGETFU  -> HB_HRBGETSYMBOL
       __HRBDOFU   -> HB_HRBDOSYMBOL
       .hrb API functions moved to the documented namespace.
       Old function names still function, but are deprecated.
       Please modify your programs to use the new interface.
     ; NOTE: HB_DBG_*() function should I believe correctly 
             named as __DBG*(), as they are indeed internal 
             functions, not meant to guaranteed for final apps.
             We should do this cleanup in the future.

   * tests/Makefile
   - tests/spawn.prg
   - tests/spawn2.prg
     ! Removed two obsolete tests.
2008-08-09 09:59:09 +00:00
Przemyslaw Czerpak
beab897d85 2008-08-08 02:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/make_deb.sh
  * harbour/make_tgz.sh
  * harbour/make_rpm.sh
  * harbour/make_rpmce.sh
  * harbour/make_rpmw32.sh
  * harbour/bin/pack_src.sh
    * force using BASH in all files which includes hb-func.sh

  * harbour/include/hbgtcore.h
  * harbour/include/hbapigt.h
  * harbour/include/hbextern.ch
  * harbour/source/rtl/hbgtcore.c
  * harbour/source/rtl/inkeyapi.c
  * harbour/source/rtl/inkey.c
    + added HB_KEYINS() which works like HB_KEYPUT() but numeric
      key values puts at the beginning of keyboard buffer.
      It does not clear keyboard buffer contents.
2008-08-08 00:19:01 +00:00
Viktor Szakats
ab53bda7b4 2008-08-07 14:33 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbver.h
     - Removed reference to hbverfix.

   * utils/hbmake/hbmake.prg
     - Remove local version number. Full Harbour version 
       number is shown.
2008-08-07 12:34:40 +00:00
Viktor Szakats
1a67995daf 2008-08-07 12:55 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbdefs.h
     % Tamed latest HB_SYMBOL_UNUSED() change to only affect 
       __POCC__, __XCC__.
2008-08-07 11:07:30 +00:00
Viktor Szakats
da625e5db8 2008-08-07 09:10 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbdefs.h
     ! Changed HB_SYMBOL_UNUSED() to better work for all 
       compilers, notably Pelles C.
     ! Fix to PFLL, although it didn't fix all GCC 4.3.1 warnings.
       These remained:
       ../../genc.c:1582: warning: unknown conversion type character 'l' in format
       ../../genc.c:1582: warning: too many arguments for format
       [ This changed got merged with existing commit. ]
     ; Thanks to Przemek for these patches.

   * contrib/hbfbird/firebird.c
     % Using PFLL instead of local logic.

   * contrib/gtwvg/wvgutils.c
     ! Reverted some wrong fixes from previous commit.
2008-08-07 07:13:10 +00:00
Przemyslaw Czerpak
9990488df7 2008-08-07 05:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbdefs.h
    ! fixed default printf length modifier for long long integer values

  * harbour/harbour.spec
  * harbour/harbour-ce-spec
  * harbour/harbour-w32-spec
    ! fixed for new FM library name
2008-08-07 03:06:08 +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
f685ed3713 2008-08-04 20:24 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbdefs.h
     ! Fixed 4 remaining warnings in BCC 5.8.2 builds.
       Many thanks to Przemek for the patch.
       NOTE: Now BCC58 core is warning-free and there are 
             two warnings in its own header files, exploited 
             by contrib hbcurl/libcurl.
2008-08-04 18:29:09 +00:00
Viktor Szakats
92de1a6444 2008-08-01 14:44 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/pp/ppcore.c
   * doc/whatsnew.txt
     ! __PLATFORM__* macros now all #defined in full uppercase.
       F.e.:
       __PLATFORM__Windows becomes __PLATFORM_WINDOWS
       __PLATFORM__Linux   becomes __PLATFORM__LINUX
       INCOMPATIBLE.

   * contrib/xhb/hbcompat.ch
     + Added compatibility #defines for __PLATFORM__* macros.

   * include/hbdefs.h
     ! Minor formatting.

   * harbour-ce-spec
   * harbour-w32-spec
   * make_xmingw.sh
   * make_xmingwce.sh
   * source/debug/debugger.prg
   * contrib/hbtpathy/telepath.prg
   * contrib/hbw32/w32_tole.prg
   * contrib/hbw32/w32_tprn.prg
   * utils/hbdot/hbdot.prg
   * utils/hbmake/hbmake.prg
     * Changed __PLATFORM__* #define according to latest changes.
     ; NOTE: I find this kind of compile-time platform dependency 
             quite wrong in an normal application, and we should 
             definitely avoid it in core Harbour.
             In core Harbour there is one place where it would 
             better be eliminated, and in order to do this, we'd 
             need to have a filename equality comparison FS 
             function. Maybe we already have one, I don't know.
2008-08-01 13:05:48 +00:00
Przemyslaw Czerpak
29b52145d1 2008-08-01 03:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbpp.h
  * harbour/include/hbexprb.c
  * harbour/source/pp/ppcore.c
  * harbour/source/vm/evalhb.c
  * harbour/source/vm/runner.c
  * harbour/source/vm/hvm.c
  * harbour/source/vm/fm.c
  * harbour/source/vm/eval.c
  * harbour/source/vm/dynlibhb.c
  * harbour/source/vm/classes.c
  * harbour/source/rdd/hbsix/sxord.c
  * harbour/source/compiler/hbmain.c
  * harbour/source/compiler/harbour.y
    * pacified warnings
2008-08-01 01:06:47 +00:00
Viktor Szakats
9ef0571dd6 2008-08-01 02:09 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbdefs.h
     ! Patch added to workaround following phoney warnings 
       when using BCC 5.8 compiler (tested with 5.8.2):
       Warning W8017 C:\devl\BCC58\Include\stdint.h 77: Redefinition of 'INT16_MIN' is not identical
       Warning W8017 C:\devl\BCC58\Include\stdint.h 78: Redefinition of 'INT32_MIN' is not identical
       Warning W8017 C:\devl\BCC58\Include\stdint.h 79: Redefinition of 'INT64_MIN' is not identical
       Warning W8017 C:\devl\BCC58\Include\stdint.h 82: Redefinition of 'INT16_MAX' is not identical
       Warning W8017 C:\devl\BCC58\Include\stdint.h 83: Redefinition of 'INT32_MAX' is not identical
       Warning W8017 C:\devl\BCC58\Include\stdint.h 84: Redefinition of 'INT64_MAX' is not identical
       Warning W8017 C:\devl\BCC58\Include\stdint.h 87: Redefinition of 'UINT16_MAX' is not identical
       Warning W8017 C:\devl\BCC58\Include\stdint.h 88: Redefinition of 'UINT32_MAX' is not identical
       Warning W8017 C:\devl\BCC58\Include\stdint.h 89: Redefinition of 'UINT64_MAX' is not identical

       Many thanks to Przemek for this patch.
2008-08-01 00:13:37 +00:00
Viktor Szakats
03c157a015 2008-07-31 18:58 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbextern.ch
     + EXTERNAL __OBJGETPROPERTIES

   * doc/whatsnew.txt
     + Updated with new functions.

   * source/hbpcre/_hbconf.h
     ! Silenced a #pragma warning for MSVC 12.x.
     ; NOTE: Some notable MSVC 12.x warnings in Harbour code:
       source\rdd\hbsix\sxcompr.c(532) : warning C4244: '=' : conversion from 'long ' to 'short ', possible loss of data
       source\rdd\hbsix\sxcompr.c(533) : warning C4244: '=' : conversion from 'long ' to 'short ', possible loss of data
       source\rdd\hbsix\sxcompr.c(539) : warning C4244: '=' : conversion from 'long ' to 'short ', possible loss of data
       source\rdd\hbsix\sxcompr.c(540) : warning C4244: '=' : conversion from 'long ' to 'short ', possible loss of data
       There are 3 more known warnings, the rest is common integer difference warning.
2008-07-31 17:01:33 +00:00
Viktor Szakats
eab54ccf38 2008-07-28 15:07 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* harbour-ce-spec
   * harbour-w32-spec
   * include/hbver.h
   * harbour.spec
     * Removed 'rc2' tag in preparation for final release.

   * doc/whatsnew.txt
     ! Minor typos.

   * contrib/hbmysql/make_b32.bat
   * contrib/hbmysql/make_vc.bat
   * contrib/hbapollo/make_b32.bat
   * contrib/hbapollo/make_vc.bat
   * contrib/hbfbird/make_b32.bat
   * contrib/hbfbird/make_vc.bat
   * contrib/hbcurl/make_b32.bat
   * contrib/hbcurl/make_vc.bat
   * contrib/hbhpdf/make_b32.bat
   * contrib/hbhpdf/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
     ! Fixed HB_DIR_* detection.
2008-07-28 13:10:22 +00:00
Przemyslaw Czerpak
6bfbdc7bd6 2008-07-26 16:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmzip/zip.c
    ! fixed access to uninitialized member of z_stream by simple
      initialization. Anyhow it's minor bug in MINIZIP code exploited
      HB_ZipDeleteFile() which causes that TEXT flag is not set after
      raw binary file updating. There is also no API call to make it
      manually.
      
  * harbour/contrib/hbmzip/hbmzip.c
  * harbour/contrib/hbmzip/readme.txt
    + added HB_ZipDeleteFile( cZipFile, cFileMask ) --> nError

  * harbour/common.mak
  * harbour/source/rtl/Makefile
  + harbour/source/rtl/dirscan.prg
    + added HB_DirScan( cPath, cFileMask, cAttr )

  * harbour/source/rtl/strmatch.c
    + added HB_FileMatch( cFile, cPattern )

  * harbour/include/hbextern.ch
    + added HB_DirScan(), HB_FileMatch()

  * harbour/contrib/xhb/dirrec.prg
    * changed to use HB_DirScan()
2008-07-26 14:26:11 +00:00
Viktor Szakats
4a4a93b12f 2008-07-25 22:52 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbextern.ch
     + HB_OSFILEMASK() added.
2008-07-25 20:53:21 +00:00
Przemyslaw Czerpak
5472af3b11 2008-07-22 17:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmzip/hbmzip.c
    ! fixed storing/setting file date, time and attributes in *nixes

  * harbour/include/hbapifs.h
  * harbour/source/rtl/hbffind.c
  * harbour/source/rtl/filesys.c
    ! replaced hack with direct bit conversion in *nixes attributes
      by bit testing
2008-07-22 15:19:06 +00:00
Viktor Szakats
3609cf9c0b 2008-07-22 09:50 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbapifs.h
   * source/rtl/filesys.c
     + Added skeletons for hb_fsGetAttr() and hb_fsGetFileTime()
       TODO: Implementation.

   * contrib/hbclipsm/common.mak
   * contrib/hbclipsm/Makefile
   - contrib/hbclipsm/dbf.c
   	 ! Removed duplicate implementation of DBF() from hbclipsm.lib

   ; TOFIX:
     I'm getting these new warnings under BCC55:
     Warning W8080 source\rtl\filesys.c 2718: '_fstat(int,_stat *)' is declared but never used
     Warning W8080 source\rtl\filesys.c 2718: '_disable()' is declared but never used
     Warning W8080 source\rtl\filesys.c 2718: '_enable()' is declared but never used
     Warning W8080 source\rtl\fssize.c 142: '_fstat(int,_stat *)' is declared but never used
2008-07-22 08:01:32 +00:00
Przemyslaw Czerpak
3c31a039ed 2008-07-21 19:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbwince.h
    * added DRIVE_UNKNOWN declaration for MSVC WinCE builds

  * harbour/source/common/expropt2.c
    * pacified warning
2008-07-21 17:05:26 +00:00
Przemyslaw Czerpak
3d4a97040b 2008-07-17 18:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbw32/dllcall.c
    * minor cleanup in return values

  * harbour/contrib/hbole/ole2.c
    * cleaned casting in UNICODE conversions

  * harbour/source/common/expropt2.c
    * replicate CA-Cl*pper compile time optimization bugs:
         "" $ <literString>         => .T.
         AT( "", <literString> )    => 1
         CHR( 256 )                 => ""
      only when Harbour extensions (-kh) are not enabled, f.e.
      in strict Clipper compatibility mode (-kc)

  * harbour/utils/hbtest/rt_hvma.prg
  * harbour/utils/hbtest/rt_str.prg
    * updated to test Clipper and Harbour compile time modes in
      the above situations

  * harbour/common.mak
  * harbour/source/rtl/Makefile
  - harbour/source/rtl/strings.c
  * harbour/source/common/hbstr.c
    * moved hb_strEmpty() from RTL to COMMON library

  * harbour/include/hbexprb.c
  * harbour/include/hbexprop.h
  * harbour/source/common/expropt2.c
    + added compile time optimization for EMPTY() function
    ; removed 'TODO: empty optimization' note

  * harbour/source/rtl/itemseri.c
    % compress trailing spaces during string item serialization

  * harbour/include/hbapi.h
  * harbour/source/vm/hashes.c
    + added hb_hashAddNew() - works like hb_hashAdd() but it adds item
      only if new key is used

  * harbour/source/vm/hvm.c
    * use hb_hashAddNew() instead of hb_hashAdd() for HB_P_HASHGEN
      I cannot revert the order of hash item during compilation because
      it will also change the order of user expression evaluation.
2008-07-17 16:28:11 +00:00
Przemyslaw Czerpak
38fd033e77 2008-07-11 17:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/dbedit.ch
  * harbour/source/rtl/dbedit.prg
    + added support for undocumented Clipper DE_APPEND mode - code
      covered by HB_C52_UNDOC
    % ignore K_MOUSEMOVE events to avoid flickering just like CA-Cl*pper
      does
    + added support for cell positioning with mouse left key - CL53
      compatible behavior covered by HB_COMPAT_C53 macro
    * changed static function name dbEditCallUser() to CallUser() for
      strict Clipper compatibility - some user function code may check
      PROCNAME()
    * some minor optimizations and fixes

  * harbour/contrib/hbmzip/hbmzip.c
    * indenting

  * harbour/source/vm/hvm.c
    * formatting
2008-07-11 15:33:41 +00:00
Przemyslaw Czerpak
d5ecd90c31 2008-07-09 18:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbwince.h
  * harbour/source/common/hbwince.c
    + added SetFileAttributesA() for WinCE builds

  * harbour/source/rtl/filesys.c
    * replaced UNICODE translations for SetFileAttributes()
      with direct call to SetFileAttributesA()

  * harbour/include/hbapifs.h
  * harbour/source/rtl/spfiles.c
  * harbour/source/rtl/fstemp.c
  * harbour/source/rtl/hbffind.c
  * harbour/source/rtl/direct.c
  * harbour/source/rtl/filesys.c
    * changed internal representation for file attributes from USHORT
      to ULONG
    + added support for POSIX permission attributes in .c code
    ; added some comments about used attribute translations which
      should be cleand
2008-07-09 16:25:00 +00:00
Marek Paliwoda
e30cd6e5e1 2008-07-09 10:07:26 +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
Przemyslaw Czerpak
130d897627 2008-07-09 11:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbdate.h
  * harbour/source/common/hbdate.c
    + added hb_timeStampEncode()

  * harbour/include/hbapifs.h
  * harbour/source/rtl/filesys.c
    + added hb_fsSetFileTime()
    + added POSIX file attributes with some macros to convert Harbour
      definitions into OS ones.
    + added initial version of hb_fsSetAttr() - work in progress, I should
      finish it in the evening.

  * harbour/contrib/hbmzip/hbmzip.c
    * added setting file attribute in DJGPP builds
    ! fixed some small typos in OS2 builds reported by David

  * harbour/source/vm/fm.c
    * changed hb_xrealloc() to be ANSI-C realloc() compatible
2008-07-09 09:57:33 +00:00
Przemyslaw Czerpak
4926a3375e 2008-07-08 14:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbrddcdx.h
  * harbour/source/rdd/dbfcdx/dbfcdx1.c
    ! fixed casting for indexes with key length greater then 196 bytes
      created on tables with record number smaller then 256. In such
      case if keys have equal value then after decoding they may need
      more then 32767 bytes and casting to SHORT gives negative indexes.
      Thanks to Saulius Zrelskis for example.
    % changed some SHORT to INT to reduce runtime overhead
2008-07-08 12:13:30 +00:00
Przemyslaw Czerpak
fc6d06b19c 2008-07-08 00:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbdefs.h
    * disabled internal pointer handles I enabled by mistake for MS-WIN
      builds
2008-07-07 22:38:48 +00:00
Przemyslaw Czerpak
e5fb6b8de5 2008-07-08 00:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapifs.h
  * harbour/include/hbdefs.h
  * harbour/source/rtl/console.c
  * harbour/source/rtl/philes.c
  * harbour/source/rtl/hbgtcore.c
  * harbour/source/rtl/fstemp.c
  * harbour/source/rtl/philes53.c
  * harbour/source/rtl/gtapi.c
  * harbour/source/rtl/filesys.c
  * harbour/source/rdd/dbfntx/dbfntx1.c
  * harbour/source/rdd/dbsql.c
  * harbour/source/rdd/sdf1.c
  * harbour/source/rdd/dbfcdx/dbfcdx1.c
  * harbour/source/rdd/delim1.c
  * harbour/contrib/hbbmcdx/bmdbfcdx.c
    + added HB_NHANDLE
    + added hb_numToHandle() macro
    ! fixed WIN32 HANDLE to integer number conversions in Harbour file API
    ! fixed F_ERROR and FS_ERROR usage
    * added support for optional FHANDLE mapped to pointer instead of
      integer number - disable by default in hbdefs.h
      Now Harbour can be compiled with internal pointer and integer file
      handles (FHANDLE)
2008-07-07 22:35:39 +00:00
Viktor Szakats
42d36757b9 2008-07-06 23:01 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbundoc.api
     ! Casting in _tctemp()
2008-07-06 21:03:15 +00:00
Viktor Szakats
059883e598 2008-07-05 01:59 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbver.h
     ! Typo in comment.
2008-07-05 00:00:40 +00:00
Viktor Szakats
47d04b6dcf 2008-07-04 19:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbziparch/Makefile
     ! Fixed commented file in file list.
     ; This may fix some GNU-make problems regarding hbziparch.
     ; hbziparch may not work in RC2 GNU-make builds for this 
       reason.

   * harbour-ce-spec
   * harbour-w32-spec
   * doc/whatsnew.txt
   * include/hbver.h
   * harbour.spec
     * RC2 -> rc2
     ; We should use lowercase for 'RC' in the future, for consistency 
       with 'alpha', 'beta' (and with other projects too). It looks 
       smoother too.

   * source/rtl/errorint.c
     ! hb_setGetCPtr( HB_SET_HBOUTLOG ) checked for NULL value.
       I'm not sure if this is required in real life, so this may 
       be unnecessary safety.

   * utils/Makefile
     * Formatting.
2008-07-04 17:04:52 +00:00
Viktor Szakats
a0b9a8d77a 2008-07-04 03:06 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/Makefile
     ! Removed hbwmain.c from the header list to be installed.
       (Przemek please verify me)
2008-07-04 01:09:51 +00:00