Commit Graph

17023 Commits

Author SHA1 Message Date
Pritpal Bedi
c5f23b422e 2012-05-07 01:04 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_pointer.cpp
    + Added: hbqt_par_isDerivedFrom() - protection against a null 
        pointer passed as an argument. This makes possible to detect
        if an object is still active when passed. If not, a RTE is 
        generated. This covers some more potential user mistakes.
2012-05-07 08:08:58 +00:00
Pritpal Bedi
8fd32d2325 2012-05-07 00:57 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/HBQGraphicsItem.qth
  * contrib/hbqt/qtgui/qth/HBQGraphicsScene.qth
  * contrib/hbqt/qtgui/qth/HBQPlainTextEdit.qth
  * contrib/hbqt/qtgui/qth/QAction.qth
  * contrib/hbqt/qtgui/qth/QActionEvent.qth
  * contrib/hbqt/qtgui/qth/QActionGroup.qth
  * contrib/hbqt/qtgui/qth/QBrush.qth
  * contrib/hbqt/qtgui/qth/QButtonGroup.qth
  * contrib/hbqt/qtgui/qth/QCloseEvent.qth
  * contrib/hbqt/qtgui/qth/QColor.qth
  * contrib/hbqt/qtgui/qth/QComboBox.qth
  * contrib/hbqt/qtgui/qth/QContextMenuEvent.qth
    - Replaced: HB_ISOBJECT( n ) => hbqt_par_isDerivedFrom( n, "QXXX" )
2012-05-07 08:03:49 +00:00
Pritpal Bedi
1eeb32a3f6 2012-05-06 23:36 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/qth/QAbstractEventDispatcher.qth
  * contrib/hbqt/qtcore/qth/QBitArray.qth
  * contrib/hbqt/qtcore/qth/QBuffer.qth
  * contrib/hbqt/qtcore/qth/QByteArray.qth
  * contrib/hbqt/qtcore/qth/QChar.qth
  * contrib/hbqt/qtcore/qth/QChildEvent.qth
  * contrib/hbqt/qtcore/qth/QDataStream.qth
  * contrib/hbqt/qtcore/qth/QDate.qth
  * contrib/hbqt/qtcore/qth/QDateTime.qth
  * contrib/hbqt/qtcore/qth/QDir.qth
  * contrib/hbqt/qtcore/qth/QEvent.qth
  * contrib/hbqt/qtcore/qth/QEventLoop.qth
  * contrib/hbqt/qtcore/qth/QFile.qth
  * contrib/hbqt/qtcore/qth/QFileInfo.qth
  * contrib/hbqt/qtcore/qth/QFileSystemWatcher.qth
  * contrib/hbqt/qtcore/qth/QGenericArgument.qth
  * contrib/hbqt/qtcore/qth/QGenericReturnArgument.qth
  * contrib/hbqt/qtcore/qth/QIODevice.qth
  * contrib/hbqt/qtcore/qth/QLatin1Char.qth
  * contrib/hbqt/qtcore/qth/QLatin1String.qth
  * contrib/hbqt/qtcore/qth/QLine.qth
  * contrib/hbqt/qtcore/qth/QLineF.qth
  * contrib/hbqt/qtcore/qth/QList.qth
  * contrib/hbqt/qtcore/qth/QLocale.qth
  * contrib/hbqt/qtcore/qth/QModelIndex.qth
  * contrib/hbqt/qtcore/qth/QObject.qth
  * contrib/hbqt/qtcore/qth/QPoint.qth
  * contrib/hbqt/qtcore/qth/QPointF.qth
  * contrib/hbqt/qtcore/qth/QProcess.qth
  * contrib/hbqt/qtcore/qth/QRect.qth
  * contrib/hbqt/qtcore/qth/QRectF.qth
  * contrib/hbqt/qtcore/qth/QRegExp.qth
  * contrib/hbqt/qtcore/qth/QResource.qth
  * contrib/hbqt/qtcore/qth/QSettings.qth
  * contrib/hbqt/qtcore/qth/QSignalMapper.qth
  * contrib/hbqt/qtcore/qth/QSize.qth
  * contrib/hbqt/qtcore/qth/QSizeF.qth
  * contrib/hbqt/qtcore/qth/QStringList.qth
  * contrib/hbqt/qtcore/qth/QStringRef.qth
  * contrib/hbqt/qtcore/qth/QTextBoundaryFinder.qth
  * contrib/hbqt/qtcore/qth/QTextDecoder.qth
  * contrib/hbqt/qtcore/qth/QTextEncoder.qth
  * contrib/hbqt/qtcore/qth/QTextStream.qth
  * contrib/hbqt/qtcore/qth/QTime.qth
  * contrib/hbqt/qtcore/qth/QTimeLine.qth
  * contrib/hbqt/qtcore/qth/QTimer.qth
  * contrib/hbqt/qtcore/qth/QTranslator.qth
  * contrib/hbqt/qtcore/qth/QUrl.qth
    - Replaced: HB_ISOBJECT( n ) => hbqt_par_isDerivedFrom( n, "QXXX" )
