dabo Commit
Revision 2470
Date: 2006-11-17 11:22:52 -0800 (Fri, 17 Nov 2006)
Author: paul

Changed:
U   branches/stable/ChangeLog
U   trunk/ChangeLog

Log:
Made the formatting of the ChangeLog more consistent in prior versions, and
slightly edited/summarized the 0.6 and 0.5 versions where we had merely
echoed the subversion log. Much more summarizing could be done if somebody
has a fever or something and wants to do something mindless for awhile. I'm
done with my tech support call now (lots of time spent on hold) so I'm done
editing these files for now as well. :)



Diff:
Modified: branches/stable/ChangeLog
===================================================================
--- branches/stable/ChangeLog   2006-11-17 18:32:38 UTC (rev 2469)
+++ branches/stable/ChangeLog   2006-11-17 19:22:52 UTC (rev 2470)
@@ -1,6 +1,7 @@
 See the Subversion log for all the details.
 
-========================================================================
+
+===============================================================================
 Dabo 0.7 (2006-11-16) (Revision 2464):
 
 It has sure been a while, but we haven't been resting. Lots of new stuff
@@ -15,7 +16,7 @@
 + The old shortcut of referencing fields in bizobjs like:
     fname = biz.first_name
   no longer works. You need to change all such code to read:
