Menu

SVN archive Commit Log


Commit Date  
[r26552] by bugman

Shifted the spin viewer GUI window toolbar button wx IDs to the module namespace.

This should conserve wx IDs as the window is created and destroyed, as only 2 IDs will be taken from
the small pool for the entire lifetime of the program.

2014-11-12 17:14:37 Tree
[r26551] by bugman

Menus created by the gui.components.menu.build_menu_item() now default to the wx ID of -1.

This is to conserve wx IDs. If the calling code does not provide the ID, there is no need to grab
one from the small pool of IDs.

2014-11-12 17:11:28 Tree
[r26550] by bugman

Shifted the relax controller window popup menu wx IDs to the module namespace.

This is simply to better organise the code to match the other GUI module changes.

2014-11-12 17:01:11 Tree
[r26549] by bugman

Shifted the main GUI window toolbar button wx IDs to the module namespace.

This has no effect apart from better organising the code.

2014-11-12 16:58:30 Tree
[r26548] by bugman

Converted all of the GUI wizard button IDs to -1, as they are currently unused.

This should conserve wx IDs, especially in the test suite.

2014-11-12 16:54:31 Tree
[r26547] by bugman

More shifting of wx.NewId() calls for popup menus to module namespaces to conserve IDs.

2014-11-12 16:49:29 Tree
[r26546] by bugman

Shifted the wx.NewId() calls for the spectrum list GUI element to the module namespace.

These IDs are used for the pop up menus. The change avoids repetitive calls to wx.NewId() every
time a right click occurs, conserving wx IDs so that they are not exhausted when running the test
suite or running the GUI for a long time.

2014-11-12 16:38:25 Tree
[r26545] by bugman

Shifted a number of wx.NewId() calls to the module namespace to conserve IDs.

These are for the menus in the main window and in the spin view window.

2014-11-12 16:28:42 Tree
[r26544] by bugman

Bug fix for the Mf.test_bug_21615_incomplete_setup_failure GUI test on MS Windows systems.

The GUI interpreter flush() method needs to be called between the two structure.load_spins user
function calls. Without this, the test will freeze on MS Windows. The freezing behaviour is
however not 100% reproducible and is dependent on the Windows version and wxPython version.

2014-11-12 10:47:40 Tree
[r26543] by bugman

Important bug fix for racing causing the GUI to freeze.

This is really only seen in the GUI tests on MS Windows systems, as a user could never be fast
enough with the mouse. The GUI interpreter flush() method for ensuring that all user functions in
the queue have been cleared now calls wx.Yield() to force all wxPython events to also be flushed.
This change will avoid random freezing of the relax test suite.

2014-11-12 10:45:54 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.