Commit Graph

18 Commits

Author SHA1 Message Date
Viktor Szakats
87a1ceb996 2010-06-10 23:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_base.cpp
    + Added QVERSION() function which returns QT lib version as string.
      Wrapper to QT function with the same name.
    + Added QSHAREDBUILD() function which returns whether QT lib used
      are shared or static. Wrapper to QT function with the same name.
    - Deleted HBQT_ISSTATICLINK() which was not portable implementation.

  + contrib/hbqt/tests/qtver.prg
    + Added test code to display all detecable QT version/lib information.
2010-06-10 21:02:20 +00:00
Viktor Szakats
129a3ccdaf 2010-06-10 09:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    ! Reverted one optimization from yesterday's late
      night programming jam session.

  * contrib/hbqt/hbqt_base.cpp
    * Renamed HBQT_ISQTSTATICLINKED() to HBQT_ISSTATICLINK().
      (enough to have one 'QT' in the name)

  * config/win/bcc.mk
    + More changes targeting bcc support under WINE scenario.
    ; Here it now works "out of the box"

  * INSTALL
    + Added example for win/bcc build under WINE.
      (kudos go to Tamas Tevesz for the setup example)
    + Added win/bcc to supported cross(ish)-builds.

  * examples/httpsrv/uhttpd.prg
    ! Fixed bogus newlines in RTE ALERT() windows.
2010-06-10 07:44:15 +00:00
Pritpal Bedi
22f35559b7 2010-06-09 22:25 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
+ contrib/hbqt/qth/QHideEvent.qth
  + contrib/hbqt/qth/QShowEvent.qth
  + contrib/hbqt/qth/QWindowStateChangeEvent.qth
    + Added new classes.
  + contrib/hbqt/qtgui/QHideEvent.cpp
  + contrib/hbqt/qtgui/QShowEvent.cpp
  + contrib/hbqt/qtgui/QWindowStateChangeEvent.cpp
  + contrib/hbqt/qtgui/TQHideEvent.prg
  + contrib/hbqt/qtgui/TQShowEvent.prg
  + contrib/hbqt/qtgui/TQWindowStateChangeEvent.prg
    + Auto generated.

  * contrib/hbqt/qtgui/filelist.mk
    + Classes auto added.

  * contrib/hbide/resources/fullscreen.png
    + Added image for trayicon context menu.

  * contrib/hbqt/generator/qt45.qtp
    + Added new classes.

  * contrib/hbqt/hbqt.ch
    + Added QSystemTrayIcon_* constants.

  * contrib/hbqt/hbqt.h
    + Constants for new classes.

  * contrib/hbqt/hbqt_base.cpp
    + HBQT_ISQTSTATICLINKED() function provided by CarozoDeQuilmes.

  * contrib/hbqt/hbqt_garbage.h
    * Auto generated.

  * contrib/hbqt/hbqt_hbslots.cpp
  * contrib/hbqt/hbqt_hbslots.h
    + Signal/Slots for QSystemTrayIcon():activated(...).

  * contrib/hbide/hbide.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideobject.prg
    + Implemented: minimize action on hbIDE window landing in system tray 
      instead of statusbar. For now this is the default but provision is 
      in place to base it on user request. Once minimized in system tray,
      left-click will restore the window and icon in tray will disappear.
      Right-click on tray icon will bring forward a menu with "Show" and 
      "Exit" options. Exit is equivalant to toolbar's exit icon.

      This feature will be available only on those OSes which support 
      system tray area. Please test on all aupported systems. I am also 
      interested to know which other actions can make-up in the 
      icon's context menu.
