Commit Graph

11176 Commits

Author SHA1 Message Date
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
Viktor Szakats
0a708f0a34 2009-07-01 17:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qth/QWebHistoryItem.qth
  * contrib/hbqt/qth/QTextCursor.qth
  * contrib/hbqt/qth/QTextDocument.qth
  * contrib/hbqt/qth/QTextFrame.qth
  * contrib/hbqt/hbqt_qtextdocument.cpp
  * contrib/hbqt/hbqt_qtextcursor.cpp
  * contrib/hbqt/hbqt_qwebhistoryitem.cpp
  * contrib/hbqt/hbqt_qtextframe.cpp
    + Readded required headers locally.
2009-07-01 15:32:01 +00:00
April White
f83f07b495 2009-07-01 10:53 UTC+0600 April White (april users.sourceforge.net)
* examples/hbextern/hbextern.hbp
    * build flags
  * examples/hbextern/hbextern.prg
    * significant updates
      ; default params works mostly like original version
      ; TOFIX: produces this 'bad' code (harbour reports "hbextern.ch_(1019) Error E0025  Error in #if expression"
         #if ZLIB_VERNUM >= 0x1230
         EXTERNAL HB_GZDIRECT
         #endif /* #if ZLIB_VERNUM >= 0x1230 */
      % Question: do I upload a new hbextern.ch or can/should a user with more experience with it do so?
2009-07-01 14:53:34 +00:00
Viktor Szakats
8b9993c2d6 2009-07-01 14:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt.h
    - Deleted some unncessary #includes. (done again)
2009-07-01 12:52:13 +00:00
Viktor Szakats
8871ff5670 2009-07-01 12:23 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/sqlite3/sqlite3.c
  * external/sqlite3/sqlite3.h
    * sqlite upgraded to 3.6.16 (from 3.6.15)
2009-07-01 10:24:02 +00:00
Viktor Szakats
b86b03a66e 2009-07-01 12:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* doc/linux1st.txt
    + Added QT package name.

  * contrib/hbqt/hbqt.h
    - Deleted some unncessary #includes.

  * contrib/hbqt/hbqt_slots.cpp
    ! Fixed QDebug() call warning on Linux.
2009-07-01 10:06:56 +00:00
Pritpal Bedi
784687f901 2009-07-01 01:17 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/generator/qt45.qtp

  + harbour/contrib/hbqt/Makefile_gen

  * harbour/contrib/hbqt/hbqt.h
  * harbour/contrib/hbqt/hbqt_slots.cpp
  * harbour/contrib/hbqt/hbqt_slots.h
  * harbour/contrib/hbqt/moc_slots.cpp

  + harbour/contrib/hbqt/hbqt_qsystemtrayicon.cpp
  + harbour/contrib/hbqt/hbqt_qwebframe.cpp
  + harbour/contrib/hbqt/hbqt_qwebhistory.cpp
  + harbour/contrib/hbqt/hbqt_qwebhistoryinterface.cpp
  + harbour/contrib/hbqt/hbqt_qwebhistoryitem.cpp
  + harbour/contrib/hbqt/hbqt_qwebhittestresult.cpp
  + harbour/contrib/hbqt/hbqt_qwebpluginfactory.cpp
  + harbour/contrib/hbqt/hbqt_qwebsecurityorigin.cpp
  + harbour/contrib/hbqt/hbqt_qwebsettings.cpp

  + harbour/contrib/hbqt/TQWebFrame.prg
  + harbour/contrib/hbqt/TQWebHistory.prg
  + harbour/contrib/hbqt/TQWebHistoryInterface.prg
  + harbour/contrib/hbqt/TQWebHistoryItem.prg
  + harbour/contrib/hbqt/TQWebHitTestResult.prg
  + harbour/contrib/hbqt/TQWebPluginFactory.prg
  + harbour/contrib/hbqt/TQWebSecurityOrigin.prg
  + harbour/contrib/hbqt/TQWebSettings.prg

  * harbour/contrib/hbqt/qth/QWebFrame.qth
  * harbour/contrib/hbqt/qth/QWebHistory.qth
  * harbour/contrib/hbqt/qth/QWebHistoryInterface.qth
  * harbour/contrib/hbqt/qth/QWebHistoryItem.qth
  * harbour/contrib/hbqt/qth/QWebPluginFactory.qth
  * harbour/contrib/hbqt/qth/QWebSecurityOrigin.qth
  * harbour/contrib/hbqt/qth/QWebSettings.qth

    + Added more classes.
    + Added more event handlers.
    ! Synchronized and reorganized event handlers.
2009-07-01 08:23:32 +00:00
Viktor Szakats
013ea76156 2009-07-01 09:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/gtwvt/gtwvt.c
    % Optimized _WVT_WS_* macros. Thanks Petr Chornyj for the hint.
      Please review me and test.
2009-07-01 07:33:35 +00:00
Viktor Szakats
a77f478287 2009-07-01 08:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/gtwvt/gtwvt.c
    ! Fixed maximize button state when HB_GTI_RESIZABLE is set to .T.
      before the window is drawn.
      Please test.
    % Cleaned windows style definitions in source.

  * include/hbstack.h
  * include/hbapi.h
    * Formatting in comment.
2009-07-01 06:37:45 +00:00
Pritpal Bedi
6aeb34e15b 2009-06-30 19:17 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/hbqt.ch
    + Added more constants
  + harbour/contrib/hbqt/qth/QWebFrame.qth
  + harbour/contrib/hbqt/qth/QWebHistory.qth
  + harbour/contrib/hbqt/qth/QWebHistoryInterface.qth
  + harbour/contrib/hbqt/qth/QWebHistoryItem.qth
  + harbour/contrib/hbqt/qth/QWebHitTestResult.qth
  + harbour/contrib/hbqt/qth/QWebPluginFactory.qth
  + harbour/contrib/hbqt/qth/QWebSecurityOrigin.qth
  + harbour/contrib/hbqt/qth/QWebSettings.qth
    + Added more class headers, still to compile.
2009-07-01 02:19:30 +00:00
Teo Fonrouge
a2429f5846 2009-06-30 16:22 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com)
* source/rtl/philes.c
    ! Fixed small typo on RENAME hb function
