ObjFW  History of src/OFXMLElement.m of d9f6da2eab8b0306

History of the file that is called src/OFXMLElement.m at check-in d9f6da2eab8b0306

2024-04-03
02:16
[f201f9c925] part of check-in [7413a728a7] Change license to LGPLv3 only (check-in: [7413a728a7] user: js, branch: trunk, size: 20916) [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
[a352f57a0b] part of check-in [26ddd2e4e4] Update copyright (check-in: [26ddd2e4e4] user: js, branch: trunk, size: 20708) [annotate] [blame] [check-ins using] [diff]
2023-04-10
19:22
[b73068b828] part of check-in [6ce0093f8d] Remove OFSerialization

While the idea sounds nice that the tag name is the class, this means the
serialization includes whether something is mutable or immutable. This means
doing as much as making something immutable changes the serialization, which
can then cause issues after being deserialized. (check-in: [6ce0093f8d] user: js, branch: trunk, size: 20708) [annotate] [blame] [check-ins using] [diff]

2023-01-06
09:04
[c4955d77b3] part of check-in [8939cbdb52] Update copyright (check-in: [8939cbdb52] user: js, branch: trunk, size: 25412) [annotate] [blame] [check-ins using] [diff]
2022-11-16
01:27
[f2bc65b077] part of check-in [c86b8f10f0] Add OFAssert()

This uses the same format as OFEnsure(). (check-in: [c86b8f10f0] user: js, branch: trunk, size: 25412) [annotate] [blame] [check-ins using] [diff]

2022-09-04
13:17
[ada192cadd] part of check-in [eed200181b] OFXMLElement: Remove defaultNamespace property (check-in: [eed200181b] user: js, branch: trunk, size: 25431) [annotate] [blame] [check-ins using] [diff]
2022-08-29
21:27
[19e272e9d6] part of check-in [d127feb58b] OFXMLElement: Add designated initializer (check-in: [d127feb58b] user: js, branch: trunk, size: 26639) [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
[5df92b5be9] part of check-in [1a86b8175b] Update copyright (check-in: [1a86b8175b] user: js, branch: trunk, size: 25658) [annotate] [blame] [check-ins using] [diff]
2021-04-19
21:54
[7a0a61d375] part of check-in [458420998c] Rename a few more constants (check-in: [458420998c] user: js, branch: new-naming-convention, size: 25658) [annotate] [blame] [check-ins using] [diff]
2021-04-18
15:55
[75b5d65456] part of check-in [7392685ffc] Rename all functions in macros.h (check-in: [7392685ffc] user: js, branch: new-naming-convention, size: 25680) [annotate] [blame] [check-ins using] [diff]
2021-04-17
22:45
[5a3f8e4ead] part of check-in [498074dab9] Rename of_(re)alloc and add OFFreeMemory (check-in: [498074dab9] user: js, branch: new-naming-convention, size: 25689) [annotate] [blame] [check-ins using] [diff]
2021-04-08
01:56
[a994859558] part of check-in [a9711fd17a] Rename +[elementBuilder] -> +[builder] (check-in: [a9711fd17a] user: js, branch: trunk, size: 25656) [annotate] [blame] [check-ins using] [diff]
2021-03-07
20:25
[fe5473696c] part of check-in [1b82d3bf4f] *.m: Fold methods into one line where it fits (check-in: [1b82d3bf4f] user: js, branch: trunk, size: 25670) [annotate] [blame] [check-ins using] [diff]
02:36
[96ecc2faed] part of check-in [a0fd103a0b] Style change: Allow more than 1 argument per line

This is only migrating some places, others will be migrated as they are
touched. (check-in: [a0fd103a0b] user: js, branch: trunk, size: 25761) [annotate] [blame] [check-ins using] [diff]

2021-01-02
22:04
[c1c758c150] part of check-in [374e1a1bfa] Update copyright (check-in: [374e1a1bfa] user: js, branch: trunk, size: 25768) [annotate] [blame] [check-ins using] [diff]
2020-12-29
13:11
[47bfb07248] part of check-in [6b21acb1a9] Let OFXMLElement take a stream instead of a file (check-in: [6b21acb1a9] user: js, branch: trunk, size: 25857) [annotate] [blame] [check-ins using] [diff]
2020-11-14
12:23
[c47060e7f9] part of check-in [627511b032] Rename of_malloc and of_calloc

The new names should be more accurate. (check-in: [627511b032] user: js, branch: trunk, size: 25876) [annotate] [blame] [check-ins using] [diff]

2020-11-05
00:24
[d12879cd95] part of check-in [0ddaac3f5b] Avoid -[allocMemoryWithSize:] for temporary memory

-[allocMemoryWithSize:] has book keeping overhead that is unnecessary
for temporary memory. (check-in: [0ddaac3f5b] user: js, branch: trunk, size: 25877) [annotate] [blame] [check-ins using] [diff]

2020-10-10
14:27
[804319c0a1] part of check-in [aeb403a1ed] OFObject: Change type of -[hash] to unsigned long

The internal hash is still 32 bit in most places, but this way, it is at
least not baked into the API and ABI and can be upgraded later, should
that ever be necessary. (check-in: [aeb403a1ed] user: js, branch: trunk, size: 26446) [annotate] [blame] [check-ins using] [diff]

2020-06-28
15:03
[a8d9602939] part of check-in [b6cb3addd0] Use OF_DIRECT(_MEMBERS) where appropriate (check-in: [b6cb3addd0] user: js, branch: trunk, size: 26441) [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
[5b4791734b] part of check-in [c7f0229795] Update copyright (check-in: [c7f0229795] user: js, branch: trunk, size: 26431) [annotate] [blame] [check-ins using] [diff]
2019-06-17
02:33
[fc62d55fa3] part of check-in [17d57e01ff] Remove underscores from class names (check-in: [17d57e01ff] user: js, branch: trunk, size: 26428) [annotate] [blame] [check-ins using] [diff]
2019-03-09
10:48
[cbd628ecff] part of check-in [c1e949a8c6] Several minor fixes (check-in: [c1e949a8c6] user: js, branch: trunk, size: 26464) [annotate] [blame] [check-ins using] [diff]
2019-03-08
00:35
[5fc577399d] part of check-in [bceb7ed4c9] Use dot syntax (check-in: [bceb7ed4c9] user: js, branch: trunk, size: 26470) [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
[7faef87abe] part of check-in [0509d7a844] Update copyright (check-in: [0509d7a844] user: js, branch: trunk, size: 26640) [annotate] [blame] [check-ins using] [diff]
2018-11-17
22:59
[cd5a521542] part of check-in [b090b5ce92] Various minor style improvements (check-in: [b090b5ce92] user: js, branch: trunk, size: 26634) [annotate] [blame] [check-ins using] [diff]
2018-06-16
14:36
[8558828739] part of check-in [0ec6f9c1d9] OFXML*: Remember delimiter of attributes

This means that if OFXMLParser parsed double-quoted attributes,
OFXMLElement will emit them with double-quotes again. (check-in: [0ec6f9c1d9] user: js, branch: trunk, size: 26596) [annotate] [blame] [check-ins using] [diff]

14:21
[0b50609229] part of check-in [3af65b5d98] OFXMLElement: Add a few extra type checks (check-in: [3af65b5d98] user: js, branch: trunk, size: 26472) [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
[6014d156f0] part of check-in [7e5c81e186] Update copyright notice (check-in: [7e5c81e186] user: js, branch: trunk, size: 26283) [annotate] [blame] [check-ins using] [diff]
2017-11-11
23:27
[6512447432] part of check-in [526feacebc] Small optimization for -[isEqual:] (check-in: [526feacebc] user: js, branch: trunk, size: 26260) [annotate] [blame] [check-ins using] [diff]
2017-11-04
20:57
[1630a09e19] part of check-in [810e9a1f43] -[OFXMLElement setChildren:]: Create mutable copy (check-in: [810e9a1f43] user: js, branch: 0.90, size: 26093) [annotate] [blame] [check-ins using] [diff]
2017-10-29
21:58
[fe80c58b63] part of check-in [f3ccf14461] Convert methods to properties where appropriate

This improves Swift compatibility. (check-in: [f3ccf14461] user: js, branch: trunk, size: 26223) [annotate] [blame] [check-ins using] [diff]

2017-10-22
15:05
[e09b35486d] part of check-in [a06354b42a] Make Apple GCC with -Wshadow happy (check-in: [a06354b42a] user: js, branch: trunk, size: 26216) [annotate] [blame] [check-ins using] [diff]
14:09
[ec0f980efe] part of check-in [31c0f5b89e] Make Apple GCC with -Wshadow happy (check-in: [31c0f5b89e] user: js, branch: 0.90, size: 26086) [annotate] [blame] [check-ins using] [diff]
2017-10-17
00:33
[ac132aa128] part of check-in [2f4e0df8be] Do not use implicit method return types

Instead, explicitly declare them, as OF_ASSUME_NONNULL_{BEGIN,END} does
not apply to implicit return types. This means that after this commit,
all init methods have a nonnull return type, as they should have. (check-in: [2f4e0df8be] user: js, branch: trunk, size: 26232) [annotate] [blame] [check-ins using] [diff]

2017-09-28
23:02
[8c36bd33b3] part of check-in [2de9660312] Enable -Wnullable-to-nonnull-conversion and adjust (check-in: [2de9660312] user: js, branch: trunk, size: 26222) [annotate] [blame] [check-ins using] [diff]
2017-07-22
20:50
[28440d417d] part of check-in [c8f7b90082] Split OFDataArray into OFData and OFMutableData (check-in: [c8f7b90082] user: js, branch: trunk, size: 26102) [annotate] [blame] [check-ins using] [diff]
2017-05-21
21:28
[5451d232fb] part of check-in [6b77a5dd8b] Prefix private methods with of_ instead of OF_

This matches Apple's style. (check-in: [6b77a5dd8b] user: js, branch: trunk, size: 26108) [annotate] [blame] [check-ins using] [diff]

2017-05-13
22:38
[d59ef84b41] part of check-in [504e13cf00] Reduce retain + autorelease (check-in: [504e13cf00] user: js, branch: trunk, size: 26108) [annotate] [blame] [check-ins using] [diff]
2017-05-07
23:14
[54f5f7c2a3] part of check-in [16c05e87e1] Add OF_UNAVAILABLE (check-in: [16c05e87e1] user: js, branch: trunk, size: 26154) [annotate] [blame] [check-ins using] [diff]
20:10
[919c1667cd] part of check-in [4af49a13c3] Small code style change

Casts are now written like types in variable declarations. (check-in: [4af49a13c3] user: js, branch: trunk, size: 26115) [annotate] [blame] [check-ins using] [diff]

2017-02-04
17:45
[1e9e755319] part of check-in [5a31a537a1] Fix typos in comments and strings found by aspell (check-in: [5a31a537a1] user: js, branch: trunk, size: 26022) [annotate] [blame] [check-ins using] [diff]
2017-01-09
17:36
[42aaf93ae7] part of check-in [44f45c2e35] Update copyright

Forgot to add 2017, even though I already did quite some changes in
2017. (check-in: [44f45c2e35] user: js, branch: trunk, size: 26021) [annotate] [blame] [check-ins using] [diff]

2016-05-28
11:37
[60f205f64c] part of check-in [e53a4fd61c] Add a reference to OFStdIOStream_Win32Console

This is required for static linking, as otherwise
+[OFStdIOStream_Win32Console load] will not be called. (check-in: [e53a4fd61c] user: js, branch: trunk, size: 26015) [annotate] [blame] [check-ins using] [diff]

2016-05-08
21:08
[0f84ad0d19] part of check-in [a7c6add997] OFXMLElement: Use more fast enumeration (check-in: [a7c6add997] user: js, branch: trunk, size: 26015) [annotate] [blame] [check-ins using] [diff]
2016-02-21
15:37
[09fc7f39d0] part of check-in [e0b9167693] Make use of C99-style for loops (check-in: [e0b9167693] user: js, branch: trunk, size: 26393) [annotate] [blame] [check-ins using] [diff]
2016-01-03
01:14
[1b3b42ec8f] part of check-in [cb0fd980f9] Make more use of fast enumeration (check-in: [cb0fd980f9] user: js, branch: trunk, size: 26367) [annotate] [blame] [check-ins using] [diff]
00:43
[f4c37497cb] part of check-in [cec0f072f8] Update copyright

While at it, also update the mail address. (check-in: [cec0f072f8] user: js, branch: 0.8, size: 27665) [annotate] [blame] [check-ins using] [diff]

00:41
[2b05f04b14] part of check-in [2a27cf3000] Update copyright

While at it, also update the mail address. (check-in: [2a27cf3000] user: js, branch: trunk, size: 27011) [annotate] [blame] [check-ins using] [diff]

2015-11-29
14:20
[0e6e8212ad] part of check-in [ba62f00fac] Clean up optional protocols

Now that we can require GCC >= 4.6, we no longer need to have a category
on OFObject that adds the optional protocol to it. (check-in: [ba62f00fac] user: js, branch: trunk, size: 27007) [annotate] [blame] [check-ins using] [diff]

14:02
[767015e338] part of check-in [6b13727ce0] Make use of fast enumeration

Now that we require GCC >= 4.6 anyway, there's no more reason to not use
it anymore. (check-in: [6b13727ce0] user: js, branch: trunk, size: 26973) [annotate] [blame] [check-ins using] [diff]

11:43
[1f70933951] part of check-in [48980f2297] Make properties a requirement and clean up code

This increases the required GCC version from 4.0 to 4.6 (exception:
Apple GCC, which already supports this with >= 4.0 starting with OS X
10.5). Since even GCC 4.6 is really old by now, there is no point in
still supporting something even older and making the code ugly because
of that. While some hardware and OS support was dropped from GCC 4.6
compared to GCC 4.0, there is nothing in there that would be an
interesting target with the exception of BeOS maybe - but a port to BeOS
can also be achieved using the Haiku support. The other dropped OSes are
mostly old versions of OSes while newer ones are still being supported
(and those newer versions of those OSes still support the same
hardware). (check-in: [48980f2297] user: js, branch: trunk, size: 27300) [annotate] [blame] [check-ins using] [diff]

2015-06-12
23:59
[b449554094] part of check-in [5329fe7c1a] Add support for and use the new ObjC generics (check-in: [5329fe7c1a] user: js, branch: trunk, size: 27661) [annotate] [blame] [check-ins using] [diff]
2015-01-03
20:57
[122abe4075] part of check-in [cfd374b906] Update copyright (check-in: [cfd374b906] user: js, branch: trunk, size: 27371) [annotate] [blame] [check-ins using] [diff]
2014-06-21
21:43
[580c49cc96] part of check-in [13ee56edf3] Move all macros from OFObject.h to macros.h

This means that OFObject.h imports macros.h now, making it unnecessary
to manually import macros.h in almost every file. And while at it, also
import autorelease.h in OFObject.h, so that this doesn't need to be
manually imported in almost every file as well. (check-in: [13ee56edf3] user: js, branch: trunk, size: 27365) [annotate] [blame] [check-ins using] [diff]

2014-06-16
15:06
[9625f21669] part of check-in [68d32a92c1] Make return type of -[OFArray objects] const

After all, this might (and does for OFArray_adjacent!) return an
internal representation that must not be changed, so changes should be
prevented at compile-time. (check-in: [68d32a92c1] user: js, branch: trunk, size: 27409) [annotate] [blame] [check-ins using] [diff]

2014-05-15
04:07
[e9f05c1971] part of check-in [3c7bf2e50c] Don't return void expressions (check-in: [3c7bf2e50c] user: js, branch: trunk, size: 27343) [annotate] [blame] [check-ins using] [diff]
2014-01-09
00:01
[424885b85a] part of check-in [f89edd8ed9] Add --disable-files configure flag. (check-in: [f89edd8ed9] user: js, branch: trunk, size: 27335) [annotate] [blame] [check-ins using] [diff]
2014-01-04
00:24
[4ce9442a10] part of check-in [3b97fc3cd9] Update copyright. (check-in: [3b97fc3cd9] user: js, branch: trunk, size: 27279) [annotate] [blame] [check-ins using] [diff]
2013-11-23
01:12
[053784140f] part of check-in [35dafd5c57] Add OF_INVALID_INIT_METHOD. (check-in: [35dafd5c57] user: js, branch: trunk, size: 27273) [annotate] [blame] [check-ins using] [diff]
2013-06-23
21:52
[48732d84ce] part of check-in [6192726d32] Add a few casts to make GCC happy.

Also adds a few imports and removes unused code. (check-in: [6192726d32] user: js, branch: trunk, size: 27361) [annotate] [blame] [check-ins using] [diff]

2013-06-22
12:12
[29fe39b5ac] part of check-in [3d16a30f41] Rework exceptions.

This mostly removes the argument for the class in which the exception
occurred. As backtraces were recently added for all platforms, the
passed class does not give any extra information on where the exception
occurred anymore.

This also removes a few other arguments which were not too helpful. In
the past, the idea was to pass as many arguments as possible so that it
is easier to find the origin of the exception. However, as backtraces
are a much better way to find the origin, those are not useful anymore
and just make the exception more cumbersome to use. The rule is now to
only pass arguments that might help in recovering from the exception or
provide information that is otherwise not easily accessible. (check-in: [3d16a30f41] user: js, branch: trunk, size: 27419) [annotate] [blame] [check-ins using] [diff]

2013-06-16
20:03
[5660c1a7c6] part of check-in [457e0e82af] Split OFUnboundNamespaceException.

OFUnboundNamespaceException is now only used when the namespace is not
bound. If the prefix is not bound, OFUnboundPrefixException is used now. (check-in: [457e0e82af] user: js, branch: trunk, size: 28405) [annotate] [blame] [check-ins using] [diff]

2013-03-04
17:20
[a91eb986c2] part of check-in [c5ef582958] Replace BOOL with bool.

The only places where BOOL is left are those where they are required by
the ABI. (check-in: [c5ef582958] user: js, branch: trunk, size: 28380) [annotate] [blame] [check-ins using] [diff]

2013-02-12
18:22
[177671f0ee] part of check-in [e40729d406] Prefix all ivars with an underscore. (check-in: [e40729d406] user: js, branch: trunk, size: 28342) [annotate] [blame] [check-ins using] [diff]
18:14
[5e664c8a15] part of check-in [40f7e8bd2e] OFXMLElement: Retain + autorelease attributes.

-[attributeForName:(namespace:)] now returns the attribute retained and
autoreleased instead of returning an inner pointer. (check-in: [40f7e8bd2e] user: js, branch: trunk, size: 27867) [annotate] [blame] [check-ins using] [diff]

2013-02-05
22:24
[f052993408] part of check-in [737a82e1a4] Move abort() to make old GCCs happy. (check-in: [737a82e1a4] user: js, branch: trunk, size: 27821) [annotate] [blame] [check-ins using] [diff]
2013-01-23
21:52
[da574fc59a] part of check-in [ea4a43461c] Never compare to @"", use length instead. (check-in: [ea4a43461c] user: js, branch: trunk, size: 27821) [annotate] [blame] [check-ins using] [diff]
2013-01-09
22:24
[e07bcbe98a] part of check-in [813c00ccf0] Update copyright. (check-in: [813c00ccf0] user: js, branch: trunk, size: 27839) [annotate] [blame] [check-ins using] [diff]
2012-12-22
15:37
[5487d3f056] part of check-in [917ce5754c] Add -[doesNotRecognizeSelector:]. (check-in: [917ce5754c] user: js, branch: trunk, size: 27833) [annotate] [blame] [check-ins using] [diff]
2012-12-15
17:52
[16ca049b3f] part of check-in [c85ff8d35a] OFDataArray: Improve API. (check-in: [c85ff8d35a] user: js, branch: trunk, size: 27864) [annotate] [blame] [check-ins using] [diff]
2012-12-06
16:38
[177c46b1d0] part of check-in [961f0da8a1] OFXMLElement: Add a few new methods. (check-in: [961f0da8a1] user: js, branch: trunk, size: 27878) [annotate] [blame] [check-ins using] [diff]
2012-10-09
15:07
[b32bd298a6] part of check-in [fb515e8e24] Make use of instancetype. (check-in: [fb515e8e24] user: js, branch: trunk, size: 26292) [annotate] [blame] [check-ins using] [diff]
2012-09-16
15:27
[914801392e] part of check-in [c137da5e5b] Prefix all private methods with OF_. (check-in: [c137da5e5b] user: js, branch: trunk, size: 26180) [annotate] [blame] [check-ins using] [diff]
2012-08-10
20:08
[01c2a13f7b] part of check-in [1255f3a11a] Directly use the runtime's autorelease pools.

This greatly improves performance, as it gets rid of the overhead of
OFAutoreleasePool. (check-in: [1255f3a11a] user: js, branch: trunk, size: 26203) [annotate] [blame] [check-ins using] [diff]

2012-07-12
01:28
[103672a799] part of check-in [8892ae9fcc] Don't access isa directly. (check-in: [8892ae9fcc] user: js, branch: trunk, size: 26278) [annotate] [blame] [check-ins using] [diff]
2012-06-10
13:28
[dff10de86f] part of check-in [11d3d69a22] More API improvements. (check-in: [11d3d69a22] user: js, branch: trunk, size: 26115) [annotate] [blame] [check-ins using] [diff]
2012-06-06
13:09
[23e15b2038] part of check-in [d5ddb2cb48] Rework OFDataArray API.

Also adds more checks. (check-in: [d5ddb2cb48] user: js, branch: trunk, size: 26150) [annotate] [blame] [check-ins using] [diff]

2012-03-21
17:51
[05fab1ecc3] part of check-in [3a983475bc] Always pass a char for copy to objc_setProperty(). (check-in: [3a983475bc] user: js, branch: trunk, size: 26146) [annotate] [blame] [check-ins using] [diff]
2012-03-12
11:54
[5e22d1f74a] part of check-in [008be86a16] OFArray: +[arrayWithCArray:length:] -> +[arrayWithObjects:count:].

This is required for the new array literals. (check-in: [008be86a16] user: js, branch: trunk, size: 26175) [annotate] [blame] [check-ins using] [diff]

2012-02-01
13:42
[2c9333bc62] part of check-in [c1b35e1495] Clean up the properties mess. (check-in: [c1b35e1495] user: js, branch: trunk, size: 26087) [annotate] [blame] [check-ins using] [diff]
2012-01-05
00:56
[b538f7a7d9] part of check-in [ce70e17b38] Update copyright. (check-in: [ce70e17b38] user: js, branch: trunk, size: 26162) [annotate] [blame] [check-ins using] [diff]
2011-12-13
14:54
[adc9e6f9aa] part of check-in [9b5a35bd98] Add some sanity checks to -[OFXMLElement initWithSerialization:]. (check-in: [9b5a35bd98] user: js, branch: trunk, size: 26156) [annotate] [blame] [check-ins using] [diff]
2011-12-12
13:32
[7304a0b96d] part of check-in [0a083111c7] Improve serialization of OFXMLElement.

It does not store the namespaces for the prefixes "xml" and "xmlns"
anymore. (check-in: [0a083111c7] user: js, branch: trunk, size: 24730) [annotate] [blame] [check-ins using] [diff]

2011-10-04
13:14
[d295443a31] part of check-in [03f14bf019] Split OFXMLElement into OFXML{Element,Characters,CDATA,Comment}. (check-in: [03f14bf019] user: js, branch: trunk, size: 24170) [annotate] [blame] [check-ins using] [diff]
2011-09-28
00:05
[1474c4b15e] part of check-in [96c3df8f67] Add OFXMLNode as a common base class for OFXMLElement & OFXMLAttribute. (check-in: [96c3df8f67] user: js, branch: trunk, size: 27739) [annotate] [blame] [check-ins using] [diff]
2011-09-22
23:25
[9e3650faaf] part of check-in [e1e7ffa903] Exceptions are now autoreleased.

This is safe as an "exception loop" can't happen, since if allocating
an exception fails, it throws an OFAllocFailedException which is
preallocated and can always be thrown.

So, the worst case would be that an autorelease of an exception fails,
triggering an OFOutOfMemoryException for which there is no memory,
resulting in an OFAllocFailedException to be thrown. (check-in: [e1e7ffa903] user: js, branch: trunk, size: 28103) [annotate] [blame] [check-ins using] [diff]

2011-09-18
20:52
[cc9da6f502] part of check-in [e5cfcebae5] Fix a typo. (check-in: [e5cfcebae5] user: js, branch: trunk, size: 27960) [annotate] [blame] [check-ins using] [diff]
18:55
[476144c78b] part of check-in [196699e35c] Check for nil arguments in -[OFXMLElement initWith*:]. (check-in: [196699e35c] user: js, branch: trunk, size: 27953) [annotate] [blame] [check-ins using] [diff]
2011-09-17
19:18
[8a9ce6afef] part of check-in [f3db074478] Make hashes independant of endianess in OF{Float,Double}{Vector,Matrix}.

Also removes unnecessary OF_HASH_ADD_INT* macros (except
OF_HASH_ADD_INT32 which was often used to hash hashes and is now called
OF_HASH_ADD_HASH). (check-in: [f3db074478] user: js, branch: trunk, size: 27302) [annotate] [blame] [check-ins using] [diff]

2011-09-12
19:57
[567535af96] part of check-in [e6fd39d11e] Rename -[cString] to -[UTF8String]. (check-in: [e6fd39d11e] user: js, branch: trunk, size: 27311) [annotate] [blame] [check-ins using] [diff]
2011-09-10
23:54
[67c5a15992] part of check-in [3687c35784] Make use of the fact that -[retain] and -[release] must not throw. (check-in: [3687c35784] user: js, branch: trunk, size: 27197) [annotate] [blame] [check-ins using] [diff]
22:27
[ddafe5133c] part of check-in [4369d4c8fb] Add -[removeChild:] to OFXMLElement. (check-in: [4369d4c8fb] user: js, branch: trunk, size: 27381) [annotate] [blame] [check-ins using] [diff]
22:17
[3000b0638d] part of check-in [2473176537] Add -[setName:] and -[setNamespace:] to OFXMLElement. (check-in: [2473176537] user: js, branch: trunk, size: 27197) [annotate] [blame] [check-ins using] [diff]
2011-09-09
13:35
[77eb90df4f] part of check-in [798d9e6320] [pool release] can never throw by convention now. (check-in: [798d9e6320] user: js, branch: trunk, size: 26844) [annotate] [blame] [check-ins using] [diff]
2011-09-06
11:42
[dc999e1b97] part of check-in [55599756ab] Fix handling of nested namespaces in OFXMLElement. (check-in: [55599756ab] user: js, branch: 0.5, size: 19763) [annotate] [blame] [check-ins using] [diff]
11:18
[213562d5f6] part of check-in [0082e20b04] Fix handling of nested namespaces in OFXMLElement. (check-in: [0082e20b04] user: js, branch: trunk, size: 26871) [annotate] [blame] [check-ins using] [diff]
2011-08-07
16:57
[99bfc17297] part of check-in [927dbf6e7d] Add -[makeImmutable] to all mutable classes and use it. (check-in: [927dbf6e7d] user: js, branch: trunk, size: 26718) [annotate] [blame] [check-ins using] [diff]
2011-08-03
00:30
[c5f82626bf] part of check-in [a855618045] Make OFArray an abstract class. (check-in: [a855618045] user: js, branch: trunk, size: 26912) [annotate] [blame] [check-ins using] [diff]
2011-07-28
21:31
[c0f22f99a1] part of check-in [7d5e2ebb80] Add +[elementWithFile:] to OFXMLElement. (check-in: [7d5e2ebb80] user: js, branch: trunk, size: 27816) [annotate] [blame] [check-ins using] [diff]
2011-07-09
13:15
[62ec69347f] part of check-in [a2c6391204] Use OFDataArray instead of OFMutableString in OFXMLElement. (check-in: [a2c6391204] user: js, branch: trunk, size: 26961) [annotate] [blame] [check-ins using] [diff]
2011-06-30
18:33
[648374ef15] part of check-in [0ae2dee38f] Add -[hash] to OFXMLElement and OFXMLAttribute. (check-in: [0ae2dee38f] user: js, branch: 0.5, size: 19664) [annotate] [blame] [check-ins using] [diff]
18:27
[b89fa67593] part of check-in [05c094a39f] Add -[isEqual:] to OFXMLElement and OFXMLAttribute. (check-in: [05c094a39f] user: js, branch: 0.5, size: 17945) [annotate] [blame] [check-ins using] [diff]
2011-06-28
22:21
[4fc586873f] part of check-in [33ac65f8f7] Add OFCopying to OFXMLElement. (check-in: [33ac65f8f7] user: js, branch: trunk, size: 27042) [annotate] [blame] [check-ins using] [diff]
01:51
[4687f4ccbd] part of check-in [756bb26c98] Change serialization format to be way more readable and shorter. (check-in: [756bb26c98] user: js, branch: trunk, size: 26985) [annotate] [blame] [check-ins using] [diff]
2011-06-27
23:44
[de3d68907d] part of check-in [9b1baaa39b] Add -[elements] and -[elementsForNamespace:] to OFXMLElement. (check-in: [9b1baaa39b] user: js, branch: trunk, size: 27295) [annotate] [blame] [check-ins using] [diff]
2011-06-06
16:28
[53deb299eb] part of check-in [af23d890f1] Use memset() for indentation in OFXMLElement. (check-in: [af23d890f1] user: js, branch: trunk, size: 25731) [annotate] [blame] [check-ins using] [diff]
00:46
[e91819cfc0] part of check-in [ddc9f8ac04] Don't let a comment prevent indentation and indent comments correctly. (check-in: [ddc9f8ac04] user: js, branch: trunk, size: 25705) [annotate] [blame] [check-ins using] [diff]
00:35
[f4ee2b186f] part of check-in [a36135d018] Don't add unwanted whitespaces to character data on indentation. (check-in: [a36135d018] user: js, branch: trunk, size: 25221) [annotate] [blame] [check-ins using] [diff]
00:22
[c82b6a1f56] part of check-in [2447ceff6e] Add -[{decimal,hexadecimal,float,double}Value] to OFXMLElement. (check-in: [2447ceff6e] user: js, branch: trunk, size: 25178) [annotate] [blame] [check-ins using] [diff]
2011-06-05
23:59
[c30a5b5e0c] part of check-in [14991e7035] Add -[XMLStringWithIndentation:] to OFXMLElement. (check-in: [14991e7035] user: js, branch: trunk, size: 24888) [annotate] [blame] [check-ins using] [diff]
22:26
[07cdc30ecf] part of check-in [29988c434b] Nicer API for serialization. (check-in: [29988c434b] user: js, branch: trunk, size: 24022) [annotate] [blame] [check-ins using] [diff]
19:27
[3bbec56037] part of check-in [183825f113] Add OFNull class. (check-in: [183825f113] user: js, branch: trunk, size: 23978) [annotate] [blame] [check-ins using] [diff]
2011-06-04
16:07
[803113958d] part of check-in [a698b98203] Add -[hash] to OFXMLElement and OFXMLAttribute. (check-in: [a698b98203] user: js, branch: trunk, size: 23977) [annotate] [blame] [check-ins using] [diff]
14:00
[df26740729] part of check-in [cee604408e] Add -[isEqual:] to OFXMLElement and OFXMLAttribute. (check-in: [cee604408e] user: js, branch: trunk, size: 23468) [annotate] [blame] [check-ins using] [diff]
2011-06-03
15:14
[fa5a63b34f] part of check-in [dca3061dfc] Add deserialization. (check-in: [dca3061dfc] user: js, branch: trunk, size: 22356) [annotate] [blame] [check-ins using] [diff]
2011-05-14
20:00
[2e27de79cd] part of check-in [21bd46e17a] Fix namespace handling in OFXMLElement.

Although it was originally decided not to backport this to 0.5, the
decision was changed due to the fact that the initial assumption that
it might break existing code is only partially true: It will only break
code that already was broken, but it will fix all other code. (check-in: [21bd46e17a] user: js, branch: 0.5, size: 16988) [annotate] [blame] [check-ins using] [diff]

19:50
[6fd40e1ec7] part of check-in [46056b5fa1] Ignore whitespaces around the root element in -[initWithXMLString]. (check-in: [46056b5fa1] user: js, branch: 0.5, size: 17072) [annotate] [blame] [check-ins using] [diff]
19:48
[476d990507] part of check-in [12a8ac4cb3] Ignore whitespaces around the root element in -[initWithXMLString]. (check-in: [12a8ac4cb3] user: js, branch: trunk, size: 20077) [annotate] [blame] [check-ins using] [diff]
12:26
[d290a6e873] part of check-in [494dca4ae4] Use XML for serialization.

This way, we don't need a new parser and don't use a new format. (check-in: [494dca4ae4] user: js, branch: trunk, size: 19916) [annotate] [blame] [check-ins using] [diff]

2011-05-12
18:27
[dfde4a28b8] part of check-in [ace6f683f7] Add version to serialization and add serialization to more classes. (check-in: [ace6f683f7] user: js, branch: trunk, size: 18958) [annotate] [blame] [check-ins using] [diff]
13:14
[3e52b82e87] part of check-in [3ab7ef17f6] Fix namespace handling in OFXMLElement.
Won't be backported to 0.5 as this might break stuff.
(check-in: [3ab7ef17f6] user: js, branch: trunk, size: 18036) [annotate] [blame] [check-ins using] [diff]
2011-05-08
22:42
[7b911a3167] part of check-in [cb3be92fe6] Add serialization for OFURL and OFXMLElement. (check-in: [cb3be92fe6] user: js, branch: trunk, size: 18113) [annotate] [blame] [check-ins using] [diff]
2011-04-25
22:48
[f7cabbca27] part of check-in [34788afdca] Add +[OFXMLElement elementWithElement:]. (check-in: [34788afdca] user: js, branch: trunk, size: 17802) [annotate] [blame] [check-ins using] [diff]
22:46
[7d828168bf] part of check-in [3e2b0e7eac] Cache the class for exeptions in -[OFXMLElement initWithXMLString:]. (check-in: [3e2b0e7eac] user: js, branch: 0.5, size: 16915) [annotate] [blame] [check-ins using] [diff]
22:46
[f692e4e696] part of check-in [2e95ed7d11] Cache the class for exeptions in -[OFXMLElement initWithXMLString:]. (check-in: [2e95ed7d11] user: js, branch: trunk, size: 17172) [annotate] [blame] [check-ins using] [diff]
22:39
[76eb4c0e35] part of check-in [d948114b2a] Fix missing release in OFXMLElement. (check-in: [d948114b2a] user: js, branch: 0.5, size: 16897) [annotate] [blame] [check-ins using] [diff]
22:39
[d730cca964] part of check-in [74d5765c1f] Fix missing release in OFXMLElement. (check-in: [74d5765c1f] user: js, branch: trunk, size: 17154) [annotate] [blame] [check-ins using] [diff]
2011-04-22
22:46
[bc99bd017c] part of check-in [c9c78d86d3] More style improvements. (check-in: [c9c78d86d3] user: js, branch: trunk, size: 17125) [annotate] [blame] [check-ins using] [diff]
2011-03-31
12:32
[1d2471d4ea] part of check-in [caef9fbb2e] Add -[setChildren:] and -[setStringValue:] to OFXMLElement. (check-in: [caef9fbb2e] user: js, branch: trunk, size: 16868) [annotate] [blame] [check-ins using] [diff]
12:14
[7f8c49938a] part of check-in [4e88d4192d] Add -[stringValue] to OFXMLElement. (check-in: [4e88d4192d] user: js, branch: trunk, size: 16450) [annotate] [blame] [check-ins using] [diff]
11:55
[d71bd6e00b] part of check-in [253fe5d154] Rename +[elementWithString:] to +[elementWithXMLString:] for clarity. (check-in: [253fe5d154] user: js, branch: trunk, size: 15552) [annotate] [blame] [check-ins using] [diff]
11:45
[412f8a284b] part of check-in [5c80b8838f] Rename -[stringValue] to -[XMLString] in OFXMLElement. (check-in: [5c80b8838f] user: js, branch: trunk, size: 15543) [annotate] [blame] [check-ins using] [diff]
11:44
[5f27189ab0] part of check-in [1824567235] Get rid of useless -[bindDefaultNamespace:] in OFXMLElement. (check-in: [1824567235] user: js, branch: trunk, size: 15557) [annotate] [blame] [check-ins using] [diff]
02:20
[5b1a6ebbe9] part of check-in [566996e9a6] Throw an exception if parsing did not finish in +[elementWithString:]. (check-in: [566996e9a6] user: js, branch: trunk, size: 15707) [annotate] [blame] [check-ins using] [diff]
00:51
[d25bc67d7d] part of check-in [00c9e85bdc] Add -[elementForName] to OFXMLElement. (check-in: [00c9e85bdc] user: js, branch: trunk, size: 15557) [annotate] [blame] [check-ins using] [diff]
00:34
[bc5b58bfe1] part of check-in [415449f99b] Add +[elementWithString:] to OFXMLElement. (check-in: [415449f99b] user: js, branch: trunk, size: 15262) [annotate] [blame] [check-ins using] [diff]
2011-03-24
19:42
[dc29860ae0] part of check-in [cda44767f4] Get rid of OFExceptions.h. (check-in: [cda44767f4] user: js, branch: trunk, size: 14124) [annotate] [blame] [check-ins using] [diff]
2011-03-23
01:14
[ef950b210d] part of check-in [4444a8c246] Work around GCC bugs. (check-in: [4444a8c246] user: js, branch: trunk, size: 14031) [annotate] [blame] [check-ins using] [diff]
2011-03-21
19:41
[14f63e2483] part of check-in [5849b5aac8] Improve namespace handling. (check-in: [5849b5aac8] user: js, branch: trunk, size: 13968) [annotate] [blame] [check-ins using] [diff]
2011-02-26
19:40
[1c6e965299] part of check-in [06f539766f] Use class swizzling as an optimization. (check-in: [06f539766f] user: js, branch: trunk, size: 13817) [annotate] [blame] [check-ins using] [diff]
2011-02-19
16:08
[ebee134ccb] part of check-in [8732769f4c] Add -[elementsForName:namespace:] to OFXMLElement. (check-in: [8732769f4c] user: js, branch: trunk, size: 13561) [annotate] [blame] [check-ins using] [diff]
15:06
[4c4b122bc4] part of check-in [2086095795] OFXMLElement improvements. (check-in: [2086095795] user: js, branch: trunk, size: 12839) [annotate] [blame] [check-ins using] [diff]
2011-02-09
18:23
[ae14e81241] part of check-in [66fbb69b36] Add a cast so that some old compilers don't complain. (check-in: [66fbb69b36] user: js, branch: trunk, size: 11724) [annotate] [blame] [check-ins using] [diff]
2011-02-08
12:11
[6f7988f149] part of check-in [783ccbbad8] Use xmlns if there is no prefix for the namespace. (check-in: [783ccbbad8] user: js, branch: trunk, size: 11708) [annotate] [blame] [check-ins using] [diff]
2011-01-29
19:16
[d813f718a7] part of check-in [d0eace5cd1] Use %@ where it is useful. (check-in: [d0eace5cd1] user: js, branch: trunk, size: 11477) [annotate] [blame] [check-ins using] [diff]
19:01
[866cd32b8c] part of check-in [4c4608fbba] Add of_asprintf and allow %@ in format strings. (check-in: [4c4608fbba] user: js, branch: trunk, size: 11496) [annotate] [blame] [check-ins using] [diff]
2011-01-01
20:19
[5cd0b460a8] part of check-in [da6b3d26cb] Change license. (check-in: [da6b3d26cb] user: js, branch: trunk, size: 11497) [annotate] [blame] [check-ins using] [diff]
2010-12-11
20:13
[6d5c2fce48] part of check-in [4a8fcc8716] Add -[description] to OFXMLElement. (check-in: [4a8fcc8716] user: js, branch: trunk, size: 11241) [annotate] [blame] [check-ins using] [diff]
2010-10-25
23:03
[4e57f733e3] part of check-in [8a7ca573c4] Clean up a lot of code (mostly init methods) and fix a missing rethrow. (check-in: [8a7ca573c4] user: js, branch: trunk, size: 11153) [annotate] [blame] [check-ins using] [diff]
2010-09-08
21:17
[e59c8082fb] part of check-in [9d6716470e] Fix Objective C++ compatibility. (check-in: [9d6716470e] user: js, branch: trunk, size: 10892) [annotate] [blame] [check-ins using] [diff]
2010-07-29
19:32
[bd82ff1d44] part of check-in [ed63c0fdc1] Comply with section 6.2 of XML namespaces.

More specifically to this:
"The namespace name for an unprefixed attribute name always has no
value." (check-in: [ed63c0fdc1] user: js, branch: trunk, size: 10953) [annotate] [blame] [check-ins using] [diff]

2010-07-09
20:45
[9558fd2c7e] part of check-in [714aad6fba] Add more accessors to OFXMLElement. (check-in: [714aad6fba] user: js, branch: trunk, size: 11202) [annotate] [blame] [check-ins using] [diff]
2010-07-08
23:39
[a95f7f973f] part of check-in [62d6cdadb6] Add -[bindPrefix:forNamespace] and -[bindDefaultNamespace:]. (check-in: [62d6cdadb6] user: js, branch: trunk, size: 10942) [annotate] [blame] [check-ins using] [diff]
19:28
[d9b9a2bb4c] part of check-in [8a71128e91] Add special handling for xmlns in OFXMLElement. (check-in: [8a71128e91] user: js, branch: trunk, size: 10559) [annotate] [blame] [check-ins using] [diff]
2010-07-02
20:56
[917291b8e9] part of check-in [e2499be5c1] Add support for CDATA to OFXMLElement. (check-in: [e2499be5c1] user: js, branch: trunk, size: 10506) [annotate] [blame] [check-ins using] [diff]
20:45
[05eb8e5213] part of check-in [4ea5f3f7fd] Rename +[elementWithText:] to +[elementWithCharacters:]. (check-in: [4ea5f3f7fd] user: js, branch: trunk, size: 10182) [annotate] [blame] [check-ins using] [diff]
2010-06-13
21:34
[9fef639632] part of check-in [000706786e] Better handling of text and comments in OFXMLElements. (check-in: [000706786e] user: js, branch: trunk, size: 10126) [annotate] [blame] [check-ins using] [diff]
16:50
[1d13a2237c] part of check-in [8c23ddc0a0] Work around a stupid gcc bug. (check-in: [8c23ddc0a0] user: js, branch: trunk, size: 10359) [annotate] [blame] [check-ins using] [diff]
15:40
[33f24ec239] part of check-in [29384131f7] Add +[elementWithText:] and +[elementWithComment:] to OFXMLElement. (check-in: [29384131f7] user: js, branch: trunk, size: 10348) [annotate] [blame] [check-ins using] [diff]
2010-06-12
20:47
[2e589492fa] part of check-in [67917b918a] Move a few classes and categories so they have their own files. (check-in: [67917b918a] user: js, branch: trunk, size: 8915) [annotate] [blame] [check-ins using] [diff]
2010-06-06
20:04
[62e141f922] part of check-in [e8c8d5a894] Support for namespaces in OFXMLElement and OFXMLParser. HUGE diff! (check-in: [e8c8d5a894] user: js, branch: trunk, size: 11007) [annotate] [blame] [check-ins using] [diff]
2010-04-30
14:16
[8ef4f9d493] part of check-in [7c4399b41c] Branch for 0.3. (check-in: [7c4399b41c] user: js, branch: 0.3, size: 1786) [annotate] [blame] [check-ins using] [diff]
2010-04-17
22:27
[d6b729bcd1] part of check-in [37db8f0fb3] New ivar naming convention.

ivars are now named like this: thisIsAnIVar. If an accessor exists for
the ivar, the ivar is named like the accessor. This is required for
@property to work. (check-in: [37db8f0fb3] user: js, branch: trunk, size: 6773) [annotate] [blame] [check-ins using] [diff]

15:46
[748986426d] part of check-in [062a052b50] Don't return self where not necessary, return void or something useful. (check-in: [062a052b50] user: js, branch: trunk, size: 6710) [annotate] [blame] [check-ins using] [diff]
2010-03-05
11:52
[e6ae9a57dd] part of check-in [b91a8283fe] Merge a few changesets from the default branch into the 0.2 branch.

Changesets:
* b95fcaa6d694
* 804c68d222b4
* da8cd738da3d
* 1109d5ce3419
* d03f5c1ca95d
* 2a7017722165
* 4fccdc79eeb7
* d228149fbc04
* 8782d412a4a6 (check-in: [b91a8283fe] user: js, branch: 0.2, size: 1775) [annotate] [blame] [check-ins using] [diff]

2010-02-19
16:36
[a65668b812] part of check-in [42886185fd] Update copyright. (check-in: [42886185fd] user: js, branch: trunk, size: 6727) [annotate] [blame] [check-ins using] [diff]
2010-01-30
21:07
[8ba8e77a76] part of check-in [9a9211e963] Create 0.2 branch and remove unfinished XML stuff from it. (check-in: [9a9211e963] user: js, branch: 0.2, size: 1775) [annotate] [blame] [check-ins using] [diff]
2010-01-16
15:05
[d1cba33f72] part of check-in [1433aef0d0] Reduce dependencies between headers. (check-in: [1433aef0d0] user: js, branch: trunk, size: 6727) [annotate] [blame] [check-ins using] [diff]
2009-12-21
17:02
[e26868cc31] part of check-in [b3c14e1dfa] Create 0.1 branch and remove unfinished XML stuff from it. (check-in: [b3c14e1dfa] user: js, branch: 0.1, size: 1754) [annotate] [blame] [check-ins using] [diff]
2009-11-09
22:45
[a7741937ca] part of check-in [a3cc34b139] Rename libobjfw to ObjFW. (check-in: [a3cc34b139] user: js, branch: trunk, size: 6686) [annotate] [blame] [check-ins using] [diff]
2009-11-02
14:47
[d918183a6a] part of check-in [581164864f] Make use of the recent change to -[initWithCString:encoding:length:]. (check-in: [581164864f] user: js, branch: trunk, size: 6689) [annotate] [blame] [check-ins using] [diff]
2009-10-05
18:56
[5f67a0c8ca] part of check-in [2f1933eb24] Rename OFArray's and OFDataArray's -[data] to -[cArray]. (check-in: [2f1933eb24] user: js, branch: trunk, size: 6699) [annotate] [blame] [check-ins using] [diff]
2009-09-01
11:32
[5595432660] part of check-in [3ed599fe98] Rename -[length] to -[cStringLength] in OFString. (check-in: [3ed599fe98] user: js, branch: trunk, size: 6647) [annotate] [blame] [check-ins using] [diff]
2009-08-16
13:30
[cf929b13b9] part of check-in [e6570420f3] Rather use -[copy] in OFXMLElement as the string could be mutable. (check-in: [e6570420f3] user: js, branch: trunk, size: 6542) [annotate] [blame] [check-ins using] [diff]
2009-08-12
16:55
[12bad844a7] part of check-in [6f001b8016] New way for handling and storing XML attributes. (check-in: [6f001b8016] user: js, branch: trunk, size: 6548) [annotate] [blame] [check-ins using] [diff]
2009-07-19
16:01
[f1c60b4b45] part of check-in [42e16978dc] Prevent calling -[init] if parameters are required. (check-in: [42e16978dc] user: js, branch: trunk, size: 5257) [annotate] [blame] [check-ins using] [diff]
14:05
[ffae94dc12] part of check-in [4eae61a78f] Rename andFoo: to foo: in all methods. (check-in: [4eae61a78f] user: js, branch: trunk, size: 5164) [annotate] [blame] [check-ins using] [diff]
2009-06-30
12:07
[d97af29834] part of check-in [67bb344ba6] A few renames in OFObject, see details.

* +[conformsTo:] to +[conformsToProtocol:].
* -[isKindOf:] to -[isKindOfClass:].
* -[respondsTo:] to -[respondsToSelector:].
* -[conformsTo:] to -[conformsToProtocol:].
* -[methodFor:] to -[methodForSelector:]. (check-in: [67bb344ba6] user: js, branch: trunk, size: 5168) [annotate] [blame] [check-ins using] [diff]

2009-06-29
12:33
[8ca104aaaa] part of check-in [24ecf55297] Changes to OFDictionary, OFIterator and OFList - see details.

OFDictionary:
* More optimized way to internally store the data.
* Faster resizing of dictionaries (no rehashing anymore).

OFIterator:
* Return a key/object pair rather than first the key and then the
object.

OFList:
* Support for list objects with a different size so you can have your
own list object structs. (check-in: [24ecf55297] user: js, branch: trunk, size: 5161) [annotate] [blame] [check-ins using] [diff]

2009-06-18
18:42
Added: [61f052da6e] part of check-in [f9c673f241] Preliminary OFXMLElement implementation. (check-in: [f9c673f241] user: js, branch: trunk, size: 5085) [annotate] [blame] [check-ins using]