Commit Graph

12412 Commits

Author SHA1 Message Date
Przemyslaw Czerpak
3fddd75f6b 2009-11-06 00:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/strcase.c
  * harbour/src/rtl/cdpapi.c
    * moved some CP dependent functions from strcase.c to cdpapi.c
      They will be reimplemented in new CDP code.

  * harbour/src/rtl/cdpapi.c
  * harbour/include/hbapicdp.h
    + added new C functions to eliminate direct access to HB_CODEPAGE
      structure by non core code

  * harbour/src/rtl/gtcgi/gtcgi.c
  * harbour/src/rtl/gtpca/gtpca.c
  * harbour/src/rtl/gtstd/gtstd.c
  * harbour/src/rtl/gtcrs/gtcrs.c
  * harbour/src/rtl/gtsln/gtsln.c
  * harbour/src/rtl/gttrm/gttrm.c
  * harbour/src/rtl/gtxwc/gtxwc.c
  * harbour/src/rtl/gtdos/gtdos.c
  * harbour/src/rtl/gtwin/gtwin.c
  * harbour/src/rtl/gtwvt/gtwvt.c
  * harbour/contrib/gtwvg/gtwvg.c
  * harbour/contrib/gtqtc/gtqtc.cpp
    * updated to eliminate direct access to HB_CODEPAGE structure
2009-11-05 23:16:00 +00:00
Viktor Szakats
f1f4b7e1e1 2009-11-05 19:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Deleted 'lib' prefix for os2/gcc targets to sync it 
      with Harbour GNU make build setup.
      See my mail on dev list for other options.
2009-11-05 19:03:08 +00:00
Viktor Szakats
bb37817b27 2009-11-05 15:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * config/os2/gcc.mk
    ! Fixed to use .lib extension in gccomf mode. As far I could 
      debunk it from lenghty e-mail, this is the default extension for 
      libs, used by OS/2 GCC in OMF mode.
      If not, don't blame me.
    ! Fixed to not use lib prefix in gccomf mode.
      It does seem alright but due to no testing again give me 
      *very short correction information*, if this turns out to be 
      false.

  * contrib/hbct/disk.c
    ! Typo in comment.
2009-11-05 14:10:27 +00:00
Przemyslaw Czerpak
8eb52166ad 2009-11-04 20:04 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbmk2/hbmk2.prg
    ! do not overwrite file extensions set in .clp file when checking
      dependencies in incremental mode
2009-11-04 19:05:01 +00:00
Przemyslaw Czerpak
0357d329c2 2009-11-04 19:51 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbmk2/hbmk2.prg
    ! fixed incremental mode for @.clp files.
      I tried to make all modifications locally to not break
      some other code which may need "@" in file names because
      I do not know hbmk2 code.
2009-11-04 18:51:40 +00:00
Viktor Szakats
ac24e22ba6 2009-11-04 17:06 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * config/os2/gcc.mk
    * Changed to use GCC default extensions for objects and libs 
      even in OMF mode.
    ! This fixed hbmk2 problems reported by David Arturo Macias Corona.
    ; Please verify if now also changed lib extension didn't create 
      any new problem in hbmk2, f.e. when using -strip option.
2009-11-04 16:06:27 +00:00
Viktor Szakats
0361acf77f 2009-11-04 09:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added EXAMPLEs for Windows SDK 7. There is included compiler 
      there for almost all combinations, only Itanium didn't work 
      for me out of the box.
      This is the simplest and most slim way to use MSVC compiler, 
      and also free.
2009-11-04 08:16:41 +00:00
Przemyslaw Czerpak
f7e1d79191 2009-11-03 13:36 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/common/hbstr.c
    ! fixed typo in HB_TRACE message - problem reported by Alex

  * harbour/src/rtl/cdpapi.c
    ! fixed casting for C++ builds - problem reported by Marcos
2009-11-03 12:37:01 +00:00
Przemyslaw Czerpak
e3050ec14b 2009-11-02 12:29 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/cdpapi.c
  * harbour/include/hbapicdp.h
    + added two new functions hb_cdpU16ToStr() and hb_cdpU16LEToStr()

  * harbour/doc/xhb-diff.txt
    ! fixed typo in code example reported by Guy Roussin
    ! fixed some other typos - i.e. in detached local description
2009-11-02 11:29:24 +00:00
Viktor Szakats
fe99453ede 2009-11-02 12:06 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/win/bcc.mk
    ! Fixed -I order after recent change to not interfere with 
      embedded pcre headers.
2009-11-02 11:07:44 +00:00
Viktor Szakats
396cf43de2 2009-11-02 10:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
  * config/win/bcc.mk
    - Deleted HB_DFLAGS var which was not needed at the end.
2009-11-02 09:26:41 +00:00
Viktor Szakats
b62fda94e5 2009-11-02 10:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/win/bcc.mk
    + Added hack to automatically configure bcc compilers 
      which makes proper setup of bcc32.cfg and ilink32.cfg 
      unnecessary. NOTE: This only works if you use compiler 
      autodetection, which means DON'T set HB_COMPILER to bcc
      manually.
    ; Please make tests, f.e. I didn't test .dll creation.

  * config/global.mk
    + Exporting autodetected compiler PATH.

  * config/rules.mk
    * Moved linker flags before output name option to make 
      some tools happy (bcc in this case).

  * INSTALL
    - Deleted just added extra NOTE for bcc users. Now it should 
      be configured automatically.