-         fname = biz.Record.first_name
+    fname = biz.Record.first_name
 
 Known Issues:
 + FireBird Requery problem (see http://dabodev.com/tracker/0229)
@@ -176,823 +177,820 @@
   want to try it out or help develop it, please post a message to the dabo
   developer's list ([email protected]). 
 
-========================================================================
+
+===============================================================================
 Dabo 0.6 (2006-03-27) (Revision 2043):
-(for now, due to lack of time, I'm just echoing svn log. If someone wants to
-summarize the changes --today!-- that would be *very much* appreciated.)
 
-------------------------------------------------------------------------
-r1863 | ed | 2006-01-25 18:41:44 -0800 (Wed, 25 Jan 2006) | 4 lines
++ Fixed a problem when switching to the Browse page of the datanav grid without
+  first running a query. Also, there was an error being thrown if a previous
+  query had results, and a subsequent query had no results.
 
-Fixed a problem when switching to the Browse page of the datanav grid without 
first running a query. Also, there was an error being thrown if a previous 
query had results, and a subsequent query had no results.
++ Modified the code in _setCurrentRow() of dGrid so that it wasn't calling
+  SetGridCursor() unless the position had actually changed. I had recorded up 
to
+  10 calls to this function, all with the exact same values each time I 
switched
+  to the Browse page.
 
-Modified the code in _setCurrentRow() of dGrid so that it wasn't calling 
SetGridCursor() unless the position had actually changed. I had recorded up to 
10 calls to this function, all with the exact same values each time I switched 
to the Browse page.
++ Removed the code that lower-cased field names, as it was preventing the code
+  from working with case-sensitive backends and columns containing capital
+  letters.
 
-------------------------------------------------------------------------
-r1864 | ed | 2006-01-26 09:34:20 -0800 (Thu, 26 Jan 2006) | 4 lines
+  Fixed a problem where str values were not able to be properly converted to
+  unicode.
 
-Removed the code that lower-cased field names, as it was preventing the code 
from working with case-sensitive backends and columns containing capital 
letters.
++ Added a parameter to the promptForFileName() method to specify the default
+  path for the dialog.
 
-Also fixed a problem where str values were not able to be properly converted 
to unicode.
++ Added the TreeItemContextMenu event. This differs from the normal
+  ContextMenuEvent in that it returns the itemID of the node that was 
+  right-clicked.
 
-------------------------------------------------------------------------
-r1866 | ed | 2006-01-26 15:11:35 -0800 (Thu, 26 Jan 2006) | 2 lines
++ Added code in the event data gathering code to store the tree item ID for
+  these events in EventData.itemID.
 
-Added a parameter to the promptForFileName() method to specify the default 
path for the dialog.
++ Changed all the names '_id' in the dTreeView.py file to the clearer 'itemID'.
 
-------------------------------------------------------------------------
-r1867 | ed | 2006-01-26 17:36:12 -0800 (Thu, 26 Jan 2006) | 9 lines
++ Fixed an oversight in the dSizerMixin that didn't remove the Box for a
+  dBorderSizer when the sizer was released.
 
-Added the TreeItemContextMenu event. This differs from the normal 
ContextMenuEvent in that it returns the itemID of the node that was 
right-clicked.
++ The double-Activate on Windows is really getting in the way. I haven't heard
+  anything from my bug report yet, so I added workaround code to ignore the
+  first Activate.
 
-Added code in the event data gathering code to store the tree item ID for 
these events in EventData.itemID.
++ Cleaned up the order of releasing child objects for sizers. Also fixed 
problem
+  with releasing the box for border sizers.
 
-Changed all the names '_id' in the dTreeView.py file to the clearer 'itemID'.
++ Added getFunctionList() method to return a list of all 'class' and 'def'
+  statements in the current file.
 
-Fixed an oversight in the dSizerMixin that didn't remove the Box for a 
dBorderSizer when the sizer was released.
++ First pass at integrating the dTable class into the dabo.db framework. Right
+  now, if this works at all, it only works for SQLite.
 
++ Fixed a bug wherein multiply-nested sizers might not release all of their
+  content when release(True) is called.
 
-------------------------------------------------------------------------
-r1872 | paul | 2006-01-27 08:01:09 -0800 (Fri, 27 Jan 2006) | 1 line
++ Added a 'setInactive()' method that will hide the auto-complete popup if one
+  is visible.
 
-The double-Activate on Windows is really getting in the way. I haven't heard 
anything from my bug report yet, so I added workaround code to ignore the first 
Activate.
-------------------------------------------------------------------------
-r1873 | ed | 2006-01-27 12:16:01 -0800 (Fri, 27 Jan 2006) | 2 lines
++ Disabled the fillGrid()'s setting of focus to the grid, as it causes problems
+  with stealing focus away from another active form, at least on Windows. Also,
+  it seems that such code really doesn't belong inside the function to build 
the
+  grid, but perhaps we'll find it belongs somewhere else.
 
-Cleaned up the order of releasing child objects for sizers. Also fixed problem 
with releasing the box for border sizers.
++ The xml header wasn't being converted to native line endings. Fixed.
 
-------------------------------------------------------------------------
-r1875 | ed | 2006-01-28 15:32:34 -0800 (Sat, 28 Jan 2006) | 2 lines
++ No need to explicitly do the unicode conversion in the report fields, as that
+  is done in the report writer.
 
-Added getFunctionList() method to return a list of all 'class' and 'def' 
statements in the current file.
++ Added a Refresh event. This is raised when dForm.refresh() is called. All
+  dPemMixin classes will receive it, and fire their refresh() hook method.
 
-------------------------------------------------------------------------
-r1876 | echo | 2006-01-29 12:50:27 -0800 (Sun, 29 Jan 2006) | 3 lines
++ Added dynamic properties to most normal static properties. Example: given a
+  label and a function 'currTime()' in a form that returns the current time,
+  issuing the following:
+    label.DynamicCaption = label.Form.currTime
+  will result in the label's Caption property being updated every time
+  label.Form.refresh() is called.
 
-First pass at integrating the dTable class into the dabo.db framework. Right 
now, if this works at all, it only works for SQLite.
++ Added two methods to dabo.ui for converting image data back to bitmaps and
+  images. These were necessary because I noticed that when Editor.py was called
+  from locations other than its own directory, the image file for the function
+  button was not found. The solution was to convert the .png file to a data
+  stream using wx.tools.img2py.py, and store that in Editor.py.
 
++ Can now set dApp.UI=None, and setup() won't try to load a UI. You have to do
+  it explicitly, though, such as:
+    app = dabo.dApp()
+    app.UI = None
+    app.setup()
+  --or--
+    app = dabo.dApp(UI=None)
+    app.setup()
 
-------------------------------------------------------------------------
-r1877 | ed | 2006-01-29 19:45:26 -0800 (Sun, 29 Jan 2006) | 2 lines
++ First crack at creating a double-buffered drawing surface. The new class,
+  'dDrawPanel', is a subclass of dPanel, but has its repainting handled through
+  the double-buffer techniques outlined on the wxPython wiki.
 
-Fixed a bug wherein multiply-nested sizers might not release all of their 
content when release(True) is called.
++ Bookmarks in dEditor now persist when you save the file. If you re-open a
+  saved file with bookmarks, they are restored.
 
-------------------------------------------------------------------------
-r1878 | ed | 2006-01-29 20:37:07 -0800 (Sun, 29 Jan 2006) | 2 lines
++ Refactored dUserSettingProvider a little bit. Fixed a bug in 
+  getUserSettingKeys() that resulted in it always returning an empty list. 
Added
+  deleteUserSetting() and deleteAllUserSettings(); these do just what you think
+  they would.
 
-Added a 'setInactive()' method that will hide the auto-complete popup if one 
is visible.
++ Changed a couple exec() calls to setattr() calls instead, which may be safer 
+  if not faster, but definitely more explicit and easier to understand.
 
-------------------------------------------------------------------------
-r1882 | paul | 2006-01-31 09:28:37 -0800 (Tue, 31 Jan 2006) | 1 line
++ Implemented the handling of RowSpan/ColSpan for grid sizers.  Added a
+  GridSizerSpanException class that is raised if an attempt to set the span to 
a
+  location that is already occupied.
 
-Disabled the fillGrid()'s setting of focus to the grid, as it causes problems 
with stealing focus away from another active form, at least on Windows. Also, 
it seems that such code really doesn't belong inside the function to build the 
grid, but perhaps we'll find it belongs somewhere else.
-------------------------------------------------------------------------
-r1883 | paul | 2006-01-31 11:58:23 -0800 (Tue, 31 Jan 2006) | 1 line
++ Revamped the entire flow for transactions. These changes have been tested on
+  MySQL and SQLite, but still need to be tested with Firebird and PostgreSQL.
 
-The xml header wasn't being converted to native line endings. Fixed.
-------------------------------------------------------------------------
-r1884 | paul | 2006-01-31 16:09:18 -0800 (Tue, 31 Jan 2006) | 1 line
++ Changed the default for bizobjs, cursors, etc., to not autocommit. The
+  AutoCommit property of the bizobj is simply a pass-through to the cursor's
+  AutoCommit property.
 
-No need to explicitly do the unicode conversion in the report fields, as that 
is done in the report writer.
-------------------------------------------------------------------------
-r1885 | ed | 2006-01-31 16:25:28 -0800 (Tue, 31 Jan 2006) | 12 lines
++ Also cleaned up some inconsistent spacing and method ordering.
 
-Added a Refresh event. This is raised when dForm.refresh() is called. All 
dPemMixin classes will receive it, and fire their refresh() hook method.
++ Modified datanav to allow for manual setups that don't use fieldSpecs or
+  relationSpecs. I'll be committing a change to the AppWizard that allows
+  for this option soon.
 
-Added dynamic properties. Every property can be made dynamic by prefixing it 
with 'Dynamic'. Dynamic props are set to any callable function; when the object 
receives a Refresh event, the function's return value is used to set the value 
of the underlying property.
++ Moved SelectPageClass, BrowsePageClass, and EditPageClass from PageFrame
+  to Form, since that is a better central location for these properties.
 
-[NOTE: The previous paragraph no longer applies.]
++ Added a splash screen to the Dabo app startup. This is based on Andrea 
+  Gavana's AdvancedSplash class, and allows for cool shaped windows, etc.
 
-Example: given a label and a function 'currTime()' in a form that returns the 
current time, issuing the following:
++ Added the ability to set the DataSource to an object, rather than just a
+  string that can be eval'd to an object.
 
-       label.DynamicCaption = label.Form.currTime
-       
-will result in the label's Caption property being updated every time 
label.Form.refresh() is called with the value of the current time.
++ Changed the 'getMaxRow/Col' methods to 'getHighRow/Col' in order to avoid
+  confusion with the MaxRows/Cols props in dGridSizer.
 
-Also added two methods to dabo.ui for converting image data back to bitmaps 
and images. These were necessary because I noticed that when Editor.py was 
called from locations other than its own directory, the image file for the 
function button was not found. The solution was to convert the .png file to a 
data stream using wx.tools.img2py.py, and store that in Editor.py.
++ Modified both sizer classes to accept windows and not just SizerItems when
+  setting/getting prop values.
 
-------------------------------------------------------------------------
-r1889 | paul | 2006-02-01 16:23:51 -0800 (Wed, 01 Feb 2006) | 13 lines
++ Added the movePage() method, which takes either a page reference or a page
+  index, and moves the page to the specified position. The page is then
+  selected, unless the third parameter 'selecting' is False.
 
-This commit lets you set dApp.UI=None, and setup() won't try to load a UI.
-You have to do it explicitly, though, such as:
++ Added a getInt() method to dabo.ui.uiwx.
 
-app = dabo.dApp()
-app.UI = None
-app.setup()
++ Fixed the splashscreen display on Windows.
 
---or--
++ Added the ability to set the font face and size for the editor.
 
-app = dabo.dApp(UI=None)
-app.setup()
++ Added the setCheck() method to dMenu. Given a caption, it will check any 
menus
+  whose captions match. By default it will uncheck any that don't match; you 
can
+  pass False as the second argument and leave non-matchers alone. Also added
+  clearChecks() to uncheck all menu items in a menu.
 
++ Exposed the FileName and FilePath properties in dEditor.
 
-------------------------------------------------------------------------
-r1890 | ed | 2006-02-02 05:13:52 -0800 (Thu, 02 Feb 2006) | 10 lines
++ Added some syntax sugar for referring to fields and variables in reports.
+  Where you used to have to refer to self.Record["clientname"], you can now do
+  self.clientname. Same with self.Variables.
 
-Major revamping of the whole refresh/update/dynamic design.
++ Added the 'callEvery' function to dabo.ui. This function accepts an interval
+  (in milliseconds), and callable reference, and optional arguments to that
+  callable. It then creates a timer that fires the callable every <interval>
+  milliseconds, passing along any optionally included arguments. The timer
+  reference is then returned, where it can be controlled by calling stop(), 
+  start() or release(). This is based on the dCallEvery class that Brandon
+  Singer proposed. I made it a function in dabo.ui because I felt it was more
+  consistent with the existing functions callAfter() and callAfterInterval().
 
-First, refresh() simply repaints the object and anything contained in it. It 
simply calls the wx.Refresh() method.
++ Changed the default for forms to not automatically show "Record 1 of 0" or
+  similar meaningless database information in the status bar. Set it back to
+  True for the datanav Form class, so all datanav apps should remain unchanged.
+  All of the apps in the demo and IDE directories that don't query data, 
though,
+  no longer show that message.
 
-There is now a method named 'update()' which will update any dynamic aspects 
of a control, such as its Dynamic* properties, or its data bindings, if any. If 
the object is a form, calling update triggers a ValueUpdate event that all 
data-aware controls will receive. All objects with children will raise an 
Update event in order to propagate the update message. You can call update() on 
a specific object, and only that object and its children will be updated.
++ Creating an instance of dApp doesn't automatically create an instance of
+  uiApp. Instead, it now asks dabo.ui to get it a reference, and dabo.ui either
+  returns the current instance if one already exists, or creates one if not.
+  This allows you to run wxPython apps from within wxPython apps.
 
-This clarifies the language we use: 'refresh' refers only to having the object 
repainted on the screen, while 'update' can change aspects of the object, such 
as its value or other properties.
++ Added some rudimentary support for file drag/drop. Right now, you can call
+  'createFileDropTarget' on an object to make it able to respond to files
+  dropped on it. Pass in an optional handler object reference; otherwise, the
+  handler is set to the object itself. The drop event is passed on to the
+  handler by calling its 'processDroppedFiles' method, which should be
+  overridden in the handler object to do the specific processing of the files.
 
-Updated all the classes that referred to these events and methods by their old 
names. 
++ Added a 'Column' property to dEditor; this represents the column position in
+  the current line, and can be changed to move the cursor within the line.
 
-------------------------------------------------------------------------
-r1892 | ed | 2006-02-02 15:32:49 -0800 (Thu, 02 Feb 2006) | 3 lines
++ Added option in getItemByRowCol() to return the sizer item in the given
+  position instead of the object managed by that sizer item.
 
-First crack at creating a double-buffered drawing surface. The new class, 
'dDrawPanel', is a subclass of dPanel, but has its repainting handled through 
the double-buffer techniques outlined on the wxPython wiki.
++ Added method 'isItemChecked()' to allow you to determine the checked status 
of
+  any menu item.
 
++ Added dabo.ui.getMousePosition(), which returns the position of the mouse
+  on the screen. This is in contrast to dPemMixin.getMousePosition(), which 
+  gets the position of the mouse inside the client window.
 
-------------------------------------------------------------------------
-r1897 | ed | 2006-02-04 14:03:39 -0800 (Sat, 04 Feb 2006) | 4 lines
++ Update to allow execution of SQL statements without affecting the current 
data
+  set. The bizobj has a new pass-through method named 'execute()', which takes 
a
+  statement understood by the backend database and passes it to its cursor's
+  execute method.
 
-Bookmarks in dEditor now persist when you save the file. If you re-open a 
saved file with bookmarks, they are restored.
++ The cursor class has been modified to run all statements that don't begin 
with
+  'select' through its auxiliary cursor, thereby preserving its data set.
+  Preliminary tests that I've run have confirmed that these are working
+  correctly, but there should be a lot more testing done before I am confident
+  that these changes are truly sound and can handle whatever we can toss at 
them.
 
-Refactored dUserSettingProvider a little bit. Fixed a bug in 
getUserSettingKeys() that resulted in it always returning an empty list. Added 
deleteUserSetting() and deleteAllUserSettings(); these do just what you think 
they would.
++ You can now set the DataSource to an actual object, instead of having to set
+  it to a string that could be resolved to an object. 
 
-------------------------------------------------------------------------
-r1902 | paul | 2006-02-06 08:32:50 -0800 (Mon, 06 Feb 2006) | 13 lines
++ Added basic support for storing lists/tuples in the user settings. 
 
-Simplified dPemMixin's __getattr__ and __setattr__ somewhat. I still believe it
-would be better to be explicit about dynamic properties, and will try to find
-some time to make that happen.
++ Added a simple way of persisting MRU lists in applications. A new dApp
+  property, '_persistentMRUs' is a dict that contains the name of the menu as
+  the key for the entry, and the function to bind the items to as the value. 
The
+  framework will then handle saving and restoring MRU lists upon app startup 
and
+  closing.
 
-Changed a couple exec() calls to setattr() calls instead, which may be safer 
-if not faster, but definitely more explicit and easier to understand.
++ Modified the uiApp to accept just the menu caption as an identifier instead 
of
+  requiring the actual menu. This is necessary to create MRU lists for context
+  menus, or for restoring menus at app startup.
 
-Added back a needed test for deadObject that I removed from the onUpdate
-callback, and changed the test in update() back to testing for the deadObject
-instead of putting it in a try block.
++ Updated the requirement that a bizobj be found for all data sources. Since
+  that was written, Dabo's use of data binding has expanded to lots of 
+  non-bizobj uses.
 
++ Completed the majority of the work needed to implement saved classes that can
+  be used in other class designs; it was working from the Designer, but not 
when
+  you ran the form. These changes implement the whole inheritance structure so
+  that if you change the underlying class, any changes not explicitly 
overridden
+  in the design that uses that class are reflected. This works for both 
property
+  changes as well as code changes. 
 
------------------------------------------------------------------------
-r1904 | paul | 2006-02-06 16:36:58 -0800 (Mon, 06 Feb 2006) | 54 lines
++ Switched the default order of arguments in callAfterInterval(). It makes more
+  sense to specify the interval first, followed by the function and its
+  arguments. Sticking the interval between the function and its arguments seems
+  very awkward. I added code to callAfterInterval() to check if it received a
+  call in which the interval is the second argument (i.e., the original style)
+  and switch them around in that event.
 
-Added makeDynamicProperty() function to dabo.ui, which creates a dynamic
-property definition for the passed normal property object. I wanted to put 
-this in propertyHelperMixin but it doesn't appear to me that dynamic 
-properties are really at all useful outside of a UI context (indeed, 
-everything else having to do with dynamic props is defined inside 
-dPemMixin...).
++ Removed dDrawPanel as a class. Turns out that adding double-buffering to
+  panels doesn't affect their performance noticeably, so it made sense to turn
+  this on for all dPanel objects by default. However, if you run into a
+  situation where this adversely affects your app, there is a new property 
named
+  'Buffered' that will turn this behavior off (i.e., make it work like it used
+  to) when set to False.
 
-Explicitly defined Dynamic properties for most of the existing properties
-defined in dPemMixin. Removed the automagical __getattr__/__setattr__ 
-overrides.
+  *IF YOU USED dDrawPanel IN YOUR CODE, THIS WILL BREAK IT!* You must update by
+  changing all references to dDrawPanel to simply dPanel.
 
-This dynamism is really cool, and I'm sorry that we aren't seeing completely
-eye-to-eye on it. But here are some things that "just work" with my
-implementation:
++ Removed the old syntax for begin/commit/rollbackTransaction. The default for
+  these actions in dBackendObject is to call the appropriate method on the
+  connection, not to execute a command on the cursor.
 
-1) Run SimpleFormWithBizobj, and in the command window type:
-> def dfb(biz):
->    return biz.ccity.strip() == "Arecibo"
-    
-> self.PageFrame.Pages[2].setAll("DynamicFontBold", (dfb, self.getBizobj()))
++ Removed the call to cursor.connection.begin() in the beginTransaction()
+  method. This does not seem to be needed for most backends; in fact, it is
+  typically used to override autocommit to create temporary explicit
+  transactions.
 
