Commit Graph

10092 Commits

Author SHA1 Message Date
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
Viktor Szakats
eb1767f8f3 2009-03-01 18:16 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
  * make_b32.bat
  * doc/gmake.txt
  * bin/postinst.bat
  * bin/hb-mkdyn.bat
  * make_gnu.bat
  * contrib/hbfimage/readme.txt
  * contrib/examples/uhttpd/modules/bldhrb.bat
  * source/vm/Makefile
  * source/rtl/console.c
  * source/compiler/gencobj.c
  * utils/hbmk2/hbmk2.prg
  * utils/hbmk2/examples/winapi.hbp
  - config/win/bcc32.cf
  + config/win/bcc.cf
    * Long time TODO done: Renamed bcc32 compiler name to bcc.
      bcc32 is still accepted by make_gnu.bat, but will be 
      removed in the future, so it's recommended to update 
      your local settings to use:
      set HB_COMPILER=bcc

  - config/dos/bcc16.cf
    - Deleted bcc16 compiler support. I didn't work since ages,
      and Harbour doesn't support 16-bit compilers anyway.
2009-03-01 17:19:29 +00:00
Viktor Szakats
356b6f38cc 2009-03-01 17:05 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* config/win/bcc32.cf
    ! Fix to prev.
2009-03-01 16:07:23 +00:00
Viktor Szakats
6dce7a2023 2009-03-01 16:05 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* config/win/bcc32.cf
    ! Fixed to use response files with tlib, to avoid command line 
      length limits on some systems.

  - tests/run_prg.bat
  + tests/run.bat
  - tests/run_prg_all.bat
  + tests/run_all.bat
    * Renamed to short name.
2009-03-01 15:06:53 +00:00
Viktor Szakats
42a21eb2ef 2009-03-01 15:27 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
- contrib/hbct/ctflist.txt
  - contrib/hbodbc/odbc.txt
  - contrib/hbodbc/readme.txt
  - contrib/hbpgsql/readme.txt
  - contrib/hbgd/readme.txt
  * contrib/hbgd/tests/counter.prg
  * contrib/hbgd/Makefile
  - contrib/hbvpdf/readme.txt
  + contrib/hbvpdf/ChangeLog
    * Some cleanups.

  * doc/gmake.txt
    * '-r' requirement removed.

  * doc/codestyl.txt
    * Grammar.

  - doc/funclist.txt
  - doc/howtomak.txt
  - doc/hrb_faq.txt
  - doc/hbmake.txt
  - doc/lang_id.txt
    - Deleted obsolete files.

  * INSTALL
    + Added Bison version required.
    * Minor typo.

  * contrib/hbvpdf/tests/files/test.txt
    * Changed text to lorem ipsum.

  * utils/hbmk2/hbmk2.prg
    * Two line ending spaces removed from output.

  * mpkg_win.nsi
    ! Fixed to include subdir for doc dir.

  * config/global.cf
    + Added comment from doc file.
2009-03-01 14:32:18 +00:00
Przemyslaw Czerpak
d56e5a98c8 2009-03-01 13:58 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi.h
  * harbour/include/hbstack.h
  * harbour/source/vm/hvm.c
  * harbour/source/vm/estack.c
  * harbour/source/vm/memvars.c
    ! fixed __M[V]CLEAR()/ __M[V]RESTORE() to be exactly Clipper compatible
      and do not release PUBLIC GetList value. Here it's small example
      which illustrates current behavior and exploits bug in previous
      version:
         memvar getlist
         proc main()
            getlist:="public:getlist"
            ? getlist
            private getlist:="private:getlist"
            ? getlist
            CLEAR MEMORY
            ? getlist
         return

  * harbour/source/compiler/gencc.c
    + added Harbour exception to the license - it's mine code with
      few lines added/modified by Ryszard and Viktor. I hope they do
      not have anything against.

  * harbour/source/compiler/hbmain.c
  * harbour/source/compiler/hbident.c
    * minor formatting