2012-05-07 06:42:13 +00:00
Pritpal Bedi
1c224790af 2012-05-06 16:11 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/QBitmap.qth
  * contrib/hbqt/qtgui/qth/QBrush.qth
  * contrib/hbqt/qtgui/qth/QCursor.qth
  * contrib/hbqt/qtgui/qth/QDeclarativeContext.qth
  * contrib/hbqt/qtgui/qth/QDeclarativeProperty.qth
  * contrib/hbqt/qtgui/qth/QDeclarativeView.qth
  * contrib/hbqt/qtgui/qth/QFontMetrics.qth
  * contrib/hbqt/qtgui/qth/QFontMetricsF.qth
  * contrib/hbqt/qtgui/qth/QGraphicsEllipseItem.qth
  * contrib/hbqt/qtgui/qth/QGraphicsLineItem.qth
  * contrib/hbqt/qtgui/qth/QGraphicsPathItem.qth
  * contrib/hbqt/qtgui/qth/QGraphicsPixmapItem.qth
  * contrib/hbqt/qtgui/qth/QGraphicsPolygonItem.qth
  * contrib/hbqt/qtgui/qth/QGraphicsRectItem.qth
  * contrib/hbqt/qtgui/qth/QGraphicsScene.qth
  * contrib/hbqt/qtgui/qth/QGraphicsView.qth
  * contrib/hbqt/qtgui/qth/QIcon.qth
  * contrib/hbqt/qtgui/qth/QPaintEvent.qth
  * contrib/hbqt/qtgui/qth/QPen.qth
  * contrib/hbqt/qtgui/qth/QPixmap.qth
  * contrib/hbqt/qtgui/qth/QPrintDialog.qth
  * contrib/hbqt/qtgui/qth/QPrinterInfo.qth
  * contrib/hbqt/qtgui/qth/QPrintPreviewDialog.qth
  * contrib/hbqt/qtgui/qth/QPrintPreviewWidget.qth
  * contrib/hbqt/qtgui/qth/QRegion.qth
  * contrib/hbqt/qtgui/qth/QTextCursor.qth
    - Replaced: HBQT_TYPE_Qxxx  => hbqt_par_isDerivedFrom().
        Now it is safe to remove HBQT_TYPE_Qxxx constants from
        hbqtcore.
2012-05-06 23:15:07 +00:00
Pritpal Bedi
ae04a7e892 2012-05-05 20:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/qth/QDataStream.qth
  * contrib/hbqt/qtcore/qth/QDateTime.qth
  * contrib/hbqt/qtcore/qth/QFile.qth
  * contrib/hbqt/qtcore/qth/QFileInfo.qth
  * contrib/hbqt/qtcore/qth/QFileSystemWatcher.qth
  * contrib/hbqt/qtcore/qth/QRect.qth
  * contrib/hbqt/qtcore/qth/QRectF.qth
  * contrib/hbqt/qtcore/qth/QTextStream.qth
  * contrib/hbqt/qtcore/qth/QVariant.qth
    - Replaced: HBQT_TYPE_Qxxx  => hbqt_par_isDerivedFrom().
        Now it is safe to remove HBQT_TYPE_Qxxx constants from
        hbqtcore.
