Commit Graph

6343 Commits

Author SHA1 Message Date
Pritpal Bedi
aba6fd4905 2012-06-01 08:05 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/HBQTableView.qth
  * contrib/hbqt/qtgui/qth/QHeaderView.qth
  * contrib/hbqt/qtgui/qth/QListWidgetItem.qth
  * contrib/hbqt/qtgui/qth/QStatusBar.qth
  * contrib/hbqt/qtgui/qth/QTextDocument.qth
  * contrib/hbqt/qtgui/qth/QTreeWidgetItem.qth
    ! Fixed: constructors for few more classes. 
      Now contrib/hbxbp/demoxbp.prg shows up at least.
2012-06-01 15:08:44 +00:00
Pritpal Bedi
5614f62a18 2012-05-31 23:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/QApplication.qth
  * contrib/hbqt/qtgui/qth/QColorDialog.qth
  * contrib/hbqt/qtgui/qth/QDirModel.qth
  * contrib/hbqt/qtgui/qth/QHBoxLayout.qth
  * contrib/hbqt/qtgui/qth/QPageSetupDialog.qth
  * contrib/hbqt/qtgui/qth/QScrollBar.qth
  * contrib/hbqt/qtgui/qth/QTableView.qth
  * contrib/hbqt/qtgui/qth/QVBoxLayout.qth
  * contrib/hbqt/qtgui/qth/QWizard.qth
    ! Fixed: constructors which was basically wrong way to get a 
      class object. This became visible only when QPointer< QClass >
      guard is eliminated which was hiding this wrong way.

  * contrib/hbqt/hbmk2_qt.hb
  * contrib/hbqt/qtcore/hbqt.h
  + contrib/hbqt/qtcore/hbqt_bind.cpp
  + contrib/hbqt/qtcore/hbqt_obj.prg
  * contrib/hbqt/qtcore/hbqt_pointer.cpp
  * contrib/hbqt/qtcore/hbqtcore.hbm
  * contrib/hbqt/qtcore/hbqtcore.hbx
    + Implemented Przemek's draft concept with some changes.
      This can be invoked by uncommenting #define __HBQT_REVAMP__
      directive in hbqt.h and hbmk2_qt.hb and recompiling hbQT.

  ; NOTE: all demo tests in contrib/hbqt/tests/* are working ok with new 
          revamped engine, which, I hope will be matured with time, and 
          only if Przemek will revive his interest in this project.
          The demos are working ok with a GPF on exit. I did not 
          tried hard to track but hopefully will be a minor issue.
          This implementation is not taking use of QPointer<> guard
          and is operational on pure pointers, it has discovered
          a fundamental flaw in some of the .qth where constructors
          were not adhering to primary rules. It may take me a while 
          to visit all the classes and make the correction. Today's
          implementation has fixes for those classes which are used
          in demo programs.

          This commit became essential in the wake of divided thoughts 
          about having two implementations in parallel. This commit 
          shows the way that we do not need that, just few changes in 
          core engine will establish the solid foundation.
2012-06-01 07:04:17 +00:00
Przemyslaw Czerpak
721936c765 2012-05-31 13:58 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/contrib/hbct/getsecrt.prg
    ! do not use RANGEREPL() which is not UTF8 ready function
2012-05-31 11:59:29 +00:00
Pritpal Bedi
01efbcdafc 2012-05-26 12:12 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_pointer.cpp
    ! Changed: HB_FUNC( SIGNAL2SLOT ) => HB_FUNC( HBQT_CONNECT )
  * contrib/hbqt/tests/signalslots.prg
    * Applied above change.
2012-05-26 19:13:57 +00:00
Pritpal Bedi
37b043679c 2012-05-25 18:36 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/qth/QObject.qth
    + Uncommented: method QList<QObject*> children() const.
2012-05-26 01:39:34 +00:00
Pritpal Bedi
104652a8d1 2012-05-24 12:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_pointer.cpp
    + Added: HB_FUNC( SIGNAL2SLOT ) which simulates exactly Qt's way 
      of signal/slot mechanism. Now hbQT has yet another way to 
      mimic signal/slots. 

  + contrib/hbqt/tests/signalslots.prg
    + Added: deno program to demonstrate Qt's way of signal/slot
      affinity in Harbour.

    NOTE: above contribution is made by Francessco Perrilo, thanks.
2012-05-24 19:22:12 +00:00
Viktor Szakats
845555ffb8 2012-05-24 14:35 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbtip/ftpcli.prg
    ! fixed item deletion inside FOR EACH loop (regression from 
      5 years ago). Suggested by Klas Engwall.
2012-05-24 12:36:57 +00:00
Pritpal Bedi
d9647e058e 2012-05-23 18:48 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/hbqreportsmanager.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/ideskeletons.prg
    ! Fixed: some more regression failures.
2012-05-24 01:51:25 +00:00
Pritpal Bedi
eb483d7573 2012-05-23 15:41 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/hbqtoolbar.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/idebrowse.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/idemisc.prg
    ! Streamlined: HBQToolbar class adding more methods and refining 
      others. All toolbars in hbIDE except the one, are now based 
      on HBQToolbar() class and probably it becomes candidate to be 
      transferred to hbQT after a bit of polishing.
2012-05-23 22:45:57 +00:00
Pritpal Bedi
a261f6c3dc 2012-05-23 14:24 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/xbpfiledialog.prg
    - Removed: a latest introduced test code.
2012-05-23 21:26:10 +00:00
Pritpal Bedi
e52b65be0c 2012-05-22 18:11 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/xbptoolbar.prg
    ! Fixed: one regression based on recent hbQT mem leak fixes.

  * contrib/hbide/ideedit.prg
    * Fixed: recursively attching self to some instance variable.
    * Normalized: code.

  * contrib/hbide/ideactions.prg
  * contrib/hbide/idemisc.prg
    * Fixed: some lost actions resulting after recent hbQT changes.
      NOTE: more are left still, stay tuned.
2012-05-23 01:18:00 +00:00
Pritpal Bedi
a04367d541 2012-05-22 14:13 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/xbpfiledialog.prg
    * Fixed: how :connect()/:disconnect() was applied.
             NOTE: until a :disconnect() is performed on an object
                   which has an actice :connect(), it never goes 
                   out-of-scope.
2012-05-22 21:21:51 +00:00
Viktor Szakats
6918a1f683 2012-05-18 17:58 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbwin/win_reg.prg
    ! fixed RTE when non-NIL/non-numeric nRegSam is passed + minor cleanup/formatting
2012-05-18 16:00:53 +00:00
Pavel Tsarenko
bcd00a0fe6 2012-05-18 18:15 UTC+0300 Pavel Tsarenko (tpe2 at mail.ru)
* contrib/hbwin/win_reg.prg
  * contrib/hbwin/tests/test_reg.prg
    * added nRegSam (access mask) parameter into functions: win_regRead,
      win_regWrite, win_regGet, win_regDelete, win_regQuery, win_regSet.
      This parameter can be used in win32 applications, running under
      win64 systems for access to 32-bit or 64-bit registry.
2012-05-18 15:17:30 +00:00
Pritpal Bedi
37a107dcf9 2012-05-17 14:07 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbmk2_qt.hb
    ! Fix to last fix.

  * contrib/hbqt/qtgui/qth/QListWidget.qth
  * contrib/hbqt/qtgui/qth/QMainWindow.qth
    + Added: attach/detach/return_not_new tags.
      [*D=n;A=n;R=n*]

  * contrib/hbqt/tests/demoqt.prg
    ! On path to prevent memory leaks.
      Please investigate the code changes and you will know 
      how many objects were been around without any mechanism 
      to free them. You can take help of Qt documentation.

    ; NOTE: currently demoqt.prg is the test bed for oncoming 
            GC related changes. 

  * contrib/hbide/hbqreportsmanager.prg
  * contrib/hbide/hbqtoolbar.prg
  * contrib/hbide/idebrowse.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/ideharbourhelp.prg
    ! On path to preparation for memory leakage.

  ; WARNING:  hbIDE is not at stable stage present.

  ; I always wondered why memory consumption goes on increasing 
    with time application written with hbQT. Now I have the answer,
    and hopefully in few coming days a great amount of them will be
    covered.
2012-05-18 01:59:52 +00:00
Pritpal Bedi
f58a4e033a 2012-05-17 14:07 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbmk2_qt.hb
    + Implemented: detach a returned object of a method where parent 
      do not retain the ownership of the child with itself. In that case 
      Harbour has to delete it explicitly. This can be activated with 
      [*R=1*] tag postfixing the method call in relevant .qth.

      EXAMPLE: QToolBar():addAction( cText )

  * contrib/hbqt/qtgui/qth/QMenu.qth
  * contrib/hbqt/qtgui/qth/QMenuBar.qth
  * contrib/hbqt/qtgui/qth/QToolBar.qth
    + Added: [*R=1*] tags whereever necessary.

  ; NOTE: I have tried with QAction() only to locate where it is 
          returned as a not-owned object. Please dig into Qt documentation 
          to find the other occurances. I know it is a tedious job, but 
          we have to do it anyway, which me alone cannot achieve.
2012-05-17 21:16:12 +00:00
Pritpal Bedi
993c53c7b0 2012-05-16 12:24 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt.h
  * contrib/hbqt/qtcore/hbqt_pointer.cpp
    - Removed: residual contructs pointing to "HB_U32 type" member of 
      all the important structure of HBQT plus the functions associated
      with it. Strange point is that the bug was not showing up on Windows. 
      Thanks Francessco for dig-up.
2012-05-16 19:27:58 +00:00
Pavel Tsarenko
ca0e3da363 2012-05-15 20:40 UTC+0300 Pavel Tsarenko (tpe2 at mail.ru)
* contrib/hbtip/ftpcli.prg
    ! small fix in the :FileSize() method
  * contrib/hbtip/client.prg
    * added additional check in the :ReadToFile() method
2012-05-15 17:41:21 +00:00
Viktor Szakats
e86772dc57 2012-05-15 18:08 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbqt/qtwebkit/hbqtwebkit.hbm
  * contrib/hbqt/hbqt_common.hbm
  * INSTALL
    + added support for QT from Homebrew package manager. Probably 
      a better option than the official installer which is a) not 
      compatible with latest Xcode changes b) copies millions of 
      files into the system file structure with no easy uninstall 
      or upgrade option.
2012-05-15 16:09:26 +00:00
Pritpal Bedi
70fa1debb0 2012-05-15 00:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbmk2_qt.hb
  * contrib/hbqt/qtcore/hbqtcore.h
  * contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp
  * contrib/hbqt/qtgui/hbqtgui.h
    - Removed: the usage of HBQT_TYPE_xxxx constants.
      It was a hack to identify a few type of objects Qt had 
      not provided the mechanism to retrieve.
      NOTE: there should be improvement in build speed of hbQT.

  * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp
    - Added: deletion of child widget of HBQPlainTextEdit.
2012-05-15 07:07:01 +00:00
Pritpal Bedi
e3232318b2 2012-05-13 16:46 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbmk2_qt.hb
    - Removed: #define __GCMARK__

  * contrib/hbqt/qtgui/qth/QStyleOptionFrame.qth
    ! Fixed: wrong "Inherit" value - qStyleOption => QStyleOption.
2012-05-13 23:50:05 +00:00
Pritpal Bedi
8f8cb5927c 2012-05-13 12:44 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbmk2_qt.hb
    ! Fixed: to properly handle HBQxxx classes alongwith Qxxx ones.
2012-05-13 19:48:01 +00:00
Pritpal Bedi
fb248a5e2b 2012-05-13 12:25 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.h
  * contrib/hbqt/qtgui/qth/HBQSyntaxHighlighter.qth
    + Added: method hbSetEditor( QPlainTextEdit edit ).
      This fixes issues where some of the components of hbIDE were 
      not working properly due to strict object inheritance checking.
2012-05-13 19:30:33 +00:00
Pritpal Bedi
3c3bab9788 2012-05-13 00:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_hbqevents.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
  * contrib/hbqt/qtcore/hbqt_misc.prg
    * Optimizations.
    * More VM protections.

  * contrib/hbxbp/xbplistbox.prg
    ! Fixed: a nasty construct in :clear() method where slots were 
      being disconnected and connected again increasing the unnecessary
      object destruction/creation.

  * contrib/hbqt/tests/demoqt.prg
  * contrib/hbqt/tests/testbrow.prg
    ! Minor guards.

  ; NOTE: all the hbQT related test programmes are working flawlessly.
          hbIDE still reports "reference to freed block" error but 
          this is not due to hbQT, instead, the complex object 
          relationship of hbXBP/hbQT/hbIDE classes. This is only 
          visible when hbIDE is linked without :destroy() mechanism.
          BUT no GPF whatsoever. With :destroy() calls hbIDE EXITS 
          normally.
2012-05-13 07:40:47 +00:00
Pritpal Bedi
fef080b8a0 2012-05-13 00:19 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/qth/*.qth
  * contrib/hbqt/qtgui/qth/*.qth
  * contrib/hbqt/qtnetwork/qth/*.qth
    ! Copyright year bump.
    + Formatting.
    - Long coptyright notice to short one.
2012-05-13 07:29:44 +00:00
Pritpal Bedi
1ccbc129f6 2012-05-12 00:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbmk2_qt.hb
    * Fixed: the objects derived from QObject but without a constructor
      were conflickting somehow with the use of shared pointer.
      Now any demo in hbqt/tests and hbxbp/tests does not through
      error messages at EXIT. TESTBROW.PRG with #if 0 / #if 1 
      works flawlessly. However, in hbIDE these error messages still
      exist if :destroy() is not employed, otherwise, neither error 
      messages nor GPF.
2012-05-12 08:02:38 +00:00
Pritpal Bedi
914f285220 2012-05-11 18:45 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idefunctions.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idemain.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideshortcuts.prg
    * Optimized: to avoid repeated QApplication() object creation 
      and destruction.

  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
  * contrib/hbqt/qtcore/hbqt_misc.prg
  * contrib/hbqt/qtcore/hbqt_pointer.cpp
    * Changed: the way :connect()/disConnect() could been 
      applied to an object. Now programmer cannot make 
      a mistake, controlling one more pitfall.

  * contrib/hbqt/qtcore/qth/QUrl.qth
  * contrib/hbqt/qtgui/qth/QListWidgetItem.qth
    - Inherits = QObject

  * contrib/hbqt/qtgui/qth/QWidget.qth
    - PainEvent = YES

  ; NOTE: still "Reference to freed block" messages at EXIT 
          are unresolved and very much reproducable.
2012-05-12 01:54:41 +00:00
Pritpal Bedi
01ab293254 2012-05-11 01:45 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbmk2_qt.hb
    + Applied: concept forwarded by Francessco a few days back,
      where class creation and registration has been separated.
      This reduces a lot of object creation and destruction.
      It also increases the speed, you can experience in hbIDE.
      Not confirmed, but have also noticed that memory consumption 
      has also been optimized.
2012-05-11 08:50:23 +00:00
Pritpal Bedi
70f1e370e6 2012-05-09 14:35 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idemain.prg
    ! Disabled: :destroy() calls before application quits.
    * Simplified: ambigous variable reference.

  ; NOTE: now hbIDE does not produces GPF on EXIT but throws 
          2 RTE the contents of them can be viewed in tracelog. 
          .
          Error BASE/1301 Object destructor failure: Reference to freed block.
2012-05-09 21:40:19 +00:00
Pritpal Bedi
cfb9367b83 2012-05-09 12:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/hbqt_errorsys.prg
    + Added: HB_TRACE() call if HVM is closed and error message 
       needs to be retrieved somehow. It will allow us to 
       peep in further to pin-point the EXIT GPF.
  * contrib/hbqt/qtgui/hbqtgui.hbx
    * Re-generated.
  * contrib/hbxbp/tests/demoxbp.prg
    * Minor.
  * contrib/hbide/idehome.prg
    * Minor.
  * contrib/hbide/idemain.prg
    ! Enabled: :destroy() calls before application quits.

  ; NOTE: now no more EXIT GPF is reported in hbIDE.
          Please shout if you get one and report the message 
          available on std error output, for Window which 
          will be debugger like debug.exe.
2012-05-09 19:24:08 +00:00
Viktor Szakats
5f56dd3a9d 2012-05-09 11:24 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbqt/qtgui/hbqt_init.cpp
    ! use C syntax where C++ is not required

  * bin/3rdpatch.hb
    ! updated name in docs
2012-05-09 09:25:21 +00:00
Pritpal Bedi
f0a8da98c8 2012-05-08 20:25 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/hbqt_init.cpp
    * Fixed: one more potential GPF trap.
2012-05-09 05:29:09 +00:00
Pritpal Bedi
b7150ccccf 2012-05-08 20:04 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/hbqt_errorsys.prg
    * Guarded: against possible recursive error handler calls
        with hbqt_isActiveApplication().
  * contrib/hbqt/qtgui/hbqt_init.cpp
    + Added: HB_FUNC( HBQT_ISACTIVEAPPLICATION ).  

  ; NOTE: there may be a better solution, I know, but...
2012-05-09 05:10:26 +00:00
Pritpal Bedi
846f136647 2012-05-08 16:04 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtwebkit/qth/QWebFrame.qth
  * contrib/hbqt/qtwebkit/qth/QWebHistoryItem.qth
  * contrib/hbqt/qtwebkit/qth/QWebHitTestResult.qth
  * contrib/hbqt/qtwebkit/qth/QWebPage.qth
  * contrib/hbqt/qtwebkit/qth/QWebPluginFactory.qth
  * contrib/hbqt/qtwebkit/qth/QWebSecurityOrigin.qth
  * contrib/hbqt/qtwebkit/qth/QWebView.qth
    - Replaced: HB_ISOBJECT() => hbqt_par_isDerivedFrom()
    * Rationalized: constructors.
2012-05-08 23:06:39 +00:00
Pritpal Bedi
f764b317a6 2012-05-08 15:14 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtnetwork/qth/QFtp.qth
  * contrib/hbqt/qtnetwork/qth/QHttp.qth
  * contrib/hbqt/qtnetwork/qth/QHttpHeader.qth
  * contrib/hbqt/qtnetwork/qth/QHttpRequestHeader.qth
  * contrib/hbqt/qtnetwork/qth/QHttpResponseHeader.qth
  * contrib/hbqt/qtnetwork/qth/QNetworkProxy.qth
  * contrib/hbqt/qtnetwork/qth/QNetworkRequest.qth
  * contrib/hbqt/qtnetwork/qth/QUrlInfo.qth
    - Replaced: HB_ISOBJECT() => hbqt_par_isDerivedFrom()
    * Rationalized: constructors.
2012-05-08 22:16:55 +00:00
Viktor Szakats
c9e121e4ea 2012-05-08 18:20 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbnetio/utils/hbnetio/netiosrv.prg
  * contrib/hbrun/plugins.prg
    - deleted .hbs script support from places where it was 
      unlikely to be used in the wild

  * contrib/hbide/ideplugins.prg
    * changed to support .hb extension for plugins instead of 
      .hbs (plus, same applies as above0
2012-05-08 16:21:26 +00:00
Viktor Szakats
b57f2526a7 2012-05-08 18:05 UTC+0200 Viktor Szakats (harbour syenar.net)
* INSTALL
  * COPYING
  * debian/copyright
  * package/harbour.spec
  - contrib/make.hbs
  + contrib/make.hb
  * contrib/Makefile
  * Makefile
  - config/postinst.hbs
  + config/postinst.hb
    * .hbs -> .hb for Harbour scripts in core

    ; NOTE: Use '.hb' extension for Harbour script from now on.
            '.hbs' is deprecated.
2012-05-08 16:06:24 +00:00
Viktor Szakats
032297d7e6 2012-05-08 17:55 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbpost.hbm
  - contrib/hbqt/hbmk2_qt.hbs
  + contrib/hbqt/hbmk2_qt.hb
  * contrib/hbqt/hbqt_common.hbc
  * contrib/hbqt/hbqt_common.hbm
    * .hbs -> .hb for Harbour scripts in contribs
2012-05-08 15:56:12 +00:00
Viktor Szakats
88efc242b2 2012-05-08 17:51 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/postinst.hbs
    * implemented same ASORT() fix as in prev commit by Przemek.
      (it may be important once we modify hbrun/hbmk2 to run 
      scripts under UTF8 CP)

  * contrib/hbnetio/utils/hbnetio/modules.hbp
  - contrib/hbnetio/utils/hbnetio/rpcdemo.hbs
  + contrib/hbnetio/utils/hbnetio/rpcdemo.hb
  - contrib/hbide/plugins/hbide_script_qtgui.hbs
  + contrib/hbide/plugins/hbide_script_qtgui.hb
  - contrib/hbide/plugins/hbide_plugin_savebackup.hbs
  + contrib/hbide/plugins/hbide_plugin_savebackup.hb
  - utils/hbmk2/examples/plug_tpl.hbs
  + utils/hbmk2/examples/plug_tpl.hb
  - tests/stripdoc.hbs
  + tests/stripdoc.hb
    * .hbs -> .hb for Harbour scripts.

  * tests/stripdoc.hb
    + use directry.ch
2012-05-08 15:51:55 +00:00
Pritpal Bedi
12e92b8425 2012-05-08 06:50 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/QWheelEvent.qth
    ! Fixed: ISNUM() => HB_ISNUM.
2012-05-08 13:52:47 +00:00
Pritpal Bedi
3b3410f9c5 2012-05-07 20:08 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/QDeclarativeEngine.qth
  * contrib/hbqt/qtgui/qth/QDeclarativeError.qth
  * contrib/hbqt/qtgui/qth/QDeclarativeItem.qth
  * contrib/hbqt/qtgui/qth/QDeclarativeListReference.qth
  * contrib/hbqt/qtgui/qth/QDeclarativePropertyMap.qth
  * contrib/hbqt/qtgui/qth/QDeclarativeScriptString.qth
  * contrib/hbqt/qtgui/qth/QDialogButtonBox.qth
  * contrib/hbqt/qtgui/qth/QDockWidget.qth
  * contrib/hbqt/qtgui/qth/QDoubleValidator.qth
  * contrib/hbqt/qtgui/qth/QDragEnterEvent.qth
  * contrib/hbqt/qtgui/qth/QDragLeaveEvent.qth
  * contrib/hbqt/qtgui/qth/QDragMoveEvent.qth
  * contrib/hbqt/qtgui/qth/QDropEvent.qth
  * contrib/hbqt/qtgui/qth/QFileDialog.qth
  * contrib/hbqt/qtgui/qth/QFileOpenEvent.qth
  * contrib/hbqt/qtgui/qth/QFocusEvent.qth
  * contrib/hbqt/qtgui/qth/QFont.qth
  * contrib/hbqt/qtgui/qth/QFontDialog.qth
  * contrib/hbqt/qtgui/qth/QFontInfo.qth
  * contrib/hbqt/qtgui/qth/QGraphicsGridLayout.qth
  * contrib/hbqt/qtgui/qth/QGraphicsItemAnimation.qth
  * contrib/hbqt/qtgui/qth/QGraphicsItemGroup.qth
  * contrib/hbqt/qtgui/qth/QGraphicsLinearLayout.qth
  * contrib/hbqt/qtgui/qth/QGraphicsProxyWidget.qth
  * contrib/hbqt/qtgui/qth/QGraphicsSimpleTextItem.qth
  * contrib/hbqt/qtgui/qth/QGraphicsSvgItem.qth
  * contrib/hbqt/qtgui/qth/QGraphicsTextItem.qth
  * contrib/hbqt/qtgui/qth/QGraphicsWidget.qth
  * contrib/hbqt/qtgui/qth/QHelpEvent.qth
  * contrib/hbqt/qtgui/qth/QHideEvent.qth
  * contrib/hbqt/qtgui/qth/QHoverEvent.qth
  * contrib/hbqt/qtgui/qth/QImage.qth
  * contrib/hbqt/qtgui/qth/QInputEvent.qth
  * contrib/hbqt/qtgui/qth/QInputMethodEvent.qth
  * contrib/hbqt/qtgui/qth/QIntValidator.qth
  * contrib/hbqt/qtgui/qth/QItemDelegate.qth
  * contrib/hbqt/qtgui/qth/QItemEditorFactory.qth
  * contrib/hbqt/qtgui/qth/QItemSelectionModel.qth
  * contrib/hbqt/qtgui/qth/QKeyEvent.qth
  * contrib/hbqt/qtgui/qth/QKeySequence.qth
  * contrib/hbqt/qtgui/qth/QLabel.qth
  * contrib/hbqt/qtgui/qth/QLinearGradient.qth
  * contrib/hbqt/qtgui/qth/QListWidget.qth
  * contrib/hbqt/qtgui/qth/QMainWindow.qth
  * contrib/hbqt/qtgui/qth/QMdiArea.qth
  * contrib/hbqt/qtgui/qth/QMdiSubWindow.qth
  * contrib/hbqt/qtgui/qth/QMenu.qth
  * contrib/hbqt/qtgui/qth/QMenuBar.qth
  * contrib/hbqt/qtgui/qth/QMessageBox.qth
  * contrib/hbqt/qtgui/qth/QMouseEvent.qth
  * contrib/hbqt/qtgui/qth/QMoveEvent.qth
  * contrib/hbqt/qtgui/qth/QPainter.qth
  * contrib/hbqt/qtgui/qth/QPaintEvent.qth
  * contrib/hbqt/qtgui/qth/QPalette.qth
  * contrib/hbqt/qtgui/qth/QPicture.qth
  * contrib/hbqt/qtgui/qth/QPlainTextDocumentLayout.qth
  * contrib/hbqt/qtgui/qth/QPlainTextEdit.qth
  * contrib/hbqt/qtgui/qth/QPrinter.qth
  * contrib/hbqt/qtgui/qth/QPushButton.qth
  * contrib/hbqt/qtgui/qth/QRadialGradient.qth
  * contrib/hbqt/qtgui/qth/QRadioButton.qth
  * contrib/hbqt/qtgui/qth/QRegExpValidator.qth
  * contrib/hbqt/qtgui/qth/QResizeEvent.qth
  * contrib/hbqt/qtgui/qth/QShortcutEvent.qth
  * contrib/hbqt/qtgui/qth/QShowEvent.qth
  * contrib/hbqt/qtgui/qth/QSizePolicy.qth
  * contrib/hbqt/qtgui/qth/QSortFilterProxyModel.qth
  * contrib/hbqt/qtgui/qth/QSpacerItem.qth
  * contrib/hbqt/qtgui/qth/QTableWidgetItem.qth
  * contrib/hbqt/qtgui/qth/QTextBlock.qth
  * contrib/hbqt/qtgui/qth/QTextBlockFormat.qth
  * contrib/hbqt/qtgui/qth/QToolBar.qth
  * contrib/hbqt/qtgui/qth/QWheelEvent.qth
  * contrib/hbqt/qtgui/qth/QWidget.qth
  * contrib/hbqt/qtgui/qth/QWindowStateChangeEvent.qth
    - Replaced: HB_ISOBJECT( n ) => hbqt_par_isDerivedFrom( n, "QXXX" )
    + Added: RTE where needed.
2012-05-08 03:13:34 +00:00
Pritpal Bedi
c5f23b422e 2012-05-07 01:04 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_pointer.cpp
    + Added: hbqt_par_isDerivedFrom() - protection against a null 
        pointer passed as an argument. This makes possible to detect
        if an object is still active when passed. If not, a RTE is 
        generated. This covers some more potential user mistakes.
2012-05-07 08:08:58 +00:00
Pritpal Bedi
8fd32d2325 2012-05-07 00:57 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/HBQGraphicsItem.qth
  * contrib/hbqt/qtgui/qth/HBQGraphicsScene.qth
  * contrib/hbqt/qtgui/qth/HBQPlainTextEdit.qth
  * contrib/hbqt/qtgui/qth/QAction.qth
  * contrib/hbqt/qtgui/qth/QActionEvent.qth
  * contrib/hbqt/qtgui/qth/QActionGroup.qth
  * contrib/hbqt/qtgui/qth/QBrush.qth
  * contrib/hbqt/qtgui/qth/QButtonGroup.qth
  * contrib/hbqt/qtgui/qth/QCloseEvent.qth
  * contrib/hbqt/qtgui/qth/QColor.qth
  * contrib/hbqt/qtgui/qth/QComboBox.qth
  * contrib/hbqt/qtgui/qth/QContextMenuEvent.qth
    - Replaced: HB_ISOBJECT( n ) => hbqt_par_isDerivedFrom( n, "QXXX" )
2012-05-07 08:03:49 +00:00
Pritpal Bedi
1eeb32a3f6 2012-05-06 23:36 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/qth/QAbstractEventDispatcher.qth
  * contrib/hbqt/qtcore/qth/QBitArray.qth
  * contrib/hbqt/qtcore/qth/QBuffer.qth
  * contrib/hbqt/qtcore/qth/QByteArray.qth
  * contrib/hbqt/qtcore/qth/QChar.qth
  * contrib/hbqt/qtcore/qth/QChildEvent.qth
  * contrib/hbqt/qtcore/qth/QDataStream.qth
  * contrib/hbqt/qtcore/qth/QDate.qth
  * contrib/hbqt/qtcore/qth/QDateTime.qth
  * contrib/hbqt/qtcore/qth/QDir.qth
  * contrib/hbqt/qtcore/qth/QEvent.qth
  * contrib/hbqt/qtcore/qth/QEventLoop.qth
  * contrib/hbqt/qtcore/qth/QFile.qth
  * contrib/hbqt/qtcore/qth/QFileInfo.qth
  * contrib/hbqt/qtcore/qth/QFileSystemWatcher.qth
  * contrib/hbqt/qtcore/qth/QGenericArgument.qth
  * contrib/hbqt/qtcore/qth/QGenericReturnArgument.qth
  * contrib/hbqt/qtcore/qth/QIODevice.qth
  * contrib/hbqt/qtcore/qth/QLatin1Char.qth
  * contrib/hbqt/qtcore/qth/QLatin1String.qth
  * contrib/hbqt/qtcore/qth/QLine.qth
  * contrib/hbqt/qtcore/qth/QLineF.qth
  * contrib/hbqt/qtcore/qth/QList.qth
  * contrib/hbqt/qtcore/qth/QLocale.qth
  * contrib/hbqt/qtcore/qth/QModelIndex.qth
  * contrib/hbqt/qtcore/qth/QObject.qth
  * contrib/hbqt/qtcore/qth/QPoint.qth
  * contrib/hbqt/qtcore/qth/QPointF.qth
  * contrib/hbqt/qtcore/qth/QProcess.qth
  * contrib/hbqt/qtcore/qth/QRect.qth
  * contrib/hbqt/qtcore/qth/QRectF.qth
  * contrib/hbqt/qtcore/qth/QRegExp.qth
  * contrib/hbqt/qtcore/qth/QResource.qth
  * contrib/hbqt/qtcore/qth/QSettings.qth
  * contrib/hbqt/qtcore/qth/QSignalMapper.qth
  * contrib/hbqt/qtcore/qth/QSize.qth
  * contrib/hbqt/qtcore/qth/QSizeF.qth
  * contrib/hbqt/qtcore/qth/QStringList.qth
  * contrib/hbqt/qtcore/qth/QStringRef.qth
  * contrib/hbqt/qtcore/qth/QTextBoundaryFinder.qth
  * contrib/hbqt/qtcore/qth/QTextDecoder.qth
  * contrib/hbqt/qtcore/qth/QTextEncoder.qth
  * contrib/hbqt/qtcore/qth/QTextStream.qth
  * contrib/hbqt/qtcore/qth/QTime.qth
  * contrib/hbqt/qtcore/qth/QTimeLine.qth
  * contrib/hbqt/qtcore/qth/QTimer.qth
  * contrib/hbqt/qtcore/qth/QTranslator.qth
  * contrib/hbqt/qtcore/qth/QUrl.qth
    - Replaced: HB_ISOBJECT( n ) => hbqt_par_isDerivedFrom( n, "QXXX" )
2012-05-07 06:42:13 +00:00
Pritpal Bedi
1c224790af 2012-05-06 16:11 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/QBitmap.qth
  * contrib/hbqt/qtgui/qth/QBrush.qth
  * contrib/hbqt/qtgui/qth/QCursor.qth
  * contrib/hbqt/qtgui/qth/QDeclarativeContext.qth
  * contrib/hbqt/qtgui/qth/QDeclarativeProperty.qth
  * contrib/hbqt/qtgui/qth/QDeclarativeView.qth
  * contrib/hbqt/qtgui/qth/QFontMetrics.qth
  * contrib/hbqt/qtgui/qth/QFontMetricsF.qth
  * contrib/hbqt/qtgui/qth/QGraphicsEllipseItem.qth
  * contrib/hbqt/qtgui/qth/QGraphicsLineItem.qth
  * contrib/hbqt/qtgui/qth/QGraphicsPathItem.qth
  * contrib/hbqt/qtgui/qth/QGraphicsPixmapItem.qth
  * contrib/hbqt/qtgui/qth/QGraphicsPolygonItem.qth
  * contrib/hbqt/qtgui/qth/QGraphicsRectItem.qth
  * contrib/hbqt/qtgui/qth/QGraphicsScene.qth
  * contrib/hbqt/qtgui/qth/QGraphicsView.qth
  * contrib/hbqt/qtgui/qth/QIcon.qth
  * contrib/hbqt/qtgui/qth/QPaintEvent.qth
  * contrib/hbqt/qtgui/qth/QPen.qth
  * contrib/hbqt/qtgui/qth/QPixmap.qth
  * contrib/hbqt/qtgui/qth/QPrintDialog.qth
  * contrib/hbqt/qtgui/qth/QPrinterInfo.qth
  * contrib/hbqt/qtgui/qth/QPrintPreviewDialog.qth
  * contrib/hbqt/qtgui/qth/QPrintPreviewWidget.qth
  * contrib/hbqt/qtgui/qth/QRegion.qth
  * contrib/hbqt/qtgui/qth/QTextCursor.qth
    - Replaced: HBQT_TYPE_Qxxx  => hbqt_par_isDerivedFrom().
        Now it is safe to remove HBQT_TYPE_Qxxx constants from
        hbqtcore.
2012-05-06 23:15:07 +00:00
Pritpal Bedi
ae04a7e892 2012-05-05 20:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/qth/QDataStream.qth
  * contrib/hbqt/qtcore/qth/QDateTime.qth
  * contrib/hbqt/qtcore/qth/QFile.qth
  * contrib/hbqt/qtcore/qth/QFileInfo.qth
  * contrib/hbqt/qtcore/qth/QFileSystemWatcher.qth
  * contrib/hbqt/qtcore/qth/QRect.qth
  * contrib/hbqt/qtcore/qth/QRectF.qth
  * contrib/hbqt/qtcore/qth/QTextStream.qth
  * contrib/hbqt/qtcore/qth/QVariant.qth
    - Replaced: HBQT_TYPE_Qxxx  => hbqt_par_isDerivedFrom().
        Now it is safe to remove HBQT_TYPE_Qxxx constants from
        hbqtcore.
2012-05-06 06:19:23 +00:00
Pritpal Bedi
44dfaad739 2012-05-05 20:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbmk2_qt.hbs
    * Optimized: HB_ISLOG( n ) ? hb_parl( n ) : false | true )
                    =>
                 hb_parl( n ) | hb_parldef( n, true )
2012-05-06 05:33:42 +00:00
Pritpal Bedi
b762c675fe 2012-05-05 19:44 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbmk2_qt.hbs
    ! Fixed: to take use of the hbqt_par_isDerivedFrom() completely.
        This renders parameter checking with Class TYPE constants
        redundant which can be removed alltogether. This also 
        facilitates usage of subclassing a Qt class.

    ; TODO: impliment siblings checking inside hbqt_par_isDerivedFrom().
        HBQPlainTextEdit() is a sibling of QPlainTextEdit().
2012-05-06 02:49:42 +00:00
Pritpal Bedi
c4c03c5d35 2012-05-05 15:51 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtnetwork/qth/QNetworkProxy.qth
    + Fixed: constructors now respect new str API.
2012-05-05 22:52:29 +00:00
Pritpal Bedi
b7fdb783c6 2012-05-05 14:37 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/qth/QDir.qth
  * contrib/hbqt/qtcore/qth/QFile.qth
  * contrib/hbqt/qtcore/qth/QFileInfo.qth
  * contrib/hbqt/qtcore/qth/QLocale.qth
  * contrib/hbqt/qtcore/qth/QRegExp.qth
  * contrib/hbqt/qtcore/qth/QResource.qth
  * contrib/hbqt/qtcore/qth/QSettings.qth
  * contrib/hbqt/qtcore/qth/QStringList.qth
  * contrib/hbqt/qtcore/qth/QStringRef.qth
  * contrib/hbqt/qtcore/qth/QTextBoundaryFinder.qth
  * contrib/hbqt/qtcore/qth/QUrl.qth
  * contrib/hbqt/qtcore/qth/QVariant.qth
    + Fixed: constructors now respect new str API.
2012-05-05 21:40:05 +00:00