ObjFW  History of src/OFString+XMLUnescaping.m of 45fee921e25e1c56

History of file src/OFString+XMLUnescaping.m at check-in 45fee921e25e1c56

2024-08-17
09:51
Move private functions into private headers file: [50dbb12d96] check-in: [b829f3e798] user: js, branch: trunk, size: 5221 [annotate] [blame] [check-ins using] [diff]
2024-04-29
21:42
Properly hide private symbols file: [faf5398fe6] check-in: [f16bccc7b3] user: js, branch: trunk, size: 5178 [annotate] [blame] [check-ins using] [diff]
2024-04-03
02:16
Change license to LGPLv3 only file: [0faab389ff] check-in: [7413a728a7] user: js, branch: trunk, size: 5177 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [4359af2fdb] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 4969 [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
Update copyright file: [99e235e23a] check-in: [8939cbdb52] user: js, branch: trunk, size: 4969 [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
Update copyright file: [dd8350c1c8] check-in: [1a86b8175b] user: js, branch: trunk, size: 4969 [annotate] [blame] [check-ins using] [diff]
2021-04-18
22:56
Rename all symbols marked extern file: [0941da3dc0] check-in: [e73c65a849] user: js, branch: new-naming-convention, size: 4969 [annotate] [blame] [check-ins using] [diff]
2021-04-17
03:21
Rename all blocks file: [0a903f9009] check-in: [c4e0e56fa3] user: js, branch: new-naming-convention, size: 4972 [annotate] [blame] [check-ins using] [diff]
02:10
of_string_encoding_t -> OFStringEncoding file: [4b3564a7f2] check-in: [255f21fb3d] user: js, branch: new-naming-convention, size: 4988 [annotate] [blame] [check-ins using] [diff]
01:32
of_unichar_t -> OFUnichar file: [72aac7b0a8] check-in: [2d3790870d] user: js, branch: new-naming-convention, size: 5003 [annotate] [blame] [check-ins using] [diff]
2021-03-07
20:25
*.m: Fold methods into one line where it fits file: [c09f1d107c] check-in: [1b82d3bf4f] user: js, branch: trunk, size: 5006 [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
Update copyright file: [563c6e6449] check-in: [374e1a1bfa] user: js, branch: trunk, size: 5051 [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
Update copyright file: [0954130a1e] check-in: [c7f0229795] user: js, branch: trunk, size: 5140 [annotate] [blame] [check-ins using] [diff]
2019-03-08
00:35
Use dot syntax file: [8d9a1c8db6] check-in: [bceb7ed4c9] user: js, branch: trunk, size: 5137 [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
Update copyright file: [ca15662616] check-in: [0509d7a844] user: js, branch: trunk, size: 5141 [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
Update copyright notice file: [5f0f439db7] check-in: [7e5c81e186] user: js, branch: trunk, size: 5135 [annotate] [blame] [check-ins using] [diff]
2017-10-11
20:53
Fix shadowed variables and enable -Wshadow file: [9667538219] check-in: [00476e4430] user: js, branch: trunk, size: 5112 [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: [d6e6b667b8] check-in: [4af49a13c3] user: js, branch: trunk, size: 5104 [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: [743856ba0d] check-in: [44f45c2e35] user: js, branch: trunk, size: 5096 [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:41
Update copyright

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

2015-01-03
20:57
Update copyright file: [88469aa47b] check-in: [cfd374b906] user: js, branch: trunk, size: 5086 [annotate] [blame] [check-ins using] [diff]
2014-07-07
22:05
Add OFUnknownXMLEntityException

Additionally, OFXMLParser now uses OFMalformedXMLException instead of
OFInvalidFormatException on invalid entities. file: [8b7d306c79] check-in: [6e5a920567] user: js, branch: trunk, size: 5080 [annotate] [blame] [check-ins using] [diff]

2014-07-06
11:04
OFString+*.m: Add a few missing autorelease pools

Those were only a problem if the user created its own OFString subclass,
as calls to -[UTF8String] could then create a new, autoreleased C
string. As OFString_UTF8 simply returns the internal C string, this
hasn't been a problem when not subclassing OFString. file: [966d2aeae2] check-in: [b5c8b62533] user: js, branch: trunk, size: 5017 [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: [196faf3bb5] check-in: [13ee56edf3] user: js, branch: trunk, size: 4934 [annotate] [blame] [check-ins using] [diff]

2014-04-14
01:11
OFString+XMLUnescaping.m: Remove code duplication file: [9ce8dfa504] check-in: [f0cc196adc] user: js, branch: trunk, size: 4978 [annotate] [blame] [check-ins using] [diff]
00:45
Coding style

No functional change intended. file: [654beb3068] check-in: [9da9b2b64c] user: js, branch: trunk, size: 6593 [annotate] [blame] [check-ins using] [diff]

2014-01-04
00:24
Update copyright. file: [cfdc01faaa] check-in: [3b97fc3cd9] user: js, branch: trunk, size: 6525 [annotate] [blame] [check-ins using] [diff]
2013-12-05
17:48
Make coding style consistent.

A file documenting the coding style will be written soon. This will
hopefully prevent conflicts in the future, such as whether static
functions are written in camelCase or_with_underscores, like was the
case here. file: [2e125a0585] check-in: [fa6496efc7] user: js, branch: trunk, size: 6519 [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: [1dff93e5a9] check-in: [3d16a30f41] user: js, branch: trunk, size: 6525 [annotate] [blame] [check-ins using] [diff]

2013-03-30
20:07
Improve code readability. file: [baacfe9bd9] check-in: [57a6e8ef79] user: js, branch: trunk, size: 6722 [annotate] [blame] [check-ins using] [diff]
2013-03-04
17:20
Replace BOOL with bool.

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

2013-01-09
22:24
Update copyright. file: [9234efc5e1] check-in: [813c00ccf0] user: js, branch: trunk, size: 6708 [annotate] [blame] [check-ins using] [diff]
2012-10-13
20:50
Move UTF-8 functions to OFString_UTF8.m. file: [d167de896a] check-in: [9cfefe9c30] user: js, branch: trunk, size: 6702 [annotate] [blame] [check-ins using] [diff]
18:51
Rename -[appendUTF8String:withLength:]. file: [a0597bf098] check-in: [e5b31cf72f] user: js, branch: trunk, size: 6706 [annotate] [blame] [check-ins using] [diff]
2012-08-10
20:08
Directly use the runtime's autorelease pools.

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

2012-07-12
01:28
Don't access isa directly. file: [9d6ca887c3] check-in: [8892ae9fcc] user: js, branch: trunk, size: 6798 [annotate] [blame] [check-ins using] [diff]
2012-01-05
00:56
Update copyright. file: [0a4c71c87a] check-in: [ce70e17b38] user: js, branch: trunk, size: 6723 [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: [5784ae8273] check-in: [e1e7ffa903] user: js, branch: trunk, size: 6717 [annotate] [blame] [check-ins using] [diff]

2011-09-12
19:57
Rename -[cString] to -[UTF8String]. file: [46e3e8dd49] check-in: [e6fd39d11e] user: js, branch: trunk, size: 6675 [annotate] [blame] [check-ins using] [diff]
2011-08-07
16:57
Add -[makeImmutable] to all mutable classes and use it. file: [f6529b2cf8] check-in: [927dbf6e7d] user: js, branch: trunk, size: 6133 [annotate] [blame] [check-ins using] [diff]
2011-07-09
13:29
OFString+XMLUnescaping: Get rid of -[appendCStringWithoutUTF8Checking:].

-[appendCStringWithoutUTF8Checking:] will be removed soon, as it is
dangerous and not compatible with a few planned optimizations! file: [f26dc131a5] check-in: [898c2a781b] user: js, branch: trunk, size: 6577 [annotate] [blame] [check-ins using] [diff]

2011-07-08
15:29
Make it possible to add more ivars to OFConstantString. file: [55d286875d] check-in: [0b846bcc4a] user: js, branch: trunk, size: 7329 [annotate] [blame] [check-ins using] [diff]
2011-04-22
21:08
More style improvements. file: [53b4061156] check-in: [fb95acc8ab] user: js, branch: trunk, size: 6809 [annotate] [blame] [check-ins using] [diff]
2011-03-24
19:42
Get rid of OFExceptions.h. file: [ab5733ce2b] check-in: [cda44767f4] user: js, branch: trunk, size: 6578 [annotate] [blame] [check-ins using] [diff]
2011-02-26
19:40
Use class swizzling as an optimization. file: [62778ccd3c] check-in: [06f539766f] user: js, branch: trunk, size: 6562 [annotate] [blame] [check-ins using] [diff]
2011-01-01
20:19
Change license. file: [d730c1e0aa] check-in: [da6b3d26cb] user: js, branch: trunk, size: 6072 [annotate] [blame] [check-ins using] [diff]
2010-09-26
14:40
Add -[stringByXMLUnescapingWithBlock:]. file: [b0f6954371] check-in: [76903ee63f] user: js, branch: trunk, size: 5816 [annotate] [blame] [check-ins using] [diff]
2010-09-20
11:14
Small optimization for ASCII strings in -[stringByXMLUnescaping]. file: [5bd62589b9] check-in: [523bf78c46] user: js, branch: trunk, size: 3734 [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: [be2a2ed79d] check-in: [e2b06423e0] user: js, branch: trunk, size: 3863 [annotate] [blame] [check-ins using] [diff]

2010-06-16
19:54
Rename a methods in OFXMLParserDelegate and add -[parser:foundCDATA]. file: [79011c0f14] check-in: [c53d661daf] user: js, branch: trunk, size: 3870 [annotate] [blame] [check-ins using] [diff]
2010-06-12
20:47
Added: Move a few classes and categories so they have their own files. file: [8b7255c2dd] check-in: [67917b918a] user: js, branch: trunk, size: 3827 [annotate] [blame] [check-ins using]