2009-11-02 09:24:06 +00:00
Pritpal Bedi
a4514c514a 2009-11-01 20:11 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/generator/hbqtgen.prg

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

  * contrib/hbqt/qtcore/QAbstractItemModel.cpp
  * contrib/hbqt/qtcore/QAbstractListModel.cpp
  * contrib/hbqt/qtcore/QAbstractTableModel.cpp
  * contrib/hbqt/qtcore/QBitArray.cpp
  * contrib/hbqt/qtcore/QByteArray.cpp
  * contrib/hbqt/qtcore/QCoreApplication.cpp
  * contrib/hbqt/qtcore/QDataStream.cpp
  * contrib/hbqt/qtcore/QDate.cpp
  * contrib/hbqt/qtcore/QDateTime.cpp
  * contrib/hbqt/qtcore/QDir.cpp
  * contrib/hbqt/qtcore/QEvent.cpp
  * contrib/hbqt/qtcore/QEventLoop.cpp
  * contrib/hbqt/qtcore/QFile.cpp
  * contrib/hbqt/qtcore/QFileInfo.cpp
  * contrib/hbqt/qtcore/QIODevice.cpp
  * contrib/hbqt/qtcore/QLatin1Char.cpp
  * contrib/hbqt/qtcore/QLatin1String.cpp
  * contrib/hbqt/qtcore/QLine.cpp
  * contrib/hbqt/qtcore/QLineF.cpp
  * contrib/hbqt/qtcore/QList.cpp
  * contrib/hbqt/qtcore/QLocale.cpp
  * contrib/hbqt/qtcore/QMimeData.cpp
  * contrib/hbqt/qtcore/QModelIndex.cpp
  * contrib/hbqt/qtcore/QObject.cpp
  * contrib/hbqt/qtcore/QPoint.cpp
  * contrib/hbqt/qtcore/QPointF.cpp
  * contrib/hbqt/qtcore/QProcess.cpp
  * contrib/hbqt/qtcore/QRect.cpp
  * contrib/hbqt/qtcore/QRectF.cpp
  * contrib/hbqt/qtcore/QRegExp.cpp
  * contrib/hbqt/qtcore/QResource.cpp
  * contrib/hbqt/qtcore/QSignalMapper.cpp
  * contrib/hbqt/qtcore/QSize.cpp
  * contrib/hbqt/qtcore/QSizeF.cpp
  * contrib/hbqt/qtcore/QStringList.cpp
  * contrib/hbqt/qtcore/QTextBoundaryFinder.cpp
  * contrib/hbqt/qtcore/QTextDecoder.cpp
  * contrib/hbqt/qtcore/QTextEncoder.cpp
  * contrib/hbqt/qtcore/QTextStream.cpp
  * contrib/hbqt/qtcore/QThread.cpp
  * contrib/hbqt/qtcore/QTime.cpp
  * contrib/hbqt/qtcore/QTimer.cpp
  * contrib/hbqt/qtcore/QTranslator.cpp
  * contrib/hbqt/qtcore/QUrl.cpp
  * contrib/hbqt/qtcore/QVariant.cpp

  * contrib/hbqt/qtgui/QAbstractButton.cpp
  * contrib/hbqt/qtgui/QAbstractItemView.cpp
  * contrib/hbqt/qtgui/QAbstractPrintDialog.cpp
  * contrib/hbqt/qtgui/QAbstractProxyModel.cpp
  * contrib/hbqt/qtgui/QAbstractScrollArea.cpp
  * contrib/hbqt/qtgui/QAbstractSlider.cpp
  * contrib/hbqt/qtgui/QAbstractSpinBox.cpp
  * contrib/hbqt/qtgui/QAbstractTextDocumentLayout.cpp
  * contrib/hbqt/qtgui/QAction.cpp
  * contrib/hbqt/qtgui/QActionGroup.cpp
  * contrib/hbqt/qtgui/QApplication.cpp
  * contrib/hbqt/qtgui/QBitmap.cpp
  * contrib/hbqt/qtgui/QBoxLayout.cpp
  * contrib/hbqt/qtgui/QBrush.cpp
  * contrib/hbqt/qtgui/QButtonGroup.cpp
  * contrib/hbqt/qtgui/QCalendarWidget.cpp
  * contrib/hbqt/qtgui/QCheckBox.cpp
  * contrib/hbqt/qtgui/QClipboard.cpp
  * contrib/hbqt/qtgui/QColor.cpp
  * contrib/hbqt/qtgui/QColorDialog.cpp
  * contrib/hbqt/qtgui/QComboBox.cpp
  * contrib/hbqt/qtgui/QCommandLinkButton.cpp
  * contrib/hbqt/qtgui/QCommonStyle.cpp
  * contrib/hbqt/qtgui/QCompleter.cpp
  * contrib/hbqt/qtgui/QConicalGradient.cpp
  * contrib/hbqt/qtgui/QContextMenuEvent.cpp
  * contrib/hbqt/qtgui/QCursor.cpp
  * contrib/hbqt/qtgui/QDateEdit.cpp
  * contrib/hbqt/qtgui/QDateTimeEdit.cpp
  * contrib/hbqt/qtgui/QDesktopWidget.cpp
  * contrib/hbqt/qtgui/QDial.cpp
  * contrib/hbqt/qtgui/QDialog.cpp
  * contrib/hbqt/qtgui/QDirModel.cpp
  * contrib/hbqt/qtgui/QDockWidget.cpp
  * contrib/hbqt/qtgui/QDoubleSpinBox.cpp
  * contrib/hbqt/qtgui/QDragEnterEvent.cpp
  * contrib/hbqt/qtgui/QDragLeaveEvent.cpp
  * contrib/hbqt/qtgui/QDragMoveEvent.cpp
  * contrib/hbqt/qtgui/QDropEvent.cpp
  * contrib/hbqt/qtgui/QErrorMessage.cpp
  * contrib/hbqt/qtgui/QFileDialog.cpp
  * contrib/hbqt/qtgui/QFileIconProvider.cpp
  * contrib/hbqt/qtgui/QFileSystemModel.cpp
  * contrib/hbqt/qtgui/QFocusEvent.cpp
  * contrib/hbqt/qtgui/QFocusFrame.cpp
  * contrib/hbqt/qtgui/QFont.cpp
  * contrib/hbqt/qtgui/QFontComboBox.cpp
  * contrib/hbqt/qtgui/QFontDatabase.cpp
  * contrib/hbqt/qtgui/QFontDialog.cpp
  * contrib/hbqt/qtgui/QFontInfo.cpp
  * contrib/hbqt/qtgui/QFontMetrics.cpp
  * contrib/hbqt/qtgui/QFontMetricsF.cpp
  * contrib/hbqt/qtgui/QFormLayout.cpp
  * contrib/hbqt/qtgui/QFrame.cpp
  * contrib/hbqt/qtgui/QGradient.cpp
  * contrib/hbqt/qtgui/QGridLayout.cpp
  * contrib/hbqt/qtgui/QGroupBox.cpp
  * contrib/hbqt/qtgui/QHBoxLayout.cpp
  * contrib/hbqt/qtgui/QHeaderView.cpp
  * contrib/hbqt/qtgui/QHelpEvent.cpp
  * contrib/hbqt/qtgui/QIcon.cpp
  * contrib/hbqt/qtgui/QImage.cpp
  * contrib/hbqt/qtgui/QImageReader.cpp
  * contrib/hbqt/qtgui/QImageWriter.cpp
  * contrib/hbqt/qtgui/QInputContext.cpp
  * contrib/hbqt/qtgui/QInputDialog.cpp
  * contrib/hbqt/qtgui/QInputEvent.cpp
  * contrib/hbqt/qtgui/QInputMethodEvent.cpp
  * contrib/hbqt/qtgui/QItemSelection.cpp
  * contrib/hbqt/qtgui/QItemSelectionModel.cpp
  * contrib/hbqt/qtgui/QKeyEvent.cpp
  * contrib/hbqt/qtgui/QKeySequence.cpp
  * contrib/hbqt/qtgui/QLabel.cpp
  * contrib/hbqt/qtgui/QLayout.cpp
  * contrib/hbqt/qtgui/QLayoutItem.cpp
  * contrib/hbqt/qtgui/QLCDNumber.cpp
  * contrib/hbqt/qtgui/QLinearGradient.cpp
  * contrib/hbqt/qtgui/QLineEdit.cpp
  * contrib/hbqt/qtgui/QListView.cpp
  * contrib/hbqt/qtgui/QListWidget.cpp
  * contrib/hbqt/qtgui/QListWidgetItem.cpp
  * contrib/hbqt/qtgui/QMainWindow.cpp
  * contrib/hbqt/qtgui/QMatrix.cpp
  * contrib/hbqt/qtgui/QMenu.cpp
  * contrib/hbqt/qtgui/QMenuBar.cpp
  * contrib/hbqt/qtgui/QMessageBox.cpp
  * contrib/hbqt/qtgui/QMouseEvent.cpp
  * contrib/hbqt/qtgui/QMoveEvent.cpp
  * contrib/hbqt/qtgui/QMovie.cpp
  * contrib/hbqt/qtgui/QPageSetupDialog.cpp
  * contrib/hbqt/qtgui/QPaintDevice.cpp
  * contrib/hbqt/qtgui/QPainter.cpp
  * contrib/hbqt/qtgui/QPainterPath.cpp
  * contrib/hbqt/qtgui/QPaintEvent.cpp
  * contrib/hbqt/qtgui/QPalette.cpp
  * contrib/hbqt/qtgui/QPen.cpp
  * contrib/hbqt/qtgui/QPicture.cpp
  * contrib/hbqt/qtgui/QPixmap.cpp
  * contrib/hbqt/qtgui/QPolygon.cpp
  * contrib/hbqt/qtgui/QPolygonF.cpp
  * contrib/hbqt/qtgui/QPrintDialog.cpp
  * contrib/hbqt/qtgui/QPrintEngine.cpp
  * contrib/hbqt/qtgui/QPrinter.cpp
  * contrib/hbqt/qtgui/QPrintPreviewDialog.cpp
  * contrib/hbqt/qtgui/QProgressBar.cpp
  * contrib/hbqt/qtgui/QProgressDialog.cpp
  * contrib/hbqt/qtgui/QPushButton.cpp
  * contrib/hbqt/qtgui/QRadialGradient.cpp
  * contrib/hbqt/qtgui/QRadioButton.cpp
  * contrib/hbqt/qtgui/QRegion.cpp
  * contrib/hbqt/qtgui/QResizeEvent.cpp
  * contrib/hbqt/qtgui/QScrollArea.cpp
  * contrib/hbqt/qtgui/QScrollBar.cpp
  * contrib/hbqt/qtgui/QSizeGrip.cpp
  * contrib/hbqt/qtgui/QSizePolicy.cpp
  * contrib/hbqt/qtgui/QSlider.cpp
  * contrib/hbqt/qtgui/QSound.cpp
  * contrib/hbqt/qtgui/QSpacerItem.cpp
  * contrib/hbqt/qtgui/QSpinBox.cpp
  * contrib/hbqt/qtgui/QSplashScreen.cpp
  * contrib/hbqt/qtgui/QSplitter.cpp
  * contrib/hbqt/qtgui/QStandardItem.cpp
  * contrib/hbqt/qtgui/QStandardItemModel.cpp
  * contrib/hbqt/qtgui/QStatusBar.cpp
  * contrib/hbqt/qtgui/QStringListModel.cpp
  * contrib/hbqt/qtgui/QStyle.cpp
  * contrib/hbqt/qtgui/QStyledItemDelegate.cpp
  * contrib/hbqt/qtgui/QStyleFactory.cpp
  * contrib/hbqt/qtgui/QStyleHintReturn.cpp
  * contrib/hbqt/qtgui/QStyleHintReturnMask.cpp
  * contrib/hbqt/qtgui/QStyleHintReturnVariant.cpp
  * contrib/hbqt/qtgui/QStyleOption.cpp
  * contrib/hbqt/qtgui/QStyleOptionButton.cpp
  * contrib/hbqt/qtgui/QStyleOptionComboBox.cpp
  * contrib/hbqt/qtgui/QStyleOptionComplex.cpp
  * contrib/hbqt/qtgui/QStyleOptionDockWidget.cpp
  * contrib/hbqt/qtgui/QStyleOptionFocusRect.cpp
  * contrib/hbqt/qtgui/QStyleOptionFrame.cpp
  * contrib/hbqt/qtgui/QStyleOptionGroupBox.cpp
  * contrib/hbqt/qtgui/QStyleOptionHeader.cpp
  * contrib/hbqt/qtgui/QStyleOptionMenuItem.cpp
  * contrib/hbqt/qtgui/QStyleOptionProgressBar.cpp
  * contrib/hbqt/qtgui/QStyleOptionSizeGrip.cpp
  * contrib/hbqt/qtgui/QStyleOptionSlider.cpp
  * contrib/hbqt/qtgui/QStyleOptionSpinBox.cpp
  * contrib/hbqt/qtgui/QStyleOptionTab.cpp
  * contrib/hbqt/qtgui/QStyleOptionTabBarBase.cpp
  * contrib/hbqt/qtgui/QStyleOptionTabWidgetFrame.cpp
  * contrib/hbqt/qtgui/QStyleOptionTitleBar.cpp
  * contrib/hbqt/qtgui/QStyleOptionToolBar.cpp
  * contrib/hbqt/qtgui/QStyleOptionToolBox.cpp
  * contrib/hbqt/qtgui/QStyleOptionToolButton.cpp
  * contrib/hbqt/qtgui/QStyleOptionViewItem.cpp
  * contrib/hbqt/qtgui/QStylePainter.cpp
  * contrib/hbqt/qtgui/QSystemTrayIcon.cpp
  * contrib/hbqt/qtgui/QTabBar.cpp
  * contrib/hbqt/qtgui/QTableView.cpp
  * contrib/hbqt/qtgui/QTableWidget.cpp
  * contrib/hbqt/qtgui/QTableWidgetItem.cpp
  * contrib/hbqt/qtgui/QTableWidgetSelectionRange.cpp
  * contrib/hbqt/qtgui/QTabWidget.cpp
  * contrib/hbqt/qtgui/QTextBlock.cpp
  * contrib/hbqt/qtgui/QTextBlockFormat.cpp
  * contrib/hbqt/qtgui/QTextBrowser.cpp
  * contrib/hbqt/qtgui/QTextCharFormat.cpp
  * contrib/hbqt/qtgui/QTextCursor.cpp
  * contrib/hbqt/qtgui/QTextDocument.cpp
  * contrib/hbqt/qtgui/QTextDocumentFragment.cpp
  * contrib/hbqt/qtgui/QTextDocumentWriter.cpp
  * contrib/hbqt/qtgui/QTextEdit.cpp
  * contrib/hbqt/qtgui/QTextFormat.cpp
  * contrib/hbqt/qtgui/QTextFragment.cpp
  * contrib/hbqt/qtgui/QTextFrame.cpp
  * contrib/hbqt/qtgui/QTextFrameFormat.cpp
  * contrib/hbqt/qtgui/QTextImageFormat.cpp
  * contrib/hbqt/qtgui/QTextInlineObject.cpp
  * contrib/hbqt/qtgui/QTextItem.cpp
  * contrib/hbqt/qtgui/QTextLayout.cpp
  * contrib/hbqt/qtgui/QTextLength.cpp
  * contrib/hbqt/qtgui/QTextLine.cpp
  * contrib/hbqt/qtgui/QTextListFormat.cpp
  * contrib/hbqt/qtgui/QTextOption.cpp
  * contrib/hbqt/qtgui/QTextTableFormat.cpp
  * contrib/hbqt/qtgui/QTimeEdit.cpp
  * contrib/hbqt/qtgui/QToolBar.cpp
  * contrib/hbqt/qtgui/QToolBox.cpp
  * contrib/hbqt/qtgui/QToolButton.cpp
  * contrib/hbqt/qtgui/QTransform.cpp
  * contrib/hbqt/qtgui/QTreeView.cpp
  * contrib/hbqt/qtgui/QTreeWidget.cpp
  * contrib/hbqt/qtgui/QTreeWidgetItem.cpp
  * contrib/hbqt/qtgui/QValidator.cpp
  * contrib/hbqt/qtgui/QVBoxLayout.cpp
  * contrib/hbqt/qtgui/QWheelEvent.cpp
  * contrib/hbqt/qtgui/QWidget.cpp
  * contrib/hbqt/qtgui/QWidgetAction.cpp
  * contrib/hbqt/qtgui/QWidgetItem.cpp
  * contrib/hbqt/qtgui/QWindowsStyle.cpp
  * contrib/hbqt/qtgui/QWindowsXPStyle.cpp
  * contrib/hbqt/qtgui/QWizard.cpp
  * contrib/hbqt/qtgui/QWizardPage.cpp

  * contrib/hbqt/qtnetwork/QFtp.cpp
  * contrib/hbqt/qtnetwork/QHttp.cpp
  * contrib/hbqt/qtnetwork/QHttpRequestHeader.cpp
  * contrib/hbqt/qtnetwork/QHttpResponseHeader.cpp
  * contrib/hbqt/qtnetwork/QNetworkRequest.cpp
  * contrib/hbqt/qtwebkit/QWebHistoryInterface.cpp
  * contrib/hbqt/qtwebkit/QWebHistoryItem.cpp
  * contrib/hbqt/qtwebkit/QWebHitTestResult.cpp
  * contrib/hbqt/qtwebkit/QWebPage.cpp
  * contrib/hbqt/qtwebkit/QWebPluginFactory.cpp
  * contrib/hbqt/qtwebkit/QWebSecurityOrigin.cpp
  * contrib/hbqt/qtwebkit/QWebView.cpp

  * contrib/hbxbp/xbpdialog.prg
  * contrib/hbxbp/xbpwindow.prg

  * contrib/hbxbp/tests/demoxbp.prg

    + Added few more debug constructs.
    + Replaced  delete ( QObject * ) obj => ( ( QObject * ) obj )->~QObject().
      This is the documented method. But nevertheless there is no difference 
      in the two approaches. Actually "delete" operator redirects the call to 
      ~Qobject().
    ! Reworked the sequence of Class destuction logic.

      Lorenzo, please rebuild and report back if exiting demoxbp still GPFs 
      on Ubuntu.
