From 434dbf154d973a3f8a87ab9cd41cbffb3c2ff133 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Wed, 20 May 2020 19:17:41 +0000 Subject: Update from Xcode 11.4 to 11.5: Latest one should continue to work always. --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index fddc23c..b309e51 100644 --- a/.travis.yml +++ b/.travis.yml @@ -127,9 +127,9 @@ matrix: - BUILD_DIR=unix - CFGOPT="--enable-symbols=mem" # Testing on Mac, various styles - - name: "macOS/Xcode 11.4/Shared" + - name: "macOS/Xcode 11.5/Shared" os: osx - osx_image: xcode11.4 + osx_image: xcode11.5 env: - BUILD_DIR=macosx install: [] @@ -137,9 +137,9 @@ matrix: - make all # The styles=develop avoids some weird problems on OSX - make test styles=develop - - name: "macOS/Xcode 11.4/Shared/Unix-like" + - name: "macOS/Xcode 11.5/Shared/Unix-like" os: osx - osx_image: xcode11.4 + osx_image: xcode11.5 env: - BUILD_DIR=unix # Older MacOS versions -- cgit v0.12 From 41a031557eba50a28d945644117bb7f36b7e9665 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Wed, 27 May 2020 06:31:00 +0000 Subject: Fix documentation for tcl_wordchars/tcl_nonwordchars matching the implementation. See: [f1253530cdd8]. --- doc/library.n | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/doc/library.n b/doc/library.n index 6f8f265..a5f889b 100644 --- a/doc/library.n +++ b/doc/library.n @@ -299,18 +299,13 @@ These variables are only used in the \fBtcl_endOfWord\fR, This variable contains a regular expression that is used by routines like \fBtcl_endOfWord\fR to identify whether a character is part of a word or not. If the pattern matches a character, the character is -considered to be a non-word character. On Windows platforms, spaces, -tabs, and newlines are considered non-word characters. Under Unix, -everything but numbers, letters and underscores are considered -non-word characters. +considered to be a non-word character. The default is "\W". .TP \fBtcl_wordchars\fR This variable contains a regular expression that is used by routines like \fBtcl_endOfWord\fR to identify whether a character is part of a word or not. If the pattern matches a character, the character is -considered to be a word character. On Windows platforms, words are -comprised of any character that is not a space, tab, or newline. Under -Unix, words are comprised of numbers, letters or underscores. +considered to be a word character. The default is "\w". .SH "SEE ALSO" env(n), info(n), re_syntax(n) .SH KEYWORDS -- cgit v0.12 From 4dd5bcda826982415475626e424d423e4f303ad8 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Wed, 27 May 2020 13:21:07 +0000 Subject: Escape the backslash in documentation --- doc/library.n | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/library.n b/doc/library.n index a5f889b..4dcd598 100644 --- a/doc/library.n +++ b/doc/library.n @@ -299,13 +299,13 @@ These variables are only used in the \fBtcl_endOfWord\fR, This variable contains a regular expression that is used by routines like \fBtcl_endOfWord\fR to identify whether a character is part of a word or not. If the pattern matches a character, the character is -considered to be a non-word character. The default is "\W". +considered to be a non-word character. The default is "\\W". .TP \fBtcl_wordchars\fR This variable contains a regular expression that is used by routines like \fBtcl_endOfWord\fR to identify whether a character is part of a word or not. If the pattern matches a character, the character is -considered to be a word character. The default is "\w". +considered to be a word character. The default is "\\w". .SH "SEE ALSO" env(n), info(n), re_syntax(n) .SH KEYWORDS -- cgit v0.12 From b44555477cda94fd227969fd4a281daa0a1dbb52 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Thu, 28 May 2020 09:38:51 +0000 Subject: In cookiejar, don't depend on "lrange $pieces 0 -1" doing anything useful. --- library/cookiejar/cookiejar.tcl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/cookiejar/cookiejar.tcl b/library/cookiejar/cookiejar.tcl index c8b495a..6c8e82b 100644 --- a/library/cookiejar/cookiejar.tcl +++ b/library/cookiejar/cookiejar.tcl @@ -98,7 +98,8 @@ namespace eval [info object namespace ::http::cookiejar] { } proc splitPath path { set pieces [split [string trimleft $path "/"] "/"] - for {set j -1} {$j < [llength $pieces]} {incr j} { + set result / + for {set j 0} {$j < [llength $pieces]} {incr j} { lappend result /[join [lrange $pieces 0 $j] "/"] } return $result -- cgit v0.12