2010-06-10 05:45:55 +00:00
Viktor Szakats
d37442fc17 2010-06-03 18:30 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_hbqtableview.h
  * contrib/hbqt/hbqt_hbevents.h
  * contrib/hbqt/hbqt_hbdbfmodel.cpp
  * contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/hbqt.ch
  * contrib/hbqt/hbqt_errorsys.prg
  * contrib/hbqt/hbqt_hbqsyntaxhighlighter.cpp
  * contrib/hbqt/tests/demoqt.prg
  * contrib/hbqt/THbQtUI.prg
  * contrib/hbqt/hbqt_hbqmainwindow.h
  * contrib/hbqt/hbqt_hbqtableview.cpp
  * contrib/hbqt/hbqt_hbevents.cpp
  * contrib/hbqt/hbqt_hbqplaintextedit.h
  * contrib/hbqt/gtqtc/gtqtc.cpp
  * contrib/hbqt/gtqtc/hbgtqtc.ch
  * contrib/hbqt/gtqtc/gtqtc.h
  * contrib/hbqt/hbqt_hbslots.h
  * contrib/hbqt/hbqt.h
  * contrib/hbqt/hbqt_hbdbfmodel.h
  * contrib/hbqt/hbqt_destruct.cpp
  * contrib/hbqt/plug_moc.prg
  * contrib/hbqt/hbqt_utils.cpp
  * contrib/hbqt/hbqt_misc.prg
  * contrib/hbqt/hbqt_hbqsyntaxhighlighter.h
  * contrib/hbqt/hbqt_hbqmainwindow.cpp
  * contrib/hbqt/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/hbqt_base.cpp
  * contrib/hbqt/hbqt_hbslots.cpp
  * contrib/hbziparc/hbziparc.prg
  * contrib/hbxbp/xbpappevent.prg
  * contrib/hbxbp/xbpsle.prg
  * contrib/hbxbp/xbplistbox.prg
  * contrib/hbxbp/xbppresspace.prg
  * contrib/hbxbp/xbpcheckbox.prg
  * contrib/hbxbp/xbpmenubar.prg
  * contrib/hbxbp/xbpradiobutton.prg
  * contrib/hbxbp/xbprtf.prg
  * contrib/hbxbp/xbpfiledialog.prg
  * contrib/hbxbp/xbpclipboard.prg
  * contrib/hbxbp/tests/demoxbp.prg
  * contrib/hbxbp/xbpbrowse.prg
  * contrib/hbxbp/xbptabpage.prg
  * contrib/hbxbp/xbpwindow.prg
  * contrib/hbxbp/xbpcombobox.prg
  * contrib/hbxbp/xbpstatusbar.prg
  * contrib/hbxbp/xbppushbutton.prg
  * contrib/hbxbp/xbpbitmap.prg
  * contrib/hbxbp/xbpprintdialog.prg
  * contrib/hbxbp/xbpprinter.prg
  * contrib/hbxbp/xbpscrollbar.prg
  * contrib/hbxbp/xbpfontdialog.prg
  * contrib/hbxbp/xbphtmlviewer.prg
  * contrib/hbxbp/xbpstatic.prg
  * contrib/hbxbp/xbptreeview.prg
  * contrib/hbxbp/hbpprocess.prg
  * contrib/hbxbp/xbpdialog.prg
  * contrib/hbxbp/xbpstyle.prg
  * contrib/hbxbp/xbptoolbar.prg
  * contrib/hbxbp/xbp3state.prg
  * contrib/hbxbp/xbpparthandler.prg
  * contrib/hbxbp/xbpspinbutton.prg
  * contrib/hbxbp/xbpdataref.prg
  * contrib/hbxbp/xbpgra.prg
  * contrib/hbxbp/xbpgeneric.prg
  * contrib/hbxbp/xbpmle.prg
  * contrib/hbblink/hbblink.ch
  * contrib/hbblink/blinker.prg
  * contrib/hbfship/secondfs.c
  * contrib/hbfship/pvalue.c
  * contrib/hbcups/hbcups.c
  * contrib/hbfoxpro/hbfoxpro.ch
  * contrib/hbfoxpro/dll.prg
  * contrib/hbcomm/tests/test.prg
  * contrib/hbcomm/hbcomm.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/ideplugins.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/hbide.ch
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idewizard.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/ideobject.prg
  * contrib/hbide/ideskeletons.prg
  * contrib/hbide/plugins/savebackup.prg
  * contrib/hbide/idefunctions.prg
  * contrib/hbide/iderequests.prg
  * contrib/hbide/idestylesheets.prg
  * contrib/hbide/ideenviron.prg
  * contrib/hbide/idesources.prg
  * contrib/hbide/idethemes.prg
  * contrib/hbide/idehome.prg
  * contrib/hbide/hbide.prg
  * contrib/hbide/ideshortcuts.prg
  * contrib/hbide/idetags.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/idetools.prg
  * contrib/hbide/resources/hbmk2_plugin_hbide.prg
  * contrib/hbide/idedocwriter.prg
  * contrib/hbide/ideparseexpr.c
  * contrib/hbide/idedocks.prg
  * contrib/hbsms/hbsms.prg
    * Deleted 'www.' from harbour-project.org website name.
      (www.harbour-project.org -> harbour-project.org)
2010-06-03 16:33:27 +00:00
Viktor Szakats
7e23016eb0 2010-04-11 15:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtgui/QInputContext.cpp
    ! Deleted hbqt_getmemused() reference.
      How could this file not be updated automatically?

  * contrib/hbqt/qtgui/QInputContext.cpp
  * contrib/hbqt/qtcore/QChar.cpp
  * contrib/hbqt/qtcore/TQChar.prg
    ! Added missing SVN props.

  * contrib/hbqt/hbqt.h
  * contrib/hbqt/hbqt.hbc
  * contrib/hbqt/hbqt_base.cpp
  * contrib/hbqt/hbqts.hbc
    - Deleted Windows specific memory tracing.
2010-04-11 13:54:25 +00:00
Viktor Szakats
6f18c82253 2010-02-22 17:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_hbdbfmodel.cpp
  * contrib/hbqt/hbqt_hbqsyntaxhighlighter.cpp
  * contrib/hbqt/hbqt_hbqtableview.cpp
  * contrib/hbqt/hbqt_hbevents.cpp
  * contrib/hbqt/hbqt_destruct.cpp
  * contrib/hbqt/hbqt_utils.cpp
  * contrib/hbqt/hbqt_hbqmainwindow.cpp
  * contrib/hbqt/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/hbqt_base.cpp
  * contrib/hbqt/hbqt_hbslots.cpp
    * Cleaned header inclusion order after adding hbapi.h to hbqt.h.

  * config/os2/gcc.mk
    ! Fixed to use '-Wl,' trick proposed by Przemek, to forward obj list
      script filename directly to linker.
      This gets around the problem where gcc tries to pass expanded
      scripts to subprocesses (ld) via cmdline, thus imposing a 32K
      limit also to script files.