2009-03-01 12:53:15 +00:00
Pritpal Bedi
ee0a02453f 2009-02-28 15:51 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/common.mak
  * harbour/contrib/gtwvg/Makefile
    + Added wvgcuig.c

  * harbour/contrib/gtwvg/gtwvg.h
    + Added PHB_GOBJS structure to hold static CUI enhancement elements.

  * harbour/contrib/gtwvg/gtwvg.c
    ! Implemented hb_gt_wvt_PaintGObjects( PHB_GTWVT pWVT, RECT *uRect )
      just before EndPaint() call.
 
  + harbour/contrib/gtwvg/wvgcuig.c
    + Implementation of pure static controls with Clipper like 
      approach leaving away the details of heavy GTWVG base 
      protocol.     

  * harbour/contrib/gtwvg/tests/demowvg.prg
    ! Implemented simplified GUI look to a CUI console.
      Now it is possible TO build console dialogs pretty fast.
      This implementation assumes that appln will NOT use
      overlapping screens as with SaveScreen()/RestScreen()
      functions. Instead a new window will be opened to host
      overlapping screens.

      Please look at <Traditional><WVG Console with GCUI> to 
      look at this functionality. The code goes below:

      /*    PROCEDURE GCUIConsole()
               LOCAL dDate      := ctod( "" )
               LOCAL cName      := Space( 35 )
               LOCAL cAdd1      := Space( 35 )
               LOCAL cAdd2      := Space( 35 )
               LOCAL cAdd3      := Space( 35 )
               LOCAL nSlry      := 0
               LOCAL nColGet    := 8
               LOCAL GetList    := {}
               LOCAL cLabel     := "VOUCH, that GROWS with you"
            
               SetColor( "N/W,N/GR*,,,N/W*" )
               CLS
               hb_gtInfo( HB_GTI_WINTITLE, "WVG Simplified GUI Console" )
            
               @ MaxRow(), 0 SAY PadC( "GTWVG Simplified GUI Console", maxcol()+1 ) COLOR "W+/B*"
            
               @  2, nColGet SAY "< Date >"
               @  5, nColGet SAY "<" + PadC( "Name", 33 ) + ">"
               @  8, nColGet SAY "<" + PadC( "Address", 33) + ">"
               @ 15, nColGet SAY "< Salary >"
            
               @  3, nColGet GET dDate
               @  6, nColGet GET cName
               @  9, nColGet GET cAdd1
               @ 11, nColGet GET cAdd2
               @ 13, nColGet GET cAdd3
               @ 16, nColGet GET nSlry PICTURE "@Z 9999999.99"
            
               // The only additional calls to render your console GUI
               //
               // The GETLIST  : This can be embedded via  @ GET preprocessor command
               aEval( GetList, {|oGet| Wvg_BoxGet( oGet:Row, oGet:Col, Len( Transform( oGet:VarGet(), oGet:Picture ) ) ) } )

               // And thsese can be another @ SAY commands
               Wvg_BoxRaised( 1, 2, 18, 49, { -5,-5,5,5 } )

               Wvg_BoxRecessed( 1, 2, 18, 49 )

               Wvg_BoxGroupRaised( 2, 4, 17, 47, { -7,-7,7,7 } )
            
               // Instruct GT to Repaint the Screen with GUI elements.
               Wvt_InvalidateRect( 0, 0, maxrow(), maxcol() )
            
               // Issue the read
               READ
            
               RETURN
      */
2009-02-28 23:53:07 +00:00
Pritpal Bedi
9c1fbfb4bc 2009-02-28 13:51 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/tests/demoxbp.prg
    ! Fixed to honor recent GTWVG changes.
2009-02-28 21:53:10 +00:00
Viktor Szakats
ef57a5e58e 2009-02-28 12:12 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_gnu_os2.cmd
  * make_gnu.sh
    + Setting HB_DOC_INSTALL dir.
      (the .sh sets it only for mingw, please test)

  * INSTALL
  * contrib/hbhpdf/make_b32.bat
  * contrib/hbhpdf/make_vc.bat
  * contrib/hbgd/make_b32.bat
  * contrib/hbgd/make_vc.bat
    ! Old typos in two HB_INC_* examples.
2009-02-28 11:19:26 +00:00
Viktor Szakats
ef5e5c27cc 2009-02-28 10:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
    * Cleaned the section dealing with GNU Make on Windows.
      ---
      3.) Make sure to have GNU Make. We recommend the one distributed
          with MinGW. To get it:
          - Use your search engine with 'mingw gnu make'
          - Use this link:
            http://sourceforge.net/project/showfiles.php?group_id=2435
          If you have it, you have three choices:
          - Put mingw32-make.exe anywhere in your PATH. (recommended)
          - Put mingw32-make.exe in Harbour source root dir.
          - Rename mingw32-make.exe to make.exe and put it in
            your PATH _before_ your compiler tools.
      ---

  * make_gnu.bat
    + mingw32-make.exe is now also accepted in Harbour's source
      tree root.
