Commit Graph

178 Commits

Author SHA1 Message Date
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
Przemyslaw Czerpak
6238ebfb9c 2008-08-10 16:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    * updated library list for wince harbour.dll linking

  * harbour/source/common/hbwince.c
    ! fixed compilation new MinGWCE
2008-08-10 14:17:52 +00:00
Przemyslaw Czerpak
b34229e162 2008-08-09 16:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-mkslib.sh
    * do not create temporary directory in MacOSX
    ! fixed absolute shared library soft links to be relative ones
2008-08-09 14:28:57 +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
Viktor Szakats
70b5fc6817 2008-08-08 18:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-mkslib.sh
     + Added $(L_USR) to Darwin dynamic lib creation command line.

   * config/darwin/gcc.cf
     * Changed '-o ' to a more robust expression.
2008-08-08 16:30:27 +00:00
Przemyslaw Czerpak
cb2323a9fe 2008-08-08 13:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/postinst.sh
    * use libtool instead of ar to create library on Darwin

  * harbour/make_tgz.sh
    * disabled self extracting shell envelop
2008-08-08 11:13:45 +00:00
Przemyslaw Czerpak
04779c262f 2008-08-08 03:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    * replaced all echo -n with echo - shells should remove trailing
      blank characters when stream command is not quoted by ""
2008-08-08 01:06:27 +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
Przemyslaw Czerpak
98e79a7e2f 2008-08-08 00:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    + recognize -mwindows -mconsole MinGW-GCC switches and update
      library list for them

  * harbour/source/rtl/gtwvt/gtwvt.h
  * harbour/source/rtl/gtwvt/gtwvt.c
    + added support HB_SET{TERM|DISP|KEY}CP() in non Unicode builds
2008-08-07 22:30:53 +00:00
Przemyslaw Czerpak
3e94ca78ca 2008-08-07 14:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/harbour-ce-spec
  * harbour/harbour-w32-spec
    ! set HB_XBUILD evvar
  * harbour/bin/hb-func.sh
    ! do not move harbour.dll to HB_BIN_INSTALL directory when
      HB_XBUILD envvar is set

  * harbour/source/hbzlib/deflate.c
    * pacified warning
2008-08-07 12:58:43 +00:00
Przemyslaw Czerpak
22cb46f12c 2008-08-07 13:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    * excluded hbcplr library from harbour shared library
2008-08-07 11:01:38 +00:00
Przemyslaw Czerpak
5375c51c2d 2008-08-06 17:31 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
  * harbour/bin/postinst.sh
    * changed FM lib name to HBFM

  * harbour/bin/hb-mkslib.sh
    * respect L_USR also in Windows builds
2008-08-06 15:31:35 +00:00
Przemyslaw Czerpak
00a72f9820 2008-08-06 14:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    * updated to create harbour.dll in HB_BIN_INSTALL instead of
      HB_LIB_INSTALL
    * added to library paths in hb* scripts HB_BIN_INSTALL directory
      for shared linking when harbour shared library does not exist
      in HB_LIB_INSTALL but it's present in HB_BIN_INSTALL
2008-08-06 12:27:49 +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
Przemyslaw Czerpak
93cc5f1aa0 2008-08-05 15:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/postinst.sh
    * added workaround for wrongly detected harbour root path in some
      environments

  * harbour/source/vm/extrap.c
    * minor modification
2008-08-05 13:23:52 +00:00
Przemyslaw Czerpak
755f572829 2008-07-02 21:26 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/make_xmingwce.sh
  * harbour/bin/hb-mkslib.sh
  * harbour/make_tgz.sh
    + added Darwin and OS2 to architecure autodetection.
2008-07-02 19:26:53 +00:00
Viktor Szakats
420df37a5e 2008-06-10 16:06 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
+ contrib/xhb/hbcrypt.c
   + contrib/xhb/hbnxs.h
   * contrib/xhb/Makefile
   * contrib/xhb/common.mak
     + Added HB_CRYPT()/HB_DECRYPT().
       Thanks to Giancarlo Niccolai / xhb.
     + Changed to not depend on hbzlib.
     ; Minor modifications to compile smoothly in Harbour.

   * bin/bld.bat
     * Prev change undone.