2010-02-22 16:24:59 +00:00
Viktor Szakats
5cfcb4f323 2010-02-09 03:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/common/Makefile
  * src/common/hbwince.c
  + src/common/hbwin.c
    ! Moved Windows UNICODE helper function into new source,
      leaving WinCE API local emulation into separate source file.

  * include/hbwince.h
    + Now automatically includes windows.h. (since it depends on it)

  * include/hbdefs.h
    - Deleted HB_OS_WIN_USED autodetection. Not needed anymore.
    ! Fixed to not include hbwince.h anymore. It should be included
      directly from source files, where needed.

  * include/hbdefs.h
  * contrib/hbodbc/odbc.c
  * contrib/rddsql/sddodbc/odbcdd.c
    + Always defining HB_TCHAR_*() macros. They will be dummies
      in non-Windows or non-UNICODE builds.

  * include/clipdefs.h
    ! Legacy Clipper types moved to the bottom, because it's
      no longer true that hbapi.h defines their dependent types
      (our legacy ones).

  * contrib/hbwin/win_bmpd.c
  * contrib/hbwin/wapi_wingdi.c
  * contrib/hbwin/win_misc.c
  * contrib/hbwin/wapi_winbase.c
  * contrib/hbwin/wapi_alloc.c
  * contrib/hbwin/wapi_winuser.c
  * contrib/hbwin/hbwin.h
  * contrib/hbwin/hbwinole.h
  * contrib/hbwin/mapi.c
  * contrib/hbwin/wapi_wingdi_font.c
  * contrib/hbwin/olecore.c
  * contrib/hbwin/wce_simc.c
  * contrib/hbwin/wapi_winnls.c
  * contrib/hbwin/win_bmp.c
  * contrib/hbwin/win_com.c
  * contrib/hbwin/Makefile
  * contrib/hbwin/win_regc.c
  * contrib/hbwin/win_prn1.c
  * contrib/hbwin/win_prn2.c
  * contrib/hbwin/win_prn3.c
  * contrib/hbwin/wapi_commctrl.c
  * contrib/hbwin/win_osc.c
  * contrib/hbwin/wce_smsc.c
  * contrib/hbwin/wapi_err.c
  * contrib/hbwin/legacycd.c
  * contrib/hbwin/hbwapi.h
  * contrib/hbwin/wapi_shellapi.c
  * contrib/hbwin/win_dlg.c
  * contrib/hbwin/legacyco.c
  * contrib/hbwin/win_dll.c
  * contrib/hbwin/wapi_winbase_mutex.c
    + Reworked the way windows.h is included and headers
      are organized. New types allow complete control and
      flexibility. Finally.

  * src/vm/mainwin.c
  * src/vm/maindll.c
  * src/vm/maindllh.c
  * src/vm/cmdarg.c
  * src/vm/maindllp.c
  * src/vm/task.c
  * src/vm/fm.c
  * src/vm/extrap.c
  * src/vm/thread.c
  * src/vm/hvmall.c
  * src/vm/dynlibhb.c
  * src/common/hbgete.c
  * src/common/hbffind.c
  * src/common/hbver.c
  * src/common/hbtrace.c
  * src/common/hbfsapi.c
  * src/common/hbdate.c
  * src/rtl/gtwin/gtwin.c
  * src/rtl/fstemp.c
  * src/rtl/gttone.c
  * src/rtl/fserr.c
  * src/rtl/filesys.c
  * src/rtl/lang.c
  * src/rtl/diskspac.c
  * src/rtl/console.c
  * src/rtl/cputime.c
  * src/rtl/gtclip.c
  * src/rtl/oemansi.c
  * src/rtl/disksphb.c
  * src/rtl/net.c
  * src/rtl/gtgui/gtgui.c
  * src/rtl/hbproces.c
  * src/rtl/gtwvt/gtwvt.h
  * src/rtl/gtwvt/gtwvt.c
  * src/rtl/gtkbstat.c
  * contrib/hbct/ctnet.c
  * contrib/hbct/dattime3.c
  * contrib/hbct/disk.c
  * contrib/hbodbc/odbc.c
  * contrib/xhb/hboutdbg.c
  * contrib/xhb/xhberrc.c
  * contrib/xhb/filestat.c
  * contrib/xhb/hbserv.c
  * contrib/hbtpathy/tpwin.c
  * contrib/hbmzip/hbmzip.c
  * contrib/hbqt/hbqt_base.cpp
  * contrib/hbnf/getenvrn.c
  * contrib/rddsql/sddodbc/odbcdd.c
  * contrib/rddads/adsx.c
  * contrib/rddads/adsfunc.c
  * contrib/rddads/rddads.h
  * contrib/rddads/ads1.c
  * contrib/rddads/adsmgmnt.c
  * examples/hbapollo/apollo.c
    + HB_OS_WIN_USED trick replaced with direct windows.h
      inclusion, just like we do for all other OSes.
    + Also inclded hbwince.h in source files which required
      it. Please test it.

  * contrib/hbqt/gtqtc/gtqtc.cpp
    - Deleted commented code to not create false grep hits
      all the time.
