Commit Graph

12870 Commits

Author SHA1 Message Date
Pritpal Bedi
0002fedae4 2009-12-17 18:31 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/tests/demoqt.prg
  * contrib/hbxbp/tests/demoxbp.prg
    ! Cleaned some QT_PTROF() macros, first phase.
    ! Some more debug info.
2009-12-18 02:32:48 +00:00
Pritpal Bedi
113e55769d 2009-12-17 16:04 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.prg
    ! Some more info capturing in project building phase with QProcess().
2009-12-18 02:12:49 +00:00
Przemyslaw Czerpak
550559695b 2009-12-18 03:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtxwc/gtxwc.c
    ! fixed holders for properties format 32 to be long - it's important
      for 64 bit platforms.
    ! removed unsupported in current code "COMPOUND_TEXT" target
    ! readded support for "TEXT" target
2009-12-18 02:02:21 +00:00
Pritpal Bedi
eccde2bbfd 2009-12-17 16:04 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.prg
    ! Removed dummy macros to honor original ones.
    ! Removed QT_PTROF() whereever these were not needed anymore.
    ! Retained QT_PTROFXBP() until further discussions.
      Now all the components are working fine.
2009-12-18 00:06:17 +00:00
Pritpal Bedi
0d46d0e0fe 2009-12-17 15:17 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbxbp/xbp3state.prg
  * contrib/hbxbp/xbpcheckbox.prg
  * contrib/hbxbp/xbpdialog.prg
  * contrib/hbxbp/xbplistbox.prg
  * contrib/hbxbp/xbpmenubar.prg
  * contrib/hbxbp/xbpmle.prg
  * contrib/hbxbp/xbpradiobutton.prg
  * contrib/hbxbp/xbprtf.prg
  * contrib/hbxbp/xbpscrollbar.prg
  * contrib/hbxbp/xbpsle.prg
  * contrib/hbxbp/xbpspinbutton.prg
  * contrib/hbxbp/xbpstatic.prg
  * contrib/hbxbp/xbpstatusbar.prg
  * contrib/hbxbp/xbptabpage.prg
  * contrib/hbxbp/xbptoolbar.prg
  * contrib/hbxbp/xbptreeview.prg
    + Added METHOD hbCreateFromQtPtr(), skeletons only.
2009-12-17 23:29:16 +00:00
Viktor Szakats
caf44bd828 2009-12-17 22:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/mapi.c
    ! Fixed typo causing GPF when using 'long' calling form.
    ! Fixed not counting recipients when using 'simple' calling form.
    ; Toninho, could you pls retest?
2009-12-17 21:59:47 +00:00
Viktor Szakats
c4ea4ea436 2009-12-17 22:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_misc.prg
  * contrib/hbide/hbide.prg
    - Deleted hack which moved HBXBP specific functionality
      into the core of HBQT.
      I had to restore QT_PTROFXBP() macros inside hbide.
      QT_PTROFXBP() has not much to do with QT_PTROF() as the
      former serves to access oWidget member of passed class.
      I see no need to move such logic into HBQT core code.
      I restored QT_PTROF() also, but it's redefined as a dummy
      in hbide.prg. I don't understand now why QT_PTROF() works
      as dummy in hbide, but it doesn't when used as dummy in
      HBXBP.
      All in all, this means the .prg level :pPtr trick is still 
      needed in some places, while it's not needed in some others.
    ; TOFIX: HBQT has no pointer checking at all before accessing
             C++ level objects, which means the simplest .prg level
             error is instantly resulting in a GPF. All hb_par_*()
             results must be checked for NULL before accessing them,
             or better yet, and RTE should be generated right from
             the hb_par_*() function.

  * src/vm/classes.c
    * Minor formatting.
2009-12-17 21:22:26 +00:00
Przemyslaw Czerpak
0b59fa2b49 2009-12-17 12:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtxwc/gtxwc.c
    + added hack for accessing selections marked by FireFox which does not
      inform about UTF8_STRING target though it supports it