2008-06-10 14:07:31 +00:00
Viktor Szakats
a5ac639119 2008-06-09 07:36 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* tests/wvtext.prg
   * include/hbgtinfo.ch
   * include/hbgtcore.h
   * source/rtl/hbgtcore.c
   * source/rtl/gtwvt/gtwvt.c
     * Changed the way notifications work. It's now platform 
       neutral and more simple.
       hb_gtInfo( HB_GTI_NOTIFIERBLOCK, {|nEvent, ...| myhandler( nEvent, mycustomdata, ... ) })
       may be used to set it. Use NIL to disable it. The purpose of 
       this is to be able to get notifications from GT related
       user interactions not initiated inside the apps UI world.
       F.e. to save screen size after the user has changed it, 
       or to have a last chance to commit tables, set flags, etc 
       when user (or OS) closed the app window.
     + Added basic support to handle return values from notifier.
     ! Added missing SVN header to wvtext.prg
     ; TOFIX: New TIMER stuff in GTWVT should be replace by 
              a platform neutral solution, which is probably MT.
              (see also "background events")
     ; TOFIX: Is there a way to force "non-full content" resize 
              on the window level? This way we could avoid 
              current trashing while resizing.
2008-06-09 06:07:59 +00:00
Przemyslaw Czerpak
27e1488484 2008-06-05 12:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    + added get_hbverstat function to extract build status from hbver.h

  * harbour/make_rpmw32.sh
  * harbour/harbour.spec
  * harbour/make_rpmce.sh
    * moved -RC1 from version to releasen part - it resolves the problem
      with illegal character in version number
2008-06-05 10:57:28 +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
5961b204c8 2008-05-28 14:42 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/bld.bat
   * bin/bld_os2.cmd
     + Added hbzlib
     + Added hbpcre for OS/2.

   - contrib/hbzlib
     - Removed.
2008-05-28 12:44:07 +00:00
Viktor Szakats
8b06380b17 2008-05-27 03:10 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/bld.bat
     + MSVC now sets the lib dir globally, so lib names don't 
       need to contain the path anymore.

   * source/vm/fm.c
     * Minor cleanup.

   - contrib/hbgd/tests/bldtest.sh
   + contrib/hbgd/tests/bld.sh
     * Update, cleanup, SVN header.
