Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Update softwareupdate lib |
---|---|
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
0f6ca17326c55b0f34b931f1dc8ec938 |
User & Date: | kevin 2018-04-22 02:18:23 |
Context
2018-04-22
| ||
02:25 | Update Windows bits check-in: fb78a64938 user: kevin tags: trunk | |
02:18 | Update softwareupdate lib check-in: 0f6ca17326 user: kevin tags: trunk | |
2018-04-21
| ||
18:50 | Update to 4.2 for macOS check-in: fa050b0465 user: kevin tags: trunk | |
Changes
Changes to Info-cbk.plist.
1 2 3 4 5 6 7 8 9 | <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CFBundleDevelopmentRegion</key> <string>English</string> <key>CFBundleExecutable</key> <string>TextSweep</string> <key>CFBundleGetInfoString</key> | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CFBundleDevelopmentRegion</key> <string>English</string> <key>CFBundleExecutable</key> <string>TextSweep</string> <key>CFBundleGetInfoString</key> <string>TextSweep 4.2.0 (c) 2018 WordTech Communications LLC</string> <key>NSPrincipalClass</key> <string>NSApplication</string> <key>NSHighResolutionCapable</key> <true/> <key>NSAppleScriptEnabled</key> <true/> <key>OSAScriptingDefinition</key> |
︙ | ︙ | |||
56 57 58 59 60 61 62 | <key>CFBundleDisplayName</key> <string>TextSweep</string> <key>CFBundleIdentifier</key> <string>com.codebykevin.com.textsweep-cbk</string> <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleShortVersionString</key> | | | | 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | <key>CFBundleDisplayName</key> <string>TextSweep</string> <key>CFBundleIdentifier</key> <string>com.codebykevin.com.textsweep-cbk</string> <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleShortVersionString</key> <string>4.2.0</string> <key>CFBundleVersion</key> <string>4.2.0</string> <key>LSMinimumSystemVersion</key> <string>10.13</string> <key>LSRequiresCarbon</key> <true/> <key>NSSupportsAutomaticTermination</key> <string>YES</string> <key>NSSupportsSuddenTermination</key> <string>YES</string> <key>SUFeedURL</key> <string>http://www.codebykevin.com/textsweep.xml</string> </dict> </plist> |
Changes to buildapp.
︙ | ︙ | |||
158 159 160 161 162 163 164 | hdiutil create -srcfolder build -fs HFS+ -volname TextSweep TextSweep.dmg codesign --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" --verbose=2 TextSweep.dmg echo "Uploading DMG..." | | > > < < | 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 | hdiutil create -srcfolder build -fs HFS+ -volname TextSweep TextSweep.dmg codesign --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" --verbose=2 TextSweep.dmg echo "Uploading DMG..." upload TextSweep.dmg updates upload textsweep-changes.tcl upload texstsweep-version.tcl cd ../ #create archive of entire source tree tar cvfz TextSweep-$1.tgz TextSweep echo "Done." |
Changes to scriptlibs/softwareupdate/softwareupdate.tcl.
1 2 3 4 5 6 7 8 | #softwareupdate.tcl routines to manage spoftware updates # Copyright (C) 2014 WordTech Communications LLC #MIT license package provide softwareupdate 1.5 package require http | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #softwareupdate.tcl routines to manage spoftware updates # Copyright (C) 2014 WordTech Communications LLC #MIT license package provide softwareupdate 1.5 package require http package require tls ::http::register https 443 [list ::tls::socket -servername codebykevin.com -request 0 -require 0 -ssl2 0 -ssl3 0 -tls1 1] namespace eval softwareupdate { if {![info exists library]} { variable library [file dirname [info script]] |
︙ | ︙ | |||
61 62 63 64 65 66 67 | variable currentversion variable versionnumber set appname $app softwareupdate::checkingForUpdates | | | | 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | variable currentversion variable versionnumber set appname $app softwareupdate::checkingForUpdates set versionurl [string tolower https://www.codebykevin.com/$appname-version.tcl] http::config -useragent "$appname Update Check" if [catch {http::geturl $versionurl} msg] { if {[tk windowingsystem] ne "win32"} { puts "error: $msg"} tk_messageBox -icon warning -title "Unable to Connect to Server" -message "Unable to Connect to Server" -detail "Unable to connect to www.codebykevin.com to check for updates. Please make sure you are connected to the Internet." -parent . catch {destroy .updateprogress} return } set versionnumber [string trim [http::data [http::geturl $versionurl]]] if [expr $currentversion < $versionnumber] { |
︙ | ︙ | |||
130 131 132 133 134 135 136 | catch {destroy .updateprogress} catch {destroy .update} variable appname | | | | 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 | catch {destroy .updateprogress} catch {destroy .update} variable appname set changeurl [string tolower https://www.codebykevin.com/$appname-changes.tcl] if [catch {http::geturl $changeurl} msg] { if {[tk windowingsystem] ne "win32"} { puts "error: $msg"} tk_messageBox -icon warning -title "Unable to Connect to Server" -message "Unable to Connect to Server" -detail "Unable to connect to www.codebykevin.com to check for updates. Please make sure you are connected to the Internet." -parent . catch {destroy .updateprogress} return } set changelist [http::data [http::geturl $changeurl]] |
︙ | ︙ |
Changes to textsweep-changes.tcl.
|
| | | | 1 2 | * Migrate to new source code server. * Minor bug fixes. |
Changes to textsweep-version.tcl.
|
| | | 1 | 4.2 |