Commit Graph

248 Commits

Author SHA1 Message Date
Viktor Szakats
965c71b3e9 2012-06-20 09:27 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/os2/watcom.mk
    ! same RC fix for os2
2012-06-20 07:27:58 +00:00
Viktor Szakats
f2bb8bc732 2012-06-13 15:14 UTC+0200 Viktor Szakats (harbour syenar.net)
* INSTALL
    * minor clarifications to INSTALL/TROUBLESHOOTING

  * config/os2/watcom.mk
  * config/wce/mingwarm.mk
  * config/wce/msvcarm.mk
  * config/wce/poccarm.mk
  * config/win/bcc.mk
  * config/win/mingw.mk
  * config/win/msvc.mk
  * config/win/pocc.mk
  * config/win/watcom.mk
  * config/win/xcc.mk
    + added std header paths to RC commands

  * utils/hbmk2/Makefile
  + utils/hbmk2/hbmk2.rc
  * utils/hbmk2/hbmk2.hbp
    + added std windows versioninfo and manifest to hbmk2

  * utils/hbmk2/hbmk2.prg
  + utils/hbmk2/p_extdyn.hb
    + added almost complete hbrun functionality into hbmk2
      to run it, type: 'hbmk2 .'
      Missing is extension registration, plugins don't seem
      to work yet, and I plan to switch from full screen
      prompt to shell-like prompt. Plugin paths, extension
      configuration, history on-disk files need further
      polishing.
    + hbmk2 will act as a hbrun, if renamed to hbrun

  * contrib/hbqt/qtcore/hbqt_misc.prg
    + added two TOFIXes for missing PROTECTED keyword
      for two object variables of unknown purpose. Not
      even HBQT developers know what it is, but without
      it, HBQT breaks.

  ; Those who need "stable" hbqt (meaning "it builds")
    Go to:
       http://sourceforge.net/p/hbqt/
2012-06-13 13:26:25 +00:00
Przemyslaw Czerpak
701acbb116 2011-03-01 02:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbmk2/hbmk2.prg
  * harbour/config/dos/watcom.mk
  * harbour/config/win/watcom.mk
  * harbour/config/linux/watcom.mk
  * harbour/config/os2/watcom.mk
    ! fixed to not use -wcd124 and -wcd136 in OpenWatcom C++ builds

   * harbour/config/win/xcc.mk
     ! added -noexpobj as workaround for problems with creating
       shared library
     * removed now unnecessary $(RM) harbour*.dll

  * harbour/src/rtl/base64d.c
    * pacified warning
    % removed unnecessary condition with RTE - decoded string has to
      be shorter then the source one taken from HVM string item so for
      sure it cannot exceed maximum string item size

  * harbour/src/rtl/base64c.c
    * generate RTE if encode string size is too big 
    * eliminated unnecessary INT_MAX string limit
2011-03-01 01:07:16 +00:00
Viktor Szakats
7b2883a9e3 2011-02-22 16:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/dynlib/2nd/Makefile
  * src/dynlib/Makefile
  * config/none.mk
  * config/vxworks/gcc.mk
  * config/vxworks/diab.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/linux/gcc.mk
  * config/dyn.mk
  * config/os2/gcc.mk
    * DYNNAME2 -> DYNNAME
2011-02-22 15:01:39 +00:00
Viktor Szakats
251a3a00ee 2011-02-22 13:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/postinst.hbs
  * config/global.mk
  * config/bin.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/linux/gcc.mk
  * config/dyn.mk
  * config/os2/gcc.mk
    * Trying to cleanup the harbour dynlib name situation.
      Here's the plan (which is similar to what's used in contrib area):
         win, wce: harbour-21[-subtype][.dll/.lib]
         dos, os2: harbour[.dll|.???]
         darwin:
            libharbour.2.1.0.dylib
            libharbour.2.1.dylib -> (symlink) [compatibility level]
            libharbour.dylib -> (symlink)
         *nix:
            # libharbour.s?.2.1.0
            # libharbour.s?.2.1 -> (symlink) [soname]
            # libharbour.s? -> (symlink)
    ; It's possible it's broken now. Pls test linux/gcc and darwin.
      'install' was not tested.
    ; TODO: Clean variable usage, there is some redundancy, plus
            some places where current solution is not generic, f.e.
            using HB_VER_*, HB_DYNLIB_BASE vs. HB_DYNLIB_NAME, etc.

  * harbour/src/rtl/fscopy.c
    * Reverted 2011-02-22 12:27 UTC+0200 Mindaugas Kavaliauskas
      which made behavior inconsistent with rest of similar
      functions like FERASE(), FRENAME(), which also don't throw
      RTE if bad parameter is passed, but return FERROR()
      and failure instead.
      Also restored _SET_DEFAULT handling to not create a special case
      compared to __COPYFILE() behavior, ia. some features like
      FXO_SHARELOCK are still enabled while FXO_DEFAULT is not).
      Pls rewrite it using hb_fsOpen()/hb_fsCreate() if that behavior
      bothers you.
