Commit Graph

1296 Commits

Author SHA1 Message Date
Viktor Szakats
b2f02738b9 2009-09-12 11:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    + Added ppc detection on PPC macs.
    ! Fixed 64bit CPUs detection.
2009-09-12 09:49:14 +00:00
Viktor Szakats
d026a1a1e8 2009-09-12 11:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    + Added several CPUs to CPU autodetection.
    ; Please test it on actual systems.
2009-09-12 09:30:00 +00:00
Viktor Szakats
4819870aab 2009-09-12 11:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    + Added logic for host CPU detection on *nix systems.
      Please extend 'check_host_cpu' with more real-world values.
    + HB_CPU made equal to HB_HOST_CPU for *nix systems.
      This should be fine-tuned on the compiler level depending
      on default compiler behaviour and ABI modifier options.
      (if we do this further tweaks in global.mk will be needed)

  * INSTALL
    ! Deleted wrong (and duplicate) HB_INC_* value.
2009-09-12 09:18:34 +00:00
Viktor Szakats
830dbfd69c 2009-09-12 11:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Minor tuning here and there.

  * external/libhpdf/Makefile
    + Enabled libpng detection on darwin.

  * config/linux/icc.mk
  * config/linux/sunpro.mk
    + Implemented PIC compilation phase.

  * config/linux/global.mk
    * Deleted hacks dealing with PIC. Notice that now
      we use -fpic on gcc/icc, while it was previously
      set to -fPIC. The old hacks enabled PIC only for
      Intel x86/x86_64 ABIs, which is now removed. Pls
      speak up if we need to readd them on compiler
      level. This way it'd be possible to optimize out second
      compilation pass for ABIs which don't need special
      PIC code generation. To make this useful in a generic
      way, IMO we should fix ABI (CPU) HB_HOST_CPU/HB_CPU
      detection in global.mk for *nix systems, and do
      compiler level decisions based on HB_CPU value.

  * config/linux/gcc.mk
    * Minor option reordering.
2009-09-12 09:01:27 +00:00
Viktor Szakats
a3ae875d9a 2009-09-12 01:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/linux/gcc.mk
    + Enabled separate -fpic (with lowercase as a start) compilation
      phase for Harbour dynlib.
    % Deleted -fPIC from dynlib link command-line. Please advise if
      this is necessary and what are the rules here. On linux/ubuntu
      it made no difference whatsoever.
    ; Please test.
    ; TODO: hbmk2 will have to updated once we've settled with fpic
            setup in GNU Make.

  * config/darwin/icc.mk
    - Deleted commented fpic option. On darwin this is not needed,
      but some further research will be needed what *is* needed
      on this platform. (check -fno-common).
2009-09-11 23:17:06 +00:00
Viktor Szakats
5c4c1c89b4 2009-09-11 11:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to include system zlib/pcre libs in static mode if local built lib
      isn't found.

  * external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * utils/hbmk2/hbmk2.prg
  * contrib/hbsqlit3/Makefile
  * contrib/hbhpdf/Makefile
  * config/detfun.mk
  * config/detect.mk
    - Deleted _DET_LOC_PLAT variable.

  * package/winuni/mpkg_win_uni_extra_copy.bat
    - Deleted some extra commented lines dealing with pcre/zlib headers.
2009-09-11 09:17:44 +00:00
Viktor Szakats
84b016778c 2009-09-11 03:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added Ubuntu pcre and zlib pkg information.
    + Documented HB_INC_ZLIB and HB_INC_PCRE settings.
    + Documented 'local' setting of HB_INC_* values.

  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * source/rtl/Makefile
  * contrib/xhb/Makefile
  * contrib/hbmzip/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbhpdf/Makefile
  * config/detfun.mk
  * config/detect.mk
    % Avoid redetection for local packages.
    + Integrated logic to find out whether we're using the local
      copy of any given package. This is now returned in a
      variable called HB_HAS_*_LOCAL, if this value is non-empty
      we're using the local version.
    + Added HB_INC_* option 'local', which will force using the
      locally hosted version of given package.
    + HB_HAS_* variable will now contain only the first dir where
      header was detected.
    + Locally hosted headers will always be detected now, if they
      weren't found at any default system locations.
    + Added 'nolocal' HB_INC_* option which disables above behaviour.
    ; TODO: Delete _DET_LOC_PLAT variable if current system turns
            out to work well.
    ; NOTE: I've yet to test all this on *nix.

  * config/global.mk
    + Added HB_HOST_PLAT_UNIX variable.

  * contrib/hbhpdf/Makefile
    ! Fixed mistake in prev commit.

  * contrib/gtwvg/Makefile
  * source/rtl/gttrm/Makefile
  * external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
    % Optimization in make logic in GTWVG Makefile.
    - HB_WITH_* vars changed to not aid user override.
    + Displaying more meaningful reason if skipped.
    + compiler/platform availability checks laxed to reflect real buildability
      (will most probably need refinements), so that it becomes possible to
      use these even on *nix platforms, in case the system hosted copy is not
      good for us or not available.
    + Now these will be built if autodetections reveals that local version
      is to be used.
    * Renamed HB_WITH_* vars to HB_SUPPORTED to not collide with HB_WITH_*
      concept which is due to replace HB_INC_*.
    ; IOW: Now it should be possible to enable these locally hosted components
           on any systems/scenarios where compilation of the given component
           is supported. This happens automatically according to HB_INC_*
           variables.
