Commit Graph

11460 Commits

Author SHA1 Message Date
Viktor Szakats
bed56bb8dc 2009-07-22 01:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/instsh.cf
  * config/dirsh.cf
  * config/globsh.cf
    ! Added double quotes to all 'if [ -? * ]' expressions:
      'if [ -? "*" ]'. This fixes clean rule in Solaris builds
      '[ -z $(EXE_FILE) ]' when $(EXE_FILE) was empty.
      (Thanks for Tamas Tevesz for report and fix suggestion)
      Please speak up if there is any reason why double quotes
      weren't used in bash commands embedded in .cf files while
      they are consistently used in all .sh files.
2009-07-21 23:01:20 +00:00
Pritpal Bedi
8f8b8cbb3b 2009-07-21 14:17 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_slots.cpp
  * contrib/hbqt/hbqt_slots.h
  * contrib/hbqt/moc_slots.cpp
    ! Normalized the events management code. Now uniform across all objects.
2009-07-21 21:19:22 +00:00
Viktor Szakats
20af5dd584 2009-07-21 19:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbssl/evpciph.c
  * contrib/hbssl/evpenc.c
    ! Potential fix to passing buffer size to some functions. The 
      docs are not fully clear, but anyhow this cannot hurt.
2009-07-21 17:48:48 +00:00
Viktor Szakats
7b80364619 2009-07-21 19:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbssl/Makefile
  + contrib/hbssl/evppkey.c
  * contrib/hbssl/evpciph.c
  * contrib/hbssl/hbssl.h
  * contrib/hbssl/ssl.c
  * contrib/hbssl/sslctx.c
  * contrib/hbssl/sslerr.c
  * contrib/hbssl/evp.c
  * contrib/hbssl/evpmd.c
  * contrib/hbssl/evpenc.c
  * contrib/hbssl/tests/digest.prg
  + contrib/hbssl/tests/encode.prg
    * SSL_ERR_*() functions renamed to ERR_*() to have
      the exact same name as in OpenSSL.
    ! Minor fixes and cleanups.
    + Added:
      OPENSSL_VERSION()
      SSLEAY()
      SSL_USE_PRIVATEKEY()
      SSL_CTX_USE_PRIVATEKEY()
      EVP_SIGNFINAL()
      EVP_VERIFYFINAL()
      EVP_PKEY_NEW()
      EVP_PKEY_TYPE()
      EVP_PKEY_SIZE()
      EVP_PKEY_BITS()
      EVP_PKEY_ASSIGN()
      EVP_PKEY_ASSIGN_RSA()
      EVP_PKEY_ASSIGN_DSA()
      EVP_PKEY_ASSIGN_DH()
      EVP_BYTESTOKEY()
      ERR_LOAD_EVP_STRINGS()
    + Added OpenSSLs own BASE64 functions:
      HB_EVP_ENCODE_CTX_CREATE()
      EVP_ENCODEINIT()
      EVP_ENCODEUPDATE()
      EVP_ENCODEFINAL()
      EVP_DECODEINIT()
      EVP_DECODEUPDATE()
      EVP_DECODEFINAL()
2009-07-21 17:41:17 +00:00
Viktor Szakats
ea8a5f8a86 2009-07-21 15:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbssl/Makefile
  + contrib/hbssl/evp.c
  + contrib/hbssl/evpciph.c
  + contrib/hbssl/evpmd.c
  * contrib/hbssl/hbssl.ch
  + contrib/hbssl/tests/digest.prg
  + contrib/hbssl/tests/crypt.prg
    + Added almost complete EVP (hashing, encryption, decryption) API.
      This means support for a max of 14 hashing methods and 
      about 90 symmetric encryption methods.

  * contrib/hbssl/ssl.c
  * contrib/hbssl/sslctx.c
    * Moved two functions between files.

  * bin/postinst.bat
  * config/globsh.cf
    + Tweaked/fixed to allow building Harbour present on a path
      which contains spaces.
2009-07-21 13:08:20 +00:00
Viktor Szakats
99334f7547 2009-07-21 01:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbssl/sslctx.c
  * contrib/hbssl/ssl.c
    + Added:
      SSL_CTX_USE_RSAPRIVATEKEY_ASN1()
      SSL_CTX_USE_PRIVATEKEY_ASN1()
      SSL_CTX_USE_CERTIFICATE_ASN1()
      SSL_USE_RSAPRIVATEKEY_ASN1()
      SSL_USE_PRIVATEKEY_ASN1()
      SSL_USE_CERTIFICATE_ASN1()