2010-02-09 02:58:53 +00:00
Pritpal Bedi
146b37e8e5 2010-01-18 17:52 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_base.cpp
  * contrib/hbqt/hbqt_hbevents.cpp
  * contrib/hbqt/hbqt_hbslots.cpp
    ! HB_TRUE/FALSE <=> true/false.

  * contrib/hbide/hbide.prg
  * contrib/hbide/ideeditor.prg
    ! Updated to manage split windows properly.
      Presently the behavior is as such:
        Horizontal Split - Top row is columns are splitted
        Vertical Split - More row is added at the bottom.
        Delete Splitted Window - Focus is always shifted to 
           main edit window. i.e., parent of all.
      Please comment.
2010-01-19 02:03:23 +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
Pritpal Bedi
63a616aa85 2009-12-18 01:37 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt.h
  * contrib/hbqt/hbqt_base.cpp
  * contrib/hbqt/hbqt_destruct.cpp
  * contrib/hbqt/hbqt_events.cpp
  * contrib/hbqt/hbqt_slots.cpp

  * contrib/hbxbp/xbpbrowse.prg
  * contrib/hbxbp/xbphtmlviewer.prg
  * contrib/hbxbp/xbpmenubar.prg
  * contrib/hbxbp/xbpprinter.prg
  * contrib/hbxbp/xbppushbutton.prg
  * contrib/hbxbp/xbptoolbar.prg
  * contrib/hbxbp/xbpwindow.prg

  * contrib/hbqt/tests/demoqt.prg
  * contrib/hbide/hbide.prg
    ! Cleaned up QT_PTROF() macro altogether.
      A few instances are left in the HBXBP scheduled to be reviewed later.
2009-12-18 09:46:11 +00:00
Viktor Szakats
dd3b0805a3 2009-12-18 09:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_hbdbfmodel.cpp
  * contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/hbqt_hbqtableview.cpp
  * contrib/hbqt/hbqt.h
  * contrib/hbqt/hbqt_destruct.cpp
  * contrib/hbqt/hbqt_hbqmainwindow.cpp
  * contrib/hbqt/hbqt_base.cpp
    ! Fixed gcFuncs() to be named hbqt_gcFuncs(). This is a 
      public function, please remember to prefix all public functions 
      to have a lib specific prefix.
    ; TODO: Regenerate.
2009-12-18 08:59:17 +00:00
Viktor Szakats
e4ec7db7e2 2009-12-14 13:45 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_prn2.c
    + Eliminated rest of HB_TCHAR*() calls.
      Please review, and test for memory leaks.
    ; No more HB_TCHAR*() macros in hbwin code.

  * contrib/hbwin/win_misc.c
    + Added cast.

  * contrib/hbqt/hbqt_base.cpp
    * Minor formatting.
2009-12-14 12:47:32 +00:00
Viktor Szakats
8df8ddb037 2009-12-10 00:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_destruct.cpp
  * contrib/hbqt/hbqt_base.cpp
    * Moved some non-destructor related stuff to hbqt_base.cpp.
    - Deleted hbqt_debug() low level call.
      (this temporarily break build, pls be patient)
    * C level hbqt_getmemused() is now always defined in Windows builds.
    * Harbour level HBQT_GETMEMUSED() now always works (not just 
      special debug builds).

  * contrib/hbqt/hbqt_hbqtdbfmodel.cpp
  * contrib/hbqt/hbqt_hbqttableview.cpp
  * contrib/hbqt/hbqt_hbqtmymainwindow.cpp
  * contrib/hbqt/hbqt_slots.cpp
    * Replaced hbqt_debug() with HB_TRACE() calls.

    ; NOTE: IMPORTANT: -D__HB_DEBUG__ works no more. Now for debug builds, 
            you have to use the standard Harbour method:
               HB_USER_CFLAGS=-DHB_TR_LEVEL_DEBUG
            It's enough to enable this setting when build hbqt lib, to 
            get HBQT trace calls.

  * contrib/hbqt/hbqt.h
    ! Added missing 'extern' keywords.
    ! Added missing 'extern int hbqt_getmemused( void )'.
2009-12-09 23:45:23 +00:00
Viktor Szakats
b20a37cdb8 2009-07-01 20:48 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/qth/QTextBlockGroup.qth
  * contrib/hbqt/qth/QTextDocumentFragment.qth
  * contrib/hbqt/qth/QWebHistoryItem.qth
  * contrib/hbqt/qth/QTextCursor.qth
  * contrib/hbqt/qth/QTextDocument.qth
  * contrib/hbqt/qth/QTextFrame.qth
  * contrib/hbqt/qth/QTextDocumentWriter.qth
  * contrib/hbqt/qth/QTextObject.qth
  * contrib/hbqt/hbqt_qtextdocument.cpp
  * contrib/hbqt/hbqt_qtextblockgroup.cpp
  * contrib/hbqt/hbqt_qtextcursor.cpp
  * contrib/hbqt/hbqt_qwebhistoryitem.cpp
  * contrib/hbqt/moc_slots.cpp
  * contrib/hbqt/hbqt_qtextobject.cpp
  * contrib/hbqt/hbqt_qtextdocumentfragment.cpp
  * contrib/hbqt/hbqt.h
  * contrib/hbqt/hbqt_base.cpp
  * contrib/hbqt/hbqt_qtextdocumentwriter.cpp
  * contrib/hbqt/hbqt_qtextframe.cpp
    * Reverted previous two changes before applying fixes.
