Commit Graph

14756 Commits

Author SHA1 Message Date
Viktor Szakats
5eca19bb93 2010-07-25 17:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
    ! Fixed missing changelog entry for hbmk2.prg. See it right
      below.

2010-07-25 10:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
  * utils/hbmk2/hbmk2.prg
    * Changed to fix bcc installations (.cfg files) even if the
      .cfg files do exist (so far hbmk2 was only doing this 
      configuration, if bcc was not configured at all). This 
      makes it in sync with Harbour GNU Make logic. This issue 
      seems to be a neverending problem with (for) bcc users. 
      Pls note that Harbour will do a minimal bcc configuration 
      only, to make it possible to create Harbour apps. If hbmk2 
      is used to create other bcc apps, users will pbly have 
      to configure bcc properly, in accordance with its own 
      readme/install docs.
  [...]
2010-07-25 15:44:50 +00:00
Viktor Szakats
6b758c4f6d 2010-07-25 10:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/hbcompat.ch
    + Added xhb translations for hb_eol() and hb_ps().

  * contrib/make.hbs
    - Deleted SetCancel().

  * src/debug/tbrwtext.prg
  * src/debug/debugger.prg
  * src/rtl/errsys.prg
  * src/rtl/profiler.prg
  * src/rtl/hbini.prg
  * src/rtl/treport.prg
  * src/rtl/tpersist.prg
  * src/rtl/hbi18n2.prg
  * src/rtl/ttextlin.prg
  * src/rtl/teditor.prg
  * src/rdd/usrrdd/rdds/logrdd.prg
  * tests/hbpptest/hbpptest.prg
  * tests/longstr2.prg
  * tests/cdow.prg
  * tests/output.prg
  * tests/dirtest.prg
  * tests/tstdbi.prg
  * tests/speedold.prg
  * tests/dates3.prg
  * tests/set_test.prg
  * tests/rto_get.prg
  * tests/cpinfo.prg
  * tests/speedtst.prg
  * tests/dates.prg
  * tests/set_num.prg
  * tests/rto_tb.prg
  * tests/testhtml.prg
  * tests/round.prg
  * tests/dates2.prg
  * tests/dates4.prg
  * tests/version.prg
  * tests/seconds.prg
  * tests/gtkeys.prg
  * tests/adirtest.prg
  * include/simpleio.ch
  * include/assert.ch
  * contrib/hbct/tests/tab.prg
  * contrib/hbct/tests/expomant.prg
  * contrib/xhb/traceprg.prg
  * contrib/xhb/hblog.prg
  * contrib/xhb/dumpvar.prg
  * contrib/xhb/dbgfx.prg
  * contrib/xhb/xhberr.prg
  * contrib/xhb/cstruct.prg
  * contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/hbqt_errorsys.prg
  * contrib/hbqt/generator2/hbqtgen2.prg
  * contrib/hbxpp/hbxpp.ch
  * contrib/hbnetio/utils/netiosrv.prg
  * contrib/hbnetio/utils/rpcdemo.hbs
  * contrib/hbnetio/utils/netiocmd.prg
  * contrib/hbpgsql/tests/dbf2pg.prg
  * contrib/hbmisc/tests/readfile.prg
  * contrib/hbmisc/tests/testhbf.prg
  * contrib/hbtip/thtml.prg
  * contrib/hbtip/client.prg
  * contrib/hbwin/tests/testsim.prg
  * contrib/hbwin/tests/testole.prg
  * contrib/hbwin/tests/testsvc.prg
  * contrib/hbssl/tests/bio.prg
  * contrib/hbssl/tests/pem.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idethemes.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/idedocwriter.prg
  * contrib/hbide/hbide.ch
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idehome.prg
  * contrib/hbide/ideshortcuts.prg
  * utils/hbformat/hbformat.prg
  * utils/hbmk2/hbmk2.prg
  * utils/hbi18n/hbi18n.prg
  * utils/hbtest/hbtest.prg
  * examples/hbextern/hbextern.prg
  * examples/uhttpd2/umain.prg
  * examples/guestbk/inifiles.prg
  * examples/guestbk/testcgi.prg
  * examples/httpsrv/uhttpd.prg
  * examples/hscript/hscript.prg
    * hb_osnewline() -> hb_eol()
      (deleting temp variables and temp pp macros used in the past
      to workaround the long typing of the old function name)
    * Some formatting along the way in tests dir.

  * src/rtl/errsys.prg
    - Deleted usage of ISNIL(). It's a quite pointless macro.

  * src/rtl/errsys.prg
  * src/rtl/listbox.prg
  * src/rtl/profiler.prg
  * src/rtl/treport.prg
  * src/rtl/tpersist.prg
  * src/rtl/tgetlist.prg
  * src/rtl/teditor.prg
    % DO CASE -> SWITCH

  * src/rtl/alert.prg
    * Replaced DEFAULT TO with simple NIL check.

  * src/compiler/gencc.c
    * Formatting of generated code.

  * contrib/hbide/ideedit.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idethemes.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/idedocwriter.prg
  * contrib/hbide/hbide.ch
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idehome.prg
  * contrib/hbide/ideshortcuts.prg
    * hb_osPathSeparator() (and static variable) -> hb_ps()
2010-07-25 08:45:50 +00:00
Pritpal Bedi
bb4cc5818d 2010-07-24 18:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qth/HBQPlainTextEdit.qth
  * contrib/hbqt/qtgui/THBQPlainTextEdit.prg
  * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp
  * contrib/hbqt/doc/en/class_hbqplaintextedit.txt
  * contrib/hbqt/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/hbqt_hbqplaintextedit.h
    + Added: one more method call.
  
  * contrib/hbide/idebrowse.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
    + Implemented: <intellisense><code completion> for 
      FIELD-> and someAlias-> table fields for tables opened in ideDBU.

      How it Works:
        1. Open few tables in ideDBU.
        2. In some editor instance type "FIELD->" 
           It will set the field completion mode ON.
        3. type some letter starting a field, say, "a"
           Code completion dialog will open with all fields 
           starting with "a" contained in all the tables opened.
        4. To get list of all fields in all tables,
           after typing FIELD-> type "x" and then press back space.
        5. To get field completions for a particular alias,
           type "that_Particular_alias->" and then some letter.
        6. To get all fields in an alias type "alias" then "->" then "x" then press "backspace".

      Presentation:
        FIELD->   FieldName ( TableName ) FieldsOrdinalNumber, FieldType, FieldLength, DecPlaces
                  =>
                  SaleAmount ( Invoice ) 13, N, 12, 2

        Invoice-> FieldName FieldsOrdinalNumber, FieldType, FieldLength, DecPlaces
                  =>
                  SaleAmount 13, N, 12, 2
2010-07-25 01:48:27 +00:00
Pritpal Bedi
60adbd070f 2010-07-24 13:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbqt_hbqabstractitemmodel.cpp
  * contrib/hbxbp/xbpbrowse.prg
    + Applied: patch forwarded by Bacco.
2010-07-24 20:24:58 +00:00
Pritpal Bedi
4974542ee9 2010-07-23 09:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/doc/en/class_hbqplaintextedit.txt
  * contrib/hbqt/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/hbqt_hbqplaintextedit.h
  * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp
  * contrib/hbqt/qtgui/THBQPlainTextEdit.prg
  * contrib/hbqt/qth/HBQPlainTextEdit.qth
    + Prepared: to handle another field completion protocol - 
                a work-in-progress.

  * contrib/hbxbp/xbpbrowse.prg
    ! Minor.

  * contrib/hbide/idebrowse.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
    + Prepared: to handle field completion engine.