2009-09-11 01:37:44 +00:00
Viktor Szakats
34e6ddd4c8 2009-09-10 21:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added new section "HOW TO CONTRIBUTE". Very short, ideas are
      welcome who to extend it.

  * config/bsd/gcc.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/hpux/gcc.mk
  * config/win/xcc.mk
  * config/win/mingw.mk
  * config/win/pocc.mk
  * config/win/icc.mk
  * config/win/cygwin.mk
  * config/win/msvc.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/linux/sunpro.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    * Synced the way LIBPATHS variable is formed and used in all
      .mk files.
    ! Fixed to pass LIBPATHS to dynlib link command too.

  * contrib/hbqt/qth/QApplication.qth
    ! Reapplyied previous patch to .qth file.

  * contrib/hbqt/generator/hbqtgen.prg
    + Added WARNING text to generated source files informing
      developers about this very fact, and pointing to .qth files
      and the generator as the proper places to make modifications.

  * contrib/hbqt/QWebSecurityOrigin.cpp
  * contrib/hbqt/QDragEnterEvent.cpp
  * contrib/hbqt/QPageSetupDialog.cpp
  * contrib/hbqt/TQToolBox.prg
  * contrib/hbqt/QTextBoundaryFinder.cpp
  * contrib/hbqt/QTextCodec.cpp
  * contrib/hbqt/QWindowsXPStyle.cpp
  * contrib/hbqt/QGridLayout.cpp
  * contrib/hbqt/TQTreeView.prg
  * contrib/hbqt/TQTextCharFormat.prg
  * contrib/hbqt/TQTextLine.prg
  * contrib/hbqt/QConicalGradient.cpp
  * contrib/hbqt/QTextLength.cpp
  * contrib/hbqt/TQRect.prg
  * contrib/hbqt/TQInputEvent.prg
  * contrib/hbqt/TQWidgetItem.prg
  * contrib/hbqt/QGradient.cpp
  * contrib/hbqt/TQTextItem.prg
  * contrib/hbqt/TQTimeEdit.prg
  * contrib/hbqt/TQDropEvent.prg
  * contrib/hbqt/QStandardItemModel.cpp
  * contrib/hbqt/TQTextObject.prg
  * contrib/hbqt/TQSizeF.prg
  * contrib/hbqt/QPicture.cpp
  * contrib/hbqt/QAction.cpp
  * contrib/hbqt/QPaintEvent.cpp
  * contrib/hbqt/TQStyleHintReturn.prg
  * contrib/hbqt/QStyledItemDelegate.cpp
  * contrib/hbqt/QAbstractListModel.cpp
  * contrib/hbqt/QWidget.cpp
  * contrib/hbqt/TQProgressBar.prg
  * contrib/hbqt/TQFontDatabase.prg
  * contrib/hbqt/QFontDialog.cpp
  * contrib/hbqt/QToolBox.cpp
  * contrib/hbqt/QResource.cpp
  * contrib/hbqt/TQLineEdit.prg
  * contrib/hbqt/TQHBoxLayout.prg
  * contrib/hbqt/TQWebHistory.prg
  * contrib/hbqt/QMouseEvent.cpp
  * contrib/hbqt/QTextEdit.cpp
  * contrib/hbqt/TQToolBar.prg
  * contrib/hbqt/TQAbstractItemModel.prg
  * contrib/hbqt/TQTreeWidget.prg
  * contrib/hbqt/QPointF.cpp
  * contrib/hbqt/QFontComboBox.cpp
  * contrib/hbqt/QStyle.cpp
  * contrib/hbqt/TQSplitter.prg
  * contrib/hbqt/TQComboBox.prg
  * contrib/hbqt/QStyleOptionHeader.cpp
  * contrib/hbqt/QListView.cpp
  * contrib/hbqt/QWheelEvent.cpp
  * contrib/hbqt/QRadialGradient.cpp
  * contrib/hbqt/QLayout.cpp
  * contrib/hbqt/QCursor.cpp
  * contrib/hbqt/TQProgressDialog.prg
  * contrib/hbqt/QLabel.cpp
  * contrib/hbqt/TQBoxLayout.prg
  * contrib/hbqt/QFocusEvent.cpp
  * contrib/hbqt/QStyleHintReturn.cpp
  * contrib/hbqt/QStyleOptionToolButton.cpp
  * contrib/hbqt/QStylePainter.cpp
  * contrib/hbqt/QBrush.cpp
  * contrib/hbqt/QWebPluginFactory.cpp
  * contrib/hbqt/TQRadioButton.prg
  * contrib/hbqt/TQSystemTrayIcon.prg
  * contrib/hbqt/TQListWidgetItem.prg
  * contrib/hbqt/QLinearGradient.cpp
  * contrib/hbqt/QProgressBar.cpp
  * contrib/hbqt/TQTextFrame.prg
  * contrib/hbqt/TQTextBlock.prg
  * contrib/hbqt/QDragLeaveEvent.cpp
  * contrib/hbqt/TQStyleOptionViewItem.prg
  * contrib/hbqt/QClipboard.cpp
  * contrib/hbqt/QStyleOptionTabBarBase.cpp
  * contrib/hbqt/QStyleOptionToolBox.cpp
  * contrib/hbqt/QStringList.cpp
  * contrib/hbqt/QToolBar.cpp
  * contrib/hbqt/TQTextBlockFormat.prg
  * contrib/hbqt/TQStatusBar.prg
  * contrib/hbqt/TQTextFrameFormat.prg
  * contrib/hbqt/QFontMetricsF.cpp
  * contrib/hbqt/TQTextDecoder.prg
  * contrib/hbqt/TQTabWidget.prg
  * contrib/hbqt/TQLCDNumber.prg
  * contrib/hbqt/TQMainWindow.prg
  * contrib/hbqt/QToolButton.cpp
  * contrib/hbqt/TQStyleOptionTitleBar.prg
  * contrib/hbqt/QWindowsStyle.cpp
  * contrib/hbqt/TQDockWidget.prg
  * contrib/hbqt/QColor.cpp
  * contrib/hbqt/QListWidget.cpp
  * contrib/hbqt/QTextLayout.cpp
  * contrib/hbqt/TQSound.prg
  * contrib/hbqt/QSignalMapper.cpp
  * contrib/hbqt/QTextCursor.cpp
  * contrib/hbqt/TQPoint.prg
  * contrib/hbqt/QTextDocument.cpp
  * contrib/hbqt/TQGradient.prg
  * contrib/hbqt/TQWebSettings.prg
  * contrib/hbqt/QRadioButton.cpp
  * contrib/hbqt/TQWizard.prg
  * contrib/hbqt/TQAbstractPrintDialog.prg
  * contrib/hbqt/TQApplication.prg
  * contrib/hbqt/QAbstractButton.cpp
  * contrib/hbqt/QStyleOptionViewItem.cpp
  * contrib/hbqt/TQCoreApplication.prg
  * contrib/hbqt/QTextFrameFormat.cpp
  * contrib/hbqt/QTextBlockFormat.cpp
  * contrib/hbqt/TQInputDialog.prg
  * contrib/hbqt/QTextDecoder.cpp
  * contrib/hbqt/QSize.cpp
  * contrib/hbqt/TQEvent.prg
  * contrib/hbqt/TQKeySequence.prg
  * contrib/hbqt/QBitmap.cpp
  * contrib/hbqt/QStyleOptionToolBar.cpp
  * contrib/hbqt/QCalendarWidget.cpp
  * contrib/hbqt/TQPrinter.prg
  * contrib/hbqt/QStyleOptionTitleBar.cpp
  * contrib/hbqt/TQResource.prg
  * contrib/hbqt/QScrollBar.cpp
  * contrib/hbqt/QHeaderView.cpp
  * contrib/hbqt/TQTextEdit.prg
  * contrib/hbqt/QStyleOptionButton.cpp
  * contrib/hbqt/QCommandLinkButton.cpp
  * contrib/hbqt/TQFontComboBox.prg
  * contrib/hbqt/QFocusFrame.cpp
  * contrib/hbqt/QSizePolicy.cpp
  * contrib/hbqt/QWebSettings.cpp
  * contrib/hbqt/QAbstractPrintDialog.cpp
  * contrib/hbqt/TQStyleOptionSizeGrip.prg
  * contrib/hbqt/TQListView.prg
  * contrib/hbqt/QApplication.cpp
  * contrib/hbqt/QAbstractSlider.cpp
  * contrib/hbqt/TQTextBlockGroup.prg
  * contrib/hbqt/QObject.cpp
  * contrib/hbqt/QTextFragment.cpp
  * contrib/hbqt/TQStyleOptionGroupBox.prg
  * contrib/hbqt/QAbstractScrollArea.cpp
  * contrib/hbqt/QCoreApplication.cpp
  * contrib/hbqt/TQPrintEngine.prg
  * contrib/hbqt/TQStylePainter.prg
  * contrib/hbqt/TQWebPluginFactory.prg
  * contrib/hbqt/QInputDialog.cpp
  * contrib/hbqt/QTimer.cpp
  * contrib/hbqt/QKeySequence.cpp
  * contrib/hbqt/TQFtp.prg
  * contrib/hbqt/QPrinter.cpp
  * contrib/hbqt/TQMessageBox.prg
  * contrib/hbqt/QKeyEvent.cpp
  * contrib/hbqt/QTextCharFormat.cpp
  * contrib/hbqt/TQUrl.prg
  * contrib/hbqt/QStyleOptionSlider.cpp
  * contrib/hbqt/TQFontMetricsF.prg
  * contrib/hbqt/TQDragMoveEvent.prg
  * contrib/hbqt/QInputEvent.cpp
  * contrib/hbqt/TQWebView.prg
  * contrib/hbqt/QWidgetItem.cpp
  * contrib/hbqt/TQCommonStyle.prg
  * contrib/hbqt/QMenu.cpp
  * contrib/hbqt/TQPushButton.prg
  * contrib/hbqt/TQWindowsStyle.prg
  * contrib/hbqt/TQEventLoop.prg
  * contrib/hbqt/QStyleOptionSizeGrip.cpp
  * contrib/hbqt/TQDoubleSpinBox.prg
  * contrib/hbqt/TQWebHistoryItem.prg
  * contrib/hbqt/QTextObject.cpp
  * contrib/hbqt/TQSignalMapper.prg
  * contrib/hbqt/TQTableView.prg
  * contrib/hbqt/TQTreeWidgetItem.prg
  * contrib/hbqt/TQTextDocument.prg
  * contrib/hbqt/QStyleOptionGroupBox.cpp
  * contrib/hbqt/TQButtonGroup.prg
  * contrib/hbqt/QFontInfo.cpp
  * contrib/hbqt/QImage.cpp
  * contrib/hbqt/QPrintEngine.cpp
  * contrib/hbqt/TQFrame.prg
  * contrib/hbqt/QLine.cpp
  * contrib/hbqt/TQTextFormat.prg
  * contrib/hbqt/QIcon.cpp
  * contrib/hbqt/TQColorDialog.prg
  * contrib/hbqt/QFtp.cpp
  * contrib/hbqt/TQStyleOptionProgressBar.prg
  * contrib/hbqt/QHBoxLayout.cpp
  * contrib/hbqt/QWebHistory.cpp
  * contrib/hbqt/QUrl.cpp
  * contrib/hbqt/TQStyleHintReturnVariant.prg
  * contrib/hbqt/QRectF.cpp
  * contrib/hbqt/QTreeWidget.cpp
  * contrib/hbqt/TQSize.prg
  * contrib/hbqt/TQWebSecurityOrigin.prg
  * contrib/hbqt/TQProcess.prg
  * contrib/hbqt/QWebView.cpp
  * contrib/hbqt/QCommonStyle.cpp
  * contrib/hbqt/TQStyleOptionTab.prg
  * contrib/hbqt/TQTextDocumentWriter.prg
  * contrib/hbqt/TQTextCodec.prg
  * contrib/hbqt/TQStringListModel.prg
  * contrib/hbqt/QAbstractItemView.cpp
  * contrib/hbqt/QHttp.cpp
  * contrib/hbqt/QWebHitTestResult.cpp
  * contrib/hbqt/TQTextBrowser.prg
  * contrib/hbqt/QProgressDialog.cpp
  * contrib/hbqt/TQTableWidget.prg
  * contrib/hbqt/TQTabBar.prg
  * contrib/hbqt/QStyleFactory.cpp
  * contrib/hbqt/QButtonGroup.cpp
  * contrib/hbqt/TQFileDialog.prg
  * contrib/hbqt/TQDialog.prg
  * contrib/hbqt/TQTextStream.prg
  * contrib/hbqt/TQStandardItemModel.prg
  * contrib/hbqt/TQFormLayout.prg
  * contrib/hbqt/QSystemTrayIcon.cpp
  * contrib/hbqt/QStyleOptionDockWidget.cpp
  * contrib/hbqt/QListWidgetItem.cpp
  * contrib/hbqt/QColorDialog.cpp
  * contrib/hbqt/QStyleOptionTabWidgetFrame.cpp
  * contrib/hbqt/TQFileSystemModel.prg
  * contrib/hbqt/TQAbstractSpinBox.prg
  * contrib/hbqt/TQTextFragment.prg
  * contrib/hbqt/QDateTimeEdit.cpp
  * contrib/hbqt/TQVBoxLayout.prg
  * contrib/hbqt/QStyleOptionFocusRect.cpp
  * contrib/hbqt/QMoveEvent.cpp
  * contrib/hbqt/TQImageWriter.prg
  * contrib/hbqt/TQAbstractListModel.prg
  * contrib/hbqt/QMainWindow.cpp
  * contrib/hbqt/QDesktopWidget.cpp
  * contrib/hbqt/QProcess.cpp
  * contrib/hbqt/QWidgetAction.cpp
  * contrib/hbqt/TQModelIndex.prg
  * contrib/hbqt/TQMenuBar.prg
  * contrib/hbqt/QStringListModel.cpp
  * contrib/hbqt/TQKeyEvent.prg
  * contrib/hbqt/QDockWidget.cpp
  * contrib/hbqt/TQPaintDevice.prg
  * contrib/hbqt/TQStyleOptionMenuItem.prg
  * contrib/hbqt/TQFontMetrics.prg
  * contrib/hbqt/QTextBrowser.cpp
  * contrib/hbqt/TQStyle.prg
  * contrib/hbqt/QTableWidget.cpp
  * contrib/hbqt/TQStyleOptionHeader.prg
  * contrib/hbqt/QErrorMessage.cpp
  * contrib/hbqt/TQMenu.prg
  * contrib/hbqt/QWizard.cpp
  * contrib/hbqt/QFileSystemModel.cpp
  * contrib/hbqt/TQPrintDialog.prg
  * contrib/hbqt/QAbstractSpinBox.cpp
  * contrib/hbqt/TQPrintPreviewDialog.prg
  * contrib/hbqt/TQLabel.prg
  * contrib/hbqt/QDial.cpp
  * contrib/hbqt/TQWebHistoryInterface.prg
  * contrib/hbqt/TQStyleOptionComboBox.prg
  * contrib/hbqt/TQFontInfo.prg
  * contrib/hbqt/TQSlider.prg
  * contrib/hbqt/TQBrush.prg
  * contrib/hbqt/TQStyleOptionToolButton.prg
  * contrib/hbqt/QImageWriter.cpp
  * contrib/hbqt/filelist.mk
  * contrib/hbqt/TQScrollArea.prg
  * contrib/hbqt/TQLine.prg
  * contrib/hbqt/TQIcon.prg
  * contrib/hbqt/TQLayoutItem.prg
  * contrib/hbqt/TQAbstractTableModel.prg
  * contrib/hbqt/QIODevice.cpp
  * contrib/hbqt/TQPixmap.prg
  * contrib/hbqt/QMenuBar.cpp
  * contrib/hbqt/TQClipboard.prg
  * contrib/hbqt/TQTextImageFormat.prg
  * contrib/hbqt/TQStyleOptionTabBarBase.prg
  * contrib/hbqt/QPaintDevice.cpp
  * contrib/hbqt/QStyleOptionMenuItem.cpp
  * contrib/hbqt/QFontMetrics.cpp
  * contrib/hbqt/TQImageReader.prg
  * contrib/hbqt/QDropEvent.cpp
  * contrib/hbqt/TQAbstractItemView.prg
  * contrib/hbqt/TQColor.prg
  * contrib/hbqt/TQDir.prg
  * contrib/hbqt/TQHttp.prg
  * contrib/hbqt/TQStyleOptionComplex.prg
  * contrib/hbqt/TQWebHitTestResult.prg
  * contrib/hbqt/QPrintDialog.cpp
  * contrib/hbqt/QTextBlockGroup.cpp
  * contrib/hbqt/TQRegion.prg
  * contrib/hbqt/QStandardItem.cpp
  * contrib/hbqt/QLatin1String.cpp
  * contrib/hbqt/QSizeF.cpp
  * contrib/hbqt/TQLatin1Char.prg
  * contrib/hbqt/QWebHistoryInterface.cpp
  * contrib/hbqt/QStyleOptionComboBox.cpp
  * contrib/hbqt/TQStyleFactory.prg
  * contrib/hbqt/TQStyleOptionSpinBox.prg
  * contrib/hbqt/TQPalette.prg
  * contrib/hbqt/QSplashScreen.cpp
  * contrib/hbqt/TQDateTimeEdit.prg
  * contrib/hbqt/TQPainter.prg
  * contrib/hbqt/QSizeGrip.cpp
  * contrib/hbqt/QMessageBox.cpp
  * contrib/hbqt/TQResizeEvent.prg
  * contrib/hbqt/QTextImageFormat.cpp
  * contrib/hbqt/TQStyleOptionFocusRect.prg
  * contrib/hbqt/QAbstractItemModel.cpp
  * contrib/hbqt/QGroupBox.cpp
  * contrib/hbqt/QImageReader.cpp
  * contrib/hbqt/TQDragEnterEvent.prg
  * contrib/hbqt/QTextDocumentFragment.cpp
  * contrib/hbqt/TQTextBoundaryFinder.prg
  * contrib/hbqt/QPushButton.cpp
  * contrib/hbqt/TQWidgetAction.prg
  * contrib/hbqt/TQScrollBar.prg
  * contrib/hbqt/TQGridLayout.prg
  * contrib/hbqt/TQWindowsXPStyle.prg
  * contrib/hbqt/QWebHistoryItem.cpp
  * contrib/hbqt/QDir.cpp
  * contrib/hbqt/TQStyleOptionButton.prg
  * contrib/hbqt/TQTextLength.prg
  * contrib/hbqt/QTreeWidgetItem.cpp
  * contrib/hbqt/TQCommandLinkButton.prg
  * contrib/hbqt/QBoxLayout.cpp
  * contrib/hbqt/TQErrorMessage.prg
  * contrib/hbqt/QDateTime.cpp
  * contrib/hbqt/QTextFormat.cpp
  * contrib/hbqt/QPalette.cpp
  * contrib/hbqt/QTextBlock.cpp
  * contrib/hbqt/QTextFrame.cpp
  * contrib/hbqt/QPainter.cpp
  * contrib/hbqt/QResizeEvent.cpp
  * contrib/hbqt/TQDial.prg
  * contrib/hbqt/QStyleOptionProgressBar.cpp
  * contrib/hbqt/TQTableWidgetItem.prg
  * contrib/hbqt/TQAction.prg
  * contrib/hbqt/TQPaintEvent.prg
  * contrib/hbqt/QStyleHintReturnVariant.cpp
  * contrib/hbqt/QStatusBar.cpp
  * contrib/hbqt/TQStyledItemDelegate.prg
  * contrib/hbqt/TQTimer.prg
  * contrib/hbqt/QTabWidget.cpp
  * contrib/hbqt/QTextInlineObject.cpp
  * contrib/hbqt/QLCDNumber.cpp
  * contrib/hbqt/QList.cpp
  * contrib/hbqt/TQWidget.prg
  * contrib/hbqt/QStyleOptionTab.cpp
  * contrib/hbqt/TQFontDialog.prg
  * contrib/hbqt/QTextDocumentWriter.cpp
  * contrib/hbqt/TQIODevice.prg
  * contrib/hbqt/TQStyleOption.prg
  * contrib/hbqt/QDateEdit.cpp
  * contrib/hbqt/TQMouseEvent.prg
  * contrib/hbqt/QCheckBox.cpp
  * contrib/hbqt/TQStyleOptionSlider.prg
  * contrib/hbqt/QSound.cpp
  * contrib/hbqt/QWebFrame.cpp
  * contrib/hbqt/QPoint.cpp
  * contrib/hbqt/TQPointF.prg
  * contrib/hbqt/QTabBar.cpp
  * contrib/hbqt/QDirModel.cpp
  * contrib/hbqt/QFileDialog.cpp
  * contrib/hbqt/QDialog.cpp
  * contrib/hbqt/QTextStream.cpp
  * contrib/hbqt/TQWheelEvent.prg
  * contrib/hbqt/QFormLayout.cpp
  * contrib/hbqt/QStyleOptionFrame.cpp
  * contrib/hbqt/TQWebPage.prg
  * contrib/hbqt/TQRadialGradient.prg
  * contrib/hbqt/QFont.cpp
  * contrib/hbqt/TQCursor.prg
  * contrib/hbqt/TQLayout.prg
  * contrib/hbqt/TQLatin1String.prg
  * contrib/hbqt/TQStandardItem.prg
  * contrib/hbqt/QTableWidgetItem.cpp
  * contrib/hbqt/TQFocusEvent.prg
  * contrib/hbqt/TQImage.prg
  * contrib/hbqt/TQSpinBox.prg
  * contrib/hbqt/QVBoxLayout.cpp
  * contrib/hbqt/QEvent.cpp
  * contrib/hbqt/TQLinearGradient.prg
  * contrib/hbqt/TQSplashScreen.prg
  * contrib/hbqt/TQDragLeaveEvent.prg
  * contrib/hbqt/TQSizeGrip.prg
  * contrib/hbqt/QModelIndex.cpp
  * contrib/hbqt/QStyleOption.cpp
  * contrib/hbqt/TQStyleHintReturnMask.prg
  * contrib/hbqt/TQStyleOptionToolBox.prg
  * contrib/hbqt/QTreeView.cpp
  * contrib/hbqt/TQStringList.prg
  * contrib/hbqt/QTextLine.cpp
  * contrib/hbqt/TQRectF.prg
  * contrib/hbqt/QRect.cpp
  * contrib/hbqt/TQGroupBox.prg
  * contrib/hbqt/TQTextDocumentFragment.prg
  * contrib/hbqt/TQToolButton.prg
  * contrib/hbqt/QTextItem.cpp
  * contrib/hbqt/QTimeEdit.cpp
  * contrib/hbqt/TQListWidget.prg
  * contrib/hbqt/QWebPage.cpp
  * contrib/hbqt/TQTextLayout.prg
  * contrib/hbqt/TQTextCursor.prg
  * contrib/hbqt/TQPen.prg
  * contrib/hbqt/QPrintPreviewDialog.cpp
  * contrib/hbqt/TQTextEncoder.prg
  * contrib/hbqt/QSlider.cpp
  * contrib/hbqt/QSpinBox.cpp
  * contrib/hbqt/TQDateTime.prg
  * contrib/hbqt/QScrollArea.cpp
  * contrib/hbqt/TQStyleOptionDockWidget.prg
  * contrib/hbqt/TQAbstractButton.prg
  * contrib/hbqt/TQStyleOptionTabWidgetFrame.prg
  * contrib/hbqt/QFontDatabase.cpp
  * contrib/hbqt/QAbstractTableModel.cpp
  * contrib/hbqt/QLayoutItem.cpp
  * contrib/hbqt/QLineEdit.cpp
  * contrib/hbqt/TQVariant.prg
  * contrib/hbqt/QPixmap.cpp
  * contrib/hbqt/QStyleHintReturnMask.cpp
  * contrib/hbqt/TQMoveEvent.prg
  * contrib/hbqt/TQTextInlineObject.prg
  * contrib/hbqt/TQList.prg
  * contrib/hbqt/QDragMoveEvent.cpp
  * contrib/hbqt/TQStyleOptionToolBar.prg
  * contrib/hbqt/TQBitmap.prg
  * contrib/hbqt/QSplitter.cpp
  * contrib/hbqt/TQCalendarWidget.prg
  * contrib/hbqt/TQDesktopWidget.prg
  * contrib/hbqt/TQPageSetupDialog.prg
  * contrib/hbqt/QComboBox.cpp
  * contrib/hbqt/QEventLoop.cpp
  * contrib/hbqt/QDoubleSpinBox.cpp
  * contrib/hbqt/TQDateEdit.prg
  * contrib/hbqt/TQHeaderView.prg
  * contrib/hbqt/TQCheckBox.prg
  * contrib/hbqt/TQConicalGradient.prg
  * contrib/hbqt/QStyleOptionComplex.cpp
  * contrib/hbqt/QTableView.cpp
  * contrib/hbqt/TQWebFrame.prg
  * contrib/hbqt/QPen.cpp
  * contrib/hbqt/QRegion.cpp
  * contrib/hbqt/QTextEncoder.cpp
  * contrib/hbqt/TQFocusFrame.prg
  * contrib/hbqt/TQSizePolicy.prg
  * contrib/hbqt/QLatin1Char.cpp
  * contrib/hbqt/TQDirModel.prg
  * contrib/hbqt/QFrame.cpp
  * contrib/hbqt/QStyleOptionSpinBox.cpp
  * contrib/hbqt/TQStyleOptionFrame.prg
  * contrib/hbqt/TQFont.prg
  * contrib/hbqt/TQAbstractSlider.prg
  * contrib/hbqt/TQObject.prg
  * contrib/hbqt/QVariant.cpp
  * contrib/hbqt/TQAbstractScrollArea.prg
  * contrib/hbqt/TQPicture.prg
    * Regenerated code, now with WARNING message.
