Commit Graph

10391 Commits

Author SHA1 Message Date
Viktor Szakats
54f84f4fbd 2009-04-07 10:48 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbqt/generator/qt45.qtp
  * contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/generator/rebuild_hbqt.bat
    * Changed to create files directly in live source dir.
      (can be overridden using cmdline switches)
    * qt45.qtp will be picked automatically if no project
      file is passed and the file exists.
    ! Fixed default paths for all platforms.
    + Added feedback when creating files.
    ! Fixed one FCreate() session which always failed.
    ! Fixed generation of Makefile_gen to always have two
      closing empty lines to make GNU Make happy. Otherwise
      it failed when assembling the lib with MinGW/msys.
    % Commented output of source parts.
    ; This means that the .bat file is no more necessary.
      Please use: 'hbmk2 hbqtgen.prg -run' command to generate 
      hbqt sources.
2009-04-07 08:52:34 +00:00
Viktor Szakats
fae3fa75bd 2009-04-07 09:29 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
- contrib/hbqt/tests/Vou.ICO
  + contrib/hbqt/tests/test.ico
    ! Renamed to have all lower case. Please stick to this rule.
      Couldn't find any reference to this file, please fix it 
      where needed.

    ; TOFIX: hbqt.h has hb_ToOutDebug() declared as external. So, 
             hbqt will also depend on xhb lib? If this function is 
             so important I'd suggest to create a fully portable 
             version of it locally in hbqt.

  - contrib/hbqt/gensource/Makefile
    - Removed duplicate copy of Makefile. I'm not sure what was 
      the purpose but it wouldn't work here, and it wouldn't be 
      good to update this file in two copies.
2009-04-07 07:30:27 +00:00
Pritpal Bedi
554e66c1a0 2009-04-06 23:52 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/tests/vou.ico
    + Added icon to be displayed in titlebar.
2009-04-07 06:54:56 +00:00
Pritpal Bedi
44d73edbdc 2009-04-06 23:44 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/generator/hbqtgen.prg
    + New hbqt.h members.

  * harbour/contrib/hbqt/generator/qt45.qtp
    + Added new classes, Rearranged alphabetically.

  * harbour/contrib/hbqt/qth/QAction.qth
  + harbour/contrib/hbqt/qth/QBitmap.qth
  + harbour/contrib/hbqt/qth/QCommonStyle.qth
  + harbour/contrib/hbqt/qth/QIcon.qth
  + harbour/contrib/hbqt/qth/QPixmap.qth
  + harbour/contrib/hbqt/qth/QStatusBar.qth
  + harbour/contrib/hbqt/qth/QStyle.qth
  + harbour/contrib/hbqt/qth/QWindowsStyle.qth
  + harbour/contrib/hbqt/qth/QWindowsXPStyle.qth
    + Added new classes. Updated old ones.

  * harbour/contrib/hbqt/tests/demoqt.prg
    + Implemented StatusBar, Windows Icon, etc.
2009-04-07 06:51:37 +00:00
Pritpal Bedi
7619b3c94e 2009-04-06 19:19 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/generator/hbqtgen.prg
    ! Fixed: warning - taken address of temprary. Thanks Xavi.
      Still need to be tested.