2012-05-06 06:19:23 +00:00
Pritpal Bedi
44dfaad739 2012-05-05 20:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbmk2_qt.hbs
    * Optimized: HB_ISLOG( n ) ? hb_parl( n ) : false | true )
                    =>
                 hb_parl( n ) | hb_parldef( n, true )
2012-05-06 05:33:42 +00:00
Pritpal Bedi
b762c675fe 2012-05-05 19:44 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbmk2_qt.hbs
    ! Fixed: to take use of the hbqt_par_isDerivedFrom() completely.
        This renders parameter checking with Class TYPE constants
        redundant which can be removed alltogether. This also 
        facilitates usage of subclassing a Qt class.

    ; TODO: impliment siblings checking inside hbqt_par_isDerivedFrom().
        HBQPlainTextEdit() is a sibling of QPlainTextEdit().
2012-05-06 02:49:42 +00:00
Pritpal Bedi
c4c03c5d35 2012-05-05 15:51 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtnetwork/qth/QNetworkProxy.qth
    + Fixed: constructors now respect new str API.
2012-05-05 22:52:29 +00:00
Pritpal Bedi
b7fdb783c6 2012-05-05 14:37 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/qth/QDir.qth
  * contrib/hbqt/qtcore/qth/QFile.qth
  * contrib/hbqt/qtcore/qth/QFileInfo.qth
  * contrib/hbqt/qtcore/qth/QLocale.qth
  * contrib/hbqt/qtcore/qth/QRegExp.qth
  * contrib/hbqt/qtcore/qth/QResource.qth
  * contrib/hbqt/qtcore/qth/QSettings.qth
  * contrib/hbqt/qtcore/qth/QStringList.qth
  * contrib/hbqt/qtcore/qth/QStringRef.qth
  * contrib/hbqt/qtcore/qth/QTextBoundaryFinder.qth
  * contrib/hbqt/qtcore/qth/QUrl.qth
  * contrib/hbqt/qtcore/qth/QVariant.qth
    + Fixed: constructors now respect new str API.
2012-05-05 21:40:05 +00:00
Pritpal Bedi
66dd72b12e 2012-05-04 20:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/QAbstractItemView.qth
  * contrib/hbqt/qtgui/qth/QAction.qth
  * contrib/hbqt/qtgui/qth/QBitmap.qth
  * contrib/hbqt/qtgui/qth/QCheckBox.qth
  * contrib/hbqt/qtgui/qth/QColor.qth
  * contrib/hbqt/qtgui/qth/QCursor.qth
  * contrib/hbqt/qtgui/qth/QDockWidget.qth
  * contrib/hbqt/qtgui/qth/QFileOpenEvent.qth
  * contrib/hbqt/qtgui/qth/QFont.qth
  * contrib/hbqt/qtgui/qth/QFontMetrics.qth
  * contrib/hbqt/qtgui/qth/QFontMetricsF.qth
  * contrib/hbqt/qtgui/qth/QGraphicsSimpleTextItem.qth
  * contrib/hbqt/qtgui/qth/QGraphicsSvgItem.qth
  * contrib/hbqt/qtgui/qth/QGraphicsTextItem.qth
  * contrib/hbqt/qtgui/qth/QGraphicsView.qth
  * contrib/hbqt/qtgui/qth/QIcon.qth
  * contrib/hbqt/qtgui/qth/QImage.qth
  * contrib/hbqt/qtgui/qth/QKeyEvent.qth
  * contrib/hbqt/qtgui/qth/QKeySequence.qth
  * contrib/hbqt/qtgui/qth/QLabel.qth
  * contrib/hbqt/qtgui/qth/QMainWindow.qth
  * contrib/hbqt/qtgui/qth/QMenu.qth
  * contrib/hbqt/qtgui/qth/QPen.qth
  * contrib/hbqt/qtgui/qth/QPixmap.qth
  * contrib/hbqt/qtgui/qth/QPlainTextEdit.qth
  * contrib/hbqt/qtgui/qth/QPushButton.qth
  * contrib/hbqt/qtgui/qth/QRadioButton.qth
  * contrib/hbqt/qtgui/qth/QRegion.qth
  * contrib/hbqt/qtgui/qth/QSound.qth
  * contrib/hbqt/qtgui/qth/QTableWidgetItem.qth
  * contrib/hbqt/qtgui/qth/QTextCursor.qth
  * contrib/hbqt/qtgui/qth/QTextEdit.qth
  * contrib/hbqt/qtgui/qth/QToolBar.qth
    + Fixed: constructors now respect new str API.

  * contrib/hbxbp/xbpbrowse.prg
    ! Fied: to respect optimized constructor protocol.

    NOTE: some regression is expected in hbIDE so can be 
          in your codes also.
