Skip to content

Commit dbab817

Browse files
author
Git for Windows Build Agent
committed
Update 5 packages
mingw-w64-i686-tcl (8.6.16-1 -> 8.6.17-1) mingw-w64-i686-tk (8.6.16-1 -> 8.6.17-1) mingw-w64-x86_64-tcl (8.6.16-1 -> 8.6.17-1) mingw-w64-x86_64-tk (8.6.16-1 -> 8.6.17-1) perl-URI (5.32-1 -> 5.34-1) Signed-off-by: Git for Windows Build Agent <[email protected]>
1 parent d329606 commit dbab817

File tree

400 files changed

+1822
-1330
lines changed

Some content is hidden

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

400 files changed

+1822
-1330
lines changed

mingw32/bin/sqlite3_analyzer.sh

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,16 @@ Options:
7979
}
8080
exit 1
8181
}
82+
83+
# Exit with given code, but first close db if open.
84+
#
85+
proc exit_clean {exit_code} {
86+
if {0 < [llength [info commands db]]} {
87+
db close
88+
}
89+
exit $exit_code
90+
}
91+
8292
set file_to_analyze {}
8393
set flags(-pageinfo) 0
8494
set flags(-stats) 0
@@ -162,7 +172,7 @@ if {![db exists {SELECT 1 FROM pragma_compile_options
162172
lacks required capabilities. Recompile using the\
163173
-DSQLITE_ENABLE_DBSTAT_VTAB compile-time option to fix\
164174
this problem."
165-
exit 1
175+
exit_clean 1
166176
}
167177
168178
db eval {SELECT count(*) FROM sqlite_schema}
@@ -173,7 +183,7 @@ if {$flags(-pageinfo)} {
173183
db eval {SELECT name, path, pageno FROM temp.stat ORDER BY pageno} {
174184
puts "$pageno $name $path"
175185
}
176-
exit 0
186+
exit_clean 0
177187
}
178188
if {$flags(-stats)} {
179189
db eval {CREATE VIRTUAL TABLE temp.stat USING dbstat}
@@ -203,7 +213,7 @@ if {$flags(-stats)} {
203213
puts "INSERT INTO stats VALUES($x);"
204214
}
205215
puts "COMMIT;"
206-
exit 0
216+
exit_clean 0
207217
}
208218
209219
@@ -586,6 +596,7 @@ set inuse_pgcnt [expr {wide([mem eval $sql])}]
586596
set inuse_percent [percent $inuse_pgcnt $file_pgcnt]
587597
588598
set free_pgcnt [expr {$file_pgcnt-$inuse_pgcnt-$av_pgcnt}]
599+
if {$file_bytes>1073741824 && $free_pgcnt>0} {incr free_pgcnt -1}
589600
set free_percent [percent $free_pgcnt $file_pgcnt]
590601
set free_pgcnt2 [db one {PRAGMA freelist_count}]
591602
set free_percent2 [percent $free_pgcnt2 $file_pgcnt]
@@ -600,6 +611,7 @@ set nindex [db eval {SELECT count(*) FROM sqlite_schema WHERE type='index'}]
600611
set sql {SELECT count(*) FROM sqlite_schema WHERE name LIKE 'sqlite_autoindex%'}
601612
set nautoindex [db eval $sql]
602613
set nmanindex [expr {$nindex-$nautoindex}]
614+
set nwithoutrowid [db eval {SELECT count(*) FROM pragma_table_list WHERE wr}]
603615
604616
# set total_payload [mem eval "SELECT sum(payload) FROM space_used"]
605617
set user_payload [mem one {SELECT int(sum(payload)) FROM space_used
@@ -618,6 +630,7 @@ statline {Pages on the freelist (per header)} $free_pgcnt2 $free_percent2
618630
statline {Pages on the freelist (calculated)} $free_pgcnt $free_percent
619631
statline {Pages of auto-vacuum overhead} $av_pgcnt $av_percent
620632
statline {Number of tables in the database} $ntable
633+
statline {Number of WITHOUT ROWID tables} $nwithoutrowid
621634
statline {Number of indices} $nindex
622635
statline {Number of defined indices} $nmanindex
623636
statline {Number of implied indices} $nautoindex
@@ -676,6 +689,14 @@ if {$nindex>0} {
676689
subreport {All tables and indices} 1 0
677690
}
678691
subreport {All tables} {NOT is_index} 0
692+
if {$nwithoutrowid>0} {
693+
subreport {All WITHOUT ROWID tables} {is_without_rowid} 0
694+
set nrowidtab [db eval {SELECT count(*) FROM pragma_table_list
695+
WHERE type='table' AND NOT wr}]
696+
if {$nrowidtab>0} {
697+
subreport {ALL rowid tables} {NOT is_without_rowid AND NOT is_index} 0
698+
}
699+
}
679700
if {$nindex>0} {
680701
subreport {All indices} {is_index} 0
681702
}
@@ -895,5 +916,7 @@ puts "COMMIT;"
895916
} err]} {
896917
puts "ERROR: $err"
897918
puts $errorInfo
898-
exit 1
919+
exit_clean 1
899920
}
921+
922+
exit_clean 0

mingw32/bin/tcl86.dll

9.17 KB
Binary file not shown.

mingw32/bin/tclsh.exe

512 Bytes
Binary file not shown.

mingw32/bin/tclsh86.exe

512 Bytes
Binary file not shown.

mingw32/bin/tk86.dll

35 Bytes
Binary file not shown.

mingw32/bin/wish.exe

0 Bytes
Binary file not shown.

mingw32/bin/wish86.exe

0 Bytes
Binary file not shown.

mingw32/include/itcl.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ extern "C" {
8282
#define ITCL_MAJOR_VERSION 4
8383
#define ITCL_MINOR_VERSION 3
8484
#define ITCL_RELEASE_LEVEL TCL_FINAL_RELEASE
85-
#define ITCL_RELEASE_SERIAL 2
85+
#define ITCL_RELEASE_SERIAL 4
8686

8787
#define ITCL_VERSION "4.3"
88-
#define ITCL_PATCH_LEVEL "4.3.2"
88+
#define ITCL_PATCH_LEVEL "4.3.4"
8989

9090

9191
/*

mingw32/include/itclDecls.h

Lines changed: 30 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,14 @@ ITCLAPI const char *Itcl_InitStubs(
1515

1616
#endif
1717

18+
#if (TCL_MAJOR_VERSION < 9) && defined(TCL_MINOR_VERSION) && (TCL_MINOR_VERSION < 7)
19+
# define Tcl_ObjCmdProc2 Tcl_ObjCmdProc
20+
#endif
1821

1922
/* !BEGIN!: Do not edit below this line. */
2023

2124
#define ITCL_STUBS_EPOCH 0
22-
#define ITCL_STUBS_REVISION 152
25+
#define ITCL_STUBS_REVISION 157
2326

2427
#ifdef __cplusplus
2528
extern "C" {
@@ -29,8 +32,15 @@ extern "C" {
2932
* Exported function declarations:
3033
*/
3134

32-
/* Slot 0 is reserved */
33-
/* Slot 1 is reserved */
35+
/* 0 */
36+
ITCLAPI int Itcl_RegisterObjC2(Tcl_Interp *interp,
37+
const char *name, Tcl_ObjCmdProc2 *proc,
38+
void *clientData,
39+
Tcl_CmdDeleteProc *deleteProc);
40+
/* 1 */
41+
ITCLAPI int Itcl_FindC2(Tcl_Interp *interp, const char *name,
42+
Tcl_ObjCmdProc2 **objProcPtr,
43+
void **cDataPtr);
3444
/* 2 */
3545
ITCLAPI int Itcl_RegisterC(Tcl_Interp *interp, const char *name,
3646
Tcl_CmdProc *proc, void *clientData,
@@ -102,8 +112,8 @@ typedef struct ItclStubs {
102112
int revision;
103113
const ItclStubHooks *hooks;
104114

105-
void (*reserved0)(void);
106-
void (*reserved1)(void);
115+
int (*itcl_RegisterObjC2) (Tcl_Interp *interp, const char *name, Tcl_ObjCmdProc2 *proc, void *clientData, Tcl_CmdDeleteProc *deleteProc); /* 0 */
116+
int (*itcl_FindC2) (Tcl_Interp *interp, const char *name, Tcl_ObjCmdProc2 **objProcPtr, void **cDataPtr); /* 1 */
107117
int (*itcl_RegisterC) (Tcl_Interp *interp, const char *name, Tcl_CmdProc *proc, void *clientData, Tcl_CmdDeleteProc *deleteProc); /* 2 */
108118
int (*itcl_RegisterObjC) (Tcl_Interp *interp, const char *name, Tcl_ObjCmdProc *proc, void *clientData, Tcl_CmdDeleteProc *deleteProc); /* 3 */
109119
int (*itcl_FindC) (Tcl_Interp *interp, const char *name, Tcl_CmdProc **argProcPtr, Tcl_ObjCmdProc **objProcPtr, void **cDataPtr); /* 4 */
@@ -144,8 +154,10 @@ extern const ItclStubs *itclStubsPtr;
144154
* Inline function declarations:
145155
*/
146156

147-
/* Slot 0 is reserved */
148-
/* Slot 1 is reserved */
157+
#define Itcl_RegisterObjC2 \
158+
(itclStubsPtr->itcl_RegisterObjC2) /* 0 */
159+
#define Itcl_FindC2 \
160+
(itclStubsPtr->itcl_FindC2) /* 1 */
149161
#define Itcl_RegisterC \
150162
(itclStubsPtr->itcl_RegisterC) /* 2 */
151163
#define Itcl_RegisterObjC \
@@ -203,4 +215,15 @@ extern const ItclStubs *itclStubsPtr;
203215

204216
/* !END!: Do not edit above this line. */
205217

218+
#if (TCL_MAJOR_VERSION < 9)
219+
# if defined(TCL_MINOR_VERSION) && (TCL_MINOR_VERSION < 7)
220+
# undef Tcl_ObjCmdProc2
221+
# endif
222+
# undef Itcl_RegisterObjC2
223+
# define Itcl_RegisterObjC2 Itcl_RegisterObjC
224+
# undef Itcl_FindC2
225+
# define Itcl_FindC2(interp, name, objProcPtr, cDataPtr) \
226+
Itcl_FindC(interp, name, NULL, objProcPtr, cDataPtr)
227+
#endif
228+
206229
#endif /* _ITCLDECLS */

0 commit comments

Comments
 (0)