2008-05-27 01:23:22 +00:00
Viktor Szakats
f02145dc30 2008-05-21 15:00 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/bld.bat
   * bin/bld_os2.cmd
     ! Removed trailing backslash from default Harbour bin dirs.

   * contrib/hbapollo/make_b32.bat
   * contrib/hbapollo/make_vc.bat
   * contrib/hbfbird/make_b32.bat
   * contrib/hbfbird/make_vc.bat
   * contrib/hbfimage/make_b32.bat
   * contrib/hbfimage/make_vc.bat
   * contrib/hbgd/make_b32.bat
   * contrib/hbgd/make_vc.bat
   * contrib/hbhpdf/make_b32.bat
   * contrib/hbhpdf/make_vc.bat
   * contrib/hbmysql/make_b32.bat
   * contrib/hbmysql/make_vc.bat
   * contrib/hbodbc/make_b32.bat
   * contrib/hbodbc/make_vc.bat
   * contrib/hbpgsql/make_b32.bat
   * contrib/hbpgsql/make_vc.bat
   * contrib/hbw32ddr/make_b32.bat
   * contrib/hbw32ddr/make_vc.bat
   * contrib/hbzlib/make_b32.bat
   * contrib/hbzlib/make_vc.bat
   * contrib/rddads/make_b32.bat
   * contrib/rddads/make_vc.bat
     ! Fixed to handle long *_DIR settings in those 
       contribs where external packages are required.

   * contrib/gtwvg/tests/bld_b32.bat
   * contrib/gtwvg/tests/bld_vc.bat
   * contrib/hbapollo/tests/bld_b32.bat
   * contrib/hbapollo/tests/bld_vc.bat
   * contrib/hbclipsm/tests/bld_b32.bat
   * contrib/hbclipsm/tests/bld_vc.bat
   * contrib/hbct/tests/bld_b32.bat
   * contrib/hbct/tests/bld_vc.bat
   * contrib/hbfbird/tests/bld_b32.bat
   * contrib/hbfbird/tests/bld_vc.bat
   * contrib/hbfimage/tests/bld_b32.bat
   * contrib/hbfimage/tests/bld_vc.bat
   * contrib/hbgd/tests/bld_b32.bat
   * contrib/hbgd/tests/bld_vc.bat
   * contrib/hbgf/tests/bld_b32.bat
   * contrib/hbgf/tests/bld_vc.bat
   * contrib/hbhpdf/tests/bld_b32.bat
   * contrib/hbhpdf/tests/bld_vc.bat
   * contrib/hbmisc/tests/bld_b32.bat
   * contrib/hbmisc/tests/bld_vc.bat
   * contrib/hbmysql/tests/bld_b32.bat
   * contrib/hbmysql/tests/bld_vc.bat
   * contrib/hbnf/tests/bld_b32.bat
   * contrib/hbnf/tests/bld_vc.bat
   * contrib/hbodbc/tests/bld_b32.bat
   * contrib/hbodbc/tests/bld_vc.bat
   * contrib/hbole/tests/bld_b32.bat
   * contrib/hbole/tests/bld_vc.bat
   * contrib/hbpgsql/tests/bld_b32.bat
   * contrib/hbpgsql/tests/bld_vc.bat
   * contrib/hbtpathy/tests/bld_b32.bat
   * contrib/hbtpathy/tests/bld_vc.bat
   * contrib/hbvpdf/tests/bld_b32.bat
   * contrib/hbvpdf/tests/bld_vc.bat
   * contrib/hbw32/tests/bld_b32.bat
   * contrib/hbw32/tests/bld_vc.bat
   * contrib/hbw32ddr/tests/bld_b32.bat
   * contrib/hbw32ddr/tests/bld_vc.bat
   * contrib/hbzlib/tests/bld_b32.bat
   * contrib/hbzlib/tests/bld_vc.bat
   * contrib/rddado/tests/bld_b32.bat
   * contrib/rddado/tests/bld_vc.bat
   * contrib/rddads/tests/bld_b32.bat
   * contrib/rddads/tests/bld_vc.bat
     ! Fixed to honor HB_*_INSTALL envvar settings in 
       bld_*.bats for /tests

   * contrib/examples/hscript/dir.hs
   * contrib/examples/hscript/bld_b32.bat
   - contrib/examples/hscript/makehtm.bat
     * Cleanup.

   * contrib/rddads/rddads.h
   * contrib/rddads/adsfunc.c
   * contrib/rddads/ads1.c
   * contrib/rddads/adsmgmnt.c
     * Header cleanup, minor code opt.
     * ADS_REQUIRE_VERSION==8 is now equivalent to 
       ADS_LIB_VERSION=810. Brian suggested this is what 
       the majority of users need. See next however.
     * ADS_REQUIRE_VERSION compatibility handling 
       disabled to make usage and support more 
       straightforward. I'd suggest everyone to remove 
       any old ADS_REQUIRE_VERSION settings, if - and only 
       if - there is a need to force an older version, 
       ADS_LIB_VERSION=??? should be used, where ??? is 
       810 for ACE 8.11 (for example).
2008-05-21 11:45:42 +00:00
Przemyslaw Czerpak
a1f50d4447 2008-05-20 20:31 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    * added HB_USR_LIBS set during build time to list of predefined libs
      in hb* scripts

  * harbour/source/rtl/hbgtcore.c
    ! fixed horizontal scrolling. Warning CTIII does not support
      horizontal scrolling and ignores 6-th scroll parameters.
      This behavior is intentionally not replicated in CTWIN
      though it can be easy added if someone will need it but
      covered with some macro to not change default builds.
      It will be enough to overload SCROLL() method and set
      iCol = 0 before calling SUPER_SCROLL().
2008-05-20 18:31:54 +00:00
Viktor Szakats
9124661e08 2008-05-14 10:27 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
- lib/b32/empty
   - lib/vc/empty
   - bin/b32/empty
   - bin/vc/empty
   - contrib/hbgd/tests/images_out/EMPTY
   - obj/b32/empty
   - obj/vc/empty
     - No longer needed for SVN.
2008-05-14 08:29:05 +00:00
Viktor Szakats
006724dc11 2008-05-12 14:24 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/bld.bat
     + Added hbpcre to lib list.

   * source/rtl/hbini.prg
     ; Some formatting.

   * tests/Makefile
   + tests/parseini.prg
   + tests/parseini.ini
   + tests/parseins.ini
     + Added .ini handling tests. Adapted from xhb.