-Now, go to the edit page and scroll through. The setAll() call just worked 
without
-any changes needed. Something is keeping it working with the original 
implementation
-but I admit that I don't see why, at first glance.
++ Table creation now works for MySQL also. The class dAutoBizobj is a bizobj
+  that has a dTable. The function AutoCreateTables() will try to create all the
+  tables that have been setup with dAutoBizobj objects. If it can't create the
+  tables, a message pops up for the user and the db admin. The db admin can
+  enter the username and password for access to create tables or the db admin
+  can manualy execute the queries in the queries.sql.
 
-2) Notice when you are typing in the command window, that the dynamic 
properties
-show up in the list. This is really what I mean when I talk about things being
-documented.
++ Converted the dTimer from a bitmap to a non-visible control based directly on
+  wx.Timer. This makes it fit in much better with dabo.ui.callEvery(), which is
+  much more convenient to use in many cases.
 
-3) Passing dynamic props to the constructor is the same as defining them in 
the class
-txt = dabo.ui.dTextBox(self, DynamicEnabled=myFunc)
-txt.DynamicFontItalic = myFunc
++ Began coding for the Hover property, which will allow for easier visual 
coding
+  of MouseOver events. It isn't fully implemented yet, so don't try working 
with
+  it.
 
-Both of the above calls work as usual WRT the Dabo Property Interface.
++ Implemented the Hover property in dPemMixin. The reason for this rather than
+  relying on MouseLeave to terminate the effect is that there are many time 
when
+  it seems that the mouse leaves the area without triggering the MouseLeave
+  event. The Hover mechanism employs a timer to check for mouse position, and
+  fire the MouseLeave code if it detects that the mouse position is outside of
+  the control.
 
