cleaning up indents, also add save() and write() methods

This commit is contained in:
benfry
2010-07-17 14:51:33 +00:00
parent b4dde5c2c8
commit 7b90142596
3 changed files with 942 additions and 1032 deletions
+1 -1
View File
@@ -232,7 +232,7 @@ public class StdXMLBuilder
XMLElement elt = (XMLElement) this.stack.pop();
if (elt.getChildCount() == 1) {
XMLElement child = elt.getChildAtIndex(0);
XMLElement child = elt.getChild(0);
if (child.getLocalName() == null) {
elt.setContent(child.getContent());
File diff suppressed because it is too large Load Diff
+24 -21
View File
@@ -1,33 +1,26 @@
0190 core
LIBRARIES / XML
xml fixes
X add getBoolean() methods?
_ http://code.google.com/p/processing/issues/detail?id=304
X http://code.google.com/p/processing/issues/detail?id=304
X removing namespace versions of the getXxxx() methods
X these were never documented, and cause more trouble than they're worth
X changing getIntAttribute() et al to getInt()
_ need to make the reference change for the next release
X add listChildren() method
_ add to reference
_ adding write() method?
_ handle charset decoding in xml element parser?
_ same with the other methods like loadStrings()
_ could also be a way to handle gzip too?
_ tho charset + gzip would be a problem
_ need to handle how save() works inside xml lib
_ need to handle <!ENTITY tags for svg documents
_ vectors shouldn't be exposed, need to expose attr lists as arrays
_ or also add a method for getting the vectors?
_ XML attributes named "xmlns" always return NULL
_ http://dev.processing.org/bugs/show_bug.cgi?id=1196
_ http://code.google.com/p/processing/issues/detail?id=166
_ save xml elements back out again
_ http://dev.processing.org/bugs/show_bug.cgi?id=963
_ http://code.google.com/p/processing/issues/detail?id=126
_ or make the call that it's read-only, and remove the saving code
_ when re-saving and ods file, not including all the name spaces at the top
X XML attributes named "xmlns" always return NULL
X http://dev.processing.org/bugs/show_bug.cgi?id=1196
X http://code.google.com/p/processing/issues/detail?id=166
X when re-saving and ods file, not including all the name spaces at the top
X several fixes to how namespaces are handled (or not handled)
X save xml elements back out again
X http://dev.processing.org/bugs/show_bug.cgi?id=963
X http://code.google.com/p/processing/issues/detail?id=126
X or make the call that it's read-only, and remove the saving code
_ document save() and write(), and their differences
X adding write() method?
X need to handle how save() works inside xml lib
_ possible addition for 'implementation' variable
@@ -668,6 +661,16 @@ _ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs
LIBRARIES / XML
_ handle charset decoding in xml element parser?
_ same with the other methods like loadStrings()
_ could also be a way to handle gzip too?
_ tho charset + gzip would be a problem
_ need to handle <!ENTITY tags for svg documents
_ vectors shouldn't be exposed, need to expose attr lists as arrays
_ or also add a method for getting the vectors?
LIBRARIES / PGraphicsOpenGL
_ switch to glWindowPos() instead of glRasterPos() silliness