Revision: 13449
          
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13449&view=rev
Author:   vszakats
Date:     2010-01-03 01:13:53 +0000 (Sun, 03 Jan 2010)

Log Message:
-----------
2010-01-03 02:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
  * contrib/hbqt/filelist.mk
  + contrib/hbqt/hbqt_hbslots2.cpp
  + contrib/hbqt/hbqt_hbevents2.cpp
    + Added new implementation of slots and events.
      This fixes potential leaks in old implementation by
      moving HB_EVENTS, HB_SLOTS low level per-thread
      structures to .prg level and adding proper GC destructors
      to them.
      To use the new interface in .prg level code, following changes
      will have to be applied:
        1. Adding new :events, :slots holder variables to .prg level.
        2. Init these holder variables with QT_EVENTS_NEW() and QT_SLOTS_NEW().
        3. Make these conversions:
            QT_CONNECT_EVENT( ... )     -> QT_EVENTS_CONNECT( p, ... )
            QT_DISCONNECT_EVENT( ... )  -> QT_EVENTS_DISCONNECT( p, ... )
            QT_CONNECT_SIGNAL( ... )    -> QT_SLOTS_CONNECT( p, ... )
            QT_DISCONNECT_SIGNAL( ... ) -> QT_SLOTS_DISCONNECT( p, ... )
            QT_GETEVENTFILTER()         -> QT_EVENTS_PTR( p ) (there is a TOFIX 
here for the future)
        4. Delete these calls:
            QT_EVENTS_DESTROY()
            QT_SLOTS_DESTROY()
    ; Pritpal, can you please review this method?

  * contrib/hbqt/hbqt_hbdbfmodel.cpp
  * contrib/hbqt/hbqt.h
    % Memory allocation internals made static.

Modified Paths:
--------------
    trunk/harbour/ChangeLog
    trunk/harbour/contrib/hbqt/filelist.mk
    trunk/harbour/contrib/hbqt/hbqt.h
    trunk/harbour/contrib/hbqt/hbqt_hbdbfmodel.cpp

Added Paths:
-----------
    trunk/harbour/contrib/hbqt/hbqt_hbevents2.cpp
    trunk/harbour/contrib/hbqt/hbqt_hbslots2.cpp


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to