HbTIP correções.

Projeto [x]Harbour - Compilador de código aberto compatível com o Clipper.

Moderador: Moderadores

Avatar do usuário
Itamar M. Lins Jr.
Administrador
Administrador
Mensagens: 7929
Registrado em: 30 Mai 2007 11:31
Localização: Ilheus Bahia
Curtiu: 1 vez

HbTIP correções.

Mensagem por Itamar M. Lins Jr. »

Ola!
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

Saudações,
Itamar M. Lins Jr.
Saudações,
Itamar M. Lins Jr.
Avatar do usuário
JoséQuintas
Administrador
Administrador
Mensagens: 20267
Registrado em: 26 Fev 2007 11:59
Localização: São Paulo-SP

HbTIP correções.

Mensagem por JoséQuintas »

a versão do Viktor tá meio incompatível com a oficial, tem que tomar cuidado no caso de juntar as duas.

Achei esquisito nesse log o test/plain, acho que seria text/plain.
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"

https://github.com/JoseQuintas/
Avatar do usuário
Itamar M. Lins Jr.
Administrador
Administrador
Mensagens: 7929
Registrado em: 30 Mai 2007 11:31
Localização: Ilheus Bahia
Curtiu: 1 vez

HbTIP correções.

Mensagem por Itamar M. Lins Jr. »

Continua incompatível depois que o Przmek juntou quase tudo entre as duas ?
Mas a proposta é essa mesmo, o ViKtor disse que existem vários "freios" por causa dos projetos FiveWin, Xailer, ADS, etc..,. porque eles não podem simplesmente mudar uma coisa(melhorar) a questão da compatibilidade com esses projetos.

Código: Selecionar todos

2014-06-26 18:42 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
  * contrib/hbwin/olecore.c
    + added some additional error codes to win_oleErrorText() function

  * contrib/hbwin/hbole.ch
    + added OLE error code definitions with WIN_* prefix for errors returned
      by win_oleErrorText()

  * contrib/xhb/xhb.hbx
  * contrib/xhb/xhbole.prg
    + aded new function OleDefaultArg()
    % minor simplification

  * src/rtl/itemseri.c
    * do not generate RTE when wrong string is deserialized.
      Now RTE 3016 is generated only when compressed data is deserialized
      and ZLIB is not linked with final binaries so users can easy locate
      the source of problem.

  * src/vm/garbage.c
    % added missing static in s_gcSpinLock declaration

  * src/rtl/hbi18n1.c
    * typo in comment

  * src/rdd/dbf1.c
  * src/rdd/dbffpt/dbffpt1.c
  * src/rdd/dbsql.c
    * formatting

  * src/rdd/usrrdd/rdds/logrdd.prg
  * src/rdd/usrrdd/usrrdd.c
  * src/rtl/checkbox.prg
  * src/rtl/getsys.prg
  * src/rtl/listbox.prg
  * src/rtl/menuto.prg
  * src/rtl/pushbtn.prg
  * src/rtl/radiobtn.prg
  * src/rtl/radiogrp.prg
  * src/rtl/scrollbr.prg
  * src/rtl/tbrowse.prg
  * src/rtl/tget.prg
  * src/rtl/tgetint.prg
  * src/rtl/tgetlist.prg
  * src/rtl/tmenuitm.prg
  * src/rtl/errapi.c
  * src/rtl/hbgtcore.c
  * src/rtl/hbi18n1.c
  * src/rtl/hbinet.c
  * src/rtl/idle.c
  * src/rtl/math.c
  * src/rtl/setkey.c
  * src/vm/asort.c
  * src/vm/hashfunc.c
  * src/vm/thread.c
    * accept any EVAL item not only codeblocks. Actually it means that
      also SYMBOL items are accepted but in the future we may extend it
      and accept also objects of classes with :eval() message.

  * src/rtl/tget.prg
    ! fixed GET default PICTURE for TIMESTAMP type
      fixes https://github.com/harbour/core/issues/65
      2014-05-11 00:05 UTC+0200 Viktor Szakats
    ! fixed GET colors when _SET_INTENSITY == .F.
      2014-04-22 02:35 UTC+0200 Viktor Szakats
    % use Stuff() instead of different combinations of Left() and SubStr()

  * include/harbour.hbx
  * src/rtl/left.c
    + added new function to replace "=" operator without the SET EXACT ambiguity
      in its most common pattern of usage:
         hb_LeftEq( <cString1>, <cString2> ) -> <lResult>
      it's equivalent to this expression, but faster and shorter:
         ( Left( <cString1>, Len( <cString2> ) ) == <cString2> )
      2014-01-22 03:09 UTC+0100 Viktor Szakáts
    + added hb_LeftEqI(). Same as hb_LeftEq() but case-insensitive.
         hb_LeftEqI( <cString1>, <cString2> ) -> <lResult>
      2014-02-04 13:38 UTC+0100 Viktor Szakáts

  * include/harbour.hbx
  * src/rtl/chruni.c
    + added hb_BRAt(). Same as hb_RAt() but for raw/binary strings
      2014-06-25 19:54 UTC+0200 Viktor Szakats

  * contrib/sddsqlt3/core.c
    ! fixed missing first record of query
      2013-11-08 21:43 UTC+0100 Viktor Szakats

  ; many of above modification was borrowed directly or try to follow some
    changes in Viktor's branch - thanks.

best regards
Przemek
Saudações,
Itamar M. Lins Jr.
Saudações,
Itamar M. Lins Jr.
Responder