| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
* library/http2.1/http.tcl: Fixed a bug where string query data
that was bigger than queryblocksize would get duplicate characters
at block boundaries.
|
|
|
|
|
|
|
|
|
|
| |
* library/http2.1/http.tcl: Fixed bug 4463, where we were getting
a stack trace if we tried to publish a project to a good host but
a port where there was no server listening. It turned out the
problem was a stray fileevent that needed to be cleared. Also,
fixed a bug where http::code could stack trace if called on a bad
token (one which didn't represent a successful geturl) by adding
an http element to the state array in geturl.
|
|
|
|
|
|
|
|
| |
* library/http2.1/http.tcl: geturl used to throw an exception when
the connection failed; I accidentally returned a token with the
error info, breaking backwards compatibility. I changed it back
to throwing an exception, but unsetting the state array first
(thus still eliminating the original memory leak problem).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
some of Brent's modifications to allow asynchronous posts (via
-command). Also modified -queryprogress so that it calls the
query callback as <callback> <token> <total size> <current size>
to be consistent with -progress. Added -queryblocksize option
with default 8192 bytes for post blocksize. Fixed a bunch of
potential memory leaks for the case when geturl receives bad args
or can't open a socket, etc. Overall, the package really rocks
now.
* doc/http.n: Added -queryblocksize, -querychannel, and
-queryprogress. Also, changed the description of -blocksize,
which states that the -progress callback will be called for each
block, to now qualify that with an "if -progress is specified".
* tests/http.test: Added a querychannel test for synchronous and
asynchronous posts, altered the queryprogress test such that the
callback conforms to the -progress format. Also, had to use the
-queryblocksize option to do the post 16K at a time to match
Brent's expected results (and to test that -queryblocksize works).
|
| |
|
|
|
|
|
|
|
|
| |
http::geturl and also changed it so that writing the post data
is event driven if the queryprogress callback or a timeout is given.
This allows a timeout to occur when writing lots of post data.
The queryprogress callback is called after each block of query
data is posted. It has the same signature as the -progress callback.
|
|
|
|
|
|
|
| |
setting geometry of slave interp to 0x0 when Tk was loaded, it now
does "wm withdraw .". Both remove the main window from the
display, but the former caused some internal structures to get
initialized to zero, which caused crashes with some extensions.
|
|
|
|
|
| |
recognizes changes in the auto_path while sourcing in other
pkgIndex.tcl files
|
|
|
|
| |
list to allow dirnames with spaces
|
|
|
|
| |
* library/auto.tcl: fixed crufty puts code and docs [Bug: 4122]
|
|
|
|
|
| |
* library/tclIndex:
* library/package.tcl: Renamed ::package namespace to ::pkg.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/stack.n:
* doc/queue.n: docs for tree, stack, and queue.
* win/Makefile.in:
* unix/Makefile.in: Added struct1.0 to list of libraries to install.
* tests/stackstruct.test: stack tests
* tests/queue.test: queue tests
* library/struct1.0/queue.tcl: queue data structure.
* library/struct1.0/stack.tcl: stack data structure.
* library/struct1.0/pkgIndex.tcl:
* library/struct1.0/struct.tcl: data structure package
|
|
|
|
| |
auto_load errors not setting error message and errorInfo properly.
|
|
|
|
|
| |
* library/http2.1/http.tcl: The query data POSTed was newline
terminated when it shouldn't be altered [Bug: 4089]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/tclIndex:
* library/package.tcl: Added ::package namespace and
::package::create function.
* library/init.tcl: Fixed problem with auto_load and determining
if commands were loaded.
* library/auto.tcl: "Fixed" issues with $ in files to be auto indexed.
* doc/Package.n: New man page for package::create function.
* doc/pkgMkIndex.n: Added additional information.
* doc/library.n: Added additional qualification regarding auto_mkindex.
|
|
|
|
|
|
|
|
|
| |
* tests/autoMkindex.test: Test for auto loader fix (bug #2480).
* library/init.tcl: auto_load was using [info commands $name] to
determine if a given command was available; if the command name
had * or [] it, this would fail because info commands uses
glob-style matching. This is fixed. (Bug #2480).
|
|
|
|
|
|
|
| |
* tests/pkgMkIndex.test: Tests for fix for bug #2360.
* library/package.tcl: Fixed to extract only the first element of
the list returned by auto_qualify (bug #2360).
|
|
|
|
|
|
|
|
|
| |
* tests/autoMkindex.test: Test for fix for bug #2611.
* library/auto.tcl: Fixed the regular expression that performs $
escaping before sourcing a file to index. It was erroneously
adding \ escapes even to $'s that were already escaped,
effectively "un-escaping" those $'s. (bug #2611).
|
|
|
|
|
|
| |
* library/auto.tcl: Applied patch (with slight modification) from
bug #2701: auto_mkIndex uses platform dependent file paths.
Added test for fix.
|
|
|
|
|
|
|
|
| |
normalizePath and exported it as a public proc. This proc
creates an absolute path given the name of the variable containing
the path to modify. The path is modified in place.
* library/tcltest1.0/pkgIndex.tcl: Added normalizePath.
* tests/all.tcl: Changed code to use normalizePath.
|
|
|
|
|
|
|
|
| |
* tests/pkgMkIndex.test:
* library/package.tcl:
Fixed bug #1983, dealing with pkg_mkIndex incorrectly handling
situations with two procs by the same name but in different
namespaces (ie, foo::baz and bar::baz).
|
|
|
|
|
|
|
|
| |
* doc/pkgMkIndex.n:
* library/package.tcl: Per rfe #4097, optimized creation of direct
load packages to bypass computing the list of commands added by
the new package. Also made direct loading the default, and added
a -lazy option.
|
|
|
|
| |
recognized built-in commands for COMSPEC on NT. [Bug: 2858]
|
|
|
|
| |
new unicode regexp char class escapes instead of char sequences
|
| |
|
|
|
|
| |
[Bug: 3752]
|
|
|
|
|
| |
* library/reg1.0/pkgIndex.tcl: added supported for debugged
versions of the libraries
|
| |
|
|
|
|
|
| |
went to stdout instead of the specified output file in some
cases.
|
| |
|
|
|
|
| |
* library/http2.1/pkgIndex.tcl: updated http package to 2.2
|
|
|
|
|
| |
commands to http:: package (better support for tls/SSL),
as well as -type argument to http::geturl. [RFE: 2617]
|
|
|
|
|
| |
not available. Also correctly fixed the bug between -timeout
and a subsequent http::status call.
|
| |
|
|
|
|
| |
the auto_path variable
|
| |
|
|
|
|
| |
e.g., one that is used with the -timeout flag.
|
|
|
|
| |
full pathname of file created
|
|
|
|
| |
thread, avoiding numerous superfluous thread send calls.
|
| |
|
|
|
|
|
| |
value of tcl_interactive to also incorporate a check for the
existence of the variable.
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/tcltest.n:
* library/tcltest1.0/tcltest.tcl: Removed the extra return at the
end of the tcltest.tcl file.
Applied patches sent in by Andreas Kupries to add helper procs for
debug output, add 3 new flags (-testsdir, -load, -loadfile), and
internally refactors common code for dealing with paths into
separate procedures. [Bug: 2838, 2842]
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Andreas Kupries to fix typos in comments and ::tcltest::grep,
fix hook redefinition problems, and change "string compare" to
"string equal." [Bug: 2836, 2837, 2839, 2840]
|
|
|
|
|
| |
child namespace (requires that command-line args are processed
in that namespace)
|
|
|
|
|
|
|
| |
* doc/tcltest.n:
* tests/README: Modified testConstraints variable so that it isn't
unset every time ::tcltest::initConstraints is called and cleaned up
documentation in the README file and the man page.
|
|
|
|
|
| |
variables are only initialized to their default values if they did
not previously exist.
|