2009-11-02 04:25:52 +00:00
Viktor Szakats
5f3348c5ae 2009-11-02 02:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    + Added autodetection of x86_64 architecture on win platform 
      even when using 32-bit build of GNU Make.
      (This makes usage of 64-bit build of GNU Make less important.)
2009-11-02 01:17:21 +00:00
Viktor Szakats
3ef4c5f0f5 2009-11-01 19:20 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbcurl/hbcurl.c
    ! hb<Type> -> HB_<TYPE>.
2009-11-01 18:21:03 +00:00
Viktor Szakats
5a4d5519e3 2009-11-01 19:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbsocket.c
    ! hb<Type> -> HB_<TYPE>.
2009-11-01 18:11:13 +00:00
Viktor Szakats
bf4650f563 2009-11-01 17:08 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    + Added HB_BYTE as synonym to BYTE.
2009-11-01 16:09:04 +00:00
Viktor Szakats
c7a629f13d 2009-11-01 17:02 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    * Changed HB_SIZE to ULONG. Added TOFIX to later change it 
      to 'long'. With its current setup it's possible to gradually 
      change 'ULONG' usages to 'HB_SIZE' when used as string/array 
      length ot index. This can be a gradual process.
2009-11-01 16:03:44 +00:00
Viktor Szakats
4c9e523175 2009-11-01 16:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    + Added HB_MAX[U]INT as new name for HB_[U]LONG.
    + Added HB_[U]LONG to new type list with TOFIX note.
    * Changed HB_ATTR to not rely on Windows type.
    - Deleted hb[Type] style types from planning.
