Commit Graph

237 Commits

Author SHA1 Message Date
Viktor Szakats
8d9da52017 2009-11-24 09:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/hbwin.ch
    + Added new macros submitted by Xavi.
      Formatting (tab removal/alignment) applied.

  * config/detfun.mk
    + Displays "Configure with HB_WITH_*" text on non-*nix systems,
      when an external component is not found.
      Comments are welcome whether this is useful, it looks a bit
      verbose/ugly to me.

  * INSTALL
    * Minor change in wording.
2009-11-24 08:43:38 +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
c1243f4c75 2009-11-22 21:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_tprn.prg
  * contrib/hbwin/win_prn1.c
    ! Fixed HFONT leak in WIN_CREATEFONT(). This also means the
      function works a little bit differently, so in case you are
      using it directly, be warned that this change is INCOMPATIBLE.
      It will now return a font handle instead of boolean value
      signaling success.
    ! Fixed several functions to check for valid HDC.
    % Deleted redundant code from WIN_DELETEDC().
    ; Submitted by Xavi. Thank you.
      (plus these small modifications by me:)
    ! Fixed formatting to use the same coding style as the rest of
      the file (and all our sources).
    ! Fixed to use FALSE instead of 0.

  * INSTALL
    + Added note to HOW TO PARTICIPATE section to use the same
      coding style as found in original files when adding patches.
2009-11-22 20:04:35 +00:00
Viktor Szakats
2db500ed1c 2009-11-22 12:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_prn2.c
    + PRINTFILERAW(): Changed to use Harbour File I/O API instead
      of Windows one to read from a disk file.
    * More variable name / macro usage cleanup.

    ! TOFIX: PRINTFILERAW() has suspicious code aiming to delete 
      Chr( 26 ) from input files. In current implementation it can 
      strip Chr( 26 ) even from inside the file if the file is 
      larger than read buffer, which means it will corrupt input 
      and may cause wrong output to be printed (f.e. if that Chr( 26 ) 
      is part of a printer control char sequence).

  * INSTALL
    + Added linux/clang to the target mix.
2009-11-22 11:53:05 +00:00
Viktor Szakats
52da6a02a5 2009-11-18 22:41 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added dependency tree to flat dependency list converter.
      (no cyclic reference check here)

  * contrib/gtwvg/wvgwing.c
    ! Fixed for Windows x64 platform.

  * contrib/gtwvg/Makefile
    + Enabled for Cygwin, IA64 and mingw64 compilers.
      Latest mingw64 experimental builds build it fine.
      This means all win compilers are supported except xcc.
    ; NOTE: Now it's disabled only for xcc.
            Can someone with xcc installed try gtwvg? Maybe it can 
            be made work so we can drop this exception.

  * config/global.mk
  * utils/hbmk2/hbmk2.prg
    + Added autodetection of x86_64 build of mingw64.
      (in hbmk2 it's recognized even if host platform isn't x64)

  * INSTALL
    + Added darwin -> win/mingw64 cross-platform scenario.
      Such binaries are now provided by the mingw64 project.
2009-11-18 21:47:14 +00:00
Viktor Szakats
eb786fe2b4 2009-11-18 16:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapi.h
    * Changed HB_ERRCODE to be 'insigned int' (was USHORT).
    ; You'll need to rebuild all sources.

  * utils/hbmk2/hbmk2.prg
    % Turned off line numbers (for hbmk2 itself).

  * INSTALL
    * Minor formatting.
2009-11-18 15:09:18 +00:00
Viktor Szakats
9ca0c7ed08 2009-11-17 04:15 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Minor formatting.
    + Added information about some commonly used, but yet useless 
      environment settings. These:
         set HB_PATH=<Harbour root dir>
         set HRB_DIR=<Some Harbour dir>
         set INCLUDE=<Harbour include dir>
         set LIB=<Harbour lib dir>
    * Bumped copyright year.
    + Added 'documentation' section to link section. 
    + Added netiquette RFC link for a start.
    + Added hbrun to required tools for cross-builds.

  * bin/hb-func.sh
  * harbour.spec
    + Added hbsms lib.
2009-11-17 03:17:20 +00:00
Viktor Szakats
74004327a9 2009-11-16 14:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
    + Added HB_VMMAX[U]INT. Equivalent to HB_MAX[U]INT.

  * INSTALL
    * Minor.