2011-02-22 12:13:08 +00:00
Viktor Szakats
132069d802 2011-02-03 18:13 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * config/beos/gcc.mk
  * config/qnx/gcc.mk
  * config/bsd/gcc.mk
  * config/wce/mingwarm.mk
  * config/vxworks/gcc.mk
  * config/minix/gcc.mk
  * config/darwin/gcc.mk
  * config/hpux/gcc.mk
  * config/win/mingw.mk
  * config/linux/gcc.mk
  * config/cygwin/gcc.mk
  * config/symbian/gcc.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
    ! Separate -Wimplicit-int and -Wimplicit-function-declaration 
      so that they are added to cflags only when not in cpp mode.
    ; Patch by Tamas.
2011-02-03 17:14:19 +00:00
Przemyslaw Czerpak
c0b28bd5da 2011-01-15 01:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcomp.h
    * do not inherit in macrocompiler -z compile time switch when -kc is
      also used

  * harbour/src/common/expropt2.c
    * disable logical expression optimization (reduction) in macrocompiler
      when -kc compile time switch is used.

  * harbour/config/beos/gcc.mk
  * harbour/config/qnx/gcc.mk
  * harbour/config/bsd/gcc.mk
  * harbour/config/wce/mingwarm.mk
  * harbour/config/vxworks/gcc.mk
  * harbour/config/hpux/gcc.mk
  * harbour/config/darwin/gcc.mk
  * harbour/config/dos/djgpp.mk
  * harbour/config/win/mingw.mk
  * harbour/config/linux/gcc.mk
  * harbour/config/cygwin/gcc.mk
  * harbour/config/symbian/gcc.mk
  * harbour/config/os2/gcc.mk
  * harbour/config/sunos/gcc.mk
  * harbour/utils/hbmk2/hbmk2.prg
    * enable some important warnings in GCC builds using -W<name>... instead
      of -Wall and -Wno-<name>... for warning level set to low.
      It should help in backward compatibility with some older GCC versions.
2011-01-15 00:15:42 +00:00
Przemyslaw Czerpak
7941a797a7 2011-01-14 10:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/beos/gcc.mk
  * harbour/config/qnx/gcc.mk
  * harbour/config/bsd/gcc.mk
  * harbour/config/wce/mingwarm.mk
  * harbour/config/vxworks/gcc.mk
  * harbour/config/hpux/gcc.mk
  * harbour/config/darwin/gcc.mk
  * harbour/config/dos/djgpp.mk
  * harbour/config/win/mingw.mk
  * harbour/config/linux/gcc.mk
  * harbour/config/cygwin/gcc.mk
  * harbour/config/symbian/gcc.mk
  * harbour/config/os2/gcc.mk
  * harbour/config/sunos/gcc.mk
    * use -Wall -Wno-unused -Wno-pointer-sign -Wno-uninitialized
          -Wno-switch -Wno-strict-overflow -Wno-main
      instead of -W when warnings are not enabled with GCC based compilers.
      Using only -W only is rather useless because this switch enables
      warnings which can be usually ignored in 3-rd party code.
      This modification should help in locating bugs introduced by us
      to 3-rd party code, i.e. due to wrong header files used on some
      platforms (we do not use autoconf assuming some default settings
      what can be wrong in some cases). It should also not hide some
      important/critical bugs in 3-rd party code.
      This modification pacifies some common warnings which can be
      ignored usually but it also enables some more important ones.
      If it's necessary then we can tune it a little bit more and disable
      some other warnings too.
      It's possible that on some platforms using very old GCC versions
      some of -W* switches are not supported - please make tests and
      inform us about problems.

  * harbour/utils/hbmk2/hbmk2.prg
    * use -Wall -Wno-unused -Wno-pointer-sign -Wno-uninitialized
          -Wno-switch -Wno-strict-overflow -Wno-main
      instead of -W when warning level is set to low with GCC based
      compilers
2011-01-14 09:13:06 +00:00
Przemyslaw Czerpak
058d080c64 2010-12-17 02:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/cdpapi.c
    * removed dummy assignment

  * harbour/src/lang/msgpl852.c
  * harbour/src/lang/msgplmaz.c
  * harbour/src/lang/msgpliso.c
  * harbour/src/lang/msgplwin.c
    ! fixed one message translation

  * harbour/config/dos/watcom.mk
  * harbour/config/win/watcom.mk
  * harbour/config/linux/watcom.mk
  * harbour/config/os2/watcom.mk
    * disable explicitly some Open Watcom warnings in 3rd party code
      which we can safely ignore when HB_BUILD_WARN='no'

  * harbour/utils/hbmk2/hbmk2.prg
    * disable explicitly some Open Watcom warnings in 3rd party code
      which we can safely ignore when warning level is low
