# HG changeset patch # User sirebral # Date 1272623771 18000 # Node ID 50af54dbd6a641cdafb1412fe52e990d5e7fcb5a # Parent 4dc11df853bf00e02251c957492f79c687a8e2f9 Traipse Alpha 'OpenRPG' {100430-0} 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 (Patch-2) Moved to Beta!! New Features: New Namespace method with two new syntaxes New Namespace Internal is context sensitive, always! New Namespace External is 'as narrow as you make it' New Namespace FutureCheck helps ensure you don't receive an incorrect node New PluginDB access for URL2Link plugin New to Forms, they now show their content in Design Mode New to Update Manager, checks Repo for updates on software start New to Mini Lin node, change title in design mode Fixes: Fix to Server GUI startup errors Fix to Server GUI Rooms tab updating Fix to Chat and Settings if non existant die roller is picked Fix to Dieroller and .open() used with .vs(). Successes are correctly calculated Fix to Alias Lib's Export to Tree, Open, Save features Fix to alias node, now works properly Fix to Splitter node, minor GUI cleanup Fix to Backgrounds not loading through remote loader Fix to Node name errors Fix to rolling dice in chat Whispers Fix to Splitters Sizing issues Fix to URL2Link plugin, modified regex compilation should remove memory leak Fix to mapy.py, a roll back due to zoomed grid issues Fix to whiteboard_handler, Circles work by you clicking the center of the circle Fix to Servers parse_incoming_dom which was outdated and did not respect XML Fix to a broken link in the server welcome message Fix to InterParse and logger requiring traceback Fix to Update Manager Status Bar Fix to failed image and erroneous pop up Fix to Mini Lib node that was preventing use Fix to plugins that parce dice but did not call InterParse Fix to nodes for name changing by double click Fix to Game Tree, node ordering on drag and drop corrected diff -r 4dc11df853bf -r 50af54dbd6a6 orpg/chat/commands.py --- a/orpg/chat/commands.py Thu Apr 29 23:33:53 2010 -0500 +++ b/orpg/chat/commands.py Fri Apr 30 05:36:11 2010 -0500 @@ -215,6 +215,7 @@ args = string.split(cmdargs,None,-1) rm = component.get('DiceManager') cur_die = rm.getRoller() + if len(args) == 0: self.chat.InfoPost('You are using the "' +cur_die+ '" die roller.'); return try: rm.setRoller(args[0]) self.chat.SystemPost('You have changed your die roller to the "' +rm.getRoller()+ '" roller.') diff -r 4dc11df853bf -r 50af54dbd6a6 orpg/gametree/gametree.py --- a/orpg/gametree/gametree.py Thu Apr 29 23:33:53 2010 -0500 +++ b/orpg/gametree/gametree.py Fri Apr 30 05:36:11 2010 -0500 @@ -675,7 +675,7 @@ family_tree.append(parent) return family_tree - def load_xml(self, xml_element, parent_node, prev_node=None): + def load_xml(self, xml_element, parent_node, prev_node=None, drag_drop=False): if parent_node == self.root: self.tree_map[xml_element.get('name')] = {} self.tree_map[xml_element.get('name')]['node'] = xml_element @@ -698,6 +698,8 @@ if prev_node: if prev_node == parent_node: new_tree_node = self.PrependItem(parent_node, name, i, i) else: new_tree_node = self.InsertItem(parent_node, prev_node, name, i, i) + elif drag_drop: + new_tree_node = self.InsertItemBefore(parent_node, 0, name, i) else: new_tree_node = self.AppendItem(parent_node, name, i, i) logger.debug("Node Added to tree") @@ -804,7 +806,7 @@ self.rename_flag = 0 if txt != "": obj = self.GetPyData(item) - obj.xml.set('name',txt) + obj.xml_root.set('name',txt) else: evt.Veto() def on_label_begin(self, evt): diff -r 4dc11df853bf -r 50af54dbd6a6 orpg/gametree/nodehandlers/containers.py --- a/orpg/gametree/nodehandlers/containers.py Thu Apr 29 23:33:53 2010 -0500 +++ b/orpg/gametree/nodehandlers/containers.py Fri Apr 30 05:36:11 2010 -0500 @@ -67,11 +67,11 @@ drag_obj = self.tree.drag_obj if drag_obj == self or self.tree.is_parent_node(self.mytree_node,drag_obj.mytree_node): return opt = wx.MessageBox("Add node as child?","Container Node",wx.YES_NO|wx.CANCEL) + prev_sib = self.tree.GetPrevSibling(drag_obj.mytree_node) if opt == wx.YES: drop_xml = self.tree.drag_obj.delete() self.xml.insert(0, drop_xml) - self.tree.load_xml(drop_xml, self.mytree_node) - self.tree.Expand(self.mytree_node) + self.tree.load_xml(drop_xml, self.mytree_node, drag_drop=True) elif opt == wx.NO: node_handler.on_drop(self,evt) def gen_html(self, treenode, evt): diff -r 4dc11df853bf -r 50af54dbd6a6 orpg/orpg_version.py --- a/orpg/orpg_version.py Thu Apr 29 23:33:53 2010 -0500 +++ b/orpg/orpg_version.py Fri Apr 30 05:36:11 2010 -0500 @@ -4,7 +4,7 @@ #BUILD NUMBER FORMAT: "YYMMDD-##" where ## is the incremental daily build index (if needed) DISTRO = "Traipse Alpha" DIS_VER = "Ornery Orc" -BUILD = "100429-00" +BUILD = "100430-00" # This version is for network capability. PROTOCOL_VERSION = "1.2"