Commit Graph

10133 Commits

Author SHA1 Message Date
Viktor Szakats
ccab51d63e 2009-03-05 21:05 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbextern.ch
    + Added HB_SETENV()

  * utils/hbmk2/hbmk2.prg
    * Minor cleanups.

  * contrib/examples/uhttpd/uhttpd.hbm
    - Removed -n. It's now automatic.
    ; TODO: Remove the rest.

  * INSTALL
  * doc/man/hbmk.1
  + config/win/icc.cf
  * utils/hbmk2/hbmk2.prg
    + Added Intel(R) C++ compiler support for Windows.
    + Added initial support also in hbmk2.
    ; This compile is actively developed and its famous of
      generating the fastest running code of all C compilers.
      It also outputs an extremely detailed warning list.
      And the best thing: It compiled Harbour without a single
      hitch. hbtest is also running fine. hbmk2 is able to
      create executables.
2009-03-05 20:12:47 +00:00
Przemyslaw Czerpak
d44ee7b66b 2009-03-05 19:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi.h
  * harbour/include/hbwince.h
  * harbour/source/common/hbgete.c
  * harbour/source/common/hbwince.c
    + added BOOL hb_setenv( const char * szName, const char * szValue )
      It sets or deletes (szValue==NULL) environment variable.
      Please add support for other compilers/OS-es or define
      unsupported platforms to eliminate TODO warning.
      For sure OS2 version have to be updated.

  * harbour/source/rtl/gete.c
    + added .prg function:
         HB_SETENV( <cEnvName>, [<cNewVal>] [, <lOsCP>] ) -> <lOK>
      which sets or deletes (when <cNewVal> is NIL) process environment
      variable <cEnvName>. <lOsCP> controls character translation to
      OS encoding. By default is enabled.
      TOFIX: <cEnvName> OS character encoding is missing in [HB_]_GETENV()
2009-03-05 18:38:33 +00:00
Przemyslaw Czerpak
edda1a9e26 2009-03-05 18:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/common/hbprintf.c
    * do not use modfl() in WinCE POCC builds. If MSVC also does not
      support if in WinCE builds then please change the condition to
      global HB_OS_WIN_CE
2009-03-05 17:05:04 +00:00
Viktor Szakats
0fc19c1773 2009-03-05 16:39 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* doc/man/hbmk.1
  * INSTALL
  * utils/hbmk2/hbmk2.prg
  - config/win/dmc.cf
  - config/os2/icc.cf
    - Removed win/dmc (Digital Marc C) C compiler from supported
      compiler list. The compiler was added last year, but
      it turned out to be too buggy for any kind of production
      work, and the compiler's development seem to have been
      stalled year ago.
      This is part of the pruning effort to leave here what's
      really needed and beneficiary for users. This will
      reduce the test matrix and give way to more important
      things.
    - Removed os2/icc. IBM Visual Age isn't available for OS/2
      since very long, and no one seems to use this compiler
      on this platform. Harbour support also wasn't tested
      since long.
2009-03-05 16:30:13 +00:00
Viktor Szakats
75e15add2f 2009-03-05 16:16 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* doc/man/hbmk.1
  * INSTALL
  * utils/hbmk2/hbmk2.prg
  - config/win/icc.cf
    - Deleted win/icc from supported compiler list. This was
      never working and the compiler isn't available anymore
      for Windows. For AIX we could support it though.

  * INSTALL
    * Minor typos.

  * mpkg_win.bat
    + Added zip link. Made NSIS link more direct.
2009-03-05 15:19:28 +00:00
Viktor Szakats
5605baae46 2009-03-05 15:10 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
    * Deeper link to MinGW GNU Make download.
2009-03-05 14:10:53 +00:00
Viktor Szakats
b16d514cf8 2009-03-05 14:38 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* doc/man/hbmk.1
  * INSTALL
  * utils/hbmk2/hbmk2.prg
  * config/dos/global.cf
  - config/dos/rsx32.cf
  - config/win/rsxnt.cf
    - Pruned rsx32 and rsxnt compiler support. Both are dead
      product since long years. Their successor is MinGW on win,
      and DJGPP on dos.
    ; NOTE: More candidates for such pruning are:
            - dmc (buggy and compiler not updated)
            - xcc (based on very old version of pocc)
            Any opinions?

  * config/dos/global.cf
    - Cleaned emx, watcom, rsx, bcc16 related branches.

  * mpkg_win.bat
  * mpkg_win.nsi
    ! Exclusion of junk files is now done in batch, so
      the .zip is now also free from them.