2009-11-01 15:59:43 +00:00
Viktor Szakats
014c24624f 2009-11-01 13:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/detect.mk
    - Disabled OpenSSL detection for bcc.
      For some reason it's building with errors now.
      I can't figure what change caused this as it was building 
      fine a month ago. It's not the hbssl source code, openssl 
      sources are the same, I have no time to figure it out.
      Anyway it wasn't working with bcc at link time anyway.
2009-11-01 12:24:06 +00:00
Viktor Szakats
a6006e11d1 2009-11-01 11:35 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    + Added new planned types. These are meant to replace previous 
      proposition with the format 'hb<Type>'. New ones use usual 
      'HB_<TYPE>' format. Also added HB_TRUE and HB_FALSE.
      These new names don't look alien at all in code, so hopefully 
      we can go into the transition with more courage. As a plus, 
      some of the HB_TYPE format types are already implemented and 
      used (HB_WCHAR, HB_LONG, HB_ULONG, etc).
      A new important type is HB_SIZE, which I hope will replace 
      ULONG for string and array indices.
    * Changed HB_CHAR to be declared as 'char' instead of 'BYTE'.
      (this type was added long ago, but is not yet used anywhere 
      in code)
    * Changed HB_COLOR to be declared as 'int' instead of 'BYTE'.
      (this type was added long ago, but is not yet used anywhere 
      in code, since then we've settled to 'int' to represent 
      colors. Pbly we should move to use this abstract type instead 
      of int in code.)
    ; I left hb<Type> code as of yet, but if there is no objection, 
      I'd like to remove them.
    ; Here are the new types:

      HB_TRUE
      HB_FALSE
      HB_BOOL
      HB_BYTE
      HB_CHAR
      HB_ULONG
      HB_LONG
      HB_UINT
      HB_SHORT
      HB_USHORT
      HB_LONGLONG
      HB_ULONGLONG
      HB_I8
      HB_U8
      HB_I16 ( HB_I16_MIN, HB_I16_MAX )     
      HB_U16 ( HB_U16_MAX )
      HB_I32 ( HB_I32_MIN, HB_I32_MAX )
      HB_U32 ( HB_U32_MAX )            
      HB_I64 ( HB_I64_MIN, HB_I64_MAX )
      HB_U64 ( HB_U64_MAX )            
      HB_SCHAR
      HB_UCHAR
      HB_SIZE
      HB_DOUBLE

    ; QUESTION: Do we really need 3 different flavors to denote char/byte?
                HB_BYTE - HB_UCHAR - HB_U8
                HB_CHAR - HB_SCHAR - HB_I8
                If not, we should decide which ones to keep.
                If yes, it would be nice to have some guide when to use which.