2010-12-17 01:00:28 +00:00
Przemyslaw Czerpak
253db45857 2010-09-09 17:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/filesys.c
    * unified hb_fsSeek[Large]() return value when seek operation cannot
      be executed for given file handle. Now it's 0 for all platforms.

  * harbour/include/hbapicls.h
  * harbour/src/vm/classes.c
    + added new public C function
         PHB_SYMB hb_clsFuncSym( HB_USHORT uiClass )
      It returns class function symbol or NULL.

  * harbour/ChangeLog
  * harbour/config/os2/gccomf.mk
  * harbour/include/hbpcode.h
  * harbour/include/hbdebug.ch
  * harbour/include/hbmath.ch
  * harbour/include/hbgfx.ch
  * harbour/src/vm/classes.c
  * harbour/utils/hbmk2/hbmk2.prg
    * removed dummy trailing spaces at EOLs
2010-09-09 15:22:21 +00:00
Viktor Szakats
a04f40b3d3 2010-07-29 14:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/harbour-win.spec
  * package/harbour-wce.spec
  * config/global.mk
  * INSTALL
    * Renamed HB_BIN_COMPILE to HB_HOST_BIN
      (old pending TODO)

  * tests/flink.prg
    + Added comment.
    + Added example to dir symlink.

  * contrib/hbpre.hbm
    + Added comments.

  * config/beos/gcc.mk
  * config/global.mk
  * config/qnx/gcc.mk
  * config/bsd/gcc.mk
  * config/bsd/clang.mk
  * config/bsd/pcc.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
  * config/vxworks/gcc.mk
  * config/vxworks/diab.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/hpux/gcc.mk
  * config/dos/watcom.mk
  * config/dos/djgpp.mk
  * config/c.mk
  * config/win/xcc.mk
  * config/win/mingw.mk
  * config/win/pocc.mk
  * config/win/bcc.mk
  * config/win/watcom.mk
  * config/win/icc.mk
  * config/win/cygwin.mk
  * config/win/msvc.mk
  * config/linux/watcom.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/linux/clang.mk
  * config/linux/sunpro.mk
  * config/rules.mk
  * config/os2/watcom.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    * Renamed HB_INC_COMPILE to HB_HOST_INC
      (it's still not precise name, just in sync with HB_HOST_BIN.
      In Harbour there is no difference between headers accross
      the platforms, so they could just be called something more
      neutral. If you have an idea, pls speak up.)
2010-07-29 12:40:41 +00:00
Viktor Szakats
03ca82e16f 2010-07-15 17:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbpost.hbm
    ! Fixed issue where prg flags were interpreted as
      implib tool flags when building *.hbi files via
      make.hbs. Caused problems for bcc, watcom and some
      rarer other cases.

  * config/beos/gcc.mk
  * config/qnx/gcc.mk
  * config/bsd/gcc.mk
  * config/bsd/clang.mk
  * config/bsd/pcc.mk
  * config/wce/mingwarm.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/hpux/gcc.mk
  * config/win/mingw.mk
  * config/win/cygwin.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/linux/clang.mk
  * config/linux/sunpro.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    % Using 'LD = $(CC)' instead of duplicating the
      'CC = ' line with identical value.

  * contrib/hbqt/THbQtUI.prg
    * Minor.

  * tests/hbdocext.prg
    ! Minor portability.
2010-07-15 15:15:29 +00:00
Viktor Szakats
bdd719f974 2010-06-17 17:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/bsd/gcc.mk
  * config/bsd/clang.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
  * config/hpux/gcc.mk
  * config/darwin/icc.mk
  * config/dos/watcom.mk
  * config/dos/djgpp.mk
  * config/win/xcc.mk
  * config/win/mingw.mk
  * config/win/pocc.mk
  * config/win/bcc.mk
  * config/win/watcom.mk
  * config/win/icc.mk
  * config/win/cygwin.mk
  * config/win/msvc.mk
  * config/linux/watcom.mk
  * config/linux/icc.mk
  * config/os2/watcom.mk
  * config/os2/gcc.mk
    * Functions renamed.
2010-06-17 15:28:31 +00:00
Viktor Szakats
b902dbd19a 2010-06-16 11:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/win/mingw.mk
    + Added (commented) support for -m32/-m64 options.
      This may be useful in the future f.e. for mingw tdm 4.5.0
      compiler which can build both 64 and 32-bit targets using
      the same compiler binaries.

  * config/global.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.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/msvc.mk
  * config/os2/watcom.mk
    + Changed to init RCFLAGS from global.mk.

  * config/global.mk
    + Added support for theoretical QNX cross-builds.

  * ChangeLog
    * Updated QNX TODO list.
