Commit Graph

17336 Commits

Author SHA1 Message Date
Viktor Szakats
e0b4f97edd 2012-07-04 00:23 UTC+0200 Viktor Szakats (harbour syenar.net)
* examples/hbdoc/genhtml.prg
  * examples/hbdoc/hbdoc.prg
    ! minor fixes
    * minor updates
    * using Left() and Right()
2012-07-03 22:24:38 +00:00
Viktor Szakats
4814b3b5df 2012-07-03 22:25 UTC+0200 Viktor Szakats (harbour syenar.net)
* doc/en/memvar2.txt
  * doc/en/menu.txt
  * doc/en/misc.txt
  * doc/en/nation.txt
  * doc/en/objfunc.txt
  * doc/en/rdddb.txt
  * doc/en/rddmisc.txt
  * doc/en/rddord.txt
  * doc/en/sayget.txt
  * doc/en/set.txt
  * doc/en/string.txt
  * doc/en/tbrowse.txt
  * doc/en/tclass.txt
  * doc/en/terminal.txt
  * doc/en/tgetlist.txt
  * doc/en/tlabel.txt
  * doc/en/treport.txt
  * doc/en/var.txt
    ! further fixes in $EXAMPLES$ sections
2012-07-03 20:26:37 +00:00
Viktor Szakats
0f365f1a5d 2012-07-03 13:14 UTC+0200 Viktor Szakats (harbour syenar.net)
* doc/en/command.txt
  * doc/en/datetime.txt
  * doc/en/dbdelim.txt
  * doc/en/dbsdf.txt
  * doc/en/dbstrux.txt
  * doc/en/dir.txt
  * doc/en/diskspac.txt
  * doc/en/eval.txt
  * doc/en/garbage.txt
  * doc/en/gtslang.txt
  * doc/en/hashes.txt
  * doc/en/hb_api.txt
  * doc/en/hb_apier.txt
  * doc/en/hb_apigt.txt
  * doc/en/hb_apiit.txt
  * doc/en/hb_apiln.txt
  * doc/en/hb_apird.txt
  * doc/en/hb_compa.txt
  * doc/en/hb_date.txt
  * doc/en/hb_macro.txt
  * doc/en/hb_set.txt
  * doc/en/hb_vm.txt
  * doc/en/idle.txt
  * doc/en/input.txt
  * doc/en/lang.txt
  * doc/en/macro.txt
  * doc/en/math.txt
  * doc/en/memo.txt
  * doc/en/memvar2.txt
  * doc/en/misc.txt
  * doc/en/string.txt
  * doc/en/var.txt
    * fixes

  * doc/en/*.txt
    * set mime-type to UTF-8
2012-07-03 11:20:27 +00:00
Viktor Szakats
7526351f80 2012-07-03 11:32 UTC+0200 Viktor Szakats (harbour syenar.net)
* doc/en/file.txt
    ! Spelling.
      by Alexey Myronenko
    ! some more

  * doc/en/array.txt
  * doc/en/binnum.txt
  * doc/en/browse.txt
    * formatted $EXAMPLES$
    * made $EXAMPLES$ unicode-ready
2012-07-03 09:34:31 +00:00
Viktor Szakats
f1429002ce 2012-07-03 10:03 UTC+0200 Viktor Szakats (harbour syenar.net)
* doc/en/file.txt
    ! Examples for FOPEN, FCREATE, DELETE FILE are corrected, filenarne to filename changed
      by Alexey Myronenko

  * doc/en/file.txt
    ! All $EXAMPLES$ sections fixed to use correct coding style
      and formatting
2012-07-03 08:05:13 +00:00
Pritpal Bedi
ea5dc31644 2012-07-02 22:19 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_bind.cpp
    % Optimized: hbqt_bindDestroyQtObject().
       This might resolve double-freeing of objects on Linux.

  * contrib/hbqt/tests/demoqt.prg
    + Enabled: Build_Tree() function.
2012-07-03 05:24:24 +00:00
Pritpal Bedi
bfee8cfc23 2012-07-02 16:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/QTreeWidgetItem.qth
    ! Fixed: regression as per prev commit.
       QTreeWidgetItem() can receive another QTreeWidgetItem
       as its child and hence is subject to not destroy Qt 
       object by Harbour.

  * contrib/hbqt/tests/browqt.prg
    + Enabled: Build_TreeView() which was causing GPF on exit,
       a result of above fix.
2012-07-02 23:05:58 +00:00
Viktor Szakats
6f8de93eb6 2012-07-02 17:01 UTC+0200 Viktor Szakats (harbour syenar.net)
* doc/en/file.txt
    ! Double DIRCHANGE removed and 'he' to 'be' changed.
      by Alexey Myronenko
2012-07-02 15:02:21 +00:00
Viktor Szakats
614e19ba09 2012-07-02 11:46 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbtinymt/tests/test64.prg
    ! typo in test description
2012-07-02 09:47:06 +00:00
Pritpal Bedi
20fb885d09 2012-07-02 02:14 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/QBoxLayout.qth
  * contrib/hbqt/qtgui/qth/QComboBox.qth
  * contrib/hbqt/qtgui/qth/QDirModel.qth
  * contrib/hbqt/qtgui/qth/QDockWidget.qth
  * contrib/hbqt/qtgui/qth/QDrag.qth
  * contrib/hbqt/qtgui/qth/QGraphicsScene.qth
  * contrib/hbqt/qtgui/qth/QGridLayout.qth
  * contrib/hbqt/qtgui/qth/QLayout.qth
  * contrib/hbqt/qtgui/qth/QMainWindow.qth
  * contrib/hbqt/qtgui/qth/QMenu.qth
  * contrib/hbqt/qtgui/qth/QMenuBar.qth
  * contrib/hbqt/qtgui/qth/QScrollArea.qth
  * contrib/hbqt/qtgui/qth/QStandardItemModel.qth
  * contrib/hbqt/qtgui/qth/QStatusBar.qth
  * contrib/hbqt/qtgui/qth/QTabWidget.qth
  * contrib/hbqt/qtgui/qth/QToolBar.qth
  * contrib/hbqt/qtgui/qth/QTreeWidgetItem.qth
  * contrib/hbqt/qtgui/qth/QWidget.qth
    % Replaced: [*D=n*] => [*X=n*] except for 
        QTreeWidget/QListWidget/QTableWidget as per the change 
        in core engine where deletion of a Qt object is entirely
        thought of on new grounds.

  * contrib/hbqt/tests/demoqt.prg
    ! Optimizations and removal of redundant code.

  * contrib/hbqt/qtcore/hbqt.h
  * contrib/hbqt/qtcore/hbqt_bind.cpp
  * contrib/hbqt/qtcore/hbqt_destroyer.cpp
  * contrib/hbqt/qtcore/hbqt_destroyer.h
    + Overhauled: the Qt object destruction protocol.
       This commit is the result of two weeks intensive debugging
       spree. This commits now handles MT applications better 
       then before. This commit also covers the mem leaks evident 
       for certain widgets.

    WARNING: regression is possible, please report.
2012-07-02 09:34:50 +00:00
Pritpal Bedi
1549f5c4cd 2012-07-01 00:42 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbmk2_qt.hb
    + Implemented: some missing functionality which seemed not 
       possible at the time this tool was developed. Now very 
       rich interfaces created by Qt Creator can be deployed 
       in an Harbour application. Alain's report on users-group
       led to this maturity.
2012-07-01 07:36:59 +00:00
Pritpal Bedi
b9e9a989b8 2012-06-29 19:43 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/QImage.qth
    + Added: few static member functions.
2012-06-30 02:46:13 +00:00
Pritpal Bedi
66c3618793 2012-06-29 14:06 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/hbqtgui.ch
    + Added: remaining QPalette_* constants.
2012-06-29 21:08:41 +00:00
Viktor Szakats
830b15811b 2012-06-29 19:49 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbtinymt/tests/test32.prg
  * contrib/hbtinymt/tests/test64.prg
    % simplified
    ! minor fixes
2012-06-29 17:50:16 +00:00
Viktor Szakats
aae0c41955 2012-06-29 19:37 UTC+0200 Viktor Szakats (harbour syenar.net)
+ contrib/hbtinymt/tests/test64.prg
    ! another missing file.
    ; TOFIX: 64-bit supposedly unsigned numbers are returned with signs

  * contrib/hbtinymt/tests/test32.prg
    + added #require to make it run as script
2012-06-29 17:38:42 +00:00
Viktor Szakats
bd2317b57c 2012-06-29 17:17 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbtinymt/core64.c
    ! type fixes

  * contrib/hbtinymt/3rd/tinymt/tinymt.dif
  * contrib/hbtinymt/3rd/tinymt/tinymt64.h
    * msvc warning silenced
2012-06-29 15:18:33 +00:00
Viktor Szakats
31d2f6401d 2012-06-29 16:31 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbtinymt/core32.c
    ! applied patch received from Andi. Thank you.

  + contrib/hbtinymt/core64.c
    ! missing file from previous commit
2012-06-29 14:32:29 +00:00
Viktor Szakats
a2778cea68 2012-06-29 14:31 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbqt/tests/harbour-icon.png
  * contrib/hbqt/tests/harbour-logo.png
  * contrib/hbqt/tests/open.png
  * contrib/hbqt/tests/save.png
    % optimized images using ImageOptim (http://imageoptim.com/)
2012-06-29 12:32:30 +00:00
Viktor Szakats
6cd660db50 2012-06-29 13:21 UTC+0200 Viktor Szakats (harbour syenar.net)
* examples/hbdoc/hbdoc.css
    ! minor in comment
2012-06-29 11:22:39 +00:00
Viktor Szakats
5586dc13f9 2012-06-29 12:19 UTC+0200 Viktor Szakats (harbour syenar.net)
+ contrib/hbtinymt
  + contrib/hbtinymt/3rd
  + contrib/hbtinymt/3rd/tinymt
  + contrib/hbtinymt/3rd/tinymt/LICENSE.txt
  + contrib/hbtinymt/3rd/tinymt/tinymt.dif
  + contrib/hbtinymt/3rd/tinymt/tinymt.hbc
  + contrib/hbtinymt/3rd/tinymt/tinymt.hbp
  + contrib/hbtinymt/3rd/tinymt/tinymt.hbx
  + contrib/hbtinymt/3rd/tinymt/tinymt32.c
  + contrib/hbtinymt/3rd/tinymt/tinymt32.h
  + contrib/hbtinymt/3rd/tinymt/tinymt64.c
  + contrib/hbtinymt/3rd/tinymt/tinymt64.h
  + contrib/hbtinymt/core.c
  + contrib/hbtinymt/hbtinymt.hbc
  + contrib/hbtinymt/hbtinymt.hbp
  + contrib/hbtinymt/hbtinymt.hbx
  + contrib/hbtinymt/tests
  + contrib/hbtinymt/tests/hbmk.hbm
  + contrib/hbtinymt/tests/test32.prg
  + contrib/hbtinymt/tests/test64.prg
  * contrib/hbplist
  * INSTALL
    + hbtinymt and 3rd party dependency tinymt added.
      hbtinymt is borrowed from xhb with my additions
      and fixes: MT support, type fixes, redone 3rd party
      dependency and tinymt patch, Harbour make files,
      formatting, enabled 64-bit flavor of tinymt,
      implemented HB_TINYMT32_GENERATE_FLOAT01(),
      implemented wrappers for 64-bit tinymt API, added
      tests for new functions.
2012-06-29 10:20:55 +00:00
Viktor Szakats
2cd14f1d8a 2012-06-29 02:59 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/gtwvt/gtwvt.c
    * using TEXT( '\0' ) instead of 0

  * src/rtl/run.c
    * using contants instead of literals
2012-06-29 01:02:07 +00:00
Pritpal Bedi
e905a2fdad 2012-06-28 12:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/xbpfiledialog.prg
    ! Fix: to prev fix. I must test all scenarios before committing!!!
2012-06-28 19:32:19 +00:00
Pritpal Bedi
3fa31ad700 2012-06-28 12:14 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/xbpfiledialog.prg
    ! Fixed: memory leak. Please read previously documented here 
       how a child can be destroyed properly with a temp parent.
2012-06-28 19:17:41 +00:00
Pritpal Bedi
dd2a2956df 2012-06-28 11:56 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/xbpfiledialog.prg
    ! Fixed: a regression where QApplication():focusWidget() 
       was returned as a NIL instead of QWidget.
2012-06-28 18:58:58 +00:00
Viktor Szakats
7859b9f4a3 2012-06-28 11:25 UTC+0200 Viktor Szakats (harbour syenar.net)
* doc/dirstruc.txt
    * updated
    * made little easier to maintain
2012-06-28 09:26:33 +00:00
Pritpal Bedi
99a0e2337f 2012-06-27 23:08 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/qth/QTimer.qth
    ! Removed: :singleShot() method as it cannot be implemented 
       as per documented because of how signal/slots are implemented
       in Harbour. Instead, use code like this ( courtesy Ligui ):
          ::oQtSingleShot := QTimer( ::oQtObject )
          ::oQtSingleShot:setSingleShot( .T. )
          ::oQtSingleShot:setInterval( 0 )
          ::oQtSingleShot:connect( "timeout()", { || ::__OnReadyExec() } )
          ::oQtSingleShot:start()
2012-06-28 06:12:24 +00:00
Viktor Szakats
a325676ce2 2012-06-27 12:49 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    ! fixed similar regression as in 2012-06-27 10:35 UTC+0200
      but for hbrun
2012-06-27 10:50:26 +00:00
Viktor Szakats
a4333928e1 2012-06-27 11:06 UTC+0200 Viktor Szakats (harbour syenar.net)
* examples/hbdoc/hbdoc.prg
    * one remaining ? convert to OUTSTD()
2012-06-27 09:07:01 +00:00
Viktor Szakats
77ed79aebd 2012-06-27 10:35 UTC+0200 Viktor Szakats (harbour syenar.net)
+ examples/hbdoc/hbdoc.css
  * examples/hbdoc/genhtml.prg
  * examples/hbdoc/hbdoc.prg
  * examples/hbdoc/tmplates.prg
    % avoid simpleio.ch
    * moved CSS code to separate file
    * renamed CSS file to hbdoc.css
    ! further unicode fix for html/xml outputs

  * utils/hbmk2/hbmk2.prg
    ! fixed recent regression
2012-06-27 08:37:24 +00:00
Viktor Szakats
809f557e18 2012-06-27 10:20 UTC+0200 Viktor Szakats (harbour syenar.net)
* examples/hbdoc/genhtml.prg
    * write well-formatted CSS code

  * examples/hbdoc/hbdoc.ch
  * examples/hbdoc/hbdoc.prg
  * examples/hbdoc/tmplates.prg
    % eliminated one PUBLIC var
2012-06-27 08:21:41 +00:00
Viktor Szakats
aaefbf3466 2012-06-27 00:22 UTC+0200 Viktor Szakats (harbour syenar.net)
+ examples/hbdoc/genbase.prg
  - examples/hbdoc/gentpl.prg
  * examples/hbdoc/genhtml.prg
  * examples/hbdoc/hbdoc.hbp
  * examples/hbdoc/hbdoc.prg
    * further cleanups
2012-06-26 22:23:35 +00:00
Viktor Szakats
c9852a4876 2012-06-27 00:09 UTC+0200 Viktor Szakats (harbour syenar.net)
* examples/hbdoc/genhtml.prg
  * examples/hbdoc/gentpl.prg
  * examples/hbdoc/gentxt.prg
  * examples/hbdoc/genxml.prg
  * examples/hbdoc/hbdoc.prg
  * examples/hbdoc/tmplates.prg
    % cleanups and formatting
    + added support for UTF8 HVM CP
    + enabled UTF8 HVM CP. it means that now input files
      can really be UTF8 ones.
2012-06-26 22:11:08 +00:00
Viktor Szakats
edf8e486b9 2012-06-26 22:44 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/xhb/xhberr.prg
    ! typo in prev commit
2012-06-26 20:45:16 +00:00
Viktor Szakats
bcede0dabb 2012-06-26 20:37 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/xhb/tfile.prg
  * contrib/xhb/ttable.prg
  * contrib/xhb/xhberr.prg
  * contrib/xhb/xhbtedit.prg
    ! unicode compatibility patches. build tested only. review me 
      and continue.

  * examples/hbdoc/genhtml.prg
  * examples/hbdoc/hbdoc.prg
    ! fixed regression from 2012-06-11 15:31 UTC+0200
    + changed to generate HTML5 compliant HTML output
2012-06-26 18:39:04 +00:00
Viktor Szakats
19f9e0d3ca 2012-06-26 18:29 UTC+0200 Viktor Szakats (harbour syenar.net)
* TODO
    - deleted unicode support from TODO list.
      Now implemented in core and contribs.
      (except: hbnf, xhb, hbide, hbxbp, gtwvg)
2012-06-26 16:30:00 +00:00
Viktor Szakats
de8d4bed3a 2012-06-26 15:54 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/sddmy/tests/test1.prg
  * contrib/sddoci/tests/test1.prg
  * contrib/sddodbc/tests/test1.prg
  * contrib/sddodbc/tests/test2.prg
  * contrib/sddsqlt3/tests/test1.prg
    * formatting
2012-06-26 13:54:51 +00:00
Viktor Szakats
8bba1dd746 2012-06-26 11:19 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    % use HBMK_IS_IN() where possible
2012-06-26 09:19:48 +00:00
Viktor Szakats
4dbffeb075 2012-06-26 11:09 UTC+0200 Viktor Szakats (harbour syenar.net)
* INSTALL
    * minor update
  * utils/hbmk2/hbmk2.prg
    * make sure to convert script parameter to native pathseps
2012-06-26 09:10:50 +00:00
Pritpal Bedi
adfeaabf59 2012-06-25 09:52 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_hbqevents.cpp
    ! Fixed: a heavy memory leak and optimization in event handelling.
2012-06-25 16:55:39 +00:00
Viktor Szakats
072b90b2be 2012-06-25 12:09 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/xhb/decode.prg
  * contrib/xhb/dumpvar.prg
  * contrib/xhb/hbcompat.ch
  * contrib/xhb/regexrpl.prg
    % using HB_IS*() functions.
    * formatting
2012-06-25 10:11:12 +00:00
Pritpal Bedi
9ceada7183 2012-06-23 10:53 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbmk2_qt.hb
    ! Fixed: to handle QList<Q*object> implementation.

  * contrib/hbqt/qtcore/qth/QMimeData.qth
    - Deleted: Harbour specific hbUrls() method not needed now.
2012-06-23 17:56:08 +00:00
Pritpal Bedi
dfa6809980 2012-06-23 03:42 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_bind.cpp
    ! Simplified: hbqt_bindDestroyHbObject/QtObject.
2012-06-23 10:46:05 +00:00
Pritpal Bedi
97ff0a1542 2012-06-22 21:46 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/QClipboard.qth
    ! Fixed: constructor respecting previous commit.
2012-06-23 04:48:09 +00:00
Pritpal Bedi
a4beb6a684 2012-06-22 15:09 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbmk2_qt.hb
    ! Optimized to not add code for constructors which do not 
       have Qt objects. Results can be viewed in QLibraryInfo.cpp.
2012-06-22 22:12:00 +00:00
Pritpal Bedi
e90001c8ca 2012-06-22 12:47 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbmk2_qt.hb
  * contrib/hbqt/qtcore/hbqt.h
  * contrib/hbqt/qtcore/hbqt_init.cpp
    - Removed: a hack introduced some months back where 
       C++ static items were held in a list them released
       at exit of an application. This was double work and 
       now is not needed at all.

  * contrib/hbqt/qtcore/hbqt_bind.cpp
    - Reverted: last fix where <qtObject> was compared against 
       a numeric, which, BTW was a stupid implementation.
       A pointer casted to a numeric is always true.

  * contrib/hbqt/qtgui/hbqt_init.cpp
    - Deleted: deleting the QApplication object.
       It was breaking such code:
         oWnd:connect( QEvent_Close, {|| QApplication():quit() } )
         QApplication():exec()
       the reason was any code executed after 
       QApplication():quit() was rendered unexcutable because 
       appln was forced to stop execution.

  * contrib/hbqt/qtcore/hbqt_hbqevents.cpp
    + Reintroduced: QEvent_Close's return value to true.
       It is necessary to intercept this event at appln level.

  * contrib/hbqt/qtcore/qth/QLibraryInfo.qth
  * contrib/hbqt/qtgui/qth/QDesktopServices.qth
    + Reworked: constructors. 
       Previous implementation was wrong.
       Applied Francesco's thought and it worked, thanks.

  * contrib/hbqt/qtgui/qth/QSound.qth
    + Added: two slot methods.
2012-06-22 20:02:12 +00:00
Viktor Szakats
b08206bdd9 2012-06-22 19:39 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    * minor cleanup (var renamed)
2012-06-22 17:40:23 +00:00
Viktor Szakats
318d7f894a 2012-06-22 19:36 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    % consolidated/updated TODO comments
    ! fixed and optimized _HBMK_EMBEDDED_ build mode
2012-06-22 17:37:22 +00:00
Viktor Szakats
2999d17091 2012-06-22 19:25 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.hbp
  * utils/hbmk2/hbmk2.prg
  * utils/hbmk2/Makefile
    * minor changes to do not require std.ch
    + enabled -u option for hbmk2 source code.
2012-06-22 17:25:37 +00:00
Viktor Szakats
a492d8754e 2012-06-22 19:17 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    * avoiding some language elements/minor optimizations
2012-06-22 17:19:24 +00:00
Viktor Szakats
50aa6934f3 2012-06-22 15:59 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/3rd/png/Makefile
  * src/3rd/png/*
    * updated to 1.5.11 (from 1.5.10) using 3rdpatch.hb
2012-06-22 14:02:52 +00:00