Menu

SVN archive Commit Log


Commit Date  
[r26308] by bugman

Updated all of the scripts in devel_scripts/gui/.

These have been non-functional since the merger of the bieri_gui back in January 2011.

2014-10-17 14:54:40 Tree
[r26307] by bugman

Fix for the gui.fonts module to allow it to be used outside of the GUI.

2014-10-17 14:13:04 Tree
[r26306] by bugman

Resign of how the new analysis wizard is handled in the GUI tests.

This relates to bug #22818 (https://gna.org/bugs/?22818), the GUI test suite failures in MS Windows
- PyAssertionError: C++ assertion "Assert failure".

The GUI test base class method new_analysis_wizard() has been created to simplify the process. When
a new analysis is desired, this method should be called. It will return the analysis page GUI
element for use in the test. The method standardises the execution of the new analysis wizard and
sets up the analysis in the GUI. It also properly destroys the wizard to avoid the memory leaking
issues such as bug #22818.

All GUI tests have been converted to use new_analysis_wizard(). This allows the GUI tests to pass
on MS Windows. However there are still significant sources of memory leaks (the USER Objects count)
visible in the Windows Task Manager.

2014-10-17 13:05:32 Tree
[r26305] by bugman

Changed the logic for how the new analysis wizard in the GUI is destroyed.

This relates to bug #22818 (https://gna.org/bugs/?22818), the GUI test suite failures in MS Windows
- PyAssertionError: C++ assertion "Assert failure".

The Destroy() method has been added to the Analysis_wizard class to properly close all elements of
the wizard. This is now called from the menu_new() method of the Analysis_controller class, which
is the target of the menu item and toolbar button.

To allow the test suite to use this, the menu_new() method now accepts the destroy boolean argument.
The test suite can set this to False and then access the GUI elements after calling the method
(however the Destroy() method must be called by the test suite).

2014-10-17 12:58:52 Tree
[r26304] by bugman

Merged revisions 26293-26296 via svnmerge from
svn+ssh://bugman@.../svn/relax/trunk

........
r26293 | bugman | 2014-10-15 19:32:18 +0200 (Wed, 15 Oct 2014) | 7 lines

Modified the behaviour of the relax controller window so that pressing escape closes the window.

This involves setting the initial focus on the LogCtrl, and catching the ESC key press in the
LogCtrl as well as all relax controller read only wx.Field elements and calling the parent
controller handle_close() method.
........
r26294 | bugman | 2014-10-15 23:57:44 +0200 (Wed, 15 Oct 2014) | 5 lines

Replaced the hardcoded integer keycodes in the relax controller with the wx variables.

This is for the LogCtrl.capture_keys() handler method for dealing with key presses.
........
r26295 | bugman | 2014-10-16 10:46:02 +0200 (Thu, 16 Oct 2014) | 8 lines

Improvement for all wizards and user functions in the relax GUI.

The focus is now set on the currently displayed page of the wizard. This allows the keyboard to be
active without requiring a mouse click. Now text can be instantly input into the first text control
and the tab key can jump between elements. As the GUI user functions are wizards with a single
page, this is a significant usability improvement for the GUI.
........
r26296 | bugman | 2014-10-16 10:49:18 +0200 (Thu, 16 Oct 2014) | 7 lines

The ESC character now closes all wizards and user functions in the relax GUI.

By using an accelerator table set to the entire wizard window to catch the ESC keyboard event, the
ESC key will cause the _handler_escape() method to be called which then calls the windows Close()
method to close the window.
........

2014-10-16 16:31:37 Tree
[r26303] by bugman

Merged revisions 26293-26296 via svnmerge from
svn+ssh://bugman@.../svn/relax/trunk

........
r26293 | bugman | 2014-10-15 19:32:18 +0200 (Wed, 15 Oct 2014) | 7 lines

Modified the behaviour of the relax controller window so that pressing escape closes the window.

This involves setting the initial focus on the LogCtrl, and catching the ESC key press in the
LogCtrl as well as all relax controller read only wx.Field elements and calling the parent
controller handle_close() method.
........
r26294 | bugman | 2014-10-15 23:57:44 +0200 (Wed, 15 Oct 2014) | 5 lines

Replaced the hardcoded integer keycodes in the relax controller with the wx variables.