2009-12-17 11:46:44 +00:00
Pritpal Bedi
e0e4c26cf7 2009-12-17 02:06 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/filelist.mk
  + contrib/hbqt/hbqt_misc.prg

  * contrib/hbqt/generator/hbqtgen.prg

  * contrib/hbqt/qtcore/TQAbstractItemModel.prg
  * contrib/hbqt/qtcore/TQAbstractListModel.prg
  * contrib/hbqt/qtcore/TQAbstractTableModel.prg
  * contrib/hbqt/qtcore/TQBitArray.prg
  * contrib/hbqt/qtcore/TQByteArray.prg
  * contrib/hbqt/qtcore/TQCoreApplication.prg
  * contrib/hbqt/qtcore/TQDataStream.prg
  * contrib/hbqt/qtcore/TQDate.prg
  * contrib/hbqt/qtcore/TQDateTime.prg
  * contrib/hbqt/qtcore/TQDir.prg
  * contrib/hbqt/qtcore/TQEvent.prg
  * contrib/hbqt/qtcore/TQEventLoop.prg
  * contrib/hbqt/qtcore/TQFile.prg
  * contrib/hbqt/qtcore/TQFileInfo.prg
  * contrib/hbqt/qtcore/TQIODevice.prg
  * contrib/hbqt/qtcore/TQLatin1Char.prg
  * contrib/hbqt/qtcore/TQLatin1String.prg
  * contrib/hbqt/qtcore/TQLine.prg
  * contrib/hbqt/qtcore/TQLineF.prg
  * contrib/hbqt/qtcore/TQList.prg
  * contrib/hbqt/qtcore/TQLocale.prg
  * contrib/hbqt/qtcore/TQMimeData.prg
  * contrib/hbqt/qtcore/TQModelIndex.prg
  * contrib/hbqt/qtcore/TQObject.prg
  * contrib/hbqt/qtcore/TQPoint.prg
  * contrib/hbqt/qtcore/TQPointF.prg
  * contrib/hbqt/qtcore/TQProcess.prg
  * contrib/hbqt/qtcore/TQRect.prg
  * contrib/hbqt/qtcore/TQRectF.prg
  * contrib/hbqt/qtcore/TQRegExp.prg
  * contrib/hbqt/qtcore/TQResource.prg
  * contrib/hbqt/qtcore/TQSignalMapper.prg
  * contrib/hbqt/qtcore/TQSize.prg
  * contrib/hbqt/qtcore/TQSizeF.prg
  * contrib/hbqt/qtcore/TQStringList.prg
  * contrib/hbqt/qtcore/TQTextBoundaryFinder.prg
  * contrib/hbqt/qtcore/TQTextCodec.prg
  * contrib/hbqt/qtcore/TQTextDecoder.prg
  * contrib/hbqt/qtcore/TQTextEncoder.prg
  * contrib/hbqt/qtcore/TQTextStream.prg
  * contrib/hbqt/qtcore/TQThread.prg
  * contrib/hbqt/qtcore/TQTime.prg
  * contrib/hbqt/qtcore/TQTimer.prg
  * contrib/hbqt/qtcore/TQTranslator.prg
  * contrib/hbqt/qtcore/TQUiLoader.prg
  * contrib/hbqt/qtcore/TQUrl.prg
  * contrib/hbqt/qtcore/TQVariant.prg
  * contrib/hbqt/qtgui/TQAbstractButton.prg
  * contrib/hbqt/qtgui/TQAbstractItemDelegate.prg
  * contrib/hbqt/qtgui/TQAbstractItemView.prg
  * contrib/hbqt/qtgui/TQAbstractPrintDialog.prg
  * contrib/hbqt/qtgui/TQAbstractProxyModel.prg
  * contrib/hbqt/qtgui/TQAbstractScrollArea.prg
  * contrib/hbqt/qtgui/TQAbstractSlider.prg
  * contrib/hbqt/qtgui/TQAbstractSpinBox.prg
  * contrib/hbqt/qtgui/TQAbstractTextDocumentLayout.prg
  * contrib/hbqt/qtgui/TQAction.prg
  * contrib/hbqt/qtgui/TQActionGroup.prg
  * contrib/hbqt/qtgui/TQApplication.prg
  * contrib/hbqt/qtgui/TQBitmap.prg
  * contrib/hbqt/qtgui/TQBoxLayout.prg
  * contrib/hbqt/qtgui/TQBrush.prg
  * contrib/hbqt/qtgui/TQButtonGroup.prg
  * contrib/hbqt/qtgui/TQCalendarWidget.prg
  * contrib/hbqt/qtgui/TQCheckBox.prg
  * contrib/hbqt/qtgui/TQClipboard.prg
  * contrib/hbqt/qtgui/TQColor.prg
  * contrib/hbqt/qtgui/TQColorDialog.prg
  * contrib/hbqt/qtgui/TQComboBox.prg
  * contrib/hbqt/qtgui/TQCommandLinkButton.prg
  * contrib/hbqt/qtgui/TQCommonStyle.prg
  * contrib/hbqt/qtgui/TQCompleter.prg
  * contrib/hbqt/qtgui/TQConicalGradient.prg
  * contrib/hbqt/qtgui/TQContextMenuEvent.prg
  * contrib/hbqt/qtgui/TQCursor.prg
  * contrib/hbqt/qtgui/TQDateEdit.prg
  * contrib/hbqt/qtgui/TQDateTimeEdit.prg
  * contrib/hbqt/qtgui/TQDesktopWidget.prg
  * contrib/hbqt/qtgui/TQDial.prg
  * contrib/hbqt/qtgui/TQDialog.prg
  * contrib/hbqt/qtgui/TQDirModel.prg
  * contrib/hbqt/qtgui/TQDockWidget.prg
  * contrib/hbqt/qtgui/TQDoubleSpinBox.prg
  * contrib/hbqt/qtgui/TQDragEnterEvent.prg
  * contrib/hbqt/qtgui/TQDragLeaveEvent.prg
  * contrib/hbqt/qtgui/TQDragMoveEvent.prg
  * contrib/hbqt/qtgui/TQDropEvent.prg
  * contrib/hbqt/qtgui/TQErrorMessage.prg
  * contrib/hbqt/qtgui/TQFileDialog.prg
  * contrib/hbqt/qtgui/TQFileIconProvider.prg
  * contrib/hbqt/qtgui/TQFileSystemModel.prg
  * contrib/hbqt/qtgui/TQFocusEvent.prg
  * contrib/hbqt/qtgui/TQFocusFrame.prg
  * contrib/hbqt/qtgui/TQFont.prg
  * contrib/hbqt/qtgui/TQFontComboBox.prg
  * contrib/hbqt/qtgui/TQFontDatabase.prg
  * contrib/hbqt/qtgui/TQFontDialog.prg
  * contrib/hbqt/qtgui/TQFontInfo.prg
  * contrib/hbqt/qtgui/TQFontMetrics.prg
  * contrib/hbqt/qtgui/TQFontMetricsF.prg
  * contrib/hbqt/qtgui/TQFormLayout.prg
  * contrib/hbqt/qtgui/TQFrame.prg
  * contrib/hbqt/qtgui/TQGradient.prg
  * contrib/hbqt/qtgui/TQGridLayout.prg
  * contrib/hbqt/qtgui/TQGroupBox.prg
  * contrib/hbqt/qtgui/TQHBoxLayout.prg
  * contrib/hbqt/qtgui/TQHeaderView.prg
  * contrib/hbqt/qtgui/TQHelpEvent.prg
  * contrib/hbqt/qtgui/TQIcon.prg
  * contrib/hbqt/qtgui/TQImage.prg
  * contrib/hbqt/qtgui/TQImageReader.prg
  * contrib/hbqt/qtgui/TQImageWriter.prg
  * contrib/hbqt/qtgui/TQInputContext.prg
  * contrib/hbqt/qtgui/TQInputDialog.prg
  * contrib/hbqt/qtgui/TQInputEvent.prg
  * contrib/hbqt/qtgui/TQInputMethodEvent.prg
  * contrib/hbqt/qtgui/TQItemSelection.prg
  * contrib/hbqt/qtgui/TQItemSelectionModel.prg
  * contrib/hbqt/qtgui/TQKeyEvent.prg
  * contrib/hbqt/qtgui/TQKeySequence.prg
  * contrib/hbqt/qtgui/TQLabel.prg
  * contrib/hbqt/qtgui/TQLayout.prg
  * contrib/hbqt/qtgui/TQLayoutItem.prg
  * contrib/hbqt/qtgui/TQLCDNumber.prg
  * contrib/hbqt/qtgui/TQLinearGradient.prg
  * contrib/hbqt/qtgui/TQLineEdit.prg
  * contrib/hbqt/qtgui/TQListView.prg
  * contrib/hbqt/qtgui/TQListWidget.prg
  * contrib/hbqt/qtgui/TQListWidgetItem.prg
  * contrib/hbqt/qtgui/TQMainWindow.prg
  * contrib/hbqt/qtgui/TQMatrix.prg
  * contrib/hbqt/qtgui/TQMenu.prg
  * contrib/hbqt/qtgui/TQMenuBar.prg
  * contrib/hbqt/qtgui/TQMessageBox.prg
  * contrib/hbqt/qtgui/TQMouseEvent.prg
  * contrib/hbqt/qtgui/TQMoveEvent.prg
  * contrib/hbqt/qtgui/TQMovie.prg
  * contrib/hbqt/qtgui/TQPageSetupDialog.prg
  * contrib/hbqt/qtgui/TQPaintDevice.prg
  * contrib/hbqt/qtgui/TQPainter.prg
  * contrib/hbqt/qtgui/TQPainterPath.prg
  * contrib/hbqt/qtgui/TQPaintEvent.prg
  * contrib/hbqt/qtgui/TQPalette.prg
  * contrib/hbqt/qtgui/TQPen.prg
  * contrib/hbqt/qtgui/TQPicture.prg
  * contrib/hbqt/qtgui/TQPixmap.prg
  * contrib/hbqt/qtgui/TQPlainTextEdit.prg
  * contrib/hbqt/qtgui/TQPolygon.prg
  * contrib/hbqt/qtgui/TQPolygonF.prg
  * contrib/hbqt/qtgui/TQPrintDialog.prg
  * contrib/hbqt/qtgui/TQPrintEngine.prg
  * contrib/hbqt/qtgui/TQPrinter.prg
  * contrib/hbqt/qtgui/TQPrintPreviewDialog.prg
  * contrib/hbqt/qtgui/TQProgressBar.prg
  * contrib/hbqt/qtgui/TQProgressDialog.prg
  * contrib/hbqt/qtgui/TQPushButton.prg
  * contrib/hbqt/qtgui/TQRadialGradient.prg
  * contrib/hbqt/qtgui/TQRadioButton.prg
  * contrib/hbqt/qtgui/TQRegion.prg
  * contrib/hbqt/qtgui/TQResizeEvent.prg
  * contrib/hbqt/qtgui/TQScrollArea.prg
  * contrib/hbqt/qtgui/TQScrollBar.prg
  * contrib/hbqt/qtgui/TQSessionManager.prg
  * contrib/hbqt/qtgui/TQSizeGrip.prg
  * contrib/hbqt/qtgui/TQSizePolicy.prg
  * contrib/hbqt/qtgui/TQSlider.prg
  * contrib/hbqt/qtgui/TQSound.prg
  * contrib/hbqt/qtgui/TQSpacerItem.prg
  * contrib/hbqt/qtgui/TQSpinBox.prg
  * contrib/hbqt/qtgui/TQSplashScreen.prg
  * contrib/hbqt/qtgui/TQSplitter.prg
  * contrib/hbqt/qtgui/TQStandardItem.prg
  * contrib/hbqt/qtgui/TQStandardItemModel.prg
  * contrib/hbqt/qtgui/TQStatusBar.prg
  * contrib/hbqt/qtgui/TQStringListModel.prg
  * contrib/hbqt/qtgui/TQStyle.prg
  * contrib/hbqt/qtgui/TQStyledItemDelegate.prg
  * contrib/hbqt/qtgui/TQStyleFactory.prg
  * contrib/hbqt/qtgui/TQStyleHintReturn.prg
  * contrib/hbqt/qtgui/TQStyleHintReturnMask.prg
  * contrib/hbqt/qtgui/TQStyleHintReturnVariant.prg
  * contrib/hbqt/qtgui/TQStyleOption.prg
  * contrib/hbqt/qtgui/TQStyleOptionButton.prg
  * contrib/hbqt/qtgui/TQStyleOptionComboBox.prg
  * contrib/hbqt/qtgui/TQStyleOptionComplex.prg
  * contrib/hbqt/qtgui/TQStyleOptionDockWidget.prg
  * contrib/hbqt/qtgui/TQStyleOptionFocusRect.prg
  * contrib/hbqt/qtgui/TQStyleOptionFrame.prg
  * contrib/hbqt/qtgui/TQStyleOptionGroupBox.prg
  * contrib/hbqt/qtgui/TQStyleOptionHeader.prg
  * contrib/hbqt/qtgui/TQStyleOptionMenuItem.prg
  * contrib/hbqt/qtgui/TQStyleOptionProgressBar.prg
  * contrib/hbqt/qtgui/TQStyleOptionSizeGrip.prg
  * contrib/hbqt/qtgui/TQStyleOptionSlider.prg
  * contrib/hbqt/qtgui/TQStyleOptionSpinBox.prg
  * contrib/hbqt/qtgui/TQStyleOptionTab.prg
  * contrib/hbqt/qtgui/TQStyleOptionTabBarBase.prg
  * contrib/hbqt/qtgui/TQStyleOptionTabWidgetFrame.prg
  * contrib/hbqt/qtgui/TQStyleOptionTitleBar.prg
  * contrib/hbqt/qtgui/TQStyleOptionToolBar.prg
  * contrib/hbqt/qtgui/TQStyleOptionToolBox.prg
  * contrib/hbqt/qtgui/TQStyleOptionToolButton.prg
  * contrib/hbqt/qtgui/TQStyleOptionViewItem.prg
  * contrib/hbqt/qtgui/TQStylePainter.prg
  * contrib/hbqt/qtgui/TQSyntaxHighlighter.prg
  * contrib/hbqt/qtgui/TQSystemTrayIcon.prg
  * contrib/hbqt/qtgui/TQTabBar.prg
  * contrib/hbqt/qtgui/TQTableView.prg
  * contrib/hbqt/qtgui/TQTableWidget.prg
  * contrib/hbqt/qtgui/TQTableWidgetItem.prg
  * contrib/hbqt/qtgui/TQTableWidgetSelectionRange.prg
  * contrib/hbqt/qtgui/TQTabWidget.prg
  * contrib/hbqt/qtgui/TQTextBlock.prg
  * contrib/hbqt/qtgui/TQTextBlockFormat.prg
  * contrib/hbqt/qtgui/TQTextBlockGroup.prg
  * contrib/hbqt/qtgui/TQTextBrowser.prg
  * contrib/hbqt/qtgui/TQTextCharFormat.prg
  * contrib/hbqt/qtgui/TQTextCursor.prg
  * contrib/hbqt/qtgui/TQTextDocument.prg
  * contrib/hbqt/qtgui/TQTextDocumentFragment.prg
  * contrib/hbqt/qtgui/TQTextDocumentWriter.prg
  * contrib/hbqt/qtgui/TQTextEdit.prg
  * contrib/hbqt/qtgui/TQTextFormat.prg
  * contrib/hbqt/qtgui/TQTextFragment.prg
  * contrib/hbqt/qtgui/TQTextFrame.prg
  * contrib/hbqt/qtgui/TQTextFrameFormat.prg
  * contrib/hbqt/qtgui/TQTextImageFormat.prg
  * contrib/hbqt/qtgui/TQTextInlineObject.prg
  * contrib/hbqt/qtgui/TQTextItem.prg
  * contrib/hbqt/qtgui/TQTextLayout.prg
  * contrib/hbqt/qtgui/TQTextLength.prg
  * contrib/hbqt/qtgui/TQTextLine.prg
  * contrib/hbqt/qtgui/TQTextListFormat.prg
  * contrib/hbqt/qtgui/TQTextObject.prg
  * contrib/hbqt/qtgui/TQTextOption.prg
  * contrib/hbqt/qtgui/TQTextTableFormat.prg
  * contrib/hbqt/qtgui/TQTimeEdit.prg
  * contrib/hbqt/qtgui/TQToolBar.prg
  * contrib/hbqt/qtgui/TQToolBox.prg
  * contrib/hbqt/qtgui/TQToolButton.prg
  * contrib/hbqt/qtgui/TQTransform.prg
  * contrib/hbqt/qtgui/TQTreeView.prg
  * contrib/hbqt/qtgui/TQTreeWidget.prg
  * contrib/hbqt/qtgui/TQTreeWidgetItem.prg
  * contrib/hbqt/qtgui/TQValidator.prg
  * contrib/hbqt/qtgui/TQVBoxLayout.prg
  * contrib/hbqt/qtgui/TQWheelEvent.prg
  * contrib/hbqt/qtgui/TQWidget.prg
  * contrib/hbqt/qtgui/TQWidgetAction.prg
  * contrib/hbqt/qtgui/TQWidgetItem.prg
  * contrib/hbqt/qtgui/TQWindowsStyle.prg
  * contrib/hbqt/qtgui/TQWizard.prg
  * contrib/hbqt/qtgui/TQWizardPage.prg
  * contrib/hbqt/qtnetwork/TQFtp.prg
  * contrib/hbqt/qtnetwork/TQHttp.prg
  * contrib/hbqt/qtnetwork/TQHttpRequestHeader.prg
  * contrib/hbqt/qtnetwork/TQHttpResponseHeader.prg
  * contrib/hbqt/qtnetwork/TQNetworkRequest.prg

  * contrib/hbide/hbide.prg

    + Implemented to avoid use of QT_PTROF() and QT_PTROFXBP() macros.
      The functionality is transparent and accepts HBQT and HBXBP objects
      as is. 

      TODO: Method SomeQtClass:new( ... ) 
               ::pPtr := QSomeClass( ... )
            In above construct it is not known how many parameters
            are of type pointer and otherwise and how, if resolved, 
            be forwarded to Qt wrapper with (...) syntax.
