summaryrefslogtreecommitdiffstats
path: root/library
Commit message (Collapse)AuthorAgeFilesLines
* * library/encoding/ebcdic.enc:hobbs2001-10-121-0/+19
| | | | | | | * tools/encoding/ebcdic.txt: EBCDIC charset mapping. [Patch #219323] (nijtmans) FossilOrigin-Name: 89254cdcb2c815e258d417dd5769caa28d15eb1b
* * library/encoding/tis-620.enc:hobbs2001-10-121-0/+20
| | | | | | | * tools/encoding/tis-620.txt: TIS-620 charset mapping. [Patch #467423] (poonlap) FossilOrigin-Name: 659f57273f798dbe00b5c15e652dde24095251dd
* Updated encodings with latest mappings from www.unicode.org. Thishobbs2001-10-0428-40/+160
| | | | | | | | | | did not include some Mac encodings that have special multi-unichar translations now (like symbols, dingbats and japanese). Also does not include big5, gb or euc* as those have different formats in the latest Unicode version that need new conversion tools. Not all related .enc files changed as some had been updated separately. FossilOrigin-Name: 481003c4323fa3880c7a859f054cab1ceaa73a49
* * Updated http package to version 2.4,dgp2001-09-072-4/+6
| | | | | | reflecting the new features just added. FossilOrigin-Name: e34ff11fb384a0af7151354f538797fcedc8c013
* * doc/http.n: noted -binary, charset and coding state keys.hobbs2001-09-072-32/+57
| | | | | | | | | | | | | | | * tests/http.test: * library/http/pkgIndex.tcl: * library/http/http.tcl (geturl): correctly get charset parameter and convert text according to specified encoding (if known). RFC iso8859-1 is used by default. Also recognize Content-encoding to see if we should do binary translation. Added a CYA -binary switch for the cases that were missed. [Bug #219211 #219399] * tests/ioUtil.test: changed to make better use of constraints and remove knownBug constraints that weren't valid. FossilOrigin-Name: 1a57f27ff526917fa92c58ccfc2db86e22551379
* * Backport of several bug fixes from HEAD to core-8-3-1-branchdgp2001-08-242-6/+7
| | | FossilOrigin-Name: a44fa8045154481ccf04a807289ab46f4020ff5a
* * library/http/http.tcl (geturl): added port number to Host:hobbs2001-08-211-3/+3
| | | | | | header to comply with HTTP/1.1 spec (RFC 2068). [Bug #452217] FossilOrigin-Name: 512001789d8822024d9eb48852da61ffa6397cc6
* Add package dependency checks. Upgrade packages bundled withdgp2001-08-0910-20/+31
| | | | | | Tcl 8.3.x: http 2.3.2, msgcat 1.1.1, opt 0.4.3, tcltest 1.0.1. FossilOrigin-Name: b6aa9b01039c3ba9805ea24a6b93594f0cf1fb10
* BRANCH: core-8-3-1-branchdgp2001-08-082-1923/+0
| | | | | | | Removed library/tcltest/* . The package tcltest 1.0 is distributed with Tcl 8.3.x and its files are in library/tcltest1.0 . FossilOrigin-Name: d451d9e8bbd5632051c981549fba028542e3b675
* BRANCH: core-8-3-1-branchdgp2001-08-081-7/+0
| | | | | | | | Removed library/reg/* . The index of the registry package moved to that directory in the Tcl 8.4 development. In Tcl 8.3.x releases, the registry package is in library/reg1.0 . FossilOrigin-Name: aed99aacabefc9667e881a29d01f6f8028017bfa
* BRANCH: core-8-3-1-branchdgp2001-08-082-1100/+0
| | | | | | | Removed library/opt0.4/* . The files of the opt package moved to library/opt in the Tcl 8.3.3 release. FossilOrigin-Name: 0989f0fe4f243553ece4af57b7d89d07e25f2dae
* BRANCH: core-8-3-1-branchdgp2001-08-082-202/+0
| | | | | | | Removed library/msgcat1.0/*. The msgcat package files moved to library/msgcat in the Tcl 8.3.3 release. FossilOrigin-Name: 4afa81de466ae2b21b0caa9dd5317d708337b805
* BRANCH: core-8-3-1-branchdgp2001-08-082-892/+0
| | | | | | | Removed library/http2.3/* . The http package moved to library/http in the 8.3.3 release. FossilOrigin-Name: e2ad95fa9c5470470b5ff215effb52df11944747
* BRANCH: core-8-3-1-branchdgp2001-08-081-5/+0
| | | | | | | Removed library/dde/*. They first appear in the 8.4 work. In 8.3, the dde package is in library/dde1.1 . FossilOrigin-Name: fe41b1f23e81094e0ab3628ca86b1ff111b047e1
* see backport log in ChangeLog for specific file backports from 8.4aCVShobbs2001-04-035-30/+75
| | | FossilOrigin-Name: 6defc375da7f53c897947de6051d97cbc0a30fc8
* * library/msgcat1.0/pkgIndex.tcl:hobbs2000-08-082-2/+2
| | | | | | * library/msgcat1.0/msgcat.tcl: bumped msgcat version to 1.1. FossilOrigin-Name: e8a14fc5b2b02f1de8fbb1c0d0b6da28ced2da6d
* * library/msgcat1.0/msgcat.tcl: bumped msgcat version to 1.1.hobbs2000-08-082-4/+4
| | | FossilOrigin-Name: 598d428da989c398a7b067962d5a74bf1ca289b3
* * tests/opt.test:hobbs2000-08-072-50/+34
| | | | | | | * library/opt0.4/optparse.tcl: Applied patch from [Bug: 5922], which corrected an incorrect use of [string match]. FossilOrigin-Name: 0ec8182d81222082ae348bf92a9d3173724e27ef
* * library/history.tcl: Corrected an off-by-one error in HistIndex,hobbs2000-08-071-2/+3
| | | | | | | which was causing [history redo] to start its search at the wrong event index. [Bug: 1269]. FossilOrigin-Name: 16ecf09ff855bd0815a26c08aef6bada55dcd04d
* * library/init.tcl (auto_import): added check to see if a validhobbs2000-08-071-1/+7
| | | | | | pattern was coming in, to avoid simple error cases [Bug: 3326] FossilOrigin-Name: 8fd7dc9f232e84743cd9ba739e46d47e4a77aedb
* Finished backport of mcunknown fix for 8.3.2.ericm2000-08-032-4/+4
| | | FossilOrigin-Name: dbab6ab30f168dfb8d6e1b2a02847fb1b9b4d664
* Backport of mcunknown fixes.ericm2000-08-032-6/+20
| | | FossilOrigin-Name: 58519087fcf48cf754630983f70ee4605dd43f3c
* 2000-05-29 Sandeep Tamhankar <sandeep@scriptics.com>sandeep2000-05-312-46/+80
| | | | | | | | | | | | | | | | | * tests/http.test * doc/http.n * library/http2.3/http.tcl: Fixed bug 5741, where unsuccessful geturl calls sometimes leaked memory and resources (sockets). Also, switched around some of the logic so that http::wait never throws an exception. This is because in an asynchronous geturl, the command callback will probably end up doing all the error handling anyway, and in an asynchronous situation, the user expects to check the state when the transaction completes, as opposed to being thrown an exception. For the http package, this menas the user can check http::status for "error" and http::error for the error message after doing the http::wait. FossilOrigin-Name: 43202241e22712cadcbde2871b6924ec05e74459
* moved http2.1 to http2.3hobbs2000-04-252-875/+0
| | | FossilOrigin-Name: a43b5bad069a33af8c11d17f4f44bd3afedc83cc
* 2000-04-22 Jim Ingham <jingham@cygnus.com> * library/package.tcl ↵jingham2000-04-231-2/+2
| | | | | (tclPkgUnknown): Fixed a typo in the Mac package search part of tclPkgUnknown. FossilOrigin-Name: aa5214fbab53b0c7630a6344f159f82d628fb333
* 2000-04-21 Sandeep Tamhankar <sandeep@scriptics.com>sandeep2000-04-223-27/+57
| | | | | | | | | | | | | * library/http2.1/http.tcl: Fixed a newly introduced bug where if there's a -command callback and something goes wrong, geturl threw an exception, called the callback, and unset the token. I changed it so that it will not call the callback when throwing an exception (so the caller only finds out about a given error from one place). Also, fixed http::ncode so that it actually gives you back the http return code (i.e. 200, 404, etc.) instead of the first digit of the version of HTTP being used (i.e. 1). FossilOrigin-Name: 8f0cd2d9ba92eb62fec82ddad2fe103b91ea1e67
* More thrashing with the "server closeswelch2000-04-223-42/+90
| | | | | | | | without reading post data" scenario. Reverted to the previous filevent configuratiuon, which seems to work better with small amounts of post data. FossilOrigin-Name: c0d948dc41d4367bbf71bd3140bfd06f07390442
* * library/dde1.1/pkgIndex.tcl:hobbs2000-04-204-24/+24
| | | | | | | | | | | | | * library/reg1.0/pkgIndex.tcl: * win/tclWinChan.c: * win/tclWinThrd.c: converted CRLF to LF the */tcl.hpj.in files were not converted, as it confuses hcw locally. [Bug: 5096] * win/Makefile.in: expanded cleanup or help files * doc/Thread.3: minor macro cleanup FossilOrigin-Name: c818263820a105c3b8dd72ec347d711487c57a18
* * msgcat.n: Added docs for new behavior from patch in [Bug: 4158].ericm2000-04-112-14/+50
| | | | | | | | | | | | | | | * msgcat.test: Added tests for new behavior from patch in [Bug: 4158]. * msgcat.tcl: Applied patch from [Bug: 4158], which enables msgcat::mc to search the entire namespace ancestry chain for message translations (ie, first it checks the current namespace, then the parent, then the parent's parent, etc). Also allows the specification of additional args for msgcat::mc; if extra args are given, the [format] command is used to substitute the additional args in the translated message. FossilOrigin-Name: 3991fa63bb9b3026f678ca7037d477017b0ab0a6
* Updated to work with thread extension, if presentwelch2000-04-112-6/+52
| | | FossilOrigin-Name: 78b08a48a9860f84e0854af116db5b5eb14211f3
* Adjusted file events and unified error handling.welch2000-04-093-213/+330
| | | FossilOrigin-Name: e3eb4545f02bc7e3eb72201458f90fc8304e1bf7
* * library/tcltest1.0/tcltest.tcl (initConstraints): removed win32shobbs2000-04-082-10/+2
| | | | | | references (no longer supported) FossilOrigin-Name: 4c4ac9c48f0dafc21169a55ec426356ac1f649e5
* 2000-03-29 Sandeep Tamhankar <sandeep@scriptics.com>sandeep2000-04-053-6/+6
| | | | | | | | | | | | * library/http2.1/http.tcl: For the -querychannel option, fconfigure the socket to be binary so that we don't translate anything while reading the data. This is because we determine the content length of the data on the channel by using seek (to the end of the file) and tell on the file handle, and we need the content-length to match the amount of data actually sent, and translation can affect the number of bytes posted. FossilOrigin-Name: 709209ad4d15f2b8aef1b74d1714c2b13eeb8cad
* 2000-03-29 Sandeep Tamhankar <sandeep@scriptics.com>sandeep2000-03-293-12/+9
| | | | | | | | | | | | | | | * library/http2.1/http.tcl: Removed an unnecessary fileevent statement from the error processing part of the Write method. Also, fixed two potential memory leaks in wait and reset, in which the state array wasn't being unset before throwing an exception. Prior to this version, Brent checked in a fix to catch a fileevent statement that was sometimes causing a stack trace when geturl was called with -timeout. I believe Brent's fix is necessary because TLS closes bad sockets for secure connections, and the fileevent was trying to act on a socket that no longer existed. FossilOrigin-Name: 21ce42ac0d1ec680a1b78a95600a3d55cc9b530c
* Added catch around fileevent to fix test suite failurewelch2000-03-273-6/+6
| | | FossilOrigin-Name: 6631c998752e7d8d1a0b4a391b9846ec648baa79
* 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. FossilOrigin-Name: 78af155baa084df1539131f503de934f2252bc12
* 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. FossilOrigin-Name: cf5481749854030af420830c308600c9df31ea86
* 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). FossilOrigin-Name: f3a17a1b813755855daac429321d18cc36d26e84
* * 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). FossilOrigin-Name: aadf3c36fecf2456f03b8f5d9fbea4ca969ad267
* updated package index file to use version 2.3 instead of 2.2.hershey2000-03-183-3/+3
| | | FossilOrigin-Name: adccf407b17bc0d40e122b30e545560e7889a34b
* 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. FossilOrigin-Name: f147131f4408c8701dd9e3fb106f4245108cae35
* * 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. FossilOrigin-Name: d5871cf1fefe88a6010824ea61b3a379c6be7fb8
* * library/package.tcl (tclPkgUnknown): extended to allowhobbs2000-03-031-12/+33
| | | | | | | recognizes changes in the auto_path while sourcing in other pkgIndex.tcl files FossilOrigin-Name: 4e3bbc1d41818c0cb2f893197fd72b67233602bd
* * library/tcltest1.0/tcltest.tcl: correctly protected searchDirectoryhobbs2000-02-082-12/+12
| | | | | | list to allow dirnames with spaces FossilOrigin-Name: f7cfa4e3bdb280986183fa328249a2c02150146e
* * doc/library.n:hobbs2000-02-081-3/+3
| | | | | | * library/auto.tcl: fixed crufty puts code and docs [Bug: 4122] FossilOrigin-Name: 3a4ebbc0f44db99c6ee6ce3ddca15abfd81ac9b7
* * tests/package.test:ericm2000-02-072-7/+7
| | | | | | | * library/tclIndex: * library/package.tcl: Renamed ::package namespace to ::pkg. FossilOrigin-Name: 7a226d8e74a69ee8fb54fe7d1a86a1b2108905d4
* Removing struct namespace stuff.ericm2000-02-074-534/+0
| | | FossilOrigin-Name: 532cae8952fbbcf5c3e1d03b838de767df5b03c3
* * 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 FossilOrigin-Name: 1955d2e8a3fd2d099d37801ba806677eb3ea8562
* * library/init.tcl: Applied patch from rfe 1734 regardingericm2000-02-011-3/+3
| | | | | | auto_load errors not setting error message and errorInfo properly. FossilOrigin-Name: d16fc81976748e7afcd74ef923695ef09e2b7f0c
* * 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] FossilOrigin-Name: 90fb17614b0ce4b691292436c7bbd7b29535a35e