2009-04-07 02:20:40 +00:00
Francesco Saverio Giudice
75f4a44b58 2009-04-07 00:41 UTC+0200 Francesco Saverio Giudice (info/at/fsgiudice.com)
* harbour/contrib/examples/uhttpd/uhttpd.prg
    + Added _HTTP_RESPONSE headers
    * Renamed defineServerAdresses() function to defineServer()
      as now define all _SERVER variables
    * ParseRequest() now uses uhttpd_SplitUrl() to define URI parts
    * Host now is defined according with RFC2616
    * HRB session now is defined as UHTTPD-SESSION to avoid collision with
      SESSION in cookies
    ! uhttpd_AddHeader() renamed to uhttpd_SetHeader() to be conformed to
      RFC2616 that wants that a header variable is defined only once.
      See cookie.prg changes.
      Headers now are contained in a Hash instead of an array
    * fixed as per above also uhttpd_GetHeader() / uhttpd_DelHeader()

  * harbour/contrib/examples/uhttpd/session.prg
    * uhttpd_AddHeader() -> uhttpd_SetHeader()
  * harbour/contrib/examples/uhttpd/cgifunc.prg
    * in function uhttpd_SplitUrl() added URI hash field
  + harbour/contrib/examples/uhttpd/cookie.prg
    * To conform to RFC2616 now if Set-Cookie has more than one value than
      is created a comma separated list of cookie-name=cookie-value
    * uhttpd_AddHeader() -> uhttpd_SetHeader()

  * harbour/contrib/examples/uhttpd/modules/info.prg
    + Added _HTTP_RESPONSE display

  * harbour/contrib/examples/uhttpd/modules/cookie.prg
  * harbour/contrib/examples/uhttpd/modules/showcounter.prg
  * harbour/contrib/examples/uhttpd/modules/tableservletdb.prg
    * uhttpd_AddHeader() -> uhttpd_SetHeader()
2009-04-06 22:42:34 +00:00
Viktor Szakats
a8633c7b46 2009-04-06 23:38 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to properly set errorlevels. For some reason I thought 
      returning a number from MAIN() will set the errorlevel. Now 
      using ErrorLevel() function.

  * contrib/hbqt/generator/rebuild_hbqt.bat
    * Added errorlevel checking after hbmk2 call.
    ! Removed HB_COMPILER check.
2009-04-06 21:38:31 +00:00
Viktor Szakats
2139a48e60 2009-04-06 22:45 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Adding hbmainstd/hbmainwin libs as object for win/owatcom.
      This fixes the startup procedure problems. Thanks Przemek.
2009-04-06 21:12:24 +00:00
Przemyslaw Czerpak
87d32b1a69 2009-04-06 22:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/harbour-wce-spec
    ! fixed MinGWCE cross compilation for Pocket PC by simple removing
      __PLATFORM__WINCE from Harbour build parameters. It's now defined
      by config/wce/mingwarm.cf
      BTW why it's called mingwarm not mingwce? Is is planed to add for
      each CPU type separate .cf file? For Linux it will be more then
      20 files.
      I do not know if MS plans to release (or maybe released) WinCE for
      non ARM based computers (f.e. x86 ones) but it may happen. Just like
      non x86 normal Windows ports may exist.
2009-04-06 20:09:53 +00:00
Pritpal Bedi
6ee6172042 2009-04-06 09:45 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/generator/qt45.qtp
  * harbour/contrib/hbqt/hbqt.h
  + harbour/contrib/hbqt/qth/QEvent.qth
  + harbour/contrib/hbqt/qth/QEventLoop.qth
  + harbour/contrib/hbqt/qth/QInputEvent.qth
  + harbour/contrib/hbqt/qth/QPaintEvent.qth
  + harbour/contrib/hbqt/qth/QRegion.qth
  * harbour/contrib/hbqt/qth/QSize.qth
  + harbour/contrib/hbqt/qth/QVariant.qth
    + Added more classes and update qt45.qtp
2009-04-06 16:51:30 +00:00
Pritpal Bedi
25256841d6 2009-04-06 09:36 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/generator/hbqtgen.prg
    ! StdOut() used instead of ?.
    ! More parameter resolved.
2009-04-06 16:41:34 +00:00
Mindaugas Kavaliauskas
ccf905a9d5 2009-04-06 19:35 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/source/rtl/hbstrfmt.c
    + added precision support for %s and %d.
      COMMENT: I've used GNU printf() function for test. Some of 
      formats is not supported by it. For example, zero padding is 
      ignored if left alignment is used, etc. I'm not sure if it is 
      intentional.
