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-15 17:35:09
|
Update of /cvsroot/pythoncard/PythonCard/samples/textRouter In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24441/samples/textRouter Modified Files: bloggeraccount.py manilaaccount.py textRouter.py Log Message: reversed message and title args for multipleChoiceDialog, singleChoiceDialog, textEntryDialog added singleChoiceDialog workaround for 2.5.2.7 added Alex to LICENSE.txt Index: textRouter.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/textRouter/textRouter.py,v retrieving revision 1.81 retrieving revision 1.82 diff -C2 -d -r1.81 -r1.82 *** textRouter.py 12 Aug 2004 19:19:02 -0000 1.81 --- textRouter.py 15 Aug 2004 17:34:58 -0000 1.82 *************** *** 550,554 **** widget = self.components.area1 if hasattr(widget, 'editable') and widget.canCut(): ! result = dialog.textEntryDialog(self, 'Add Link','URL:', 'http://') if result.accepted: url = result.text --- 550,554 ---- widget = self.components.area1 if hasattr(widget, 'editable') and widget.canCut(): ! result = dialog.textEntryDialog(self, 'URL:', 'Add Link', 'http://') if result.accepted: url = result.text *************** *** 693,697 **** result = dialog.textEntryDialog(self, 'Please enter the email address:', ! "Please enter the email address:", '') if not result.accepted: --- 693,697 ---- result = dialog.textEntryDialog(self, 'Please enter the email address:', ! "Please enter the email address", '') if not result.accepted: *************** *** 972,976 **** mimeType = imgTypes[i] ! result = dialog.textEntryDialog(self, 'Picture Name','Picture Name:', '') if result.accepted: imageTitle = result.text --- 972,976 ---- mimeType = imgTypes[i] ! result = dialog.textEntryDialog(self, 'Picture Name:', 'Picture Name', '') if result.accepted: imageTitle = result.text *************** *** 1468,1472 **** return 0 ! result = dialog.textEntryDialog(self, 'Fetch Post','Post ID:', '') if not result.accepted: --- 1468,1472 ---- return 0 ! result = dialog.textEntryDialog(self, 'Fetch Post:', 'Post ID', '') if not result.accepted: Index: manilaaccount.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/textRouter/manilaaccount.py,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** manilaaccount.py 12 Aug 2004 19:19:02 -0000 1.21 --- manilaaccount.py 15 Aug 2004 17:34:58 -0000 1.22 *************** *** 57,62 **** if self.getPassword() == "": result = dialog.textEntryDialog(None, \ - "Password entry...", 'Please enter your Manila password (It will not be saved to the config): ', '', dialog.TEXT_PASSWORD) if not result.accepted: --- 57,62 ---- if self.getPassword() == "": result = dialog.textEntryDialog(None, \ 'Please enter your Manila password (It will not be saved to the config): ', + "Password entry...", '', dialog.TEXT_PASSWORD) if not result.accepted: Index: bloggeraccount.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/textRouter/bloggeraccount.py,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** bloggeraccount.py 12 Aug 2004 19:19:02 -0000 1.17 --- bloggeraccount.py 15 Aug 2004 17:34:58 -0000 1.18 *************** *** 55,60 **** if self.getPassword() == "": result = dialog.textEntryDialog(None, \ - "Password entry...", 'Please enter your Blogger password (It will not be saved to the config): ', '', dialog.TEXT_PASSWORD) if not result.accepted: --- 55,60 ---- if self.getPassword() == "": result = dialog.textEntryDialog(None, \ 'Please enter your Blogger password (It will not be saved to the config): ', + "Password entry...", '', dialog.TEXT_PASSWORD) if not result.accepted: |
From: Kevin A. <ka...@us...> - 2004-08-15 17:35:09
|
Update of /cvsroot/pythoncard/PythonCard/tools/codeEditor/scriptlets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24441/tools/codeEditor/scriptlets Modified Files: insertDialog.py Log Message: reversed message and title args for multipleChoiceDialog, singleChoiceDialog, textEntryDialog added singleChoiceDialog workaround for 2.5.2.7 added Alex to LICENSE.txt Index: insertDialog.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/codeEditor/scriptlets/insertDialog.py,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** insertDialog.py 12 Aug 2004 19:14:21 -0000 1.8 --- insertDialog.py 15 Aug 2004 17:34:59 -0000 1.9 *************** *** 35,39 **** """ ! multipleChoiceDialogTemplate = """result = dialog.multipleChoiceDialog(self, "title", "message", ['one', 'two', 'three']) if result.accepted: sel = result.selection --- 35,39 ---- """ ! multipleChoiceDialogTemplate = """result = dialog.multipleChoiceDialog(self, "message", "title", ['one', 'two', 'three']) if result.accepted: sel = result.selection *************** *** 59,68 **** """ ! singleChoiceDialogTemplate = """result = dialog.singleChoiceDialog(self, "title", "message", ['one', 'two', 'three']) if result.accepted: sel = result.selection """ ! textEntryDialogTemplate = """result = dialog.textEntryDialog(self, 'title', 'message', 'text') if result.accepted: returned = result.returnedString --- 59,68 ---- """ ! singleChoiceDialogTemplate = """result = dialog.singleChoiceDialog(self, "message", "title", ['one', 'two', 'three']) if result.accepted: sel = result.selection """ ! textEntryDialogTemplate = """result = dialog.textEntryDialog(self, 'message', 'title', 'text') if result.accepted: returned = result.returnedString *************** *** 78,82 **** dialogsList.sort() ! result = dialog.singleChoiceDialog(None, "Dialogs", "Pick a dialog:", dialogsList) if result.accepted: dialogText = eval(result.selection + 'Template') --- 78,82 ---- dialogsList.sort() ! result = dialog.singleChoiceDialog(None, "Pick a dialog:", "Dialogs", dialogsList) if result.accepted: dialogText = eval(result.selection + 'Template') |
From: Kevin A. <ka...@us...> - 2004-08-15 17:35:08
|
Update of /cvsroot/pythoncard/PythonCard/tools/codeEditor In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24441/tools/codeEditor Modified Files: codeEditor.py Log Message: reversed message and title args for multipleChoiceDialog, singleChoiceDialog, textEntryDialog added singleChoiceDialog workaround for 2.5.2.7 added Alex to LICENSE.txt Index: codeEditor.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/codeEditor/codeEditor.py,v retrieving revision 1.122 retrieving revision 1.123 diff -C2 -d -r1.122 -r1.123 *** codeEditor.py 12 Aug 2004 19:14:20 -0000 1.122 --- codeEditor.py 15 Aug 2004 17:34:59 -0000 1.123 *************** *** 757,761 **** def on_doEditGoTo_command(self, event): ! result = dialog.textEntryDialog(self, self.resource.strings.gotoLine, self.resource.strings.gotoLineNumber, '') # this version doesn't alert the user if the line number is out-of-range # it just fails quietly --- 757,761 ---- def on_doEditGoTo_command(self, event): ! result = dialog.textEntryDialog(self, self.resource.strings.gotoLineNumber, self.resource.strings.gotoLine, '') # this version doesn't alert the user if the line number is out-of-range # it just fails quietly |
From: Kevin A. <ka...@us...> - 2004-08-15 17:35:08
|
Update of /cvsroot/pythoncard/PythonCard/tools/textEditor In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24441/tools/textEditor Modified Files: textEditor.pyw Log Message: reversed message and title args for multipleChoiceDialog, singleChoiceDialog, textEntryDialog added singleChoiceDialog workaround for 2.5.2.7 added Alex to LICENSE.txt Index: textEditor.pyw =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/textEditor/textEditor.pyw,v retrieving revision 1.74 retrieving revision 1.75 diff -C2 -d -r1.74 -r1.75 *** textEditor.pyw 12 Aug 2004 19:14:23 -0000 1.74 --- textEditor.pyw 15 Aug 2004 17:35:00 -0000 1.75 *************** *** 444,448 **** def on_doEditGoTo_command(self, event): ! result = dialog.textEntryDialog(self, 'Goto line', 'Goto line number:', '') # this version doesn't alert the user if the line number is out-of-range # it just fails quietly --- 444,448 ---- def on_doEditGoTo_command(self, event): ! result = dialog.textEntryDialog(self, 'Goto line number:', 'Goto line', '') # this version doesn't alert the user if the line number is out-of-range # it just fails quietly |
From: Kevin A. <ka...@us...> - 2004-08-15 17:35:07
|
Update of /cvsroot/pythoncard/PythonCard/samples/widgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24441/samples/widgets Modified Files: widgets.py Log Message: reversed message and title args for multipleChoiceDialog, singleChoiceDialog, textEntryDialog added singleChoiceDialog workaround for 2.5.2.7 added Alex to LICENSE.txt Index: widgets.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/widgets/widgets.py,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -d -r1.40 -r1.41 *** widgets.py 12 Aug 2004 19:19:05 -0000 1.40 --- widgets.py 15 Aug 2004 17:34:58 -0000 1.41 *************** *** 139,143 **** def on_btnToolTip_mouseClick(self, event): ! result = dialog.textEntryDialog(self, 'ToolTip', 'Enter a toolTip', 'Hello toolTip') if result.accepted: txt = result.text --- 139,143 ---- def on_btnToolTip_mouseClick(self, event): ! result = dialog.textEntryDialog(self, 'Enter a toolTip:', 'ToolTip', 'Hello toolTip') if result.accepted: txt = result.text |
From: Kevin A. <ka...@us...> - 2004-08-15 17:35:06
|
Update of /cvsroot/pythoncard/PythonCard/samples/slideshow In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24441/samples/slideshow Modified Files: slideshow.py Log Message: reversed message and title args for multipleChoiceDialog, singleChoiceDialog, textEntryDialog added singleChoiceDialog workaround for 2.5.2.7 added Alex to LICENSE.txt Index: slideshow.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/slideshow/slideshow.py,v retrieving revision 1.41 retrieving revision 1.42 diff -C2 -d -r1.41 -r1.42 *** slideshow.py 12 Aug 2004 19:19:01 -0000 1.41 --- slideshow.py 15 Aug 2004 17:34:58 -0000 1.42 *************** *** 292,296 **** def on_menuSlideshowSetInterval_select(self, event): interval = str(self.interval / 1000) ! result = dialog.textEntryDialog(self, "Slide interval", "Time interval between slides (seconds):", interval) if result.accepted: try: --- 292,296 ---- def on_menuSlideshowSetInterval_select(self, event): interval = str(self.interval / 1000) ! result = dialog.textEntryDialog(self, "Time interval between slides (seconds):", "Slide interval", interval) if result.accepted: try: *************** *** 409,413 **** def on_menuSlideshowGotoSlide_select(self, event): if self.fileList is not None and self.fileList != []: ! result = dialog.textEntryDialog(self, "Goto slide", "Slide number:", str(self.fileIndex + 1)) # this version doesn't alert the user if the line number is out-of-range # it just fails quietly --- 409,413 ---- def on_menuSlideshowGotoSlide_select(self, event): if self.fileList is not None and self.fileList != []: ! result = dialog.textEntryDialog(self, "Slide number:", "Goto slide", str(self.fileIndex + 1)) # this version doesn't alert the user if the line number is out-of-range # it just fails quietly |
From: Kevin A. <ka...@us...> - 2004-08-14 21:51:49
|
Update of /cvsroot/pythoncard/PythonCard/docs/html/framework In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24155/framework Modified Files: general_concepts_and_limitations.html resource_files.html Log Message: updated codeEditor.html links Index: resource_files.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/framework/resource_files.html,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** resource_files.html 14 Aug 2004 21:05:15 -0000 1.2 --- resource_files.html 14 Aug 2004 21:51:40 -0000 1.3 *************** *** 55,59 **** <p>It is possible to have a fairly short edit/run cycle by keeping the layout of your app open in the <a href="../resource_editor_overview.html">resourceEditor</a> (layout editor) and the source code ! open in the <a href="http://pythoncard.sourceforge.net/codeEditor.html">codeEditor</a> or your favorite editor/IDE and then launching the app using the Run command under the File menu or from the command-line or a directory browser (Explorer) as you make changes. If you have an error in your source that --- 55,59 ---- <p>It is possible to have a fairly short edit/run cycle by keeping the layout of your app open in the <a href="../resource_editor_overview.html">resourceEditor</a> (layout editor) and the source code ! open in the <a href="http://pythoncard.sourceforge.net/tools/codeEditor.html">codeEditor</a> or your favorite editor/IDE and then launching the app using the Run command under the File menu or from the command-line or a directory browser (Explorer) as you make changes. If you have an error in your source that Index: general_concepts_and_limitations.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/framework/general_concepts_and_limitations.html,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** general_concepts_and_limitations.html 14 Aug 2004 21:05:15 -0000 1.3 --- general_concepts_and_limitations.html 14 Aug 2004 21:51:40 -0000 1.4 *************** *** 24,28 **** <p>PythonCard does have a layout editor (<a href="../resource_editor_overview.html">resourceEditor</a>) and ! source code editor (<a href="http://pythoncard.sourceforge.net/codeEditor.html">codeEditor</a>) to help users build applications.</p> --- 24,28 ---- <p>PythonCard does have a layout editor (<a href="../resource_editor_overview.html">resourceEditor</a>) and ! source code editor (<a href="http://pythoncard.sourceforge.net/tools/codeEditor.html">codeEditor</a>) to help users build applications.</p> |
From: Kevin A. <ka...@us...> - 2004-08-14 21:51:49
|
Update of /cvsroot/pythoncard/PythonCard/docs/html/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24155/tools Modified Files: codeEditor.html Log Message: updated codeEditor.html links Index: codeEditor.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/tools/codeEditor.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** codeEditor.html 14 Aug 2004 21:43:46 -0000 1.1 --- codeEditor.html 14 Aug 2004 21:51:40 -0000 1.2 *************** *** 112,116 **** </pre> - <hr> <?php include "../footer.php" ?> <p>$Revision$ : $Author$ : Last updated $Date$</p> --- 112,115 ---- |
From: Kevin A. <ka...@us...> - 2004-08-14 21:51:48
|
Update of /cvsroot/pythoncard/PythonCard/docs/html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24155 Modified Files: documentation.html Log Message: updated codeEditor.html links Index: documentation.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/documentation.html,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** documentation.html 14 Aug 2004 21:34:03 -0000 1.21 --- documentation.html 14 Aug 2004 21:51:40 -0000 1.22 *************** *** 51,55 **** <p><a href="http://www.onlamp.com/pub/a/python/2002/07/18/pycrust.html">Building GUI Applications With PythonCard And PyCrust</a> by Patrick O'Brien</p> <h2><a name="misc">Miscellaneous</a></h2> ! <p><a href="http://pythoncard.sourceforge.net/codeEditor.html">codeEditor screenshots and readme.txt</a></p> <p>There is additional information available on the <a href="http://wiki.wxpython.org/index.cgi/PythonCard">PythonCard wiki</a> --- 51,55 ---- <p><a href="http://www.onlamp.com/pub/a/python/2002/07/18/pycrust.html">Building GUI Applications With PythonCard And PyCrust</a> by Patrick O'Brien</p> <h2><a name="misc">Miscellaneous</a></h2> ! <p><a href="http://pythoncard.sourceforge.net/tools/codeEditor.html">codeEditor screenshots and readme.txt</a></p> <p>There is additional information available on the <a href="http://wiki.wxpython.org/index.cgi/PythonCard">PythonCard wiki</a> |
From: Kevin A. <ka...@us...> - 2004-08-14 21:43:54
|
Update of /cvsroot/pythoncard/PythonCard/docs/html/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22684 Added Files: codeEditor.html Log Message: added codeEditor page --- NEW FILE: codeEditor.html --- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="../PythonCard.css" type="text/css" /> <title>codeEditor tool</title> </head> <body> <div id="banner"> <h1>codeEditor</h1> </div> <?php include "../sidebar.php" ?> <div id="content"> <center> <p><IMG SRC="http://pythoncard.sourceforge.net/images/codeEditor_01.png" BORDER=0></p> <b>Figure 1: Editing the minimal.py sample</b><br> <p><IMG SRC="http://pythoncard.sourceforge.net/images/codeEditorFileMenu.png" BORDER=0></p> <b>Figure 2: File Menu</b><br> <p><IMG SRC="http://pythoncard.sourceforge.net/images/codeEditorEditMenu.png" BORDER=0></p> <b>Figure 3: Edit Menu</b><br> <p><IMG SRC="http://pythoncard.sourceforge.net/images/codeEditorViewMenu.png" BORDER=0></p> <b>Figure 4: View Menu</b><br> </center> <hr> <h2>readme.txt</h2> <pre> Python Source Code Editor The codeEditor sample in PythonCard is focused on being a simple to use Python source code editor. It is not intended to be a generic editor or replace vi(m), Emacs, etc. If you are already happy with your existing editing environment for Python source code, there is no particular reason you have to switch. codeEditor and the resourceEditor and shell will be more tightly integrated as the project progresses so that the user has a simple Integrated Development Environment (IDE) for building desktop applications without needing to use an external program for editing. Based on textEditor sample, but using wxStyledTextCtrl (wxSTC) For more information, see: PythonCard Editor (codeEditor) wiki page <a href="http://wiki.wxpython.org/index.cgi/PythonCardEditor">http://wiki.wxpython.org/index.cgi/PythonCardEditor</a> wxStyledTextCtrl documentation <a href="http://wiki.wxpython.org/index.cgi/wxStyledTextCtrl">http://wiki.wxpython.org/index.cgi/wxStyledTextCtrl</a> If you use this sample as a real text editor then you should be careful to always work on backup copies of documents in case there are bugs that might corrupt your text. You can change the style used to display the source code; the style is also used by the PythonCard shell. The last position and size of the window will be saved in a user.config.txt file. The About dialog displays the current filename, character, word, and line count. Scriptlets See the following message in the archive for more info. <a href="http://aspn.activestate.com/ASPN/Mail/Message/PythonCard/1181106">http://aspn.activestate.com/ASPN/Mail/Message/PythonCard/1181106</a> Associating Python files with codeEditor on Windows These instructions are for Windows 2000. They may be slightly different on other versions of Windows. 1. Open the Explorer and choose "Folder Options..." under the "Tools" menu 2. Click on the "File Types" tab 3. Scroll down in the "Registered file types" list and select extension "PY Python File" 4. Click on the "Advanced" button 4a. You should be looking at an "Edit File Type" dialog with a list of Actions such as Edit and Open. Open is probably in bold since it is the default action usually associated with .py files. 5. Click on the "New..." button 5a. You should be looking at a "New Action" dialog 6. In the "Action:" field type in a label such as "Edit with PythonCard". This is the label that will show up in the context menu when you right-click on a .py file in the Explorer 7. in the "Application used to perform action:" field you need to specify the path to the Python executable as well as the location of the codeEditor.py file. On a Python 2.2.1 installation using the default installer this will look like: C:\Python22\pythonw.exe C:\Python22\Lib\site-packages\PythonCardPrototype\tools\codeEditor\codeEditor.py "%1" Substitute your own paths for the ones above and put quotes (") around the paths with spaces in them, if any. If you want a console when codeEditor.py runs, then use python.exe instead of pythonw.exe 8. Click "OK" 8a. You should now have an "Edit with PythonCard" item in your "Edit File Type" dialog 8b. The item in bold is the default action; Open will be the default if nothing is showing up in bold. Whether you want to "Edit with PythonCard" or "Open" (run) a script when you double-click a file in the Explorer is of course a personal preference. If you want "Edit with PythonCard" as the default action, then select "Edit with PythonCard" in the list, and click the "Set Default" button. 9. Click "OK" 10. Click "Close" in the "Folder Options" dialog 11. Open a directory in the explorer that contains a .py file, then right-click on the file and choose "Edit with PythonCard" and the file should be opened with codeEditor.py 11a. If it doesn't work, double-check the steps above 12. Repeat the process for .pyw files, using the same name and path. </pre> <hr> <?php include "../footer.php" ?> <p>$Revision: 1.1 $ : $Author: kasplat $ : Last updated $Date: 2004/08/14 21:43:46 $</p> </div> <!-- end of content --> </body> </html> |
From: Kevin A. <ka...@us...> - 2004-08-14 21:43:23
|
Update of /cvsroot/pythoncard/PythonCard/docs/html/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22626/tools Log Message: Directory /cvsroot/pythoncard/PythonCard/docs/html/tools added to the repository |
From: Kevin A. <ka...@us...> - 2004-08-14 21:34:12
|
Update of /cvsroot/pythoncard/PythonCard/docs/html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21257 Modified Files: documentation.html index.html Log Message: updated license info to BSD updated link to changelog.txt Index: documentation.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/documentation.html,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** documentation.html 26 Jul 2004 15:35:31 -0000 1.20 --- documentation.html 14 Aug 2004 21:34:03 -0000 1.21 *************** *** 61,65 **** program as shown by the dbBrowser sample.</p> <h2><a name="changelog">Revision History (Changelog)</a></h2> ! <p>The <a href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/pythoncard/PythonCard/docs/changelog.txt?rev=HEAD&content-type=text/vnd.viewcvs-markup">changelog.txt</a> file documents the revision history of PythonCard.</p> <?php include "footer.php" ?> --- 61,65 ---- program as shown by the dbBrowser sample.</p> <h2><a name="changelog">Revision History (Changelog)</a></h2> ! <p>The <a href="http://cvs.sourceforge.net/viewcvs.py/pythoncard/PythonCard/docs/changelog.txt?view=markup">changelog.txt</a> file documents the revision history of PythonCard.</p> <?php include "footer.php" ?> Index: index.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/index.html,v retrieving revision 1.60 retrieving revision 1.61 diff -C2 -d -r1.60 -r1.61 *** index.html 26 Jul 2004 15:35:31 -0000 1.60 --- index.html 14 Aug 2004 21:34:03 -0000 1.61 *************** *** 34,38 **** cross-platform applications.</p> <p>PythonCard is an open source project and is being developed under the ! terms of the <a href="http://www.python.org/2.2/license.html">Python 2.2 License</a>. This basically means you are free to download and use the executables, source code, web pages or any other item produced by the project and use it as you --- 34,38 ---- cross-platform applications.</p> <p>PythonCard is an open source project and is being developed under the ! terms of a <a href="http://cvs.sourceforge.net/viewcvs.py/pythoncard/PythonCard/LICENSE.txt?view=markup">BSD-style license</a>. This basically means you are free to download and use the executables, source code, web pages or any other item produced by the project and use it as you |
From: Kevin A. <ka...@us...> - 2004-08-14 21:25:55
|
Update of /cvsroot/pythoncard/PythonCard/docs/html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20288 Modified Files: faq.html Log Message: added BundleBuilder Index: faq.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/faq.html,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** faq.html 14 Aug 2004 21:21:28 -0000 1.10 --- faq.html 14 Aug 2004 21:25:46 -0000 1.11 *************** *** 41,46 **** A. Yes</p> <p>Q. Can I build standalone executables?<br /> ! A. Yes, using <a href="http://starship.python.net/crew/theller/py2exe/">py2exe</a> and Gordon McMillan's installer. The minimalStandalone ! sample includes example scripts for both.</p> <p>Q. Where is the home page?<br /> A. <a href="http://pythoncard.sourceforge.net/">http://pythoncard.sourceforge.net/</a></p> --- 41,46 ---- A. Yes</p> <p>Q. Can I build standalone executables?<br /> ! A. Yes, using <a href="http://starship.python.net/crew/theller/py2exe/">py2exe</a> or Gordon McMillan's installer. On Mac OS X, you can use <a href="http://www.python.org/moin/BundleBuilder">BundleBuilder</a> to make standalones. The minimalStandalone ! sample includes example scripts for all of them.</p> <p>Q. Where is the home page?<br /> A. <a href="http://pythoncard.sourceforge.net/">http://pythoncard.sourceforge.net/</a></p> |
From: Kevin A. <ka...@us...> - 2004-08-14 21:21:36
|
Update of /cvsroot/pythoncard/PythonCard/docs/html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19788 Modified Files: faq.html Log Message: updated links Index: faq.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/faq.html,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** faq.html 26 Jul 2004 15:35:31 -0000 1.9 --- faq.html 14 Aug 2004 21:21:28 -0000 1.10 *************** *** 28,37 **** <p>Q. Have any programs been written with PythonCard?<br /> A. Yes. For a list of the samples that have been built with PythonCard ! and some screenshots of them in action go to the <a href="samples.html">samples page</a>. A description of each sample is included in the readme.txt file in each sample directory.</p> <p>Q. Do I need to know Python to use PythonCard?<br /> A. Yes. We've added a <a href="learning_python.html">Learning Python</a> page to get you started.</p> <p>Q. What do I need to use PythonCard?<br /> ! A. Python 2.2.1 or higher and wxPython 2.4.1.2 or higher.</p> <p>Q. What Operating Systems are supported?<br /> A. PythonCard runs on every platform that both Python and wxPython are --- 28,37 ---- <p>Q. Have any programs been written with PythonCard?<br /> A. Yes. For a list of the samples that have been built with PythonCard ! and some screenshots of them in action go to the <a href="samples/samples.html">samples page</a>. A description of each sample is included in the readme.txt file in each sample directory.</p> <p>Q. Do I need to know Python to use PythonCard?<br /> A. Yes. We've added a <a href="learning_python.html">Learning Python</a> page to get you started.</p> <p>Q. What do I need to use PythonCard?<br /> ! A. Python 2.3 or higher and wxPython 2.5.2.7 or higher.</p> <p>Q. What Operating Systems are supported?<br /> A. PythonCard runs on every platform that both Python and wxPython are *************** *** 39,46 **** Linux GTK, and Solaris</p> <p>Q. Does PythonCard run on Macintosh OS X?<br /> ! A. Yes. There are still display issues and other bugs, but it does work. ! This <a href="http://wiki.wxpython.org/index.cgi/wxPythonOSX_20Issues">wiki page</a> ! has more information and is kept up to date as improvements are made. You ! should also join the <a href="http://www.wxpython.org/maillist.php">wxpython-mac mailing list</a>.</p> <p>Q. Can I build standalone executables?<br /> A. Yes, using <a href="http://starship.python.net/crew/theller/py2exe/">py2exe</a> and Gordon McMillan's installer. The minimalStandalone --- 39,43 ---- Linux GTK, and Solaris</p> <p>Q. Does PythonCard run on Macintosh OS X?<br /> ! A. Yes</p> <p>Q. Can I build standalone executables?<br /> A. Yes, using <a href="http://starship.python.net/crew/theller/py2exe/">py2exe</a> and Gordon McMillan's installer. The minimalStandalone |
From: Kevin A. <ka...@us...> - 2004-08-14 21:15:30
|
Update of /cvsroot/pythoncard/PythonCard/docs/html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18863 Modified Files: sidebar.php Log Message: made sidebar links absolute so links work for files in sub-dirs Index: sidebar.php =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/sidebar.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** sidebar.php 14 Aug 2004 21:12:09 -0000 1.2 --- sidebar.php 14 Aug 2004 21:15:21 -0000 1.3 *************** *** 13,28 **** <h4>General</h4> <ul> ! <li><a href="index.html">Home page</a></li> ! <li><a href="documentation.html">Documentation</a></li> <li><a href="http://wiki.wxpython.org/index.cgi/PythonCard">Wiki</a></li> ! <li><a href="faq.html">FAQ</a></li> <li><a href="http://sourceforge.net/project/showfiles.php?group_id=19015">Downloads</a></li> ! <li><a href="installation.html">Installation</a></li> <li><a href="http://lists.sourceforge.net/lists/listinfo/pythoncard-users">Mailing list</a></li> <li> <a href="http://aspn.activestate.com/ASPN/Mail/Browse/Threaded/PythonCard">Archive @ ASPN</a></li> <li> <a href="http://sourceforge.net/mailarchive/forum.php?forum=pythoncard-users">Archive @ SF</a></li> ! <li><a href="samples/samples.html">Samples (screenshots)</a></li> ! <li><a href="moreapplications.html">More applications...</a></li> ! <li><a href="donations.html">Donate</a></li> </ul> <h4>Development</h4> --- 13,28 ---- <h4>General</h4> <ul> ! <li><a href="/index.html">Home page</a></li> ! <li><a href="/documentation.html">Documentation</a></li> <li><a href="http://wiki.wxpython.org/index.cgi/PythonCard">Wiki</a></li> ! <li><a href="/faq.html">FAQ</a></li> <li><a href="http://sourceforge.net/project/showfiles.php?group_id=19015">Downloads</a></li> ! <li><a href="/installation.html">Installation</a></li> <li><a href="http://lists.sourceforge.net/lists/listinfo/pythoncard-users">Mailing list</a></li> <li> <a href="http://aspn.activestate.com/ASPN/Mail/Browse/Threaded/PythonCard">Archive @ ASPN</a></li> <li> <a href="http://sourceforge.net/mailarchive/forum.php?forum=pythoncard-users">Archive @ SF</a></li> ! <li><a href="/samples/samples.html">Samples (screenshots)</a></li> ! <li><a href="/moreapplications.html">More applications...</a></li> ! <li><a href="/donations.html">Donate</a></li> </ul> <h4>Development</h4> *************** *** 36,40 **** <ul> <li><a href="http://altis.pycs.net/stories/2003/04/16/whatIsPythonAndWhyPython.html">What is Python?</a></li> ! <li><a href="learning_python.html">Learning Python</a></li> <li><a href="http://www.wxpython.org/">wxPython</a></li> </ul> --- 36,40 ---- <ul> <li><a href="http://altis.pycs.net/stories/2003/04/16/whatIsPythonAndWhyPython.html">What is Python?</a></li> ! <li><a href="/learning_python.html">Learning Python</a></li> <li><a href="http://www.wxpython.org/">wxPython</a></li> </ul> |
From: Kevin A. <ka...@us...> - 2004-08-14 21:12:18
|
Update of /cvsroot/pythoncard/PythonCard/docs/html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18536 Modified Files: macosx_installation.html macosx_jaguar_installation.html sidebar.php windows_installation.html Log Message: updated for release 0.8, Python 2.3.4, wxPython 2.5.2.7 Index: macosx_jaguar_installation.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/macosx_jaguar_installation.html,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** macosx_jaguar_installation.html 26 Jul 2004 15:35:31 -0000 1.5 --- macosx_jaguar_installation.html 14 Aug 2004 21:12:09 -0000 1.6 *************** *** 34,38 **** desktop.</p> <h2>Downloading wxPython</h2> ! <p>PythonCard relies on the wxPython package. Click on this <a href="http://prdownloads.sourceforge.net/wxpython/wxPythonOSX-2.5.1.5-jaguar-Py2.3.dmg">wxPythonOSX-2.5.1.5-jaguar-Py2.3.dmg</a> link to begin the download. Again, most Mac OS X browsers will save the file to your desktop.</p> --- 34,38 ---- desktop.</p> <h2>Downloading wxPython</h2> ! <p>PythonCard relies on the wxPython package. Click on this <a href="http://prdownloads.sourceforge.net/wxpython/wxPythonOSX-2.5.2.7-jaguar-Py2.3.dmg">wxPythonOSX-2.5.2.7-jaguar-Py2.3.dmg</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/PythonCardPrototype-0.7.3.1.tar.gz">PythonCardPrototype-0.7.3.1.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/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> *************** *** 54,58 **** <h2>Installing wxPython</h2> <p>wxPython also comes as an installable disk image. Just double-click on the ! file you downloaded (it's called wxPythonOSX-2.5.1.5-jaguar-Py2.3.dmg), then double-click the wxPythonOSX-jaguar.pkg icon and follow the instructions. wxPython will be installed into <span class="code">/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/</span>.</p> --- 54,58 ---- <h2>Installing wxPython</h2> <p>wxPython also comes as an installable disk image. Just double-click on the ! file you downloaded (it's called wxPythonOSX-2.5.2.7-jaguar-Py2.3.dmg), then double-click the wxPythonOSX-jaguar.pkg icon and follow the instructions. wxPython will be installed into <span class="code">/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/</span>.</p> *************** *** 61,73 **** folder.</p> <h2>Installing PythonCardPrototype</h2> ! <p>The PythonCardPrototype-0.7.3.1.tar.gz file you downloaded should automatically be decompressed by Stuffit; if the file isn't already ! decompressed, then double-click the PythonCardPrototype-0.7.3.1.tar.gz file. ! You should now have a PythonCardPrototype-0.7.3.1 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.7.3.1<br /> ! [mymachine:~/Desktop/PythonCardPrototype-0.7.3.1] 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 --- 61,73 ---- 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 Index: sidebar.php =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/sidebar.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** sidebar.php 26 Jul 2004 15:35:32 -0000 1.1 --- sidebar.php 14 Aug 2004 21:12:09 -0000 1.2 *************** *** 10,14 **** <input type="submit" id="submit" name="submit" value="Search" style="margin: 0.3em;" /> </form> ! <p>Latest release: 0.7.3.1</p> <h4>General</h4> <ul> --- 10,14 ---- <input type="submit" id="submit" name="submit" value="Search" style="margin: 0.3em;" /> </form> ! <p>Latest release: 0.8</p> <h4>General</h4> <ul> Index: windows_installation.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/windows_installation.html,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** windows_installation.html 26 Jul 2004 15:35:32 -0000 1.12 --- windows_installation.html 14 Aug 2004 21:12:09 -0000 1.13 *************** *** 24,39 **** </ol> <h2>Downloading Python</h2> ! <p>Python 2.3.3 is available from a couple of sources.</p> <ul> ! <li>The main <a href="http://www.python.org/2.3.3/">Python 2.3.3</a> page.</li> <li>The <a href="http://www.activestate.com/Products/ActivePython/more_information.plex">ActivePython</a> distribution</li> </ul> <p>For this guide, we'll be installing from the main Python site. Click on ! this <a href="http://www.python.org/ftp/python/2.3.3/Python-2.3.3.exe">Python-2.3.3.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 your browser.</p> <h2>Downloading wxPython</h2> ! <p>PythonCard relies on the wxPython package. Click on this <a href="http://prdownloads.sourceforge.net/wxpython/wxPythonWIN32-2.5.1.5-Py23.exe">wxPython 2.5.1.5 for Python 2.3.x</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 your --- 24,39 ---- </ol> <h2>Downloading Python</h2> ! <p>Python 2.3.4 is available from a couple of sources.</p> <ul> ! <li>The main <a href="http://www.python.org/2.3.4/">Python 2.3.4</a> page.</li> <li>The <a href="http://www.activestate.com/Products/ActivePython/more_information.plex">ActivePython</a> distribution</li> </ul> <p>For this guide, we'll be installing from the main Python site. Click on ! this <a href="http://www.python.org/ftp/python/2.3.4/Python-2.3.4.exe">Python-2.3.4.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 your browser.</p> <h2>Downloading wxPython</h2> ! <p>PythonCard relies on the wxPython package. Click on this <a href="http://prdownloads.sourceforge.net/wxpython/wxPythonWIN32-2.5.2.7-Py23.exe">wxPython 2.5.2.7 for Python 2.3.x</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 your *************** *** 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.7.3.1.win32.exe">PythonCardPrototype-0.7.3.1.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/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 *************** *** 48,52 **** <p>Python arrives at your system as an installable application. All you have to do is double-click on the file you downloaded (it's called ! Python-2.3.3.exe) and follow the instructions in the installation wizard. By default, the installer will create a new directory C:\Python23 to contain the Python executables, documentation, tools, IDLE editor, and standard --- 48,52 ---- <p>Python arrives at your system as an installable application. All you have to do is double-click on the file you downloaded (it's called ! Python-2.3.4.exe) and follow the instructions in the installation wizard. By default, the installer will create a new directory C:\Python23 to contain the Python executables, documentation, tools, IDLE editor, and standard *************** *** 55,59 **** <h2>Installing wxPython</h2> <p>wxPython also comes as an automatic installer. Just double-click on the ! file you downloaded (it's called wxPythonWIN32-2.5.1.5-Py23.exe) and follow the instructions. By default, wxPython will be installed into Python23\Lib\site-packages.</p> --- 55,59 ---- <h2>Installing wxPython</h2> <p>wxPython also comes as an automatic installer. Just double-click on the ! file you downloaded (it's called wxPythonWIN32-2.5.2.7-Py23.exe) and follow the instructions. By default, wxPython will be installed into Python23\Lib\site-packages.</p> Index: macosx_installation.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/macosx_installation.html,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** macosx_installation.html 26 Jul 2004 15:35:31 -0000 1.16 --- macosx_installation.html 14 Aug 2004 21:12:09 -0000 1.17 *************** *** 35,44 **** desktop.</p> <h2>Downloading wxPython</h2> ! <p>PythonCard relies on the wxPython package. Click on this <a href="http://prdownloads.sourceforge.net/wxpython/wxPythonOSX-2.5.1.5-panther-Py2.3.dmg">wxPythonOSX-2.5.1.5-panther-Py2.3.dmg</a> link to begin the download. Again, most Mac OS X browsers will save the file to your desktop.</p> <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.7.3.1.tar.gz">PythonCardPrototype-0.7.3.1.tar.gz</a> link to begin the download. Again, most Mac OS X browsers will save the file to your desktop.</p> --- 35,44 ---- desktop.</p> <h2>Downloading wxPython</h2> ! <p>PythonCard relies on the wxPython package. Click on this <a href="http://prdownloads.sourceforge.net/wxpython/wxPythonOSX-2.5.2.7-panther-Py2.3.dmg">wxPythonOSX-2.5.2.7-panther-Py2.3.dmg</a> link to begin the download. Again, most Mac OS X browsers will save the file to your desktop.</p> <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> *************** *** 51,55 **** <h2>Installing wxPython</h2> <p>wxPython also comes as an installable disk image. Just double-click on the ! file you downloaded (it's called wxPythonOSX-2.5.1.5-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> --- 51,55 ---- <h2>Installing wxPython</h2> <p>wxPython also comes as an installable disk image. Just double-click on the ! 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> *************** *** 58,71 **** folder.</p> <h2>Installing PythonCardPrototype</h2> ! <p>The PythonCardPrototype-0.7.3.1.tar.gz file you downloaded should automatically be decompressed by Stuffit; if the file isn't already ! decompressed, then double-click the PythonCardPrototype-0.7.3.1.tar.gz file. ! You should now have a PythonCardPrototype-0.7.3.1 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.7.3.1<br /> ! [mymachine:~/Desktop/PythonCardPrototype-0.7.3.1] bob% sudo python setup.py install</p> <p>By default, the PythonCard framework will be installed into --- 58,71 ---- 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 |
Update of /cvsroot/pythoncard/PythonCard/docs/html/framework In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17445 Modified Files: components.html dialogs.html events_and_handlers.html general_concepts_and_limitations.html menus.html resource_files.html runtime_tools.html Log Message: switched to Andy's php header and footers Index: menus.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/framework/menus.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** menus.html 11 Apr 2004 17:29:48 -0000 1.1 --- menus.html 14 Aug 2004 21:05:15 -0000 1.2 *************** *** 1,14 **** ! <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> ! <head> ! <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> ! <meta name="author" content="YOUR NAME HERE"> <title>Framework Overview - Menus</title> </head> <body> <h1>Framework Overview - Menus</h1> ! <!-- body --> ! <!-- images will go into the images directory --> ! <!-- so references should be relative "images/wt2fig1.png" --> <p>Updated: April 10, 2004 for release 0.7.3</p> --- 1,15 ---- ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> ! <head> ! <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> ! <link rel="stylesheet" href="../PythonCard.css" type="text/css" /> <title>Framework Overview - Menus</title> </head> <body> + <div id="banner"> <h1>Framework Overview - Menus</h1> ! </div> ! <?php include "../sidebar.php" ?> ! <div id="content"> <p>Updated: April 10, 2004 for release 0.7.3</p> *************** *** 25,30 **** 'select' event.</p> ! <hr> | <a href="general_concepts_and_limitations.html">General Concepts and Limitations</a> | <a href="components.html">Components</a> | <a href="dialogs.html">Dialogs</a> | <a href="events_and_handlers.html">Events and Handlers</a> | <a href="menus.html">Menus</a> | <a href="resource_files.html">Resource Files</a> | <a href="runtime_tools.html">Runtime Tools</a> <hr> <span class="release-info">$Revision$, documentation updated on $Date$</span> ! <img src="http://sourceforge.net/sflogo.php?group_id=19015&type=1" ! width="88" height="31" border="0" alt="SourceForge Logo"> ! </body></html> --- 26,32 ---- 'select' event.</p> ! <hr> | <a href="general_concepts_and_limitations.html">General Concepts and Limitations</a> | <a href="components.html">Components</a> | <a href="dialogs.html">Dialogs</a> | <a href="events_and_handlers.html">Events and Handlers</a> | <a href="menus.html">Menus</a> | <a href="resource_files.html">Resource Files</a> | <a href="runtime_tools.html">Runtime Tools</a> <hr> <?php include "../footer.php" ?> ! <p>$Revision$ : $Author$ : Last updated $Date$</p> ! </div> <!-- end of content --> ! </body> ! </html> Index: general_concepts_and_limitations.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/framework/general_concepts_and_limitations.html,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** general_concepts_and_limitations.html 11 Apr 2004 18:23:43 -0000 1.2 --- general_concepts_and_limitations.html 14 Aug 2004 21:05:15 -0000 1.3 *************** *** 1,14 **** ! <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> ! <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> ! <meta name="author" content="YOUR NAME HERE"> <title>Framework Overview - General Concepts and Limitations</title> </head> <body> <h1>Framework Overview - General Concepts and Limitations</h1> ! <!-- body --> ! <!-- images will go into the images directory --> ! <!-- so references should be relative "images/wt2fig1.png" --> <p>Updated: April 10, 2004 for release 0.7.3</p> --- 1,15 ---- ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> ! <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> ! <link rel="stylesheet" href="../PythonCard.css" type="text/css" /> <title>Framework Overview - General Concepts and Limitations</title> </head> <body> + <div id="banner"> <h1>Framework Overview - General Concepts and Limitations</h1> ! </div> ! <?php include "../sidebar.php" ?> ! <div id="content"> <p>Updated: April 10, 2004 for release 0.7.3</p> *************** *** 119,124 **** as a way of simplifying the use of wxPython.</p> ! <hr> | <a href="general_concepts_and_limitations.html">General Concepts and Limitations</a> | <a href="components.html">Components</a> | <a href="dialogs.html">Dialogs</a> | <a href="events_and_handlers.html">Events and Handlers</a> | <a href="menus.html">Menus</a> | <a href="resource_files.html">Resource Files</a> | <a href="runtime_tools.html">Runtime Tools</a> <hr> <span class="release-info">$Revision$, documentation updated on $Date$</span> ! <img src="http://sourceforge.net/sflogo.php?group_id=19015&type=1" ! width="88" height="31" border="0" alt="SourceForge Logo"> ! </body></html> --- 120,126 ---- as a way of simplifying the use of wxPython.</p> ! <hr> | <a href="general_concepts_and_limitations.html">General Concepts and Limitations</a> | <a href="components.html">Components</a> | <a href="dialogs.html">Dialogs</a> | <a href="events_and_handlers.html">Events and Handlers</a> | <a href="menus.html">Menus</a> | <a href="resource_files.html">Resource Files</a> | <a href="runtime_tools.html">Runtime Tools</a> <hr> <?php include "../footer.php" ?> ! <p>$Revision$ : $Author$ : Last updated $Date$</p> ! </div> <!-- end of content --> ! </body> ! </html> Index: events_and_handlers.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/framework/events_and_handlers.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** events_and_handlers.html 11 Apr 2004 17:29:48 -0000 1.1 --- events_and_handlers.html 14 Aug 2004 21:05:15 -0000 1.2 *************** *** 1,15 **** ! <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> ! <head> ! <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> ! <meta name="author" content="YOUR NAME HERE"> <title>Framework Overview - Events and Handlers</title> </head> <body> <h1>Framework Overview - Events and Handlers</h1> ! <!-- body --> ! <!-- images will go into the images directory --> ! <!-- so references should be relative "images/wt2fig1.png" --> ! <p>Updated: April 10, 2004 for release 0.7.3</p> --- 1,15 ---- ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> ! <head> ! <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> ! <link rel="stylesheet" href="../PythonCard.css" type="text/css" /> <title>Framework Overview - Events and Handlers</title> </head> <body> + <div id="banner"> <h1>Framework Overview - Events and Handlers</h1> ! </div> ! <?php include "../sidebar.php" ?> ! <div id="content"> <p>Updated: April 10, 2004 for release 0.7.3</p> *************** *** 114,119 **** </pre> ! <hr> | <a href="general_concepts_and_limitations.html">General Concepts and Limitations</a> | <a href="components.html">Components</a> | <a href="dialogs.html">Dialogs</a> | <a href="events_and_handlers.html">Events and Handlers</a> | <a href="menus.html">Menus</a> | <a href="resource_files.html">Resource Files</a> | <a href="runtime_tools.html">Runtime Tools</a> <hr> <span class="release-info">$Revision$, documentation updated on $Date$</span> ! <img src="http://sourceforge.net/sflogo.php?group_id=19015&type=1" ! width="88" height="31" border="0" alt="SourceForge Logo"> ! </body></html> --- 114,120 ---- </pre> ! <hr> | <a href="general_concepts_and_limitations.html">General Concepts and Limitations</a> | <a href="components.html">Components</a> | <a href="dialogs.html">Dialogs</a> | <a href="events_and_handlers.html">Events and Handlers</a> | <a href="menus.html">Menus</a> | <a href="resource_files.html">Resource Files</a> | <a href="runtime_tools.html">Runtime Tools</a> <hr> <?php include "../footer.php" ?> ! <p>$Revision$ : $Author$ : Last updated $Date$</p> ! </div> <!-- end of content --> ! </body> ! </html> Index: resource_files.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/framework/resource_files.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** resource_files.html 11 Apr 2004 17:29:48 -0000 1.1 --- resource_files.html 14 Aug 2004 21:05:15 -0000 1.2 *************** *** 1,14 **** ! <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> ! <head> ! <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> ! <meta name="author" content="YOUR NAME HERE"> <title>Framework Overview - Resource Files</title> </head> <body> <h1>Framework Overview - Resource Files</h1> ! <!-- body --> ! <!-- images will go into the images directory --> ! <!-- so references should be relative "images/wt2fig1.png" --> <p>Updated: April 10, 2004 for release 0.7.3</p> --- 1,15 ---- ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> ! <head> ! <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> ! <link rel="stylesheet" href="../PythonCard.css" type="text/css" /> <title>Framework Overview - Resource Files</title> </head> <body> + <div id="banner"> <h1>Framework Overview - Resource Files</h1> ! </div> ! <?php include "../sidebar.php" ?> ! <div id="content"> <p>Updated: April 10, 2004 for release 0.7.3</p> *************** *** 74,79 **** example of dynamic component creation when the app starts up.</p> ! <hr> | <a href="general_concepts_and_limitations.html">General Concepts and Limitations</a> | <a href="components.html">Components</a> | <a href="dialogs.html">Dialogs</a> | <a href="events_and_handlers.html">Events and Handlers</a> | <a href="menus.html">Menus</a> | <a href="resource_files.html">Resource Files</a> | <a href="runtime_tools.html">Runtime Tools</a> <hr> <span class="release-info">$Revision$, documentation updated on $Date$</span> ! <img src="http://sourceforge.net/sflogo.php?group_id=19015&type=1" ! width="88" height="31" border="0" alt="SourceForge Logo"> ! </body></html> --- 75,81 ---- example of dynamic component creation when the app starts up.</p> ! <hr> | <a href="general_concepts_and_limitations.html">General Concepts and Limitations</a> | <a href="components.html">Components</a> | <a href="dialogs.html">Dialogs</a> | <a href="events_and_handlers.html">Events and Handlers</a> | <a href="menus.html">Menus</a> | <a href="resource_files.html">Resource Files</a> | <a href="runtime_tools.html">Runtime Tools</a> <hr> <?php include "../footer.php" ?> ! <p>$Revision$ : $Author$ : Last updated $Date$</p> ! </div> <!-- end of content --> ! </body> ! </html> Index: dialogs.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/framework/dialogs.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** dialogs.html 11 Apr 2004 17:29:48 -0000 1.1 --- dialogs.html 14 Aug 2004 21:05:15 -0000 1.2 *************** *** 1,14 **** ! <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> ! <head> ! <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> ! <meta name="author" content="YOUR NAME HERE"> <title>Framework Overview- Dialogs</title> </head> <body> <h1>Framework Overview- Dialogs</h1> ! <!-- body --> ! <!-- images will go into the images directory --> ! <!-- so references should be relative "images/wt2fig1.png" --> <p>Updated: April 10, 2004 for release 0.7.3</p> --- 1,15 ---- ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> ! <head> ! <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> ! <link rel="stylesheet" href="../PythonCard.css" type="text/css" /> <title>Framework Overview- Dialogs</title> </head> <body> + <div id="banner"> <h1>Framework Overview- Dialogs</h1> ! </div> ! <?php include "../sidebar.php" ?> ! <div id="content"> <p>Updated: April 10, 2004 for release 0.7.3</p> *************** *** 54,59 **** | <a href="runtime_tools.html">Runtime Tools</a> <hr> ! <span class="release-info">$Revision$, documentation updated on $Date$</span> ! <img src="http://sourceforge.net/sflogo.php?group_id=19015&type=1" ! width="88" height="31" border="0" alt="SourceForge Logo"> ! </body></html> --- 55,61 ---- | <a href="runtime_tools.html">Runtime Tools</a> <hr> ! <?php include "../footer.php" ?> ! <p>$Revision$ : $Author$ : Last updated $Date$</p> ! </div> <!-- end of content --> ! </body> ! </html> Index: components.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/framework/components.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** components.html 11 Apr 2004 17:29:48 -0000 1.1 --- components.html 14 Aug 2004 21:05:15 -0000 1.2 *************** *** 1,14 **** ! <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> ! <head> ! <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> ! <meta name="author" content="YOUR NAME HERE"> ! <title>Framework Overview - Components</title> ! </head> <body> <h1>Framework Overview - Components</h1> ! <!-- body --> ! <!-- images will go into the images directory --> ! <!-- so references should be relative "images/wt2fig1.png" --> <p>Updated: April 10, 2004 for release 0.7.3</p> --- 1,15 ---- ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> ! <head> ! <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> ! <link rel="stylesheet" href="../PythonCard.css" type="text/css" /> ! <title>Framework Overview - Components</title> ! </head> <body> + <div id="banner"> <h1>Framework Overview - Components</h1> ! </div> ! <?php include "../sidebar.php" ?> ! <div id="content"> <p>Updated: April 10, 2004 for release 0.7.3</p> *************** *** 125,130 **** initialization are the most obvious.</p> ! <hr> | <a href="general_concepts_and_limitations.html">General Concepts and Limitations</a> | <a href="components.html">Components</a> | <a href="dialogs.html">Dialogs</a> | <a href="events_and_handlers.html">Events and Handlers</a> | <a href="menus.html">Menus</a> | <a href="resource_files.html">Resource Files</a> | <a href="runtime_tools.html">Runtime Tools</a> <hr> <span class="release-info">$Revision$, documentation updated on $Date$</span> ! <img src="http://sourceforge.net/sflogo.php?group_id=19015&type=1" ! width="88" height="31" border="0" alt="SourceForge Logo"> ! </body></html> --- 126,132 ---- initialization are the most obvious.</p> ! <hr> | <a href="general_concepts_and_limitations.html">General Concepts and Limitations</a> | <a href="components.html">Components</a> | <a href="dialogs.html">Dialogs</a> | <a href="events_and_handlers.html">Events and Handlers</a> | <a href="menus.html">Menus</a> | <a href="resource_files.html">Resource Files</a> | <a href="runtime_tools.html">Runtime Tools</a> <hr> <?php include "../footer.php" ?> ! <p>$Revision$ : $Author$ : Last updated $Date$</p> ! </div> <!-- end of content --> ! </body> ! </html> Index: runtime_tools.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/framework/runtime_tools.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** runtime_tools.html 11 Apr 2004 17:29:48 -0000 1.1 --- runtime_tools.html 14 Aug 2004 21:05:15 -0000 1.2 *************** *** 1,14 **** ! <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> ! <head> ! <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> ! <meta name="author" content="YOUR NAME HERE"> <title>Framework Overview - Runtime Tools</title> </head> <body> <h1>Framework Overview - Runtime Tools</h1> ! <!-- body --> ! <!-- images will go into the images directory --> ! <!-- so references should be relative "images/wt2fig1.png" --> <p>Updated: April 10, 2004 for release 0.7.3</p> --- 1,15 ---- ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> ! <head> ! <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> ! <link rel="stylesheet" href="../PythonCard.css" type="text/css" /> <title>Framework Overview - Runtime Tools</title> </head> <body> + <div id="banner"> <h1>Framework Overview - Runtime Tools</h1> ! </div> ! <?php include "../sidebar.php" ?> ! <div id="content"> <p>Updated: April 10, 2004 for release 0.7.3</p> *************** *** 84,89 **** PythonCard probably makes the most and best use of PyCrust right now.</p> ! <hr> | <a href="general_concepts_and_limitations.html">General Concepts and Limitations</a> | <a href="components.html">Components</a> | <a href="dialogs.html">Dialogs</a> | <a href="events_and_handlers.html">Events and Handlers</a> | <a href="menus.html">Menus</a> | <a href="resource_files.html">Resource Files</a> | <a href="runtime_tools.html">Runtime Tools</a> <hr> <span class="release-info">$Revision$, documentation updated on $Date$</span> ! <img src="http://sourceforge.net/sflogo.php?group_id=19015&type=1" ! width="88" height="31" border="0" alt="SourceForge Logo"> ! </body></html> --- 85,91 ---- PythonCard probably makes the most and best use of PyCrust right now.</p> ! <hr> | <a href="general_concepts_and_limitations.html">General Concepts and Limitations</a> | <a href="components.html">Components</a> | <a href="dialogs.html">Dialogs</a> | <a href="events_and_handlers.html">Events and Handlers</a> | <a href="menus.html">Menus</a> | <a href="resource_files.html">Resource Files</a> | <a href="runtime_tools.html">Runtime Tools</a> <hr> <?php include "../footer.php" ?> ! <p>$Revision$ : $Author$ : Last updated $Date$</p> ! </div> <!-- end of content --> ! </body> ! </html> |
From: Kevin A. <ka...@us...> - 2004-08-14 18:53:12
|
Update of /cvsroot/pythoncard/PythonCard/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29220/docs Added Files: migration_guide.txt Log Message: added migration guide for release 0.8 --- NEW FILE: migration_guide.txt --- Migration Guide Last changed 2004-08-14. Introduction The purpose of this guide is to help people migrate their programs written for PythonCardPrototype release 0.7.3.1 to release 0.8. For a complete list of changes, please refer to the changelog.txt file. All the samples and tools included with PythonCard have already been updated to the new API, so you can also look at that code for examples. Some of the documentation included with PythonCard may still refer to the older APIs. If you spot a mistake, please email me at al...@se... and I will update the documentation for the next release. Version 0.8 is the first release on the way to finalizing the PythonCard API for a 1.0 release later this year or early 2005, whenever wxPython 2.6 is released. Like previous releases of the prototype package (PythonCardPrototype) you can expect changes from release to release until vesion 1.0 is done. One of the biggest changes to be aware of is that PythonCard is now keeping pace with each new wxPython release with the intent of basing the PythonCard 1.0 API on wxPython 2.6, thus the minimum requirements have been changed. wxPython 2.4.x will not be supported by PythonCard, there are simply too many changes and no effective way to maintain a code base that supports older wxPython releases. In addition, Python 2.2.x will not be supported. Minimum Requirements Python 2.3 or later and wxPython 2.5.2.7 or later. Package Name Change The main package name has changed from PythonCardPrototype to PythonCard. Since the package name has been changed it is possible to run older PythonCardPrototype programs even with the new package installed. Resource File Changes The Stack class was removed, so the first line of your .rsrc.py file needs to have the 'stack' and 'Stack' strings replaced with 'application' and 'Application' as shown below. { 'stack':{ 'type':'Stack', to { 'application':{ 'type':'Application', In addition, in your source, self.stack.app references are now just self.application. PythonCardApp Class Renamed PythonCardApp was renamed to Application. The application initialization and startup code for your module will need to be updated to use the Application class. For example, here's the new code for the minimal sample. if __name__ == '__main__': app = model.Application(Minimal) app.MainLoop() Events openBackground was renamed to initialize, so rename your on_openBackground event handlers to on_initialize. restore (inverse of minimize) and deactivate (inverse of activate) background window events were added. The event binding and dispatch system was completely rewritten and simplified for release 0.8. If you were using any of the internal event classes or relying on how events were bound and dispatched, you should double-check your code to make sure it still works. A complete discussion of the changes is not appropriate for this document, so please bring up any issues you have on the pythoncard-users mailing list. New-style Classes and Attributes (Properties) wxPython now uses new-style classes. This allowed the PythonCard components to be changed to use the property() function for attributes instead of __getattr__ and __setattr__ methods. Once again, this dramatically simplified the framework sources for components. In addition, we were able to remove get/set methods for position, size, foregroundColor, backgroundColor, etc. in the Background and CustomDialog classes and replace those get/set methods with attributes. selection and stringSelection Attributes The Choice, ComboBox, List, RadioGroup components were updated to use 'selection' and 'stringSelection' attributes instead of mixed-capability 'selected' and 'selection' attributes. If you were using these attributes previously, you will have to update both your source and resource files. mixedCase Method Names All methods in PythonCard exposed to user code now use the mixedCase naming style to distinguish PythonCard methods from wxPython, which uses the CamelCase style for method names. In the PythonCard shell, the wxPython method names are suppressed in the auto-complete popup window. wx Import Change All imports from the wxPython.wx package have been changed to use the new wx package. For example: from wxPython import wx has been changed to import wx The biggest impact is that the wx prefix is no longer used (e.g. wx.wxFrame is now wx.Frame) in the framework or samples except for wxPython constants. Module Names Changes Old New ----------------------------- config.py configuration.py pom.py component.py res.py resource.py Added Modules timer.py contains a simple wx.Timer class wrapper. Deleted Modules dispatch.py Dialogs The dialog module is now a thin wrapper around the wx.lib.dialogs module. The biggest change to your code is that the result of dialogs is now a DialogResults class instead of a dictionary. See the dialogs sample for examples of usage, but in general if you had something like result['accepted'] it will now be result.accepted. Calendar Component The Calendar component was changed to use the CAL_SEQUENTIAL_MONTH_SELECTION style. A style attribute may need to be added to the Calendar component in future releases to allow different calendar styles to be used. Image Component PythonCard now uses wx.lib.statbmp.GenStaticBitmap on GTK for the Image component so that the Image component can get mouse events on all platforms. If you want to use a bitmap with transparency, then you'll also want to use the Image component to get the same appearance on all platforms. StatusBar statusbar.StatusBar a direct subclass of wx.StatusBar so it is now possible to provide your own StatusBar subclass to use instead of the default. See the createStatusBar method in model.py Miscellaneous Renamed stc-styles.rc.cfg to stc-styles.cfg, but this shouldn't impact any user programs. |
From: Kevin A. <ka...@us...> - 2004-08-14 16:53:25
|
Update of /cvsroot/pythoncard/PythonCard In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10135 Modified Files: .cvsignore Log Message: added build and dist Index: .cvsignore =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/.cvsignore,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** .cvsignore 17 Apr 2004 07:20:56 -0000 1.8 --- .cvsignore 14 Aug 2004 16:53:16 -0000 1.9 *************** *** 9,10 **** --- 9,12 ---- .project .DS_Store + build + dist |
From: Kevin A. <ka...@us...> - 2004-08-14 15:37:18
|
Update of /cvsroot/pythoncard/PythonCard In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31543 Modified Files: dialog.py Log Message: fixed aFontDialog typo, included wx.lib.dialogs code as workaround Index: dialog.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/dialog.py,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** dialog.py 12 Aug 2004 19:11:13 -0000 1.34 --- dialog.py 14 Aug 2004 15:37:10 -0000 1.35 *************** *** 7,11 **** import wx from wx.lib import dialogs ! import font --- 7,11 ---- import wx from wx.lib import dialogs ! from font import Font, fontDescription *************** *** 16,28 **** colorDialog = dialogs.colorDialog def fontDialog(parent, aFont=None): ! result = dialogs.fontDialog(aFont) if result.accepted: fontData = result.fontData result.color = result.fontData.GetColour().Get() fontWx = result.fontData.GetChosenFont() ! result.fontDescription = font.fontDescription(fontWx) fontWx = None ! result.font = font.Font(result.fontDescription) return result --- 16,60 ---- colorDialog = dialogs.colorDialog + # KEA 2004-08-14 + # due to a typo of mine in wx.lib.fontDialog + # I have to include the full version of the function here + def wxFontDialog(parent=None, fontData=None, font=None): + if fontData is None: + fontData = wx.FontData() + fontData.SetColour(wx.BLACK) + fontData.SetInitialFont(wx.SystemSettings.GetFont(wx.SYS_DEFAULT_GUI_FONT)) + + if font is not None: + fontData.SetInitialFont(font) + + dialog = wx.FontDialog(parent, fontData) + result = DialogResults(dialog.ShowModal()) + + if result.accepted: + fontData = dialog.GetFontData() + result.fontData = fontData + result.color = fontData.GetColour().Get() + result.colour = result.color + result.font = fontData.GetChosenFont() + else: + result.color = None + result.colour = None + result.font = None + + dialog.Destroy() + return result + def fontDialog(parent, aFont=None): ! if aFont is not None: ! aFont = aFont._getFont() ! result = wxFontDialog(parent, font=aFont) ! #result = dialogs.fontDialog(parent, font=aFont) if result.accepted: fontData = result.fontData result.color = result.fontData.GetColour().Get() fontWx = result.fontData.GetChosenFont() ! result.fontDescription = fontDescription(fontWx) fontWx = None ! result.font = Font(result.fontDescription) return result |
From: Kevin A. <ka...@us...> - 2004-08-14 07:57:48
|
Update of /cvsroot/pythoncard/PythonCard/samples/life In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3399/samples/life Modified Files: life.py Log Message: tweak of window position for mac Index: life.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/life/life.py,v retrieving revision 1.39 retrieving revision 1.40 diff -C2 -d -r1.39 -r1.40 *** life.py 12 Aug 2004 19:18:53 -0000 1.39 --- life.py 14 Aug 2004 07:57:39 -0000 1.40 *************** *** 39,43 **** self.lexiconWindow = model.childWindow(self, Lexicon) ! self.lexiconWindow.position = (650, 5) self.patternsWindow = model.childWindow(self, Patterns) self.patternsWindow.position = (650, 300) --- 39,43 ---- self.lexiconWindow = model.childWindow(self, Lexicon) ! self.lexiconWindow.position = (650, 25) self.patternsWindow = model.childWindow(self, Patterns) self.patternsWindow.position = (650, 300) |
From: Kevin A. <ka...@us...> - 2004-08-14 07:46:30
|
Update of /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2144/tools/resourceEditor/modules Modified Files: newComponentDialog.rsrc.py propertyEditor.rsrc.py Log Message: position and size tweaks Index: propertyEditor.rsrc.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules/propertyEditor.rsrc.py,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** propertyEditor.rsrc.py 14 Aug 2004 01:08:42 -0000 1.10 --- propertyEditor.rsrc.py 14 Aug 2004 07:46:20 -0000 1.11 *************** *** 5,9 **** 'name':'bgTemplate', 'title':'resourceEditor Property Editor', ! 'size':(400, 270), 'visible':0, 'statusBar':1, --- 5,9 ---- 'name':'bgTemplate', 'title':'resourceEditor Property Editor', ! 'size':(405, 270), 'visible':0, 'statusBar':1, *************** *** 13,17 **** {'type':'Button', 'name':'wUpdate', ! 'position':(295, 195), 'label':'Update', 'visible':0, --- 13,17 ---- {'type':'Button', 'name':'wUpdate', ! 'position':(320, 195), 'label':'Update', 'visible':0, *************** *** 37,41 **** 'name':'wTextArea', 'position':(130, 130), ! 'size':(250, 50), 'visible':0, }, --- 37,41 ---- 'name':'wTextArea', 'position':(130, 130), ! 'size':(260, 50), 'visible':0, }, Index: newComponentDialog.rsrc.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules/newComponentDialog.rsrc.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** newComponentDialog.rsrc.py 12 Aug 2004 23:55:49 -0000 1.1 --- newComponentDialog.rsrc.py 14 Aug 2004 07:46:20 -0000 1.2 *************** *** 2,7 **** 'name':'Template', 'title':'Dialog Template', ! 'position':(519, 120), ! 'size':(300, 199), 'components': [ --- 2,6 ---- 'name':'Template', 'title':'Dialog Template', ! 'size':(300, 170), 'components': [ *************** *** 37,40 **** --- 36,40 ---- 'position':(30, 110), 'label':'OK', + 'default':1, }, |
From: Kevin A. <ka...@us...> - 2004-08-14 03:41:13
|
Update of /cvsroot/pythoncard/PythonCard/tools/codeEditor In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8202 Modified Files: restEditor.py Log Message: fixed missing stc import Index: restEditor.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/codeEditor/restEditor.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** restEditor.py 3 Aug 2004 05:41:21 -0000 1.2 --- restEditor.py 14 Aug 2004 03:41:04 -0000 1.3 *************** *** 9,12 **** --- 9,13 ---- from PythonCard import model from codeEditor import CodeEditor + from wx import stc # reST |
From: Kevin A. <ka...@us...> - 2004-08-14 01:08:51
|
Update of /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21207 Modified Files: propertyEditor.rsrc.py Log Message: adjusted size and position for Mac Index: propertyEditor.rsrc.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules/propertyEditor.rsrc.py,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** propertyEditor.rsrc.py 10 May 2004 05:02:50 -0000 1.9 --- propertyEditor.rsrc.py 14 Aug 2004 01:08:42 -0000 1.10 *************** *** 5,9 **** 'name':'bgTemplate', 'title':'resourceEditor Property Editor', ! 'size':(360, 270), 'visible':0, 'statusBar':1, --- 5,9 ---- 'name':'bgTemplate', 'title':'resourceEditor Property Editor', ! 'size':(400, 270), 'visible':0, 'statusBar':1, *************** *** 13,17 **** {'type':'Button', 'name':'wUpdate', ! 'position':(265, 185), 'label':'Update', 'visible':0, --- 13,17 ---- {'type':'Button', 'name':'wUpdate', ! 'position':(295, 195), 'label':'Update', 'visible':0, *************** *** 21,25 **** {'type':'Choice', 'name':'wPop', ! 'position':(100, 130), 'size':(-1, 21), 'items':[], --- 21,25 ---- {'type':'Choice', 'name':'wPop', ! 'position':(130, 130), 'size':(-1, 21), 'items':[], *************** *** 29,33 **** {'type':'CheckBox', 'name':'wChecked', ! 'position':(100, 132), 'visible':0, 'label':'', --- 29,33 ---- {'type':'CheckBox', 'name':'wChecked', ! 'position':(130, 132), 'visible':0, 'label':'', *************** *** 36,40 **** {'type':'TextArea', 'name':'wTextArea', ! 'position':(100, 130), 'size':(250, 50), 'visible':0, --- 36,40 ---- {'type':'TextArea', 'name':'wTextArea', ! 'position':(130, 130), 'size':(250, 50), 'visible':0, *************** *** 43,48 **** {'type':'Button', 'name':'wFont', ! 'position':(290, 130), ! 'size':(50, -1), 'label':'Font...', 'visible':0, --- 43,47 ---- {'type':'Button', 'name':'wFont', ! 'position':(320, 130), 'label':'Font...', 'visible':0, *************** *** 51,56 **** {'type':'Button', 'name':'wColor', ! 'position':(290, 130), ! 'size':(50, -1), 'label':'Color...', 'visible':0, --- 50,54 ---- {'type':'Button', 'name':'wColor', ! 'position':(320, 130), 'label':'Color...', 'visible':0, *************** *** 59,63 **** {'type':'TextField', 'name':'wField', ! 'position':(100, 130), 'size':(180, -1), }, --- 57,61 ---- {'type':'TextField', 'name':'wField', ! 'position':(130, 130), 'size':(180, -1), }, *************** *** 65,70 **** {'type':'StaticText', 'name':'wName', ! 'position':(3, 135), ! 'size':(90, -1), 'alignment':'right', 'text':'name:', --- 63,68 ---- {'type':'StaticText', 'name':'wName', ! 'position':(5, 135), ! 'size':(120, -1), 'alignment':'right', 'text':'name:', *************** *** 74,78 **** 'name':'wPropertyList', 'position':(225, 20), ! 'size':(125, 100), 'items':[], }, --- 72,76 ---- 'name':'wPropertyList', 'position':(225, 20), ! 'size':(165, 100), 'items':[], }, *************** *** 80,84 **** {'type':'List', 'name':'wComponentList', ! 'position':(0, 20), 'size':(200, 100), 'items':[], --- 78,82 ---- {'type':'List', 'name':'wComponentList', ! 'position':(5, 20), 'size':(200, 100), 'items':[], *************** *** 93,97 **** {'type':'StaticText', 'name':'stcNameClass', ! 'position':(3, 3), 'text':'Name : Class', }, --- 91,95 ---- {'type':'StaticText', 'name':'stcNameClass', ! 'position':(5, 3), 'text':'Name : Class', }, |
From: Alex T. <ale...@us...> - 2004-08-12 23:55:58
|
Update of /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3227/modules Added Files: newComponentDialog.py newComponentDialog.rsrc.py Log Message: Add a dialog to give new name and, if appropriate, label/text when creating a component via (Edit/Duplicate, Copy/Paste or Component/<comp>). Provide offset checkboxes to allow easy default positioning. --- NEW FILE: newComponentDialog.py --- """ __version__ = "$Revision: 1.1 $" __date__ = "$Date: 2004/08/12 23:55:49 $" """ from PythonCard import model class NewComponentDialog(model.CustomDialog): def __init__(self, aBg, original, offsets, title): model.CustomDialog.__init__(self, aBg) self.parent = aBg self.title = title if title.startswith("New"): add = "" else: add = "Copy" self.components.fldName.text = original['name']+add if "label" in original.keys(): self.components.lblLabelOrText.text = "Label" self.components.lblLabelOrText.visible = True self.components.fldLabelOrText.text = original['label']+add self.components.fldLabelOrText.visible = True elif "text" in original.keys(): self.components.lblLabelOrText.text = "Text" self.components.lblLabelOrText.visible = True self.components.fldLabelOrText.text = original['text']+add self.components.fldLabelOrText.visible = True else: self.components.lblLabelOrText.visible = False self.components.fldLabelOrText.visible = False self.components.fldLabelOrText.enabled = False if offsets: self.components.chkHorizontal.visible = True self.components.chkVertical.visible = True else: self.components.chkHorizontal.visible = False self.components.chkVertical.visible = False --- NEW FILE: newComponentDialog.rsrc.py --- {'type':'CustomDialog', 'name':'Template', 'title':'Dialog Template', 'position':(519, 120), 'size':(300, 199), 'components': [ {'type':'TextField', 'name':'fldName', 'position':(49, 9), 'size':(180, -1), }, {'type':'TextField', 'name':'fldLabelOrText', 'position':(50, 40), 'size':(180, -1), }, {'type':'CheckBox', 'name':'chkHorizontal', 'position':(10, 80), 'size':(114, -1), 'label':'Offest Horizontally', }, {'type':'CheckBox', 'name':'chkVertical', 'position':(150, 80), 'size':(94, -1), 'label':'Offest Vertically', }, {'type':'Button', 'id':5100, 'name':'btnOK', 'position':(30, 110), 'label':'OK', }, {'type':'Button', 'id':5101, 'name':'btnCancel', 'position':(130, 110), 'label':'Cancel', }, {'type':'StaticText', 'name':'lblLabelOrText', 'position':(10, 40), 'size':(25, -1), 'alignment':'right', 'text':'Label', }, {'type':'StaticText', 'name':'lblName', 'position':(10, 10), 'size':(35, -1), 'alignment':'right', 'text':'Name ', }, ] # end components } # end CustomDialog |