2009-03-05 13:45:42 +00:00
Przemyslaw Czerpak
a6ecb96dbf 2009-03-05 14:34 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbdefs.h
  * harbour/source/vm/hvm.c
    * respect HB_START_PROCEDURE in all builds if such public
      function/procedure exists.
      Now whole Harbour code can be compiled with -n1 in all builds.
      Warning for Windows/DOS users:
         if you have main() function in your .prg code then it will be
         automatically detected as application startup entry just like
         in other systems.
         Otherwise the 1-st linked function will be used like so far.
    + added HB_START_PROC_STRICT macro which causes that HVM ignores
      HB_FS_FIRST attribute. Before this modification HB_START_PROCEDURE
      has such meaning.
2009-03-05 13:29:10 +00:00
Przemyslaw Czerpak
5e1a82d03c 2009-03-05 12:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/hbgtcore.c
    * small modification in instruction order as workaround for PellesC bug
2009-03-05 11:43:16 +00:00
Przemyslaw Czerpak
bdd008af0b 2009-03-05 12:04 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/memvars.c
    ! added protection against pushing new private variable on HVM stack
      if such private variable is already created by the same function.
      Clipper also has such protection. This code illustrates it:
         proc main()
            memvar var1, var2, var3
            private var1 := "a", var2 := "b", var3 := "c"
            ? var1, var2, var3
            private var1 := "A", var2, var3 := "C"
            ? var1, var2, var3
            private var1 := NIL, var2, var3
            ? var1, var2, var3
         return
      compare Clipper and current Harbour results with old Harbour ones or
      with xHarbour results.
2009-03-05 10:59:23 +00:00
Viktor Szakats
ec9b7f86e6 2009-03-05 11:36 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added -prgflag:, -cflag:, -ldflag: options.
      To lessen the chance to mess up hbmk and underlying
      tools, only "-" and (on non-*nix) "/" prefixed values
      are accepted. Values are slash corrected by hbmk and
      filters can also be used.
    + -hbcc and -hblnk will now consider raw (unrecognized and
      prefixed) options as C/linker flags respectively. Values
      are slash corrected and filters can also be used.
    ; NOTE: Passing C/linker flags directly to underlying
            tools isn't a very good idea if you want to stay
            portable across tools and OSes. The only exception
            is the '-D' C flag which seems universally available
            on all C compilers.
    * "/" prefixed Harbour options will now be recognized
      in normal mode on non-*nix systems.
    ! DOS EOL char is now ignored in .hbp/.hbm files.
    + Added -bm owatcom C compiler switch in -mt mode for win/os2/linux.
      Pls test on os2/linux.
    * TOFIX: Attempted to add -gui support for win/owatcom. Harbour
             still complains about "It's not a GUI app". This compiler
             is a real bitch with tons of similarly looking options
             and no adequate online docs, so if someone feels like
             it, pls correct the TOFIX section in source.
             Until then GTWVT and GTWVG won't work with owatcom.
    ; NOTE: Most probably not, but I hope hbmk2 now qualifies for
            "basic functionality".

  * mpkg_win.nsi
    ! Fixed to not include some more unnecessary files generated
      by certain linkers along the build process.
2009-03-05 10:52:16 +00:00
Viktor Szakats
9ef37d449f 2009-03-04 19:34 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/compiler/ppcomp.c
    ! #pragma -k? options are now case-insensitive like all
      other Harbour options.
      This completes this change:
      2008-08-06 22:18 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
2009-03-04 18:36:10 +00:00
Viktor Szakats
ecfc3b57fa 2009-03-04 18:42 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added warning msg if referenced .hbm file cannot be found.
    + filename without extension referenced with @ prefix
      will get an .hbm extension added automatically.
    ! Typo in prev fixed.
    * Filename updated in comment.
2009-03-04 17:43:33 +00:00
Viktor Szakats
32c306782c 2009-03-04 17:59 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* doc/man/hbmk.1
    * Updates. Work in progress.

  * utils/hbmk2/hbmk2.prg
    + Added man page, troff/groff links.
    ! Reversed the logic shared lib paths were included by.
    * Changed the meaning -hbcc again. Now it will switch hbmk2
      to a mode where it accept -c option. If -c is sensed, it
      will stop after calling the C compiler.
    ! gtwxc removed from default GT list for *nix systems.
      It should be added there by hbmk.cfg.
2009-03-04 16:59:55 +00:00
Przemyslaw Czerpak
290bb4d2b7 2009-03-04 15:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/make_gnu.sh
    * small cleanup