2009-12-17 11:04:37 +00:00
Pritpal Bedi
2c7865eb4e * Commit 2, last follows. 2009-12-17 11:00:00 +00:00
Przemyslaw Czerpak
5ac744025d 2009-12-17 11:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtxwc/gtxwc.c
    ! added protection against putting K_RESIZE into keyboard queue
      if XServer generates ConfigureNotify event but window size is not
      changed
    ! clear own selections on application exit - looks that some WMs have
      problems when selection owner does not response and can even crash.
      Please remember that some WMs periodically (i.e. once per second)
      create copy of existing selections to his own structures so it's
      later available even if selection owner terminates. This is VM
      behavior which is not controlled by Harbour GTXWC code so selection
      set by Harbour application is available after its termination only
      if such Window Manager is used and it has enough time to make
      selection copy.
    ! use hb_cdpFindExt() instead of hb_cdpFind() to find UTF8 CP
      It fixes national character translations in selections (clipboard)
      broken during recent modifications for new CDP API.
2009-12-17 10:54:58 +00:00
Pritpal Bedi
6a0d488bd0 * Commit 1, next follows. 2009-12-17 10:53:03 +00:00
Przemyslaw Czerpak
29ffa24c0f 2009-12-17 03:45 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtxwc/gtxwc.c
    ! fixed timeout checking in function taking text from clipboard.
      Due to typo it was waiting for XServer answer for 3 milliseconds
      instead of 3 seconds so sometimes it was too small even in local
      usage (i.e. when clipboard was accessed 1-st time by application
      and some internal XLib structures had to be initialized) and
      probably using remote XServers it was able to retrieve only the
      1-st type of selection (if any).