2009-09-10 19:58:13 +00:00
Viktor Szakats
ddb6b397d5 2009-09-10 17:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/libhpdf/Makefile
  * external/libpng/Makefile
  * contrib/xhb/Makefile
  * contrib/hbmzip/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbqt/QApplication.cpp
  * contrib/hbhpdf/Makefile
  * source/rtl/Makefile
  * config/detfun.mk
  * config/detect.mk
    + Added separate variable to pass embedded locations to autodetection,
      so that these aren't suppressed by HB_XBUILD (now HB_BUILD_EXTDEF).
      I hope it will work, I still have to try it on Linux.
2009-09-10 15:14:46 +00:00
Viktor Szakats
8a6466e7fd 2009-09-10 15:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* Makefile
  - source/hbpcre
  - source/hbzlib
  * external/Makefile
  + external/pcre
  + external/zlib
  * external/pcre/Makefile
  * external/zlib/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * include/hbsetup.h
  * include/hbzlib.h
  * include/hbregex.h
  * source/rtl/hbzlibgz.c
  * source/rtl/Makefile
  * source/rtl/hbregexc.c
  * source/rtl/hbregex.c
  * source/rtl/hbzlib.c
  * source/Makefile
  * contrib/xhb/Makefile
  * contrib/hbmzip/Makefile
  * utils/hbmk2/hbmk2.prg
  * config/global.mk
  * config/lib.mk
  * config/bin.mk
  * config/detect.mk
  * config/darwin/libs.mk
  * config/linux/libs.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
  * config/win/xcc.mk
  * config/win/mingw.mk
  * config/win/pocc.mk
  * config/win/bcc.mk
  * config/win/watcom.mk
  * config/win/icc.mk
  * config/win/cygwin.mk
  * config/win/msvc.mk
  * config/dyn.mk
  * config/os2/watcom.mk
  * config/os2/gcc.mk
  * config/bsd/libs.mk
  * config/hpux/libs.mk
  * config/sunos/libs.mk
    * Changed the way embedded zlib and pcre are handled:
      - They now reside in /external dir.
      - They are now excluded from Harbour dynlib. This means they
        will now be linked statically on non-*nix systems and
        dynamically on *nix systems. On *nix it's probably easy to
        switch to link statically. On non-*nix this is quite
        complicated to do.
      - If these libs are provided by the system, those will be used.
      - On non-*nix systems the locally hosted versions will be used,
        unless user overrides them using HB_INC_PCRE or HB_INC_ZLIB.
      - There is currently no officially supported way to force usage
        of locally hosted libs.
      - If PCRE lib is forcibly disabled or not found, build system
        will fall back to POSIX regex on *nix systems and Borland regex
        with bcc compiler. Otherwise it will stop the build with an error.
      - If zlib is forcibly disabled or not found, an error will be
        generated at build-time (in hbrtl). hbmzip is simply skipped
        in this case.
      - hbmk2 will use local builds of these libs if they are present
        in lib dir.
    ; TOFIX: hbmk script.
    ; TOFIX: dos builds. cmdline lenghts are most probably too big for them.
    ; NOTE: Bumps are expected.
    ; NOTE: I've yet to test/verify it.

  - external/libhpdf/ori_src
  - external/libhpdf/ori_dst
    - Deleted. (added in prev commit by oversight)