2009-07-20 23:04:47 +00:00
Viktor Szakats
2a1929a261 2009-07-21 00:23 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/net.c
    ! Fixed NETNAME()/hb_netname() on dos/watcom platforms
      in error cases it was leaking 16 bytes of memory.
      (+ minor formatting)
      Please review me.
    + NETNAME(), HB_USERNAME() now do conversion from OS
      codepage. Couldn't test it, please review me.
2009-07-20 22:24:54 +00:00
Viktor Szakats
e2cca2e1e6 2009-07-20 17:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_reg.prg
  * contrib/hbwin/win_regc.c
    ! GETREGISTRY() fixed to return default only if the
      registry entry doesn't exist. Previously it was
      falling back to default even if the value existed but
      was empty. In case of empty string, these weren't
      possible to write from hbwin, but could exist in registry
      when written by other tools.
    ! GETREGISTRY() fixed to return binary data as string
      for REG_BINARY types. (previously it was returning
      an unsigned int - essentially truncating everything
      beyong the first 4 bytes).
    ! GETREGISTRY() fixed to swap words for REG_DWORD_BIG_ENDIAN
      values to return correct unsigned integer results.
      (not tested)
    ! GETREGISTRY() fixed to strip only the ending Chr( 0 )
      from string values. This makes it possible to utilize
      strings containing nul chars (obviously) and also to
      parse REG_MULTI_SZ multistring values.
    ! GETREGISTRY() fixed to not RTE if WIN_REGQUERYVALUEEX()
      returned non-null length and a non-string value.
      I still have to understand how this was possible, but
      I got a report that it happened on a system.
    ! WIN_REGQUERYVALUEEX() fixed to store NIL in 5th param,
      if the registry entry doesn't exist.
    ! WIN_REGQUERYVALUEEX() fixed to store empty string when
      registry value is zero length.

  * include/hbapi.h
  * source/vm/extend.c
    + Added API hb_stor() to store a NIL into a parameter passed
      by reference.

  * source/vm/arrays.c
    * Minor formatting.
2009-07-20 15:48:57 +00:00
Pritpal Bedi
cd7375406b 2009-07-20 08:45 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_slots.cpp
  * contrib/hbqt/hbqt_slots.h
  * contrib/hbqt/moc_slots.cpp
    + Added "timeout()" signal. I am not sure if it will work.
      Please let me know if I am right, otherwise I have to restructure
      this mechanism from bottom-up.
2009-07-20 15:47:28 +00:00
Przemyslaw Czerpak
8f26e540ec 2009-07-20 13:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/itemapi.c
    * cleaned hb_itemPutC*() functions. Now each function which accepts
      only pure szText pointer without length can be called with NULL
      as szText. Each function which need string length parameter needs
      non NULL szText value. I hope it's easy to remember for developers.
    % minor code optimizations for above rules

  * harbour/source/rtl/filebuf.c
    * allow to reuse tables in aliased workarea in RW mode after previous
      opening in RO mode
2009-07-20 11:20:22 +00:00
Viktor Szakats
7640a5451b 2009-07-20 13:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbssl/ssl.c
  * contrib/hbssl/sslctx.c
  * contrib/hbssl/tests/test.prg
    + Added:
      SSL_CTX_GET_OPTIONS()
      SSL_CTX_GET_CLIENT_CA_LIST()
      SSL_GET_OPTIONS()
      SSL_GET_CIPHERS()
      SSL_GET_CLIENT_CA_LIST()
      SSL_LOAD_CLIENT_CA_FILE()
2009-07-20 11:02:32 +00:00
Viktor Szakats
a45194d863 2009-07-20 10:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapinet.h
    ! Fix for Cygwin.
2009-07-20 08:29:14 +00:00
Viktor Szakats
6e3895739e 2009-07-20 10:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapinet.h
  * source/rtl/hbinet.c
    ! Fixed headers for non-Windows.
2009-07-20 08:21:50 +00:00
Viktor Szakats
583425325e 2009-07-20 09:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbssl/hbssl.h
  * contrib/hbssl/sslctx.c
  * contrib/hbssl/ssl.c
  * contrib/hbssl/sslx509.c
    + Using GC collected pointers for X509 objects retrieved.
2009-07-20 07:39:01 +00:00
Viktor Szakats
e8770373c9 2009-07-20 09:22 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbssl/sslctx.c
  * contrib/hbssl/ssl.c
  * contrib/hbssl/hbssl.ch
  * contrib/hbssl/sslx509.c
    + Added X509 verification result codes.
    + Added unused yet X509 object GC functions.
    ! Casting for C++