2009-11-01 10:43:15 +00:00
Viktor Szakats
530f25966e 2009-11-01 09:41 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added plans (TODO) for next gen compiler autodetection.
      This will surpass currently implemented autodetection in 
      build system. The basic feature added is detection of all 
      compilers supported by Harbour installation, so it's not 
      possible to select one which is not installed, plus more 
      feedback can be given to user. It also cleans embedded vs 
      in-PATH compilers and gives an easier way to prioritize 
      found compilers. This is definitely scheduled after 
      2.0.0 release, and when I have (more) time.
2009-11-01 08:46:47 +00:00
Pritpal Bedi
29ae91b0af 2009-10-31 10:23 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/hbqt.h
  * contrib/hbqt/hbqt_destruct.cpp
  * contrib/hbqt/hbqt_slots.cpp
  * contrib/hbqt/hbqt_slots.h
  * contrib/hbqt/moc_slots.cpp
  * contrib/hbxbp/tests/demoxbp.prg
  * contrib/hbxbp/xbpbrowse.prg
  * contrib/hbxbp/xbpdialog.prg
  * contrib/hbxbp/xbpgeneric.prg
  * contrib/hbxbp/xbpmenubar.prg
  * contrib/hbxbp/xbpwindow.prg
  * contrib/qtgui/QTableView.cpp
  * contrib/qtgui/TQTableView.prg
    ! Some more debug information included.
      Please note that the build may be broken, so bear with me for a 
      couple of days. Lorenzo, you can continue with experiments.