This is for the LogCtrl.capture_keys() handler method for dealing with key presses.
........
r26295 | bugman | 2014-10-16 10:46:02 +0200 (Thu, 16 Oct 2014) | 8 lines

Improvement for all wizards and user functions in the relax GUI.

The focus is now set on the currently displayed page of the wizard. This allows the keyboard to be
active without requiring a mouse click. Now text can be instantly input into the first text control
and the tab key can jump between elements. As the GUI user functions are wizards with a single
page, this is a significant usability improvement for the GUI.
........
r26296 | bugman | 2014-10-16 10:49:18 +0200 (Thu, 16 Oct 2014) | 7 lines

The ESC character now closes all wizards and user functions in the relax GUI.

By using an accelerator table set to the entire wizard window to catch the ESC keyboard event, the
ESC key will cause the _handler_escape() method to be called which then calls the windows Close()
method to close the window.
........

2014-10-16 16:31:34 Tree
[r26302] by bugman

Merged revisions 26291-26292 via svnmerge from
svn+ssh://bugman@.../svn/relax/trunk

........
r26291 | bugman | 2014-10-15 17:57:52 +0200 (Wed, 15 Oct 2014) | 9 lines

Fix for the find next bug in the relax controller window.

This is bug #22815 (https://gna.org/bugs/?22815), the failure of find next using F3 (or Ctrl-G on
Mac OS X) in the relax controller window if search text has already been set.

The fix was simple, as the required flags are in the self.find_data class object (an instance of
wx.FindReplaceData).
........
r26292 | bugman | 2014-10-15 18:23:29 +0200 (Wed, 15 Oct 2014) | 9 lines

Fix for find dialog in the relax controller window.

This is for bug #22816 (https://gna.org/bugs/?22816), the find functionality of the relax controller
window does not find text when using wxPython >= 2.9.

The find wxPython events are now bound to the find dialog rather than the relax controller window
LogCtrl element for displaying the relax messages. This works on all wxPython versions.
........

2014-10-16 16:21:05 Tree
[r26301] by bugman

Merged revisions 26291-26292 via svnmerge from
svn+ssh://bugman@.../svn/relax/trunk

........
r26291 | bugman | 2014-10-15 17:57:52 +0200 (Wed, 15 Oct 2014) | 9 lines

Fix for the find next bug in the relax controller window.

This is bug #22815 (https://gna.org/bugs/?22815), the failure of find next using F3 (or Ctrl-G on
Mac OS X) in the relax controller window if search text has already been set.

The fix was simple, as the required flags are in the self.find_data class object (an instance of
wx.FindReplaceData).
........
r26292 | bugman | 2014-10-15 18:23:29 +0200 (Wed, 15 Oct 2014) | 9 lines

Fix for find dialog in the relax controller window.

This is for bug #22816 (https://gna.org/bugs/?22816), the find functionality of the relax controller
window does not find text when using wxPython >= 2.9.

The find wxPython events are now bound to the find dialog rather than the relax controller window
LogCtrl element for displaying the relax messages. This works on all wxPython versions.
........

2014-10-16 16:20:07 Tree
[r26300] by bugman

Merged revisions 26286-26290 via svnmerge from
svn+ssh://bugman@.../svn/relax/trunk

........
r26286 | bugman | 2014-10-15 13:05:08 +0200 (Wed, 15 Oct 2014) | 3 lines

Alphabetical ordering of imports in the dauvergne_protocol model-free auto-analysis.
........
r26287 | bugman | 2014-10-15 13:34:41 +0200 (Wed, 15 Oct 2014) | 8 lines

Changed the model-free single spin optimisation title printouts.

The specific_analyses.model_free.optimisation.spin_print() function has been deleted. It has
instead been replaced by a call to lib.text.sectioning.subtitle(). This is to match the grid search
setup title printouts and to differentiate these titles from those printed out by minfx being
underlined by '~' characters.
........
r26288 | bugman | 2014-10-15 13:41:12 +0200 (Wed, 15 Oct 2014) | 7 lines

Added extensive sectioning printouts to the dauvergne_protocol model-free auto-analysis.

The lib.text.section functions title() and subtitle() are now used to mark out all parts of the
auto-analysis. This will allow for a much better understanding of the log files produced by this
auto-analysis.
........
r26289 | bugman | 2014-10-15 16:56:12 +0200 (Wed, 15 Oct 2014) | 19 lines