2009-07-20 07:21:48 +00:00
Viktor Szakats
c41ddb5647 2009-07-20 09:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbssl/ssl.c
  * contrib/hbssl/sslctx.c
  * contrib/hbssl/hbssl.ch
    + Added following functions:
      SSL_CTX_USE_CERTIFICATE()
      SSL_CTX_ADD_CLIENT_CA()
      SSL_CTX_ADD_EXTRA_CHAIN_CERT()
      SSL_CTX_USE_CERTIFICATE_FILE()
      SSL_CTX_USE_CERTIFICATE_CHAIN_FILE()
      SSL_CTX_USE_PRIVATEKEY_FILE()
      SSL_CTX_USE_RSAPRIVATEKEY_FILE()
      SSL_SET_CIPHER_LIST()
      SSL_GET_CERTIFICATE()
      SSL_USE_CERTIFICATE()
      SSL_ADD_CLIENT_CA()
      SSL_USE_CERTIFICATE_FILE()
      SSL_USE_PRIVATEKEY_FILE()
      SSL_USE_RSAPRIVATEKEY_FILE()
2009-07-20 07:09:31 +00:00
Viktor Szakats
5d8cbff947 2009-07-20 00:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbssl/ssl.c
   + contrib/hbssl/hbssl.c
   * contrib/hbssl/Makefile
     + HB_SSL_READ_ALL() and HB_SSL_READ_LINE() rewritten.
       (HB_SSL_READ_ALL() isn't fully optimal, and maybe there
       are errors, please check.)
     + Added SSL_GET_RFD(), SSL_GET_WFD().

   * include/Makefile
   + include/hbapinet.h
   * source/rtl/hbinet.c
     + Moved some basic declarations to new API header,
       mainly to export hb_select[Read|Write]*() functions.
       We will also need such header in the future when
       we implement C level socket/networking API. Current
       solution is quite messy since the header has to
       pull Windows headers which may not be friendly with
       all usages/include order.

   * source/rtl/hbinet.c
     * HB_SOCKET_STRUCT renamed to HB_SOCKET.
     + Added PHB_SOCKET type.
     + Added hb_selectReadFD(), hb_selectWriteFD() which
       are similar to hb_selectReadSocket() and
       hb_selectWriteSocket() but expect raw FD plus explicit
       timeout values.
       These function names and solutions are tentative
       to solve SSL integration with Harbour, and hopefully
       in the future we will have a clean net API, the current
       one is very messy.

   * source/vm/itemapi.c
     ! hb_itemPutCPtr(), hb_itemPutCLPtr() fixed to put empty
       string to item if szText is NULL and length is non-zero,
       instead of trying to free NULL pointer causing internal
       error.

   * include/hbextlng.ch
     * Corrected header to be in sync with CDP and not
       to repeat the filename.
2009-07-19 22:51:05 +00:00
Pritpal Bedi
1e543152e8 2009-07-19 13:56 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/generator/qt45.qtp
  * contrib/hbqt/hbqt.h
  * contrib/hbqt/Makefile_gen

  + contrib/hbqt/qth/QButtonGroup.qth
  + contrib/hbqt/qth/QIODevice.qth
  + contrib/hbqt/qth/QProcess.qth

  + contrib/hbqt/QButtonGroup.cpp
  + contrib/hbqt/QIODevice.cpp
  + contrib/hbqt/QProcess.cpp
  + contrib/hbqt/TQButtonGroup.prg
  + contrib/hbqt/TQIODevice.prg
  + contrib/hbqt/TQProcess.prg

    + Added new classes.