2010-06-16 09:50:20 +00:00
Viktor Szakats
1e853cfc15 2010-05-05 10:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/os2/gcc.mk
  * utils/hbmk2/hbmk2.prg
    - Deleted resource support from os2/gcc and os2/gccomf.
      It didn't work with any gcc flavours. Resource support
      seems to be broken in gcc tools.
2010-05-05 08:44:08 +00:00
Viktor Szakats
7df007ad24 2010-04-23 02:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Changed low warning level for msvc/icc compilers to -W2
      (-W1 is the default).

  * config/wce/msvcarm.mk
  * config/win/icc.mk
  * config/win/msvc.mk
    + Upped 'HB_BUILD_WARN=no' warning level for msvc/icc
      compilers to '-W2'. (matching hbmk2 -warn=low level)

  * config/dos/watcom.mk
  * config/win/watcom.mk
  * config/linux/watcom.mk
  * config/os2/watcom.mk
    + Upped 'HB_BUILD_WARN=no' warning level for msvc/icc
      compilers to '-w1'. (matching hbmk2 -warn=low level)
2010-04-23 00:30:50 +00:00
Viktor Szakats
a4bf46c73f 2010-04-23 01:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Reverted bcc experimental warning tweak.
    * Fine tuned bcc -warn levels.
    ! Fixed sunpro warning levels.

  * config/beos/gcc.mk
  * config/bsd/gcc.mk
  * config/wce/mingwarm.mk
  * config/darwin/gcc.mk
  * config/darwin/clang.mk
  * config/hpux/gcc.mk
  * config/dos/djgpp.mk
  * config/win/mingw.mk
  * config/win/cygwin.mk
  * config/linux/gcc.mk
  * config/linux/clang.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
    + Upped 'HB_BUILD_WARN=no' warning level for GCC
      and compatible compilers to '-W'.

  * config/linux/sunpro.mk
  * config/sunos/sunpro.mk
    ! Fixed to not disable all warnings explicitly
      in HB_BUILD_WARN=no mode.

  * config/win/bcc.mk
    * Minor sync with hbmk2.
2010-04-22 23:53:45 +00:00
Viktor Szakats
4a2e6a156a 2010-04-23 01:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/beos/gcc.mk
  * config/bsd/gcc.mk
  * config/wce/mingwarm.mk
  * config/darwin/gcc.mk
  * config/darwin/clang.mk
  * config/hpux/gcc.mk
  * config/dos/djgpp.mk
  * config/win/mingw.mk
  * config/win/cygwin.mk
  * config/linux/gcc.mk
  * config/linux/clang.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
    * Cosmetic sync with hbmk2. ('-Wall -W' -> '-W -Wall')
2010-04-22 23:06:16 +00:00
Viktor Szakats
2b5e574b09 2010-04-13 12:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/wce/poccarm.mk
  * config/dos/watcom.mk
  * config/win/xcc.mk
  * config/win/pocc.mk
  * config/win/bcc.mk
  * config/win/watcom.mk
  * config/linux/watcom.mk
  * config/os2/watcom.mk
    * Changed to not forcefully turn off warnings in some targets.
      (so HB_BUILD_WARN=no is now equivalent to hbmk2 -warn=def)
    ; NOTE: This will result in some new warnings in /external
            dir since for above compilers I've now upped the
            warning level from nothing to the default level.

  * external/zlib/Makefile
    * Changed to not set Harbour level warnings for this
      external component (in sync with all the others).
2010-04-13 10:20:35 +00:00
Viktor Szakats
7d3e6212d3 2010-03-29 22:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/os2/gcc.mk
    + Readded OS/2 windres call in coff mode. Commented the whole 
      thing with NOTE. Seems like windres bug.
      I left gccomf branch active, maybe they fixed it in those 
      more recent versions.
2010-03-29 20:54:13 +00:00
Viktor Szakats
dae414e1ce 2010-03-29 13:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * config/os2/gcc.mk
    ! Fixed to not use '-O coff'. It generates strange error.
      '-O omf' is still used, pls test it.

  * utils/hbrun/hbrun.rc
    * Trying to make it work for OS/2 and at the same time
      lessen the chaos (f.e. using forward slashes in filenames).
2010-03-29 11:51:42 +00:00
Viktor Szakats
037260a10b 2010-03-28 11:38 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/wce/mingwarm.mk
  * config/win/mingw.mk
  * config/win/cygwin.mk
  * config/os2/gcc.mk
    ! Fixed resource compiler binary name to honor CCPREFIX and friends.

  * utils/hbrun/Makefile
  + utils/hbrun/hbrun.rc
    + Added resource file to include icon.
    ; TOFIX: The .ico file path is hard-wired and will break if HB_BUILD_NAME
             contains subdirs.

  * bin/postinst.bat
    - Deleted no more necessary hack to build hbrun with icon using hbmk2.