2009-04-06 16:35:13 +00:00
Viktor Szakats
473fa4b49a 2009-04-06 18:12 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-mkdyn.bat
    * owatcom tweaks. Build is still going dunno if this will be okay.

  * contrib/hbqt/generator/rebuild_hbqt.bat
    * Added hbmk2 dir.

  * utils/hbmk2/hbmk2.prg
    ! Fixed stupid MSVC typo.
2009-04-06 16:14:29 +00:00
Francesco Saverio Giudice
5180f8904e 2009-04-06 17:58 UTC+0200 Francesco Saverio Giudice (info/at/fsgiudice.com)
+ harbour/contrib/hbqt/generator/rebuild_hbqt.bat
    + Added batch to generate fresh hbqt sources from headers
2009-04-06 15:57:09 +00:00
Przemyslaw Czerpak
00c554e0f6 2009-04-06 17:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    * renamed --hbbindir --hblibdir --hbincdir parameters to
      --hbdirbin --hbdirlib --hbdirinc
2009-04-06 15:51:44 +00:00
Viktor Szakats
371acc0392 2009-04-06 17:44 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added --hbdirdyn.
2009-04-06 15:45:41 +00:00
Viktor Szakats
785eeeaa51 2009-04-06 17:35 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added --hbdirbin, --hbdirlib, --hbdirinc
    + Added --version and --help to help screen.
    ! Changed to use OS native slashed in path when calling harbour executable.
    + -quiet will now suppress messages when -traceonly option is used.
      Script dumps will still have a header for clarity.
    + Will now dump harbour executable name to Harbour command -trace 
      output, even if internal compiler is used.
2009-04-06 15:38:24 +00:00
Przemyslaw Czerpak
91f3461314 2009-04-06 16:04 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    + added support for displaying harbour bin, lib and include directories
      for --hbbindir --hblibdir --hbincdir parameters.
      Viktor please add such functionality also to hbmk2.
      Only given directories should be displayed without any other
      characters in the output.
      Such feature allows to use -I`hbmk --hbincdir` in *nixes build
      scripts what should greatly simplify 3-rd party projects make scripts.
2009-04-06 13:57:35 +00:00
Przemyslaw Czerpak
2765ec9696 2009-04-06 15:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/compiler/hbmain.c
  * harbour/source/compiler/hbcomp.c
    ! fixed ignored -es2 compiler flag when warning is caused by startup
      parameters

  * harbour/source/compiler/harbour.yyc
  * harbour/source/compiler/harbour.y
    * pacified warning

  * harbour/harbour.spec
    ! fixed doc/en directory name to doc/en-EN

  * harbour/source/vm/Makefile
  + harbour/source/vm/maindllh
  + harbour/source/vm/maindllh/Makefile
    + added hbmaindllh library - it's necessary for some compiler to create
      working harbour.dll, f.e. in OpenWatcom builds. Please updated
      harbour.dll build scripts to use this library with such compilers.
      MinGW based compilers do not need it.

  * harbour/source/vm/Makefile
    ! fixed typo which broke wce builds

  * harbour/source/vm/Makefile
  * harbour/harbour-wce-spec
  * harbour/harbour.spec
    + added mainstd mainwin maindllh maindllp to all win and wce builds

  * harbour/harbour-win-spec
  * harbour/harbour-wce-spec
  * harbour/harbour.spec
    + added support for parallel compilation (-j make flags) in RPMs
      which supports %{_smp_mflags} macro
    ! temporary fix: disabled harbour external libraries.
      I do not know what should be the final version.
    ; WCE builds are still broken due to repeated macro definitions
      but I'm lost with the new build time parameters and I do not
      know how to fix it without breaking hbce* scripts or bad introduce
      some interactions to other build/install time scripts so it will
      have to be fixed by Viktor.
2009-04-06 13:35:09 +00:00
Viktor Szakats
3967777791 2009-04-06 14:33 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbole/Makefile
  * contrib/hbole/olecore.c
  + contrib/hbole/hbwinole.h
    + Added C header.
    + Exported hb_oleVariantToItem().

  * contrib/hbqt/hbqt_qfont.cpp
    ! Fixed HB_IS_STRING() -> HB_ISCHAR().
