Commit Graph

17211 Commits

Author SHA1 Message Date
Viktor Szakats
c0686c0a98 2012-06-14 03:32 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.hbp
    + copied some remaining options from hbrun.hbp

  * utils/hbmk2/hbmk2.prg
    + added -hbreg[=global] and -hbunreg[=global] to register/unregister
      .hb file type on Windows. It uses a trick to load hbwin dynamically,
      so this will only work with HB_BUILD_CONTRIB_DYN=yes. It's grey
      area of dependency because core cannot depend on contrib, but in
      this case it's done dynamically and optionally and it gracefully
      fails if the contrib component is missing, but still, it uses it,
      if available. Hopefully in the future win registry functions can
      be moved to core so it can be cleaned, or this functionality
      removed from hbmk2 anytime, since it's not critical.
    + always detecting Harbour dir layout when entering runner mode,
      so all subsystems can now use that information
    * cleaned loading user configured dynamic extensions in runner mode
    ! fixed not adding global Harbour include dir in runner mode
    + all strings moved from hbrun code made translatable (except some
      CUI elements for now)
    % experimentally disabled embedded Harbour headers (build break
      possible)
    ! fixed loading "ext" (dynamic extension loader) shell plugin
    + output shell plugin load RTE to stderr
2012-06-14 01:35:35 +00:00
Viktor Szakats
bd6343a4d3 2012-06-14 01:09 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbrun/hbrun.prg
  * utils/hbmk2/hbmk2.prg
    % minor optimization to not try to create ~/.harbour directory
      on each __hbrun_ConfigDir() call, only when saving there.
2012-06-13 23:13:24 +00:00
Przemyslaw Czerpak
cda71d8c53 2012-06-14 00:55 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbset.h
  * harbour/src/vm/set.c
    % removed HB_SET_OSCODEPAGE
    % replaced HB_SET_DBCODEPAGE with hb_set_dbcp
    * generate RTE when wrong parameter type (not string or NIL) is
      passed to HB_SET_LANGUAGE, HB_SET_CODEPAGE, HB_SET_OSCODEPAGE,
      HB_SET_DBCODEPAGE

  * harbour/src/rtl/langapi.c
    * generate RTE 1303 when not existing lang module name is passed to
      hb_langSelectID() C function. It affects on all upper level
      code using this function. NULL is accepted as valid parameter.

  * harbour/src/rtl/cdpapi.c
    * generate RTE 1302 when not existing codepage name is passed to
      hb_cdpFindExt() C function. It affects on all upper level
      code using this function. NULL is accepted as valid parameter.
      If programmer does not want to generate RTE when wrong codepage
      name is passed then he should use hb_cdpFind() instead.

  * harbour/src/rtl/cdpapihb.c
    * use hb_cdpFindExt() instead if hb_cdpFind() in HB_CDPUNIID()
      function.

  * harbour/src/rtl/cdpapihb.c
  * harbour/contrib/hbexpat/internal.c
    ! use hb_parc() instead of hb_parcx() to get codepage name
      from optional parameter.

  * harbour/utils/hbmk2/Makefile
    ! fixed build process, now hbmk2 need HB_LIBS_MT_RDD

  * harbour/src/rtl/tpersist.prg
    % optimized decoding code which could be two slow with UTF8EX or
      similar CPs.
2012-06-13 22:55:29 +00:00
Viktor Szakats
cf1dcec338 2012-06-14 00:24 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbamf/amfdec.c
  * contrib/hbamf/amfenc.c
  * contrib/hbamf/amfstdio.c
    ! fixed about 30 compiler warnings mostly on missing
      paranthesis causing ambiguous expressions, superfluous
      variable initializations and one case where probably
      an 'else' was missing. Please review the patch to
      see if ambiguous cases were correctly fixed.
2012-06-13 22:26:52 +00:00
Pritpal Bedi
c3198f6128 2012-06-13 13:59 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
- contrib/hbqt/qtcore/hbqt_obj.prg
    - Deleted: hbQT already has a super class HBQTOBJECTHANDELLER 
       and concerned protocol is embedded into that.

  * contrib/hbqt/qtcore/hbqt_hbqevents.cpp
  * contrib/hbqt/qtcore/hbqt_hbqevents.h
    ! Changed: constructor without a parent.
       In certain situations under current protocol, this had 
       a overhead where destructor on this object was not being 
       called at appropriate time.

  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.h
    ! Formatting.

  * contrib/hbqt/qtcore/hbqt_misc.prg

  * contrib/hbqt/qtcore/hbqtcore.hbm
  * contrib/hbqt/qtcore/hbqtcore.hbx
    - Deleted: hbqt_obj.prg

  * contrib/hbqt/qtcore/qth/HBQEvents.qth
    - Deleted: un-used variables.
2012-06-13 21:09:44 +00:00
Viktor Szakats
61ec2cb4d7 2012-06-13 22:55 UTC+0200 Viktor Szakats (harbour syenar.net)
- contrib/hbamf/hbref.c
  * contrib/hbamf/amfdec.c
  * contrib/hbamf/amfenc.c
  * contrib/hbamf/amfstdio.c
  * contrib/hbamf/hbamf.hbp
  * contrib/hbamf/hbcls.c
    * added hbamf_ prefix to public C functions
    * locally used public C functions converted to static

  * utils/hbmk2/hbmk2.prg
    * minor