-Granted, there's more work involved when defining a new class (gotta remember 
to tell
-Python about the dynamic props). But after all is said, done, and considered, 
it is 
-my genuine hope and belief that this was the right way to go. But I am still 
sorry for 
-stepping on toes.
++ Added a CustomSQL property to the datanav form. If set, the settings in the 
+  select page will be ignored and the contents of CustomSQL used instead.
 
-I'll follow through with making other properties (those outside dPemMixin) 
dynamic as
-well. 
++ Added defaults to dGrid.getValue(). If no row or col is specified, it 
defaults
+  to the current row/column, respectively.
 
-There are things to consider in the future, such as:
++ Added fontMetricFromDrawObject() to dabo.ui. This enables simple calculation
+  of the width/height of a drawn text object.
 
-+ Do we make a DynamicValue?
-+ If so, does it override the value gotten from FieldSource, if set?
-+ What bearing does this have on the dynamism already present in, e.g.,
-the setting of dynamic values from non-bizobj data bindings?
++ Added a fitToSizer() method to dPemMixin. This will resize the object to fit
+  the size required by the sizer represented in its Sizer property. You can 
also
+  pass in extraWidth and extraHeight values to adjust the size further.
 
-Anyway, thanks for putting in the Dynamic stuff, Ed. Once we take care of the 
refresh
-overhead - perhaps by using the timer/observer-based approach I talked about 
this 
-morning - this is really going to be killer.
++ Added 'Alignment' to the pre-init properties of dCheckBox. Cleaned up the
+  property methods and definitions to make them alphabetized, and to make the
+  strings localized. Also relaxed the values accepted for the Alignment 
+  property.
 
