ObjFW  All files named "src/OFXMLFactory.m"

History for src/OFXMLFactory.m

2009-06-18
19:08
Deleted: Get rid of OFXMLFactory.

There are two reasons for this:

1.) This was one of the oldest classes. Back then when it was written,
a lot was missing in the framework, so it had to be implemented by
the class itself. This means there was code duplication, but fixing
that wouldn't make sense due to the second reason.
2.) There is OFXMLElement now, which is much more flexible, much more
fun to use and can do everything that OFXMLFactory could. check-in: [612bc150e5] user: js, branch: trunk, size: 0

2009-05-29
19:21
A few renames.

OFExceptions:
* OFNoMemException to OFOutOfMemoryException.
* OFMemNotPartOfObjException to OFMemoryNotPartOfObjectException.

OFObject:
* -[addItemToMemoryPool:] to -[addMemoryToPool:].
* -[allocWithSize:] to -[allocMemoryWithSize:].
* -[allocNItems:withSize] to -[allocMemoryForNItems:withSize:].
* -[resizeMem:toSize] to -[resizeMemory:toSize:].
* -[resizeMem:toNItems:withSize:] to
-[resizeMemoryToNItems:withSize:].
* -[freeMem] to -[freeMemory:].

OFString:
* -[urlencode] to -[urlEncodedString].
* -[urldecode] to -[urlDecodedString]. file: [2d5c8a5504] check-in: [033054ad75] user: js, branch: trunk, size: 5323 [annotate] [blame] [check-ins using] [diff]

2009-05-24
18:04
Always use #include "config.h" instead of #import "config.h". file: [17553b85c5] check-in: [94ea6848a8] user: js, branch: trunk, size: 5303 [annotate] [blame] [check-ins using] [diff]
2009-04-25
13:09
A few convenience methods for OFXMLFactory. file: [47b9222801] check-in: [7fc221e592] user: js, branch: trunk, size: 5302 [annotate] [blame] [check-ins using] [diff]
12:52
Better exception handling in OFXMLFactory. file: [49b07c4eb9] check-in: [e2a94b8f9d] user: js, branch: trunk, size: 4659 [annotate] [blame] [check-ins using] [diff]
2009-04-20
01:04
Some optimizations and a few renames of internal vars in OFXMLFactory. file: [b53cd466b1] check-in: [571eb6c222] user: js, branch: trunk, size: 4486 [annotate] [blame] [check-ins using] [diff]
2009-02-14
17:26
Always use #include for libc headers due to glibc being broken.
Do the same for win32 headers, just in case. They should work with
#import, but you never know ;).
file: [88fdb05c43] check-in: [029511474c] user: js, branch: trunk, size: 4610 [annotate] [blame] [check-ins using] [diff]
2009-01-07
17:10
Also release the pools when we release the pool list.
We need to do that manually as we disabled retain / release for the
list.
file: [3b5278a052] check-in: [03618ea87b] user: js, branch: trunk, size: 4605 [annotate] [blame] [check-ins using] [diff]
2009-01-05
02:18
Fix three stupid warnings. file: [482f651e16] check-in: [41095bf7a1] user: js, branch: trunk, size: 4613 [annotate] [blame] [check-ins using] [diff]
00:59
Update copyright. file: [9148296a75] check-in: [f1b749d113] user: js, branch: trunk, size: 4606 [annotate] [blame] [check-ins using] [diff]
2009-01-04
02:46
Work around a bug in gcc 4.0.1 (or is it Apple gcc only?). file: [84c8f6247c] check-in: [95992fdc0e] user: js, branch: trunk, size: 4599 [annotate] [blame] [check-ins using] [diff]
01:40
Clean up exceptions. file: [0c4e28e6ff] check-in: [bb1fe89478] user: js, branch: trunk, size: 4395 [annotate] [blame] [check-ins using] [diff]
2008-12-23
03:59
Remove spaces and tabs at end of line. file: [95cdbcf61d] check-in: [7d7b89d775] user: js, branch: trunk, size: 5412 [annotate] [blame] [check-ins using] [diff]
01:57
Check for SIZE_T, fallback to SIZE_T_MAX or define as (size_t)-1. file: [c933d562df] check-in: [c180b76560] user: js, branch: trunk, size: 5413 [annotate] [blame] [check-ins using] [diff]
2008-12-20
14:19
Remove wchar_t stuff, as that's not portable anyway. file: [6c7f478ccb] check-in: [4360177618] user: js, branch: trunk, size: 5394 [annotate] [blame] [check-ins using] [diff]
2008-12-09
17:36
Don't use - raise anymore, but @throw.
- raise was only because at first, exceptions were self-raising, but
this was later changed so they had to be risen manually. - rise was
introduced for that, but it would've been better to use @throw
directly. Thus, this change now.
file: [cb13f5e9ce] check-in: [d88aec8e95] user: js, branch: trunk, size: 10933 [annotate] [blame] [check-ins using] [diff]
2008-12-07
12:41
OFXMLFactory: Fix FIXMEs, TODOs and possible off-by-one. file: [b1d2c0931c] check-in: [4073a31454] user: js, branch: trunk, size: 11136 [annotate] [blame] [check-ins using] [diff]
2008-11-30
15:17
Clean up imports. file: [d880516120] check-in: [4b8666fe15] user: js, branch: trunk, size: 10324 [annotate] [blame] [check-ins using] [diff]
2008-11-29
11:59
Optimize branch prediction for ifs inside loops. file: [117b639361] check-in: [92c12b1d4f] user: js, branch: trunk, size: 10305 [annotate] [blame] [check-ins using] [diff]
2008-11-26
14:40
Support for wide C strings for OFXMLFactory. file: [5ac96ead53] check-in: [cd99b982ac] user: js, branch: trunk, size: 10020 [annotate] [blame] [check-ins using] [diff]
2008-11-01
22:20
Some exception stuff & withSize -> ofSize for OFObject. file: [fb863141bc] check-in: [9944a6f8a4] user: js, branch: trunk, size: 5011 [annotate] [blame] [check-ins using] [diff]
18:10
Rename CData -> Data in createStanza:withCloseTag:andData:,...
Actually, it can be any data, not only cdata.
file: [331396bf91] check-in: [344f03e297] user: js, branch: trunk, size: 5271 [annotate] [blame] [check-ins using] [diff]
17:56
Make some things static so they don't get exported. file: [4580b46438] check-in: [bb17c57aa1] user: js, branch: trunk, size: 5294 [annotate] [blame] [check-ins using] [diff]
2008-10-25
23:41
Added: Add OFXMLFactory. file: [e4ef2335c1] check-in: [8e7f91646d] user: js, branch: trunk, size: 5280 [annotate] [blame] [check-ins using]