2012-05-05 03:10:29 +00:00
Viktor Szakats
127723f8a0 For signing on win, MS Win SDK is needed, not MSVS 2012-05-04 18:25:54 +00:00
Viktor Szakats
ddd8ef46bc 2012-05-04 20:07 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    ! fixed RTE when logging sign command
    ! fixed `` operator to strip CRs and convert LFs to space
      in stdout output.

  * src/rdd/dbcmd.c
    ! clarified DBCREATE() 4th parameter in comment
2012-05-04 18:09:22 +00:00
Viktor Szakats
f5390e31ff 2012-05-04 12:57 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    * .hb? input make files are now considered with UTF8 encoding.
    + enabled full UTF8 CP on *nix systems. EXPERIMENTAL.

  * debian/copyright
  * package/winuni/mpkg_win_uni.nsi
  * utils/hbmk2/hbmk2.prg
  * contrib/hbpost.hbm
  * contrib/hbnetio/utils/hbnetio/modules.hbp
  * contrib/hbnetio/utils/hbnetio/netiosrv.prg
  * contrib/hbqt/hbqt_common.hbm
  * contrib/hbide/ideedit.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbrun/hbrun.prg
  * contrib/hbrun/plugins.prg
  * config/postinst.hbs
  * COPYING
    + added support for .hb extension for Harbour scripts.
      I plan to make a full switch to .hb from .hbs.
2012-05-04 10:59:39 +00:00
Viktor Szakats
995a4db464 2012-05-04 09:31 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbtip/sessid.prg
  * contrib/hbtip/encqp.prg
    * formatting
2012-05-04 07:32:08 +00:00
Viktor Szakats
7a16a51936 2012-05-04 03:18 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbct/getsecrt.prg
    * use hb_keyCode() instead of Asc() to form numeric key value.

  * contrib/hbtip/encqp.prg
    ! Quoted-printable encoding/decoding fixed to use FOR/NEXT
      loop instead of FOR/EACH and HB_B*() string functions to 
      operate on binary data regardless of HVM CP.
    ! Fixed old typo causing no encoding for line-ending whitespaces.

  * contrib/hbtip/mail.prg
    ! Q-encoding fixed to use FOR/NEXT 
      loop instead of FOR/EACH and HB_B*() string functions to 
      operate on binary data regardless of HVM CP
2012-05-04 01:21:23 +00:00
Viktor Szakats
1be0971119 2012-05-04 01:51 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/harbour.hbx
  * src/rtl/cdpapihb.c
    + HB_CDPCHARMAX( [<cCP>] ) -> <nMaxCharCode>
      (ATM 0xFFFF for unicode or 0xFF for non-unicode (default) CPs)
2012-05-03 23:53:24 +00:00
Viktor Szakats
1721eee814 2012-05-04 01:12 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/hbstrsh.c
    + HB_STRSHRINK() updated to work on custom character indexes (UTF8)
2012-05-03 23:12:49 +00:00
Viktor Szakats
2bba56caa6 2012-05-03 12:13 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + added experimental code signing support for win and darwin
      using '-sign=<ID> [-signpw=<pw>]' options.
      on win, it requires MSVS in path.
2012-05-03 10:15:43 +00:00
Viktor Szakats
6e1f715f51 2012-05-02 19:32 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    ! fixed missed incremental updates in '-inc -head=dep'
      mode on win/os2/dos systems when -workdir= was set to 
      an absolute path. The drive separator colon was confused 
      with the file/dependency separator colon. Nasty.