2010-03-28 09:43:41 +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
805f3b55e8 2010-03-12 02:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbssl/evpmd.c
    ! Disabled md2 support for >= 1.0.0 OpenSSL versions.
      Seems they dropped it.

  * contrib/hbssl/ssl.c
  * contrib/hbssl/x509.c
  * contrib/hbssl/sslctx.c
    ! Disabled some code parts which didn't compile with
      >= 1.0.0 OpenSSL versions. This is not the right fix,
      but I just can't figure what went wrong (or what
      has been changed) in OpenSSL which cases it. There
      is something wrong around 'X509_NAME' symbol.

  * utils/hbmk2/hbmk2.prg
  * config/beos/gcc.mk
  * config/bsd/gcc.mk
  * config/wce/mingwarm.mk
  * config/darwin/gcc.mk
  * config/hpux/gcc.mk
  * config/win/mingw.mk
  * config/win/cygwin.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
    - Deleted '-pipe' option. Efficient, but buggy. It didn't take
      too long to bump into the problem: On build error, the
      .o file is generated with some dummy content, so a second
      build attempt will silently make build errors ignored.

  * contrib/rddsql/sddfb/sddfb.c
    * Minor formatting.
2010-03-12 01:11:58 +00:00
Viktor Szakats
4a71232bb0 2010-03-10 17:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/beos/gcc.mk
  * config/bsd/gcc.mk
  * config/darwin/gcc.mk
  * config/hpux/gcc.mk
  * config/dos/djgpp.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
    % Added -pipe gcc option for rest of gcc targets.

  * utils/hbmk2/hbmk2.prg
    % Added -pipe gcc option for all gcc targets in hbmk2.

  * ChangeLog
    + Added missing item from prev entry:
      * config/win/mingw.mk
        - Disabled -fomit-frame-pointer for mingw64. It's not necessary 
          and/or automatically enabled.
2010-03-10 16:58:00 +00:00
Viktor Szakats
8a8ae50ff3 2010-03-05 21:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* external/Makefile
    + Added bzip2.

  * external/bzip2/Makefile
    ! Fixed to avoid stupid BCC tlib warning by enabling
      "case-sensitive library" option.

  * config/global.mk
  * config/beos/gcc.mk
  * config/bsd/gcc.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/hpux/gcc.mk
  * config/dos/djgpp.mk
  * config/common/watcom.mk
  * config/win/xcc.mk
  * config/win/mingw.mk
  * config/win/pocc.mk
  * config/win/bcc.mk
  * config/win/icc.mk
  * config/win/cygwin.mk
  * config/win/msvc.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/linux/clang.mk
  * config/linux/sunpro.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    + Added support for HB_AFLAGS. Only bcc needs it ATM.
2010-03-05 20:21:44 +00:00
Viktor Szakats
6f18c82253 2010-02-22 17:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_hbdbfmodel.cpp
  * contrib/hbqt/hbqt_hbqsyntaxhighlighter.cpp
  * contrib/hbqt/hbqt_hbqtableview.cpp
  * contrib/hbqt/hbqt_hbevents.cpp
  * contrib/hbqt/hbqt_destruct.cpp
  * contrib/hbqt/hbqt_utils.cpp
  * contrib/hbqt/hbqt_hbqmainwindow.cpp
  * contrib/hbqt/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/hbqt_base.cpp
  * contrib/hbqt/hbqt_hbslots.cpp
    * Cleaned header inclusion order after adding hbapi.h to hbqt.h.

  * config/os2/gcc.mk
    ! Fixed to use '-Wl,' trick proposed by Przemek, to forward obj list
      script filename directly to linker.
      This gets around the problem where gcc tries to pass expanded
      scripts to subprocesses (ld) via cmdline, thus imposing a 32K
      limit also to script files.
2010-02-22 16:24:59 +00:00
Viktor Szakats
ccdcecb094 2010-02-22 15:20 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/os2/gcc.mk
    + Attempt to fix direct ld usage to create Harbour .dlls.
      Please make tests for all versions of gcc/gccomf targets.

  * INSTALL
    - Deleted TCPV4 header instructions for OS/2. (they still
      works, it just got less emphasis with this)
2010-02-22 14:21:15 +00:00
Viktor Szakats
c9de4f1d3a 2010-02-21 15:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbextern.ch
    + Added __CLSMSGTYPE function.

  * config/os2/gcc.mk
    * Changed to use 'ld' tools directly when creating
      Harbour dynamic libraries.
    ; Please test, it's possible that some option have to be 
      deleted, changed, or some system/compiler libs added 
      manually to make it work.
