QuickWho

Check-in [c56cdd5e08]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Update UI
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:c56cdd5e08844d2255c018ba8f40bad6d34aaea5
User & Date: kevin 2017-02-09 13:21:39
Context
2017-02-27
02:56
Add winlibs check-in: b9a1649983 user: kevin tags: trunk
2017-02-09
13:21
Update UI check-in: c56cdd5e08 user: kevin tags: trunk
2016-04-09
03:11
Fix corrupted AppleScript dictionary check-in: 0d340e9f73 user: kevin tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to QuickWho.py.

4
5
6
7
8
9
10

11
12
13
14
15
16
17
...
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
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
#(c) 2016 WordTech Communications LLC

##let's get started, import our modules and initialize some variables

from tkinter import *
from tkinter import font
from tkinter import filedialog

import os
import sys
from tkinter import ttk as Tile
import time
import pickle
import bwidget
import re
................................................................................
"""
        self.compassphoto = PhotoImage("compass", data=compassdata)

    #aboutwindow

    def aboutWindow(self):
       
        try:
           self.aboutwindow.destroy()
        except:
            pass

        self.aboutwindow = Toplevel(self)
        self.aboutwindow.wm_title('About QuickWho')

        aboutframe = Frame(self.aboutwindow)
        buttonframe = Frame(self.aboutwindow)
        aboutframe.pack(side=TOP, fill=BOTH, expand=YES)
        buttonframe.pack(side=BOTTOM, fill=BOTH, expand=NO)

        logolabel = Label(aboutframe, image=self.logo, bg='gray95', pady='2')
        logolabel.pack(side=TOP, expand=NO, fill=BOTH)

        label1 = Label(aboutframe, text="QuickWho 6.0", font='-weight bold', pady='2')
        label1.pack(side=TOP, expand=NO, fill=BOTH)

        label2 = Label(aboutframe, text="Internet Domains with Style", pady='2')
        label2.pack(side=TOP, expand=NO, fill=BOTH)

        label3=Label(aboutframe, text='Copyright (c) 2016 WordTech Communications LLC', pady='5')
        label3.pack(side=TOP, expand=NO, fill=BOTH)

        label4=Label(aboutframe, text='http://www.codebykevin.com/quickwho.html', fg='blue', pady='2')
        label4.pack(side=TOP, expand=NO, fill=BOTH)
        label4.bind('<1>', lambda event: self.launchurl('http://www.codebykevin.com/quickwho.html'))
        

        label5=Label(aboutframe, pady='2', text='See Acknowledgements in QuickWho Help\nfor additional credits\nand see History in QuickWho Help\nfor changes in this version')
        label5.pack(side=TOP, expand=NO, fill=BOTH)

        if self.isAqua():
            self.aboutwindow.bind("<{}-W>".format(self.accelkey), self.aboutwindow.wm_withdraw)
            self.aboutwindow.bind("<{}-w>".format(self.accelkey),self.aboutwindow.wm_withdraw)

        

    #draw the GUI
    def drawGUI(self):

        self.title('QuickWho')
        self.option_add('*tearOff', FALSE)







>







 







|
|
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<







4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
...
291
292
293
294
295
296
297
298
299



































300
301
302
303
304
305
306
#(c) 2016 WordTech Communications LLC

##let's get started, import our modules and initialize some variables

from tkinter import *
from tkinter import font
from tkinter import filedialog
from tkinter import messagebox
import os
import sys
from tkinter import ttk as Tile
import time
import pickle
import bwidget
import re
................................................................................
"""
        self.compassphoto = PhotoImage("compass", data=compassdata)

    #aboutwindow

    def aboutWindow(self):
       
        messagebox.showinfo(title='About QuickWho'   message='QuickWho: Domain Name Service' 
		icon='info' detail='Version 6.1\n(c) 2017 WordTech Communications LLC')



































        

    #draw the GUI
    def drawGUI(self):

        self.title('QuickWho')
        self.option_add('*tearOff', FALSE)

Changes to buildapp.

1
2
3
4










5
6
7
8
9
10
11
..
33
34
35
36
37
38
39
40
41
42
43
44
45
46