Complete redesign of the following of text in the relax controller window in the GUI.

The current design for some reason no longer worked very often, and there would be many situations
where the scrolling to follow the text output would stop and could never be recovered. Therefore
this feature has been redesigned.

In the LogCtrl element of the relax controller, which displays the relax output messages, the at_end
class boolean variable has been introduced. It defaults to True. The following events will turn it
off: Arrow keys, Home key, End key, Ctrl-Home key, Mouse button clicks, Mouse wheel scrolling,
Window thumbtrack scrolling (the side scrollbar), finding text, the pop up menu 'Go to start',
and Select all (menu or Ctrl-A). It will only be turned on in two cases: The pop up menu 'Go to
end', and if the caret is on the final line (caused by Ctrl-End, Mouse wheel scrolling, Page Down,
Down arrow, Window thumbtrack scrolling, etc.).

Three new methods have been introduced to handle certain events: capture_mouse() for mouse button
clicks, capture_mouse_wheel() for mouse wheel scrolling, and capture_scroll for window thumbtrack
scrolling.
........
r26290 | bugman | 2014-10-15 17:41:20 +0200 (Wed, 15 Oct 2014) | 7 lines

Improvements for selecting all text in the relax controller window.

Selecting text using the pop up menu or [Ctrl-A] now shifted the caret to line 1 before selecting
all text. This deactivates the following of the end of text, if active, as the text following
feature causes the text selection to be lost.
........

2014-10-16 16:19:58 Tree
[r26299] by bugman

Merged revisions 26286-26290 via svnmerge from
svn+ssh://bugman@.../svn/relax/trunk

........
r26286 | bugman | 2014-10-15 13:05:08 +0200 (Wed, 15 Oct 2014) | 3 lines

Alphabetical ordering of imports in the dauvergne_protocol model-free auto-analysis.
........
r26287 | bugman | 2014-10-15 13:34:41 +0200 (Wed, 15 Oct 2014) | 8 lines

Changed the model-free single spin optimisation title printouts.

The specific_analyses.model_free.optimisation.spin_print() function has been deleted. It has
instead been replaced by a call to lib.text.sectioning.subtitle(). This is to match the grid search
setup title printouts and to differentiate these titles from those printed out by minfx being
underlined by '~' characters.
........
r26288 | bugman | 2014-10-15 13:41:12 +0200 (Wed, 15 Oct 2014) | 7 lines

Added extensive sectioning printouts to the dauvergne_protocol model-free auto-analysis.

The lib.text.section functions title() and subtitle() are now used to mark out all parts of the
auto-analysis. This will allow for a much better understanding of the log files produced by this
auto-analysis.
........
r26289 | bugman | 2014-10-15 16:56:12 +0200 (Wed, 15 Oct 2014) | 19 lines

Complete redesign of the following of text in the relax controller window in the GUI.

The current design for some reason no longer worked very often, and there would be many situations
where the scrolling to follow the text output would stop and could never be recovered. Therefore
this feature has been redesigned.

In the LogCtrl element of the relax controller, which displays the relax output messages, the at_end
class boolean variable has been introduced. It defaults to True. The following events will turn it
off: Arrow keys, Home key, End key, Ctrl-Home key, Mouse button clicks, Mouse wheel scrolling,
Window thumbtrack scrolling (the side scrollbar), finding text, the pop up menu 'Go to start',
and Select all (menu or Ctrl-A). It will only be turned on in two cases: The pop up menu 'Go to
end', and if the caret is on the final line (caused by Ctrl-End, Mouse wheel scrolling, Page Down,
Down arrow, Window thumbtrack scrolling, etc.).

Three new methods have been introduced to handle certain events: capture_mouse() for mouse button
clicks, capture_mouse_wheel() for mouse wheel scrolling, and capture_scroll for window thumbtrack
scrolling.
........
r26290 | bugman | 2014-10-15 17:41:20 +0200 (Wed, 15 Oct 2014) | 7 lines

Improvements for selecting all text in the relax controller window.

Selecting text using the pop up menu or [Ctrl-A] now shifted the caret to line 1 before selecting
all text. This deactivates the following of the end of text, if active, as the text following
feature causes the text selection to be lost.
........

2014-10-16 16:19:20 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.