bc650b7df3
minor to prev
Viktor Szakats
2009-07-24 07:43:34 +00:00
347c39ae3c
2009-07-24 09:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbtip/sendmail.prg * contrib/hbtip/client.prg * contrib/hbtip/smtpcln.prg + Added TLS (SMTPS, SSL) support for SMTP class. It's experimental yet, and there is still some protocol level error. With this it'll possible to send e-mails through gmail for example. Some level of STARTTLS support (TLS on normal SMTP ports) was also added, but I cannot test this. Anyhow from this point it should be an easy task to finish above details. Since TLS was added to low level client class, it's now possible to add SSL support also for POPS, HTTPS and FTPS. ; NOTE: This code part is only active if hbtip is built with -DHAVE_OPENSSL build-time flag, and it also requires hbssl lib + OpenSSL libs.
Viktor Szakats
2009-07-24 07:42:15 +00:00
46c0860b3b
2009-07-23 21:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/rddads/ads1.c ! Reverted prev change plus added error handling. Thx Przemek.
Viktor Szakats
2009-07-23 19:46:11 +00:00
0a95b29d0f
2009-07-23 20:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/rddads/ads1.c ! Fixed buffer size in one place related to MEMO field handling. Caused memory corruption.
Viktor Szakats
2009-07-23 18:19:36 +00:00
4a51d89404
2009-07-23 18:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + source/rtl/hbfeof.c * source/rtl/Makefile * source/rtl/philes.c ! HB_FEOF() moved to separate file to ease name collision situations.
Viktor Szakats
2009-07-23 17:22:31 +00:00
2cefe1006f
2009-07-23 14:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbssl/evpciph.c + EVP_OPENINIT(), EVP_OPENUPDATE(), EVP_OPENFINAL() (not tested yet) ; TOFIX: EVP_SEALINIT() - does something nasty with memory.
Viktor Szakats
2009-07-23 12:05:14 +00:00
a67b63175a
2009-07-23 12:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbmisc/dates2.c * Renamed DAYSINMONTH() to HBMISC_DAYSINMONTH(), to avoid collision with hbct function with the same name, but different functionality. - Deleted functions below from hbmisc library: EOM(), BOM(), WOM(), DOY(), WOY(), EOY(), BOY() They have superior alternatives with the same name in hbct lib, please use those.
Viktor Szakats
2009-07-23 10:03:20 +00:00
8aa43735fc
2009-07-23 01:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + contrib/hbssl/tests/pem.prg + contrib/hbssl/tests/privkey.pem * contrib/hbssl/pem.c + Added these public/private key loading functions: PEM_READ_BIO_PRIVATEKEY() PEM_READ_BIO_PUBKEY() PEM_READ_BIO_RSAPRIVATEKEY() PEM_READ_BIO_RSAPUBLICKEY() PEM_READ_BIO_RSA_PUBKEY() PEM_READ_BIO_DSAPRIVATEKEY() PEM_READ_BIO_DSA_PUBKEY() PEM_READ_BIO_DSAPARAMS() PEM_READ_BIO_DHPARAMS() PEM_READ_BIO_X509() PEM_READ_BIO_X509_AUX() PEM_READ_BIO_X509_REQ() PEM_READ_BIO_X509_CRL() PEM_READ_BIO_PKCS7() Usage: PEM_READ_BIO_*( <ptrBIO> | <cFileName> | <fhnd>, <bPasswordCB> | <cPassword> ) -> ptr | NULL To load from memory, BIO_new_mem_buf() can be used, see in test. <bPasswordCB> is a codeblock which receive a logical parameter indicating write/read mode (.T. = write) a returns password as string or else (like NIL) for failure.
Viktor Szakats
2009-07-22 23:10:18 +00:00
2f3f3252de
2009-07-22 22:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/global.cf ! Fixed GTSLN exclusion if HB_COMMERCE is set. This is rrequired to communicate this fact with postinst.sh (hb-func.sh -> hbmk script and hbmk.cfg) Thanks to Tamas Tevesz for report and tests.
Viktor Szakats
2009-07-22 20:12:26 +00:00
e8ce337069
2009-07-22 19:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * INSTALL * make_gnu.bat * Tweak to previous fix, it didn't work. Falling back to less elegant solution.
Viktor Szakats
2009-07-22 17:33:12 +00:00
bbc434f9a2
2009-07-22 17:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * make_gnu.bat ! Added SHLVL=0 to make commands to force native shell even if sh shell is found in the PATH (f.e. when msys or cygwin is present there, for mingwarm targets, cygwin is even required.)
Viktor Szakats
2009-07-22 15:52:10 +00:00
ca1de835cd
2009-07-22 15:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) - contrib/hbcrypt * Deleted after move. (SVN got confused if done if previous pass)
Viktor Szakats
2009-07-22 13:59:16 +00:00
2849c6e191
2009-07-22 15:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * include/hbapi.h * source/common/hbstr.c * source/rtl/hbmd5.c * Moved (and somewhat standardized and renamed) mem to hex C function from hbm5/rtl to common lib.
Viktor Szakats
2009-07-22 13:41:36 +00:00
996a3ae9ea
2009-07-22 13:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbssl/Makefile + contrib/hbssl/pem.c + Added pem.c. Not developed yet.
Viktor Szakats
2009-07-22 11:13:15 +00:00
4512960cfc
2009-07-22 12:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbcurl/hbcurl.c % Callback functions changed to 'static'.
Viktor Szakats
2009-07-22 10:42:25 +00:00
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.
Viktor Szakats
2009-07-21 23:01:20 +00:00
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.
Pritpal Bedi
2009-07-21 21:19:22 +00:00
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.
Viktor Szakats
2009-07-21 17:48:48 +00:00
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()
Viktor Szakats
2009-07-21 17:41:17 +00:00
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.
Viktor Szakats
2009-07-21 13:08:20 +00:00
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.
Viktor Szakats
2009-07-20 22:24:54 +00:00
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.
Viktor Szakats
2009-07-20 15:48:57 +00:00
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.
Pritpal Bedi
2009-07-20 15:47:28 +00:00
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
Przemyslaw Czerpak
2009-07-20 11:20:22 +00:00
4bd89b2a9c
2009-07-19 19:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg + Added /P128 to tlib default flags.
Viktor Szakats
2009-07-19 17:59:21 +00:00
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.
Viktor Szakats
2009-07-19 17:42:06 +00:00
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
April White
2009-07-19 12:43:23 +00:00
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
April White
2009-07-19 01:40:33 +00:00
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
April White
2009-07-19 01:25:45 +00:00
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
April White
2009-07-19 01:21:52 +00:00
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.
Viktor Szakats
2009-07-18 17:48:34 +00:00
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.
Viktor Szakats
2009-07-18 12:39:18 +00:00
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
Przemyslaw Czerpak
2009-07-17 14:19:24 +00:00
073fd02030
2009-07-17 13:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * bin/hb-func.sh - Deleted reference to hbfm lib.
Viktor Szakats
2009-07-17 11:36:32 +00:00
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
Przemyslaw Czerpak
2009-07-17 11:00:37 +00:00
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.
Viktor Szakats
2009-07-17 10:27:13 +00:00
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
Przemyslaw Czerpak
2009-07-17 10:15:40 +00:00
5cb93fcc29
2009-07-17 12:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * source/pp/Makefile ! Fixed to delete hbpp.tds.
Viktor Szakats
2009-07-17 10:06:27 +00:00
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.
Viktor Szakats
2009-07-17 09:34:04 +00:00
3fb6323bd0
2009-07-17 11:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/globsh.cf ! Fix to nt clean rule.
Viktor Szakats
2009-07-17 09:31:21 +00:00
b9931f07cf
2009-07-17 11:30 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/globsh.cf * $(RD) -> $(RDP)
Viktor Szakats
2009-07-17 09:30:22 +00:00
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.
Viktor Szakats
2009-07-17 08:40:59 +00:00
64f481018a
2009-07-17 10:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/gtxwc/gtxwc.c ! Fixed to compile under cygwin.
Viktor Szakats
2009-07-17 08:02:34 +00:00
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.
Viktor Szakats
2009-07-17 07:43:00 +00:00
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.
Viktor Szakats
2009-07-17 07:31:18 +00:00
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.
Viktor Szakats
2009-07-17 07:05:54 +00:00
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)
Viktor Szakats
2009-07-17 00:33:47 +00:00
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.
Viktor Szakats
2009-07-17 00:12:28 +00:00
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.
Viktor Szakats
2009-07-16 21:28:55 +00:00
f4661248da
2009-07-16 21:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * tests/rddtest/make_c53.bat * Minor formatting.
Viktor Szakats
2009-07-16 19:59:17 +00:00
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
Przemyslaw Czerpak
2009-07-16 18:58:10 +00:00
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.
Viktor Szakats
2009-07-16 18:39:22 +00:00
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.
Viktor Szakats
2009-07-16 18:04:55 +00:00
891d736304
2009-07-16 19:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/globsh.cf + Deleting Borland .tds files.
Viktor Szakats
2009-07-16 17:07:58 +00:00
acaf021bb4
2009-07-16 19:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/instsh.cf ! fixed install dirs when POSIX shell is used and path contains "\" instead of '/'
Przemyslaw Czerpak
2009-07-16 17:04:00 +00:00
5bb6740b89
2009-07-16 18:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + config/dj-mkdir.exe + config/dj-cp.exe + config/dj-rm.exe * config/instsh.cf * config/globsh.cf + Solved the MS-DOS dir creation and neverending copy problem by uploading MS-DOS versions of well working GNU tools. Also added 'rm' tool to facilitate 'clean'. Maybe this is the ultimate solution for all these build difficulties, we could do the same for win and OS/2, for OS/2 it's probably safe to do as the platform isn't evolving anymore. (placement and naming of these tools may change in future commits) + Added DJGPP 2.04 GNU Tools. * Changed dos shell rules to use DOS GNU Tools. % Deleted dos/watcom specific COMSPEC shell hack (and with it the QUESTION).
Viktor Szakats
2009-07-16 16:41:07 +00:00
b18e782f8e
2009-07-16 18:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/dir.cf ! fixed typo in include path * disabled parallel processing in DOS hosts - it does not work correctly and it looks like a problem with nested directory change in DJGPP port of GNU make.
Przemyslaw Czerpak
2009-07-16 16:32:25 +00:00
c01ec57fe7
2009-07-16 17:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/global.cf * config/instsh.cf * config/dirsh.cf * config/globsh.cf * Restored compatibility with pre-3.81 GNU Make versions. (some user feedback features are now disabled for older versions)
Viktor Szakats
2009-07-16 15:20:36 +00:00
fb63a2d9cc
2009-07-16 16:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * source/pp/Makefile * config/rules.cf * config/global.cf + Added new internal variable HB_HOST_BIN_DIR to avoid touching original HB_BIN_COMPILE and in turn mess up __PLATFORM__ macro definitions in recursive runs to GNU Make.
Viktor Szakats
2009-07-16 14:38:30 +00:00
1620f27b31
2009-07-16 15:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/global.cf * config/instsh.cf ! Fixed to only set __PLATFORM__ flags if there is really a cross build situation. This is to avoid redefinition warnings with dos on win builds. ; QUESTION: BTW, could we modify harbour compiler to not throw these redef warnings for internally defined macros? This problem is still present if user is manually configuring HB_BIN_COMPILE to a platform native executable. ! Hack added to dos shell install rule to create HB_INSTALL_PREFIX first. Of course there is no guarantee that this envvar is set, or that it's one level up to HB_*_INSTALL dir, or that its parent exist, but anyway I don't know any better.
Viktor Szakats
2009-07-16 14:06:10 +00:00
f9917f2eb2
2009-07-16 15:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/instsh.cf * config/globsh.cf ! Fixed to use plain copy command in DOS. Previous xcopy solution returned with the dumb 'is it a file or dir?' message. 'copy' seems to overwrite existing target so no need to mess with /Y switch, but it may be that I'm overlooking something. * OS/2 $(CP) command changed to contain CMDPREF. This causes a little change in .c to .yyc rule, at the same time it syncs this shell with others. I hope it's harmless. ; TOFIX: install dir creation doesn't work for dos shells. Anyone knows a trick to create a multilevel dir in plain DOS? (aka mkdir -p) ; TOFIX: dos/watcom does this: (should we force native harbour compiler?) ../../../../../bin/dos/watcom/harbour.exe ../../../achoice.prg -n1 -gc3 -undef:__PLATFORM__WINDOWS -D__PLATFORM__DOS run-time error R6009 - not enough space for environment
Viktor Szakats
2009-07-16 13:47:17 +00:00
4ff8a0a513
2009-07-16 14:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/global.cf ! Switched to use HB_FLAGSEXTRA for __PLATFORM__ macros instead of cumulating HB_USER_PRGFLAGS. It didn't work in linux/watcom builds from win hosts. This way also HB_HOST_FLAG_ isn't needed.
Viktor Szakats
2009-07-16 13:00:14 +00:00
635029ae24
2009-07-16 14:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/global.cf ! yet another fix for exporting relative paths in HB_BIN_COMPILE
Przemyslaw Czerpak
2009-07-16 12:19:51 +00:00
236bb8fce5
2009-07-16 13:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbmk2/hbmk2.prg ! fixed small typo which broke non windows builds
Przemyslaw Czerpak
2009-07-16 11:32:52 +00:00
e6927d846a
2009-07-16 13:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/global.cf ! fixed HB_BIN_COMPILE exporting - it should be done only for cross builds when it's fixed location
Przemyslaw Czerpak
2009-07-16 11:24:22 +00:00
7dde2f4e53
2009-07-16 12:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/win/watcom.cf * added SYS NT to link options - it's default in Windows builds but is necessary in cross builds
Przemyslaw Czerpak
2009-07-16 10:46:48 +00:00
83b8dca701
2009-07-16 12:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/instsh.cf * config/dirsh.cf * config/globsh.cf % Grouped non-bash (batch) initializations to reduce redundancy. * Changed 'md' command to 'mkdir' in OS/2 and DOS, just to be in sync, mkdir is available in all shells. + Added links to good multiplatform batch docs.
Viktor Szakats
2009-07-16 10:14:39 +00:00
43cd4d5102
2009-07-16 10:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * include/hbextern.ch * source/lang/Makefile + source/lang/msguados.c + Added Ukrainian language module for cp1125. (borrowed from xhb, work of Pavel Tsarenko.) I've made a few corrections compared to xhb: - Using the same internal name as filename for consistency with other language modules (UADOS instead of UA1125). - Fixed date format which must only contain YYYY, MM, DD regardless of the CP/language used, since it's a picture mask. - Formatting (semicolon, spaces, deleted embedded $Id$ not needed with SVN) - Added to hbextern.ch.
Viktor Szakats
2009-07-16 08:49:33 +00:00
f0659091a8
2009-07-16 10:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * make_gnu_os2.cmd * make_gnu.bat * make_gnu.sh % Deleted install dir creation. Now done from GNU Make.
Viktor Szakats
2009-07-16 08:03:03 +00:00
7793c230c9
2009-07-16 04:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/instsh.cf + Implemented automatic creation of install dir for all shells. (only nt and dos were tested, os2 should be okay since it's the same as dos.) + Implemented to ignore empty install dir. This can be useful in practice although make_gnu.* starter scripts mask this feature yet. (bash gave an error so far on empty install dirs, this is now changed)
Viktor Szakats
2009-07-16 02:26:39 +00:00
28e6cbe227
2009-07-16 03:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/instsh.cf * config/dirsh.cf * config/globsh.cf % Using $(CMDPREF) instead of '$(COMSPEC) /C'.
Viktor Szakats
2009-07-16 01:11:09 +00:00
97e2f86709
2009-07-16 02:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) - config/hpux/dir.cf * config/hpux/global.cf - config/hpux/install.cf - config/darwin/dir.cf * config/darwin/global.cf - config/darwin/install.cf - config/dos/dir.cf * config/dos/global.cf - config/dos/install.cf * config/win/global.cf - config/win/install.cf - config/win/dir.cf - config/linux/dir.cf * config/linux/global.cf - config/linux/install.cf - config/os2/dir.cf * config/os2/global.cf - config/os2/install.cf - config/sunos/dir.cf * config/sunos/global.cf - config/sunos/install.cf - config/bsd/dir.cf * config/bsd/global.cf - config/bsd/install.cf - config/wce/dir.cf * config/wce/global.cf - config/wce/install.cf * Minor change in dos specific dirbase:: checks. Should be equivalent. * darwin/gcc was running RANLIB on install. I've removed this for now and if ranlib is required on Darwin, it should be readded to gcc.cf.
Viktor Szakats
2009-07-16 01:02:11 +00:00
a8c53c2e3e
2009-07-16 01:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/global.cf * config/win/global.cf * config/linux/global.cf * config/os2/global.cf * config/wce/global.cf + Changed host CPU detection. + Added automatic __PLATFORM__* macro configuration in cross-build situations. + Enhanced target/host CPU detection and decisions based on them. + Added automatic HB_BIN_COMPILE setup if not specified by user. In such case Harbour build will automatically look for the first available native build and use that. + Protected detection related screen messages with HB_BUILD_VERBOSE=yes. * Minor sync in shell command definition order.
Viktor Szakats
2009-07-15 23:13:16 +00:00
8e3c8f060f
2009-07-15 22:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/dos/global.cf * config/global.cf * config/win/global.cf * config/linux/global.cf * config/os2/global.cf * config/wce/global.cf + COMSPEC detection centralized. Added command.com defaulting in DOS shells. * Some 'MK:=' changed to 'MK='. (maybe ':=' is the correct one, I just syncing yet) + Added IA64 detection. + Not giving warning on missing HB_BIN_COMPILE on some host-target combinations which don't require it (win32 on win64 and dos on win32).
Viktor Szakats
2009-07-15 20:08:03 +00:00
e4cfb37946
2009-07-15 20:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec ! fixed RPM building after recent modification in Makefiles
Przemyslaw Czerpak
2009-07-15 18:02:57 +00:00
22eba88dc3
2009-07-15 20:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * include/Makefile + include/hbextcdp.ch * include/hbextern.ch * utils/hbmk2/hbmk2.prg + Separated EXTERNAL HB_CODEPAGE_* lines to hbextcdp.ch. These are commonly needed by apps. * Using hbextcdp.ch in hbmk2. ; TODO: hbextern app needs to be updated to filter out CODEPAGE symbols.
Viktor Szakats
2009-07-15 18:01:41 +00:00
934ddf43b1
2009-07-15 18:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/win/mingw.cf * config/wce/mingwarm.cf % Optimized out LIB_DIR_OS_ vars.
Viktor Szakats
2009-07-15 16:53:53 +00:00
8803ac29e6
2009-07-15 18:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * source/pp/Makefile * source/pp/hbpp.c + hbpp is now accepting directory for -c parameter and in this case it will check ChangLog names in specified dir. + Modified make file to pass dir to hbpp so now it configures itself automatically no matter where we move the object directory. ; Please review me.
Viktor Szakats
2009-07-15 16:08:52 +00:00
3b08018672
2009-07-15 17:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * source/pp/hbpp.c ! Need to go one level up after latest changes.
Viktor Szakats
2009-07-15 15:52:41 +00:00
8ddf0874f8
2009-07-15 17:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/global.cf + Enabled base directory for all intermediate build files (objects, Harbour generated .c files, etc). Now they will be put under 'obj' dir inside each source directory. After this huge task, it's now possible to filter out all these intermediate files from grep, hbextern commands. For me this means I can do without a parallel virgin repository kept for grep usage.
Viktor Szakats
2009-07-15 15:36:01 +00:00
7c10651b62
2009-07-15 17:24 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/dos/global.cf * config/global.cf * config/linux/global.cf * config/os2/gcc.cf * config/os2/global.cf * Finished internal support for obj base dir. In next step I'll enable it.
Viktor Szakats
2009-07-15 15:25:53 +00:00