summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Some more *A() -> *W() Win32 API changes, making Unicode calls Explicit.jan.nijtmans2019-09-1911-69/+55
|
* all.tcl: replacement for exit, if calling direct only (avoid rewrite exit if ↵sebres2019-09-181-1/+6
| | | | it is inlined or interactive shell)
* TEBC: avoid error "unitialized variable" if called in debug mode (or with ↵sebres2019-09-181-1/+1
| | | | analysis tools) - objv = NULL, similar to objc = 0 (e. g. calling parser.test, in doYield by INTERP_DEBUG_FRAME)
* TCHAR -> WCHAR converions (and corresponding Win32 API call changes), since ↵jan.nijtmans2019-09-1814-347/+349
| | | | we are impicitly compiling with -DUNICODE
* Add missing constraints to test-casesjan.nijtmans2019-09-172-5/+9
|
* Bugfix in Tcl_UtfPrev/Tcl_UtfNext: When handling 4-byte UTF-8 byte ↵jan.nijtmans2019-09-161-7/+7
| | | | | sequences, those should be able to move back/forward 4 bytes if TCL_UTF_MAX <= 4. Update comment accordingly. Bugfix in Tcl_UtfFindFirst/Tcl_UtfFindLast: Those functions should be able to find both the high surrogate (if asked for) as also the full character (combination of both surrogates)
* Add 32-bit windows builds (both MSVC and GCC) to Travisjan.nijtmans2019-09-161-20/+59
|\
| * Add 32-bit Windows builds, both with MSVC and GCC, to Travis. jan.nijtmans2019-09-166-232/+295
| |\ | | | | | | Backport various test-suite changes fro 8.6 to 8.5, mainly "knownBug" markers and comments
| | * try xcode 10.3jan.nijtmans2019-09-151-1/+1
| | |
| | * Merge 8.5jan.nijtmans2019-09-135-383/+361
| | |\ | | |/ | |/|
| | * Merge 8.5. Mark a few more tests nonPortable (for 8.5, not to be merged to 8.6!)jan.nijtmans2019-09-124-17/+68
| | |\
| | * \ Merge 8.5jan.nijtmans2019-09-1118-269/+284
| | |\ \
| | * | | Run all test-cases with -verbose sbtel, so we can see which test-case ↵jan.nijtmans2019-09-101-20/+15
| | | | | | | | | | | | | | | | | | | | actually hangs.
| | * | | Add 32-bit (Windows-x86) builds to travis, both with MSVC and GCCjan.nijtmans2019-09-101-7/+53
| | | | |
* | | | | execute.test: fix tests (if test started using -singleproc 1)sebres2019-09-161-1/+2
| | | | |
* | | | | merge-markjan.nijtmans2019-09-130-0/+0
|\ \ \ \ \ | |/ / / /
| * | | | Make test-cases (hopefully) work on Travis, e.g. by adding nonPortable marks ↵jan.nijtmans2019-09-132-121/+140
| | | | | | | | | | | | | | | | | | | | to test-cases which are nonPortable in 8.6 as well.
* | | | | Merge 8.5jan.nijtmans2019-09-131-33/+33
|\ \ \ \ \ | |/ / / /
| * | | | Add knownMsvcBug restriction to chanio-20.5, because it sometimes hangs in a ↵jan.nijtmans2019-09-131-221/+178
| | | | | | | | | | | | | | | | | | | | Travis build. Restucture many test-cases to tcltest 2 syntax.
* | | | | Remove unneeded knownMsvcBug testconstraint definitionjan.nijtmans2019-09-132-2/+1
| | | | |
* | | | | cmdAH.test (win-only): rewrite test to prefer SystemRoot (readonly) instead ↵sebres2019-09-121-2/+6
| | | | | | | | | | | | | | | | | | | | of windir to check windows directory is not owned, bug [7de2d722bd]
* | | | | merge 8.5 - windows: eliminate overwriting of WINDIR env-variable in ↵sebres2019-09-123-43/+43
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | VS-makefiles (used WIN_DIR now similar to "makefile.in"); init.tcl: windows helper prefer SystemRoot if available.
| * | | | windows: eliminate overwriting of WINDIR env-variable in makefiles (used ↵sebres2019-09-123-44/+46
| | |_|/ | |/| | | | | | | | | | | | | | WIN_DIR now similar to "makefile.in"); init.tcl: windows helper prefer SystemRoot if available.
* | | | More code cleanup: Move more Tcl_UniChar initializations out of the loop. ↵jan.nijtmans2019-09-121-27/+24
| | | | | | | | | | | | | | | | Remove unnecessary type-casts
* | | | Code cleanup: Add some initialization to "Tcl_UniChar ch" declaration, ↵jan.nijtmans2019-09-123-33/+30
| | | | | | | | | | | | | | | | | | | | making the chance higher that 4-byte UTF-8 sequences are handled more reasonable internally (see: [https://core.tcl-lang.org/tk/tktview?name=a179564826|a179564826]). Use more TclGetString() in stead of Tcl_GetString(), which is slightly more efficient.
* | | | Update TZ info to tzdata2019c.José Ignacio Marín2019-09-1213-158/+308
| | | |
* | | | Fix Tcl part of ↵jan.nijtmans2019-09-121-5/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [https://core.tcl-lang.org/tk/tktview?name=a179564826|a179564826]: Tk 8.6: prevent issues when encountering non-BMP Unicode characters. This changes the handling of incoming 'invalid' 4-bute UTF-8 characters. They are no longer handled as 4 separate bytes, but as 2 Unicode characters. (partial backported from 8.7). Still, Tcl will NEVER produce 4-byte UTF-8 byte sequences, so this can never hit Tcl applications/extensions by surprise. More changes to Tk 8.6 expected improving this, but this Tcl change is a pre-requisite for that.
| * | | | Attempt to fix ↵jan.nijtmans2019-08-011-5/+3
| | | | | | | | | | | | | | | | | | | | [https://core.tcl-lang.org/tk/tktview?name=a179564826|a179564826]: Tk 8.6: prevent issues when encountering non-BMP Unicode characters
* | | | | merge-mark (no functional changes)sebres2019-09-110-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | partially cherrypick of [ecf524bce0], bug-fec0c17d39-8.6-limit: ultimate fix ↵sebres2019-09-112-12/+63
| | |_|/ | |/| | | | | | | | | | | | | | for [fec0c17d39] - avoid SO on deeply recursive call stack by restriction of nested compilations using same limit (interp recursionlimit) like the evaluation, this must protect against unexpected stack exhaustion; conflicts resolved, tests fixed (no command `try` in 8.5)
* | | | merge bug-fec0c17d39-8.6-limit: ultimate fix for [fec0c17d39] - avoid SO on ↵sebres2019-09-112-8/+61
|\ \ \ \ | | | | | | | | | | | | | | | deeply recursive call stack by restriction of nested compilations using same limit (interp recursionlimit) like the evaluation, this must protect against unexpected stack exhaustion
| * | | | Expand acronym in comment.dgp2019-09-031-2/+2
| | | | |
| * | | | Merge 8.6jan.nijtmans2019-09-033-6/+5
| |\ \ \ \
| * \ \ \ \ merge 8.6sebres2019-09-027-3293/+3128
| |\ \ \ \ \
| * | | | | | extends [fec0c17d39]: restrict nested compilations using same limit (interp ↵sebres2019-08-302-8/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | recursionlimit) like the evaluation, this must protect against unexpected stack exhaustion (avoid SO by deeply recursive call stack)
* | | | | | | merge 8.5 (bug [7de2d722bd])sebres2019-09-111-2/+22
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | |
| * | | | | | windows, close [7de2d722bd]: prefer temp file to check owner and reown it ↵sebres2019-09-111-2/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | before trying to check in order to avoid dependency on admin with UAC and the setting of "System objects: Default owner for objects created by members of the Administrators group"
* | | | | | | Merge 8.5jan.nijtmans2019-09-112-3/+3
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Use "package provide Tcl" consistantly, in stead of either "package present ↵jan.nijtmans2019-09-113-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Tcl" or "info tclversion"/"info patchlevel"
* | | | | | | Merge 8.5jan.nijtmans2019-09-1014-98/+98
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Don't use constraints like unixOrPc anymore, use unixOrWin (for example)jan.nijtmans2019-09-1012-133/+142
| | | | | | |
| * | | | | | Backport some improvements to tm.tcl (mostly comments). jan.nijtmans2019-09-104-126/+112
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | Don't use ::tcl_platform(debug) anymore, since it cannot be thrusted: Better use [::tcl::pkgconfig get debug] Reduce limits in tests/compile.test (13.2), since apparently it's still too much for some platforms.
* | | | | | Merge 8.5jan.nijtmans2019-09-091-6/+6
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Move &crosstest up in .travis.ymljan.nijtmans2019-09-091-6/+6
| | | | | |
* | | | | | Merge 8.5jan.nijtmans2019-09-092-1/+7
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Final touch to make everything work for 8.5:jan.nijtmans2019-09-092-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Don't use AS_ECHO macro, because autoconf-2.59 doesn't have it. - -D_BUILD_tcl should be -DBUILD_tcl - Missing back-slashes at the end of the line.
* | | | | | Merge 8.5jan.nijtmans2019-09-081-36/+36
|\ \ \ \ \ \ | |/ / / / /
| * | | | | dde and registry extension should be compiled with -DUNICODE -D_UNICODE.jan.nijtmans2019-09-082-37/+45
| | | | | | | | | | | | | | | | | | Put 64-bit builds before 32-bit builds in travis
* | | | | | Merge 8.5jan.nijtmans2019-09-071-1/+1
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Add --enable-threads to Windows/GCC (native) builds. This is - most likely - ↵jan.nijtmans2019-09-071-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | the cause of the travis failure in compile.test.