2009-11-16 13:18:56 +00:00
Viktor Szakats
f33ad72c5f 2009-11-16 14:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + HB_USER_LIBS documentation extended.
2009-11-16 13:12:11 +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
0361acf77f 2009-11-04 09:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added EXAMPLEs for Windows SDK 7. There is included compiler 
      there for almost all combinations, only Itanium didn't work 
      for me out of the box.
      This is the simplest and most slim way to use MSVC compiler, 
      and also free.
2009-11-04 08:16:41 +00:00
Viktor Szakats
b62fda94e5 2009-11-02 10:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/win/bcc.mk
    + Added hack to automatically configure bcc compilers 
      which makes proper setup of bcc32.cfg and ilink32.cfg 
      unnecessary. NOTE: This only works if you use compiler 
      autodetection, which means DON'T set HB_COMPILER to bcc
      manually.
    ; Please make tests, f.e. I didn't test .dll creation.

  * config/global.mk
    + Exporting autodetected compiler PATH.

  * config/rules.mk
    * Moved linker flags before output name option to make 
      some tools happy (bcc in this case).

  * INSTALL
    - Deleted just added extra NOTE for bcc users. Now it should 
      be configured automatically.
2009-11-02 09:24:06 +00:00
Viktor Szakats
a0c17bcb0a 2009-10-31 00:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added NOTE for Borland C++ users how to setup their 
      compiler. This is repetition of Borland readme content
      which seemingly nobody reads and do this day many users 
      get wrong. I'm not sure if these same users will read 
      INSTALL, but let's give it a try.

  * ChangeLog
    ! Fixed my timezone since last weekend.
2009-10-30 23:21:12 +00:00
Viktor Szakats
48c7f008ce 2009-10-30 17:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Minor fix to UPX supported platforms.

  * contrib/hbmisc/Makefile
  + contrib/hbmisc/ffind.c
    + Added direct file find API from my own function collection:
        FILEFINDFIRST( <cFileNameMask>, @<ffindinfo>[, <nAttr> ] ) -> <lFound>
        FILEFINDNEXT( <ffindinfo> ) -> <lFound>
        FILEFINDNAME( <ffindinfo> ) -> <cFileName> (without drive/dir)
        FILEFINDATTR( <ffindinfo> ) -> <nAttr>
        FILEFINDSIZE( <ffindinfo> ) -> <nSize>
        FILEFINDDATE( <ffindinfo> ) -> <dDate>
        FILEFINDTIME( <ffindinfo> ) -> <cTime> (as "HH:MM:SS")
      It's an alternative to DIRECTORY()/FILE() functions.
    ; NOTE: To release the file find handle on some platforms 
            (like Windows), and allow deletion of the dir we've 
            been scanning, <ffindinfo> should go out of scope or 
            be explicitly release by freeing <ffindinfo> variable.
            To make this easy, some may want to add:
               #xtranslate FILEFINDCLOSE( <f> )  => \( <f> := NIL \)
               #xtranslate FILEFINDCLOSE( @<f> ) => \( <f> := NIL \)
    ; NOTE: Could be extended to return new timestamp format.

  * contrib/rddads/adsfunc.c
    + Added lAlive := AdsIsConnectionAlive( hConnection ) function.
      Borrowed from Augusto Infante / xhb.
      Three small fixes applied.
2009-10-30 16:19:18 +00:00
Viktor Szakats
2b0537cfcb 2009-10-29 09:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added link to QT build instructions.
2009-10-29 08:25:52 +00:00
Viktor Szakats
f0bf6de5ec 2009-10-14 18:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_misc.c
   * contrib/hbwin/wapi_shellapi.c
     + Added _SET_OSCODEPAGE support for WAPI_SHELLEXECUTE() and 
       WIN_RUNDETACHED(). This may make these functions incompatible 
       in some situations. This clears to TODOs in source.

   * INSTALL
     * Minor.

   * ChangeLog
     + Item marked DONE.
