Commit Graph

16113 Commits

Author SHA1 Message Date
Pritpal Bedi
bcba7278c8 2011-04-03 08:33 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/hbqtgui.ch
    + Added: QFormLayout_* constants.

  * contrib/hbqt/qtgui/qth/QWidget.qth
    ! Modified: :setParent( QWidget * w ) => :setParent( QWidget * w = 0 )
      It is undocumented change but perhaps Qt has ommitted. Works fine.
      So to set the parent of a widget to nil is now easier.
    
  * contrib/hbqt/hbmk2_qt.hbs
    ! Code cleanup.
    ! Minor formatting.
    ! zimproved handelling of default parameters.
      ; ROUND # 1: More to follow.
2011-04-03 15:38:27 +00:00
Pritpal Bedi
304d858c21 2011-04-03 08:14 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/QDockWidget.qth
    ! Detached: :setWidget().
2011-04-03 15:16:43 +00:00
Pritpal Bedi
a6425dc146 2011-04-02 17:22 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/QDockWidget.qth
  * contrib/hbqt/qtgui/qth/QLayout.qth
  * contrib/hbqt/qtgui/qth/QWidget.qth
    ! Modified: constructors, detatchment, attachment.
2011-04-03 00:26:59 +00:00
Pritpal Bedi
a558e6b19a 2011-04-01 17:09 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbmk2_qt.hbs
    ! Optimized: hb_itemReturn( hb_stackSelfItem() );
      is now inserted at the end of multi-functions methods.
      It will produce significantly reduced .cpp in size.
2011-04-02 00:13:42 +00:00
Pritpal Bedi
50a0ebf689 2011-04-01 12:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.cpp
  * contrib/hbqt/qtgui/hbqt_hbqtableview.cpp
  * contrib/hbqt/qtcore/hbqt_hbqevents.cpp
    ! Minor: class object encapsulated in new item.

  * contrib/hbqt/qtcore/hbqt_pointer.cpp
    ! Minor optimization.

  * contrib/hbqt/qtgui/qth/QBrush.qth
    + Added: some HBQT_TYPE_ constants which cannot be included 
      when generated auto.

  * contrib/hbqt/qtgui/qth/QPainter.qth
    ! Started: to rewrite manually all classes as current 
      engine is not good enough to do it auto.

  * contrib/hbide/hbqreportsmanager.prg
    ! Achieved: Reports Manager is reworking again.

  * contrib/hbqt/hbmk2_qt.hbs
    ! Changed the way constant HBQT_TYPE_Q*Class was constructed.
      Now Q*Class name is taken alone is submitted to hb_crc32().
2011-04-01 22:17:27 +00:00
Przemyslaw Czerpak
30f2a0a6a3 2011-04-01 18:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/package/harbour.spec
    * updated to work with current contribs and harbour shared library
2011-04-01 16:10:50 +00:00
Przemyslaw Czerpak
fe09f94163 2011-04-01 14:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/itemapi.c
    ! fixed compilation in MT mode with some C compilers using
      HB_STACK_TLS_PRELOAD
    * updated also hb_itemParamStore() function to set NIL to item passed
      by reference when is called with NULL pItem parameter.
2011-04-01 12:20:09 +00:00
Przemyslaw Czerpak
98ae698914 2011-04-01 13:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/itemapi.c
    * set NIL to item passed by reference when hb_itemParamStoreForward()
      or hb_itemParamStoreRelease() is called with NULL pItem parameter.

  * harbour/contrib/hbnetio/netiosrv.c
    ! fixed possible memory leak when
         NETIO_SRVSTATUS( ..., NETIO_SRVINFO_PEERADDRESS, ... )
      is called without 3-rd parameter passed by reference

  * harbour/examples/gtwvw/gtwvw.c
    * replaced repeated TONE code with hb_gt_winapi_tone()
    + added MOUSE_GETPOS() method

  * harbour/examples/gtwvw/wvwtbar.c
    ! fixed to compile with Harbour