2010-02-21 14:03:38 +00:00
Viktor Szakats
0c30daf54e 2009-12-09 16:09 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * utils/hbmk2/hbmk2.prg
  * config/dos/watcom.mk
  * config/win/watcom.mk
  * config/linux/watcom.mk
  * config/os2/watcom.mk
    + Switched back plain C mode for watcom compiler.
2009-12-09 15:10:58 +00:00
Przemyslaw Czerpak
9e7e433a1a 2009-12-06 18:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbtpathy/tpunix.c
    ! fixed tty raw IO mode setting
    * reduced CRTSCTS redefinition to WATCOMC and Linux, added small
      comment about it and iTODO compile time warning if CRTSCTS is
      not defined.
      TODO: make some cleanup and extensions for *nix version of this
            library.

  * harbour/config/os2/watcom.mk
    * disabled -s from GTSTD compile time parameters to test possible
      workaround for OW problems in MT mode and APIENTRY16 functions.
2009-12-06 17:35:20 +00:00
Viktor Szakats
141bb0f699 2009-12-05 13:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtos2/Makefile
  * config/os2/watcom.mk
    % Changed the way -s option is disabled for certain modules
      (currently gtos2).
      This method doesn't require new variable, although it's still 
      a hack.
2009-12-05 12:42:32 +00:00
Przemyslaw Czerpak
3c6be6883f 2009-12-05 13:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtos2/Makefile
  * harbour/config/os2/watcom.mk
    * disable -s in GTOS2 OpenWatcom builds using HB_CSTACK_CHECK variable.
      This is workaround for wrong code generated by OpenWatcom <= 1.8
      when -s switch is used for functions calling APIENTRY16 functions.
      Such code executed from non main thread causes GPF.
2009-12-05 12:21:39 +00:00
Viktor Szakats
55c332e09c 2009-12-04 01:45 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/beos/gcc.mk
  * config/global.mk
  * config/bsd/gcc.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
  * config/hpux/gcc.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/dos/watcom.mk
  * config/dos/djgpp.mk
  * config/win/xcc.mk
  * config/win/mingw.mk
  * config/win/pocc.mk
  * config/win/bcc.mk
  * config/win/watcom.mk
  * config/win/icc.mk
  * config/win/cygwin.mk
  * config/win/msvc.mk
  * config/linux/watcom.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/linux/clang.mk
  * config/linux/sunpro.mk
  * config/os2/watcom.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    % Moved initialization of *FLAGS vars into global.mk.
      Compiler .mk files only append to these vars.
    * Minor syncing between compilers regarding initial CFLAGS setup.
2009-12-04 00:47:16 +00:00
Viktor Szakats
43d68fd1de 2009-12-04 00:41 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/beos/gcc.mk
  * config/bsd/gcc.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
  * config/hpux/gcc.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/dos/watcom.mk
  * config/dos/djgpp.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/icc.mk
  * config/win/cygwin.mk
  * config/win/msvc.mk
  * config/linux/watcom.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/linux/clang.mk
  * config/linux/sunpro.mk
  * config/os2/watcom.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    * Initializing LDFLAGS, DFLAGS and ARFLAGS at the beginning of files.
      This allows to easily add to these var according to build settings.
      It also syncs all .mk files to use the same layout in this regard.

  * config/wce/msvcarm.mk
  * config/win/msvc.mk
    + Added -debug linker option to .dll linking for msvc/msvcarm targets.
2009-12-03 23:44:40 +00:00
Viktor Szakats
b6090bac2f 2009-11-25 11:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/os2/gcc.mk
    ! Fixed (after recent cleanup of CFLAGS usage) to add -Zomf 
      for gccomf target to link command.
2009-11-25 10:15:54 +00:00
Przemyslaw Czerpak
04d825b402 2009-11-25 00:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/fm.c
    * enabled HB_FM_DL_ALLOC by default in OS2 OpenWatcom builds

  * harbour/config/os2/watcom.mk
    ! enabled -bm flag (MT code) in OS2 OpenWatcom builds - now when
      HB_FM_DL_ALLOC is enabled by default it should not kill the
      performance. Please make tests with OS2 OpenWatcom builds.
2009-11-24 23:50:57 +00:00
Viktor Szakats
044107d4a2 2009-11-23 13:15 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/beos/gcc.mk
  * config/bsd/gcc.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/hpux/gcc.mk
  * config/dos/watcom.mk
  * config/dos/djgpp.mk
  * config/win/xcc.mk
  * config/win/mingw.mk
  * config/win/pocc.mk
  * config/win/bcc.mk
  * config/win/watcom.mk
  * config/win/icc.mk
  * config/win/pocc64.mk
  * config/win/cygwin.mk
  * config/win/msvc.mk
  * config/linux/watcom.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/linux/clang.mk
  * config/linux/sunpro.mk
  * config/os2/watcom.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    + Uniformly using CFLAGS to store C compilation flags, instead
      of a previous mixture of CPPFLAGS and CFLAGS.

  * config/rules.mk
    - Deleted CPPFLAGS.

  * INSTALL
  * bin/postinst.bat
    ! Minor fixes in texts.
