File: changes

package info (click to toggle)
tclcurl 0.9.5-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 764 kB
  • ctags: 222
  • sloc: ansic: 1,804; tcl: 712; sh: 212; makefile: 42
file content (237 lines) | stat: -rw-r--r-- 8,651 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
Version 0.9.5 released 01-April-2002

    * I have adapted the configure scripts to the new TEA scripts released by
      Jeff Hobbs, for example, now it will compile 'out of the box' for freeBSD
      systems (well, you may need to use '--with-curlprefix' and 'with-curlinclude')

    * New configure option:

        * prequote: use it to pass a list of ftp commands to execute *just before*
          the transfer.

    * New getinfo option:

        * contenttype: if the servers bothers to tell you, this will return the type
          of the downloadad object.

    * Bug fix: 'curl::transfer' will return '0' if the transfer was successful.
				*** POTENTIAL INCOMPATIBILITY ***


Version 0.9.3 released 29-Jan-2002

    * Bug fix: There should no more seg faults because of trailing options
      in configure commands.

    * Bug fix: Binary transfer weren't done right in Windows, thanks to 
      Peter Waltenberg and Darren Blee for the report.

    * TclCurl now supports OpenSSL engines, which allow you to keep your private
      key stored in external hardware.

      In order to manage this there are a few new configure options:

        * sslcerttype: Set SSL cert type (PEM/DER).

        * sslkey: Set SSL private key (file).

        * sslkeytype: Set SSL key type (PEM/DER/ENG).

        * sslkeypasswd: Set the passphrase for your private key.

        * sslengine: Set the name of the crypto engine.

        * sslenginedefault: Set the default engine.

    *  You can now add a set of headers for a particular part in a 
       multipart/form-post using the 'contentheader' option.

    *  It is now possible to execute commands in ftp servers without
       transfering files, you have to set 'nobody' to '1' and 'header' to
       '0'.

Version 0.9.2 released 10-Dec-2001

    * A port to Windows, using Mingw over a Cygwin environment.

    * The 'perform' command now returns the exit code form 'curl_easy_perform'

    * New configure option:

        * ftpuseepvs: Set to one to tell TclCurl to use the EPSV command when
          doing passive FTP downloads (which is always does by default). Using
          EPSV means that it will first attempt to use EPSV before using PASV,
          but if you pass a zero to this option, it will not try using EPSV,
          only plain PASV.

    * Changed configure option:

        * httpversion: Set to one of the values decribed below, they force TclCurl
          to use the specific http versions. It should only be used if you really
          MUST do that because of a silly remote server.
            * none: We don't care about what version the library uses.
              TclCurl will use whatever it thinks fit.
            * 1.0: Enforce HTTP 1.0 requests.
            * 1.1: Enforce HTTP 1.1 requests.

    * The 'configure' command will now also return the value given for the invalid option.

Version 0.9 released 05-Nov-2001

    * New command: 'curlHandle duphandle', returns a new curl handle
      that duplicates the original one.

    * New configure options:

        * cookiejar: Pass a file name in which TclCurl will dump all
          internally known cookies when 'cleanup' is called. If no
          cookies are known, no file will be created. Specify "-" to
          have the cookies written to stdout.

        * sslcipherlist: Pass a string holding the list of ciphers to
          use for the SSL connection. The list must be syntactly correct,
          it consists of one or more cipher strings separated by colons.
          Commas or spaces are also acceptable separators but colons are
          normally used, , - and + can be used as operators. Valid
          examples of cipher lists include 'RC4-SHA', 'SHA1+DES', 'TLSv1'
          and 'DEFAULT'. The default list is normally set when you compile
          OpenSSL.

          You will find more details about cipher lists on this URL:
          http://www.openssl.org/docs/apps/ciphers.html

        * httpversion: Use this options to request TclCurl to use HTTP 1.0
          requests instead of the default version (1.1). It should only be
          used if you really MUST do that because of a silly remote server.

    * Changed configure options:

        * The 'http' option to set the data for a POST, has now a different
          syntax, check the docs for details. ** POTENCIAL INCOMPATIBILITY **

        * The 'failonerror' option, no longer returns an error if the HTTP
          return code is below 400. ** POTENCIAL INCOMPATIBILITY **

        * Changed the options to the 'timecondition' configure option to lower
          case. ** POTENCIAL INCOMPATIBILITY **

        * Changed the options to the 'closepolicy' configure option to lower
          case. ** POTENCIAL INCOMPATIBILITY **

    * Misc

        * The makefile will now change 'init.tcl' so that the directory where
          TclCurl is going to be installed will be included in the 'auto_path'
          variable.

        * libcurl, and therefore TclCurl too, now closes connections that
          report transfer failures.


