Commit Graph

14906 Commits

Author SHA1 Message Date
Viktor Szakats
dfecc296cd 2010-08-06 11:30 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * win-make.exe
  * w64-make.exe
    + Update included GNU Make to 3.82 (from 3.81)
      (locally built from CVS using msvc2010).

  * contrib/hbpost.hbm
    % Minor opt/cleanup.
2010-08-06 09:32:28 +00:00
Viktor Szakats
2262165844 Typo (not -> now) 2010-08-06 08:48:23 +00:00
Viktor Szakats
e5c3e08baa 2010-08-06 10:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to not propagate _ERRLEV_STOP from sub-projects.
    % -stop will not stop processing any further cmdline options.
    * Avoided one dangerous IF instruction.

  * contrib/hbqt/hbqt_commons.hbm
    % If static mode is not requested stop before loading plugins.

  * config/global.mk
    ! Always set HB_REBUILD_* options to 'no' when HB_BUILD_PKG=yes.
2010-08-06 08:46:36 +00:00
Viktor Szakats
ab42d34ab1 2010-08-06 10:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* debian/rules
  * package/harbour.spec
    + Added HB_INSTALL_DYN (same content as HB_INSTALL_LIB)

  * config/postinst.hbs
    * HB_INSTALL_LIB -> HB_INSTALL_DYN

  * config/global.mk
  * config/postinst.hbs
  * debian/rules
  * package/harbour.spec
  * package/harbour-win.spec.in
  * package/harbour-wce.spec.in
    * HB_INSTALL_PKG_TOP -> HB_INSTALL_PKG_ROOT

  * debian/dirs
    + Added usr/share/man
      (I'm not sure of this file and I didn't retest yet)

  * debian/rules
    % Optimized variable usage.
2010-08-06 08:13:43 +00:00
Viktor Szakats
a1a8bcd8d4 2010-08-06 09:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    ! Fixed setting LD_LIBRARY_PATH under pre-3.81 GNU Makes.
    + Will now set HB_SYSLOC=yes when creating .tgz packages which
      are meant to be installed to system locations. (didn't test 
      this one)
    + Will now set HB_INSTALL_DOC to /share/doc/harbour on *nix systems.
    ! Fixed to set HB_INSTALL_MAN to /share/man (instead of /man) on
      *nix systems.
    ; Please test/review these.

  * config/postinst.hbs
    + Create directory for "root documents". They are now stored
      in /share/doc/harbour for *nix.
    ! Fixed to store proper directory in ld.so.conf.d setting by
      removing HB_INSTALL_PKG_TOP from the beginning of full dynlib
      path.

  * debian/rules
  * package/harbour.spec
  * package/harbour-win.spec.in
  * package/harbour-wce.spec.in
    ! Use HB_INSTALL_PKG_TOP to denote the root of package dir structure.
    ; TODO: Change the name to HB_INSTALL_PKG_ROOT
    ; TODO: Optimize variable usage.
    ; TOFIX: Use HB_INSTALL_DYN instead HB_INSTALL_LIB in context of 
             dynamic libs in postinst.hbs and package scripts.

  * package/harbour.spec
    ! Fixed to honor HB_BUILD_NAME in local LD_LIBRARY_PATH setting.
      (is it needed?)

  * INSTALL
    - Deleted note about GNU Make 3.81.90
      3.82 is out and the bug was fixed.
    ! Updated mpkg_src.sh location.

  * contrib/make.hbs
    * Do not create dynlib, .hbd, .hbx if the main build process
      returned with non-zero errorlevel.

  * utils/hbmk2/hbmk2.prg
    + Return errorlevel when -stop is used in project.
    + Use manifest constants for errorlevels.

  * config/hbextern.hbs
    * Local function renamed.

  * contrib/xhb/xhb.hbx
  * contrib/hbxpp/hbxpp.hbx
    * Regenerated.

  * src/vm/pvaluehb.c
    ! Typo in comment.
2010-08-06 08:01:09 +00:00
Pritpal Bedi
c6fb8242a4 2010-08-05 18:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
+ contrib/hbide/resources/view_refresh.png
  * contrib/hbide/hbide.qrc
    + Added: one more image.

  * contrib/hbide/hbide.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/ideeditor.prg
    + Added: "Reload Source" icon on the MDI area top-toolbar.
      This facilitates to reload the source from disk. If the source 
      in the editor in modified state, a confirmation dialog is presented.

    ! Rearranged: MDI area left-toolbar icons to break them 
      in more logical units.

    ! Fixed: under MDI editing mode "Find" icon had stopped to work.

    ! Fixed: "Horizontal/Vertical" split option was not refreshed 
      under context menu after first activation.