2012-05-02 17:33:30 +00:00
Viktor Szakats
4098f23cf8 2012-05-02 17:30 UTC+0200 Viktor Szakats (harbour syenar.net)
* examples/dbu/dbu52.dif
  * examples/dbu/dbu53.dif
    + updated for UTF8 HVM CP. Start with "-utf" option to activate.
      In -utf mode, tables will also be open using UTF8EX CP.
    + added support for clipboard paste using <Alt+V>
    + link all CPs
    ! fixed to use hb_ps() instead of MS-DOS/win specific pathsep

  * examples/commouse/commouse.prg
    + updated for unicode
2012-05-02 15:31:19 +00:00
Viktor Szakats
89b194c0af 2012-05-02 14:02 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbmysql/tsqlbrw.prg
  * contrib/hbct/getsecrt.prg
  * contrib/hbziparc/ziparc.prg
  * contrib/hbblink/blinker.prg
  * contrib/hbnetio/utils/hbnetio/netiosrv.prg
  * contrib/hbhttpd/core.prg
  * contrib/hbhttpd/log.prg
  * contrib/hbwin/win_reg.prg
  * contrib/hbsms/sms.prg
  * contrib/hbcomm/comm.prg
  * contrib/hbtip/log.prg
  * contrib/hbrun/hbrun.prg
    ! updated/fixed for unicode
      (only built-tested)

  * contrib/hbxdiff/hbxdiff.ch
  * contrib/hbblat/blatcls.prg
    * formatting

  ; TOFIX: hb_StrShrink() to work on HVM CP
  ; TOFIX: hbnf, hbtip, xhb, hbide, hbxbp, gtwvg, tests and docs
           for unicode
2012-05-02 12:03:19 +00:00
Viktor Szakats
65748f24d2 2012-05-02 12:48 UTC+0200 Viktor Szakats (harbour syenar.net)
* ChangeLog
    ! copy/paste error in fn skeletons
2012-05-02 10:49:05 +00:00
Viktor Szakats
ad79a430f7 2012-05-02 12:30 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/hbcompdf.h
  * include/hbexprop.h
  * include/hbexprb.c
  * src/common/funcid.c
  * src/common/expropt2.c
    + added compile-time optimization for HB_BCHAR()
      and HB_BCODE().

  * contrib/hbct/hbct.hbp
  * contrib/hbct/hbct.hbx
  + contrib/hbct/ctscan.ch
  + contrib/hbct/kxlat.prg
  * contrib/hbct/ctdummy.prg
  * contrib/hbct/dummy.c
    + added CT compatiblity functions: SETKXLAT(), GETKXLAT(),
      SETKXTAB(), GETKXTAB(). Former two replaces existing
      dummy implementations. Check CT documentation for syntax.
      NOTES: - KS_PAD[0-9] and KS_PAD_DECIMAL are not supported in
               Harbour, because they have no corresponding inkey.ch
               value.
             - Harbour uses HB_GTI_INKEYFILTER to implement these
               functions, and due to this, they will gracefully
               fail if the application has already set
               HB_GTI_INKEYFILTER to a custom value.
    + added:
         HBCT_GETKXLAT( <nOrgKey>[, <nNewKey> ] ) -> <lAccepted>
         HBCT_GETKXTAB( <nOrgKey> ) -> <nNewKey>
         HBCT_SETKXLAT( <hTrs> ) -> <lAccepted>
         HBCT_SETKXTAB() -> <hTrs>
      Same as above, but they use standard inkey() values.
    ; USE AT YOUR OWN RISK. NO GUARANTEES.

  * contrib/hbct/showtime.prg
  * contrib/hbct/screen2.c
    * internal fn renamed: _HB_CTDSPTIME() -> __HBCT_DSPTIME()
2012-05-02 10:32:45 +00:00
Viktor Szakats
c123a1cb21 2012-05-01 20:50 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/hbregex.c
    % deleted unnecessary protection around PCRE_CONFIG_UTF8
      macro usage. (it was used unprotected elsewhere in the 
      code for a long time)

  * INSTALL
    + added mingw64 on win64 host example. (same as on win32,
      except comment)
