Menu

SVN archive Commit Log


Commit Date  
[r27492] by bugman

Popup menus are now properly destroyed in the GUI tests.

In many instances, the wx.Menu.Destroy() method was only being called when the GUI is shown. This
causes memory leaking in the GUI tests.

2015-02-03 17:09:35 Tree
[r27491] by bugman

Added memory management checking to the GUI test suite tearDown() method.

If any top level windows are present, excluding the main GUI window and the relax controller, then a
RelaxError will be raised. Such a check will significantly help in future GUI coding, as now there
will be feedback if not all windows are properly destroyed.

2015-02-03 16:58:51 Tree
[r27490] by bugman

The relax prompt window is now being destroyed by the GUI test suite tearDown() method.

The window is first closed in the tearDown() method and then destroyed in the clean_up_windows()
method.

2015-02-03 16:37:24 Tree
[r27489] by bugman

Improved memory management for the GUI user function windows.

The Destroy() method will now destroy any Sequence or Sequence_2D windows used for the user function
arguments.

2015-02-03 16:29:32 Tree
[r27488] by bugman

Improved memory management for the Sequence and Sequence_2D input GUI elements.

These are mainly used in the user function GUI windows. The dialogs are now destroyed before a
second is opened.

2015-02-03 16:20:14 Tree
[r27487] by bugman

Better memory management for the missing data dialog in the GUI analyses.

The dialog is now stored as the class variable missing_data, and then is destroyed in the analysis
delete() method. Without this, the wxPython dialog would remain in memory for the lifetime of the
program.

2015-02-03 16:10:33 Tree
[r27486] by bugman

Improved memory management in the relaxation data list GUI element, as well as the base list object.

The relaxation data loading wizard is now destroyed in the Base_list.delete() method, or any wizard
for that matter. In addition, the relaxation data loading wizard is destroyed before reinitialising
the wizard in the wizard_exec() method.

2015-02-03 16:00:00 Tree
[r27485] by bugman

The Wizard window title is now being stored as a class instance variable.

2015-02-03 15:52:20 Tree
[r27484] by bugman

Reverted r27481, the naming of Wizard windows. Names are not necessary they already have titles.

The command used was:
svn merge -r27481:r27480 .

.....
r27481 | bugman | 2015-02-03 16:44:21 +0100 (Tue, 03 Feb 2015) | 5 lines
Changed paths:
M /trunk/gui/wizards/wiz_objects.py

Wizard window objects in the GUI can now be named.

This will help with debugging the GUI memory usage.
.....

2015-02-03 15:50:56 Tree
[r27483] by bugman

The GUI tests tearDown() method now prints out the Wizard windows title instead of name.

2015-02-03 15:49:08 Tree
Older >
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.