ObjFW  History of src/OFXMLElementBuilder.m of 45fee921e25e1c56

History of file src/OFXMLElementBuilder.m at check-in 45fee921e25e1c56

2024-04-03
02:16
Change license to LGPLv3 only file: [71d2c3adcd] check-in: [7413a728a7] user: js, branch: trunk, size: 4705 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [d48319175e] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 4497 [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
Update copyright file: [c0268e256a] check-in: [8939cbdb52] user: js, branch: trunk, size: 4497 [annotate] [blame] [check-ins using] [diff]
2022-08-29
21:33
OFXMLElementBuilder: {parentless -> orphan} node file: [87c5fa2116] check-in: [2d4f7314a8] user: js, branch: trunk, size: 4497 [annotate] [blame] [check-ins using] [diff]
20:35
OFXMLProcessingInstruction: Rename data -> text file: [9a39597767] check-in: [fbcbf30be7] user: js, branch: trunk, size: 4530 [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
Update copyright file: [b8984275c9] check-in: [1a86b8175b] user: js, branch: trunk, size: 4530 [annotate] [blame] [check-ins using] [diff]
2021-04-09
01:28
Split XML processing instructions into target/data file: [a53bbdbeea] check-in: [d4b3f8ea70] user: js, branch: trunk, size: 4530 [annotate] [blame] [check-ins using] [diff]
2021-04-08
19:30
OFXMLComment: Add a property for the text file: [07f6f7fa7b] check-in: [f7713f3033] user: js, branch: trunk, size: 4464 [annotate] [blame] [check-ins using] [diff]
01:56
Rename +[elementBuilder] -> +[builder] file: [032a141300] check-in: [a9711fd17a] user: js, branch: trunk, size: 4466 [annotate] [blame] [check-ins using] [diff]
2021-03-07
20:25
*.m: Fold methods into one line where it fits file: [fb50bb7b18] check-in: [1b82d3bf4f] user: js, branch: trunk, size: 4473 [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
Update copyright file: [ff12f91bf6] check-in: [374e1a1bfa] user: js, branch: trunk, size: 4494 [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
Update copyright file: [8b8caf6ff6] check-in: [c7f0229795] user: js, branch: trunk, size: 4583 [annotate] [blame] [check-ins using] [diff]
2019-03-08
00:35
Use dot syntax file: [40db47b479] check-in: [bceb7ed4c9] user: js, branch: trunk, size: 4580 [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
Update copyright file: [525456c691] check-in: [0509d7a844] user: js, branch: trunk, size: 4604 [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
Update copyright notice file: [b08c943700] check-in: [7e5c81e186] user: js, branch: trunk, size: 4598 [annotate] [blame] [check-ins using] [diff]
2017-10-17
00:33
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. file: [a5fcb2b0c8] check-in: [2f4e0df8be] user: js, branch: trunk, size: 4575 [annotate] [blame] [check-ins using] [diff]

2017-09-28
23:02
Enable -Wnullable-to-nonnull-conversion and adjust file: [112bbd4243] check-in: [2de9660312] user: js, branch: trunk, size: 4590 [annotate] [blame] [check-ins using] [diff]
2017-05-07
20:10
Small code style change

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

2017-01-09
17:36
Update copyright

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

2016-01-03
01:14
Make more use of fast enumeration file: [4e94b4d443] check-in: [cb0fd980f9] user: js, branch: trunk, size: 4530 [annotate] [blame] [check-ins using] [diff]
00:43
Update copyright

While at it, also update the mail address. file: [7820fba6ac] check-in: [cec0f072f8] user: js, branch: 0.8, size: 4769 [annotate] [blame] [check-ins using] [diff]

00:41
Update copyright

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

2015-11-29
11:43
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). file: [9ccc35fa21] check-in: [48980f2297] user: js, branch: trunk, size: 4639 [annotate] [blame] [check-ins using] [diff]

2015-01-03
20:57
Update copyright file: [30389fad51] check-in: [cfd374b906] user: js, branch: trunk, size: 4765 [annotate] [blame] [check-ins using] [diff]
2014-06-21
21:43
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. file: [da7871c822] check-in: [13ee56edf3] user: js, branch: trunk, size: 4759 [annotate] [blame] [check-ins using] [diff]

2014-06-16
15:06
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. file: [119bcfbb79] check-in: [68d32a92c1] user: js, branch: trunk, size: 4779 [annotate] [blame] [check-ins using] [diff]

2014-01-04
00:24
Update copyright. file: [da1329e0fa] check-in: [3b97fc3cd9] user: js, branch: trunk, size: 4773 [annotate] [blame] [check-ins using] [diff]
2013-07-28
21:07
Replace OFTLSKey w/ +[OFThread threadDictionary]. file: [b6a640dd2e] check-in: [1eaf875a88] user: js, branch: trunk, size: 4767 [annotate] [blame] [check-ins using] [diff]
2013-06-22
12:12
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. file: [c7b5dfc686] check-in: [3d16a30f41] user: js, branch: trunk, size: 4774 [annotate] [blame] [check-ins using] [diff]

2013-02-12
18:22
Prefix all ivars with an underscore. file: [13da6c9002] check-in: [e40729d406] user: js, branch: trunk, size: 4804 [annotate] [blame] [check-ins using] [diff]
2013-01-09
22:24
Update copyright. file: [eab873b1b6] check-in: [813c00ccf0] user: js, branch: trunk, size: 4764 [annotate] [blame] [check-ins using] [diff]
2012-12-20
16:42
Remove dummy implementations for formal protocols. file: [9a55332d3d] check-in: [89177dcd09] user: js, branch: trunk, size: 4758 [annotate] [blame] [check-ins using] [diff]
2012-10-29
07:59
Documentation improvements. file: [5fb1759a2a] check-in: [63bf4de97b] user: js, branch: trunk, size: 4771 [annotate] [blame] [check-ins using] [diff]
2012-10-09
15:07
Make use of instancetype. file: [2a5d5697ce] check-in: [fb515e8e24] user: js, branch: trunk, size: 4768 [annotate] [blame] [check-ins using] [diff]
2012-03-12
11:54
OFArray: +[arrayWithCArray:length:] -> +[arrayWithObjects:count:].

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

2012-02-03
15:06
Make the parser optional for OFMalformedXMLException. file: [21ba954ddd] check-in: [20e7d0c0e2] user: js, branch: trunk, size: 4745 [annotate] [blame] [check-ins using] [diff]
14:20
Add OFXMLProcessingInstructions and let OFXMLElementBuilder create them. file: [134f6deb5b] check-in: [045aa2e2d5] user: js, branch: trunk, size: 4767 [annotate] [blame] [check-ins using] [diff]
2012-01-05
00:56
Update copyright. file: [6fd14a8e9c] check-in: [ce70e17b38] user: js, branch: trunk, size: 4447 [annotate] [blame] [check-ins using] [diff]
2011-10-24
18:28
Don't retain delegates to prevent reference cycles. file: [1a6ed6de0a] check-in: [87cd99ff88] user: js, branch: trunk, size: 4441 [annotate] [blame] [check-ins using] [diff]
2011-10-04
13:14
Split OFXMLElement into OFXML{Element,Characters,CDATA,Comment}. file: [975d3652b4] check-in: [03f14bf019] user: js, branch: trunk, size: 4492 [annotate] [blame] [check-ins using] [diff]
2011-09-22
23:25
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. file: [fd1f10a22d] check-in: [e1e7ffa903] user: js, branch: trunk, size: 4648 [annotate] [blame] [check-ins using] [diff]

2011-06-29
19:06
Add a handler for unknown entities to OFXMLElementBuilderDelegate. file: [0ff6d1dc0d] check-in: [d534f49a7d] user: js, branch: trunk, size: 4643 [annotate] [blame] [check-ins using] [diff]
2011-06-17
00:35
Add -[removeLastItem] and -[removeLastObject]. file: [04c630ff09] check-in: [5a127a0804] user: js, branch: trunk, size: 4263 [annotate] [blame] [check-ins using] [diff]
2011-04-23
22:26
Minor style improvements. file: [38288e0329] check-in: [a0f0c381b2] user: js, branch: trunk, size: 4264 [annotate] [blame] [check-ins using] [diff]
00:11
More style improvements. file: [415f6ac93d] check-in: [d8c31454b4] user: js, branch: trunk, size: 4295 [annotate] [blame] [check-ins using] [diff]
2011-03-24
21:29
Pass the parser for OFMalformedXMLExceptions. file: [23f4713294] check-in: [3a9a5001cf] user: js, branch: trunk, size: 4215 [annotate] [blame] [check-ins using] [diff]
19:42
Get rid of OFExceptions.h. file: [0a10d296cf] check-in: [cda44767f4] user: js, branch: trunk, size: 4192 [annotate] [blame] [check-ins using] [diff]
2011-03-23
01:06
Make more use of the OFObject protocol. file: [b5b67afb3f] check-in: [23acf38456] user: js, branch: trunk, size: 4180 [annotate] [blame] [check-ins using] [diff]
2011-03-21
19:41
Improve namespace handling. file: [7a79298589] check-in: [5849b5aac8] user: js, branch: trunk, size: 4146 [annotate] [blame] [check-ins using] [diff]
2011-03-10
20:34
Improve namespace handling. file: [01d91a18bd] check-in: [a95ca84f7e] user: js, branch: trunk, size: 4211 [annotate] [blame] [check-ins using] [diff]
2011-01-01
20:19
Change license. file: [6e4d62017f] check-in: [da6b3d26cb] user: js, branch: trunk, size: 4194 [annotate] [blame] [check-ins using] [diff]
2010-12-20
15:55
Extend OFXMLElementBuilderDelegate. file: [c6480ad533] check-in: [976f115da9] user: js, branch: trunk, size: 3938 [annotate] [blame] [check-ins using] [diff]
2010-10-25
23:03
Clean up a lot of code (mostly init methods) and fix a missing rethrow. file: [eabccc3dd1] check-in: [8a7ca573c4] user: js, branch: trunk, size: 3025 [annotate] [blame] [check-ins using] [diff]
2010-09-05
23:19
Replace OFObject* with id in many places.

We assume now that every object understands retain, release, etc. so
that we can weaken the type from OFObject* to id. This makes it
possible to use different root object classes. file: [59069a8174] check-in: [e2b06423e0] user: js, branch: trunk, size: 2964 [annotate] [blame] [check-ins using] [diff]

2010-07-02
21:40
Added: Add OFXMLElementBuilder. file: [eae2627930] check-in: [ad93296956] user: js, branch: trunk, size: 2962 [annotate] [blame] [check-ins using]