2012-05-01 18:52:03 +00:00
Viktor Szakats
4876c762bb 2012-04-27 12:08 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/cdpapihb.c
    % HB_UTF8TOSTR()/HB_STRTOUTF8() optimized to "fall through"
      if the HVM CP is UTF8. Check me.

  * utils/hbmk2/hbmk2.prg
    ! TOFIX removed from two FOR EACH loops, they work on ASCII chars only
    ! one FOR EACH loop conditionally converted to FOR NEXT to work with all CPs
    ! one FOR EACH loop converted to FOR NEXT and to work on binary data
    ! Changed certain function calls to hb_ascii*() prefixed versions
    ! fixed .hbx generator to work with accented filenames
2012-04-27 10:08:33 +00:00
Przemyslaw Czerpak
4c2b14b6a3 2012-04-26 17:01 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/gtstd/gtstd.c
  * harbour/src/rtl/gttrm/gttrm.c
  * harbour/src/rtl/gtsln/gtsln.c
  * harbour/src/rtl/gtpca/gtpca.c
    ! do not redirect STDERR to screen buffer if default screen
      output is not redirected to console/tty device
2012-04-26 15:01:52 +00:00
Viktor Szakats
ae76f51c41 2012-04-26 16:26 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    * LEN() -> HB_BLEN() where needed. (some for the sake 
      of clean code, one as an actual fix)
2012-04-26 14:27:09 +00:00
Viktor Szakats
8c899eb85a 2012-04-26 16:13 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + hbmk2 code made compatible with UTF8 HVM CP
      except where FOR EACH is used on strings, which are all
      broken with UTF8 now. Marked these with TOFIX.
    + strip UTF8 BOM from .hbm/.hbp/.hbc input files
    + added PROC CLIPINIT (I can't make it work, so commented
      for now)
    ; Switching to UTF8EX creates quite many strange problems
      when accepting cmdline arguments, passing them to embedded
      compiler, external tools, so it's not yet enabled. Also,
      one some platforms _SET_OSCODEPAGE is required (DOS/OS2),
      on some not, and detection of these cases and actual value
      is not easy (if possible). Tests made only on Windows,
      maybe on *nix I'll retry and moving to UTF8 will be done
      platform by platform.
    ; NOTE: I plan to make UTF8 the standard encoding for .hbp/.hbm/.hbc files.
    ; TOFIX: FOR EACH for UTF8EX CP
    ; TOFIX: cmdline arguments via Main() parameters, hb_AParams()
             and hb_cmdLine() on Windows.
    ; TODO: Add a way to detect maximum bit width of unicode chars,
            for now I hard-coded 16-bit.
2012-04-26 14:18:14 +00:00
Przemyslaw Czerpak
c9e8816417 2012-04-26 10:35 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/hbgtcore.c
    ! fixed typo in OUTSTD() handler - thanks to Mindaugas
      for locating the problem.
2012-04-26 08:35:40 +00:00
Viktor Szakats
36ac85055c 2012-04-25 16:20 UTC+0200 Viktor Szakats (harbour syenar.net)
* tests/parseini.prg
    ! fixed to compile.
      Thanks for patch suggestion to Alexey Myronenko
2012-04-25 14:23:48 +00:00
Viktor Szakats
3343571ea7 2012-04-25 16:16 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/harbour.hbx
  * src/rtl/cdpapihb.c
    + added HB_CDPISUTF8( <cCDPID> ) -> <lResult>
2012-04-25 14:17:00 +00:00
Viktor Szakats
bbf6425d07 2012-04-25 14:44 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/global.mk
    ! missed from prev
2012-04-25 12:45:06 +00:00
Viktor Szakats
5cf8db7936 2012-04-25 14:11 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/hbver.h
  * package/harbour.spec
  * package/harb_win.mft
  * package/harbour-win.spec.in
  * package/harbour-wce.spec.in
  * package/winuni/mpkg_win_uni.bat
  * harbour/debian/changelog
    * trunk version bump. 3.1.0dev -> 3.2.0dev
      this is to make it easy to create conditional code 
      for new features and the few incompatibilities after 
      introducing unicode in Harbour. May be bumped further
      when FOR EACH is decided.

  * contrib/hbexpat/tests/tohash.prg
    + enabled UTF8EX for testing