2009-10-14 16:48:25 +00:00
Viktor Szakats
aefb5dcecb 2009-10-11 10:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbssl/sslsess.c
  * contrib/hbssl/ssl.c
  * contrib/hbssl/hbssl.h
  * contrib/hbssl/sslctx.c
    + Added partial support for OpenSSL 1.0.0beta3.
      Partial because I'm getting a few errors which I cannot resolve, 
      help/input is welcome from interested parties:
      ---
      cl.exe  -nologo -I. -I../../../../../include -Gs -TP -W4 -wd4127 -Ot2b1 -EHs-c- -MT   -IC:\devl\openssl-1.0.0-beta3\include -DOPENSSL_OPT_WINDLL -DUNICODE  -Fossl.obj -c ../../../ssl.c
      ssl.c
      ../../../ssl.c(1366) : error C2440: '<function-style-cast>' : cannot convert from 'LPCSTR' to 'HB_FUN_SSL_GET_CLIENT_CA_LIST::stack_st_'
              Source or target has incomplete type
      ../../../ssl.c(1366) : error C2059: syntax error : ')'
      ../../../ssl.c(1374) : error C2059: syntax error : ')'
      ../../../ssl.c(1391) : error C2440: '<function-style-cast>' : cannot convert from 'LPCSTR' to 'HB_FUN_SSL_LOAD_CLIENT_CA_FILE::stack_st_'
              Source or target has incomplete type
      ../../../ssl.c(1391) : error C2059: syntax error : ')'
      ../../../ssl.c(1399) : error C2059: syntax error : ')'
      ---
      The same in sslctx, plus another weird one regarding X509_NAME.

  * INSTALL
    * Updated e-mail size limit on dev list.
2009-10-11 08:52:30 +00:00
Viktor Szakats
1b080a03f9 2009-10-09 16:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- source
  + src
  * src/Makefile
  * src/dynlib/mt/Makefile
  * src/dynlib/Makefile
  * INSTALL
  * Makefile
  * ChangeLog
  * harbour.spec
  * mpkg_tgz.sh
    * Renamed 'source' dir to 'src' to move closer to other FOSS 
      projects. It's also easier to type, plus it has the side 
      effect that some cmdlines will be shorter in the 
      build process.
2009-10-09 14:54:14 +00:00
Viktor Szakats
73dac9f5a1 2009-10-07 14:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/RELNOTES
    + Note about upx update. (still no win64 support, but there are 
      some other goodies for OS X and Linux)

  * utils/hbmk2/hbmk2.prg
    + Enabled upx support on darwin. (You need to install it via 
      macports)

  * INSTALL
    + Added upx to macports install list for darwin.
    + Added few missing '$' prefixes from commands included in text.

  * config/common/watcom.mk
    - Deleted OS/2 make bug workaround.
      Thanks to David Arturo Macias Corona for instructions/tests.
2009-10-07 12:29:03 +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
Viktor Szakats
321f783bd0 2009-10-06 02:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * config/global.mk
  * config/wce/msvcarm.mk
  * config/win/msvc.mk
    + Replaced MSVC specific compiler version setting with generic 
      compiler version setting.
      HB_VISUALC_VER_PRE80 and HB_VISUALC_VER_PRE70 setting are 
      deleted and HB_COMPILER_VER is activated.
    ; INCOMPATIBLE.

  * config/global.mk
    + Added MSVC compiler version autodetection.
      (6.0, 7.x, 8.0, 9.0)

  * config/win/msvc.mk
    + Enabled UNICODE mode for MSVC 2008 (9.0) and above.
      This compiler version doesn't support Win9x anyway.

  * utils/hbmk2/hbmk2.prg
    - Deleted support for HB_VISUALC_VER_PRE80 in hbmk2.
      (HB_COMPILER_VER was already supported in hbmk2)
2009-10-06 00:52:28 +00:00
Viktor Szakats
f57d43b913 2009-10-05 13:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + More details to MS Windows SDK 7.

  * utils/hbmk2/hbmk2.prg
    ! Minor typo in comment.

  * config/win/bcc.mk
    + Added syslibs to dynlib link command. This seems to be needed 
      for some newer (6.20) versions of BCC.
      Thanks Przemek for noticing, Mario for reporting.
      And please test, I didn't do it for either BCC versions due 
      to lack of time.
