Menu

SVN archive Commit Log


Commit Date  
[r27497] by bugman

Created the relax GUI prompt Destroy() method.

This is used to cleanly destroy the GUI prompt by first unregistering with the observer objects,
destroying then deleting the wx.py.shell.Shell instance, and finally destroying the window.

2015-02-03 18:59:07 Tree
[r27496] by bugman

Temporary disabling of the memory management check in the GUI tests tearDown() method.

For some reason, it appears as if it is not possible to destroy wx Windows on MS Windows.

2015-02-03 18:39:48 Tree
[r27495] by bugman

Fix for the GUI tests clean_up_windows() tearDown method.

After destroying all of the main GUI windows, a wx.Yield() call is made to flush the wxPython event
queue. This seems to help with the memory management.

2015-02-03 17:47:41 Tree
[r27494] by bugman

Removed the wx.CallAfter() call in the GUI tests tearDown() method.

This was used to call the clean_up_windows() method. However the value of wx.Thread_IsMain() shows
that the tearDown() method executes in the main GUI thread. Therefore the wx.CallAfter() call for
avoiding racing conditions is not needed.

2015-02-03 17:37:24 Tree
[r27493] by bugman

Changed the title for the user function GUI windows.

To better help identify what the window is, the title is now the user function name together with
text saying that it is a user function.

2015-02-03 17:20:59 Tree
[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
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.