2011-04-01 11:56:41 +00:00
Przemyslaw Czerpak
c9a909a717 2011-04-01 00:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/rddads/ads1.c
    + added missing GOCOLD() method to ADS* RDDs
2011-03-31 22:19:42 +00:00
Pritpal Bedi
ed1f17048b 2011-03-31 12:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/ideharbourhelp.prg
    ! Fixed: a regression.

  * contrib/hbqt/hbmk2_qt.hbs
    ! Formatting.

  * contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.cpp
    ! Formatting.

  * contrib/hbqt/tests/demoqt.prg
    ! QComboBox() demo code updated to insert items alphabetically.
2011-03-31 19:59:20 +00:00
Pritpal Bedi
fbd71e39eb 2011-03-31 10:03 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/hbqreportsmanager.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp
    ! Minors.

  * contrib/hbqt/qtgui/qth/QPainter.qth
    ! Rewritten: manually :fillrect() which does not overload 
      proper method with same number and types of arguments.
      TOFIX: hbmk2_qt.hbs to entertain this construct.
2011-03-31 17:07:51 +00:00
Francesco Perillo
4ded138959 2011-03-31 16:36 UTC+0100 Francesco Perillo ( fperillo at gmail.com )
* contrib/hbqt/hbmk2_qt.hbs
  * contrib/hbqt/qtcore/hbqt.h
  * contrib/hbqt/qtcore/hbqt_hbqevents.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
  * contrib/hbqt/qtcore/hbqt_pointer.cpp
  * contrib/hbqt/qtcore/qth/HBQEvents.qth
  * contrib/hbqt/qtcore/qth/HBQSlots.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/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
    ! Fixed: implemented correct GC memory collection. Thanks to Przemek
             to have shown me the way.
    ! Fixed: some code has been changed

    PLEASE be sure to do a full "make clean" before compiling
2011-03-31 14:50:08 +00:00
Pritpal Bedi
7b5e52479c 2011-03-30 17:56 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/QDropEvent.qth
  * contrib/hbqt/qtgui/qth/QGraphicsSceneDragDropEvent.qth
    ! Fixed: manual code creating HMV destroyable object.

  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
    ! Removed: tracelog entry.

  * contrib/hbide/hbqreportsmanager.prg
  * contrib/hbide/hbqtoolbar.prg
  * contrib/hbide/idebrowse.prg
  * contrib/hbide/idedocks.prg
    ! Removed: all occurances exploiting raw pointer with QList().
2011-03-31 01:05:10 +00:00
Pritpal Bedi
593f73fae1 2011-03-30 15:50 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/tests/demowvg.prg
  * contrib/gtwvg/tests/wvgmodal.prg
  * contrib/gtwvg/tests/wvgtbrowser.prg
  * contrib/gtwvg/tests/wvgutilities.prg
    ! Fixed: many artifacts which got broken with GT changes
      in a couple of years.
    + Added: a menu option which to execute a modal Harbour Gt 
      window on top of a GUI window.

  + contrib/gtwvg/tests/demowvg1.prg
    + Added: a highly simplified demo for beginners to understand 
      the underlying concepts how GUI controls can be exploited 
      with CUI output. Press F2 which navigaing the GETS.
      This demo used GTWVG's inbuilt GUI controls handelling 
      mechanism instead of devising one's own. 
      This mechanism was introduced in GTWVG mush later 
      that demowvg.prg was written. In future I will try to 
      rewrite the demowvg.prg with in-built protocol.
2011-03-30 22:59:07 +00:00
Viktor Szakats
237e269ca8 2011-03-30 14:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Continue if there were no input files specified. This 
      can be useful in some situations.
    * Show warning about no input files only when -info option is used.
    + Consider resource files as valid input files when showing 
      above warning.