2012-04-25 12:12:03 +00:00
Przemyslaw Czerpak
0ad8ff7544 2012-04-25 12:08 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/harbour.hbx
    ! fixed typo in previous commit
2012-04-25 10:08:16 +00:00
Przemyslaw Czerpak
5f6a55b505 2012-04-25 11:41 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/harbour.hbx
  * harbour/src/rtl/chruni.c
    + added HB_ULEFT(), HB_BLEFT(), HB_URIGHT(), HB_BRIGHT()
2012-04-25 09:41:47 +00:00
Viktor Szakats
83cc2881dd 2012-04-25 02:20 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/harbour.hbx
  * src/rtl/inkey.c
    + added HB_KEYCODE( <cChar> ) -> <nExtKey>
    ; pls review me. It helps replacing ASC() calls in unicode apps
      where it's used to convert characters (f.e. hotkeys) to keyboard
      codes.
2012-04-25 00:21:07 +00:00
Viktor Szakats
16e307a8c4 2012-04-25 00:03 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbmisc/udpds.prg
    + updated to be CP agnostic
    + changed protocol to use UTF8 through the wire
    ; NOTE: requires not yet committed HB_BLEFT()

  * include/harbour.hbx
    * minor
2012-04-24 22:05:39 +00:00
Przemyslaw Czerpak
0aeb0d3cae 2012-04-24 17:34 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/harbour.hbx
  * harbour/src/rtl/chruni.c
    + added HB_BSUBSTR() and HB_USUBSTR()
2012-04-24 15:34:32 +00:00
Przemyslaw Czerpak
5d2675146a 2012-04-24 16:20 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbapilng.h
  * harbour/src/vm/hvm.c
  * harbour/src/rtl/langapi.c
  * harbour/include/harbour.hbx
    + added new PRG function:
         HB_LANGNEW( <cNewLangId>, <cNewLangCpId>,
                     <cLangId>, <cLangCpId> ) -> <lOK>
      this function dynamically creates new lang module translating
      existing one then registers it, i.e.:
         request HB_CODEPAGE_DE850
         request HB_CODEPAGE_DEISO
         request HB_LANG_DE
         HB_LANGNEW( "DEISO", "DEISO", "DE", "DE850" )
         SET( _SET_LANGUAGE, "DEISO" )

  * harbour/src/rtl/cdpapi.c
    * changed dynamic buffer for "EN" CP translations and flags
      to static one - it allows to use this CP after hb_cdpReleaseAll()
2012-04-24 14:20:40 +00:00
Przemyslaw Czerpak
290ae1b594 2012-04-24 10:25 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/vm/cmdarg.c
    ! respect HB_ARGSHIFT( .T. ) in windows version of hb_cmdargProgName()

  * harbour/ChangeLog
    ! fixed some typos in my unicode ChangeLog entry
2012-04-24 08:25:20 +00:00
Przemyslaw Czerpak
bc5cfa6b3c 2012-04-24 08:43 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/inkey.c
    * modified HB_KEYPUT() and HB_KEYINS() to convert strings
      into key codes instead of passing them directly to keyboard
      buffer like in __KEYBOARD() function.

  * harbour/include/hbgtcore.h
  * harbour/src/rtl/hbgtcore.c
    * modified hb_inkeySetText() (PRG __KEYBOARD() function) to translate
      passed string into unicode values
      This modification affects also HB_GTI_CLIPBOARDPASTE
2012-04-24 06:43:44 +00:00
Przemyslaw Czerpak
8d23393d83 2012-04-24 07:18 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbgtcore.h
    ! fixed typo in HB_GTSELF_KEYTRANS() macro.
      It should also fix problem with function keys in some GTs,
      i.e. ENTER in GTOS2 ALERT() reported by David.

  * harbour/src/rtl/filesys.c
    * use TEXT() macro
    * minor modification in fs_win_get_drive()

  * harbour/src/vm/hvm.c
    * added protection against potential memory leak if
      programmer change type of enumerated item