2012-06-13 20:58:16 +00:00
Viktor Szakats
0bdc87ca0e 2012-06-13 16:16 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbplist
  + contrib/hbamf
  + contrib/hbamf/amf.h
  + contrib/hbamf/amfdec.c
  + contrib/hbamf/amfenc.c
  + contrib/hbamf/amfstdio.c
  + contrib/hbamf/hbamf.hbc
  + contrib/hbamf/hbamf.hbp
  + contrib/hbamf/hbamf.hbx
  + contrib/hbamf/hbcls.c
  + contrib/hbamf/hbref.c
  + contrib/hbamf/issues.txt
  + contrib/hbamf/readme.txt
  + contrib/hbamf/tests
  + contrib/hbamf/tests/hbmk.hbm
  + contrib/hbamf/tests/tstendin.prg
    + added AMF3 encoder/decoder
      work of Aleksander Czajczynski and Ilina Stoilkovska
      (with minor additions of mine: build file
      cleanup, some C level formatting/comment cleanup, C++ 
      fixes)
    ; NOTE: this is only the pure AMF3 encoder/decoder,
            and doesn't include websocket layers
    ; TODO: adding license

  * utils/hbmk2/hbmk2.prg
    * minor in comments
2012-06-13 14:16:52 +00:00
Viktor Szakats
231d40b08d 2012-06-13 15:44 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbrun/hbrun.prg
  * contrib/hbrun/plugins.prg
  * utils/hbmk2/hbmk2.prg
    * synced recent changes
    + changed extension filename to <home>/.harbour/hb_extension (hb_ext.ini in MS-DOS)
      envvar to HB_EXTENSION
    + plugins are now loaded from <home>/.harbour/*.hb, <home>/.harbour/*.hrb
2012-06-13 13:47:13 +00:00
Viktor Szakats
72076b0399 2012-06-13 15:31 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbrun/hbrun.prg
  * utils/hbmk2/hbmk2.prg
    * renamed history file to have a tool agnostic name
      INCOMPATIBLE (history will be lost unless you rename
      the existing file from .hbrun_history to .hb_history)
2012-06-13 13:33:44 +00:00
Viktor Szakats
f2bb8bc732 2012-06-13 15:14 UTC+0200 Viktor Szakats (harbour syenar.net)
* INSTALL
    * minor clarifications to INSTALL/TROUBLESHOOTING

  * config/os2/watcom.mk
  * config/wce/mingwarm.mk
  * config/wce/msvcarm.mk
  * config/wce/poccarm.mk
  * config/win/bcc.mk
  * config/win/mingw.mk
  * config/win/msvc.mk
  * config/win/pocc.mk
  * config/win/watcom.mk
  * config/win/xcc.mk
    + added std header paths to RC commands

  * utils/hbmk2/Makefile
  + utils/hbmk2/hbmk2.rc
  * utils/hbmk2/hbmk2.hbp
    + added std windows versioninfo and manifest to hbmk2

  * utils/hbmk2/hbmk2.prg
  + utils/hbmk2/p_extdyn.hb
    + added almost complete hbrun functionality into hbmk2
      to run it, type: 'hbmk2 .'
      Missing is extension registration, plugins don't seem
      to work yet, and I plan to switch from full screen
      prompt to shell-like prompt. Plugin paths, extension
      configuration, history on-disk files need further
      polishing.
    + hbmk2 will act as a hbrun, if renamed to hbrun

  * contrib/hbqt/qtcore/hbqt_misc.prg
    + added two TOFIXes for missing PROTECTED keyword
      for two object variables of unknown purpose. Not
      even HBQT developers know what it is, but without
      it, HBQT breaks.

  ; Those who need "stable" hbqt (meaning "it builds")
    Go to:
       http://sourceforge.net/p/hbqt/
2012-06-13 13:26:25 +00:00
Francesco Perillo
007dac6e1a 2012-06-13 15:17 UTC+0200 Francesco Perillo (fperillo at gmail.com)
* Changelog
    * typo and missing description previous commit
  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
    * mispelled function name
2012-06-13 13:20:32 +00:00
Francesco Perillo
2e65b1fc9a 2012-06-13 15:00 UTC+0200 Francesco Perillo (fperillo at gmail.com)
* contrib/hbqt/qtcore/hbqt_hbqslots.cpp
    - eliminated code not needed
	 - fixed a memory leak
  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.h
  * contrib/hbqt/qtcore/qth/HBQSlots.qth
    - eliminated parameter from constructor
  * contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp
    - eliminated remmed code
  * contrib/hbqt/qtcore/hbqt_misc.prg
    * reverted last commit
2012-06-13 13:11:30 +00:00
Viktor Szakats
48a35c6263 2012-06-13 12:34 UTC+0200 Viktor Szakats (vszakats syenar.net)
* contrib/hbqt/qtcore/hbqt_bind.cpp
    ! using core constant instead of arbirary buffer size
    % use HB_SIZEOFARRAY() instead of calculated explicit
      versions of above arbitrary sized buffers

  * contrib/hbqt/qtcore/hbqt_misc.prg
    * minor formatting
2012-06-13 10:36:05 +00:00
Viktor Szakats
c3ae2c478d 2012-06-13 11:41 UTC+0200 Viktor Szakats (vszakats syenar.net)
* contrib/hbqt/qtcore/hbqt_bind.cpp
  * contrib/hbqt/qtcore/hbqt_hbqevents.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
  * contrib/hbqt/qtcore/hbqt_misc.prg
  * contrib/hbqt/qtcore/hbqt_pointer.cpp
  * contrib/hbqt/qtcore/hbqt.h
  * contrib/hbqt/qtcore/hbqtcore.hbx
    - __HBQT_ISPOINTER()
    + TODO for HBQT_ISEQUAL()
    - __HBQT_PTR() from .hbx
    ! fixed insane inverse camel casing in hbqt_bindGetHbObjectBYqtObject()
    + TOFIX for MT which is completely broken now.
    - deleted '#if 1's. Experiment locally, do not readd them.
    - deleted code protected by '#if 0'. Experiment locally, do not readd them.
    + QUESTION for code like: 'if( 1 == 1 )'
    - HBQT_PROMOTEWIDGET2() -> HBQT_PROMOTEWIDGET()
      .hbx is now in sync with the code
    + QUESTION for HbQtObjectHandler (_three_ different lists for events? two for slots? Is this needed?)
    ! hEvents -> __hEvents, made PROTECTED. Fix other code if this broke anything.
    ! __Slots/__Events made PROTECTED. Fix other code if this broke anything.
    ! _destroy() -> __destroy(). Fix other code if this broke anything.

    ; I'd like to ask HBQT developers to enable in their editor
      the deletion of line-ending spaces and to enable
      HB_REBUILD_EXTERN=yes in their local configuration to
      keep .hbx files up to date (asking these for the umpteenth times!).
2012-06-13 09:41:38 +00:00
Pritpal Bedi
69fdb3e9ac 2012-06-13 01:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/hbqreportsmanager.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/ideskeletons.prg
  * contrib/hbide/ideuisrcmanager.prg
    - Removed: all calls to :hasAValidPointer().

  * contrib/hbqt/qtcore/hbqt_bind.cpp
    + Added: more debug code to view what happens when 
       appln exits.

  * contrib/hbqt/qtcore/hbqt_hbqevents.cpp
  * contrib/hbqt/qtcore/hbqt_hbqevents.h
  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
  * contrib/hbqt/qtcore/qth/HBQEvents.qth
    ! Synchronized: per QObject standards.

  * contrib/hbqt/qtgui/qth/QStringListModel.qth
    ! Fixed: wrong if/else if constructs.

  * contrib/hbqt/qtcore/hbqt_misc.prg
  * contrib/hbqt/qtgui/THbQtUI.prg
    - Removed: the use of :pPtr variable plus method :hasValidPointer().

  * contrib/hbqt/tests/demoqt.prg
    ! Reworked: to adapt to revamped hbQT where variable is not needed 
       to hold the built widget if parent is provided or is :connect()ed.
2012-06-13 08:26:47 +00:00
Viktor Szakats
51f2c4af14 2012-06-13 01:48 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    * further cleaned *HB_INSTALL* variable usage
    % merged harbour dir layout detection code used in
      build and runner modes.
2012-06-12 23:51:27 +00:00
Pritpal Bedi
b90666e364 2012-06-12 16:22 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/gtqtc/gtqtc.cpp
  
  * contrib/hbqt/hbmk2_qt.hb
  
  * contrib/hbqt/qtcore/hbqt.h
  * contrib/hbqt/qtcore/hbqt_bind.cpp
  * contrib/hbqt/qtcore/hbqt_hbqevents.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
  * contrib/hbqt/qtcore/hbqt_init.cpp
  * contrib/hbqt/qtcore/hbqt_misc.prg
  * contrib/hbqt/qtcore/hbqt_pointer.cpp
  
  * contrib/hbqt/qtcore/qth/HBQEvents.qth
  * contrib/hbqt/qtcore/qth/HBQSlots.qth
  * contrib/hbqt/qtcore/qth/QLibraryInfo.qth
  * contrib/hbqt/qtcore/qth/QMimeData.qth
  
  * contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp
  * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp
  * contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.cpp
  * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/qtgui/hbqt_hbqtableview.cpp
  * contrib/hbqt/qtgui/hbqt_init.cpp
  
  * contrib/hbqt/qtgui/qth/HBQAbstractItemModel.qth
  * contrib/hbqt/qtgui/qth/HBQGraphicsItem.qth
  * contrib/hbqt/qtgui/qth/HBQGraphicsScene.qth
  * contrib/hbqt/qtgui/qth/HBQPlainTextEdit.qth
  * contrib/hbqt/qtgui/qth/HBQTableView.qth
  * contrib/hbqt/qtgui/qth/QApplication.qth
  * contrib/hbqt/qtgui/qth/QClipboard.qth
  * contrib/hbqt/qtgui/qth/QDirModel.qth
  * contrib/hbqt/qtgui/qth/QDropEvent.qth
  * contrib/hbqt/qtgui/qth/QFileSystemModel.qth
  * contrib/hbqt/qtgui/qth/QGraphicsSceneDragDropEvent.qth
  
  * contrib/hbqt/qtnetwork/hbqt_init.cpp
  
  * contrib/hbqt/tests/draggable.prg
  
  * contrib/hbxbp/xbpbrowse.prg

  * contrib/hbide/ideedit.prg
  * contrib/hbide/idefindreplace.prg
    
    + Implemented: Revamped HBQT. 
        The complete code base has been cleaned as per new API
        and there is no leftover is kept inside the sources.
        All demos and hbIDE seems TO be working fine with few 
        exceptions here and there, but usually all seems fine.
        The only issue left, so far I can assess is that no object 
        is subject to destrution if a connect is issued onto that.
        And I have no idea how TO handle this situation. It is the 
        programmers responsibility to disconnect whenever an object 
        is supposed to go out of scope.
        
        TODO: still debug tracelog entries ( under HB_TR_DEBUG ) are 
              retained in hbqt_bind.c which are schduled TO be 
              removed once code base stabilizes enough.
2012-06-12 23:45:33 +00:00
Francesco Perillo
5ca8d16243 2012-06-12 22:21 UTC+0200 Francesco Perillo (fperillo at gmail.com)
* contrib/hbqt/qtgui/qth/filelist.hbm
    * added remark to QDeclarativeParserStatus since all other
      QDeclarative* classes are remmed and it break build on
      Qt 4.5
2012-06-12 20:24:42 +00:00
Viktor Szakats
8fdb5c558b 2012-06-12 21:55 UTC+0200 Viktor Szakats (vszakats syenar.net)
- examples/hbapollo
  - examples/hbbtree
  - examples/hscript
  - examples/misc
  - examples/terminal
    - deleted obsolete and/or unmaintained components
2012-06-12 19:56:14 +00:00
Viktor Szakats
df87b48bf8 2012-06-12 21:14 UTC+0200 Viktor Szakats (harbour syenar.net)
* examples/hbbtree/tests/ctest.c
    ! converted Windows type to Harbour one

  * INSTALL
    ! typo in prev

  * utils/hbmk2/hbmk2.prg
    * cleaned output msgs in runner mode
    * cleaning *HB_INSTALL* variable usage. step one.
2012-06-12 19:16:21 +00:00
Viktor Szakats
b88fb293cc 2012-06-12 18:56 UTC+0200 Viktor Szakats (harbour syenar.net)
* INSTALL
    + extended troubleshooting instructions for code that
      involves non-ASCII chars

  * utils/hbmk2/hbmk2.prg
    + use UTF8 HVM in runner mode
    + enabled translations in runner mode
    ! in runner mode fixed setting up core header dir when no
      dyanmic libs are used
    ! in runner mode, dynamic lib location should now be detected
      also on *nix systems (untested)
    * some other minor cleanups and tweaks to runner mode
2012-06-12 17:00:15 +00:00
Pritpal Bedi
85a006fa27 2012-06-11 23:03 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbmk2_qt.hb
    ! Commented out #define __HBQT_REVAMP__, left as is in prev commit.
2012-06-12 06:04:54 +00:00
Pritpal Bedi
867a8fa633 2012-06-11 19:29 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_bind.cpp
  * contrib/hbqt/qtcore/hbqt_pointer.cpp
    + Implemented: [*D=1*] token of methods in .qth for __HBQT_REVAMP__.
       This changes the ownership of an object from Harbour to Qt.
2012-06-12 02:34:58 +00:00
Viktor Szakats
169631527c 2012-06-12 04:17 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbhttpd/log.prg
  * contrib/hbtip/log.prg
  * contrib/hbziparc/ziparc.prg
  * src/rtl/hbdoc.prg
  * src/rtl/hbi18n2.prg
  * src/rtl/memvarhb.prg
  * src/rtl/tlabel.prg
  * src/rtl/treport.prg
    % use HB_FNAMEEXTSETDEF() instead of manual logic.
      it also fixes RTEs in hbziparc when passed non-string
      filename to nearly any of its APIs.

  * utils/hbi18n/hbi18n.hbp
    * missed -shared enabler in .hbp

  * utils/hbmk2/Makefile
  * utils/hbmk2/hbmk2.hbp
    + enabled -shared build for hbmk2

  * utils/hbmk2/hbmk2.prg
    % consolidated .hbc finder logic
    % moved 'hbmk' structure initializations to subfunctions
    + added Harbour installation autodetection for hbmk2's
      runner mode. It's copy-paste code yet.
    + added automatic include path configuration in hbmk2's
      runner mode. It means that now #require-d extensions
      will have their include paths setup, so their header
      will be found, so they can be used now.

  ; I more and more see it a reality to integrate hbrun
    functionality into hbmk2. #require logic needs
    much of hbmk2's facilities, and hbmk2 already has
    basic runner capabilities. Contrib libs (and plugins)
    will all have to be loaded dynamically in such case,
    but since it works well, it should not be a problem.
    Finally hbmk2 can be the utility that runs scripts
    dynamically and also able to build an exe from them,
    using the exact same source code, without any external
    configuration, if the source code provides "#require"
    clues. All it needs is both dynamic and static versions 
    of extensions (=contribs or addons).
2012-06-12 02:30:41 +00:00
Pritpal Bedi
8bc5cbe4bf 2012-06-11 16:28 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_bind.cpp
    ! Changed: HB_TR_ALWAYS => HB_TR_DEBUG ( really a nuisiance causer ).
       Will try to be consistent next time.
2012-06-11 23:42:09 +00:00
Pritpal Bedi
7cf128ef3c 2012-06-11 16:08 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbmk2_qt.hb
    ! Formatting: of generated sources.

  * contrib/hbqt/qtcore/hbqt_bind.cpp
    ! Minor.

  * contrib/hbqt/tests/browqt.prg
  * contrib/hbqt/tests/dbfbrowser.prg
  * contrib/hbqt/tests/dbfbrowserclass.prg
  * contrib/hbqt/tests/demoqt.prg
  * contrib/hbqt/tests/qtrevamp.prg
  * contrib/hbqt/tests/testbrow.prg
  * contrib/hbqt/tests/testqaim.prg
    ! Tweaked: to excute flawless on both protocols.
2012-06-11 23:27:25 +00:00
Pritpal Bedi
51953ea2c2 2012-06-11 12:56 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
+ contrib/hbqt/tests/dbfbrowser.prg
  + contrib/hbqt/tests/dbfbrowserclass.prg
    + Added: Table browser demo code by Bacco, thank you.
             This code works absolutely flawless both with current and 
             __HBQT_REVAMP__ protocols.
2012-06-11 19:59:48 +00:00
Viktor Szakats
84f5afb216 2012-06-11 21:06 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbtpathy/telepath.prg
    * using hb_default() instead of rolling it manually

  * contrib/gtwvg/tests/wvgactivex.prg
  * contrib/gtwvg/tests/wvgmodal.prg
  * contrib/hbhttpd/core.prg
  * contrib/hbhttpd/log.prg
  * contrib/hbide/hbqreportsmanager.prg
  * contrib/hbide/hbqtoolbar.prg
  * contrib/hbide/idebrowse.prg
  * contrib/hbide/ideconsole.prg
  * contrib/hbide/idedict.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/ideshortcuts.prg
  * contrib/hbide/idesources.prg
  * contrib/hbide/idestylesheets.prg
  * contrib/hbide/idethemes.prg
  * contrib/hbide/idetools.prg
  * contrib/hbide/ideuisrcmanager.prg
  * contrib/hbmagic/hbmagis.prg
  * contrib/hbmxml/tests/custom.prg
  * contrib/hbnetio/utils/hbnetio/netiomgm.prg
  * contrib/hbnetio/utils/hbnetio/netiosrv.prg
  * contrib/hbnf/menutonf.prg
  * contrib/hbnf/ontick.prg
  * contrib/hboslib/core.prg
  * contrib/hbqt/tests/cls_dbstruct.prg
  * contrib/hbqt/tests/demoqt.prg
  * contrib/hbxbp/tests/xbpqtc.prg
  * contrib/xhb/stream.prg
  * contrib/xhb/xhbole.prg
  * examples/hbxlsxml/xlsxml_s.prg
  * examples/hbxlsxml/xlsxml_y.prg
  * examples/hbxlsxml/xlsxml.prg
  * tests/parseini.prg
    * formatting HB_IS*() calls
    ! using HB_ISSTRING() instead of HB_ISCHAR() on .prg level

  * utils/hbmk2/hbmk2.prg
    ! minor typo on help screen
2012-06-11 19:09:28 +00:00
Viktor Szakats
907f90c6e2 2012-06-11 17:35 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbplist
    + reenabled hbqt and dependencies. it should build now.
2012-06-11 15:36:20 +00:00
Przemyslaw Czerpak
8789944a3d 2012-06-11 17:17 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/contrib/hbct/misc1.c
    % optimized XTOC()

  * harbour/doc/xhb-diff.txt
    * added some additional description to the section
      OOP AND CLASS OBJECT/CLASS MESSAGES

  * harbour/doc/Makefile
    * added xhb-diff.txt

  * harbour/include/hbapi.h
  * harbour/src/vm/arrays.c
    + added new C function hb_arrayFromId()

  * harbour/contrib/hbqt/qtcore/hbqt_bind.cpp
    * use hb_arrayFromId() instead of local hb_arrayCreateClone()
      with hb_arrayPushBase() inside
    * do not use hbvmint.h
    ! fixed few bugs in this code. I haven't analyzed this code deeply
      and how it's used so I cannot say it's correct. I only fixed few
      completly wrong places which caused HVM stack corruption, internal
      GC item list corruption or were completly dummy calls.
2012-06-11 15:18:06 +00:00
Viktor Szakats
9e9544e2db 2012-06-11 16:33 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
  * utils/hbmk2/hbmk2.es_PE.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.pt_BR.po
    - deleted a few "experimental" flags
2012-06-11 14:34:36 +00:00
Viktor Szakats
8759d067ed 2012-06-11 16:30 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbide/ideedit.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbrun/hbrun.prg
  * utils/hbmk2/hbmk2.prg
  * utils/hbmk2/hbmk2.es_PE.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.pt_BR.po
    - deleted support for .hbs extension for Harbour Scripts.
      use .hb now. INCOMPATIBLE.
2012-06-11 14:31:35 +00:00
Viktor Szakats
924db6f7ed 2012-06-11 15:31 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/harbour.hbx
  * src/vm/dynsym.c
    + added HB_ISFUNCTION( <cName> ) -> <lExists>
      uses Przemek's code from hbfship/ISFUNCTION() with minor
      adaptation for VM.
      Use it instead of __DYNSISFUN() and TYPE( <cName> ) == "UI".

  * include/harbour.hbx
    * formatted HB_IS*() functions used for type checking

  * contrib/hbfship/isfunc.c
    % converted ISFUNCTION() to wrapper for HB_ISFUNCTION()

  * contrib/hbide/ideplugins.prg
  * contrib/hbrun/hbrun.prg
  * contrib/hbxpp/xppop.prg
  * contrib/xhb/xhbcomp.prg
  * contrib/xhb/xhberr.prg
  * examples/hbdoc/hbdoc.prg
    % Using HB_ISFUNCTION() instead of __DYNSISFUN() and TYPE( <cName> ) == "UI"
2012-06-11 13:32:11 +00:00
Viktor Szakats
47e086d36c minor clarification 2012-06-11 12:20:31 +00:00
Viktor Szakats
00f3284ea4 2012-06-11 14:14 UTC+0200 Viktor Szakats (harbour syenar.net)
* bin/hbcommit.hb
    + To configure your own name and e-mail address used
      in ChangeLog entries, create a file called ".hbcommit"
      in the root of Harbour SVN sandbox, and fill it with this:
        'Firstname Lastname (my domain.net)'
      (in single line. no EOLs and padding is necessary)
2012-06-11 12:16:16 +00:00
Viktor Szakats
d733d9d59b 2012-06-11 13:20 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbrun/hbrun.prg
    + use .hb as default extension for Harbour sources.
      (was .prg)

  + bin/hbcommit.hb
    + added commit preparer script. It will pull all changed
      files, format it according to Harbour ChangeLog standard,
      add standard commit header and prepend the entry before
      latest on into ChangeLog file.
      Usage:
         <harbour SVN root>$ hbrun hbcommit.hb
      Please try it and use it when committing to Harbour SVN

  * contrib/hbplist
    * disabled hbqt and its dependencies, until the nightly
      build breaker problem is resolved.
2012-06-11 11:21:36 +00:00
Viktor Szakats
ae4ef14400 2012-06-11 12:21 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbblat/hbblat.hbp
    + added experimental support for installing 3rd party .dll 
      to bin dir. Enabled with new build option, not yet documented, 
      see it in the patch.

  * contrib/hbhpdf/tests/harupdf.prg
    * formatted
2012-06-11 10:22:00 +00:00
Pritpal Bedi
8bd7b11815 2012-06-10 18:09 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbmk2_qt.hb
    ! Fixed: some formatting in generated source.

  * contrib/hbqt/qtcore/hbqt.h
    + Added: HB_EXPORT PHB_ITEM   hbqt_bindSetHbObject( PHB_ITEM pItem, void * qtObject, const char * szClassName, PHBQT_DEL_FUNC pDelFunc, int iFlags );

  * contrib/hbqt/qtcore/hbqt_bind.cpp
    + Added: static PHB_DYNS s_dynsym_SETSLOTS = NULL;
               Used to initiate __Slots hash to contain code block for slots.
    + Added: PHB_ITEM hbqt_bindSetHbObject( PHB_ITEM pItem, void * qtObject, const char * szClassName, PHBQT_DEL_FUNC pDelFunc, int iFlags )
               Used for class inheritance with :new() method.
             void hbqt_bindDelSlots( PHB_ITEM pSenderObject );
               Used to delete all slots for an object.
    + Added: HB_FUNC( HBQT_PROMOTEWIDGET2 )
             Provided by Francesco.
    + Added: HB_FUNC( HBQT_ITEMSONGLOBALLIST )
             Provided by Francesco.

    - Transferred: some HB_EXPORT prototypes in hbqt.h from hbqt_bind.cpp.

  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
    + Transferred: code blocks exploiting slots to PRG level from C++ level.

  * contrib/hbqt/qtcore/hbqt_init.cpp
  * contrib/hbqt/qtgui/hbqt_init.cpp
    * Formatting.

  * contrib/hbqt/qtcore/hbqt_misc.prg
    + Added: VAR    __Slots
    + Added: METHOD setSlots()

  * contrib/hbqt/qtcore/qth/QObject.qth
    + Uncommented: metaObject() method.

  * contrib/hbqt/tests/inherit.prg
    + Added: demo code to exploit inheritance of classes.

    This implementation is aimed at transferring signal/slot codeblocks from C++
    level to PRG level. This to happen, I am driffting from Przemek's orginal idea 
    of a separate class, encapsulating the same in exsting superclass HbqtObjectHandeller.
    So far has been successful but the concept has introduced a GPF on exit.
2012-06-11 03:15:20 +00:00
Viktor Szakats
0a1680084a 2012-06-11 01:01 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + added support for #require directive in minimal script
      runner. The plan is to model .hbc processing and header
      directory setup for #require-ed extensions and backport 
      it to hbrun.
2012-06-10 23:01:37 +00:00
Viktor Szakats
851b8d63d2 2012-06-10 17:19 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/hbapi.h
    ! minor correction to compatibility macro definition
2012-06-10 15:20:32 +00:00
Viktor Szakats
2934968133 2012-06-10 16:43 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbziparc/ziparc.prg
    ! fixed using old IS*() macro w/o common.ch

  * contrib/hbziparc/tests/unzipa.prg
  * contrib/hbziparc/tests/zipa.prg
    + added #require directives

  * contrib/hbgd/tests/animgif.prg
  * contrib/hbgd/tests/antialia.prg
  * contrib/hbgd/tests/barms.prg
  * contrib/hbgd/tests/bartest.prg
  * contrib/hbgd/tests/counter.prg
  * contrib/hbgd/tests/gdtest.prg
  * contrib/hbgd/tests/gdtestcl.prg
  * contrib/hbgd/tests/test_out.prg
  * contrib/hbgd/tests/testdpi.prg
  * contrib/hbgd/tests/tostring.prg
  * contrib/hbgd/tests/tpoly.prg
  * examples/httpsrv/modules/showcounter.prg
    * cleanups and fixes (replaced ISDIRECTORY() xhb function,
      fixed Windows dir detection, added simpleio.ch)

  * contrib/hbzebra/tests/testcair.prg
  * contrib/hbzebra/tests/testhpdf.prg
  * contrib/hbzebra/tests/testwin.prg
  * contrib/rddads/tests/datad.prg
  * contrib/rddads/tests/testmg.prg
    + added #require directives for testing

  * contrib/hbfoxpro/misc.prg
  * contrib/hbnf/clrsel.prg
  * contrib/hbnf/menu1.prg
  * contrib/hbnf/metaph.prg
  * src/rtl/hbi18n2.prg
  * utils/hbtest/rt_str.prg
    * formatting (to help a grep case)
2012-06-10 14:48:22 +00:00
Viktor Szakats
7e446e2d02 2012-06-10 14:11 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/cdpdet.prg
    ! *nix specific CP autodetection code missed to call
      a local conversion subfunction.

  * src/rtl/gtfunc.c
    * HB_SETDISPCP(), HB_SETTERMCP(), HB_SETKEYCP() will
      now not RTE when passed NIL as 1st paramater. This
      makes it smoother to fall-back on purposedly invalid
      values, f.e. return values of new HB_CDPOS() and 
      HB_CDPTERM() in case of failure.

  * contrib/hblzf/tests/test2.prg
    + replaced in-source hbmk2 cmdline instructions with
      #require directive

  * contrib/gtwvg/tests/wvgactivex.prg
    ! fixed reference to non-existing batch file

  * doc/en/file.txt
  * doc/gmake.txt
  * doc/windll.txt
  * examples/gtwvw/docs/gtwvw.txt
  * examples/gtwvw/docs/whatsnew.txt
  * examples/gtwvw/tests/drawimg.prg
  * examples/guestbk/guestbk.txt
  * examples/hscript/readme.txt
    - deleted references to non-existing/obsolete batch files
2012-06-10 12:13:08 +00:00
Viktor Szakats
969e4ab0d9 2012-06-10 01:26 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbmlzo/hbmlzo.hbc
    ! fixed commented lib reference rendering the .hbc file unusable

  * contrib/hbmlzo/tests/test.prg
    + replaced in-source hbmk2 cmdline instructions with
      #require directive

  * contrib/hbqt/hbmk2_qt.hb
  * src/rtl/hbdoc.prg
  * utils/hbmk2/examples/plug_tpl.hb
    % use '%d' in hb_strformat() instead of calling hb_ntos()

  * utils/hbmk2/hbmk2.prg
    + show different message when .hbc file is triggered by
      #require directive

  * contrib/hbmlzo/hbmlzo.ch
    * formatting
2012-06-09 23:29:56 +00:00
Viktor Szakats
256803e47a 2012-06-09 21:19 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/harbour.hbx
  * src/rtl/Makefile
  + src/rtl/cdpdet.prg
  + src/rtl/cdpdetc.c
    + moved terminal and OS detection logic from hbmk2 to RTL
      with changes necessary to fit into core. New functions are:
        hb_cdpOS() -> <cCP | NIL>
        hb_cdpTerm() -> <cCP | NIL>
      it means these functions can be used in any apps now.
      Example:
        hb_SetTermCP( hb_cdpTerm() )
        Set( _SET_OSCODEPAGE, hb_cdpOS() )

  * contrib/hbrun/hbrun.prg
  * utils/hbmk2/Makefile
  - utils/hbmk2/hbmk2c.c
  * utils/hbmk2/hbmk2.hbp
  * utils/hbmk2/hbmk2.prg
    * using hb_cdpOS() and hb_cdpTerm() to automatically
      configure OS and terminal CP
2012-06-09 19:20:20 +00:00
Viktor Szakats
257c522aca 2012-06-09 18:38 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/gtwvg/wvgpaint.prg
    ! fixed #3488700

  * contrib/gtwvg/wvg3stat.prg
  * contrib/gtwvg/wvgcheck.prg
  * contrib/gtwvg/wvgcombo.prg
  * contrib/gtwvg/wvgdatar.prg
  * contrib/gtwvg/wvgdlg.prg
  * contrib/gtwvg/wvgmenub.prg
  * contrib/gtwvg/wvgpaint.prg
  * contrib/gtwvg/wvgpushb.prg
  * contrib/gtwvg/wvgradio.prg
  * contrib/gtwvg/wvgstatb.prg
  * contrib/gtwvg/wvgtreev.prg
  * contrib/gtwvg/wvgwnd.prg
  * contrib/hbhttpd/core.prg
  * contrib/hbide/hbqreportsmanager.prg
  * contrib/hbide/ideconsole.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/ideshortcuts.prg
  * contrib/hbide/idesources.prg
  * contrib/hbide/idethemes.prg
  * contrib/hbqt/qtcore/hbqt_misc.prg
  * contrib/hbxbp/xbp3state.prg
  * contrib/hbxbp/xbpcheckbox.prg
  * contrib/hbxbp/xbpcrt.prg
  * contrib/hbxbp/xbpdataref.prg
  * contrib/hbxbp/xbpdialog.prg
  * contrib/hbxbp/xbpfiledialog.prg
  * contrib/hbxbp/xbplistbox.prg
  * contrib/hbxbp/xbpmenubar.prg
  * contrib/hbxbp/xbpmle.prg
  * contrib/hbxbp/xbpprinter.prg
  * contrib/hbxbp/xbppushbutton.prg
  * contrib/hbxbp/xbpradiobutton.prg
  * contrib/hbxbp/xbprtf.prg
  * contrib/hbxbp/xbpstatic.prg
  * contrib/hbxbp/xbpstatusbar.prg
  * contrib/hbxbp/xbptreeview.prg
  * contrib/hbxbp/xbpwindow.prg
    ! HB_ISCHAR() -> HB_ISSTRING()
2012-06-09 16:41:39 +00:00
Viktor Szakats
acf600f27f 2012-06-09 17:58 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbrun/hbrun.prg
    + enabled UTF8EX as default CP for hbrun script. This makes
      scripts portable and on par with other script languages.
      It also syncs this aspect with hbmk2's script runner
      facility. INCOMPATIBLE. Make sure to create scripts
      that are unicode compatible and use UTF8 CP for accents.
      If you need old behavior, add 'hb_cdpSelect( "EN" )' to 
      the top of your script.
    ; contains copy/paste code from hbmk2 for OS and terminal
      CP detection. These should eventually make it into the
      RTL

  * INSTALL
    ! minor
2012-06-09 16:03:21 +00:00
Viktor Szakats
9034e0d551 minor in ChangeLog 2012-06-09 15:32:31 +00:00
Viktor Szakats
9635a83a05 2012-06-09 17:27 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/make.hb
    % use $d in hb_strformat() instead of calling hb_ntos()
    ! switched to UTF8EX to be in sync with hbmk2

  * utils/hbmk2/hbmk2.prg
    ! fixed nasty regression caused by old problem where --hbinfo
      output might have contained other information. Now hbmk2
      makes sure to keep -info disabled and -quiet enabled when
      in --hbinfo mode
2012-06-09 15:30:29 +00:00
Viktor Szakats
292ec34552 2012-06-08 20:04 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbmzip/3rd/minizip/minizip.dif
    * minor correction
2012-06-08 18:04:50 +00:00
Viktor Szakats
7298b250b6 2012-06-08 16:29 UTC+0200 Viktor Szakats (harbour syenar.net)
* bin/3rdpatch.hb
    ! fixed RTE when doing -rediff in minizip

  * contrib/hbmzip/3rd/minizip/crypt.h
  * contrib/hbmzip/3rd/minizip/unzip.c
  * contrib/hbmzip/3rd/minizip/zip.c
    ! fixed to build warning free with zlib 1.27 while
      keeping support for older zlib versions

  * contrib/hbmzip/3rd/minizip/minizip.hbp
  * contrib/hbmzip/3rd/minizip/minizip.dif
    * updated
2012-06-08 14:30:22 +00:00