2011-03-30 12:45:35 +00:00
Viktor Szakats
dd71246623 2011-03-30 14:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwin/gtwin.c
    % Replaced kbd modifier readout with a more efficient
      version. It contains hack required to make core
      low-level function to work correctly with win consoles.
      Patch co-developed with Przemek.

  * contrib/hbtip/sendmail.prg
    ! Implemented fix to enclose attachment filenames in
      dbl quotes as suggested by George Frehner.
      Pls test.

  * contrib/hbtip/mail.prg
    * Formatting.
2011-03-30 12:23:17 +00:00
Przemyslaw Czerpak
4a996c7ce7 2011-03-30 13:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbgtinfo.ch
    ! fixed wrong decimal value defined for HB_GTI_KBD_RALT.
    * translated HB_GTI_KBD_* values from decimal to hex numbers
      to avoid such mistakes in the future.
2011-03-30 11:40:28 +00:00
Pritpal Bedi
d81f3fbfa6 2011-03-29 14:19 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idebrowse.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideprojmanager.prg
    ! Optimized: destructors.

  * contrib/hbxbp/xbpwindow.prg
    ! Minor.

  * contrib/hbqt/qtcore/qth/QStringList.qth
    ! Uncommented: many methods, commented one.

  * contrib/hbqt/hbmk2_qt.hbs
    + Implemented: QList< * > generating a list of Harbour objects.
      Now no more raw pointers generated with hb_retptr() in hbQT.
      Please review and test.

      WARNING: third party libs should check their sources to 
               entertain this change.
2011-03-29 21:30:15 +00:00
Viktor Szakats
9165756d29 2011-03-29 10:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwin/gtwin.c
    - Fully disabled palette setting feature due to bad side effects
      reported by Mindaugas.
      Maybe it could be reenabled in some cases, pls refine it if you
      need this feature. Pls also retest, I have a hard time replicating
      this side-effect on my system.

  * INSTALL
    * Updated. mingw tdm 4.5.2 works fine again.

  * examples/hbdoc2/gentpl.prg
    ! Fixed typo reported on users' list by Emmer.
2011-03-29 08:08:58 +00:00
Przemyslaw Czerpak
0be115f235 2011-03-29 09:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/thread.c
    * pacified warnings

  * harbour/src/rtl/hbrandom.c
    ! fixed typo in previous commit

  * harbour/src/rtl/hbproces.c
    * minor formatting
2011-03-29 07:55:45 +00:00
Przemyslaw Czerpak
81af308983 2011-03-29 08:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbznet.c
    % use Z_PARTIAL_FLUSH instead of Z_SYNC_FLUSH in hb_znetFlush()
      It should reduce a little bit the size of compressed data stream.
2011-03-29 06:05:40 +00:00
Viktor Szakats
583afbcdf4 2011-03-28 12:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbgs/core.c
    ! Fixed C++ warning.

  * contrib/hbmxml/3rd/minixml/mxml.hbp
  * contrib/hbmxml/3rd/minixml/mxml_fil.c
  * contrib/hbmxml/3rd/minixml/mxml_nod.c
  - contrib/hbmxml/3rd/minixml/minixml.dif
    * Updated.

  ; Patches from Tamas Tevesz.
2011-03-28 10:14:12 +00:00
Pritpal Bedi
72e2cdf475 2011-03-28 01:19 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_hbqevents.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
    ! Code cleanup.
  * contrib/hbqt/qtcore/hbqt_misc.prg
    ! Changed: :connect()/:disconnect() not to generate RTE.

  * contrib/hbxbp/xbpwindow.prg
    ! Misspelled :disconnect() [ Francessco ].

  * contrib/hbide/hbqreportsmanager.prg
  * contrib/hbide/hbqtoolbar.prg
  * contrib/hbide/idebrowse.prg
  * contrib/hbide/idedict.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/ideenviron.prg
  * contrib/hbide/ideformat.prg
  * contrib/hbide/idefunctions.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idehome.prg
  * contrib/hbide/idemain.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideplugins.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/ideshortcuts.prg
  * contrib/hbide/idesources.prg
  * contrib/hbide/idethemes.prg
  * contrib/hbide/idetools.prg
    ! Optimized: desructors.
      Now hbIDE has around 769 unreleased blocks if started afresh
      and exited without openening any source.