-------------------------------------------------------------------------
-r1907 | ed | 2006-02-07 07:32:34 -0800 (Tue, 07 Feb 2006) | 2 lines
++ Added an option to dEditor.changeFontSize() to accept strings in the format
+  "+n" or "-n". These will increment or decrement the font size by 'n' points.
 
-Implemented the handling of RowSpan/ColSpan for grid sizers.  Added a 
GridSizerSpanException class that is raised if an attempt to set the span to a 
location that is already occupied.
++ Moved the _addCode() method out of dFormMixin, since it really is more 
generic
+  than that. It now lives in dObject._addCodeAsMethod(), which takes a dict of
+  method name/code pairs and adds them as methods of the object. dPemMixin now
+  looks for a keyword argument called 'srcCode', and if found, adds it to the
+  object.
 
-------------------------------------------------------------------------
-r1909 | paul | 2006-02-07 12:43:44 -0800 (Tue, 07 Feb 2006) | 16 lines
++ You can now call addObject() and pass a cdxml file instead of a Dabo class
+  reference, and the class defined in the cdxml will be added to the parent.
 
-Sorted out some problems and redundancies in the update() cycle:
++ Cleaned up the dynamic code creation routines in dObject and
+  DesignerXmlConverter.
 
-+ Removed the update delays, as they caused other problems.
++ Modified xmltodict to handle property declarations.
 