2009-02-28 09:27:01 +00:00
Viktor Szakats
63dee01939 2009-02-28 10:15 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Reenabled and fixed call to entry function autodetection 
      for gcc.
    + Now all Harbour dirs are always normalized (stripped).
2009-02-28 09:15:59 +00:00
Viktor Szakats
d991d0f361 2009-02-28 09:56 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed yesterday's -fullstatic patch. Now it should work.

  * make_b32.bat
  * make_vc.bat
    - Disabled automatic .dll builds to expose the 
      pure make_gnu.bat interface.
    * Some refininements to vc version.
2009-02-28 08:56:45 +00:00
Viktor Szakats
4a1bc7d22f 2009-02-28 01:22 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
    + Added win/owatcom.
    + Added contrib control options.

  * bin/postinst.bat
    % Optimized, cleaned.

  * mpkg_win.nsi
    - Turned off checkbox in "view readme" option.
2009-02-28 00:22:43 +00:00
Viktor Szakats
51b014356f 2009-02-27 23:40 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
+ mpkg_win.nsi
    + Added NSIS Windows installer script.
      Needs to be inserted into build creation process,
      which is completely missing yet from SVN. Anyhow
      it's tested and working well. At this moment it should
      be run from a freshly created dir created with
      'make_gnu.bat install'.
      You can find the result here:
      http://www.syenar.hu/harbour/harbour-1.1.0dev-win32-msvc.exe

  * utils/hbrun/hbrun.prg
    + Added -v option which simply runs '? hb_version()' after
      startup.

  * make_gnu.bat
    + Added init of HB_DOC_INSTALL.

  * doc/license.txt
    - Removed SVN header to be in full sync with /COPYING.

  * INSTALL
    * Minor cleanups.
