Commit Graph

11057 Commits

Author SHA1 Message Date
Viktor Szakats
4e153b2773 2009-06-21 20:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added iccia64 build example.

  * source/vm/fm.c
    + Added C++ new/delete operator override to hb_xgrab()/hb_xfree().
      Thanks to Xavi.
      Please make any required correction, I didn't do tests with it.

  * utils/hbmk2/hbmk2.prg
    + Added support for linux/icc compiler. (untested)
    ; Tested win/icc support (static exe, shared exe, lib, dll).
      It worked, except that in shared mode it will display this,
      when the MinGW built .dll is used (instead of its own):
      Unrecoverable error 9012: Can't locate the starting procedure: 'MAIN'
2009-06-21 18:56:11 +00:00
Pritpal Bedi
fdc7238eb9 2009-06-21 11:42 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbxbp/xbpcombobox.prg
    ! Changed inheritance to avoid duplicate objects.

  * harbour/contrib/hbxbp/xbpdataref.prg
    ! SetData() method normalized.

  * harbour/contrib/hbxbp/xbptabpage.prg
    ! Commented out hide(), show() calls. Not needed for QT.

  * harbour/contrib/hbxbp/xbpwindow.prg
    ! Optimizations.

  * harbour/contrib/hbxbp/xbptreeview.prg
    + Implemented XbpTreeView() class - a work-in-progress but basics working.

  * harbour/contrib/hbxbp/tests/demoxbp.prg
    + Demonstrated XbpTreeView() implementation. Please review.
2009-06-21 18:49:43 +00:00
Viktor Szakats
2d4dab5875 2009-06-21 13:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * make_gnu.bat
  * utils/hbmk2/hbmk2.prg
    * Updated to reflect new mingw w64 CCPREFIX. It's now in
      "prerelease" state (formerly "experimental")

  * INSTALL
    ! Added missing HB_CCPREFIX for mingw64 and mingwarm examples.
2009-06-21 11:15:20 +00:00
Viktor Szakats
1192b4ac32 2009-06-21 12:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/binnumx.c
  * contrib/xpp/binnumx.c
    + Added F2BIN() and BIN2F() Xbase++ functions.
      Code is the same as FTOC() and CTOF() in hbct.
2009-06-21 10:55:59 +00:00
Viktor Szakats
dc7ac1505a 2009-06-21 12:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbxbp/xbp.ch
    + Fixed non-debug branch to work in both normal code and codeblocks.
      Thanks Przemek.
    * Changed debug macro to generate portable HB_TRACESTRING() calls
      by default. This is very easy to use in default Harbour builds.
      To enable it's enough to set HB_TR_OUTPUT to the output filename
      to be used by trace calls:
         set HB_TR_OUTPUT=trace.log
      NOTE to Pritpal: To keep using special Windows debug output you
                       need to also add -D__HB_WINDEBUG__ to HB_USER_PRGFLAGS.
    ; TODO: Would it be possible to add timestamp to our HB_TRACE()
            calls? At least the user level (HB_TRACESTRING()) ones,
            if that would make low level too slow.

  * contrib/hbxbp/tests/demoxbp.prg
    + Readded HB_OUTDEBUG() calls.
2009-06-21 10:50:28 +00:00
Viktor Szakats
69d54317ab 2009-06-21 11:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbxbp/xbp.ch
    ! Restored non-debug behavior due to other problems.
      Now it won't work in codeblock though.

  * contrib/hbxbp/tests/demoxbp.prg
    ! Deleted debug calls from codeblocks in the meantime.
2009-06-21 09:06:06 +00:00
Viktor Szakats
a1e51d358e 2009-06-21 10:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbxbp/xbp.ch
    ! Fixed for non-debug. Currently it's suboptimal as non-debug
      mode will generate extra code in binaries.
    ; TOFIX
    + Added non-Windows specific debug mode by enabling __HB_NOWINDEBUG__
      macro. This may change in the future to the default, also
      names may change in the future.

  * contrib/hbqt/hbqt_utils.cpp
    * hb_par*() -> hb_parv*()

  * utils/hbmk2/hbmk2.prg
    % Minor opt to prev.
2009-06-21 08:35:58 +00:00
Viktor Szakats
b9bbb2161f 2009-06-21 08:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/vm/extend.c
    * Minor formatting.

  * source/rtl/mlcfunc.c
    ! Fixed warning in HB_C52_STRICT mode.

  * contrib/hbxbp/xbp.ch
    ! Fixed HB_OUTDEBUG() macro to work also in codeblocks when
      not in debug mode, and also to better handle the case when
      parameter is a variable.

  * ChangeLog
    + Added incompat NOTE to hb_par*/hb_stor*() change.
2009-06-21 06:30:30 +00:00
Przemyslaw Czerpak
73fe9dd917 2009-06-21 07:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/mlcfunc.c
    ! fixed missing ulLen declaration in if() branch
    % restored a little bit optimized Viktor's code - now it's safe to
      call hb_par*() expecting default value on wrong type even if given
      parameter is array
2009-06-21 05:05:20 +00:00
Pritpal Bedi
e9e02b01f5 2009-06-20 21:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbxbp/Makefile
  * harbour/contrib/hbxbp/xbp.ch
  + harbour/contrib/hbxbp/xbpcombobox.prg
  * harbour/contrib/hbxbp/xbpdataref.prg
  * harbour/contrib/hbxbp/xbpsle.prg
  + harbour/contrib/hbxbp/xbptreeview.prg
  * harbour/contrib/hbxbp/xbpwindow.prg
    + Implemented XbpComboBox() class.
    + Added XbpTreeView() class skelton.

  * harbour/contrib/hbxbp/tests/demoxbp.prg
    + Demonstrated XbpComboBox() implementation.

    NOTE:  I am not sure about the way I am simulating Xbase++
           class behavior. Can someone review xbpcombobox.prg 
           and see if this can be improved. I am not well equipped
           as far as classes can be exploited to full extent.
