Commit Graph

17186 Commits

Author SHA1 Message Date
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
Viktor Szakats
9a4e2bc5a2 2012-06-08 12:30 UTC+0200 Viktor Szakats (harbour syenar.net)
* tests/hbpptest/hbpptest.prg
    ! updated to build correctly
2012-06-08 10:31:32 +00:00
Pritpal Bedi
71ba24298a 2012-06-07 20:00 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* 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/qth/QLibraryInfo.qth
  * contrib/hbqt/qtcore/qth/QMimeData.qth
  * 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/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
    ! Changed:  
        PHB_ITEM hbqt_bindGetHbObject( PHB_ITEM pItem, void * qtObject, PHB_SYMB pClassName, PHBQT_DEL_FUNC pDelFunc, int iFlags )
            =>
        PHB_ITEM hbqt_bindGetHbObject( PHB_ITEM pItem, void * qtObject, const char * szClassName, PHBQT_DEL_FUNC pDelFunc, int iFlags )

      This facilitates the easy manipulation of objects and also a central 
      point to scale its usage. It is much easier to recognize the non-QObject
      derived classes, which are in plenty, and hence take corrective actions 
      in case of some exceptions are buried inside descriptions instead of headers.
2012-06-08 03:09:18 +00:00
Viktor Szakats
82ae26c290 2012-06-08 02:52 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbgd/gdbar.prg
  * contrib/hbgd/gdbarcod.prg
  * contrib/hbgd/gdchart.prg
  * contrib/hbgd/gdimage.prg
    * formatting
    % using HB_DEFAULT() instead of DEFAULT TO and local DEFAULT() macro
      (it means that in these places, type checking is more thourough
      than before). I left DEFAULT TO in places where the default expression
      is complex.
    ! fixed TCODE():New() to not use Alert(), use ::DrawError() instead
    % HGetValue(): use HB_HGETDEF() instead of equivalent local logic
    % use HB_ISHASH() instead of ValType()
    % use hb_ntos() instead of LTrim( Str() )
    ; build tested only, pls review
2012-06-08 00:52:31 +00:00
Pritpal Bedi
0536e7526e 2012-06-07 16:44 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/hbqtoolbar.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/idefindreplace.prg
    ! Minor.

  * contrib/hbqt/qtcore/hbqt_bind.cpp
    * Refined: deletion of objects handelling.

  * contrib/hbqt/qtcore/hbqt_init.cpp
  * contrib/hbqt/qtgui/hbqt_init.cpp
    + Added: destructors to objects created under __HBQT_REVAMP__.