2011-03-28 08:27:24 +00:00
Przemyslaw Czerpak
a5fa7383a9 2011-03-27 12:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi.h
  * harbour/src/rtl/hbrandom.c
    added new C functions which fills memory block with random values:
         void hb_random_block( void * data, HB_SIZE len )
    this function should be used with "good enough" random generator
    so in the future it may be changed to use internally sth different
    then rand().

  * harbour/src/vm/thread.c
    * pacified minor warning
2011-03-27 10:45:35 +00:00
Pritpal Bedi
53f7911cee 2011-03-26 00:13 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
+ contrib/hbqt/hbqtsql.hbc
    ! Miss from prev commit.

  * contrib/hbqt/qtgui/qth/QDropEvent.qth
  * contrib/hbqt/qtsql/qth/QSqlQuery.qth
    ! Manual code insertion/modification.
2011-03-26 07:16:36 +00:00
Przemyslaw Czerpak
14777609cf 2011-03-26 03:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbproces.c
    ! fixed one HB_TRUE wrongly used instead of TRUE
    * minor simplification

  * harbour/include/hbgtinfo.ch
  * harbour/src/rtl/hbgtcore.c
    + added HB_GTI_VERSION - it returns version information just like
      hb_gtVersion() - usually the same but can be different in some
      multilevel GTs, i.e. when different GT drivers are used locally
      and remotely.

  * harbour/include/inkey.ch
  * harbour/src/rtl/hbgtcore.c
    + added HB_K_CONNECT and HB_K_DISCONNECT inkey codes.
      They can be used to signal that remote terminal is connected or
      diconnected.

  * harbour/tests/gtkeys.prg
    + added HB_K_* keycodes

  * harbour/contrib/hbnetio/netiosrv.c
    * removed unnecessary casting
2011-03-26 02:32:52 +00:00
Pritpal Bedi
26d8a51070 2011-03-25 18:33 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/hbqreportsmanager.prg
  * contrib/hbide/hbqtoolbar.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/idefunctions.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idemain.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idesaveload.prg
    ! Optimized: destructors. Unreleased memory blocks are shortened 
      in number considerably.
    + Project Properties dialog now displays project name in its title-bar.
2011-03-26 01:37:14 +00:00
Pritpal Bedi
caef3c4fb4 2011-03-25 18:24 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
+ contrib/hbqt/qtsql
  + contrib/hbqt/qtsql/doc
  + contrib/hbqt/qtsql/hbqtsql.ch
  + contrib/hbqt/qtsql/hbqtsql.hbc
  + contrib/hbqt/qtsql/hbqtsql.hbm
  + contrib/hbqt/qtsql/hbqtsql.hbp
  + contrib/hbqt/qtsql/hbqtsql.hbx
  + contrib/hbqt/qtsql/hbqtsqls.hbp
  + contrib/hbqt/qtsql/qth
  + contrib/hbqt/qtsql/qth/filelist.hbm
  + contrib/hbqt/qtsql/qth/QSqlDatabase.qth
  + contrib/hbqt/qtsql/qth/QSqlDriver.qth
  + contrib/hbqt/qtsql/qth/QSqlError.qth
  + contrib/hbqt/qtsql/qth/QSqlField.qth
  + contrib/hbqt/qtsql/qth/QSqlIndex.qth
  + contrib/hbqt/qtsql/qth/QSqlQuery.qth
  + contrib/hbqt/qtsql/qth/QSqlQueryModel.qth
  + contrib/hbqt/qtsql/qth/QSqlRecord.qth
  + contrib/hbqt/qtsql/qth/QSqlRelationalTableModel.qth
  + contrib/hbqt/qtsql/qth/QSqlResult.qth
  + contrib/hbqt/qtsql/qth/QSqlTableModel.qth

  * contrib/hbqt/hbqt.hbc
  * contrib/hbqt/hbqt_all.hbp

    + Initial upload of classes contained in QtSql module.
