Menu

SVN archive Commit Log


Commit Date  
[r16416] by bugman

Removed the reinitialisation of the relax data store GUI object in the GUI test tearDown() method.

This is not needed as it is done by the data store reset anyway.

2012-05-23 16:17:52 Tree
[r16415] by bugman

Removed a time.sleep() call which slows down the GUI tests by a significant amount.

This adds 0.5 seconds per user function which display info. For example this is 8 seconds for just
the Bmrb GUI tests! This delay is not necessary, so has been eliminated.

2012-05-23 15:50:54 Tree
[r16414] by bugman

The user function docstrings are now created when the help system is invoked.

This prevents all user function docstrings from being built at the start, or any time the
interpreter class is instantiated. Instead the docstrings are created on demand. Therefore for
most relax usage, the docstrings for most user functions will be rarely built.

This decreases start times of ~6 seconds down to ~0.06 seconds!

2012-05-23 13:36:58 Tree
[r16413] by bugman

The GUI tests are now recycling the GUI user function wizards and pages as well.

This required a number of modifications:
- The user function object wizard creation has been shifted into the create_wizard() method.
- The status.gui_uf_force_sync flag has been introduced to force synchronous operation of the
GUI user functions.
- The wx_wizard_run keyword arg has been added to the user function object to prevent the
automatic running of the wizard.
- The GUI test tearDown() base method no longer destroys the GUI or wizards, as they are needed
in subsequent tests.

2012-05-23 09:13:21 Tree
[r16412] by bugman

Fix for the logic in the recycling of old user function wizards.

2012-05-23 08:03:01 Tree
[r16411] by bugman

Fix for the system test base script running method script_exec().

This now calls the interpreter, rather than itself in a circular loop!!!

2012-05-23 07:59:22 Tree
[r16410] by bugman

Removed the useless GUI interpreter flush() call in the GUI tests base _execute_uf() call.

This is not needed as the GUI user function calls are synchronous. This cuts the GUI test
running time down by about 1/4!

2012-05-23 07:44:09 Tree
[r16409] by bugman

Fix in the GUI uf page SetValue() method for the sequence.display user function.

The uf has the 'sep' arg, but this is not part of the free file format set of args! The SetValue()
method is now checking if the free file format is active for the page, before assuming an arg is
part of that set.

2012-05-23 07:05:23 Tree
[r16408] by bugman

The wizards for the individual user function pages are now recycled.

This should speed up the GUI (and the GUI tests massively). Closing the wizard calls the Close()
rather than Destroy() method, so the wizards are still in memory. A new call to an old GUI uf
object will simply call SetValue() for all keyword arg GUI elements, hence reset the element.

The Wizard GUI object has been modified to only add the buttons if they do not currently exist.
Without this, a new set of buttons is added each time the user function wizard appears.

2012-05-23 07:00:11 Tree
[r16407] by bugman

The GUI base class now has access to math.pi.

This is necessary as the system test scripts are run in this namespace rather than the interpreter
namespace which has pi defined.

2012-05-23 06:56:17 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.