Commit Graph

618 Commits

Author SHA1 Message Date
Viktor Szakats
f3efccb8d3 2009-03-30 10:27 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Don't attempt to strip leading 'lib' from libnames, since
      this breaks libs which actually begin with 'lib', not meant
      as a prefix. F.e. libpng, libhpdf, libjpeg.

  * contrib/hbqt/tests/hbqt.hbp
    + Added static QT libname as comment (for now).
2009-03-30 08:30:30 +00:00
Viktor Szakats
3ade1bc7a9 2009-03-30 09:37 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added two Windows system libs. (also needed for QT)
2009-03-30 07:37:28 +00:00
Viktor Szakats
589551e057 2009-03-28 21:16 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added autofilling CCPREFIX on Windows platform when
      -comp=mingw64 or -comp=mingwce is specified.
    + Added autofilling CCPATH on Windows platform when
      -comp=mingw64 or -comp=mingwce is specified and
      corresponding embedded MinGW installations are found in
      Harbour directory.

    ; IOW this means that it's now possible to create a unified,
      self-contained install kit, which is able to easily build
      x64, WinCE and x86 executables with command below:
      > hbmk2 test.prg            => test.exe for x86
      > hbmk2 -comp=mingw64 a.prg => test.exe for x64
      > hbmk2 -comp=mingwce a.prg => test.exe for ARM/WinCE
      Can it be any simpler than that?

      My sample install .zip is 322MB and it contains Harbour libs
      for msvc, mingw, mingw64, mingwce, bcc, owatcom and contains
      all required MinGW files.
      It will be even easier if we add CPU platform identifiers 
      to Harbour.
2009-03-28 20:19:20 +00:00
Viktor Szakats
cd295ba8c8 2009-03-27 15:01 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbodbc/odbc.c
    ! Fixed potential buffer overrun in SQLDRIVERCONNECT() in UNICODE mode.

  * utils/hbmk2/hbmk2.prg
    - Removed debug line left in.
2009-03-27 14:02:10 +00:00
Viktor Szakats
56b242485e 2009-03-27 12:22 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbqt/tests/hbqt.hbp
    + Removed mingw32 lib not necessary.
    + Added gt=gtnul to suppress the console window.

  * utils/hbmk2/hbmk2.prg
    ! Fixed gtnul usage in one remaining place.
2009-03-27 11:23:07 +00:00
Viktor Szakats
453b7e13ea 2009-03-27 10:16 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added autodetection of lib/<arch>/<comp> lib dir. This
      makes it possible to use hbmk2 in multicompiler scenarios
      without 'make install'ing Harbour, or even multicompiler
      end-user configurations for any compiler regardless of
      lib format and naming.

  + contrib/hbqt/tests/hbqt.hbp
    + Added .hbp file for hbqt.

  * contrib/hbodbc/odbc.c
    * Further type cleanup.
    * Formatting.

  * contrib/hbole/tests/testole.prg
    * Minor cleanups.

  * contrib/hbole/olecore.c
    * Using hb_itemGetCPtr2() instead of hb_itemGetCLPtr()

  * contrib/hbwin/wapi_commctrl.c
  * contrib/hbwin/wapi_winuser.c
    ! WinCE fixes.
    * Formatting.

  * contrib/examples/hbwhat/tests/hbwhat.hbp
    - Removed no longer necessary Windows libs.
2009-03-27 09:17:51 +00:00
Viktor Szakats
74c14c6fa8 2009-03-27 01:52 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
  * contrib/hbole/tests/hbole.hbp
  * contrib/gtwvg/tests/gtwvg.hbp
  * contrib/hbwin/tests/hbwin.hbp
  - utils/hbmk2/examples/winapi.hbp
    + Added all important Windows system libs to all
      win compilers in hbmk2.
    - Removed above libs from .hbp files.

  * contrib/hbodbc/todbc.prg
  * contrib/hbodbc/browodbc.prg
  * contrib/hbodbc/odbc.c
    * Further cleanups.
      SETNUMLEN() -> SQLNUMSETLEN(). This should probably be a core
      function by the name HB_NUMSETLEN().

  * contrib/hbole/tests/testole.prg
  * contrib/hbole/tests/sample.odt
    + Updated to latest hbole code.
    ; TOFIX: hbole code doesn't compile with MSVC in default C++
             even if #define CINTERFACE 1 is enabled.
    ; TOFIX: OpenOffice example fails at some point. It probably
             needs array support.

  * contrib/hbole/olecore.c
    * Minor formatting.

  * contrib/hbqt/hbqt_qabstractitemview.cpp
    ! Fixed backslash to forward slash.

  * contrib/hbct/tests/ctwtest.prg
  * contrib/hbnf/dispmsg.prg
  * contrib/hbnf/pegs.prg
  * contrib/hbnf/tbwhile.prg
  * contrib/hbnf/calendar.prg
  * contrib/gtwvg/tests/demowvg.prg
  * contrib/examples/terminal/trm_server.prg
  * contrib/examples/terminal/trm_client.prg
    ! Using manifest constants.

  * contrib/hbmysql/mysql.c
  * contrib/hbodbc/odbc.c
    * Minor cleanup.

  * contrib/hbodbc/tests/odbcdemo.prg
  * contrib/hbodbc/tests/odbccall.prg
  * contrib/hbodbc/tests/testodbc.prg
    * Minor.
2009-03-27 00:55:52 +00:00
Viktor Szakats
e399ce49a0 2009-03-26 15:54 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added autodetection of embedded MinGW64 and MinGWCE 
      compilers.