2011-03-26 01:30:39 +00:00
Pritpal Bedi
5968b77ddd 2011-03-25 08:24 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idedocks.prg
    ! Fixed: mystery of flashing and disappearing windows before
      hbIDE's application window appears.
2011-03-25 15:27:32 +00:00
Pritpal Bedi
c98ef20c29 2011-03-24 11:57 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbmk2_qt.hbs
    ! Code clean-up.
    ! Restrored: how the obejcet is addressed in methods.
      NOTE: Do not change.

  * contrib/hbqt/qtcore/hbqt_misc.prg
    ! Restored: :disconnect().
    ! Connect was generating error it obejct was freed prior to execution.
2011-03-24 19:03:49 +00:00
Pritpal Bedi
54b0f72d84 2011-03-23 12:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idedocks.prg
    ! Changed: the way destructors were called.
2011-03-23 19:29:14 +00:00
Viktor Szakats
d36d617e89 2011-03-23 07:56 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
- hooks
  - db
  - conf
  - format
  - locks
  - README.txt
    ! Apparently wrong commit undone:
        http://sourceforge.net/apps/trac/harbour-project/changeset/16495
2011-03-23 06:56:58 +00:00
Pritpal Bedi
59ee62a4e9 2011-03-22 18:44 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idedocks.prg
    ! Fixed: RTE at exit.
2011-03-23 01:46:21 +00:00
Pritpal Bedi
edc121482d 2011-03-22 18:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/gtwvg.c
    ! Reverted. Seems it had been hectic today.
2011-03-23 01:27:41 +00:00
Pritpal Bedi
cbd182f32a 2011-03-22 18:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/hbpprocess.prg
  * contrib/hbxbp/tests/demoxbp.prg
  * contrib/hbxbp/xbprtf.prg
    ! Small fixes.
2011-03-23 01:24:40 +00:00
Pritpal Bedi
de3c57518e 2011-03-22 18:12 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/qth/QMimeData.qth
  * contrib/hbqt/qtgui/qth/QDropEvent.qth
  * contrib/hbqt/qtgui/qth/QGraphicsSceneDragDropEvent.qth
    ! Fixed: some manual code which was not taking use of new protocol.

  * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp
  * contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.cpp
  * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp
    ! Changed: hbqt_create_object() => hbqt_create_objectGC()
2011-03-23 01:18:51 +00:00
Pritpal Bedi
5e2f9f9a96 2011-03-22 15:05 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_hbqevents.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
    ! Changed: the behaviour of oQObject:connect().
      Now if called next time, it will replace the original codeblock.
      This is important in certain situations.
    ! Fixed: potential memory leak.

  * contrib/hbqt/qtcore/hbqt_misc.prg
    ! Introduced: DESTRUCTOR _destroy() which explictly destroys 
      singals and slots prior to destroying the object. [ Francessco ].
      This renderes calling oQObject:disconnect() useless.
      Now there is no more GPF on hbIDE. Please build for 
      different OS's and report on the list.

    ; TODO: remove :disconnect calls from hbXBP and hbIDE.
2011-03-22 22:13:36 +00:00
Ryszard Glab
56d1871f0a 2011-03-22 14:37:26 +00:00
Pritpal Bedi
86ff65e79a 2011-03-21 18:45 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_init.cpp
  * contrib/hbqt/qtgui/hbqt_init.cpp
    ! Transferred logic of destructors from core to gui.
      The whole lot should be in one source. We cannot 
      control the order of execution of _init_ functions.
      Francessco, take care of these changes.
    
      NOTE: now hbIDE enters, used with all flavours, exits 
            without GPF. The remaining issue is to control 
            memory leaks. Francessco is working onto that.
2011-03-22 01:57:18 +00:00
Pritpal Bedi
e42d4c9393 2011-03-21 18:36 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idebrowse.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idesources.prg
    ! Connect/disconnect per current implementation.

  * contrib/hbide/idemain.prg
    ! Put to more stress test at exit by destroying all objects 
      explictly.
