Mercurial > traipse_dev
comparison orpg/tools/orpg_log.py @ 133:37d26a98883f alpha
Traipse Alpha 'OpenRPG' {091010-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 Gamtree Recusion method, mapping, and context sensitivity. !!Alpha - Watch out for infinite loops!!
Dead Node Children, now that's a
O O
-v-v- Happy Halloween!
author | sirebral |
---|---|
date | Tue, 10 Nov 2009 12:11:13 -0600 |
parents | fba298d65cf8 |
children | 2ffc5de126c8 |
comparison
equal
deleted
inserted
replaced
132:fe4dc5817d5e | 133:37d26a98883f |
---|---|
25 # | 25 # |
26 # Description: classes for orpg log messages | 26 # Description: classes for orpg log messages |
27 # | 27 # |
28 | 28 |
29 from __future__ import with_statement | 29 from __future__ import with_statement |
30 import sys, os, os.path, wx, time, traceback, inspect | 30 import sys, os, os.path, time, traceback, inspect, wx |
31 | 31 |
32 from orpg.orpgCore import component | 32 from orpg.orpgCore import component |
33 from orpg.external.terminalwriter import TerminalWriter | 33 from orpg.external.terminalwriter import TerminalWriter |
34 from orpg.tools.decorators import pending_deprecation | 34 from orpg.tools.decorators import pending_deprecation |
35 from orpg.dirpath import dir_struct | 35 from orpg.dirpath import dir_struct |
176 try: self._io.line(str(msg), **self._lvl_args[log_type]['colorizer']) | 176 try: self._io.line(str(msg), **self._lvl_args[log_type]['colorizer']) |
177 except: pass #Fails without the Debug Console | 177 except: pass #Fails without the Debug Console |
178 try: component.get('debugger').AppendText(".. " + str(msg) +'\n') | 178 try: component.get('debugger').AppendText(".. " + str(msg) +'\n') |
179 except: pass | 179 except: pass |
180 | 180 |
181 if log_type & self.log_level or to_console: | 181 if log_type and (self.log_level or to_console): |
182 atr = {'msg': msg, 'level': self._lvl_args[log_type]['log_string']} | 182 atr = {'msg': msg, 'level': self._lvl_args[log_type]['log_string']} |
183 atr['time'] = time.strftime('[%x %X]', time.localtime(time.time())) | 183 atr['time'] = time.strftime('[%x %X]', time.localtime(time.time())) |
184 logMsg = '%(time)s (%(level)s) - %(msg)s\n' % (atr) | 184 logMsg = '%(time)s (%(level)s) - %(msg)s\n' % (atr) |
185 | 185 |
186 with open(self.log_name, 'a') as f: | 186 with open(self.log_name, 'a') as f: |