2010-07-23 16:28:53 +00:00
Viktor Szakats
3b6e247f8f 2010-07-23 17:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* harbour-win-spec
  * harbour-wce-spec
  * harbour.spec
    * HB_CONTRIBLIBS -> HB_BUILD_CONTRIBS

  * contrib/make.hbs
    ! Adjusted wording in log output.

  * utils/hbmk2/hbmk2.prg
    ! Fixed bad regression caused by extending filters to
      all options. I reverted it. It has a killer effect
      without huge benefit. Maybe it will be implemented
      differently in the future.
      The user effect of the regression was that libs were
      created in bin dir.
    * Cleaned some variable names passed to plugins.

  * utils/hbmk2/examples/plug_tpl.hbs
    + Added comment about requirement of reentrancy.
2010-07-23 15:36:22 +00:00
Viktor Szakats
b5e40738d2 2010-07-23 14:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    + Accept package simply as 'hbmylib'. In such case it will 
      use 'hbmylib/hbmylib.hbp' as project file.
2010-07-23 12:02:29 +00:00
Viktor Szakats
319d515799 2010-07-23 13:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    - Deleted handling of .hbi extension.
    - Deleted -target and -alltarget cmdline options as an
      effort for simplification. Now all cmdline options apply
      to all targets.
    + .hbp file references will now be executed as sub-projects,
      using an internal recursive call to the hbmk2 engine.
      This means that projects can now be embedded. INCOMPATIBLE
      if someone used .hbp file references inside other make
      files. If you want to create common settings in a separate
      file, always use .hbm extension.
      Pls note that sub-projects will inherit all cmdline options
      of original hbmk2 invocation.
    + Added ${hb_targetname} macro to return the parent project
      name.
    + Added ${hb_targettype} macro. Returning target type.
    + Changed -run option to only run the top level project.
    + Changed --hbinfo to return a flat list of information
      about all projects involved. Currently the main project
      is the last one in the list (order of execution).
    + Filters can now be used also for file inclusion and -skip
      options (which means they can now be used for all possible
      cmdline and .hbm/.hbp options)
    ! Fixed the way automatic cmdline options based on
      hbmk2's own filename are created. From now -hbcmp, -hblnk,
      -hbcc, -rtlink, -xhb, -hb10 will be added to the left side
      of the existing option (to precede everything else), while
      the rest (f.e. -hblib, -hbexe, -hbdyn) will be added last.
    ; NOTE: Quite heavy changes so pls expect (and report) any
            regressions. Most probably there will be room for
            tweaks here and there to make the new cascading build
            feature as smooth as possible.

  * contrib/make.hbs
    % Internally simplified since now the handling of sub-projects
      is the job of hbmk2 and .hbp make files.
    + In standalone mode it will now detect the name of the project
      in current dir, so the codepaths are much similar to the
      GNU Make mode now and stdalone mode will also rely on pkglist,
      instead of trying to detect what to build on its own.
    + Not require pkglist to list any sub-projects anymore, now
      it's simple list of main .hbp files.
    + Changed along with hbmk2 to deal with multiple project
      information returned by --hbinfo.
    + Avoid using the word "contrib", use "package" instead.

  * contrib/pkglist
    * Simplified to a mere list of main .hbp files for packages.

  * utils/hbrun/hbrun.prg
  * contrib/make.hbs
  * config/postinst.hbs
    * PathSepToSelf() rewritten to not make assumptions about
      __PLATFORM__* macro vs hb_ps() value, instead use hb_ps()
      value to decide what to do.

  * utils/hbrun/hbrun.prg
    ! Fixed to not save the (empty) history after each non-interactive
      session.

  * config/win/cygwin.mk
    ! Fixed to add z and pcre libs if the locally hosted ones
      aren't used.

  * contrib/hbqt/generator/hbqtgen.prg
    ! Fixed OS names in doc output.
    * Formatting.

  * contrib/gtalleg/gtalleg.hbm
  * contrib/gtalleg/gtalleg.hbp
  * contrib/gtalleg/gtallegs.hbp
  * contrib/hbcurl/hbcurl.hbm
  * contrib/hbcurl/hbcurl.hbp
  * contrib/hbcurl/hbcurls.hbp
  * contrib/hbtip/hbtip.hbm
  * contrib/hbtip/hbtip.hbp
  * contrib/hbtip/hbtipssl.hbp
  * contrib/hbssl/hbssl.hbm
  * contrib/hbssl/hbssl.hbp
  * contrib/hbssl/hbssls.hbp
  * contrib/hbqt/hbqt_common.hbm
  - contrib/hbqt/hbqt.hbm
  + contrib/hbqt/filelist.hbm
  * contrib/hbqt/hbqt.hbp
  * contrib/hbqt/hbqts.hbp
  * contrib/hbqt/hbqtgui.hbp
  * contrib/hbqt/hbqtguis.hbp
  * contrib/hbqt/hbqtcore.hbp
  * contrib/hbqt/hbqtcores.hbp
  * contrib/hbqt/hbqtnetwork.hbp
  * contrib/hbqt/hbqtnetworks.hbp
  - contrib/hbqt/gtqtc/gtqtc.hbm
  + contrib/hbqt/gtqtc/filelist.hbm
  * contrib/hbqt/gtqtc/gtqtc.hbp
  * contrib/hbqt/gtqtc/gtqtcs.hbp
  * contrib/hbqt/qtwebkit/hbqtwebkit.hbp
  * contrib/hbqt/qtwebkit/hbqtwebkits.hbp
  * contrib/hbqt/qtdesigner/hbqtdesigner.hbp
  * contrib/hbqt/qtdesigner/hbqtdesigners.hbp
  * contrib/hbqt/hbqscintilla/hbqscintilla.hbp
    * Cleanup along with latest changes:
      Using ${hb_targetname} instead of ${hb_name}, so it's safe to
      use it inside .hbm file, instead of replicating them in every
      .hbp file.
    + Now primary .hbp project files always reference the sub-project
      .hbp files:
         - hbqt
           + hbqts
           + hbqtcore
             + hbqtcores
           + hbqtgui
             + hbqtguis
           + hbqtnetwork
             + hbqtnetworks
      Which means that 'hbmk2 hbqt.hbp' will rebuild the whole
      stuff (all libs, and even static libs if requested) in one pass.
    * Renamed some file for more uniform layout.
2010-07-23 11:08:33 +00:00
Pritpal Bedi
7dfa9982ef 2010-07-22 18:51 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/xbpbrowse.prg
    + Changed: width of the columns : maximum of data or header.

  * contrib/hbide/idebrowse.prg
  * contrib/hbide/idemisc.prg
    + Implemented: ideDBU - left-toolbar icons.
        Append, Delete, Lock, Gotop, GoBottom, ToFirstColumn, ToLastColumn, Search.

    + Implemented: ideDBU - context menu:
        > Scroll to...      Opens a input dialog to fetch fieldname ( case insensitive ).
                            Any first characters will scroll the browser to 
                            make that column visible. Vey handy especially in 
                            tables with lot of fields.
        > Search in Field   Opens input dialog to fetch a value to be searched
                            sequentially on the highlighted field. This option is 
                            available in any state of the table, indexed or natural order.
        > Form View         Triggers the form-view scrollable widget visible.
2010-07-23 02:02:10 +00:00
Pritpal Bedi
8531e38655 2010-07-22 10:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/hbpprocess.prg
    + Added: :waitForFinished() method.

  * contrib/hbide/idebrowse.prg
    % Reworked: ideDBU:formView - now it is presented in a scrollable widget.

  * contrib/hbide/ideprojmanager.prg
    + Added: "xbuild" project files .xbp as basis for project conversion.
    ! Changed: hb_processRun() => QProcess().
