summaryrefslogtreecommitdiffstats
path: root/library
Commit message (Collapse)AuthorAgeFilesLines
...
* 2000-03-22 Sandeep Tamhankar <sandeep@scriptics.com>sandeep2000-03-223-6/+9
| | | | | | * library/http2.1/http.tcl: Fixed a bug where string query data that was bigger than queryblocksize would get duplicate characters at block boundaries.
* 2000-03-22 Sandeep Tamhankar <sandeep@scriptics.com>sandeep2000-03-223-6/+9
| | | | | | | | | | * 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.
* 2000-03-19 Sandeep Tamhankar <sandeep@scriptics.com>scriptics_sc_2_0_b1sandeep2000-03-193-15/+30
| | | | | | | | * 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).
* * library/http2.1/http.tcl: Added -querychannel option and alteredsandeep2000-03-193-198/+294
| | | | | | | | | | | | | | | | | | | | | | 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).
* updated package index file to use version 2.3 instead of 2.2.hershey2000-03-183-3/+3
|
* Added -queryprogress callback towelch2000-03-173-12/+270
| | | | | | | | 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.
* * library/package.tcl: Applied patch from Bug: 2570; rather thanericm2000-03-061-4/+5
| | | | | | | 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.
* * library/package.tcl (tclPkgUnknown): extended to allowhobbs2000-03-031-12/+33
| | | | | recognizes changes in the auto_path while sourcing in other pkgIndex.tcl files
* * library/tcltest1.0/tcltest.tcl: correctly protected searchDirectoryhobbs2000-02-082-12/+12
| | | | list to allow dirnames with spaces
* * doc/library.n:hobbs2000-02-081-3/+3
| | | | * library/auto.tcl: fixed crufty puts code and docs [Bug: 4122]
* * tests/package.test:ericm2000-02-072-7/+7
| | | | | * library/tclIndex: * library/package.tcl: Renamed ::package namespace to ::pkg.
* Removing struct namespace stuff.ericm2000-02-074-534/+0
|
* * doc/tree.n:ericm2000-02-054-0/+534
| | | | | | | | | | | | | | | | | | | * 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
* * library/init.tcl: Applied patch from rfe 1734 regardingericm2000-02-011-3/+3
| | | | auto_load errors not setting error message and errorInfo properly.
* * library/http1.0/http.tcl:hobbs2000-02-014-8/+8
| | | | | * library/http2.1/http.tcl: The query data POSTed was newline terminated when it shouldn't be altered [Bug: 4089]
* * tests/package.test:ericm2000-02-014-37/+168
| | | | | | | | | | | | | | | | | * 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/pkg/magicchar2.tcl:ericm2000-01-291-3/+9
| | | | | | | | | * 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/pkg/spacename.tcl:ericm2000-01-281-2/+3
| | | | | | | * 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/pkg/magicchar.tcl:ericm2000-01-281-3/+6
| | | | | | | | | * 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).
* * tests/autoMkindex.test:ericm2000-01-281-3/+12
| | | | | | * library/auto.tcl: Applied patch (with slight modification) from bug #2701: auto_mkIndex uses platform dependent file paths. Added test for fix.
* * library/tcltest1.0/tcltest.tcl: Changed NormalizePath tojenn2000-01-274-14/+16
| | | | | | | | 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/pkg/samename.tcl: test file for bug #1983ericm2000-01-271-25/+25
| | | | | | | | * 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).
* * tests/pkgMkIndex.test:ericm2000-01-271-33/+43
| | | | | | | | * 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.
* * library/init.tcl (auto_execok): added 'start' to list ofhobbs2000-01-241-3/+9
| | | | recognized built-in commands for COMSPEC on NT. [Bug: 2858]
* * library/word.tcl: changed tcl_(non)wordchars settings to usehobbs2000-01-211-7/+7
| | | | new unicode regexp char class escapes instead of char sequences
* * library/http2.1/http.tcl: trim value for $state(meta) keyhobbs2000-01-113-6/+6
|
* * library/http2.1/http.tcl: fixed error handling in http::Eventhobbs1999-12-043-12/+9
| | | | [Bug: 3752]
* * library/dde1.1/pkgIndex.tcl:hobbs1999-11-304-4/+24
| | | | | * library/reg1.0/pkgIndex.tcl: added supported for debugged versions of the libraries
* Changed version number on dllswart1999-11-244-4/+4
|
* * library/tcltest1.0/tcltest.tcl: Fixed bug where tcltest outputstanton1999-11-232-4/+6
| | | | | went to stdout instead of the specified output file in some cases.
* *** empty log message ***hobbs1999-11-193-6/+6
|
* * library/http2.1/http.tcl:hobbs1999-11-196-9/+9
| | | | * library/http2.1/pkgIndex.tcl: updated http package to 2.2
* * library/http2.1/http.tcl: added register and unregisterhobbs1999-11-193-27/+183
| | | | | commands to http:: package (better support for tls/SSL), as well as -type argument to http::geturl. [RFE: 2617]
* Improved error handling of http::geturl in the case the server iswelch1999-11-183-102/+402
| | | | | not available. Also correctly fixed the bug between -timeout and a subsequent http::status call.
* *** empty log message ***hobbs1999-11-103-6/+6
|
* * library/init.tcl: removed the installed binary directory fromhobbs1999-11-101-7/+5
| | | | the auto_path variable
* Changed references to the README to references to the man page for tcltest.jenn1999-11-042-6/+6
|
* Fixed bug in the handling of the status code after an asynchronous connect,welch1999-10-303-9/+6
| | | | e.g., one that is used with the -timeout flag.
* * library/tcltest1.0/tcltest.tcl: updated makeFile to returnhobbs1999-10-292-12/+10
| | | | full pathname of file created
* Changed update to 'after 1' to cause a true sleep in the currenthobbs1999-10-214-6/+12
| | | | thread, avoiding numerous superfluous thread send calls.
* * library/http2.1/http.tcl: protected gets with catch [Bug: 2665]hobbs1999-10-213-6/+12
|
* Merged code from core-8-2-1 branch that changes the checks for thejenn1999-10-202-8/+16
| | | | | value of tcl_interactive to also incorporate a check for the existence of the variable.
* * tests/tcltest.test:jenn1999-10-192-238/+648
| | | | | | | | | | | * 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]
* * library/tcltest1.0/pkgIndex.tcl: fixed procs in pkgIndex.tcl filehobbs1999-10-132-12/+10
|
* * library/http2.1/http.tcl: fixed possible use of global c var.hobbs1999-10-053-12/+9
|
* * library/init.tcl: updated to 8.3a1 from 8.2.0.hobbs1999-10-051-2/+2
|
* * library/tcltest1.0/tcltest.tcl: Applied patches sent in byjenn1999-09-212-44/+66
| | | | | | 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]
* Process command-line arguments only ::tcltest doesn't have ajenn1999-09-012-4/+8
| | | | | child namespace (requires that command-line args are processed in that namespace)
* * library/tcltest1.0/tcltest.tcl:jenn1999-08-312-6/+2
| | | | | | | * 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.
* * library/tcltest1.0/tcltest.tcl: Modified tcltest so thatjenn1999-08-272-92/+210
| | | | | variables are only initialized to their default values if they did not previously exist.