Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Changes In Branch tip-587-for-8.7 Excluding Merge-Ins
This is equivalent to a diff from 9a08cc940a to 3a2fca1540
2020-10-22
| ||
10:30 | TIP #587: Default utf-8 for source command check-in: 70f28ec410 user: jan.nijtmans tags: core-8-branch | |
2020-10-02
| ||
16:28 | Fix -Wshadow warnings, when compiling with a C++ compiler check-in: 1011055d6b user: jan.nijtmans tags: core-8-branch | |
15:49 | Merge 8.7. Fix 2 failing test-cases check-in: 576b36ec63 user: jan.nijtmans tags: build-info | |
2020-10-01
| ||
12:38 | Merge 8.7 Closed-Leaf check-in: 3a2fca1540 user: jan.nijtmans tags: tip-587-for-8.7 | |
2020-09-30
| ||
16:01 | merge 8.7 check-in: 969af31cfe user: dgp tags: tip-568 | |
16:01 | merge 8.7 check-in: 2e55dcf27c user: dgp tags: dgp-review | |
15:25 | Merge 8.7 check-in: a73b28d23e user: jan.nijtmans tags: trunk | |
14:54 | Merge 8.6 check-in: 9a08cc940a user: jan.nijtmans tags: core-8-branch | |
14:49 | (slightly) better error-message for invalid http -headers option. This works for plain 8.6 too check-in: 43e0024a67 user: jan.nijtmans tags: core-8-6-branch | |
14:29 | TIP #581 tweak: Don't report "slaves" as valid option for "interp" check-in: 29f08cd691 user: jan.nijtmans tags: core-8-branch | |
2020-09-25
| ||
14:26 | Merge 8.7 check-in: 1d2a90cb1d user: jan.nijtmans tags: tip-587-for-8.7 | |
Changes to doc/FileSystem.3.
︙ | |||
410 411 412 413 414 415 416 | 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 | - + - + | accumulates the return values in a list which is returned to the caller (with a reference count of 0). .PP \fBTcl_FSEvalFileEx\fR reads the file given by \fIpathPtr\fR using the encoding identified by \fIencodingName\fR and evaluates its contents as a Tcl script. It returns the same information as \fBTcl_EvalObjEx\fR. |
︙ |
Changes to doc/source.n.
︙ | |||
43 44 45 46 47 48 49 | 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | - + | which will be safely substituted by the Tcl interpreter into .QW ^Z . .PP A leading BOM (Byte order mark) contained in the file is ignored for unicode encodings (utf-8, utf-16, ucs-2). .PP The \fB\-encoding\fR option is used to specify the encoding of the data stored in \fIfileName\fR. When the \fB\-encoding\fR option |
︙ |
Changes to generic/tclIOUtil.c.
︙ | |||
1680 1681 1682 1683 1684 1685 1686 | 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 | - + | int Tcl_FSEvalFileEx( Tcl_Interp *interp, /* Interpreter that evaluates the script. */ Tcl_Obj *pathPtr, /* Pathname of the file to process. * Tilde-substitution is performed on this * pathname. */ const char *encodingName) /* Either the name of an encoding or NULL to |
︙ | |||
1718 1719 1720 1721 1722 1723 1724 | 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 | - - + - - - - - + + + + + + + - | * uses it on every platform to allow for scripted documents. [Bug: 2040] */ Tcl_SetChannelOption(interp, chan, "-eofchar", "\32 {}"); /* * If the encoding is specified, set the channel to that encoding. |
︙ | |||
1817 1818 1819 1820 1821 1822 1823 | 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 | - + | int TclNREvalFile( Tcl_Interp *interp, /* Interpreter in which to evaluate the script. */ Tcl_Obj *pathPtr, /* Pathname of a file containing the script to * evaluate. Tilde-substitution is performed on * this pathname. */ const char *encodingName) /* The name of an encoding to use, or NULL to |
︙ | |||
1854 1855 1856 1857 1858 1859 1860 | 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 | - - + - - - - - + + + + + + + - | * uses it on every platform to allow for scripted documents. [Bug: 2040] */ Tcl_SetChannelOption(interp, chan, "-eofchar", "\32 {}"); /* * If the encoding is specified, set the channel to that encoding. |
︙ |
Changes to generic/tclZlib.c.
︙ | |||
3941 3942 3943 3944 3945 3946 3947 | 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 | - + | * TODO: Describe whether we're using the system version of the library or * a compatibility version built into Tcl? */ cfg[0].key = "zlibVersion"; cfg[0].value = zlibVersion(); cfg[1].key = NULL; |
︙ |
Changes to library/clock.tcl.
︙ | |||
3310 3311 3312 3313 3314 3315 3316 | 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 | - + | if { ![regexp {^[[.-.][:alpha:]_]+(?:/[[.-.][:alpha:]_]+)*$} $fileName] } { return -code error \ -errorcode [list CLOCK badTimeZone $:fileName] \ "time zone \":$fileName\" not valid" } try { |
︙ |
Changes to library/init.tcl.
︙ | |||
108 109 110 111 112 113 114 | 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | - + | proc ::tcl::initClock {} { # Auto-loading stubs for 'clock.tcl' foreach cmd {add format scan} { proc ::tcl::clock::$cmd args { variable TclLibDir |
︙ |
Changes to library/safe.tcl.
︙ | |||
933 934 935 936 937 938 939 | 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 | - + | set at 2 if {$encoding eq "identity"} { Log $child "attempt to use the identity encoding" return -code error "permission denied" } } else { set at 0 |
︙ | |||
976 977 978 979 980 981 982 | 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 | - - - + - | # Passed all the tests, lets source it. Note that we do this all manually # because we want to control [info script] in the child so information # doesn't leak so much. [Bug 2913625] set old [::interp eval $child {info script}] set replacementMsg "script error" set code [catch { set f [open $realfile] |
︙ |
Changes to library/tm.tcl.
︙ | |||
263 264 265 266 267 268 269 | 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 | - + | # understands it, or, if not, update its implementation # appropriately. # # Right now LOCATE's implementation assumes that the path # of the package file is the last element in the list. package ifneeded $pkgname $pkgversion \ |
︙ |
Changes to unix/README.
︙ | |||
87 88 89 90 91 92 93 | 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | - + | --enable-man-compression=PROG Compress the manpages using PROG. --enable-dtrace Enable tcl DTrace provider (if DTrace is available on the platform), c.f. tclDTrace.d for descriptions of the probes made available, see http://wiki.tcl.tk/DTrace for more details --with-encoding=ENCODING Specifies the encoding for compile-time |
︙ |
Changes to unix/configure.
︙ | |||
1426 1427 1428 1429 1430 1431 1432 | 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 | - + | --enable-framework package shared libraries in MacOSX frameworks (default: off) Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-encoding encoding for configuration values (default: |
︙ | |||
3978 3979 3980 3981 3982 3983 3984 | 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 | - + | cat >>confdefs.h <<_ACEOF #define TCL_CFGVAL_ENCODING "${with_tcencoding}" _ACEOF else |
︙ |
Changes to unix/tcl.m4.
︙ | |||
2441 2442 2443 2444 2445 2446 2447 | 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 | - + - + | # TCL_CFGVAL_ENCODING # #-------------------------------------------------------------------- AC_DEFUN([SC_TCL_CFG_ENCODING], [ AC_ARG_WITH(encoding, AC_HELP_STRING([--with-encoding], |
︙ |
Changes to win/configure.
︙ | |||
3745 3746 3747 3748 3749 3750 3751 | 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 | - - + | if test x"${with_tcencoding}" != x ; then cat >>confdefs.h <<_ACEOF #define TCL_CFGVAL_ENCODING "${with_tcencoding}" _ACEOF else |
︙ |
Changes to win/makefile.vc.
︙ | |||
112 113 114 115 116 117 118 | 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | - + | # $(TMP_DIR) will de $(OUT_DIR)\<buildtype> by default. # # TESTPAT=<file> # Reads the tests requested to be run from this file. # # CFG_ENCODING=encoding # name of encoding for configuration information. Defaults |
︙ |
Changes to win/rules.vc.
︙ | |||
500 501 502 503 504 505 506 | 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 | - + | # Since MSVC8 we must deal with manifest resources. !if $(VCVERSION) >= 1400 _VC_MANIFEST_EMBED_EXE=if exist [email protected] mt -nologo -manifest [email protected] -outputresource:$@;1 _VC_MANIFEST_EMBED_DLL=if exist [email protected] mt -nologo -manifest [email protected] -outputresource:$@;2 !endif !ifndef CFG_ENCODING |
︙ |
Changes to win/tcl.m4.
︙ | |||
1081 1082 1083 1084 1085 1086 1087 | 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 | - - + | AC_DEFUN([SC_TCL_CFG_ENCODING], [ AC_ARG_WITH(encoding, [ --with-encoding encoding for configuration values], with_tcencoding=${withval}) if test x"${with_tcencoding}" != x ; then AC_DEFINE_UNQUOTED(TCL_CFGVAL_ENCODING,"${with_tcencoding}") else |
︙ |