2010-07-22 17:19:22 +00:00
Viktor Szakats
29bb18fba1 2010-07-22 16:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- contrib/hbqt/hbqt_hbdbfmodel.cpp
  * contrib/hbqt/generator/qt45.qtp
  - contrib/hbqt/qth/HBDbfModel.qth
  - contrib/hbqt/qtcore/THBDbfModel.prg
  * contrib/hbqt/qtcore/filelist.hbm
  - contrib/hbqt/qtcore/HBDbfModel.cpp
  - contrib/hbqt/doc/en/class_hbdbfmodel.txt
  * contrib/hbqt/hbqt.h
  - contrib/hbqt/hbqt_hbdbfmodel.h
  * contrib/hbqt/hbqt_garbage.h
  * contrib/hbqt/hbqt.hbm
    - Deleted now obsolete DBFMODEL.

  * src/rtl/gtcrs/gtcrs.h
    * Minor formatting. (from patch by Tamas Tevesz)

  * config/detect.mk
    ! Fixed autodetection of curses under Cygwin.
      Requires Cygwin sh shell to work.
      Patch by Tamas Tevesz.

  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    * Minor.
2010-07-22 14:59:03 +00:00
Viktor Szakats
66d5a12c2f 2010-07-22 14:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
  + contrib/pkglist
    + Changed to use external file to load the package
      list and package layout from.
    + Handling the case when .hbp filename has pathsep in it.

  + contrib/gtalleg/gtalleg.hbm
  * contrib/gtalleg/gtalleg.hbp
  * contrib/gtalleg/gtallegs.hbp
  + contrib/hbcurl/hbcurl.hbm
  * contrib/hbcurl/hbcurl.hbp
  * contrib/hbcurl/hbcurls.hbp
  + contrib/hbtip/hbtip.hbm
  * contrib/hbtip/hbtip.hbp
  * contrib/hbtip/hbtipssl.hbp
  + contrib/hbssl/hbssl.hbm
  * contrib/hbssl/hbssl.hbp
  * contrib/hbssl/hbssls.hbp
  + contrib/hbqt/hbqt.hbm
  * contrib/hbqt/hbqt.hbp
  * contrib/hbqt/hbqts.hbp
  + contrib/hbqt/gtqtc/gtqtc.hbm
  * contrib/hbqt/gtqtc/gtqtc.hbp
  * contrib/hbqt/gtqtc/gtqtcs.hbp
    * Moved common make settings to .hbm files instead
      of making internal reference to other .hbp file.

  * contrib/hbqt/hbqt_common.hbm
    + Added -hblib option.

  * contrib/hbqt/hbqtgui.hbp
  * contrib/hbqt/hbqtguis.hbp
  * contrib/hbqt/hbqtcore.hbp
  * contrib/hbqt/hbqtcores.hbp
  * contrib/hbqt/hbqtnetwork.hbp
  * contrib/hbqt/hbqtnetworks.hbp
  * contrib/hbqt/hbqscintilla/hbqscintilla.hbp
  + contrib/hbqt/qtwebkit/filelist.hbm
  * contrib/hbqt/qtwebkit/hbqtwebkits.hbp
  * contrib/hbqt/qtwebkit/hbqtwebkit.hbp
  + contrib/hbqt/qtdesigner/filelist.hbm
  * contrib/hbqt/qtdesigner/hbqtdesigner.hbp
  * contrib/hbqt/qtdesigner/hbqtdesigners.hbp
    * Delete references from .hbp files to other
      .hbp files.
    * Moved file lists into separate .hbm files.
2010-07-22 12:47:15 +00:00
Viktor Szakats
9b9abe5f5e 2010-07-22 10:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtcrs/gtcrs.c
    ! Fixed to build on Cygwin.

  * external/minizip/minizip.dif
  * external/minizip/ioapi.h
    ! Patch by Tamas Tevesz: "it's rather questionable this has ever
      done what it was intended to do. bad name for one macro, half
      of other macro missing."
      Fixes to largefile support.
2010-07-22 08:16:08 +00:00
Pritpal Bedi
af0b539000 2010-07-21 17:53 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/QTreeWidget.cpp
  * contrib/hbqt/qth/QTreeWidget.qth
    % Changed: :addTopLevelItem() to detach from GC cycle.

  * contrib/hbide/hbide.prg
  * contrib/hbide/idebrowse.prg
    + Added: Rdd DBFNSX. Some artifacts corrected.
2010-07-22 00:59:22 +00:00
Viktor Szakats
08efbcb882 2010-07-22 00:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed stupid error not allowing to add the same install
      path for multiple groups.
    ! Fixed to not create workdir in --hbinfo mode.
    % Do not install twice the implibs defined in dependencies.

  * contrib/make.hbs
    + Make sure to disable envvars influencing build options
      also in stdalone mode.
2010-07-21 22:58:42 +00:00
Viktor Szakats
dde5e86839 2010-07-21 20:37 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/stuff.c
    ! Fixed GPF in STUFF() when HB_SIZE is signed value.
      (HB_SIZE_SIGNED mode)

  * contrib/make.hbs
    % Normalized some dirs to give cleaner and shorter output.
    + Shows HB_BUILD_CONTRIBS value.
    ! Fixed to only generate doc once for multi-hbp packages (HBQT f.e.).
    % Internal cleanups.

  * contrib/hbqt/hbmk2_plugin_qt.hbs
    + Honor HB_WITH_QT also on OS/2.
    * Internal. Feedback is still not perfect.

  * utils/hbmk2/hbmk2.prg
    + Normalize implib source dirs, -o dirs, -workdir dirs.
    + Implibs automatically generated for dependencies are now put
      in the 'implib' install target category, so they can be controlled
      separately.

  * contrib/hbpost.hbm
    ! Fixed to only install new automatic implibs when HB_BUILD_IMPLIB=yes.
    ; TODO: Rename this setting to HB_INSTALL_IMPLIB (or some better
            name). Now implib are always made, this setting only controls
            whether to install them (f.e. we don't want to install them
            when creating package for distribution).
    - Deleted stuff belonging to stdalone -hbimplib targets. This
      method is deprecated inside contrib area.

  * config/global.mk
    - Do not show HB_CONTRIBLIBS value anymore.
2010-07-21 18:40:16 +00:00
Viktor Szakats
47228eeb7a 2010-07-21 16:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbblat/hbblat.hbp
    ! Added missed flag for bcc. (was there in .hbi)
