Mercurial > traipse_dev
comparison orpg/orpg_windows.py @ 151:06f10429eedc alpha
Traipse Alpha 'OpenRPG' {091125-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 (Cleaning up for Beta)
Added Bookmarks
Fix to Remote Admin Commands
Minor fix to text based Server
Fix to Pretty Print, from Core
Fix to Splitter Nodes not being created
Fix to massive amounts of images loading, from Core
Added 'boot' command to remote admin
Added confirmation window for sent nodes
Minor changes to allow for portability to an OpenSUSE linux OS
Miniatures Layer pop up box allows users to turn off Mini labels, from FlexiRPG
Zoom Mouse plugin added
Images added to Plugin UI
Switching to Element Tree
Map efficiency, from FlexiRPG
Added Status Bar to Update Manager
default_manifest.xml renamed to default_upmana.xml
Cleaner clode for saved repositories
New TrueDebug Class in orpg_log (See documentation for usage)
Mercurial's hgweb folder is ported to upmana
Pretty important update that can help remove thousands of dead children from your
gametree.
Children, <forms />, <group_atts />, <horizontal />, <cols />, <rows />, <height
/>, etc... are all tags now. Check your gametree and look for dead children!!
New Gametree Recursion method, mapping, and context sensitivity. !Infinite Loops
return error instead of freezing the software!
New Syntax added for custom PC sheets
Tip of the Day added, from Core and community
Fixed Whiteboard ID to prevent random line or text deleting. Modified ID's to
prevent non updated clients from ruining the fix.
author | sirebral |
---|---|
date | Wed, 25 Nov 2009 06:15:49 -0600 |
parents | 37d26a98883f |
children | dcae32e219f1 81d0bfd5e800 |
comparison
equal
deleted
inserted
replaced
149:c2caca988a11 | 151:06f10429eedc |
---|---|
275 if wx.Platform == '__WXMSW__': txt = self.text.GetLabel() | 275 if wx.Platform == '__WXMSW__': txt = self.text.GetLabel() |
276 else: txt = self.text.GetValue() | 276 else: txt = self.text.GetValue() |
277 (beg,end) = self.text.GetSelection() | 277 (beg,end) = self.text.GetSelection() |
278 if beg != end: sel_txt = txt[beg:end] | 278 if beg != end: sel_txt = txt[beg:end] |
279 else: return | 279 else: return |
280 print txt | 280 |
281 # TaS - sirebral. Replaces 6 lines with 4 lines. | 281 # TaS - sirebral. Replaces 6 lines with 4 lines. |
282 recycle_bin = {self.BOLD: "b", self.ITALIC: "i", self.UNDER: "u"} | 282 recycle_bin = {self.BOLD: "b", self.ITALIC: "i", self.UNDER: "u"} |
283 if recycle_bin.has_key(id): | 283 if recycle_bin.has_key(id): |
284 sel_txt = "<" + recycle_bin[id] + ">" + sel_txt + "</" + recycle_bin[id] + ">" | 284 sel_txt = "<" + recycle_bin[id] + ">" + sel_txt + "</" + recycle_bin[id] + ">" |
285 del recycle_bin | 285 del recycle_bin |
327 self.local = 0 | 327 self.local = 0 |
328 elif address[0] == "#" or self.local: self.base_OnLinkClicked(linkinfo) | 328 elif address[0] == "#" or self.local: self.base_OnLinkClicked(linkinfo) |
329 else: self.load_url(self.path+address) | 329 else: self.load_url(self.path+address) |
330 | 330 |
331 def load_url(self,path): | 331 def load_url(self,path): |
332 print path | |
333 dlg = wx.ProgressDialog("HTML Document","Loading...",3,self) | 332 dlg = wx.ProgressDialog("HTML Document","Loading...",3,self) |
334 dlg.Update(1) | 333 dlg.Update(1) |
335 try: | 334 try: |
336 data = urllib.urlretrieve(path) | 335 data = urllib.urlretrieve(path) |
337 file = open(data[0]) | 336 file = open(data[0]) |
481 textValue = string.upper(self.text.GetValue()) | 480 textValue = string.upper(self.text.GetValue()) |
482 matchValue = string.upper(self.matchInput.GetValue()) | 481 matchValue = string.upper(self.matchInput.GetValue()) |
483 | 482 |
484 # continue search from insertion point instead of top | 483 # continue search from insertion point instead of top |
485 self.matchPosition = self.matchPositionOld = self.text.GetInsertionPoint() | 484 self.matchPosition = self.matchPositionOld = self.text.GetInsertionPoint() |
486 | |
487 # find search string in chatbuffer | 485 # find search string in chatbuffer |
488 self.matchPosition = string.find(textValue[self.matchPositionOld:], matchValue) | 486 self.matchPosition = string.find(textValue[self.matchPositionOld:], matchValue) |
489 # cumulate position for substring matching in continuing search | 487 # cumulate position for substring matching in continuing search |
490 self.matchPositionOld = self.matchPositionOld + self.matchPosition | 488 self.matchPositionOld = self.matchPositionOld + self.matchPosition |
491 | 489 |