Commit Graph

366 Commits

Author SHA1 Message Date
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
Viktor Szakats
f2db0b0ba1 2008-08-08 01:10 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* doc/genhtm.sh
     ! Minor fix to previous commit.

   * utils/hbdoc/rtf.prg
   * utils/hbdoc/genos2.prg
   * utils/hbdoc/genng.prg
   * utils/hbdoc/genasc.prg
   * utils/hbdoc/hbdocdef.ch
   * utils/hbdoc/genchm.prg
   * utils/hbdoc/os2.prg
   * utils/hbdoc/ng.prg
   * utils/hbdoc/genhpc.prg
   * utils/hbdoc/html.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
     ! Fixed to not convert filenames to uppercase. (sf.net #1673895)
     ! Formatting.
     * <> -> !=, .f. -> .F., .t. -> .T.
     ! = -> ==/:= (where the intent was clear)
     ! Added newline to the end of files.
2008-08-07 23:23:09 +00:00
Viktor Szakats
1963970a1d 2008-08-07 21:49 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/examples/pp/pp.c
   * contrib/hbmisc/fileread.prg
   * contrib/hbmisc/tests/readfile.prg
   * contrib/hbmisc/tests/twirl.prg
   * contrib/hbmisc/twirler.prg
   * doc/en/readme.txt
   * doc/es/readme.txt
   * harbour-ce-spec
   * harbour-w32-spec
   * harbour.spec
   * source/rtl/achoice.prg
   * tests/boxtst2.prg
   * tests/delimtst.prg
   * tests/devtest.prg
   * tests/disptest.prg
   * tests/inkeytst.prg
   * tests/longdev.prg
   * tests/output.prg
   * tests/round.prg
   * tests/sbartest.prg
   * tests/scroll.prg
   * tests/sdf_test.prg
   * tests/seconds.prg
   * tests/setkeys.prg
   * tests/testhtml.prg
   * tests/version.prg
   * utils/hbdoc/hbdoc.prg
     * Minor formattings, cosmetic updates, 
       homepage made lower case everywhere.
2008-08-07 19:54:10 +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
33b9682bf5 2008-08-07 11:58 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/pp/hbpp.c
   * utils/hbrun/hbrun.prg
     * Synced help screen, header and copyright layout.
       (some more minor)
2008-08-07 09:58:42 +00:00
Viktor Szakats
bf548948f3 2008-08-07 11:52 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/pp/hbpp.c
   * utils/hbdoc/hbdoc.prg
   * utils/hbmake/hbmake.prg
   * utils/hbtest/hbtest.prg
     * Synced help screen, header and copyright layout.
2008-08-07 09:52:55 +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
a0249cf583 2008-08-06 11:36 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbdoc/hbdoc.prg
     ! Typos fixed on help screen.
2008-08-06 09:37:22 +00:00
Viktor Szakats
376106bfd6 2008-08-05 16:29 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/examples/pp/bld_b32.bat
   * contrib/examples/pp/bld_vc.bat
   * contrib/examples/guestbk/bld_b32.bat
   * contrib/examples/guestbk/bld_vc.bat
   * contrib/examples/pe/bld_b32.bat
   * contrib/examples/pe/bld_vc.bat
   * contrib/examples/dbu/bld_b32.bat
   * contrib/examples/dbu/bld_vc.bat
   * contrib/examples/hscript/bld_b32.bat
   * contrib/examples/hscript/bld_vc.bat
   * utils/hbdoc/bld_vc.bat
   * utils/hbdoc/bld_b32.bat
   * utils/hbmake/bld_vc.bat
   * utils/hbmake/bld_b32.bat
     + Cleaning .c and .obj files after the build process.
     ! This is needed to not interfere with the GNU-make system, 
       which would pickup and try to compiler those temp .c files.
2008-08-05 14:31:22 +00:00
Viktor Szakats
94f2dd9da7 2008-08-05 13:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* doc/whatsnew.txt
     + Added hbdot -> hbrun info.

   * utils/Makefile
     ! Missing change to previous commit.

   * contrib/examples/pp/bld_b32.bat
   * contrib/examples/guestbk/bld_b32.bat
   * contrib/examples/pe/bld_b32.bat
   * contrib/examples/dbu/bld_b32.bat
   * contrib/examples/hscript/bld_b32.bat
   * utils/hbdoc/bld_b32.bat
   * utils/hbmake/bld_b32.bat
     % -e switch removed from bcc32 command line.
2008-08-05 11:23:46 +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
Przemyslaw Czerpak
8aca0ed0f6 2008-08-05 02:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbdot/hbdot.prg
    * removed holder class for HRB modules - it's not longer necessary
      because we have automatic destructors for .hrb modules
    * updated usage message for .hrb files
    * minor modifications

  * harbour/doc/man/hbdot.1
    * updated man page for recent modifications
2008-08-05 00:43:40 +00:00
Viktor Szakats
be04c086cd 2008-08-05 00:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
+ utils/hbmake/bld_vc.bat
   + utils/hbmake/bld_b32.bat
     + Added non-GNU make batch files to build hbmake.
     ; This is a step towards detaching hbmake from core.

   + contrib/examples/dbu/bld_vc.bat
   + contrib/examples/guestbk/bld_vc.bat
   + contrib/examples/hscript/bld_vc.bat
   + contrib/examples/pe/bld_vc.bat
   + contrib/examples/pp/bld_vc.bat
     + Added MSVC build scripts.
2008-08-04 22:41:25 +00:00
Viktor Szakats
b24f64d01e 2008-08-04 22:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbdot/hbdot.prg
     + hbdot is now able to run .hrb files too, by doing a check
       on the extension, similar to hbrun.
2008-08-04 21:46:08 +00:00
Viktor Szakats
2f037ea8dd 2008-08-04 22:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmake/hbmake.prg
     ! Several minor typos corrected in main help screen.
2008-08-04 20:29:21 +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
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
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
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
1de1cfa507 2008-06-19 18:26 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/examples/guestbk/guestbk.prg
   * contrib/examples/guestbk/inifiles.prg
   * contrib/examples/guestbk/testcgi.prg
   * contrib/examples/hscript/hscript.prg
   * contrib/examples/pe/editorhi.prg
   * contrib/gtwvg/tests/demowvg.prg
   * contrib/hbbtree/tests/test.prg
   * contrib/hbbtree/tests/ttest.prg
   * contrib/hbclipsm/tests/testgaug.prg
   * contrib/hbct/getinfo.prg
   * contrib/hbct/getinput.prg
   * contrib/hbct/getsecrt.prg
   * contrib/hbct/keytime.prg
   * contrib/hbct/numconv.prg
   * contrib/hbfbird/tfirebird.prg
   * contrib/hbgd/gd.prg
   * contrib/hbgd/gdbar.prg
   * contrib/hbgd/gdbarcod.prg
   * contrib/hbgd/gdimage.prg
   * contrib/hbgd/tests/animgif.prg
   * contrib/hbgd/tests/gdtest.prg
   * contrib/hbgd/tests/test_out.prg
   * contrib/hbgf/gtk/button.prg
   * contrib/hbgf/gtk/form.prg
   * contrib/hbgf/gtk/menuitem.prg
   * contrib/hbgf/gtk/winctrl.prg
   * contrib/hbgf/os2pm/button.prg
   * contrib/hbgf/os2pm/edit.prg
   * contrib/hbgf/os2pm/tform.prg
   * contrib/hbgf/os2pm/tmenu.prg
   * contrib/hbgf/os2pm/tmenuitm.prg
   * contrib/hbgf/tests/formtext.prg
   * contrib/hbgf/tests/testctrl.prg
   * contrib/hbgf/tests/testform.prg
   * contrib/hbgf/win32/button.prg
   * contrib/hbgf/win32/edit.prg
   * contrib/hbgf/win32/form.prg
   * contrib/hbgf/win32/menu.prg
   * contrib/hbgf/win32/menuitem.prg
   * contrib/hbhpdf/tests/harupdf.prg
   * contrib/hbmsql/tests/dbf2msql.prg
   * contrib/hbmsql/tmsql.prg
   * contrib/hbmysql/dbf2mysql.prg
   * contrib/hbmysql/tmysql.prg
   * contrib/hbmysql/tsqlbrw.prg
   * contrib/hbmzip/tests/myzip.prg
   * contrib/hbnf/aredit.prg
   * contrib/hbnf/calendar.prg
   * contrib/hbnf/clrsel.prg
   * contrib/hbnf/pending.prg
   * contrib/hbnf/sqzn.prg
   * contrib/hbnf/tbwhile.prg
   * contrib/hbnf/tests/test.prg
   * contrib/hbodbc/todbc.prg
   * contrib/hbpgsql/tests/dbf2pg.prg
   * contrib/hbpgsql/tpostgre.prg
   * contrib/hbsqlit2/tests/hbsqlite.prg
   * contrib/hbsqlit3/tests/sqlite3_test.prg
   * contrib/hbtpathy/telepath.prg
   * contrib/hbvpdf/hbvpdf.prg
   * contrib/hbvpdf/hbvpdft.prg
   * contrib/hbvpdf/tests/pdf_demo.prg
   * contrib/hbvpdf/tests/tstpdf.prg
   * contrib/hbw32/w32_tole.prg
   * contrib/hbw32/w32_tprn.prg
   * contrib/hbw32ddr/tests/testdx.prg
   * contrib/rddado/adordd.prg
   * contrib/rddado/tests/access2.prg
   * source/debug/debugger.prg
   * source/rdd/hbsix/sxini.prg
   * utils/hbdot/hbdot.prg
   * utils/hbextern/hbextern.prg
     * Cleanup.
       <>    -> != or !( == ) for strings
       if()  -> iif() (for inline, where noticed)
       ' = ' -> := or == for comparisons, or left as '=' in the few 
          rare cases where this was (probably) intended (sxini.prg).
       Excluded: most tests, hbnf, util/hbdoc, util/hbmake, hbwhat32, gtwvg, 
          hbvpdf has some difficult to judge '=' operators, so I left them.
     ! Fixed some _SET_EXACT dependencies in a few places.
     ; TODO: If possible, add a compile switch to catch these, as 
             it's not very easy using 'grep'.
2008-06-19 16:33:10 +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
332d4b5b97 2008-06-05 10:12 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* common.mak
   * contrib/hbbtree/hb_btree.c
   * contrib/hbclipsm/gauge.c
   * contrib/hbfbird/firebird.c
   * contrib/hbgd/gdwrp.c
   * contrib/hbmsql/msql.c
   * contrib/hbmysql/mysql.c
   * contrib/hbnf/dispc.c
   * contrib/hbnf/getenvrn.c
   * contrib/hbnf/getver.c
   * contrib/hbnf/kspeed.c
   * contrib/hbodbc/odbc.c
   * contrib/hbole/ole2.c
   * contrib/hbsqlit2/hbsqlit2.c
   * contrib/hbsqlit3/hbsqlit3.ch
   * contrib/hbtpathy/tplinux.c
   * contrib/hbtpathy/tpwin32.c
   * contrib/hbtpathy/tpos2.c
   * contrib/hbtpathy/tpcommon.c
   * contrib/hbtip/thtml.ch
   * contrib/hbtip/utils.c
   * contrib/hbtip/tip.ch
   * contrib/xhb/hboutdbg.c
   * utils/hbpp/Makefile
   - utils/hbpp/pragma.c
   + utils/hbpp/hbpragma.c
     * General code quality improvements.
       (.api usage, sprintf -> snprintf, ANSI comments, CLIPDEFS, 
       windows.h inclusion, hb_retc*_buffer, hb_ret(), hb_itemReturnRelease(), 
       formatting.)
     ! Collision between two pragma.c files resolved.
2008-06-05 08:19:49 +00:00
Viktor Szakats
71eb525cdf 2008-06-03 10:12 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/vm/extend.c
     ! Reverted previous change. Caller should check the 
       retval of hb_storclen_buffer() and free the pointer 
       in case it's zero.
       Thanks Przemek.

   * contrib/hbw32/w32_regc.c
   * contrib/hbhpdf/harupdf.c
   * contrib/hbwhat32/_winsys.c
   * utils/hbmake/readline.c
     ! Fixed hb_storclen_buffer() calls.

   * contrib/hbwhat32/_winsys.c
     ! SYSTEMPARAMETERSINFO() fixed retval and leaks.
     ; Please test.

   * source/rtl/tget.prg
     ! Typo.
2008-06-03 08:41:32 +00:00
Przemyslaw Czerpak
4662f73fd3 2008-05-28 16:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/harbour-ce-spec
  * harbour/harbour-w32-spec
  * harbour/harbour.spec
  * harbour/make_rpmce.sh
  * harbour/make_rpmw32.sh
  * harbour/make_rpm.sh
    * removed --with zlib switch - now zlib will be created in all builds
    * added hbzlib library
    * added hbmzip library - MiniZIP wrapper to manage ZIP files

  * harbour/contrib/Makefile
    * added hbmzip library to default builds

  * harbour/include/hbzlib.h
    ! changed \ in include path
    ! added relative paths for LCC and XCC

  * harbour/bin/hb-func.sh
    * updated for hbzlib library in core code and hbmzip in contrib

  * harbour/utils/hbdot/Makefile
  * harbour/utils/hbrun/Makefile
    * added hbzlib library to linked library list

  * harbour/include/hbzlib.h
  * harbour/bin/hb-func.sh
  * harbour/make_gcc.mak
  * harbour/config/darwin/gcc.cf
  * harbour/config/hpux/gcc.cf
  * harbour/config/linux/gcc.cf
  * harbour/config/sunos/gcc.cf
  * harbour/config/bsd/gcc.cf
  * harbour/utils/hbdot/Makefile
  * harbour/utils/hbrun/Makefile
    + added support for compilation with HB_EXT_ZLIB macro
      It forces using external (OS) ZLIB library instead of hbzlib.
      Still some other make files should be updated to respect it.
2008-05-28 14:37:33 +00:00
Viktor Szakats
ab03dc731d 2008-05-23 21:56 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/browse.prg
   * source/rtl/getsys53.prg
   * source/rtl/profiler.prg
   * source/rtl/tbrowse.prg
   * source/debug/dbghelp.prg
   * source/debug/dbgwa.prg
   * utils/hbextern/hbextern.prg
   * utils/hbtest/hbtest.prg
   * utils/hbtest/rt_array.prg
   * utils/hbtest/rt_class.prg
   * utils/hbtest/rt_date.prg
   * utils/hbtest/rt_file.prg
   * utils/hbtest/rt_hvm.prg
   * utils/hbtest/rt_hvma.prg
   * utils/hbtest/rt_math.prg
   * utils/hbtest/rt_misc.prg
   * utils/hbtest/rt_str.prg
   * utils/hbtest/rt_stra.prg
   * utils/hbtest/rt_trans.prg
     % FUNCTION -> PROCEDURE
2008-05-23 19:57:49 +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
d0a2b04f79 2008-05-20 08:20 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbmisc/numtxthu.prg
   * contrib/hbmisc/numtxten.prg
     + Updated.

   * utils/hbmake/hbmake.prg
     ! Typos.
2008-05-20 06:28:49 +00:00
Viktor Szakats
53030631bf 2008-05-07 11:21 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/rddads/make_b32.bat
   * contrib/rddads/make_vc.bat
   * contrib/rddads/ads.ch
   * contrib/rddads/rddads.h
   * contrib/rddads/ads1.c
   * contrib/rddads/adsfunc.c
   * contrib/rddads/adsmgmnt.c
     + Added ACE version autodetection.
       You can override with: -DADS_LIB_VERSION=700 (and similar)
       (ADS_REQUIRE_VERSION still accepted for compatibility)
     ! Fixed a few lib version related problems.
     ! hMgmtHandle global renamed to ads_g_hMgmtHandle.
     * Formatting.

   * contrib/rddads/rddads.h
     + QUESTION: added about ADS_MAX_KEY_LENGTH redefinition.
       Is it needed?

   * source/compiler/hbmain.c
     * Changed output device (hb_compOutStd() -> hb_compOutErr()) 
       for following texts:
       "Compiling..."
       "No code generated"
       "Lines x, Functions/Procedures x"
       This is to replicate CA-Cl*pper behaviour a bit more.

   * include/hbextern.ch
   * common.mak
   * source/rtl/Makefile
   * source/rtl/maxrow.c
   + source/rtl/scrrow.c
   * contrib/xhb/hbcompat.ch
     + Added hb_ScrMaxRow(), hb_ScrMaxCol()
       These will return the screen dimensions regardless 
       of the size of an active window (when using CT 
       windows for example). Functionality is the same 
       as MaxRow(.T.) and MaxCol(.T.) previously.
     ! MaxRow()/MaxCol() extended parameters removed.
     + Added MaxRow(.T.)/MaxCol(.T.) conversions for 
       xhb lib (hbcompat.ch) in both directions.
     ; XBase++ doesn't have any extended parameters 
       for Max*() function. Flagship has two of them, 
       both of them doing something different. CAVO doesn't 
       have these functions at all.

   * contrib/xhb/hbcompat.ch
     ! GTI_* macros updated to HB_GTI_*.

   * source/vm/memvclip.c
     % Minor opt in __QQPUB().

   * source/vm/extend.c
     * 0 -> NULL

   * source/vm/estack.c
     - QUESTION removed.

   * source/lang/msgbgmik.c
   * source/rtl/console.c
   * source/rtl/philes.c
   * source/rtl/adir.prg
   * source/rtl/getsys53.prg
   * source/rtl/getsys.prg
   * source/rtl/tget.prg
   * source/rtl/ttopbar.prg
   * source/rtl/pushbtn.prg
   * source/rtl/mod.c
   * source/rtl/memofile.c
   * source/rtl/radiobtn.prg
   * source/rtl/filesys.c
   * source/rtl/tbrowse.prg
   * source/vm/estack.c
   * source/vm/itemapi.c
   * source/vm/hvm.c
   * source/vm/cmdarg.c
   * source/vm/fm.c
   * source/vm/eval.c
   * source/common/hbver.c
   * source/common/expropt2.c
   * utils/hbtest/hbtest.prg
   * utils/hbtest/rt_misc.prg
   * utils/hbtest/rt_str.prg
     ! Comment fixes and minor formatting.
2008-05-07 10:26:41 +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
Viktor Szakats
cb966c280e 2008-04-17 03:53 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbextern.ch
   * source/rtl/errorapi.c
     + Added ERRORINHAN() (and alias ERRORINHANDLER()) CA-Cl*pper 
       compatible, undocumented function, guarded with HB_C52_UNDOC.
       Same as Harbour __ERRINHANDLER().

   * source/rtl/trim.c
   * source/rtl/strtran.c
     + Added strict branches for incompatible error messages.
     % Minor optimization in STRTRAN() parameter checking.

   * utils/hbtest/rt_str.prg
     + Reenabled two C53-only test calls.

   * include/hbdefs.h
     ! Minor indentation fix.

   * utils/hbdoc/hbdoc.prg
   * utils/hbdot/hbdot.prg
   * utils/hbmake/hbmake.prg
   * utils/hbpp/hbpp.c
   * utils/hbtest/hbtest.prg
   * utils/hbrun/hbrun.prg
     ! Year updated in copyright banners.
2008-04-17 02:02:02 +00:00
Viktor Szakats
5941be9152 2008-04-15 13:32 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/tget.prg
     + TGet instance variable ordering in class definition 
       made CA-Cl*pper compatible, so that it's now possible to 
       access object vars as array elements the same way.
       Read-only access is strongly recommended when using this 
       unofficial access method, and the practice is overall 
       discouraged.
       NOTE: oGet[8] is not supported in Harbour.
       NOTE: in oGet[11] (in C52 mode), oGet[17] (in C53 mode) 
             only the first char is compatible, which is the 
             type. The rest is 'trash' in CA-Cl*pper.

   * tests/rto_get.prg
     + Extended tests with regards to array access of the 
       TGet object.

   * source/rtl/tbcolumn.prg
     * Formatting.

   * source/common/hbstr.c
   * source/compiler/ppcomp.c
   * source/compiler/hbgenerr.c
   * utils/hbpp/hbpp.c
     ! Fixed some BCC58 warnings.
     ; TOFIX: These remain:
       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
       Warning W8084 source\rtl\hbinet.c 507: Suggest parentheses to clarify precedence in function HB_FUN_HB_INETINIT

   * utils/hbtest/rt_main.h
     ! Typo.

   * utils/hbtest/make_c5x.bat
     + Cleanups, fixes, enhancements.
     * Changed invocation for C53. Now "53" (without quotes) 
       should be used as command line parameter.
     + Now automatically selects linker.
     ! Fixed MSC parameters for C53.
     + Copyright added.
2008-04-15 11:38:16 +00:00
Przemyslaw Czerpak
f0e59d719d 2008-04-14 23:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/errorapi.c
    * allow to pass NULL instead of PHB_ITEM pointer in argument list
      of RT error functions:
         hb_errRT_BASE()
         hb_errRT_BASE_Ext1()
         hb_errRT_BASE_Subst()
         hb_errRT_BASE_SubstR()
      to not force allocating dummy item in upper level code.

  * harbour/source/rtl/mod.c
    ! small fix in substitued return value in code like:
         proc main()
            set fixed on
            ? transform(mod( 12345, 0 ),"")
         return

  * harbour/utils/hbmake/hbmlang.c
  * harbour/utils/hbmake/hbmutils.prg
  * harbour/utils/hbmake/hbmake.prg
    ! removed gtnul library - it does not longer exists
    * minor formatting
2008-04-14 21:07:06 +00:00
Viktor Szakats
d3de57ca66 2008-04-14 01:53 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbtest/rt_main.h
     * Cleanup.
2008-04-13 23:56:57 +00:00
Viktor Szakats
4ff514f08f 2008-04-13 22:16 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbtest/make_c5x.bat
   * utils/hbtest/hbtest.prg
   * utils/hbtest/rt_miscc.c
   * utils/hbtest/rt_misc.prg
     - Removed dependency on hbclip.
     + Added proper C version of hb_SToD() for C5.x compiles.
       (Needs MSC)
     ! Refixed hb_SToD() results messed up in my previous 
       commit. Sorry for the confusion, Harbour was perfectly 
       100% compatible, the reference values were wrong in 
       default HBTEST for CA-Cl*pper.
     + Disabling hb_SToD() tests with invalid input values 
       for CA-Cl*pper in case there was no C compiler available 
       when building HBTEST. This is to avoid any invalid 
       results (due to the .prg version of hb_SToD() and to 
       avoid confusions such as above.
2008-04-13 20:27:07 +00:00
Viktor Szakats
26fde59322 2008-04-13 21:59 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/mod.c
     ! Fixed error object to be C5x compatible when wrong or too 
       few parameters were passed to MOD(). Now the previously 
       corrected MOD() regression tests pass. (I misinterpreted 
       the problem in the previous ChangeLog entry.)

   * utils/hbtest/rt_math.prg
     + Added two new tests for MOD()
2008-04-13 20:05:38 +00:00
Viktor Szakats
ed876c2900 2008-04-13 19:19 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* common.mak
   + utils/hbtest/rt_main.h
   + utils/hbtest/rt_miscc.c
   * utils/hbtest/rt_str.prg
   * utils/hbtest/Makefile
   * hbtest/make_c5x.bat
   * hbtest/make_xpp.bat
     + Added light framework to implement C level regression tests.
     + Added regression tests for some incompatible Str() conversions.
       TOFIX: The problem seems to be in hb_retnl() (and friends, 
              presumably) where in C5x the internal width gets 
              modified to 20 when certain value is reached (+/-1000000000), 
              while in Harbour the length stays 10.
              I tried to do the same test using Item API, but I got 
              so strange results in C, that I finally dropped it.
     + Added optional C compilation using MSC for CA-Cl*pper 
       build batch file.
     + Added better support to compile the test suite under C5.3.
       Caller will need to use "set HB_COMPAT_C53=1" for this mode.

   * utils/hbtest/rt_array.prg
     ! Corrected some (ASize()) expected results when not in 5.3 mode.

   * utils/hbtest/rt_str.prg
     + Added comments for some erroneous C5.3 'Str(Val())' results.

   * utils/hbtest/rt_math.prg
     ! Corrected expected C5.2/5.3 result for 'MOD()'.
       TOFIX: The Harbour result is different, and in contrary to 
              C5.x it won't allow to substitue values from the 
              error handler, when wrong types were passed initially, 
              which is IMO a bug.

   * utils/hbtest/rt_misc.prg
     ! Some results synced with C5.x (where the result could be 
       "explained"), two marked as buggy/questionable.
     ! Two strange Harbour-synced results swapped for the somewhat 
       more meaningful C5.x ones.
     + Added some more strange date conversion tests.
     ; All these could be fixed in Harbour to give the exact same 
       C5.x values even for these strange inputs, but it's by no 
       means a priority.

   * source/rtl/transfrm.c
     ! FoxPro/XPP feature guarded with HB_COMPAT_FOXPRO || HB_COMPAT_XPP,
       meaning that it stays enabled by default because of HB_COMPAT_XPP.

   * contrib/rddads/make_b32.bat
   * contrib/rddads/make_vc.bat
     ! Fixed the dir precedence when looking for ace32.dll.
2008-04-13 18:03:37 +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
Przemyslaw Czerpak
ca6ba143cd 2008-03-11 14:04 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbtest/rt_trans.prg
    * cleaned TRANSFORM() tests

  * harbour/contrib/rddads/ads1.c
    ! fixed binary number formatting
2008-03-11 13:04:47 +00:00
Massimo Belgrano
8f184a368d 2008-03-10 09:53 UTC+0100 Belgrano Massimo (mbelgrano/at/deltain.it)
* harbour/utils/hbtest/rt_trans.prg
    ! added news regression test 
      Corretted error
      Formatted source
2008-03-11 08:59:01 +00:00
Massimo Belgrano
1875d88dd6 added regression test from harbour/tests/transtst.prg 2008-03-10 16:25:34 +00:00
Przemyslaw Czerpak
0137656989 2008-03-05 19:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbtest/rt_trans.prg
    * minor comment cleanup
2008-03-05 18:20:03 +00:00
Przemyslaw Czerpak
9cb4e6047d 2008-03-05 19:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbct/screen2.c
    ! fixed possible vary bad bug (memory buffer overflow) in SCREENSTR()

  * harbour/source/rtl/hbffind.c
    ! fixed possible GPF in some *nixes

  * harbour/source/vm/classes.c
    ! do not execute the same destructor inherited from different parent
      classes more then once

  * harbour/source/rtl/transfrm.c
    ! fixed bug with '9' used as stop condition of function pattern
      this character cannot be stripped, f.e.:
        ? transform( "abc", "@_99*" )
    ! fixed bug with '*' or '$' used with @), f.e.:
        ? transform( -12345, "@) $999999" )
    ! fixed replacing '.' with ',' when @E is used without picture part, f.e.:
        ? transform( 123.45, "@E" )
    ! fixed ',' conversions
        ? transform( 12.34,"@E ab,cd.ef9,9.99,.--" )
    ! fixed bug with picture starting with ".", f.e.:
	? transform( 0.3456, ".999" )
    ! fixed "@(" and "@)" conversions, f.e.:
        ? transform( -12345, "@) 1999*999" )
    ! fixed late oveflow detection in "@(" and "@)", f.e.:
        ? transtest( -12345, "@( 6798^999" )
    ! fixed "@E" conversion for dates to keep user delimiters set in
      _SET_DATEFORMAT, f.e.:
        set( _SET_DATEFORMAT, "mm:dd:yyyy" ); ? transform( date(), "@E" )
        set( _SET_DATEFORMAT, "yyyy<mm>dd" ); ? transform( date(), "@E" )
      Please note that Harbour is not strictly Clipper compatible here
      because it respects _SET_DATEFORMAT set by user.
    ! fixed 64bit integer conversion by eliminating conversion to
      'double' f.e.:
        ? transform(  1234567890123456789, "99999999999999999999" )
        ? transform( -1234567890123456789, "99999999999999999999" )
    ! some other fixes, see regression test transtst.prg
    % speed improvement in numeric conversions

  + harbour/tests/transtst.prg
    + added regression test for transform function

  * harbour/utils/hbtest/rt_trans.prg
    * disabled transform() tests for "@E" and result smaller then 5 bytes
      CA-Cl*pper do not check result size and always exchanges
      bytes 1-2 with bytes 4-5 for @E conversion. It's buffer overflow
      bug and I do not want to replicate it inside our transform
      implementation. It also causes that the results for for strings
      smaller then 5 bytes behaves randomly.
      In fact precise tests can show that it's not random behavior
      but CA-Cl*pper uses static buffer for result and when current one
      is smaller then 5 bytes then first two bytes are replaced with
      4-5 bytes from previous result which was length enough, f.e.:
               ? transform( "0123456789", "" )
               ? transform( "AB", "@E" )
               ? transform( "ab", "@E" )
      Replicating exact CA-Cl*pper behavior it's trivial (it will be enough
      to use static buffer two and not check the size of current result) but
      IMHO it's bug.

  * harbour/source/rtl/round.c
    * added strictly Clipper compatible code covered by HB_C52_STRICT
      and comment about possible difference in Harbour.

  * harbour/include/hbgtinfo.ch
  * harbour/source/rtl/hbgtcore.c
  * harbour/source/rtl/gtxwc/gtxwc.c
  * harbour/source/rtl/gtsln/gtsln.c
  * harbour/source/rtl/gttrm/gttrm.c
  * harbour/source/rtl/gtwvt/gtwvt.c
    + added HB_GTI_ISUNICODE - it returns logical value with information
      about Unicode mode in active GT driver - it's necessary for proper
      CP initialization in some GTDs which can work in both mode depending
      on client side settings

  * harbour/source/rtl/gttrm/gttrm.c
    * improved UTF-8 detection
    * added automatic PuTTY detection
    * improved PuTTY and some xterm key handling
    * added some missing RXVT keys
2008-03-05 18:10:52 +00:00
Przemyslaw Czerpak
6a7620a2ee 2008-02-22 03:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    * added -xhgtk switch for linking with xHGtk library

  * harbour/source/pp/hbppgen.c
  * harbour/utils/hbpp/hbpp.c
    ! added missing #include "hbset.h"
2008-02-22 02:43:14 +00:00
Przemyslaw Czerpak
e868d4c367 2008-02-20 00:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbpp/hbpp.c
    ! added hb_setGetDirSeparator()
2008-02-19 23:14:39 +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
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
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