-+ Because of the recursive nature of the update() function, both ValueUpdate
-  and Update events were triggering the controls to update themselves. Removed
-  ValueUpdate event and consolidated into the update() cycle.
++ Added setAfter() and setAfterInterval() to dabo.ui. These work the same as
+  callAfter() and callAfterInterval(), except you use them to set properties to
+  particular values.
 
-+ The Refresh() call inside update() was being called way too much. In testing
-  different ways to limit this refreshing, I discovered that for all the cases
-  I tested, the Refresh() wasn't needed at all. So I removed it. If you need
-       a refresh() you need to call that explicitly now. I think this may be 
better
-       anyway because they are different concepts.
-               
-Performance still isn't stellar, but it does seem much better now.
++ Added the following properties to dGrid: MovableColumns, ResizableColumns, 
and
+  ResizableRows. When any of these are set to False, the user cannot 
move/resize
+  the column or row.
 
-------------------------------------------------------------------------
-r1912 | ed | 2006-02-08 14:44:41 -0800 (Wed, 08 Feb 2006) | 6 lines
++ Changed the keyboard datanav navigation from Ctrl+, and Ctrl+. to Ctrl+LEFT 
+  and Ctrl+RIGHT on Mac, and Alt+LEFT and Alt+RIGHT on Linux and Windows. I've
+  The original configuration, in addition to being nonintuitive, didn't work on
+  Windows.
 