2009-12-17 02:45:11 +00:00
Viktor Szakats
99f5921c00 2009-12-16 21:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/hbwin.ch
  * contrib/hbwin/tests/testmapi.prg
  * contrib/hbwin/mapi.c
    + Added HB_WIN_MAPI_* constants for recipient types.
    + WIN_MAPISENDMAIL() now accept 8th (sender) as simple string,
      this will be passed as sender name to Windows.
    + WIN_MAPISENDMAIL() now accept 9th (recipient) parameter
      as simple list of strings. Values will be passed as
      'TO' recipient names to Windows.
    + WIN_MAPISENDMAIL() now accept 10th (attachment) parameter
      as simple list of strings. Values will be passed as
      pathname to Windows.
    % One minor optimization in WIN_MAPISENDMAIL().
    + Added example for simple form of WIN_MAPISENDMAIL() call.
2009-12-16 20:40:18 +00:00
Viktor Szakats
4829b38dae 2009-12-16 21:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/mapi.c
    * WIN_MAPISENDMAIL() fixed to set sender as MAPI_ORIG.
      This is the default value (zero), but we shouldn't assume such things.
    + WIN_MAPISENDMAIL() recipient arrays elements third parameter
      is optional.
    ! WIN_MAPISENDMAIL() fixed to set recipient address type as
      MAPI_TO by default (if there is no 3rd element or 3rd element is
      non-numeric). So far it was defaulting to MAPI_ORIG in these case,
      which is wrong.
    ! WIN_MAPISENDMAIL() fixed to skip recipient if neither first
      nor second element is a non-empty string. It may have caused
      GPFs before.
    * WIN_MAPISENDMAIL() changed to accept 1st element of file
      attachment array list as pathname, and 2nd element as
      optional filename. 2nd element is now truly optional, files
      won't be skipped if omitted.
      Original code accepted filename in 1st element, but it's
      cleaner this way and also testmapi.prg calls it this way,
      so it might have been a typo.
    ! WIN_MAPISENDMAIL() fixed file attachments handling to not
      cause GPF is 1st array element (pathname) is non-string or
      empty. These items will now be skipped.
    ; Please retest also with bad parameters. And I'd appreciate
      if someone could review as it's blind coding.