2009-09-10 14:08:51 +00:00
Viktor Szakats
14b97c2baf 2009-09-10 13:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* harbour-win-spec
  * harbour-wce-spec
  * INSTALL
  * bin/hb-func.sh
  * config/detfun.mk
  * config/global.mk
    * Renamed HB_XBUILD to HB_BUILD_EXTDEF=no[|yes].
      Not the perfect name, but anyway.
    + Documented HB_BUILD_EXTDEF setting.
    ; TOFIX: There is an HB_XBUILD reference in mpkg_tgz.sh which
             I couldn't correct.

  * Makefile
    + Moved building of external libs before utils.
      This will allow to add embedded external libs which are used 
      by Harbour core.
2009-09-10 11:18:51 +00:00
Viktor Szakats
c7a5f7b8eb 2009-09-10 10:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/detect.mk
    + Detecting pcre on darwin.

  * INSTALL
    + Added darwin MacPorts pkg name for pcre.
2009-09-10 08:45:03 +00:00
Viktor Szakats
8d0fb7e2a3 2009-09-10 01:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/hbpcre/Makefile
  * config/linux/sunpro.mk
  * config/sunos/sunpro.mk
    * Moved hbpcre lib specific sunpro compiler option tweaks to
      lib local Makefile.

  * config/detect.mk
    + Added zlib and pcre lib detection. (not yet used)
