summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * | | | | | | Merge core-8-6-branch. jan.nijtmans2017-01-112-2/+2
| | | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do gcc-compiles with the option -Wwrite-strings, so we can detect mis-usage of "const". Make Tcl_AddErrorInfo() and Tcl_AddObjErrorInfo() a macro.
| | * | | | | | | | | [win] accomplished winTime module using very fast wide clicks, with ↵sebres2017-02-091-7/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | denominator scale to/from microseconds, and therefore more precise "timerate" results under windows (using similar mechanisms as by Mac OSX). Especially multi-threaded, because it works without lock opposite to microseconds (that use crictical section, because of the calibration thread). The reason for usage of wide clicks instead microseconds explains following example (shows 20% performance deference): % timerate -calibrate {} % timerate {clock microseconds} 5000 0.297037 µs/# 14465901 # 3366585 #/sec 4296.906 nett-ms % timerate {clock clicks} 5000 0.247797 µs/# 16869084 # 4035554 #/sec 4180.116 nett-ms
| | * | | | | | | | | [timerate] bug fix: missing scale conversion by Mac OSX on platform where ↵sebres2017-02-091-33/+133
| | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | high resolution clicks are not microseconds based; [win] use high resolution timer for the wide clicks and microseconds directly, prevent several forwards/backwards conversions; [win, unix, mac-osx] normalize some functions for common usage in different time units (clicks, micro- and nanoseconds)
| | * | | | | | | | Merge bug_b87ad7e914sebres2017-01-091-21/+39
| | |\ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ merge trunk (still has test failure in socket.test)jan.nijtmans2016-12-201-2/+2
| | |\ \ \ \ \ \ \ \ \
| | * | | | | | | | | | Make OpenTcpServerEx accept a 'service' string parameter instead of a port.limeboy2016-12-141-2/+7
| | | | | | | | | | | |
| | * | | | | | | | | | merge trunklimeboy2016-12-013-21/+19
| | |\ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | Windows support and minor touchups to the documentation.limeboy2016-11-251-4/+13
| | | | | | | | | | | | |
| | * | | | | | | | | | | Implement the whole TIP 456 specification.limeboy2016-11-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also introduces the `-reuseaddr' and `-reuseport' options for the `socket' command.
| | * | | | | | | | | | | Added stub entry for tip #456. Documentation and tests still missing. ↵jan.nijtmans2016-11-221-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Doesn't conform to TIP yet.
| | * | | | | | | | | | | This is patch.002 from ticket ↵jan.nijtmans2016-11-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [0b9d3ba2ba3e1e3fc33c97d5a9fa7ef85d11a696|0b9d3ba2ba], as first start of tip-456 implementation
* | | | | | | | | | | | | Backport [bd94500678e837d7] from 8.7, preventing endless loops in UTF-8 ↵jan.nijtmans2019-03-021-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | conversions when handling surrogates. Only effective when compiling with -DTCL_UTF_MAX=4|6 (default: 3). Meant for benefit of Androwish.
* | | | | | | | | | | | | Fix some comments: "upper" -> "high" (when talking about surrogates)jan.nijtmans2019-02-191-2/+2
| | | | | | | | | | | | |
* | | | | | | | | | | | | Don't use TclUniCharIsSpace() in command-line handling: the windows ↵jan.nijtmans2019-02-181-6/+3
| |_|_|_|_|_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | command-line is not aware of Unicode spaces, only ASCII ones.
* | | | | | | | | | | | Update libtommath to latest stable release (1.1.0)jan.nijtmans2019-02-012-0/+2
| | | | | | | | | | | |
* | | | | | | | | | | | Remove some mac OSX pre-10.4 stuff, which is outdated: current build doesn't ↵jan.nijtmans2019-01-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | support this anymore
* | | | | | | | | | | | mingw/win-autoconf build: provide tcltest-executable (for consistency ↵sebres2019-01-141-8/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reasons); normalizes loading packages calls in test-suite, added build of helpers tcltest (tcltest.cmd) to start tcl-test suite (with all dependencies/facilities) from shell
* | | | | | | | | | | | win: allows testchmod to reset DELETE DACL-mask (repaired several tests ↵sebres2019-01-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | winFCmd-6.*, winFCmd-9.3, that should catch EACCESS)
* | | | | | | | | | | | Merge 8.5jan.nijtmans2019-01-041-3/+3
|\ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | |
| * | | | | | | | | | | Fix signed<->unsigned comparsion warning (occurring in some gcc compilation ↵jan.nijtmans2019-01-041-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | flags). Micro-optimization: Use char array in stead of const char pointer for static variable.
* | | | | | | | | | | | Fix conflict with timezone() function in some MSVC versionsjan.nijtmans2019-01-031-0/+1
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / /
| * | | | | | | | | | | Fix conflict with timezone() function in some MSVC versionsjan.nijtmans2019-01-031-0/+1
| | | | | | | | | | | |
* | | | | | | | | | | | Fix [3cf3a939d32707e100e06e23806e13569856286a|3cf3a939d3]: timezone ↵jan.nijtmans2018-12-301-0/+8
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | deprecated in vc2017. Also remove unix/config.status.lineno, which was -apparently - checked-in by accident in previous commit
| * | | | | | | | | | | Fix [3cf3a939d32707e100e06e23806e13569856286a|3cf3a939d3]: timezone ↵jan.nijtmans2018-12-301-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | deprecated in vc2017
| * | | | | | | | | | | No need for latest "rvm" any more in osx builds (now even gives an error)jan.nijtmans2018-12-182-23/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove unused/empty header-file
* | | | | | | | | | | | merge 8.5: fixes segfault [7a9dc52b29] and wrong normalization (inside ↵sebres2018-11-221-3/+7
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | TclJoinPath) for pure relative path-segments; test-cases extended and several windows-related are fixed.
| * | | | | | | | | | | win/Makefile.in (mingw/gcc toolchains): fixes make mode "tcltest" - added ↵sebres2018-11-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dependencies to build tcl (dlls) also.
| * | | | | | | | | | | win: repair test command "testchmod": correct load module (ADVAPI32 for ↵sebres2018-11-211-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | x86/x64) and fix readonly mask (don't deny DELETE mask, test cleanup should be able to delete entry)
* | | | | | | | | | | | merge releasedgp2018-11-152-2/+2
|\ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ merge 8.6dgp2018-11-014-8/+54
| |\ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ merge 8.6dgp2018-10-294-162/+171
| |\ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ merge 8.6dgp2018-10-232-3/+3
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ merge 8.6dgp2018-10-091-51/+12
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ merge 8.6dgp2018-10-051-4/+3
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | Bump version numbers for 8.6.9 release.dgp2018-10-052-2/+2
| | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | Make Tcl_WinTCharToUtf/Tcl_WinUtfToTChar work (again) with TCL_UTF_MAX=6. ↵jan.nijtmans2018-11-151-2/+90
| |_|_|_|_|/ / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No effect when TCL_UTF_MAX=3|4
* | | | | | | | | | | | | | | | | Merge 8.5jan.nijtmans2018-10-303-6/+52
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|/ / / / / / / / / / / | |/| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Add support for TIP #494 to registry and dde. Only effective when compiled ↵jan.nijtmans2018-10-303-6/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | against Tcl 9.0 headers. This way we can keep the source-code for those extensions 100% equal in all branches. Work-around for gcc warning in tclWinFile.c. Discovered by Travis CI.
| * | | | | | | | | | | | | | | | squelch some warnings on higher Visual Studio versions: we are not going to ↵jan.nijtmans2018-10-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bother on this any more.
| * | | | | | | | | | | | | | | | [TIP 525] Backport package tcltest 2.5dgp2018-10-292-6/+6
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Missing -DUNICODE in makefile.vcjan.nijtmans2018-10-281-2/+2
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | [TIP 525] Backport package tcltest 2.5dgp2018-10-291-2/+2
| |_|_|_|_|/ / / / / / / / / / / |/| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | merge-mark... well ... almost: Except for a missing <include> in tclWinDde.cjan.nijtmans2018-10-271-0/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / /
| * | | | | | | | | | | | | | | Missed some version bumps in previous commitjan.nijtmans2018-10-272-3/+3
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | tclWinDde.c: Backport version 1.4.1 from Tcl 8.6.jan.nijtmans2018-10-277-233/+408
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Backport "registry" version 1.3.3, so all active branches now have the same ↵jan.nijtmans2018-10-246-360/+334
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | registry version. (this commit must -eventually- be merge-marked to core-8-6-branch, since everything is there already)
* | | | | | | | | | | | | | | | tclWinReg.c: Code cleanup. Eliminate some unnecessary variables.jan.nijtmans2018-10-264-162/+170
| |_|_|_|/ / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tclWinDde.c: Backport improvements (support for TCL_UTF_MAX=6) from androwish: Both androwish and tclsh (all versions) can now use the same dde.dll. dde: bump version
* | | | | | | | | | | | | | | Fix "registry" test-cases. Thanks to Harald Oehlmann for spotting this!jan.nijtmans2018-10-222-3/+3
| |_|_|/ / / / / / / / / / / |/| | | | | | | | | | | | |
* | | | | | | | | | | | | | Streamline: Tcl_WinTCharToUtf/Tcl_WinUtfToTChar(): Always initialize ↵jan.nijtmans2018-10-071-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DString, and let it return NULL when imput is NULL. That's what seem to assume the callers.
* | | | | | | | | | | | | | Better implementations of Tcl_WinTCharToUtf() and Tcl_WinUtfToTChar(). They ↵jan.nijtmans2018-10-051-49/+4
| |_|/ / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | don't make any assumption on whether encodings are initialized, or specific win32 handling of special characters.