You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
(45) |
May
(185) |
Jun
|
Jul
(36) |
Aug
(205) |
Sep
(98) |
Oct
(107) |
Nov
(6) |
Dec
(3) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(1) |
Feb
(2) |
Mar
(19) |
Apr
(26) |
May
(18) |
Jun
|
Jul
(12) |
Aug
(16) |
Sep
(22) |
Oct
(7) |
Nov
(11) |
Dec
(74) |
2006 |
Jan
(14) |
Feb
(1) |
Mar
(3) |
Apr
(3) |
May
(14) |
Jun
(5) |
Jul
(20) |
Aug
(10) |
Sep
(1) |
Oct
|
Nov
(4) |
Dec
(1) |
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
(14) |
Aug
|
Sep
|
Oct
(6) |
Nov
(1) |
Dec
|
From: Kevin A. <ka...@us...> - 2004-08-22 18:45:11
|
Update of /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21139/tools/resourceEditor/modules Modified Files: backgroundInfoDialog.py Log Message: added colorFromString to util.py added backgroundInfoDialog function wrapper Index: backgroundInfoDialog.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules/backgroundInfoDialog.py,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** backgroundInfoDialog.py 12 Aug 2004 19:14:23 -0000 1.13 --- backgroundInfoDialog.py 22 Aug 2004 18:44:54 -0000 1.14 *************** *** 5,9 **** """ ! from PythonCard import dialog, model import os --- 5,9 ---- """ ! from PythonCard import dialog, model, util import os *************** *** 60,61 **** --- 60,89 ---- self.components.fldIcon.text = filename + + def backgroundInfoDialog(parent, rsrc): + dlg = BackgroundInfoDialog(parent, rsrc) + result = dlg.showModal() + if result.accepted: + result.name = dlg.components.fldName.text + result.title = dlg.components.fldTitle.text + result.position = eval(dlg.components.fldPosition.text) + result.size = eval(dlg.components.fldSize.text) + result.statusBar = dlg.components.chkStatusBar.checked + result.foregroundColor = util.colorFromString(dlg.components.fldForegroundColor.text) + result.backgroundColor = util.colorFromString(dlg.components.fldBackgroundColor.text) + if dlg.components.fldImage.text != '': + result.image = dlg.components.fldImage.text + else: + result.image = None + result.tiled = dlg.components.chkTiled.checked + result.visible = dlg.components.chkVisible.checked + if dlg.components.chkResizeable.checked: + result.style = ['resizeable'] + else: + result.style = [] + if dlg.components.fldIcon.text != '': + result.icon = dlg.components.fldIcon.text + else: + result.icon = None + dlg.destroy() + return result |
From: Kevin A. <ka...@us...> - 2004-08-22 18:45:11
|
Update of /cvsroot/pythoncard/PythonCard/tools/resourceEditor In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21139/tools/resourceEditor Modified Files: resourceEditor.py Log Message: added colorFromString to util.py added backgroundInfoDialog function wrapper Index: resourceEditor.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/resourceEditor/resourceEditor.py,v retrieving revision 1.208 retrieving revision 1.209 diff -C2 -d -r1.208 -r1.209 *** resourceEditor.py 16 Aug 2004 20:26:12 -0000 1.208 --- resourceEditor.py 22 Aug 2004 18:44:53 -0000 1.209 *************** *** 18,22 **** from PythonCard.templates.dialogs import runOptionsDialog ! from modules.backgroundInfoDialog import BackgroundInfoDialog from modules import stackInfoDialog from modules import menuDialog --- 18,22 ---- from PythonCard.templates.dialogs import runOptionsDialog ! from modules import backgroundInfoDialog from modules import stackInfoDialog from modules import menuDialog *************** *** 1287,1332 **** background.position = self.GetPositionTuple() background.size = self.GetSizeTuple() ! dlg = BackgroundInfoDialog(self, background) ! result = dlg.showModal() if result.accepted: ! background.name = dlg.components.fldName.text ! background.title = dlg.components.fldTitle.text ! background.position = eval(dlg.components.fldPosition.text) ! background.size = eval(dlg.components.fldSize.text) ! background.statusBar = dlg.components.chkStatusBar.checked ! # use same color/eval algorithm as onSelectUpdate of PropertyEditor in debug.py ! if dlg.components.fldForegroundColor.text != '': ! value = dlg.components.fldForegroundColor.text ! try: ! background.foregroundColor = eval(value) ! except: ! background.foregroundColor = value ! else: ! background.foregroundColor = None ! if dlg.components.fldBackgroundColor.text != '': ! value = dlg.components.fldBackgroundColor.text ! try: ! background.backgroundColor = eval(value) ! except: ! background.backgroundColor = value ! else: ! background.backgroundColor = None ! if dlg.components.fldImage.text != '': ! background.image = dlg.components.fldImage.text ! else: ! background.image = None ! background.tiled = dlg.components.chkTiled.checked ! background.visible = dlg.components.chkVisible.checked ! if dlg.components.chkResizeable.checked: ! background.style = ['resizeable'] ! else: ! background.style = [] ! if dlg.components.fldIcon.text != '': ! background.icon = dlg.components.fldIcon.text ! else: ! background.icon = None self.updatePanel(self.rsrc) self.documentChanged = True - dlg.destroy() # need to change the logic so that self.rsrc --- 1287,1306 ---- background.position = self.GetPositionTuple() background.size = self.GetSizeTuple() ! result = backgroundInfoDialog.backgroundInfoDialog(self, background) if result.accepted: ! background.name = result.name ! background.title = result.title ! background.position = result.position ! background.size = result.size ! background.statusBar = result.statusBar ! background.foregroundColor = result.foregroundColor ! background.backgroundColor = result.backgroundColor ! background.image = result.image ! background.tiled = result.tiled ! background.visible = result.visible ! background.style = result.style ! background.icon = result.icon self.updatePanel(self.rsrc) self.documentChanged = True # need to change the logic so that self.rsrc |
From: Kevin A. <ka...@us...> - 2004-08-22 18:45:04
|
Update of /cvsroot/pythoncard/PythonCard/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21139/docs Modified Files: changelog.txt Log Message: added colorFromString to util.py added backgroundInfoDialog function wrapper Index: changelog.txt =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/changelog.txt,v retrieving revision 1.302 retrieving revision 1.303 diff -C2 -d -r1.302 -r1.303 *** changelog.txt 20 Aug 2004 22:03:29 -0000 1.302 --- changelog.txt 22 Aug 2004 18:44:53 -0000 1.303 *************** *** 3,6 **** --- 3,7 ---- Release 0.8.1 2004-09-?? + added colorFromString to util.py added main_is_frozen workaround for bundlebuilder standalones on Mac |
From: Kevin A. <ka...@us...> - 2004-08-22 18:45:04
|
Update of /cvsroot/pythoncard/PythonCard In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21139 Modified Files: util.py Log Message: added colorFromString to util.py added backgroundInfoDialog function wrapper Index: util.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/util.py,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** util.py 22 Aug 2004 17:25:58 -0000 1.29 --- util.py 22 Aug 2004 18:44:53 -0000 1.30 *************** *** 343,344 **** --- 343,363 ---- os.spawnv(os.P_NOWAIT, python, [pythonQuoted, filename] + args) """ + + + def colorFromString(s): + s = s.strip() + if s == '': + color = None + elif (s.startswith('(') and s.endswith(')')) or (s.startswith('[') and s.endswith(']')): + # assume a color tuple + try: + r, g, b = s[1:-1].split(',') + color = (int(r), int(g), int(b)) + except: + color = None + else: + # assume color string such as blue or #0000FF + # we could do further verification here + # to avoid an exception being thrown when color is set + color = s + return color |
From: Kevin A. <ka...@us...> - 2004-08-22 17:26:10
|
Update of /cvsroot/pythoncard/PythonCard In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29872 Modified Files: util.py Log Message: updated for new py2exe Index: util.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/util.py,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** util.py 20 Aug 2004 22:03:29 -0000 1.28 --- util.py 22 Aug 2004 17:25:58 -0000 1.29 *************** *** 18,25 **** return not sys.executable == '/System/Library/Frameworks/Python.framework/Versions/2.3/Resources/Python.app/Contents/MacOS/Python' else: ! return (hasattr(sys, "importers") # py2exe ! or imp.is_frozen("__main__") # cx_freeze or tools/freeze ! or hasattr(sys, "frozen") # McMillan installer ! ) # this is how I expected os.path.dirname to work --- 18,29 ---- return not sys.executable == '/System/Library/Frameworks/Python.framework/Versions/2.3/Resources/Python.app/Contents/MacOS/Python' else: ! return (hasattr(sys, "frozen") or # new py2exe, McMillan ! hasattr(sys, "importers") # old py2exe ! or imp.is_frozen("__main__")) # tools/freeze, cx_freeze ! ! def get_main_dir(): ! if main_is_frozen(): ! return os.path.dirname(sys.executable) ! return os.path.dirname(sys.argv[0]) # this is how I expected os.path.dirname to work |
From: Kevin A. <ka...@us...> - 2004-08-20 22:03:38
|
Update of /cvsroot/pythoncard/PythonCard/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8379/docs Modified Files: changelog.txt Log Message: added main_is_frozen workaround for Mac Index: changelog.txt =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/changelog.txt,v retrieving revision 1.301 retrieving revision 1.302 diff -C2 -d -r1.301 -r1.302 *** changelog.txt 20 Aug 2004 00:20:49 -0000 1.301 --- changelog.txt 20 Aug 2004 22:03:29 -0000 1.302 *************** *** 3,6 **** --- 3,7 ---- Release 0.8.1 2004-09-?? + added main_is_frozen workaround for bundlebuilder standalones on Mac |
From: Kevin A. <ka...@us...> - 2004-08-20 22:03:38
|
Update of /cvsroot/pythoncard/PythonCard In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8379 Modified Files: util.py Log Message: added main_is_frozen workaround for Mac Index: util.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/util.py,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** util.py 12 Aug 2004 19:10:04 -0000 1.27 --- util.py 20 Aug 2004 22:03:29 -0000 1.28 *************** *** 14,21 **** # if a module is running standalone def main_is_frozen(): ! return (hasattr(sys, "importers") # py2exe ! or imp.is_frozen("__main__") # cx_freeze or tools/freeze ! or hasattr(sys, "frozen") # McMillan installer ! ) # this is how I expected os.path.dirname to work --- 14,25 ---- # if a module is running standalone def main_is_frozen(): ! if sys.platform == 'darwin': ! # this is a temporary hack for bundlebuilder ! return not sys.executable == '/System/Library/Frameworks/Python.framework/Versions/2.3/Resources/Python.app/Contents/MacOS/Python' ! else: ! return (hasattr(sys, "importers") # py2exe ! or imp.is_frozen("__main__") # cx_freeze or tools/freeze ! or hasattr(sys, "frozen") # McMillan installer ! ) # this is how I expected os.path.dirname to work |
From: Kevin A. <ka...@us...> - 2004-08-20 22:01:29
|
Update of /cvsroot/pythoncard/PythonCard/tools/codeEditor In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7915 Modified Files: macbuild.py Log Message: added config files for systems that wouldn't already have pythoncard_config Index: macbuild.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/codeEditor/macbuild.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** macbuild.py 18 Aug 2004 16:24:56 -0000 1.6 --- macbuild.py 20 Aug 2004 22:01:20 -0000 1.7 *************** *** 39,42 **** --- 39,45 ---- myapp.resources.append(os.path.join(packageroot, "..", "..", "templates", "dialogs", "runOptionsDialog.rsrc.py")) + myapp.resources.append(os.path.join(packageroot, "..", "..", "pythoncard_config.txt")) + myapp.resources.append(os.path.join(packageroot, "..", "..", "stc-styles.cfg")) + # bundlebuilder does not yet have the capability to detect what shared libraries # are needed by your app - so in this case I am adding the wxPython libs manually |
From: Kevin A. <ka...@us...> - 2004-08-20 14:38:11
|
Update of /cvsroot/pythoncard/PythonCard/docs/html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15182/docs/html Modified Files: moreapplications.html Log Message: updated RanchBiz URL Index: moreapplications.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/moreapplications.html,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** moreapplications.html 26 Jul 2004 15:35:31 -0000 1.5 --- moreapplications.html 20 Aug 2004 14:38:02 -0000 1.6 *************** *** 44,50 **** guest ranch.</dd> <dt>URL:</dt> ! <dd><a href="http://www3.telus.net/public/wexsessa/RanchBiz/">http://www3.telus.net/public/wexsessa/RanchBiz/</a></dd> </dl> ! <p class="imageCaption"><img src="http://www3.telus.net/public/wexsessa/RanchBiz/occupancy-1.png" alt="Screenshot of Ranchbiz" /></p> <?php include "footer.php" ?> <p>$Revision$ : $Author$ : Last updated $Date$</p> --- 44,50 ---- guest ranch.</dd> <dt>URL:</dt> ! <dd><a href="http://members.shaw.ca/wexsessa/RanchBiz/">http://members.shaw.ca/wexsessa/RanchBiz/</a></dd> </dl> ! <p class="imageCaption"><img src="http://members.shaw.ca/wexsessa/RanchBiz/occupancy-1.png" alt="Screenshot of Ranchbiz" /></p> <?php include "footer.php" ?> <p>$Revision$ : $Author$ : Last updated $Date$</p> |
From: Kevin A. <ka...@us...> - 2004-08-20 00:20:59
|
Update of /cvsroot/pythoncard/PythonCard/samples/multicolumnexample In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24350/samples/multicolumnexample Modified Files: multicolumnexample.py Log Message: bumped version number for next release, fixed missing colon typo Index: multicolumnexample.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/multicolumnexample/multicolumnexample.py,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** multicolumnexample.py 12 Aug 2004 19:18:56 -0000 1.7 --- multicolumnexample.py 20 Aug 2004 00:20:50 -0000 1.8 *************** *** 159,163 **** pprint.pprint(result) return ! for fn in result.paths lines = open(fn, 'r').read().strip().split('\n') items = [x.split(',') for x in lines] --- 159,163 ---- pprint.pprint(result) return ! for fn in result.paths: lines = open(fn, 'r').read().strip().split('\n') items = [x.split(',') for x in lines] |
From: Kevin A. <ka...@us...> - 2004-08-20 00:20:59
|
Update of /cvsroot/pythoncard/PythonCard/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24350/docs Modified Files: changelog.txt Log Message: bumped version number for next release, fixed missing colon typo Index: changelog.txt =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/changelog.txt,v retrieving revision 1.300 retrieving revision 1.301 diff -C2 -d -r1.300 -r1.301 *** changelog.txt 17 Aug 2004 23:22:42 -0000 1.300 --- changelog.txt 20 Aug 2004 00:20:49 -0000 1.301 *************** *** 2,5 **** --- 2,9 ---- + Release 0.8.1 2004-09-?? + + + Release 0.8 2004-08-18 getCommandLineArgs moved to util.py |
From: Kevin A. <ka...@us...> - 2004-08-20 00:20:58
|
Update of /cvsroot/pythoncard/PythonCard In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24350 Modified Files: __version__.py Log Message: bumped version number for next release, fixed missing colon typo Index: __version__.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/__version__.py,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** __version__.py 9 Apr 2004 15:23:08 -0000 1.35 --- __version__.py 20 Aug 2004 00:20:49 -0000 1.36 *************** *** 13,15 **** """ ! ver = '0.8' --- 13,15 ---- """ ! ver = '0.8.1' |
From: Kevin A. <ka...@us...> - 2004-08-19 15:41:49
|
Update of /cvsroot/pythoncard/PythonCard/samples/dbBrowser In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29057 Modified Files: dbBrowser.rsrc.py dbTable.py Log Message: Mac layout tweak, fixed PyGridTableBase typo Index: dbBrowser.rsrc.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/dbBrowser/dbBrowser.rsrc.py,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** dbBrowser.rsrc.py 10 May 2004 05:02:07 -0000 1.14 --- dbBrowser.rsrc.py 19 Aug 2004 15:41:40 -0000 1.15 *************** *** 69,76 **** {'type':'Button', 'name':'btnBrowse', 'position':(415, 26), 'size':(-1, -1), 'label':'Browse', 'toolTip':'Browse the table data'}, {'type':'StaticLine', 'name':'lnButtons', 'position':(5, 64), 'size':(490, -1) }, ! {'type':'Button', 'name':'btnFirstRow', 'position':(100, 76), 'size':(-1, -1), 'label':'First Row', 'enabled':0, 'command':'firstRecord'}, ! {'type':'Button', 'name':'btnPreviousRow', 'position':(175, 76), 'size':(-1, -1), 'label':'Previous Row', 'enabled':0, 'command':'previousRecord'}, ! {'type':'Button', 'name':'btnNextRow', 'position':(256, 76), 'size':(-1, -1), 'label':'Next Row', 'enabled':0, 'command':'nextRecord'}, ! {'type':'Button', 'name':'btnLastRow', 'position':(331, 76), 'size':(-1, -1), 'label':'Last Row', 'enabled':0, 'command':'lastRecord'} ] } --- 69,76 ---- {'type':'Button', 'name':'btnBrowse', 'position':(415, 26), 'size':(-1, -1), 'label':'Browse', 'toolTip':'Browse the table data'}, {'type':'StaticLine', 'name':'lnButtons', 'position':(5, 64), 'size':(490, -1) }, ! {'type':'Button', 'name':'btnFirstRow', 'position':(60, 76), 'size':(-1, -1), 'label':'First Row', 'enabled':0, 'command':'firstRecord'}, ! {'type':'Button', 'name':'btnPreviousRow', 'position':(147, 76), 'size':(-1, -1), 'label':'Previous Row', 'enabled':0, 'command':'previousRecord'}, ! {'type':'Button', 'name':'btnNextRow', 'position':(260, 76), 'size':(-1, -1), 'label':'Next Row', 'enabled':0, 'command':'nextRecord'}, ! {'type':'Button', 'name':'btnLastRow', 'position':(351, 76), 'size':(-1, -1), 'label':'Last Row', 'enabled':0, 'command':'lastRecord'} ] } Index: dbTable.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/dbBrowser/dbTable.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** dbTable.py 13 Apr 2004 17:55:02 -0000 1.4 --- dbTable.py 19 Aug 2004 15:41:40 -0000 1.5 *************** *** 1,4 **** from wx.grid import * ! class DBTable(wxPyGridTableBase): """Class to wrap a database table that can be assigned to a grid --- 1,4 ---- from wx.grid import * ! class DBTable(PyGridTableBase): """Class to wrap a database table that can be assigned to a grid *************** *** 6,10 **** """ def __init__(self, db, tableName): ! wxPyGridTableBase.__init__(self) self.__db=db self.tableName=tableName --- 6,10 ---- """ def __init__(self, db, tableName): ! PyGridTableBase.__init__(self) self.__db=db self.tableName=tableName |
From: Kevin A. <ka...@us...> - 2004-08-19 14:48:45
|
Update of /cvsroot/pythoncard/PythonCard/docs/html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18574 Modified Files: macosx_installation.html Log Message: changed dir to /Library/Python/2.3/ Index: macosx_installation.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/macosx_installation.html,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** macosx_installation.html 18 Aug 2004 18:22:33 -0000 1.18 --- macosx_installation.html 19 Aug 2004 14:48:36 -0000 1.19 *************** *** 53,57 **** file you downloaded (it's called wxPythonOSX-2.5.2.7-panther-Py2.3.dmg), then double-click the wxPythonOSX-panther.pkg icon and follow the instructions. ! wxPython will be installed into <span class="code">/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/</span>.</p> <p>I recommend creating a wxPython folder in your Applications folder and copying the Apps, Docs, Samples, and README 1st.txt files to the wxPython --- 53,57 ---- file you downloaded (it's called wxPythonOSX-2.5.2.7-panther-Py2.3.dmg), then double-click the wxPythonOSX-panther.pkg icon and follow the instructions. ! wxPython will be installed into <span class="code">/Library/Python/2.3/</span>. Note that this is the same directory as <span class="code">/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/</span> since the two directories are connected by a symbolic link in the file system.</p> <p>I recommend creating a wxPython folder in your Applications folder and copying the Apps, Docs, Samples, and README 1st.txt files to the wxPython *************** *** 69,74 **** [mymachine:~/Desktop/PythonCard-0.8] bob% sudo python setup.py install</p> ! <p>By default, the PythonCard framework will be installed into ! <span class="code">/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/PythonCard</span>. You'll probably want to make an alias to this directory to keep on your desktop or home folder to make it easier to get to the PythonCard tools and --- 69,73 ---- [mymachine:~/Desktop/PythonCard-0.8] bob% sudo python setup.py install</p> ! <p>By default, the PythonCard framework will be installed into <span class="code">/Library/Python/2.3/PythonCard/</span>. You'll probably want to make an alias to this directory to keep on your desktop or home folder to make it easier to get to the PythonCard tools and *************** *** 92,96 **** <h3>Acid Test</h3> <p>OK, now comes the acid test. Open the folder called "minimal" in ! <span class="code">/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/PythonCard/samples</span>. Find the icon labeled minimal.py and double-click it. In a few moments (after an operating system console window has appeared), a small window like the --- 91,95 ---- <h3>Acid Test</h3> <p>OK, now comes the acid test. Open the folder called "minimal" in ! <span class="code">/Library/Python/2.3/PythonCard/samples</span>. Find the icon labeled minimal.py and double-click it. In a few moments (after an operating system console window has appeared), a small window like the |
From: Kevin A. <ka...@us...> - 2004-08-18 23:08:10
|
Update of /cvsroot/pythoncard/PythonCard In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2369 Modified Files: setup.py Log Message: added templates.dialogs Index: setup.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/setup.py,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** setup.py 18 Aug 2004 22:52:48 -0000 1.20 --- setup.py 18 Aug 2004 23:08:01 -0000 1.21 *************** *** 93,97 **** long_description = longdescription, platforms = "Mac OS X, Windows, Linux", ! packages=[APPLICATION_NAME, APPLICATION_NAME + ".components", APPLICATION_NAME + ".templates"], package_dir={APPLICATION_NAME: '.'}, scripts=["install-pythoncard.py"], --- 93,97 ---- long_description = longdescription, platforms = "Mac OS X, Windows, Linux", ! packages=[APPLICATION_NAME, APPLICATION_NAME + ".components", APPLICATION_NAME + ".templates", APPLICATION_NAME + ".templates.dialogs"], package_dir={APPLICATION_NAME: '.'}, scripts=["install-pythoncard.py"], |
From: Kevin A. <ka...@us...> - 2004-08-18 22:52:56
|
Update of /cvsroot/pythoncard/PythonCard In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31887 Modified Files: setup.py Log Message: one more attempt to fix setup.py Index: setup.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/setup.py,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** setup.py 18 Aug 2004 22:18:49 -0000 1.19 --- setup.py 18 Aug 2004 22:52:48 -0000 1.20 *************** *** 61,65 **** return listX ! def makeDataDirs(rootDir=APPLICATION_NAME, dataDirs=['.', 'docs','samples','templates', 'tests', 'tools']): "Construct a list of the data directories to be included" # This function will return a list of tuples, each tuple being of the form; --- 61,65 ---- return listX ! def makeDataDirs(rootDir=APPLICATION_NAME, dataDirs=['.', 'docs','samples', 'tools']): "Construct a list of the data directories to be included" # This function will return a list of tuples, each tuple being of the form; *************** *** 93,97 **** long_description = longdescription, platforms = "Mac OS X, Windows, Linux", ! packages=[APPLICATION_NAME, APPLICATION_NAME + ".components"], package_dir={APPLICATION_NAME: '.'}, scripts=["install-pythoncard.py"], --- 93,97 ---- long_description = longdescription, platforms = "Mac OS X, Windows, Linux", ! packages=[APPLICATION_NAME, APPLICATION_NAME + ".components", APPLICATION_NAME + ".templates"], package_dir={APPLICATION_NAME: '.'}, scripts=["install-pythoncard.py"], |
From: Kevin A. <ka...@us...> - 2004-08-18 22:19:03
|
Update of /cvsroot/pythoncard/PythonCard In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24462 Modified Files: MANIFEST.in setup.py Log Message: added templates and tests Index: setup.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/setup.py,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** setup.py 17 Aug 2004 23:27:40 -0000 1.18 --- setup.py 18 Aug 2004 22:18:49 -0000 1.19 *************** *** 61,65 **** return listX ! def makeDataDirs(rootDir=APPLICATION_NAME, dataDirs=['.', 'docs','samples','templates', 'tools']): "Construct a list of the data directories to be included" # This function will return a list of tuples, each tuple being of the form; --- 61,65 ---- return listX ! def makeDataDirs(rootDir=APPLICATION_NAME, dataDirs=['.', 'docs','samples','templates', 'tests', 'tools']): "Construct a list of the data directories to be included" # This function will return a list of tuples, each tuple being of the form; Index: MANIFEST.in =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/MANIFEST.in,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** MANIFEST.in 9 Apr 2004 15:32:23 -0000 1.14 --- MANIFEST.in 18 Aug 2004 22:18:49 -0000 1.15 *************** *** 1,6 **** include *.txt *.cfg recursive-include components * ! recursive-include docs *.txt *.py *.html *.css *.gif *.png recursive-include samples * recursive-include tools * prune samples/addressesZODB --- 1,8 ---- include *.txt *.cfg recursive-include components * ! recursive-include docs *.txt *.py *.html *.css *.gif *.jpg *.png recursive-include samples * + recursive-include templates * + recursive-include tests * recursive-include tools * prune samples/addressesZODB |
From: Kevin A. <ka...@us...> - 2004-08-18 19:52:32
|
Update of /cvsroot/pythoncard/PythonCard/docs/html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27335 Modified Files: index.html Log Message: missed on :) Index: index.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/index.html,v retrieving revision 1.62 retrieving revision 1.63 diff -C2 -d -r1.62 -r1.63 *** index.html 18 Aug 2004 19:50:59 -0000 1.62 --- index.html 18 Aug 2004 19:52:23 -0000 1.63 *************** *** 43,47 **** <p>To see how the project is progressing;</p> <ul> ! <li><a href="http://sourceforge.net/project/showfiles.php?group_id=19015">Download</a> the latest version of the prototype</li> <li>View some <a href="samples/samples.html">screenshots</a> of the sample applications</li> </ul> --- 43,47 ---- <p>To see how the project is progressing;</p> <ul> ! <li><a href="http://sourceforge.net/project/showfiles.php?group_id=19015">Download</a> the latest version of the package</li> <li>View some <a href="samples/samples.html">screenshots</a> of the sample applications</li> </ul> |
From: Kevin A. <ka...@us...> - 2004-08-18 19:51:09
|
Update of /cvsroot/pythoncard/PythonCard/docs/html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27009 Modified Files: index.html Log Message: removed prototype reference Index: index.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/index.html,v retrieving revision 1.61 retrieving revision 1.62 diff -C2 -d -r1.61 -r1.62 *** index.html 14 Aug 2004 21:34:03 -0000 1.61 --- index.html 18 Aug 2004 19:50:59 -0000 1.62 *************** *** 40,50 **** license associated with it.</p> ! <h2><a name="prototype">Prototype</a></h2> ! <p>The first goal of the project is to produce a prototype. ! This will prove the applicability of the tools, concepts and high level ! design of PythonCard. To see how this is progressing;</p> <ul> <li><a href="http://sourceforge.net/project/showfiles.php?group_id=19015">Download</a> the latest version of the prototype</li> ! <li>View some <a href="samples.html">screenshots</a> of the sample applications</li> </ul> --- 40,48 ---- license associated with it.</p> ! <h2><a name="status">Status</a></h2> ! <p>To see how the project is progressing;</p> <ul> <li><a href="http://sourceforge.net/project/showfiles.php?group_id=19015">Download</a> the latest version of the prototype</li> ! <li>View some <a href="samples/samples.html">screenshots</a> of the sample applications</li> </ul> |
From: Kevin A. <ka...@us...> - 2004-08-18 18:22:43
|
Update of /cvsroot/pythoncard/PythonCard/docs/html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9491 Modified Files: macosx_installation.html macosx_jaguar_installation.html windows_installation.html Log Message: removed Prototype from name Index: macosx_jaguar_installation.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/macosx_jaguar_installation.html,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** macosx_jaguar_installation.html 14 Aug 2004 21:12:09 -0000 1.6 --- macosx_jaguar_installation.html 18 Aug 2004 18:22:33 -0000 1.7 *************** *** 20,27 **** <li>Download Python from the python.org site.</li> <li>Download wxPython from the wxPython.org site.</li> ! <li>Download PythonCardPrototype from the PythonCard site.</li> <li>Install Python</li> <li>Install wxPython</li> ! <li>Install PythonCardPrototype</li> <li>Confirm the installation works</li> </ol> --- 20,27 ---- <li>Download Python from the python.org site.</li> <li>Download wxPython from the wxPython.org site.</li> ! <li>Download PythonCard from the PythonCard site.</li> <li>Install Python</li> <li>Install wxPython</li> ! <li>Install PythonCard</li> <li>Confirm the installation works</li> </ol> *************** *** 41,45 **** <a href="http://sourceforge.net/project/showfiles.php?group_id=19015">PythonCard download page</a>. Click on this ! <a href="http://prdownloads.sourceforge.net/pythoncard/PythonCardPrototype-0.8.tar.gz">PythonCardPrototype-0.8.tar.gz</a> link to begin the download. Again, most Mac OS X browsers will save the file to your desktop.</p> --- 41,45 ---- <a href="http://sourceforge.net/project/showfiles.php?group_id=19015">PythonCard download page</a>. Click on this ! <a href="http://prdownloads.sourceforge.net/pythoncard/PythonCard-0.8.tar.gz">PythonCard-0.8.tar.gz</a> link to begin the download. Again, most Mac OS X browsers will save the file to your desktop.</p> *************** *** 60,74 **** copying the Apps, Docs, Samples, and README 1st.txt files to the wxPython folder.</p> ! <h2>Installing PythonCardPrototype</h2> ! <p>The PythonCardPrototype-0.8.tar.gz file you downloaded should automatically be decompressed by Stuffit; if the file isn't already ! decompressed, then double-click the PythonCardPrototype-0.8.tar.gz file. ! You should now have a PythonCardPrototype-0.8 directory on your desktop. Open the Terminal application and do a cd to that directory and then run the setup.py script using the 2.3 Python you just installed. The sudo command will prompt you for your password.</p> ! <p class="code">[mymachine:~] bob% cd ~/Desktop/PythonCardPrototype-0.8<br /> ! [mymachine:~/Desktop/PythonCardPrototype-0.8] bob% sudo /usr/local/bin/python setup.py install</p> ! <p>By default, the PythonCard framework will be installed into <span class="code">/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/PythonCardPrototype</span>. You'll probably want to make an alias to this directory to keep on your desktop or home folder to make it easier to get to the PythonCard tools and --- 60,74 ---- copying the Apps, Docs, Samples, and README 1st.txt files to the wxPython folder.</p> ! <h2>Installing PythonCard</h2> ! <p>The PythonCard-0.8.tar.gz file you downloaded should automatically be decompressed by Stuffit; if the file isn't already ! decompressed, then double-click the PythonCard-0.8.tar.gz file. ! You should now have a PythonCard-0.8 directory on your desktop. Open the Terminal application and do a cd to that directory and then run the setup.py script using the 2.3 Python you just installed. The sudo command will prompt you for your password.</p> ! <p class="code">[mymachine:~] bob% cd ~/Desktop/PythonCard-0.8<br /> ! [mymachine:~/Desktop/PythonCard-0.8] bob% sudo /usr/local/bin/python setup.py install</p> ! <p>By default, the PythonCard framework will be installed into <span class="code">/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/PythonCard</span>. You'll probably want to make an alias to this directory to keep on your desktop or home folder to make it easier to get to the PythonCard tools and *************** *** 110,114 **** <h3>Acid Test</h3> <p>OK, now comes the acid test. Open the folder called "minimal" in ! <span class="code">/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/PythonCardPrototype/samples</span>. Find the icon labeled minimal.py and double-click it. In a few moments (after an operating system console window has appeared), a small window like the one --- 110,114 ---- <h3>Acid Test</h3> <p>OK, now comes the acid test. Open the folder called "minimal" in ! <span class="code">/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/PythonCard/samples</span>. Find the icon labeled minimal.py and double-click it. In a few moments (after an operating system console window has appeared), a small window like the one *************** *** 120,124 **** is correct</p> <p>If for some reason this test fails, go back over these instructions ! carefully. In particular, make sure that wxPython and PythonCardPrototype both appear in the site-packages folder in Python's Lib folder.</p> <p>If everything seems OK and you still can't get minimal.py to launch, post --- 120,124 ---- is correct</p> <p>If for some reason this test fails, go back over these instructions ! carefully. In particular, make sure that wxPython and PythonCard both appear in the site-packages folder in Python's Lib folder.</p> <p>If everything seems OK and you still can't get minimal.py to launch, post Index: macosx_installation.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/macosx_installation.html,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** macosx_installation.html 14 Aug 2004 21:12:09 -0000 1.17 --- macosx_installation.html 18 Aug 2004 18:22:33 -0000 1.18 *************** *** 21,28 **** <li>Download MacPython add-ons from MacPython site.</li> <li>Download wxPython from the wxPython.org site.</li> ! <li>Download PythonCardPrototype from the PythonCard site.</li> <li>Install MacPython add-ons</li> <li>Install wxPython</li> ! <li>Install PythonCardPrototype</li> <li>Confirm the installation works</li> </ol> --- 21,28 ---- <li>Download MacPython add-ons from MacPython site.</li> <li>Download wxPython from the wxPython.org site.</li> ! <li>Download PythonCard from the PythonCard site.</li> <li>Install MacPython add-ons</li> <li>Install wxPython</li> ! <li>Install PythonCard</li> <li>Confirm the installation works</li> </ol> *************** *** 40,44 **** <h2>Downloading PythonCard</h2> <p>The latest version of PythonCard is always available via the <a href="http://sourceforge.net/project/showfiles.php?group_id=19015">PythonCard download page</a>. ! Click on this <a href="http://prdownloads.sourceforge.net/pythoncard/PythonCardPrototype-0.8.tar.gz">PythonCardPrototype-0.8.tar.gz</a> link to begin the download. Again, most Mac OS X browsers will save the file to your desktop.</p> --- 40,44 ---- <h2>Downloading PythonCard</h2> <p>The latest version of PythonCard is always available via the <a href="http://sourceforge.net/project/showfiles.php?group_id=19015">PythonCard download page</a>. ! Click on this <a href="http://prdownloads.sourceforge.net/pythoncard/PythonCard-0.8.tar.gz">PythonCard-0.8.tar.gz</a> link to begin the download. Again, most Mac OS X browsers will save the file to your desktop.</p> *************** *** 57,74 **** copying the Apps, Docs, Samples, and README 1st.txt files to the wxPython folder.</p> ! <h2>Installing PythonCardPrototype</h2> ! <p>The PythonCardPrototype-0.8.tar.gz file you downloaded should automatically be decompressed by Stuffit; if the file isn't already ! decompressed, then double-click the PythonCardPrototype-0.8.tar.gz file. ! You should now have a PythonCardPrototype-0.8 directory on your desktop. Open the Terminal application and do a cd to that directory and then run the setup.py script using the 2.3 Python you just installed. The sudo command will prompt you for your password.</p> <p class="code"> ! [mymachine:~] bob% cd ~/Desktop/PythonCardPrototype-0.8<br /> ! [mymachine:~/Desktop/PythonCardPrototype-0.8] bob% sudo python setup.py install</p> <p>By default, the PythonCard framework will be installed into ! <span class="code">/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/PythonCardPrototype</span>. You'll probably want to make an alias to this directory to keep on your desktop or home folder to make it easier to get to the PythonCard tools and --- 57,74 ---- copying the Apps, Docs, Samples, and README 1st.txt files to the wxPython folder.</p> ! <h2>Installing PythonCard</h2> ! <p>The PythonCard-0.8.tar.gz file you downloaded should automatically be decompressed by Stuffit; if the file isn't already ! decompressed, then double-click the PythonCard-0.8.tar.gz file. ! You should now have a PythonCard-0.8 directory on your desktop. Open the Terminal application and do a cd to that directory and then run the setup.py script using the 2.3 Python you just installed. The sudo command will prompt you for your password.</p> <p class="code"> ! [mymachine:~] bob% cd ~/Desktop/PythonCard-0.8<br /> ! [mymachine:~/Desktop/PythonCard-0.8] bob% sudo python setup.py install</p> <p>By default, the PythonCard framework will be installed into ! <span class="code">/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/PythonCard</span>. You'll probably want to make an alias to this directory to keep on your desktop or home folder to make it easier to get to the PythonCard tools and *************** *** 92,96 **** <h3>Acid Test</h3> <p>OK, now comes the acid test. Open the folder called "minimal" in ! <span class="code">/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/PythonCardPrototype/samples</span>. Find the icon labeled minimal.py and double-click it. In a few moments (after an operating system console window has appeared), a small window like the --- 92,96 ---- <h3>Acid Test</h3> <p>OK, now comes the acid test. Open the folder called "minimal" in ! <span class="code">/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/PythonCard/samples</span>. Find the icon labeled minimal.py and double-click it. In a few moments (after an operating system console window has appeared), a small window like the *************** *** 102,106 **** is correct</p> <p>If for some reason this test fails, go back over these instructions ! carefully. In particular, make sure that wxPython and PythonCardPrototype both appear in the site-packages folder in Python's Lib folder.</p> <p>If everything seems OK and you still can't get minimal.py to launch, post --- 102,106 ---- is correct</p> <p>If for some reason this test fails, go back over these instructions ! carefully. In particular, make sure that wxPython and PythonCard both appear in the site-packages folder in Python's Lib folder.</p> <p>If everything seems OK and you still can't get minimal.py to launch, post Index: windows_installation.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/windows_installation.html,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** windows_installation.html 14 Aug 2004 21:12:09 -0000 1.13 --- windows_installation.html 18 Aug 2004 18:22:33 -0000 1.14 *************** *** 17,24 **** <li>Download Python from the python.org site.</li> <li>Download wxPython from the wxPython.org site.</li> ! <li>Download PythonCardPrototype from the PythonCard site.</li> <li>Install Python</li> <li>Install wxPython</li> ! <li>Install PythonCardPrototype</li> <li>Confirm the installation works</li> </ol> --- 17,24 ---- <li>Download Python from the python.org site.</li> <li>Download wxPython from the wxPython.org site.</li> ! <li>Download PythonCard from the PythonCard site.</li> <li>Install Python</li> <li>Install wxPython</li> ! <li>Install PythonCard</li> <li>Confirm the installation works</li> </ol> *************** *** 41,45 **** <h2>Downloading PythonCard</h2> <p>The latest version of PythonCard is always available via the <a href="http://sourceforge.net/project/showfiles.php?group_id=19015">PythonCard download page</a>. ! Click on this <a href="http://prdownloads.sourceforge.net/pythoncard/PythonCardPrototype-0.8.win32.exe">PythonCardPrototype-0.8.win32.exe</a> link to begin the download. Tell your browser where you want the file stored and the download proceeds. Note where on your system the file is saved by --- 41,45 ---- <h2>Downloading PythonCard</h2> <p>The latest version of PythonCard is always available via the <a href="http://sourceforge.net/project/showfiles.php?group_id=19015">PythonCard download page</a>. ! Click on this <a href="http://prdownloads.sourceforge.net/pythoncard/PythonCard-0.8.win32.exe">PythonCard-0.8.win32.exe</a> link to begin the download. Tell your browser where you want the file stored and the download proceeds. Note where on your system the file is saved by *************** *** 58,62 **** the instructions. By default, wxPython will be installed into Python23\Lib\site-packages.</p> ! <h2>Installing PythonCardPrototype</h2> <p>PythonCard also comes as an automatic installer. Just double-click on the file you downloaded and follow the instructions. By default, the PythonCard --- 58,62 ---- the instructions. By default, wxPython will be installed into Python23\Lib\site-packages.</p> ! <h2>Installing PythonCard</h2> <p>PythonCard also comes as an automatic installer. Just double-click on the file you downloaded and follow the instructions. By default, the PythonCard *************** *** 72,76 **** <h2>Confirming Installation</h2> <p>OK, now comes the acid test. Open the folder called "minimal" in ! Python23\Lib\site-packages\PythonCardPrototype\samples. Find the icon labeled minimal.py and double-click it. In a few moments (after an operating system console window has appeared), a small window like the one shown in Figure 1 --- 72,76 ---- <h2>Confirming Installation</h2> <p>OK, now comes the acid test. Open the folder called "minimal" in ! Python23\Lib\site-packages\PythonCard\samples. Find the icon labeled minimal.py and double-click it. In a few moments (after an operating system console window has appeared), a small window like the one shown in Figure 1 *************** *** 82,86 **** is correct</p> <p>If for some reason this test fails, go back over these instructions ! carefully. In particular, make sure that wxPython and PythonCardPrototype both appear in the site-packages folder in Python's Lib folder.</p> <p>If everything seems OK and you still can't get minimal.py to launch, post --- 82,86 ---- is correct</p> <p>If for some reason this test fails, go back over these instructions ! carefully. In particular, make sure that wxPython and PythonCard both appear in the site-packages folder in Python's Lib folder.</p> <p>If everything seems OK and you still can't get minimal.py to launch, post |
From: Kevin A. <ka...@us...> - 2004-08-18 16:26:04
|
Update of /cvsroot/pythoncard/PythonCard In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15581 Modified Files: about.py Log Message: removed PyCrust from about box Index: about.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/about.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** about.py 16 Aug 2004 01:57:23 -0000 1.3 --- about.py 18 Aug 2004 16:25:55 -0000 1.4 *************** *** 7,11 **** import os, sys import wx - from wx import py as PyCrust import __version__ import dialog --- 7,10 ---- *************** *** 21,29 **** """ txt += "PythonCard version: %s\n" % __version__.ver ! txt += "wxPython version: %s\n" % wx.__version__ ! try: ! txt += "PyCrust version: %s\n" % PyCrust.version.VERSION ! except: ! pass txt += "Python version: %s\n" % sys.version txt += "Platform: %s\n" % os.sys.platform --- 20,24 ---- """ txt += "PythonCard version: %s\n" % __version__.ver ! txt += "wxPython version: %s\n" % wx.VERSION_STRING txt += "Python version: %s\n" % sys.version txt += "Platform: %s\n" % os.sys.platform |
From: Kevin A. <ka...@us...> - 2004-08-18 16:25:05
|
Update of /cvsroot/pythoncard/PythonCard/tools/codeEditor In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15286 Modified Files: Info.plist codeEditor.py macbuild.py Log Message: added MacOpenFile to codeEditor Index: Info.plist =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/codeEditor/Info.plist,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Info.plist 18 Aug 2004 16:03:37 -0000 1.2 --- Info.plist 18 Aug 2004 16:24:56 -0000 1.3 *************** *** 40,45 **** <string>*</string> </array> - <key>CFBundleTypeIconFile</key> - <string>file</string> <key>CFBundleTypeMIMETypes</key> <array> --- 40,43 ---- Index: codeEditor.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/codeEditor/codeEditor.py,v retrieving revision 1.124 retrieving revision 1.125 diff -C2 -d -r1.124 -r1.125 *** codeEditor.py 17 Aug 2004 19:11:51 -0000 1.124 --- codeEditor.py 18 Aug 2004 16:24:56 -0000 1.125 *************** *** 1224,1228 **** if __name__ == '__main__': ! app = model.Application(CodeEditor) app.MainLoop() --- 1224,1238 ---- + # KEA 2004-08-18 + # I'll probably move this functionality into model.Application + # and just call a macOpenFile method in the current background + class MyApplication(model.Application): + # support drag and drop on the application icon on the Mac + def MacOpenFile(self, filename): + # code to load filename goes here + self.backgrounds[0].openFile(filename) + + if __name__ == '__main__': ! app = MyApplication(CodeEditor) app.MainLoop() Index: macbuild.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/codeEditor/macbuild.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** macbuild.py 18 Aug 2004 16:03:37 -0000 1.5 --- macbuild.py 18 Aug 2004 16:24:56 -0000 1.6 *************** *** 2,5 **** --- 2,6 ---- import os, sys import bundlebuilder + import plistlib # I set this to make adding subfolders into the package easier *************** *** 26,30 **** myapp.standalone = 1 myapp.name = "CodeEditor" ! myapp.plist = bundlebuilder.Plist.fromFile(os.path.join(packageroot, "Info.plist")) # includePackages forces certain packages to be added to the app bundle --- 27,31 ---- myapp.standalone = 1 myapp.name = "CodeEditor" ! myapp.plist = plistlib.Plist.fromFile(os.path.join(packageroot, "Info.plist")) # includePackages forces certain packages to be added to the app bundle |
From: Kevin A. <ka...@us...> - 2004-08-18 16:03:48
|
Update of /cvsroot/pythoncard/PythonCard/tools/codeEditor In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10512 Modified Files: Info.plist macbuild.py Log Message: removed sys.argv handling Index: Info.plist =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/codeEditor/Info.plist,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Info.plist 18 Aug 2004 15:43:04 -0000 1.1 --- Info.plist 18 Aug 2004 16:03:37 -0000 1.2 *************** *** 47,51 **** </array> <key>CFBundleTypeName</key> ! <string>NSStringPboardType</string> <key>CFBundleTypeOSTypes</key> <array> --- 47,51 ---- </array> <key>CFBundleTypeName</key> ! <string>Python Module</string> <key>CFBundleTypeOSTypes</key> <array> Index: macbuild.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/codeEditor/macbuild.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** macbuild.py 18 Aug 2004 15:43:04 -0000 1.4 --- macbuild.py 18 Aug 2004 16:03:37 -0000 1.5 *************** *** 20,24 **** # drag&dropped filenames show up in sys.argv ! myapp.argv_emulation=1 # make this app self contained myapp.standalone = 1 --- 20,26 ---- # drag&dropped filenames show up in sys.argv ! # this doesn't seem to work, need to add additional ! # import argvemulator in my code? ! #myapp.argv_emulation=1 # make this app self contained myapp.standalone = 1 |
From: Kevin A. <ka...@us...> - 2004-08-18 15:43:14
|
Update of /cvsroot/pythoncard/PythonCard/tools/codeEditor In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5826 Modified Files: macbuild.py Added Files: Info.plist Log Message: added Info.plist to bundlebuilder script --- NEW FILE: Info.plist --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//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>CFBundleDocumentTypes</key> <array> <dict> <key>CFBundleTypeExtensions</key> <array> <string>c</string> <string>cgi</string> <string>c++</string> <string>cp</string> <string>cpp</string> <string>cs</string> <string>css</string> <string>csv</string> <string>dtd</string> <string>h</string> <string>htm</string> <string>html</string> <string>log</string> <string>plist</string> <string>py</string> <string>python</string> <string>pyw</string> <string>sgml</string> <string>sh</string> <string>shtm</string> <string>shtml</string> <string>text</string> <string>txt</string> <string>xhtml</string> <string>xml</string> <string>xsl</string> <string>xslt</string> <string>yaml</string> <string>*</string> </array> <key>CFBundleTypeIconFile</key> <string>file</string> <key>CFBundleTypeMIMETypes</key> <array> <string>text/plain</string> </array> <key>CFBundleTypeName</key> <string>NSStringPboardType</string> <key>CFBundleTypeOSTypes</key> <array> <string>TEXT</string> <string>****</string> </array> <key>CFBundleTypeRole</key> <string>Editor</string> </dict> </array> <key>CFBundleExecutable</key> <string>CodeEditor</string> <key>CFBundleName</key> <string>CodeEditor</string> <key>CFBundleIdentifier</key> <string>CodeEditor</string> <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleGetInfoString</key> <string>0.8</string> <key>CFBundleShortVersionString</key> <string>0.8</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> <string>0.8 (v1.124)</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> </dict> </plist> Index: macbuild.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/codeEditor/macbuild.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** macbuild.py 18 Aug 2004 00:54:01 -0000 1.3 --- macbuild.py 18 Aug 2004 15:43:04 -0000 1.4 *************** *** 19,24 **** --- 19,28 ---- myapp.mainprogram = os.path.join(packageroot, "codeEditor.py") + # drag&dropped filenames show up in sys.argv + myapp.argv_emulation=1 + # make this app self contained myapp.standalone = 1 myapp.name = "CodeEditor" + myapp.plist = bundlebuilder.Plist.fromFile(os.path.join(packageroot, "Info.plist")) # includePackages forces certain packages to be added to the app bundle *************** *** 26,37 **** ##myapp.includePackages.append("_xmlplus") - # KEA 2004-07-22 - # force imports for components used in .rsrc.py file - #from PythonCard.components import button, checkbox, combobox, list, statictext, textfield # Here you add supporting files and/or folders to your bundle - ##myapp.resources.append(os.path.join(packageroot, "about")) - ##myapp.resources.append(os.path.join(packageroot, "autorun")) - ##myapp.resources.append(os.path.join(packageroot, "Graphics")) myapp.resources.append(os.path.join(packageroot, "scriptlets")) myapp.resources.append(os.path.join(packageroot, "codeEditor.rsrc.py")) --- 30,35 ---- |
From: Kevin A. <ka...@us...> - 2004-08-18 06:59:41
|
Update of /cvsroot/pythoncard/PythonCard In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3690 Modified Files: setup.py Log Message: added templates dir to setup.py and modified minimum requirements Index: setup.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/setup.py,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** setup.py 12 Apr 2004 16:30:09 -0000 1.17 --- setup.py 17 Aug 2004 23:27:40 -0000 1.18 *************** *** 61,65 **** return listX ! def makeDataDirs(rootDir=APPLICATION_NAME, dataDirs=['.', 'docs','samples','tools']): "Construct a list of the data directories to be included" # This function will return a list of tuples, each tuple being of the form; --- 61,65 ---- return listX ! def makeDataDirs(rootDir=APPLICATION_NAME, dataDirs=['.', 'docs','samples','templates', 'tools']): "Construct a list of the data directories to be included" # This function will return a list of tuples, each tuple being of the form; |