Commit Graph

17106 Commits

Author SHA1 Message Date
Viktor Szakats
608da306e9 2012-06-04 17:21 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/debug/dbgbrwsr.prg
  * src/debug/dbgtarr.prg
  * src/debug/dbgthsh.prg
  * src/debug/dbgtinp.prg
  * src/debug/dbgtmenu.prg
  * src/debug/dbgtobj.prg
  * src/debug/dbgwa.prg
  * src/debug/debugger.prg
  * src/rdd/dbstruxu.prg
  * src/rdd/dbtotal.prg
  * src/rdd/hbsix/sxcompat.prg
  * src/rdd/hbsix/sxini.prg
  * src/rdd/hbsix/sxtrig.prg
  * src/rdd/rddord.prg
  * src/rdd/rddordu.prg
  * src/rdd/usrrdd/rdds/arrayrdd.prg
  * src/rdd/usrrdd/rdds/hscdx.prg
  * src/rdd/usrrdd/rdds/logrdd.prg
  * src/rdd/usrrdd/rdds/rlcdx.prg
  * src/rtl/achoice.prg
  * src/rtl/adir.prg
  * src/rtl/alert.prg
  * src/rtl/checkbox.prg
  * src/rtl/color53.prg
  * src/rtl/dbedit.prg
  * src/rtl/einstv52.prg
  * src/rtl/einstvar.prg
  * src/rtl/errsys.prg
  * src/rtl/fieldbl.prg
  * src/rtl/getsys.prg
  * src/rtl/getsys53.prg
  * src/rtl/gui.prg
  * src/rtl/hbdoc.prg
  * src/rtl/hbfilehi.prg
  * src/rtl/hbi18n2.prg
  * src/rtl/hbini.prg
  * src/rtl/libname.prg
  * src/rtl/listbox.prg
  * src/rtl/memoedit.prg
  * src/rtl/memvarbl.prg
  * src/rtl/memvarhb.prg
  * src/rtl/menusys.prg
  * src/rtl/menuto.prg
  * src/rtl/objfunc.prg
  * src/rtl/profiler.prg
  * src/rtl/pushbtn.prg
  * src/rtl/radiobtn.prg
  * src/rtl/radiogrp.prg
  * src/rtl/readvar.prg
  * src/rtl/scrollbr.prg
  * src/rtl/setfunc.prg
  * src/rtl/tbcolumn.prg
  * src/rtl/tbrowse.prg
  * src/rtl/tbrowsys.prg
  * src/rtl/tclass.prg
  * src/rtl/teditor.prg
  * src/rtl/tget.prg
  * src/rtl/tgetlist.prg
  * src/rtl/tmenuitm.prg
  * src/rtl/tmenusys.prg
  * src/rtl/tobject.prg
  * src/rtl/tpersist.prg
  * src/rtl/tpopup.prg
  * src/rtl/ttopbar.prg
  * src/rtl/typefile.prg
  * tests/hbdoctst.prg
  * utils/hbmk2/hbmk2.prg
    * IS*() macros converted to HB_IS*() function calls.
      (using full uppercase to make them stand out)
    % deleted '#include "common.ch"' where possible