2012-06-07 23:57:53 +00:00
Viktor Szakats
c0fff41758 2012-06-08 01:14 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbct/getsecrt.prg
  * contrib/hbgd/gdbar.prg
  * contrib/hbgd/gdbarcod.prg
  * contrib/hbhttpd/tests/eshop.prg
  * contrib/hbide/ideconsole.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbodbc/browodbc.prg
  * contrib/hbodbc/todbc.prg
  * contrib/hbqt/hbmk2_qt.hb
  * contrib/hbqt/tests/wvtqt.prg
  * contrib/hbsqlit3/tests/hdbctest.prg
  * contrib/hbtip/tests/tiptest.prg
  * contrib/hbtip/thtml.prg
  * contrib/hbwin/tests/olesrv1.prg
  * contrib/hbwin/tests/testax.prg
  * contrib/hbxpp/browdbx.prg
  * contrib/hbxpp/tthreadx.prg
  * contrib/xhb/cstruct.prg
  * contrib/xhb/dirrec.prg
  * contrib/xhb/dumpvar.prg
  * contrib/xhb/htjlist.prg
  * contrib/xhb/tcgi.prg
  * contrib/xhb/tedit.prg
  * contrib/xhb/thtm.prg
  * contrib/xhb/ttable.prg
  * contrib/xhb/xcstr.prg
  * contrib/xhb/xhbcls.ch
  * contrib/xhb/xhberr.prg
  * contrib/xhb/xhbole.prg
  * contrib/xhb/xhbtedit.prg
  * doc/codebloc.txt
  * doc/en/command.txt
  * doc/en/objfunc.txt
  * include/hbpers.ch
  * include/std.ch
  * src/common/expropt1.c
  * src/compiler/hbmain.c
  * src/debug/dbghelp.prg
  * src/debug/dbgtarr.prg
  * src/debug/dbgthsh.prg
  * src/debug/dbgtobj.prg
  * src/debug/dbgwa.prg
  * src/debug/debugger.prg
  * src/rdd/dbfntx/dbfntx0.prg
  * src/rdd/hbsix/sxcompat.prg
  * src/rdd/usrrdd/rdds/hscdx.prg
  * src/rdd/usrrdd/rdds/rlcdx.prg
  * src/rtl/browdb.prg
  * src/rtl/browse.prg
  * src/rtl/dirscan.prg
  * src/rtl/errsys.prg
  * src/rtl/hbini.prg
  * src/rtl/listbox.prg
  * src/rtl/tclass.prg
  * src/rtl/tlabel.prg
  * src/rtl/tobject.prg
  * src/rtl/treport.prg
  * utils/hbtest/rt_mt.prg
    * some formatting (almost only whitespace)

  * contrib/xhb/dirrec.prg
  * src/rtl/dirscan.prg
    ! use directry.ch constants

  * contrib/hbqt/tests/draggable.prg
    ! hbformat and manual formats/cleanups

  * src/vm/maindllp/dllext.c
    ! fixed typo in recent addition
2012-06-07 23:18:44 +00:00
Pritpal Bedi
b45ffc3326 2012-06-07 07:52 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/tests/draggable.prg
    ! Uncommented: oWId:setAttribute( Qt_WA_TranslucentBackground )
2012-06-07 14:53:43 +00:00
Pritpal Bedi
7ec28300cd 2012-06-07 07:38 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/tests/draggable.prg
    + Added: a draggable Harbour Logo without titlebar.

  * contrib/hbqt/tests/testres.prg
    ! Rewritten: per current hbQT implementation.    

    ; Both are supplied by Bacco, thankyou.
2012-06-07 14:41:34 +00:00
Viktor Szakats
70615b6613 2012-06-07 15:40 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbrun/hbrun.hbp
    + build hbrun in -shared mode if HB_BUILD_CONTRIB_DYN is 
      enabled. This means that new dynamic loading feature 
      will work out of the box if Habrour is build using 
      HB_BUILD_CONTRIB_DYN=yes.
2012-06-07 13:40:34 +00:00
Viktor Szakats
3afab7b585 2012-06-07 12:45 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + added darwin Homwbrew support
    * minor improvements on darwin pkg manager usage
2012-06-07 10:46:15 +00:00
Viktor Szakats
04cb7eb758 typo 2012-06-07 10:21:39 +00:00
Viktor Szakats
9684accf5f 2012-06-07 12:15 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/Makefile
  * include/common.ch
  + include/hbhash.ch
    + moved hash-related constants from common.ch to new hbhash.ch
    ; common.ch include hbhash.ch for compatibility, protected by
      HB_LEGACY_LEVEL4 so it will stop being included automatically.
      If you use HB_HAUTOADD_* or HB_HMERGE_* constants, make sure
      to #include "hbhash.ch".

  * contrib/hbrun/headers.prg
  * utils/hbmk2/hbmk2.prg
    + include hbhash.ch

  * src/rdd/hbsix/sxini.prg
    * use hbhash.ch instead of common.ch