2010-07-21 14:15:11 +00:00
Viktor Szakats
39368afe76 2010-07-21 16:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Documented how to [re]build one specific contrib package.

  * INSTALL
  * contrib/make.hbs
    * Using 'contrib package' instead of 'contrib lib'.

  * package/winuni/mpkg_win_uni_extra_copy.bat
    * Do not install contrib utils sources anymore. If they
      are important, they can be built as part of regular build
      a shipped as binary.

  * package/winuni/mpkg_win_uni_extra_copy.bat
  * contrib/make.hbs
  * contrib/hbqt/generator/hbqtgen.prg
  - contrib/hbmysql/hbmysql.hbi
  - contrib/hbmysql/Makefile
  - contrib/gtalleg/gtalleg.hbi
  - contrib/gtalleg/gtallegs
  - contrib/gtalleg/Makefile
  - contrib/hbct/Makefile
  - contrib/sddmy/sddmy.hbi
  - contrib/sddmy/Makefile
  - contrib/hbodbc/Makefile
  - contrib/xhb/Makefile
  - contrib/sddfb/sddfb.hbi
  - contrib/sddfb/Makefile
  - contrib/hbtpathy/Makefile
  - contrib/hbgt/Makefile
  - contrib/hbsqlit3/Makefile
  - contrib/hbmzip/Makefile
  - contrib/hbblat/Makefile
  - contrib/hbblat/hbblat.hbi
  - contrib/hbqt/qtgui/qtguis
  - contrib/hbqt/qtgui/Makefile
  - contrib/hbqt/qtcore/qtcores
  - contrib/hbqt/qtcore/Makefile
  - contrib/hbqt/qtcore/filelist.mk
  - contrib/hbqt/Makefile
  - contrib/hbqt/detect.mk
  - contrib/hbqt/filelist.mk
  - contrib/hbqt/hbqts
  - contrib/hbqt/gtqtc/gtqtcs
  - contrib/hbqt/gtqtc/Makefile
  - contrib/hbqt/moc.mk
  - contrib/hbqt/qtnetwork/filelist.mk
  - contrib/hbqt/qtnetwork/qtnetworks
  - contrib/hbqt/qtnetwork/Makefile
  - contrib/hbfbird/hbfbird.hbi
  - contrib/hbfbird/Makefile
  - contrib/sddpg/sddpg.hbi
  - contrib/sddpg/Makefile
  - contrib/hbziparc/Makefile
  - contrib/hbxbp/Makefile
  - contrib/hbbz2/Makefile
  - contrib/hbblink/Makefile
  - contrib/hbnf/Makefile
  - contrib/hbcurl/hbcurl.hbi
  - contrib/hbcurl/hbcurls
  - contrib/hbcurl/Makefile
  - contrib/hbmemio/Makefile
  - contrib/hbxpp/Makefile
  - contrib/hbfship/Makefile
  - contrib/hbcups/Makefile
  - contrib/rddbmcdx/Makefile
  - contrib/hbfoxpro/Makefile
  - contrib/hbnetio/Makefile
  - contrib/rddsql/Makefile
  - contrib/hbhpdf/hbhpdf.hbi
  - contrib/hbhpdf/Makefile
  - contrib/gtwvg/Makefile
  - contrib/hbpgsql/hbpgsql.hbi
  - contrib/hbpgsql/Makefile
  - contrib/hbclipsm/Makefile
  - contrib/rddads/rddads.hbi
  - contrib/rddads/Makefile
  - contrib/sddsqlt3/Makefile
  - contrib/hbfimage/hbfimage.hbi
  - contrib/hbfimage/Makefile
  - contrib/sddodbc/Makefile
  - contrib/hbgd/hbgd.hbi
  - contrib/hbgd/Makefile
  - contrib/hbmisc/Makefile
  - contrib/sddoci/sddoci.hbi
  - contrib/sddoci/Makefile
  - contrib/hbcomm/Makefile
  - contrib/hbtip/hbtipssl
  - contrib/hbtip/Makefile
  - contrib/hbcairo/hbcairo.hbi
  - contrib/hbcairo/Makefile
  - contrib/hbwin/Makefile
  - contrib/hbssl/hbssls
  - contrib/hbssl/hbssl.hbi
  - contrib/hbssl/Makefile
  - contrib/hbsms/Makefile
    - Deleted references to .hbi and GNU Make files in contrib
      area. Now hbmk2 is used here to create the targets.
      This has a few consequences:
         - From now on *.hbp / *.hbc files need to be updated
           whenever files are added, deleted or renamed. Pls remember it.
         - hbmk2 will have to be updated in sync with the GNU Make
           system when adding new platforms and compilers.
         - in-place 'make' won't work, pls see new method in
           INSTALL. (it may still change)
2010-07-21 14:10:23 +00:00
Viktor Szakats
2090585ee1 2010-07-21 14:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbmk2_plugin_qt.hbs
    + Do not pollute output with meaningless error message, when 
      HB_WITH_QT=no is used.

  * contrib/hbpgsql/postgres.c
    ! Fixed msvc C mode warning. (this one is valid, though I 
      couldn't find out why this is only reported in C mode, 
      there are also some other seemingly unfixable warnings 
      reported in C mode.)

  * contrib/hbpre.hbm
    + Will now enable C++ mode by default for msvc compilers, 
      to stay in since with GNU Make behavior.

  * utils/hbmk2/hbmk2.prg
    ! Fixed to not rebase dirs passed to -deptimplibs options.
    ! Fixed to stay silent but still fail when dependencies
      are forcefully disabled.
    ! Reorganized msvc compiler version dependent options to
      better handle the case when no compiler version is present
      (to go with the less risky option in such case)

  * config/global.mk
    + Added msvc64 and msvcia64 version detection.
    * Renamed one variable to avoid being same as new hbmk2 macro.

  * config/postinst.hbs
    * Minor in feedback text.
2010-07-21 12:46:54 +00:00
Pritpal Bedi
24387d9ede 2010-07-21 02:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idebrowse.prg
    % Refind: <ideDBU><browser><context-menu><Scroll to Column>< SrNo Type FieldName>
    + Added: <ideDBU><browser><context-menu><Seek...> 
                                                    <Seek>
                                                    <Seek Soft>
                                                    <Seek Last>
                                            <Go Top>          
                                            <Go Bottom>
                                            <Goto Record>
                                            -------------
                                            <Append Blank>
                                            <Delete Record>
                                            <Recall Deleted>
2010-07-21 10:02:27 +00:00
Viktor Szakats
062c7e464e 2010-07-21 11:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Tackled watcom target platform autodetection to be in
      sync with global.mk. Whole autodetection should be
      rewritten in hbmk2 (it's an old TODO).
    ! Fixed to not show error when trying to create implibs 
      defined in dep spec on platform that don't support it.

  * contrib/make.hbs
    - Deleted one TODO.

  * ChangeLog
    ! Typos in prev. Add note new 'option names tentative' yet.
2010-07-21 09:30:58 +00:00
Viktor Szakats
a58605eabc 2010-07-21 10:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added mingw/mingw64 version detection. Not very extensively
      tested.
    + Added -depimplibs=, -depimplibd cmdline options, and depimplibs=
      and depimplibd .hbc options. They serve to configure automatic
      (without stdalone .hbi file using -hbimplib) import library
      generation for dependencies. The internal logic is the same,
      but now implibs can be generated for multiple dependencies
      at once, using pure .hbp files (or eveb .hbc for that matter).
    + Filters now also support '<' and '>' operators.
    + Filters will now expand internal macros before looking for
      envvars.
    + Added HB_COMP_VER macro, returning compiler version.
    ! Fixed to handle "*.hbs" passed as option.
    ! Fixed to do entry detection also for .hbs files.

  * contrib/make.hbs
    - Temply disabled .hbi handling, now it's done by .hbp files.
    ! Refixed to skip hbhrb/hbppo projects in stdalone mode.

  * contrib/hbqt/tests/testbrow.prg
    * Updated with Bacco's 'testedit.prg' sent to the list.
    * Formatting. (pls try to format it like this)

  * contrib/hbpost.hbm
    + Enabled 'dynamicbase' and 'nxcompat' exe generation flags
      for newer versions of msvc and mingw, to be in sync with
      our GNU Make settings (and safety).

  * contrib/xhb/hbcompat.ch
    ! Fixed some wrong xhb to Harbour translations reported by Rossine.

  * contrib/hbide/hbide.hbp
    % Deleted -gc3. It made the executable 2MBs larger.
      Pls report any performance problems after this
      change.

  * contrib/gtalleg/gtalleg.hbp
  * contrib/hbblat/hbblat.hbp
  * contrib/hbcairo/hbcairo.hbp
  * contrib/hbcurl/hbcurl.hbp
  * contrib/hbfbird/hbfbird.hbp
  * contrib/hbfimage/hbfimage.hbp
  * contrib/hbgd/hbgd.hbp
  * contrib/hbhpdf/hbhpdf.hbp
  * contrib/hbmysql/hbmysql.hbp
  * contrib/hbpgsql/hbpgsql.hbp
  * contrib/hbssl/hbssl.hbp
  * contrib/rddads/rddads.hbp
  * contrib/sddfb/sddfb.hbp
  * contrib/sddmy/sddmy.hbp
  * contrib/sddoci/sddoci.hbp
  * contrib/sddpg/sddpg.hbp
    + Added new switches to enabled automatic import library
      generation without .hbi files.
      Please note that this means that now HB_WITH_BLAT will
      have to be set from now on for hbblat lib.

  * config/global.mk
    * Minor.

  * config/win/watcom.mk
    ! Fixed to add .exe extension to watcom tools to make it work
      in wine-based cross build situations. [pls note that watcom
      can create cross builds using its native tools, so this is
      just the cherry on top :)]
      Patch provided by Tamas Tevesz.
