Commit History

Author SHA1 Message Date
  Lasse Öörni b6366ff982 Optimized StringToBuffer & BufferToString. 12 years ago
  Lasse Öörni 3eb3c1dc66 Refactored string<>bytebuffer conversions to functions in StringUtils and marked todo's for optimizing them. 12 years ago
  Lasse Öörni fed83fb1ca Some slightly nasty casts to reduce warnings in header files on 64bit MSVC compile. The length of strings/containers is intentionally stored as 32bit even in a 64bit compile to ensure the script API stays unchanged. 12 years ago
  Wei Tjong Yao 9bfb0019e3 Added logic to filter UI-style and implicit attributes from UI serialization result. Added logic to let Attribute Inspector to recognize derived values from UI-style file (so, only user modified and programmatically modified attributes are displayed using 'modified color'). Enhanced UI style file processing to support derived 'style' (see how 'ListView' style is derived from 'ScrollView' style and 'CloseButton' derived from 'Button' in file 'DefaultStyle.xml' as examples). Enhanced Serializable class to support instance-level default values (used in XML serialization filtering and also in Editor app). Enhanced Context class to support update of class-level default values during object registration in UIElement's descendant classes. Verified and fixed the attribute default values in RegisterObject() method for all UIElement's descendant classes. Added new method in XMLElement to remove attribute. Exposed new methods to Script API accordingly. 12 years ago
  Wei Tjong Yao 832ef7ddfd Fixed XPath query result integration with existing XMLElement class (XMLElement constructed from XPath query result should be abled to traverse up/down document tree as if it is a 'normal' XMLElement). Added feature to auto-add variable into XPath variables set based on pre-formatted variable string. Modified 3rd-party PugiXML library to have a proper xpath_node copy-constructor. Fixed UI.h to build under GCC. 12 years ago
  Wei Tjong Yao 4d30392c1c Added more null check on XMLElement and XPathResultSet classes. 12 years ago
  Wei Tjong Yao e7c46428d5 Fixed XMLElement copy constructor and added assignment operator to handle the xpath_node assignment correctly. 12 years ago
  Wei Tjong Yao a16998dc41 Code cleanup. 12 years ago
  Wei Tjong Yao 5d698d9ad1 Turned on XPath feature in pugixml thirdparty library. Added new XPath query and resultset wrapper classes and exposed them to Script. Reimplemented UI-element serialization filtering function using XPath query. 12 years ago
  Wei Tjong Yao 2e57e55e84 Fixed a bug in XMLElement::RemoveChild() method. Implemented 'Save child UI-element' functionality. 12 years ago
  Wei Tjong Yao 1230087620 Implemented all the common edit functionalities under 'Edit' menu for UI-element with undo/redo support. Exposed Variant's SetUInt() and GetUInt() to script. Enhanced UIElement's CreateChild() and LoadXML() to insert newly created child at the request child index, added new FindChild() method and exposed it. Added new XMLElement's SetUInt() and GetUInt() methods and exposed them. Simplified the Menu's hover logic to resolve stability issue. 12 years ago
  Lasse Öörni 34df8b5e82 Fixed headless mode. 12 years ago
  Lasse Öörni da243eb31b Applied UI & editor related patch from weitjong. 13 years ago
  Lasse Öörni a40fead7dc Updated license for the new year. 13 years ago
  Lasse Öörni 7d8558a51f Applied massive patch from weitjong. 13 years ago
  Lasse Öörni 88aaa46465 Corrected formatting issues. License.txt & Readme.txt encoded as UTF-8, source code uses ASCII encoding. 13 years ago
  Lasse Öörni f0b6d55b28 Enclosed Urho3D classes inside Urho3D namespace to avoid clashes with external libraries. 13 years ago
  Lasse Öörni bdb060bd7d Moved StringHash to Math library. 13 years ago
  Lasse Öörni 7ea084bc4b Added missing DebugNew.h includes. 13 years ago
  Lasse Öörni cc3ee34f58 Increased occlusion buffer depth bias. 14 years ago
  Lasse Öörni 510c606b3d Removed the redundant GetString() functions from XMLElement. 14 years ago
  Lasse Öörni 95a8c8bfa7 Added overloads to Variant & XMLElement that take char pointers. 14 years ago
  Lasse Öörni 4b0b227898 Code cleanup. Reverted the more extreme XML loading optimizations for readability. 14 years ago
  Lasse Öörni ab35cefde9 Use static strings for often needed element & attribute names in XML serialization to reduce redundant string object construction and dynamic memory allocation. 14 years ago
  Lasse Öörni 5c27c0f69f Changed to use pugixml instead of TinyXML. 14 years ago
  Lasse Öörni 1e1496e7d4 Refactored setting variants from strings. 14 years ago
  Lasse Öörni 215fb04f72 Converted VAR_BUFFER file serialization attributes to VAR_VARIANTVECTOR to make them more readable and/or editable. 14 years ago
  Lasse Öörni af2b4311dc Function name unification and cleanup. ChildElement -> Child. RootElement -> Root. ScriptedChildren -> ChildrenWithScript. 14 years ago
  Lasse Öörni b90c1386be Removed unnecessary parentheses. 14 years ago
  Lasse Öörni 95b8dfac47 Fixed ResourceRefList serialization to XML. 14 years ago