2009-06-30 21:22:43 +00:00
Pritpal Bedi
17c216139b 2009-06-30 11:39 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/generator/qt45.qtp
  * harbour/contrib/hbqt/hbqt.h
  * harbour/contrib/hbqt/Makefile_gen
  + harbour/contrib/hbqt/QSystemTrayIcon.prg
  + harbour/contrib/hbqt/hbqt_qsystemtrayicon.cpp
  + harbour/contrib/hbqt/qth/QSystemTrayIcon.qth
    + Added QSystemTrayIcon() class.

  + harbour/contrib/hbqt/tests/demoqt.prg
    ! Demonstrated the use to put application in system tray. Press
      <System Tray> toolbar button. Then right-click on icon in system tray.
      Every 10 seconds, a message will appear automatically.
2009-06-30 18:45:25 +00:00
Przemyslaw Czerpak
0a2ccc50f1 2009-06-30 18:04 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbtypes.h
  * harbour/source/vm/maindllp.c
    * cleaned prototype names for hb_vmProcessSymbols() and hb_vmExecute()
2009-06-30 16:04:36 +00:00
Viktor Szakats
32911690c4 2009-06-30 17:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/postinst.bat
    * Force English language hbmk2 in Harbour build.

  * contrib/hbtip/client.prg
    + Added proxy support.
      Borrowd from xhb, work of Luiz Rafael Culik.
      Formatted, minor fixes applied, TRY/CATCH error handling
      method swapped from simple bool retval method (which
      is otherwise used in hbtip). Not tested yet.
2009-06-30 15:45:41 +00:00
Mindaugas Kavaliauskas
22fbdfa45e 2009-06-30 18:10 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddsql/sddmy/mysqldd.c
    + added support for MySQL TIMESTAMP, DATETIME and TIME types. These
      types are mapped to @,8 and T,4 field types, and native harbour 
      timestamp type.

  * harbour/include/hbextern.ch
    + added a dozen of Harbour functions
    ; NOTE: about 120 functions are still not included into this .ch:
      SX_*(), USRRDD_*(), __DBG*(), __CLS*(), HB_COMPILE*(), etc.
2009-06-30 15:16:46 +00:00
Przemyslaw Czerpak
d7ccd6202e 2009-06-30 13:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/datec.c
    * added workaround for CodeGuard false bug report covered by
      __CODEGUARD__ macro. Chen, if possible please test.
