Commit Graph

9 Commits

Author SHA1 Message Date
Pritpal Bedi
0a890614e5 2010-04-16 07:28 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/qtcore/*.cpp
  * contrib/hbqt/qtgui/*.cpp
  * contrib/hbqt/qtnetwork/*.cpp
    * Regenerated Code. Details in next commit.
2010-04-16 14:46:00 +00:00
Pritpal Bedi
9f14cda6a9 2010-04-10 19:35 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/qtcore/*.cpp
  * contrib/hbqt/qtgui/*.cpp
  * contrib/hbqt/qtnetwork/*.cpp
    ! Regenerated sources with changes in logging format and addition.
2010-04-11 02:45:23 +00:00
Pritpal Bedi
a09639ebf4 2010-03-12 17:20 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/generator/hbqtgen.prg

  * contrib/hbqt/qth/QList.qth
  * contrib/hbqt/qth/QObject.qth
 
  * Re0generated: contrib/hbqt/qtgui/?.cpp 
  * Re-generated: contrib/hbqt/qtcore/?.cpp    

    + Eliminated any occurance of hb_retptr(*) calls.
      Now all objects which are created with "new" or are
      returned as a method call are encapsulated in GC 
      pointer. This is a step closer to find-out the potential
      GPFs.
2010-03-13 01:28:47 +00:00
Pritpal Bedi
580bf123ac 2010-02-22 09:16 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/qtcore/*.cpp 
  * contrib/hbqt/qtcore/*.cpp
  * contrib/hbqt/qtcore/*.cpp
    ! Regenerated sources after recent changes in headers implementation.
2010-02-22 17:59:32 +00:00
Pritpal Bedi
cd721d8b74 2010-01-30 18:35 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/generator/hbqtgen.prg

  * contrib/hbqt/hbqt_garbage.h
  * contrib/hbqt/hbqt_hbevents.cpp
  * contrib/hbqt/hbqt_hbevents.h
  * contrib/hbqt/hbqt_hbqmainwindow.cpp
  * contrib/hbqt/hbqt_hbslots.cpp

  + contrib/hbqt/qth/HBQMainWindow.qth

  * contrib/hbqt/tests/demoqt.prg

  * contrib/hbxbp/hbpprocess.prg
  * contrib/hbxbp/xbp3state.prg
  * contrib/hbxbp/xbpbrowse.prg
  * contrib/hbxbp/xbpcheckbox.prg
  * contrib/hbxbp/xbpcombobox.prg
  * contrib/hbxbp/xbpdialog.prg
  * contrib/hbxbp/xbpfiledialog.prg
  * contrib/hbxbp/xbpfontdialog.prg
  * contrib/hbxbp/xbphtmlviewer.prg
  * contrib/hbxbp/xbplistbox.prg
  * contrib/hbxbp/xbpmenubar.prg
  * contrib/hbxbp/xbpprintdialog.prg
  * contrib/hbxbp/xbprtf.prg
  * contrib/hbxbp/xbpscrollbar.prg
  * contrib/hbxbp/xbpsle.prg
  * contrib/hbxbp/xbpspinbutton.prg
  * contrib/hbxbp/xbpstatusbar.prg
  * contrib/hbxbp/xbptabpage.prg
  * contrib/hbxbp/xbptoolbar.prg
  * contrib/hbxbp/xbptreeview.prg
  * contrib/hbxbp/xbpwindow.prg

  * contrib/hbide/hbide.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idethemes.prg

    ! This commit has cleaned Qt wrappers not to 
      hold any GC collectible pointer inside. Events 
      and Slots protocol is completely re-structured.
      
    % Improved HB_TRACE() logs. Now Qt wrappers can be 
      generated with relevant filter if env variable 
      HBQT_BUILD_TR_LEVEL=HB_TR_ALWAYS|ERROR|etc 
      defalt being TR_LEVEL_DEBUG. The formatting is 
      also improved.

    % Signals are fired with exact same parametres 
      found in Qt documentation. Eearlier first parameter
      was object pointer followed by slots's parameters.
      This facilitates for the speed and better code
      maintenance.

    ! Intensive debugging has shown that - operator new() -
      is always called from cpp stub generated by hbMK2 
      but for operater delete(), behavior is inconsistent.
      All classes derived from QObject() never call delete()
      in the stub, some classes, which Qt defines as "on the 
      stack" call our stub and hence memory is released.
      Perhaps this is the main reason, I cannot get back
      all the momory if another dialog is opened and closed.
      All claases which are derived from Qt class, viz., HbQ*
      are released properly. Looking at this behavior it 
      comes to mind if all classes are sub-classed? A very 
      huge job nevertheless which I may take later.

  * contrib/hbqt/qtcore/*.cpp
  * contrib/hbqt/qtgui/*.cpp
  * contrib/hbqt/qtnetwork/*.cpp

      ;NOTE : Regression is possible. Please report any issues.
2010-01-31 03:21:29 +00:00
Pritpal Bedi
772123dbab 2010-01-18 09:14 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt.h
  * contrib/hbqt/hbqt_base.cpp
  * contrib/hbqt/hbqt_destruct.cpp
  * contrib/hbqt/hbqt_garbage.h
  * contrib/hbqt/hbqt_hbdbfmodel.cpp
  * contrib/hbqt/hbqt_hbevents.cpp
  * contrib/hbqt/hbqt_hbevents.h
  * contrib/hbqt/hbqt_hbqsyntaxhighlighter.cpp
  * contrib/hbqt/hbqt_hbqsyntaxhighlighter.h
  * contrib/hbqt/hbqt_hbqtableview.cpp
  * contrib/hbqt/hbqt_hbslots.cpp
  * contrib/hbqt/hbqt_hbslots.h

  * contrib/hbqt/qth/HBQTextBlockUserData.qth
  * contrib/hbqt/qth/QAbstractItemModel.qth
  * contrib/hbqt/qth/QSyntaxHighlighter.qth
  * contrib/hbqt/qth/QTableView.qth

  + contrib/hbqt/qth/HBQTableView.qth
  + contrib/hbqt/qth/HBDbfModel.qth
  + contrib/hbqt/qth/HBQSyntaxHighLighter.qth
    + Separated parts to auto/static generation.

  + contrib/hbqt/qth/HBEvents.qth
  + contrib/hbqt/qth/HBSlots.qth
    + Prepared to bring Events/Slots management on OO level.
      Stll not activated as I have some technical issues on  
      c++ level. Just a matter of time...

  * contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/generator/qt45.qtp
    
    + This commit is generally towards separation of static/auto
      generated parts of classes which has been hanging in for
      manual updates to the structures indivisually if changes
      were made effective overhaul.

  * contrib/hbqt/qtcore/*
  * contrib/hbqt/qtgui/*
  * contrib/hbqt/qtnetwork/*
2010-01-18 17:54:15 +00:00
Pritpal Bedi
665579dcda 2010-01-16 22:29 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/generator/qt45.qtp
  * contrib/hbqt/hbqt.h
  * contrib/hbqt/hbqt_base.cpp
  * contrib/hbqt/hbqt_garbage.h
  * contrib/hbqt/hbqt_hbdbfmodel.cpp
  * contrib/hbqt/hbqt_hbevents.cpp
  * contrib/hbqt/hbqt_hbqmainwindow.cpp
  * contrib/hbqt/hbqt_hbqsyntaxhighlighter.cpp
  * contrib/hbqt/hbqt_hbqsyntaxhighlighter.h
  * contrib/hbqt/hbqt_hbqtableview.cpp
  * contrib/hbqt/hbqt_hbslots.cpp

  + contrib/hbqt/qth/HBQTextBlockUserData.qth
  * contrib/hbqt/qth/QAbstractTextDocumentLayout.qth
  * contrib/hbqt/qth/QApplication.qth
  * contrib/hbqt/qth/QClipboard.qth
  * contrib/hbqt/qth/QComboBox.qth
  * contrib/hbqt/qth/QCursor.qth
  * contrib/hbqt/qth/QDragEnterEvent.qth
  * contrib/hbqt/qth/QDragLeaveEvent.qth
  * contrib/hbqt/qth/QDropEvent.qth
  * contrib/hbqt/qth/QFocusEvent.qth
  * contrib/hbqt/qth/QGradient.qth
  * contrib/hbqt/qth/QKeyEvent.qth
  * contrib/hbqt/qth/QLabel.qth
  * contrib/hbqt/qth/QLayoutItem.qth
  * contrib/hbqt/qth/QLineEdit.qth
  * contrib/hbqt/qth/QMoveEvent.qth
  * contrib/hbqt/qth/QPaintDevice.qth
  + contrib/hbqt/qth/QPaintEngine.qth
  * contrib/hbqt/qth/QPrintEngine.qth
  * contrib/hbqt/qth/QResizeEvent.qth
  * contrib/hbqt/qth/QSplitter.qth
  * contrib/hbqt/qth/QStandardItemModel.qth
  * contrib/hbqt/qth/QStyleHintReturn.qth
  * contrib/hbqt/qth/QStyleHintReturnMask.qth
  * contrib/hbqt/qth/QStyleHintReturnVariant.qth
  * contrib/hbqt/qth/QTextBlock.qth
  * contrib/hbqt/qth/QTextCursor.qth
  + contrib/hbqt/qth/QTextList.qth
  * contrib/hbqt/qth/QWheelEvent.qth
  * contrib/hbqt/qth/QWidget.qth

  * contrib/hbqt/tests/demoqt.prg

  * contrib/hbxbp/tests/demoxbp.prg

  * contrib/hbxbp/xbpgeneric.prg
  * contrib/hbxbp/xbpmenubar.prg

  * contrib/hbqt/qtcore/*.cpp
  * contrib/hbqt/qtgui/*.cpp
  * contrib/hbqt/qtnetwork/*.cpp

    ! This commit change some rules to parse .qth files to 
      prepare the wrappers to be encapsulated in hb_retptrGC 
      envelop. It also attempts to pin-point the spots where
      mem-leak could occur. Only very few calls are left to 
      plain hb_retptr() which eventually will be handled
      the other way.

      Only delete ( Q* ) p; is retained. Other two methods are
      eliminated. Demos are updated to respect it.

      demoQT and demoXBP now consume very less memory when new 
      dialogs are opened. It means memory management has 
      improved with this commit. Anyhow still I can see 
      memory growing specially in browser navigation. As I 
      remember sometime in past I could manage the sonstant memory,
      but now I do not remember at what stage we were on Qt.

      Though all the three variants, demoQT, demoXBP, hbIDE are 
      working properly, still there could be regression, please test.
2010-01-17 07:11:24 +00:00
Viktor Szakats
01f1a2a081 2009-12-21 21:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/generator/hbqtgen.prg
    ! Fixed to use 'hbqt_gcRelease_*' instead of 'release_*' names
      for public release callbacks.

  * contrib/hbqt/qth/QApplication.qth
    ! Fixed static vars to be prefixed with s_.

  * contrib/hbqt/*
    * Regenerated.
2009-12-21 20:58:40 +00:00
Pritpal Bedi
4f2ad8ca5b 2009-12-21 12:10 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/generator/qt45.qtp
  * contrib/hbqt/hbqt.h
  * contrib/hbqt/hbqt_garbage.h
  + contrib/hbqt/qth/QHttpHeader.qth
  * contrib/hbqt/qtnetwork/filelist.mk
  + contrib/hbqt/qtnetwork/QHttpHeader.cpp
  + contrib/hbqt/qtnetwork/TQHttpHeader.prg
    + Added QHttpHeader() class.
2009-12-21 20:12:52 +00:00