-Revamped the entire flow for transactions. These changes have been tested on 
MySQL and SQLite, but still need to be tested with Firebird and PostgreSQL.
++ Added the ability to save screenshots in one of several graphics formats.
+  While this was part of the Bubblet demo originally, it could have uses
+  elsewhere. For example, combining this with dabo.ui.callAfterInterval() would
+  enable timed screen shots.
 
-Changed the default for bizobjs, cursors, etc., to not autocommit. The 
AutoCommit property of the bizobj is simply a pass-through to the cursor's 
AutoCommit property.
++ Hacked a bit to get getCaptureBitmap() to work well on GTTK, but it's still
+  a bit of a mess. GTK doesn't capture the title bar, menu bar or frame
+  decorations of a window, and I tried to compensate the sizing accordingly.
+  Individual controls don't seem to work at all. I don't have more time to
+  play around with this now, but this is hardly a show-stopper for release.
 
-Also cleaned up some inconsistent spacing and method ordering.
 
-------------------------------------------------------------------------
-r1917 | paul | 2006-02-09 11:48:33 -0800 (Thu, 09 Feb 2006) | 8 lines
+===============================================================================
+Dabo 0.5.1 (2006-01-25) (Revision 1860):
 
-Modified datanav to allow for manual setups that don't use fieldSpecs or
-relationSpecs. I'll be committing a change to the AppWizard that allows
-for this option soon.
++ Additional MDI/SDI improvements and fixes. By default, dForm on Windows will 
+  be a MDI child, which is what most Windows users will expect.
 
-Moved SelectPageClass, BrowsePageClass, and EditPageClass from PageFrame
-to Form, since that is a better central location for these properties.
++ Fixed PageFrame background color to take the background color from the form,
+  not unconditional white. Only on Windows - Gtk and Mac do the right thing by
+  default.
 
++ Fixed various issues with getting icon files and converting them to bitmaps.
 
-------------------------------------------------------------------------
-r1919 | ed | 2006-02-09 21:17:46 -0800 (Thu, 09 Feb 2006) | 7 lines
++ Set the default grid font to Arial,9 on Windows, as the wx-default was just
+  plain ugly.
 
-EXPERIMENTAL!
-Added a splash screen to the Dabo app startup. This is based on Andrea 
Gavana's AdvancedSplash class, and allows for cool shaped windows, etc.
++ Added getPositionInSizer() method to sizers, since they may also be contained
+  within sizers.
 
-Right now on the Mac there is a noticeable delay from when the splash screen 
shaped frame appears and when the bitmap is drawn in the Paint event. I'm 
hoping to be able to figure out why, and also hope that this is just a Mac 
thing, as Andrea says he's tested this on WinXP and Gtk.
++ Reworked dShell. Now it appears as a split window, with the standard command
+  area on the top, and the output in the lower pane.
 
-If this works, we may want to consider better artwork for our default splash 
screen, but this transparent 'dabo' lettering will do for now.
++ Changed dGridSizer to raise an exception if the insert method is called
+  instead of just returning False.
 
-------------------------------------------------------------------------
-r1922 | ed | 2006-02-10 14:39:15 -0800 (Fri, 10 Feb 2006) | 7 lines
++ Added SashPositionChanged event. Updated dSplitter to raise this event when
+  the sash position changes.
 
-Turned off the default for showing the splash screen. You can now pass the 
splash screen settings as parameters to the constructor of dApp, since that's 
the only practical way to override them.
++ Added scrollToBeginning() and scrollToEnd() methods to dEditBox.
 
-Changed the bulk of initialization to the constructor of uiApp. Previously the 
uiApp object was created, and then things like platform, app reference, etc., 
weren't established until setup(). dApp now passes a callback to uiApp that is 
used to continue the startup process once the uiApp has finished initializing.
++ Added pass-through properties for dSplitForm's splitter's panels.
 
-Many changes to the SplashScreen class. It now works decently on OS X and 
Windows, and still looks like crap on Gtk. 
++ Added the property 'SplitState' to the dShell class. By right-clicking on the
+  shell, you can toggle between the new split behavior and the "traditional"
+  single pane behavior.
 
++ Added a right-click menu to the output pane. Right now all it can do is clear
+  itself, but we could add other stuff such as font selection, etc.
 