47
48

49
50

51
52
53

54

55
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
#!/bin/sh

echo "Starting dist process..."












python3 setup.py py2app --includes Pmw



mkdir dist/QuickWho.app/Contents/lib

................................................................................
find dist/QuickWho.app -type f -name "*.dylib"  -exec codesign --verbose --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" {} \; 

codesign  --verbose --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" dist/QuickWho.app/Contents/Frameworks/Tk.framework/Versions/8.6/Resources/Wish.app/Contents/MacOS/Wish
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


codesign  --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" --verbose=2  dist/QuickWho.app
 
echo "Compressing application..."
 
cd dist

 
tar cvfz ../QuickWho.tgz QuickWho.app


cd ../


SIZE=$(stat -f %z QuickWho.tgz)
PUBDATE=$(date +"%a, %d %b %G %T %z")




RELEASE_NOTES=$(cat changelog.txt)

cat << EOT > quickwho.xml
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" version="2.0">
  <channel>
    <title>QuickWho</title>
    <link>http://www.codebykevin.com/quickwho.html</link>
    <language>en</language>
    <item>

      <title>QuickWho $1</title>
      <sparkle:minimumSystemVersion>10.11</sparkle:minimumSystemVersion>
      <pubDate>$PUBDATE</pubDate>
      <author>Code by Kevin</author>
      <description><![CDATA[
This version of QuickWho has the following features and improvements:
$RELEASE_NOTES
      ]]></description>
      <link>http://www.codebykevin.com/quickwho.html</link>
     <enclosure
				url="http://www.codebykevin.com/updates/QuickWho.tgz"
				sparkle:version="$1"
				type="application/octet-stream"
				length="$SIZE"
			/>
    </item>

  </channel>
</rss>
EOT

if [ $2 == "release" ]
then

 echo "Building disk image and uploading to Amazon..."

 
 cd dist
 zip -r -y QuickWho.zip QuickWho.app

 cd ../

 pwd

echo "Copying app and XML file to server..."
cp -f QuickWho.tgz /Users/kevin/share/kevin/Sites/codebykevin/updates/QuickWho.tgz
cp -f quickwho.xml /Users/kevin/share/kevin/Sites/codebykevin/quickwho.xml


echo "Copying zip to Amazon S3..."
aws s3 cp dist/QuickWho.zip s3://codebykevin/QuickWho.zip --acl public-read

cd ../

#create archive of entire source tree
tar cvfz QuickWho-$1.tgz QuickWho

fi

echo "Done."







>
>
>
>
>
>
>
>
>
>







 







|



<
|
<
>
|
<
>
|
<
>
|
<
<
>
|
>
|
<
|
<
<
<
<
<
<
<
<
|
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
|
|
|
<
<
<












1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
..
43
44
45
46
47
48
49
50
51
52
53

54

55
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
#!/bin/sh

echo "Starting dist process..."

if [ -a QuickWho.dmg ]
 then
    rm QuickWho.dmg
fi

if [ -a dist ]
	then
	rm -rf dist
fi


python3 setup.py py2app --includes Pmw



mkdir dist/QuickWho.app/Contents/lib

................................................................................
find dist/QuickWho.app -type f -name "*.dylib"  -exec codesign --verbose --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" {} \; 

codesign  --verbose --signature-size 9400 -f -s "Developer ID Application: Kevin Walzer" dist/QuickWho.app/Contents/Frameworks/Tk.framework/Versions/8.6/Resources/Wish.app/Contents/MacOS/Wish
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



echo "Uploading DMG..."

cp -f QuickWho.dmg /Users/kevin/share/kevin/Sites/codebykevin/updates/QuickWho.dmg















































cp -f quickwho-changes.tcl /Users/kevin/share/kevin/Sites/codebykevin/quickwho-changes.tcl
cp -f quickwho-version.tcl /Users/kevin/share/kevin/Sites/codebykevin/quickwho-version.tcl





cd ../

#create archive of entire source tree
tar cvfz QuickWho-$1.tgz QuickWho

fi

echo "Done."