Menu

SVN archive Commit Log


Commit Date  
[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
[r26298] by bugman

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

........
r26283 | bugman | 2014-10-15 11:38:09 +0200 (Wed, 15 Oct 2014) | 13 lines

Added more checks to the determine_rnd() of the dauvergne_protocol model-free auto-analysis.

This is to try to catch bizarre situations such as bug #22730 (https://gna.org/bugs/?22730),
model-free auto-analysis - relax stops and quits at the polate step.

The following additional fatal conditions are now checked for: A file with the same name as the
base model directory already exists; The base model directory is not readable; The base model
directory is not writable. The last two could be caused by file system corruptions. In addition,
the presence of the base model directory is checked for using os.path.isdir() rather than catching
errors coming out of the os.listdir() function. These changes should make the analysis more robust
in the presence of 'strangeness'.
........
r26284 | bugman | 2014-10-15 11:42:25 +0200 (Wed, 15 Oct 2014) | 8 lines

Added an additional check to determine_rnd() of the dauvergne_protocol model-free auto-analysis.

This is to try to catch bizarre situations such as bug #22730 (https://gna.org/bugs/?22730),
model-free auto-analysis - relax stops and quits at the polate step.

The additional check is that if the base model directory is not executable, a RelaxError is raised.
........
r26285 | bugman | 2014-10-15 13:02:27 +0200 (Wed, 15 Oct 2014) | 7 lines

Added printouts to the determine_rnd() function of the dauvergne_protocol model-free auto-analysis.

This is for better user feedback in the log files as to what is happening. It may help in debugging
bug #22730 (https://gna.org/bugs/?22730): Model-free auto-analysis - relax stops and quits at the
polate step.
........

2014-10-16 16:18:54 Tree
[r26297] by bugman

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

........
r26283 | bugman | 2014-10-15 11:38:09 +0200 (Wed, 15 Oct 2014) | 13 lines

Added more checks to the determine_rnd() of the dauvergne_protocol model-free auto-analysis.

This is to try to catch bizarre situations such as bug #22730 (https://gna.org/bugs/?22730),
model-free auto-analysis - relax stops and quits at the polate step.

The following additional fatal conditions are now checked for: A file with the same name as the
base model directory already exists; The base model directory is not readable; The base model
directory is not writable. The last two could be caused by file system corruptions. In addition,
the presence of the base model directory is checked for using os.path.isdir() rather than catching
errors coming out of the os.listdir() function. These changes should make the analysis more robust
in the presence of 'strangeness'.
........
r26284 | bugman | 2014-10-15 11:42:25 +0200 (Wed, 15 Oct 2014) | 8 lines

Added an additional check to determine_rnd() of the dauvergne_protocol model-free auto-analysis.

This is to try to catch bizarre situations such as bug #22730 (https://gna.org/bugs/?22730),
model-free auto-analysis - relax stops and quits at the polate step.

The additional check is that if the base model directory is not executable, a RelaxError is raised.
........
r26285 | bugman | 2014-10-15 13:02:27 +0200 (Wed, 15 Oct 2014) | 7 lines

Added printouts to the determine_rnd() function of the dauvergne_protocol model-free auto-analysis.

This is for better user feedback in the log files as to what is happening. It may help in debugging
bug #22730 (https://gna.org/bugs/?22730): Model-free auto-analysis - relax stops and quits at the
polate step.
........

2014-10-16 16:18:19 Tree
[r26296] by bugman

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 08:49:18 Tree
[r26295] by bugman

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.

2014-10-16 08:46:02 Tree
[r26294] by bugman

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.

2014-10-15 21:57:44 Tree
[r26293] by bugman

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.

2014-10-15 17:32:18 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.