2010-08-06 01:32:44 +00:00
Viktor Szakats
5c5498e4f1 2010-08-05 21:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed accindentally deleted line (today) causing pocc link errors.
2010-08-05 19:27:13 +00:00
Viktor Szakats
1f9a151419 2010-08-05 19:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwin/gtwin.c
    ! Workaround for incomplete pocc6 Windows headers causing 
      compilation error.
2010-08-05 17:40:52 +00:00
Viktor Szakats
f38b2832df 2010-08-05 15:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    % Implemented optimized header parser code created by Przemek.
      With these additions/modifications from previous algorithm:
        + Use FindHeader() to locate the referenced headers.
        + Use different algorithm to find C vc PRG headers.
        % Completely skip known standard system headers.
        % Do not go down to headers included as system (using <>)
          IOW Check their timestamp but don't parse it for sub-headers.
      Please review it, it was quite a tough task, so I may have
      missed something. Here my reference build time went down
      from ~4 to ~2.5secs.
    ! Above implementation had the nice side effect that it fixed
      -autohbc feature in -inc mode.
    ! Fixed header finder code to always look in parent dir
      (and don't look in current dir in such case).
      I'd appreciate if this function (FindHeader() would be peer-reviewed
      to verify if it really matches the way how Harbour and C compilers
      try to find headers.

  * config/postinst.hbs
    ! Fixed typo in a recent commit causing RTE.

  * config/hbextern.hbs
    * Hide stderr in lib listing call.

  * contrib/hbcurl/hbcurl.c
    % Use '#include <>' to refer to curl header.
2010-08-05 14:00:33 +00:00
Viktor Szakats
d2f2bc6fe3 2010-08-05 08:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/hbextern.hbs
    % Synced extern extractor regex queries between compilers.
    + Added NOTE that non-gcc extractors don't support dynamic lib 
      as input, so they cannot be used to generate core .hbx files.

  * contrib/make.hbs
    % Deleted unused code that's really not needed anymore.
2010-08-05 06:42:48 +00:00
Viktor Szakats
a0bab8110b 2010-08-05 07:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/hbextern.hbs
    + Added HB_REBUILD_EXTERN support for msvc, pocc, watcom and bcc
      compilers.

  * contrib/make.hbs
  * config/postinst.hbs
    ! Fixed to convert input file for extern generation to native format.
2010-08-05 05:59:30 +00:00
Viktor Szakats
878e9a84f0 2010-08-05 01:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added ${hb_dynsuffix} macro which returns a dynlib suffix
      value compatible with the naming system used for Harbour core
      dynlib (-x64, -wce-arm, -bcc, etc..)
    % Internals optimized to use dynsuffix value when calculating
      harbour core dynlib name.
    ! Fixed to not require macros inside filters to be uppercases.
      (as a side effect now unknown macro names will be passed
      as is to getenv() to check for possible envvar value)

  * contrib/hbpost.hbm
    + Will now use ${hb_dynsuffix} when forming output name in
      -hbdyn mode. So f.e. for x64 targets an '-x64' suffix will
      be used, which matches with the one used with core harbour
      dynlib. Also bcc targets will get -bcc postfix.
    + Will now use ${hb_dynsuffix) when forming implib output name
      if it's not empty (for x86, ia64, wce and bcc in practice).

  * contrib/make.hbs
  * config/postinst.hbs
    ! Display msg about extern generation only if it was really started.

  * config/hbextern.hbs
    ! Fixed to check for the presence of input file.
2010-08-04 23:39:32 +00:00
Viktor Szakats
8516d2a9fb 2010-08-04 23:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbct/ctextern.prg
    ! Fixed missing #defines after latest changes.
2010-08-04 21:40:23 +00:00
Viktor Szakats
c1d5db91e8 2010-08-04 22:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/header.mk
    - Deleted API_HEADERS variable. Not used anymore.
2010-08-04 20:15:21 +00:00
Viktor Szakats
804ef40ed7 2010-08-04 22:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* examples/httpsrv/uhttpd.prg
  * examples/hscript/hscript.prg
    % Using __HB_EXTERN__ instead of header, to request full core.
2010-08-04 20:09:50 +00:00
Viktor Szakats
3d2fb06f5d 2010-08-04 22:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/hbextern.hbs
    ! Fixed filtering ANNOUNCE self-reference.
    ! Changed to do ANNOUNCE only if specifically requested
      using __HBEXTERN__<libname>__ANNOUNCE

  * include/harbour.hbx
    ! Added __HB_EXTERN__ to exclude list.

  * config/postinst.hbs
  - include/hbextudd.ch
  + include/harbour.hbx
  - include/hbextsca.ch
  + include/hbusrrdd.hbx
  * include/hbextcdp.ch
  + include/hbscalar.hbx
  * include/hbextlng.ch
  + include/hbcpage.hbx
  * include/Makefile
  * include/hbextern.ch
  + include/hblang.hbx
  * ChangeLog
  * contrib/hbct/ctextern.ch
  * contrib/hbct/hbct.hbp
  * contrib/hbct/hbct.hbx
  * contrib/xhb/xhb.hbp
  + contrib/xhb/xhb.hbx
  * contrib/xhb/xhbextrn.ch
  * contrib/hbqt/utils/hbqtgen.prg
  * contrib/hbqt/qtgui/hbqtgui.hbp
  + contrib/hbqt/qtgui/hbqtgui.hbx
  * contrib/hbqt/qtgui/g/filelist.hbm
  - contrib/hbqt/qtgui/g/hbqtgui_extern.ch
  + contrib/hbqt/qtgui/g/hbqtgui_extern.prg
  * contrib/hbqt/qtwebkit/hbqtwebkit.hbm
  * contrib/hbqt/qtwebkit/hbqtwebkit.hbp
  + contrib/hbqt/qtwebkit/hbqtwebkit.hbx
  * contrib/hbqt/qtwebkit/g/filelist.hbm
  + contrib/hbqt/qtwebkit/g/hbqtwebkit_extern.prg
  - contrib/hbqt/qtwebkit/g/hbqtwebkit_extern.ch
  * contrib/hbqt/qtcore/hbqtcore.hbp
  + contrib/hbqt/qtcore/hbqtcore.hbx
  * contrib/hbqt/qtcore/g/filelist.hbm
  - contrib/hbqt/qtcore/g/hbqtcore_extern.ch
  + contrib/hbqt/qtcore/g/hbqtcore_extern.prg
  * contrib/hbqt/qtnetwork/hbqtnetwork.hbm
  * contrib/hbqt/qtnetwork/hbqtnetwork.hbp
  + contrib/hbqt/qtnetwork/hbqtnetwork.hbx
  * contrib/hbqt/qtnetwork/g/filelist.hbm
  + contrib/hbqt/qtnetwork/g/hbqtnetwork_extern.prg
  - contrib/hbqt/qtnetwork/g/hbqtnetwork_extern.ch
  + contrib/hbqt/qscintilla/hbqscintillas.hbx
  * contrib/hbqt/qscintilla/hbqscintilla.hbp
  * contrib/hbqt/qscintilla/g/filelist.hbm
  + contrib/hbqt/qscintilla/g/hbqscintilla_extern.prg
  - contrib/hbqt/qscintilla/g/hbqscintilla_extern.ch
  * contrib/hbqt/qtdesigner/hbqtdesigner.hbm
  * contrib/hbqt/qtdesigner/hbqtdesigner.hbp
  + contrib/hbqt/qtdesigner/hbqtdesigner.hbx
  * contrib/hbqt/qtdesigner/g/filelist.hbm
  + contrib/hbqt/qtdesigner/g/hbqtdesigner_extern.prg
  - contrib/hbqt/qtdesigner/g/hbqtdesigner_extern.ch
  + contrib/hbxbp/hbxbpext.prg
  + contrib/hbxbp/hbxbp.hbx
  - contrib/hbxbp/hbxbp_extern.ch
  * contrib/hbxbp/hbxbp.hbp
  * contrib/hbxpp/hbxpp.hbp
  + contrib/hbxpp/hbxpp.hbx
  * contrib/hbxpp/hbxppext.ch
  * contrib/rddads/adsextrn.ch
  + contrib/rddads/rddads.hbx
  * contrib/rddads/rddads.hbp
  + contrib/hbgd/hbgd.hbx
  * contrib/hbgd/gdextern.ch
  * contrib/hbgd/hbgd.hbp
    * Generated core files are now named include/*.hbx
    + Added .hbx files for contribs which already had the "extern"
      feature.
    * Changed existing "extern" headers to reference .hbx files.
    + Added .hbx file to installed header list.
    * Changed hbqt generator to generate stubs with reference to
      .hbx files rather than rolling its own extern generator.
    + Changed hbxbp to use a puller stub to include all functions.

  * contrib/hbide/hbide.prg
    + Changed to use __HBEXTERN__ method instead of header method
      to pull complete libs.

  * contrib/hbqt/qtgui/g/THBQAbstractItemModel.prg
    ! Fixed props.
2010-08-04 20:04:53 +00:00
Viktor Szakats
1efe9cad7e 2010-08-03 20:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
  * config/postinst.hbs
  * config/hbextern.hbs
    + Implemented manual include/exclude filter in extern header
      generation process. Include filters can be specified
      using '// HB_FUNC_INCLUDE <func>', exclude filters using
      '// HB_FUNC_EXCLUDE <func>'. By default everything is
      included, this can be overridden using HB_FUNC_INCLUDE,
      and exceptions made using HB_FUNC_EXCLUDE. <func> can
      contain wildcards, so it's very flexible.
      NOTE: - By default the functions are declared using DYNAMIC 
              so these generated can be directly used when the goal 
              is to load pcode dynamic libs dynamically.
            - By #defining '__HBEXTERN__<libname>__REQUEST' the 
              generated headers will switch to EXTERNAL declaration, 
              so they can be used when building dynamic libs or when 
              user wants to explicitly pull all functions into lib 
              code. Do not use this from app code.
            - When __HBEXTERN__<libname>__REQUEST is defined, the 
              generated headers will also ANNOUNCE __HBEXTERN__<libname>, 
              which means that application can simply pull all functions 
              into app code, using:
                 'REQUEST __HBEXTERN__<libname>__' command.
            - Names are not necessarily finalized yet. ("extern", ".hbx")
    - Deleted hard-coded exceptions from generator code.
    ; TODO: Clean core generated headers to behave like before.
    ; TODO: Adapt hbextern lib to these changes.
    ; TODO: Add generated headers to SVN for contrib libs.
    ; TODO: Add stubs which include generated headers to all libs.
    ; TODO: Long term TODO: make it easy to generate such headers 
            for 3rd party projects.

  * include/hbextudd.ch
  * include/hbextsca.ch
  * include/hbextcdp.ch
  * include/hbextlng.ch
  * include/hbextern.ch
  * contrib/hbct/hbct.hbx
    + Filled HB_FUNC_INCLUDE, HB_FUNC_EXCLUDE exceptions to
      achieve the previous hard-coded results.
    * Regenerated.

  * contrib/hbqt/hbqt_hbmk2_plugin.hbs
  * config/postinst.hbs
  * config/hbextern.hbs
  * bin/hbmk2l2d.hbs
  * bin/hbxpatch.hbs
    + Added -km, -ko options.
2010-08-04 18:15:55 +00:00
Pritpal Bedi
2cc2fe3a61 2010-08-04 08:06 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idedocks.prg
    ! Visual change: MDI area shows up scrollbars only when needed.
2010-08-04 15:10:16 +00:00
Pritpal Bedi
224b9a97b5 2010-08-04 08:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idedocks.prg
    % Fixed: a nasty bug which surfaces at some new installation.
      Reported on FWH forum.
2010-08-04 15:03:13 +00:00
Viktor Szakats
3e86c38583 2010-08-03 14:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/postinst.hbs
    ! Fixed to only do install tasks in install build phase.
    * Changed to only regenerate headers in non-install phase.

  * Makefile
    + Passing build phase to postinst.hbs.

  * INSTALL
    + Elaborating a bit more on the meaning of 'local' in HB_WITH_*
      settings.
2010-08-04 12:28:10 +00:00
Viktor Szakats
d612e8b3ce 2010-08-03 11:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbextudd.ch
  * include/hbextsca.ch
  * include/hbextern.ch
  * config/postinst.hbs
    ! Fixed to exclude HB_GT_ symbols, put HBSYMBOL to hbextsca.ch,
      put USRRDD_* to hbextudd.ch.

    ; NOTE: May I ask to review the new headers compared to old
            one to see what else have to be filtered out or moved
            to different header?
2010-08-04 09:45:21 +00:00
Viktor Szakats
8de8345e77 2010-08-03 11:22 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbrun/hbrun.prg
    + Will now add the script's home directory to the header dir list.

  * contrib/make.hbs
  * config/postinst.hbs
  + config/hbextern.hbs
    + Moved extern header generation low level logic to separate script.
    + Added feedback about extern generation.
    + Moved core extern header generation logic to postinst.hbs.
    ! Minor fix to output when postinst is used in non-install phase.

  * contrib/global.mk
    + Displays HB_REBUILD_EXTERN setting.

  * Makefile
    * Changed to always execute config/postinst.hbs, not just in
      install phase.

  * include/hbextudd.ch
  * include/hbextsca.ch
  * include/hbextcdp.ch
  * include/hbextlng.ch
  * include/hbextern.ch
    + Replaced content with automatically generated one.

  * contrib/hbxbp/xbpgeneric.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/ideshortcuts.prg
    * Deleted "just" functions and replaced them with HB_SYMBOL_UNUSED()
      macro, which has no runtime overhead.

  * contrib/hbide/hbide.hbp
  - contrib/hbide/iderequests.prg
    - Deleted requesting HBQT component via "just" function. Now it's
      done by EXTERNAL statements. BTW this function was not called,
      so it was ineffective.  Pls correct me if I missed the point
      of the old solution.
2010-08-04 09:24:15 +00:00
Pritpal Bedi
c983884a04 2010-08-04 01:47 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/ideshortcuts.prg
    ! Deleted calls to HB_TRACE(). oErr was not being referenced 
      after HB_TR_ALWAYS => HB_TR_DEBUG.
2010-08-04 08:51:54 +00:00
Viktor Szakats
8572f57500 2010-08-03 10:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    + Generalized extern generation.
    + Added generation of core extern headers. (no launched yet)

  * config/global.mk
    + Exporting variables needed for automatic hbextern gerenation.
    % Deleted HB_DYN_COMPILE variable. (unused)

  * include/Makefile
  - include/hbexturs.ch
  + include/hbextudd.ch
  + include/hbextsca.ch
  * include/hbextern.ch
    + Added separate header for scalar classes.
      INCOMPATIBLE: Now they should be activated by '#include "hbextsca.ch"'
      instead of '#define HB_REQUEST_SCALAR / #include "hbextern.ch"'
    * Renamed hbexturs.ch to hbextudd.ch

  * contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.cpp
  * contrib/hbqt/qtgui/hbqt_hbqmainwindow.cpp
  * contrib/hbqt/qtgui/THbQtUI.prg
  * contrib/hbqt/qtcore/hbqt_hbslots.cpp
  * contrib/hbxbp/xbptabpage.prg
  * contrib/hbxbp/xbpwindow.prg
  * contrib/hbxbp/xbpdialog.prg
  * contrib/hbxbp/xbpgeneric.prg
  * contrib/hbide/ideedit.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideobject.prg
  * contrib/hbide/idefunctions.prg
  * contrib/hbide/idedict.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/ideeditor.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idesources.prg
  * contrib/hbide/hbide.prg
  * contrib/hbide/ideshortcuts.prg
  * contrib/hbide/idedocks.prg
    * HB_TR_ALWAYS -> HB_TR_DEBUG.
2010-08-04 08:42:08 +00:00
Pritpal Bedi
33b6d35f71 2010-08-04 01:28 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/ideprojmanager.prg
    ! Populated: Project Properties dialog with properties of project
      set as the current one. It necessarily activates the dialog window.
      Reported by Parteciepe.
2010-08-04 08:36:30 +00:00
Pritpal Bedi
55a70d7403 2010-08-03 23:36 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/resources/view_organized.png
  * contrib/hbide/resources/view_tiled.png
  + contrib/hbide/resources/view_horzstacked.png
  + contrib/hbide/resources/view_vertstacked.png
  + contrib/hbide/resources/view_zoomin.png
  + contrib/hbide/resources/view_zoomout.png
    + Added: few more images. Refined some old.

  * contrib/hbide/hbide.qrc
    + Added: above images.

  * contrib/hbide/idedocks.prg
    + Added: MDI Area - Left-Toolbar action images.
2010-08-04 06:42:11 +00:00
Pritpal Bedi
9c39f2c59e 2010-08-03 18:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/ideprojmanager.prg
    % Fixed: ( hopefully ) the OS path syndrome when a .hbp from 
      Windows is ported to *nixes.

  * contrib/hbide/ideedit.prg
    ! Minor.

  * contrib/hbide/idedocks.prg
    + Implemented: MDI Editing Area - LeftToolbar - Actions:
         1. Show Maximized: turns all panels in maximized mode.
            In this mode MDI and Stacked protocols are almost the same,
            though, MDI mode has many other advantages than Stacked one.
         
         2. Show Stacked Vertically: viewport is distributed in equal 
            parts vertically and each panel is assigned this much height.
            Width of the panel is limited to viewport width. In this 
            mode "Stats" panel is not considered.

         3. Show Stacked Horizontally: viewport is distributed in 
            equal parts horizontally and each panel is assigned this 
            much width. Height of the panels equals viewport height.

         4. Zoom-in: If view mode is "Stacked Vertically | Horizontally",
            then per zoom-in increases the height|width of the panel by 
            25% more than the current. Zoom-in and zoom-out are never in the 
            same ratio.

         If hbIDE is closed in maximized state, it is presented the same 
         at next run. This is not true for Vertical|Horizontal stacked view.
         The reason is size of the viewport is not determined at the time 
         of panel creation.

         Icons on the toolbar are not representing the actions properly,
         and hence are subject to change.
2010-08-04 01:17:05 +00:00
Viktor Szakats
83974c934d 2010-08-03 21:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbextern.ch
  * src/vm/Makefile
  * src/vm/vmmt/Makefile
  + src/vm/pvaluehb.c
    + Added PVALUE() to Harbour core.

  * contrib/xhb/hbcompat.ch
  * contrib/xhb/xhb.hbp
  - contrib/xhb/xhbpval.c
  * contrib/hbxpp/hbxpp.hbp
  - contrib/hbxpp/pvalue.c
  * contrib/hbfship/hbfship.hbp
  - contrib/hbfship/pvalue.c
    - Deleted PVALUE() definitions from contrib libs.
2010-08-03 20:01:18 +00:00
Viktor Szakats
1a5bdcc0e8 2010-08-03 21:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/xhb.hbp
  + contrib/xhb/xhbpval.c
  * contrib/xhb/xhbfunc.c
    + PVALUE() moved to separate source.
2010-08-03 19:50:23 +00:00
Viktor Szakats
d3abd90f56 2010-08-03 21:00 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/make.hbs
    ! Fixed to create .hbx only for -hblib and -hbdyn targets.
2010-08-03 19:00:49 +00:00
Viktor Szakats
49be9ffd54 2010-08-03 20:54 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/make.hbs
    ! Fixed missing output from hbmk2 runs.
    * Will not echo the --hbinfo hbmk2 invokation anymore.

  * INSTALL
    * Minor.
2010-08-03 18:54:25 +00:00
Pritpal Bedi
ec980b2999 2010-08-03 10:11 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idedocks.prg
  * contrib/hbide/ideedit.prg
    % A hacked fix: to context menu actions inside editor, reported at FWH forum.
    % Fixed: switching over to non-MDI mode from MDI mode was 
      raising RTE.
2010-08-03 17:16:29 +00:00
Viktor Szakats
ddba3cc1fa 2010-08-03 18:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed error introduced in '2010-08-03 16:00 UTC+0200'
      Causing crash on output-less targets like -hbcontainer.
2010-08-03 16:34:44 +00:00
Viktor Szakats
e2eb0df696 2010-08-03 16:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbct/hbct.hbx
  * contrib/make.hbs
    ! Fixed to not generate reference to self ANNOUNCE symbol.
2010-08-03 14:53:03 +00:00
Viktor Szakats
91fbeb02bd 2010-08-03 16:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* hbct/hbct.hbx
    * Missed to regenerate after last minute mod.
2010-08-03 14:50:15 +00:00
Viktor Szakats
bae84454e9 2010-08-03 16:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/hbct/hbct.hbx
    + Added automatically generated extern puller code.

  * contrib/hbct/ctextern.prg
  * contrib/hbct/ctextern.ch
    * Changed to simply include hbct.hbx for backward compatibility.

  * contrib/make.hbs
    ! Fixed to exclude HB_GT_*_DEFAULT symbols.
    ! Fixed RTE for projects which have no output name, f.e. 
      because they are unsupported on given platform/compiler.

  ; NOTE: libname.hbx is not good as if compiled the object name
          will collide with often used libname.prg.
2010-08-03 14:47:11 +00:00
Viktor Szakats
3ab717ad6e 2010-08-03 16:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    + Will now automatically generate EXTERN lists for libs if
      using HB_REBUILD_EXTERN=yes setting and GCC compiler.
      Pls note that after regeneration a new build pass is
      required to reflect the changes in final binaries.
      NOTE: I chose the .hbx extension for EXPORT code.
            Pls comment on it (adding a postfix to regular
            .prg or .ch extension is not an option as it won't
            fit the 8.3 filename limit).
    * Changed --hbinfo call to pass parameters just like the
      "real" hbmk2 call, to get correct information about
      the project.
    % Minor optimizations.

  * utils/hbmk2/hbmk2.prg
    + --hbinfo extended to return 'outputname'.

  * INSTALL
    + Documented HB_REBUILD_EXTERN
2010-08-03 14:00:52 +00:00
Viktor Szakats
4502935000 2010-08-03 14:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtwebkit/hbqtwebkit.hbm
    + Added QtWebKit detection.
      Thanks to Francesco Perillo for tests.
    % Optimized.

  * contrib/hbqt/qtgui/hbqtguis.hbp
  * contrib/hbqt/qtgui/hbqtgui.hbc
  * contrib/hbqt/qtgui/hbqtgui.hbm
  * contrib/hbqt/qtgui/hbqtgui.hbp
  * contrib/hbqt/qtwebkit/hbqtwebkits.hbp
  * contrib/hbqt/qtwebkit/hbqtwebkit.hbc
  + contrib/hbqt/qtwebkit/hbqtwebkit.hbm
  * contrib/hbqt/qtwebkit/hbqtwebkit.hbp
  * contrib/hbqt/qtcore/hbqtcore.hbp
  * contrib/hbqt/qtcore/hbqtcore.hbc
  * contrib/hbqt/qtcore/hbqtcores.hbp
  * contrib/hbqt/qtcore/hbqtcore.hbm
  * contrib/hbqt/qtnetwork/hbqtnetwork.hbp
  * contrib/hbqt/qtnetwork/hbqtnetworks.hbp
  * contrib/hbqt/qtnetwork/hbqtnetwork.hbc
  + contrib/hbqt/qtnetwork/hbqtnetwork.hbm
  * contrib/hbqt/qscintilla/hbqscintilla.hbm
  * contrib/hbqt/qscintilla/hbqscintilla.hbp
  * contrib/hbqt/qscintilla/hbqscintilla.hbc
  * contrib/hbqt/qscintilla/hbqscintillas.hbp
  + contrib/hbqt/qtdesigner/hbqtdesigner.hbm
  * contrib/hbqt/qtdesigner/hbqtdesigner.hbp
  * contrib/hbqt/qtdesigner/hbqtdesigners.hbp
  * contrib/hbqt/qtdesigner/hbqtdesigner.hbc
    % Optimization (removed some redundancy).
    * Synced option ordering.

  * utils/hbmk2/hbmk2.prg
    + Added TODO
    + Added 'nm' cmdline to extract HB_FUNCs. Sent by Przemek.
      (TODO: adapt it to leading underscore for win)
2010-08-03 12:29:37 +00:00
Viktor Szakats
61603577c5 2010-08-03 12:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbct/hbct.hbp
  + contrib/hbct/ctextern.prg
    + Added extern puller .prg (suggested by Przemek)
      This fixes dynamic loading of hbct dynamic lib.
      We need a system which keeps these files updated for 
      every contribs.

  * contrib/hbct/video.c
    ! Fixed to always define functions (not just in dos targets)
    ! Fixed warnings that came up along the way.
    ! Fixed to return compatible type on non-dos.

  * contrib/hbct/ctextern.ch
    + Updated with current function list.

  * contrib/make.hbs
    ! Fixed to propagate make options also to "contained"
      projects. Currently these are the HBQT subprojects
      referenced from hbqt.hbp container project file.
      Before f.e. clean option was not effective on these
      projects.

  * contrib/hbqt/utils/hbqtgen.prg
  * contrib/hbqt/qtgui/g/hbqtgui_extern.ch
  * contrib/hbqt/qtwebkit/g/hbqtwebkit_extern.ch
  * contrib/hbqt/qtcore/g/hbqtcore_extern.ch
  * contrib/hbqt/qtnetwork/g/hbqtnetwork_extern.ch
  * contrib/hbqt/qscintilla/g/hbqscintilla_extern.ch
  * contrib/hbqt/qtdesigner/g/hbqtdesigner_extern.ch
    * Use EXTERNAL instead of REQUEST to be in sync with rest
      of files in Harbour.
2010-08-03 10:37:02 +00:00
Viktor Szakats
6157304b83 2010-08-03 11:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to clean map file when -map option is used.
    * Little cleanup to prev.
2010-08-03 09:14:46 +00:00
Viktor Szakats
a4d74c60f8 2010-08-03 11:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to clean implibs generated in -hbdyn and -hbexe modes.
2010-08-03 09:08:17 +00:00
Viktor Szakats
d09d935270 2010-08-03 09:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtgui/hbqtgui.hbc
  * contrib/hbqt/qtwebkit/hbqtwebkit.hbc
  * contrib/hbqt/qtcore/hbqtcore.hbc
  * contrib/hbqt/qtnetwork/hbqtnetwork.hbc
  * contrib/hbqt/qscintilla/hbqscintilla.hbc
  * contrib/hbqt/qtdesigner/hbqtdesigner.hbc
    - Deleted hack not required anymore after '2010-08-03 09:07 UTC+0200 Viktor Szakats'

  * contrib/hbqt/hbqt.hbp
    - Commented qtwebkit and qtdesigner sub-components. qtwebkit
      still isn't available on several systems (Linux f.e.), so pbly extra
      dependency detection should be added, and qtdesigner is not used.
      Seeing lack of positive reaction about these components (and recent 
      moves whatsoever), it's better to concentrate on more interesting
      things now and not waste more CPU/brain cycles on that.
      BTW if someone is interested in them, they can be built using .hbp file,
      pls send patches if you find them broken.
2010-08-03 07:55:44 +00:00
Viktor Szakats
8a34ffb5fc 2010-08-03 09:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbgtcore.h
  * include/hbapifs.h
  * include/hbapi.h
    + Added HB_EXPORT flag to these functions: (required by xhb, gtwvg and minizip)
      hb_gt_ItemBase()
      hb_gt_gcMark()
      hb_gt_winapi_setClipboard()
      hb_gt_winapi_getClipboard()
      hb_gt_winapi_getKbdState()
      hb_gt_winapi_setKbdState()
      hb_gt_winapi_tone()
      hb_fsAttrFromRaw()
      hb_fsAttrToRaw()
      hb_fsAttrEncode()
      hb_fsAttrDecode()
      hb_fopen()
      hb_gcCollect()
      hb_gcCollectAll()

    ; TOFIX: I didn't want to add these as they look heavily internal (some even 
             marked as such, they are all used by xhb lib:
               hb_stackBaseOffset()
               hb_stackItem()
               hb_stackBaseProcOffset()
               hb_stackWithObjectOffset()

  * contrib/gtalleg/gtalleg.hbm
    ! Fixed missing -a implib flag for bcc.

  * contrib/hbqt/qscintilla/hbqscintilla.hbc
    + Added lib dependency name.

  * contrib/hbide/hbide.prg
    ! Fix to prev.
2010-08-03 07:39:10 +00:00
Viktor Szakats
9036f0d9ca 2010-08-03 09:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added trick to filter out target lib name from input lib list -hblib 
      mode and to filter out target implib name from input lib list in 
      -hbdyn mode. This fixes problems when linking -hbdyn by speccing both
      project .hbp and .hbc files. I'm still thinking of a better solution 
      to solve this problem.

  * contrib/make.hbs
    ! Fixed recent bug in filter processing.

  * include/hbapi.h
    + Added HB_EXPORT to hb_releaseCPU(), hb_idle*() and hb_cmdarg*() functions.

  * contrib/hbide/idemisc.prg
  * contrib/hbide/hbide.ch
  * contrib/hbide/hbide.prg
    * Cleanup.
2010-08-03 07:09:20 +00:00
Pritpal Bedi
83b7de4c18 2010-08-02 18:17 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
+ contrib/hbide/updown_v.ui
    + Added: widget to expose <Next><Previous>Top><Bottom><Highlight> buttons
      for selected text.

  * contrib/hbide/hbide.hbp
  * contrib/hbide/idebrowse.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/idemisc.prg
    % Swapped: editing MDI area's top-toolbar actions with 
      left-toolbar. Now the visual elements are synchrinized
      with how we are used to view these actions.

    + Implemented: in MDI editors mode, actions to navigate 
      selection for <Next><Prev..> etc exposed via left toolbar.
      These actions are shown enabled only if there is active 
      selection text is visible, either by double clicking on a 
      word or by virtue of Find/Replace dialog. It fixes the 
      visual irritating artifact discussed recently.

    + Implemented: MDI editing panels are now remembered for 
      their last state for the next run. It effectively means 
      that if a panel(s) are left maximized, minimized, cascaded,
      tiled, under tabbed view or subwindowed view, next run 
      correctly position all of them. This is on top of your 
      own layout which you would have saved earlier, which can ever 
      be brought back by clicking on "View as arranged" icon.
2010-08-03 01:30:22 +00:00
Viktor Szakats
3d322d9d53 2010-08-02 20:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/utils/hbqtgen.prg
    + Will now generate hbqt*_extern.ch with REQUEST for all
      classed contained in given lib.

  + contrib/hbqt/qtgui/g/hbqtgui_extern.ch
  + contrib/hbqt/qtwebkit/g/hbqtwebkit_extern.ch
  + contrib/hbqt/qtcore/g/hbqtcore_extern.ch
  + contrib/hbqt/qtnetwork/g/hbqtnetwork_extern.ch
  + contrib/hbqt/qscintilla/g/hbqscintilla_extern.ch
  + contrib/hbqt/qtdesigner/g/hbqtdesigner_extern.ch
  * contrib/hbqt/qtgui/hbqtgui.hbp
  * contrib/hbqt/qtwebkit/hbqtwebkit.hbp
  * contrib/hbqt/qtcore/hbqtcore.hbp
  * contrib/hbqt/qtnetwork/hbqtnetwork.hbp
  * contrib/hbqt/qscintilla/hbqscintilla.hbp
  * contrib/hbqt/qtdesigner/hbqtdesigner.hbp
    + Added hbqt*_extern.ch files.

  + contrib/hbxbp/hbxbp_extern.ch
  * contrib/hbxbp/hbxbp.hbp
    + Added REQUEST list for hbxbp.

  * contrib/hbide/idemisc.prg
    - Deleted usrrdd hack not mentioned in ChangeLog.
    + Changed to use new hbqt*_extern.ch and hbxbp_extern.ch files
      instead of rolling a private list of external lib functions.

  * src/rdd/usrrdd/usrrdd.c
    + Readded old mistyped function name guarded with HB_LEGACY_LEVEL3.
      WARNING: Change UR_SUPER_WRITEBHEADER() to UR_SUPER_WRITEDBHEADER()
               in your code.
2010-08-02 18:10:02 +00:00
Viktor Szakats
cd793dbbce 2010-08-02 19:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapidbg.h
    + Added HB_EXPORT to the complete hb_dbg*() API set.
      This should fix -shared -b builds on win/wce when 
      using non-mingw compiler.

  * src/vm/hvm.c
    * Formatting.
2010-08-02 17:41:11 +00:00
Pritpal Bedi
538219007f 2010-08-02 09:52 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idedocks.prg
  * contrib/hbide/idemisc.prg
    + Added: scrollbars to Edits MDI area.
2010-08-02 16:59:21 +00:00
Viktor Szakats
5093da3599 2010-08-02 18:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/hbide.hbp
    + Added missing reference to hbqtnetwork.
2010-08-02 16:53:14 +00:00
Viktor Szakats
afc9bd4ee6 2010-08-02 18:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/postinst.hbs
    * Synced mk_hb_processRun() with make.hbs. (minor, doesn't change 
      functionality)
2010-08-02 16:34:48 +00:00