2009-10-31 17:36:49 +00:00
Przemyslaw Czerpak
c861f8053d 2009-10-31 16:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/rddads/ads1.c
    ! In APPEND metohd generate RT error EG_APPENDLOCK only if ACE returns
      1024 error code (Append Lock Failed). In all other cases generate
      EG_CORRUPTION RTE.
      This modifications allows to early detect some serious problems like
      index corruptions in Mindaugas example with long keys in ADSCDX.
      Warning! Before ADS RDD generated EG_APPENDLOCK for each errors
      returned by AdsAppendRecord() and they were caught by default error
      handler (ERRORSYS) and silently converted to NetErr().
      Now only for 1024 ACE error which is real append lock error
      EG_APPENDLOCK is generated and all other errors will not be silently
      ignored so it's also possible that this modification will exploit
      some errors in concurrent accessed which are not reported by ADS/ACE
      as 1024 and maybe we will have to report them as EG_APPENDLOCK too.
      In such case please send information about such error codes here.
2009-10-31 15:42:51 +00:00
Przemyslaw Czerpak
9cb8e49022 2009-10-31 12:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rdd/dbfcdx/dbfcdx1.c
    % added small protection against code which may want to create
      degenerated index tree using very large keys (over 158 bytes length)
2009-10-31 11:44:18 +00:00
Viktor Szakats
4517734d5c 2009-10-31 10:45 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ w64-make.exe
    + Added win64 build of GNU Make 3.81.90-CVS-20090901.
      Experimental. On 64-bit Windows systems it's generally 
      recommended to use this version, but please be aware of 
      the experimental nature of this build yet. There are 
      some pending patches in GNU Make bug tracker, plus latest 
      CVS is broken so I used the latest good one.
2009-10-31 09:47:47 +00:00
Przemyslaw Czerpak
041227cec3 2009-10-31 02:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapicdp.h
  * harbour/src/rtl/cdpapi.c
    * modified hb_cdpStringInU16Length() to return size in 'HB_WCHAR'
      instead of 'char' characters
    + added hb_cdpStrnToU16n(), hb_cdpStrnToU16LEn(),
      hb_cdpStringInU16Length2()
2009-10-31 01:25:38 +00:00
Viktor Szakats
a0c17bcb0a 2009-10-31 00:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added NOTE for Borland C++ users how to setup their 
      compiler. This is repetition of Borland readme content
      which seemingly nobody reads and do this day many users 
      get wrong. I'm not sure if these same users will read 
      INSTALL, but let's give it a try.

  * ChangeLog
    ! Fixed my timezone since last weekend.
2009-10-30 23:21:12 +00:00
Mindaugas Kavaliauskas
5f9a349e9a 2009-10-31 00:42 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/docs/xhb-diff.txt
    ! fixed some typo errors
2009-10-30 22:43:12 +00:00
Viktor Szakats
789b999765 2009-10-30 22:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/RELNOTES
    + Provisions for next version: MinGW 4.4.1 updated documented.
      Now at TDM-2, fixing some seriously looking performance 
      problem. (tdragon.net distro)
2009-10-30 21:25:49 +00:00
Viktor Szakats
4dd4bb3047 2009-10-30 21:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Fixed name usage in a few places ('hbmk' -> 'hbmk2').
2009-10-30 20:08:15 +00:00
Mindaugas Kavaliauskas
2601f8b40b 2009-10-30 21:50 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddads/ads1.c
    * added ADS function return value check in a few places
2009-10-30 19:53:10 +00:00
Przemyslaw Czerpak
ec05ab3c34 2009-10-30 17:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/common/hbffind.c
    * small buffer size fix

  * harbour/src/rtl/cdpapi.c
  * harbour/include/hbapicdp.h
    + added HB_WCAHR
    * changed USHORT to HB_WCHAR

  * harbour/src/codepage/ucmacce.c
  * harbour/src/codepage/uckoi8.c
  * harbour/src/codepage/uc885910.c
  * harbour/src/codepage/ucmacice.c
  * harbour/src/codepage/uc885914.c
  * harbour/src/codepage/uc874.c
  * harbour/src/codepage/uc857.c
  * harbour/src/codepage/uc1250.c
  * harbour/src/codepage/uc1254.c
  * harbour/src/codepage/uc1258.c
  * harbour/src/codepage/uckoi8u.c
  * harbour/src/codepage/uckam.c
  * harbour/src/codepage/uc424.c
  * harbour/src/codepage/ucmacrom.c
  * harbour/src/codepage/uc862.c
  * harbour/src/codepage/uc866.c
  * harbour/src/codepage/uc8859_3.c
  * harbour/src/codepage/uc8859_7.c
  * harbour/src/codepage/ucmacgrk.c
  * harbour/src/codepage/uc037.c
  * harbour/src/codepage/uc850.c
  * harbour/src/codepage/uc885911.c
  * harbour/src/codepage/uc885915.c
  * harbour/src/codepage/uc875.c
  * harbour/src/codepage/uc1251.c
  * harbour/src/codepage/uc1255.c
  * harbour/src/codepage/uc863.c
  * harbour/src/codepage/ucmaz.c
  * harbour/src/codepage/uc1026.c
  * harbour/src/codepage/uc8859_4.c
  * harbour/src/codepage/uc8859_8.c
  * harbour/src/codepage/uc855.c
  * harbour/src/codepage/uc885916.c
  * harbour/src/codepage/ucascii.c
  * harbour/src/codepage/uc1252.c
  * harbour/src/codepage/uc1256.c
  * harbour/src/codepage/ucatari.c
  * harbour/src/codepage/uc860.c
  * harbour/src/codepage/ucmaccyr.c
  * harbour/src/codepage/ucmik.c
  * harbour/src/codepage/uc864.c
  * harbour/src/codepage/uc1006.c
  * harbour/src/codepage/uc1125.c
  * harbour/src/codepage/uc8859_1.c
  * harbour/src/codepage/uc88591b.c
  * harbour/src/codepage/uc8859_5.c
  * harbour/src/codepage/uc8859_9.c
  * harbour/src/codepage/uc852.c
  * harbour/src/codepage/ucnext.c
  * harbour/src/codepage/uc737.c
  * harbour/src/codepage/uc885913.c
  * harbour/src/codepage/ucmactrk.c
  * harbour/src/codepage/uc856.c
  * harbour/src/codepage/uc775.c
  * harbour/src/codepage/uc1253.c
  * harbour/src/codepage/uc1257.c
  * harbour/src/codepage/uc500.c
  * harbour/src/codepage/uc861.c
  * harbour/src/codepage/uc865.c
  * harbour/src/codepage/uc869.c
  * harbour/src/codepage/uc8859_2.c
  * harbour/src/codepage/uc8859_6.c
    * changed USHORT to HB_WCHAR
