Commit Graph

342 Commits

Author SHA1 Message Date
Viktor Szakats
02b3147fd5 2010-06-17 00:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* tests/wvtext.prg
    + Extended with tests for row resize.
    + Added visual feedback for resize event.

  * config/global.mk
    ! Typo after last changes making HB_BUILD_PKG ineffective.
  * INSTALL
    * Minor.
2010-06-16 22:19:48 +00:00
Viktor Szakats
b50ea8e77e 2010-06-16 21:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/extend.api
  * include/hbapi.h
    + Disabled IS*() macros when HB_LEGACY_TYPES_OFF is defined
      (default when building Harbour)

  * src/pp/pplib.c
  * src/rtl/hbregex.c
  * src/rtl/dateshb.c
  * contrib/xhb/xhbfunc.c
  * contrib/rddads/rddads.h
    ! Fixed IS*() -> HB_IS*()

  * src/rtl/hbregex.c
  * contrib/hbmysql/mysql.c
  * contrib/xhb/xhbsave.c
  * contrib/hbmzip/hbmzip.c
  * contrib/hbfbird/firebird.c
  * contrib/hbnetio/netiosrv.c
  * contrib/rddads/rddads.h
  * contrib/rddads/adsmgmnt.c
  * contrib/rddads/adsfunc.c
  * contrib/hbmisc/hb_f.c
  * contrib/hbmisc/ffind.c
  * contrib/hbwin/win_com.c
  * contrib/hbwin/wapi_shellapi.c
  * contrib/hbssl/bio.c
  * contrib/hbssl/hbssl.c
  * contrib/hbssl/sslctx.c
    % Optimized to use hb_parn*def() calls instead of inline-if expression
      (where default value is constant or simple variable).

  * INSTALL
    + valgrind is available for darwin-amd64 (in 1.6 devel tree, yet).
2010-06-16 19:10:22 +00:00
Viktor Szakats
290317ac9f 2010-06-16 19:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbzlibgz.c
  * src/rtl/fstemp.c
  * src/rtl/at.c
  * src/rtl/strtran.c
  * src/rtl/hbinet.c
  * src/rtl/saverest.c
  * src/rtl/diskspac.c
  * src/rtl/philes.c
  * src/rtl/mlcfunc.c
  * src/rtl/disksphb.c
  * src/rtl/shadow.c
  * src/rtl/trace.c
  * src/rtl/ati.c
  * src/rtl/hbstrsh.c
    % Optimized to use hb_parn*def() calls instead of inline-if expression 
      (where default value is constant or simple variable).
    % Optimized out few HB_ISNUM() calls where the default value was zero.
      Also added comment to signal the intention.

  * src/rtl/inkey.c
    + Added two TOFIXes to LASTKEY() and NEXTKEY() after having discovered 
      two hidden (dirty) parameter extensions over original Clipper 
      implementation, both added here in Harbour in year 2001. [ I didn't 
      test if it's undocumented Clipper function, but there is no such 
      indication in past log enties, plus even in this case it would have 
      to be marked with HB_CLP_UNDOC. They are also not Xbase++ extensions. ]
    + Added HB_KEYNEXT(), HB_KEYLAST() functions which implement original 
      NEXTKEY()/LASTKEY() functionality plus the extension.
      Pls correct me if I'm wrong, but after reading all related log entries 
      I could not find out why the default of the optional parameter is 
      _SET_EVENTMASK in NEXTKEY(), but INKEY_ALL in LASTKEY(). It was changed 
      as part of big change, here: 2004-10-11 21:40 UTC+0100 Przemyslaw Czerpak
    ; I intend to deprecate the dirty extensions and finish adding the two 
      new Harbour specific function, which we're free to extend.

  * contrib/xhb/dumpvar.prg
    ! Fixed recent typo.

  * INSTALL
    * Updated tdm website.