2012-06-07 10:20:17 +00:00
Pritpal Bedi
d3a349b87f 2012-06-06 21:26 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/tests/qtrevamp.prg
    - Removed: note on returned QAction if it is not of same type 
      as stated in previous commit. New hbQT is always returning 
      NIL if a valid Qt pointer could not been obtained. This holds 
      true for all type of objects. Actually I did not test it 
      along these lines. So with __HBQT_REVAMP__ there is no need 
      of :isValidPointer() any more, just test a returned object 
      against NIL.
2012-06-07 04:30:46 +00:00
Pritpal Bedi
8f4cd3929a 2012-06-06 18:54 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_bind.cpp
    * Struggled: to set pointer arithmatic to be used properly.
      Also at times Qt returns different type instead of one 
      defined in documentation, but referred in description part only.
      For example, a popup menu returns null instead of QAction if 
      no item is selected or user pressed escape. This is not 
      possible to manage such instances in present engine. For 
      this reason only :isValidPointer() method was introduced.
      In REVAMPED hbQT this is different. So to test it, the only 
      way to ascertain is if the Harbour class name is of same type.

  * contrib/hbqt/tests/qtrevamp.prg
    + Added: popup menu option to demonstrate what happens 
      at the background, if tracelog is activated.    

    ; NOTE: I am not from C or C++ background at all, so some things 
      may not be as elegant as those should be when viewed from 
      source point of view. Also trace entries are left in the 
      code, though under DEBUG mode, which will be cleaned once 
      code settles down.
2012-06-07 02:04:20 +00:00
Viktor Szakats
c4ca9bc3af 2012-06-07 00:43 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/xhb/bkgtsks.c
    % cleanup missed in prev
2012-06-06 22:43:59 +00:00
Viktor Szakats
e43cdcc5cd 2012-06-07 00:23 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/xhb/bkgtsks.c
  * doc/en/hb_api.txt
  * doc/en/hb_apird.txt
  * include/hbapi.h
  * include/hbapicls.h
  * include/hbapierr.h
  * include/hbapirdd.h
  * include/hbcompdf.h
  * include/hbstack.h
  * include/hbtypes.h
  * include/hbvmpub.h
  * src/rdd/nulsys/nulsys.c
  * src/rdd/wafunc.c
  * src/rtl/idle.c
  * src/rtl/type.c
  * src/vm/arrays.c
  * src/vm/classes.c
  * src/vm/estack.c
  * src/vm/garbage.c
  * src/vm/hvm.c
  * src/vm/itemapi.c
  * src/vm/macro.c
  * src/vm/maindllp/dllext.c
  * src/vm/memvars.c
    % HB_ITEM_PTR -> PHB_ITEM
    * HB_ITEM_PTR, PHB_CODEBLOCK and HB_BASEARRAY_PTR marked
      with HB_LEGACY_LEVEL4, latter two were unused
      inside Harbour SVN.

  * contrib/xhb/bkgtsks.c
  * src/vm/dynsym.c
    % two more local pointer type synonyms deleted
2012-06-06 22:26:21 +00:00
Viktor Szakats
d0234ae015 2012-06-06 19:17 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/hbapi.h
    - deleted unused old HB_BASEARRAY_PTR type. INCOMPATIBLE.
      Same as PHB_BASEARRAY, use this instead.

  * include/hbtypes.h
  * src/vm/maindllp/dllext.c
    + added hb_macroTextValue() to hbmaindllp.

  ; TODO: rename all HB_ITEM_PTR to PHB_ITEM and delete former.
          pls shout if there is any difference in usage between 
          these two.
2012-06-06 17:19:43 +00:00
Viktor Szakats
8a0e1e603d 2012-06-06 16:02 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/make.hb
  * utils/hbmk2/hbmk2.es_PE.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.prg
    + use JSON format instead of hand-rolled microformat for 
      --hbinfo output (used in Harbour SVN for communication 
      between contrib make.hb script and hbmk2)
      INCOMPATIBLE. Update your system in the unlikely event 
      you use --hbinfo output.