2010-07-21 08:15:55 +00:00
Pritpal Bedi
5e34363254 2010-07-20 18:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/xbpbrowse.prg
    + Added: constructs to allow context menu.

  * contrib/hbide/idebrowse.prg
  * contrib/hbide/idemisc.prg
    + Implemented: context menu on a browser.
      Context menu has three options:
        1. Set to Natural Order.
        2. Set to Indexed Order -> presents further menu of index definitions.
        3. Scroll to Column -> presents menu to select a column.
      More actions are scheduled to go inside this menu.
2010-07-21 01:34:36 +00:00
Viktor Szakats
68b37e192b 2010-07-20 17:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    * Internal renames, cleaned debug stuff, comments.
    + Added some provision to cleanup the referenced component
      directory handling. Still a TODO.

  * Makefile
  * contrib/Makefile
    * Will now skip all hbrun/hbscript based build parts
      if HB_NO_HBSCRIPT=yes is set. Name tentative.

  * contrib/hbide/hbide.hbp
  * contrib/hbqt/hbqt.hbc
    ! Added SVN header.
    - Deleted -gc3 switch. It will make the final exe 2MB smaller.
    + Moved HBQT specific msvc settings to hbqt.hbc.
    * Added QUESTION to -gc3 switch enabled for HBIDE. It makes 
      the executable significantly larger (~2MB without debug info)
      Was this ever tested, or just enabled and forgotten about?
    ; TODO: HBIDE should hold its 'plugins' dir in user and all users 
            home dirs, and use the name 'hbide_plugins' in the 
            executable's home directory to avoid collision with 
            other tool which might also have a "plugin" folder.

  - contrib/rddbmcdx/hbbmcdx.hbp
  + contrib/rddbmcdx/rddbmcdx.hbp
  - contrib/rddbmcdx/hbbmcdx.hbc
  + contrib/rddbmcdx/rddbmcdx.hbc
  * contrib/make.hbs
    * Renamed make files and output name (when using hbmk2)
      to match its recently renamed directory.
      Thanks to Juan Galvez for reporting it.
2010-07-20 15:57:27 +00:00
Pritpal Bedi
60c9a6861e 2010-07-19 19:17 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/xbpbrowse.prg
    + Added: constructs to edit cells.

  * contrib/hbide/idebrowse.prg
  * contrib/hbide/idesaveload.prg
    + Implemented: basic cell editing feature.
      To invoke:
        1. press CTRL+E on any cell, change the value, 
        2. press TAB|SHIFT+TAB to advance to next|previous field under edit mode, 
           OR
        3. press ENTER to terminate the editing mode. 
        4. Changed value is saved to table instantly. 
      All the four types are supported:
        Character, Date, Numeric, Logical.

      TODO: mask management and editable fields.
            row wide editing OR column wide.

    + Implemented: ideDBU toolbar icon "Tables" treeview now presents
      formatted structure plus tooltip on "Table name" node suggesting 
      more artifacts about the table. 

      "Tables" dialog now remembers its previous position.
2010-07-20 02:28:10 +00:00
Viktor Szakats
2f99a667e8 2010-07-19 23:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbsocket.c
  * include/hbthread.h
    ! Fix for two cygwin build breakers.