2009-07-19 20:59:25 +00:00
Viktor Szakats
4bd89b2a9c 2009-07-19 19:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added /P128 to tlib default flags.
2009-07-19 17:59:21 +00:00
Viktor Szakats
a647e930c6 2009-07-19 19:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbssl/Makefile
  + contrib/hbssl/sslerr.c
  + contrib/hbssl/sslx509.c
  * contrib/hbssl/ssl.c
  * contrib/hbssl/sslctx.c
  * contrib/hbssl/hbssl.ch
  * contrib/hbssl/tests/test.prg
    + Added ERR_*() API functions.
    + Prefixed .ch contant names with HB_ to avoid collision with
      ssl own headers.
    + Added SSL_CTX_SET_MODE(), SSL_CTX_GET_MODE() functions.
    + Added HB_SSL_READ_ALL(), HB_SSL_READ_LINE() functions meaning
      to mimic HB_INETRECVALL() and HB_INETRECVLINE(). (probably needs
      more work, it'd be great if someone who understands the guts of
      these inet functions could take a look)
    * SSL_PEEK() synced with SSL_READ() recent changes.
    + Added SSL_SET_MODE(), SSL_GET_MODE(), SSL_SET_MTU() functions.
    + Added SSL_GET_RBIO(), SSL_GET_WBIO() functions.
    + Added SSL_GET_PEER_CERTIFICATE() function.
    + Added X509_GET_SUBJECT_NAME(), X509_GET_ISSUER_NAME(), X509_NAME_ONELINE()
    + Added HB_SSL_MODE_* constants.

  * include/hbextern.ch
    * Changed to use new hbextlng.ch.

  - examples/hbextern/hbextern.lst
    ! It wasn't deleted in 2009-07-18 21:37 UTC+0600 for some reason.

  * source/rtl/console.c
    ! Fixed OUTSTD() and OUTERR() to output separator space
      to std/err instead of alt.

  * source/rtl/hbinet.c
    % Minor optimization.
2009-07-19 17:42:06 +00:00
April White
057ab4dd59 2009-07-18 21:37 UTC+0600 April White (april users.sourceforge.net)
- examples/hbextern/hbextern.lst
  * examples/hbextern/hbextern.prg
    ; hbextern.ch_, hbextcdp.ch_, and hbextlng.ch_ will have the copyright 
      comment from the existing include file; contrib output will not
    * minor optimizations
    - removed use of hbextern.lst
    + auto-generated .ch_ files for contrib folders
      ; these will have same name as contrib folder
      ; generic copyright message using doc/hdr_tpl.txt as template
      ; the include folder has some files matching the contrib
        folder names but with non-extern content; these files
        must be merged by hand, or a #include statement used
2009-07-19 12:43:23 +00:00
April White
239daa45f5 2009-07-18 21:37 UTC+0600 April White (april users.sourceforge.net)
+ include/hbextlng.ch
    ; as created by hbextern
  * ChangeLog - improved comments for 2009-07-18 21:20, below
2009-07-19 01:40:33 +00:00
April White
81b69e6586 2009-07-18 21:24 UTC+0600 April White (april users.sourceforge.net)
+ examples/hbextern/hbextern.lst
    ; used by hbextern to build contrib external headers
2009-07-19 01:25:45 +00:00
April White
0d3396f3a0 2009-07-18 21:20 UTC+0600 April White (april users.sourceforge.net)
* examples/hbextern/hbextern.prg
    - legacy directory listing deprecated and removed
    - removed 'recursive' flags, now default behaviour
    * altered internal structure to allow for multiple output files
2009-07-19 01:21:52 +00:00
Viktor Szakats
02fd64f6d8 2009-07-18 19:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbssl/Makefile
  * contrib/hbssl/hbssl.h
  * contrib/hbssl/hbssl.ch
  * contrib/hbssl/sslctx.c
  * contrib/hbssl/ssl.c
  + contrib/hbssl/sslbio.c
  * contrib/hbssl/tests/test.prg
    ! Fixed a few bugs and typos, so now the test works.
    + Added very basic BIO interface.
2009-07-18 17:48:34 +00:00
Viktor Szakats
799606888e 2009-07-18 14:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbssl/hbssl.hbc
    + External libraries added for *nixes, OS/2 and adjusted
      for Windows.

  * contrib/hbssl/tests/test.prg
    * Changed test site to a better one.

  * config/global.cf
    + Adding __ARCH64BIT__ for some win targets.
      Not necessary for Harbour code at this moment.

  * config/globsh.cf
    * Minor: @- -> -@

  * external/libpng/pngrio.c
  * external/libpng/pngerror.c
  * external/libpng/pngconf.h
  * external/libpng/pngwrite.c
  * external/libpng/pngset.c
  * external/libpng/pngpread.c
  * external/libpng/pngwtran.c
  * external/libpng/LICENSE
  * external/libpng/pngwio.c
  * external/libpng/pngrutil.c
  * external/libpng/pngwutil.c
  * external/libpng/pngread.c
  * external/libpng/pngmem.c
  * external/libpng/png.c
  * external/libpng/pngget.c
  * external/libpng/png.h
  * external/libpng/pngrtran.c
  * external/libpng/pngtrans.c
    * Updated to 1.2.38 (from 1.2.37)