2009-06-30 11:32:16 +00:00
Przemyslaw Czerpak
7d0f008300 2009-06-30 12:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbrdddbf.h
    ! fixed declaration
2009-06-30 10:20:19 +00:00
Pritpal Bedi
dec1216a6e 2009-06-30 01:58 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/hbqt.ch
    + New constants.
  * harbour/contrib/hbqt/Makefile_gen
    ! Arrangement.

  * harbour/contrib/hbxbp/Makefile
    + xbpstatic.prg

  * harbour/contrib/hbxbp/gra.ch
  * harbour/contrib/hbxbp/xbp.ch
  * harbour/contrib/hbxbp/xbpgeneric.prg
  * harbour/contrib/hbxbp/xbppushbutton.prg
  + harbour/contrib/hbxbp/xbpstatic.prg
  * harbour/contrib/hbxbp/xbpwindow.prg
    + Implemented XbpStatic() class.
         XBPSTATIC_TYPE_GROUPBOX
         XBPSTATIC_TYPE_RAISEDBOX
         XBPSTATIC_TYPE_RECESSEDBOX
         XBPSTATIC_TYPE_RAISEDLINE
         XBPSTATIC_TYPE_RECESSEDLINE
         XBPSTATIC_TYPE_TEXT
            Few components are scheduled for tomorrow.

  * harbour/contrib/hbxbp/tests/demoxbp.prg
    + Demonstrated the above mentioned XbpStatic() parts.
      Now the background and foreground colors are true to its values.

    NOTE: Can someone please post message on QT developers forum
          about a bug where QColor():name return #BBGGRR instead of #RRGGBB
          which is documented. I used a workaround for this bug.
2009-06-30 09:10:36 +00:00
Przemyslaw Czerpak
d951f45436 2009-06-30 10:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapirdd.h
  * harbour/source/rdd/workarea.c
  * harbour/source/rdd/wafunc.c
  * harbour/source/rdd/dbcmd.c
  * harbour/source/rdd/hsx/hsx.c
  * harbour/source/rdd/usrrdd/usrrdd.c
    * modified RDD method declaration (DBENTRYP_*) to eliminate casting.
      3-rd party RDD code have to be updated.
    * modified some RDD structures to force more strict alignment.
      Warning!!! AREA structured modified - all 3-rd party RDDs which
                 redefines AREA members instead of using AREA structure
                 directly have to be updated.

  * harbour/include/hbrdddbf.h
  * harbour/include/hbrddnsx.h
  * harbour/include/hbrdddel.h
  * harbour/include/hbrddsdf.h
  * harbour/include/hbrddcdx.h
  * harbour/include/hbrddntx.h
  * harbour/source/rdd/delim1.c
  * harbour/source/rdd/sdf1.c
  * harbour/source/rdd/dbf1.c
  * harbour/source/rdd/hbdbsort.c
  * harbour/source/rdd/dbfcdx/dbfcdx1.c
  * harbour/source/rdd/dbfnsx/dbfnsx1.c
  * harbour/source/rdd/dbfntx/dbfntx1.c
  * harbour/source/rdd/dbffpt/dbffpt1.c
  * harbour/contrib/rddads/rddads.h
  * harbour/contrib/rddads/ads1.c
  * harbour/contrib/rddads/adsx.c
  * harbour/contrib/rddads/adsfunc.c
  * harbour/contrib/rddsql/hbrddsql.h
  * harbour/contrib/rddsql/sqlbase.c
  * harbour/contrib/rddsql/sqlmix.c
  * harbour/contrib/rddsql/sddmy/mysqldd.c
  * harbour/contrib/rddsql/sddpg/pgsqldd.c
  * harbour/contrib/rddsql/sddfb/fbirddd.c
  * harbour/contrib/rddsql/sddodbc/odbcdd.c
  * harbour/contrib/hbbmcdx/bmdbfcdx.c
  * harbour/contrib/hbbmcdx/hbbmcdx.h
    * updated for new method declaration
    * modified RDD AREA structures definition to use supper AREA structures
      directly as 1-st member instead of redefining individual AREA members.
      It resolves the synchronization problem so now modification in super
      AREA structures does not force modifications in source code of
      descendant RDDs. It also eliminates possible typos in manual structure
      synchronization.
2009-06-30 08:17:50 +00:00
Pritpal Bedi
55e640bd01 2009-06-29 20:44 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbxbp/tests/demoxbp.prg
    ! Fixed some artifacts.