2009-11-23 12:17:30 +00:00
Viktor Szakats
10a1a48504 2009-11-16 09:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/beos/gcc.mk
  * config/bsd/gcc.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/hpux/gcc.mk
  * config/dos/watcom.mk
  * config/dos/djgpp.mk
  * config/win/xcc.mk
  * config/win/mingw.mk
  * config/win/pocc.mk
  * config/win/bcc.mk
  * config/win/watcom.mk
  * config/win/icc.mk
  * config/win/cygwin.mk
  * config/win/msvc.mk
  * config/linux/gcc.mk
  * config/os2/watcom.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    + Added HB_USER_LIBS support to dynamic libs.

  * config/globsh.mk
    ! Attempt to fix dynamic lib .tds deletion on clean for bcc.

  * src/codepage/cpno865.c
  * src/codepage/cphu852c.c
  * src/codepage/cpfr850.c
  * src/codepage/cpde850.c
  * src/codepage/cpit850.c
    + Marked as VERIFIED.
2009-11-16 08:52:59 +00:00
Viktor Szakats
41fdd8e051 2009-11-15 16:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_misc.prg
    ! Added missing common.ch.

  * config/beos/gcc.mk
  * config/global.mk
  * config/bsd/gcc.mk
  * config/bin.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/hpux/gcc.mk
  * config/dos/watcom.mk
  * config/dos/djgpp.mk
  * config/win/xcc.mk
  * config/win/mingw.mk
  * config/win/pocc.mk
  * config/win/bcc.mk
  * config/win/watcom.mk
  * config/win/icc.mk
  * config/win/cygwin.mk
  * config/win/msvc.mk
  * config/linux/watcom.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/linux/sunpro.mk
  * config/os2/watcom.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    * Changed build system to add HB_USER_LIBS to the beginning of the 
      lib list, just like in hbmk2.
      Please test, I didn't restest this feature in all targets.
2009-11-15 15:56:19 +00:00
Viktor Szakats
96004e5bbd 2009-11-12 16:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Updated dev list max attachment size.

  * INSTALL
  * config/beos/libs.mk
  * config/global.mk
  * config/bsd/libs.mk
  * config/bin.mk
  * config/wce/global.mk
  * config/hpux/libs.mk
  * config/darwin/libs.mk
  * config/dos/djgpp.mk
  * config/win/global.mk
  * config/linux/libs.mk
  * config/os2/gcc.mk
  * config/sunos/libs.mk
    + Added support for HB_USER_LIBS build option to specify 
      extra libs. Note: This is useful only in very special 
      cases, so pls don't use it unless you exactly know what 
      you want to do. The libs have to be specced without 
      prefixes and extensions. It will be added after Harbour 
      libs and before system libs.
2009-11-12 15:24:23 +00:00
Viktor Szakats
bb37817b27 2009-11-05 15:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * config/os2/gcc.mk
    ! Fixed to use .lib extension in gccomf mode. As far I could 
      debunk it from lenghty e-mail, this is the default extension for 
      libs, used by OS/2 GCC in OMF mode.
      If not, don't blame me.
    ! Fixed to not use lib prefix in gccomf mode.
      It does seem alright but due to no testing again give me 
      *very short correction information*, if this turns out to be 
      false.

  * contrib/hbct/disk.c
    ! Typo in comment.
2009-11-05 14:10:27 +00:00
Viktor Szakats
ac24e22ba6 2009-11-04 17:06 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * config/os2/gcc.mk
    * Changed to use GCC default extensions for objects and libs 
      even in OMF mode.
    ! This fixed hbmk2 problems reported by David Arturo Macias Corona.
    ; Please verify if now also changed lib extension didn't create 
      any new problem in hbmk2, f.e. when using -strip option.
2009-11-04 16:06:27 +00:00
Viktor Szakats
ff92e5fb98 2009-10-06 18:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    - Deleted sudo from one pkg creation command.

  * config/global.mk
    + Added MSVS 10.0 compiler version autodetection.

  * config/os2/gcc.mk
    % Deleted OS/2 make bug workarounds from OMF specific code.
      Submitted by David Arturo Macias Corona.
      Please test/review.
2009-10-06 16:58:20 +00:00
Maurilio Longo
e55a6f5d2c 2009-10-05 14:45 UTC+0200 Maurilio Longo (maurilio.longo@libero.it)
* config/os2/gcc.mk
     * removed for %i in ... hack for library creation in OS/2 gcc build.