2009-06-21 04:10:13 +00:00
Pritpal Bedi
1cd55e6b4f 2009-06-20 21:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/hbqt_slots.cpp
    ! A fix non-sense.
2009-06-21 04:02:56 +00:00
Przemyslaw Czerpak
68c738b9ba 2009-06-20 22:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi.h
  * harbour/source/vm/extend.c
    * renamed existing hb_par*() and hb_stor*() functions which supports
      variable number of parameters (...) into hb_parv*() and hb_storv*()
    * added new hb_par*() and hb_stor*() functions which use strict number
      of parameters. New hb_par*() functions do not make hidden conversion
      between types, f.e. hb_parl() returns 1 only for logical parameters
      which contain .T.

  * harbour/include/extend.api
    * map Clipper _par*() functions to hb_parv*()
    * map Clipper _stor*() functions to hb_storv*()

  * harbour/source/vm/dynsym.c
  * harbour/source/vm/hvm.c
  * harbour/source/vm/maindllp.c
  * harbour/source/vm/thread.c
  * harbour/source/vm/classes.c
  * harbour/source/rtl/cdpapi.c
  * harbour/source/rtl/mlcfunc.c
  * harbour/contrib/hbnf/dispc.c
  * harbour/contrib/hbnf/mouse.c
  * harbour/contrib/hbnf/getenvrn.c
  * harbour/contrib/hbhpdf/harupdf.c
  * harbour/contrib/gtwvg/wvgcuig.c
  * harbour/contrib/gtwvg/wvgwin.c
  * harbour/contrib/gtwvg/wvgutils.c
  * harbour/contrib/gtwvg/wvgcore.c
  * harbour/contrib/gtwvg/wvgwing.c
  * harbour/contrib/rddads/adsfunc.c
  * harbour/contrib/rddads/ads1.c
  * harbour/contrib/rddads/adsmgmnt.c
  * harbour/contrib/hbmisc/hb_f.c
  * harbour/contrib/hbwin/wapi_commctrl.c
    * replaced hb_par*() and hb_stor*() calls used with additional parameters
      by hb_parv*() and hb_storv*()
    TODO: update examples/hbwhat/*.c files

  * harbour/examples/uhttpd2/socket.c
  * harbour/examples/httpsrv/socket.c
    * changed hb_parni() to hb_parnidef()

  * harbour/source/vm/itemapi.c
    * removed some conversion which are not necessary for CA-Cl*pper
      compatibility

  * harbour/source/macro/macrolex.c
    * replaced HB_LEX_IS*() macros by by HB_IS*() ones
2009-06-20 20:25:26 +00:00
Pritpal Bedi
7f85d980ce 2009-06-20 12:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbxbp/xbpdataref.prg
  + harbour/contrib/hbxbp/xbpspinbutton.prg
  * harbour/contrib/hbxbp/xbptoolbar.prg
    + Added XbpSpinButton() class [P] Two features left.

  * harbour/contrib/hbxbp/tests/demoxbp.prg
    + Demoonstrated XbpSpinButton() implementation - Click Tab#3
2009-06-20 19:04:26 +00:00
Viktor Szakats
fe9ab29884 2009-06-20 20:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/vm/fm.c
    ! Renamed s_fInited to s_fInitedFM to avoid collision 
      with similarly named variable in estack.c when using
      HB_FM_STATISTICS and HB_HVM_ALL at the same time.
      Thanks Xavi for the find.
2009-06-20 18:31:57 +00:00
Viktor Szakats
6e495cb274 2009-06-20 20:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/mlcfunc.c
    ! Fixed after prev optimization. (some optimizations 
      were kept, but with no change of functionality)
2009-06-20 18:11:03 +00:00
Viktor Szakats
1773bd8474 2009-06-20 17:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added experimental filename escaping for *nix systems.
      Currently only space is escaped. I'd like to ask *nix
      users to make that complete.
      TODO: For speed and completeness, maybe such escaping (quoting) 
            function would come handy in RTL. Przemek, it would be 
            great if you could add one if you agree.
      TODO: It should also be enabled for linux/watcom, but
            I cannot test this.
    ! Minor addition to Windows escaping in ArrayToList().
2009-06-20 15:28:27 +00:00
Viktor Szakats
5b9c36c33a 2009-06-20 16:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    % Reworked space in filename support to be generic. Now all
      Windows compilers have it turned on, and this is the only
      mode of escaping currently implemented (it may also need
      to be revised).
      For MinGW it's only turned on when host and target are
      both Windows. Notice that MinGW has a few bugs regarding
      filename handling, which means you cannot use spaces
      in Harbour install path when also using input resource
      files and you cannot use spaces as input lib names.
    + Added space in filename support for external Harbour
      compiler.
    ! Fixed not to create working dir, if it's set empty.
    * Minor formatting/cleanup.
2009-06-20 14:59:38 +00:00
Viktor Szakats
85a8bd7753 2009-06-20 12:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added win/pocc* and win/watcom support for input/output
      filenames containing spaces.

  * contrib/hbxbp/tests/demoxbp.prg
    ! Fixed a warning.

  * ChangeLog
    * Item marked DONE.
2009-06-20 10:16:47 +00:00
Pritpal Bedi
d3ac42364f 2009-06-20 14:40 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbxbp/Makefile
     ! Deleted files were not deleted from make tree.
2009-06-20 09:48:24 +00:00
Pritpal Bedi
659c40fde6 2009-06-20 14:40 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
- harbour/contrib/hbxbp/apig.ch
  - harbour/contrib/hbxbp/xbp_temp.prg
    - Delted dummy constants and functions.

  * harbour/contrib/hbxbp/Makefile
  * harbour/contrib/hbxbp/xbp.ch
  * harbour/contrib/hbxbp/xbp3state.prg
  * harbour/contrib/hbxbp/xbpcheckbox.prg
  * harbour/contrib/hbxbp/xbpdataref.prg
  * harbour/contrib/hbxbp/xbpdialog.prg
  * harbour/contrib/hbxbp/xbpgeneric.prg
  * harbour/contrib/hbxbp/xbplistbox.prg
  * harbour/contrib/hbxbp/xbpmenubar.prg
  + harbour/contrib/hbxbp/xbpmle.prg
  * harbour/contrib/hbxbp/xbpparthandler.prg
  * harbour/contrib/hbxbp/xbppushbutton.prg
  * harbour/contrib/hbxbp/xbpradiobutton.prg
  * harbour/contrib/hbxbp/xbpscrollbar.prg
  * harbour/contrib/hbxbp/xbpsle.prg
  * harbour/contrib/hbxbp/xbpstatusbar.prg
  * harbour/contrib/hbxbp/xbptabpage.prg
  * harbour/contrib/hbxbp/xbptoolbar.prg
  * harbour/contrib/hbxbp/xbpwindow.prg
    ! Cleaned classes from dummy constants and functions.
    + Implemented XhbMLE() class - a work-in-progress but mainly functional.

  * harbour/contrib/hbxbp/tests/demoxbp.prg
    ! Demonstrated XbpMLE() implementation - click on tab#2.
2009-06-20 09:45:54 +00:00
Pritpal Bedi
d3f4feb905 2009-06-20 14:34 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/hbqt.ch
  * harbour/contrib/hbqt/hbqt_qlineedit.cpp
  * harbour/contrib/hbqt/moc_slots.cpp
  * harbour/contrib/hbqt/TQLineEdit.prg
    + Added few more constants.
    ! QLineEdit() - removed experimental function
2009-06-20 09:40:15 +00:00
Viktor Szakats
501f87d383 2009-06-20 11:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added support for input/output filenames containing spaces.
      Only for msvc and bcc so far.
    ! Fixed to always delete target lib in -hblib + non-incremental mode
      before creating it.
    + Small miracles of life: Microsoft finally added /nologo switch to
      resource compiler in MSVC 2010. Hard to believe, but true. Now
      I'll have to find out what method to use to detect C compiler
      version to enable it.
    + Support for HB_COMPILER_VER envvar to tell hbmk2 what C compiler
      version is expected. Currently only used with MSVC targets.
      Use values like:
        - 710  (for MSVC .NET 2003)
        - 800  (for MSVC 2005)
        - 900  (for MSVC 2008)
        - 1000 (for MSVC 2010)
      The generic format is <99><99>[.<99>] as <major><minor>[.<revision>].
      That makes BCC 5.5.1 '505.1' or shortly '505'.
      Currently the only situation where such switch is necessary is when
      using pre-8.0 MSVC versions, so most users don't have to bother with
      this for now.
      NOTE: Harbour GNU Make compatible HB_VISUALC_VER_PRE80 envvar still
            supported to stay uniform.
    + Added /nologo switch to MSVC lib command.
    ! Protect against adding internally inherited C compiler switches,
      if they are already on the switch list.

  * tests/testhrb.prg
    ! Adapted to latest hbhrb.ch changes.

  * tests/setkeys.prg
    * Minor formatting.
2009-06-20 09:37:56 +00:00
Viktor Szakats
0481f153d7 2009-06-20 04:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbxbp/xbp.ch
  * contrib/hbxbp/xbpscrollbar.prg
  * contrib/hbxbp/xbpsle.prg
  * contrib/hbxbp/xbplistbox.prg
  * contrib/hbxbp/xbpcheckbox.prg
  * contrib/hbxbp/xbpradiobutton.prg
  * contrib/hbxbp/xbptabpage.prg
  * contrib/hbxbp/xbpwindow.prg
  * contrib/hbxbp/xbpstatusbar.prg
  * contrib/hbxbp/xbppushbutton.prg
    * Moved these constants to HBXBP_ namespace as they
      don't seem to be defined by Xbase++:
      - EVENT_HANDELLED   -> HBXBP_EVENT_HANDLED
      - EVENT_UNHANDELLED -> HBXBP_EVENT_UNHANDLED
    ! Using manifest constants instead of literals.
    ; TOFIX: AFAICS these macros and headers are also not Xbase++ ones:
             - apig.ch
             - DA_MODE
             - objType*
             If so, these should be resolved.
2009-06-20 02:59:33 +00:00
Viktor Szakats
fd55099918 2009-06-20 04:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_slots.cpp
    ! Deleted readded windows.h.
    ; QUESTION: Is there any way to enforce such headers aren't
                included in these portable sources?

  * contrib/hbxbp/hbxbp.hbc
    ! Deleted hbwin lib.
    ; Pritpal, please use some other means to add hbwin.
      hbxbp is a portable lib, so it mustn't depend on hbwin.
      Use HB_USER_LIBS envvar, or pass it via command line, 
      use a local batch file, or add a local .hbc file in 
      your test dir with 'libs=hbwin' line only. These 
      will not cause problems for other users and will add 
      hbwin lib in your local environment.
2009-06-20 02:41:38 +00:00
Pritpal Bedi
d3008c0369 2009-06-19 19:32 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbxbp/hbxbp.hbc
  * harbour/contrib/hbxbp/Makefile
  * harbour/contrib/hbxbp/xbpdataref.prg
  * harbour/contrib/hbxbp/xbpgeneric.prg
  + harbour/contrib/hbxbp/xbpsle.prg
  * harbour/contrib/hbxbp/xbpwindow.prg
  * harbour/contrib/hbxbp/tests/demoxbp.prg
    + Implemented XbpSLE() class. This implementation is almost
      95% identical to Xbase++. One or two features remain to be implemented.
      Please test and report back the differences.
2009-06-20 02:35:45 +00:00
Pritpal Bedi
a24b9de5bd 2009-06-19 19:23 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/generator/qt45.qtp
  * harbour/contrib/hbqt/hbqt.ch
  * harbour/contrib/hbqt/hbqt.h
  + harbour/contrib/hbqt/hbqt_qfocusevent.cpp
  * harbour/contrib/hbqt/hbqt_qlineedit.cpp
  * harbour/contrib/hbqt/hbqt_slots.cpp
  * harbour/contrib/hbqt/hbqt_slots.h
  * harbour/contrib/hbqt/Makefile_gen
  * harbour/contrib/hbqt/moc_slots.cpp
  + harbour/contrib/hbqt/TQFocusEvent.prg
  * harbour/contrib/hbqt/TQLineEdit.prg
  + harbour/contrib/hbqt/qth/QFocusEvent.qth
    + Added one more class and tweaked others.
    + Added generic event handler ( Code provided by Marcos Gambeta - thanks )
      Event handler code has been optimized to free memory and be reusable.
2009-06-20 02:31:42 +00:00
Viktor Szakats
60243735d5 2009-06-20 04:22 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/mlcfunc.c
    % Minor optimization to EOL parameter handling.
      Please review.

  * source/rtl/dates.c
    ! Fixed warning with cast.

  * contrib/hbwin/win_misc.c
    + Enabled WIN_LOWORD(), WIN_HIWORD(). Added casts.

  - examples/wxh
    - Deleted empty dir. Will readd when moving wxh lib here.
2009-06-20 02:28:33 +00:00
Przemyslaw Czerpak
e1709d1fff 2009-06-20 03:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/runner.c
    ! fixed possible static function overloading
2009-06-20 01:47:28 +00:00
Viktor Szakats
393d6086f2 2009-06-19 23:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + .hbl files will be created relative to target executable
      directory if it was specified. If not, it will be created 
      relative to .hbm file dir, or hbmk2 launch dir (as before).
2009-06-19 21:07:11 +00:00
Viktor Szakats
66126cd394 2009-06-19 22:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/darwin/gcc.cf
    ! LIBTOOHB_USER_LDFLAGS -> HB_USER_AFLAGS
2009-06-19 20:05:14 +00:00
Viktor Szakats
e883b1facd 2009-06-19 21:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Enabled 'comp' subdir for embedded C compiler storage
      (on Windows / DOS / possibly OS/2).
2009-06-19 19:57:32 +00:00
Viktor Szakats
a45d744067 minor fix 2009-06-19 19:42:26 +00:00
Viktor Szakats
c9c3599fcd Added gsar link:
http://gnuwin32.sourceforge.net/packages/gsar.htm
2009-06-19 19:36:19 +00:00
Viktor Szakats
18366ab92a 2009-06-19 21:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtwvg/wvgscrlb.prg
  * contrib/gtwvg/wvgclass.prg
  * contrib/gtwvg/wvgdlg.prg
  * contrib/gtwvg/wvgax.prg
  * contrib/gtwvg/wvgpaint.prg
  * contrib/gtwvg/wvgdarea.prg
  * contrib/gtwvg/wvgmle.prg
  * contrib/gtwvg/wvglistb.prg
  * contrib/gtwvg/wvgtoolb.prg
  * contrib/gtwvg/wvgpushb.prg
  * contrib/gtwvg/wvgsle.prg
  * contrib/gtwvg/wvgtreev.prg
  * contrib/gtwvg/wvgwin.c
  * contrib/gtwvg/tests/demoxbp.prg
  * contrib/gtwvg/tests/demowvg.prg
  * contrib/gtwvg/wvgcrt.prg
  * contrib/gtwvg/wvgwnd.prg
  * contrib/gtwvg/wvgutils.c
  * contrib/gtwvg/wvgdatar.prg
  * contrib/gtwvg/wvgradio.prg
  * contrib/gtwvg/wvgsysw.prg
  * contrib/gtwvg/wvgmenub.prg
  * contrib/gtwvg/wvgphdlr.prg
  * contrib/gtwvg/wvgbitmp.prg
  * contrib/gtwvg/wvgcheck.prg
  * contrib/gtwvg/wvgstatb.prg
  * contrib/gtwvg/wvgstatc.prg
  * contrib/gtwvg/wvgtabpg.prg
  * contrib/gtwvg/wvg3stat.prg
    * Renamed WIN_* namespace functions to WVG_* namespace.
      (CamelCase retained)
    ! Fixed WIN_SETBKMODE() being used from hbwin lib in tests.
    % Deleted hbwin lib dependency from tests.
    ; TODO: Rewrite wvgwin.c content to comply with general WAPI
            guidlines and move them to hbwin. All this is optional,
            but it would help reducing redunancy and providing
            better Windows API.
    ; NOTE: Incompatible. Pls use this script to convert your source:
      ---
      gsar -i -o -sWIN_SENDMESSAGE(                -rWVG_SendMessage(                *.prg
      gsar -i -o -sWIN_SENDDLGITEMMESSAGE(         -rWVG_SendDlgItemMessage(         *.prg
      gsar -i -o -sWIN_SETTIMER(                   -rWVG_SetTimer(                   *.prg
      gsar -i -o -sWIN_SETFOCUS(                   -rWVG_SetFocus(                   *.prg
      gsar -i -o -sWIN_SETTEXTCOLOR(               -rWVG_SetTextColor(               *.prg
      gsar -i -o -sWIN_SETBKCOLOR(                 -rWVG_SetBkColor(                 *.prg
      gsar -i -o -sWIN_SETBKMODE(                  -rWVG_SetBkMode(                  *.prg
      gsar -i -o -sWIN_GETSTOCKOBJECT(             -rWVG_GetStockObject(             *.prg
      gsar -i -o -sWIN_DELETEOBJECT(               -rWVG_DeleteObject(               *.prg
      gsar -i -o -sWIN_SELECTOBJECT(               -rWVG_SelectObject(               *.prg
      gsar -i -o -sWIN_LOWORD(                     -rWVG_LOWORD(                     *.prg
      gsar -i -o -sWIN_HIWORD(                     -rWVG_HIWORD(                     *.prg
      gsar -i -o -sWIN_MULDIV(                     -rWVG_MulDiv(                     *.prg
      gsar -i -o -sWIN_GETDIALOGBASEUNITS(         -rWVG_GetDialogBaseUnits(         *.prg
      gsar -i -o -sWIN_SETDLGITEMTEXT(             -rWVG_SetDlgItemText(             *.prg
      gsar -i -o -sWIN_GETDLGITEMTEXT(             -rWVG_GetDlgItemText(             *.prg
      gsar -i -o -sWIN_CHECKDLGBUTTON(             -rWVG_CheckDlgButton(             *.prg
      gsar -i -o -sWIN_ISDLGBUTTONCHECKED(         -rWVG_IsDlgButtonChecked(         *.prg
      gsar -i -o -sWIN_CHECKRADIOBUTTON(           -rWVG_CheckRadioButton(           *.prg
      gsar -i -o -sWIN_GETDLGITEM(                 -rWVG_GetDlgItem(                 *.prg
      gsar -i -o -sWIN_MESSAGEBOX(                 -rWVG_MessageBox(                 *.prg
      gsar -i -o -sWIN_INVALIDATERECT(             -rWVG_InvalidateRect(             *.prg
      gsar -i -o -sWIN_LOADICON(                   -rWVG_LoadIcon(                   *.prg
      gsar -i -o -sWIN_LOADIMAGE(                  -rWVG_LoadImage(                  *.prg
      gsar -i -o -sWIN_GETCLIENTRECT(              -rWVG_GetClientRect(              *.prg
      gsar -i -o -sWIN_DRAWIMAGE(                  -rWVG_DrawImage(                  *.prg
      gsar -i -o -sWIN_GETDC(                      -rWVG_GetDC(                      *.prg
      gsar -i -o -sWIN_RELEASEDC(                  -rWVG_ReleaseDC(                  *.prg
      gsar -i -o -sWIN_CREATEBRUSH(                -rWVG_CreateBrush(                *.prg
      gsar -i -o -sWIN_DRAWTEXT(                   -rWVG_DrawText(                   *.prg
      gsar -i -o -sWIN_GETWINDOWRECT(              -rWVG_GetWindowRect(              *.prg
      gsar -i -o -sWIN_MOVEWINDOW(                 -rWVG_MoveWindow(                 *.prg
      gsar -i -o -sWIN_GETDESKTOPWINDOW(           -rWVG_GetDesktopWindow(           *.prg
      gsar -i -o -sWIN_SETPARENT(                  -rWVG_SetParent(                  *.prg
      gsar -i -o -sWIN_BRINGWINDOWTOTOP(           -rWVG_BringWindowToTop(           *.prg
      gsar -i -o -sWIN_SETFOREGROUNDWINDOW(        -rWVG_SetForeGroundWindow(        *.prg
      gsar -i -o -sWIN_SETWINDOWTEXT(              -rWVG_SetWindowText(              *.prg
      gsar -i -o -sWIN_SETWINDOWLONG(              -rWVG_SetWindowLong(              *.prg
      gsar -i -o -sWIN_ISWINDOW(                   -rWVG_IsWindow(                   *.prg
      gsar -i -o -sWIN_ENABLEWINDOW(               -rWVG_EnableWindow(               *.prg
      gsar -i -o -sWIN_DESTROYWINDOW(              -rWVG_DestroyWindow(              *.prg
      gsar -i -o -sWIN_CLIENTTOSCREEN(             -rWVG_ClientToScreen(             *.prg
      gsar -i -o -sWIN_SCREENTOCLIENT(             -rWVG_ScreenToClient(             *.prg
      gsar -i -o -sWIN_AND(                        -rWVG_And(                        *.prg
      gsar -i -o -sWIN_OR(                         -rWVG_Or(                         *.prg
      gsar -i -o -sWIN_NOT(                        -rWVG_Not(                        *.prg
      gsar -i -o -sWIN_TRACKPOPUPMENU(             -rWVG_TrackPopupMenu(             *.prg
      gsar -i -o -sWIN_CHOOSECOLOR(                -rWVG_ChooseColor(                *.prg
      gsar -i -o -sWIN_FINDWINDOW(                 -rWVG_FindWindow(                 *.prg
      gsar -i -o -sWIN_SLEEP(                      -rWVG_Sleep(                      *.prg
      gsar -i -o -sWIN_SETMENU(                    -rWVG_SetMenu(                    *.prg
      gsar -i -o -sWIN_CREATEMENU(                 -rWVG_CreateMenu(                 *.prg
      gsar -i -o -sWIN_CREATEPOPUPMENU(            -rWVG_CreatePopupMenu(            *.prg
      gsar -i -o -sWIN_APPENDMENU(                 -rWVG_AppendMenu(                 *.prg
      gsar -i -o -sWIN_DELETEMENU(                 -rWVG_DeleteMenu(                 *.prg
      gsar -i -o -sWIN_DESTROYMENU(                -rWVG_DestroyMenu(                *.prg
      gsar -i -o -sWIN_ENABLEMENUITEM(             -rWVG_EnableMenuItem(             *.prg
      gsar -i -o -sWIN_CHECKMENUITEM(              -rWVG_CheckMenuItem(              *.prg
      gsar -i -o -sWIN_DRAWMENUBAR(                -rWVG_DrawMenuBar(                *.prg
      gsar -i -o -sWIN_UPDATEWINDOW(               -rWVG_UpdateWindow(               *.prg
      gsar -i -o -sWIN_SHOWWINDOW(                 -rWVG_ShowWindow(                 *.prg
      gsar -i -o -sWIN_MAKELPARAM(                 -rWVG_MAKELPARAM(                 *.prg
      gsar -i -o -sWIN_CREATEWINDOWEX(             -rWVG_CreateWindowEx(             *.prg
      gsar -i -o -sWIN_SENDMESSAGETEXT(            -rWVG_SendMessageText(            *.prg
      gsar -i -o -sWIN_GETMESSAGETEXT(             -rWVG_GetMessageText(             *.prg
      gsar -i -o -sWIN_SETWNDPROC(                 -rWVG_SetWndProc(                 *.prg
      gsar -i -o -sWIN_DEFWINDOWPROC(              -rWVG_DefWindowProc(              *.prg
      gsar -i -o -sWIN_CALLWINDOWPROC(             -rWVG_CallWindowProc(             *.prg
      gsar -i -o -sWIN_TREEVIEW_SETTEXTCOLOR(      -rWVG_TreeView_SetTextColor(      *.prg
      gsar -i -o -sWIN_TREEVIEW_SETBKCOLOR(        -rWVG_TreeView_SetBkColor(        *.prg
      gsar -i -o -sWIN_TREEVIEW_SETLINECOLOR(      -rWVG_TreeView_SetLineColor(      *.prg
      gsar -i -o -sWIN_TREEVIEW_SELECTITEM(        -rWVG_TreeView_SelectItem(        *.prg
      gsar -i -o -sWIN_TREEVIEW_EXPAND(            -rWVG_TreeView_Expand(            *.prg
      gsar -i -o -sWIN_TVIS_EXPANDED(              -rWVG_TVIs_Expanded(              *.prg
      gsar -i -o -sWIN_LBGETTEXT(                  -rWVG_LBGetText(                  *.prg
      gsar -i -o -sWIN_LBGETCURSEL(                -rWVG_LBGetCurSel(                *.prg
      gsar -i -o -sWIN_LBSETCURSEL(                -rWVG_LBSetCurSel(                *.prg
      gsar -i -o -sWIN_BUTTON_GETCHECK(            -rWVG_Button_GetCheck(            *.prg
      gsar -i -o -sWIN_ISICONIC(                   -rWVG_IsIconic(                   *.prg
      gsar -i -o -sWIN_ISZOOMED(                   -rWVG_IsZoomed(                   *.prg
      gsar -i -o -sWIN_SETDCBRUSHCOLOR(            -rWVG_SetDCBrushColor(            *.prg
      gsar -i -o -sWIN_SETDCPENCOLOR(              -rWVG_SetDCPenColor(              *.prg
      gsar -i -o -sWIN_GETCURRENTOBJECT(           -rWVG_GetCurrentObject(           *.prg
      gsar -i -o -sWIN_GETCURRENTBRUSH(            -rWVG_GetCurrentBrush(            *.prg
      gsar -i -o -sWIN_GETCURRENTFONT(             -rWVG_GetCurrentFont(             *.prg
      gsar -i -o -sWIN_SETWINDOWPOSTOBACK(         -rWVG_SetWindowPosToBack(         *.prg
      gsar -i -o -sWIN_SETWINDOWPOSTOTOP(          -rWVG_SetWindowPosToTop(          *.prg
      gsar -i -o -sWIN_SETWINDOWSIZE(              -rWVG_SetWindowSize(              *.prg
      gsar -i -o -sWIN_SETWINDOWPOSITION(          -rWVG_SetWindowPosition(          *.prg
      gsar -i -o -sWIN_SETWINDOWPOSANDSIZE(        -rWVG_SetWindowPosAndSize(        *.prg
      gsar -i -o -sWIN_SETLAYEREDWINDOWATTRIBUTES( -rWVG_SetLayeredWindowAttributes( *.prg
      gsar -i -o -sWIN_SENDTOOLBARMESSAGE(         -rWVG_SendToolbarMessage(         *.prg
      ---
2009-06-19 19:30:07 +00:00
Viktor Szakats
e5f3723ba0 2009-06-19 20:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbhrb.ch
    ! Minor typo in comment.

  * contrib/gtwvg/Makefile
  * contrib/gtwvg/wvgwin.c
  + contrib/gtwvg/wvgwing.c
    * Moved WVG_* prefixed functions to separate file.
2009-06-19 18:51:26 +00:00
Przemyslaw Czerpak
7abda8c763 2009-06-19 18:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbhrb.ch
  * harbour/source/vm/runner.c
    + added support for HB_HRB_BIND_LAZY flag.
      Lazy binding with public external functions allows to load .hrb files
      with unresolved or cross function references.
2009-06-19 16:38:54 +00:00
April White
0445183365 2009-06-19 10:48 UTC+0600 April White (april users.sourceforge.net)
* contrib\hbblat\blatcls.prg
    * PROCEDURE Check() CLASS HBBlat -> METHOD returning Self
  * contrib\hbgd\gdimage.prg
    * PROCEDURE Destruct() CLASS GDImage -> METHOD returning NIL
  * contrib\xhb\hblog.prg
    * PROCEDURE Open() CLASS HB_Logger -> METHOD returning Self
    * PROCEDURE Close() CLASS HB_Logger -> METHOD returning Self
    * PROCEDURE Log( cMessage, nPriority ) CLASS HB_Logger -> METHOD returning Self
    * PROCEDURE Log( nStyle, cMessage, cName, nPriority ) CLASS HB_LogChannel -> METHOD returning Self
    * PROCEDURE Send( nStyle, cMessage, cName, nPriority ) CLASS HB_LogConsole -> METHOD returning Self
    * PROCEDURE Send( nStyle, cMessage, cName, nPriority ) CLASS HB_LogDebug -> METHOD returning Self
  * contrib\xhb\stream.prg
    * PROCEDURE CopyTo( oTargetStream ) CLASS TStream -> METHOD returning Self
    * PROCEDURE Finalize CLASS TStreamFileReader -> METHOD returning NIL
    * PROCEDURE Finalize CLASS TStreamFileWriter -> METHOD returning NIL
    * PROCEDURE WriteByte( cByte ) CLASS TStreamFileWriter -> METHOD returning Self
  * contrib\xhb\ttable.prg
    * PROCEDURE GET() CLASS HBRecord -> METHOD returning Self
    * PROCEDURE Put() CLASS HBRecord -> METHOD returning Self
    * PROCEDURE DBMove( nDirection ) CLASS HBTable -> METHOD returning Self
    * PROCEDURE READ( lKeepBuffer ) CLASS HBTable -> METHOD returning Self
    * PROCEDURE ReadBlank( lKeepBuffer ) CLASS HBTable -> METHOD returning Self
    * PROCEDURE AddField( f, t, l, d ) CLASS HBTable -> METHOD returning Self
    * PROCEDURE Gentable() CLASS HBTable -> METHOD returning Self
    * PROCEDURE Create() CLASS HBOrder -> METHOD returning Self
2009-06-19 14:53:40 +00:00
April White
5d12fe83f7 2009-06-19 10:16 UTC+0600 April White (april users.sourceforge.net)
* ChangeLog
   * contrib/hbbtree/doc/hb_btree.txt
   * contrib/hbbtree/hb_btree.c
   * contrib/hbbtree/hb_btree.ch
   * contrib/hbbtree/hb_btree.h
   * contrib/hbbtree/tbtree.prg
   * contrib/hbbtree/tests/ctest.c
   * contrib/hbbtree/tests/test.prg
   * contrib/hbbtree/tests/ttest.prg
   * doc/en-EN/set.txt
   * source/compiler/hbusage.c
   * source/rtl/setkey.c
   * tests/setkeys.prg
      * changed my email address
2009-06-19 14:26:20 +00:00
April White
ae479142ed 2009-06-19 09:52 UTC+0600 April White (april users.sourceforge.net)
* contrib/hbblat/blatcls.prg
  * contrib/hbgd/gdimage.prg
  * contrib/xhb/hblog.prg
  * contrib/xhb/stream.prg
  * contrib/xhb/ttable.prg
    * reverted to 'procedure' declaration as methods fail to compile without
      a return value; will address this within the new hbextern
2009-06-19 13:55:32 +00:00
April White
ae54dc1252 2009-06-19 09:20 UTC+0600 April White (april@users.sourceforge.net)
* contrib/hbblat/blatcls.prg
  * contrib/hbgd/gdimage.prg
  * contrib/xhb/hblog.prg
  * contrib/xhb/stream.prg
  * contrib/xhb/ttable.prg
    * Declare class methods indicated as procedure
2009-06-19 13:21:54 +00:00
Viktor Szakats
2ee89d24cf 2009-06-19 15:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/darwin/gcc.cf
    ! Fixed a hard-wired 'cc' to be $(HB_CMP)
2009-06-19 13:18:55 +00:00
Viktor Szakats
cebc3f8997 2009-06-19 15:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/hb-mkdyn.sh
    ! Fixed to not use HB_CCPREFIX for libtool command.

  * utils/hbmk2/hbmk2.prg
    ! Fixed typo in libtool cmd.

  * ChangeLog
    * Items marked DONE.
2009-06-19 13:15:14 +00:00
Viktor Szakats
8a01b5de4c 2009-06-19 15:03 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/darwin/gcc.cf
    * Changed to use 'gcc' as compiler name like on other platforms 
      and in hbmk2.
      For old Darwin systems it may need to be redefined to 'cc' using 
      export HB_CMP=cc.
2009-06-19 13:03:45 +00:00
Viktor Szakats
2afa463b34 2009-06-19 14:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added basic HB_CCPOSTFIX support.
    + Switched to use libtool (instead of ar) on darwin.
      (to be tested after commit)

  * config/darwin/gcc.cf
    + Added HB_CCPREFIX support.
    + Added HB_CCPOSTFIX support.
    ; Only needed for cc/gcc.

  * config/linux/gcc.cf
    + Added HB_CCPREFIX support.
2009-06-19 12:52:14 +00:00
Viktor Szakats
9500012b64 2009-06-19 14:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* tests/testhrb.prg
  * tests/exthrb.prg
    ! Fixed missing SVN props.

  * ChangeLog
    ! Removed conflict marker from ChangeLog from a recent commit.

    ; NOTE: I'd encourage everyone to check doc/howtosvn.txt
            before committing.

  * doc/howtosvn.txt
    + Added link to svn cmdline tools.
    + Added link to svn online documentation (a complete free book)
    ! Fixed a few svn commands written in uppercase.
2009-06-19 12:25:44 +00:00
Przemyslaw Czerpak
0b660d8efd 2009-06-19 14:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
- harbour/include/hbhrb.ch
  + harbour/include/hbhrb.ch
    * replaced hbhrb.ch with slightly different version and set SVN
      attributes:
         svn:keywords : Author Date Id Revision
         svn:eol-style : native
      Now optional HB_HRBLOAD()/HB_HRBRUN() parameter is bitfield and
      the following predefined values can be used to control function
      bindings in loaded .hrb files:
         HB_HRB_BIND_DEFAULT      - do not overwrite any functions, ignore
                                    public HRB functions if functions with
                                    the same names already exist in HVM
         HB_HRB_BIND_LOCAL        - do not overwrite any functions
                                    but keep local references, so
                                    if module has public function FOO and
                                    this function exists also in HVM
                                    then the function in HRB is converted
                                    to STATIC one
         HB_HRB_BIND_OVERLOAD     - overload all existing public functions
         HB_HRB_BIND_FORCELOCAL   - covert all public functions to
                                    STATIC ones
      Other HB_HRB_* defines will be added in the future

  * harbour/include/hbvm.h
    * declared hb_vmSetFunction() as internal function

  * harbour/source/vm/hvm.c
    * modified hb_vmSetFunction() to update references also in unused
      modules.

  * harbour/source/vm/runner.c
    * removed CanUnload - it was not fully functional. Modules which
      overloads public functions cen be unload just like any other ones
      but unloading does not restore references to overloaded functions.
      Now such references are simply lost and this should be fixed in the
      future.
    + added support for HB_HRB_BIND_FORCELOCAL
    ! fixed <nOptions> parameter decoding in HB_HRBLOAD() to strictly
      follow declaration:
         HB_HRBLOAD( [ <nOptions>, ] <cHrb> [, <xparams,...> ] )
    ! fixed init procedures parameters in HB_HRBLOAD() to no pass <nOptions>
    + added support for <nOptions> to HB_HRBRUN()
         HB_HRBRUN( [ <nOptions>, ] <cHrb> [, <xparams,...> ] ) -> <retVal>
    * changed HB_HRBRUN() return value - now it's the result of executed
      function instead of .T.
    ! fixed public symbol updating to keep valid references to HB_FS_LOCAL
      function
    ! fixed possible memory leak
    % added const to some char * declarations

   TOFIX/TODO: add support for restoring overloaded functions when module
               is unloaded.
2009-06-19 12:09:26 +00:00
Viktor Szakats
1c20b41cc2 2009-06-19 11:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* tests/testhrb.prg
  * tests/Makefile
  * include/Makefile
  * include/hbhrb.ch
  * source/vm/runner.c
    ! Added new files to Makefiles.
    ! Fixed to use hbhrb.ch from .c rather than replicating #defines.
      (also fixed comments to be ANSI)
    ! Added self protection to .ch.
    ! Made .hrb file lowercase in testhrb.prg
    ! Deleted double license header from .ch.

  * utils/hbmk2/hbmk2.prg
    + Added logic to move embedded compilers under a common subdir.
      To stay compatible with 2.0.0beta1 release I didn't yet set
      this, but it will be for final release.
      Probably 'comp', or maybe 'opt'. Sorry for asking for opininons,
      but they're welcome anyway.
2009-06-19 09:33:42 +00:00
Jean-Francois Lefebvre
d7a22185d5 2009-06-19 10:56 UTC+0200 Jean lefebvre (jfl at mafact dot com)
* vm/runner.c
    FIXED ;
    ../../runner.c:413: error: '_HB_SYMB' undeclared (first use in this function)
  + include/hbhrb.ch:  HB_HRBLOAD() mode #define new file
  + tests/testhrb.prg: test program fro new params 
  + tests/exthrb.prg:  test program to be compiled as .HRB using /gh option
2009-06-19 09:00:16 +00:00
Viktor Szakats
ce275c340e 2009-06-19 00:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/vm/runner.c
    * Formatted.
    ; TOFIX:
        ../../runner.c: In function 'hb_hrbLoad':
        ../../runner.c:413: error: '_HB_SYMB' undeclared (first use in this function)
        ../../runner.c:413: error: (Each undeclared identifier is reported only once
        ../../runner.c:413: error: for each function it appears in.)
2009-06-18 22:36:27 +00:00
Viktor Szakats
75ca071bb3 2009-06-19 00:23 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* .
    ! Deleted "bugtraq:append" (not mentioned in ChangeLog) 
      property added to main Harbour trunk in:
      2009-06-18 21:18 UTC+0200
      JF, pls fix this in your SVN client, otherwise next time 
      it will just reappear. Majority of these extensions and 
      dirs aren't present in Harbour source tree since long.
2009-06-18 22:24:27 +00:00