Commit Graph

10352 Commits

Author SHA1 Message Date
Viktor Szakats
18ac970301 2009-04-02 15:10 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* bin/postinst.bat
  + utils/hbi18n/hbi18n.hbm
    + Generating hbmk2-dll and hbi18n-dll shared-mode executables.

  * utils/hbmk2/hbmk2.prg
    ! Fixed shared libnames for MinGW family.
    ; TOFIX: Still doesn't build shared-mode executables.
2009-04-02 13:11:23 +00:00
Viktor Szakats
c2bfed14d8 2009-04-02 13:42 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-mkdyn.bat
  * bin/postinst.bat
    + Added support for GCC family .dll creation. (Cygwin not tested)
      This will also create .def files. Also implib .a files are possible,
      code is there commented.
    + Added 'wce' ARCH support.
    ! Fixed to not include gtwin in WinCE .dlls.
    + Added support for HB_DLLIBS envvar.
    ; NOTE: The benefits of using cmd shell instead of msys to create
            mingw builds is that hbrun-dll and hbtest-dll are also
            created and you don't have use forward slashes in HB_INC_*
            envvars. It also allows to more easily add implib creation
            in the future. Overall the Windows build environment is
            more uniform this way. msys build output though is much
            sleeker and also seems faster.
            If this method turns out to be okay, it may become the
            default/support/standard way to build Harbour with MinGW
            on Windows. (if not we can return to the msys method)

    ; TOFIX: Shared MinGW executables cannot be built if Harbour was built
             with -DHB_DYNLIB. IMO this macro should be ignored in MinGW
             builds as there is no separate DLL build and non-DLL.
             [ I cannot fix this. ]
             Until then I had to a hack to starter batch files.

  * mpkg_win.bat
    * Switched to use make_gnu.bat instead of make_gnu.sh to build
      GCC family targets.

  * make_gnu.bat
    + Added special codepath for GCC familty as it needs one pass only
      to create .dlls.

  * INSTALL
    * Updated to reflect now possible non-msys MinGW build.
    * Updated example to use non-msys flavours.
    + Readded MinGW + msys example.
    % Minor simplification in mingw64/mingwce targets.
      (HB_CCPATH no longer needed on Windows)
2009-04-02 11:46:27 +00:00
Viktor Szakats
6087611f6c 2009-04-02 11:19 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_gnu_xmingwce.sh
  * bin/hb-mkdyn.sh
  * bin/hb-func.sh
  * bin/postinst.sh
  * mpkg_win.bat
  * external/sqlite3/Makefile
  * make_gnu.sh
    + Added 'wce' ARCH support and 'mingwce' COMP support where needed.
    ; TODO: Start using above in local contrib Makefiles.

  * bin/hb-mkdyn.sh
    + Added comment on how to generate implib when creating the .dll.

  * bin/hb-mkdyn.bat
    ! Added missing setlocal.

  * ChangeLog
    ! Typos.

  * make_gnu.bat
    + Will now exit with message if tried to run with mingw/cygwin
      targets.
2009-04-02 09:20:42 +00:00
Przemyslaw Czerpak
3672e94c50 2009-04-01 22:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/doc/Makefile
    ! removed unexisting license.txt file

  * harbour/include/hbapidbg.h
    * do not export Harbour debugger functions. If someone wants to create
      3-rd party debugger then we should agree the list of functions which
      should be public.

  * harbour/include/hbstack.h
    * minor cleanup in some definitions

  * harbour/include/hbdefs.h
    + added HB_DLL_ENTRY_POINT macro to set default DLL entry point for
      different Windows compilers

  * harbour/source/vm/maindllh.c
  * harbour/source/vm/maindllp.c
    * use HB_DLL_ENTRY_POINT macro

  * harbour/include/hbsetup.h
    * added internal macro to disable flatten optimization

  * harbour/include/hbmath.h
  * harbour/source/rtl/math.c
    * make default math error handler function static

  * harbour/include/hbatomic.h
    + added atomic inc/dec inline asm code to OW x86 builds

  * harbour/source/rtl/console.c
    * small code reorganization to not mix public and private function calls

  * harbour/source/rtl/hbregex.c
  * harbour/source/hbpcre/_hbpcreg.c
    * do not use hb_xfree() function pointer directly to avoid problems
      with different calling conventions.

  * harbour/config/win/owatcom.cf
  * harbour/config/os2/owatcom.cf
    * removed unnecessary in recent OpenWatcom versions explicit wlink.lnk
      including.
2009-04-01 20:04:37 +00:00
Viktor Szakats
5ff55f2ce6 2009-04-01 14:11 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added clipper/rtlink/exospace/blinker self-name recognition.
      clipper will switch it to hbcmp mode,
      rtlink/exospace/blinker will switch it to hblnk mode.
      rtlink parameter recognition is yet to be done.

  * contrib/hbct/ctmisc.prg
    ! Fixed CENTER() to not LTrim() the input string.

  * contrib/hbwin/wapi_commctrl.c
    ! 0/1 -> FALSE/TRUE
    ! Fixed to use proper macro instead of hb_parnint().
    % Using hb_arraySetNL() rather than hb_arraySet().

  * mpkg_win.nsi
    * Minor.
2009-04-01 12:13:34 +00:00
Viktor Szakats
3c718f1cd5 2009-04-01 10:45 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* doc/Makefile
    ! Removed license.txt.

  * INSTALL
    + Added Windows/Windows CE build examples.
      Cleaned mingw64 and mingwce cross-builds.

  * mpkg_win.bat
    * Using make_gnu.sh instead of make_gnu_xmingwce.sh 
      for mingwce target for uniformity.

  * utils/hbmk2/hbmk2.prg
    ! Fixed silly typo causing RTE if compiler autodetection 
      fails to detect any tier-one compilers (or none).
    + Added automatic postfixing external Harbour executable
      name if hbmk2 executable name is also prefixed. Currently 
      -x64 and -ia64 are recognized. Useful to call harbour-x64.exe 
      / harbour-ia64.exe when hbmk2-x64.exe / hbmk2-ia64.exe is used.

  * make_gnu_xmingwce.sh
  * config/rules.cf
  * config/win/mingwce.cf
  * config/win/poccce.cf
  * config/win/msvcce.cf
  * config/wce/global.cf
    * Moved -D__PLATFORM__WINCE to .cf files. This also fixes 
      missing __PLATFORM__WINCE for poccce and msvcce targets.
2009-04-01 08:47:52 +00:00
Pritpal Bedi
d3f451e340 2009-03-31 18:41 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
+ harbour/contrib/hbqt/qth/QAxBase.qth
  + harbour/contrib/hbqt/qth/QAxBindable.qth
  + harbour/contrib/hbqt/qth/QAxObject.qth
  + harbour/contrib/hbqt/qth/QAxWidget.qth
  + harbour/contrib/hbqt/qth/QDesktopWidget.qth
  + harbour/contrib/hbqt/qth/QDir.qth
  + harbour/contrib/hbqt/qth/QDockWidget.qth
  + harbour/contrib/hbqt/qth/QFontInfo.qth
  + harbour/contrib/hbqt/qth/QFtp.qth
  + harbour/contrib/hbqt/qth/QGridLayout.qth
  + harbour/contrib/hbqt/qth/QHeaderView.qth
  + harbour/contrib/hbqt/qth/QHttp.qth
  + harbour/contrib/hbqt/qth/QListWidget.qth
  + harbour/contrib/hbqt/qth/QListWidgetItem.qth
  + harbour/contrib/hbqt/qth/QSignalMapper.qth
  + harbour/contrib/hbqt/qth/QSplashScreen.qth
  + harbour/contrib/hbqt/qth/QTimer.qth
  + harbour/contrib/hbqt/qth/QUrl.qth
    + Added more source headers - RAW - not compiled.
2009-04-01 01:48:31 +00:00
Viktor Szakats
fe943a5b0e 2009-03-31 21:36 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* bin/postinst.bat
    ! Fixed regression causing shared hbrun/hbtest binaries to
      not be built on x64 targets.

  * external/sqlite3/Makefile
    ! Removed header installer rules. There are no headers here
      to install.