2009-06-30 03:47:16 +00:00
Viktor Szakats
6a5ccaf2df 2009-06-29 16:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    ! Changed special language ID macro from ${lng} to %{hb_lng} to
      avoid collision with normal macros.
2009-06-29 14:51:34 +00:00
Przemyslaw Czerpak
5c8c967e8c 2009-06-29 15:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/filesys.c
    ! fixed memory corruption in file name conversion

  * harbour/source/common/hbstr.c
    * formatting
2009-06-29 13:58:50 +00:00
Viktor Szakats
b52f44417b 2009-06-29 13:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/vm/arrays.c
  * source/rtl/dates.c
    ! Fixed TRACE calls.

  * utils/hbmk2/hbmk2.prg
    * Minor.
2009-06-29 11:33:39 +00:00
Przemyslaw Czerpak
29d68aa2be 2009-06-29 12:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rdd/dbfntx/dbfntx1.c
    ! fixed typo in recent modification (it was causing GPF)
2009-06-29 10:02:41 +00:00
Pritpal Bedi
b109875df7 2009-06-28 19:40 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbxbp/xbp.ch
  * harbour/contrib/hbxbp/xbp3state.prg
  * harbour/contrib/hbxbp/xbpcheckbox.prg
  * harbour/contrib/hbxbp/xbpcombobox.prg
  * harbour/contrib/hbxbp/xbpdialog.prg
  * harbour/contrib/hbxbp/xbpmenubar.prg
  * harbour/contrib/hbxbp/xbpmle.prg
  * harbour/contrib/hbxbp/xbpradiobutton.prg
  * harbour/contrib/hbxbp/xbpscrollbar.prg
  * harbour/contrib/hbxbp/xbpsle.prg
  * harbour/contrib/hbxbp/xbpspinbutton.prg
  * harbour/contrib/hbxbp/xbpstatusbar.prg
  * harbour/contrib/hbxbp/xbptabpage.prg
  * harbour/contrib/hbxbp/xbptreeview.prg
  * harbour/contrib/hbxbp/xbpwindow.prg
    + Added :setPointer() method to change the cursor shape for a widget.
    ! Advanced implementation of Presentation Parameters. Now the 
      base structure is almost like Xbase++ one. About to 
      generate a Style Sheet based on PresParametrs array.
    ! Code tweaked more organized.

  * harbour/contrib/hbxbp/tests/demoxbp.prg
    + Demonstrated the use of Cursor Shapes.
2009-06-29 02:46:22 +00:00
Pritpal Bedi
c3cbb5ea91 2009-06-28 19:19 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/generator/qt45.qtp
  * harbour/contrib/hbqt/Makefile_gen
  + harbour/contrib/hbqt/hbqt_qcursor.cpp
  + harbour/contrib/hbqt/qth/QCursor.qth
  + harbour/contrib/hbqt/TQCursor.prg
    + Added one more class.
2009-06-29 02:26:24 +00:00
Viktor Szakats
cf388a651e 2009-06-29 01:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fix to prev fix.
2009-06-28 23:33:21 +00:00
Viktor Szakats
e94ee04f9a 2009-06-29 01:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed Harbour warning on non-linux/win/dos platforms.
2009-06-28 23:26:57 +00:00
Pritpal Bedi
5657c744d0 2009-06-28 13:39 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/tests/demoqt.prg
    - Deleted UiDebug() calls.
2009-06-28 21:15:45 +00:00
Pritpal Bedi
0c3660c661 2009-06-28 13:39 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/tests/demoqt.prg
    - Deleted UiDebug() calls.
2009-06-28 20:40:35 +00:00
Pritpal Bedi
f434454907 2009-06-28 13:14 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/tests/demoqt.prg
    - Deleted C OutputDebugString() function.