2012-06-06 14:03:50 +00:00
Viktor Szakats
ee6129dd7d 2012-06-06 15:17 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    * marked hbmk2_* plugin API functions with HB_LEGACY_LEVEL4
2012-06-06 13:18:07 +00:00
Viktor Szakats
84fd6f8dd1 2012-06-06 12:53 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + added code signing options to help screen (though still 
      untested on darwin)
2012-06-06 10:53:56 +00:00
Viktor Szakats
44659a7e4f 2012-06-06 12:44 UTC+0200 Viktor Szakats (harbour syenar.net)
+ contrib/hbrun/extdyn.prg
  + contrib/hbrun/extdynpl.hb
  + contrib/hbrun/extstat.prg
  - contrib/hbrun/pullext.prg
  - contrib/hbrun/pullextp.hb
  * contrib/hbrun/hbrun.hbp
  * contrib/hbrun/hbrun.prg
  * contrib/hbrun/plugins.prg
    * internal cleanup, renames and restructuring
    + findinpath function to accept arrays
    + loaded dynamic extensions are now searched in curdir,
      hbrun dir and PATH on non-*nix and LD_LIBRARY_PATH on *nix 
      systems
    ! fixed findinpath always returning success
    * renamed some stuff recently introduced:
       HBRUN_DYN -> HBRUN_EXT
       hbrun.dyn -> hbrun.ext
       dyn plugin -> ext plugin (f.e. ext.list, ext.load, ext.unload)
    ; all non-core modules are called "extensions", the ones
      linked at build time are called "static extensions", ones loaded
      dynamically are called "dynamic extensions". Console command
      plugins are called "plugins". It's still not final.

  * utils/hbmk2/hbmk2.prg
    ! misplaced comment
2012-06-06 10:46:34 +00:00
Viktor Szakats
4d96da75b6 2012-06-06 10:26 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/pp/ppcore.c
    + accept and ignore '#require' PP directive

  * contrib/hbrun/hbrun.prg
  * utils/hbmk2/hbmk2.prg
    + use '#require "name"' to request modules.
      (This replaces former '//#require', '//#pragma module' and
       '*#pragma module' directives.)

  * utils/hbmk2/hbmk2.prg
    + add .hbc automatically for '#require' directives (experimental)
      ; TODO: to work also in non-incremental mode and to work
              reliably in -inc mode. To not impact performance, the
              compiler could do a callback when #require is found,
              hbmk2 could find the .hbc and extend compiler options
              dynamically.
    ! fixed finding .hbc files that were detected automatically

  * contrib/hbrun/hbrun.1
    + added my name as author
2012-06-06 08:29:39 +00:00
Viktor Szakats
c6e261d74e typo in changelog 2012-06-06 02:11:36 +00:00
Viktor Szakats
22c96ec47a 2012-06-06 04:07 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbrun/hbrun.prg
  * contrib/hbrun/pullext.prg
    + changed to use '//#require' syntax.
    ! filter empty dynamic modules
    + display error when trying to load dynamic modules in static
      hbrun build

  * include/hbver.ch
  * src/rtl/version.c
    + added hb_Version( HB_VERSION_SHARED ) to query whether
      the app was built in shared mode or static.
2012-06-06 02:10:45 +00:00
Viktor Szakats
3c4577732d 2012-06-06 03:35 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbrun/hbrun.prg
    ! typo causing '*#pragma module' to fail.
    + changed to use '//#pragma module' syntax to avoid using
      obsolete comment marker.
2012-06-06 01:38:17 +00:00
Viktor Szakats
98954c2b79 2012-06-06 02:22 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbrun/hbrun.prg
    + added experimental script syntax to dynamically load modules:
      --- testcurl.hb
       *#pragma module "hbcurl"
       ? curl_version()
      ---
    ; QUESTION: Is it possible to allow unknown #pragmas so above
                comment-hack could be avoided? ATM harbour compilers
                issues and error whenever an unknown pragma is found.
2012-06-06 00:24:58 +00:00