2009-07-01 18:50:00 +00:00
Pritpal Bedi
ac72b2cdca 2009-07-01 08:30 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/hbqt.h
  * harbour/contrib/hbqt/hbqt_base.cpp
  * harbour/contrib/hbqt/hbqt_qtextblockgroup.cpp
  * harbour/contrib/hbqt/hbqt_qtextcursor.cpp
  * harbour/contrib/hbqt/hbqt_qtextdocument.cpp
  * harbour/contrib/hbqt/hbqt_qtextdocumentfragment.cpp
  * harbour/contrib/hbqt/hbqt_qtextdocumentwriter.cpp
  * harbour/contrib/hbqt/hbqt_qtextframe.cpp
  * harbour/contrib/hbqt/hbqt_qtextobject.cpp
  * harbour/contrib/hbqt/hbqt_qwebhistoryitem.cpp
  * harbour/contrib/hbqt/moc_slots.cpp
  * harbour/contrib/hbqt/qth/QTextBlockGroup.qth
  * harbour/contrib/hbqt/qth/QTextCursor.qth
  * harbour/contrib/hbqt/qth/QTextDocument.qth
  * harbour/contrib/hbqt/qth/QTextDocumentFragment.qth
  * harbour/contrib/hbqt/qth/QTextDocumentWriter.qth
  * harbour/contrib/hbqt/qth/QTextFrame.qth
  * harbour/contrib/hbqt/qth/QTextObject.qth
  * harbour/contrib/hbqt/qth/QWebHistoryItem.qth
    ! Shifted headers to respective .qth
    ! Removed unnecessary additional headers and defines in hbqt.h

    /*  Now HBQT compiles in 42 seconds on my machine. */