2009-06-28 20:16:53 +00:00
Pritpal Bedi
b9ecc078ca 2009-06-28 09:19 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbxbp/xbp.ch
  * harbour/contrib/hbxbp/xbpdialog.prg
  * harbour/contrib/hbxbp/xbpmle.prg
  * harbour/contrib/hbxbp/xbpwindow.prg
    + Implemented fonts management.
         :setFontCompoundName( "10.Tohama italics" )
      Started XBP_PP_* implementation.
      NOTE: This implementation is based on QT's powerful mechanism
            of CSS inspired Cascading Style Sheets. It effectively
            means that look-and-feel of the requested parameters are
            guaranted to be rendered irrespective of the platform.
            This also means that a "true" inheritance is achieved 
            in the widgets. For example, if you set the color and 
            font of a top-level dialog, all children of it will also 
            inherit it. Xbase++ also documents this behavior but 
            also notify that some of the widgets do not respond to 
            this request, i.e., XbpPushButton(), XbpTabPage(), etc.
            But in Harbour-QT-Xbase++ it is possible, and, by 
            all means desirable.

            Anyway, I am more interested what the group think. It will 
            be heartening if some real-time Xbase++ users participate
            on the subject. I do not want to cook my own food.

  * harbour/contrib/hbxbp/tests/demoxbp.prg
    ! Demonstrated to use fonts and inheritance. Please play.
2009-06-28 16:32:03 +00:00
Viktor Szakats
6c4f7ba5d1 2009-06-28 18:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qth/QFtp.qth
  * contrib/hbqt/qth/QHttp.qth
  * contrib/hbqt/hbqt_qhttp.cpp
  * contrib/hbqt/hbqt_qftp.cpp
    % Little optimization.
2009-06-28 16:10:15 +00:00
Pritpal Bedi
0442ff2516 2009-06-28 08:44 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/hbqt.h
  * harbour/contrib/hbqt/hbqt_qftp.cpp
  * harbour/contrib/hbqt/hbqt_qhttp.cpp
  * harbour/contrib/hbqt/qth/QFtp.qth
  * harbour/contrib/hbqt/qth/QHttp.qth
  * harbour/contrib/hbqt/TQFtp.prg
  * harbour/contrib/hbqt/TQHttp.prg
    ! Fixed ( char * ) argument usage in QFtp and QHttp classes.
      Infact <qint64 read( char * data, qint64 length )> are written
      as is in the header. I could not find a solution to 
      auto generate it because of <length> argument which could 
      never be known to first parameter.
2009-06-28 15:50:14 +00:00
Pritpal Bedi
e3e5548564 2009-06-27 20:47 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbxbp/Makefile
  * harbour/contrib/hbxbp/xbp.ch
  * harbour/contrib/hbxbp/appevent.ch
  * harbour/contrib/hbxbp/xbpdialog.prg
  * harbour/contrib/hbxbp/xbpgeneric.prg
  * harbour/contrib/hbxbp/xbpsle.prg
  * harbour/contrib/hbxbp/xbptreeview.prg
  * harbour/contrib/hbxbp/xbpwindow.prg
    ! Rewrote the event management system exactly like 
      Xbase++. Now it is possible to sub-class methods and callback slots.

  + harbour/contrib/hbxbp/xbpappevent.prg
    + Added PRG level events conversion mechanism.
      I wanted it to be C code for speed purposes, anyhow, 
      as agreed we do not want any C code in hbxbp.

  * harbour/contrib/hbxbp/tests/demoxbp.prg
    ! Few experiments. You may viaualize some artifacts.

    /*  NOTE:  I am struggling to receive events from another 
               thread of Harbour code in the event filter.
               It seems default event dispatched can be 
               invoked only from main thread. Anybody to rescue ?
    */
