* harbour/common.mak
* updated for new files - please check
* harbour/harbour.spec
* added compiler library
* harbour/bin/pack_src.sh
* harbour/bin/hb-func.sh
* updated for new files and libraries
* harbour/config/w32/mingw32.cf
* harbour/config/w32/watcom.cf
* harbour/config/w32/xcc.cf
* added winsock libraries
* harbour/include/hbapicdp.h
* harbour/source/rtl/cdpapi.c
+ added hb_cdpicmp() - not case sensitive version of hb_cdpcmp()
* harbour/include/hbapiitm.h
* harbour/source/vm/itemapi.c
+ hb_itemStrICmp(), hb_itemCopyFromRef(), hb_itemMoveFromRef()
* harbour/include/hbapi.h
* harbour/include/hbcomp.h
* harbour/include/hbcompdf.h
* harbour/include/hbexpra.c
* harbour/include/hbexprb.c
* harbour/include/hbexprop.h
* harbour/include/hbmacro.h
* harbour/include/hbpcode.h
* harbour/include/hbvmpub.h
* harbour/include/hbxvm.h
* harbour/source/common/expropt1.c
* harbour/source/compiler/complex.c
* harbour/source/compiler/genc.c
* harbour/source/compiler/gencc.c
* harbour/source/compiler/gencli.c
* harbour/source/compiler/genhrb.c
* harbour/source/compiler/genobj32.c
* harbour/source/compiler/harbour.y
* harbour/source/compiler/harbour.yyc
* harbour/source/compiler/harbour.yyh
* harbour/source/compiler/hbdead.c
* harbour/source/compiler/hbfix.c
* harbour/source/compiler/hblbl.c
* harbour/source/compiler/hbmain.c
* harbour/source/compiler/hbopt.c
* harbour/source/compiler/hbpcode.c
* harbour/source/compiler/hbstripl.c
* harbour/source/macro/macro.y
* harbour/source/macro/macro.yyc
* harbour/source/macro/macro.yyh
* harbour/source/macro/macrolex.c
* harbour/source/vm/Makefile
* harbour/source/vm/arrays.c
* harbour/source/vm/asort.c
* harbour/source/vm/classes.c
* harbour/source/vm/eval.c
* harbour/source/vm/garbage.c
* harbour/source/vm/hvm.c
* harbour/source/vm/itemapi.c
* harbour/source/vm/macro.c
+ harbour/source/vm/hashes.c
+ harbour/source/vm/hashfunc.c
+ added hash items, f.e.:
local h1 := {=>}, h2 := { "a"=>1.234, "b"=>2.345 }
? h2[ "a" ], h2[ "b ]
+ added support for DYNAMIC function declaration - it allow to define
functions which are lately bound at runtime, f.e.:
/*** t01.prg ***/
dynamic func1
proc main()
local h:=__hrbload("t02.hrb")
? func1()
return
/*** t02.prg ***/
func func1
return "Hello!!!"
% use new FUNCALL structure to hold EXTERNAL and DYNAMIC functions,
it reduce memory usage, FUNCALL is much smaller then FUNCTION
% use symbol scope bits when possible instead of making some linear scan
+ added new enumarator message: __ENUMKEY - it allow to access
key value when hash item is base enumerator value, f.e.:
proc main()
local v, h:={"a"=>1.000,"b"=>2.000,"c"=>3.000}
heval( h, { |k,v,i| qout( k, v, i ) } ); ?
for each v in h
? v, "=>", v:__enumKey(), v:__enumValue(), v:__enumIndex(), ;
valtype(v:__enumBase())
v += 0.123
next
? ;heval( h, { |k,v,i| qout( k, v, i ) } )
return
+ added C level hb_hash*() functions
+ added support for full HASH item cloning and updated array cloning
to also clone nested hashes - please note that xHarbour does not do
that, in xHarbour ACLONE() clones _ONLY_ nested arrays and HCLONE()
_DOES_NOT_ clone _ANY_ nested items.
* harbour/include/hbextern.ch
+ added hash functions HB_H*()
* changed INET*() functions to HB_INET*()
+ added hash functions H*() and socket functions INET*() when
HB_COMPAT_XHB is set
* harbour/include/hbtypes.h
+ added missing HB_EXTERN_BEGIN / HB_EXTERN_END
* harbour/include/hbpp.h
* harbour/source/pp/ppcore.c
! added protection against automatic word concatenation in some cases
! fixed preprocessing expressions when match marker matches ';' token
* harbour/source/rtl/Makefile
+ harbour/source/rtl/itemseri.c
+ added functions for item serialization: HB_SERIALIZE() and
HB_DESERIALIZE() - these function are not binary compatible
with xHarbour functions with the same names but make very
similar job with the exception to serialization of codeblock
and object variables - Harbour does not allow to serialize
codeblocks and serialize objects as arrays.
In most cases these functions can replace the xHarbour ones
+ added HB_DESERIALBEGIN() and HB_DESERIALIZE() functions covered
by HB_COMPAT_XHB macro - this functions are only for compatibility
with existing xHarbour code, In Harbour HB_DESERIALBEGIN() is
dummy function which returns first parameter and HB_DESERIALNEXT()
is a simple wrapper to HB_DESERIALIZE() so it's not necessary to
use them.
* harbour/source/rtl/hbinet.c
* changed INET*() functions to HB_INET*() and enable them for default
build
+ added INET*() functions wrappers covered by HB_COMPAT_XHB macro
* harbour/source/rtl/hbrandom.c
+ added HB_RANDOMINT() - xHarbour compatible
* harbour/source/rtl/len.c
+ added support for HASHes
* harbour/source/rtl/valtype.c
+ added support for HASHes
+ added set of HB_IS*() functions - they are a little bit faster then
calling VALTYPE( v ) == <cVal>
- removed HB_ISBYREF() - this function cannot longer work, it was using
a Clipper incompatible anomalies in passing variables by reference I
fixed so it has to stop to work. If it will be realy necessary to
implement HB_ISBYREF() function then please inform me - it will have
to be done at compiler level or with some much deeper HVM stack
checking.
* harbour/source/vm/extend.c
! fixed hb_extIsArray() and hb_extIsObject() to work well with
parameters passed by reference.
Please note that now hb_extIsArray() return TRUE only for pure arrays
not object values.
* harbour/contrib/Makefile
+ harbour/contrib/tip/Changelog
+ harbour/contrib/tip/Makefile
+ harbour/contrib/tip/atokens.c
+ harbour/contrib/tip/base64x.c
+ harbour/contrib/tip/cgi.prg
+ harbour/contrib/tip/client.prg
+ harbour/contrib/tip/credent.prg
+ harbour/contrib/tip/cstr.prg
+ harbour/contrib/tip/encb64.prg
+ harbour/contrib/tip/encmthd.c
+ harbour/contrib/tip/encoder.prg
+ harbour/contrib/tip/encqp.prg
+ harbour/contrib/tip/encurl.prg
+ harbour/contrib/tip/ftpcln.prg
+ harbour/contrib/tip/hbhex2n.c
+ harbour/contrib/tip/httpcln.prg
+ harbour/contrib/tip/mail.prg
+ harbour/contrib/tip/popcln.prg
+ harbour/contrib/tip/smtpcln.prg
+ harbour/contrib/tip/tip.ch
+ harbour/contrib/tip/url.prg
+ harbour/contrib/tip/utils.c
+ added TIP library - code borrowed from xHarbour
Please test - a lot of above code is not well tested, also some peaces
were written over year ago for different things (f.e. serialization for
NETRDD) and now I collected them and committed.
The TIP library was not tested at all. It can be compiled but I cannot
say if it works - I hope that people familiar with it can make necessary
test and fixes.
It's also not the final version of low level HASH item code. I'm working
on more efficient structure which uses binary tries but I cannot say when
I'll finish it (maybe in this weekend or maybe in next year) so I committed
working version now even if I'm not happy with overall performance (BTW
not worser then in xHarbour)
378 lines
12 KiB
Plaintext
378 lines
12 KiB
Plaintext
/*
|
|
* $Id$
|
|
*/
|
|
|
|
/* Use this format for the entry headers:
|
|
YYYY-MM-DD HH:MM UTC[-|+]hhmm Your Full Name <your_email@address>
|
|
For example:
|
|
2002-12-01 23:12 UTC+0100 Foo Bar <foo.bar@foobar.org>
|
|
*/
|
|
|
|
2005-04-29 12:00 Luiz Rafael Culik <culikr@brturbo.com>
|
|
* client.prg
|
|
* smtpcln.prg
|
|
* ftpcln.prg
|
|
* popcln.prg
|
|
* httpcln.prg
|
|
!added code to create trace of inet functions
|
|
!all inet* functions call is replace by an method of same name
|
|
|
|
2004-06-03 12:40 UTC+0200 Giancarlo Niccolai <gian@niccolai.ws>
|
|
* tipclient.prg
|
|
! Using (now properly) InetReadAll to read data slices.
|
|
|
|
2004-06-03 12:40 UTC+0200 Giancarlo Niccolai <gian@niccolai.ws>
|
|
* tiputils.c
|
|
! TIP_FileMimeType was not closing the file if it had to
|
|
open it.
|
|
|
|
2004-05-17 17:14 UTC+0200 Giancarlo Niccolai <gian@niccolai.ws>
|
|
* Rules.make
|
|
+ Added support for HB_MULTI_GT under unix/GNU make
|
|
|
|
* tiputils.c
|
|
+ added functions
|
|
Tip_FileMimeType( cFileName ) ==> cMimeType
|
|
Tip_FileMimeType( nFileHandle ) ==> cMimeType
|
|
Tip_MimeType( cData ) ==> cMimeType
|
|
|
|
that are able to detect the type of file (or of a string) depending on
|
|
extension and file content. If extension is not available (if using a stream
|
|
in Tip_FileMimeType or in Tip_MimeType) only content is used to guess the
|
|
format, and if the file can't be open ( Tip_FileMimeType ) only the extension
|
|
is used.
|
|
|
|
If the file type can't be determined, "unknown" is returned (which is a valid
|
|
MIME type).
|
|
|
|
* tests/Makefile
|
|
+ tests/Makefile.mimetest
|
|
+ tests/mimetest.prg
|
|
+ Added a test to find mime type.
|
|
|
|
2004-05-12 11:30 UTC+0200 Giancarlo Niccolai <gian@niccolai.ws>
|
|
* tipencoderurl.prg
|
|
! Default for URL encoding is now "complete", that is encoding also "=",
|
|
"?" and ":" symbols
|
|
|
|
2004-05-12 11:00 UTC+0200 Giancarlo Niccolai <gian@niccolai.ws>
|
|
* tipclienthttp.prg
|
|
! In post form, the "&" field separator was missing :-/
|
|
|
|
2004-05-07 14:22 UTC+0200 Giancarlo Niccolai <gian@niccolai.ws>
|
|
* tipclienthttp.prg
|
|
+ Added automatic authorization basic scheme if new field
|
|
cAuthMode is set to "Basic". The cUserID and cPassword fields
|
|
inside the oUrl object.
|
|
+ Added inline method UseBasicAuth() to set cAuthMode to "Basic"
|
|
|
|
2004-04-23 18:28 UTC+0200 Giancarlo Niccolai <gian@niccolai.ws>
|
|
* contrib/tip/tipclienthttp.prg
|
|
* contrib/tip/tipencoderurl.prg
|
|
! Fixed an offbyone error in URLEncode routines
|
|
|
|
2004-05-04 16:45 UTC+0200 Maurilio Longo <maurilio.longo@libero.it>
|
|
* Rules.make
|
|
+ added C_USR=-DTCPV40HDRS to use 16/32 tcp/ip stack on OS/2 (standard on OS/2 until eComStation and v5.x)
|
|
* ticlientpop.prg
|
|
* changed the way a mail gets ::Retreived(), so much faster now.
|
|
+ Added Top(), Noop() and UIDL() methods
|
|
* tipmail.prg
|
|
* changed ::fromstring() method where it looks for multipart messages, now it is so fast you simply can't
|
|
follow it anymore, hope it is still correct though :) (I've done several tests and I'm using it in
|
|
an in-house utility, so should be ok)
|
|
|
|
2004-04-05 15:40 UTC+0200 Lorenzo Fiorini <lorenzo_fiorini/at/tin.it>
|
|
* Makefile
|
|
using standard config/*.cf to support more C compilers
|
|
* tiputils.c
|
|
windows.h included for HB_OS_WIN_32
|
|
|
|
2004-03-23 11:05 UTC+0100 Maurilio Longo <maurilio.longo@libero.it>
|
|
* Rules.make
|
|
+ added support for building under OS/2 with GCC (I hope I did not break anything else)
|
|
+ inserted TABs between target and rule to make target since this is requested by gnu-make
|
|
* tiputils.c
|
|
* fixed to work under OS/2 GCC
|
|
contrib/tip can now be built under OS/2 GCC and tests work ok (I could download a web
|
|
page and a mail using tiptest).
|
|
|
|
2004-02-07 17:05 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws>
|
|
* Rules.make
|
|
+ Added support for making with GTXVT
|
|
|
|
* tipclient.prg
|
|
+ Added gauge support in WriteFromFile
|
|
(TODO: add it in ReadFromFile )
|
|
(TODO: detect file sizes in downloads)
|
|
|
|
* tipclientftp.prg
|
|
+ Fixed transfer startup/shutdown sequence
|
|
|
|
* tests/tiptest.prg
|
|
+ Added gauge for writing files
|
|
|
|
2004-01-13 22:10 UTC-0300 Luiz Rafael Culik <culikr@brturbo.com>
|
|
* tipclient.prg
|
|
! Added support for ESMTP Servers and write method enhaced for multiples
|
|
email address reparated by comma
|
|
+ base64x.c
|
|
! functions for base64 password building
|
|
* makefile.bc
|
|
* makefile.bc
|
|
Makefile
|
|
! makefile updated
|
|
|
|
|
|
2003-12-10 14:32 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws>
|
|
* tipclienthttp.prg
|
|
* GetRequest and PostRequest method have been changed into Get()
|
|
and Post().
|
|
* cQuery field is now optional, if not given it defaults
|
|
to URL path+file+query.
|
|
* Post method now accepts a non optional parameter that may be
|
|
a string or a hash.
|
|
|
|
* tipencoderqp.prg
|
|
* tipencoderurl.prg
|
|
* tipencoderbase64.prg
|
|
! IF string to encode is emptu, return immediately.
|
|
|
|
2003-12-10 02:51 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws>
|
|
* tipclienthttp.prg
|
|
! fixed a loop and initialization of READ() in PostRequest
|
|
method
|
|
|
|
* tipurl.prg
|
|
! Fixed parsing of file
|
|
|
|
2003-12-10 02:10 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws>
|
|
* contrib/tip/tipurl.prg
|
|
! Fixed URL parsing, now using latest REGEX
|
|
|
|
* contrib/tip/tipclient.prg
|
|
! Now URL can be created also while opening
|
|
|
|
* contrib/tip/tipclienthttp.prg
|
|
+ If provided with a Hash, method PostRequest will create an HTTP
|
|
request using key/values pair from the hash, automatically
|
|
translating them into strings AND encoding them.
|
|
|
|
2003-12-07 15:10 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws>
|
|
* tipencoderbase64.prg
|
|
! Must used unsigned char instead of char to encode binary
|
|
data.
|
|
* tipencoderqp.prg
|
|
! The same; also, newline at the end is now added only if
|
|
needed to break a line.
|
|
|
|
2003-12-06 13:10 UTC-0300 Luiz Rafael Culik <culikr@brturbo.com>
|
|
* tipmail.prg
|
|
!fixed method to string when sending email with attach
|
|
|
|
2003-12-03 15:15 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws>
|
|
* tiputils.c
|
|
! strftime does not work very well on windows, or maybe is the
|
|
BORLANDC strftime failing. Anyhow, I have now implemented native
|
|
windows api + sprintf() to get timezone, so there is no need
|
|
of it under windows.
|
|
|
|
2003-12-03 01:44 UTC+0100 Francesco Saverio Giudice <info@fsgiudice.com>
|
|
* tiputils.c
|
|
! added __BORLANDC__ as switch to include <windows.h>
|
|
|
|
* makefile.bc
|
|
! added missing files and modfied the build method
|
|
now it's sufficient to add the target objects without explicity define rules
|
|
|
|
* tests/bldtest.bat
|
|
tests/makefile.bc
|
|
* changed to compile more examples than tiptest.prg
|
|
now the syntax is bldtest.bat prg-name-without-extension
|
|
|
|
|
|
2003-12-02 05:08 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws>
|
|
* tipencoder.prg
|
|
! fixes to initialization (DO CASE brought some trouble,
|
|
changed with an IF)
|
|
|
|
+ tipmail.prg
|
|
+ Added full MIME w/multipart support!
|
|
|
|
* tests/Makefile
|
|
+ tests/Makefile.testmail
|
|
+ tests/testmail.prg
|
|
+ Added tests for mail parsing
|
|
+ tests/Makefile.testmmail
|
|
+ tests/testmmail.prg
|
|
+ Added tests for mail composing
|
|
|
|
2003-12-01 01:23 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws>
|
|
* tipencoderbase64.prg
|
|
* retouches
|
|
+ tipencoderqp.prg
|
|
+ Added quoted-printable encoder
|
|
+ tipencoderurl.prg
|
|
+ Added URL encode TIP encoder.
|
|
- tiputils.prg
|
|
- Removed useless IP_UrlEncode, as they are added (in pure
|
|
C) in Tip encoder; TIPEncoderURL_* can be used as static
|
|
methods to access the IP_URLEncode features.
|
|
+ tiputils.c
|
|
+ Added support for RFC822 timestamp
|
|
|
|
* Makefile
|
|
* Rules.make
|
|
+ Added capability to compile C files
|
|
|
|
|
|
* tests/Makefile
|
|
+ tests/Makefile.makefile
|
|
+ Added support for testtime
|
|
|
|
* tests/testtime.prg
|
|
|
|
* tests/base64test.prg
|
|
+ Added test for quoted printable encoding/decoding.
|
|
|
|
2003-11-30 15:37 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws>
|
|
+ tipencoder.prg
|
|
+ tipencoderbase64.prg
|
|
+ Added basic encoder system classes. More encoders incoming...
|
|
|
|
* tests/Makefile
|
|
+ tests/Makefile.base64test
|
|
+ tests/base64test.prg
|
|
+ tests for encoders.
|
|
|
|
2003-11-29 04:23 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws>
|
|
* tipclienthttp.prg
|
|
+ Added field ::cUserAgent to mimic various User-Agents
|
|
+ Added automatic cookie setting (and eventually re-sending) in
|
|
field ::hCookie
|
|
+ Added custom request header fields in ::hFields
|
|
* NOTE: Probably this name will change.
|
|
|
|
2003-11-29 00:59 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws>
|
|
* tipclienthttp.prg
|
|
+ Added fields ::nReplyCode and ::cReplyDesc for easier
|
|
access to HTTP reply codes.
|
|
|
|
2003-11-22 18:13 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws>
|
|
* contrib/tip/tipclient.prg
|
|
* contrib/tip/tipclientftp.prg
|
|
- Removed useless InetDestroy
|
|
|
|
2003-11-22 18:13 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws>
|
|
* tipclienthttp.prg
|
|
+ added hHeaders hash field to the class; it stores the returned
|
|
http fields in a hash.
|
|
|
|
* tests/Makefile
|
|
+ tests/Makefile.httpadvclient
|
|
+ tests/httpadvclient.prg
|
|
+ Added a test for this feature.
|
|
|
|
2003-11-20 18:13 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws>
|
|
* tests/ftpadvclient.prg
|
|
! Better compliancy for FTP protocol: now CWD is done before dele.
|
|
|
|
2003-11-20 16:51 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws>
|
|
* tipclient.prg
|
|
! in ReadToFile(), check must be done for logical false on return from
|
|
read.
|
|
|
|
* tipclientftp.prg
|
|
! removed a debug test.
|
|
|
|
* tests/Makefile
|
|
+ added 'clean' target
|
|
|
|
2003-11-20 16:27 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws>
|
|
* tipclient.prg
|
|
! fixed a misplaced return on line 192
|
|
! If the connection is not working, destination file is not created
|
|
in ReadToFile() method.
|
|
|
|
2003-11-14 13:01 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws>
|
|
* Rules.make
|
|
! fixed libraries
|
|
|
|
* tipclientftp
|
|
! Added DELE command support
|
|
|
|
+ tests/Makefile
|
|
+ tests/Makefile.tiptest
|
|
+ tests/Makefile.ftpadvtest
|
|
+ tests/ftpadvtest.prg
|
|
+ Added test for DELE
|
|
|
|
2003-11-05 12:10 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws>
|
|
* Rules.make
|
|
! default GT changed to gtcrs
|
|
+ added new libraries
|
|
|
|
* tipclient.prg
|
|
* tipclientftp.prg
|
|
* tipclientpop.prg
|
|
* tipclientsmtp.prg
|
|
! Access to function InetCRLF has been changed to TipClient::cCRLF
|
|
|
|
* tipclienthttp.prg
|
|
! Checking for error while receiving HTTP header
|
|
|
|
2003-09-15 12:30 UTC-0500 Paul Tucker <ptucker@sympatico.ca>
|
|
* makefile.bc
|
|
* makefile.vc
|
|
* make_b32.bat
|
|
* make_vc.bat
|
|
* standardised on file locations, etc.
|
|
|
|
2003-07-13 15:00 UTC+0200 Giancarlo Niccolai <gian@niccolai.ws>
|
|
* tipclientsmtp.prg
|
|
! Data() was not asking a getok() in its return, causing a
|
|
possible misunderstanding if more than an email is sent.
|
|
Fixed.
|
|
|
|
2003-06-22 06:42 UTC+0200 Giancarlo Niccolai <gian@niccolai.ws>
|
|
* tipclientftp.prg
|
|
! Write() implementation of this client was returining a
|
|
logical instead of a number. Fixed
|
|
|
|
* tests/tiptest.prg
|
|
* Timeout set to 20 seconds
|
|
|
|
|
|
2003-06-15 02:40 UTC+0200 Giancarlo Niccolai <gian@niccolai.ws>
|
|
* tipurl.prg
|
|
! Fixed an error in rebuilding address once it is splitted up, when
|
|
referencing http queries ("?" paths)
|
|
|
|
* Makefile
|
|
* Rules.make
|
|
* tests/Makefile
|
|
! Updated linux makefiles to more modern settings
|
|
|
|
|
|
2003-03-23 15:02 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws>
|
|
+ encoding/base64.c
|
|
+ encoding/base64.h
|
|
+ encoding/uuencode.c
|
|
+ encoding/uuencode.h
|
|
Added this files for future integration in TIPS.
|
|
(Thanks to LUIZ CULIK)
|
|
|
|
2003-02-22 22:25 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws>
|
|
* makefile.bc
|
|
* make_b32
|
|
+ tests/bldtest
|
|
+ tests/makefile.bc
|
|
* Updated (now working with bcc)
|
|
|
|
* tipclienthttp.prg
|
|
! Compilation warning removed
|
|
|
|
|
|
2003-02-22 17:45 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws>
|
|
* INITIAL RELEASE
|