2009-03-26 14:55:04 +00:00
Viktor Szakats
f599e6f38d 2009-03-25 15:47 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* doc/en/Makefile
  * doc/Makefile
  - doc/en
  + doc/en-EN
    * Renamed.

  + man
  + man/nfdoc
  + man/manpages
    + Added new dir for Harbour manuals.
    ; TODO: Move files here from /doc.

  * contrib/hbtpathy/tests/testtp.prg
    * Applied update/fix by Barry Jackson.

  * utils/hbmk2/hbmk2.prg
    + Added autodetection of MinGW compiler if installed in the
      Harbour directory tree in the mingw dir.
      This way it's possible to create a fully setup-free
      install kit, which is able to produce Harbour executables
      right after unzip by simply issuing command: hbmk2 hello.prg
2009-03-26 14:48:15 +00:00
Viktor Szakats
3de4f48f71 2009-03-25 16:19 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-func.sh
  * bin/hb-mkdyn.bat
  * bin/hb-mkdyn.sh
  * bin/postinst.bat
  * bin/postinst.cmd
  * bin/postinst.sh
  * contrib/examples/hbdoc/examples/core_es/array.txt
  * contrib/examples/hbdoc/examples/core_es/binnum.txt
  * contrib/examples/hbdoc/examples/core_es/browse.txt
  * contrib/examples/hbdoc/examples/core_es/clipper.txt
  * contrib/examples/hbdoc/examples/core_es/cmdline.txt
  * contrib/examples/hbdoc/examples/core_es/codebloc.txt
  * contrib/examples/hbdoc/examples/core_es/command.txt
  * contrib/examples/hbdoc/examples/core_es/compiler.txt
  * contrib/examples/hbdoc/examples/core_es/datetime.txt
  * contrib/examples/hbdoc/examples/core_es/dbdelim.txt
  * contrib/examples/hbdoc/examples/core_es/dbsdf.txt
  * contrib/examples/hbdoc/examples/core_es/dbstrux.txt
  * contrib/examples/hbdoc/examples/core_es/dir.txt
  * contrib/examples/hbdoc/examples/core_es/dirstruc.txt
  * contrib/examples/hbdoc/examples/core_es/diskspac.txt
  * contrib/examples/hbdoc/examples/core_es/error.txt
  * contrib/examples/hbdoc/examples/core_es/eval.txt
  * contrib/examples/hbdoc/examples/core_es/file.txt
  * contrib/examples/hbdoc/examples/core_es/garbage.txt
  * contrib/examples/hbdoc/examples/core_es/harbext.txt
  * contrib/examples/hbdoc/examples/core_es/hb_apiln.txt
  * contrib/examples/hbdoc/examples/core_es/hb_set.txt
  * contrib/examples/hbdoc/examples/core_es/hb_vm.txt
  * contrib/examples/hbdoc/examples/core_es/howtobsd.txt
  * contrib/examples/hbdoc/examples/core_es/hvm.txt
  * contrib/examples/hbdoc/examples/core_es/idle.txt
  * contrib/examples/hbdoc/examples/core_es/input.txt
  * contrib/examples/hbdoc/examples/core_es/lang.txt
  * contrib/examples/hbdoc/examples/core_es/license.txt
  * contrib/examples/hbdoc/examples/core_es/macro.txt
  * contrib/examples/hbdoc/examples/core_es/math.txt
  * contrib/examples/hbdoc/examples/core_es/memo.txt
  * contrib/examples/hbdoc/examples/core_es/memvar2.txt
  * contrib/examples/hbdoc/examples/core_es/misc.txt
  * contrib/examples/hbdoc/examples/core_es/nation.txt
  * contrib/examples/hbdoc/examples/core_es/objfunc.txt
  * contrib/examples/hbdoc/examples/core_es/pcode.txt
  * contrib/examples/hbdoc/examples/core_es/pragma.txt
  * contrib/examples/hbdoc/examples/core_es/rdd.txt
  * contrib/examples/hbdoc/examples/core_es/readme.txt
  * contrib/examples/hbdoc/examples/core_es/sayget.txt
  * contrib/examples/hbdoc/examples/core_es/setmode.txt
  * contrib/examples/hbdoc/examples/core_es/statics.txt
  * contrib/examples/hbdoc/examples/core_es/strotype.txt
  * contrib/examples/hbdoc/examples/core_es/subcodes.txt
  * contrib/examples/hbdoc/examples/core_es/tbrowse.txt
  * contrib/examples/hbdoc/examples/core_es/tclass.txt
  * contrib/examples/hbdoc/examples/core_es/tgetlist.txt
  * contrib/examples/hbdoc/examples/core_es/tlabel.txt
  * contrib/examples/hbdoc/examples/core_es/tracing.txt
  * contrib/examples/hbdoc/examples/core_es/treport.txt
  * contrib/examples/hbdoc/examples/core_es/var.txt
  * contrib/examples/hbdoc/examples/core_es/vm.txt
  * contrib/examples/pp/hbppcore.c
  * contrib/gtwvg/gtwvg.c
  * contrib/gtwvg/wvgcore.c
  * contrib/gtwvg/wvgcuig.c
  * contrib/gtwvg/wvggui.c
  * contrib/gtwvg/wvgutils.c
  * contrib/gtwvg/wvgwin.c
  * contrib/hbct/datetime.c
  * contrib/hbct/pack.c
  * contrib/hbct/video.c
  * contrib/hbfbird/firebird.c
  * contrib/hbfbird/tfirebrd.prg
  * contrib/hbfimage/readme.txt
  * contrib/hbgd/doc/hbgd.txt
  * contrib/hbmisc/dates2.c
  * contrib/hbmisc/doc/en/dates2.txt
  * contrib/hbmisc/doc/en/ht_class.txt
  * contrib/hbmisc/doc/en/ht_conv.txt
  * contrib/hbmisc/doc/en/ht_dbf.txt
  * contrib/hbmisc/doc/en/ht_doc.txt
  * contrib/hbmisc/doc/en/ht_str.txt
  * contrib/hbmysql/mysql.c
  * contrib/hbnf/fttext.c
  * contrib/hbodbc/odbc.c
  * contrib/hbpgsql/postgres.c
  * contrib/hbpgsql/tpostgre.prg
  * contrib/hbsqlit3/hbsqlit3.c
  * contrib/hbsqlit3/hbsqlit3.ch
  * contrib/hbsqlit3/tests/blob.prg
  * contrib/hbsqlit3/tests/metadata.prg
  * contrib/hbsqlit3/tests/pack.prg
  * contrib/hbsqlit3/tests/sqlite3_test.prg
  * contrib/hbtip/utils.c
  * contrib/hbwin/win_prn1.c
  * contrib/hbwin/win_tprn.prg
  * contrib/rddads/doc/en/adsfuncs.txt
  * doc/class_tp.txt
  * doc/en/array.txt
  * doc/en/binnum.txt
  * doc/en/browse.txt
  * doc/en/command.txt
  * doc/en/datetime.txt
  * doc/en/dbdelim.txt
  * doc/en/dbsdf.txt
  * doc/en/dbstrux.txt
  * doc/en/dir.txt
  * doc/en/diskspac.txt
  * doc/en/error.txt
  * doc/en/eval.txt
  * doc/en/file.txt
  * doc/en/hb_api.txt
  * doc/en/hb_apier.txt
  * doc/en/hb_apifs.txt
  * doc/en/hb_apigt.txt
  * doc/en/hb_apiit.txt
  * doc/en/hb_apiln.txt
  * doc/en/hb_apird.txt
  * doc/en/hb_compa.txt
  * doc/en/hb_date.txt
  * doc/en/hb_macro.txt
  * doc/en/hb_set.txt
  * doc/en/hb_vm.txt
  * doc/en/hvm.txt
  * doc/en/input.txt
  * doc/en/lang.txt
  * doc/en/math.txt
  * doc/en/memo.txt
  * doc/en/menu.txt
  * doc/en/misc.txt
  * doc/en/nation.txt
  * doc/en/objfunc.txt
  * doc/en/rdd.txt
  * doc/en/rdddb.txt
  * doc/en/rddmisc.txt
  * doc/en/rddord.txt
  * doc/en/set.txt
  * doc/en/setmode.txt
  * doc/en/string.txt
  * doc/en/tclass.txt
  * doc/en/terminal.txt
  * doc/en/tgetlist.txt
  * doc/en/tlabel.txt
  * doc/en/treport.txt
  * doc/en/var.txt
  * doc/hdr_tpl.txt
  * harbour-wce-spec
  * harbour-win-spec
  * harbour.spec
  * include/hbapigt.h
  * include/hbclass.ch
  * include/hboo.ch
  * make_gnu.bat
  * make_gnu.sh
  * mpkg_deb.sh
  * mpkg_rpm.sh
  * mpkg_rpm_from_svn.sh
  * mpkg_rpm_wce.sh
  * mpkg_rpm_win.sh
  * mpkg_tgz.sh
  * mpkg_win.bat
  * mpkg_win.nsi
  * source/common/hbdate.c
  * source/common/hbstr.c
  * source/common/hbver.c
  * source/compiler/cmdcheck.c
  * source/compiler/hbmain.c
  * source/debug/dbgtwin.prg
  * source/debug/debugger.prg
  * source/lang/msgpt.c
  * source/lang/msgptiso.c
  * source/rtl/accept.c
  * source/rtl/alert.prg
  * source/rtl/console.c
  * source/rtl/dates.c
  * source/rtl/dateshb.c
  * source/rtl/errorapi.c
  * source/rtl/filesys.c
  * source/rtl/gete.c
  * source/rtl/getsys.prg
  * source/rtl/getsys53.prg
  * source/rtl/gtapi.c
  * source/rtl/gtcrs/hb-charmap.def
  * source/rtl/gtdos/gtdos.c
  * source/rtl/gtos2/gtos2.c
  * source/rtl/gtwin/gtwin.c
  * source/rtl/gtwvt/gtwvt.c
  * source/rtl/gx.c
  * source/rtl/idle.c
  * source/rtl/inkey.c
  * source/rtl/mouseapi.c
  * source/rtl/natmsg.c
  * source/rtl/natmsgu.c
  * source/rtl/net.c
  * source/rtl/objfunc.prg
  * source/rtl/round.c
  * source/rtl/setpos.c
  * source/rtl/tclass.prg
  * source/rtl/tgetlist.prg
  * source/rtl/tobject.prg
  * source/rtl/transfrm.c
  * source/rtl/valtype.c
  * source/rtl/xsavescr.c
  * source/vm/arrays.c
  * source/vm/classes.c
  * source/vm/eval.c
  * source/vm/extend.c
  * source/vm/extrap.c
  * source/vm/fm.c
  * source/vm/hvm.c
  * source/vm/itemapi.c
  * source/vm/memvars.c
  * source/vm/proc.c
  * tests/bnchmark/bnch_win.bat
  * tests/langmsg.prg
  * tests/rto_tb.prg
  * utils/hbmk2/hbmk2.prg
  * utils/hbtest/make_c5x.bat
    * Changed reference:
      doc/license.txt -> COPYING.
      One step to allow the reorganization of doc dir.
