Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit58bfbda

Browse files
committed
Import Tcl 8.6.13
1 parentee45625 commit58bfbda

File tree

762 files changed

+91317
-80442
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

762 files changed

+91317
-80442
lines changed

‎.travis.yml‎

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -197,15 +197,6 @@ jobs:
197197
script:
198198
-cmd.exe //C vcvarsall.bat x64 '&&' nmake '-f' makefile.vc all tcltest
199199
-cmd.exe //C vcvarsall.bat x64 '&&' nmake '-f' makefile.vc test
200-
-name:"Windows/MSVC/Shared: UTF_MAX=4"
201-
os:windows
202-
compiler:cl
203-
env:*vcenv
204-
before_install:*vcpreinst
205-
install:[]
206-
script:
207-
-cmd.exe //C vcvarsall.bat x64 '&&' nmake 'OPTS=utfmax' '-f' makefile.vc all tcltest
208-
-cmd.exe //C vcvarsall.bat x64 '&&' nmake 'OPTS=utfmax' '-f' makefile.vc test
209200
-name:"Windows/MSVC/Static"
210201
os:windows
211202
compiler:cl
@@ -252,15 +243,6 @@ jobs:
252243
script:
253244
-cmd.exe //C vcvarsall.bat x86 '&&' nmake '-f' makefile.vc all tcltest
254245
-cmd.exe //C vcvarsall.bat x86 '&&' nmake '-f' makefile.vc test
255-
-name:"Windows/MSVC-x86/Shared: UTF_MAX=4"
256-
os:windows
257-
compiler:cl
258-
env:*vcenv
259-
before_install:*vcpreinst
260-
install:[]
261-
script:
262-
-cmd.exe //C vcvarsall.bat x86 '&&' nmake 'OPTS=utfmax' '-f' makefile.vc all tcltest
263-
-cmd.exe //C vcvarsall.bat x86 '&&' nmake 'OPTS=utfmax' '-f' makefile.vc test
264246
-name:"Windows/MSVC-x86/Static"
265247
os:windows
266248
compiler:cl

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#README: Tcl
22

3-
This is the**Tcl 8.6.12** source distribution.
3+
This is the**Tcl 8.6.13** source distribution.
44