2009-02-27 22:57:40 +00:00
Viktor Szakats
8a2383dfb2 2009-02-27 22:13 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added '-Wl,-static' option for gcc/*nix when -fullstatic
      hbmk option is used. I hope this is fine. On my Ubuntu,
      this says: '/usr/bin/ld: cannot find -lgcc_s'.
    - Removed debug trace line left in.

  * contrib/Makefile
    ! Fixed commenting hbwhat.
2009-02-27 21:15:08 +00:00
Viktor Szakats
007b0620dc 2009-02-27 21:12 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
     * Minor.

   * make_gnu.bat
     ! Typo.
2009-02-27 20:13:06 +00:00
Viktor Szakats
2a3fcfba01 2009-02-27 20:49 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
    + Added more information to Windows section.
      This will need a cleanup already.
    + Added links, header.

  * make_gnu.bat
    + Added automatic default of HB_INSTALL_PREFIX on NT
      and above systems. This means this setting is now
      option. If not set, it will install under the
      source tree.
2009-02-27 19:50:29 +00:00
Viktor Szakats
00048732c1 2009-02-27 20:15 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_gnu.bat
    + Added autodetection of mingw32-make.exe. If found in 
      PATH, it will be used instead of make.exe.
      This way the build process is much less resistant of 
      environment configuration. If this works out, I'll 
      lax the rules in INSTALL.

  * utils/hbmk2/hbmk2.prg
    * Minor internal cleanup to previous.
2009-02-27 19:18:26 +00:00
Viktor Szakats
7ef2ee0b48 2009-02-27 19:59 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
    + Added text to specifically tell to rename mingw32-make.exe 
      to make.exe if the former is found in a distro.
      BTW most probably mingw32-make.exe would also make it, but
      our make_gnu.bat file wants make.exe, and there is no 
      easy way to check (but can be done).

  * utils/hbmk2/hbmk2.prg
    ! Fixed silly typo preventing object files to get their 
      proper extension in -hbcc mode.
    * Minor internal change to avoid changing extensions twice 
      on the same string, since this may cause loss.
2009-02-27 18:59:58 +00:00
Viktor Szakats
03f89cb121 2009-02-27 19:19 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
  * make_gnu.bat
  * make_gnu.sh
    + Added listing of supported C compilers.
    + Added list of available built-time options.
      (may be incomplete).
    ! Added -n options to hbmk2 calls.
    - Removed similar content from script files.

  * make_gnu.bat
    - Removed --install-with-dll option.
      Use set HB_BUILD_DLL=yes instead.

  * utils/hbmk2/hbmk2.prg
    ! Fixed swapped -hbcc and -hbcmp meaning.
    + Don't deal with compiler autodetection if called with
      -hbcmp option. In this mode a C compiler isn't needed
      at all.
2009-02-27 18:19:42 +00:00
Viktor Szakats
8f55af95e6 2009-02-27 17:54 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_gnu.bat
    ! Fixed to work when DLLs weren't requested.
2009-02-27 16:55:05 +00:00
Przemyslaw Czerpak
246e124c59 2009-02-27 16:52 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
+ harbour/contrib/xhb/xhbcls.ch
    + added header file which xHarbour like OVERRIDE / EXTEND CLASS
      definitions.
      Warning: using this functionality may break logical inheritance
               scheme or even some internal class definitions in both
               Harbour and xHarbour compilers. In Harbour it's unsupported
               feature added here only for strict XHB compatibility.
2009-02-27 15:47:25 +00:00
Viktor Szakats
c8698dd068 2009-02-27 16:05 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
  * bin/postinst.bat
    * Formatting.
2009-02-27 15:06:12 +00:00
Viktor Szakats
33813a81d6 2009-02-27 15:49 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
    + Added more information.
      (everyone trying to build Harbour from source
      should read this first.)

  * bin/postinst.bat
    + Added option to copy import libs belonging to
      external tools for msvc and bcc32 to HB_LIB_INSTALL.
      This is to keep this debated, but convenient feature
      for the GNU-make world, until we find some better way
      to deal with it. Now it's self contained, detached from
      all important Harbour parts. And most importantly:
      You don't have to use it, if you don't want to.
      Now, if you want, set HB_DIR_IMPLIB to "yes" and
      setup your HB_DIR_* dirs to the roots of the external
      tool dirs, like this (adjust to your environment):
      ---
      set HB_DIR_IMPLIB=yes
      set HB_DIR_ADS=C:\devl\ADS910\ACESDK
      set HB_DIR_ALLEGRO=C:\devl\allegro-4.2.2
      set HB_DIR_APOLLO=C:\devl\Apollo-6.1.0.4
      set HB_DIR_BLAT=C:\devl\blat-2.6.2
      set HB_DIR_CURL=C:\devl\curl-7.19.0
      set HB_DIR_FIREBIRD=C:\devl\Firebird-2.1.1
      set HB_DIR_FREEIMAGE=C:\devl\FreeImage-3.11.0
      set HB_DIR_GD=C:\devl\gd-2.0.34
      set HB_DIR_LIBHARU=C:\devl\libharu-2.1.0
      set HB_DIR_MYSQL=C:\devl\mysql-5.0.67
      set HB_DIR_OPENSSL=C:\devl\openssl-0.9.8j
      set HB_DIR_PGSQL=C:\devl\pgsql-8.3.3
      ---
      (This may be tweaked in the future, so I don't
      guarantee any compatibility for this stuff)
2009-02-27 14:51:03 +00:00
Viktor Szakats
715abdfa6f 2009-02-27 12:52 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_b32.bat
  * make_vc.bat
  * make_gcc.sh
    * Redirected old "non-GNU" build starters to the mainstream 
      Harbour GNU Make system, with some measures to keep 
      compatibility. It's not 100% compatible, but the most 
      important settings and aspects should be similar.
      It's recommended for everyone to switch using the GNU
      make system natively, as the non-GNU one will be removed
      in the future, the old way is now legacy and not supported.

  * INSTALL
  * make_gnu.bat
    + Added some more information.
2009-02-27 11:54:12 +00:00
Przemyslaw Czerpak
1e9cfeea1b 2009-02-27 12:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/postinst.sh
    ! fixed hb-mkslib link. Please test this version in MSys.
2009-02-27 11:32:48 +00:00
Viktor Szakats
31bd47430b 2009-02-27 12:17 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_gnu.bat
    + Made them accept HB_BUILD_DLL=yes.
    ! Some typos.
2009-02-27 11:18:19 +00:00
Viktor Szakats
8acc79d48e 2009-02-27 11:51 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/postinst.bat
  * make_gnu.bat
  * config/win/global.cf
    * Renamed HB_DLL to HB_BUILD_DLL, which makes this GNU make 
      setting compatible with old non-GNU make.
2009-02-27 10:52:05 +00:00
Viktor Szakats
a762831ec6 2009-02-27 10:44 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
  * make_gnu.bat
    + Added --install-with-dll option. This will build
      and install Harbour with .dlls. Some examples:
      --- for msvc:
      call "%ProgramFiles%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"
      set PATH=C:\devl\make-3.81;%PATH%
      set HB_INSTALL_PREFIX=C:\devl\hbvc-1.1
      call make_gnu.bat --install-with-dll > out.txt 2>&1
      ---
      --- for bcc32:
      set PATH=C:\devl\bcc55\bin;%PATH%
      set PATH=C:\devl\make-3.81;%PATH%
      set HB_COMPILER=bcc32
      set HB_INSTALL_PREFIX=C:\devl\hbb32-1.1
      call make_gnu.bat --install-with-dll > out.txt 2>&1
      ---

  * make_gnu.bat
  * make_gnu_os2.cmd
    + Will now automatically create the install destination dirs.

    ; TODO: Could someone please add this feature to make_gnu.sh?

  * bin/postinst.bat
  * bin/hb-mkdyn.bat
    * Moved building dll flavoured executables to postinst,
      so they will be rebuilt even if HB_DLL!=yes but .dlls
      are available.

  * contrib/Makefile
    + Added support for option: HB_CONTRIBLIBS=no.
      This will disable building any Harbour contribs.
      (no need to resort to hacks here anymore)

  * utils/hbmk2/hbmk2.prg
    * Minor on help screen.
2009-02-27 09:45:17 +00:00
Viktor Szakats
6db18bf28a 2009-02-27 08:41 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Now all dirs of input files referred to through .hbm
      make files will be adjusted with the .hbm path as passed 
      on the command line. This allows to use .hbm files without 
      switching to their host dirs:
      'hbmk2 examples/hello/hello.hbm'
      (internal logic also allows to display error messages
      pointing to the exact location where the error
      was detected)
    + Added simple macro substitution engine. Not used yet.
    % Minor optimizations.

  * bin/hb-mkdyn.bat
  * source/vm/Makefile
  * utils/hbmk2/hbmk2.prg
  + config/win/msvcia64.cf
    + Added support for IA64 architecure with MSVC.
      (actual compilation untested as it needs MSVC Team System)

  * bin/hb-mkdyn.bat
    % Now using .hbm files.
2009-02-27 07:56:22 +00:00
Pritpal Bedi
9d6ad5ef05 2009-02-26 22:51 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/wvgwin.c
    ! Removed TREEVIEWITEM structure definition as it is fixed by Przemek.
2009-02-27 06:53:21 +00:00
Pritpal Bedi
b0904d39ab 2009-02-26 16:10 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/gtwvg.c
    ! Some refinements is setting Window's style through 
      SetWindowLong(Ptr)().

  * harbour/contrib/gtwvg/wvgwin.c
    % Removed some test code.
2009-02-27 00:13:28 +00:00
Pritpal Bedi
40d0255b9e 2009-02-25 18:57 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/gtwvg.c
  * harbour/contrib/gtwvg/gtwvg.h
    ! Updated to honor Box Caharcter Changes as in GTWVT by Przemek.
    ! Updated HB_GTI_CLOSABLE and HB_GTI_RESIZABLE behavior as in GTWVT
      by Viktor.
2009-02-26 21:06:56 +00:00
Viktor Szakats
084776409c 2009-02-26 20:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-mkdyn.bat
    + Added hbrun-dll.exe generation for msvc64.
2009-02-26 19:31:09 +00:00
Viktor Szakats
f119ad2135 2009-02-26 19:46 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-mkdyn.bat
    * Minor cleanup.
2009-02-26 18:51:02 +00:00
Viktor Szakats
09621b1eed 2009-02-26 19:44 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-mkdyn.bat
    * Cleaned tool outputs.
    + Added hbmaindllh lib to included liblist.
      (dunno what this serves, but we had it in non-GNU make)
      Do we need this at all?
    + Added support for msvc64 dll name.
    * Some tweak to owatcom, but it's just guessing, it still
      doesn't work.
    + Added generating hbrun-dll executable.

  * source/vm/hvm.c
  * source/vm/mainstd.c
    * Random tweak for owatcom/win dll support without success.
      Best result so far is:
      "Unrecoverable error 9012: Can't locate the starting procedure: 'MAIN'"

  * source/vm/Makefile
    + Added mainddllp generation for msvc, msvc64, bcc32, owatcom.

  * source/vm/maindllp.c
    + Added msvc64 and msvcia64 .dll names.

  * source/vm/extrap.c
    * Minor tweak to use alternate (documented) CPU detection macro.

  * utils/hbmk2/hbmk2.prg
    + Added msvc64 .dll name.
    * Removed automatic addition of hbcommon lib for shared
      mode for win compilers.

  * utils/hbtest/hbtest.hbm
  * utils/hbrun/hbrun.hbm
    + Added make files.
2009-02-26 18:48:17 +00:00
Viktor Szakats
eb214d1e4b 2009-02-26 12:54 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/gtwvt/gtwvt.c
    ! Attempt to fix SetMode() always returning FALSE when
      the window isn't open yet. Please test, I didn't.
2009-02-26 11:56:01 +00:00
Viktor Szakats
dda3d41d5c 2009-02-26 12:44 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/gtwvt/gtwvt.c
    ! Fixed HB_GTI_CLOSABLE when set before window initialization.
2009-02-26 11:45:25 +00:00
Viktor Szakats
df007814b5 2009-02-26 12:16 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* config/rules.cf
  * config/win/global.cf
  * config/lib.cf
  * config/bin.cf
    * Make files changed to:
      - add Harbour option -n1 for all lib .prgs.
      - add Harbour option -n for all binary .prgs.
      - use HB_GCMODE to override -gc mode for binaries.
      - add C -DHB_DYNLIB option when HB_DLL envvar is set to 'yes'.
    ; This means that now 'set HB_DLL=yes' setting works as planned,
      and will compile Harbour to allow the creation of .dlls
      and will also create those (msvc, bcc32, owatcom).
      (MinGW has been covered before these changes already.)
    ; TOFIX: .dlls still need tweaking to work properly.
             owatcom doesn't create usable binaries when
             using HB_DLL=yes f.e., also hbrun-dll cannot be
             built with msvc/bcc32.

  * config/win/owatcom.cf
    % Removed DOS hack.

  * bin/hb-mkdyn.bat
    ! Fixes to recent changes.
2009-02-26 11:17:38 +00:00
Przemyslaw Czerpak
4ced222eb0 2009-02-26 12:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gtwvt/gtwvt.h
  * harbour/source/rtl/gtwvt/gtwvt.c
    + added support to set codepage for box drawing characters using
      HB_GTI_BOXCP as numeric value just like in HB_GTI_CODEPAGE for
      non UNICODE builds. In Windows CP encoding has even higher priority
      then font name so such functionality is necessary for users who
      have to keep normal and box font synced
    % do not allocate separate font handle for BOX drawing characters
      when they have the same encoding as normal characters
    ! keep box and normal font handles synced and free then on exit
    ! respect HB_GTI_RESIZABLE settings when new window is created
2009-02-26 10:57:23 +00:00
Viktor Szakats
7bdb1a9ea4 2009-02-26 10:24 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-mkdyn.bat
    + Moving .lib and .exp (if they are generated) files
      to LIB dir.

  * source/vm/maindllp.c
    + Added owatcom flavour of .dll name.

  * contrib/hbwin/win_misc.c
    + Added WAPI_GETLASTERROR(), WAPI_SETLASTERROR(), WAPI_SETERRORMODE().

  * utils/hbmk2/hbmk2.prg
    + Added TODO to create temp .c files in temp location.
      Looks this can create a few problems (-hbcc, .ppo output
      location when -p is used by user).
    + '/o' flavour of -o option is now ignored on non-*nix
      systems to make sure users cannot mess up the hbmk process
      flow.
    * -o option modified to reset any previous explicit -o settings.
    * Some minor internal renames, comments.
    + Added new hbmk.cfg / .hbp option: 'shareddef='. This can
      change the default state of shared/static setting, so it
      can be used by installers or user to override default
      behaviour. NOTE: HB_SHARED envvar can also be used.
    * Changed hbmk.cfg lookup preferences to this:
      1. $HOME/.harbour
      2. /etc/harbour
      3. <hbmkdir>/../etc/harbour
      4. <hbmkdir>/../etc
      5. <hbmkdir>
      (NOTE: I've deleted /etc as etc/harbour seems superior
             and we already store a .def file there.
             I've also deleted /usr/local/etc)
2009-02-26 09:25:29 +00:00
Pritpal Bedi
fa6220892b 2009-02-25 18:57 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/gtwvg/gtwvg.c
  * harbour/contrib/gtwvg/wvgcrt.prg
  * harbour/contrib/gtwvg/wvgwnd.prg
    ! More types of consoles. Mainly modal windows implementation.
2009-02-26 03:01:10 +00:00