2010-07-19 21:19:40 +00:00
Viktor Szakats
618d38b205 2010-07-19 21:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
  * contrib/hbpre.hbm
    + Will now automatically rebuild all dependent contribs.
      So f.e. when building hbide, it will automatically update
      hbqt then hbxbp. Pls note that extra hbmk2 options passed
      at the cmdline are only applied to primary target.
    + Will now automatically sort the list of contribs in order
      of dependency.
      [ there is quite interesting tree parsing/building and
      topological sorting employed. ]
    + Added log message at the end of the build process.
    + Standalone mode will now launch raw hbmk2 session if
      anything non-option and non-GNU control keyword is passed
      to it (f.e. a .hbp or a .prg). In such case it will act
      as plain hbmk2 call.
    ! Fixed -quiet keyword to be really quiet (should be on the
      cmdline for that effect).
    + Added GPL2 license header.

  * contrib/Makefile
    % Greatly simplified.

  * contrib/hbqt/hbmk2_plugin_qt.hbs
    + Changed to do all tool detection in init 'pre_all' stage,
      and return an error if anything is missing. This allows
      hbmk2 to gracefully end the build process in such case.

  * utils/hbmk2/hbmk2.prg
    + hbmk2 will now gracefully exit with errorlevel 20 if
      any plugins return error at 'pre_all' stage.
    + --hbinfo will now return whether incremental mode is
      enabled for a project.
    + Plugins can now return at 'init' stage, in such case
      the plugin will be instantly unloaded.
    + hbmk2 will now display the stage where error is reported
      by plugins.
    * Experimental trick added: On win/wce/os2/dos platforms,
      if no explicit dependency location path was set by user
      (using HB_WITH_*) and there was no locally hosted location
      specified either, hbmk2 will show a warning instead of
      an error.
    + Added new internal variable to store implib extension.
      (OS/2 supports .imp as such extension, although hbmk2
      does not yet)
    + Replaced os2/gcc -implib method with a new post cmd method
      (instead of using --out-implib mingw-like option which
      doesn't exist in OS/2). Thanks Maurilio for tests and
      information.

  * INSTALL
    + Added more visibility and more clear wording to TROUBLESHOOTING
      section reference in top of INSTALL doc.
    + Numbered items in TROUBLESHOOTING section so that they can be
      easily referred to.
    + Added new TROUBLESHOOTING suggestion (somewhat redundant)
      to first try to remove any special build options.

  * Makefile
    + Never attempt to run postinst.bat and postinst.cmd.

  * ChangeLog
    * Changes marked as DONE.
2010-07-19 19:04:29 +00:00
Pritpal Bedi
b94a6dbc5e 2010-07-18 23:49 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
+ contrib/hbide/resources/database.png
  + contrib/hbide/resources/database_accept.png
  + contrib/hbide/resources/database_add.png
  + contrib/hbide/resources/database_down.png
  + contrib/hbide/resources/database_lock.png
  + contrib/hbide/resources/database_next.png
  + contrib/hbide/resources/database_previous.png
  + contrib/hbide/resources/database_process.png
  + contrib/hbide/resources/database_remove.png
  + contrib/hbide/resources/database_search.png
  + contrib/hbide/resources/database_up.png
  + contrib/hbide/resources/open2.png
    + Added: few more images for ideDBU interface.

  + contrib/hbide/tables.ui
  * contrib/hbide/hbide.hbp
  * contrib/hbide/hbide.qrc
    + Added: one more dialog resource - tables.ui.

  * contrib/hbqt/hbqt.ch
    + Added: constant for QAbstractItemDelegate class manipulation.

  * contrib/hbxbp/xbpbrowse.prg
    + Added: few methods ( experimental ) to have editing available 
      in browsers. Now with a little success. Hopefully in near future
      I could implement "editing" with masks and validities.
   
  * contrib/hbide/idebrowse.prg
  * contrib/hbide/idemisc.prg
    + Added: many constructs, viz., left-toolbar, status-bar, etc.
    ! Rearranged: icons on the ideDBU toolbar in logical sections.
    % Corrected: many artifacts about focus and allied.
    + Added: toolbar-icon to present all tables on all panels with 
      structures under a tree representation, a very handy info.
2010-07-19 07:00:59 +00:00
Pritpal Bedi
384b689493 2010-07-18 16:58 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbqt_hbqabstractitemmodel.cpp
    + Added: :flags - Qt::ItemIsEditable.

  * contrib/hbqt/hbqt_hbslots.cpp
  * contrib/hbqt/hbqt_hbslots.h
    + Added: signals for QAbstractItemDelegate().

  * contrib/hbxbp/xbpbrowse.prg
    + Code cleanup.
    + Added: :setFocus() method.
    + Added: CASE Qt_EditRole.
      This will form the basis of editing in the browser.
      So far prelimanaries only, I could not implement how to.
2010-07-19 00:06:52 +00:00
Viktor Szakats
1764c13194 2010-07-18 14:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
  * contrib/hbpost.hbm
    % Internal simplifications, merged list of contribs into one.
    % Moved HB_BUILD_PARTS logic to .hbmk file.

  * contrib/sddodbc/sddodbc.c
    ! Applied previous patch for hbodbc to sddodbc.
      Thanks for Tamas Tevesz to supply the .dif.
2010-07-18 12:58:44 +00:00
Viktor Szakats
5523bae323 2010-07-18 12:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    + Instead of having to list .hbi files explicitly, 
      it will now always look for one and build it automatically 
      if exists.
    * Cleanups.
2010-07-18 10:39:00 +00:00
Viktor Szakats
8840326106 2010-07-18 12:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Will now append a _dll postfix in -hbdyn mode (and _exe in -hbexe mode)
      to implib generated when -implib option is used. This is needed
      to make it not collide with statis libraries generated in parallel.
    + Added technique with which even the fatal borland C compiler can
      tricked to create implibs with custom names. I didn't test it
      very much, I just hope the implib is equivalent with the one
      generated directly by linker. For borland users I recommend to
      switch to a modern compiler.
    + Will now also install implib if -instpath is specified and
      -implib is used on platforms that it's supported.
    ! Fixed to escape filenames in post-build command (strip on some
      platforms and now implib).

  * contrib/make.hbs
    + Enabled -implib hbmk2 option in HB_BUILD_CONTRIB_DLL=yes mode.
    * Disabled debug stuff.
2010-07-18 10:10:33 +00:00
Viktor Szakats
9e5eb6af23 2010-07-18 1:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/postinst.hbs
    * Changed to only create .hbd documentation file for the
      core. This is to ensure separation of components.

  * contrib/Makefile
    - Deleted old Makefile-based build logic in contrib area,
      now this make file does nothing else than passing the
      control to make.hbs Harbour script.

  * contrib/make.hbs
  * contrib/hbpre.hbm
  * contrib/hbpost.hbm
    % Moved -instpath options to hbpost.hbm to save cmdline length.
    % Moved HB_BUILD_SHARED control logic from make.hbs to hbpost.hbm
    ! -warn option moved to hbpre from hbpost, so libs can override it
      (can be important for external code)
    + Will now compile .hbd binary documentation in 'install' phase
      and copy it to HB_DOC_INSTALL.
    * Internal pathsep cleanup.
    ! Fixed to accept 'install'/'clean' regardless of casing.
    + Now accepts HB_BUILD_CONTRIBS instead of HB_CONTRIBLIBS
      (though old envvar still work for while)
    + Log feedback now show the build action executed.
    + Added more TODOs.

  * INSTALL
    * Documented the change to HB_BUILD_CONTRIBS from HB_CONTRIBLIBS.

  * utils/hbmk2/hbmk2.prg
    + Will now automatically recognize HB_BUILD_NAME envvar and
      convert it to -build= cmdline option.

  * contrib/hbodbc/todbc.prg
  * contrib/hbodbc/odbcold.c
  * contrib/hbodbc/odbc.c
    * Renamed SQLSTOD to HB_ODBCSTOD
    * Renamed SQLSETNUMLEN to HB_ODBCSETNUMLEN.
    * Old names are deprecated with HB_LEGACY_LEVEL3.
      If you happen to use these function names, pls update to
      the new ones ASAP.
2010-07-18 09:04:59 +00:00
Viktor Szakats
1b5ddd6c72 2010-07-17 21:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/Makefile
    + Enabled to build all contribs using hbmk2 from now on.

      This is huge step, but in fact a zillion little ones in
      the last 2 years, and it means that contribs now rely on
      hbmk2 and hbmk2 make files (.hbp and .hbc) to be build and
      used respectively. For implibs, .hbi is used. The whole
      process is orchestrated by a script written in Harbour: make.hbs. 
      With this change GNU Make is retired when it comes to contrib
      area. This new hbmk2 based system gives us much flexibility,
      many complicated build situations can now be potentially
      handled, while also making the contrib area fully modular,
      since they don't depend even on /config GNU Make system anymore.
      This means that any external contribs having hbmk2 make files
      are easy to import and any Harbour contribs are easy to detach 
      from our SVN. It also allows to include more features (f.e. 
      executables) in final distros. Executables hosted in the 
      contrib area have the great advantage that they can use any 
      other contrib libs (so far we were limited to core features 
      for exes). It also allows to dynamically add extra contribs 
      (or delete existing ones) on a per distro basis, so f.e. 
      certain builders can create their own binary distro with 
      a standard core and extra set of contribs. New system also 
      makes it possible to build dynamic libs from contribs. It's 
      also easier to move locally hosted external projects inside 
      the contrib tree, even as a subdir inside the contrib that 
      requires it (f.e. minizip, bz2 or sqlite). This can make 
      these projects fully self-contained.

      Some things are not perfect yet, f.e. I'm still fighting
      with cmdline length (relevant in MS-DOS) and the "in-place"
      build (I call "in-place" build when you build only one
      contrib at a time, like when issuing win-make inside a
      contrib subdir) will certainly need some getting used to,
      and maybe even some refinement in make.hbs. I've yet to
      implement automatic dependency detection and tree-sorting
      so that everything automatically builds in right order of
      dependency. Such thing can even be added for "in-place"
      build mode, and f.e. building hbide can automatically
      launch hbqt and hbxbp builds. BTW I retained the 
      "header-copy-on-install" method, but I'm not sure it's 
      right solution, anyhow we still have time to think about 
      a better one.

      If everything goes fine, the GNU Makefiles in contrib
      area will be gone, so there won't be any redundancy again.

  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    + -stop cmdline option now accepts a message it displays before stopping.
    + skip= .hbc command will now stop if there is text in its parameter.
      INCOMPATIBLE: So far -skip only skipped if 'on' was passed as value,
      now it will always skip. This means this command always has to be used
      along a filter. If the filter evaluates, skip will happen, if not it
      won't.
    + Added stop= .hbc command which will halt complete build process,
      similarly to -stop cmdline option. It also supports text to be
      displayed.

  * contrib/hbqt/hbqt.hbc
    + Will now stop with a screen message if this component is tried
      to be used on unsupported platform.

  * contrib/hbwin/hbolesrv.hbc
  * examples/hbsqlit2/hbsqlit2.hbp
  * examples/gtwvw/gtwvw.hbp
    * Changed to use new hbmk2 -stop facilities.

  * src/rtl/filesys.c
    + Missed two casts from previous commit.

  - examples/gtwvw/Makefile
    - Deleted.
2010-07-17 19:51:18 +00:00
Viktor Szakats
d78d9c8ef4 2010-07-17 20:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    + Added HB_SIZE_SIGNED macro which enables signed HB_SIZE
      types. It so far dangerous setting because it may generate
      breakage without compiler warning, f.e. STUFF() GPFs
      in hbtest after enabling it. Plus there is about 40-60
      new warnings shown, I'm out of ideas how to fix most
      of them.

  * src/rtl/filesys.c
    * Changed to pass LPDWORD to ReadFile()/WriteFile()
      win32 branch, instead of *HB_SIZE. It caused warnings
      for signed HB_SIZE.
    ; Please review me.

  * ChangeLog
    * Updated VxWorks notes in 2010-07-16 18:22 UTC+0200 Viktor Szakats
      with missing hb_secondsCPU() support yet.

  * contrib/gtalleg/gtallegs.hbp
  * contrib/hbcurl/hbcurls.hbp
  * contrib/hbssl/hbssls.hbp
  * contrib/hbtip/hbtipssl.hbp
    + Added -hblib options to make it easy for tools to detect
      target types.

  * contrib/gtalleg/gtalleg.c
    ! Fixed C mode MSVC function pointer cast warning.

  * src/rtl/hbsocket.c
    * Minor cosmetic.

  * contrib/hbqt/qtgui/QFormLayout.cpp
  * contrib/hbqt/doc/en/*.txt
    * Regenerated.

  * contrib/hbqt/generator/hbqtgen.prg
    ! Fixed missing initialization for enums returned
      by reference. An msvc warning was shown about them.

    ; TOFIX: I've reported similar warnings long ago with msvc. Anybody to fix them?
             ---
             hbqt_hbqplaintextedit.cpp
             ...\qt\4.5.3\include\qtcore\../../src/corelib/concurrent/qtconcurrentiteratekernel.h(101) : warning C4512: 'QtConcurrent::BlockSizeManager' : assignment operator could not be generated
                     ...\qt\4.5.3\include\qtcore\../../src/corelib/concurrent/qtconcurrentiteratekernel.h(83) : see declaration of 'QtConcurrent::BlockSizeManager'
             hbqt_hbqsyntaxhighlighter.cpp
             ...\qt\4.5.3\include\qtcore\../../src/corelib/global/qglobal.h(2078) : warning C4512: 'QForeachContainer<T>' : assignment operator could not be generated
                     with
                     [
                         T=QMap<QString,HBQSyntaxHighlighter::HighlightingRule>
                     ]
                     hbqt\hbqt_hbqsyntaxhighlighter.cpp(172) : see reference to class template instantiation 'QForeachContainer<T>' being compiled
                     with
                     [
                         T=QMap<QString,HBQSyntaxHighlighter::HighlightingRule>
                     ]
             moc_hbqt_hbqplaintextedit.cpp
             ...\qt\4.5.3\include\qtcore\../../src/corelib/concurrent/qtconcurrentiteratekernel.h(101) : warning C4512: 'QtConcurrent::BlockSizeManager' : assignment operator could not be generated
                     ...\qt\4.5.3\include\qtcore\../../src/corelib/concurrent/qtconcurrentiteratekernel.h(83) : see declaration of 'QtConcurrent::BlockSizeManager'
             QMimeData.cpp
             ...\qt\4.5.3\include\qtcore\../../src/corelib/global/qglobal.h(2078) : warning C4512: 'QForeachContainer<T>' : assignment operator could not be generated
                     with
                     [
                         T=QList<QUrl>
                     ]
                     hbqt\qtcore\QMimeData.cpp(451) : see reference to class template instantiation 'QForeachContainer<T>' being compiled
                     with
                     [
                         T=QList<QUrl>
                     ]
             HBQPlainTextEdit.cpp
             ...\qt\4.5.3\include\qtcore\../../src/corelib/concurrent/qtconcurrentiteratekernel.h(101) : warning C4512: 'QtConcurrent::BlockSizeManager' : assignment operator could not be generated
                     ...\qt\4.5.3\include\qtcore\../../src/corelib/concurrent/qtconcurrentiteratekernel.h(83) : see declaration of 'QtConcurrent::BlockSizeManager'
             ---
2010-07-17 18:20:37 +00:00
Viktor Szakats
64f537a370 2010-07-17 17:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
  * src/vm/dynlibhb.c
  * config/vxworks/libs.mk
    + Documented fact that VxWorks only supports dlopen() in
      shared executables. I can see no way how Harbour could
      support this.

  * config/vxworks/gcc.mk
  * config/vxworks/diab.mk
    * Minor cleanups to HB_BUILD_SHARED mode.
2010-07-17 15:10:48 +00:00
Viktor Szakats
35fac2ada1 2010-07-17 16:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbodbc/todbc.prg
  * contrib/hbodbc/odbcold.c
  * contrib/hbodbc/odbc.c
    - Deleted SQLEXTENDEDFETCH() wrapper. The original ODBC
      function was in compatibility status since ODBC 3.0 and
      it was causing permanent build problems in Harbour, due
      to disagreement in parameter widths/types on different
      platforms and compiler headers (f.e. on Linux AMD64 C++
      mode, POCC and XCC).
      INCOMPATIBILITY: This compatibility function was deleted,
                       use SQLFETCHSCROLL() instead.
    * Replaced SQLEXTENDEDFETCH() with SQLFETCHSCROLL() in TODBC
      code as recommended by MS.
    ! Added cast to silence msvc C mode warning.

  * config/vxworks/gcc.mk
    ! Fixed vxworks/gcc HB_BUILD_SHARED=yes link mode.
2010-07-17 14:30:38 +00:00
Viktor Szakats
3a97d58533 2010-07-17 15:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
  * src/rtl/hbsocket.c
  * include/hbthread.h
    * Moved header collision avoidance hack to the root of
      the problem, right after '#include <stdint.h>'.
      This way it's done centrally.

  * config/vxworks/diab.mk
    - Deleted fixed TOFIX.
2010-07-17 13:20:28 +00:00
Viktor Szakats
a93ad12a66 2010-07-17 14:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
    * Updated VxWorks notes in 2010-07-16 18:22 UTC+0200 Viktor Szakats

  * include/hbsetup.h
    * Enabled HB_USE_SHARELOCKS_OFF for VxWorks. This fixes creation
      of plain .dbf files, _but_ it will make a weird bug surface
      when creating .dbf+.dbt: The content of the .dbt file is
      written into the .dbf and the .dbt is kept as a zero length
      file. Przemek if you read this, do you have any idea what
      this could be?

  * src/rtl/hbgtcore.c
  * src/rtl/gtsys.c
    ! Fixed to set default GT for vxworks also in hbgtcore. Made NOTE
      in source that needs to be kept in sync. This finally fixes
      the uninitialized GT error.
    * Reset default vxworks GT to GTSTD instead of GTCGI.

  * utils/hbmk2/hbmk2.prg
    * Minor.
2010-07-17 13:05:21 +00:00
Viktor Szakats
bae2e3a7e4 2010-07-17 12:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbodbc/odbc.c
    - Deleted compatibility trick which mapped SQL[U]LEN to SQL[U]INTEGER.
      The trick is most likely not needed anymore, they were first
      introduced in 2007-01-24 10:25 UTC+0100 Przemyslaw Czerpak with
      the description 'synced with xhb', next it was extended with the
      "U" version in 2008-08-13 03:08 UTC+0200 Viktor Szakats, for
      __DMC__ compatibility. We dropped DMC support since.
    ; Tamas can you pls retest if this fixed the Linux AMD64 build
      error in C++ mode?

  * src/rtl/gtsys.c
    * Made GTCGI the default GT for VxWorks. (GTSTD doesn't work now)
2010-07-17 10:54:21 +00:00
Viktor Szakats
24fa6d0dd3 2010-07-17 11:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    % Won't anymore do dependency check on system headers found on
      autodetected dependency locations. This has the upside that
      now hbmk2 f.e. won't traverse the deep header structures of
      QT, greatly enhancing build performance. The downside is
      that now libs won't be automatically rebuilt if such dependency 
      is updated (f.e. after upgrading to a new version of QT). 
      Pls speak up if you have an opinion on this, maybe
      using other solution or to control this behavior using
      a global or dependency level switch.
2010-07-17 09:38:09 +00:00
Viktor Szakats
ccd4bbe767 2010-07-17 10:24 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/vxworks/gcc.mk
  * config/vxworks/diab.mk
    + Setting 'soname'. It's mandatory according to VxWorks docs.
      Now shared diab exes will find Harbour dynlib (but not the 
      libc one, but I reckon this needs local env tweaks only).
2010-07-17 08:25:26 +00:00
Viktor Szakats
a60270521e 2010-07-17 09:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * utils/hbmk2/hbmk2.prg
    + Added pcc to few places (with experimental status).
2010-07-17 07:46:43 +00:00
Viktor Szakats
2afb345695 2010-07-17 09:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
    ! Fixed to use variable instead of hardcoded 'harbour' text to 
      set .dylibs 'install name'. It also fixes 'harbour' being used 
      also for MT mode dylib.

  * contrib/hbide/idemisc.prg
    ! Fixed to add some new chars which need to be escapted in HTML 
      output.
    % Removed some redundancy.
2010-07-17 07:41:42 +00:00
Viktor Szakats
317974e472 2010-07-17 08:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* tests/hbdoctst.prg
    + Updated to use __HBDOC_SAVEHBD().
2010-07-17 06:50:55 +00:00
Viktor Szakats
33b2e5b3fe 2010-07-17 08:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbsocket.c
    + Enabled ioctl() calls for VxWorks.
    ! Worked around 'socklen_t' vs 'int' warnings with VxWorks.
      (still remains some 'const char *' and 'caddr_t' vs 'char *
      warnings, nothing serious though)

  * include/hbthread.h
    ! Enabled HB_CRITICAL_NEED_INIT for VxWorks. Avoids the compiler
      warnings caused by PTHREAD_COND_INITIALIZER having one less 
      structure member than initialized structure.
      MT mode still doesn't work though.

  * contrib/hbodbc/odbc.c
    + Added HB_ODBCVER() function to return build-time ODBC version 
      reported by ODBCVER macro.

  * contrib/hbodbc/tests/testodbc.prg
    + Show ODBC version number.

  - contrib/hbqt/doc/html
    - Deleted. doc dirs now have to abide by the HBDOC rules posted 
      on the dev list, which means doc may contain (non-empty) language 
      dirs only. html should be generated by client app or by install 
      process.

  * contrib/hbwin/hbwinole.h
    ! Patch by Tamas Tevesz, fixing NONAMELESSUNION issue for watcom.
2010-07-17 06:44:19 +00:00
Pritpal Bedi
59a9d01559 2010-07-16 18:33 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idefindreplace.prg
  * contrib/hbide/idemisc.prg
    ! Fixed: a bug in "find in Files" output where characters "<" and ">" 
      were eaten up by the html engine, reported by Massimo Belgrano.

  * contrib/hbide/idebrowse.prg
    + Implemented: "connections" concept for third-party RDD hooks.
      Will write a white-paper to this effect soon once the engine 
      becomes stable. It is working for my native RDDs.
2010-07-17 01:37:14 +00:00
Viktor Szakats
1a3fa64e36 2010-07-16 20:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbsetup.h
  * src/vm/hvm.c
  * contrib/hbmisc/hb_f.c
    ! Added workaround for diab bug. Now build goes fine without HB_LONG_LONG_OFF
      trick.

  * config/vxworks/diab.mk
    + Minor change to sync one C compiler option with VxWorks Workbench
      generated one. (missed from prev commit)
2010-07-16 18:56:07 +00:00
Viktor Szakats
e03136aa92 2010-07-16 19:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added Windows and OS/2 specific extra requirements for
      GNU Make version. Windows: 3.81, OS/2: 3.81r3
      Older versions are too buggy/risky on these platforms.

  * ChangeLog
    + Added more VxWorks NOTEs to 2010-07-16 18:22 UTC+0200.
2010-07-16 17:06:05 +00:00
Viktor Szakats
302211f9af 2010-07-16 18:22 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/minizip/minizip.dif
    + Updated after latest changed by Tamas Tevesz. Thanks a lot!

  * utils/hbmk2/hbmk2.prg
    + Added support for vxworks/diab compiler.

  * utils/hbtest/hbtest.prg
    + Added my name to the copyright header.

  * config/global.mk
    ! Fixed to only assign *nix specific default value HB_INSTALL_PREFIX
      on *nix hosts (only a problem when doing *nix cross-builds _from_
      non-*nix systems).

  * utils/hbmk2/hbmk2.prg
  * config/vxworks/gcc.mk
  * config/vxworks/diab.mk
    + Added minimal support for HB_BUILD_SHARED=yes for vxworks targets.
      For diab it just won't find the harbour .so (see comment for more)
      For gcc it links okay, though it's detected as kernel task, so
      current support is most probably not right.

  * config/vxworks/diab.mk
    * Minor change to sync one C compiler option with VxWorks Workbench
      generated one.

  ; NOTE: By this change Harbour VxWorks base port is finished. Besides
          being an interesting excercise, it helped to develope new
          non-*nix to *nix cross building codepaths, tweak Harbour for
          "headless" (w/o terminal) OSes, and to break the ground for
          target CPU selection inside one target platform.
          Harbour builds cleanly using both vxworks/gcc and vxworks/diab,
          and compiler tools plus non-MT utils run properly as well.

          Obviously I made few functional tests, but from the experiences
          of the port effort, these are the remaining areas:
             - reporting bug(s) to Wind River (particularly the one
               breaking hvm.c compilation, requiring HB_LONG_LONG_OFF
               forcage, causing other unnecessary limits and hbtest
               failures)
             - serial I/O needs to be implemented using VxWorks specific
               sioLib API
             - 'fork' has to be replaced.
             - sockets were not tested, anyhow they are supposed to work.
             - termios is missing, so large parts of GTSTD and GTTRM are
               disabled on this platform.
             - ARM/MIPS CPU support needs to be added to hbatomic.h
             - HB_LIBLOAD() and friends need to be implemented, but I hit
               walls here.
             - MT apps GPFs, this needs to be fixed probably inside our
               code, but it's possible some build options are needed which
               I missed all along.
             - HB_SHARED_MODE=yes needs further tweaking.
2010-07-16 16:23:45 +00:00