55
You can get any source release of Tcl from[our distribution
66
site](https://sourceforge.net/projects/tcl/files/Tcl/).

‎changes‎

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9116,3 +9116,54 @@ See RFC 2045
91169116
2021-10-27 tzdata updated to Olson's tzdata2021e (nijtmans)
91179117

91189118
- Released 8.6.12, Nov 5, 2021 - details at https://core.tcl-lang.org/tcl/ -
9119+
9120+
2021-12-08 (update) tcltest package to version 2.5.4
9121+
9122+
2022-01-13 (bug)[26f132] Crash when sizeof(int) < sizeof(void *) (Plan 9 port)
9123+
9124+
2022-01-19 (TIP 623)[e9a271] Tcl_GetRange index args < 0 (petasis,nijtmans)
9125+
9126+
2022-03-08 (bug) test string-5.22 (porter)
9127+
9128+
2022-03-11 (bug)[8a7ec8] fat binary compile on Mac M1 (davis, nijtmans)
9129+
9130+
2022-04-04 (bug)[e5ed1b] numeric IPv6 in URLs (nijtmans)
9131+
=> http 2.9.6
9132+
9133+
2022-04-26 (bug)[27520c] test error-9.6 (goth,sebres)
9134+
9135+
2022-05-04 (bug)[8eb64b] http package tolerant again invalid reply header
9136+
9137+
2022-05-11 (bug)[6898f9] http package failed detection of shiftjis charset
9138+
9139+
2022-05-25 (bug)[76ad7a] tests string-6.13[23] (mistachkin, nijtmans)
9140+
9141+
2022-06-20 (bug)[55bf73] Avoid connection reuse after response code 101.
9142+
=> http 2.9.8
9143+
9144+
2022-07-22 (bug)[713653] FP rounding exposed by x86 musl (rubicon,sebres)
9145+
9146+
2022-07-22 More portable notation of microseconds in verbose output (sebres)
9147+
=> tcltest 2.5.5
9148+
9149+
2022-07-27 (bug)[b3977d] Process CR-LF split across packets (nadkarni,sebres)
9150+
9151+
2022-07-29 (bug)[4eb3a1] crash due to undetected bytecode invalidity (nadkarni)
9152+
9153+
2022-08-23 (new)[371080] Portability to CHERI-enabled Morello processor (jrtc27)
9154+
9155+
2022-09-06 (bug)[55a02f] Fallback init env(HOME) from USERPROFILE (nadkarni)
9156+
9157+
2022-09-13 (bug)[1073da] crash writing invalid utf-8 (nijtmans)
9158+
9159+
2022-09-14 (new) Update to Unicode-15 (nijtmans)
9160+
9161+
2022-10-14 tzdata updated to Olson's tzdata2022e (nijtmans)
9162+
9163+
Update bundled zlib to 1.2.13
9164+
9165+
Update bundled libtommath
9166+
9167+
Many code fixes to avoid overflow or undefined behavior. Thanks chrstphrchvz.
9168+
9169+
- Released 8.6.13, Nov 22, 2022 - details at https://core.tcl-lang.org/tcl/ -

‎compat/stdlib.h‎

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*This file isn't complete in the ANSI-C sense; it only declares things
66
*that are needed by Tcl. This file is needed even on many systems with
77
*their own stdlib.h (e.g. SunOS) because not all stdlib.h files declare
8-
*all the procedures needed here (such asstrtod).
8+
*all the procedures needed here (such asstrtol/strtoul).
99
*
1010
* Copyright (c) 1991 The Regents of the University of California.
1111
* Copyright (c) 1994-1998 Sun Microsystems, Inc.
@@ -21,14 +21,18 @@ extern voidabort(void);
2121
externdoubleatof(constchar*string);
2222
externintatoi(constchar*string);
2323
externlongatol(constchar*string);
24-
externchar*calloc(unsignedintnumElements,unsignedintsize);
24+
externvoid*calloc(unsignedlongnumElements,unsignedlongsize);
2525
externvoidexit(intstatus);
26-
externintfree(char*blockPtr);
26+
externvoidfree(void*blockPtr);
2727
externchar*getenv(constchar*name);
28-
externchar*malloc(unsignedintnumBytes);
29-
externvoidqsort(void*base,intn,intsize,int (*compar)(
28+
externvoid*malloc(unsignedlongnumBytes);
29+
externvoidqsort(void*base,unsigned longn,unsigned longsize,int (*compar)(
3030
constvoid*element1,constvoid*element2));
31-
externchar*realloc(char*ptr,unsignedintnumBytes);
31+
externvoid*realloc(void*ptr,unsigned longnumBytes);
32+
externchar*realpath(constchar*path,char*resolved_path);
33+
externintmkstemps(char*templ,intsuffixlen);
34+
externintmkstemp(char*templ);
35+
externchar*mkdtemp(char*templ);
3236
externlongstrtol(constchar*string,char**endPtr,intbase);
3337
externunsigned longstrtoul(constchar*string,char**endPtr,intbase);
3438

‎compat/unistd.h‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include<sys/types.h>
1818

1919
#ifndefNULL
20-
#defineNULL 0
20+
#defineNULL 0
2121
#endif
2222

2323
/*
@@ -35,9 +35,9 @@ extern intdup2(int oldfd, int newfd);
3535
externintexecl(constchar*path, ...);
3636
externintexecle(constchar*path, ...);
3737
externintexeclp(constchar*file, ...);
38-
externintexecv(constchar*path,char**argv);
39-
externintexecve(constchar*path,char**argv,char**envp);
40-
externintexecvpw(constchar*file,char**argv);
38+
externintexecv(constchar*path,char*constargv[]);
39+
externintexecve(constchar*path,char*constargv[],char*const*envp);
40+
externintexecvp(constchar*file,char*constargv[]);
4141
externpid_tfork(void);
4242
externchar*getcwd(char*buf,size_tsize);
4343
externgid_tgetegid(void);
@@ -65,7 +65,7 @@ extern intftruncate(int fd, unsigned long length);
6565
externintioctl(intfd,intrequest, ...);
6666
externintreadlink(constchar*path,char*buf,intbufsize);
6767
externintsetegid(gid_tgroup);
68-
externintseteuidw(uid_tuser);
68+
externintseteuid(uid_tuser);
6969
externintsetreuid(intruid,inteuid);
7070
externintsymlink(constchar*,constchar*);
7171
externintttyslot(void);

‎compat/zlib/CMakeLists.txt‎

Lines changed: 3 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@ set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS ON)
33

44
project(zlib C)
55

6-
set(VERSION"1.2.11")
7-
8-
option(ASM686"Enable building i686 assembly implementation")
9-
option(AMD64"Enable building amd64 assembly implementation")
6+
set(VERSION"1.2.13")
107

118
set(INSTALL_BIN_DIR"${CMAKE_INSTALL_PREFIX}/bin"CACHEPATH"Installation directory for executables")
129
set(INSTALL_LIB_DIR"${CMAKE_INSTALL_PREFIX}/lib"CACHEPATH"Installation directory for libraries")
@@ -129,39 +126,6 @@ if(NOT MINGW)
129126
)
130127
endif()
131128

132-
if(CMAKE_COMPILER_IS_GNUCC)
133-
if(ASM686)
134-
set(ZLIB_ASMS contrib/asm686/match.S)
135-
elseif (AMD64)
136-
set(ZLIB_ASMS contrib/amd64/amd64-match.S)
137-
endif ()
138-
139-
if(ZLIB_ASMS)
140-
add_definitions(-DASMV)
141-
set_source_files_properties(${ZLIB_ASMS} PROPERTIESLANGUAGE CCOMPILE_FLAGS -DNO_UNDERLINE)
142-
endif()
143-
endif()
144-
145-
if(MSVC)
146-
if(ASM686)
147-
ENABLE_LANGUAGE(ASM_MASM)
148-
set(ZLIB_ASMS
149-
contrib/masmx86/inffas32.asm
150-
contrib/masmx86/match686.asm
151-
)
152-
elseif (AMD64)
153-
ENABLE_LANGUAGE(ASM_MASM)
154-
set(ZLIB_ASMS
155-
contrib/masmx64/gvmat64.asm
156-
contrib/masmx64/inffasx64.asm
157-
)
158-
endif()
159-
160-
if(ZLIB_ASMS)
161-
add_definitions(-DASMV -DASMINF)
162-
endif()
163-
endif()
164-
165129
# parse the full version number from zlib.h and include in ZLIB_FULL_VERSION
166130
file(READ${CMAKE_CURRENT_SOURCE_DIR}/zlib.h _zlib_h_contents)
167131
string(REGEX REPLACE".*#define[\t]+ZLIB_VERSION[\t]+\"([-0-9A-Za-z.]+)\".*"
@@ -183,8 +147,8 @@ if(MINGW)
183147
set(ZLIB_DLL_SRCS${CMAKE_CURRENT_BINARY_DIR}/zlib1rc.obj)
184148
endif(MINGW)
185149

186-
add_library(zlib SHARED${ZLIB_SRCS}${ZLIB_ASMS}${ZLIB_DLL_SRCS}${ZLIB_PUBLIC_HDRS}${ZLIB_PRIVATE_HDRS})
187-
add_library(zlibstaticSTATIC${ZLIB_SRCS}${ZLIB_ASMS}${ZLIB_PUBLIC_HDRS}${ZLIB_PRIVATE_HDRS})
150+
add_library(zlib SHARED${ZLIB_SRCS}${ZLIB_DLL_SRCS}${ZLIB_PUBLIC_HDRS}${ZLIB_PRIVATE_HDRS})
151+
add_library(zlibstaticSTATIC${ZLIB_SRCS}${ZLIB_PUBLIC_HDRS}${ZLIB_PRIVATE_HDRS})
188152
set_target_properties(zlib PROPERTIESDEFINE_SYMBOL ZLIB_DLL)
189153
set_target_properties(zlib PROPERTIESSOVERSION 1)
190154

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp