Menu

SVN archive Commit Log


Commit Date  
[r27457] by bugman

Fixes for the custom Wiz_window.Destroy() method.

This will now first close the wizard window via the Close() method to make sure all of the wizard
pages are properly updated. In the end the wizard DestroyChildren() method is called to clean up
all child wx objects, and finally Destroy() is called to eliminate the wizard GUI object.

2015-02-03 11:25:11 Tree
[r27456] by bugman

Import fix and copyright update.

2015-02-03 11:22:00 Tree
[r27455] by bugman

Modified the GUI test suite tearDown() method.

The clean_up_windows() method called by tearDown() now prints out a lost of all of the living
windows instead of trying to destroy them (which causes the running of the GUI tests in the GUI to
cause the GUI to be destroyed). The printouts will be used for debugging purposes.

2015-02-03 11:20:51 Tree
[r27454] by bugman

Modified the GUI test suite _execute_uf() method.

This user function execution method now calls the user function GUI object Destroy() method to clean
up all GUI objects. This should save memory for GUI objects in the GUI test suite.

2015-02-03 11:17:11 Tree
[r27453] by bugman

Created the gui.uf_objects.Uf_object.Destroy() method.

This will be used to cleanly destroy the user function object.

2015-02-03 11:11:34 Tree
[r27452] by bugman

More memory saving improvements for the GUI test suite tearDown() method.

The clean_up_windows() method now loops through all top level windows (frames, dialogs, panels,
etc.) and calls their Destroy() method.

2015-02-03 09:48:10 Tree
[r27451] by bugman

Simplification of the Dead_uf_pages.test_mol_create GUI test.

The RelaxError cannot be caught from the GUI user function window, therefore the try statement has
been eliminated.

2015-02-03 09:26:56 Tree
[r27450] by bugman

Fix for the GUI test clean_up_windows() method called from tearDown().

The user function window (Wiz_window) must be closed before the user function page (Uf_page), so
that the Wiz_window._handler_close() can still operate the methods of the Uf_page. This avoids a
huge quantity of these errors:

Traceback (most recent call last):
File "/data/relax/relax-trunk/gui/wizards/wiz_objects.py", line 723, in _handler_close
self._pages[self._current_page].on_next()
File "/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14615, in
__getattr__
raise PyDeadObjectError(self.attrStr % self._name)
wx._core.PyDeadObjectError: The C++ part of the Uf_page object has been deleted, attribute access no
longer allowed.

2015-02-03 09:14:45 Tree
[r27449] by bugman

Created a special Destroy() method for the spin viewer window.

This is for greater control of the spin viewer window destruction. First the methods registered
with the observer objects are unregistered, then the children of the spin viewer window are
destroyed, and finally the main spin viewer window is destroyed. This change saves a lot of GUI
resources in the GUI tests (there is a large reduction in 'User Objects' and 'GDI Objects' used on
MS Windows systems, hence an equivalent resource reduction on other operating systems).

2015-02-03 09:07:09 Tree
[r27448] by bugman

Reverted r27325, the General.test_bug_23187_residue_delete_gui GUI test is no longer disabled.

The command was:
svn merge -r27325:r27324 .

The 'Bus Error' on Mac OS X due to this test is no longer an issue, as the spin viewer window is now
destroyed after each GUI test.

.....
r27325 | bugman | 2015-01-27 11:35:39 +0100 (Tue, 27 Jan 2015) | 6 lines
Changed paths:
M /trunk/test_suite/gui_tests/general.py

Disabled the General.test_bug_23187_residue_delete_gui GUI test.

This is essential as a wxPython bug in Mac OS X systems causes this test to trigger a 'Bus Error'
every time the GUI tests are run, killing relax.
.....

2015-02-03 08:46:40 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.