2012-06-04 15:25:14 +00:00
Viktor Szakats
0cd6638432 2012-06-04 15:26 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/3rd/zlib/Makefile
  * src/3rd/zlib/*
    * updated to 1.2.7 from 1.2.6. Using 3rdpatch.hb and .dif reapplied manually.

  * src/rtl/hbzlibgz.c
    + HB_GZOPEN() updated to use new in zlib 1.2.7 wide gzopen()
      on Windows. It means now it supports unicode filenames.

  * contrib/hbmzip/3rd/minizip/zip.c
    * updated manually from zlib 1.2.7 (two warnings fixed)
2012-06-04 13:27:24 +00:00
Viktor Szakats
dc0fd83c43 2012-06-04 14:25 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/3rd/png/Makefile
  * src/3rd/png/*
    * updated to 1.5.10 from 1.5.9 (using 3rdpatch.hb)
2012-06-04 12:26:48 +00:00
Viktor Szakats
4c91d7f974 2012-06-04 14:00 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + '-trace' option to log VCS version exract command

  * contrib/3rd/sqlite3/sqlite3.c
  * contrib/3rd/sqlite3/sqlite3.dif
  * contrib/3rd/sqlite3/sqlite3.h
  * contrib/3rd/sqlite3/sqlite3.hbp
    * updated to 3.7.12.1 from 3.7.10 (using 3rdpatch.hb)
2012-06-04 12:02:31 +00:00
Viktor Szakats
0fc2bc3355 2012-06-04 13:45 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.es_PE.po
    ! synced help text with actual list of supported macros.
2012-06-04 11:46:25 +00:00
Viktor Szakats
4f150b0a59 2012-06-04 11:51 UTC+0200 Viktor Szakats (harbour syenar.net)
* tests/rddtest/adscl52.prg
  * tests/rddtest/adscl53.prg
  * tests/rddtest/ntxcl52.prg
  * tests/rddtest/ntxcl53.prg
  * tests/rddtest/cdxcl52.prg
  * tests/rddtest/cdxcl53.prg
  * examples/gfspell/spell.prg
  * examples/httpsrv/uhttpd.prg
  * examples/httpsrv/cookie.prg
  * examples/httpsrv/cgifunc.prg
  * examples/httpsrv/session.prg
  * examples/terminal/trm_cli.prg
  * examples/terminal/terminal.prg
  * examples/terminal/trm_srv.prg
  * examples/terminal/trm_app.prg
  * examples/terminal/readme.txt
  * examples/gtwvw/tests/wvwmouse.prg
  * examples/gtwvw/tests/cbtest1.prg
  * examples/gtwvw/tests/maincoor.prg
  * examples/gtwvw/tests/cbtest6.prg
  * examples/gtwvw/tests/wvwtest9.prg
  * examples/gtwvw/tests/ebtest7.prg
  * examples/gtwvw/tests/maximize.prg
  * examples/gtwvw/tests/inpfocus.prg
    * '<>' -> '!='
2012-06-04 09:52:07 +00:00
Viktor Szakats
8e97b1dd70 2012-06-04 11:41 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbformat/hbfmtcls.prg
    + use harbour.hbx as proper-casing database (instead of 
      incomplete local list of Harbour functions)
    + completed list of IS*() macros
2012-06-04 09:42:19 +00:00
Viktor Szakats
a6fbc56731 2012-06-04 11:28 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbformat/hbfmtcls.prg
    + DispOutAt

  * contrib/hbnetio/utils/hbnetioq/netiosrq.prg
  * contrib/gtwvg/wvgclass.prg
  * contrib/gtwvg/wvgdlg.prg
  * contrib/gtwvg/wvgpaint.prg
  * contrib/gtwvg/wvgtoolb.prg
  * contrib/gtwvg/tests/wvgtbrowser.prg
  * contrib/gtwvg/tests/demoxbp.prg
  * contrib/gtwvg/tests/wvgxbp.prg
  * contrib/gtwvg/tests/wvgactivex.prg
  * contrib/gtwvg/wvgwnd.prg
  * contrib/gtwvg/wvgdatar.prg
  * contrib/gtwvg/wvgsysw.prg
  * contrib/gtwvg/wvgmenub.prg
  * contrib/gtwvg/wvgphdlr.prg
  * contrib/gtwvg/wvgbitmp.prg
  * contrib/gtwvg/wvgstatc.prg
  * contrib/xhb/decode.prg
  * contrib/xhb/ttable.prg
  * contrib/hbide/ideconsole.prg
  * tests/db_brows.prg
  * tests/inkeytst.prg
  * tests/ifinline.prg
  * tests/inifiles.prg
  * tests/test_all.prg
  * tests/fsplit.prg
    * '<>' -> '!=' or '!( == )'
      caught a few _SET_EXACT dependend code too.
2012-06-04 09:30:51 +00:00
Viktor Szakats
68b4766b96 2012-06-04 01:14 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbtip/thtml.prg
    ! typo in prev
2012-06-03 23:15:56 +00:00
Viktor Szakats
54de58cc14 missed ChangeLog item 2012-06-03 22:49:54 +00:00
Viktor Szakats
d32355e590 2012-06-04 00:40 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbziparc/ziparc.prg
    ! fixed for unicode in another location
    % optimization to prev unicode fix

  * contrib/hbtip/thtml.prg
    ! fixed chr() usage for unicode mode
    * formatted (hbformat and manual)
    % deleted excessive parantheses

  * contrib/hbtip/cgi.prg
  * contrib/hbtip/httpcli.prg
  * contrib/hbtip/client.prg
  * contrib/hbtip/tests/base64.prg
    ! fread()/fwrite() calls fixed for unicode
    ! fixed some more anomalies, like wrongly checkingg fwrite() for
      negative result, calling fread() with 4 parameters, passing
      buffer by reference to fwrite(), minor optimizations and formatting.

  * contrib/hbtip/url.prg
    * formatting

  ; build tested only
2012-06-03 22:41:28 +00:00
Viktor Szakats
510767f0c9 2012-06-03 23:14 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbqt/qtcore/hbqt.h
    ! deleted hbqt_par_QString() macro. It was not translating
      between HVM CP, so it was wrong.
    ; TOFIX: HBQSCINTILLA is broken now, because it's still used there.
2012-06-03 21:14:46 +00:00
Pritpal Bedi
24f011f0aa 2012-06-03 11:16 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/qth/HBQString.qth
  * contrib/hbqt/qtcore/qth/QFileInfo.qth
  * contrib/hbqt/qtnetwork/qth/QNetworkProxy.qth
    - Eliminated: any hbqt_par_QString() occurances.
2012-06-03 18:18:27 +00:00
Pritpal Bedi
bcf90cd673 2012-06-03 03:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_bind.cpp
    + Implemented: requested by the group protocol - to handle 
      parent-child relations internally by hbQT leading not 
      to hold everything in scoped variables. All objects will 
      behave accordingly except QAction() which is never get a 
      parent accoring to Qt docs.

    ; NOTE: will explain this in detail in reply to the message 
            of this commit.
2012-06-03 10:15:33 +00:00
Pritpal Bedi
6cc95f05a2 2012-06-03 01:48 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbmk2_qt.hb
    ! Changed: hb_itemReturn() => hb_itemReturnRelease() to honor 
      Harbour variable scoping protocol. We need another method to 
      keep it alive inside new methodology.

  + contrib/hbqt/qtcore/hbqt_destroyer.cpp
  + contrib/hbqt/qtcore/hbqt_destroyer.h
    + Contains: HBQDestroyer() a generic class whose sole purpose 
      is to catch "destroyed()" signal of any QObject and then 
      forward it to new engine to delete harbour object.

  * contrib/hbqt/qtcore/hbqt_bind.cpp
    + Added: "destroyed()" signal on QObject() derived classes.

  * contrib/hbqt/qtcore/hbqt_misc.prg
    + Added: #define __HBQT_REVAMP__ then commented out.
      Activated: destructor guarded against above define.

  * contrib/hbqt/qtcore/hbqtcore.hbm
    + Added: new sources.

  ; NOTE: this implementation prevents double freeing of Qt objects
          while keeping Harbour variable's scope protocol intact. So 
          if Qt deletes an object, Harbour object is also cleared 
          automatically. The same applies if Harbour variable goes 
          out of scope, Qt object is deleted, which is safe, because 
          Qt allows it.
          
          Now no GPF on exit on any demo, including hbIDE, with 
          __HBQT_REVAMP__ enabled.
2012-06-03 09:09:14 +00:00
Viktor Szakats
b14824f3bd 2012-06-03 10:01 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + added ${hb_verstr} macro returning: "3.2.0dev"
    + added ${hb_ver} macro returning: "030200" (in hex like __HARBOUR__ constant)
2012-06-03 08:01:37 +00:00
Pritpal Bedi
3d8f33b3de 2012-06-02 15:43 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/qth/QChildEvent.qth
  * contrib/hbqt/qtcore/qth/QEvent.qth
  * contrib/hbqt/qtcore/qth/QLatin1Char.qth
  * contrib/hbqt/qtcore/qth/QLatin1String.qth
  * contrib/hbqt/qtcore/qth/QMimeData.qth
  * contrib/hbqt/qtcore/qth/QObject.qth
  * contrib/hbqt/qtcore/qth/QTextDecoder.qth
  * contrib/hbqt/qtcore/qth/QTextEncoder.qth
  * contrib/hbqt/qtcore/qth/QThread.qth
  * contrib/hbqt/qtcore/qth/QTranslator.qth
    ! Fixed: constructors.
2012-06-02 22:45:49 +00:00
Pritpal Bedi
79438d19a0 2012-06-02 14:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/QCalendarWidget.qth
  * contrib/hbqt/qtgui/qth/QCheckBox.qth
  * contrib/hbqt/qtgui/qth/QCloseEvent.qth
  * contrib/hbqt/qtgui/qth/QCommandLinkButton.qth
  * contrib/hbqt/qtgui/qth/QCompleter.qth
  * contrib/hbqt/qtgui/qth/QConicalGradient.qth
  * contrib/hbqt/qtgui/qth/QDateEdit.qth
  * contrib/hbqt/qtgui/qth/QDateTimeEdit.qth
  * contrib/hbqt/qtgui/qth/QDeclarativeContext.qth
  * contrib/hbqt/qtgui/qth/QDial.qth
  * contrib/hbqt/qtgui/qth/QDialog.qth
  * contrib/hbqt/qtgui/qth/QDockWidget.qth
  * contrib/hbqt/qtgui/qth/QDoubleSpinBox.qth
  * contrib/hbqt/qtgui/qth/QDrag.qth
  * contrib/hbqt/qtgui/qth/QErrorMessage.qth
  * contrib/hbqt/qtgui/qth/QFileSystemModel.qth
  * contrib/hbqt/qtgui/qth/QFocusFrame.qth
  * contrib/hbqt/qtgui/qth/QFontComboBox.qth
  * contrib/hbqt/qtgui/qth/QFontMetrics.qth
  * contrib/hbqt/qtgui/qth/QFontMetricsF.qth
  * contrib/hbqt/qtgui/qth/QGroupBox.qth
  * contrib/hbqt/qtgui/qth/QInputDialog.qth
  * contrib/hbqt/qtgui/qth/QItemSelection.qth
  * contrib/hbqt/qtgui/qth/QKeySequence.qth
  * contrib/hbqt/qtgui/qth/QLCDNumber.qth
  * contrib/hbqt/qtgui/qth/QListView.qth
  * contrib/hbqt/qtgui/qth/QMatrix.qth
  * contrib/hbqt/qtgui/qth/QMessageBox.qth
  * contrib/hbqt/qtgui/qth/QMovie.qth
  * contrib/hbqt/qtgui/qth/QPainterPath.qth
  * contrib/hbqt/qtgui/qth/QPixmap.qth
  * contrib/hbqt/qtgui/qth/QProgressBar.qth
  * contrib/hbqt/qtgui/qth/QProgressDialog.qth
  * contrib/hbqt/qtgui/qth/QRadioButton.qth
  * contrib/hbqt/qtgui/qth/QSpacerItem.qth
    ! Fixed: constructors.
       This has been a tidious process and I could have 
       broken something in the process, though, all demoes 
       and hbIDE is working fine. If you find some inconsistency,
       please shout. Also if someone can overlook the .qth's 
       for remaining files yet needs the constructors reworked,
       it will be a great help.
2012-06-02 21:49:19 +00:00
Pritpal Bedi
85a3988e33 2012-06-01 17:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/hbqtoolbar.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/idethemes.prg
    ! Changed: a little to pass correct parameters to methods
      as per the changes in constructors.
  
  ; NOTE: now hbIDE neither throws any GPF on exit nor reports 
          "object destructure failure : reference to freed block"
2012-06-02 00:47:17 +00:00
Pritpal Bedi
7233d39e7e 2012-06-01 17:14 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/HBQSyntaxHighlighter.qth
  * contrib/hbqt/qtgui/qth/QAction.qth
  * contrib/hbqt/qtgui/qth/QBoxLayout.qth
  * contrib/hbqt/qtgui/qth/QFormLayout.qth
  * contrib/hbqt/qtgui/qth/QFrame.qth
  * contrib/hbqt/qtgui/qth/QGridLayout.qth
  * contrib/hbqt/qtgui/qth/QLineEdit.qth
  * contrib/hbqt/qtgui/qth/QPushButton.qth
  * contrib/hbqt/qtgui/qth/QScrollArea.qth
  * contrib/hbqt/qtgui/qth/QSizeGrip.qth
  * contrib/hbqt/qtgui/qth/QSlider.qth
  * contrib/hbqt/qtgui/qth/QSound.qth
  * contrib/hbqt/qtgui/qth/QSpinBox.qth
  * contrib/hbqt/qtgui/qth/QSplashScreen.qth
  * contrib/hbqt/qtgui/qth/QSplitter.qth
  * contrib/hbqt/qtgui/qth/QStackedWidget.qth
  * contrib/hbqt/qtgui/qth/QStandardItem.qth
  * contrib/hbqt/qtgui/qth/QStandardItemModel.qth
  * contrib/hbqt/qtgui/qth/QStringListModel.qth
  * contrib/hbqt/qtgui/qth/QSystemTrayIcon.qth
  * contrib/hbqt/qtgui/qth/QTabBar.qth
  * contrib/hbqt/qtgui/qth/QTableWidget.qth
  * contrib/hbqt/qtgui/qth/QTabWidget.qth
  * contrib/hbqt/qtgui/qth/QTextBrowser.qth
  * contrib/hbqt/qtgui/qth/QTextDocument.qth
  * contrib/hbqt/qtgui/qth/QTextEdit.qth
  * contrib/hbqt/qtgui/qth/QTextFormat.qth
  * contrib/hbqt/qtgui/qth/QTimeEdit.qth
  * contrib/hbqt/qtgui/qth/QToolBox.qth
  * contrib/hbqt/qtgui/qth/QToolButton.qth
  * contrib/hbqt/qtgui/qth/QTreeView.qth
  * contrib/hbqt/qtgui/qth/QTreeWidget.qth
  * contrib/hbqt/qtgui/qth/QWidgetAction.qth
  * contrib/hbqt/qtgui/qth/QWidgetItem.qth
  * contrib/hbqt/qtgui/qth/QWizardPage.qth
    ! Fixed: constructors. Now hbIDE shows up with __HBQT_REVAMP__.
2012-06-02 00:22:08 +00:00
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
Francesco Perillo
d4bed9d9ec 2012-05-25 00:12 UTC+0200 Francesco Perillo (fperillo at gmail.com)
* Changelog
    * Mispelled name corrected
2012-05-24 22:17:23 +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
Przemyslaw Czerpak
55b3dc62de 2012-05-24 13:09 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/config/postinst.hb
    ! remove old links before hb_FLinkSym() is called.
      Without it old links were not overloaded and
      I've just noticed that I have still active links
      to old harbour shared library in my system.
2012-05-24 11:09:15 +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
fc6191bd5c 2012-05-22 18:42 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/hbdoc.prg
  * src/rtl/hbini.prg
  * src/rtl/hbi18n2.prg
    ! fixed potential bugs with UTF8 HVM CP
    % using hb_FileExists() instead of File() in .ini handling code
    ; build tested only, review me & test
2012-05-22 16:49:43 +00:00
Przemyslaw Czerpak
3bac3a62de 2012-05-22 16:50 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/vm/arrays.c
    * allow to call hb_arrayId() with NULL parameter
  * harbour/include/hbapiitm.h
  * harbour/src/vm/itemapi.c
    + added internal HVM function hb_itemPutPtrRawGC() - it's
      necessary for blocks allocated with hb_gcAllocRaw().
  * harbour/src/vm/thread.c
    ! use hb_itemPutPtrRawGC() instead of hb_itemPutPtrGC()
      It fixes internal errors (i.e. reported in build process)
      after my previous commit.
2012-05-22 14:51:12 +00:00
Viktor Szakats
54b7a0407a 2012-05-22 14:42 UTC+0200 Viktor Szakats (harbour syenar.net)
* INSTALL
    + updated platform compatibility matrix to use Markdown markup
      (try with any Markdown enabled editor/viewer)
2012-05-22 12:43:44 +00:00
Przemyslaw Czerpak
9e06fd8959 2012-05-21 15:43 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/vm/garbage.c
    + allow to call hb_itemPutPtrGC() with the same GC block more
      then once.
2012-05-21 13:43:10 +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
Przemyslaw Czerpak
e7d65ce8cd 2012-05-18 16:49 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbcom.ch
  * harbour/src/rtl/hbcom.c
    + added two new errors: HB_COM_ERR_ACCESS, HB_COM_ERR_NOCOM
2012-05-18 14:49:44 +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
Przemyslaw Czerpak
e01bcbd238 2012-05-17 23:08 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbgtinfo.ch
    + added new HB_GTI_FONTATTRIBUTE value: HB_GTI_FONTA_CTRLCHARS
      When used it forces using CTRL characters (from chr(0) to chr(31))
      directly without translation to CP437 unicode values.
      In windows some fonts need it to correctly display them.

  * harbour/src/rtl/gtwvt/gtwvt.h
  * harbour/src/rtl/gtwvt/gtwvt.c
    + added support for
         hb_gtInfo( HB_GTI_FONTATTRIBUTE, HB_GTI_FONTA_CTRLCHARS )

  * harbour/src/rtl/hbgtcore.c
    ! do not replace CTRL chars with '?' in HB_GTSELF_GETUC() method
2012-05-17 21:08:28 +00:00
Viktor Szakats
4e33e7e014 2012-05-17 22:54 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/harbour.hbx
    ! minor
2012-05-17 20:54:31 +00:00
Przemyslaw Czerpak
81bfc5d110 2012-05-17 18:33 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/cdpapi.c
    % use HB_CDP_ISUTF8( cdp ) macro instead of cdp == &s_utf8_codepage
      It should eliminate unnecessary translations and speedup some
      operations.
2012-05-17 16:33:53 +00:00
Przemyslaw Czerpak
10b6fb7489 2012-05-17 18:12 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbstack.h
  * harbour/src/vm/codebloc.c
  * harbour/src/vm/estack.c
  * harbour/src/vm/hvm.c
    % split hb_stackLocalVariable( int * ) macro and function into
      two different actions:
         hb_stackLocalVariable( int )     // access/assign local var
         hb_stackLocalVariableAt( int * ) // create reference to local var
2012-05-17 16:12:48 +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
Przemyslaw Czerpak
a44e171cc2 2012-05-16 19:23 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/vm/classes.c
    % small optimization in __CLSGetProperties() function

  * harbour/src/rtl/tpersist.prg
    ! force linkin ARRAY() function when HBPersistent class is used
    ! use hb_ValToExp() instead of local ValToText() function which
      didn't work correctly for memos and some other types
    ! fixed infinite loop in HBPersistent:LoadFromText() used with
      empty text. The problem was also exploited by :LoadFromFile()
      method if file does not exists or it's empty()
    ! fixed deserialization of strings containing "=" char inside
    ! fixed deserialization of strings containing "::"
    ! added support for decoding nested objects - the code was not
      finished and this part was not implemented at all
    + added support for serialized text using ":=" assign operator
      instead of "="
    * use ":=" instead of "=" as assign operator in new serialized
      text
    + ignore lines starting with "//" and added support for files
      which do not start with OBJECT directive
    * ignore pointer and codeblock items stored in instance variables
      during serialization
    ; now HBPersistent class in Harbour should read serialized files
      created in xHarbour with few exceptions:
         - Harbour does not allow to serialize codeblocks
           See "CODEBLOCK SERIALIZATION / DESERIALIZATION" in
           doc/xhb-diff.txt for the reasons.
           If Harbour application restores xHarbour HBPersistent files
           with serialized codeblocks then RTE
               Undefined function: HB_RESTOREBLOCK
           is generated.
         - xHarbour serialize pointer items as numeric items
           saved in hexadecimal notation. Then restore them as numbers.
         - HBPersistent does not support hash arrays - they are
           serialized by default serialization code used by both
           compilers to generate expressions.
           In Harbour it's done by hb_valToExp() function and
           in xHarbour it's ValToPrg() is used.
           ValToPrg() does not create valid macrocompiler expressions
           for arrays and objects so HBPersistent files created
           by xHarbour are broken and cannot be correctly deserialized.
           It happens if objects has hash arrays in instance variables
           and these hash arrays contain normal arrays or object
           If Harbour application restores such xHarbour HBPersistent
           file then RTE "Syntax error: &" is generated.
    ; xHarbour encapsulates deserialization code inside TRY/CATCH/END
      statement saving errors to trace.log file. Harbour generates RTE.
      If programmer needs similar behavior then he should
      call :LoadFromText() and :LoadFromFile() methods inside
      BEGIN SEQUENCE [ / RECOVER ... ] / END SEQUENCE
      statement.
    ; xHarbour reinitialize all or properties instance variables to
      default state inside :LoadFromText() and :LoadFromFile() methods.
      The 3-rd parameter in above method <lPropertiesOnly> allows to
      chose which install variables should be reinitialized:
      all (default) or properties only.
      Harbour does not have such functionality.
      If programmer needs it then he should reinitialize them himself.
      It can be easy done be simple function.
      Alternatively we can implement this functionality but in such
      case I'd suggest to define three actions for such switch:
         none (default), all, properties only.
    ; Harbour does not support 2-nd parameter <lIgnoreBadIVars> which
      exist in xHarbour versions of HBPersistent:LoadFromText() and
      HBPersistent:LoadFromFile():
      If necessary we can implement it though it's usable only if we
      want to ignore some wrong lines and process others.
    ; Warning: Neither Harbour nor xHarbour supports arrays and objects
               with cyclic references in HBPersistent code - infinite
               loop appears in such case.
    ; I've never used HBPersistent and the state of the previous
      HBPersistent code in Harbour suggests that no one used it for
      some serious jobs so I'm open for any opinions and suggestions
      about it from xHarbour users.

  * harbour/src/compiler/harbour.y
    * generate line numbers before extended codeblocks - it gives
      more debugger friendly code.

  * harbour/src/compiler/harbour.yyh
  * harbour/src/compiler/harbour.yyc
    * regenerated (with bison 2.4.1)
2012-05-16 17:23:20 +00:00
Viktor Szakats
f71c4e0a25 2012-05-16 18:38 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/hbgtcore.c
  * src/rtl/rat.c
  * src/codepage/cp_utf8.c
    % deleted unnecessary assignment generating warnings with 
      some compilers
2012-05-16 16:39:24 +00:00