From 6fb0c1b07da2502621bd4a88da8ccf4f78747484 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Mon, 10 Aug 2009 00:11:54 +0000 Subject: [PATCH] missed to paste back ChangeLog entry 2009-08-10 02:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbtip/sessid.prg * contrib/hbtip/cgi.prg * contrib/hbtip/encoder.prg * contrib/hbtip/mail.prg * contrib/hbtip/sendmail.prg * contrib/hbtip/httpcli.prg * contrib/hbtip/smtpcli.prg * contrib/hbtip/client.prg * contrib/hbtip/ftpcli.prg * contrib/hbtip/popcli.prg + Added TIP_SSL() function to return whether SSL functionality is available or not. % Deleted unnecessary tip.ch header inclusions. + Added TIPCLIENT():INETTIMEOUT() method to set / refresh timeout. % Direct hb_inetTimeout() calls either optimized out (after ::super:open()), or replaced by ::hb_inetTimeout() calls. ! Fixed to also accept pop3s where pops is accepted. + TIPCLIENTPOP() will set default port to 995 in pop3s mode. + TIPCLIENTSMTP() will set default port to 465 in smtps mode. + TIPCLIENTHTTP() will set default port to 443 in https mode. + Some steps towards SMTP STARTTLS authentication. ! Uncommented setting "Content-Length" in TIPMAIL:SETBODY(). gmail rejects attachment without it. It's also needed for internal consistency as TIPMAIL:NEW() sets this data. ! HB_SENDMAIL() fixed to use HB_MEMOREAD() to read attachment. ! HB_SENDMAIL() fixed to load the attachment if it was passed as a content/name pair array. Handling all combinations now. * HB_SENDMAIL() changed to not exit on the first invalid attachment specification, but simply ignore these. Feels more natural that way, but the old behaviour can be restored if there was a reason for it which overlooked. * Formatting. ; TOFIX: hbtip currently has two different facilities to find out the MIME type of a given extension: TIP_FILEMIMETYPE() and HB_SETMIMETYPE(). First one also looks into the content while the second one has a much more extensive extension based detection. There is also a 3rd and separate function which aims to detect whether a type is binary or text. This isn't very efficient this way, unless there is some reasoning behing current logic. * contrib/hbtip/log.prg ! Fixed to reset internal file handle to empty value on close. * contrib/hbssl/sslctx.c ! Added !OPENSSL_NO_STDIO guard for functions where it applies(). + Added SSL_CTX_LOAD_VERIFY_LOCATIONS(). * config/global.cf ! Deleted two debug lines from prev commit. --- harbour/ChangeLog | 54 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 53 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 4daf3434c7..8014e77ec0 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,12 +17,64 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-08-10 02:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * contrib/hbtip/sessid.prg + * contrib/hbtip/cgi.prg + * contrib/hbtip/encoder.prg + * contrib/hbtip/mail.prg + * contrib/hbtip/sendmail.prg + * contrib/hbtip/httpcli.prg + * contrib/hbtip/smtpcli.prg + * contrib/hbtip/client.prg + * contrib/hbtip/ftpcli.prg + * contrib/hbtip/popcli.prg + + Added TIP_SSL() function to return whether SSL functionality is available + or not. + % Deleted unnecessary tip.ch header inclusions. + + Added TIPCLIENT():INETTIMEOUT() method to set / refresh timeout. + % Direct hb_inetTimeout() calls either optimized out (after ::super:open()), + or replaced by ::hb_inetTimeout() calls. + ! Fixed to also accept pop3s where pops is accepted. + + TIPCLIENTPOP() will set default port to 995 in pop3s mode. + + TIPCLIENTSMTP() will set default port to 465 in smtps mode. + + TIPCLIENTHTTP() will set default port to 443 in https mode. + + Some steps towards SMTP STARTTLS authentication. + ! Uncommented setting "Content-Length" in TIPMAIL:SETBODY(). + gmail rejects attachment without it. It's also needed for internal + consistency as TIPMAIL:NEW() sets this data. + ! HB_SENDMAIL() fixed to use HB_MEMOREAD() to read attachment. + ! HB_SENDMAIL() fixed to load the attachment if it was passed + as a content/name pair array. Handling all combinations now. + * HB_SENDMAIL() changed to not exit on the first invalid attachment + specification, but simply ignore these. Feels more natural that way, + but the old behaviour can be restored if there was a reason for it + which overlooked. + * Formatting. + ; TOFIX: hbtip currently has two different facilities to find out the + MIME type of a given extension: TIP_FILEMIMETYPE() and + HB_SETMIMETYPE(). First one also looks into the content while + the second one has a much more extensive extension based + detection. There is also a 3rd and separate function which + aims to detect whether a type is binary or text. This isn't + very efficient this way, unless there is some reasoning + behing current logic. + + * contrib/hbtip/log.prg + ! Fixed to reset internal file handle to empty value on close. + + * contrib/hbssl/sslctx.c + ! Added !OPENSSL_NO_STDIO guard for functions where it applies(). + + Added SSL_CTX_LOAD_VERIFY_LOCATIONS(). + + * config/global.cf + ! Deleted two debug lines from prev commit. + 2009-08-09 26:15 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_slots.cpp * contrib/hbxbp/xbpbrowse.prg + Implemented XbpColumn():type == XBPCOL_TYPE_ICONFILE. Now any image can be viewed as an icon in a column object of XbpBrowse() - + * contrib/hbxbp/tests/demoxbp.prg ! Updated to demonstrate XbpColumn():type == XBPCOL_TYPE_ICONFILE functionality.