2008-05-12 12:26:37 +00:00
Viktor Szakats
f6bbde9371 2008-05-12 13:56 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/bld.bat
     + Added %HB_USER_LIB% for w32/msvc.

   + contrib/hbapollo/tests/bld_vc.bat
   + contrib/gtwvg/tests/bld_vc.bat
     + Added VC make files.

   * contrib/gtwvg/tests/demowvg.prg
     - Removed (unused) embedded C code.
     ; It still doesn't run though.

   * contrib/gtwvg/tests/bld_b32.bat
     ! Fixed eol-style.
2008-05-12 11:39:07 +00:00
Przemyslaw Czerpak
7311612b6b 2008-05-06 02:44 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    ! do not add .exe suffix if user added it explicitly in W32/DOS builds

  * harbour/source/vm/dynsym.c
    * added internal error when size of dynamic table exceed maximal size
    % small optimization in hb_dynsymFind() function

  * harbour/source/pp/ppcore.c
    * added support for generating #line directives in strictly Clipper
      compatible way even if they are redundant. It can be enabled
      by HB_PP_STRICT_LINEINFO_TOKEN compiler time macro, f.e. using
      environment variables:
         set C_USR=-DHB_PP_STRICT_LINEINFO_TOKEN %C_USR%
      and making clean build.
2008-05-06 00:44:50 +00:00
Przemyslaw Czerpak
1731b0f49c 2008-04-22 15:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/bld_os2.cmd
    * changed eol-style from native to CRLF
2008-04-22 13:24:31 +00:00
Viktor Szakats
b007d20e6b 2008-04-21 14:48 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* tests/rto_get.prg
   * tests/rto_tb.prg
     + Added more tests.
     + Enabled object as array results by default.
     + More details for TGet test results.

   * bin/bld_os2.cmd
     ! Fixed lib names. Thanks David.

   * source/rtl/tobject.prg
     * Formatting.

   * source/rtl/tget.prg
     ! Delimiter colors in C5.3 mode made compatible.
     ! ::colorSpec handling in C5.3 mode made compatible 
       for some invalid parameter types.
     ! Fixed handling decimals in :row, :col, :pos 
       methods.
     ! Fixed to compile in C5.2 mode without warning
       (introduced in recent commit).

   * source/rtl/tbrowse.prg
     ! Fixed handling decimals in :nTop, :nBottom, :nLeft, :nRight.
     + Added unfinished XPP method :viewArea()
     + Added untested XPP method :firstScrCol()
     ; Few minor formatting.

   * include/hbextern.ch
   * source/rtl/einstvar.prg
     + Added _eInstVar52() which is the C5.2 compatible version 
       of this function. It also replicates a bug.
     * _eInstVar() renamed to _eInstVar53().
     * _eInstVar() made a stub to call _eInstVar53().

   * source/rtl/checkbox.prg
   * source/rtl/listbox.prg
   * source/rtl/pushbtn.prg
   * source/rtl/radiobtn.prg
   * source/rtl/radiogrp.prg
   * source/rtl/scrollbr.prg
   * source/rtl/symbol.prg
   * source/rtl/teditor.prg
   * source/rtl/tget.prg
   * source/rtl/tget1.prg
   * source/rtl/tgetlist.prg
   * source/rtl/tmenuitm.prg
   * source/rtl/tmenusys.prg
   * source/rtl/tpopup.prg
   * source/rtl/ttopbar.prg
     * Formatting (EXPORT: -> EXPORTED:)

   * contrib/hbtip/thtml.prg
   * contrib/hbtip/ftpcln.prg
     ! Fixed to work regardless of SET EXACT setting.
     ; NOTE: I'd suggest an optional compiler warning 
             to detect plain "=" usage. It's bad practice 
             in most cases.

   TODO: make_os2_gcc.cmd -> make_gcc_os2.cmd
   TODO: TGET test case for my vtgetlst problem.
   TODO: TGET fix for the above.
   TODO: _eInstVar() -> _eInstVar53()
2008-04-21 12:56:13 +00:00
Viktor Szakats
4d2778e296 2008-04-18 00:01 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* tests/rto_tb.prg
     + Added some C5.3 var tests.
     + Added object as array info.
     * Suppressed _eInstVar() difference by including 
       a strictly compatible copy of it for Harbour.
     * Exclude incompatible binary array elements of the object.

   * tests/rto_get.prg
     * Exclude incompatible binary array elements of the object.

   + bin/bld_os2.cmd
     + Added OS/2 build command file.
     ; Someone pls test and update the content if needed.
