Commit Graph

14884 Commits

Author SHA1 Message Date
Viktor Szakats
33e6f41c5d 2010-08-08 16:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/rddads/adsextrn.prg
  * contrib/rddads/rddads.hbp
  * contrib/rddads/rddads.hbx
  * contrib/rddads/ads1.c
  * contrib/rddads/rddads.hbc
  * contrib/rddads/tests/datad.prg
  * contrib/rddads/tests/testmg.prg
    + Made possible to load rddads rdd dynamically.
2010-08-08 14:51:35 +00:00
Pritpal Bedi
fdc17c01e3 2010-08-07 16:18 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/hbide.qrc
    ! Fixed: last minute inculsion - hbide3.png.
2010-08-07 23:21:59 +00:00
Pritpal Bedi
c282aa16ae 2010-08-07 15:35 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
+ contrib/hbide/resources/dbf_p1.png
  + contrib/hbide/resources/dbf_p10.png
  + contrib/hbide/resources/dbf_p2.png
  + contrib/hbide/resources/dbf_p3.png
  + contrib/hbide/resources/dbf_p4.png
  + contrib/hbide/resources/dbf_p5.png
  + contrib/hbide/resources/dbf_p6.png
  + contrib/hbide/resources/dbf_p7.png
  + contrib/hbide/resources/dbf_p8.png
  + contrib/hbide/resources/dbf_p9.png
  * contrib/hbide/resources/formview.png
  * contrib/hbide/resources/home3.png
  * contrib/hbide/resources/new.png
  * contrib/hbide/resources/print.png
  * contrib/hbide/resources/statistics.png
  * contrib/hbide/resources/view_organized.png
  * contrib/hbide/resources/view_tiled.png
  * contrib/hbide/resources/view_vertstacked.png
  * contrib/hbide/resources/view_zoomin.png
  * contrib/hbide/resources/view_zoomout.png
  + contrib/hbide/resources/zoomin3.png
  + contrib/hbide/resources/zoomout3.png
  * contrib/hbide/hbide.qrc
    + Added and refined above images.

  * contrib/hbide/idedocks.prg
    + Assigned: "statistics" icon to "Welcome" tab.
    ! Reworked: many artifacts.

  * contrib/hbide/idebrowse.prg
    + Implemented: Edits MDI area icons equivilent functionality 
      in ideDBU panels also. Now you can view browsers in 
      organized, cascaded, tiled, maximized, vertically tiled,
      horizontally tiled, mode. Verically|Horizontally tiled 
      modes can be zoomed to fit the user requirements.
      However the last close mode is not retained. Next run 
      always open the "Main" panel with "Organized" view.

    + Assigned: color-differentiated icons to every open browser
      window. Now the view is more attractive and allows one to 
      memorize a browser by color.

   
    With this commit, rounds of beutification for this session ends.
    Now concentrating on a really-useful implementation you will 
    know by the end of next-week.
2010-08-07 22:50:47 +00:00
Pritpal Bedi
5a075b06d1 2010-08-07 15:28 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/xbp.ch
    + Added: few more constants with HBP* prefix to be used 
      for upcoming HbpMdiArea() class to manage MDI areas containing
      sub-windows.

  * contrib/hbxbp/xbpwindow.prg
    + Implemented: ERROR HANDLER OnError( ... ) method.
      Now it is possible to call Qt object methods directly 
      with Xbp* objects. For example, 
         oXbp:oWidget:setLayout( ... )
            =>
         oXbp:setLayout( ... )
      It is a very useful extension and empowers the developer 
      more freedom.
2010-08-07 22:36:46 +00:00
Viktor Szakats
72d8301329 2010-08-07 19:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    ! Fixed to not propagate custom flags to container projects.
 
  * config/global.mk
    ! Changed realpath to abspath.
