Menu

SVN archive Commit Log


Commit Date  
[r25645] by bugman

Ported r25641 from trunk to provide for catching of old user function calls.

The command used was:
svn merge -r25640:25641 svn+ssh://bugman@.../svn/relax/trunk .

.....
r25641 | bugman | 2014-09-04 17:13:38 +0200 (Thu, 04 Sep 2014) | 5 lines
Changed paths:
M /trunk/user_functions/__init__.py

Converted the user_functions.uf_translation_table object to a dictionary.

This is for faster access which does not require looping.
.....

2014-09-04 15:52:42 Tree
[r25644] by bugman

Ported r25626 from trunk to provide for catching of old user function calls.

The command used was:
svn merge -r25625:25626 svn+ssh://bugman@.../svn/relax/trunk .

.....
r25626 | bugman | 2014-09-04 15:35:36 +0200 (Thu, 04 Sep 2014) | 6 lines
Changed paths:
M /trunk/user_functions/__init__.py

Created the user_functions.uf_translation_table list.

The elements of this list are the names of user functions before and after a renaming. The list is
provided for backwards compatibility for relax scripts, though it is not used yet.
.....

2014-09-04 15:49:15 Tree
[r25643] by bugman

Hack in the script UI for handling missing user functions due to it being renamed.

This script UI requires a different solution as the prompt UI. The script is executed via the runpy
Python module and there appears to be no clean way of catching each command before it is executed.
So instead, prior to executing the script, the contents of the script are read and old user
functions are searched for using re.search(). The old user function name has "(" appended to it in
the search so that it is sure that it is a user function call. And the old function must have a
space or newline character preceding it.

2014-09-04 15:44:58 Tree
[r25642] by bugman

The prompt UI now uses the user_functions.uf_translation_table dictionary.

The modified runcode() function will now check if the command typed by the user is a function or
method call and then will raise a RelaxError if the command name is in the
user_functions.uf_translation_table dictionary, telling the user that the user function has been
renamed to the new name in the translation table.

This appears to have no effect in the script UI however.

2014-09-04 15:18:08 Tree
[r25641] by bugman

Converted the user_functions.uf_translation_table object to a dictionary.

This is for faster access which does not require looping.

2014-09-04 15:13:38 Tree
[r25640] by bugman

Backported the relax 3.3.0 CHANGES file changes to trunk.

The command used was:
svn merge -r25638:25639 svn+ssh://bugman@.../svn/relax/tags/3.3.0 .

2014-09-04 14:56:24 Tree
[r25639] by bugman

More CHANGES file updates.

2014-09-04 14:50:05 Tree
[r25638] by bugman

Ported r25637 from the 3.3.0 tag.

The command used was:
svn merge -r25636:25637 svn+ssh://bugman@.../svn/relax/tags/3.3.0 .

.....
Python 3 fix for the lib.periodic_table module.

The Python string module does not exist in Python 3.
.....

2014-09-04 14:49:29 Tree
[r25637] by bugman

Python 3 fix for the lib.periodic_table module.

The Python string module does not exist in Python 3.

2014-09-04 14:46:42 Tree
[r25636] by bugman

Backported the relax 3.3.0 CHANGES file changes to trunk.

The command used was:
svn merge -r25634:25635 svn+ssh://bugman@.../svn/relax/tags/3.3.0 .

2014-09-04 14:45:05 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.