Version 0.8.0 released

    * New command: 'curl::transfer' it takes the same arguments as
      'curl::configure' and takes care of all the transfer details,
      so, for example, instead of doing:

            set curlHandle [curl::init]
            $curlHandle configure -url http://curl.haxx.se -file index.html
            $curlHandle perform
            $curlHandle cleanup

      You can now simply do:

            curl::transfer -url http://curl.haxx.se -file index.html

      This command is limited as you can't use it if you want persistant
      connetions and you can't use the 'getinfo' command with the
      transfer.


    * New configure options:

        * writeproc
               Use it to set a Tcl procedure that will be invoked by
               TclCurl as soon as there is received data that needs
               to be written down.

        * readproc
               Sets a Tcl procedure to be called by TclCurl as soon as
               it needs to read data in order to send it to the peer.

        * httpget
               If set to non-zero forces the HTTP  request to get back
               to GET. Only really usable if POST, PUT or a custom request
               have  been used previously with the same curl handle.
        * sslverifyhost
               Set to non-zero if we should verify the Common name from the
               peer certificate in the SSL hand´┐Żshake, set 1 to check
               existence, 2 to ensure that it matches the provided hostname.

    * Bug fix:

        * Using TclCurl to upload a file should not cause any more seg faults.


    * INCOMPATIBILITIES WITH OTHER VERSIONS

        * The options to the 'curl::configure' and 'getinfo' commands are now all
          lowercase as usual in Tcl commands.


Version 0.7.0 released

    * Added the option '-vernum' to 'curl::curlConfig' it returns
      version  information  about  the installed libcurl.

    * By default 'noProgress' will be set to '1'.

                        *** POTENTIAL INCOMPATIBILITY ***
      Your scripts may not behave the same

    * The 'mute' option no longer does anything.

                        *** POTENTIAL INCOMPATIBILITY ***
      Your scripts may not behave the same

    * Fixed the bug by which TclCurl would return two many possible options
      after using a wrong one.

    * Created the 'configure' command.

                        *** POTENTIAL INCOMPATIBILITY ***
      Even though the 'setopt' command will be supported indefinintely, some
      of the options, the ones that needed lists as parameters like HTTPPOST
      or QUOTE have changed, please look up the tests cases to for an example.

    * TclCurl will no longer install the 'tclcurl.h' file.

    * It is now possible to remove the CURLOPT_FILE, CURLOPT_INFILE and
      CURLOPT_STDERR options between transfers in a persistant connection.


Version 0.6.1 released.

    * Trying to set a HTTPPOST would provoke a seg fault.

    * Prevented segfault when saving to a file without the right permissions or
      reading for a file that does not exists.

    * Added the CURLOPT_CANCELTRANSVAR option.

    * Added the CURLOPT_PROGRESSPROC option.

    * Added the CURLOPT_BODYVAR option to put the body of a request into
      a Tcl variable.

    * Added support for the 'CURLOPT_HEADERFUNCTION' option
      through 'CURLOPT_HEADERVAR'.

    * tclcurl.tcl: Created this file to host the curl::curlConfig procedure.

    * tests/getinfo.tcl: Added the option CURLOPT_FILETIME so
      CURLINFO_FILETIME would work.


First release 0.5