summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Tests for ::http::Write done.tip_452gerald2017-06-231-3/+323
|
* Added test suites for more of the http package, two procedures left to do ↵gerald2017-06-231-3/+749
| | | | test suites for.
* Added additional tests into rewrite of http test package.gerald2017-06-222-43/+606
|
* More http test rewrites.gerald2017-06-211-13/+1391
|
* Test for several more commands.gerald2017-06-202-38/+794
|
* Added test for several commands.gerald2017-06-201-2185/+2833
|
* Fix for [c81183a2a71adeff28d846b5dcf8ca5bb15bbf30].gerald2017-06-192-4/+12
|
* [4e5007ea1b285527] Added all code path tests for ::http::formatQuery.gerald2017-06-192-3/+85
|
* Test complete for http::geturl -- all code paths covered.gerald2017-06-192-89/+103
| | | Also fix for tcloo code in TIP 452.
* Partial test suite written for http::geturl.gerald2017-06-161-252/+712
|
* Added empty failing tests for all the paths in geturl.gerald2017-06-161-0/+1336
|
* Added empty failing test for each unit that should be tested. NOTE -- some ↵gerald2017-06-161-11/+424
| | | | units will have multiple tests when fully implemented to test all of their code paths.
* Started to add support for tcloo into tcltest package.gerald2017-06-162-562/+268
| | | First set of http test using TIP 452.
* 1) Added namespace exports to tcltest namespace for new featuresgerald2017-06-104-3/+664
| | | | 2) Rolled minor revision number of tcltest package to 2.5.0 since freatures were added. 3) Started http-tip-452.test to demostrate the use of mocks/stubs. (work here is not complete)
* Check in reference implementation of TIP 452.gerald2017-06-082-0/+819
| | | TO DO: create test for two existing Tcl procedure to demostrate the use of the package.
* Create new branch named "tip-452"gerald2017-06-080-0/+0
|
* merge core-8-6-branchjan.nijtmans2017-06-081-12/+35
|\
| * Revert part of [95d096e0378b460c6c5168bb55bb2ca8b2fd799e|95d096e037]: Missed ↵jan.nijtmans2017-06-081-12/+35
| | | | | | | | the fact that tolower() was optimized for the ASCII case as well, so this was a mistake!
* | merge core-8-6-branchjan.nijtmans2017-06-084-53/+38
|\ \ | |/
| * Fix [2738427]: Tcl_NumUtfChars(...) no overflow check.jan.nijtmans2017-06-082-14/+19
| |\
| | * Fix [2738427]: Tcl_NumUtfChars(...) no overflow check.jan.nijtmans2017-06-081-13/+14
| | |
| * | tclUtil.c: Use TclUtfToUniChar() in stead of handling ASCII characters ↵jan.nijtmans2017-06-083-40/+20
| | | | | | | | | | | | | | | separately: This macro already does that. Add new test-case for Tcl_NumUtfChars(), for a knownBug still to be fixed.
* | | merge core-8-6-branchjan.nijtmans2017-06-075-59/+57
|\ \ \ | |/ /
| * | Tcl_GetWideIntFromObj() -> TclGetWideIntFromObj(), and minor other ↵jan.nijtmans2017-06-075-63/+60
| | | | | | | | | | | | simplifications/optimizations. No functional change.
* | | merge core-8-6-branchjan.nijtmans2017-06-063-12/+44
|\ \ \ | |/ /
| * | Add more test-cases for UTF-8 parser, including test-cases for TCL_UTF_MAX=4 ↵jan.nijtmans2017-06-063-20/+56
| | | | | | | | | | | | or TCL_UTF_MAX=6
* | | [716b427f76] Optimize TclStringCatObjv when only one non-empty argument.dgp2017-06-062-56/+56
|\ \ \
| * | | A few more tweaks to streamline and clarify.bug_716b427f76dgp2017-06-061-13/+17
| | | |
| * | | makes TclStringCatObjv safe accepting objc = 0 (or 1), then fast exits with ↵sebres2017-06-061-12/+16
| | | | | | | | | | | | | | | | new object / first; check-cycles rewritten to be still more faster.
| * | | amend to [eac4656f1e8cf793] (moved to scope where numChars != 0 in Unicode case)sebres2017-06-061-3/+3
| | | |
| * | | small code review: don't need to check length if unchanged + the same case ↵sebres2017-06-061-17/+18
| | | | | | | | | | | | | | | | if 0 length
| * | | Optimize TclStringCatObjv() for case when only one argument is non-empty.dgp2017-06-051-8/+22
| | | |
| * | | Revert performance optimization as first step to providing a refactored one.dgp2017-06-051-24/+1
| | | |
* | | | merge core-8-6-branchjan.nijtmans2017-06-062-19/+19
|\ \ \ \ | |/ / / |/| / / | |/ /
| * | Follow-up to [67aa9a2070]: Use uppercase consistantly, slight optimization ↵jan.nijtmans2017-06-062-19/+19
| |\ \ | | |/ | | | | | | in character tests, comment fixes. No change in functionality.
| | * [67aa9a2070] Tcl_UtfToUniChar returns single byte for invalid UTF-8 input as ↵jan.nijtmans2017-06-062-75/+77
| | | | | | | | | | | | documented.
* | | [67aa9a2070] Tcl_UtfToUniChar returns single byte for invalid UTF-8 input as ↵dgp2017-06-052-3/+34
|\ \ \ | |/ / | | | | | | documented.
| * | [67aa9a2070] Tcl_UtfToUniChar returns single byte for invalid UTF-8 inputdgp2017-06-052-3/+34
| |\ \ | | | | | | | | as documented.
| | * \ merge core-8-6-branchbug_67aa9a2070jan.nijtmans2017-06-021-10/+8
| | |\ \ | | |/ / | |/| |
| | * | Fix [67aa9a207037ae67f9014b544c3db34fa732f2dc|67aa9a2070]: Security: Invalid ↵jan.nijtmans2017-06-022-3/+34
| | | | | | | | | | | | | | | | UTF-8 can inject unexpected characters
* | | | merge core-8-6-branchjan.nijtmans2017-06-022-11/+8
|\ \ \ \ | |/ / /
| * | | Change refCount field in DictObj from int to size_t. Cherry-picked from ↵jan.nijtmans2017-06-021-10/+8
| |/ / | | | | | | | | | "sebres-8-6-clock-speedup-cr1" branch.
* | | Merge core-8-6-branch. This removes the work currently being done in ↵jan.nijtmans2017-06-0226-9132/+3561
|\ \ \ | |/ / | | | | | | | | | "sebres-8-6-clock-speedup-cr1" branch, but that will be merged again as soon as the work is done. All other changes in "trunk" since then (e.g. the INST_STR_CONCAT1 performance improvement, and the removal of SunOS-4) are retained.
* | | Fix [83a3d869722fab9caaae3b6728215fb2507a6f0d|83a3d86972]: tclEpollNotfy.c ↵jan.nijtmans2017-05-312-5733/+158
| | | | | | | | | | | | | | | fails to compile on Linux 2.6.<22 due to unconditionally including <sys/eventfd.h> Also re-generate regc_locale.c with Unicode 10 tables: previous generation went horribly wrong somehow...
* | | merge core-8-6-branchjan.nijtmans2017-05-312-3/+34
|\ \ \
| * | | Fix [67aa9a207037ae67f9014b544c3db34fa732f2dc|67aa9a2070]: Security: Invalid ↵jan.nijtmans2017-05-312-3/+34
| | | | | | | | | | | | | | | | UTF-8 can inject unexpected characters
* | | | merge core-8-6-branch (except: the "timerate" command and the clock ↵jan.nijtmans2017-05-3120-414/+374
|\ \ \ \ | |/ / / | | | | | | | | performance-tests are kept)
| * | | More code review, e.g. use Tcl_SetObjResult in stead of Tcl_SetResult, ↵jan.nijtmans2017-05-3114-262/+261
| | | | | | | | | | | | | | | | preventing a (char *) type case. No functional changes.
| * | | Remove "timerate" functionality: this definitely needs a TIP. Also undo ↵jan.nijtmans2017-05-314-362/+2
| | | | | | | | | | | | | | | | changes in library/reg/pkgIndex.tcl, which are unrelated to clock functionality
| * | | [msgcat] revert changes of "msgcat" to previous state before clock-speedup, ↵sebres2017-05-303-127/+98
| | | | | | | | | | | | | | | | | | | | move this functionality to "clock.tcl"; additionally avoids the usage of catch (uses pair "dict exists/dict get" instead of).