2009-10-05 11:31:06 +00:00
Viktor Szakats
e896fa424c 2009-10-04 21:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added "Unibin" example for Mac OS X.
    + Added separate HOWTO section for Mac OS X listing XCode as 
      prerequisite.
    ! Minor corrections in punctuation.

  * contrib/hbhpdf/hbhpdf.hbc
    ! Added png lib for *nix systems. Thanks Lorenzo.
2009-10-04 19:56:27 +00:00
Viktor Szakats
918bc1f221 2009-10-04 14:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * MSVC/Itanium cleanups.

  * contrib/hbhpdf/hbhpdf.hbc
    * Changed to not add libpng lib on *nix systems.
      Attempt to move close to 'typical' (default) cases.
2009-10-04 12:34:45 +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
ad3c7ca184 2009-10-03 13:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added MSVC Itanium build example.
    + Added generic build instructions/advices for Windows x64 hosts.
    + Added build examples for Windows x64 hosts.
      (most of the 32-bit Windows examples work as is, so I've 
      only added a few where there are differences and which I've 
      tested)
      NOTE: x64 build of mingw32-make isn't used in these 
            examples yet.
    ! Minor fixes to OS/2 build examples.

  * ChangeLog
    ! Few typos.
2009-10-03 11:25:30 +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
Viktor Szakats
63d7fc1063 2009-09-30 13:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* INSTALL
    + Added links to several new components.
      I'd need input for bison/flex link, I didn't have any success 
      making these work on Windows systems.

  - doc/bintools.txt
  * INSTALL
  * COPYING
    * Content of bintools.txt moved to INSTALL and COPYING.

  * bin/hb-mkimp.bat
    * Minor syncing of Sed's name.
2009-09-30 12:04:58 +00:00
Viktor Szakats
d3d6f78ef2 2009-09-28 22:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added new section: LINKS TO EXTERNAL TOOL, with actual (mostly complete) content.
    + Added OS/2 TCP/IP stack selection info.
    + Added OS/2 gcc 3.3.x build example.
    ! Minor typo.
    + Added linux hosted win/mingw64 target to compatibility matrix.

  * Makefile
    * Swapped shell postinst and .prg postinst invocation order.
    + Executing shell specific postinst command only if it exists.

  + bin/postinst.prg
  * bin/postinst.bat
  - bin/postinst.cmd
    + Started to migrate shell specific tasks to postinst .prg code.
    ; NOTE: Please review and test, this may cause regressions in 
            build process. I did't actually test most of these.

  * contrib/xhb/hbcompat.ch
    ! Minor typo in comment.
    * Updated copyright year.
2009-09-28 20:51:46 +00:00
Viktor Szakats
1788fba41e 2009-09-24 19:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Sections numbered for easier reference when pointing to it 
      in e-mail answers.
2009-09-24 17:17:23 +00:00
Viktor Szakats
91c3593b31 2009-09-24 17:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* Makefile
  * utils/Makefile
    * Changed to build hbrun and hbmk2 in HB_BUILD_PARTS=compiler mode.
    + Added running bin/postinst.prg.

  + bin/postinst.prg
    + Added postinst.prg with test content.

  * package/winuni/RELNOTES
    * Added information about new MinGW CEGCC build.

  * utils/Makefile
    * Changed HB_UTILS setting name to HB_UTIL_ADDONS. To be 
      in sync with rest of similar settings.

  * INSTALL
    + Documented HB_UTIL_ADDONS setting. (formerly HB_UTILS)