2012-04-24 05:18:24 +00:00
Viktor Szakats
16ad8bfcb3 2012-04-24 02:16 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/filesys.c
    % fs_win_get_drive() simplified for win platform, eliminated 
      mb conversion. Code posted by Przemek.
2012-04-24 00:19:21 +00:00
Viktor Szakats
cd0cc92c3d 2012-04-23 20:31 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + added experimental framework for -ku:<cp> option. It is
      processed by hbmk2 and HVM CP set appropriately before calling
      the embedded Harbour compiler. As discussed here:
         https://groups.google.com/d/msg/harbour-devel/a1_-DDXVVYM/CE3NspTzHV4J
      I couldn't spot or test the effect of this yet.
      Accepted <cp> values: "utf8", "cp1250", "cp852", etc...
    + added TODO to switch the internal codepage to UTF8EX.
      it should help further in handling filenames with accents.
      non-priority.

  * src/rtl/menuto.prg
    * formatting

  * contrib/hbqt/gtqtc/gtqtc.cpp
    - delete recently commented lines
2012-04-23 18:31:42 +00:00
Przemyslaw Czerpak
391ba17b95 2012-04-23 14:16 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/gtwin/gtwin.c
    * redirect OUTSTD() and OUTERR() to GT buffer if corresponding handles
      are redirected to console window.
2012-04-23 12:16:37 +00:00
Przemyslaw Czerpak
1bd3fa10d7 2012-04-23 13:56 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/filesys.c
    ! fixed typo in last commit which disabled filename translations
      in hb_fsNameConv*() functions.
2012-04-23 11:57:05 +00:00
Pritpal Bedi
232939c8fe 2012-04-22 09:56 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idedocks.prg
  * contrib/hbide/idedocwriter.prg
  * contrib/hbide/ideenviron.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/idefunctions.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/idethemes.prg
    ! Fixed: changes due to HBQT engine which now checks the 
       object validity by looking at object inheritance. This covers
       many cases but not all. For all practical purposes hbIDE is 
       working ok now but in some extended usage, it again fails.
       Looking at the ways if this could be covered under object 
       inheritance chain, which looks to be dim, so far.
       So probably we have to revert back that change but let me 
       build the hypothesis before reverting.
2012-04-22 17:05:54 +00:00
Viktor Szakats
f6796cc50d 2012-04-20 11:02 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbqt/qtcore/hbqt_pointer.cpp
  * contrib/hbqt/qtcore/hbqt.h
    * string variable names corrected
2012-04-21 09:03:08 +00:00
Viktor Szakats
f2879962b5 2012-04-20 10:45 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/gtwvg/wvgwin.c
    ! fixed broken compilation in WVG_SendCBMessage() when using mingw 4.7

  * doc/howtosvn.txt
    + added some more stuff

  * ChangeLog
    ! removed tabs and added missing markup in latest commit
    + added reference to doc/howtosvn.txt
2012-04-21 08:47:01 +00:00
Francesco Perillo
fd99381985 2012-04-20 23:18 UTC+0200 Francesco Perillo ( fperillo at gmail.com )
* contrib/hbqt/hbmk2_qt.hbs
    Typo that generated wrong cpp code
	*HBQT USERS PLEASE READ*
	Please note that this patch introduces parameter checking on hbQt
	methods	when parameter is a hbQt object.
	Up to now you could do some weird (and illegal) things like
	passing a QLabel when a QToolbar was expected. These lead to GPF, also
	random. Now hbQt checks that the object passed is of the expected type 
	or of a subclass. If the method expects a QToolbar as parameter now an
	error is generated if we pass a QLabel. If the method expects a QWidget,
	it is possible to pass a QWidget, a QLabel, or any other hbQt object
	derived from QWidget, also user-defined ones.
	It may be that this patch breaks old *WRONG* code that just for
	casualty was not generating GPF. So if your program starts to report
	errors for wrong parameters, please check your code.

    Another change is that when a hbQt goes out of scope a disconnect() is
	forced immediately in the destructor. This will prevent that
	events/signals are activated by Qt for that object while it waits
	for harbour GC to delete it. This was common during window closing step
	or program end.
2012-04-20 21:24:38 +00:00