Commit Graph

1413 Commits

Author SHA1 Message Date
Viktor Szakats
c7445e0bae 2010-07-16 08:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/common/hbver.c
    * Formatting.

  * config/vxworks/diab.mk
    ! Refined tweak added to make hbsocket compile. I overdid
      it, causing other breakage.
    ! Fixed dynlib generation to cope with Windows cmdline
      length limits.
    + Added proper dynlib generation rule.

  * config/vxworks/gcc.mk
  * config/vxworks/global.mk
    + HB_CCPOSTFIX setup made common to all compilers, because
      it's needed for 'strip' call.

  * utils/hbmk2/hbmk2.prg
    + Some vxworks environment setup made common to all compilers.

  * harbour-win-spec
  * harbour-wce-spec
    ! Deleted hbmk.hbc references.

  ; Patches by Tamas Tevesz:

  * harbour.spec
    ! Fixes to make it work.

  * external/minizip/minizip.dif
    * Updated.

  * INSTALL.
    * Nevermind.
2010-07-16 06:11:26 +00:00
Viktor Szakats
f1fdb9b02c 2010-07-16 00:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/vxworks/diab.mk
    + Implemented support for Wind River Compiler.
      Incomplete yet, as I couldn't test each build
      feature due to errors in earlier build stages.

  * src/common/hbver.c
    + Added fourth version number level.
    + Added version detection for Wind River Compiler (diag).
    * Formatting.

  * src/common/hbprintf.c
  * external/minizip/ioapi.h
    + Fixes for Wind River Compiler (diag)

  * src/rtl/hbdyn.c
    ! Dirty fix to compile in HB_LONG_LONG_OFF mode.
      Przemek if you see this, can you take a look at it if 
      it's right or at least not terribly off?

  * include/hbsetup.h
    ! Temporary hack for Wind River Compiler to use
      HB_LONG_LONG_OFF, otherwise the compiler crashes with
      internal error in hvm.c (without hvmall and optimizations
      also). Now, this flag caused another slew of problems,
      so as it looks now support for this compiler cannot
      be added:
         "../../../hvm.c", line 9827: internal compiler error (etoa:1000): - Failed allocating register pair
         please contact support@windriver.com */

  * include/hbinit.h
    + Enabled Wind River compiler to use the GCC init mode.
      (didn't actually test it, but it compiles)

  * utils/hbmk2/hbmk2.prg
    + Added new debug switch -debugpars to get a list of
      input parameters processed by hbmk2.
    + Synced automatic HB_CCPOSTFIX configuration based on cpu
      setting with GNU Make logic.

  * config/vxworks/gcc.mk
    * Cleanups.
    + Added more CPU postfixes.

  * INSTALL
    * Minor convenience added to prev.
2010-07-15 22:32:24 +00:00
Viktor Szakats
83c7f46c13 2010-07-15 21:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    ! vxWorks casing.
    + Added vxworks/gcc/arm example.

  * utils/hbmk2/hbmk2.prg
    % -DARMEL no more defined for vxworks/gcc/arm. It turns
      out it's a predefined macro.

  * config/global.mk
    ! Fixed HB_CPU autodetection after prev change.

  * INSTALL
    ; NOTE: After previous change HB_CCPOSTINST is automatically
            set on vxworks/gcc.

  * config/vxworks/libs.mk
  * config/vxworks/gcc.mk
    + Tried to enable dynlibhb, didn't succeed, see comments.

  * config/vxworks/gcc.mk
    % Deleted unnecessary compile time macros.

  ; TOFIX: vxworks HB_BUILD_SHARED=yes is broken. harbour .so
           is not found. Couldn't find out why.
  ; TOFIX: vxworks/gcc/arm hbatomic.h needs support added.
           arm harbour and hbpp builds fine.
2010-07-15 19:53:56 +00:00
Viktor Szakats
c0217a93ef 2010-07-15 20:24 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added experimental -cpu option. (not at the level
      of comp/plat internally, as there won't be separate
      subdir open for different cpu builds created in parallel)
    + Added some untested support for vxworks/gcc/arm.

  * utils/hbmk2/hbmk2.hbp
    + Synced with Makefile.

  * config/global.mk
    ! Fixed to default HB_CPU value to x86 for vxworks.
    + Exports HB_CPU.

  * config/vxworks/libs.mk
  * config/vxworks/gcc.mk
    + Added experimental support to select arm target by
      using HB_CPU=arm.

  * config/wce/msvcarm.mk
    ! Missed re-xmastree changed done now. (for pre GNU Make 3.81 compatibility)
2010-07-15 18:24:46 +00:00
Viktor Szakats
da9890f57e 2010-07-15 19:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbthread.h
    ! Hacked around collision between vxWorks headers.

  * ChangeLog
    ! Fixed casing of vxWorks.

  * utils/hbmk2/hbmk2.prg
    + Added vxworks/gcc libpaths.
    ! Fixed vxworks/gcc system lib list.
    ! Fixed ar to have postfix.
    ; All these are syncs with GNU Make.

  * src/rtl/hbsocket.c
    ! Typos in previous vxworks patchs.

  * config/global.mk
    ! Fixed forming automatic HB_INSTALL_PREFIX value in *nix cross-build
      situations. (it's still wrong as it assumes nix->win cross-builds)

  ; Now vxworks/gcc/x86 build is clean.
    There are iTODOs left, and
    - this particular class of warnings, which seems
      to be a bug down the <pthread.h> system header:
         hbnetio\netiocli.c:155: warning: missing initializer
         hbnetio\netiocli.c:155: warning: (near initialization for 's_netioMtx.mutexAttr.mutexAttrType')
    - also this, each time FD_ZERO() and friends are used:
         warning: implicit declaration of function 'bzero'
    - "argument n of 'x' differ in signedness" and "discards qualifiers from pointer target type"
      warnings in hbsocket.c code.

  ; TOFIX:
       - Unrecoverable error 9998: Harbour terminal (GT) initialization failure
         when running hbtest.
       - GPF when running hbmk2 and hbrun. (hbformat, hbi18 startup fine)
2010-07-15 17:21:15 +00:00
Viktor Szakats
00cd9e92f3 2010-07-15 16:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  + config/vxworks
  + config/vxworks/libs.mk
  + config/vxworks/gcc.mk
  + config/vxworks/diab.mk
  + config/vxworks/global.mk
    + Started experimental VxWorks port.
    ; NOTE: VxWorks port was made possible by Wind River Systems Inc.,
            who were so kind to mail me a full VxWorks development
            environment, for the purpose of porting Harbour to this
            platform. Thank you very much guys.

            [ The free license is valid for one month, so if anyone
            is interested in helping in this project, I can help with
            real tests, builds and information. BTW, the devenv is
            Eclipse based plus cmdline, running on Windows (available
            for Linux and Solaris, too) and the target VxWorks exes
            run in a virtual environment. ]

  * config/global.mk
    + Added autodetection of VxWorks platform.

  * utils/hbmk2/hbmk2.prg
    + Added VxWorks support. It's incomplete yet.
    ! Fixed to quote *nix/gcc compiler family in
      Windows-host cross-platform situations.

  * src/vm/thread.c
  * src/common/hbgete.c
  * src/common/hbffind.c
  * src/common/hbtrace.c
  * src/common/hbdate.c
  * src/rtl/gtstd/gtstd.c
  * src/rtl/gttrm/Makefile
  * src/rtl/hbsocket.c
  * src/rtl/filesys.c
  * src/rtl/diskspac.c
  * src/rtl/cputime.c
  * src/rtl/disksphb.c
  * src/rtl/gtpca/gtpca.c
  * src/rtl/net.c
  * src/rtl/hbproces.c
  * src/rtl/gtsys.c
  * src/rtl/hbcom.c
  * external/zlib/inflate.c
  * external/jpeg/jmorecfg.h
  * external/pcre/Makefile
  * include/hbapifs.h
  * include/hbthread.h
  * include/hbdefs.h
  * include/hbsetup.h
  * contrib/xhb/hboutdbg.c
  * contrib/xhb/hbsyslog.c
  * contrib/xhb/hbserv.c
    + vxworks/gcc port. First phase.
    ; Please review.
    ; NOTE: - vxworks has no termios, for serial comm
              support it has sioLib.h.
            - vxworks supports another C compiler, which
              was not tested yet.
            - vxworks supports lots of CPUs, only x86 was
              tested yet.
            - There are still mutex related warnings to sort out.
            - Some parts had to disabled, like HB_LIB*() functionality.
    ; TODO: Regenarate .difs in external/.

  * src/vm/hashfunc.c
    * Silenced warnings shown by vxworks/gcc.
2010-07-15 15:02:33 +00:00
Viktor Szakats
533b75b205 2010-07-14 12:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/Makefile
  * utils/hbmk2/hbmk2.prg
    + Added build time configuration for GPM (on Linux) and
      WATT (on MS-DOS) builds. This makes hbmk.hbc generation
      (at 'install' phase) unnecessary, which means that now
      'install' is not required on _any_ platforms and scenarios
      to use hbmk2. Since hbmk2 is now used to build contribs,
      this is now also a reqiurement.
    ; Please test, I didn't make any Linux, MS-DOS build tests 
      after this change.

  * config/postinst.hbs
    - Deleted hbmk.hbc creation. Now this logic is included in
      hbmk2 at build-time on Linux and MS-DOS build which have
      GPM lib and WATT lib detected respectively.

  * contrib/hbct/numline.c
    * HB_ISIZ variables renamed.
2010-07-14 10:27:06 +00:00
Viktor Szakats
ec5c6619dc 2010-07-14 10:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapicdp.h
  * src/rtl/cdpapi.c
  * src/rtl/cdpapihb.c
  + tests/utf8at.prg
    + Added hb_cdpUTF8StringAt()
    ; Patch by Carlos Bacco. Many thanks!

  * include/hbextern.ch
  * include/hbapicdp.h
  * src/rtl/cdpapi.c
  * src/rtl/cdpapihb.c
    ; my modifications to above patch:
    - Using HB_BOOL instead of int for flag value.
    % HB_UTF8AT(), HB_UTF8RAT() optimized to use hb_param(),
      plus optimized out variables.
    ! HB_UTF8AT(), HB_UTF8RAT() fixed 'nEnd < nStart' case.
    ! Some formatting.
    + Added new functions to hbextern.ch.

  * tests/utf8at.prg
    * Changed to use UTF8 string as base.
    * Avoiding "OEM" and "ANSI" Microsoft misleading terms,
      using standard CP names instead.
    ! Using HB_TRANSLATE() to convert between CPs (instead
      of non-portable, Windows-only HB_OEMTOANSI()/HB_ANSITOOEM()
      functions).
    * Formatting.
    * Using '?' instead of QOUT(), plus added simpleio.ch to
      allow redirection of output.

  * contrib/make.hbs
    * Minor step to make dependency evaluation and automatic
      sorting of components for build.

  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    + Added -vcshead support for Monotone version control
      software.
    % Cleaned and optimized "in dir" C compiler run mode.
      (currently used by mingw)
    ! Fixed "in dir" C compiler run mode when using -jobs=
      option for multithreaded builds.
    % Little optimization to --hbinfo option.
2010-07-14 08:14:32 +00:00
Viktor Szakats
b981168cf6 2010-07-13 16:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to rebase -I dirs also, when using new in-dir mingw
      (experimental) call method.

  * contrib/hbmzip/hbmzip.c
  * contrib/hbbz2/hbbz2.c
  * contrib/hbmemio/memio.c
  * contrib/hbxpp/xppopc.c
  * contrib/hbmisc/strfmt.c
  * contrib/hbmisc/stringsx.c
  * contrib/hbtip/utils.c
    * HB_SIZE/HB_ISIZ variables renamed.

  * contrib/hbmemio/memio.c
    * HB_ULONG -> HB_SIZE in missing places.

  * contrib/hbtip/utils.c
  * contrib/hbtip/thtml.prg
    * PSTRCOMPI() function renamed to __TIP_PSTRCOMPI()
      INCOMPATIBLE: If someone by any chance used this internal
                    worker function in user code, pls update the name.
    % __TIP_PSTRCOMPI(): optimization.
2010-07-13 14:03:07 +00:00
Viktor Szakats
29cd12b694 2010-07-13 12:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbdoc.prg
  * include/hbextern.ch
    + Added __HBDOC_TOSOURCE( <aEntry> ) which is able to
      rebuild original HBDOC source from memory variable.
      ATM language information is lost in the process, this
      will have to be solved in the future.

  * utils/hbmk2/hbmk2.prg
    + Added experimental optimization to mingw build, where the
      compiler is called only once to compile all files. Since
      gcc doesn't have a switch for that, it's done in tricky
      way by changing directory and recalculating source dir
      relative from workdir. Now it's active by default, pls
      report any build errors, especially in multithreaded mode.

  * contrib/hbqt/generator/hbqtgen.prg
    * Cleanups

  * contrib/hbwin/win_shell.c
    ! Reverted previous patch 2010-07-13 08:55, it broke mingw builds.
2010-07-13 10:04:06 +00:00
Viktor Szakats
39a1464cc8 2010-07-12 21:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to not generate implibs in --hbinfo mode.

  * contrib/make.hbs
    % Minor.
2010-07-12 19:39:05 +00:00
Viktor Szakats
7f9fb4c0ee 2010-07-12 20:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to honor -stop option in -hbimplib mode.
    ! Fixed --hbinfo when there is missing dependency.

  * contrib/hbmysql/hbmysql.hbi
  * contrib/gtalleg/gtalleg.hbi
  * contrib/sddmy/sddmy.hbi
  * contrib/sddfb/sddfb.hbi
  * contrib/hbblat/hbblat.hbi
  * contrib/hbfbird/hbfbird.hbi
  * contrib/sddpg/sddpg.hbi
  * contrib/hbcurl/hbcurl.hbi
  * contrib/hbhpdf/hbhpdf.hbi
  * contrib/hbpgsql/hbpgsql.hbi
  * contrib/rddads/rddads.hbi
  * contrib/hbfimage/hbfimage.hbi
  * contrib/hbgd/hbgd.hbi
  * contrib/sddoci/sddoci.hbi
  * contrib/hbcairo/hbcairo.hbi
  * contrib/hbssl/hbssl.hbi
    + Added -stop option in case HB_WITH_* var is empty.
      This helps reducing some clutter in build log output.

  * contrib/make.hbs
    ! Fixed to clear target type detection result from previous
      contrib (even though such case cannot happen if hbmk2
      does it's job right)

  * contrib/hbdoc2/gentpl.prg
  * contrib/hbdoc2/gentxt.prg
  * contrib/hbdoc2/tmplates.prg
  * contrib/hbdoc2/genxml.prg
  * contrib/hbdoc2/genhtml.prg
  * contrib/hbdoc2/hbdoc2.prg
  * contrib/hbdoc2/hbdoc2.ch
    % Peeling off unused code and other cleanup work.
      (didn't retest)
2010-07-12 18:43:19 +00:00
Viktor Szakats
96e069c19e 2010-07-12 18:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbextern.ch
  * src/rtl/Makefile
  + src/rtl/hbdoc.prg
    + Added __HBDOC_LOADDIR() internal RTL function to read
      NFDOC formatted documentation source directories into
      memory. The result will be a list of hashes which contain
      the raw content of doc files. The function does format
      validation (but not content) and add all agreed-on metadata
      to the hashes.
      It's a start and I hope others can join to create new
      layers of function for below functionality:
         - doc content validation
         - pre-formatting
         - output generators
      The goal is to avoid local solutions and standardize
      the format.

  + tests/hbdoctst.prg
    + Added small test app which will find and parse all
      documentation inside the Harbour source tree and
      save them in .hbd (serialized doc hash) format.
      Such .hdb files can be generated by the build process
      in the future, so tools like HBIDE can use the content
      to display intellisense or built-in help.
    ; TODO: HBQT doc/html should be removed as it's 
            hbdoc tools' job to convert HBDOC source 
            format to html or whatever else format needed.

  * harbour.spec
  * debian/rules
  - doc/man
  + src/pp/hbpp.1
  + src/main/harbour.1
  + utils/hbmk2/hbmk2.1
  + utils/hbtest/hbtest.1
  + utils/hbrun/hbrun.1
    * Moved man doc files to their own component dirs.

  * doc/Makefile
  * doc/en/Makefile
  + doc/clipper.txt
  - doc/en/clipper.txt
    * Moved non-NFDOC formatted doc file to doc dir.

  * doc/en/Makefile
    ! Fixed missing 1stread.txt

  * doc/en/hb_apigt.txt
  * doc/en/hbinet.txt
  * doc/en/tbrowse.txt
  * doc/en/hb_apifs.txt
    ! Fixed NFDOC non-standard entries.

  * bin/hbxpatch.hbs
    ! Fixed detecting dirs. (could cause errors only in rare cases)

  * contrib/hbdoc2/tmplates.prg
    * Formatting.
2010-07-12 16:47:24 +00:00
Viktor Szakats
afab150393 2010-07-10 08:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbrun/hbrun.prg
    * Upped history length to 500 (from 128)

  * contrib/make.hbs
    * Skip hbppo projects.
    * Minor internal mods.

  * contrib/hbqt/hbqt_common.hbm
    ! Fixed hbmk2 plugin name.
2010-07-10 06:16:15 +00:00
Viktor Szakats
e98db3a241 2010-07-09 22:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + --hbrefs option renamed to --hbinfo and now also includes
      target type.
    + Extended target detection with 'hbppo' and 'hbhrb' types.
      These are automatically detected from Harbour option usage.
    + Added ${hb_outputname} macro. Returns the output name as
      specified with -o option, without extension. Returns empty
      if there wasn't -o option at the point of usage.
    + Added ${hb_outputdir} macro. Returns the output dir as
      specified with -o option. Returns empty if there wasn't
      -o option at the point of usage.
    + -p -s options don't require to manually select -hbraw
      mode, it will be autodetected.
    ! Fixed to not interpret -i- Harbour option as include dir.
    + Don't add the same Harbour option twice.

  * contrib/Makefile
  * contrib/make.hbs
  + contrib/hbpost.hbm
  + contrib/hbpre.hbm
    % Cleaned the way build options are passed to hbmk2.
    + Synced much more options and build behavior of hbmk2
      based contrib build with GNU Make build (debug, unicode,
      warnings, Harbour settings, C settings)
    + Added more projects to hbmk2 build method.
    % Deleted MS-DOS specific hack (for now) because the new
      cmdlines are very short.
    ; TODO: Now make.hbs is not self-contained, which would 
            better be solved somehow.

  * contrib/make.hbs
    + It will now detect and show target type in stdalone mode.
    + Synced default build options with GNU Make.

  * contrib/hbqt/hbqts.hbp
  * contrib/hbqt/hbqtguis.hbp
  * contrib/hbqt/hbqtcores.hbp
  * contrib/hbqt/hbqtnetworks.hbp
    + Added -hblib option to make it easy to detect target type
      for 3rd party tools.

  * contrib/hbnetio/utils/netiosrv.prg
    + Will now also accept .hbs and .prg files as RPC filters.

  - contrib/hbnetio/utils/modules
  * contrib/hbnetio/utils/modules.hbp
  + contrib/hbnetio/utils/rpcdemo.hbs
    * Renamed RPC demo to .hbs.
    * Deleted modules subdir.

  - contrib/hbnetio/utils/hbmk.hbm
  * contrib/hbnetio/utils/hbnetio.hbp
    - Deleted separate hbmk.hbm.

  * contrib/hbnetio/utils/netiocmd.prg
    ! Minor in help screen.

  * contrib/hbnetio/tests/netiotst.prg
    + Added some feedback.
2010-07-09 20:51:12 +00:00
Viktor Szakats
efecd00708 2010-07-08 10:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/mpkg_win_uni_extra_copy.bat
    + Include /doc/* tree in binary distro.
      This makes code generation and embedding that large amount 
      of generated code into hbide itself (at build time) unnecessary. 
      All hbide needs to do is processing these docs at runtime, and
      storing the results and index (f.e. as serialized hash into some 
      local cache dir in its setting area). At startup, periodically, 
      or by users request it can rescan the docs and regenerate its 
      caches.

  * utils/hbmk2/hbmk2.prg
    + Added nesting level information to --hbrefs output.
2010-07-09 08:02:45 +00:00
Viktor Szakats
3477752517 2010-07-08 17:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    + Added experimental dependency display in stdalone mode.
    * Reflist prefix changed to 'hbrefs{{' from '{{'

  * contrib/gtalleg/gtalleg.hbc
  - contrib/gtalleg/gtallegs.hbc
  * contrib/hbqt/gtqtc/gtqtc.hbc
  - contrib/hbqt/gtqtc/gtqtcs.hbc
  * contrib/hbqt/hbqt.hbc
  - contrib/hbqt/hbqts.hbc
  * contrib/hbcurl/hbcurl.hbc
  - contrib/hbcurl/hbcurls.hbc
  * contrib/hbssl/hbssl.hbc
  - contrib/hbssl/hbssls.hbc
    * Merged static .hbc files into "normal" .hbc files. Now static
      mode can be selected by setting HB_STATIC_* to 'yes' or '1'.
    ; TODO: Rename HB_QT_STATIC to HB_STATIC_QT.
    ; TODO: Document new setting in install.

  * contrib/hbssl/tests/test.prg
    ! Fixed warning.

  * utils/hbmk2/hbmk2.prg
    % Cleaned code path in --hbrefs mode.
2010-07-08 15:33:04 +00:00
Viktor Szakats
6f62ea6086 2010-07-08 14:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbrun/hbrun.prg
    ! Fixed to open .dbf passed on the cmdline in shared mode.
2010-07-08 12:54:57 +00:00
Viktor Szakats
215d789c6d 2010-07-08 13:22 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added --hbref option which outputs project references (.hbc) 
      to stdout in machine parsable format.
2010-07-08 11:22:51 +00:00
Przemyslaw Czerpak
22100001e8 2010-07-08 12:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbpp.h
  * harbour/include/hbmacro.h
  * harbour/include/hbcomp.h
  * harbour/include/hbcompdf.h
  * harbour/include/hbexprb.c
  * harbour/src/pp/ppcore.c
  * harbour/src/compiler/hbmain.c
  * harbour/src/vm/macro.c
    ! fixed code used to decide about early and late macro
      evaluation in codeblocks to be exactly Clipper compatible.
      Now if codeblock contains at least one macro variable
      (i.e.: &var, any&var, any&var.2) then it's always early
      evaluated.
      Please remember that codeblocks which contains only simple
      macro variable ( &var[.] ), i.e.:
         {|| &var }
      are modified during compilation by Clipper and Harbour compilers to:
         &( "{||" + var + "}" )
      and then PCODE is generated. It allows to use LOCALs, STATICs and
      FIELDs as 'var' in such expressions. In xHarbour above functionality
      was extended to work also with macrotext variables, i.e.:
         {|| &var.2 }
      If you think it's important extension then I can make the same
      in Harbour or I can even implement it for all codeblock expressions
      with macros using declared non memvar symbols, i.e.
         {|| &var + 1 }
      what should effectively eliminate E0047 compile time error
    ! fixed compile time error E0042 "Macro of declared symbol..."
      to be generated with the same conditions as in Clipper.
    ! fixed compile time error E0047
         "Code block contains both macro and declared symbol references..."
      to be generated with the same conditions as in Clipper.
      Note: -km switch disables macro text evaluation so also above errors
      unless macro is not used in codeblock

      Warning: above modifications can cause compile time errors in some
               code which was not Clipper compatible and in such case they
               will have to be updated.

  * harbour/utils/hbtest/rt_math.prg
    ! updated code with Clipper incompatible code exploited by above
      modifications
2010-07-08 10:35:53 +00:00
Viktor Szakats
408c49807b 2010-07-08 11:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/hbxpatch.hbs
  * utils/hbmk2/hbmk2.prg
  * contrib/make.hbs
  * config/postinst.hbs
  * contrib/hbide/idemisc.prg
  * contrib/hbide/idefunctions.prg
    * hbmk2 rooted filename/path handling functions renamed.
      Now they are in sync with hbmk2_*() (plugin) flavour.
      With their new names they could even be included in core,
      by adding an hb_ prefix to them.
    * Renamed one internal constant in hbmk2.

  * contrib/hbide/idemisc.prg
    - Deleted unused hbmk2 function.
2010-07-08 09:57:52 +00:00
Viktor Szakats
b03d24742a 2010-07-08 08:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/filesys.c
  * src/rtl/filebuf.c
  * src/rtl/fssize.c
    * HB_FOFFSET vars renamed to have n prefix (instead of ul and ll)

  * contrib/make.hbs
    ! Fixed output dirs in stdalone mode.

  * contrib/hbsqlit3/hbsqlit3.c
  * contrib/hbwin/olecore.c
  * contrib/hbwin/win_bmp.c
    * HB_SIZE vars renamed.

  * utils/hbmk2/hbmk2.prg
    % Never delete the same file twice in -hbimplib -clean mode.
2010-07-08 06:50:49 +00:00
Viktor Szakats
2080c12848 2010-07-07 20:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
    ! Fixed stdalone mode to create target in their usual GNU Make
      target dir.
    ! Fixed HB_BUILD_NAME handling.

  * INSTALL
  * utils/Makefile
  * config/postinst.hbs
    % Changed postinst to create .hbl file on its own behalf without 
      calling hbi18n.
2010-07-07 18:42:26 +00:00
Viktor Szakats
c65a870d94 2010-07-07 12:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/idemisc.prg
  * contrib/hbide/ideprojmanager.prg
    + Using hbmk2 to do xMate conversion.
      It's now also possible to convert from hbmake (I don't
      its standard extension), and xbuild projects (I didn't
      add it to the UI though).
      Please fix me: I'm still having a hard-time telling
      hbide where hbmk2 is. Plus I used hb_processRun(), pls
      replace it with any method is fit for hbide.
    - Deleted redundant copy-pasted (and outdated) code from
      hbmk2 hbide source into hbide. (BTW their licence
      was also incompatible, pls don't put it back there)

  * utils/hbmk2/hbmk2.prg
    + Added comments to converted .hbp files about the original
      source and format.
2010-07-07 10:52:54 +00:00
Viktor Szakats
5994143e6a 2010-07-07 10:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/postinst.hbs
    + Using hbi18n tool to generate .hbl files to utils.
      (currently hbmk2 only)
      This fixes missing .hbl after latest changes which dropped
      regenerating utils at postinst phase. At the same time it
      enables .hbl file generation for all platforms. The logic
      will automatically generate .hbl files for all .po files
      found under any utils.

  * INSTALL
  * utils/Makefile
    + Added hbi18 to the list of tools required to build Harbour
      in cross-platform situations.

  * contrib/hbqt/hbmk2_plugin_qt.hbs
    ! Fixed QT tools detection on HB_WITH_QT.
2010-07-07 08:09:04 +00:00
Viktor Szakats
e61f14aa97 2010-07-07 01:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + -autohbc now has natural defaults, header part will
      automatically get .ch extension, .hbc part will automatically
      get .hbc extension. If .hbc is not specified, it will become
      the same as header name. So f.e. '-autohbc=hbwin.ch:hbwin.hbc'
      can be written simply as: '-autohbx=hbwin'.
2010-07-06 23:46:39 +00:00
Viktor Szakats
b40cb9810c 2010-07-07 01:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    + Added new experimental feature:
         .hbp: -autohbc=<.ch>:<.hbc>
         .hbc: autohbcs=<.ch>:<.hbc>
      If such setting is used, f.e. in hbmk.hbc, it's possible
      to automatically trigger .hbc files by key headers.
      So f.e. if 'autohbcs=hbwin.ch:hbwin.hbc' is added to
      hbmk.hbc, every projects where any .prg file references
      hbwin.ch will automatically include hbwin.hbc, thus setting
      up headers dir, libs and everything else that's required
      for hbwin.
    % Minor opt to -instfile handling.
2010-07-06 23:04:35 +00:00
Viktor Szakats
db1fbb5aed 2010-07-06 21:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbrun/hbrun.prg
    ! Don't search passed program in PATH and hbrun dir, if
      program name has path component.

  * contrib/xhb/xhbenum.c
  * contrib/xhb/xhbqself.c
  * contrib/xhb/xhbwith.c
  * contrib/xhb/xhberrc.c
    ! Fixed msvc64 warnings after HB_SIZE extension in stack API.

  * contrib/make.hbs
    + Added logic to protect against case when 'clean install'
      is used but hbrun or hbmk2 isn't available when launching
      the make process. In this case 'clean' phase won't be executed
      for contribs, which is solved by forcing a -rebuild in
      'install' phase.

  * src/vm/strapi.c
  * src/vm/runner.c
  * src/vm/itemapi.c
  * src/vm/asort.c
  * src/vm/hvm.c
  * src/vm/arrays.c
  * src/vm/memvars.c
  * src/vm/set.c
  * src/vm/classes.c
  * src/rtl/lennum.c
  * src/rtl/strcase.c
  * src/rtl/replic.c
  * src/rtl/padr.c
  * src/rtl/padc.c
  * src/rtl/strtran.c
  * src/rtl/strtoexp.c
  * src/rtl/padl.c
  * src/rtl/saverest.c
  * src/rtl/right.c
  * src/rtl/philes.c
  * src/rtl/mlcfunc.c
  * src/rtl/left.c
  * src/rtl/xsavescr.c
  * src/rtl/setkey.c
  * src/rtl/stuff.c
  * src/rtl/trace.c
  * src/rtl/samples.c
  * src/rtl/inkeyapi.c
  * src/rtl/inkey.c
  * src/rtl/mtran.c
  * src/rtl/colorind.c
  * src/rtl/rat.c
  * include/hbapi.h
  * include/hbapistr.h
    * Renamed HB_SIZE variables to have 'n' prefix.
      (verified to generate the same objects as before)

  * src/rtl/philes.c
    * Changed hb_retnint()/hb_retni() to hb_retns().

  * contrib/hbgd/gdwrp.c
    * Formatting.
2010-07-06 19:02:19 +00:00
Viktor Szakats
f5e67a0595 2010-07-06 14:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbrun/hbrun.prg
    + Extended to look in current dir, hbrun dir and PATH for 
      passed script name, if no extension was passed, it will 
      try .hbs and .hrb in that order. This means hbrun is 
      pretty much like a shell command processor now.

  * bin/hbxpatch.hbs
  * utils/hbmk2/hbmk2.prg
  * utils/hbrun/hbrun.prg
  * contrib/hbqt/hbmk2_plugin_qt.hbs
  * config/postinst.hbs
    * HB_OSPATHSEPARATOR() -> HB_PS()
    * HB_OSNEWLINE() -> HB_EOL()

  * utils/hbmk2/hbmk2.prg
    * Using string literals instead of Chr() in few places.
    ! FindInPath() corrected to honor original dir in filename
      it receives. This may affect plugins if they pass such
      argument.
2010-07-06 12:08:09 +00:00
Viktor Szakats
cfc7da6972 2010-07-06 12:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Added strict parameter checking in sensitive places.
2010-07-06 10:29:14 +00:00
Viktor Szakats
126a3a7c17 2010-07-05 12:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbmk2_plugin_qt.hbs
    + Return errors if required tools are not detected.
      (these errors are not yet all handled by hbmk2)
    + Refined tools detection on Windows to not try HB_WITH_QT 
      if not set at all.
    ! Fixed tool detection failure err msg to display proper 
      list of envvars able to control the process.

  * contrib/makefile.hbs
    + Employed several different techniques to avoid long 
      cmdline length to make certain (f.e. MS-DOS) hosts happy.
    
  * utils/hbmk2/hbmk2.prg
    + Added hbmk2_ArrayToList() function.
2010-07-06 10:15:45 +00:00
Viktor Szakats
33278e8726 2010-07-05 22:24 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/makefile.hbs
  * utils/hbmk2/hbmk2.prg
    - Deleted support for compatibility hbmk/hbmk2/bld.bat envvars below:
      - HB_MT
      - HB_GUI
      - HB_SHARED
      - HB_DEBUG
      - HB_NULRDD
      - HB_GT
      INCOMPATIBILITY. Use HBMK_OPTION envvar instead with regular 
      hbmk2 options: 'HBMK_OPTION=-mt -gui' etc.
2010-07-05 20:25:20 +00:00
Viktor Szakats
675fbb9dd9 2010-07-05 22:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + -instfile will now only copy changed files in -inc mode.

  * contrib/makefile.hbs
    - Deleted verbose hbmk2 output.
2010-07-05 20:17:19 +00:00
Viktor Szakats
b79a0b06e3 2010-07-05 21:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Will now strip all path components from -instfile before
      forming the target filename.
    ! Won't turn off anymore the -info flag when speccing the
      build type.
    + Will now copy -instfiles even if the targe is up to date
      (in such case the target itself won't be copied)
2010-07-05 19:57:36 +00:00
Viktor Szakats
89b820df50 2010-07-05 19:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added support for -instpath in -hbimplib mode.
      This should fix missing implibs after recent make system rework.

  * contrib/makefile.hbs
    ! Fix to prev.
2010-07-05 17:59:40 +00:00
Viktor Szakats
f406d9075c 2010-07-05 19:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + -clean will now delete the target for -hbdyn, -hblib and default
      -hbexe modes. .bak is also deleted for -hblib mode.
      Probably more autogenerated extensions will have to be deleted
      here to become in sync with globsh.mk.
    + Extended -instfile and -instpath support to also accept
      a file group prefix. This way multiple set of files can be
      copied to a set of target directories.
    ; TODO: Change all -instfile options to point to 'inc' group.
    + dos/djgpp will now use -gstabs+ for debug mode instead of -g.
      Following change made in GNU Make system by Tamas.

  * contrib/makefile.hbs
    + Reworked the way GNU Make operations are mapped to hbmk2
      actions. F.e. 'clean install' needs special attention as
      plain clean cannot be done because
    + Added hbblat to limited set of test contribs.
    + Better isolation and preparation of hbmk2 configuration.
    + Cleanups to dynamic lib creation from contribs.
    + Added experimental support to install headers similarly
      as GNU Make does.

  * Makefile
    ! Fixed to reverse order and dependency of contrib and utils
      trees in clean without install mode. In pure clean mode,
      the contribs need to be traversed first, because hbrun and
      hbmk2 are required for this task.

  * Makefile
  * contrib/Makefile
    + Will now inform about missing hbrun and .hbs scripts not
      run because of it.

  * examples/hbapollo/hbapollo.hbp
    * -instfile updated with header file group.

  * src/rtl/hbproces.c
    ! Fixed some unused variable warnings experienced with poccarm.

  ; Patches from Tamas Tevesz:

  * config/dos/djgpp.mk
    + debug switch changed to -gstabs+ from -g. Following this:
      http://www.delorie.com/djgpp//mail-archives/thread.cgi?msg=djgpp-workers/2002/05/29/06:33:31&mode=frames

  * bin/hbxpatch.hbs
    * Updated after latest changes. Thanks!

  * src/common/hbver.c
    ! Fix for pcc detection.

  * src/rtl/gtdos/gtdos.c
  * src/rtl/hbproces.c
    ! MS-DOS fixes for TRACE() messages.
2010-07-05 17:14:21 +00:00
Viktor Szakats
4b671e29a3 2010-07-05 03:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    + Added -instfile= option, instfiles= .hbc option and hbmk2 plugin
      API to add new files to the list of files to be copied to
      -instpath= targets. This option makes it possible to install
      extra files along the target lib or exe itself, f.e. headers
      or other supplementary files. This option only works for
      -instpath= options which point to a dir (not a file).

  * contrib/gtwvg/gtwvg.hbp
  * contrib/hbblat/hbblat.hbp
  * contrib/hbblink/hbblink.hbp
  * contrib/hbbz2/hbbz2.hbp
  * contrib/hbcairo/hbcairo.hbp
  * contrib/hbclipsm/hbclipsm.hbp
  * contrib/hbct/hbct.hbp
  * contrib/hbcurl/hbcurl.hbp
  * contrib/hbfimage/hbfimage.hbp
  * contrib/hbfoxpro/hbfoxpro.hbp
  * contrib/hbgd/hbgd.hbp
  * contrib/hbhpdf/hbhpdf.hbp
  * contrib/hbmysql/hbmysql.hbp
  * contrib/hbmzip/hbmzip.hbp
  * contrib/hbnf/hbnf.hbp
  * contrib/hbodbc/hbodbc.hbp
  * contrib/hbpgsql/hbpgsql.hbp
  * contrib/hbqt/gtqtc/gtqtc.hbp
  * contrib/hbqt/hbqt.hbp
  * contrib/hbsqlit3/hbsqlit3.hbp
  * contrib/hbssl/hbssl.hbp
  * contrib/hbtip/hbtip.hbp
  * contrib/hbtpathy/hbtpathy.hbp
  * contrib/hbwin/hbwin.hbp
  * contrib/hbxbp/hbxbp.hbp
  * contrib/hbxpp/hbxpp.hbp
  * contrib/rddads/rddads.hbp
  * contrib/rddsql/rddsql.hbp
  * contrib/xhb/xhb.hbp
    + Added -instfile= options for headers installed by Makefile.
    ; TODO: Make copying of headers to central dir unnecessary on
            *nix platforms as well.

  * contrib/makefile.hbs
    * Updated TODOs.

  * contrib/hbqt/gtqtc/gtqtc.hbp
    % Deleted -pi= option.

  * contrib/hbqt/gtqtc/gtqtcs/Makefile
    * Not needed to install headers from secondary (static) Makefile.

  * examples/gfspell/gfspell.hbp
  * examples/gtwvw/gtwvw.hbp
  * examples/hbapollo/hbapollo.hbp
  * examples/hbbtree/hbbtree.hbp
  * examples/hbdoc2/hbdoc2.hbp
  * examples/hbextern/hbextern.hbp
  * examples/hbsqlit2/hbsqlit2.hbp
  * examples/hbvpdf/hbvpdf.hbp
  * examples/ps32/ps32.hbp
  * examples/rddado/rddado.hbp
  * examples/superlib/superlib.hbp
    + Added -instfile= options for headers installed by Makefile.
    + Added -w option where missing.
    - Deleted -q0, -l where present.
    + Synced output setup with contribs.
    ! Added hbxpp.hbc reference for ps32.
    + Added dependency detection for hbsqlit2, hbapollo.
    ! hbdoc2 GT changed to GTCGI.

  ; Now the contrib and examples .hbp files are completely on the same 
    feature level.
2010-07-05 01:42:08 +00:00
Viktor Szakats
770ba979bb 2010-07-05 00:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + -width=0 now means unlimited width.

  * contrib/makefile.hbs
  * contrib/hbide/ideprojmanager.prg
    * Changed to use -width=0.
2010-07-04 22:59:18 +00:00
Viktor Szakats
abba1977a2 2010-07-04 20:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * external/Makefile
  * contrib/Makefile
  * utils/Makefile
    - Deleted HB_CONTRIB_ADDONS, HB_EXTERNAL_ADDONS,
      HB_UTIL_ADDONS.
    + Documented HB_ADDONS_LIB, HB_ADDONS_BIN (still not
      necessarily the final names)

  * package/winuni/mpkg_win_uni_extra_copy.bat
  * package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
    + Included hbnetio in Windows based installers.
      (.zip already had it after previous changes)

  * package/winuni/mpkg_win_uni_extra_copy.bat
  * package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
  * config/postinst.hbs
    - Deleted building hbrun-dll. It makes simpler,
      won't be missed by too many users. Users needing
      fully shared binaries can use HB_BUILD_SHARED=yes.
2010-07-04 18:48:39 +00:00
Viktor Szakats
58eedb8120 2010-07-04 15:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* harbour-win-spec
  * harbour-wce-spec
  * harbour.spec
  * package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
  * config/postinst.hbs
    * Renamed hbmk.cfg to hbmk.hbc, to use std extensions.
      This file is a sortof autoexec.hbc.

  * utils/hbmk2/hbmk2.prg
    - Deleted line from help about automatic .hbc processing in cwd.
2010-07-04 13:54:29 +00:00
Viktor Szakats
d87556957e 2010-07-04 15:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* COPYING
  * utils/hbmk2/examples/plug_tpl.hbs
  * contrib/hbqt/hbmk2_plugin_qt.hbs
    + Changed to use same license as hbmk2 (pure GPL) 
      also for hbmk2 plugin scripts.

  * utils/hbmk2/hbmk2.prg
    ! Corrected to display any type of return value coming from 
      plugins. (all non-empty return value is considered an error)
s
2010-07-04 13:47:00 +00:00
Viktor Szakats
c1917d29a2 2010-07-04 15:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/patchup.hbs
  * contrib/hbqt/hbmk2_plugin_qt.hbs
  * contrib/makefile.hbs
  * contrib/hbide/plugins/savebackup.hbs
  * utils/hbmk2/examples/plug_tpl.hbs
  * config/postinst.hbs
    + Added license headers, information about script content 
      and context.
2010-07-04 13:28:25 +00:00
Viktor Szakats
ade4707157 2010-07-04 14:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- bin/patchup.prg
  + bin/patchup.hbs
  - utils/hbmk2/examples/plug_tpl.prg
  + utils/hbmk2/examples/plug_tpl.hbs
  - contrib/hbide/plugins/savebackup.prg
  + contrib/hbide/plugins/savebackup.hbs
    * Renamed standalone and plugin Harbour scripts
      to have .hbs extension.

  * contrib/hbqt/hbqt.hbc
  - contrib/hbqt/hbmk2_plugin_qt.prg
  + contrib/hbqt/hbmk2_plugin_qt.hbs
    * Renamed standalone and plugin Harbour scripts
      to have .hbs extension.

  * contrib/Makefile
  - contrib/makefile.prg
  + contrib/makefile.hbs
    * Renamed standalone and plugin Harbour scripts
      to have .hbs extension.

  * Makefile
  - config/postinst.prg
  + config/postinst.hbs
    * Renamed standalone and plugin Harbour scripts
      to have .hbs extension.
2010-07-04 13:02:00 +00:00
Viktor Szakats
1ff4a5ee13 2010-07-02 10:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added feature for plugins to register the file extensions
      they can handle. This makes -pi option unnecessary for
      passing special file types to the build process. File types
      handled by hbmk2 cannot be overridden this way, if you want
      to do such thing -pi option is required, this is by design,
      and this way plugins cannot inadvertently mess up the build
      process.
    + Added strict parameter checking to hbmk2 plugin functions
      which requires the hbmk2 context. Now calling them with bad
      parameters won't cause RTE inside hbmk2 code.

  * contrib/hbqt/hbmk2_plugin_qt.prg
    + Registering the file types the plugin can handle.

  * contrib/hbqt/hbqtcore.hbp
  * contrib/hbqt/qtwebkit/hbqtwebkit.hbp
  * contrib/hbqt/hbqscintilla/hbqscintilla.hbp
  * contrib/hbqt/hbqtnetwork.hbp
  * contrib/hbqt/qtdesigner/hbqtdesigner.hbp
  * contrib/hbqt/hbqt.hbp
  * contrib/hbqt/hbqtgui.hbp
  * contrib/hbide/hbide.hbp
    - Dropped -pi option. It is now unnecessary in these cases
      (well, all cases in Harbour)

  * contrib/hbqt/hbqscintilla/hbqscintilla.hbp
    ! Fixed content. The referenced plugin name was deleted quite
      long ago already when this file was committed. Was this
      file ever tested before commit?

  + contrib/hbqt/tests/harbour-logo.png
  + contrib/hbqt/tests/harbour-icon.png
  + contrib/hbqt/tests/testres.prg
  + contrib/hbqt/tests/testres.qrc
    + Added example for QT resource embedding.
      Sent to the list by Bacco, with my cleanups, formatting,
      renames etc. I didn't add a .hbp file for it, so pls
      remember to build it using:
         'hbmk2 testres testres.qrc'
2010-07-03 08:47:53 +00:00
Viktor Szakats
dd3e0a139b 2010-07-02 14:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbmk2_plugin_qt.prg
    + Activated new resource binary generator code, which
      doesn't require qt headers anymore.

  * contrib/hbqt/hbqt.hbc
    - Deleted qt dependency. Not needed anymore.

  * contrib/Makefile
  * contrib/makefile.prg
    + Some contrib libs will now be built using new hbmk2 based
      method as an experiment.
    + hbnetiosrv will now be built as well using hbmk2, also as
      an experiment.

  * contrib/hbide/hbide.prg
    + Loading resources manually using new QResource method
      implemented by Bacco.

  * utils/hbmk2/hbmk2.prg
    + Implemented support for #import Objective C specific
      directive when detecting header dependencies.
    * .m extension is now compiled with C compiler (not C++)
    - Deleted 'experimental' status from plugin related options.

  ; Patches from Bacco:

  * contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/qth/QResource.qth
  * contrib/hbqt/qtcore/TQResource.prg
  * contrib/hbqt/qtcore/QResource.cpp
  * contrib/hbqt/doc/en/class_qresource.txt
  * contrib/hbqt/hbqt.h
    + Added QResource:registerResource()/QResource:unregisterResource()
    * With some minor modification from me (unsigned char -> uchar,
      some formatting)

  ; Patches from Tamas Tevesz:

  * src/rtl/memvarhb.prg
  * src/rtl/hbcom.c
    * Tweaks for prev patch: formatting and .hbv type description.

  ; Thanks to both contributors!
2010-07-02 12:36:21 +00:00
Viktor Szakats
dd03d682f3 2010-07-01 17:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/memvarhb.prg
    + Added file signature and version no. to .hbv files.
    ; Patch by Tamas Tevesz with a few modifications:
      - added high byte at 1st pos is signature
      - deleted RTEs in case of invalid file content on load
        (to mimic original __MVRESTORE() which is also silent)
      - minor optimization on signature checking.
    ; INCOMPATIBLE: The file format has changed so you won't be 
                    able to interchange it with previous 
                    versions of Harbour. Anyhow it's very new 
                    format, so this shouldn't affect many users.

  * utils/hbmk2/hbmk2.prg
  * utils/hbrun/hbrun.prg
    + Shows .hbs as support input file format (where applicable)
    ! Little fix in displaying options w/o description on help
      screen.

  * utils/hbrun/hbrun.prg
    + Added clipboard paste support with Alt+V key.

  * contrib/hbide/hbide.prg
    - Temply disabled reference to new-style embedded resources.
2010-07-01 15:35:07 +00:00
Viktor Szakats
f90c989f05 2010-07-01 09:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbmk2_plugin_qt.prg
    + Added .qrc to .prg generator logic.
    ! Fixed .qrc to .c generator leaving last few bytes off.
    % Optimized .qrc to .c generator output to have only one
      line.

  * utils/hbrun/hbrun.prg
    + Internal history length changed to 128 (from 32).
    - Deleted extra limit on number of saved history items.
    % Minor optimization to history saving.

  * src/rtl/gtsln/gtsln.c
    * Whitespace formatting.
2010-07-01 07:58:22 +00:00
Viktor Szakats
4be088168f 2010-07-01 00:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/std.ch
    + Added .hbv version of SAVE TO / RESTORE FROM commands.
      Use 'SAVE HBV ...' and 'RESTORE HBV ...' commands to
      use Harbour specific mem file format (with .hbv extension).
      The file format supports long variable names and much
      larger amount of data then Clipper compatible .mem files. 
      The file format is NOT compatible with Clipper.
    ; Pls review. This is my first time extending Harbour
      commands, plus I'm not very much a command freak, so
      maybe there is more natural (and compatible) way to
      extend existing SAVE/RESTORE command.

  * utils/hbrun/hbrun.prg
    * Variable scope cleanup to prev.
2010-06-30 22:47:20 +00:00
Viktor Szakats
81947ae787 2010-06-30 23:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gttrm/gttrm.c
    + GTTRM will now generate HB_K_RESIZE Harbour INKEY() events
      if the terminal window is resized.

  * utils/hbrun/hbrun.prg
    + Will now automatically resize the UI if the window is
      resized (on GTs which support this: GTTRM, GTWVT, GTXWC)
    + Now shows little red 'o' sign if history recording is enabled (default)
    + Set resize mode to 'rows' (only meaningful if using GTs
      that support it).
    % hbrun_Info() optimized.
2010-06-30 21:58:38 +00:00
Viktor Szakats
b2d1490a06 2010-06-30 22:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbrun/hbrun.prg
    + Added load/save of command history.
      It can be disabled by -p cmdline option or by adding
      a single line "no" (without quotes) to the history filename.
      Otherwise last 500 commands will be remembered.
      History filename is %APPDATA|HOME%/.harbour/.hbrun_history
      if such envvar is present, otherwise hbrun dir. On MS-DOS
      it's hbrun dir and hbrunhst.ini.

  * utils/hbmk2/hbmk2.prg
    * Minor variable/constant name cleanup.

  * contrib/hbqt/hbmk2_plugin_qt.prg
    ! Typo in #if statements.
2010-06-30 21:02:04 +00:00