2009-06-28 03:59:59 +00:00
Petr Chornyj
7b5883f6ca 2009-06-27 23:50 UTC+0200 Petr Chornyj (myorg63 at mail.ru)
* contrib/hbsqlit3/hbsqlit3.c
  * contrib/hbwin/win_prn1.c
  * contrib/hbwin/win_prn2.c
  * contrib/rddads/adsfunc.c
  * source/pp/pplib.c
  * source/rdd/dbcmd.c
  * source/rdd/hbsix/sxfname.c
  * source/rdd/hbsix/sxord.c
  * source/rdd/hbsix/sxtable.c
  * source/rdd/hbsix/sxutil.c
  * source/rdd/nulsys/nulsys.c
  * source/rtl/colorind.c
  * source/rtl/datec.c
  * source/rtl/descend.c
  * source/rtl/gete.c
  * source/rtl/hardcr.c
  * source/rtl/hbhex.c
  * source/rtl/hbinet.c
  * source/rtl/hbstrsh.c
  * source/rtl/hbtoken.c
  * source/rtl/hbzlib.c
  * source/rtl/left.c
  * source/rtl/memofile.c
  * source/rtl/mlcfunc.c
  * source/rtl/mouse53.c
  * source/rtl/mtran.c
  * source/rtl/natmsg.c
  * source/rtl/oemansi.c
  * source/rtl/padc.c
  * source/rtl/padl.c
  * source/rtl/padr.c
  * source/rtl/philes.c
  * source/rtl/replic.c
  * source/rtl/right.c
  * source/rtl/space.c
  * source/rtl/str.c
  * source/rtl/strtran.c
  * source/rtl/strzero.c
  * source/rtl/stuff.c
  * source/rtl/substr.c
  * source/rtl/trim.c
  * source/vm/cmdarg.c
  * source/vm/dynlibhb.c
  * source/vm/proc.c
    * Replace hb_retc( NULL ) with hb_retc_null()
  * include/hbgtinfo.ch
    + added HB_GTI_KBD_LSHIFT, HB_GTI_KBD_RSHIFT
            HB_GTI_KBD_LCTRL, HB_GTI_KBD_RCTRL,
            HB_GTI_KBD_LALT, HB_GTI_KBD_RALT
  * source/rtl/gtkbstat.c
    * Changed functions hb_gt_winapi_*KbdState()
       Now we can to get the state of the SHIFT, CTRL, or ALT keys
       with distinguishing between left and right.
  * source/rtl/gtwin/gtwin.c
    * Changed hb_gt_win_getKbdState
    ; QUESTION: why gtwin.c don't use a function hb_gt_winapi_getKbdState
                from rtl/gtkbstat.c?
2009-06-27 21:11:07 +00:00
Pritpal Bedi
926a6ccd18 2009-06-27 13:27 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/generator/qt45.qtp

  * harbour/contrib/hbqt/Makefile_gen

  * harbour/contrib/hbqt/hbqt.ch
  * harbour/contrib/hbqt/hbqt.h

  + harbour/contrib/hbqt/hbqt_qdragenterevent.cpp
  + harbour/contrib/hbqt/hbqt_qdragleaveevent.cpp
  + harbour/contrib/hbqt/hbqt_qdragmoveevent.cpp
  + harbour/contrib/hbqt/hbqt_qdropevent.cpp
  + harbour/contrib/hbqt/hbqt_qmoveevent.cpp
  + harbour/contrib/hbqt/hbqt_qresizeevent.cpp
  + harbour/contrib/hbqt/hbqt_qwheelevent.cpp

  + harbour/contrib/hbqt/TQDragEnterEvent.prg
  + harbour/contrib/hbqt/TQDragLeaveEvent.prg
  + harbour/contrib/hbqt/TQDragMoveEvent.prg
  + harbour/contrib/hbqt/TQDropEvent.prg
  + harbour/contrib/hbqt/TQMoveEvent.prg
  + harbour/contrib/hbqt/TQResizeEvent.prg
  + harbour/contrib/hbqt/TQWheelEvent.prg

  + harbour/contrib/hbqt/qth/QDragEnterEvent.qth
  + harbour/contrib/hbqt/qth/QDragLeaveEvent.qth
  + harbour/contrib/hbqt/qth/QDragMoveEvent.qth
  + harbour/contrib/hbqt/qth/QDropEvent.qth
  + harbour/contrib/hbqt/qth/QMoveEvent.qth
  + harbour/contrib/hbqt/qth/QResizeEvent.qth
  + harbour/contrib/hbqt/qth/QWheelEvent.qth
    + Added few more classes.

  * harbour/contrib/hbqt/hbqt_slots.cpp
  * harbour/contrib/hbqt/hbqt_qftp.cpp
  * harbour/contrib/hbqt/hbqt_qhttp.cpp
    ! Result of #define hbqt_par_char( n )  ( ( char* ) hb_parcx( n ) )
      NOTE: QT sources are generated dynamically so please do not make 
            changes to them directly. I do not know if above casting 
            will work or not but it is just to pacify the warnings.
            Alternatively we can comment out the relevant functions in 
            /qth/QHttp.qth and /qth/QFtp.qth. I kept it like this 
            as if someone could test if it works.