2010-08-07 17:45:00 +00:00
Viktor Szakats
150eed9060 2010-08-07 17:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtalleg/gtalleg.hbc
    ! Fixed allegro-config command to not contain output redirection.

  * contrib/hbcurl/hbcurl.hbc
    ! Fixed lib name on non-win platforms.

  * contrib/hbgd/hbgd.hbc
    ! Fixed gd lib name on Linux.

  * contrib/hbodbc/hbodbc.hbp
  * contrib/sddodbc/sddodbc.hbp
  * contrib/hbssl/hbssls.hbp
  * contrib/hbcurl/hbcurl.hbc
  * contrib/hbcurl/hbcurls.hbp
    % Using allwin instead of win|wce.

  * utils/hbmk2/hbmk2.prg
    + Added trick to not corrupt version numbers in libnames when
      adding extension. (it will check for extensions beginning
      with numeric and add instead of replace extension in such case)
    ! Fixed pkg-config/*-config parser when result contained LF chars.

  * config/postinst.hbs
    * Do not create dynlib symlink on non-*nix platforms.

  ; Now HB_BUILD_CONTRIB_DYN works for all contribs also on Linux.

  ; TODO: Shouldn't harbour-2.1.0.so be called harbour.so.2.1.0 ?
  ; TODO: Creating versionless links for contribs.
2010-08-07 15:44:18 +00:00
Viktor Szakats
efc53f1fd4 2010-08-07 15:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! And another typo in prev.
2010-08-07 13:55:36 +00:00
Viktor Szakats
682a2130ef 2010-08-07 15:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fix to prev.
2010-08-07 13:48:13 +00:00
Viktor Szakats
89912640a7 2010-08-07 15:23 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added ${hb_dynext} macro.

  * contrib/hbpost.hbm
    ! Further tweaked -hbdyn output names for *nix systems.
2010-08-07 13:24:13 +00:00
Viktor Szakats
c24cbedfb0 2010-08-07 14:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbpost.hbm
    ! Little fix to prev.
2010-08-07 12:52:26 +00:00
Viktor Szakats
fade421d2c 2010-08-07 14:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to prepend dynlib prefix to output name -hbdyn mode.
2010-08-07 12:49:45 +00:00
Viktor Szakats
8071638b72 2010-08-07 14:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbpost.hbm
    ! Fixed to place contrib dynamic libs in lib dir on *nix systems.
2010-08-07 12:39:12 +00:00
Viktor Szakats
5a6facdcc2 2010-08-07 11:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    + Generalized the way dynamic lib dependencies are found 
      to make it work on *nix systems, too.

  * include/harbour.hbx
  + src/rtl/libnamec.c
  * src/rtl/libname.prg
  * src/rtl/Makefile
    + Added HB_LIBEXT() and HB_LIBPREFIX() functions.

  * utils/hbmk2/hbmk2.prg
    + Added "platform", "compiler", "cpu", "buildname", "dynsuffix" 
      to --hbinfo returned data.

  * INSTALL
    + Documented HB_BUILD_CONTRIB_DYN setting. The default is
      'no', and if set to 'yes', the build system will create
      dynamic lib versions of the contribs.

  * src/Makefile
  * utils/hbformat/Makefile
  * utils/hbi18n/Makefile
  * utils/hbtest/Makefile
  * config/global.mk
  * config/dos/watcom.mk
  * config/dos/djgpp.mk
  * config/dyn.mk
  * config/rules.mk
  * INSTALL
    * Renamed HB_BUILD_DLL to HB_BUILD_DYN.
2010-08-07 10:00:21 +00:00
Viktor Szakats
742e4407ee 2010-08-07 11:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtcore/hbqt.h
  * contrib/hbqt/utils/hbqtgen.prg
    ! Added HB_EXTERN_* around non-C++ declarations.

  * contrib/hbqt/qtcore/hbqt.h
  * contrib/hbqt/qtcore/hbqt_destruct.cpp
    % Made one function and a structure static.

  * contrib/hbqt/qtgui/g/hbqtgui.h
  * contrib/hbqt/qtwebkit/g/hbqtwebkit.h
  * contrib/hbqt/qtcore/g/hbqtcore.h
  * contrib/hbqt/qtnetwork/g/hbqtnetwork.h
  * contrib/hbqt/qscintilla/g/hbqscintilla.h
  * contrib/hbqt/qtdesigner/g/hbqtdesigner.h
    * Regenerated.
2010-08-07 09:01:01 +00:00
Pritpal Bedi
ef2830a403 2010-08-06 18:46 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
+ contrib/hbide/resources/exit3.png
  + contrib/hbide/resources/gotoline3.png
  + contrib/hbide/resources/home3.png
  * contrib/hbide/resources/save3.png
  * contrib/hbide/hbide.qrc
    + Added: three more icons.

  * contrib/hbide/ideactions.prg
  * contrib/hbide/idebrowse.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/idemisc.prg
    ! 2nd round of reforms in icons arrangement and colors.
      A work-in-progress, please remain patient.
2010-08-07 01:50:21 +00:00
Viktor Szakats
e5fd8dcb36 2010-08-06 18:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* debian/rules
    + Added LD_LIBRARY_PATH.
      (it's needed here because the called make process won't
      pass back any envvars to caller process)

  * config/global.mk
    + Shows LD_LIBRARY_PATH in log.
    - Do not clear HB_SYSLOC to allow override (from package makers).
    + Export HB_DYNLIB_PREF (for postinst.hbs).

  * config/postinst.hbs
    + Creating Harbour dynamic lib symlinks, like the old postinst.sh
      did. This fixes Debian build problems, and probably more.
    ; TODO: I didn't implement one scenario, I'd appreciate if someone
            with bash and *nix skill could decipher the old code
            and create the few .prg lines for this functionality.
    ! Fixed .hbx creation for core dynlibs on *nix systems.
2010-08-06 16:56:40 +00:00
Pritpal Bedi
a44c9ab3a7 2010-08-06 09:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/resources/blockindentl.png
  * contrib/hbide/resources/blockindentr.png
  + contrib/hbide/resources/bookmark.png
  + contrib/hbide/resources/close3.png
  * contrib/hbide/resources/curlinehilight.png
  * contrib/hbide/resources/fullscreen.png
  * contrib/hbide/resources/help1.png
  * contrib/hbide/resources/horzruler.png
  + contrib/hbide/resources/indent-less.png
  + contrib/hbide/resources/indent-more.png
  + contrib/hbide/resources/open3.png
  + contrib/hbide/resources/save3.png
  * contrib/hbide/resources/stream.png
  * contrib/hbide/resources/togglelinenumber.png
  * contrib/hbide/resources/view_cascaded.png
  * contrib/hbide/resources/view_horzstacked.png
  * contrib/hbide/resources/view_organized.png
  * contrib/hbide/resources/view_tabbed.png
  * contrib/hbide/resources/view_tiled.png
  * contrib/hbide/resources/view_vertstacked.png

  * contrib/hbide/hbide.qrc
    + Added: few more icons.
    % Changed: few existing.

  * contrib/hbide/ideactions.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/ideedit.prg
    + Rationalized: icon colors, now they present a professional look.
    % Fixed: behavior of few MDI area toolbars actions, 
      went weired after the introduction of MDI concept.
2010-08-06 16:40:11 +00:00
Viktor Szakats
c7a2e74d96 2010-08-06 15:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbpost.hbm
    ! Fixed to create dynlibs and executables in -fullshared mode
      if HB_SYSLOC is 'yes. I've yet to test this.
2010-08-06 13:51:50 +00:00
Viktor Szakats
abfa725104 2010-08-06 15:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
  * include/harbour.hbx
  * src/rtl/Makefile
  + src/rtl/libname.prg
  + tests/libname.prg
    + Added HB_LIBNAME( <cDynLibName>[, <cDynLibDir> ] ) -> <cOSDynLibName>
      Serves to convert a raw dynlib name, f.e. "hbct" to OS specific
      notation, by adding platform specific extension, lib name prefix and
      optional directory

  * utils/hbmk2/hbmk2.prg
    ! Fixed dynlib prefix for symbian
2010-08-06 13:16:35 +00:00
Viktor Szakats
855cd11443 2010-08-06 14:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * contrib/hbqt/qtgui/hbqtgui.hbc
  * contrib/hbqt/qtwebkit/hbqtwebkit.hbc
  * contrib/hbqt/qtcore/hbqtcore.hbc
  * contrib/hbqt/qtnetwork/hbqtnetwork.hbc
  * contrib/hbqt/qtdesigner/hbqtdesigner.hbm
  * config/symbian/libs.mk
  * config/symbian/gcc.mk
  * config/symbian/global.mk
    + Some more Symbian support:
       - file extensions
       - qt lib names
       - disabling qtdesigner
       - workaround for gcc crash
    ; Pls note Harbour regards Symbian as Unix OS, while it's not.
      Later this can be cleaned.
2010-08-06 12:35:40 +00:00
Przemyslaw Czerpak
8a8f786af2 2010-08-06 13:29 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcomp.h
    ! fixed description of HB_VS_CBLOCAL_VAR macro

  * harbour/src/compiler/hbmain.c
    ! fixed wrongly generated E0047 compile time error for
      codeblocks with early evaluated macros accessing local
      parameters. It should fix problem reported by Itamar.

  * harbour/src/vm/hvm.c 
    * modified one #if condition to pacify ICC warning
      reported by Andi
2010-08-06 11:30:27 +00:00
Viktor Szakats
4fc311154c 2010-08-06 12:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ config/symbian
  + config/symbian/libs.mk
  + config/symbian/gcc.mk
  + config/symbian/global.mk
  * include/hbthread.h
  * include/hbsetup.h
  * src/vm/thread.c
  * src/common/hbtrace.c
  * src/common/hbprintf.c
  * src/rtl/gtstd/gtstd.c
  * src/rtl/gttrm/Makefile
  * src/rtl/hbsocket.c
  * src/rtl/filesys.c
  * src/rtl/diskspac.c
  * src/rtl/hbgtcore.c
  * src/rtl/disksphb.c
  * src/rtl/gtpca/gtpca.c
  * src/rtl/hbproces.c
  * src/rtl/gtsys.c
  * src/rtl/hbcom.c
  * utils/hbmk2/hbmk2.prg
  * config/global.mk
  * INSTALL
    + Rough port to Symbian OS.
      It compiles OK, no exes build and I had to disable hbsocket.c
      due to too many errors.
2010-08-06 10:51:00 +00:00
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