2009-09-09 23:42:21 +00:00
Viktor Szakats
2eb2f290e7 2009-09-09 13:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/detfun.mk
    ! Reverted prev. It was wrong and also unnecessary.
2009-09-09 11:28:02 +00:00
Viktor Szakats
689acaec51 2009-09-09 13:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/postinst.bat
    + Adding watt lib to hbmk.cfg at postinst phase.

  * contrib/hbnetio/utils/netiosrv.hbp
    + Added 8.3 output name for dos platforms.

  * config/detfun.mk
    + Always export HB_HAS_* variables.
2009-09-09 11:02:20 +00:00
Viktor Szakats
6983757f3f 2009-09-09 09:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/darwin/clang.mk
    + Disable -c option to avoid warnings when --analyze user option is used.

  * utils/hbmk2/hbmk2.prg
    ! Implemented fix from hbmk script for shared mingw targets in GUI mode.

  * bin/hb-func.sh
    ! Synced wce .dll name with rest of Harbour.
2009-09-09 07:16:21 +00:00
Viktor Szakats
5eb7150cfe 2009-09-08 23:23 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to use 'rc' AR cmd on sunos. (instead of 'rcs')
    + Added -hbdyn support for gcc family of compilers. (very light testing with mingw)
    + Added sunpro compiler support. (not tested, bazaar style)
    ! Basic CPU detection fixed for clang.
    + Added TOFIX for CPU detection for *nix based gcc, icc, clang, sunpro
      compilers.

  * config/wce/mingwarm.mk
  * config/hpux/gcc.mk
  * config/win/mingw.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/linux/sunpro.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    * Minor: AR cmd chars reordered to be in sync with hbmk2.