2009-03-31 19:36:51 +00:00
Viktor Szakats
de720c9ce5 2009-03-31 19:50 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
    + Added information on HB_EXTERNAL* envvar settings.

  * utils/hbmk2/hbmk2.prg
    + Added support for wce target. Currently in parallel 
      with win/*ce targets.
2009-03-31 17:50:31 +00:00
Viktor Szakats
5fffc636eb 2009-03-31 14:01 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/rddsql/sddfb/Makefile
    ! Excluded for pocc64 due to compile errors.
2009-03-31 12:01:52 +00:00
Viktor Szakats
6d55d8f65f 2009-03-31 13:41 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/hbinet.c
    ! Reverted. Damn.
2009-03-31 11:34:07 +00:00
Viktor Szakats
e9c7227949 2009-03-31 13:39 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbfbird/Makefile
    ! Excluded for pocc64 due to compile errors.

  * source/rtl/hbinet.c
    ! Fixed to warnings for pocc64.
2009-03-31 11:29:46 +00:00
Viktor Szakats
80e53948fa 2009-03-31 12:45 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-mkdyn.bat
    + Added pocc64 support.

  * contrib/gtalleg/Makefile
    ! Excluded for pocc64 due to compile errors.

  * contrib/hbsqlit3/Makefile
    ! Excluded for pocc64 due to overflow.

  * contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/Makefile
    ! Excluded for pocc64.
2009-03-31 11:14:06 +00:00
Viktor Szakats
0ae335dec9 2009-03-31 12:23 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/xhb/dbf2txt.c
    ! Fixed for Win64.

  * contrib/xhb/hbserv.c
    - Excluded for Win64 builds.

  * contrib/hbqt/generator/hbqtgen.prg
    * Minor formatting in generated code. (Using double quotes 
      in #include, CLASS -> CREATE CLASS, DATA -> VAR to follow 
      Class(y) syntax.)
2009-03-31 10:23:41 +00:00
Viktor Szakats
ea90ff81f0 2009-03-31 12:03 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
+ config/wce
  + config/wce/dir.cf
  + config/wce/global.cf
  + config/wce/install.cf
  + config/wce/msvcarm.cf
  + config/wce/mingwarm.cf
  + config/wce/poccarm.cf
    + Added new arch for WinCE: wce
      These will now live in parallel with old win/*ce targets
      until they are fully functional. We can also back up from
      here in case this new method turns out to be a dead end
      for any reason. The upgrade path is:
      win/msvcce  -> wce/msvcarm
      win/mingwce -> wce/mingwarm
      win/poccce  -> wce/poccarm
      The idea is that this way we may continue adding support
      for non-ARM WinCE platforms, if needed. It also makes it
      easier to do things globally for wce platform only.
2009-03-31 10:06:15 +00:00
Viktor Szakats
27f7edb625 2009-03-31 11:46 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
    * Moved Windows CE compilers into a separate section.

  * bin/hb-mkdyn.bat
    * Changes made to allow wce arch. (provision for wce arch)

  * mpkg_win.bat
    * Allows to override HB_ARCHITECTURE. (provision for wce arch)
    + Include arch in target directory. (provision for wce arch)

  * include/hbatomic.h
    - Turned off inline asm for _MSC_VER compilers in 64-bit mode. (pocc64, msvc64)
      These target don't support inline asm.
      This fixes previously reported regressions with these targets.

  * utils/hbmk2/hbmk2.prg
    % win/owatcom: Pentium Pro scheduling.
    * win/owatcom: Temply set back stack calling convention.

  * external/libhpdf/Makefile
    - Disabled for pocc64 due to errors, even internal compiler error:
      ---
      can't spill register variable: rcx (3) image
      ../../hpdf_image.c(480): fatal error: Internal error: best_spillee.
      ---

  * config/win/bcc.cf
    + Added comment about -4, -5, -6.

  * ChangeLog
    ! Minor fix to prev entry.
2009-03-31 09:58:43 +00:00
Pritpal Bedi
5494ce2cf0 2009-03-31 01:50 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/Makefile
    % Makefile is auto generated by <hbqtgen.exe> and is placed
      in hbqt/gensource.

  * harbour/contrib/hbqt/hbqt_base.cpp
  * harbour/contrib/hbqt/hbqt_qabstractbutton.cpp
  * harbour/contrib/hbqt/hbqt_qabstractitemview.cpp
  * harbour/contrib/hbqt/hbqt_qabstractprintdialog.cpp
  * harbour/contrib/hbqt/hbqt_qabstractscrollarea.cpp
  * harbour/contrib/hbqt/hbqt_qabstractslider.cpp
  * harbour/contrib/hbqt/hbqt_qabstractspinbox.cpp
  * harbour/contrib/hbqt/hbqt_qaction.cpp
  * harbour/contrib/hbqt/hbqt_qapplication.cpp
  * harbour/contrib/hbqt/hbqt_qboxlayout.cpp
  + harbour/contrib/hbqt/hbqt_qbrush.cpp
  * harbour/contrib/hbqt/hbqt_qcalendarwidget.cpp
  * harbour/contrib/hbqt/hbqt_qcheckbox.cpp
  + harbour/contrib/hbqt/hbqt_qcolor.cpp
  * harbour/contrib/hbqt/hbqt_qcolordialog.cpp
  * harbour/contrib/hbqt/hbqt_qcombobox.cpp
  * harbour/contrib/hbqt/hbqt_qcommandlinkbutton.cpp
  * harbour/contrib/hbqt/hbqt_qcoreapplication.cpp
  - harbour/contrib/hbqt/hbqt_qcqlendarwidget.cpp
  * harbour/contrib/hbqt/hbqt_qdateedit.cpp
  * harbour/contrib/hbqt/hbqt_qdatetimeedit.cpp
  * harbour/contrib/hbqt/hbqt_qdial.cpp
  * harbour/contrib/hbqt/hbqt_qdialog.cpp
  * harbour/contrib/hbqt/hbqt_qdoublespinbox.cpp
  * harbour/contrib/hbqt/hbqt_qerrormessage.cpp
  * harbour/contrib/hbqt/hbqt_qfiledialog.cpp
  * harbour/contrib/hbqt/hbqt_qfocusframe.cpp
  * harbour/contrib/hbqt/hbqt_qfont.cpp
  * harbour/contrib/hbqt/hbqt_qfontcombobox.cpp
  * harbour/contrib/hbqt/hbqt_qfontdialog.cpp
  * harbour/contrib/hbqt/hbqt_qformlayout.cpp
  * harbour/contrib/hbqt/hbqt_qframe.cpp
  * harbour/contrib/hbqt/hbqt_qgroupbox.cpp
  * harbour/contrib/hbqt/hbqt_qhboxlayout.cpp
  * harbour/contrib/hbqt/hbqt_qinputdialog.cpp
  * harbour/contrib/hbqt/hbqt_qlabel.cpp
  * harbour/contrib/hbqt/hbqt_qlayout.cpp
  * harbour/contrib/hbqt/hbqt_qlayoutitem.cpp
  * harbour/contrib/hbqt/hbqt_qlcdnumber.cpp
  * harbour/contrib/hbqt/hbqt_qlineedit.cpp
  * harbour/contrib/hbqt/hbqt_qlistview.cpp
  * harbour/contrib/hbqt/hbqt_qmainwindow.cpp
  * harbour/contrib/hbqt/hbqt_qmenu.cpp
  * harbour/contrib/hbqt/hbqt_qmenubar.cpp
  * harbour/contrib/hbqt/hbqt_qmessagebox.cpp
  * harbour/contrib/hbqt/hbqt_qobject.cpp
  * harbour/contrib/hbqt/hbqt_qpagesetupdialog.cpp
  + harbour/contrib/hbqt/hbqt_qpaintdevice.cpp
  + harbour/contrib/hbqt/hbqt_qpainter.cpp
  + harbour/contrib/hbqt/hbqt_qpen.cpp
  * harbour/contrib/hbqt/hbqt_qprintdialog.cpp
  * harbour/contrib/hbqt/hbqt_qprintpreviewdialog.cpp
  * harbour/contrib/hbqt/hbqt_qprogressbar.cpp
  * harbour/contrib/hbqt/hbqt_qprogressdialog.cpp
  * harbour/contrib/hbqt/hbqt_qpushbutton.cpp
  * harbour/contrib/hbqt/hbqt_qradiobutton.cpp
  * harbour/contrib/hbqt/hbqt_qscrollarea.cpp
  * harbour/contrib/hbqt/hbqt_qscrollbar.cpp
  * harbour/contrib/hbqt/hbqt_qsizegrip.cpp
  * harbour/contrib/hbqt/hbqt_qslider.cpp
  * harbour/contrib/hbqt/hbqt_qspinbox.cpp
  * harbour/contrib/hbqt/hbqt_qsplitter.cpp
  * harbour/contrib/hbqt/hbqt_qtabbar.cpp
  * harbour/contrib/hbqt/hbqt_qtableview.cpp
  * harbour/contrib/hbqt/hbqt_qtablewidget.cpp
  * harbour/contrib/hbqt/hbqt_qtablewidgetitem.cpp
  * harbour/contrib/hbqt/hbqt_qtabwidget.cpp
  * harbour/contrib/hbqt/hbqt_qtextedit.cpp
  * harbour/contrib/hbqt/hbqt_qtimeedit.cpp
  * harbour/contrib/hbqt/hbqt_qtoolbar.cpp
  * harbour/contrib/hbqt/hbqt_qtoolbox.cpp
  * harbour/contrib/hbqt/hbqt_qtoolbutton.cpp
  * harbour/contrib/hbqt/hbqt_qtreeview.cpp
  * harbour/contrib/hbqt/hbqt_qtreewidget.cpp
  * harbour/contrib/hbqt/hbqt_qtreewidgetitem.cpp
  * harbour/contrib/hbqt/hbqt_qvboxlayout.cpp
  + harbour/contrib/hbqt/hbqt_qwebpage.cpp
  * harbour/contrib/hbqt/hbqt_qwebview.cpp
  * harbour/contrib/hbqt/hbqt_qwidget.cpp
  * harbour/contrib/hbqt/hbqt_qwizard.cpp
  * harbour/contrib/hbqt/hbqt_slots.cpp
  * harbour/contrib/hbqt/hbqt_utils.cpp
  * harbour/contrib/hbqt/moc_slots.cpp
  * harbour/contrib/hbqt/hbqt.h
  + harbour/contrib/hbqt/hbqt_slots.h
  - harbour/contrib/hbqt/slots.h
    +- Added | Changed | Deleted Sources. 
     Now these sources are auto generated by the HB-QT generator.
     Please never try to modify these. Instead look at /qth folder
     and .qth source definition files. I will write a detailed 
     description once it becomes fully operational as I have 
     drawn on the drawing board. The above code is fully functional
     to the extent it is generated but still about 30% functions
     have not been translated. A work in progress...

  + harbour/contrib/hbqt/TQAbstractButton.prg
  + harbour/contrib/hbqt/TQAbstractItemView.prg
  + harbour/contrib/hbqt/TQAbstractPrintDialog.prg
  + harbour/contrib/hbqt/TQAbstractScrollArea.prg
  + harbour/contrib/hbqt/TQAbstractSlider.prg
  + harbour/contrib/hbqt/TQAbstractSpinBox.prg
  + harbour/contrib/hbqt/TQAction.prg
  + harbour/contrib/hbqt/TQBoxLayout.prg
  + harbour/contrib/hbqt/TQCalendarWidget.prg
  + harbour/contrib/hbqt/TQCheckBox.prg
  + harbour/contrib/hbqt/TQColorDialog.prg
  + harbour/contrib/hbqt/TQComboBox.prg
  + harbour/contrib/hbqt/TQCommandLinkButton.prg
  + harbour/contrib/hbqt/TQDateEdit.prg
  + harbour/contrib/hbqt/TQDateTimeEdit.prg
  + harbour/contrib/hbqt/TQDial.prg
  + harbour/contrib/hbqt/TQDialog.prg
  + harbour/contrib/hbqt/TQDoubleSpinBox.prg
  + harbour/contrib/hbqt/TQErrorMessage.prg
  + harbour/contrib/hbqt/TQFileDialog.prg
  + harbour/contrib/hbqt/TQFocusFrame.prg
  + harbour/contrib/hbqt/TQFontComboBox.prg
  + harbour/contrib/hbqt/TQFontDialog.prg
  + harbour/contrib/hbqt/TQFormLayout.prg
  + harbour/contrib/hbqt/TQFrame.prg
  + harbour/contrib/hbqt/TQGroupBox.prg
  + harbour/contrib/hbqt/TQHBoxLayout.prg
  + harbour/contrib/hbqt/TQInputDialog.prg
  + harbour/contrib/hbqt/TQLabel.prg
  + harbour/contrib/hbqt/TQLayout.prg
  + harbour/contrib/hbqt/TQLayoutItem.prg
  + harbour/contrib/hbqt/TQLCDNumber.prg
  + harbour/contrib/hbqt/TQLineEdit.prg
  + harbour/contrib/hbqt/TQListView.prg
  + harbour/contrib/hbqt/TQMainWindow.prg
  + harbour/contrib/hbqt/TQMenu.prg
  + harbour/contrib/hbqt/TQMenuBar.prg
  + harbour/contrib/hbqt/TQMessageBox.prg
  + harbour/contrib/hbqt/TQObject.prg
  + harbour/contrib/hbqt/TQPageSetupDialog.prg
  + harbour/contrib/hbqt/TQPaintDevice.prg
  + harbour/contrib/hbqt/TQPainter.prg
  + harbour/contrib/hbqt/TQPrintDialog.prg
  + harbour/contrib/hbqt/TQPrintPreviewDialog.prg
  + harbour/contrib/hbqt/TQProgressBar.prg
  + harbour/contrib/hbqt/TQProgressDialog.prg
  + harbour/contrib/hbqt/TQPushButton.prg
  + harbour/contrib/hbqt/TQRadioButton.prg
  + harbour/contrib/hbqt/TQScrollArea.prg
  + harbour/contrib/hbqt/TQScrollBar.prg
  + harbour/contrib/hbqt/TQSizeGrip.prg
  + harbour/contrib/hbqt/TQSlider.prg
  + harbour/contrib/hbqt/TQSpinBox.prg
  + harbour/contrib/hbqt/TQSplitter.prg
  + harbour/contrib/hbqt/TQTabBar.prg
  + harbour/contrib/hbqt/TQTableView.prg
  + harbour/contrib/hbqt/TQTableWidget.prg
  + harbour/contrib/hbqt/TQTableWidgetItem.prg
  + harbour/contrib/hbqt/TQTabWidget.prg
  + harbour/contrib/hbqt/TQTextEdit.prg
  + harbour/contrib/hbqt/TQTimeEdit.prg
  + harbour/contrib/hbqt/TQToolBar.prg
  + harbour/contrib/hbqt/TQToolBox.prg
  + harbour/contrib/hbqt/TQToolButton.prg
  + harbour/contrib/hbqt/TQTreeView.prg
  + harbour/contrib/hbqt/TQTreeWidget.prg
  + harbour/contrib/hbqt/TQTreeWidgetItem.prg
  + harbour/contrib/hbqt/TQVBoxLayout.prg
  + harbour/contrib/hbqt/TQWebPage.prg
  + harbour/contrib/hbqt/TQWebView.prg
  + harbour/contrib/hbqt/TQWidget.prg
  + harbour/contrib/hbqt/TQWizard.prg
    + Added auto generated classes with exact same class hierarchy
      which QT has outlined with inheritance. QT implements 
      constructors with dynamic parameters which on prg level
      are difficult to manage. So I have adopted a simple 
      approach. :New() accepts only one argument <pParent> i.e.,
      pointer to the parent object, if any, and which is universal
      in QT implementation. This class implementation implies 
      that PRG code will pass <pPointer> to a method and will 
      receive <oObject> | <pPointer>. We can build higher level
      classes inheriting from above and implement whatever way we wish
      to pass and receive objects. I would like those higher
      level classes to confirm Xbase++ standards.

  * harbour/contrib/hbqt/qth/QAbstractButton.qth
  * harbour/contrib/hbqt/qth/QAbstractItemView.qth
  * harbour/contrib/hbqt/qth/QAbstractPrintDialog.qth
  * harbour/contrib/hbqt/qth/QAbstractScrollArea.qth
  * harbour/contrib/hbqt/qth/QAbstractSlider.qth
  * harbour/contrib/hbqt/qth/QAbstractSpinBox.qth
  * harbour/contrib/hbqt/qth/QAction.qth
  * harbour/contrib/hbqt/qth/QBoxLayout.qth
  * harbour/contrib/hbqt/qth/QCalendarWidget.qth
  * harbour/contrib/hbqt/qth/QCheckBox.qth
  * harbour/contrib/hbqt/qth/QColorDialog.qth
  * harbour/contrib/hbqt/qth/QComboBox.qth
  * harbour/contrib/hbqt/qth/QCommandLinkButton.qth
  * harbour/contrib/hbqt/qth/QDateEdit.qth
  * harbour/contrib/hbqt/qth/QDateTimeEdit.qth
  * harbour/contrib/hbqt/qth/QDial.qth
  * harbour/contrib/hbqt/qth/QDialog.qth
  * harbour/contrib/hbqt/qth/QDoubleSpinBox.qth
  * harbour/contrib/hbqt/qth/QErrorMessage.qth
  * harbour/contrib/hbqt/qth/QFileDialog.qth
  * harbour/contrib/hbqt/qth/QFocusFrame.qth
  * harbour/contrib/hbqt/qth/QFontComboBox.qth
  * harbour/contrib/hbqt/qth/QFontDialog.qth
  * harbour/contrib/hbqt/qth/QFormLayout.qth
  * harbour/contrib/hbqt/qth/QFrame.qth
  * harbour/contrib/hbqt/qth/QGroupBox.qth
  * harbour/contrib/hbqt/qth/QHBoxLayout.qth
  * harbour/contrib/hbqt/qth/QInputDialog.qth
  * harbour/contrib/hbqt/qth/QLabel.qth
  * harbour/contrib/hbqt/qth/QLayout.qth
  * harbour/contrib/hbqt/qth/QLayoutItem.qth
  * harbour/contrib/hbqt/qth/QLCDNumber.qth
  * harbour/contrib/hbqt/qth/QLineEdit.qth
  * harbour/contrib/hbqt/qth/QListView.qth
  * harbour/contrib/hbqt/qth/QMainWindow.qth
  * harbour/contrib/hbqt/qth/QMenu.qth
  * harbour/contrib/hbqt/qth/QMenuBar.qth
  * harbour/contrib/hbqt/qth/QMessageBox.qth
  * harbour/contrib/hbqt/qth/QObject.qth
  * harbour/contrib/hbqt/qth/QPageSetupDialog.qth
  + harbour/contrib/hbqt/qth/QPaintDevice.qth
  * harbour/contrib/hbqt/qth/QPainter.qth
  * harbour/contrib/hbqt/qth/QPrintDialog.qth
  * harbour/contrib/hbqt/qth/QPrintPreviewDialog.qth
  * harbour/contrib/hbqt/qth/QProgressBar.qth
  + harbour/contrib/hbqt/qth/QProgressDialog.qth
  * harbour/contrib/hbqt/qth/QPushButton.qth
  * harbour/contrib/hbqt/qth/QRadioButton.qth
  * harbour/contrib/hbqt/qth/QScrollArea.qth
  * harbour/contrib/hbqt/qth/QScrollBar.qth
  * harbour/contrib/hbqt/qth/QSizeGrip.qth
  * harbour/contrib/hbqt/qth/QSlider.qth
  * harbour/contrib/hbqt/qth/QSpinBox.qth
  * harbour/contrib/hbqt/qth/QSplitter.qth
  * harbour/contrib/hbqt/qth/QTabBar.qth
  * harbour/contrib/hbqt/qth/QTableView.qth
  * harbour/contrib/hbqt/qth/QTableWidget.qth
  * harbour/contrib/hbqt/qth/QTableWidgetItem.qth
  * harbour/contrib/hbqt/qth/QTabWidget.qth
  * harbour/contrib/hbqt/qth/QTextEdit.qth
  * harbour/contrib/hbqt/qth/QTimeEdit.qth
  * harbour/contrib/hbqt/qth/QToolBar.qth
  * harbour/contrib/hbqt/qth/QToolBox.qth
  * harbour/contrib/hbqt/qth/QToolButton.qth
  * harbour/contrib/hbqt/qth/QTreeView.qth
  * harbour/contrib/hbqt/qth/QTreeWidget.qth
  * harbour/contrib/hbqt/qth/QTreeWidgetItem.qth
  * harbour/contrib/hbqt/qth/QVBoxLayout.qth
  + harbour/contrib/hbqt/qth/QWebPage.qth
  + harbour/contrib/hbqt/qth/QWebView.qth
  * harbour/contrib/hbqt/qth/QWidget.qth
  + harbour/contrib/hbqt/qth/QWizard.qth
    + Added | Changed source definitions to honor class construction.

  * harbour/contrib/hbqt/generator/hbqtgen.prg
    ! Enhanced to generate .cpp | .h | .prg | .txt.
      Now .cpp sources contain information about which functions
      are still awaiting to be included plus the percentage in this form:
      -   189/229 [ 73.78% ]

  * harbour/contrib/hbqt/generator/qt45.qtp
    ! Added new .qth source definitions.

  * harbour/contrib/hbqt/tests/demoqt.prg
    ! Auto generated demo program. Just play with it and 
      you will be surprised how simple it is to use QT; all 
      gadgets provided.

    SUMUP: Auto Generated Files:
             - hbqt/gensource/hbqt_q*.cpp   source files
             - hbqt/doc/Q*.txt              documentation on function calls
             - hbqt/tests/demoqt.prg        demonstration program
             - hbqt/gensource/hbqt.h         
             - hbqt/gensource/hbqt_slots.h
             - hbqt/gensource/hbqt_slots.cpp
             - hbqt/gensource/hbqt_base.cpp
             - hbqt/gensource/moc_slots.cpp

     PROGNOSIS:
           - Stay in harbour/contrib/hbqt/generator
           - hbmk2.exe hbqtgen
           - del ..\gensource\*.*
           - del ..\doc\*.*
           - hbqtgen.exe qt45.qtp
           - cd ..
           - you should be staying at harbour/contrib/hbqt
           - del *.* ( be careful that you are under the right folder )
           - copy gensource/*.*
           - invoke QT specific build batch
           - cd tests
           - hbmk2.exe demoqt
           - demoqt.exe
           - .
           - play with gadgets
2009-03-31 09:57:04 +00:00
Viktor Szakats
9b35872d6f 2009-03-31 02:58 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbsetup.h
    % '( defined(__POCC_TARGET__) && __POCC_TARGET__ == 2 ) )'
      removed altogether. WinCE is detected anyway by using _WINCE.

  * external/sqlite3/Makefile
    - Disabled for poccce due to errors.

  * external/libpng/Makefile
    ! Fix to prev (poccce).

  * config/win/poccce.cf
    ! Added -D_M_ARM.

  * config/win/owatcom.cf
    * Pentium Pro scheduling.
    * Changed back to __cdecl calling convention from register based
      until we find a way to tweak HB_EXPORT to force __cdecl for 
      .dll exported functions.
    ; TOFIX: Find out how to force __cdecl for HB_EXPORT functions in owatcom.
             Or, if this is no good solution for owatcom users, or not 
             an option and performace is more important, we must rename
             owatcom Harbour .dlls to a distinct name: harbour[mt]-11-ow.dll.
             We should try to avoid that.

  * config/win/bcc.cf
    * -4 -> -6 for Pentium Pro instructions. Looking at the generated
      code this looks like rescheduling, if someone now can test Harbour
      or plain Pentium, it would be good to know if it still works.
2009-03-31 01:11:22 +00:00
Przemyslaw Czerpak
662007fa1c 2009-03-31 02:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/dos/owatcom.cf
  * harbour/config/win/owatcom.cf
  * harbour/config/linux/owatcom.cf
  * harbour/config/os2/owatcom.cf
  * harbour/utils/hbmk2/hbmk2.prg
    * removed unnecessary linker options
    * use 'SYS causeway' to enable causeway stub in DOS builds instead
      of setting it manually. DOS users can also use DOS4G (default) or
      PMODE (commercial) stubs.
2009-03-31 00:39:37 +00:00
Viktor Szakats
e354182fda 2009-03-31 01:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* external/libhpdf/Makefile
  * external/libpng/Makefile
  * contrib/hbqt/Makefile
    - Disabled for poccce due to errors.
2009-03-30 23:29:16 +00:00
Francesco Saverio Giudice
70d49113a8 2009-03-30 23:56 UTC+0200 Francesco Saverio Giudice (info/at/fsgiudice.com)
* harbour/contrib/examples/uhttpd/uhttpd.prg
    ! fixed CGI POST variables handling
      now it sends correctly variables to external executables.
2009-03-30 21:58:45 +00:00
Przemyslaw Czerpak
690bdff913 2009-03-30 23:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/gtwvg/Makefile
    ! check HB_ARCHITECTURE=win before compiling GTWVG.
      It fixes non Windows OpenWatcom and ICC builds.
2009-03-30 20:56:21 +00:00
Przemyslaw Czerpak
5feb21d8c8 2009-03-30 22:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/dlmalloc.c
    ! fixed casting

  * harbour/source/vm/fm.c
    % use DLMALLOC as default memory manager in OpenWatcom Windows builds.
      Warning: HB_FM_DLMT_ALLOC does not work with OpenWatcom.

  * harbour/config/dos/owatcom.cf
  * harbour/config/win/owatcom.cf
  * harbour/config/linux/owatcom.cf
  * harbour/config/os2/owatcom.cf
    * changed alignment settings from 8 to 4
    * synced optimization flags used in different builds
    ! fixed linker parameters when HB_BUILD_DEBUG=yes is set
    ; TOVERIFY: I do not remember what calling convention should be used
      in OpenWatcom MT OS2 builds to eliminate GPF when APIENTRY16 functions
      are called. It's possible that current settings are wrong.

  * harbour/config/win/owatcom.cf
    * removed STACK=65536 from OpenWatcom linker parameters.
      This switch probably was inherited from old DOS WatcomC builds.
      Later I'll test current OpwnWatcom builds to check if we can also
      remove it from DOS builds when cwstub.exe is used.
    * restored -bm switch. When DLMALLOC is used it does not cause
      noticeable performance reduction.
    * use default register calling convention. We can change it
      in the future but 1-st we should check the performance overhead.
      If calling convention is a problem only for .DLLs then it can
      be resolved by modifying HB_EXTERN declaration and adding function
      attributes which will force given calling convention.

  * harbour/config/linux/owatcom.cf
    * enabled pentium pro instruction in OpenWatcom Linux builds.
      It reduces the code size and increase performance a little bit.
      Windows users which do not need pure pentium CPU support can make
      the same.

  * harbour/utils/hbmk2/hbmk2.prg
    ! fixed object extension used in OpenWatcom Linux builds: it's .o not .obj
    ! fixed linker parameters in OpenWatcom Linux builds: DEBUG ALL is single
      option
    ! fixed OpenWatcom calling convention settings. Viktor you cannot chose
      simultaneously register and stack calling convention. You have to chose
      one and keep it synced with Harbour compile time settings. Otherwise
      you will have unresolved external or you will force creating by linker
      dynamically function call wrappers (of course if OW support such
      functionality) what may strongly reduce the performance.
    ! removed -j compile time switch - it's not used to compile core code
    * synced optimization flags with core code

   I'm really interested in current OpenWatcom speedtst results compared
   with other Windows builds (MSVC, MinGW, BCC, POCC) in ST and MT builds.
2009-03-30 20:10:32 +00:00
Francesco Saverio Giudice
c05fcbd7cd 2009-03-30 21:05 UTC+0200 Francesco Saverio Giudice (info/at/fsgiudice.com)
* harbour/contrib/examples/uhttpd/uhttpd.prg
    * error string formatting
      using hb_GTInfo() functions. Tested only in windows.
  * harbour/contrib/examples/uhttpd/session.prg
    + added retrying in case of error in writing / deleting session files.
  * harbour/contrib/examples/uhttpd/cgifunc.prg
    * changed FCreate() to hb_FCreate()
2009-03-30 19:07:18 +00:00
Francesco Saverio Giudice
ee399fa1dc 2009-03-30 20:13 UTC+0200 Francesco Saverio Giudice (info/at/fsgiudice.com)
* harbour/contrib/examples/uhttpd/uhttpd.prg
    + added support for closing console using "X" system button
      using hb_GTInfo() functions. Tested only in windows.
    * formatting
  * harbour/contrib/examples/uhttpd/uhttpdc.c
    * added WM_CLOSE event in win_SysRefresh()
  * harbour/contrib/examples/uhttpd/session.prg
    * minor change
2009-03-30 18:14:42 +00:00
Viktor Szakats
6b2caac544 2009-03-30 17:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbfbird/Makefile
  * contrib/gtalleg/Makefile
    - Disabled for poccce due to errors.

  * contrib/hbfimage/fi_winfu.c
    - Disabled Windows specific functions for poccce due to errors.

  * config/win/owatcom.cf
    % Removed -bm (MT mode) switch, because besides creating MT friendly
      code, it kills performance. Pls shout if MT mode is now broken in
      any ways.

  * mpkg_win.bat
    * Generate .zip file first.
2009-03-30 16:31:50 +00:00
Viktor Szakats
6bf634e946 2009-03-30 13:53 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/gtalleg/Makefile
    - Disabled for minwgce.
2009-03-30 11:53:23 +00:00
Viktor Szakats
5985bfa2d2 2009-03-30 13:10 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
    * Split Windows compiler list to 'recommended' and 'supported'
      sublists. Recommended are MinGW and MSVC.
      Some comments on the rest:
      - pocc: lack of 3rd party support, mediocre performance.
      - owatcom: lack of 3rd party support, bad performance,
        proprietary object/dll format.
      - bcc: lack of 3rd party support, mediocre performance, has known bugs,
        proprietary object/dll format.
      - xcc: for testing only.
      - icc: for testing and code validation only.
      - cygwin: for some niche purposes. MinGW is a superior choice.

  * mpkg_win.bat
    + Added support for mingw64 and mingwce.
2009-03-30 11:15:54 +00:00
Viktor Szakats
98ab31eed2 2009-03-30 12:32 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbqt/Makefile
    - Disabled for bcc and pocc due to compilation error.
    ; Maybe it's possible to make them work (at least bcc) by using 
      some special defines, please play with it if you're interested.
      QT seems to like MinGW the best MSVC is also high on the 
      support list, so IMO we should also put the focus there.
2009-03-30 10:34:36 +00:00
Viktor Szakats
c1cca4887c 2009-03-30 11:21 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbqt/Makefile
    - Disabled for owatcom due to compilation error.

  * contrib/hbhpdf/tests/hbhpdf.hbp
    + Added libpng.
2009-03-30 09:21:52 +00:00
Viktor Szakats
d8f9fbdece 2009-03-30 11:12 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* external/libhpdf/Makefile
    - Disabled for owatcom due to compilation error.
      If someone is interested in patching it for this compiler,
      please do.
2009-03-30 09:12:57 +00:00
Viktor Szakats
f3efccb8d3 2009-03-30 10:27 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Don't attempt to strip leading 'lib' from libnames, since
      this breaks libs which actually begin with 'lib', not meant
      as a prefix. F.e. libpng, libhpdf, libjpeg.

  * contrib/hbqt/tests/hbqt.hbp
    + Added static QT libname as comment (for now).
2009-03-30 08:30:30 +00:00
Petr Chornyj
a07aa6bb23 2009-03-30 11:30 UTC+0200 Petr Chornyj (myorg63 at mail.ru)
* contrib/hbsqlit3/hbsqlit3.ch
   * contrib/hbsqlit3/hbsqlit3.c
      * Added support for sqlite_exec() callback. 
         Now the 3rd parameter is an optional callback that is invoked
         once for each row of any query results.
      * Now we can pass name of logfile as third parameter of
         sqlite3_trace(), sqlite3_profile(). 
      + Added sqlite3_set_authorizer() - 
         Compile-Time Authorization Callbacks.
      + Added sqlite3_busy_handler() - 
         A Callback To Handle SQLITE_BUSY Errors.
      + Added sqlite3_progress_handler() - Query Progress Callbacks.
      + Added sqlite3_commit_hook(), sqlite3_rollback_hook() -
         Commit And Rollback Notification Callbacks
      + Added sqlite3_backup_*() API for backups purposes.
      + Added sqlite3_initialize(), sqlite3_shutdown(), sqlite3_interrupt(),
         sqlite3_status(), sqlite3_db_status(), sqlite3_stmt_status(), 
         sqlite3_sql(), sqlite3_extended_errcode(), sqlite3_threadsafe(),
         sqlite3_memory_used(), sqlite3_memory_highwater(). 
      ! Fixed sqlite3_table_column_metadata().
      - Temporary disabled sqlite3_db_handle().
      * Minor changes, cleanup and formating. 
   + contrib/hbsqlit3/tests/authorizer.prg 
   + contrib/hbsqlit3/tests/backup.prg 
   + contrib/hbsqlit3/tests/hooks.prg 
      + Added for demonstration of new possibilities.
   + contrib/hbsqlit3/tests/metadata.prg 
      * Minor changes
2009-03-30 08:23:58 +00:00
Viktor Szakats
ef66cea2e6 2009-03-30 10:01 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* config/win/owatcom.cf
  * config/linux/owatcom.cf
  * config/os2/owatcom.cf
    - Reverted yesterdays attempt to make owatcom builds faster.
      After the change the compilation time went slower, the
      binaries got smaller, but execution speed got actually worse.
      I've left -oz option removed for win, that's the only
      remaining change, plus -5r in os2/dos.
      owatcom seems not very useful for production.
2009-03-30 08:03:36 +00:00
Viktor Szakats
3ade1bc7a9 2009-03-30 09:37 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added two Windows system libs. (also needed for QT)
2009-03-30 07:37:28 +00:00
Viktor Szakats
36c4c62f61 2009-03-29 22:46 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/xhb/hbserv.c
    ! Fixed issues with prev commit. (Thanks Francesco)
2009-03-29 21:46:48 +00:00
Pritpal Bedi
9a11cacb5c 2009-03-29 09:03 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
+ harbour/contrib/hbqt/doc
    + Added folder to receive auto-generated Q*.txt documentation
      files with PRG level functions with parameters and return value like:
      Qt_QWidget_setContentsMargins( pQWidget, nLeft, nTop, nRight, nBottom ) -> NIL

  + harbour/contrib/hbqt/gensource
    + Added folder to receive auto generated .cpp sources. 
      The idea is to have freedom to generate sources and test them 
      prior to committing to distribution folder.
    
  * harbour/contrib/hbqt/hbqt.h
    + Added more parameter and return macros.

  + harbour/contrib/hbqt/hbqt_utils.c
    + Added generic conversion routins to support parameters and return values.
     
  + harbour/contrib/hbqt/hbqt_qtreewidget.cpp
  + harbour/contrib/hbqt/hbqt_qtreewidgetitem.cpp
  * harbour/contrib/hbqt/hbqt_qtreeview.cpp

  * harbour/contrib/hbqt/generator/hbqtgen.prg
    ! Rearrangement of sequences in .qht files.
      Implemented project files with .qtp extension.
      Implemented auto generation of document files with .txt extension.
         USAGE: hbqtgen.exe @qt45.qtp will generate files as:
                . 
                ../gensource/hbqt_Q*.cpp
                ../doc/Q*.txt

  + harbour/contrib/hbqt/generator/qt45.qtp
    + Added project file to generate sources and documenttaion for tested widgets.

  + harbour/contrib/hbqt/qth/QAbstractButton.qth
  + harbour/contrib/hbqt/qth/QAbstractItemView.qth
  + harbour/contrib/hbqt/qth/QAbstractPrintDialog.qth
  + harbour/contrib/hbqt/qth/QAbstractScrollArea.qth
  + harbour/contrib/hbqt/qth/QAbstractSlider.qth
  + harbour/contrib/hbqt/qth/QAbstractSpinBox.qth
  + harbour/contrib/hbqt/qth/QAction.qth
  + harbour/contrib/hbqt/qth/QApplication.qth
  + harbour/contrib/hbqt/qth/QBoxLayout.qth
  + harbour/contrib/hbqt/qth/QBrush.qth
  + harbour/contrib/hbqt/qth/QCalendarWidget.qth
  + harbour/contrib/hbqt/qth/QCheckBox.qth
  + harbour/contrib/hbqt/qth/QColor.qth
  + harbour/contrib/hbqt/qth/QColorDialog.qth
  + harbour/contrib/hbqt/qth/QComboBox.qth
  + harbour/contrib/hbqt/qth/QCommandLinkButton.qth
  + harbour/contrib/hbqt/qth/QCoreApplication.qth
  + harbour/contrib/hbqt/qth/QDateEdit.qth
  + harbour/contrib/hbqt/qth/QDateTimeEdit.qth
  + harbour/contrib/hbqt/qth/QDial.qth
  + harbour/contrib/hbqt/qth/QDialog.qth
  + harbour/contrib/hbqt/qth/QDoubleSpinBox.qth
  + harbour/contrib/hbqt/qth/QErrorMessage.qth
  + harbour/contrib/hbqt/qth/QFileDialog.qth
  + harbour/contrib/hbqt/qth/QFocusFrame.qth
  + harbour/contrib/hbqt/qth/QFont.qth
  + harbour/contrib/hbqt/qth/QFontComboBox.qth
  + harbour/contrib/hbqt/qth/QFontDialog.qth
  + harbour/contrib/hbqt/qth/QFormLayout.qth
  + harbour/contrib/hbqt/qth/QFrame.qth
  + harbour/contrib/hbqt/qth/QGroupBox.qth
  + harbour/contrib/hbqt/qth/QHBoxLayout.qth
  + harbour/contrib/hbqt/qth/QInputDialog.qth
  + harbour/contrib/hbqt/qth/QLabel.qth
  + harbour/contrib/hbqt/qth/QLayout.qth
  + harbour/contrib/hbqt/qth/QLayoutItem.qth
  + harbour/contrib/hbqt/qth/QLCDNumber.qth
  + harbour/contrib/hbqt/qth/QLineEdit.qth
  + harbour/contrib/hbqt/qth/QListView.qth
  + harbour/contrib/hbqt/qth/QMainWindow.qth
  + harbour/contrib/hbqt/qth/QMenu.qth
  + harbour/contrib/hbqt/qth/QMenuBar.qth
  + harbour/contrib/hbqt/qth/QMessageBox.qth
  + harbour/contrib/hbqt/qth/QObject.qth
  + harbour/contrib/hbqt/qth/QPageSetupDialog.qth
  + harbour/contrib/hbqt/qth/QPainter.qth
  + harbour/contrib/hbqt/qth/QPen.qth
  + harbour/contrib/hbqt/qth/QPrintDialog.qth
  + harbour/contrib/hbqt/qth/QPrintPreviewDialog.qth
  + harbour/contrib/hbqt/qth/QProgressBar.qth
  + harbour/contrib/hbqt/qth/QPushButton.qth
  + harbour/contrib/hbqt/qth/QRadioButton.qth
  + harbour/contrib/hbqt/qth/QScrollArea.qth
  + harbour/contrib/hbqt/qth/QScrollBar.qth
  + harbour/contrib/hbqt/qth/QSizeGrip.qth
  + harbour/contrib/hbqt/qth/QSlider.qth
  + harbour/contrib/hbqt/qth/QSpinBox.qth
  + harbour/contrib/hbqt/qth/QSplitter.qth
  + harbour/contrib/hbqt/qth/QTabBar.qth
  + harbour/contrib/hbqt/qth/QTableView.qth
  + harbour/contrib/hbqt/qth/QTableWidget.qth
  + harbour/contrib/hbqt/qth/QTableWidgetItem.qth
  + harbour/contrib/hbqt/qth/QTabWidget.qth
  + harbour/contrib/hbqt/qth/QTextEdit.qth
  + harbour/contrib/hbqt/qth/QTimeEdit.qth
  + harbour/contrib/hbqt/qth/QToolBar.qth
  + harbour/contrib/hbqt/qth/QToolBox.qth
  + harbour/contrib/hbqt/qth/QToolButton.qth
  + harbour/contrib/hbqt/qth/QTreeView.qth
  + harbour/contrib/hbqt/qth/QTreeWidget.qth
  + harbour/contrib/hbqt/qth/QTreeWidgetItem.qth
  + harbour/contrib/hbqt/qth/QVBoxLayout.qth
  + harbour/contrib/hbqt/qth/QWidget.qth
    + Added or changed(4) base header input files to generate sources.

    ; TODO - Create <Makefile> for generated sources.
           - Generate Classes based on compiled members supporting
             QT's class hirarchy. As of now generated sources
             have limited usage.

    ; REQUEST ( Przemek ) - Can you please provide a GTWVT.C like
             skeleton .cpp which I could use as a base for GTQTC ?
2009-03-29 21:28:27 +00:00
Viktor Szakats
e2de6c0119 2009-03-29 22:26 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* config/dos/owatcom.cf
  * config/win/owatcom.cf
  * config/linux/owatcom.cf
  * config/os2/owatcom.cf
    % Tweaked optimization options. This will result in slower
      build process, but more optimal runtime performance and
      executable sizes. One option is now turned on which can
      cause bad code with OW 1.1, so make sure you use latest
      Open Watcom version, after all the upgrade is free.
      It'd be great if owatcom users could make speedtst runs
      with this revision and older ones to see the difference,
      maybe now owatcom won't perform so poorly as before.
    + Added link to C compiler option docs.
    ! Fixed to convert slashes in HB_USER_CFLAGS.
    % Enabled -5r for DOS and OS/2.

  * contrib/hbct/disk.c
    ! Disabled some volume/disk related code for WinCE.

  * contrib/xhb/hbserv.c
    ! Disabled for poccce.

  * contrib/hbnf/getenvrn.c
    ! Disabled FT_GETE() for poccce.
    ! Fixed FT_GETE() to return zero/empty string on platforms not
      supported (like also OS/2).

  * doc/en-EN/Makefile
  - doc/en-EN/error.txt
  + doc/en-EN/errsys.txt
  * source/rtl/Makefile
  - source/rtl/fserror.c
  - source/rtl/errorapi.c
  - source/rtl/errorapu.c
  - source/rtl/errorint.c
  - source/rtl/errorsys.prg
  + source/rtl/fserr.c
  + source/rtl/errapi.c
  + source/rtl/errint.c
  + source/rtl/errapiu.c
  + source/rtl/errsys.prg
  * contrib/examples/hbdoc/examples/core_es/Makefile
  - contrib/examples/hbdoc/examples/core_es/error.txt
  + contrib/examples/hbdoc/examples/core_es/errsys.txt
    * Most filenames containing 'error' renamed to make
      it easier to search for errors in build logs.
    ; Three headers remain.
2009-03-29 20:53:47 +00:00
Przemyslaw Czerpak
0df14b70b0 2009-03-29 22:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/tests/speedtst.prg
    * added warning message when HVM debugger is enabled
2009-03-29 20:00:33 +00:00
Viktor Szakats
dd6039357e 2009-03-29 19:52 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* external/sqlite3/Makefile
    ! Added necessary configuration for WinCE builds.

  * bin/hb-func.sh
  * source/vm/maindllp.c
    * mingwce will now generate dll by the name: harbour*-*-arm.dll
    ; TOFIX: mingwce .dlls should probably be generated in bin dir just
             like in every other cases, but I don't know why it's
             explicitly put in lib dir in this case.

  * bin/hb-mkdyn.bat
    + Added .dll generation for msvcce and poccce.

  * source/vm/maindllp.c
    * Formatting.
    ! Fixed to compile for WinCE. Please review me.

  * contrib/hbct/disk.c
    ! DRIVETYPE() made a dummy under WinCE to make it compile.

  * contrib/gtwvg/Makefile
    ! Limited GTWVG builds to 32-bit Windows compilers as it's
      still broken for WinCE, this time with pocce. Notice
      HB_OS* macros aren't available before #including Harbour
      headers. Reenable them after being fixed and tested.

  * contrib/hbole/olecore.c
    ! Fixed compilation errors below with poccce. Please review me.
      pocc.exe -I. -Ze -Go -W1 -Ot -Tarm-coff -D_WINCE -DUNICODE -DHB_NO_WIN_CONSOLE -I../../../../include     -c ../../olecore.c -Foolecore.obj
      ../../olecore.c(188): error #2152: Unknown field 'llVal' of 'union (no name)'.
      ../../olecore.c(273): error #2152: Unknown field 'llVal' of 'union (no name)'.
      ../../olecore.c(290): error #2152: Unknown field 'ullVal' of 'union (no name)'.

  * contrib/hbsqlit3/Makefile
    ! Excluded for poccce.

  ; TOFIX:
      pocc.exe -I. -Ze -Go -W1 -Ot -Tarm-coff -D_WINCE -DUNICODE -DHB_NO_WIN_CONSOLE -I../../../../include     -c ../../getenvrn.c -Fogetenvrn.obj
      ../../getenvrn.c(177): warning #2027: Missing prototype for 'GetEnvironmentStrings'.
      ../../getenvrn.c(177): error #2168: Operands of = have incompatible types 'wchar_t *' and 'int'.
      ../../getenvrn.c(246): warning #2027: Missing prototype for 'FreeEnvironmentStrings'.
      pocc.exe -I. -Ze -Go -W1 -Ot -Tarm-coff -D_WINCE -DUNICODE -DHB_NO_WIN_CONSOLE -I../../../../include     -c ../../hbserv.c -Fohbserv.obj
      ../../hbserv.c(391): error #2048: Undeclared identifier 'CTRL_C_EVENT'.
      ../../hbserv.c(392): error #2048: Undeclared identifier 'CTRL_BREAK_EVENT'.
      ../../hbserv.c(393): error #2048: Undeclared identifier 'CTRL_CLOSE_EVENT'.
      ../../hbserv.c(394): error #2048: Undeclared identifier 'CTRL_LOGOFF_EVENT'.
      ../../hbserv.c(395): error #2048: Undeclared identifier 'CTRL_SHUTDOWN_EVENT'.
      ../../hbserv.c(398): error #2069: Initializer must be constant.
      ../../hbserv.c(511): warning #2027: Missing prototype for 'CallNextHookEx'.
      ../../hbserv.c(528): warning #2027: Missing prototype for 'CallNextHookEx'.
      ../../hbserv.c(635): error #2048: Undeclared identifier 'SEM_NOALIGNMENTFAULTEXCEPT'.
      ../../hbserv.c(635): error #2048: Undeclared identifier 'SEM_NOGPFAULTERRORBOX'.
      ../../hbserv.c(636): error #2048: Undeclared identifier 'SEM_NOOPENFILEERRORBOX'.
      ../../hbserv.c(638): warning #2027: Missing prototype for 'SetUnhandledExceptionFilter'.
      ../../hbserv.c(639): warning #2027: Missing prototype for 'SetWindowsHookEx'.
      ../../hbserv.c(639): error #2048: Undeclared identifier 'WH_GETMESSAGE'.
      ../../hbserv.c(639): error #2048: Undeclared identifier 'HOOKPROC'.
      ../../hbserv.c(639): error #2001: Syntax error: expected ')' but found 's_MsgFilterFunc'.
      ../../hbserv.c(639): error #2168: Operands of = have incompatible types 'HHOOK' and 'int'.
      ../../hbserv.c(639): error #2001: Syntax error: expected ';' but found 's_MsgFilterFunc'.
      ../../hbserv.c(639): error #2001: Syntax error: expected ';' but found ')'.
      ../../hbserv.c(639): error #2061: Illegal statement termination.
      ../../hbserv.c(640): warning #2027: Missing prototype for 'SetConsoleCtrlHandler'.
      ../../hbserv.c(665): warning #2027: Missing prototype for 'SetUnhandledExceptionFilter'.
      ../../hbserv.c(668): warning #2027: Missing prototype for 'UnhookWindowsHookEx'.
      ../../hbserv.c(672): warning #2027: Missing prototype for 'SetConsoleCtrlHandler'.
      ../../hbserv.c(776): warning #2027: Missing prototype for 'FreeConsole'.
2009-03-29 17:55:37 +00:00
Przemyslaw Czerpak
662fedaaf2 2009-03-29 19:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/fm.c
    ! fixed typo and add missing HVM stack preload macros
2009-03-29 17:51:15 +00:00
Przemyslaw Czerpak
7f1dcb2a81 2009-03-29 19:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi.h
  * harbour/include/hbstack.h
  * harbour/source/vm/estack.c
  * harbour/source/vm/fm.c
    + added support for thread local memory allocators by using MSPACE
      mechanism in DLALLOC.
      It can be enabled by compiling Harbour with HB_FM_DLMT_ALLOC macro.
      By default up to 16 (HB_MSPACE_COUNT macro) independent memory
      allocators is dynamically created for new threads. When more threads
      is used then allocators are shared between them and HVM tries to
      balance used allocators to reduce number of threads using the
      same allocator.
      It should give noticeable scalability improvement in some OS-es
      where default memory manages has pure MT performance.
      Please try to compiler speedtst.prg with Harbour compiled with
      and without HB_FM_DLMT_ALLOC and compare results in this test:
         speedtst --thread=2 --scale
      using real multiCPU machine.

  * harbour/source/vm/dlmalloc.c
    * pacified warning when FOOTERS are enabled

  * harbour/source/vm/garbage.c
    * cleanup comment
2009-03-29 17:13:52 +00:00
Pritpal Bedi
38d6f624a4 2009-03-29 09:03 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/wvgsink.c
    ! Fixed remaining non-ANSI C comments. Just had been overlooked!
2009-03-29 16:25:35 +00:00
Viktor Szakats
ba25a3d1c8 2009-03-29 15:46 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-mkdyn.sh
  * bin/hb-func.sh
    + Added support for .dll creation and hbmk for mingw64.
    * Synced Windows system liblist for dll creation.
    * wsock32 -> ws2_32

  * bin/hb-mkdyn.bat
    ! wsock32 -> ws2_32

  * contrib/gtwvg/gtwvg.c
    ! Fixed embedded ANSI C comments.
  * contrib/gtwvg/wvgsink.c
    ! Fixed a few non-ANSI C comments.
    * There is more, see: 'grep // *.c'
2009-03-29 13:46:34 +00:00
Viktor Szakats
c356496480 2009-03-29 11:02 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
  * external/Makefile
  + external/libhpdf/*
  + external/libpng/*
    + Added libharu and libpng to Harbour repository.
      Now it's possible to use libhpdf as static lib on all
      platforms. This is useful because this lib isn't yet part
      of Linux distros.
      libpng is only built for win/dos/os2 platforms.
      It's possible to override libpng location by using
      HB_INC_LIBPNG envvar.

  * contrib/hbhpdf/Makefile
    + Look for libharu headers in /external dir.

  * external/sqlite3/Makefile
    - Disabled for bcc. Latest sqlite3 version breaks with this compiler:
      ---
      Error E2293 ../../sqlite3.c 29156: ) expected in function winCurrentTime
      Warning W8013 ../../sqlite3.c 29157: Possible use of 'timeW' before definition in function winCurrentTime
      Error E2379 ../../sqlite3.c 29157: Statement missing ; in function winCurrentTime
      Error E2379 ../../sqlite3.c 29158: Statement missing ; in function winCurrentTime
      Error E2379 ../../sqlite3.c 29160: Statement missing ; in function winCurrentTime
      Error E2293 ../../sqlite3.c 29161: ) expected in function winCurrentTime
      Error E2379 ../../sqlite3.c 29162: Statement missing ; in function winCurrentTime
      Error E2293 ../../sqlite3.c 29163: ) expected in function winCurrentTime
      Warning W8057 ../../sqlite3.c 29171: Parameter 'prNow' is never used in function winCurrentTime
      *** 7 errors in Compile ***
      ---
      bcc users can report this problem here:
      http://www.sqlite.org/cvstrac/tktnew

  + tests/bnch_win.bat
  - tests/bnchmark
    * Moved bnch_win.bat to tests.
2009-03-29 09:09:24 +00:00
Viktor Szakats
589551e057 2009-03-28 21:16 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added autofilling CCPREFIX on Windows platform when
      -comp=mingw64 or -comp=mingwce is specified.
    + Added autofilling CCPATH on Windows platform when
      -comp=mingw64 or -comp=mingwce is specified and
      corresponding embedded MinGW installations are found in
      Harbour directory.

    ; IOW this means that it's now possible to create a unified,
      self-contained install kit, which is able to easily build
      x64, WinCE and x86 executables with command below:
      > hbmk2 test.prg            => test.exe for x86
      > hbmk2 -comp=mingw64 a.prg => test.exe for x64
      > hbmk2 -comp=mingwce a.prg => test.exe for ARM/WinCE
      Can it be any simpler than that?

      My sample install .zip is 322MB and it contains Harbour libs
      for msvc, mingw, mingw64, mingwce, bcc, owatcom and contains
      all required MinGW files.
      It will be even easier if we add CPU platform identifiers 
      to Harbour.
2009-03-28 20:19:20 +00:00
Viktor Szakats
79199ce199 2009-03-28 18:09 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* config/dos/owatcom.cf
  * config/win/owatcom.cf
  * config/linux/owatcom.cf
  * config/os2/owatcom.cf
    + Added HB_BUILD_MODE=c/cpp support for Watcom compilers.
    + Tweaked optimization options to work with wcc386 (C mode compiler).
    + Tweaked C make rule for wcc386 (only accepts backslashes).
    ; So now sqlite3 will be forced to C mode and will compile.
    ; TOFIX: .cpp file compilation will be broken in forced C mode, 
             so more cleanup will be needed here if we want to allow 
             all combinations.
2009-03-28 17:12:12 +00:00
Pritpal Bedi
a21918d422 2009-03-28 00:20 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/gtwvg.h
  * harbour/contrib/gtwvg/wvggui.h

  * harbour/contrib/gtwvg/wvtwin.ch

  * harbour/contrib/gtwvg/gtwvg.c
  * harbour/contrib/gtwvg/wvgcore.c
  * harbour/contrib/gtwvg/wincallb.c
  * harbour/contrib/gtwvg/wvgcuig.c
  * harbour/contrib/gtwvg/wvggui.c
  * harbour/contrib/gtwvg/wvgsink.c
  * harbour/contrib/gtwvg/wvgutils.c
  * harbour/contrib/gtwvg/wvgwin.c

  * harbour/contrib/gtwvg/wincback.prg
  * harbour/contrib/gtwvg/wvg3stat.prg
  * harbour/contrib/gtwvg/wvgax.prg
  * harbour/contrib/gtwvg/wvgbitmp.prg
  * harbour/contrib/gtwvg/wvgcheck.prg
  * harbour/contrib/gtwvg/wvgclass.prg
  * harbour/contrib/gtwvg/wvgcombo.prg
  * harbour/contrib/gtwvg/wvgcrt.prg
  * harbour/contrib/gtwvg/wvgdarea.prg
  * harbour/contrib/gtwvg/wvgdatar.prg
  * harbour/contrib/gtwvg/wvgdlg.prg
  * harbour/contrib/gtwvg/wvghtmlv.prg
  * harbour/contrib/gtwvg/wvglistb.prg
  * harbour/contrib/gtwvg/wvgmenub.prg
  * harbour/contrib/gtwvg/wvgmle.prg
  * harbour/contrib/gtwvg/wvgpaint.prg
  * harbour/contrib/gtwvg/wvgparts.ch
  * harbour/contrib/gtwvg/wvgphdlr.prg
  * harbour/contrib/gtwvg/wvgpushb.prg
  * harbour/contrib/gtwvg/wvgradio.prg
  * harbour/contrib/gtwvg/wvgscrlb.prg
  * harbour/contrib/gtwvg/wvgsle.prg
  * harbour/contrib/gtwvg/wvgstatb.prg
  * harbour/contrib/gtwvg/wvgstatc.prg
  * harbour/contrib/gtwvg/wvgsysw.prg
  * harbour/contrib/gtwvg/wvgtabpg.prg
  * harbour/contrib/gtwvg/wvgtoolb.prg
  * harbour/contrib/gtwvg/wvgtreev.prg
  * harbour/contrib/gtwvg/wvgwnd.prg
    ! Comments converted to ANSI standards.
    ! Formatting whereever needed.    

    ; Perhaps no comment is left which do not confirm to ANSI standards.
2009-03-28 07:31:35 +00:00
Francesco Saverio Giudice
72ffa7c225 2009-03-28 00:59 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com)
* harbour/contrib/examples/uhttpd/uhttpd.prg
    + added #define FIXED_THREADS that disable (temporarly) dynamic threads
      support, until I will find a correct way to implement.
    * changed default GT in Linux from GTXWC to GTTRM
    + added Actions and Handlers support
      rewrote handlers part, now separated and similar to Apache
    * changed internal ScripAlias Hash name from Aliases to ScriptAliases
    + added Alias support
    + added PATH_INFO and PATH_TRANSLATED support
      this means that parts of urls longer than the real file url are passed to
      file as parameters. Actually valid for any file.
    * fixed CGIKill() to correct handle killing of not responding CGI apps
    * formatting and minor changes
    ; NOTE: not tested under Linux, more tests to do
    ; TOFIX: in case of error of cgi executables error output is missing,
             this I have to check better.
  * harbour/contrib/examples/uhttpd/uhttpd.ini
    * changed [ALIASES] section name to [SCRIPTALIASES]
    + added [ALIASES] correct section
  * harbour/contrib/examples/uhttpd/session.prg
    + added retrying in case of error in reading session files.
      to check it better
  ; NOTE: still work in progress.
    Any comments and suggestions are welcome
2009-03-28 00:00:43 +00:00
Viktor Szakats
142a03c102 2009-03-27 18:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* config/win/poccce.cf
  * config/win/pocc.cf
    * Warning level taken down to -w2.

  * contrib/hbsqlit3/Makefile
    - Disabled for pocc, as it chokes on the new version of
      sqlite3.h.

  * INSTALL
    * Minor update.

  * include/hbapifs.h
  * include/hbdbsort.h
  * include/hbsetup.h
  * contrib/hbct/files.c
  * contrib/hbct/disk.c
  * contrib/hbmzip/hbmzip.c
  * contrib/rddads/ads1.c
  * contrib/hbbmcdx/bmdbfcdx.c
  * contrib/examples/pp/pp.c
  * contrib/examples/pp/hbppcore.c
  * source/pp/ppcore.c
  * source/pp/hbpp.c
  * source/vm/runner.c
  * source/vm/estack.c
  * source/vm/hvm.c
  * source/vm/cmdarg.c
  * source/vm/fm.c
  * source/vm/proc.c
  * source/vm/extrap.c
  * source/vm/memvars.c
  * source/vm/set.c
  * source/main/harbour.c
  * source/common/hbfsapi.c
  * source/common/hbwince.c
  * source/rtl/spfiles.c
  * source/rtl/defpath.c
  * source/rtl/philes.c
  * source/rtl/fnsplit.c
  * source/rtl/fstemp.c
  * source/rtl/gtchrmap.c
  * source/rtl/errorint.c
  * source/rtl/filebuf.c
  * source/rtl/hbffind.c
  * source/rtl/filesys.c
  * source/rtl/file.c
  * source/rdd/dbfntx/dbfntx1.c
  * source/rdd/sdf1.c
  * source/rdd/dbfnsx/dbfnsx1.c
  * source/rdd/dbfcdx/dbfcdx1.c
  * source/rdd/delim1.c
  * source/rdd/dbf1.c
  * source/rdd/hsx/hsx.c
  * source/rdd/dbffpt/dbffpt1.c
  * source/rdd/hbsix/sxsem.c
  * source/rdd/hbsix/sxfname.c
  * source/compiler/hbmain.c
  * source/compiler/genc.c
  * source/compiler/harbour.yyc
  * source/compiler/harbour.y
  * source/compiler/compi18n.c
  * source/compiler/genhrb.c
  * source/compiler/gencobj.c
  * source/compiler/genobj32.c
    * _POSIX_PATH_MAX + 1 -> HB_PATH_MAX
    * _POSIX_PATH_MAX -> HB_PATH_MAX - 1
      Please update your .c code to use new constant.
      Harbour initialization of the value is now HB_LEGACY_LEVEL2
      and will be removed in next version.
    ; Please review me.
2009-03-27 17:35:14 +00:00