2009-04-06 12:34:21 +00:00
Viktor Szakats
dfdacf0e5f 2009-04-06 13:19 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed finding shared libs since /lib/<arch>/<comp> lib path
      autodetection was added. Please test.
    + Added -traceonly cmdline switch which will display all commands to
      be executed, without actually executing them. Notice that this isn't
      a complete "dry" run, as some temp files will may be created and
      normally created temp files are deleted along the process.

  * contrib/hbqt/Makefile
    ! Fix to include statement.
2009-04-06 12:19:56 +00:00
Pritpal Bedi
1d9e8d884c 2009-04-05 14:03 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/generator/hbqtgen.prg
  * harbour/contrib/hbqt/generator/qt45.qtp
  + harbour/contrib/hbqt/qth/QPoint.qth
  + harbour/contrib/hbqt/qth/QPointF.qth
  + harbour/contrib/hbqt/qth/QRect.qth
  + harbour/contrib/hbqt/qth/QRectF.qth
  + harbour/contrib/hbqt/qth/QSizeF.qth
    + Added more classes.
2009-04-05 21:16:59 +00:00
Pritpal Bedi
6f8b14a15d 2009-04-05 12:57 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
+ harbour/contrib/hbqt/tests/wvtext.prg
    + Added wvtext.prg [ already in harbour/tests ] modified
      to invoke QT dialogs. This demo is far from production 
      environment abd is just a future concept of implementation
      what we can achieve with QT with least efforts.
2009-04-05 20:01:37 +00:00
Pritpal Bedi
824a427e1d 2009-04-05 02:35 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
+ harbour/contrib/hbqt/tests/*.png
    + Added some .png files used in the demoqt.prg.
2009-04-05 09:40:48 +00:00
Pritpal Bedi
62268977fe 2009-04-05 02:00 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/hbqt.h
  * harbour/contrib/hbqt/generator/hbqtgen.prg
  * harbour/contrib/hbqt/generator/qt45.qtp
  + harbour/contrib/hbqt/gensource/Makefile
  * 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/QAxBase.qth
  * harbour/contrib/hbqt/qth/QAxBindable.qth
  * harbour/contrib/hbqt/qth/QAxObject.qth
  * harbour/contrib/hbqt/qth/QAxWidget.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/QDesktopWidget.qth
  * harbour/contrib/hbqt/qth/QDial.qth
  * harbour/contrib/hbqt/qth/QDialog.qth
  * harbour/contrib/hbqt/qth/QDir.qth
  * harbour/contrib/hbqt/qth/QDockWidget.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/QFontInfo.qth
  * harbour/contrib/hbqt/qth/QFormLayout.qth
  * harbour/contrib/hbqt/qth/QFrame.qth
  * harbour/contrib/hbqt/qth/QFtp.qth
  * harbour/contrib/hbqt/qth/QGridLayout.qth
  * harbour/contrib/hbqt/qth/QGroupBox.qth
  * harbour/contrib/hbqt/qth/QHBoxLayout.qth
  * harbour/contrib/hbqt/qth/QHeaderView.qth
  * harbour/contrib/hbqt/qth/QHttp.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/QListWidget.qth
  * harbour/contrib/hbqt/qth/QListWidgetItem.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/QPen.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/QSignalMapper.qth
  + harbour/contrib/hbqt/qth/QSize.qth
  * harbour/contrib/hbqt/qth/QSizeGrip.qth
  * harbour/contrib/hbqt/qth/QSlider.qth
  * harbour/contrib/hbqt/qth/QSpinBox.qth
  * harbour/contrib/hbqt/qth/QSplashScreen.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/QTimer.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/QUrl.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
    ! Restructured the layout of .qth source headers.
      List of section blocks:
         <CLASS>   </CLASS>
         <CODE>    </CODE>
         <ENUMS>   </ENUMS>
         <PROTOS>  </PROTOS>
         <SLOTS>   </SLOTS>
         <SIGNALS> <SIGNALS>
      This layout will be useful for future extensions.
      We can spread anything outside of these blocks wheatever 
      is required.

      The <hbqtgen> engine has been reworked and enhanced to a 
      great extent. At this moment about 99% functions are compiled
      properly. Except for one warning everypiece compiles fine:
          : warning: taking address of temporary 
      which is the result of code like as below:
          /*
           * QIcon icon () const
           */
          HB_FUNC( QT_QABSTRACTBUTTON_ICON )
          {
             hb_retptr( &( ( QIcon ) hbqt_par_QAbstractButton( 1 )->icon() ) );
          }
      is spread all over. I have no clue how to suppress it. 
      This is why I have not posted the files in root folder.
      NOTE: Make system fails for <Makefile_gen>, Viktor?

      The demoqt.prg is updated with many features. Just play.

      And an Experiment: /tests/wvtext.prg can be updated to work with 
      QT Widgets. Though this is not the end goal of QT, you may take 
      advantage of QT's powerful yet simple classes to embed in your
      console applications.