2009-06-27 20:39:09 +00:00
Viktor Szakats
a9197e7223 2009-06-27 09:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapifs.h
  * source/rtl/filebuf.c
  * source/rtl/filesys.c
    * Changed file I/O buffer parameters from
      '( [const] BYTE * )' to '( [const] void * )'

  * utils/hbmk2/hbmk2.prg
    + Added ${hb_curdir} macro support.
    + Added ${hb_first} macro support (will return first source name
      specced on cmdline)
    + Added support for 'sources=' line in .hbc files. This
      will accept .prg, .c/.cpp, .po/.pot, object and resources.
      For resources, also wildcards are supported. Files with
      no extension will be considered .prg.
      This also replaces former 'pos=' line.
      This can be useful to put some central sources into all
      project without using a lib (or when a lib isn't an option
      for some reason).

  - man
    - Dir deleted.
2009-06-27 07:48:26 +00:00
Viktor Szakats
07104ffa29 2009-06-26 02:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/postinst.bat
  * mpkg_gnu.bat
    + Moved copying of root doc (ChangeLog, INSTALL) files
      to postinst.bat.

  * make_gnu.bat
    ! Minor fix to not accept extra cmdline parameters when
      in full build mode.
2009-06-27 00:28:48 +00:00
Viktor Szakats
ee715bd2ab 2009-06-26 01:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* make_gnu.bat
    + Now make_gnu.bat will find embedded GNU Make even if it's
      started from another directory. F.e. to rebuild only
      one contrib or core lib, it's enough to go to that dir
      and type:
        ..\..\make_gnu.bat
    ! More fixes to make build work on paths containing spaces.

  * make_gnu_os2.cmd
  * make_gnu.bat
  * make_gnu.sh
  * mpkg_win.nsi
  * mpkg_gnu.bat
    * Formatted header comment.
    + Added reference to INSTALL.
2009-06-26 23:07:38 +00:00
Viktor Szakats
f4bd5a2e66 2009-06-25 21:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbct/justify.c
    ! Fixed typo in one of recent const patches.
