Mercurial > traipse_dev
diff orpg/tools/InterParse.py @ 245:682032381be8 beta
Traipse Beta 'OpenRPG' {101130-00}
Traipse is a distribution of OpenRPG that is designed to be easy to setup and go. Traipse also makes it easy for developers to work on code without fear of sacrifice. 'Ornery-Orc' continues the trend of 'Grumpy' and adds fixes to the code. 'Ornery-Orc's main goal is to offer more advanced features and enhance the productivity of the user.
Update Summary (Closing/Closed)
New Features:
New to Map, can re-order Grid, Miniatures, and Whiteboard layer draw order
New to Server GUI, can now clear log
New Earthdawn Dieroller
New IronClaw roller, sheet, and image
Updates:
Update to Warhammer PC Sheet. Rollers set as macros. Should work with little maintanence.
Update to Browser Server window. Display rooms with ' " & cleaner
Update to Server. Handles ' " & cleaner
Update to Dieroller. Cleaner, more effecient expression system
Update to Hidden Die plugin, allows for non standard dice rolls
Fixes:
Fix to InterParse that was causing an Infernal Loop with Namespace Internal
Fix to XML data, removed old Minidom and switched to Element Tree
Fix to Server that was causing eternal attempt to find a Server ID, in Register Rooms thread
Fix to metaservers.xml file not being created
Fix to Single and Double quotes in Whiteboard text
Fix to Background images not showing when using the Image Server
Fix to Duplicate chat names appearing
Fix to Server GUI's logging output
Fix to FNB.COLORFUL_TABS bug
Fix to Gametree for XSLT Sheets
Fix to Gametree for locating gametree files
Fix to Send to Chat from Gametree
Fix to Gametree, renaming and remapping operates correctly
Fix to aliaslib, prevents error caused when SafeHTML is sent None
author | sirebral |
---|---|
date | Tue, 30 Nov 2010 02:34:58 -0600 |
parents | 3bbfd84619c0 |
children |
line wrap: on
line diff
--- a/orpg/tools/InterParse.py Mon Oct 18 23:52:56 2010 -0500 +++ b/orpg/tools/InterParse.py Tue Nov 30 02:34:58 2010 -0600 @@ -44,9 +44,9 @@ tab.set_colors() tab.Post(s, send, myself) - def ParseLogic(self, s, node): + def ParseLogic(self, s, node=None): 'Nodes now parse through ParsLogic. Easily add new parse rules right here!!' - s = self.NameSpaceE(s) + if not node: s = self.NameSpaceE(s) s = self.NameSpaceI(s, node) #s = self.NodeMap(s, node) #s = self.NodeParent(s, node) @@ -171,14 +171,14 @@ for i in xrange(0,len(matches)): ## Build the new tree_map new_map = tree_map.split('::') + if new_map == ['']: new_map = [node.get('name')] find = matches[i][1].split('::') ## Backwards Reference the Parent Children node = self.get_node(new_map) newstr = self.LocationCheck(node, tree_map, new_map, find) s = s.replace(matches[i][0], newstr, 1) s = s.replace(u'\xa0', ' ') - #s = self.NodeMap(s, node) - #s = self.NodeParent(s, node) + s = self.NameSpaceI(s, node) return s def NameSpaceXE(self, s):