2008-04-17 22:03:40 +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
Viktor Szakats
b5ae06cc09 2008-01-31 17:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* bin/hb-func.sh
     + Updated for lib name change.
       Please test & review.

   * source/rtl/net.c
   * include/hbapi.h
     + Added hb_netname() and hb_username() low level versions 
       of NETNAME() and hb_USERNAME().
2008-01-31 16:48:02 +00:00
Viktor Szakats
b9c3cbccfc 2008-01-25 21:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* harbour-ce-spec
   * harbour-w32-spec
   * bin/bld.bat
   * harbour.spec
   * common.mak
   * source/pp/Makefile
   * source/lang/Makefile
   * source/macro/Makefile
   * source/rtl/Makefile
   * source/vm/mainstd/Makefile
   * source/vm/Makefile
   * source/vm/mainwin/Makefile
   * source/main/Makefile
   * source/debug/Makefile
   * source/codepage/Makefile
   * source/common/Makefile
   * source/rdd/nulsys/Makefile
   * source/rdd/Makefile
   * source/rdd/hsx/Makefile
   * source/rdd/usrrdd/Makefile
   * source/compiler/Makefile
   * contrib/hbct/tests/Makefile
   * contrib/hbodbc/tests/bld_b32.bat
   * contrib/hbole/tests/bld_b32.bat
   * contrib/hbapollo/tests/bld.bat
   * contrib/hbfbird/tests/bld_b32.bat
   * contrib/hbfbird/tests/Makefile
   * contrib/hbpgsql/tests/Makefile
   * contrib/hbfimage/tests/bld_b32.bat
   * contrib/hbgd/tests/bldtest.bat
   * contrib/hbmisc/tests/Makefile
   * contrib/hbgf/tests/bld_b32.bat
   * contrib/hbbtree/tests/Makefile
   * contrib/examples/guestbk/Makefile
   * contrib/examples/pe/Makefile
   * contrib/examples/dbu/Makefile
   * contrib/examples/misc/Makefile
   * contrib/examples/hscript/Makefile
   * utils/hbdoc/Makefile
   * utils/hbextern/Makefile
   * utils/hbdot/Makefile
   * utils/hbmake/Makefile
   * utils/hbmake/hbmutils.prg
   * utils/hbmake/hbmake.prg
   * utils/hbpp/Makefile
   * utils/hbpptest/Makefile
   * utils/hbtest/Makefile
   * utils/hbrun/Makefile
   * tests/Makefile
     * Core libs renamed to be prefixed with hb, while 
       having the first significant 5 chars unique.

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

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

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

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

   * include/hbgtinfo.ch
     + Added HB_ prefixed versions for all GTI_ macros.
       Unprefixed GTI_ macros are to be considered xhb 
       compatible (or legacy) ones, and they can be 
       excluded by #defining HB_GT_NO_XHB if they seem to 
       collide with user code.
       TODO: Switch to use HB_GTI_* inside Harbour code.
2008-01-25 20:40:49 +00:00
Przemyslaw Czerpak
eec720e9e9 2008-01-17 16:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbzlib/ioapi.c
  * harbour/contrib/hbzlib/zip.c
  * harbour/contrib/hbzlib/unzip.c
  * harbour/contrib/hbzlib/crypt.h
  * harbour/contrib/hbzlib/hbzlib.c
  * harbour/contrib/hbzlib/hbmzip.c
    * casting for C++ compilation
    * changed function declaration for C++ compilation
    * removed #include "errno.h" - some platforms do not have it
    * updated WIN32 API for WinCE and UNICODE builds
    * use localtime_r() only for Linux builds - TODO: create our own
      API for it and remove all #if... from core code so we will have
      it only in one place easy to update for different platforms

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

  * harbour/harbour-ce-spec
  * harbour/harbour-w32-spec
  * harbour/harbour.spec
  * harbour/bin/hb-func.sh
  * harbour/contrib/Makefile
    + added hbzlib to contrib libraries compiled by default
