Menu

SVN archive Commit Log


Commit Date  
[r26558] by bugman

Added a debugging Python version check to the devel_scripts/memory_leak_test_relax_fit.py script.

This prevents the script from being executed with a normal Python binary.

2014-11-13 09:20:43 Tree
[r26557] by bugman

Bug fix for the structure.load_spins user function new from_mols argument.

This was incorrectly using the pipe_control.pipes.pipe_names() function to obtain its default values
in the GUI (although this is not currently uesd). The result was a non-fatal error message on Mac
OS X systems of "Python[1065:1d03] *** __NSAutoreleaseNoPool(): Object 0x3a3944c of class NSCFString
autoreleased with no pool in place - just leaking".

2014-11-12 18:57:54 Tree
[r26556] by bugman

The user function class menus no longer have unique wx IDs, as these are unnecessary.

This conserves the small pool of unique wx IDs, as the spin viewer window is created and destroyed.

2014-11-12 17:36:23 Tree
[r26555] by bugman

A small wx ID conserving change - the 'Execute' button in the analysis tabs now uses the ID of -1.

A unique ID is not necessary and is unused.

2014-11-12 17:33:14 Tree
[r26554] by bugman

Another large wx ID saving change.

The ID associated with the special accelerator table that allows the ESC button to close relax
wizards is now initialised once in the module namespace, and not each time a wizard is created.

2014-11-12 17:30:47 Tree
[r26553] by bugman

Shifted all of the wx.NewId() calls for the new analysis wizard into the module namespace.

This will hugely save the number of wx IDs used by the GUI, especially in the test suite. Instead
of grabbing 8 IDs from the small pool every time the new analysis wizard is created, only 8 IDs for
the lifetime of the program will be used.

2014-11-12 17:19:09 Tree
[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
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.