2009-03-04 13:56:29 +00:00
Viktor Szakats
684c470f5c 2009-03-04 14:12 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* doc/man/hbmk.1
    * Updated. Blindly.
      Do someone know a tool which can render man pages and show
      it without having to install this file first?

  * utils/hbmk2/hbmk2.prg
    ! Fixed to not create .c stub if only C compilation is requested.
      In this case it won't do any entry function detection either.
    ! Attempt to fix core GT dependencies not automatically linked
      with gcc/*nix for gtsln/gtcrs/gtxwc (in static mode).
    % Not adding some (now unnecessary) system libraries when in
      shared mode for gcc family compilers on all platforms.
      See: 2009-03-04 12:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
    ; Please test above changes.
2009-03-04 13:13:12 +00:00
Przemyslaw Czerpak
fbe48a5385 2009-03-04 12:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    * explicitly bind system libraries with harbour shared library.
      RPM/DEB packages should automatically detect these dependencies.
      Viktor, now you do not have to pass system libraries like
      m, dl, rt, pthread, socket, nsl, resolv, curses, slang, x11,
      wininet, ws2, commdlg, commctrl, uuid, ole32 ... when you create
      shared binaries by hbmk2 - all bindings are in harbour shared
      library. They are necessary only for static builds.
2009-03-04 11:50:35 +00:00
Viktor Szakats
0241a36c7d 2009-03-04 10:00 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-mkdyn.sh
  * bin/postinst.sh
    + Added some level of cygwin support.
    ; TOFIX: .dlls are not generated.

  * make_gnu.sh
    * Change recently added '==' operators to '='.
    + Added link to GNU bash and POSIX shell docs.
      For Harbour we need to comply with the latter
      (at least for OS neutral script parts).

  * INSTALL
  * mpkg_win.bat
  * config/global.cf
    * Formatting.
2009-03-04 09:06:38 +00:00
Pritpal Bedi
738c8c5c23 2009-03-04 00:34 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/wvgsink.c
    ! Pacified long-standing warning.
2009-03-04 08:40:30 +00:00
Viktor Szakats
d712252945 2009-03-04 09:13 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! gtnul removed from gt list. It's probably enough to 
      not add it to liblist when passing -gtnul.
2009-03-04 08:13:22 +00:00
Viktor Szakats
9784eb837f 2009-03-04 08:56 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
    + Added few NOTEs on HB_INC_* usage.
    * Other minor clarifications and cleanups.

  * mpkg_win.bat
    ! Forces import lib generation off.
2009-03-04 07:57:25 +00:00
Viktor Szakats
3f3547c079 2009-03-04 08:28 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* mpkg_win.bat
    + Added cygwin support.

  * utils/hbmk2/hbmk2.prg
    * Updated some details on the help screen.
    - Removed gcc as a valid win target.
2009-03-04 07:28:33 +00:00
Viktor Szakats
e4d64e698b 2009-03-04 08:00 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
    * HB_INC_OPENSSL sample corrected to point to real-life header dir.
    + Added cygwin compiler. gcc temply removed from doc list.
    % Removed unnecessary -n hbmk2 switches.
    + Added cygwin section.

  * utils/hbmk2/hbmk2.prg
    + Don't add gtnul as a real library.
      Please test, I've never used GTNUL.
    + Added support for cygwin compiler value.
      (works the same as current 'win/gcc' combination)
    ! Typo in rare error messages.
    ! Removed -no-cygwin option from cygwin gcc command line.

  * source/common/hbprintf.c
  * contrib/hbssl/sslrand.c
    ! Fixed to compile with cygwin.
    ; TOFIX:
      when running hbtest.exe:
      Error DBFNTX/1011  Write error: _hbtmp_.dbf
      Called from DBCREATE(0)
      Called from TEST_BEGIN(0)
      Called from MAIN(0)

  * make_gnu.sh
    + Added cygwin detection.

  * config/win/gcc.cf
  + config/win/cygwin.cf
    + Added separate cygwin make config.
      gcc is now just a map to cygwin.
2009-03-04 07:00:29 +00:00
Viktor Szakats
ab44eb5858 2009-03-04 02:16 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* mpkg_win.bat
    ! Fixed dirs inside the .zip file.
    * Missing 'clean' added.
2009-03-04 01:18:07 +00:00
Viktor Szakats
58f36b7e97 2009-03-04 01:46 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
  * make_gnu.bat
    - 'msvc' is no longer the default choice for win.
      HB_COMPILER must always be specified.

  * mpkg_win.bat
    + Removes tmp install dir before creating the build.
    + Added support for MinGW.
    + Added creation of .zip packages. (Info-ZIP zip.exe
      is required).

  * make_gnu.sh
  * INSTALL
    + on win/dos/os2 systems it will create HB_*_INSTALL dirs
      automatically (sync with make_gnu.bat).
    + on dos/os2 it will also automatically set HB_DOC_INSTALL.
    + on win/dos/os2 it will automatically convert
      HB_INSTALL_PREFIX and HB_*_INSTALL to use forward slashes.

  * utils/hbmk2/hbmk2.prg
    + Added gtnul to standard list of GTs.
      Attempt to solve the problem reported by Barry Jackson.
      Please test if this solves anything.

  * doc/Makefile
    ! Deleted files removed.
2009-03-04 01:05:16 +00:00
Viktor Szakats
cb3934c62d 2009-03-04 00:53 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed problem reported by Istvan Bisz.
      Wrong function declarations were used in static mode.
2009-03-03 23:54:34 +00:00
Viktor Szakats
7f8b7dd1cd 2009-03-03 23:58 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* mpkg_win.bat
    ! Not polluting caller environment vars.
    * Changed to always override HB_INSTALL_PREFIX to a local temp dir.
      (to avoid picking up any other misc files accidentally present
      in a user supplied directory)
    + Added --deltemp option which will delete the temp install dir.
    + Completed requirement list.

  * mpkg_win.nsi
    * Formatting.
2009-03-03 23:00:35 +00:00
Francesco Saverio Giudice
5fe6e5393b 2009-03-03 23:56 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com)
* harbour/contrib/examples/uhttpd/uhttpd.prg
    * Updated uHTTPD (Work in progress)
      ! Fixing memory usage attempt.
        Set PRIVATE vars to NIL when not more used and force
        collect memory with hb_GCAll( .T. )
      * Set Service Threads initial value to 0
      + Added support for directory index files
      + Added support for filters (WIP)
      * Added creation of error.log file in case of error
      * Minor changes
  * harbour/contrib/examples/uhttpd/cgifunc.prg
    * Fixed comment
  * harbour/contrib/examples/uhttpd/uhttpd.ini
    + DirectoryIndex entry
  ; NOTE: Please check me for memory usage. I have added a comment
          // FSG - memory check
          to interested lines. But I'm not sure if this solves the
          problem.
2009-03-03 22:58:09 +00:00
Przemyslaw Czerpak
a07af817e5 2009-03-03 22:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/tests/speedtst.prg
    * updated to work with CA-Cl*pper
2009-03-03 21:17:04 +00:00
Viktor Szakats
0edd8a7ebd 2009-03-03 20:05 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
    + Extended 'HOW TO ENABLE OPTIONAL COMPONENTS BEFORE BUILD'
      section a bit. (HB_DIR_* stuff still not included as it's
      early to document it yet, refer to the ChangeLog for info
      on it).

  * bin/hbmk.bat
    - Removed -n switch.

  + mpkg_win.bat
    + Added Windows installer creator script.
    ; TODO: Move all mpkg_*.* and related files to new /package dir.

  * mpkg_win.nsi
    + Changed to use HB_*_INSTALL envvars for source file locations.
    ! Fixed to exclude .tds files.
    + Will now will include version number, architecture and compiler
      in installer .exe name.
    + Default install destination will now include compiler name.

  * source/compiler/hbmain.c
  * source/compiler/cmdcheck.c
  * source/compiler/gencobj.c
  * source/compiler/hbusage.c
    + Marked -go option as HB_LEGACY_LEVEL2. Deprecated text
      shown on help screen.

  * utils/hbmk2/hbmk2.prg
    ! Fixed entry func autodetection problem with gcc when
      source file is passed without .prg extension.
      Reported by Maurilio.
2009-03-03 19:18:03 +00:00
Przemyslaw Czerpak
5e59c5954c 2009-03-03 19:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/hbproces.c
    * check if some define constants exists before use - it should
      fix compilation in some WinCE builds, f.e. with MSVC

  * harbour/source/common/hbprintf.c
    * disabled _LIB_VERSION setting in DJGPP builds - if we need it
      for some reasons then it should be done in different which does
      not create multiple instances of this variable
2009-03-03 18:49:36 +00:00
Przemyslaw Czerpak
f3fd688844 2009-03-03 19:34 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/dir.cf
    * disabled parallel execution rules for make 3.79.1
2009-03-03 18:29:39 +00:00
Przemyslaw Czerpak
14507e8487 2009-03-03 16:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/Makefile
    ! fixed compilation with C compilers which does not support MT mode
      (HB_MT=no) - it's seldom situation but may exists on some platforms,
      f.e. in *nixes when PTHREADS is not available

  * harbour/config/win/bcc.cf
    ! fixed compilation in SHELL environment
      (if exists ... del ...  is COMMAND.COM/CMD.EXE only command)

  * harbour/source/rtl/hbstrfmt.c
    ! casting for C++ compilation

  * harbour/contrib/xhb/dbf2txt.c
    ! casting for C++ compilation
    ! fixed two bad bugs which can cause GPF or some other bad results
      I'd seen after short check. I haven't analyzed this code carefully
      for others.

  * harbour/bin/postinst.sh
    ! fixed hb*-mkslib link in cross builds (MinGW/MinGWCE)
2009-03-03 15:34:58 +00:00
Viktor Szakats
e0b3220b5a 2009-03-03 10:42 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Now hbmk will show the filename of each processed .hbp file.
    * Changed -quiet meaning: it will now suppress above messages.

  * ChangeLog
    + Added new line for previous entry about new --version option.
2009-03-03 09:44:16 +00:00
Viktor Szakats
eba703e134 2009-03-03 10:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
    - Bison requirement moved next to the parser related option, 
      to not cause any unnecessary confusion.

  * utils/hbmk2/hbmk2.prg
    * Made -hbcc and -hbcmp to behave the same. They'll no both 
      generate objects.
2009-03-03 09:27:13 +00:00
Viktor Szakats
6ebdb01ff5 2009-03-02 23:59 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* debian/rules
  + doc/man/hbmk.1
  - doc/man/hbmake.1
    - Removed hbmake doc.
    + Added hbmk doc. (bare one)

  - doc/genhtm.rsp
  - doc/genhtm.lnk
  - doc/genhtm.bat
  - doc/genhtm.sh
  + doc/en/genhtm.lnk
  + doc/en/genhtm.sh
  + doc/en/genhtm.rsp
  + doc/en/genhtm.bat
    * Moved.
2009-03-02 23:02:26 +00:00
Viktor Szakats
960114030f 2009-03-02 23:34 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/Makefile
  - contrib/hbwhat
  + contrib/examples/hbwhat
  * contrib/examples/hbwhat/Makefile
    * Moved hbwhat to contrib/examples.
2009-03-02 22:34:38 +00:00
Viktor Szakats
b7de8f385b 2009-03-02 23:27 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
    - Removed HB, HBPP envvars as cross-compilation requirements.

  * make_gnu_os2.cmd
    + Now honors HB_USER_MAKEFLAGS setting.

  * utils/hbmk2/hbmk2.prg
    + Added -n2 Harbour switch as default.
    ; TODO: If this works out well, we can remove explicit
            -n switches from .hbm files.

  * config/win/bcc.cf
    + Suppressing some OS commands to not pollute output.
2009-03-02 22:28:58 +00:00
Przemyslaw Czerpak
3d333f0499 2009-03-02 21:28 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcomp.h
  * harbour/include/hbcompdf.h
  * harbour/include/hbexpra.c
  * harbour/source/compiler/hbmain.c
  * harbour/source/compiler/cmdcheck.c
  * harbour/source/compiler/hbcomp.c
  * harbour/source/compiler/genc.c
  * harbour/source/compiler/harbour.yyc
  * harbour/source/compiler/harbour.y
  * harbour/source/compiler/harbour.yyh
  * harbour/source/compiler/ppcomp.c
  * harbour/source/compiler/hbdbginf.c
  * harbour/source/compiler/genhrb.c
  * harbour/source/compiler/hbusage.c
    ! fixed static variables indexes in the generated PCODE when static
      variables are declared inside extended codeblocks - in some cases
      wrong PCODE was generated
    ! fixed initialization PCODE for thread static variables declared
      inside extended codeblocks
    ! fixed modulename generated for debugger to always contain function name
      part for extended codeblock declared as file wide static variables.
      In such case "(_INITSTATICS)" is used as function name.
      Without it debugger does not register entering such codeblocks and
      GPFs.
    + added support for automatic adding 1-st function with the same name
      as compiled .prg file if some code statements are used before 1-st
      function/procedure declared explicitly in .prg file. Such mode can
      be enabled by -n2 new harbour compiler switch.
2009-03-02 20:23:33 +00:00
Viktor Szakats
3d60d8b946 2009-03-02 18:48 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Compiler value unknown message now shows the actual value.
2009-03-02 17:49:33 +00:00
Viktor Szakats
8b0d5311af 2009-03-02 17:53 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Automatically switching to -hbcmp mode if /gh switch is used.
    + In -hbcmp mode it will pass /o option directly to Harbour.

  - contrib/examples/uhttpd/modules/bldhrb.bat
  + contrib/examples/uhttpd/modules/allmod.hbm
    + Replaced batch file with hbmk2 make file. It will build 
      all .hrb files and place them to cgi-bin dir.
2009-03-02 16:53:53 +00:00
Viktor Szakats
5abf42320a 2009-03-02 16:56 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
- obj
  - make_b32.bat
  - make_b32.mak
  - make_gcc.sh
  - make_gcc.mak
  - make_vc.bat
  - make_vc.mak
  - common.mak
  - contrib/mtpl_b32.mak
  - contrib/mtpl_b32.bat
  - contrib/make_b32_all.bat
  - contrib/mtpl_gcc.mak
  - contrib/mtpl_gcc.sh
  - contrib/make_gcc_all.sh
  - contrib/mtpl_vc.mak
  - contrib/mtpl_vc.bat
  - contrib/make_vc_all.bat
  - contrib/hbmysql/common.mak
  - contrib/hbmysql/make_gcc.sh
  - contrib/hbmysql/make_b32.bat
  - contrib/hbmysql/make_vc.bat
  - contrib/gtalleg/common.mak
  - contrib/gtalleg/make_gcc.sh
  - contrib/gtalleg/make_b32.bat
  - contrib/gtalleg/make_vc.bat
  - contrib/hbct/make_b32.bat
  - contrib/hbct/make_gcc.sh
  - contrib/hbct/make_vc.bat
  - contrib/hbct/common.mak
  - contrib/hbodbc/common.mak
  - contrib/hbodbc/make_gcc.sh
  - contrib/hbodbc/make_b32.bat
  - contrib/hbodbc/make_vc.bat
  - contrib/xhb/make_b32.bat
  - contrib/xhb/make_gcc.sh
  - contrib/xhb/make_vc.bat
  - contrib/xhb/common.mak
  - contrib/hbtpathy/common.mak
  - contrib/hbtpathy/make_gcc.sh
  - contrib/hbtpathy/make_b32.bat
  - contrib/hbtpathy/make_vc.bat
  - contrib/hbgt/make_b32.bat
  - contrib/hbgt/common.mak
  - contrib/hbgt/make_gcc.sh
  - contrib/hbgt/make_vc.bat
  - contrib/hbmsql/common.mak
  - contrib/hbmsql/make_gcc.sh
  - contrib/hbmsql/make_b32.bat
  - contrib/hbmsql/make_vc.bat
  - contrib/hbsqlit3/common.mak
  - contrib/hbsqlit3/make_gcc.sh
  - contrib/hbsqlit3/make_b32.bat
  - contrib/hbsqlit3/make_vc.bat
  - contrib/hbole/common.mak
  - contrib/hbole/make_gcc.sh
  - contrib/hbole/make_b32.bat
  - contrib/hbole/make_vc.bat
  - contrib/hbmzip/make_b32.bat
  - contrib/hbmzip/common.mak
  - contrib/hbmzip/make_gcc.sh
  - contrib/hbmzip/make_vc.bat
  - contrib/hbblat/common.mak
  - contrib/hbblat/make_b32.bat
  - contrib/hbblat/make_vc.bat
  - contrib/hbfbird/common.mak
  - contrib/hbfbird/make_gcc.sh
  - contrib/hbfbird/make_b32.bat
  - contrib/hbfbird/make_vc.bat
  - contrib/hbapollo/common.mak
  - contrib/hbapollo/make_gcc.sh
  - contrib/hbapollo/make_b32.bat
  - contrib/hbapollo/make_vc.bat
  - contrib/hbziparc/common.mak
  - contrib/hbziparc/make_gcc.sh
  - contrib/hbziparc/make_b32.bat
  - contrib/hbziparc/make_vc.bat
  - contrib/hbnf/make_b32.bat
  - contrib/hbnf/make_gcc.sh
  - contrib/hbnf/make_vc.bat
  - contrib/hbnf/common.mak
  - contrib/hbcurl/common.mak
  - contrib/hbcurl/make_gcc.sh
  - contrib/hbcurl/make_b32.bat
  - contrib/hbcurl/make_vc.bat
  - contrib/rddsql/common.mak
  - contrib/rddsql/sddmy/common.mak
  - contrib/rddsql/sddmy/make_gcc.sh
  - contrib/rddsql/sddmy/make_b32.bat
  - contrib/rddsql/sddmy/make_vc.bat
  - contrib/rddsql/sddpg/common.mak
  - contrib/rddsql/sddpg/make_gcc.sh
  - contrib/rddsql/sddpg/make_b32.bat
  - contrib/rddsql/sddpg/make_vc.bat
  - contrib/rddsql/sddfb/common.mak
  - contrib/rddsql/sddfb/make_b32.bat
  - contrib/rddsql/sddfb/make_vc.bat
  - contrib/rddsql/make_gcc.sh
  - contrib/rddsql/make_b32.bat
  - contrib/rddsql/make_vc.bat
  - contrib/hbhpdf/common.mak
  - contrib/hbhpdf/make_gcc.sh
  - contrib/hbhpdf/make_b32.bat
  - contrib/hbhpdf/make_vc.bat
  - contrib/rddado/common.mak
  - contrib/rddado/make_gcc.sh
  - contrib/rddado/make_b32.bat
  - contrib/rddado/make_vc.bat
  - contrib/gtwvg/make_b32.bat
  - contrib/gtwvg/make_gcc.sh
  - contrib/gtwvg/make_vc.bat
  - contrib/gtwvg/common.mak
  - contrib/hbpgsql/common.mak
  - contrib/hbpgsql/make_gcc.sh
  - contrib/hbpgsql/make_b32.bat
  - contrib/hbpgsql/make_vc.bat
  - contrib/hbclipsm/make_b32.bat
  - contrib/hbclipsm/common.mak
  - contrib/hbclipsm/make_gcc.sh
  - contrib/hbclipsm/make_vc.bat
  - contrib/rddads/make_b32.bat
  - contrib/rddads/common.mak
  - contrib/rddads/make_gcc.sh
  - contrib/rddads/make_vc.bat
  - contrib/hbfimage/common.mak
  - contrib/hbfimage/make_gcc.sh
  - contrib/hbfimage/make_b32.bat
  - contrib/hbfimage/make_vc.bat
  - contrib/hbgd/make_b32.bat
  - contrib/hbgd/common.mak
  - contrib/hbgd/make_gcc.sh
  - contrib/hbgd/make_vc.bat
  - contrib/hbmisc/make_b32.bat
  - contrib/hbmisc/common.mak
  - contrib/hbmisc/make_gcc.sh
  - contrib/hbmisc/make_vc.bat
  - contrib/hbgf/hbgfwin/common.mak
  - contrib/hbgf/hbgfwin/make_b32.bat
  - contrib/hbgf/hbgfwin/make_vc.bat
  - contrib/hbtip/make_b32.bat
  - contrib/hbtip/common.mak
  - contrib/hbtip/make_gcc.sh
  - contrib/hbtip/make_vc.bat
  - contrib/hbwin/make_b32.bat
  - contrib/hbwin/common.mak
  - contrib/hbwin/make_gcc.sh
  - contrib/hbwin/make_vc.bat
  - contrib/hbbmcdx/common.mak
  - contrib/hbbmcdx/make_gcc.sh
  - contrib/hbbmcdx/make_b32.bat
  - contrib/hbbmcdx/make_vc.bat
  - contrib/hbvpdf/common.mak
  - contrib/hbvpdf/make_gcc.sh
  - contrib/hbvpdf/make_b32.bat
  - contrib/hbvpdf/make_vc.bat
  - contrib/hbssl/common.mak
  - contrib/hbssl/make_gcc.sh
  - contrib/hbssl/make_b32.bat
  - contrib/hbssl/make_vc.bat
  - contrib/hbbtree/common.mak
  - contrib/hbbtree/make_gcc.sh
  - contrib/hbbtree/make_b32.bat
  - contrib/hbbtree/make_vc.bat
  - contrib/hbcrypt/make_b32.bat
  - contrib/hbcrypt/common.mak
  - contrib/hbcrypt/make_gcc.sh
  - contrib/hbcrypt/make_vc.bat
  - contrib/hbwhat/make_b32.bat
  - contrib/hbwhat/make_gcc.sh
  - contrib/hbwhat/make_vc.bat
  - contrib/hbwhat/common.mak
  - contrib/examples/hbsqlit2/common.mak
  - contrib/examples/hbsqlit2/make_gcc.sh
  - contrib/examples/hbsqlit2/make_b32.bat
  - contrib/examples/hbsqlit2/make_vc.bat
    - Deleted components of "non-GNU" (MSVC, BCC and GCC
      specific) make systems. Leaving GNU Make as the
      unified make platform for Harbour.
      This also means that Harbour is now much portable
      in the sense that with a few rare exceptions all tasks should
      be carried exactly the same way across the OSes.
      Platform specific script file statistics before:
      - Bash          54  (end-user oriented: 49 - including package creation)
      - Windows/DOS  105  (end-user oriented: 90)
      - OS/2           2  (end-user oriented:  1)
      Platform specific script file statistics now:
      - Bash          14  (end-user oriented:  9 - including package creation)
      - Windows/DOS   19  (end-user oriented:  4)
      - OS/2           2  (end-user oriented:  1)
      Some of these will be further cleaned (hbdoc related: 5,
      hbmk compatibility: 2)
2009-03-02 16:43:47 +00:00
Viktor Szakats
c35a25012b 2009-03-02 16:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
  * contrib/hbfbird/readme.txt
    * Updates.
2009-03-02 15:27:27 +00:00
Viktor Szakats
7e4f3a579c 2009-03-02 11:55 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* config/global.cf
    ! Corrected GNU Make doc link.

  * INSTALL
    * Updates.

  * contrib/xhb/regexrpl.prg
  * contrib/gtwvg/gtwvg.c
    ! Fixed warnings.
2009-03-02 10:55:35 +00:00
Viktor Szakats
cf2a1eb5ed 2009-03-02 09:43 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbapi.h
  * source/rtl/hbstrfmt.c
    * C level function renamed to hb_strFormat().
    + Added to headers, exported.
2009-03-02 08:44:00 +00:00
Viktor Szakats
9f2c4df193 2009-03-02 09:36 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/Makefile
  * include/hbextern.ch
  + source/rtl/hbstrfmt.c
    + Added HB_STRFORMAT() sprintf()-like formatting.
    + Added hb_StrFormat() C level function.
    ; Work of Mindaugas sent to the list, with some minor 
      cleanups applied. Please test on your platform/compiler.

  * contrib/examples/uhttpd/uhttpd.prg
  * contrib/examples/uhttpd/cgifunc.prg
  * contrib/examples/uhttpd/session.prg
  * contrib/examples/uhttpd/uhttpd.hbm
    * xhb compatibility cleanups.
    - xhb lib and header dependency removed.

  * utils/hbmk2/hbmk2.prg
    * Changed so that libs won't inherit their .hbm file paths.
    + Embedded .hbm files will inherit their parents dir.
2009-03-02 08:36:55 +00:00
Viktor Szakats
6de8d801a4 2009-03-02 08:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
    * Updates.

  * source/vm/Makefile
    - Removed sensing HB_MT value and building pure MT version
      of Harbour. This is to avoid yet another unnecessary 
      variation of Harbour builds. For MT, just simply hbvmmt lib 
      should be linked.
2009-03-02 07:36:57 +00:00
Viktor Szakats
f984ba6782 2009-03-01 23:56 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
+ contrib/xhb/regexrpl.prg
    + Added HB_REGEXREPLACE() from xhb. Work of Francesco.
      (missed from prev commit)

  * contrib/xhb/common.mak
    * Updated.
2009-03-01 23:03:16 +00:00
Viktor Szakats
1961ff18c2 2009-03-01 23:54 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
- contrib/examples/uhttpd/hbmk.bat
  + contrib/examples/uhttpd/uhttpdgd.hbm
  * contrib/examples/uhttpd/uhttpd.prg
  * contrib/examples/uhttpd/readme.txt
    * Added separate GD enabled .hbm file.
    * Remaining hbmk.bat features moved to .prg code and into readme.txt.

  * utils/hbmk2/hbmk2.prg
    + Added support for @ and .hbm parameters inside .hbm files.
      Currently three levels deep nesting in allowed.

  * contrib/xhb/Makefile
  + contrib/xhb/dbf2txt.c
    + Added DBF2TXT() function from xhb.
    ; TODO: RPC support and HB_SERVICE*() API ?
2009-03-01 22:58:28 +00:00
Viktor Szakats
0313662357 2009-03-01 18:39 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/examples/uhttpd/hbmk.bat
  * contrib/examples/uhttpd/uhttpd.hbm
    * Changed to build without using hbmk.bat.
      (socket.c is now always linked)
2009-03-01 17:39:40 +00:00