2008-01-17 15:51:12 +00:00
Przemyslaw Czerpak
4d9930caa6 2008-01-09 15:03 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/estack.c
    * added missing static to s_initSymbol declaration

  * harbour/include/hbgtinfo.ch
  * harbour/source/rtl/scroll.c
    * formatting

  * harbour/common.mak
    * added empty line necessary for some make systems (f.e. wmake)

  * harbour/bin/hb-func.sh
    * changed system libs order to avoid problems on some platforms

  * harbour/bin/pack_src.sh
    * collect information about repository files using 'svn status -v'
      command instead of scanning .svn/entries files to avoid problems
      with different formats used by SVN

  * harbour/include/hbchksum.h
  * harbour/include/hbset.h
    ! added missing extern in few function prototypes

  * harbour/include/hbclass.ch
    * use HB_CLS_PARAM_LIST macro instead of ... for strict C52 mode

  * harbour/source/common/hbfsapi.c
    + added missing const to one declaration

  * harbour/source/common/hbstr.c
    * minor cleanup in hb_stricmp()

  * harbour/source/rtl/inkey.c
    ! casting to avoid negative values during char to int translation

  * harbour/source/rtl/mouse53.c
    * added one internal definition

  * harbour/source/rtl/philes.c
    * removed unnecessary #include(s)
    * added missing const to one declaration

  * harbour/source/rtl/valtype.c
  * harbour/source/vm/hashfunc.c
    * cleanup RT error call to eliminate hb_paramError() function

  * harbour/source/pp/pplib.c
  * harbour/source/vm/runner.c
  * harbour/source/vm/debug.c
  * harbour/source/vm/arrayshb.c
  * harbour/source/vm/classes.c
  * harbour/source/vm/hvm.c
  * harbour/source/rtl/hbgtcore.c
  * harbour/source/rtl/gtfunc.c
  * harbour/source/rtl/hbinet.c
  * harbour/source/rtl/hbregex.c
  * harbour/source/rtl/idle.c
  * harbour/source/rtl/errorapi.c
  * harbour/source/rtl/hbtoken.c
  * harbour/source/rtl/direct.c
  * harbour/source/rdd/dbcmd.c
  * harbour/source/rdd/dbcmd53.c
  * harbour/source/rdd/fieldhb.c
  * harbour/source/rdd/hbsix/sxcompr.c
  * harbour/source/rdd/hbsix/sxcrypt.c
  * harbour/source/compiler/hbcmplib.c
  * harbour/contrib/hbrddads/adsfunc.c
  * harbour/contrib/hbrddads/adsmgmnt.c
    - removed unnecessary calls to hb_ret()
    % replaced hb_itemRelease( hb_itemReturn( pItem ) ) with
      hb_itemReturnRelease( pItem )
    % replaced hb_itemPut*( hb_arrayGetItemPtr( pArray, ... ), ... ) with
      hb_arraySetNI( pArray, ... )

  * harbour/source/macro/macro.y
  * harbour/source/macro/macro.yyc
  * harbour/contrib/xhb/cstructc.c
  * harbour/contrib/hbw32/w32_ole.c
  * harbour/contrib/hbgtwvg/wvtcore.c
    * cleaned typos with double ;;

  * harbour/source/vm/extend.c
  * harbour/source/rtl/math.c
    * cleaned HB_EXPORT usage

  * harbour/source/pp/ppcore.c
    ! fixed Harbour extension which allows to use match marker
      at the beginning of rule definition

  * harbour/source/main/harbour.c
    ! fixed hex conversion in FM log module - fix done by Phil Krylov
      in xHarbour

  * harbour/source/rdd/nulsys/nulsys.c
    + added dummy version of DBEVAL() and DBFILTER() - these functions
      are used in RTL

  * harbour/contrib/hbct/bitnum.c
    + added INTNEG(), INTPOS()

  + harbour/contrib/hbct/ctrand.prg
    + added RANDOM(), RAND() - borrowd from xHarbour by Pavel Tsarenko

  + harbour/contrib/hbct/setrc.c
    + added SETRC()

  * harbour/contrib/hbct/getinput.prg
    % minor optimization

  * harbour/contrib/hbct/Makefile
  * harbour/contrib/hbct/common.mak
    * updated for new files

  * harbour/contrib/hbnf/tempfile.prg
    * use HB_FTempCreate() - modification borrowed from xHarbour
      TOFIX this function uses hb_isbyref() which does not exist
      in Harbour

  * harbour/config/w32/msvc.cf
    + added -nologo flag for cl.exe (Phil Krylov's modification borrowed
      from xHarbour

  * harbour/config/w32/mingw32.cf
    - removed repeated definitions

  * harbour/config/w32/install.cf
    ! added alternative install rule for command.com with max line size limit
2008-01-09 14:04:12 +00:00
Przemyslaw Czerpak
11f489338e 2007-12-22 11:28 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-mkslib.sh
    + added -fPIC to GCC parameters - it's necessary on some platforms
    + use .sl suffix for shared library in HP-UX

  * harbour/bin/hb-func.sh
    + use .sl suffix for shared library in HP-UX

  * harbour/bin/postinst.bat
    * removed < > from email address

  * harbour/include/hbgtcore.h
  * harbour/source/rtl/gtkeycod.c
  * harbour/source/rtl/gtdos/gtdos.c
  * harbour/source/rtl/gtos2/gtos2.c
  * harbour/source/rtl/gtstd/gtstd.c
  * harbour/source/rtl/gtpca/gtpca.c
    * fixed typo in function name - it should be hb_gt_dos_keyCodeTranslate()
      not hb_gt_dos_keyCodeTanslate()

  * harbour/make_tgz.sh
    * updated for non GNU tar versions

  * harbour/ChangeLog
    * replaced TABs with SPACEs
2007-12-22 10:28:28 +00:00
Przemyslaw Czerpak
b9e3d16323 2007-12-21 18:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/pack_src.sh
    * try to detect GNU tar

  * harbour/make_xmingw.sh
    * added new default location for MinGW cross-compiler in Gentoo
      distribution
    * added auto detection of MinGW cross-compiler installation which
      should work in most cases when default location test fails

  * harbour/make_tgz.sh
    * try to detect GNU make and GNU tar

  * harbour/source/rtl/gtwvt/gtwvt.c
    * call hb_gt_wvt_InitWindow explicitly to eliminate problems
      with ignored WM_CREATE message when new window handler is not
      yet registered
2007-12-21 17:21:40 +00:00
Przemyslaw Czerpak
eec2a93fb0 2007-12-21 10:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    * added system libraries necessary for linking some of harbour
      contrib libs in WinCE
    * minor cleanup

  * harbour/source/rtl/gtxwc/gtxwc.c
    * added missing 'const' in declaration
2007-12-21 09:56:08 +00:00
Przemyslaw Czerpak
3bbdd3c965 2007-12-21 10:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    * respect -fPIC used to create Harbour binaries in default
      GCC switches used by hb* scripts
2007-12-21 09:05:41 +00:00
Viktor Szakats
e55e64405a 2007-12-17 21:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* bin/bld.bat
     ! %HB_USER_LIBS% (for bcc32) moved to the beginning of the lib list.

   * contrib/mtpl_b32.mak
     ! Fixed preprocessor error in line 190 when HB_INSTALL_PREFIX != HB_ROOT

   * source/rtl/getsys53.prg
   * source/rtl/getsys.prg
     ! Moved ReadStats() to getsys52.prg

   * ChangeLog
     ! Removed UTF-8 signature from the beginning of the file.
       Unfortunately accented chars got converted to UTF8, which 
       would need to fixed.
       Pritpal, please turn off this feature on your editor for Harbour.
2007-12-17 20:49:22 +00:00
Przemyslaw Czerpak
bbe276622b 2007-12-14 13:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    * force linking GT drivers in hb* scripts also when shared library
      is used
2007-12-14 12:48:26 +00:00
Przemyslaw Czerpak
cfb1e94b4e 2007-12-02 05:58 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    * updated for new contrib libraries names
2007-12-02 04:58:43 +00:00
Przemyslaw Czerpak
bfc607d9fb 2007-12-02 04:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/mouse53.c
    * do not include unnecessary header files

  * harbour/bin/pack_src.sh
    * changed packing procedure - now it does not scan chosen directories
      and files but all contents of all .svn/entries to extract files
      stores in SVN repository and then pack them - it's very good method
      to pack whole Harbour repository without .svn/* data and risk of
      packing local files.

  * harbour/harbour.spec
  * harbour/harbour-ce-spec
  * harbour/harbour-w32-spec
    * updated for recent changes in directory and library names
2007-12-02 03:00:51 +00:00
Przemyslaw Czerpak
a61c73f11d 2007-11-27 14:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    * inherit some parameters like -mlp{64,32}, -m{64,32} set in C_USR
      during build as default C compiler/linker switches in hb* scripts

  * harbour/config/w32/pocc.cf
    + added comdlg32.lib to linked library list

  * harbour/source/common/hbwince.c
    + added dummy FreeResource() function. This is a note from MSDN:
         FreeResource() is an obsolete function. It is provided for backward
         compatibility with 16-bit Windows applications. FreeResource() is
         not necessary for 32-bit Windows applications to free the resources
         loaded using LoadResource() function.

  * harbour/contrib/gtwvg/wvtutils.c
    + added workaround for wrong ChooseColorW() definition in header
      files include in last oficial relase (0.50) of MinGW32-CE

      Pritpal above finished modifications I was able to make using
      only pure MinGW32-CE 0.50. The following functions used by GTWVG
      are still missing:
         GetMenu(), SetMenu(),
         CreateBrushIndirect(),
         GetViewportOrgEx(),
         IsDlgButtonChecked(),
         OleLoadPicture(),
         TrackPopupMenu(),
      If you are sure that they exist in WinCE then simply create
      static import library for them or dynamic wrappers.
2007-11-27 13:47:57 +00:00
Przemyslaw Czerpak
dbf69c2c15 2007-11-27 00:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/pack_src.sh
    * updated for recent file name modifications

  * harbour/include/hbgtcore.h
  * harbour/source/rtl/gtclip.c
    * changed hb_gt_w32_SetClipboard() type from void to BOOL

  * harbour/source/rtl/gtstd/gtstd.c
  * harbour/source/rtl/gtpca/gtpca.c
    * added basic input support for DJGPP

  * harbour/contrib/gtwvg/gtwvt.c
    ! fixed memory leak and GPF trap

  * harbour/contrib/gtwvg/wvtutils.c
    ! rewritten and fixed CLIPBOARD functions - Pritpal this functions
      should be removed, they are redundant and works only in MS-Windows
    * make WVT__GETOPENFILENAME() and WVT__GETSAVEFILENAME() Unicode
      ready and fixed possible GPF trap
2007-11-26 23:13:01 +00:00
Przemyslaw Czerpak
029ef4ff41 2007-11-26 17:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/postinst.sh
    * workaround for missing 'install' command in some HP-UX versions

  * harbour/contrib/xhb/cstructc.c
    * casting for 64bit builds
2007-11-26 16:17:26 +00:00
Przemyslaw Czerpak
41520feb08 2007-11-26 14:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-mkslib.sh
  * harbour/bin/postinst.sh
    * set predefined CCPREFIX in cross build hb*-mkslib

  * harbour/make_xmingw.sh
    ! fixed BSD build cross build - problem noticed by Phil Krylov
      in xHarbour

  * harbour/source/rdd/dbffpt/dbffpt1.c
    * casting

  * 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
    * added support for HB_CRS_LIB envvar which allow to overload platform
      default [n]curses library name
2007-11-26 13:51:21 +00:00
Przemyslaw Czerpak
1834ead810 2007-11-26 09:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    ! fixed typo

  * harbour/contrib/gtwvg/gtwvt.c
    * use hb_strncpy() instead of strcpy()
2007-11-26 08:47:09 +00:00
Przemyslaw Czerpak
367e0d8a54 2007-11-22 04:33 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/harbour-ce-spec
  * harbour/harbour-w32-spec
  * harbour/make_rpmce.sh
  * harbour/make_rpmw32.sh
    * updated for removed ace.h

  * harbour/bin/pack_src.sh
    * updated for some recent modifications in contrib/pgsql
      TOFIX: it should be updated for all recent modifications in
      contrib and MS-Windows build scripts.

  * harbour/bin/hb-func.sh
    + added gtwvg to -gt* parameters in hb* scripts

  * harbour/contrib/Makefile
    + added gtwvg in W32 builds

  * harbour/contrib/xhb/hbcomprs.c
  * harbour/contrib/xhb/hbcomprs.h
    * cleaned some warnings

  * harbour/contrib/gtwvg/gtwvt.h
  * harbour/contrib/gtwvg/wvtutils.c
  * harbour/contrib/gtwvg/wvtpaint.prg
  * harbour/contrib/gtwvg/wvtwin.ch
  * harbour/contrib/gtwvg/wvtcore.c
  * harbour/contrib/gtwvg/gtwvt.c
  * harbour/contrib/gtwvg/Makefile
  * harbour/contrib/gtwvg/wvtclass.prg
    * set svn attributes:
         svn ps svn:eol-style native
         svn ps svn:keywords Id
      Pritpal please remember about it before you commit new files.
      For .bat files use
         svn ps svn:eol-style CRLF
      or better set default attribute in your SVN config file so you will
      not have to set it manually each time you are adding new file.
2007-11-22 03:34:28 +00:00