2009-10-30 16:56:47 +00:00
Viktor Szakats
48c7f008ce 2009-10-30 17:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Minor fix to UPX supported platforms.

  * contrib/hbmisc/Makefile
  + contrib/hbmisc/ffind.c
    + Added direct file find API from my own function collection:
        FILEFINDFIRST( <cFileNameMask>, @<ffindinfo>[, <nAttr> ] ) -> <lFound>
        FILEFINDNEXT( <ffindinfo> ) -> <lFound>
        FILEFINDNAME( <ffindinfo> ) -> <cFileName> (without drive/dir)
        FILEFINDATTR( <ffindinfo> ) -> <nAttr>
        FILEFINDSIZE( <ffindinfo> ) -> <nSize>
        FILEFINDDATE( <ffindinfo> ) -> <dDate>
        FILEFINDTIME( <ffindinfo> ) -> <cTime> (as "HH:MM:SS")
      It's an alternative to DIRECTORY()/FILE() functions.
    ; NOTE: To release the file find handle on some platforms 
            (like Windows), and allow deletion of the dir we've 
            been scanning, <ffindinfo> should go out of scope or 
            be explicitly release by freeing <ffindinfo> variable.
            To make this easy, some may want to add:
               #xtranslate FILEFINDCLOSE( <f> )  => \( <f> := NIL \)
               #xtranslate FILEFINDCLOSE( @<f> ) => \( <f> := NIL \)
    ; NOTE: Could be extended to return new timestamp format.

  * contrib/rddads/adsfunc.c
    + Added lAlive := AdsIsConnectionAlive( hConnection ) function.
      Borrowed from Augusto Infante / xhb.
      Three small fixes applied.
2009-10-30 16:19:18 +00:00
Viktor Szakats
a96bf01055 2009-10-30 07:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/compiler/hbgenerr.c
    * Minor formatting.

  * doc/xhb-diff.txt
    * Changed HBCRYPT to HBSSL in examples to contribs.