2009-07-18 12:39:18 +00:00
Przemyslaw Czerpak
1688862f1e 2009-07-18 02:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbextern.ch
    + added HB_ZERROR
2009-07-18 00:59:23 +00:00
Przemyslaw Czerpak
314d60309f 2009-07-18 02:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/hbzlib.c
    + added HB_ZERROR( <nError> ) => <cErrorDescription>
      It's wrapper to zError() ZLIB function.
2009-07-18 00:57:57 +00:00
Przemyslaw Czerpak
551d0c2bcf 2009-07-17 16:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/macro/macro.y
  * harbour/source/macro/macro.yyc
    % improved macrocompiler speed by reducing number of memory
      allocations for compiled subexpressions
2009-07-17 14:19:24 +00:00
Viktor Szakats
073fd02030 2009-07-17 13:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/hb-func.sh
    - Deleted reference to hbfm lib.

  * source/pp/Makefile
    * Minor formatting.
2009-07-17 11:36:32 +00:00
Przemyslaw Czerpak
a253517ff2 2009-07-17 13:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/pp/Makefile
    * removed old  HB_PP_RULES used for precomputed pptables
    * added protection against setting possible actions executed without
      HB_ARCHITECTURE and HB_COMPILER
2009-07-17 11:00:37 +00:00
Viktor Szakats
18ae8f1bca 2009-07-17 12:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/globsh.cf
    + Attempt to fix dos shell clean rules. Please test.
    + Attempt to fix os2 shell clean rules. Obviously blind attempt.
    * RDP -> RD for os2 since it cannot remove full paths in OS/2 (AFAIK).
    + Added '@' to all os2 dirbase and clean commands.