2010-06-16 18:08:04 +00:00
Viktor Szakats
81eb54e4d1 2010-06-16 09:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/detfun.mk
  * config/global.mk
    % Streamlined internal handling of HB_SRC_ROOTPATH value.
    + HB_SRC_ROOTPATH will now be conditioned before use:
       ending pathsep added, pathseps converted to forward
       slash, double slashes deleted.
    ! Fixed HB_BIN_COMPILE autodetection in PATH, $(realpath
      was not necessary, it only ruined already absolute paths
      which are likely to appear in PATH anyway.
    % Optimized HB_BIN_COMPILE autodetection in PATH to reuse
      function created for this purpose.
    ! Fixed GNU Make 3.81 version detection to work also with
      future GNU Make versions.
    + Added GNU Make 3.80 version detection. (unused, commented)
    % Deleted version guards from around $(eval) and $(info) calls:
      Unknown function calls will simply be ignored by
      GNU Make and empty string returned, so this is safe.
    % Force HB_BUILD_PKG off only if HB_SRC_ROOTPATH is not
      specified (and running < 3.81 GNU Make version).
    + Show warning when using < 3.81 GNU Make version and
      HB_SRC_ROOTPATH was not specified.
    + Falling back to using HB_SRC_ROOTPATH in all places where
      $(realpath) or $(abspath) calls are used in 3.81 version.
    ! Protected one $(realpath) with version guard.
    + Automatized how HB_VER_STATUS_SH is filled for final releases.
    ; NOTE: HB_SRC_ROOTPATH support is completely untested.
    ; TODO: If everything works as intended, now "only" $(eval)
            calls need some workaround to give full blown
            functionality also with 3.79 version of GNU Make.

  * config/instsh.mk
    ! Fixed to not use $(realpath) (and fail to install),
      when running under < 3.81 GNU Make.

  * utils/hbmk2/hbmk2.prg
  * config/global.mk
    * Changed to use 'wcc386' executable for watcom detection
      (was 'wpp386').

  * INSTALL
    + Minor updates regarding QT.
2010-06-16 08:02:11 +00:00
Viktor Szakats
36b4bd96d4 2010-06-15 20:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * config/detfun.mk
  * config/global.mk
    * HB_ROOT -> HB_SRC_ROOTPATH
      Renamed to not have such obvious and short name and not 
      to collide with build-in hbmk2 macro with the same name.
2010-06-15 18:40:15 +00:00
Viktor Szakats
b88202cabe 2010-06-15 18:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * config/global.mk
  * config/detfun.mk
  * config/detect.mk
  * external/sqlite3/Makefile
  * external/png/Makefile
  * external/jpeg/Makefile
  * external/bzip2/Makefile
  * external/libhpdf/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbmzip/Makefile
  * contrib/hbbz2/Makefile
  * contrib/hbhpdf/Makefile
  * contrib/sddsqlt3/Makefile
  * contrib/hbwin/Makefile
    + Added HB_ROOT variable which can be used to specify Harbour
      source tree root as an absolute directory, when using
      older than 3.81 GNU Make version (f.e. on QNX).
    + Changed the way locally hosted source directories are
      specified for detection function, in order to support
      HB_ROOT functionality.
2010-06-15 16:44:38 +00:00
Viktor Szakats
aedb632e4a 2010-06-15 18:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added Mac OS X QT pkg recommended link.

  * ChangeLog
    * Updated list of pending issue on QNX system.

  * contrib/hbmysql/mysql.c
    ! Fixed version guard around mysql_get_server_version() call
      to check against the documented version number this
      function appeared.

  * utils/hbmk2/hbmk2.prg
    ! Fix for *nix filename escaping code.
    ! Fixed to escape and decorate filename in entry function
      detection external call using nm tool.
    ; Patches by Tamas Tevesz.
2010-06-15 16:08:38 +00:00
Viktor Szakats
83bab940b8 2010-06-14 15:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/dynlibhb.c
  * include/hbthread.h
    + Added QNX support.

  * src/rtl/hbzlib.c
    ! Added hack to fix missing zlibVersion() and zError()
      functions from the zlib lib shipped with QNX 6.2.1.

  + config/qnx/libs.mk
    + Added QNX specific lib configuration.

  * utils/hbmk2/hbmk2.prg
    + Added (untested) list of system libs for qnx/gcc.

  * INSTALL
    + Added QNX reference to one more place.

  ; NOTE on QNX:
      All binaries build cleanly, hbtest works.
  ; TOFIX/TODO:
      - hbrun seems to misdetect the width of the terminal
      - Clean some hack in QNX port
      - platform autodetection
      - retest whole port from vanilla SVN source, test MT
        linkage.

  ; So now Harbour can run in cars, planes and spaceships.
2010-06-14 13:35:19 +00:00
Viktor Szakats
9adc0c8611 2010-06-14 11:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * include/hbsetup.h
  * utils/hbmk2/hbmk2.prg
    + Added experimental support for QNX operating systems.
      Tested with 6.2.1.

  + config/qnx
  + config/qnx/gcc.mk
  + config/qnx/global.mk
    + Added qnx GNU make files. For now this is a simple copy
      of linux ones.

  * src/common/hbgete.c
  * src/common/hbprintf.c
    + HB_OS_QNX tweaks.

  * src/common/hbffind.c
  * src/rtl/fssize.c
    ! Disabled stat64 for HB_OS_QNX.

  * src/common/hbffind.c
    ! Fixed very old error in default (todo) branch 
      where hbrtl function was mistakenly referenced.

  * external/Makefile
  * contrib/Makefile
  * contrib/sddoci/Makefile
  * config/none.mk
  * config/global.mk
  * config/bin.mk
  * config/dir.mk
    + Since QNX has GNU Make 3.79.1, I had to re-xmastree
      the GNU Make files (though I didn't restore the xmas
      indentation), plus restore all logic that dealt
      with older GNU Make versions. Also added some new logic.
    + Changed to give warning only when using older than
      3.81 make versions. Some feature are disabled in this case,
      f.e. HB_BUILD_PKG (win/dos specific feature)
    ; TOFIX: host platform and cpu detection relies on $(eval)
             which is not present on pre 3.80.

  ; habour and hbpp builds fine, but there are several remaining
    problems in rtl and vm.

  * mpkg_nightly.sh
    + Added feeback about what the script does.
    + Using -q for zip to lessen large amount of unnecessary feedback

  * external/pcre/pcre.dif
  * external/pcre/Makefile
    ! Tweak to make PCRE build on djgpp 2.3
      Patch by Tamas Tevesz (2nd version posted on dev list)
2010-06-14 09:59:41 +00:00
Viktor Szakats
5ae08a0e0e 2010-06-12 14:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/set.c
    * Reset default value to "hb_out.log".

  + mpkg_nightly.sh
    + Added script to generate nightly sources.
    ; TODO: Upload nightlies to sf.net.
    ; TODO: Change nightly filenames to match our normal source releases.
    ; TOFIX: Current .zip nighly has wrong (*nix) EOLs. This has to be
             changed to CRLF.

  * INSTALL
    * Changed nightly script URLs to point to sf.net file area.
    ! Minor fix to bug tracker address.

  * contrib/xhb/regexrpl.prg
  * contrib/hbtip/httpcli.prg
  * contrib/hbtip/mail.prg
    ! Fixed to use EMPTY() on HB_REGEX[ALL]() return
      value instead of NIL check.
      Required after recent change in HB_REGEX*()
      return values in no-match case.

  * contrib/hbcurl/hbcurl.c
  * contrib/hbcurl/hbcurl.ch
    + Added support to download-to/upload-from file handle.

  * contrib/hbqt/qtgui/Makefile
  * contrib/hbqt/qtcore/Makefile
  * contrib/hbqt/Makefile
  * contrib/hbqt/gtqtc/Makefile
  * contrib/hbqt/qtnetwork/Makefile
    ! Fixed to not build separate HBQT libs for static
      linkage for non-win/wce targets.

  * package/mpkg_win.nsi
  * package/winuni/mpkg_win_uni.nsi
    * Changed to use 'Harbour Project' as folder name in registry.
      (instead of 'Harbour'). Just to be consistent.

  * package/winuni/mpkg_win_uni.nsi
    + Add major.minor version number to registry folder names.
      This allows multiple major versions of Harbour to be installed
      in parallel.

  * contrib/xhb/ttable.prg
    % '&("{||" + c + "}")' -> HB_MACROBLOCK()

  * contrib/xhb/trpccli.prg
  * contrib/xhb/hblognet.prg
  * contrib/xhb/xcstr.prg
  * contrib/xhb/tedit.prg
  * contrib/xhb/xdbmodst.prg
  * contrib/xhb/trpc.prg
  * contrib/xhb/thtm.prg
  * contrib/xhb/dumpvar.prg
  * contrib/xhb/xhbmt.prg
  * contrib/xhb/xhberr.prg
  * contrib/xhb/ttable.prg
  * contrib/xhb/txml.prg
    * '.NOT.' -> '!'
    % ValType( x ) == "Y" -> IS*()
    * Some other basic formatting and cleanup.

  * src/rtl/hbini.prg
  * examples/httpsrv/session.prg
    * Formatting.

  * tests/db_brows.prg
  * tests/server.prg
  * tests/testrdd2.prg
  * tests/setkeys.prg
  * contrib/hbtip/tests/tiptest.prg
  * contrib/hbtip/tests/loadhtml.prg
  * examples/hbsqlit2/tests/hbsqlite.prg
  * examples/gtwvw/tests/wvwtest9.prg
  * examples/gtwvw/tests/ebtest7.prg
    * '.NOT.' -> '!'
2010-06-12 12:15:59 +00:00
Viktor Szakats
bac17c287f 2010-06-10 22:30 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * contrib/hbqt/hbqts.hbp
  * contrib/hbqt/hbqtguis.hbp
  * contrib/hbqt/hbqtcores.hbp
  * contrib/hbqt/hbqtnetworks.hbp
  * contrib/hbqt/hbqts.hbc
    % Fixed to avoid building separate, but completely idendical
      HBQT libs on Linux platform for linking to static QT libs.
      Please note that on all platforms except Windows and Symbian,
      it's not necessary to create separate HBQT builds for
      static and dynamic QT libraries. Instead, on these
      platforms (Linux, Darwin and possible OS/2) it's enough to
      just link the same HBQT libs with either static or dynamic
      QT libs. For this reason, recently added HBQT_ISSTATICLINK()
      function will only work on Windows, thus it's not portable.
      It needs to be redesigned to use QT API to retrieve lib type,
      or if such API doesn't exist, this function should be deleted
      from Harbour.
2010-06-10 20:33:15 +00:00
Viktor Szakats
8d05b7906f 2010-06-10 19:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * include/hbsocket.ch
    * Minor corrections.
2010-06-10 17:30:22 +00:00
Viktor Szakats
129a3ccdaf 2010-06-10 09:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    ! Reverted one optimization from yesterday's late
      night programming jam session.

  * contrib/hbqt/hbqt_base.cpp
    * Renamed HBQT_ISQTSTATICLINKED() to HBQT_ISSTATICLINK().
      (enough to have one 'QT' in the name)

  * config/win/bcc.mk
    + More changes targeting bcc support under WINE scenario.
    ; Here it now works "out of the box"

  * INSTALL
    + Added example for win/bcc build under WINE.
      (kudos go to Tamas Tevesz for the setup example)
    + Added win/bcc to supported cross(ish)-builds.

  * examples/httpsrv/uhttpd.prg
    ! Fixed bogus newlines in RTE ALERT() windows.
2010-06-10 07:44:15 +00:00
Viktor Szakats
c8a32bfc8c 2010-06-09 19:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Quite big commit aiming to clean path forming in different
      situations. After this is change it should be more or less
      true that internally hbmk2 always uses native path format,
      it should accept _any_ format regardless of platform,
      and it should convert filenames to proper format only when
      calling external compiler tools, according to their specific
      taste.
      F.e. this should fix problems when doing Windows cross-build
      on *nix systems, with watcom, or other compilers (except
      mingw) which has native compiler. It should continue to
      work with WINE based on compilers in similar situations.
      There is one specific exception when passing around
      filenames as part of options. In this case hbmk2 cannot do
      too much magic, so try to avoid it.
      Though I never actualluy tried this latter case.
      Please test it, regressions are possible. I'd be happy to 
      see stress tests with passing various combination of pathseps 
      and watching -trace output whether everything is properly 
      converted to right format.
    + Will now convert filenames to Cygwin format for Cygwin
      targets.
    ! Fixed to accept .hbi files without '@' prefix.

  * config/postinst.prg
    % Do not add '@' prefix when referring to .hbi files.

  * src/vm/extend.c
    ! Fixed TRACE message of new hb_parnintdef() function.

  * src/rtl/hbcomhb.c
    * Minor correction to one function description in comment.

  * src/rtl/hbsocket.c
    * Minor formatting.

  * include/hbcom.ch
    + Added comments.
    * Formatting.
    + Added comment that code is used by .c code.

  * contrib/hbtpathy/telepath.prg
    * Rewritten to use native HB_COM*() API (instead of hbct
      specific COM_() one).
    + tp_send() code rewritten to use core timeout functionality.
    + Implemented formerly disabled tp_ctrldtr() function.
      (pls review it)
    % FetchChars() internal function simplified.

  * contrib/hbcomm/hbcomm.prg
    * Rewritten to use native HB_COM*() API (instead of hbct
      specific COM_() one).

  * contrib/hbsms/hbsms.prg
    * Rewritten to use native HB_COM*() API (instead of hbct
      specific COM_() one).
    * Receive code rewritten to rely on core timeout functionality
      instead of rolling local implementation.

  ; I didn't make any tests with API converted COM code, so please
    review and test these changes.

  * contrib/hbtpathy/hbtpathy.hbc
  * contrib/hbcomm/hbcomm.hbc
  * contrib/hbsms/hbsms.hbc
    - Deleted hbct dependency.

  * INSTALL
  * package/winuni/RELNOTES
    * QT 4.6.2 -> 4.6.3
2010-06-09 17:57:34 +00:00
Viktor Szakats
163ee53500 2010-06-06 00:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * external/sqlite3/Makefile
  * utils/hbmk2/hbmk2.prg
  * config/global.mk
  * config/wce/msvcarm.mk
  * config/win/msvc.mk
    * Changed HB_COMPILER_VER values for msvc targets. Previously it was
      the Visual Studio version, now it is the C compiler version,
      the same value used in _MSC_VER predefined macro:

         Name                                    old  NEW
         -------------------------------------- ---- ----
         C Compiler version 6.0                       600
         C/C++ compiler version 7.0                   700
         Visual C++, Windows, version 1.0        100  800
         Visual C++, 32-bit, version 1.0         100  800
         Visual C++, Windows, version 2.0        200  900
         Visual C++, 32-bit, version 2.x         200  900
         Visual C++, 32-bit, version 4.0         400 1000
         Visual C++, 32-bit, version 5.0         500 1100
         Visual C++, 32-bit, version 6.0         600 1200
         Visual Studio .NET (2002), version 7.0  700 1300
         Visual Studio .NET 2003, version 7.1    710 1310
         Visual Studio 2005, version 8.0         800 1400
         Visual Studio 2008, version 9.0         900 1500
         Visual Studio 2010, version 10.0       1000 1600

      INCOMPATIBLE for users setting HB_COMPILER_VER manually, pls
      change the value as indicated above. For most users it's
      recommended to rely on autodetection and not to set this
      variable at all.

  * config/postinst.prg
    ! Fixed to use hb_osFileMask() instead of hard-coded '*' mask.
2010-06-05 22:53:22 +00:00
Viktor Szakats
7858b4c783 2010-06-04 13:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Minor.

  * contrib/hbmysql/hbmysql.hbc
  * contrib/gtalleg/gtalleg.hbc
  * contrib/gtalleg/gtallegs.hbc
  * contrib/hbct/hbct.hbc
  * contrib/sddmy/sddmy.hbc
  * contrib/hbodbc/hbodbc.hbc
  * contrib/xhb/xhb.hbc
  * contrib/sddfb/sddfb.hbc
  * contrib/hbtpathy/hbtpathy.hbc
  * contrib/hbgt/hbgt.hbc
  * contrib/hbsqlit3/hbsqlit3.hbc
  * contrib/hbmzip/hbmzip.hbc
  * contrib/hbblat/hbblat.hbc
  * contrib/hbqt/hbqt.hbc
  * contrib/hbqt/hbqts.hbc
  * contrib/hbfbird/hbfbird.hbc
  * contrib/sddpg/sddpg.hbc
  * contrib/hbziparc/hbziparc.hbc
  * contrib/hbxbp/hbxbp.hbc
  * contrib/hbbz2/hbbz2.hbc
  * contrib/hbblink/hbblink.hbc
  * contrib/hbnf/hbnf.hbc
  * contrib/hbcurl/hbcurl.hbc
  * contrib/hbcurl/hbcurls.hbc
  * contrib/hbmemio/hbmemio.hbc
  * contrib/hbxpp/hbxpp.hbc
  * contrib/hbfship/hbfship.hbc
  * contrib/hbcups/hbcups.hbc
  * contrib/rddbmcdx/hbbmcdx.hbc
  * contrib/hbfoxpro/hbfoxpro.hbc
  * contrib/hbnetio/hbnetio.hbc
  * contrib/rddsql/rddsql.hbc
  * contrib/hbhpdf/hbhpdf.hbc
  * contrib/gtwvg/gtwvg.hbc
  * contrib/hbpgsql/hbpgsql.hbc
  * contrib/hbclipsm/hbclipsm.hbc
  * contrib/rddads/rddads.hbc
  * contrib/rddads/rddads.hbp
  * contrib/sddsqlt3/sddsqlt3.hbc
  * contrib/hbfimage/hbfimage.hbc
  * contrib/sddodbc/sddodbc.hbc
  * contrib/hbgd/hbgd.hbc
  * contrib/hbmisc/hbmisc.hbc
  * contrib/sddoci/sddoci.hbc
  * contrib/hbcomm/hbcomm.hbc
  * contrib/hbtip/hbtipssl.hbc
  * contrib/hbtip/hbtip.hbc
  * contrib/hbcairo/hbcairo.hbc
  * contrib/hbwin/hbwin.hbc
  * contrib/hbssl/hbssls.hbc
  * contrib/hbssl/hbssl.hbc
  * contrib/hbsms/hbsms.hbc
  * examples/ps32/ps32.hbc
  * examples/hbsqlit2/hbsqlit2.hbc
  * examples/gfspell/gfspell.hbc
  * examples/rddado/rddado.hbc
  * examples/hbapollo/hbapollo.hbc
  * examples/hbvpdf/hbvpdf.hbc
  * examples/hbbtree/hbbtree.hbc
  * examples/gtwvw/gtwvw.hbc
    % Replaced libs=<libname> with libs=${hb_name} to avoid repeating 
      the libs own name, if it's the same as the name of the .hbc file.
2010-06-04 11:08:35 +00:00
Viktor Szakats
0d6269e168 2010-06-04 04:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added basic support to recognize headers inside Frameworks
      on darwin systems.
    + Added basic support to recognize Objective C (.m) input files.
    % Optimized to only deal with header exclusion of known
      headers if they are specified as "system directories"
      (specified as #include <...>)
    ! Minor cleanup when adding include dirs after header detection.

  * contrib/hbqt/hbqt_common.hbm
    % Cleaned QT autodetection on darwin systems after adding
      basic support for Frameworks to hbmk2.

  * contrib/hbqt/hbqtnetwork.hbp
  * contrib/hbqt/hbqtgui.hbp
  * contrib/hbqt/gtqtc/gtqtc.hbp
    % Deleted now unnecessary hacks for darwin.

  * contrib/hbqt/Makefile
  * contrib/hbqt/detect.mk
  * contrib/hbqt/hbqts/Makefile
  * contrib/hbqt/qtgui/Makefile
  * contrib/hbqt/qtgui/qtguis/Makefile
  * contrib/hbqt/qtnetwork/qtnetworks/Makefile
  * contrib/hbqt/qtnetwork/Makefile
  * contrib/hbqt/gtqtc/Makefile
  * contrib/hbqt/gtqtc/gtqtcs/Makefile
    % Deleted extra hacks for darwin regarding header path setup.

  * INSTALL
    - Deleted dead link.
2010-06-04 02:21:35 +00:00
Viktor Szakats
2b523b361b 2010-06-03 16:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Minor typo.

  * package/mpkg_win.nsi
  * package/winuni/mpkg_win_uni.nsi
    + Added user's mailing list link.
    - Deleted user forum link.
    * Updated developers' mailing list link.

  * utils/hbformat/hbformac.c
  * utils/hbformat/hbformat.prg
  * utils/hbmk2/hbmk2.prg
  * utils/hbi18n/hbi18n.prg
  * utils/hbtest/rt_main.h
  * utils/hbtest/hbtest.prg
  * utils/hbtest/rt_main.ch
  * utils/hbtest/rt_trans.prg
  * utils/hbtest/rt_miscc.c
  * utils/hbtest/rt_math.prg
  * utils/hbtest/rt_hvm.prg
  * utils/hbtest/rt_misc.prg
  * utils/hbtest/rt_hvma.prg
  * utils/hbtest/rt_init.ch
  * utils/hbtest/rt_class.prg
  * utils/hbtest/rt_str.prg
  * utils/hbtest/rt_stra.prg
  * utils/hbtest/rt_date.prg
  * utils/hbtest/rt_vars.ch
  * utils/hbtest/rt_array.prg
  * utils/hbtest/rt_file.prg
  * utils/hbtest/rt_mt.prg
  * utils/hbrun/hbrun.prg
    * Deleted 'www.' from harbour-project.org website name.
      (www.harbour-project.org -> harbour-project.org)
2010-06-03 14:34:42 +00:00
Viktor Szakats
29eff261a4 2010-06-03 14:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * package/winuni/RELNOTES
    * Updated to show the mailing lists addresses.
2010-06-03 12:39:54 +00:00
Viktor Szakats
78742ae944 2010-06-03 10:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* harbour-win-spec
  * src/pp/hbpp.c
  * src/compiler/hbusage.c
  * doc/class_tp.txt
  * doc/howtobld.txt
  * doc/howtosvn.txt
  * doc/hdr_tpl.txt
  * doc/readme.txt
  * doc/whatsnew.txt
  * harbour-wce-spec
  * INSTALL
  * harbour.spec
  * utils/hbformat/hbformat.prg
  * utils/hbmk2/examples/plug_tpl.prg
  * utils/hbi18n/hbi18n.prg
  * utils/hbtest/hbtest.prg
  * utils/hbrun/hbrun.prg
  * config/global.mk
    * Deleted 'www.' from harbour-project.org website name.
      (www.harbour-project.org -> harbour-project.org)

  * contrib/xhb/xhbarr.c
    + Added TOFIX for AREMOVE() which should better be moved
      to hbxpp lib (possibly after deleting the xhb extension from
      that implementation).

  * package/winuni/RELNOTES
    + Added 'harbour-project.org'
2010-06-03 08:43:47 +00:00
Viktor Szakats
0513bda029 2010-05-30 19:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/xhb/hbcompat.ch
  * contrib/xhb/xhbfs.c
    ! Deleted FILESIZE(). It's not an xhb compatibility function, 
      but one offered as part of CT lib in xhb, and HBCT in Harbour.

  * src/common/hbver.c
    + Added compiler version detection for clang 2.x (and newer)
      Patch by Tamas Tevesz.

  * INSTALL
    * Minor.

  * config/bsd/clang.mk
  * config/linux/clang.mk
    + Clearing forced C++ mode if clang 1.x is detected.
      (Patch from Tamas Tevesz. Slight fix added by me to
      set HB_CMP when falling back to C mode. I didn't make
      tests though.)
    ; NOTE: Probably HB_BUILD_MODE=c should be export-ed
            to avoid double evaluation. Pls test it.

  * config/postinst.prg
  * config/ren_sfn.prg
    + Raised warning level to 3.
2010-05-30 18:01:29 +00:00
Viktor Szakats
5226f3f80c 2010-05-29 23:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + HB_QT_STATIC not Windows specific anymore.
    + Documented HB_QT_MOC_BIN envvar.
2010-05-29 21:43:23 +00:00
Viktor Szakats
930a32a368 2010-05-29 15:30 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * config/global.mk
    + Added support for configurations where PATH contains the same
      compiler multiple times. (and all similar cases when a files
      is looked for in a list of possible dirs). From now on only
      the first one will be extracted. Dirs can still contain spaces.

      Such configurations started to appear like mushrooms just
      recently. Maybe it's something seasonal. Anyhow I'd suggest
      to fix such configurations, since it may cause misc problems,
      outside the real of Harbour. So the INSTALL is still not
      lying:
         Keep only one compiler in PATH at any time, and especially
         don't keep the same C compiler multiple times in PATH, and
         especially not two different versions of the same C compiler.

      If you're is interested in GNU Make black magic for some (pervert)
      reason, you may want to take a closer look at the implementation.
2010-05-29 13:33:24 +00:00
Viktor Szakats
0fdfae397f 2010-05-27 21:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added requirement to not add the same compiler path multiple
      times to PATH.
2010-05-27 19:14:43 +00:00
Viktor Szakats
97884956eb 2010-05-26 00:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    - Deleted one no more true restriction regarding HB_BUILD_PKG.
2010-05-25 22:01:18 +00:00
Viktor Szakats
1e378f3c54 2010-05-25 23:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ config/bsd/clang.mk
    + Base implementation of bsd/clang target.
      Based on patch by Tamas Tevesz with modifications:
        - deleted HB_DYN_COPT
        - replaced dynamic lib rules with bsd/gcc.mk.
        (both fully untested)

  * INSTALL
  * utils/hbmk2/hbmk2.prg
    + Added preliminary support for bsd/clang target. (untested)

  * contrib/hbide/idemisc.prg
    + Added hbide_pwd() function.
2010-05-25 21:41:14 +00:00
Viktor Szakats
3562c1e4b8 2010-05-25 16:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added one more envvar which is apparently used by users 
      even though it does nothing since many years.
      (see '10. TROUBLESHOOTING' section)

  * config/postinst.prg
    * Minor cleanups.
2010-05-25 14:43:31 +00:00
Viktor Szakats
bf304ae5c4 2010-05-25 16:23 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added DragonFly BSD to supported BSD system list.
2010-05-25 14:23:34 +00:00
Viktor Szakats
716391011a 2010-05-14 10:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Clarification to HB_BUILD_IMPLIB usage.
    ; NOTE: By now it's very easy to create implibs outside
            the central make process:
               'hbmk2 @contrib/<lib>/<lib>.hbi'
            where <lib> is the name of the contrib. Moving
            the resuling import library file(s) to our lib
            dir has to be done manually in this case.
2010-05-14 08:10:07 +00:00
Viktor Szakats
90ef2137c0 2010-05-12 22:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Two minor cleanups

  * config/postinst.prg
    + Will now honor HB_CONTRIBLIBS and HB_CONTRIB_ADDONS
      when creating import libraries. IOW it will only create
      implibs to the contribs actually built.

  * utils/hbmk2/hbmk2.prg
    + Added trick when using real xhb toolchain to detect
      -tW C flag and in this case automatically select the ST
      C RTL library. (Notice that -tW will only be detected
      when passed normally via cmdline or script, and not
      when using legacy HB_BUILD_CFLAGS envvar or inherited
      compiler flags).
2010-05-12 20:19:12 +00:00
Viktor Szakats
d4c09be821 2010-05-11 21:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/postinst.prg
    ! Fixed forming quoted paths in implib creation commands.

  * INSTALL
    ! Deleted space at EOL.
2010-05-11 19:21:03 +00:00
Viktor Szakats
cfac9b53a2 2010-05-10 11:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Made it clear that Windows example section is for x86/32-bit.
2010-05-10 09:21:20 +00:00
Viktor Szakats
9adb84e258 2010-05-09 00:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added Ubuntu 10.4 as tested version.

  * include/common.ch
    + Added HB_HMERGE_* constant for HB_HMERGE() function.

  * package/winuni/mpkg_win_uni_extra_copy.bat
    * Commented line not necessary for official mingw build.

  * contrib/hbsqlit3/tests/hooks.prg
  * contrib/hbsqlit3/tests/authoriz.prg
  * contrib/hbsqlit3/tests/backup.prg
    + Added missing '()'s from :__enum* accesses.

  * config/win/mingw.mk
    ! Fixed after last minute change breaking it when HB_COMPILER_VER 
      is not set.

  * examples/httpsrv/uhttpd.prg
    % Replaced 'var:__enumValue()' with 'var' in FOR EACH loops.
2010-05-08 22:57:30 +00:00
Viktor Szakats
fe9baad66f 2010-05-07 17:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    - Deleted 'rarely updated' from official mingw comment.
    - Deleted equation mingw edition.
    * QT 4.5.x is not recommended over 4.6.x anymore.
    + Added link for QT 4.6.x.
    + Added more details to mingw version with DWARF support.
      (required for QT 4.6.x)

  * config/win/mingw.mk
    + Added more comment on newly added linker options.
    ! Fixed to only enable newly added linker options for
      4.5.x and above. (tdm 4.4.x doesn't support them)
2010-05-07 15:46:56 +00:00
Viktor Szakats
4d1a8cc1a3 2010-04-28 19:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/Makefile
  * src/rtl/getsys.prg
  + src/rtl/getsyshb.prg
    ! Moved HB_GETREADVAR() to separate source file.
    ! HB_GETREADVAR() fixed to use HB_ASCIIUPPER() like
      TGETLIST():GETREADVAR() instead of UPPER().

  * src/rtl/tgetlist.prg
    % TGETLIST():GETREADVAR() now can use HB_GETREADVAR()
      instead of duplicating the code locally.

  * INSTALL
    + Added sort of "disclaimer" note to HB_BUILD_IMPLIB option.

  * include/hbextern.ch
    + Added missing TBREADER().
2010-04-28 17:06:52 +00:00
Viktor Szakats
5d726cf305 2010-04-26 10:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added another envvar to the list of unnececessary ones.

  * contrib/hbcups/hbcups.c
    ! int -> HB_SIZE. Pacifies warning reported by Marco.
2010-04-26 08:36:17 +00:00
Viktor Szakats
60d14a931a 2010-04-22 18:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added information for CUPS.

  * mpkg_rpm.sh
  * harbour.spec
  * contrib/hbcups/Makefile
    + Added remaining bits for CUPS dependency.

  ; Pls verify .rpm package name, I couldn't try it.

  * contrib/hbcups/Makefile
    - Deleted unnecessary autodetection path.
2010-04-22 16:14:08 +00:00
Viktor Szakats
62ba429c07 2010-04-22 13:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/common/hbtrace.c
  * INSTALL
    + Added trace output support to syslog() for *nix systems
      (except watcom builds).
      It's enabled by HB_TR_SYSOUT=yes envvar, which now
      supercedes previous HB_TR_WINOUT setting.
      Windows users pls change HB_TR_WINOUT to HB_TR_SYSOUT.
    ! Fixed potential problem in HB_TR_WINOUT code, where
      the same vararg holder variable was used multiple
      times. On *nix this caused GPF. The safest is to make
      a copy of it for each usage.

  * contrib/hbwin/hbwin.ch
  * contrib/hbwin/Makefile
  + contrib/hbwin/tests/testevnt.prg
  + contrib/hbwin/win_evnt.c
    + Added function to add a new event to the Windows event log:
        WIN_REPORTEVENT( [<cServerName]>, <cEventLog>,
                             <nType>, [<nCategory>], [<nEventID>],
                                <cString> | <acString>, [<cRawData>] ) -> <lSuccess>

  * contrib/hbwin/win_prn2.c
    ! Fixed wce warning.

  * utils/hbmk2/examples/contribf.hbc
  * utils/hbmk2/examples/contrib.hbc
    + Added minizip lib.
2010-04-22 11:49:30 +00:00
Viktor Szakats
9b4831cf63 2010-04-22 00:24 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Minor updates to tool links and information.

  * INSTALL
  * external/Makefile
  + external/minizip
  + external/minizip/Makefile
  + external/minizip/readme.txt
  + external/minizip/minizip.dif
  + external/minizip/ioapi.c
  + external/minizip/zip.c
  + external/minizip/unzip.c
  + external/minizip/ioapi.h
  + external/minizip/crypt.h
  + external/minizip/zip.h
  + external/minizip/unzip.h
  * contrib/hbmzip/Makefile
  * contrib/hbmzip/hbmzip.hbc
  * contrib/hbmzip/readme.txt
  - contrib/hbmzip/minizip.dif
  - contrib/hbmzip/ioapi.c
  - contrib/hbmzip/zip.c
  - contrib/hbmzip/unzip.c
  - contrib/hbmzip/crypt.h
  - contrib/hbmzip/ioapi.h
  - contrib/hbmzip/zip.h
  - contrib/hbmzip/unzip.h
    * Moved embedded external code from hbmzip library to
      separate, locally hosted library inside the 'external'
      directory. This way we keep all external code under this
      directory. This change also makes it possible to use
      custom version of this external library, via the
      HB_WITH_MINIZIP envvar.
      NOTE: Everyone using hbmzip, must now add 'minizip'
            to their lib list. (INCOMPATIBLE)
2010-04-21 22:26:46 +00:00
Viktor Szakats
8ba86e1fd4 2010-04-16 11:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    ! Typo in msvcarm 2008 example.
2010-04-16 09:35:15 +00:00
Viktor Szakats
3dacd1ad86 2010-04-14 15:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Updated MSVS 2010 examples.
2010-04-14 13:29:34 +00:00
Viktor Szakats
e0da4285d2 2010-04-11 13:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added (untested) examples for upcoming Windows SDK 7.1 and MSVS 2010.
      (to be released tomorrow)
2010-04-11 11:00:41 +00:00
Viktor Szakats
6b97f3f4d5 2010-04-11 09:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * HB_COMPILER_VER explanation made hopefully more clear.
2010-04-11 07:32:12 +00:00
Viktor Szakats
9efec46787 2010-04-02 09:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ config/ren_sfn.prg
  - external/bzip2/cnv_hb2o.bat
  - external/bzip2/cnv_o2hb.bat
  + external/bzip2/ren_sfn.txt
  - external/libhpdf/cnv_o2hb.bat
  - external/libhpdf/cnv_hb2o.bat
  + external/libhpdf/ren_sfn.txt
  - external/pcre/cnv_o2hb.bat
  - external/pcre/cnv_hb2o.bat
  + external/pcre/ren_sfn.txt
    + Replaced .bat method for converting long filenames to
      short ones to a .prg script and simple text input file.
      Also much of the logic is automatized.

  * src/rtl/gtwvt/gtwvt.c
    * Minor in old comment.

  * INSTALL
    - Deleted no more relevant restriction with HB_BUILD_PKG.

  * contrib/hbwin/wapi_winuser.c
  * contrib/hbwin/hbwin.ch
    + Added WAPI_SETWINDOWPOS() + relevant constants.
    + Added WIN_WS_* constants.
    + Added WAPI_ISICONIC(), WAPI_ISZOOMED().

  * contrib/hbwin/tests/testax.prg
    ! Fixed to compile without warning.
    * Using hbwin.ch.
2010-04-02 07:41:59 +00:00
Viktor Szakats
88750713d3 2010-03-28 12:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
- bin/postinst.bat
  * bin/postinst.prg
  * INSTALL
    * Moved remaining .bat to .prg. This means that HB_BUILD_PKG now
      should work with all shells and (cross) build situations. I didn't 
      test these (pls do so), but it's now easy to make necessary
      tweaks for these platforms in case it's necessary.
    ; Harbour doesn't use a single line of .bat anymore in the build process.
2010-03-28 10:15:39 +00:00
Viktor Szakats
1c4fffba99 2010-03-28 11:15 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * config/rules.mk
  + config/res.mk
  * config/bin.mk
  * config/wce/global.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
  * config/common/watcom.mk
  * config/win/xcc.mk
  * config/win/mingw.mk
  * config/win/pocc.mk
  * config/win/bcc.mk
  * config/win/watcom.mk
  * config/win/cygwin.mk
  * config/win/global.mk
  * config/win/msvc.mk
  * config/os2/watcom.mk
  * config/os2/gcc.mk
  * config/os2/global.mk
    + Added support to GNU Make system to compile and link resources
      on win, wce and os2 platforms.

  * bin/postinst.bat
    + Deleted requirements from local comment. These are
      documented in INSTALL.
2010-03-28 09:18:27 +00:00
Viktor Szakats
f985d48f95 2010-03-21 12:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* bin/hb-mkimp.prg
    + Finished, tested. This version also adds pocc64 support.
      It also gives proper feedback.

  * INSTALL
  * bin/postinst.bat
  - bin/hb-mkimp.bat
  * package/winuni/mpkg_win_uni_extra_copy.bat
  * package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
    + Switched to use hb-mkimp.prg instead of .bat.
      25KB less of non-portable .bat file in Harbour SVN.
      Remains only ~100 lines of .bat stuff in core parts.
    + Deleted GNU Sed requirement.
    + Lifted Windows NT requirement for implib creation.
    + Lifted NT shell requirement for implib creation.
2010-03-21 11:31:52 +00:00
Viktor Szakats
b387963fad 2010-03-18 13:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    ! Fixed Debian bzip2 package name.

  * external/bzip2/Makefile
  * contrib/hbbzip2/hbbzip2.hbc
    * Changed local bzip2 lib name to match regular name used on *nix systems.

  * external/zlib/Makefile
    * Formatting.

  * contrib/hbmzip/Makefile
    ! Minor fix.
2010-03-18 12:30:42 +00:00
Viktor Szakats
fc8febf424 2010-03-17 00:37 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    ! Typo in prev.
2010-03-16 23:38:32 +00:00
Viktor Szakats
09adc56c2a 2010-03-17 00:32 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added bzip2 information. (not fully complete, it also 
      needs to be added to .spec files like zlib)

  - external/bzip2/bzip2.dif
  - external/bzip2/bzip2.c
  * external/bzip2/cnv_hb2o.bat
  * external/bzip2/cnv_o2hb.bat
  * external/bzip2/Makefile
    - Deleted accindentally included bzip2 tool.

  + contrib/hbbzip2/tests
  + contrib/hbbzip2/tests/hbmk.hbm
  + contrib/hbbzip2/tests/test.prg
    + Added little test code.

  + contrib/hbbzip2/hbbzip2.hbc
    + Added .hbc file.

  * contrib/hbbzip2/hbbzip2.ch
    + Added 'it's also used by C code' comment.
2010-03-16 23:34:33 +00:00