Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Revbump to 6.1 |
---|---|
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
2650e50aed42fe4d2645f967a6a740cf |
User & Date: | kevin 2017-02-27 03:27:07 |
Context
2017-02-27
| ||
03:47 | More minor tweaks check-in: 1b43838aa8 user: kevin tags: trunk | |
03:27 | Revbump to 6.1 check-in: 2650e50aed user: kevin tags: trunk | |
02:56 | Add winlibs check-in: b9a1649983 user: kevin tags: trunk | |
Changes
Changes to buildapp.
︙ | ︙ | |||
46 47 48 49 50 51 52 53 54 55 56 57 58 59 | codesign --verbose --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" dist/QuickWho.app/Contents/Frameworks/Tk.framework/Versions/Current codesign --verbose --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" dist/QuickWho.app/Contents/Frameworks/Tcl.framework/Versions/Current codesign --verbose --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" dist/QuickWho.app/Contents/Frameworks/Python.framework/Versions/Current codesign --verbose --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" dist/QuickWho.app/Contents/MacOS/python xattr -cr dist/QuickWho.app codesign --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" --verbose=2 dist/QuickWho.app echo "Creating and signing DMG file..." hdiutil create -srcfolder dist -fs HFS+ -volname QuickWho QuickWho.dmg codesign --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" --verbose=2 QuickWho.dmg | > > > > > | 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | codesign --verbose --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" dist/QuickWho.app/Contents/Frameworks/Tk.framework/Versions/Current codesign --verbose --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" dist/QuickWho.app/Contents/Frameworks/Tcl.framework/Versions/Current codesign --verbose --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" dist/QuickWho.app/Contents/Frameworks/Python.framework/Versions/Current codesign --verbose --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" dist/QuickWho.app/Contents/MacOS/python xattr -cr dist/QuickWho.app codesign --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" --verbose=2 dist/QuickWho.app cp readme.txt dist/readme.txt cd dist ln -s /Applications Applications cd ../ echo "Creating and signing DMG file..." hdiutil create -srcfolder dist -fs HFS+ -volname QuickWho QuickWho.dmg codesign --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" --verbose=2 QuickWho.dmg |
︙ | ︙ |
Changes to scriptlibs/machelp/help.txt.
︙ | ︙ | |||
103 104 105 106 107 108 109 110 111 112 113 114 115 116 | * Help viewer by Keith Vetter: [http://wiki.tcl.tk/19649]. * pythonwhois library. Website and license: [https://pypi.python.org/pypi/pythonwhois/2.4.3] ------------------- title: QuickWho Version History alias: History '''6.0 (May 1, 2016):''' * Updated whois library returns much better results. * Update to Python 3 modernizes development. * Initial port to Windows. * Update of geo-ip web service. '''5.1 (April 15, 2014):''' | > > > > | 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | * Help viewer by Keith Vetter: [http://wiki.tcl.tk/19649]. * pythonwhois library. Website and license: [https://pypi.python.org/pypi/pythonwhois/2.4.3] ------------------- title: QuickWho Version History alias: History '''6.1 (March 1, 2017):''' * Improved security on software updates. * Minor UI enhancements. '''6.0 (May 1, 2016):''' * Updated whois library returns much better results. * Update to Python 3 modernizes development. * Initial port to Windows. * Update of geo-ip web service. '''5.1 (April 15, 2014):''' |
︙ | ︙ | |||
182 183 184 185 186 187 188 | title: License alias: License '''The MIT License (MIT)''' QuickWho source code: [http://fossil.codebykevin.com/fossil.cgi/quickwho/] | | | 186 187 188 189 190 191 192 193 194 195 196 197 198 199 | title: License alias: License '''The MIT License (MIT)''' QuickWho source code: [http://fossil.codebykevin.com/fossil.cgi/quickwho/] Copyright (c) 2017 WordTech Communications LLC Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
Changes to scriptlibs/softwareupdate/pkgIndex.tcl.
1 2 3 4 5 6 7 8 9 10 | # Tcl package index file, version 1.1 # This file is generated by the "pkg_mkIndex" command # and sourced either when an application starts up or # by a "package unknown" script. It invokes the # "package ifneeded" command to set up package-related # information so that packages will be loaded automatically # in response to "package require" commands. When this # script is sourced, the variable $dir must contain the # full path name of this file's directory. | | | 1 2 3 4 5 6 7 8 9 10 11 | # Tcl package index file, version 1.1 # This file is generated by the "pkg_mkIndex" command # and sourced either when an application starts up or # by a "package unknown" script. It invokes the # "package ifneeded" command to set up package-related # information so that packages will be loaded automatically # in response to "package require" commands. When this # script is sourced, the variable $dir must contain the # full path name of this file's directory. package ifneeded softwareupdate 1.5 [list source [file join $dir softwareupdate.tcl]] |
Changes to scriptlibs/softwareupdate/softwareupdate.tcl.
1 2 3 4 5 6 | #softwareupdate.tcl routines to manage spoftware updates # Copyright (C) 2014 WordTech Communications LLC #MIT license | | | > > < | 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 27 28 29 30 31 32 33 34 35 | #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 -tls1 1] ;# "-tls1 1" is required since [POODLE] namespace eval softwareupdate { if {![info exists library]} { variable library [file dirname [info script]] } variable icon variable appname variable tmpdir variable currentinstall variable versionnumber switch [tk windowingsystem] { "aqua" { set tmpdir $::env(TMPDIR) } "win32" { set tmpdir $::env(TMP) } "x11" { |
︙ | ︙ | |||
55 56 57 58 59 60 61 | #check version of installed software proc checkVersion {app version} { variable appversion variable appname variable currentversion variable versionnumber | < < < < < | < < | < < < | < < | < < < < < < < < < < | | | | | < < | < < < < < < < < < < < < | 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | #check version of installed software proc checkVersion {app version} { variable appversion variable appname variable currentversion variable versionnumber set appname $app softwareupdate::checkingForUpdates set versionurl https://www.codebykevin.com/$appname-version.tcl http::config -useragent "$appname Update Check" if [catch {http::geturl $versionurl} msg] { 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] { softwareupdate::updatePitch } else { softwareupdate::upToDate } } #define the current version of the software proc setVersion {app number} { |
︙ | ︙ | |||
149 150 151 152 153 154 155 | } } return $currentinstall } | < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < | < < < | < < < < | < < | < < | < | | < < | < < < < < < | < < | | | | | < | < < | < | | | < < < | < < < < | < < < | < < | 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 | } } return $currentinstall } #prompt user to update proc updatePitch {} { variable appname variable icon variable changedata variable currentversion variable versionnumber catch {destroy .updateprogress} catch {destroy .update} variable appname set changeurl https://www.codebykevin.com/$appname-changes.tcl if [catch {http::geturl $changeurl} msg] { 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]] set updateanswer [tk_messageBox -title "Update" -icon info -message "Update Available" -detail "A new version ($softwareupdate::versionnumber) of $appname is available.\n\nThis new version features the following updates and changes:\n\n$changelist\n\nWould you like to install it? " -type yesno -parent .] switch -- $updateanswer { yes { softwareupdate::installUpdate } no { destroy $updateanswer return } } } #"busy" dialog proc checkingForUpdates {} { variable appname variable icon catch {destroy .updateprogress} |
︙ | ︙ | |||
415 416 417 418 419 420 421 | softwareupdate::progressDialog set status "Downloading update for $appname" switch [tk windowingsystem] { "aqua" { | | | < | | > > | > | 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 | softwareupdate::progressDialog set status "Downloading update for $appname" switch [tk windowingsystem] { "aqua" { http::geturl https://www.codebykevin.com/updates/[list $appname].dmg -channel [open $tmpdir/[list $appname].dmg w] update after 1000 cd $tmpdir set status "Attaching [list $appname].dmg" update exec hdiutil attach [list $appname].dmg } "win32" { http::geturl https://www.codebykevin.com/updates/[list $appname]_Setup.exe -channel [open $tmpdir/[list $appname]_Setup.exe w] } "x11" { tk_messageBox -icon info -parent . -message "Please ask the maintainer of $appname on your platform to prepare a release of the latest version." return } } set status "Ready to install" .downloadprogress.frame.bar configure -mode determinate .downloadprogress.frame.bar configure -value 100 |
︙ | ︙ | |||
455 456 457 458 459 460 461 | variable currentinstall variable appname variable tmpdir switch [tk windowingsystem] { "aqua" { | < < < < < | | | < > | > > > > > > > | < < < | 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 | variable currentinstall variable appname variable tmpdir switch [tk windowingsystem] { "aqua" { file rename -force $currentinstall [file join /Users [exec whoami] .Trash [file tail $currentinstall]] file copy -force /Volumes/[list $appname]/[list $appname].app $currentinstall exec $currentinstall/Contents/MacOS/$appname & exec hdiutil detach /Volumes/[list $appname] exit } "win32" { eval exec [auto_execok start] [file normalize $tmpdir/[list $appname]_Setup.exe] & exit } "x11" { tk_messageBox -icon info -parent . -message "Please ask the maintainer of $appname on your platform to prepare a release of the latest version." return } } catch {destroy .downloadprogress} } namespace export * } |