Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | merge release |
|---|---|
| Timelines: | family | ancestors | descendants | both | mistake |
| Files: | files | file ages | folders |
| SHA1: |
bca36d8b55a5c5b7d596657b2f07e545 |
| User & Date: | dgp 2015-03-06 14:06:20.995 |
Context
|
2015-03-06
| ||
| 14:07 | merge mark Closed-Leaf check-in: 98adbcb801 user: dgp tags: mistake | |
| 14:06 | merge release check-in: bca36d8b55 user: dgp tags: mistake | |
| 14:02 | update release date check-in: 3da0e3a608 user: dgp tags: mistake | |
|
2015-02-20
| ||
| 19:29 | [e08c2c407b] The getHandleProc routine in the Tcl_Channel struct is optional. Update the docs to ma... check-in: 5d588dbd27 user: dgp tags: core-8-5-branch | |
Changes
Changes to README.
1 | 1 2 3 4 5 6 7 8 9 | - + | README: Tcl |
| ︙ |
Changes to changes.
| ︙ | |||
7902 7903 7904 7905 7906 7907 7908 | 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 | + + + + + + + + + + + + + + + + + + + + + + + | 2014-10-10 (bug)[ed29c4] [fcopy] treats [blocked] as error (rowen,porter) 2014-10-10 (bug)[bf7135] regression in Tcl_Write() interface (porter) 2014-10-18 (bug)[10dc6d] fix [gets] on non-blocking channels (fassel,porter) --- Released 8.5.17, October 25, 2014 --- http://core.tcl.tk/tcl/ for details 2014-10-26 Support for Windows 10 (nijtmans) 2014-10-31 (bug)[dcc034] restore [open comX: r+] (lll,nijtmans) 2014-11-06 (bug)[5adc35] Stop forcing EOF to be permanent (porter) 2014-12-03 (bug)[0c043a] Fix compiled [set var($) val] (porter) 2014-12-04 (bug)[d2ffcc] Limit $... and bareword parsing to ASCII (ladayaroslav,porter) *** POTENTIAL INCOMPATIBILITY *** 2014-12-10 tzdata updated to Olson's tzdata2014j (venkat) 2015-01-26 (bug)[df0848] Trouble with INFINITY macro (dower,nijtmans) 2015-01-29 (bug) Stop crashes when extension var resolvers misbehave (porter) 2015-02-05 (bug) Plug stacked channel memleak (porter) 2015-02-11 tzdata updated to Olson's tzdata2015a (venkat) --- Released 8.5.18, March 6, 2015 --- http://core.tcl.tk/tcl/ for details |
Changes to generic/tcl.h.
| ︙ | |||
54 55 56 57 58 59 60 | 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | - + - + | * tools/tcl.wse.in (for windows installer) * tools/tclSplash.bmp (not patchlevel) */ #define TCL_MAJOR_VERSION 8 #define TCL_MINOR_VERSION 5 #define TCL_RELEASE_LEVEL TCL_FINAL_RELEASE |
| ︙ |
Changes to generic/tclEncoding.c.
| ︙ | |||
996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 | 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 | + |
if (!name || !*name) {
Tcl_MutexLock(&encodingMutex);
encoding = defaultEncoding;
encodingPtr = (Encoding *) encoding;
encodingPtr->refCount++;
Tcl_MutexUnlock(&encodingMutex);
} else {
fprintf(stdout, "New System Encoding: '%s' (%ld)\n",name,getpid()); fflush(stdout);
encoding = Tcl_GetEncoding(interp, name);
if (encoding == NULL) {
return TCL_ERROR;
}
}
Tcl_MutexLock(&encodingMutex);
|
| ︙ |
Changes to library/init.tcl.
| ︙ | |||
12 13 14 15 16 17 18 | 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | - + |
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
# This test intentionally written in pre-7.5 Tcl
if {[info commands package] == ""} {
error "version mismatch: library\nscripts expect Tcl version 7.5b1 or later but the loaded version is\nonly [info patchlevel]"
}
|
| ︙ |
Changes to tests/unixInit.test.
1 2 3 4 5 6 7 8 9 10 11 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | - + + | # The file tests the functions in the tclUnixInit.c file. # # This file contains a collection of tests for one or more of the Tcl # built-in commands. Sourcing this file into Tcl runs the tests and # generates output for errors. No output means no errors were found. # # Copyright (c) 1997 by Sun Microsystems, Inc. # Copyright (c) 1998-1999 by Scriptics Corporation. # # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. |
| ︙ | |||
347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 | 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 | + + + + + + + + + |
puts $f {puts [encoding system]; exit}
set enc [gets $f]
close $f
unset env(LANG)
set enc
} -match regexp -result [expr {
($tcl_platform(os) eq "Darwin") ? "^utf-8$" : "^iso8859-15?$"}]
}
puts ZZZZ:[pid]
test unixInit-3.2 {TclpSetInitialEncodings} {unix stdio} {
puts AAA
set env(LANG) japanese
catch {set oldlc_all $env(LC_ALL)}
set env(LC_ALL) japanese
set f [open "|[list [interpreter]]" w+]
chan configure $f -buffering none
puts "CHILD PID: [pid $f]"
puts $f {puts [encoding system]; exit}
puts [gets $f]
puts [gets $f]
puts [gets $f]
puts [gets $f]
set enc [gets $f]
puts ENC:'$enc'
close $f
unset env(LANG)
unset env(LC_ALL)
catch {set env(LC_ALL) $oldlc_all}
set validEncodings [list euc-jp]
if {[string match HP-UX $tcl_platform(os)]} {
# Some older HP-UX systems need us to accept this as valid
|
| ︙ |
Changes to tools/tcl.wse.in.
| ︙ | |||
8 9 10 11 12 13 14 | 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | - + | Japanese Font Size=10 Start Gradient=0 0 255 End Gradient=0 0 0 Windows Flags=00000000000000010010110000001000 Log Pathname=%MAINDIR%\INSTALL.LOG Message Font=MS Sans Serif Font Size=8 |
| ︙ |
Changes to unix/configure.
more than 10,000 changes
Changes to unix/configure.in.
| ︙ | |||
21 22 23 24 25 26 27 | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | - + |
/* override */ #undef PACKAGE_TARNAME
#endif /* _TCLCONFIG */])
])
TCL_VERSION=8.5
TCL_MAJOR_VERSION=8
TCL_MINOR_VERSION=5
|
| ︙ |
Changes to unix/tcl.spec.
1 2 3 4 5 6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | - + |
# This file is the basis for a binary Tcl RPM for Linux.
%{!?directory:%define directory /usr/local}
Name: tcl
Summary: Tcl scripting language development environment
|
| ︙ |
Changes to unix/tclConfig.h.in.
1 2 3 4 5 6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | - - - |
/* ../unix/tclConfig.h.in. Generated from configure.ac by autoheader. */
#ifndef _TCLCONFIG
#define _TCLCONFIG
|
| ︙ | |||
195 196 197 198 199 200 201 | 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 | - + - + | /* Is 'struct dirent64' in <sys/types.h>? */ #undef HAVE_STRUCT_DIRENT64 /* Is 'struct stat64' in <sys/stat.h>? */ #undef HAVE_STRUCT_STAT64 |
| ︙ | |||
333 334 335 336 337 338 339 | 330 331 332 333 334 335 336 337 338 339 340 341 342 343 | - - - | /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME |
| ︙ | |||
429 430 431 432 433 434 435 | 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 | - - + + - - - - - - - + - - | /* Do we want to use the threaded memory allocator? */ #undef USE_THREAD_ALLOC /* Should we use vfork() instead of fork()? */ #undef USE_VFORK |
| ︙ | |||
494 495 496 497 498 499 500 | 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 | - + | /* Define to `int' if <sys/types.h> does not define. */ #undef mode_t /* Define to `int' if <sys/types.h> does not define. */ #undef pid_t |
| ︙ |
Changes to unix/tclUnixInit.c.
| ︙ | |||
646 647 648 649 650 651 652 653 654 655 656 657 658 659 | 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 | + + |
void
TclpSetInitialEncodings(void)
{
Tcl_DString encodingName;
Tcl_SetSystemEncoding(NULL,
Tcl_GetEncodingNameFromEnvironment(&encodingName));
fprintf(stdout, "New system encoding: '%s'\n",
Tcl_GetEncodingName(Tcl_GetEncoding(NULL, NULL))); fflush(stdout);
Tcl_DStringFree(&encodingName);
}
void
TclpSetInterfaces(void)
{
/* do nothing */
|
| ︙ | |||
707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 | 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 | + + |
/*
* Use a DString so we can modify case.
*/
Tcl_DStringInit(&ds);
encoding = Tcl_DStringAppend(&ds, nl_langinfo(CODESET), -1);
fprintf(stdout, "CODESET: '%s'\n", Tcl_DStringValue(&ds)); fflush(stdout);
Tcl_UtfToLower(Tcl_DStringValue(&ds));
knownEncoding = SearchKnownEncodings(encoding);
if (knownEncoding != NULL) {
Tcl_DStringAppend(bufPtr, knownEncoding, -1);
} else if (NULL != Tcl_GetEncoding(NULL, encoding)) {
Tcl_DStringAppend(bufPtr, encoding, -1);
}
Tcl_DStringFree(&ds);
if (Tcl_DStringLength(bufPtr)) {
fprintf(stdout, "RETURN 1: '%s'\n", Tcl_DStringValue(bufPtr)); fflush(stdout);
return Tcl_DStringValue(bufPtr);
}
}
#endif /* HAVE_LANGINFO */
/*
* Classic fallback check. This tries a homebrew algorithm to determine
|
| ︙ | |||
755 756 757 758 759 760 761 762 763 764 765 766 767 768 | 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 | + |
if (knownEncoding != NULL) {
Tcl_DStringAppend(bufPtr, knownEncoding, -1);
} else if (NULL != Tcl_GetEncoding(NULL, encoding)) {
Tcl_DStringAppend(bufPtr, encoding, -1);
}
if (Tcl_DStringLength(bufPtr)) {
Tcl_DStringFree(&ds);
fprintf(stdout, "RETURN 2: '%s'\n", Tcl_DStringValue(bufPtr)); fflush(stdout);
return Tcl_DStringValue(bufPtr);
}
/*
* We didn't recognize the full value as an encoding name. If there is
* an encoding subfield, we can try to guess from that.
*/
|
| ︙ | |||
779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 | 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 | + + |
Tcl_DStringAppend(bufPtr, knownEncoding, -1);
} else if (NULL != Tcl_GetEncoding(NULL, p)) {
Tcl_DStringAppend(bufPtr, p, -1);
}
}
Tcl_DStringFree(&ds);
if (Tcl_DStringLength(bufPtr)) {
fprintf(stdout, "RETURN 3: '%s'\n", Tcl_DStringValue(bufPtr)); fflush(stdout);
return Tcl_DStringValue(bufPtr);
}
}
fprintf(stdout, "RETURN 4: '%s'\n", Tcl_DStringValue(bufPtr)); fflush(stdout);
return Tcl_DStringAppend(bufPtr, TCL_DEFAULT_ENCODING, -1);
}
/*
*---------------------------------------------------------------------------
*
* TclpSetVariables --
|
| ︙ |
Changes to win/configure.
| ︙ | |||
1307 1308 1309 1310 1311 1312 1313 | 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 | - + | # versions of autoconf incorrectly set SHELL to /bin/bash instead of # /bin/sh. The bash shell seems to suffer from some strange failures. SHELL=/bin/sh TCL_VERSION=8.5 TCL_MAJOR_VERSION=8 TCL_MINOR_VERSION=5 |
| ︙ |
Changes to win/configure.in.
| ︙ | |||
10 11 12 13 14 15 16 | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | - + | # versions of autoconf incorrectly set SHELL to /bin/bash instead of # /bin/sh. The bash shell seems to suffer from some strange failures. SHELL=/bin/sh TCL_VERSION=8.5 TCL_MAJOR_VERSION=8 TCL_MINOR_VERSION=5 |
| ︙ |