2011-03-22 01:43:33 +00:00
Pritpal Bedi
92309f9494 2011-03-21 18:29 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/THbQtUI.prg
    ! Destructor more rationalized.

  * 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/xbphtmlviewer.prg
  * contrib/hbxbp/xbplistbox.prg
  * contrib/hbxbp/xbpmenubar.prg
  * contrib/hbxbp/xbppushbutton.prg
  * contrib/hbxbp/xbpradiobutton.prg
  * contrib/hbxbp/xbprtf.prg
  * contrib/hbxbp/xbpscrollbar.prg
  * contrib/hbxbp/xbpsle.prg
  * contrib/hbxbp/xbpspinbutton.prg
  * contrib/hbxbp/xbptabpage.prg
  * contrib/hbxbp/xbptoolbar.prg
  * contrib/hbxbp/xbptreeview.prg
  * contrib/hbxbp/xbpwindow.prg
    ! Restored: :disconnect() method.
      Without disconnecting events/slots object does not get 
      destroyed. The reason is :__pSlots and :__pEvents holds 
      reference to self which needs to be released before 
      object itself is released, a cyclical phenomena.
2011-03-22 01:36:52 +00:00
Pritpal Bedi
acef14d9e1 2011-03-21 17:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/QBoxLayout.qth
  * contrib/hbqt/qtgui/qth/QLayout.qth
  * contrib/hbqt/qtgui/qth/QMainWindow.qth
  * contrib/hbqt/qtgui/qth/QTableWidget.qth
  * contrib/hbqt/qtgui/qth/QTreeWidget.qth
    ! Fixed: detached objects. Hopefully hbIDE should exit clean
      if just entered and exited. However, if some dialog using 
      .ui (.uic) files, it is still broken.
2011-03-22 00:26:54 +00:00
Pritpal Bedi
674a35fc4f 2011-03-21 12:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbmk2_qt.hbs
    ! HB_TRACE() rationalized.
2011-03-21 19:03:26 +00:00
Pritpal Bedi
d645e7ca38 2011-03-19 23:26 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* 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/xbphtmlviewer.prg
  * contrib/hbxbp/xbplistbox.prg
  * contrib/hbxbp/xbpmenubar.prg
  * contrib/hbxbp/xbppushbutton.prg
  * contrib/hbxbp/xbpradiobutton.prg
  * contrib/hbxbp/xbprtf.prg
  * contrib/hbxbp/xbpscrollbar.prg
  * contrib/hbxbp/xbpsle.prg
  * contrib/hbxbp/xbpspinbutton.prg
  * contrib/hbxbp/xbptabpage.prg
  * contrib/hbxbp/xbptoolbar.prg
  * contrib/hbxbp/xbptreeview.prg
  * contrib/hbxbp/xbpwindow.prg
    ! Removed: occurances and methods calling :disconnect().
               It is automatic with destructors.
2011-03-20 06:31:04 +00:00
Pritpal Bedi
d9735d4b87 2011-03-19 23:21 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbmk2_qt.hbs
  * contrib/hbqt/qtcore/hbqt.h
  * contrib/hbqt/qtcore/hbqt_hbqevents.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
  * contrib/hbqt/qtcore/hbqt_init.cpp
  * contrib/hbqt/qtcore/hbqt_pointer.cpp
    ! Applied: Francessco's patch with few changes and formatting.
    
  * contrib/hbqt/qtgui/hbqt_hbqtableview.cpp
    ! hbqt_create_object() => hbqt_create_objectGC()

  * contrib/hbqt/qtgui/THbQtUI.prg
    ! Rationalized: object destruction.

  * contrib/hbqt/tests/demoqt.prg
    ! Rationalized.
2011-03-20 06:25:52 +00:00
Pritpal Bedi
5275f128cd 2011-03-18 23:06 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
  * contrib/hbqt/qtgui/hbqt_init.cpp
    ! FIXED: GPF at exit and sometimes along running application.
             Harbourearns, it is day to cheer.