2009-06-26 19:52:20 +00:00
Viktor Szakats
1188dd32c6 2009-06-25 20:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/common/hbhash.c
    ! Fixed error in prev commit.
      (strange that MSVC didn't complain)

  * mpkg_win.nsi
    + Added comment that this file shouldn't be used directly.
2009-06-26 18:13:27 +00:00
Viktor Szakats
df6e36e45a 2009-06-25 18:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbhash.h
  * contrib/hbcurl/hbcurl.c
  * source/common/hbhash.c
  * source/compiler/hbident.c
    + Added const to low-level hash support functions.
    ; NOTE: Przemek, please check me.

  * source/rtl/Makefile
    * Formatting.
2009-06-26 16:42:25 +00:00
Viktor Szakats
826c3efa81 2009-06-25 17:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to not add dirs empty after normalization to dirlists.
    + Now dirs passed through the command line or .hbm files are
      also normalized (incpath, libpath, inctrypath).

  * include/hbdate.h
  * source/rtl/console.c
  * source/rtl/philes.c
  * source/rtl/box.c
  * source/rtl/filebuf.c
  * source/rtl/inkey.c
  * source/rtl/datec.c
  * source/rtl/langapi.c
  * source/rtl/errapi.c
  * source/rtl/memofile.c
  * source/rtl/saverest.c
  * contrib/hbct/screen2.c
  * contrib/hbct/tab.c
  * contrib/hbct/dattime2.c
  * contrib/hbct/replace.c
  * contrib/hbct/remove.c
  * contrib/hbclipsm/gauge.c
  * contrib/hbmisc/dates2.c
  * examples/hbdoc/hbdfrdln.c
  * examples/hbmake/hbmakec.c
  * examples/hbsqlit2/hbsqlit2.c
    * 'const' cleanup.
    * hb_dateCMonth() retval changed to const.
    * hb_dateCDOW() retval changed to const.
2009-06-26 15:44:32 +00:00
Przemyslaw Czerpak
4b74e7dc3c 2009-06-26 17:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbrddnsx.h
  * harbour/include/hbrddcdx.h
  * harbour/include/hbrddntx.h
    * synced with DBFAREAP

  * harbour/include/hbapicdp.h
  * harbour/source/rtl/cdpapi.c
    * changed UTF8 functions to use '[const] char' buffers instead
      for '[const] BYTE'

  * harbour/source/rtl/gtxwc/gtxwc.c
  * harbour/source/rtl/gttrm/gttrm.c
    * updated for above modification
2009-06-26 15:07:08 +00:00
Viktor Szakats
066d7497f8 2009-06-25 16:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/hbmd5.c
    + HB_MD5(), HB_MD5FILE(): New logical parameter added, which
      controls whether to return binary data or hexadecimal string.
      The default is .T. which will return hexa string, to stay
      compatible. Later we should switch the default to .F..

  * mpkg_gnu.bat
    * Updated requirement section.
2009-06-26 14:35:29 +00:00
Przemyslaw Czerpak
c9731a76a7 2009-06-26 15:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rdd/hsx/hsx.c
    * removed ( BYTE * ) casting

  * harbour/include/hbchksum.h
  * harbour/source/rtl/hbadler.c
  * harbour/source/rtl/hbcrc.c
  * harbour/source/rtl/hbmd5.c
    * use 'const char *' for passed memory buffers
         ULONG hb_adler32( ULONG adler, const char *buf, ULONG len );
         ULONG hb_crc16( ULONG crc, const char *buf, ULONG len );
         ULONG hb_crc32( ULONG crc, const char *buf, ULONG len );
         HB_ULONG hb_crc( HB_ULONG crc, const char * buf, ULONG len,
                          HB_ULONG poly );
         HB_ULONG hb_crcct( HB_ULONG crc, const char * buf, ULONG len,
                            HB_ULONG poly );
         void hb_md5( const char * ucData, ULONG ulLen, char * ucDigest );
         void hb_md5file( HB_FHANDLE hFile, char * ucDigest );

  * harbour/include/hbsxfunc.h
  * harbour/source/rdd/hbsix/sxcompr.c
  * harbour/source/rdd/hbsix/sxcrypt.c
    * use '[const] char *' for passed memory buffers in:
         void hb_sxEnCrypt( const char * pSrc, char * pDst,
                            const char * pKeyVal, ULONG ulLen );
         void hb_sxDeCrypt( const char * pSrc, char * pDst,
                            const char * pKeyVal, ULONG ulLen );
         BOOL hb_LZSSxDecompressMem( const char * pSrcBuf, ULONG ulSrcLen,
                                     char * pDstBuf, ULONG ulDstLen );
         BOOL hb_LZSSxCompressMem( const char * pSrcBuf, ULONG ulSrcLen,
                                   char * pDstBuf, ULONG ulDstLen,
                                   ULONG * pulSize );

  * harbour/include/hbapigt.h
  * harbour/include/hbgtcore.h
  * harbour/source/rtl/hbgtcore.c
  * harbour/source/rtl/mouse53.c
  * harbour/source/rtl/mouseapi.c
  * harbour/source/rtl/gtdos/gtdos.c
    * changed 'const BYTE *' to 'const char *' in MouseSaveState()
      and MouseRestoreState() GT methods and functions.

  * harbour/source/rtl/cdpapi.c
  * harbour/source/rtl/is.c
    * added ( char * ) casting as workaround for wrong in MSVC strchr()
      declaration.

  * harbour/include/hbrdddbf.h
  * harbour/source/rdd/dbf1.c
  * harbour/source/rtl/hbi18n1.c
  * harbour/contrib/xhb/hbcrypt.c
    * updated for above modifications
2009-06-26 13:53:41 +00:00
Viktor Szakats
83a6162d7f 2009-06-25 14:37 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapi.h
  * source/vm/maindllp.c
  * source/vm/extend.c
  * contrib/gtwvg/gtwvg.h
  * contrib/gtwvg/wvgutils.c
    * Changed hb_parv*() function return value to 'const char *'.
2009-06-26 12:37:23 +00:00
Viktor Szakats
d4e0e04f3a 2009-06-25 13:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbxbp/tests/demoxbp.prg
    ! Fixed the same warning again.
    * Changed to actually close the window when using close icon
      or Alt+F4.
    ; Thanks Priptal for the close fix, GPF is now gone.

  * mpkg_gnu.bat
    ! Using shorter temp dir names to make DOS command.com happy,
      so that it copies all libs with a little more chance.
      It's recommended to use a short base dir for DOS builds.
2009-06-26 11:53:20 +00:00
Viktor Szakats
c9d98f5be8 2009-06-25 13:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbfimage/fi_wrp.c
  * contrib/hbgd/gdwrp.c
    * Fixed warnings by casting. Ideally these should be fixed in
      external packages.
2009-06-26 11:10:13 +00:00