DaboDemo-0.1: ------------------------------------------------------------------------ r54 | paul | 2004-05-07 20:05:32 -0700 (Fri, 07 May 2004) | 5 lines Add an application name to the recipes sample, which flows through to the mainframe's caption. Note: this should be added to the wizard also, with a page where the user can specify the name and version of their application. ------------------------------------------------------------------------ r53 | ed | 2004-05-07 17:24:16 -0700 (Fri, 07 May 2004) | 4 lines Updated the apps to use the new dException class instead of dError. Changed the wizard to remove the comments about raising an exception in the validateRecord() method. ------------------------------------------------------------------------ r52 | paul | 2004-05-06 22:11:10 -0700 (Thu, 06 May 2004) | 3 lines Fix to make the File|Open menu work on Mac for both appRecipes as well as apps built with wizMaintenanceApp. ------------------------------------------------------------------------ r51 | paul | 2004-05-06 20:40:16 -0700 (Thu, 06 May 2004) | 1 line This change gets the File/open menu working on Mac. The Navigation menu currently doesn't do anything, however. ------------------------------------------------------------------------ r50 | paul | 2004-05-06 20:10:00 -0700 (Thu, 06 May 2004) | 2 lines Trying to debug a menu problem on Mac. ------------------------------------------------------------------------ r49 | paul | 2004-05-06 15:14:36 -0700 (Thu, 06 May 2004) | 9 lines Keep the field order in the generated code the same as the field order in the underlying database - it had been sorting the fields alphabetically but I think it's better to assume that the developer has the fields ordered how he/she wants them. Also added some whitespace for clarity/ease of editing the generated source code. ------------------------------------------------------------------------ r48 | paul | 2004-05-05 21:45:30 -0700 (Wed, 05 May 2004) | 19 lines Okay, the wizard works. Well, kind of... you should try it on some of your databases and have a look at the results. The results are... interesting! I've pointed it at two of my apps so far, and I can see that this could actually have some real utility... kind of like browsing data interactively at the VFP command line. Because of this exercise, I've noted a couple problems in dGrid, as well as an apparent problem in MySQL with date and datetime fields. I also found a bug in the Dabo flushValue code which will follow this commit. I pointed it at a database across town that contains almost 6 million records, and limited it to 1000, and ran the query. I then went to the edit page, and held down 'ctrl+.' to cycle through the records, and they literally flew by. Tomorrow, I may get daring and download 100,000 records to see how the grid holds up. ------------------------------------------------------------------------ r47 | paul | 2004-05-05 16:04:02 -0700 (Wed, 05 May 2004) | 4 lines The wizMaintenanceApp is coming together. It now saves a couple relevant scripts to the specified directory. ------------------------------------------------------------------------ r46 | paul | 2004-05-05 08:08:14 -0700 (Wed, 05 May 2004) | 7 lines The wizard now prints information on tables and fields from the database you point it at. It now has all the required information necessary to build a maintenance app. The maintenance app will have a directory/file structure similar to appRecipes - a main.py, a menu definition, a bizobj collection, and a form collection. ------------------------------------------------------------------------ r45 | paul | 2004-05-04 17:12:55 -0700 (Tue, 04 May 2004) | 6 lines Start work on a wizard for creating a maintenance app: an application for maintaining a specific database. The wizard framework is begun, but nothing happens yet. ------------------------------------------------------------------------ r44 | paul | 2004-05-04 06:56:59 -0700 (Tue, 04 May 2004) | 2 lines Don't add child bizobj's to dForm. ------------------------------------------------------------------------ r43 | paul | 2004-05-03 17:37:41 -0700 (Mon, 03 May 2004) | 2 lines Bugfixes after changes to the dBizobj API. ------------------------------------------------------------------------ r42 | paul | 2004-04-29 08:06:38 -0700 (Thu, 29 Apr 2004) | 2 lines Remove extraneous print output from appRecipes. ------------------------------------------------------------------------ r41 | paul | 2004-04-28 23:19:13 -0700 (Wed, 28 Apr 2004) | 2 lines Make appRecipes demo use the childView. ------------------------------------------------------------------------ r40 | paul | 2004-04-28 16:23:48 -0700 (Wed, 28 Apr 2004) | 2 lines Modify demos with new bizobj API. ------------------------------------------------------------------------ r39 | paul | 2004-04-27 17:23:40 -0700 (Tue, 27 Apr 2004) | 8 lines Add a child bizobj to each of the master appRecipes forms, representing recipes in the category and categories assigned to the recipe. These children aren't represented in the UI yet, but the fact that they are working correctly is output to the terminal. ------------------------------------------------------------------------ r38 | paul | 2004-04-27 13:02:19 -0700 (Tue, 27 Apr 2004) | 2 lines GPL dabodemo ------------------------------------------------------------------------ r37 | paul | 2004-04-21 17:31:16 -0700 (Wed, 21 Apr 2004) | 7 lines Convert to tab-indentation. Yes, I now like tabs slightly better than I like spaces. Who knows how I'll feel tomorrow, but from this day to eternity Dabo shall use tabs for indentation, and not spaces. You can quote me on that. ------------------------------------------------------------------------ r36 | paul | 2004-04-19 22:47:53 -0700 (Mon, 19 Apr 2004) | 2 lines Update SimpleFormWithControls to use Dabo's new property interface. ------------------------------------------------------------------------ r35 | paul | 2004-04-19 16:35:54 -0700 (Mon, 19 Apr 2004) | 3 lines Simplify appRecipe's menu creation, and subclass from dMenu instead of wx.Menu. ------------------------------------------------------------------------ r34 | paul | 2004-04-15 06:56:06 -0700 (Thu, 15 Apr 2004) | 1 line Trying on OSX to get buildapp to work, and it kind of does build a package but it isn't complete and doesn't run. ------------------------------------------------------------------------ r33 | paul | 2004-04-14 19:50:51 -0700 (Wed, 14 Apr 2004) | 5 lines Add structure for building the appRecipes demo on the three target platforms of mac, lin, and win. The only script so far is for mac, and that is untested as I don't have access to my osx box right now... ------------------------------------------------------------------------ r32 | paul | 2004-04-14 17:46:54 -0700 (Wed, 14 Apr 2004) | 2 lines Change demos to show doDefault() in use. ------------------------------------------------------------------------ r31 | paul | 2004-04-14 13:32:23 -0700 (Wed, 14 Apr 2004) | 2 lines Fix demos to work with the new 2-stage creation method. ------------------------------------------------------------------------ r30 | paul | 2004-04-13 16:39:02 -0700 (Tue, 13 Apr 2004) | 1 line Fix for Mac to make the File|Open menu appear correctly. ------------------------------------------------------------------------ r29 | paul | 2004-04-07 19:44:21 -0700 (Wed, 07 Apr 2004) | 1 line Fixes for win32 compatibility. ------------------------------------------------------------------------ r28 | paul | 2004-04-06 15:38:44 -0700 (Tue, 06 Apr 2004) | 4 lines Change appRecipes to fill the File|Open menu of the active form whenever necessary (when it is set in dFormMixin). ------------------------------------------------------------------------ r27 | paul | 2004-04-06 11:28:28 -0700 (Tue, 06 Apr 2004) | 2 lines Fix demos to interact with the bizobj to alter the sql statement. ------------------------------------------------------------------------ r26 | paul | 2004-04-05 23:20:08 -0700 (Mon, 05 Apr 2004) | 2 lines Fix sample to properly import dLocalize. ------------------------------------------------------------------------ r25 | paul | 2004-04-05 22:57:43 -0700 (Mon, 05 Apr 2004) | 2 lines Change the demos to raise the new BusinessRuleViolation exception. ------------------------------------------------------------------------ r24 | paul | 2004-04-05 21:41:43 -0700 (Mon, 05 Apr 2004) | 3 lines Greatly simplify SimpleFormWithBizobj by not instantiating the controls that aren't bound to any data. Those controls already exist in the other demo. ------------------------------------------------------------------------ r23 | ed | 2004-04-05 20:05:11 -0700 (Mon, 05 Apr 2004) | 3 lines Removed the redundant return value. We only need to trap exceptions to determine if validation passed successfully. ------------------------------------------------------------------------ r22 | paul | 2004-04-05 19:10:40 -0700 (Mon, 05 Apr 2004) | 5 lines Make SimpleFormWithBizobj use the sqlBuilder in dFormDataNav to build its sql, instead of setting the sql in the bizobj directly. Add a selectType of range to zipcode to show the effect on the Select Page at runtime. ------------------------------------------------------------------------ r21 | paul | 2004-04-02 22:07:59 -0800 (Fri, 02 Apr 2004) | 2 lines Set the name of the form to something other than the default. ------------------------------------------------------------------------ r20 | paul | 2004-04-01 15:59:42 -0800 (Thu, 01 Apr 2004) | 9 lines Removed dApp and dFormMain from SimpleFormWithControls, leaving it a very simple sample that just shows the one form. Left dApp interaction in SimpleFormWithBizobj, but hid the main form for simplicity. Modified the File|Open menu in appRecipes to conform to 2.5. ------------------------------------------------------------------------ r19 | paul | 2004-03-31 21:55:26 -0800 (Wed, 31 Mar 2004) | 4 lines Ed, I just realized I may not have committed some changes from yesterday that may fix the problems you are currently having. ------------------------------------------------------------------------ r18 | ed | 2004-03-30 10:29:02 -0800 (Tue, 30 Mar 2004) | 1 line Updated to use exceptions rather than return constants ------------------------------------------------------------------------ r17 | paul | 2004-03-27 17:52:19 -0800 (Sat, 27 Mar 2004) | 4 lines Updates to demos from my plane ride. Ditto on the sparse changelog. I promise to be much better at logging changes in the future. ------------------------------------------------------------------------ r16 | paul | 2004-03-25 05:57:15 -0800 (Thu, 25 Mar 2004) | 5 lines appRecipes now works - connects to my test MySQL database. Test it out by cd'ing to appRecipes and executing 'python main.py'. All custom code is inside appRecipes. ------------------------------------------------------------------------ r15 | paul | 2004-03-22 13:25:36 -0800 (Mon, 22 Mar 2004) | 1 line Make the demo form fit into the main frame without scrollbars being necessary. ------------------------------------------------------------------------ r14 | paul | 2004-03-18 14:12:42 -0800 (Thu, 18 Mar 2004) | 11 lines Minor cleanup of the as-yet not working appRecipes demo. Sprinkled lots of wordy comments into the SimpleBizobj demo, for the benefit of our users that will want to try to figure out how to do real work with this. I also added another rule, and redid the structure of the demo's validation code (simplified). ------------------------------------------------------------------------ r13 | paul | 2004-03-18 11:12:38 -0800 (Thu, 18 Mar 2004) | 8 lines SimpleFormWithControls needs a panel to put the controls in, otherwise tab traversal won't work as the controls are instantiated as children of the form directly. SimpleFormWithBizobj needs to not instantate the VCR, as this now happens in dFormDataNav.__init__(). ------------------------------------------------------------------------ r12 | ed | 2004-03-18 03:57:39 -0800 (Thu, 18 Mar 2004) | 1 line Switched the bizobj validation to use direct field references ------------------------------------------------------------------------ r11 | paul | 2004-03-17 21:45:43 -0800 (Wed, 17 Mar 2004) | 6 lines Update demos to reflect current state of Dabo. Specifically, put the grid column definitions into our subclass, and reworked the SimpleControl demo to subclass from the now-simplified dForm with no pageframe. ------------------------------------------------------------------------ r10 | paul | 2004-03-16 16:18:32 -0800 (Tue, 16 Mar 2004) | 2 lines Punctuation and removing those annoying tabs. ------------------------------------------------------------------------ r9 | ed | 2004-03-16 14:26:56 -0800 (Tue, 16 Mar 2004) | 1 line Added a simple business rule on city names to the bizobj on the demo form. It can be used to check the messaging response of the form when a save fails. ------------------------------------------------------------------------ r8 | ed | 2004-03-16 13:19:32 -0800 (Tue, 16 Mar 2004) | 1 line Corrected capitalization in the default value key that was resulting in an error due to duplicate field names: one mixed case, one lower. ------------------------------------------------------------------------ r7 | paul | 2004-03-15 22:25:01 -0800 (Mon, 15 Mar 2004) | 2 lines Demos now use the Select/Browse/Edit pages. ------------------------------------------------------------------------ r6 | paul | 2004-03-15 11:10:00 -0800 (Mon, 15 Mar 2004) | 7 lines Start developing a full-blown sample application with 2 dForms: Recipes and Recipe Categories. All it does so far is open and close - will work on during the week as I get the main menu stuff working better. ------------------------------------------------------------------------ r5 | paul | 2004-03-13 11:08:21 -0800 (Sat, 13 Mar 2004) | 3 lines Demos now use dApp object instead of wx.PySimpleApp. ------------------------------------------------------------------------ r4 | paul | 2004-03-12 13:48:14 -0800 (Fri, 12 Mar 2004) | 4 lines Make the demo forms instantiate inside a wrapper dFormMain. ------------------------------------------------------------------------ r3 | paul | 2004-03-12 12:03:28 -0800 (Fri, 12 Mar 2004) | 3 lines Fix minor bug that appeared after my last Dabo commit. ------------------------------------------------------------------------ r2 | paul | 2004-03-12 11:18:30 -0800 (Fri, 12 Mar 2004) | 10 lines Add a demo that shows a very simple data entry form. It subclasses dForm and then instantiates data entry controls and binds them to the bizobj. cd dabodemo python SimpleFormWithBizobj.py ------------------------------------------------------------------------ r1 | paul | 2004-03-12 09:11:17 -0800 (Fri, 12 Mar 2004) | 15 lines Introduction of the dabodemo repository, and a starting demo that shows a simple form with controls. Execute the following to get the repository: cd ~/projects/ svn co svn://paulmcnett.com/dabodemo/trunk dabodemo To run the demo after getting the dabodemo repository, execute: cd dabodemo python SimpleFormWithControls.py ------------------------------------------------------------------------