2009-03-25 15:34:09 +00:00
Viktor Szakats
61cfc5b576 2009-03-21 15:02 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
  * config/win/icc.cf
  * config/win/cygwin.cf
  * config/win/msvc.cf
  * config/win/owatcom.cf
  * config/win/xcc.cf
  * config/win/mingw.cf
  * config/win/pocc.cf
    * Changed Harbour to uniformly link against ws2_32 winsock
      lib on Windows. Previous we've been using a mixture of
      ws2_32 and wsock32, sometimes both. For some platforms
      one of these libs is automatically included by linker,
      f.e. for bcc, wsock32 is used.
    ! This fixes wsock32 no longer available for mingw64.
    ; These platforms should be retested if this causes any
      problems, but ws2_32 should be available for all since long.

  * utils/hbmk2/hbmk2.prg
    ! Typo in prev commit.

  * source/vm/maindllp.c
  * source/vm/extrap.c
    ! Fixed for mingw64.
    ! Fixed warning for mingw64.
      ; TODO: Check for possible regression.

  * contrib/hbodbc/odbc.c
    ! Fixed mingw64 warning.
    ; TODO: Check for possible regression.

    ; TOFIX: (3rd party dependent contribs not yet included)
      Errors/Core:
      Temp/ccVJXjZS.s: Assembler messages:
      Temp/ccVJXjZS.s:19: Error: Incorrect register `%rax' used with `l' suffix
      Temp/ccVJXjZS.s:20: Error: `0x0e10(%rax,%ecx,4)' is not a valid base/index expression
      Temp/ccVJXjZS.s:36: Error: Incorrect register `%rax' used with `l' suffix
      Temp/ccVJXjZS.s:37: Error: `0x0e10(%rax,%ecx,4)' is not a valid base/index expression
      + GTWVG (also lots of warning)

      Warnings/Core:
      ../../hbprintf.c: In function 'hb_snprintf':
      ../../hbprintf.c:1067: warning: implicit declaration of function 'finite'
      ../../hbprintf.c:1148: warning: cast from pointer to integer of different size
      ../../itemapi.c: In function 'hb_itemStrBuf':
      ../../itemapi.c:2159: warning: implicit declaration of function 'finite'
      ../../dbfntx1.c: In function 'hb_ntxTagHeaderCheck':
      ../../dbfntx1.c:1016: warning: dereferencing type-punned pointer will break strict-aliasing rules
      ../../dbfntx1.c:1016: warning: dereferencing type-punned pointer will break strict-aliasing rules
      ../../dbfntx1.c:1017: warning: dereferencing type-punned pointer will break strict-aliasing rules
      ../../dbfntx1.c:1017: warning: dereferencing type-punned pointer will break strict-aliasing rules
      ../../dbfntx1.c:1017: warning: dereferencing type-punned pointer will break strict-aliasing rules
      ../../dbfntx1.c:1017: warning: dereferencing type-punned pointer will break strict-aliasing rules
      ../../dbfnsx1.c: In function 'hb_nsxTagHeaderCheck':
      ../../dbfnsx1.c:1233: warning: dereferencing type-punned pointer will break strict-aliasing rules
      ../../dbfnsx1.c:1235: warning: dereferencing type-punned pointer will break strict-aliasing rules
      ../../dbfnsx1.c:1236: warning: dereferencing type-punned pointer will break strict-aliasing rules
      ../../dbfnsx1.c:1236: warning: dereferencing type-punned pointer will break strict-aliasing rules
      ../../dbfnsx1.c:1236: warning: dereferencing type-punned pointer will break strict-aliasing rules
      ../../dbfnsx1.c:1236: warning: dereferencing type-punned pointer will break strict-aliasing rules
      ../../dbfnsx1.c: In function 'hb_nsxPageFree':
      ../../dbfnsx1.c:1525: warning: dereferencing type-punned pointer will break strict-aliasing rules
      ../../dbfnsx1.c:1525: warning: dereferencing type-punned pointer will break strict-aliasing rules
      ../../dbfnsx1.c:1525: warning: dereferencing type-punned pointer will break strict-aliasing rules
      ../../dbfnsx1.c:1525: warning: dereferencing type-punned pointer will break strict-aliasing rules
      ../../dbfnsx1.c: In function 'hb_nsxPageNew':
      ../../dbfnsx1.c:1574: warning: dereferencing type-punned pointer will break strict-aliasing rules
      ../../dbfnsx1.c:1574: warning: dereferencing type-punned pointer will break strict-aliasing rules
      ../../dbfnsx1.c:1574: warning: dereferencing type-punned pointer will break strict-aliasing rules
      ../../dbfnsx1.c:1574: warning: dereferencing type-punned pointer will break strict-aliasing rules

      Warnings/Contrib:
      ../../files.c: In function 'HB_FUN_SETFDATI':
      ../../files.c:247: warning: cast to pointer from integer of different size
      ../../files.c:268: warning: cast from pointer to integer of different size
      ../../getenvrn.c: In function 'HB_FUN_FT_GETE':
      ../../getenvrn.c:178: warning: implicit declaration of function 'GetEnvironmentStrings'
      ../../getenvrn.c:178: warning: initialization makes pointer from integer without a cast
      ../../tpwin.c: In function 'HB_FUN_P_INITPORTSPEED':
      ../../tpwin.c:78: warning: cast to pointer from integer of different size
      ../../tpwin.c:89: warning: cast to pointer from integer of different size
      ../../tpwin.c: In function 'HB_FUN_P_READPORT':
      ../../tpwin.c:108: warning: cast to pointer from integer of different size
      ../../tpwin.c: In function 'HB_FUN_P_WRITEPORT':
      ../../tpwin.c:119: warning: cast to pointer from integer of different size
      ../../win_dll.c: In function 'DllExec':
      ../../win_dll.c:509: warning: cast from pointer to integer of different size
      ../../win_dll.c:603: warning: cast to pointer from integer of different size
      ../../win_dll.c:672: warning: cast to pointer from integer of different size
      ../../win_dll.c:689: warning: cast to pointer from integer of different size
      ../../win_dll.c: In function 'hb_getprocaddress':
      ../../win_dll.c:809: warning: cast to pointer from integer of different size
      ../../win_ole.c: In function 'hb_oleItemToVariant':
      ../../win_ole.c:466: warning: cast to pointer from integer of different size
      ../../win_ole.c: In function 'FreeParams':
      ../../win_ole.c:762: warning: cast from pointer to integer of different size
      ../../win_ole.c: In function 'hb_oleVariantToItem':
      ../../win_ole.c:1092: warning: cast from pointer to integer of different size
      ../../win_ole.c: In function 'HB_FUN_CREATEOLEOBJECT':
      ../../win_ole.c:1425: warning: cast from pointer to integer of different size
      ../../win_ole.c: In function 'HB_FUN_GETOLEOBJECT':
      ../../win_ole.c:1478: warning: cast from pointer to integer of different size
      ../../win_ole.c: In function 'HB_FUN_OLEADDREF':
      ../../win_ole.c:1486: warning: cast to pointer from integer of different size
      ../../win_ole.c: In function 'HB_FUN_OLERELEASEOBJECT':
      ../../win_ole.c:1498: warning: cast to pointer from integer of different size
      ../../win_ole.c: In function 'HB_FUN_TOLEAUTO_OLEVALUE':
      ../../win_ole.c:1648: warning: cast to pointer from integer of different size
      ../../win_ole.c: In function 'HB_FUN_TOLEAUTO__OLEVALUE':
      ../../win_ole.c:1675: warning: cast to pointer from integer of different size
      ../../win_ole.c: In function 'HB_FUN_TOLEAUTO_OLENEWENUMERATOR':
      ../../win_ole.c:1703: warning: cast to pointer from integer of different size
      ../../win_ole.c: In function 'HB_FUN_TOLEAUTO_INVOKE':
      ../../win_ole.c:1786: warning: cast to pointer from integer of different size
      ../../win_ole.c: In function 'HB_FUN_TOLEAUTO_SET':
      ../../win_ole.c:1810: warning: cast to pointer from integer of different size
      ../../win_ole.c: In function 'HB_FUN_TOLEAUTO_GET':
      ../../win_ole.c:1834: warning: cast to pointer from integer of different size
      ../../win_ole.c: In function 'HB_FUN_TOLEAUTO_ONERROR':
      ../../win_ole.c:1861: warning: cast to pointer from integer of different size
      ../../win_regc.c: In function 'hb_regkeyconv':
      ../../win_regc.c:77: warning: cast to pointer from integer of different size
      ../../win_regc.c: In function 'HB_FUN_WIN_REGCREATEKEYEX':
      ../../win_regc.c:82: warning: cast to pointer from integer of different size
      ../../win_regc.c:96: warning: cast from pointer to integer of different size
      ../../win_regc.c: In function 'HB_FUN_WIN_REGOPENKEYEX':
      ../../win_regc.c:118: warning: cast from pointer to integer of different size
      ../../win_regc.c: In function 'HB_FUN_WIN_REGCLOSEKEY':
      ../../win_regc.c:193: warning: cast to pointer from integer of different size
      ../../wapi_commctrl.c: In function 'HB_FUN_WAPI_TABCTRL_GETITEMRECT':
      ../../wapi_commctrl.c:521: warning: value computed is not used
      ../../wapi_commctrl.c: In function 'HB_FUN_WAPI_TABCTRL_GETIMAGELIST':
      ../../wapi_commctrl.c:553: warning: cast from pointer to integer of different size
      ../../wapi_commctrl.c: In function 'HB_FUN_WAPI_TABCTRL_ADJUSTRECT':
      ../../wapi_commctrl.c:632: warning: value computed is not used
      ../../wapi_commctrl.c: In function 'HB_FUN_WAPI_TABCTRL_CREATE':
      ../../wapi_commctrl.c:782: warning: cast to pointer from integer of different size
      ../../wapi_commctrl.c:786: warning: cast from pointer to integer of different size
      ../../wapi_winbase.c: In function 'HB_FUN_WAPI_GETMODULEHANDLE':
      ../../wapi_winbase.c:83: warning: cast to pointer from integer of different size
      ../../hbserv.c: In function 's_serviceSetHBSig':
      ../../hbserv.c:638: warning: passing argument 1 of 'SetUnhandledExceptionFilter' from incompatible pointer type
      ../../hbxml.c: In function 'HB_FUN_HBXML_DATAREAD':
      ../../hbxml.c:2321: warning: cast to pointer from integer of different size
2009-03-21 14:07:25 +00:00
Viktor Szakats
90697727c5 2009-03-21 14:23 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
  * utils/hbmk2/hbmk2.prg
  + config/win/mingw64.cf
  * config/win/mingw.cf
    + Added support for mingw64. MinGW 64-bit mode.
      Harbour doesn't build yet due to some compiling errors
      (plus some internal MinGW ones to be investigated).
    ; TODO: Add support in postinst.sh.

  * source/vm/extrap.c
    * win32 -> win.
2009-03-21 13:26:41 +00:00
Viktor Szakats
b8451d6e7c 2009-03-21 10:17 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* tests/bnchmark/bnch_win.bat
    + Added option to override benchmark program name, so now
      it can be used with customized speedtst versions or other
      benchmark apps.
    + Added HB_CMP_FLAGS envvar to define common compilation flags.
    + Now echoing all benchmark settings to output.

  * config/win/icc.cf
    + Added -nologo.
    * Changed -W4 to -W3, as -W3 is really verbose in this compiler.

  * INSTALL
  * bin/hb-mkdyn.bat
  * utils/hbmk2/hbmk2.prg
  + config/win/iccia64.cf
    + Added Intel(R) C++ Compiler IA64 support.
      All Harbour libs (including contribs) compiled successfully,
      but I couldn't try linking any executables.
    ; TODO: Add processor information to appropriate places into
            Harbour. Currently we have only bit width and endianness,
            but no actual CPU family info. CPU instruction families
            Harbour can currently be built on out of the box:
            x86, amd64, IA64, PPC, PPC64, ARM.
2009-03-21 09:23:32 +00:00
Viktor Szakats
04e0670135 2009-03-19 15:33 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
  * contrib/Makefile
    + Added QT to the mainstream build. See INSTALL how to 
      enable it. We will disable it before release if it will 
      be a build blocker.

  + contrib/hbqt/hbqt_base.cpp
    + Added missing file from previous commit.

  * utils/hbmk2/hbmk2.prg
    + Added -dflag: and -aflag: options.
2009-03-19 14:34:33 +00:00
Viktor Szakats
0211fce921 2009-03-18 13:09 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbapi.h
    ! Added HB_EXPORT declaration for hb_vmSetLinkedMain().

  * utils/hbmk2/hbmk2.prg
    ! Regression regarding -ldflag: option handling.
2009-03-18 12:10:16 +00:00
Viktor Szakats
2ec4c76d15 2009-03-18 11:58 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Enabled lib grouping for minwgce.

  * include/hbtypes.h
  * source/vm/maindllp.c
    * Formatting.
2009-03-18 10:59:10 +00:00
Viktor Szakats
306bd6ee45 2009-03-18 09:49 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added support for multiple input files when using pocc.
    ! Fixed some mingw/mingwce mis-identifications.
2009-03-18 08:50:04 +00:00
Przemyslaw Czerpak
111895ba2b 2009-03-18 01:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbtest/rt_hvma.prg
    * use #pragma -ko- / #pragma -ko+ to make 3 RTE messages clipper
      compatible
2009-03-18 00:14:47 +00:00
Viktor Szakats
5e744ca9e4 2009-03-18 00:50 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added support for -o for executables in win/pocc.
2009-03-17 23:52:46 +00:00
Viktor Szakats
c7d56abd33 2009-03-18 00:31 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* config/rules.cf
    + Added -ko optimization switch for Harbour.
    ; TODO: Disable it for specific places of hbtest.

  * bin/hb-mkdyn.bat
    + Added missing pocc implib generation.

  * utils/hbmk2/hbmk2.prg
    + mingwce support synced with mingw some more.
      F.e. now resources are supported for mingwce executables.
2009-03-17 23:31:50 +00:00
Viktor Szakats
dccd59cf69 2009-03-17 17:05 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-mkdyn.sh
  * bin/hb-mkdyn.bat
  * source/vm/maindllp.c
  * utils/hbmk2/hbmk2.prg
    + Renamed all Windows Harbour .dlls to harbour-11.dll and
      harbourmt-11.dll. This means that MinGW will now have a versioned
      name to be in sync with other builds. It also means that
      -vc, -pocc, -ow postfixes are gone (and additionally DMC
      could also be supported). What remains is -x64 to
      signal an x64 and -ia64 to signal a IA64 build. Another thing
      which remains is -b32 (now renamed to -bcc to be in sync with
      rest of Harbour), because Borland has an non-standard
      name mangling, and while it can be made work with other
      compilers since the calling convention is the same, it requires
      the .dll user applications to be rebuilt with some implib tricks.
      Overall Borland isn't recommended for .dll creation.
      Please do further tests for binary compatibility.

    ; TOFIX: Location of .dll still differs for mingw/cygwin, they
             are created in lib while rest of compilers create it in
             bin. I think we should sync them by creating a copy
             of the .dlls in bin for mingw/cygwin. Przemek, could
             you help here?
    ; TOFIX: "Making <dllname>..." screen messages. I'll need some  
             help here also.

  * bin/hb-mkdyn.sh
    * ${MAJOR} default set to 1.

  * make_gnu_os2.cmd
    * Minor formatting.

  * contrib/hbgd/gdwrp.c
    ! Minor correction to recent change. (avoiding warning for MinGW)
2009-03-17 16:30:35 +00:00
Viktor Szakats
f745af7218 2009-03-17 10:00 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* debian/rules
  * harbour-win-spec
  * harbour-wce-spec
  * harbour.spec
  * mpkg_tgz.sh
    - hbdoc removed from core.

  - doc/Makefile
  - doc/es
  + contrib/examples/hbdoc/examples/core_es
    * Moved.

  - doc/man/hbdoc.1
  + contrib/examples/hbdoc/hbdoc.1
    * Moved.

  - doc/en/genhtm.lnk
  - doc/en/genhtm.sh
  - doc/en/genhtm.rsp
  - doc/en/genhtm.bat
  + contrib/examples/hbdoc/examples/core_en/genhtm.rsp
  + contrib/examples/hbdoc/examples/core_en/genhtm.lnk
  + contrib/examples/hbdoc/examples/core_en/genhtm.bat
  + contrib/examples/hbdoc/examples/core_en/genhtm.sh
    * Moved.

  - contrib/hbgt/doc/gendoc.bat
  - contrib/hbgt/doc/libgt.lnk
  - contrib/hbgt/doc/libgt.rsp
  - contrib/rddads/doc/gendoc.bat
  - contrib/rddads/doc/rddads.lnk
  - contrib/rddads/doc/rddads.rsp
    - Deleted.

  * utils/Makefile
  - utils/hbdoc
  + contrib/examples/hbdoc
  - contrib/hbmisc/doc/gendoc.bat
  - contrib/hbmisc/doc/hbmisc.lnk
  - contrib/hbmisc/doc/hbmisc.rsp
  + contrib/examples/hbdoc/examples/hbmisc/gendoc.bat
  + contrib/examples/hbdoc/examples/hbmisc/hbmisc.lnk
  + contrib/examples/hbdoc/examples/hbmisc/hbmisc.rsp
    * Moved.

  - contrib/hbgt/doc/en/ht_gt.txt
  + contrib/hbgt/doc/en/hbgt.txt
    * Renamed.
2009-03-17 09:09:00 +00:00
Viktor Szakats
708076ce5a 2009-03-17 09:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbdoc/genos2.prg
  * utils/hbdoc/genng.prg
  * utils/hbdoc/genasc.prg
  * utils/hbdoc/genchm.prg
  * utils/hbdoc/genhpc.prg
  * utils/hbdoc/ft_funcs.prg
  * utils/hbdoc/hbdoc.prg
  * utils/hbdoc/genhtm.prg
  * utils/hbdoc/genpdf1.prg
  * utils/hbdoc/gentrf.prg
  * utils/hbdoc/genrtf.prg
    + Enabled line number for all files to aid finding crashes.
    ! Few crashes fixed. Still far from usable state.

  * source/vm/thread.c
    + Added short Harbour level API description. (from Przemek)

  * contrib/xhb/Makefile
  * contrib/xhb/hbcompat.ch
  + contrib/xhb/xhbmt.prg
    + Added translation for all xhb MT functions.
      (Thanks a lot Przemek)
2009-03-17 08:28:01 +00:00
Viktor Szakats
d13d5324dd 2009-03-17 00:18 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed mingw -fmstat in static mode. (shared mode gives
      warnings and doesn't work)
    + Added -[no]fmstat for all compilers. (untested)
2009-03-16 23:18:28 +00:00
Viktor Szakats
85559adb23 2009-03-16 23:18 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* harbour-win-spec
  * harbour-wce-spec
    % Removed forced -O2 options, -O3/-O2 are the defaults already.

  * mpkg_win.bat
    + Adds -DHB_FM_STATISTICS_OFF to HB_USER_CFLAGS.

  * utils/hbmk2/hbmk2.prg
    ! Setting gtwvt for msvcce targets as default GT.

  * source/debug/debugger.prg
    % Minor optimization. (platform branching done at PP 
      time rather than runtime).

  * contrib/xhb/hbcompat.ch
    + Added DestroyMutex() compatibility #translate.
2009-03-16 22:18:54 +00:00
Viktor Szakats
65c1dfc0fb 2009-03-16 18:31 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added __PLATFORM__* macro support for cross-compilation situations.

  * include/hbsetup.ch
    * Minor
2009-03-16 17:32:26 +00:00
Viktor Szakats
a17a6cdaef 2009-03-16 13:25 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added support for win/mingwce.
    + Honoring HB_CCPATH for ar in gcc *nix.
    + Honoring HB_CCPATH for gcc win.
2009-03-16 12:25:17 +00:00
Viktor Szakats
78ecf1f338 2009-03-16 11:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-mkdyn.bat
    ! Fixed typo in prev.

  * bin/hb-mkdyn.bat
    ! owatcom IMPLIB generation restored.

  * source/lang/msgpt.c
  * source/lang/msgeo.c
  * source/lang/msgfr.c
  * source/lang/msgptiso.c
  * source/lang/msgko.c
    ! Fixed missing commas.

  * source/vm/dynsym.c
  * source/vm/hvm.c
  * source/rdd/dbfnsx/dbfnsx1.c
    * while( TRUE ) -> for( ;; ) to avoid warning.

  * utils/hbmk2/hbmk2.prg
    ! Fixed to owatcom support.
    ! Fixed to honor HB_CCPREFIX in mingw detection.

  * config/dos/owatcom.cf
  * config/win/owatcom.cf
  * config/linux/owatcom.cf
  * config/os2/owatcom.cf
    + Enabled -w3 warning level (from -w2)
    + Added -bm (MT) switch for win.
    + Using -5s and -3s (when NOOPT) in win.
    * Synced win owatcom options with GNU Make.

  ; TOFIX: ../../dbf1.c(208): Warning! W007: col(55) '&array' may not produce intended result
2009-03-16 10:32:34 +00:00
Viktor Szakats
394831e5d4 2009-03-16 01:33 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-mkdyn.bat
  * source/vm/maindllp.c
  * utils/hbmk2/hbmk2.prg
    + Added .dll generation for pocc.
    + Added -shared support for pocc.

  * utils/hbmk2/hbmk2.prg
    ! Warning after prev commit is fixed.

  * source/vm/Makefile
    * All win targets will generate maindllh lib.
2009-03-16 00:36:06 +00:00
Viktor Szakats
a6569d6ef9 2009-03-16 00:38 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/postinst.bat
    + Added owatcom and pocc support for implib generation.

  * utils/hbmk2/hbmk2.prg
    + Fixed win/pocc support.
    + Added resource support for win/pocc.
    + Added .dll support for win/pocc.
    + Added win/xcc support (untested).
    + -DHB_DYNLIB is passed to C compiler in -hbdyn (.dll) mode
      for win targets. (still need fixing to create usable .dlls)
    ; NOTE: pocc support is very limited as pocc compiler doesn't
            support multiple input files.
2009-03-15 23:40:53 +00:00
Viktor Szakats
4e1e358ed1 2009-03-15 20:51 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
    + Documented cross-build config for minwgce.

  * utils/hbmk2/hbmk2.prg
    + Added static lib generation support for owatcom compilers on
      platforms.
    + Added static lib generation support for gcc family.
      Please review it's probably incomplete.
    + Honoring HB_CCPREFIX on win platform for gcc family.
    ! Fixed typo on .c stub function declaration for bcc/owatcom.

  * contrib/xhb/hbcompat.ch
    + #xtranslate hb_funcptr(<x>) => __dynsn2sym(<x>)
2009-03-15 19:52:01 +00:00
Przemyslaw Czerpak
6a22675855 2009-03-12 13:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gttrm/gttrm.c
    + added some missing xterm key sequences

  * harbour/utils/hbmk2/hbmk2.prg
    ! fixed curses name in SunOS builds (here we are using native curses
      library not ncurses)

  * harbour/config/hpux/global.cf
  * harbour/config/sunos/global.cf
    * enabled GTXWC disabled for default builds
2009-03-12 12:26:39 +00:00
Viktor Szakats
72dcda9b05 2009-03-10 15:48 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    * -debug description extended.

  * contrib/xhb/hbcompat.ch
    - Disabled dangerous bitop compatibility macros + comment added.
      Enabled them with #define XHB_BITOP. Or even better 
      to change code to use HB_BIT*() functions natively.
2009-03-10 14:53:44 +00:00
Viktor Szakats
202be35cb3 2009-03-10 03:46 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Added support for static lib creation (experimental).
      win/msvc, win/bcc are supported.
    + Added support for dynamic lib creation (experimental).
      win/msvc is currently support.
    ; Please help adding support for the rest of compilers.
2009-03-10 08:58:39 +00:00
Viktor Szakats
1157dc762f 2009-03-09 16:21 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_gnu_os2.cmd
  * make_gnu.bat
    + Clearing HARBOUR/CLIPPER envvars while building Harbour.

  * utils/hbmk2/hbmk2.prg
    * TODO section update.
2009-03-09 15:24:12 +00:00
Viktor Szakats
685bbbbafb 2009-03-08 15:56 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    + Normalizing paths of cfg files.
    * CCPREFIX, CCPATH renamed to HB_CCPREFIX, HB_CCPATH
      (seems these are Harbour specific settings)

  * contrib/examples/uhttpd/home/testxmldb.html
    * Added Safari as unsupported browser.
      (BTW, what would it need to support Safari and Chrome, or 
      WebKit browsers in general?)
2009-03-08 15:04:18 +00:00
Viktor Szakats
ff9e616a86 2009-03-07 22:14 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to recognize GT libs in dynlibhas= lines, 
      and add them to core GT list.
2009-03-07 21:21:54 +00:00
Viktor Szakats
57e57a9707 2009-03-07 12:49 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fix to prev (off by one).
2009-03-07 11:54:14 +00:00
Viktor Szakats
dc7cdeb762 2009-03-07 12:38 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed recently introd problem with path sep translation.

  * source/common/hbgete.c
    + Enabled Darwin support.

  * contrib/examples/uhttpd/modules/showcounter.prg
    ! Protected whole code with GD_SUPPORT.
2009-03-07 11:51:14 +00:00
Viktor Szakats
c70a5b0d75 2009-03-06 17:33 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/Makefile
    * Minor reordering.

  * config/win/poccce.cf
  * config/win/pocc.cf
    ! Turned off -Ox, left -Ot.
      "When it comes to optimizations, the -Ot option (in this case) is the much
       more important than -Ox. The -Ox option will only rarely find things to
       optimize, and in your case it will cause a GPF. I suggest you skip the -Ox
       option and just use the -Ot option for now...
       Pelle"
2009-03-06 16:34:23 +00:00
Viktor Szakats
a1fd463ba2 2009-03-06 10:13 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed -gh switch detection and workings.
      (Francesco, pls check now allmod.hbm)
    + -gt switch can now be filtered. (-gtwin{win})
    ! -gui switch won't anymore add '-Wl,-mwindows' C compiler switch
      on *nix systems. Someone pls confirm this is right.
    * icc will use -vc postfixed .dlls. They seem to be binary
      compatible, but I didn't test.
    % Using __PLATFORM__UNIX macro where applicable.
    ! Ignoring -o Harbour option passed using '-prgflag:'

  * INSTALL
    + Added some details.

  * mpkg_win.bat
    ! Don't create install files if the make process returned
      with error.

  * source/lang/msg_tpl.c
    ! Removed ending ';'.

  * source/vm/Makefile
    + Added icc to generate maindllh.lib.

  * source/common/hbfsapi.c
    ! Removed obsolete 'extern hb_fhnd_ForceLink()'.

  * config/rules.cf
  * config/lib.cf
  * config/bin.cf
    % Compiling all .prg files with -n1 switch.

  * contrib/examples/uhttpd/uhttpdc.c
    * Cleaned Windows headers usage.
      #define HB_OS_WIN_USED is safe to use on all platforms,
      it just requests the Windows headers, and if compiled on
      Windows, it will #include them.

  * contrib/examples/uhttpd/uhttpd.prg
    + Automatically sets USE_HB_INET on non-Windows platforms.

  - contrib/examples/uhttpd/uhttpd-inet.hbm
  - contrib/examples/uhttpd/uhttpdgd-inet.hbm
    - Removed files no longer necessary.

  * contrib/examples/uhttpd/uhttpd.hbm
    + Added comment about -DUSE_HB_INET option.
    % Removed -lhbct
2009-03-06 09:21:06 +00:00
Viktor Szakats
c88b1bda14 2009-03-05 21:24 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbbtree/tests/test.hbm
  * contrib/examples/guestbk/guestbk.hbm
  * contrib/examples/pe/pe.hbm
  * contrib/examples/dbu/dbu.hbm
  * contrib/examples/terminal/terminal.hbp
  * contrib/examples/hscript/hscript.hbm
  * contrib/examples/uhttpd/modules/allmod.hbm
  * contrib/examples/rl/rl.hbm
  * utils/hbdoc/hbdoc.hbm
  * utils/hbmk2/hbmk2.hbm
  * utils/hbtest/hbtest.hbm
  * utils/hbrun/hbrun.hbm
    - Removed -n switches no longer necessary.
2009-03-05 20:25:42 +00:00
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
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
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
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
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
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