2009-10-30 06:34:38 +00:00
Przemyslaw Czerpak
f7f2caa607 2009-10-30 03:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/common/hbgete.c
  * harbour/src/common/hbffind.c
  * harbour/src/common/hbfsapi.c
  * harbour/src/rtl/fstemp.c
  * harbour/src/rtl/filesys.c
  * harbour/src/rtl/diskspac.c
  * harbour/src/rtl/disksphb.c
  * harbour/src/rtl/net.c
    ! fixed memory leak reported by Pritpal
    * cleanup some UNICODE conversions in Windows builds (mostly resolved
      some macros when UNICODE macro is also explicitly used and cleaned
      some buffers length passed to windows functions.
    * removed unnecessary casting - if it's not necessary for some strange
      reasons never cast strings to LP[C][TW]STR calling windows functions.
      Such casting does not make any conversions but only hides potential
      bugs.

  * harbour/contrib/hbwin/axcore.c
    * pacified warning
2009-10-30 02:41:17 +00:00
Przemyslaw Czerpak
8148d544e5 2009-10-29 22:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/doc/xhb-diff.txt
    + added information about Harbour and xHarbour versions described by
      above text - thanks to Chen for suggestion
    * small update for HBNETIO and HBMEMIO
2009-10-29 21:30:52 +00:00
Pritpal Bedi
640b0815c0 2009-10-29 09:58 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_slots.cpp

  * contrib/hbqt/qtgui/QTreeWidgetItem.cpp

  * contrib/hbxbp/xbpbrowse.prg
  * contrib/hbxbp/xbpdialog.prg
  * contrib/hbxbp/xbpgeneric.prg
  * contrib/hbxbp/xbpmenubar.prg
  * contrib/hbxbp/xbpstatusbar.prg
  * contrib/hbxbp/xbptoolbar.prg
  * contrib/hbxbp/xbpwindow.prg

  * contrib/hbxbp/tests/demoxbp.prg
    ! Demoxbp.exe now terminates properly after releasing all Qt objects
      and releasing Qt objects memory. Analysis follows.
n
2009-10-29 17:04:20 +00:00
Przemyslaw Czerpak
b307b30e68 2009-10-29 16:58 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/doc/xhb-diff.txt
    * fixed some typos
    * svn ps svn:keywords "Author Date Id Revision"
2009-10-29 15:58:12 +00:00
Przemyslaw Czerpak
ff3649b64d 2009-10-29 15:41 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/dates.c
    ! fixed HB_TTOC() to not add leading space when date part is empty
2009-10-29 14:41:46 +00:00
Przemyslaw Czerpak
5d62222866 2009-10-29 15:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
+ harbour/doc/xhb-diff.txt
    + added text which describes most important differences between Harbour
      and xHarbour with some references to Clipper and other compatible
      compilers like xBase++, CLIP, FlagShip.
      Many thanks to Viktor and Pritpal for updating this text.
2009-10-29 14:17:17 +00:00
Viktor Szakats
2b0537cfcb 2009-10-29 09:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added link to QT build instructions.
2009-10-29 08:25:52 +00:00
Viktor Szakats
55adfc642f (deleted accidental debug line) 2009-10-29 07:47:39 +00:00
Viktor Szakats
f91fac0cd3 2009-10-29 08:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixes to lib dependency detection code.
      It should now work on darwin/bsd/hpux/beos gcc/clang/sunpro 
      platforms/compilers but obviously I didn't test them all
      (only darwin/clang).
      There was one typo hitting generic branch of lib detection 
      plus lib prefix was not taken into account at all there.
      Probably on some platforms it would be better to implement 
      target specific lib searching algorithm to mimic actual 
      linker behaviour. Currently, differences are to be expected.
    - Deleted gccomf from a win/wce only branch in LibExists().
2009-10-29 07:37:56 +00:00
Pritpal Bedi
04765ae783 * contrib/hbqt/hbqt_slots.cpp
* contrib/hbqt/hbqt_slots.h

  * contrib/hbqt/qth/QAbstractItemModel.qth
  * contrib/hbqt/qtcore/QAbstractItemModel.cpp
  * contrib/hbqt/qtcore/TQAbstractItemModel.prg

  * contrib/hbxbp/xbpbrowse.prg
  * contrib/hbxbp/xbpdialog.prg
  * contrib/hbxbp/xbpgeneric.prg
  * contrib/hbxbp/xbphtmlviewer.prg
  * contrib/hbxbp/xbpparthandler.prg
  * contrib/hbxbp/xbpprintdialog.prg
  * contrib/hbxbp/xbpstatusbar.prg
  * contrib/hbxbp/xbptabpage.prg
  * contrib/hbxbp/xbptreeview.prg
  * contrib/hbxbp/xbpwindow.prg

  * contrib/hbxbp/tests/demoxbp.prg
    % Fixes TO release memory properly.
    ! Only a small part is remaining FOR optimization and complete memory recovery.
2009-10-29 02:16:21 +00:00
Pritpal Bedi
9fdb603cc6 2009-10-28 02:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_slots.cpp
  * contrib/hbqt/hbqt_slots.h
  * contrib/hbqt/moc_slots.cpp

  * contrib/hbqt/qtcore/QAbstractItemModel.cpp
  * contrib/hbqt/qtcore/TQAbstractItemModel.prg
  * contrib/hbqt/qth/QAbstractItemModel.qth

  * contrib/hbxbp/xbpbrowse.prg
  * contrib/hbxbp/xbpdialog.prg
  * contrib/hbxbp/xbpgeneric.prg
  * contrib/hbxbp/xbphtmlviewer.prg
  * contrib/hbxbp/xbplistbox.prg
  * contrib/hbxbp/xbprtf.prg
  * contrib/hbxbp/xbptabpage.prg
  * contrib/hbxbp/xbptreeview.prg
  * contrib/hbxbp/xbpwindow.prg

  * contrib/hbxbp/tests/demoxbp.prg
    
    ! Fixes to release objects in proper order.
      Now demoxbp.exe terminates fine. Also you can 
      open as many dialogs as you want. Closing next dialog
      releases the memory belonging to Qt objects but still
      I have to investigate why whole of thread memory is not 
      released. So I have kept debug code intact. Just play with 
      current code, may be you can pin-point where Xbp*classes 
      need more tweaks.
2009-10-28 09:12:14 +00:00
Przemyslaw Czerpak
bdd496a088 2009-10-28 09:13 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtxwc/gtxwc.c
    * use XSetWMName() instead of XStoreName() to set window title
      using UTF8 strings

  * harbour/include/hbapigt.h
    * always declare hb_gtIsGtRef() for C++ compiler
2009-10-28 08:13:41 +00:00
Przemyslaw Czerpak
33b8f7bd83 2009-10-27 19:49 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/codepage/cpru866.c
  * harbour/src/codepage/cpruiso.c
  * harbour/src/codepage/cprukoi.c
  * harbour/src/codepage/cpruwin.c
  * harbour/src/codepage/cpua1125.c
  * harbour/src/codepage/cpua866.c
  * harbour/src/codepage/cpuakoi.c
  * harbour/src/codepage/cpuawin.c
    * use macros in codepage definition instead of direct constant values
2009-10-27 18:49:44 +00:00
Viktor Szakats
a0e07d3940 2009-10-27 17:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/axcore.c
    * Replaced duplicated constant with HB_SIZEOFARRAY() macro.

  * utils/hbmk2/hbmk2.prg
    + C compiler autodetection will now make sure to skip compilers 
      where required Harbour core libraries aren't installed.
      This autodetection is disabled when HB_LIB_INSTALL is set 
      manually and also when lib/<plat> dir is missing altogether, 
      assuming there is a single-compiler installation used in this 
      case (where such autodetection cannot work reliably).
      When using -info option, a screen message is shown if 
      autodetected C compiler is skipped for above reason.
2009-10-27 16:39:24 +00:00
Przemyslaw Czerpak
fa7562e992 2009-10-27 11:51 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/xhb/xhbarr.c
    + added XHB_AINS(), XHB_ADEL() functions which accept negative indexes.
      Warning I haven't replicated xHarbour bugs in AINS() so it's not
      exactly the same. Sooner or later someone will fix AINS() code in
      xHarbour CVS. This code illustrates the problem and also
      incompatibilities with Clipper:
         #ifdef __HARBOUR__
            #ifndef __XHARBOUR__
               #xtranslate adel(<x,...>) => xhb_adel(<x>)
               #xtranslate ains(<x,...>) => xhb_ains(<x>)
            #endif
         #endif
         proc main()
            local a := { 100, 200, 300 }
            ? ; aeval( a, { |x| qout( x ) } )
            adel( a, -1, .t. )
            ? ; aeval( a, { |x| qout( x ) } )
            ains( a, -1, 400, .t. )
            ? ; aeval( a, { |x| qout( x ) } )
            ains( a )
            ? ; aeval( a, { |x| qout( x ) } )
         return
2009-10-27 10:51:37 +00:00