2009-04-05 09:32:56 +00:00
Viktor Szakats
e4854e1691 2009-04-05 09:53 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Enabled rtlink/blinker parsing code, so now hbmk2 will
      work as a plugin replacement for clipper, rtlink/blinker/exospace
      when renamed to these names. Example:
      ---
      > copy hbmk2.exe clipper.exe
      > copy hbmk2.exe rtlink.exe
      > clipper hello.prg
      > echo OUT myhello FI hello > rtl.lnk
      > rtlink @rtl.lnk
      ---
2009-04-05 07:55:32 +00:00
Viktor Szakats
0ae41f7a0e 2009-04-04 17:06 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
    * Minor.

  * utils/hbmk2/hbmk2.prg
    ! Fixed to add 'lib' prefix when -hblib option is used with 
      GCC family compilers.
    ! Fixed to not override compiler output when -hblib option is used.

  * contrib/hbqt/generator/hbqtgen.prg
  + contrib/hbqt/Makefile_gen
  * contrib/hbqt/Makefile
    + Added Makefile_gen which holds the generated part of 
      the Makefile. This way there is no (less) hidden make 
      logic inside hbqtgen.

  * config/wce/global.cf
    - Removed gtwin.
    ; TODO: Move GT inclusion logic to GT local Makefiles.
2009-04-04 15:06:55 +00:00
Viktor Szakats
d72a0554f8 2009-04-03 15:33 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* harbour-wce-spec
  * INSTALL
  * bin/postinst.bat
  * Makefile
  * make_gnu.bat
  * external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * contrib/gtalleg/Makefile
  * contrib/hbodbc/Makefile
  * contrib/hbtpathy/Makefile
  * contrib/hbole/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/Makefile
  * contrib/hbfbird/Makefile
  * contrib/hbwin/Makefile
  * source/vm/Makefile
  * source/vm/vmmt/Makefile
    + Added wce arch and mingwarm/msvcarm/poccarm support.
      In parallel with old win/mingwce|msvcce|poccce support.
      As soons as this new one work, the old one will be deleted.

  * make_gnu.bat
    ! Fixed to work like rest of targets for GCC family.
      It will now only initiate a 'clean install' if HB_BUILD_DLL=yes.

  * utils/hbmk2/hbmk2.prg
    + Added Przemek's code for rtlink/blinker script parsing.
      Not yet activated.
2009-04-03 13:47:54 +00:00
Viktor Szakats
e6d1ef70c2 2009-04-03 11:05 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-mkdyn.bat
    ! Attempt to fix owatcom shared executable generation.
      (still GPFs, or does nothing)

  * utils/hbmk2/hbmk2.prg
    ! Fixed typo in prev commit, causing RTE.
2009-04-03 09:06:10 +00:00
Przemyslaw Czerpak
e47c696099 2009-04-03 03:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/dircmd.prg
    ! small fix in 'DIR <filemask>' DOS like output formatting.
      Note: this function uses strict DOS like 8.3 file name convention
            in the output so it will play well with long file names.
            Maybe we should change the output formatting?