2011-03-19 06:10:29 +00:00
Przemyslaw Czerpak
7e0338c588 2011-03-19 06:59 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/filesys.c
    ! added protection for potentially unfinished due to signal
      interrupt close() operation in *nix systems in hb_fsClose()
      function
    * use hb_fsClose() instead of close() to be sure that the operation
      is completed in *nix systems
    * return NULL for DosToWinHandle( FS_ERROR )
    ; TODO: add protection against signal interrupting to all hb_fs*()
            functions which may need it.

  * harbour/src/rtl/hbproces.c
    * use hb_fsClose() instead of close() to be sure that the operation
      is completed in *nix systems
    ! Do not inherit ends of pipe handles in MS-Windows builds of
      hb_fsProcessOpen()
    ! Added missing CloseHandle( hProcess ) in MS-Windows builds of
      hb_fsProcessRun()
    ; QUESTION: Does hb_fsProcessRun() work correctly in MS-Windows builds?
                I've just noticed that I used WaitForMultipleObjects()
                WIN API function with unnamed pipe handles and I cannot
                find any information in MSDN that this is legal operation.
2011-03-19 05:59:25 +00:00
Pritpal Bedi
09121a2702 2011-03-18 15:34 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/QActionEvent.qth
  * contrib/hbqt/qtgui/qth/QContextMenuEvent.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/QFocusEvent.qth
  * contrib/hbqt/qtgui/qth/QHelpEvent.qth
  * contrib/hbqt/qtgui/qth/QHideEvent.qth
  * contrib/hbqt/qtgui/qth/QHoverEvent.qth
  * contrib/hbqt/qtgui/qth/QInputEvent.qth
  * contrib/hbqt/qtgui/qth/QMainWindow.qth
  * contrib/hbqt/qtgui/qth/QPaintEvent.qth
  * contrib/hbqt/qtgui/qth/QResizeEvent.qth
  * contrib/hbqt/qtgui/qth/QShortcutEvent.qth
  * contrib/hbqt/qtgui/qth/QShowEvent.qth
  * contrib/hbqt/qtgui/qth/QWindowStateChangeEvent.qth
    ! Made: constructors more fault tolerant.
2011-03-18 22:38:13 +00:00
Pritpal Bedi
74337f2493 2011-03-18 13:10 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqtcore.hbx
    ! Miss from prev commit.
2011-03-18 20:12:51 +00:00
Pritpal Bedi
9444ab8a3a 2011-03-18 12:28 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_init.cpp
  * contrib/hbqt/qtcore/qth/filelist.hbm
  + contrib/hbqt/qtcore/qth/QChildEvent.qth
  * contrib/hbqt/qtgui/hbqt_init.cpp
  * contrib/hbqt/qtgui/hbqtgui.hbx
  * contrib/hbqt/qtgui/qth/filelist.hbm
  + contrib/hbqt/qtgui/qth/QActionEvent.qth
  + contrib/hbqt/qtgui/qth/QFileOpenEvent.qth
  + contrib/hbqt/qtgui/qth/QHoverEvent.qth
  * contrib/hbqt/qtgui/qth/QMoveEvent.qth
  * contrib/hbqt/qtgui/qth/QPaintEvent.qth
  + contrib/hbqt/qtgui/qth/QShortcutEvent.qth
    + Added: more events specific classes.

  * contrib/hbqt/hbmk2_qt.hbs
    ! Rationalized code fragments.
    - Deleted: meta object checking as it is now handelled by the generator.

  * contrib/hbqt/qtcore/hbqt_hbqevents.cpp
    ! Rationalized: catching the event.
      NOTE: hb_itemNew() should not be called here. The function 
            returns a hb_stackReturnItem(). Object is already contained 
            in .prg variable in user application and will be auto 
            destructed when out of scope.
2011-03-18 19:40:16 +00:00