HbTIP correções.
Enviado: 01 Jul 2014 15:29
Ola!
Na versão do Viktor (fork) ele fez várias correções.
Saudações,
Itamar M. Lins Jr.
Na versão do Viktor (fork) ele fez várias correções.
Código: Selecionar todos
2014-07-01 01:14 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com)
* contrib/hbtip/mailassy.prg
! tip_MailAssemble() will now fall back to 'application/octet-stream'
MIME-type instead of 'test/plain' for unknown attachment types
* minor cleanups
2014-06-30 17:27 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com)
* contrib/hbtip/tests/http_cli.prg
% minor
2014-06-30 17:19 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com)
* contrib/hbtip/client.prg
! TIPClient():ReadHTTPProxyResponse() fixed to avoid
infinite loop if there is an ::inetRecv() failure
+ TIPClient():SetProxy() will now accept a TUrl() object
as the first parameter
! TIPClient():SetProxy() fixed to not accept invalid
parameter types
* contrib/hbtip/tests/http_cli.prg
% pass TUrl object to :SetProxy()
* contrib/hbtip/thtml.ch
* formatting
2014-06-30 11:16 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com)
* contrib/hbtip/client.prg
* contrib/hbtip/thtml.prg
* contrib/hbtip/url.prg
% minor optimizations
* cleanups
* TIPClientFTP():TransferStart() fixed to honor buffer size
settings in active mode (was: hard-wired 64kB)
* TIPClientFTP():TransferStart() use ::inet*() methods instead
of direct hb_inet*() calls to set buffer sizes
* TIPClientFTP():TransferStart() fixed (I hope) to return
.F. instead of .T. when hb_inetConnectIP() call fails in
passive mode.
* contrib/hbtip/tests/*
* cleanups, formatting
+ ftp_dl.prg to support downloading multiple files
2014-06-29 13:54 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com)
- contrib/hbtip/tests/test.prg
* contrib/hbtip/tests/*.prg
* contrib/hbtip/tests/httpcli.prg -> contrib/hbtip/tests/http_cli.prg
* contrib/hbtip/tests/loadhtml.prg -> contrib/hbtip/tests/http_qry.prg
* contrib/hbtip/tests/httpadv.prg -> contrib/hbtip/tests/http_adv.prg
* various cleanups and optimizations
2014-06-29 13:38 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com)
* contrib/hbtip/tests/ftp_adv.prg
+ set date format
* contrib/hbtip/tests/tipmail.prg
! typo in d39c6c1b7cfddaa941d90c92990a32a1785f913f
! do not use FError() to check for MemoRead() success
2014-06-29 13:23 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com)
* contrib/hbtip/ftpcli.prg
% various optimizations and minor cleanups
! fixed to protect the global STATIC with a mutex
(it was not critical in most cases, but anyway)
* contrib/hbtip/tests/dnldftp.prg -> contrib/hbtip/tests/ftp_dl.prg
* contrib/hbtip/tests/ftpadv.prg -> contrib/hbtip/tests/ftp_adv.prg
* contrib/hbtip/tests/upld_ftp.prg -> contrib/hbtip/tests/ftp_ul.prg
* renamed
+ updated to accept URL from the cmdline as 1st argument
+ ftp_adv.prg now includes a file listing test
* contrib/hbtip/tests/base64.prg
% use FOR EACH
! fixed to not change case of passed filename
* contrib/hbtip/tests/tipmmail.prg
% use SWITCH
! use hb_MemoRead() for attachment
2014-06-29 03:49 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com)
* contrib/hbtip/*.prg
* copyright header consolidation/cleanup
2014-06-29 03:44 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com)
* contrib/hbtip/ftpcli.prg
* sorted methods
2014-06-29 03:39 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com)
* contrib/hbtip/client.prg
* formatting
* contrib/hbtip/ftpcli.prg
* cleanups
* merged/cleaned copyright header
* contrib/hbtip/httpcli.prg
* contrib/hbtip/thtml.prg
% use hb_defaultValue()
2014-06-29 02:47 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com)
* contrib/hbtip/ftpcli.prg
* TIPClientFTP():ReadAuxPort() deleted <cLocalFile> parameter.
It was added in xhb repo @ r6065 with the goal to
support file downloads via :Retr(). Much of the
commit was deleted after implementing :DownloadFile(), but
this parameter was left there by mistake @ r7968.
[INCOMPATIBLE]
% TIPClientFTP():ReadAuxPort() optimized
% TIPClientFTP():ReadAuxPort() fixed for UNICODE by using hb_BLen()
instead of Len()
* contrib/hbtip/httpcli.prg
! TIPClientHTTP():PostByVerb(), TIPClientHTTP():PostMultiPart() fixed
for UNICODE. It is now passing byte length in 'Content-Length:'
header instead of number of characters
2014-06-29 02:04 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com)
* contrib/hbtip/ftpcli.prg
! TIPClientFTP():ReadAuxPort() fixed to not leak a file handle
when called with a string parameter and the call fails
returning NIL.
2014-06-28 23:54 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com)
* contrib/hbtip/ftpcli.prg
* TIPClientFTP():MPUT() changed to return NIL instead of 0 in case
of wrong parameter type [INCOMPATIBLE]
(this way the method returns NIL/string types only)
* TIPClientFTP():MGET() changed to return NIL instead of .F. if
passive mode is requested but not available [INCOMPATIBLE]
(this way the method returns NIL/string types only)
! TIPClientFTP():MGET() fixed regression from 122195bd747a7c4832bf5b7c7b4da076850dd014
where an RTE could occur in case of error
(instead of returning NIL)
* TIPClientFTP():ReadAuxPort() changed to return a string
when the <cLocalFile> parameter is passed.
Previously it returned .T. [INCOMPATIBLE]
(this way the method returns NIL/string types only)
* TIPClientFTP():UserCommand() added two QUESTIONs about its parameters
% minor optimizations
* contrib/hbtip/popcli.prg
% TIPClientPOP():Read() optimized and comments added
* extras/rddado/adordd.prg
! protect internal variables from unitialized values
or assigment of wrong types
% use SWITCH
* do not pass 3rd param as reference to ADO_ORDINFO(), it's unnecessary
* marked params expected by reference
* config/detect.mk
* config/detfun.mk
! typo
* extras/rddado/adordd.ch
* formatting
2014-06-28 15:12 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com)
* contrib/hbtip/thtml.prg
% tip_StrToHTML(), tip_HTMLToStr() (and legacy conversions)
optimized to use hb_StrReplace() and reduced initialization code
! tip_StrToHTML() fix for potential problem where accented
chars were wrongly translated to HTML markup when using
an 8-bit CP. Solved by moving special chars to the bottom
of the match list. (might still not be perfect though for
all 8-bit CPs - recommended is to use Unicode VM CP)
2014-06-28 13:57 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com)
* contrib/hbtip/thtml.prg
! tip_StrToHtml(): fixed missing UTF8 conversion in last pass
* extras/hbvpdf/core.prg
% optimizations
* cleanups
* extras/hbvpdf/hbvpdf.hbc
+ added description
Itamar M. Lins Jr.