-------------------------------------------------------------------------
-1924 | ed | 2006-02-10 18:23:33 -0800 (Fri, 10 Feb 2006) | 2 lines
++ Fixed a bug in uiApp that prevented Cut(), Copy() and Paste() from working in
+  the shell (and other non-Daboized controls that only have wx versions of 
these
+  methods).
 
-Added the ability to set the DataSource to an object, rather than just a 
string that can be eval'd to an object.
++ Added a menu command to the shell to clear the output window using 
+  Ctrl-Backspace.
 
-------------------------------------------------------------------------
-r1926 | ed | 2006-02-11 10:29:20 -0800 (Sat, 11 Feb 2006) | 4 lines
++ Added the MenuOpen event to dEvents. This allows us to create dynamic menus 
by
+  intercepting this event and updating the prompts of the menu items as needed.
+  Added the event data code to save the prompt and menu object that triggered
+  the event.
 
-Changed the 'getMaxRow/Col' methods to 'getHighRow/Col' in order to avoid 
confusion with the MaxRows/Cols props in dGridSizer.
++ Added 'deadObjectException' as an alias to wx._core.PyDeadObjectError to the
+  dabo.ui.uiwx module. This will enable Dabo code to handle this condition
+  without having to use wx code.
 
-Modified both sizer classes to accept windows and not just SizerItems when 
setting/getting prop values.
++ Added a bunch on internationalization to the dShell script.
 
-------------------------------------------------------------------------
-r1929 | ed | 2006-02-12 07:12:14 -0800 (Sun, 12 Feb 2006) | 2 lines
++ Made the dMessageBox titles come from Application.getAppInfo(appName) by
+  default.
 
-Added the movePage() method, which takes either a page reference or a page 
index, and moves the page to the specified position. The page is then selected, 
unless the third parameter 'selecting' is False.
++ Added handling for situations where a bizobj is used with a data connection.
 
-------------------------------------------------------------------------
-r1933 | ed | 2006-02-12 15:36:46 -0800 (Sun, 12 Feb 2006) | 6 lines
++ Added a sizeToColumns() method. This will set the width of the grid equal to
+  that of its component Columns.
 
-Added a getInt() method to dabo.ui.uiwx.
++ Fixed copy to clipboard in about.py to use CRLF on Windows.
 
-Fixed the splashscreen display on Windows.
++ Added new properties to grid:
+    HorizontalScrolling
+    VerticalScrolling
+    ShowColumnLables
+    ShowCellBorders
+  The scrolling properties are booleans, and will hide/show the scrollbars.
 
-Added the ability to set the font face and size for the editor.
++ Fixed some problems with setting the column's Width. For a number of reasons,
+  when you created a grid from scratch and then added columns using addColumn,
+  the columns widths you'd specify weren't being respected. Fixed.
 
-------------------------------------------------------------------------
-r1938 | ed | 2006-02-13 15:51:36 -0800 (Mon, 13 Feb 2006) | 4 lines
++ Moved the code for the dEditor class from ide/dEditor.py into its own 
+  uiwx-level class. This will allow other apps (I'm thinking Designer here!) to
+  instantiate code editors where they need.
 
-Added the setCheck() method to dMenu. Given a caption, it will check any menus 
whose captions match. By default it will uncheck any that don't match; you can 
pass False as the second argument and leave non-matchers alone. Also added 
clearChecks() to uncheck all menu items in a menu.
++ Revamped the layout of the dOkCancelDialog class to create the panel and 
sizer
+  that is needed in addControls().
 
-Exposed the FileName and FilePath properties in dEditor.
++ Cleaned up some of the default spacing so that with AutoSize=True, the form
+  still looks OK.
 
-------------------------------------------------------------------------
-r1939 | paul | 2006-02-13 16:32:28 -0800 (Mon, 13 Feb 2006) | 4 lines
++ Removed the split sash code from the dEditor. That stuff belongs in the form
+  the editor is located, not in the editor itself.
 
-Added some syntax sugar for referring to fields and variables. Where you
-used to have to refer to self.Record["clientname"], you can now do
-self.clientname. Same with self.Variables.
++ Fixed a bug in dGrid that only seemed to pop up when the grid was located on 
a
+  form with a bizobj but that wasn't a dForm. The presets dialog in minesweeper
+  fit that description, and it was throwing errors when you navigated through
+  the grid.
 
-------------------------------------------------------------------------
-r1940 | ed | 2006-02-14 07:21:27 -0800 (Tue, 14 Feb 2006) | 4 lines
++ Added methods for getting/s

 (153057 bytes were truncated as it was too long for the email (max 40000 
bytes.)


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev

Reply via email to