2009-12-16 20:23:42 +00:00
Przemyslaw Czerpak
24c0d47fb3 2009-12-16 19:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/tests/gtkeys.prg
    + added code to test clipboard (CTRL+INS shows clipboard text and
      CTRL+END set new text in clipboard).
2009-12-16 18:05:42 +00:00
Viktor Szakats
5fafefc19c 2009-12-16 18:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* harbour-win-spec
  * harbour-wce-spec
  * include/hbver.h
  * package/winuni/RELNOTES
  * package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
  * harbour.spec
  * config/global.mk
    * Changed version to 2.0.0rc1 (from 2.0.0beta3)
    ; TODO: Please also change debian/changelog.
    ; Rehearsing version change, I don't plan to make binary
      release of this interim version.

  * doc/codestyl.txt
    * Minor update.
      I don't plan a full update this time, as we have a huge
      amount of well formatted source code, and it's pretty
      consistent too, so it's enough to peek into any one of
      them for a perfect example. So if someone needs and 
      example, just look under src/* for both .c and .prg.
2009-12-16 17:38:13 +00:00
Przemyslaw Czerpak
b258738f10 2009-12-16 09:59 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/common/hbdate.c
    * casting for some more pedantic C/C++ compilers

  * harbour/include/hbinit.h
    * allow to force static C++ initialization as startup code in
      GCC and SunPRO builds by HB_STATIC_STARTUP macro
2009-12-16 08:59:41 +00:00
Viktor Szakats
6f26003775 2009-12-16 04:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed watcom targets to switch to single input file mode
      when C mode (now default) is used.
      Maybe OpenWatcom developers should finally sync such
      basic behavior between their C and C++ compilers. Until
      then we keep adding hacks.
2009-12-16 03:54:07 +00:00
Viktor Szakats
423051c834 2009-12-16 03:54 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbbtree/tests/ctest.c
    ! Changed sprintf() to safe hb_snprintf() to avoid MSVC 
      warnings.
2009-12-16 02:55:28 +00:00
Viktor Szakats
ce675e64c9 2009-12-16 03:17 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/common/watcom.mk
    ! Fixed for dos/watcom after previous change.
2009-12-16 02:18:08 +00:00
Viktor Szakats
3da406eb95 2009-12-16 03:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/common/watcom.mk
  * config/global.mk
  * config/rules.mk
    ! Added relatively ugly hack to change dir separators in CC_RULE in 
      a generic way. It's ugly because it's only needed for non-linux 
      Watcom C (not C++!) builds, but this way it's possible to avoid 
      CC_RULE override in common/watcom.mk. CC_RULE override didn't 
      implement dynlib support, which meant that after switching 
      to C mode as default for watcom, dynlib generation got broken 
      on win and os2.
2009-12-16 02:12:27 +00:00
Viktor Szakats
782ae37170 2009-12-16 02:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_hbqmainwindow.cpp
    * Minor formatting after latest changes.
2009-12-16 01:10:59 +00:00
Viktor Szakats
036644d8be 2009-12-16 01:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddsql/sddmy/mysqldd.c
    ! Fixed warning reported by linux/watcom.

  * src/rtl/gtwin/gtwin.c
    * Minor formatting.
2009-12-16 00:54:21 +00:00
Przemyslaw Czerpak
9ccc8edfb8 2009-12-16 01:26 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/mapi.c
    ! fixed compilation with OpenWatcom
2009-12-16 00:26:31 +00:00
Viktor Szakats
ba8ba39f53 2009-12-16 01:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
    ! Typo in prev entry.
2009-12-16 00:03:39 +00:00
Viktor Szakats
7f2d6ff5eb 2009-12-16 00:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/Makefile
  + contrib/hbwin/wapi_winnls.c
    + Added WAPI_GETACP()
    + Added WAPI_GETOEMCP()
    ; NOTE: TODO? These values could be used as a base for
            default HB_GTI_CODEPAGE setting and _SET_CODEPAGE 
            for non-UNICODE Harbour builds.
2009-12-16 00:02:08 +00:00
Przemyslaw Czerpak
4c816bfdb7 2009-12-16 00:26 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/ChangeLog
    ! removed repeated entry
2009-12-15 23:26:43 +00:00
Przemyslaw Czerpak
6433838d9b 2009-12-16 00:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    * use -n2 as default harbour compiler parameter in hb* scripts

  * harbour/include/hbinit.h
    * added error messages when some mixed forms of startup initialization
      are defined
2009-12-15 23:24:29 +00:00
Przemyslaw Czerpak
ff2f644a97 2009-12-16 00:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    * use -n2 as default harbour compiler parameter in hb* scripts
2009-12-15 23:00:38 +00:00
Przemyslaw Czerpak
850fdf166a 2009-12-15 21:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbinit.h
    ! fixed typo in section name in last commit - thanks to Tamas again
    * in C++ mode encapsulate startup functions inside
      'extern "C" { ... }' to eliminate reallocation problems
2009-12-15 20:36:02 +00:00
Przemyslaw Czerpak
791d16c3fe 2009-12-15 21:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbinit.h
    * use more portable asm() directive instead of __asm__()
    * explicitly restore .text segment for compilers which do not make
      it automatically
      Thanks to Tamas for the information.
2009-12-15 20:15:33 +00:00
Przemyslaw Czerpak
cab0690455 2009-12-15 20:43 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbinit.h
    * eliminated from ASM code used in HB_INITSEG_STARTUP direct references
      to public functions - it resolves the problem with non relocatable
      code breaking Harbour shared library.
      TODO: find portable method to mark function as used for C compiler
            without using any public symbols (functions or variables)
            which may cause conflicts between modules.
            Compilers like modern GCC versions are clever enough to detect
            cyclic references (only compile time warnings are pacified in
            such case) and they strip even group of functions it they are
            not accessed externally.
2009-12-15 19:44:33 +00:00
Przemyslaw Czerpak
593d90a50b 2009-12-15 19:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbinit.h
    + added new alternative form for initialization code activated
      by HB_INITSEG_STARTUP macro. This method uses asm() directive
      to store call to startup function in .init segment.
      It's a work in progress though current code is working in Linux
      static builds and probably should work also with few other
      compilers. Final version should help in adding support for
      native non GCC based C compilers in some *nixes.
      Thanks to Tamas for his help.
2009-12-15 18:47:43 +00:00
Viktor Szakats
850cb7aa44 2009-12-15 18:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/RELNOTES
    ! Typo.

  * contrib/hbqt/qtgui/qtguis/Makefile
  * contrib/hbqt/qtcore/qtcores/Makefile
  * contrib/hbqt/hbqts/Makefile
  * contrib/hbqt/qtnetwork/qtnetworks/Makefile
    ! Fixed HB_QT_STATIC=yes mode.

  * contrib/hbclipsm/date.c
    ! Fixed DATEASARRAY() to return empty array instead of { NIL, NIL, NIL }
      if non-date was passed.
    % Optimized DATEASARRAY().

  * contrib/hbcairo/image.c
    ! Fixed two warnings.

  * INSTALL
    + Added CYGWIN= envvar to mingwarm example to suppress useless
      Cygwin warning.
2009-12-15 17:12:19 +00:00
Viktor Szakats
5f0af4ba2b 2009-12-15 11:36 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt.hbc
  * contrib/gtqtc/gtqtcs.hbc
  * contrib/gtqtc/gtqtcs/Makefile
  * contrib/gtqtc/Makefile
  * contrib/gtqtc/gtqtc.hbc
    * Cleanups.
    ! Static mode fix for gtqtc.

  * contrib/gtqtc/gtqtc.cpp
    ! Deleted HB_TCHAR references in commented code.
2009-12-15 10:53:13 +00:00
Viktor Szakats
deae0cb7f9 2009-12-15 11:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
    ! Fixed ChangeLog entry header of my last commit.
2009-12-15 10:27:17 +00:00
Przemyslaw Czerpak
7e72311637 2009-12-15 04:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbdefs.h
    * modified PHB_FUNC/HB_FUNC_PTR declaration to use external 'extern "C"'
      encapsulation for C++ compilers which do not accept it directly
      (i.e. BORLAND or GCC 2.xx)
2009-12-15 03:32:55 +00:00
Viktor Szakats
3c59e562f6 2009-12-15 00:44 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbwin/win_regc.c
    * Minor cleanup to make code more robust.

  * contrib/hbqt/qtgui/QTableView.cpp
    * Some minor changes after regenerating it with current generator tool.
2009-12-14 23:45:59 +00:00
Pritpal Bedi
285c753fe5 2009-12-14 10:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt.h
  * contrib/hbqt/hbqt_hbqtableview.cpp
  * contrib/hbqt/qtgui/QTableView.cpp
  * contrib/hbqt/qtgui/TQTableView.prg
  * contrib/hbqt/qth/QTableView.qth
  * contrib/hbxbp/xbpbrowse.prg
    + Implemented GC collectible pointers for HBTableView() class.
2009-12-14 23:16:30 +00:00
Pritpal Bedi
2fbfe2d315 2009-12-14 10:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt.h
  * contrib/hbqt/hbqt_hbdbfmodel.cpp
  * contrib/hbqt/hbqt_hbdbfmodel.h
  * contrib/hbqt/qtcore/QAbstractItemModel.cpp
  * contrib/hbqt/qtcore/TQAbstractItemModel.prg
  * contrib/hbqt/qth/QAbstractItemModel.qth
  * contrib/hbxbp/xbpbrowse.prg
    + Implemented GC collectible pointer for HBDbfModel() class.
2009-12-14 18:03:45 +00:00
Przemyslaw Czerpak
90a125c300 2009-12-14 17:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbcrc.c
    ! fixed hb_crcct() to work with polynomials smaller then 8 bit,
      i.e. parity bit: x^1+1 => 3
    % small simplification in hb_crc() function
2009-12-14 16:25:52 +00:00
Viktor Szakats
198c6b2804 2009-12-14 14:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_os.prg
  * contrib/hbwin/wapi_winuser.c
  * contrib/hbwin/axcore.c
  * contrib/hbwin/wapi_commctrl.c
    * Formatting.
2009-12-14 13:22:25 +00:00
Viktor Szakats
ebdd5086de 2009-12-14 13:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_prn2.c
    ! Missing hb_itemRelease() from prev commit.
2009-12-14 12:52:48 +00:00
Viktor Szakats
e4ec7db7e2 2009-12-14 13:45 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_prn2.c
    + Eliminated rest of HB_TCHAR*() calls.
      Please review, and test for memory leaks.
    ; No more HB_TCHAR*() macros in hbwin code.

  * contrib/hbwin/win_misc.c
    + Added cast.

  * contrib/hbqt/hbqt_base.cpp
    * Minor formatting.
2009-12-14 12:47:32 +00:00
Viktor Szakats
507e9d6ca9 2009-12-14 00:04 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_misc.c
    ! Fixed WIN_ANSITOWIDE() and WIN_WIDETOANSI() to return string with
      proper length in all cases.
      Peer-review me pls.
2009-12-13 23:07:28 +00:00
Viktor Szakats
b057507e3c 2009-12-13 22:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/compiler/hbmain.c
  * src/compiler/cmdcheck.c
  * src/compiler/hbcomp.c
  * src/compiler/hbusage.c
  * include/hbcompdf.h
    + Added support for -i- and -i+ options. They will disable/enable 
      handling of INCLUDE envvar.

  * config/rules.mk
    + Added -i- Harbour compiler switch to avoid any interference 
      with user set INCLUDE envvars.
2009-12-13 21:48:02 +00:00
Pritpal Bedi
7aecc89102 2009-12-03 12:43 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_hbqmainwindow.cpp
  * contrib/hbqt/hbqt_hbqmainwindow.h
  * contrib/hbxbp/xbpwindow.prg
    + Implemented GC collectible pointer for HBQMainWindow().

      /* Please do not commit anything in HBQT/HBXBP/HBIDE as I will be cleaning 
         up the code. BTW how can I invoke HBXBP_DEBUG() functionality.

         I was just busy with the preparations of my daughter's wedding.
      */
2009-12-13 20:48:53 +00:00
Viktor Szakats
f3be4e51c5 2009-12-13 17:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/mapi.c
    ! Added back zeroing rcp/file structure list.

  * INSTALL
    * Minor.

  * contrib/gtwvg/wvgutils.c
  * contrib/hbwin/win_misc.c
  * contrib/hbwin/mapi.c
    * ZeroMemory() -> memset()
2009-12-13 16:30:16 +00:00
Viktor Szakats
b36077420e 2009-12-13 14:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/mapi.c
    + Added support for unlimited number of recipients and
      attached files. Please test and review.

  * utils/hbmk2/hbmk2.prg
    + Added support for linux/open64. (Please test)

  * INSTALL
    + Added open64.
2009-12-13 13:49:14 +00:00