2009-09-08 21:25:24 +00:00
Viktor Szakats
331fa07679 2009-09-08 14:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/darwin/clang.mk
    + Added comment with option to force C++ mode with clang.

  * utils/hbmk2/hbmk2.prg
    + Added (not yet tested) darwin/clang support.
      Probably it could be added for other platforms, too. Also
      for GNU Make. clang cmdline is compatible with GCC for the most
      part, so it's easy to do and if the few differences can be sorted out,
      it can be done without duplicating .mk file logic.

  * config/darwin/gcc.mk
    - Disabled '-no-cpp-precomp' option for darwin/gcc. Most probably
      it's not needed anymore. For users using older darwin systems, this
      can be added manually.
2009-09-08 12:59:02 +00:00
Viktor Szakats
c304b78340 2009-09-08 14:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbsetup.h
  * config/darwin/clang.mk
    + Added manual compiler macro HB_CC_CLANG until we find the official
      predefined macro to detect this compiler.
      Actually we could roll our own HB_CC_<comp> set of macros to do compiler
      detection in central headers and clean compiler specific macros from
      code.
    ! Fixed '__attribute (( flatten ))' not being supported with clang.
      (Thanks Przemek)
    ! Deleted extra parameters from libtool command line.

  * INSTALL
    + Added clang to the darwin compiler list.
2009-09-08 12:09:22 +00:00
Viktor Szakats
d34f2373be 2009-09-08 13:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ config/darwin/clang.mk
    + Added experimental support for clang compiler frontend on
      Snow Leopard + new XCode systems. (it's unclear which of them
      exactly is required for this feature)
    ; TOFIX: '__attribute (( flatten ))' is complained about by clang.
2009-09-08 11:26:25 +00:00
Viktor Szakats
5e3d7296a2 2009-09-08 11:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    ! Corrected typo in de-xmastree patch. Symptom was broken
      shell detection on os2.
2009-09-08 09:13:47 +00:00
Viktor Szakats
9cd0df326e 2009-09-07 21:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/common/watcom.mk
    ! Upped -p linker option (from 64 to 72) to not choke on hbrtl
      in some certain build situations.
      Thanks to Tamas Tevesz for report/testing.
2009-09-07 19:22:27 +00:00
Viktor Szakats
1674d71a46 2009-09-07 12:03 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/postinst.bat
    + Installation of hb-mkimp.bat will now be done automatically
      at postinst phase for win/wce targets.

  * config/detect.mk
    ! Fixed HB_INC_WATT handling if it contained backslashes
      (broken after last commit)
    % Avoid using indirect assigment by moving it after detection
      function (it was a mistake in my previous commit).
2009-09-07 10:03:48 +00:00
Przemyslaw Czerpak
ceed1ece15 2009-09-07 11:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/detect.mk
    ! fixed linking in DJGPP and OpenWatcom DOS when WATT-32 is enabled
2009-09-07 09:41:19 +00:00
Viktor Szakats
09889c860f 2009-09-07 11:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/wce/mingwarm.mk
  * config/win/mingw.mk
    + Reenabled implib generation for mingw targets.
      This will be needed to implement multi-host binary distros
      supporting cross-build shared targets. This way there is no
      need to fiddle with switching BIN dirs in cross-build situations,
      the LIB dir selection is enough to find all required libs,
      regardless where .dlls are installed. (.dlls should ideally
      be installed to system locations).
2009-09-07 09:23:46 +00:00
Viktor Szakats
f6ef3e47eb 2009-09-06 18:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    + Added '@.clp' to cmdline template in help.
    ! Fixed double linefeeds in output (visible in dos builds).
    ! Fixed syntax of generated .rc file for os2 targets.
      I can't check but the app icons still don't seem to
      be added, so this will need further attention from
      real OS/2 users.

  * config/detect.mk
  * config/dos/watcom.mk
  * config/dos/djgpp.mk
    ! Fixed to properly set watt lib location even when backslash
      is used in HB_INC_WATT setting.
2009-09-06 16:33:17 +00:00
Viktor Szakats
84336dfa3a 2009-09-06 13:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ tests/tb1.prg
    + Added Przemek's TBrowse() test code.

  * config/global.mk
    ! Fixed another typo in yesterday's modifications. (non-critical)
2009-09-06 11:49:38 +00:00
Viktor Szakats
84670154bf 2009-09-06 11:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* harbour-win-spec
  * harbour-wce-spec
  * harbour.spec
  * include/hbver.h
  * config/global.mk
    * Changed version to 2.0.0beta3 (from 2.0.0beta2)
2009-09-06 09:11:29 +00:00
Viktor Szakats
c148724485 2009-09-05 23:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * config/detect.mk
    + Enabled OPENSSL lib for dos platform.
2009-09-05 22:02:37 +00:00
Viktor Szakats
1b51404b94 2009-09-05 14:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    + Added -compiler and -platform options as alternatives for 
      -comp and -plat, maybe this is more clear and it's also better in
      sync with GNU Make's HB_COMPILER/HB_PLATFORM.

  * config/dos/watcom.mk
    * watt libname to lowercase.
2009-09-05 12:21:22 +00:00
Viktor Szakats
1b9a14487a 2009-09-05 12:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/dos/watcom.mk
    ! Adjusted watcom watt lib name.
2009-09-05 10:51:22 +00:00
Viktor Szakats
b9040d1408 2009-09-05 12:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
  * config/wce/msvcarm.mk
    + Applied 'de-xmastree' patch from Tamas Tevesz.
      (using 'else if' construct of GNU Make 3.81)