2009-07-17 10:27:13 +00:00
Przemyslaw Czerpak
7b9e94a15c 2009-07-17 12:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/pp/Makefile
    ! set EXE_FILE - it's workaround to force bin/<arch>/<cmp> directory
      creation in current make files and then cleaning it if possible

  * harbour/config/rules.cf
    * removed old hardcoded clean rules which deleted files not created
      by build process

  * harbour/config/instsh.cf
    * pacified install command echo

  * harbour/config/globsh.cf
    ! fixed new sh clean rules: [ ! -f $(LIB_DIR)/* ] causes syntax
      error when more then one file exists in $(LIB_DIR) directory
2009-07-17 10:15:40 +00:00
Viktor Szakats
5cb93fcc29 2009-07-17 12:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/pp/Makefile
    ! Fixed to delete hbpp.tds.

  * config/globsh.cf
    + Attempt to fix nt shell clean rules. Please test.
    ! Fixed to create bin dir even when lib targets are being
      created. This hack is needed to support existing hack
      inside source/pp/Makefile. If there is any possibility
      to solve current hbpp lib+bin rules in some cleaner ways
      IMO we should do it, but so far I couldn't figure out
      how current method works.
2009-07-17 10:06:27 +00:00
Viktor Szakats
e6948aba1f 2009-07-17 11:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/globsh.cf
    * Using RM instead of RD in sh clean rules.
2009-07-17 09:34:04 +00:00
Viktor Szakats
3fb6323bd0 2009-07-17 11:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/globsh.cf
    ! Fix to nt clean rule.
2009-07-17 09:31:21 +00:00
Viktor Szakats
b9931f07cf 2009-07-17 11:30 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/globsh.cf
    * $(RD) -> $(RDP)
2009-07-17 09:30:22 +00:00
Viktor Szakats
c439db6050 2009-07-17 10:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/gtxwc/gtxwc.c
    ! Fixed typo.
      This should fix the warning plus black screen reported by 
      some users. Please test.
2009-07-17 08:40:59 +00:00
Viktor Szakats
64f481018a 2009-07-17 10:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/gtxwc/gtxwc.c
    ! Fixed to compile under cygwin.
2009-07-17 08:02:34 +00:00
Viktor Szakats
c6b4c765e5 2009-07-17 09:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/globsh.cf
    ! Attempt to fix posix shell clean rules.
      Please test. If the logic is about okay, we might want to
      replicate it for other shells.
2009-07-17 07:43:00 +00:00
Viktor Szakats
30c0587f4c 2009-07-17 09:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/globsh.cf
    ! Minor fix dir creation to rules. (only create bin/lib target 
      dir when bin/lib target is actually specified)
    % Minor cleanup to clean rules.
2009-07-17 07:31:18 +00:00
Viktor Szakats
945c26d396 2009-07-17 09:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* make_gnu.sh
    ! Changed to use gmake on all sunos systems.

  * utils/hbmk2/hbmk2.prg
  * config/sunos/gcc.cf
    ! Added space after -o CC option. Required by some sunos systems.

  ; Thanks for valuable input and testing to Tamas Tevesz.
2009-07-17 07:05:54 +00:00
Viktor Szakats
1645cb3f1c 2009-07-17 02:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/instsh.cf
    * shell/nt rule $(MD) -> $(MDP). (just for clarity)

  * config/globsh.cf
    * dos shell fixed again. Now I had to delete '.exe' extension 
      from tools to stay withing cmdline limit (for single file 
      copy commands)
2009-07-17 00:33:47 +00:00
Viktor Szakats
698c5954fa 2009-07-17 02:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* make_gnu.sh
  * config/global.cf
    + Readded HB_GPM_MOUSE detection to starter script.
    ; TOFIX: This logic should be moved to GNU Make global.cf.
    + Readded HB_COMMERCE logic but now to global.cf, to
      deal with Harbour-wide settings, currently this is only
      HB_GPM_MOUSE. lib-specific HB_COMMERCE issues should be
      handled in local Makefiles.

  * config/global.cf
    * Minor formatting.
    * TODO added (host CPU detection on non-win platforms).

  * config/hpux/gcc.cf
  * config/darwin/gcc.cf
  * config/global.cf
  * config/sunos/gcc.cf
  * config/bsd/gcc.cf
    - GPM isn't available on these platforms so it's not necessary
      to handle it in these make files.

  * utils/hbmk2/Makefile
  * utils/hbrun/Makefile
    ! Changed ordering of hbcpl/hbpp/hbcommon libs to this:
      hbcplr, hbpp, hbcommon
        (from this: hbpp, hbcplr, hbcommon
         and this: hbcommon, hbpp, hbcplr)
      This syncs it with existing .hbp lib order and hopefully
      fixes link problems on sunos/sparc, reported by a user.
      Please retest & report results.
2009-07-17 00:12:28 +00:00
Viktor Szakats
13396d0617 2009-07-16 23:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- examples/hbdoc/examples/hbmisc/gendoc.bat
  + examples/hbdoc/examples/hbmisc/readme.txt
  - examples/hbdoc/examples/core_en/genhtm.bat
  + examples/hbdoc/examples/core_en/readme.txt
    * Replaced to MS-DOS batch files (not working) to readmes.
2009-07-16 21:28:55 +00:00
Viktor Szakats
f4661248da 2009-07-16 21:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* tests/rddtest/make_c53.bat
    * Minor formatting.

  - tests/run.bat
  - tests/run_all.bat
    - Deleted. We need some portable concept here, but my guess is 
      that it's been a very long time since anyonw tried to run all 
      test program in a row.
2009-07-16 19:59:17 +00:00
Viktor Szakats
7f131cdb61 2009-07-16 21:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/rules.cf
  * config/global.cf
  * config/win/bcc.cf
  * config/linux/watcom.cf
  * config/instsh.cf
  * config/dirsh.cf
  * config/globsh.cf
    * HB_SHELL value 'bash' -> 'sh'

  * config/win/bcc.cf
  * config/win/xcc.cf
  * config/win/pocc.cf
  * config/wce/poccarm.cf
    % Deleted comment banner.
2009-07-16 19:34:03 +00:00
Przemyslaw Czerpak
4e8c876b3e 2009-07-16 20:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gtcrs/Makefile
    * test for HB_COMPILER=djgpp instead of HB_ARCHITECTURE=dos to
      activate trick used to detect PDCURSES in DJGPP builds when
2009-07-16 18:58:10 +00:00
Viktor Szakats
30e69a16ff 2009-07-16 20:37 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/globsh.cf
    + Reworked 'clean' rules. Now whole bin/obj/lib dirs should
      disappear with any .tds files in them.
      OS/2 shell is the only black sheep here, I've updated it,
      but since I cannot try it, it may not work.
    % Deleted MV variable. Not used in Harbour.
    + Added MDP variable for nt.
2009-07-16 18:39:22 +00:00
Viktor Szakats
46ce9925cf 2009-07-16 20:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/postinst.bat
    ! Fixed for MS-DOS. Again.
      Here ChangeLog again causes some problems.

  * config/globsh.cf
    % Removed some redundancy regarding tool path forming.
2009-07-16 18:04:55 +00:00