1
0
forked from 0ad/0ad
0ad/source/ps/XML
janwas 6324deb7d0 fix to prevent further issues due to invalid XMB files (c.f. matt's "crash upon combat" bug report, http://www.wildfiregames.com/forum/index.php?showtopic=11703). as per philip's excellent suggestion, they are now only tagged with a header iff the file contents are valid.
details:
- add a new magic string "XMBu" to indicate an unfinished XMB file;
- header magic fields are now exclusively strings to avoid type punning;
- XMBFile::Initialize now has a return value which is checked by
ReadXMBFile;
- the XML loader re-creates the XMB if that fails.

This was SVN commit r6016.
2008-06-15 17:24:32 +00:00
..
tests fixes/improvements to lib code from work 2008-05-13 19:43:02 +00:00
XercesErrorHandler.cpp remove mmgr and macros that redefine malloc/new/free 2008-01-19 11:33:11 +00:00
XercesErrorHandler.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
Xeromyces.cpp fix to prevent further issues due to invalid XMB files (c.f. matt's "crash upon combat" bug report, http://www.wildfiregames.com/forum/index.php?showtopic=11703). as per philip's excellent suggestion, they are now only tagged with a header iff the file contents are valid. 2008-06-15 17:24:32 +00:00
Xeromyces.h improvements and fixes: 2008-01-07 20:03:19 +00:00
XeroXMB.cpp fix to prevent further issues due to invalid XMB files (c.f. matt's "crash upon combat" bug report, http://www.wildfiregames.com/forum/index.php?showtopic=11703). as per philip's excellent suggestion, they are now only tagged with a header iff the file contents are valid. 2008-06-15 17:24:32 +00:00
XeroXMB.h fix to prevent further issues due to invalid XMB files (c.f. matt's "crash upon combat" bug report, http://www.wildfiregames.com/forum/index.php?showtopic=11703). as per philip's excellent suggestion, they are now only tagged with a header iff the file contents are valid. 2008-06-15 17:24:32 +00:00
XML.h remove mmgr and macros that redefine malloc/new/free 2008-01-19 11:33:11 +00:00
XMLUtils.cpp vfs_lookup: fix bug when creating physical directories via VFS 2008-04-05 19:47:57 +00:00
XMLWriter.cpp Skip standalone document declaration in generated XML, since it's pointless. 2008-04-15 13:45:17 +00:00
XMLWriter.h Skip standalone document declaration in generated XML, since it's pointless. 2008-04-15 13:45:17 +00:00