summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* merge trunktip_463dgp2017-06-2226-153/+513
|\
| * merge core-8-6-branchjan.nijtmans2017-06-221-0/+19
| |\
| | * Add test-cases, testing the legacy behavior of "format %#d"jan.nijtmans2017-06-222-3/+22
| | |
| * | Extend cases where string rep generation can be prevented.dgp2017-06-161-0/+15
| | |
| * | Tests for string rep generation suppressiondgp2017-06-081-0/+30
| | |
| * | merge core-8-6-branchjan.nijtmans2017-06-081-4/+11
| |\ \ | | |/
| | * Fix [2738427]: Tcl_NumUtfChars(...) no overflow check.jan.nijtmans2017-06-081-1/+5
| | |\
| | * | tclUtil.c: Use TclUtfToUniChar() in stead of handling ASCII characters ↵jan.nijtmans2017-06-081-4/+7
| | | | | | | | | | | | | | | | | | | | 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-071-40/+40
| |\ \ \ | | |/ /
| | * | Tcl_GetWideIntFromObj() -> TclGetWideIntFromObj(), and minor other ↵jan.nijtmans2017-06-071-40/+40
| | | | | | | | | | | | | | | | 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
| * | | merge core-8-6-branchjan.nijtmans2017-06-061-1/+1
| |\ \ \ | | |/ /
| | * | Follow-up to [67aa9a2070]: Use uppercase consistantly, slight optimization ↵jan.nijtmans2017-06-061-1/+1
| | |\ \ | | | |/ | | | | | | | | in character tests, comment fixes. No change in functionality.
| | | * [67aa9a2070] Tcl_UtfToUniChar returns single byte for invalid UTF-8 input as ↵jan.nijtmans2017-06-061-0/+25
| | | | | | | | | | | | | | | | documented.
| * | | [67aa9a2070] Tcl_UtfToUniChar returns single byte for invalid UTF-8 input as ↵dgp2017-06-051-0/+25
| |\ \ \ | | |/ / | | | | | | | | documented.
| | * | Fix [67aa9a207037ae67f9014b544c3db34fa732f2dc|67aa9a2070]: Security: Invalid ↵jan.nijtmans2017-06-021-0/+25
| | | | | | | | | | | | | | | | UTF-8 can inject unexpected characters
| * | | Merge core-8-6-branch. This removes the work currently being done in ↵jan.nijtmans2017-06-022-498/+85
| |\ \ \ | | |/ / | | | | | | | | | | | | "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.
| * | | merge core-8-6-branchjan.nijtmans2017-05-311-0/+25
| |\ \ \
| | * | | Fix [67aa9a207037ae67f9014b544c3db34fa732f2dc|67aa9a2070]: Security: Invalid ↵jan.nijtmans2017-05-311-0/+25
| | | | | | | | | | | | | | | | | | | | UTF-8 can inject unexpected characters
| * | | | merge core-8-6-branch (except: the "timerate" command and the clock ↵jan.nijtmans2017-05-311-1/+1
| |\ \ \ \ | | |/ / / | | | | | | | | | | performance-tests are kept)
| | * | | [msgcat] revert changes of "msgcat" to previous state before clock-speedup, ↵sebres2017-05-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | move this functionality to "clock.tcl"; additionally avoids the usage of catch (uses pair "dict exists/dict get" instead of).
| | | | |
| | \ \ \
| *-. \ \ \ 3-way merge sebres-trunk-clock-speedup / core-8-6-branch (clock speed-up / ↵sebres2017-05-292-46/+379
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | flightaware Tcl-bounties#4, see RFE [ddc948cff9781daac7ad95a3077b3c1b4f07cf93])
| | | * | | merge sebres-8-6-clock-speedupsebres2017-05-151-15/+36
| | | |\ \ \
| | | | \ \ \
| | | | \ \ \
| | | *-. \ \ \ reintegrate sebres-8-6-clock-speedup back to sebres-clock-speedup (trunk ↵sebres2017-05-1120-67/+323
| | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | clock-speedup, 3-way merge)
| | * | \ \ \ \ \ merge sebres-8-6-clock-speedup (clock speed-up / flightaware Tcl-bounties#4, ↵sebres2017-05-292-86/+474
| | |\ \ \ \ \ \ \ | | | | |_|_|/ / / | | | |/| | | / / | | | |_|_|_|/ / | | |/| | | | | see RFE [ddc948cff9781daac7ad95a3077b3c1b4f07cf93])
| | | * | | | | Fixed stardate format: be sure positive after decimal point (note: ↵sebres2017-05-121-15/+36
| | | | |/ / / | | | |/| | | | | | | | | | | | | | | | | clock-value can be negative - modulo operation in C has the same sign as dividend)
| | | * | | | auto-loading of ensemble and stubs on demand only (+ test covered now, see ↵sebres2017-05-111-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clock-0.1); introduces new possibility to implement namespace-based auto-loading, e. g.: set ::auto_index_ns(::some::namespace) [list ::source [::file join $dir some namespace.tcl]]] loading of clock-stubs (clock.tcl) implemented via handler "auto_index_ns" now.
| | | * | | | Fixed possible wrong current date for CET / CEST test cases. sebres2017-05-101-3/+12
| | | | | | |
| | | * | | | Fixed wrong args message (e.g. "clock format ..." instead of ↵sebres2017-05-101-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | "::tcl::clock::format") if failed through compiled ensemble execution.
| | | * | | | clock.test normalized (compared with trunk) sebres2017-05-101-40/+95
| | | | | | |
| | | * | | | [interim-merge-commit] back-ported branch sebres-clock-speedup (from trunk ↵sebres2017-05-102-45/+323
| | | |\ \ \ \ | | | | |/ / / | | | | | | | | | | | | | | to 8.6): tcl-clock functionality rewritten in C.
| | | | * | | msgcat.test: fixed mcpackagelocale syntax usage test case (msgcat-12.1)sebres2017-03-061-1/+1
| | | | | | |
| | | | * | | merge trunksebres2017-03-0610-15/+88
| | | | |\ \ \
| | | | * | | | amend lost changes after rebase to fossilsebres2017-01-101-0/+1
| | | | | | | |
| | | | * | | | "clock add" rewritten in C, using common functionality of "clock scan" (and ↵sebres2017-01-101-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | freescan)... test-performance.tcl: test cases extended to cover "clock add"
| | | | * | | | another way to make greedy search more precise, some greedy matches are ↵sebres2017-01-101-7/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixed (see test cases clock-6.22.11 - clock-6.22.20), additionally involving look ahead token of known type into pre-search process.
| | | | * | | | some greedy matches are fixed (see test cases clock-6.22.11 and ↵sebres2017-01-101-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clock-6.22.12), involving space count in look ahead and end distance calculation (because spaces are optional in date-time string as well as in scanning format).
| | | | * | | | several missing scan tokens added, test cases extended and fixed;sebres2017-01-101-2/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | token "%s" used for seconds only (time zone independent), additionally "%Es" token added for local seconds (zone dependent seconds);
| | | | * | | | [temp-commit]: format almost ready (missing some tokens)sebres2017-01-101-0/+5
| | | | | | | |
| | | | * | | | min length of %Y token (year with century) is 4, optional tokens possibility ↵sebres2017-01-101-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (zone), test cases extended
| | | | * | | | locale months scan switched to from list seek to index tree; bug fixingsebres2017-01-101-0/+24
| | | | | | | |
| | | | * | | | scan format: several tokens implemented, bug fixing and code review;sebres2017-01-101-33/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | precedence yyyymmdd over yyyyddd was changed (and re-covered in test-cases also), see http://core.tcl.tk/tcl/tktview/e7a722cd3573fedda5d1e528f95902776f996e06
| | | | * | | | l10n (with caching) implemented, msgcat package optimized, code review, etc.sebres2017-01-101-4/+4
| | | | | | | |
| | | | * | | | [temp-commit]: code review, DST-hole mistake by scan with relative time ↵sebres2017-01-101-0/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | resolved; caching of UTC2Local / Local2UTC cherry picked
| | | | * | | | [temp-commit]: ClockFreeScan back-ported (cherry picked), all tests case ↵sebres2017-01-101-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | passed + several new test-cases for bug fixing implemented here; environment epoch ported, several fixes for the time zone / tzdata caching ported; mem-leak fix + memory leak test cases passed
| | | | * | | | [temp-commit]: ClockFreeScan ready, test case passed (2 failure because of ↵sebres2017-01-101-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wrong :localtime zone by TZ-switch, to be fixed)
| * | | | | | | merge core-8-6-branchjan.nijtmans2017-05-181-1/+1
| |\ \ \ \ \ \ \ | | |/ / / / / /
| | * | | | | | Fix test-case numberingjan.nijtmans2017-05-181-1/+1
| | |/ / / / /
| * | | | | | Don't test Tcl_GetDefaultEncodingDir() any more (which is obsolete), test ↵jan.nijtmans2017-05-122-13/+18
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | Tcl_GetEncodingSearchPath() in stead.