2009-09-24 15:43:10 +00:00
Viktor Szakats
d5bf6a50fd 2009-09-24 09:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Pelles C support version numbers adjusted.
      6.0 DOESN'T work with Harbour due to multiple bugs in this compilers.
      Don't report such problems to the list.

  * package/winuni/HARBOUR_README_MINGWARM 
    * Updated for latest cegcc binary release.

  * utils/hbmk2/hbmk2.prg
    ! Typo in BSD macro redefinition.

  * config/global.mk
    + Extended platform macro redefinition for all supported platforms.
    + Extended arch bit macro redefinition (didn't test it though)

  * config/globsh.mk
    ! Fixed implib not being deleted when using POSIX shells.
    ! Fixed dynlib and implib not being deleted when using OS/2 or MS-DOS shells.
2009-09-24 07:39:25 +00:00
Viktor Szakats
9dfc53ab9f 2009-09-20 22:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* harbour-win-spec
  * harbour-wce-spec
  * INSTALL
  * bin/postinst.sh
  * Makefile
  * source/pp/Makefile
  * source/Makefile
  * config/global.mk
    * HB_BUILD_PART -> HB_BUILD_PARTS (simple rename)
    + HB_BUILD_STRIP added. It's dummy yet. Support will have to
      be added on the compiler level and removed from postinst phase.
2009-09-20 20:41:51 +00:00
Viktor Szakats
34a0e02a31 2009-09-19 22:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    ! Fixed typos in new section.
    ; NOTE: Please review this section, as I don't have an rpm-capable
            distro at hand. I may have also missed some sudo/fakeroot 
            commands as I never use them in context of Harbour.
            TODO: If there it's at all possible I think Harbour package 
                  creation should support sudo-less way to *create* packages.
                  'sudo' should be a must only to install them to system location.
2009-09-19 20:50:49 +00:00
Viktor Szakats
da6ef5ae3c 2009-09-19 22:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added new section: HOW TO CREATE DISTRIBUTABLE PACKAGES

  * bin/postinst.sh
    % Deleted -KPIC from dynlib command with sunpro.
2009-09-19 20:31:49 +00:00
Viktor Szakats
72a381acc1 2009-09-19 18:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * config/global.mk
    + HB_BUILD_SHARED will now default to yes, if HB_INSTALL_PREFIX 
      points to a *nix system location. (in sync with hbmk2 logic)

  * config/dos/djgpp.mk
    + Added .dll building rule, but it doesn't work, so I've commented it.
      (-shared isn't accepted by DJGPP ld)
2009-09-19 16:26:45 +00:00
Viktor Szakats
c7a6751726 2009-09-19 15:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/dynlib/mt/Makefile
  * source/dynlib/Makefile
  * source/Makefile
  * config/global.mk
  * config/bin.mk
    + Added experimental support for HB_BUILD_SHARED=yes setting,
      which tells GNU Make to create shared Harbour tool executables.
    ; TOFIX: watcom for sure needs to be fixed.
2009-09-19 13:18:14 +00:00
Viktor Szakats
241907504a 2009-09-19 13:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * HB_INC_* -> HB_WITH_*. This is now the new documented (pbly
      the final name) to control external dependencies. Usage is
      the same as with HB_INC_*. HB_INC_* is still accepted.
    + Synced .deb and .rpm package names with information found in
      mpkg_*.sh files.

  * config/detfun.mk
    ! Fixed to accept HB_WITH_* variables in place of HB_INC_*.
      If both are specified, HB_WITH_* will be used.

  * mpkg_deb.sh
    % Deleted redundant-looking package detection. Packages are now
      detected from GNU Make everywhere where needed.
      Also deleted redundant assembly of HB_CONTRIBLIBS variable.

  * mpkg_tgz.sh
    % Deleted -fPIC handling. Now handled by GNU Make system.
    - Deleted HB_NCURSES_FINK variable which isn't used in Harbour anywhere.

  * config/global.mk
    + Setting lib INSTALL dir to lib64 for x86_64 targets.
      (Please extend this with other 64-bit CPU types, if
      this is how it should work on *nixes)
      This rule was taken from mpkg_tgz.sh.
2009-09-19 11:46:17 +00:00
Viktor Szakats
7de8f43897 2009-09-19 10:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* debian/rules
    % Minor Makefile optimizations. I hope this is right.

  * INSTALL
    + Readded alternative package for curl on debian.

  + external/zlib/zlib.dif
  + external/sqlite3/sqlite3.dif
    + Added .dif files for local patches to locally hosted
      3rd party code. Pls update these when modifying original
      source locally.
    ; NOTE: I intentionally didn't add svn props to these files.

  * external/sqlite3/Makefile
    ! Typo in comment.
2009-09-19 08:16:54 +00:00
Viktor Szakats
73bec3a94a 2009-09-19 00:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * harbour-win-spec
  * harbour-wce-spec
  * Makefile
  * source/pp/Makefile
  * source/Makefile
  * config/global.mk
    * Renamed HB_HOST_BUILD to HB_BUILD_PART. Values 'yes' changed
      to compiler.
    + Documented HB_BUILD_PART in INSTALL.

  * mpkg_deb.sh
  * mpkg_rpm.sh
  * mpkg_rpm_win.sh
  * mpkg_rpm_wce.sh
    ! Changed bin/pack_src.sh to mpkg_src.sh.
2009-09-18 22:30:44 +00:00
Viktor Szakats
d39970f497 2009-09-18 16:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to add windows system libs in mingw -shared mode.
    + Added some steps towards os2/gcc -shared support.

  * INSTALL
    * Minor.
2009-09-18 14:55:53 +00:00
Viktor Szakats
685335c366 2009-09-17 11:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added darwin/clang to compatibility matrix.
2009-09-17 09:58:40 +00:00
Viktor Szakats
e76ee1d6a1 2009-09-17 11:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- ERRATA
  * doc/howtosvn.txt
  * INSTALL
  * bin/postinst.cmd
  * bin/postinst.bat
  * package/mpkg_win.nsi
  * package/winuni/mpkg_win_uni.bat
  * package/winuni/mpkg_win_uni.nsi
    + Replaced ERRATA file (which was never updated), with a link
      to bug/feature/etc tracker link in INSTALL.

  * INSTALL
    * Minor improvements.
2009-09-17 09:11:40 +00:00
Viktor Szakats
1a81c74917 2009-09-16 11:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    - Deleted experimental status from beos target.

  * config/global.mk
    * Applied patch by Tamas Tevesz:
      Tweak to default install dir for beos.
2009-09-16 09:07:37 +00:00
Viktor Szakats
9e0748e0d7 2009-09-15 15:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * doc/bintools.txt
  * os2-make.exe
    ! Updated OS/2 make.exe (and links in INSTALL) to make-3.81-r3
      (from make-3.81-r2).
      This fixes the dreaded cmdline length inducated GNU Make crashes
      which made us add .mk workarounds and which created a showstopper
      towards OS/2 .dll support.
      Many thanks to Maurilio Longo and Andreas Buening for hunting
      down and fixing the problem in OS/2 GNU Make port.
2009-09-15 13:48:33 +00:00
Viktor Szakats
c9e8928d2e 2009-09-15 04:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * include/hbthread.h
  * include/hbdefs.h
  * include/hbsetup.h
  - config/haiku
  + config/beos
  * config/global.mk
    * Changed Haiku's internal name in Harbour to BeOS.
      HB_OS_HAIKU -> HB_OS_BEOS
      'haiku' -> 'beos'
    * Changed __HAIKU__ guards to HB_OS_BEOS (two occurrences).
      Hope this is right.

  * external/libpng/Makefile
  * contrib/xhb/hbserv.c
  * contrib/hbtpathy/tpunix.c
  * contrib/hbsqlit3/Makefile
  * config/detect.mk
    + Applied 2nd Haiku patch by Tamas Tevesz.
    ; Please review hbtpathy patch.
    ; I've changed one HB_OS_HAIKU reference to __HAIKU__ since
      it looks to be a Haiku specific thing (thus HB_OS_BEOS doesn't
      seem appropriate).
2009-09-15 02:21:41 +00:00
Viktor Szakats
47af69b7d9 2009-09-15 00:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbthread.h
  * include/hbdefs.h
  * include/hbsetup.h
  * include/hbinit.h
  * source/common/hbprintf.c
  * source/rtl/hbsocket.c
  + config/haiku
  + config/haiku/libs.mk
  + config/haiku/gcc.mk
  + config/haiku/global.mk
  * config/global.mk
  * config/detect.mk
    + Applied patch adding Haiku OS port to Harbour.
      By Tamas Tevesz.

  * INSTALL
    + Added haiku to supported OS list (in 'experimental' status)
2009-09-14 22:06:18 +00:00
Viktor Szakats
c9e8f0a9d8 2009-09-14 12:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    % Deleted UTF-8 hack. Now using the built-in UTF-8 conversion
      support.

  * contrib/hbwin/win_com.c
    % Minor optimization and fixed warnings after recent patch.

  * INSTALL
    + Added see also HB_CC* to HB_COMPILER settings.
2009-09-14 10:46:22 +00:00