2009-09-05 10:36:30 +00:00
Viktor Szakats
acc4d55c3f 2009-09-05 03:37 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    ! Fixed svnversion command call to work with older svn versions.
      Thanks to Tamas Tevesz.

  * contrib/hbfbird/firebird.c
    ! Fixed all remaining 64-bit compiler warnings. (msvc64, mingw64)

  + contrib/hbnetio/hbnetio.hbc
  - contrib/hbnetio/tests/netiotst.hbp
  + contrib/hbnetio/tests/hbmk.hbm
    + Added .hbc file.
    * Changed .prg specific .hbp file to generic autoprocessed .hbm file,
      referring to .hbc file. This way it's in sync with rest of contribs
      and makes it possible to add new tests in a lighter way)
2009-09-05 01:38:51 +00:00
Viktor Szakats
bd2cb53a7b 2009-09-05 02:22 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added experimental support for @.clp files.
      A bit hacky and could be incomplete. I'm not a .clp file user,
      so pls test and extend.

  * INSTALL
  * contrib/gtalleg/Makefile
  + contrib/gtalleg/gtallegs
  + contrib/gtalleg/gtallegs/Makefile
  * contrib/gtalleg/gtalleg.hbc
  + contrib/gtalleg/gtallegs.hbc
    + Added static flavour of gtalleg. This was an option until now,
      now both versions are automatically built to be in sync with
      rest of contribs. This also means that HB_ALLEGRO_STATIC
      setting is no longer needed.
    + Added separate static/dynamic .hbc files accordingly.

  * contrib/hbqt/Makefile
  + contrib/hbqt/hbqts
  + contrib/hbqt/hbqts/Makefile
  * contrib/hbqt/hbqt.hbc
  + contrib/hbqt/hbqts.hbc
    + HB_QT_STATIC=yes setting will now cause building of static
      flavor hbqt lib *above* the default one which links against
      dynamic qt libs. Until now this setting caused that the
      static version was built *instead* of the dynamic one.
      NOTE: Using this setting will cause a significantly longer
            build time on non-*nix systems.
    + Added separate static/dynamic .hbc files accordingly.

  * config/global.mk
    ! Fixed to set CXX predefined variable to empty to make
      defaulting logic in rules.mk work as expected.
      This fixes recent hbqt build failure with MSVC.

  * config/dos/watcom.mk
    + Added watt lib support. (untested, please test)

  * source/rtl/Makefile
  * source/rtl/hbsocket.c
  * config/detect.mk
  * config/dos/djgpp.mk
    * Renamed HB_*_TCP to HB_*_WATT.
    + Added HB_INC_WATT to INSTALL. (couldn't make it work locally,
      so it's not very precise yet)

  * config/detect.mk
    * Minor: lowercased component name for watt lib.

  * config/dos/djgpp.mk
    * Minor: Using LIBPATHS to store watt lib path instead of LDLIBS.

  * config/install.mk
    % Deleted no longer used/needed HB_INSTALL_DEF variable.
2009-09-05 00:23:51 +00:00
Przemyslaw Czerpak
388dcfbd18 2009-09-02 14:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcomp.h
  * harbour/include/hbcompdf.h
  * harbour/source/compiler/hbmain.c
  * harbour/source/compiler/genc.c
  * harbour/source/compiler/genhrb.c
    + added support for compiling multiple .prg modules into single
      compilation unit with repeated static or init/exit functions
      with the same name.
      Now Harbour compiler compiling .prg code from different .prg modules
      included by @<name>.clp or by SET PROCEDURE TO ... / DO ... [ WITH ... ]
      works exactly like Clipper. It supports separated file wide definitions
      for each compiled .prg module when -n switch is used and allows to
      use static or init/exit functions/procedures with the same names but
      in different modules.
      It resolves incompatibility often reported by [x]Harbour users.
      Now it's not longer necessary to update existing Clipper code.
      @.clp files and SET PROCEDURE TO ... / DO ... [ WITH ... ] are
      fully functional like in Clipper.
      AFAIR it was the last unintentional incompatibility with Clipper.

      TODO: add support for multiple static functions with the same name
            in .HRB files - it's necessary to change used format so I'll
            probably to that with .HRL support. Now when -gh switch is used
            harbour and such functions exists then compiler generates:
               Error E0002  Redefinition of procedure or function ...
      TODO: modify hbmk2 to pass @<name>.clp files directly to Harbour
            compiler so it can compile them just like Clipper does and
            generate single output file: <name>.<ext>

  * harbour/config/instsh.mk
    * disabled install command echo
2009-09-02 12:08:30 +00:00
Przemyslaw Czerpak
217cc022ee 2009-09-02 02:51 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/compiler/hbmain.c
    % farther optimizations and simplifications

  * harbour/config/instsh.mk
    ! fixed detection of empty INSTALL_FILES and INSTALL_DIR
2009-09-02 00:52:01 +00:00
Przemyslaw Czerpak
dd756dc5cf 2009-09-01 21:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/lib.mk
  * harbour/config/bin.mk
  * harbour/config/header.mk
  * harbour/config/dyn.mk
  * harbour/config/doc.mk
  * harbour/config/instsh.mk
    ! rewritten install rules so now they work without any problem when
      more then one target .mk file is included, i.e. lib.mk and header.mk

  * harbour/source/pp/Makefile
  * harbour/source/dynlib/mt/Makefile
  * harbour/source/dynlib/Makefile
  * harbour/contrib/hbmysql/Makefile
  * harbour/contrib/hbct/Makefile
  * harbour/contrib/xhb/Makefile
  * harbour/contrib/hbodbc/Makefile
  * harbour/contrib/hbtpathy/Makefile
  * harbour/contrib/hbsqlit3/Makefile
  * harbour/contrib/hbmzip/Makefile
  * harbour/contrib/hbblat/Makefile
  * harbour/contrib/hbqt/Makefile
  * harbour/contrib/hbxbp/Makefile
  * harbour/contrib/xpp/Makefile
  * harbour/contrib/hbnf/Makefile
  * harbour/contrib/hbcurl/Makefile
  * harbour/contrib/gtqtc/Makefile
  * harbour/contrib/rddsql/sddmy/Makefile
  * harbour/contrib/rddsql/sddpg/Makefile
  * harbour/contrib/rddsql/sddfb/Makefile
  * harbour/contrib/rddsql/sddodbc/Makefile
  * harbour/contrib/hbhpdf/Makefile
  * harbour/contrib/rddado/Makefile
  * harbour/contrib/gtwvg/Makefile
  * harbour/contrib/hbpgsql/Makefile
  * harbour/contrib/hbclipsm/Makefile
  * harbour/contrib/rddads/Makefile
  * harbour/contrib/hbfimage/Makefile
  * harbour/contrib/hbgd/Makefile
  * harbour/contrib/hbtip/Makefile
  * harbour/contrib/hbwin/Makefile
  * harbour/contrib/hbvpdf/Makefile
  * harbour/contrib/hbbtree/Makefile
  * harbour/contrib/hbssl/Makefile
  * harbour/external/libhpdf/Makefile
    * removed not longer necessary workaround for overwritten by different
      targets INSTALL_RULE
      Possible TODO: clean up some other rules in config .mk files to remove
      hacks from pp and dynlib Makefile(s).

   Above modifications should fully resolve the problems with repeated
   install actions and also build problems with some more restrictive
   POSIX SHELLs.
2009-09-01 19:05:19 +00:00
Przemyslaw Czerpak
5132b27bab 2009-09-01 14:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/global.mk
    ! fixed MinGW prefix detection in some cross installations, i.e.
      Debian ones.
2009-09-01 12:02:24 +00:00
Przemyslaw Czerpak
b824a53fa4 2009-08-31 16:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/dos/djgpp.mk
    ! added watt library to linked library list when TCP support is
      enabled in DOS builds
      TODO: make the same for watcom builds - I would like to leave it
            for Viktor because I'm not sure where exactly I should add it
            for new watcom .mk files to not break Viktor's build concept.
2009-08-31 14:44:06 +00:00
Przemyslaw Czerpak
3443f401a2 2009-08-31 15:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/detect.mk
  * harbour/source/rtl/Makefile
  * harbour/source/rtl/hbsocket.c
    + added support for TCPIP in DOS builds using WATTCP/WATT-32 library.
      The latest release of Watt-32 is available at
      http://www.bgnett.no/~giva/
2009-08-31 13:46:36 +00:00
Viktor Szakats
e86a10719d 2009-08-29 11:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbssl/bio.c
    - Disabled feature which doesn't seem to be exported via
      implibs.

  + contrib/hbssl/hbssls.hbc
  + contrib/hbssl/hbssls
  + contrib/hbssl/hbssls/Makefile
  * contrib/hbssl/hbssl.hbc
  * contrib/hbssl/Makefile
    * Default hbssl lib is now created to link dynamically (on Windows).
    + Added static build of hbssl by the name hbssls, with new .hbc
      file linking to static OpenSSL libs.

  * contrib/hbssl/Makefile
  + contrib/hbssl/hbssls.hbc
  * contrib/hbssl/hbssl.hbc

  * bin/hb-func.sh
    - Commented creation of dynamic libs. Now it's done on GNU Make
      level.

  * config/os2/gcc.mk
    - Disabled os2/gcc .dll creation. If someone comes up with a working
      solution we can readd it, but in current form it just broke os2/gcc
      target with no short-term hope for a solution.

  * source/common/hbver.c
    + Added "Embarcadero" to Borland C compiler name.
      Borrowed from xhb / Andi Jahja
    + Readded also "Borland" to both Embarcadero and CodeGear compiler
      names. Probably for most ppl "Borland" tells a hell lot more than
      these names which keep changing every second year.

  * contrib/gtwvg/Makefile
  * contrib/hbtip/Makefile
  * contrib/hbtip/hbtipssl/Makefile
    * Formatting.
2009-08-29 09:21:45 +00:00
Viktor Szakats
eba19de1cd 2009-08-28 14:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Updated Ubuntu external pkg list.
    + Added slang to darwin external pkg list.

  * config/darwin/libs.mk
    + Added two syslib paths required for slang (gtsln).

  * utils/hbmk2/hbmk2.prg
    ! Fixed to add user GTs before the list of user libs.
      This is to ensure proper linkage with linkers which need
      this (mingw f.e. and all which used lib grouping switches
      before they were removed from hbmk2/make in Harbour)

  * config/bin.mk
  * config/dyn.mk
    + Added new HB_LINKING_VMMT variable, which is set to non-empty
      if hbvmmt is to be linked. It makes it possible to add
      MT dependent libs to sys lib list, if needed.

  * config/linux/libs.mk
    + Adding pthread lib when HB_LINKING_VMMT is set. This isn't
      needed on my *nix systems (Ubuntu and Darwin), but was used
      for all platforms in postinst.sh dynlib creation logic, so
      please speak up if we should add this lib to other *nix 
      platforms, or we can delete it from Linux.
2009-08-28 11:59:57 +00:00
Viktor Szakats
86318490b5 2009-08-28 08:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/hb-func.sh
    ! Fixed recent mistake in gpm detection at postinst (now redundant)
      dynlib generation phase.

  * source/rtl/fssize.c
    ! Fixed warnings shown by mingw64 4.5.0.

  * config/detfun.mk
    + Now accepting HB_WITH_* control variables in place of HB_INC_* once.
      If HB_WITH_* is set it overrides HB_INC_*. Experimental yet.
    * Minor in comments.

  * config/detect.mk
    * Minor correction for conf.mk inclusion.
2009-08-28 06:54:23 +00:00
Viktor Szakats
0be602694a 2009-08-28 00:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/rules.mk
  * config/dos/djgpp.mk
  * config/common/watcom.mk
  * config/os2/gcc.mk
    + Finished support for HB_LDFLAGS variable (to hold Makefile
      local extra linker options). We don't use this feature yet.

  * config/sunos/sunpro.mk
    + Setting CXX for sunos/sunpro.mk to make it build .cpp files
      without forcing cpp mode explicitly. (suncc seems to do nothing
      with .cpp input files.)

  * config/bsd/libs.mk
  * config/hpux/libs.mk
  * config/darwin/libs.mk
  * config/sunos/libs.mk
    - Deleted commented /usr/X11R6/lib64 lib dir. It's a Linux
      distro specific thing.

  * config/linux/libs.mk
    + Added comment for /usr/X11R6/lib64
2009-08-27 22:53:07 +00:00
Viktor Szakats
3505bc2e51 2009-08-27 21:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/libhpdf/Makefile
    ! Fixed typo in recent rework, causing embedded libpng
      component not being detected.

  * config/global.mk
    ! Reverted override support. This will need 3.81.90,
      in 3.81 override and export keywords don't mix tool
      well together, or I'm missing something, it could be.
2009-08-27 19:20:32 +00:00
Viktor Szakats
fa633572c4 2009-08-27 20:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added new HB_INC_* values to the list. Added more
      information on them. Described 'no' option.
    + Added info on passing these config vars through cmdline.

  * config/global.mk
    + Added support to override some vars even if passed via
      make commandline.
2009-08-27 18:57:07 +00:00
Viktor Szakats
b1ad2df9c5 2009-08-27 20:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/bsd/gcc.mk
  * config/hpux/gcc.mk
    ! Restored cmdline lenght saver trick for BSD and HPUX after 
      giving this http://www.in-ulm.de/~mascheck/various/argmax/ 
      a bit more careful read.
2009-08-27 18:15:49 +00:00
Viktor Szakats
3c6f81ed58 2009-08-27 20:03 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/linux/libs.mk
    ! Deleted some stuff left when doing the copy from
      global.mk (yesterday).
      Should fix double -fPIC switches seen on 64-bit Linux builds.

  * config/linux/libs.mk
    + Adding /usr/X11R6/lib64 to sys lib path list on 64-bit systems.
      If you find this wrong, please tell, we can tweak conditions.

  * config/bsd/gcc.mk
  * config/darwin/gcc.mk
  * config/hpux/gcc.mk
  * config/linux/gcc.mk
  * config/sunos/gcc.mk
    * Changed to just plain pass list of obj on cmdline in dynamic
      lib creation rule. Should be safe on these OSes according to this doc:
         http://www.in-ulm.de/~mascheck/various/argmax/
      (we need about 31-32KB of cmdline at this moment)
2009-08-27 18:09:27 +00:00
Viktor Szakats
94cde1d19f 2009-08-27 19:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/rules.mk
    ! Mistake slipped in.
2009-08-27 17:16:44 +00:00
Viktor Szakats
aab7c92afc 2009-08-27 18:37 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/bsd/gcc.mk
  * config/hpux/gcc.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/sunos/gcc.mk
    * Changed to use different method to pass object file list to gcc.
      Previous method (@<filename>) only works in 4.x (?) gcc versions.
2009-08-27 16:37:37 +00:00