2009-07-01 15:48:47 +00:00
Pritpal Bedi
5494ce2cf0 2009-03-31 01:50 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/Makefile
    % Makefile is auto generated by <hbqtgen.exe> and is placed
      in hbqt/gensource.

  * harbour/contrib/hbqt/hbqt_base.cpp
  * harbour/contrib/hbqt/hbqt_qabstractbutton.cpp
  * harbour/contrib/hbqt/hbqt_qabstractitemview.cpp
  * harbour/contrib/hbqt/hbqt_qabstractprintdialog.cpp
  * harbour/contrib/hbqt/hbqt_qabstractscrollarea.cpp
  * harbour/contrib/hbqt/hbqt_qabstractslider.cpp
  * harbour/contrib/hbqt/hbqt_qabstractspinbox.cpp
  * harbour/contrib/hbqt/hbqt_qaction.cpp
  * harbour/contrib/hbqt/hbqt_qapplication.cpp
  * harbour/contrib/hbqt/hbqt_qboxlayout.cpp
  + harbour/contrib/hbqt/hbqt_qbrush.cpp
  * harbour/contrib/hbqt/hbqt_qcalendarwidget.cpp
  * harbour/contrib/hbqt/hbqt_qcheckbox.cpp
  + harbour/contrib/hbqt/hbqt_qcolor.cpp
  * harbour/contrib/hbqt/hbqt_qcolordialog.cpp
  * harbour/contrib/hbqt/hbqt_qcombobox.cpp
  * harbour/contrib/hbqt/hbqt_qcommandlinkbutton.cpp
  * harbour/contrib/hbqt/hbqt_qcoreapplication.cpp
  - harbour/contrib/hbqt/hbqt_qcqlendarwidget.cpp
  * harbour/contrib/hbqt/hbqt_qdateedit.cpp
  * harbour/contrib/hbqt/hbqt_qdatetimeedit.cpp
  * harbour/contrib/hbqt/hbqt_qdial.cpp
  * harbour/contrib/hbqt/hbqt_qdialog.cpp
  * harbour/contrib/hbqt/hbqt_qdoublespinbox.cpp
  * harbour/contrib/hbqt/hbqt_qerrormessage.cpp
  * harbour/contrib/hbqt/hbqt_qfiledialog.cpp
  * harbour/contrib/hbqt/hbqt_qfocusframe.cpp
  * harbour/contrib/hbqt/hbqt_qfont.cpp
  * harbour/contrib/hbqt/hbqt_qfontcombobox.cpp
  * harbour/contrib/hbqt/hbqt_qfontdialog.cpp
  * harbour/contrib/hbqt/hbqt_qformlayout.cpp
  * harbour/contrib/hbqt/hbqt_qframe.cpp
  * harbour/contrib/hbqt/hbqt_qgroupbox.cpp
  * harbour/contrib/hbqt/hbqt_qhboxlayout.cpp
  * harbour/contrib/hbqt/hbqt_qinputdialog.cpp
  * harbour/contrib/hbqt/hbqt_qlabel.cpp
  * harbour/contrib/hbqt/hbqt_qlayout.cpp
  * harbour/contrib/hbqt/hbqt_qlayoutitem.cpp
  * harbour/contrib/hbqt/hbqt_qlcdnumber.cpp
  * harbour/contrib/hbqt/hbqt_qlineedit.cpp
  * harbour/contrib/hbqt/hbqt_qlistview.cpp
  * harbour/contrib/hbqt/hbqt_qmainwindow.cpp
  * harbour/contrib/hbqt/hbqt_qmenu.cpp
  * harbour/contrib/hbqt/hbqt_qmenubar.cpp
  * harbour/contrib/hbqt/hbqt_qmessagebox.cpp
  * harbour/contrib/hbqt/hbqt_qobject.cpp
  * harbour/contrib/hbqt/hbqt_qpagesetupdialog.cpp
  + harbour/contrib/hbqt/hbqt_qpaintdevice.cpp
  + harbour/contrib/hbqt/hbqt_qpainter.cpp
  + harbour/contrib/hbqt/hbqt_qpen.cpp
  * harbour/contrib/hbqt/hbqt_qprintdialog.cpp
  * harbour/contrib/hbqt/hbqt_qprintpreviewdialog.cpp
  * harbour/contrib/hbqt/hbqt_qprogressbar.cpp
  * harbour/contrib/hbqt/hbqt_qprogressdialog.cpp
  * harbour/contrib/hbqt/hbqt_qpushbutton.cpp
  * harbour/contrib/hbqt/hbqt_qradiobutton.cpp
  * harbour/contrib/hbqt/hbqt_qscrollarea.cpp
  * harbour/contrib/hbqt/hbqt_qscrollbar.cpp
  * harbour/contrib/hbqt/hbqt_qsizegrip.cpp
  * harbour/contrib/hbqt/hbqt_qslider.cpp
  * harbour/contrib/hbqt/hbqt_qspinbox.cpp
  * harbour/contrib/hbqt/hbqt_qsplitter.cpp
  * harbour/contrib/hbqt/hbqt_qtabbar.cpp
  * harbour/contrib/hbqt/hbqt_qtableview.cpp
  * harbour/contrib/hbqt/hbqt_qtablewidget.cpp
  * harbour/contrib/hbqt/hbqt_qtablewidgetitem.cpp
  * harbour/contrib/hbqt/hbqt_qtabwidget.cpp
  * harbour/contrib/hbqt/hbqt_qtextedit.cpp
  * harbour/contrib/hbqt/hbqt_qtimeedit.cpp
  * harbour/contrib/hbqt/hbqt_qtoolbar.cpp
  * harbour/contrib/hbqt/hbqt_qtoolbox.cpp
  * harbour/contrib/hbqt/hbqt_qtoolbutton.cpp
  * harbour/contrib/hbqt/hbqt_qtreeview.cpp
  * harbour/contrib/hbqt/hbqt_qtreewidget.cpp
  * harbour/contrib/hbqt/hbqt_qtreewidgetitem.cpp
  * harbour/contrib/hbqt/hbqt_qvboxlayout.cpp
  + harbour/contrib/hbqt/hbqt_qwebpage.cpp
  * harbour/contrib/hbqt/hbqt_qwebview.cpp
  * harbour/contrib/hbqt/hbqt_qwidget.cpp
  * harbour/contrib/hbqt/hbqt_qwizard.cpp
  * harbour/contrib/hbqt/hbqt_slots.cpp
  * harbour/contrib/hbqt/hbqt_utils.cpp
  * harbour/contrib/hbqt/moc_slots.cpp
  * harbour/contrib/hbqt/hbqt.h
  + harbour/contrib/hbqt/hbqt_slots.h
  - harbour/contrib/hbqt/slots.h
    +- Added | Changed | Deleted Sources. 
     Now these sources are auto generated by the HB-QT generator.
     Please never try to modify these. Instead look at /qth folder
     and .qth source definition files. I will write a detailed 
     description once it becomes fully operational as I have 
     drawn on the drawing board. The above code is fully functional
     to the extent it is generated but still about 30% functions
     have not been translated. A work in progress...

  + harbour/contrib/hbqt/TQAbstractButton.prg
  + harbour/contrib/hbqt/TQAbstractItemView.prg
  + harbour/contrib/hbqt/TQAbstractPrintDialog.prg
  + harbour/contrib/hbqt/TQAbstractScrollArea.prg
  + harbour/contrib/hbqt/TQAbstractSlider.prg
  + harbour/contrib/hbqt/TQAbstractSpinBox.prg
  + harbour/contrib/hbqt/TQAction.prg
  + harbour/contrib/hbqt/TQBoxLayout.prg
  + harbour/contrib/hbqt/TQCalendarWidget.prg
  + harbour/contrib/hbqt/TQCheckBox.prg
  + harbour/contrib/hbqt/TQColorDialog.prg
  + harbour/contrib/hbqt/TQComboBox.prg
  + harbour/contrib/hbqt/TQCommandLinkButton.prg
  + harbour/contrib/hbqt/TQDateEdit.prg
  + harbour/contrib/hbqt/TQDateTimeEdit.prg
  + harbour/contrib/hbqt/TQDial.prg
  + harbour/contrib/hbqt/TQDialog.prg
  + harbour/contrib/hbqt/TQDoubleSpinBox.prg
  + harbour/contrib/hbqt/TQErrorMessage.prg
  + harbour/contrib/hbqt/TQFileDialog.prg
  + harbour/contrib/hbqt/TQFocusFrame.prg
  + harbour/contrib/hbqt/TQFontComboBox.prg
  + harbour/contrib/hbqt/TQFontDialog.prg
  + harbour/contrib/hbqt/TQFormLayout.prg
  + harbour/contrib/hbqt/TQFrame.prg
  + harbour/contrib/hbqt/TQGroupBox.prg
  + harbour/contrib/hbqt/TQHBoxLayout.prg
  + harbour/contrib/hbqt/TQInputDialog.prg
  + harbour/contrib/hbqt/TQLabel.prg
  + harbour/contrib/hbqt/TQLayout.prg
  + harbour/contrib/hbqt/TQLayoutItem.prg
  + harbour/contrib/hbqt/TQLCDNumber.prg
  + harbour/contrib/hbqt/TQLineEdit.prg
  + harbour/contrib/hbqt/TQListView.prg
  + harbour/contrib/hbqt/TQMainWindow.prg
  + harbour/contrib/hbqt/TQMenu.prg
  + harbour/contrib/hbqt/TQMenuBar.prg
  + harbour/contrib/hbqt/TQMessageBox.prg
  + harbour/contrib/hbqt/TQObject.prg
  + harbour/contrib/hbqt/TQPageSetupDialog.prg
  + harbour/contrib/hbqt/TQPaintDevice.prg
  + harbour/contrib/hbqt/TQPainter.prg
  + harbour/contrib/hbqt/TQPrintDialog.prg
  + harbour/contrib/hbqt/TQPrintPreviewDialog.prg
  + harbour/contrib/hbqt/TQProgressBar.prg
  + harbour/contrib/hbqt/TQProgressDialog.prg
  + harbour/contrib/hbqt/TQPushButton.prg
  + harbour/contrib/hbqt/TQRadioButton.prg
  + harbour/contrib/hbqt/TQScrollArea.prg
  + harbour/contrib/hbqt/TQScrollBar.prg
  + harbour/contrib/hbqt/TQSizeGrip.prg
  + harbour/contrib/hbqt/TQSlider.prg
  + harbour/contrib/hbqt/TQSpinBox.prg
  + harbour/contrib/hbqt/TQSplitter.prg
  + harbour/contrib/hbqt/TQTabBar.prg
  + harbour/contrib/hbqt/TQTableView.prg
  + harbour/contrib/hbqt/TQTableWidget.prg
  + harbour/contrib/hbqt/TQTableWidgetItem.prg
  + harbour/contrib/hbqt/TQTabWidget.prg
  + harbour/contrib/hbqt/TQTextEdit.prg
  + harbour/contrib/hbqt/TQTimeEdit.prg
  + harbour/contrib/hbqt/TQToolBar.prg
  + harbour/contrib/hbqt/TQToolBox.prg
  + harbour/contrib/hbqt/TQToolButton.prg
  + harbour/contrib/hbqt/TQTreeView.prg
  + harbour/contrib/hbqt/TQTreeWidget.prg
  + harbour/contrib/hbqt/TQTreeWidgetItem.prg
  + harbour/contrib/hbqt/TQVBoxLayout.prg
  + harbour/contrib/hbqt/TQWebPage.prg
  + harbour/contrib/hbqt/TQWebView.prg
  + harbour/contrib/hbqt/TQWidget.prg
  + harbour/contrib/hbqt/TQWizard.prg
    + Added auto generated classes with exact same class hierarchy
      which QT has outlined with inheritance. QT implements 
      constructors with dynamic parameters which on prg level
      are difficult to manage. So I have adopted a simple 
      approach. :New() accepts only one argument <pParent> i.e.,
      pointer to the parent object, if any, and which is universal
      in QT implementation. This class implementation implies 
      that PRG code will pass <pPointer> to a method and will 
      receive <oObject> | <pPointer>. We can build higher level
      classes inheriting from above and implement whatever way we wish
      to pass and receive objects. I would like those higher
      level classes to confirm Xbase++ standards.

  * harbour/contrib/hbqt/qth/QAbstractButton.qth
  * harbour/contrib/hbqt/qth/QAbstractItemView.qth
  * harbour/contrib/hbqt/qth/QAbstractPrintDialog.qth
  * harbour/contrib/hbqt/qth/QAbstractScrollArea.qth
  * harbour/contrib/hbqt/qth/QAbstractSlider.qth
  * harbour/contrib/hbqt/qth/QAbstractSpinBox.qth
  * harbour/contrib/hbqt/qth/QAction.qth
  * harbour/contrib/hbqt/qth/QBoxLayout.qth
  * harbour/contrib/hbqt/qth/QCalendarWidget.qth
  * harbour/contrib/hbqt/qth/QCheckBox.qth
  * harbour/contrib/hbqt/qth/QColorDialog.qth
  * harbour/contrib/hbqt/qth/QComboBox.qth
  * harbour/contrib/hbqt/qth/QCommandLinkButton.qth
  * harbour/contrib/hbqt/qth/QDateEdit.qth
  * harbour/contrib/hbqt/qth/QDateTimeEdit.qth
  * harbour/contrib/hbqt/qth/QDial.qth
  * harbour/contrib/hbqt/qth/QDialog.qth
  * harbour/contrib/hbqt/qth/QDoubleSpinBox.qth
  * harbour/contrib/hbqt/qth/QErrorMessage.qth
  * harbour/contrib/hbqt/qth/QFileDialog.qth
  * harbour/contrib/hbqt/qth/QFocusFrame.qth
  * harbour/contrib/hbqt/qth/QFontComboBox.qth
  * harbour/contrib/hbqt/qth/QFontDialog.qth
  * harbour/contrib/hbqt/qth/QFormLayout.qth
  * harbour/contrib/hbqt/qth/QFrame.qth
  * harbour/contrib/hbqt/qth/QGroupBox.qth
  * harbour/contrib/hbqt/qth/QHBoxLayout.qth
  * harbour/contrib/hbqt/qth/QInputDialog.qth
  * harbour/contrib/hbqt/qth/QLabel.qth
  * harbour/contrib/hbqt/qth/QLayout.qth
  * harbour/contrib/hbqt/qth/QLayoutItem.qth
  * harbour/contrib/hbqt/qth/QLCDNumber.qth
  * harbour/contrib/hbqt/qth/QLineEdit.qth
  * harbour/contrib/hbqt/qth/QListView.qth
  * harbour/contrib/hbqt/qth/QMainWindow.qth
  * harbour/contrib/hbqt/qth/QMenu.qth
  * harbour/contrib/hbqt/qth/QMenuBar.qth
  * harbour/contrib/hbqt/qth/QMessageBox.qth
  * harbour/contrib/hbqt/qth/QObject.qth
  * harbour/contrib/hbqt/qth/QPageSetupDialog.qth
  + harbour/contrib/hbqt/qth/QPaintDevice.qth
  * harbour/contrib/hbqt/qth/QPainter.qth
  * harbour/contrib/hbqt/qth/QPrintDialog.qth
  * harbour/contrib/hbqt/qth/QPrintPreviewDialog.qth
  * harbour/contrib/hbqt/qth/QProgressBar.qth
  + harbour/contrib/hbqt/qth/QProgressDialog.qth
  * harbour/contrib/hbqt/qth/QPushButton.qth
  * harbour/contrib/hbqt/qth/QRadioButton.qth
  * harbour/contrib/hbqt/qth/QScrollArea.qth
  * harbour/contrib/hbqt/qth/QScrollBar.qth
  * harbour/contrib/hbqt/qth/QSizeGrip.qth
  * harbour/contrib/hbqt/qth/QSlider.qth
  * harbour/contrib/hbqt/qth/QSpinBox.qth
  * harbour/contrib/hbqt/qth/QSplitter.qth
  * harbour/contrib/hbqt/qth/QTabBar.qth
  * harbour/contrib/hbqt/qth/QTableView.qth
  * harbour/contrib/hbqt/qth/QTableWidget.qth
  * harbour/contrib/hbqt/qth/QTableWidgetItem.qth
  * harbour/contrib/hbqt/qth/QTabWidget.qth
  * harbour/contrib/hbqt/qth/QTextEdit.qth
  * harbour/contrib/hbqt/qth/QTimeEdit.qth
  * harbour/contrib/hbqt/qth/QToolBar.qth
  * harbour/contrib/hbqt/qth/QToolBox.qth
  * harbour/contrib/hbqt/qth/QToolButton.qth
  * harbour/contrib/hbqt/qth/QTreeView.qth
  * harbour/contrib/hbqt/qth/QTreeWidget.qth
  * harbour/contrib/hbqt/qth/QTreeWidgetItem.qth
  * harbour/contrib/hbqt/qth/QVBoxLayout.qth
  + harbour/contrib/hbqt/qth/QWebPage.qth
  + harbour/contrib/hbqt/qth/QWebView.qth
  * harbour/contrib/hbqt/qth/QWidget.qth
  + harbour/contrib/hbqt/qth/QWizard.qth
    + Added | Changed source definitions to honor class construction.

  * harbour/contrib/hbqt/generator/hbqtgen.prg
    ! Enhanced to generate .cpp | .h | .prg | .txt.
      Now .cpp sources contain information about which functions
      are still awaiting to be included plus the percentage in this form:
      -   189/229 [ 73.78% ]

  * harbour/contrib/hbqt/generator/qt45.qtp
    ! Added new .qth source definitions.

  * harbour/contrib/hbqt/tests/demoqt.prg
    ! Auto generated demo program. Just play with it and 
      you will be surprised how simple it is to use QT; all 
      gadgets provided.

    SUMUP: Auto Generated Files:
             - hbqt/gensource/hbqt_q*.cpp   source files
             - hbqt/doc/Q*.txt              documentation on function calls
             - hbqt/tests/demoqt.prg        demonstration program
             - hbqt/gensource/hbqt.h         
             - hbqt/gensource/hbqt_slots.h
             - hbqt/gensource/hbqt_slots.cpp
             - hbqt/gensource/hbqt_base.cpp
             - hbqt/gensource/moc_slots.cpp

     PROGNOSIS:
           - Stay in harbour/contrib/hbqt/generator
           - hbmk2.exe hbqtgen
           - del ..\gensource\*.*
           - del ..\doc\*.*
           - hbqtgen.exe qt45.qtp
           - cd ..
           - you should be staying at harbour/contrib/hbqt
           - del *.* ( be careful that you are under the right folder )
           - copy gensource/*.*
           - invoke QT specific build batch
           - cd tests
           - hbmk2.exe demoqt
           - demoqt.exe
           - .
           - play with gadgets
2009-03-31 09:57:04 +00:00
Viktor Szakats
04e0670135 2009-03-19 15:33 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
  * contrib/Makefile
    + Added QT to the mainstream build. See INSTALL how to 
      enable it. We will disable it before release if it will 
      be a build blocker.

  + contrib/hbqt/hbqt_base.cpp
    + Added missing file from previous commit.

  * utils/hbmk2/hbmk2.prg
    + Added -dflag: and -aflag: options.
2009-03-19 14:34:33 +00:00