2009-10-05 12:44:54 +00:00
Viktor Szakats
d2d78e7d7c 2009-10-03 20:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    ! Minor fix to OS/2 example.

  * utils/hbmk2/hbmk2.prg
  * config/os2/gcc.mk
    ! Fixed to use 'stripomf' tool instead of 'strip' in gccomf mode.

  ; Please only post comments on above patch if it contains real 
    information. I'm not interested in "This is wrong.", "You messed it up." 
    kind of comments, only in real information, since I'm not OS/2 user.
2009-10-03 18:05:26 +00:00
Viktor Szakats
d5ad4cb437 2009-10-01 17:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * utils/hbmk2/hbmk2.prg
  * config/os2/gcc.mk
  + config/os2/gccomf.mk
    + Added OS/2 GCC OMF support.
      This tries to fix resource support in hbmk2 compared to David's 
      solution. hbmk2 support is completely newly done, .mk support was imported 
      as is, with little change in actication logic.
    ! Fixed to use $(ECHOQUOTE) in some $(ECHO) command parameters.
    ; NOTE: Until we don't add autodetection for OMF supporting GCC versions, 
            it will have to be selected manually using HB_COMPILER=gccomf.
            Notice that for GCC 4.x this is obligatory since COFF support is 
            broken in these versions.
            Additional EMX* envvar options are left as an excercise for the 
            users, I intentionally didn't document these in INSTALL, as INSTALL 
            servers as Harbour documentation, not 3rd party tools like GCC.

  * config/global.mk
    ! Minor in comment.

  * contrib/hbqt/Makefile
  * contrib/hbqt/hbqts/Makefile
  * contrib/gtqtc/gtqtcs/Makefile
  * contrib/gtqtc/Makefile
    ! Disabled QT dependent parts for msvcia64 targets.
    ; Fails with error:
      ---
      z:\devl\qt\4.5.2\include\qtcore\../../src/corelib/tools/qvector.h(541) : warning C4346: 'QVector<T>::iterator' : dependent name is not a type
              prefix with 'typename' to indicate a type
      z:\devl\qt\4.5.2\include\qtcore\../../src/corelib/tools/qvector.h(541) : error C2143: syntax error : missing ';' before 'QVector<T>::insert'
      z:\devl\qt\4.5.2\include\qtcore\../../src/corelib/tools/qvector.h(541) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
      z:\devl\qt\4.5.2\include\qtcore\../../src/corelib/tools/qvector.h(541) : fatal error C1903: unable to recover from previous error(s); stopping compilation
      ---

  * package/winuni/HARBOUR_README_MINGWARM
    * Minor raw update to document newly found --force-local tar switch.
2009-10-01 16:04:11 +00:00
Viktor Szakats
35e51707fa 2009-10-01 11:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
  * utils/hbmk2/hbmk2.prg
    + Added autodetection for win/msvcia64 compiler.

  * INSTALL
    + Tweaks to links.

  * ChangeLog
    ! Fixed wrong entry header in my prev commit.

  * INSTALL
  * utils/hbmk2/hbmk2.prg
  * config/os2/gcc.mk
    ! Reverted "rogue" patch. I'd like to kindly ask David, 
      to commit when doubts are cleared, otherwise I will 
      have to revoke R/W rights to avoid extra cleanup work.
      This solution is wrong, for specific concerns see dev list.
2009-10-01 09:58:44 +00:00
David Arturo Macias Corona
41953affeb 2009-10-01 4:25 UTC-0500 David Arturo Macias Corona (dmacias/at/mail.udg.mx)
* harbour/config/os2/gcc.mk
  * harbour/utils/hbmk2/hbmk2.prg
    + Added support of OMF library format
      To select alternative OMF library format, use:
            set HB_OS2_OMF=yes
  * INSTALL
    + Added note for OMF library format
2009-10-01 09:41:25 +00:00
Przemyslaw Czerpak
7d8dad6605 2009-09-24 11:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbpp.h
  * harbour/include/hbcompdf.h
  * harbour/source/pp/pplib.c
  * harbour/source/pp/ppcore.c
  * harbour/source/compiler/cmdcheck.c
  * harbour/source/compiler/ppcomp.c
    + added support for disabling all automatically set platform dependent
      macros by '-undef:.ARCH.' switch.
      .ARCH. is meta flag to select all architecture dependent macros:
      __PLATFORM__*, __ARCH??BIT__, __*_ENDIAN__
      It should simplify cross build harbour compiler settings in
      core make system and hbmk2 or hb* scripts.

  * harbour/config/dos/watcom.mk
  * harbour/config/os2/watcom.mk
  * harbour/config/win/pocc.mk
  * harbour/config/win/bcc.mk
  * harbour/config/win/watcom.mk
  * harbour/config/linux/watcom.mk
    * disable C compiler warnings when HB_BUILD_WARN=no. Some compilers
      enable warnings by default.
      It pacifies warnings when external libraries are compiled.
2009-09-24 09:23:34 +00:00