Chris Danford
ceef12b5cd
Have the XML parser warn about the error. Don't make every XML user have their own warning code.
2005-05-29 01:05:23 +00:00
Glenn Maynard
a7e4836149
Skip attribute parsing, to fix errors due to comment contents.
2005-02-25 06:13:21 +00:00
Chris Danford
c435ed509a
add comments parsing
2005-02-18 14:03:50 +00:00
Chris Danford
cf698b55a0
clean up XML error handling
2005-02-18 13:05:17 +00:00
Chris Danford
26dc26ff62
fix misspelling
2005-02-18 11:55:34 +00:00
Glenn Maynard
8884936a17
const fix
2005-02-18 03:07:22 +00:00
Glenn Maynard
8ee052516a
XNode::LoadFromFile(RageFileBasic)
2005-01-08 19:12:44 +00:00
Chris Danford
77e1c2fee8
fix VC7 warnings
2005-01-08 02:06:22 +00:00
Chris Danford
e836a44a3f
more whitespace fixes
2005-01-07 21:52:59 +00:00
Chris Danford
8b662089b7
fix "any whitespace char should be allowed between entitiy name and 1st attribute"
2005-01-07 21:11:36 +00:00
Chris Danford
981e52ec58
merge IniFile and XmlFile
2005-01-07 14:28:00 +00:00
Chris Danford
5b2582cab3
use multimap in XmlFile
2005-01-07 09:09:23 +00:00
Chris Danford
b1070d2077
remove parent pointers
2005-01-07 06:51:53 +00:00
Chris Danford
afc06a1d92
re-add typedefs
2005-01-07 03:18:11 +00:00
Chris Danford
31ea9c7bc4
cleanup
2005-01-07 02:07:10 +00:00
Glenn Maynard
6cd9622e05
RageFileBasic
2004-12-18 05:37:53 +00:00
Chris Danford
03fbb915f3
remove VC6 scoping hacks
2004-09-21 07:53:39 +00:00
Steve Checkoway
27d4678adf
Cleanup. Do not use == true or == false.
2004-09-06 21:28:56 +00:00
Chris Danford
f10efc414a
reduce Stats.xml file size: don't write tab indent characters
2004-08-28 21:37:57 +00:00
Glenn Maynard
1fdf3d68c2
s/TCHAR/char/
2004-08-18 22:09:23 +00:00
Glenn Maynard
aad73b53e9
(float) atof() -> strtof(), which computes in float instead of computing in
...
double and casting to float, which is silly
2004-08-10 20:57:59 +00:00
Glenn Maynard
d0e67f9ffb
get rid of ugly pointer typedefs
2004-07-23 02:27:37 +00:00
Glenn Maynard
ccc1468c56
identifiers shouldn't begin with _
2004-07-22 20:14:26 +00:00
Glenn Maynard
4abc886117
simplify
2004-07-22 19:31:54 +00:00
Glenn Maynard
2c44a202c5
simplify, cleanup
...
"strlen" -> unescape()
2004-07-22 19:25:17 +00:00
Glenn Maynard
181b6b5bc8
cleanup while trying to make sense of this code; (char*) sizeof(long)? what?
2004-07-22 19:20:31 +00:00
Chris Danford
be87e21f9d
fix VC compile errors
2004-07-22 18:25:58 +00:00
Steve Checkoway
f85c5d7375
Fix memory leak. Now I'm down to 11 leaks for 384 total leaked bytes. It looks like some of those are coming from SDL. Still, I can live with 384 bytes.
2004-07-21 06:18:01 +00:00
Steve Checkoway
26d8a0b860
Fix memory leak.
...
Before:
51057 leaks for 850704 total leaked bytes.
After:
21258 leaks for 359284 total leaked bytes.
Both of these were taken right after the songs finish loading and the first screen is shown.
2004-07-21 06:13:57 +00:00
Chris Danford
1f7e24bcaa
accessor methods support DateTime
2004-07-18 21:55:49 +00:00
Chris Danford
a6b5da3207
move Style XML saving/loading into StyleID
2004-07-17 21:49:32 +00:00
Chris Danford
6edf35a784
add support for parsing meta tags
2004-07-11 04:06:59 +00:00
Chris Danford
c301e1eb83
remove Stats.html
...
add XML stylesheet for Stats.xml
2004-07-11 01:58:55 +00:00
Glenn Maynard
f2cf8660e0
cleanup
2004-06-19 23:07:07 +00:00
Glenn Maynard
d044b29ca4
error checking
2004-06-06 20:47:48 +00:00
Glenn Maynard
6c039f9a67
cleanup
2004-05-23 02:28:36 +00:00
Thad Ward
540c2fe79d
make XNode::GetXML() and XAttr::GetXML write out to a file directly, rather than concatinating on a std::ostringstream, which was taking a long time.
2004-05-21 22:57:54 +00:00
Chris Danford
83fb83d1b4
store hash value in Steps for finding equivalent edits
2004-04-23 00:53:29 +00:00
Chris Danford
0a40998859
replace C-style typedefs with C++ structs for easier forward declarations of XNode
2004-04-18 10:41:54 +00:00
Glenn Maynard
8d89956f8e
output on failure
2004-04-02 05:06:32 +00:00
Glenn Maynard
2c56af5715
fix XmlFile.h conflicts with windows.h
2004-02-25 01:09:17 +00:00
Chris Danford
06c9073fcf
better calories tracking
2004-02-22 23:29:13 +00:00
Glenn Maynard
0188f51f4e
add better accessors for attributes
2004-02-22 05:12:23 +00:00
Chris Danford
c2c0970a40
combine all profile score data to one file
...
move user-editable data to a separate, unsigned file
2004-02-19 03:19:41 +00:00
Chris Danford
4f439be739
split HighScore to separate file
...
move score data from ProfileManager to Profile
store score data in XML for easier forward/backward compatibility
2004-02-10 09:42:01 +00:00
Glenn Maynard
4e8d535eb3
fix linux compile
2004-02-09 20:28:05 +00:00
Glenn Maynard
445c953785
fix warnings
...
unwrap some ifs
2004-02-09 19:33:56 +00:00
Chris Danford
f1c2476a32
add XmlFile
...
working on moving high scores to XML
2004-02-09 08:10:01 +00:00