2009-04-03 01:39:08 +00:00
Przemyslaw Czerpak
5b4e39f61b 2009-04-03 02:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/hvm.c
  * harbour/source/vm/fm.c
  * harbour/source/vm/cmdarg.c
    ! fixed GPF when hb_vmInit() is called without initializing
      application startup parameters by hb_cmdargInit().
      Thanks to Enrico's friends for information about the problem.
    * some code cleanup
2009-04-03 00:42:44 +00:00
Francesco Saverio Giudice
cb865b0c4c 2009-04-03 01:20 UTC+0200 Francesco Saverio Giudice (info/at/fsgiudice.com)
* harbour/contrib/examples/uhttpd/uhttpd.prg
    + added Application Root folder
      Also as ini command and -a command line switch
    * fixed starting path
    ! fixed CGI/HRB execution path
      now uhttpd runs CGI and HRB pointing to document root
      as execution path. Pay attention to update existing cgi and
      hrb modules.
    + added console rows and cols to alter console display
      either as ini command than as -cr and -cc command line switch
    ! fixed $(APP_DIR) and $(DOCROOT_DIR) macro substitution
      now it is possible to run uhttpd executable from a different
      folder specifying uhttpd.ini path, application root path and
      document root path that may differ from default
    * updated help screen

  * harbour/contrib/examples/uhttpd/uhttpd.ini
    + added new commands
  * harbour/contrib/examples/uhttpd/session.prg
    * work in progress to fix error in session handling
  * harbour/contrib/examples/uhttpd/modules/tableservletdb.prg
    * updated path of test.dbf that now is relative to document root
      and not to application path
2009-04-02 23:21:18 +00:00
Viktor Szakats
81df8fde17 2009-04-03 00:20 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed warning.
2009-04-02 22:21:38 +00:00
Przemyslaw Czerpak
ba6f4192ea 2009-04-02 22:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbexpra.c
    ! verify all expression POP operation for usage as LValue

  * harbour/include/hbexprb.c
    ! fixed possible GPF in unverified send context
    + added support for IIF() usage as LValue even if it cannot be
      reduced during [macro]compilation

  * harbour/source/macro/macro.yyc
  * harbour/source/macro/macro.y
  * harbour/source/macro/macrolex.c
    * removed support for some characters unsupported by Clipper in
      macro expressions like chr(10) as trailing expression character, f.e.:
         ? &("DATE()"+chr(10))

  * harbour/source/compiler/complex.c
    * formatting
2009-04-02 19:54:29 +00:00
Viktor Szakats
9af9e1d919 2009-04-02 17:21 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Enabled embedded Harbour compiler. This will simplify 
      cross-compile scenarios.
2009-04-02 15:32:10 +00:00
Viktor Szakats
fd126df5fe 2009-04-02 17:11 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added msvcce (msvcarm) support. Untested, those who have such
      working environment please do. (pre 8.0 MSVC isn't supported)
2009-04-02 15:11:51 +00:00
Viktor Szakats
708662313f 2009-04-02 16:30 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
    + Made clear that Windows examples are all pure .bat scripts.
    + Made clear that HB_BUILD_IMPLIB isn't supported for MinGW targets.
      (and in most cases either not needed or not possible automatically)

  * contrib/hbct/ctstrfil.c
    ! Fixed missing #include which could cause unresolved externals.
2009-04-02 14:30:47 +00:00
Viktor Szakats
3b59e20e9d 2009-04-02 15:25 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added support for pocc64, poccce. Not tested.
      This is a very gray area for pocc. Currently it doesn't work
      because polib is broken and doesn't generate an implib:
      POLIB: fatal error: Internal error (create_archive_file).
    ; TOFIX: poccce also doesn't work, but this is probably solvable,
             there are unresolved externals when linking.
2009-04-02 13:30:08 +00:00
Viktor Szakats
0e85dc963b typo 2009-04-02 13:12:11 +00:00
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