ObjFW  History of src/OFDictionary.m of 92c42bbe328ff4e2

History of the file that is called src/OFDictionary.m at check-in 92c42bbe328ff4e2

2024-04-03
02:16
[d2c729f348] part of check-in [7413a728a7] Change license to LGPLv3 only (check-in: [7413a728a7] user: js, branch: trunk, size: 18489) [annotate] [blame] [check-ins using] [diff]
2024-02-13
21:12
[4417aedc0d] part of check-in [bd1040a3aa] Fix -[OFDictionary initWithKey:arguments:] (check-in: [bd1040a3aa] user: js, branch: trunk, size: 18281) [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
[b6db2734d8] part of check-in [26ddd2e4e4] Update copyright (check-in: [26ddd2e4e4] user: js, branch: trunk, size: 18136) [annotate] [blame] [check-ins using] [diff]
2023-08-29
12:16
[624c31369c] part of check-in [b5e3f01a59] Fix compilation with Apple GCC 4.0.1 & 4.2.1 (check-in: [b5e3f01a59] user: js, branch: trunk, size: 18136) [annotate] [blame] [check-ins using] [diff]
2023-08-13
22:02
[e134f53095] part of check-in [d0205355f5] OFSet: Add designated initializers (check-in: [d0205355f5] user: js, branch: trunk, size: 18106) [annotate] [blame] [check-ins using] [diff]
2023-08-12
17:31
[e8124fd5c4] part of check-in [4fa963805b] OFDictionary: Add designated initializers (check-in: [4fa963805b] user: js, branch: trunk, size: 18111) [annotate] [blame] [check-ins using] [diff]
2023-08-09
10:09
[8b606ffec2] part of check-in [281b494de4] More consistency in naming of private classes (check-in: [281b494de4] user: js, branch: trunk, size: 15915) [annotate] [blame] [check-ins using] [diff]
09:08
[32e0526264] part of check-in [36310f6263] Add OF_SINGLETON_METHODS (check-in: [36310f6263] user: js, branch: trunk, size: 15915) [annotate] [blame] [check-ins using] [diff]
2023-08-08
15:32
[ca10e7bcfe] part of check-in [a6f520157a] A few minor cleanups (check-in: [a6f520157a] user: js, branch: trunk, size: 16048) [annotate] [blame] [check-ins using] [diff]
2023-07-15
23:44
[34eb84dfb7] part of check-in [27d8eb922d] Never set mutationsPtr to self

The Apple runtime can store the retain count in isa, so
retaining/releasing an object would suddenly make it seem like it was
mutated. (check-in: [27d8eb922d] user: js, branch: trunk, size: 15965) [annotate] [blame] [check-ins using] [diff]

2023-04-10
19:22
[12d43fb634] 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: 15933) [annotate] [blame] [check-ins using] [diff]

2023-01-06
09:04
[599077ba21] part of check-in [8939cbdb52] Update copyright (check-in: [8939cbdb52] user: js, branch: trunk, size: 17459) [annotate] [blame] [check-ins using] [diff]
2022-11-24
00:31
[afcc3dfcd1] part of check-in [02cad72155] OFDictionary: Remove leftover character set (check-in: [02cad72155] user: js, branch: trunk, size: 17459) [annotate] [blame] [check-ins using] [diff]
00:21
[90d93ccd42] part of check-in [23272e6d43] Rename OFURI to OFIRI (check-in: [23272e6d43] user: js, branch: trunk, size: 18498) [annotate] [blame] [check-ins using] [diff]
2022-11-16
01:27
[cbf5abac37] part of check-in [c86b8f10f0] Add OFAssert()

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

2022-09-28
22:02
[9689ae0f89] part of check-in [f1bf64ca9f] Remove -[OFDictionary URIQueryString]

It duplicates the functionality of -[OFMutableURI setQueryDictionary:]. (check-in: [f1bf64ca9f] user: js, branch: trunk, size: 18517) [annotate] [blame] [check-ins using] [diff]

21:40
[2aa21595b1] part of check-in [e7ab06503c] Rename OFUR{L -> I} in preparation for URI support (check-in: [e7ab06503c] user: js, branch: trunk, size: 19421) [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
[a48510c034] part of check-in [1a86b8175b] Update copyright (check-in: [1a86b8175b] user: js, branch: trunk, size: 19394) [annotate] [blame] [check-ins using] [diff]
2021-04-19
21:54
[804d125c3d] part of check-in [458420998c] Rename a few more constants (check-in: [458420998c] user: js, branch: new-naming-convention, size: 19394) [annotate] [blame] [check-ins using] [diff]
2021-04-18
21:12
[157e7e0a35] part of check-in [b06b86d6f9] OF_RETAIN_COUNT_MAX -> OFMaxRetainCount (check-in: [b06b86d6f9] user: js, branch: new-naming-convention, size: 19402) [annotate] [blame] [check-ins using] [diff]
15:55
[57da3c11a7] part of check-in [7392685ffc] Rename all functions in macros.h (check-in: [7392685ffc] user: js, branch: new-naming-convention, size: 19405) [annotate] [blame] [check-ins using] [diff]
2021-04-17
17:49
[6b73f7f97f] part of check-in [5ce8c7cca7] Rename JSON representation options (check-in: [5ce8c7cca7] user: js, branch: new-naming-convention, size: 19409) [annotate] [blame] [check-ins using] [diff]
03:21
[18419a43d0] part of check-in [c4e0e56fa3] Rename all blocks (check-in: [c4e0e56fa3] user: js, branch: new-naming-convention, size: 19302) [annotate] [blame] [check-ins using] [diff]
02:43
[4dbb63643c] part of check-in [ed3b07591c] Rename of_fast_enumeration_state_t (check-in: [ed3b07591c] user: js, branch: new-naming-convention, size: 19325) [annotate] [blame] [check-ins using] [diff]
01:32
[95a692d8fc] part of check-in [2d3790870d] of_unichar_t -> OFUnichar (check-in: [2d3790870d] user: js, branch: new-naming-convention, size: 19330) [annotate] [blame] [check-ins using] [diff]
2021-03-07
20:25
[45778dda9e] part of check-in [1b82d3bf4f] *.m: Fold methods into one line where it fits (check-in: [1b82d3bf4f] user: js, branch: trunk, size: 19333) [annotate] [blame] [check-ins using] [diff]
02:36
[dca613f5bc] 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: 19395) [annotate] [blame] [check-ins using] [diff]

2021-01-02
22:04
[acad8576d1] part of check-in [374e1a1bfa] Update copyright (check-in: [374e1a1bfa] user: js, branch: trunk, size: 19445) [annotate] [blame] [check-ins using] [diff]
2020-10-10
14:27
[505aa3e10f] 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: 19534) [annotate] [blame] [check-ins using] [diff]

2020-06-28
15:03
[9428854186] part of check-in [b6cb3addd0] Use OF_DIRECT(_MEMBERS) where appropriate (check-in: [b6cb3addd0] user: js, branch: trunk, size: 19524) [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
[473457960e] part of check-in [c7f0229795] Update copyright (check-in: [c7f0229795] user: js, branch: trunk, size: 19467) [annotate] [blame] [check-ins using] [diff]
2019-06-20
23:47
[af6bd066da] part of check-in [13864f512c] Avoid retaining enumerator during fast enumeration

This avoids leaking the enumerator when terminating the fast enumeration
early. (check-in: [13864f512c] user: js, branch: trunk, size: 19464) [annotate] [blame] [check-ins using] [diff]

2019-06-19
00:36
[c70541cdfe] part of check-in [eeec8af349] OFDictionary: Add default for fast enumeration (check-in: [eeec8af349] user: js, branch: trunk, size: 19641) [annotate] [blame] [check-ins using] [diff]
2019-06-18
02:05
[b0c221b8b7] part of check-in [e2d0c876b4] OFDictionary: Add default -[objectEnumerator] (check-in: [e2d0c876b4] user: js, branch: trunk, size: 19054) [annotate] [blame] [check-ins using] [diff]
2019-06-17
02:33
[bc54a55dea] part of check-in [17d57e01ff] Remove underscores from class names (check-in: [17d57e01ff] user: js, branch: trunk, size: 18068) [annotate] [blame] [check-ins using] [diff]
2019-03-23
22:03
[17f313b4bd] part of check-in [d7824704f9] Add -[valueForKeyPath:] / -[setValue:forKeyPath:] (check-in: [d7824704f9] user: js, branch: trunk, size: 18099) [annotate] [blame] [check-ins using] [diff]
2019-03-08
00:35
[f5551c8463] part of check-in [bceb7ed4c9] Use dot syntax (check-in: [bceb7ed4c9] user: js, branch: trunk, size: 18512) [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
[01ef213c97] part of check-in [0509d7a844] Update copyright (check-in: [0509d7a844] user: js, branch: trunk, size: 18516) [annotate] [blame] [check-ins using] [diff]
2018-11-17
22:59
[eb95483289] part of check-in [b090b5ce92] Various minor style improvements (check-in: [b090b5ce92] user: js, branch: trunk, size: 18510) [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
[bf56568780] part of check-in [7e5c81e186] Update copyright notice (check-in: [7e5c81e186] user: js, branch: trunk, size: 18492) [annotate] [blame] [check-ins using] [diff]
2017-11-11
23:27
[5436e85cb7] part of check-in [526feacebc] Small optimization for -[isEqual:] (check-in: [526feacebc] user: js, branch: trunk, size: 18469) [annotate] [blame] [check-ins using] [diff]
2017-11-05
19:53
[6b71ce3a87] part of check-in [2f555742c0] Make -[stringByURLEncoding] take an OFCharacterSet (check-in: [2f555742c0] user: js, branch: trunk, size: 18432) [annotate] [blame] [check-ins using] [diff]
18:25
[ed87a014f7] part of check-in [0a4565fb0f] Use -[isMemberOfClass:] instead of object_getClass (check-in: [0a4565fb0f] user: js, branch: trunk, size: 17286) [annotate] [blame] [check-ins using] [diff]
2017-10-31
21:55
[26c35d80f1] part of check-in [4db6713bda] OFString+URLEncoding: Change default allowed chars

This is now unreserved + sub-delims from RFC 3986. (check-in: [4db6713bda] user: js, branch: trunk, size: 17287) [annotate] [blame] [check-ins using] [diff]

2017-10-17
00:33
[21f0c3f7c0] 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: 17199) [annotate] [blame] [check-ins using] [diff]

2017-09-28
23:02
[20c3611bfd] part of check-in [2de9660312] Enable -Wnullable-to-nonnull-conversion and adjust (check-in: [2de9660312] user: js, branch: trunk, size: 16929) [annotate] [blame] [check-ins using] [diff]
2017-07-22
20:50
[bd2dcff559] part of check-in [c8f7b90082] Split OFDataArray into OFData and OFMutableData (check-in: [c8f7b90082] user: js, branch: trunk, size: 16925) [annotate] [blame] [check-ins using] [diff]
2017-06-25
17:13
[3fca05019c] part of check-in [2fafde4058] Add -[OFDictionary stringByURLEncoding] (check-in: [2fafde4058] user: js, branch: trunk, size: 16917) [annotate] [blame] [check-ins using] [diff]
2017-05-21
21:28
[d620b3bd51] 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: 16217) [annotate] [blame] [check-ins using] [diff]

2017-05-14
01:30
[0862e86c30] part of check-in [03963d9304] macros.h: Add null_unspecified (check-in: [03963d9304] user: js, branch: trunk, size: 16216) [annotate] [blame] [check-ins using] [diff]
2017-05-07
20:10
[e4842b5166] 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: 16215) [annotate] [blame] [check-ins using] [diff]

2017-05-01
13:51
[537dc67d0c] part of check-in [cfd54bd090] Add tests for generic OF(Mutable)Dictionary

These are usually not used, as OFDictionary_hashtable and
OFMutableDictionary_hashtable are used instead. However, they are used
if someone creates their own subclass of OFDictionary /
OFMutableDictionary. As they are rarely used in production, it is
important to run all tests on them. (check-in: [cfd54bd090] user: js, branch: trunk, size: 16186) [annotate] [blame] [check-ins using] [diff]

2017-01-09
17:36
[79c3103a2a] 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: 16187) [annotate] [blame] [check-ins using] [diff]

2016-09-12
00:27
[3f825e393b] part of check-in [13f4c6c678] Add OF_DEALLOC_UNSUPPORTED macro (check-in: [13f4c6c678] user: js, branch: trunk, size: 16181) [annotate] [blame] [check-ins using] [diff]
2016-06-05
15:11
[034710c781] part of check-in [f816d1ec7c] Move -[setValue:forKey:] to OFDictionary

If this is only overridden in OFMutableDictionary, this would lead to
inconsistent behavior, as it could be called on an OFDictionary as well
due to the fact that -[setValue:forKey:] is defined in OFObject.
Instead, if the dictionary is immutable, an OFUndefinedKeyException is
thrown. (check-in: [f816d1ec7c] user: js, branch: trunk, size: 16237) [annotate] [blame] [check-ins using] [diff]

14:32
[3204259101] part of check-in [cbacea7ca3] Implement Key Value Coding for OFDictionary

If the key starts with an @, the @ is stripped and the super method is
called. Otherwise, this is equivalent to -[objectForKey:] /
-[setValue:forKey:]. (check-in: [cbacea7ca3] user: js, branch: trunk, size: 15678) [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:43
[a8e28196f4] part of check-in [cec0f072f8] Update copyright

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

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

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

2015-11-29
14:23
[4d31711ac3] part of check-in [2aca549d60] Clean up class extensions

Now that we can require GCC >= 4.6, we no longer need to fall back to
using a category on old compilers. (check-in: [2aca549d60] user: js, branch: trunk, size: 15342) [annotate] [blame] [check-ins using] [diff]

14:02
[f9d2ed8c00] 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: 15361) [annotate] [blame] [check-ins using] [diff]

2015-06-12
23:59
[fae9385bda] part of check-in [5329fe7c1a] Add support for and use the new ObjC generics (check-in: [5329fe7c1a] user: js, branch: trunk, size: 15362) [annotate] [blame] [check-ins using] [diff]
2015-01-03
20:57
[58aa170985] part of check-in [cfd374b906] Update copyright (check-in: [cfd374b906] user: js, branch: trunk, size: 15362) [annotate] [blame] [check-ins using] [diff]
2014-06-21
21:43
[cc9eebbd4d] 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: 15356) [annotate] [blame] [check-ins using] [diff]

2014-06-16
15:06
[64a914391d] 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: 15400) [annotate] [blame] [check-ins using] [diff]

2014-02-08
18:04
[a9ccdce0b3] part of check-in [e07fa89b44] Add JSON5 output option (check-in: [e07fa89b44] user: js, branch: trunk, size: 15394) [annotate] [blame] [check-ins using] [diff]
09:26
[a7500a2644] part of check-in [eaa612ad50] Add -[JSONRepresentationWithOptions:]

This also adds OF_JSON_REPRESENTATION_PRETTY. (check-in: [eaa612ad50] user: js, branch: trunk, size: 15018) [annotate] [blame] [check-ins using] [diff]

2014-01-04
00:24
[6e104e4274] part of check-in [3b97fc3cd9] Update copyright. (check-in: [3b97fc3cd9] user: js, branch: trunk, size: 13589) [annotate] [blame] [check-ins using] [diff]
2013-11-23
01:27
[e19125e0d9] part of check-in [6e19bd47ee] Add OF_UNRECOGNIZED_SELECTOR. (check-in: [6e19bd47ee] user: js, branch: trunk, size: 13583) [annotate] [blame] [check-ins using] [diff]
01:12
[03af4f840a] part of check-in [35dafd5c57] Add OF_INVALID_INIT_METHOD. (check-in: [35dafd5c57] user: js, branch: trunk, size: 13727) [annotate] [blame] [check-ins using] [diff]
2013-06-22
12:12
[65bfd85485] 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: 14079) [annotate] [blame] [check-ins using] [diff]

2013-06-19
19:14
[903db74406] part of check-in [cba771824e] Implement the new MessagePack specification.

No support for extensions yet.

This obsoletes BinaryPack. (check-in: [cba771824e] user: js, branch: trunk, size: 14161) [annotate] [blame] [check-ins using] [diff]

2013-04-09
21:37
[ff91f774b0] part of check-in [bff98a6244] Simplify -[OFDictionary all{Keys,Objects}].

This is possible now since +[OFArray arrayWithCapacity:] has been added. (check-in: [bff98a6244] user: js, branch: trunk, size: 14158) [annotate] [blame] [check-ins using] [diff]

2013-03-04
17:20
[b5ab4c9ae4] 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: 14518) [annotate] [blame] [check-ins using] [diff]

2013-02-21
19:35
[bd2462ab4e] part of check-in [23c798d4f1] Add support for generating BinaryPack. (check-in: [23c798d4f1] user: js, branch: trunk, size: 14491) [annotate] [blame] [check-ins using] [diff]
2013-02-05
22:24
[e919261aa6] part of check-in [737a82e1a4] Move abort() to make old GCCs happy. (check-in: [737a82e1a4] user: js, branch: trunk, size: 13031) [annotate] [blame] [check-ins using] [diff]
2013-01-09
22:24
[5120c17e97] part of check-in [813c00ccf0] Update copyright. (check-in: [813c00ccf0] user: js, branch: trunk, size: 13031) [annotate] [blame] [check-ins using] [diff]
2012-12-22
15:37
[2f5f515df2] part of check-in [917ce5754c] Add -[doesNotRecognizeSelector:]. (check-in: [917ce5754c] user: js, branch: trunk, size: 13025) [annotate] [blame] [check-ins using] [diff]
2012-12-01
18:08
[8f52b3e64a] part of check-in [1abbb97747] OFDictionary_hashtable: Store in OFMapTable. (check-in: [1abbb97747] user: js, branch: trunk, size: 13377) [annotate] [blame] [check-ins using] [diff]
2012-11-12
11:24
[a3f4a24963] part of check-in [f5c4220251] Check more arguments for nil. (check-in: [f5c4220251] user: js, branch: trunk, size: 13119) [annotate] [blame] [check-ins using] [diff]
2012-10-21
22:12
[9c777b7efa] part of check-in [fcade8da38] Make GCC 4.4 happy. (check-in: [fcade8da38] user: js, branch: trunk, size: 12857) [annotate] [blame] [check-ins using] [diff]
2012-10-09
15:07
[dd1d8a52aa] part of check-in [fb515e8e24] Make use of instancetype. (check-in: [fb515e8e24] user: js, branch: trunk, size: 12880) [annotate] [blame] [check-ins using] [diff]
2012-08-10
20:08
[5774d8a182] 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: 12775) [annotate] [blame] [check-ins using] [diff]

2012-07-12
01:28
[4a522c344b] part of check-in [8892ae9fcc] Don't access isa directly. (check-in: [8892ae9fcc] user: js, branch: trunk, size: 12883) [annotate] [blame] [check-ins using] [diff]
2012-06-10
13:28
[d6efe13c19] part of check-in [11d3d69a22] More API improvements. (check-in: [11d3d69a22] user: js, branch: trunk, size: 12734) [annotate] [blame] [check-ins using] [diff]
2012-06-06
13:47
[170550a25e] part of check-in [f7576a66ce] Slightly change the memory management API.

Also fix a bug where OFBigDataArray would waste memory. (check-in: [f7576a66ce] user: js, branch: trunk, size: 12743) [annotate] [blame] [check-ins using] [diff]

2012-03-29
07:57
[7004ce02ac] part of check-in [89d53f2a9a] Add a few "const" where they make sense. (check-in: [89d53f2a9a] user: js, branch: trunk, size: 12738) [annotate] [blame] [check-ins using] [diff]
2012-03-13
20:19
[b3eb8803f5] part of check-in [c32750da12] Improve -[OFDictionary isEqual:]. (check-in: [c32750da12] user: js, branch: 0.6, size: 12017) [annotate] [blame] [check-ins using] [diff]
20:19
[e60712dc03] part of check-in [50d2bd5dec] Improve -[OFDictionary isEqual:]. (check-in: [50d2bd5dec] user: js, branch: trunk, size: 12702) [annotate] [blame] [check-ins using] [diff]
2012-03-12
12:18
[d4934d5b93] part of check-in [6428a08de1] Make dictionary literals work. (check-in: [6428a08de1] user: js, branch: trunk, size: 12570) [annotate] [blame] [check-ins using] [diff]
12:14
[150bd32bb7] part of check-in [d42a56787b] Add +[OFDictionary dictionaryWithObjects:forKeys:count:]. (check-in: [d42a56787b] user: js, branch: trunk, size: 12492) [annotate] [blame] [check-ins using] [diff]
11:54
[29eff2abae] 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: 11891) [annotate] [blame] [check-ins using] [diff]

2012-01-05
00:56
[940c27c632] part of check-in [ce70e17b38] Update copyright. (check-in: [ce70e17b38] user: js, branch: trunk, size: 11885) [annotate] [blame] [check-ins using] [diff]
2011-12-10
18:17
[867202c84f] part of check-in [4e87bc9862] Fix wrong -[description] for an empty OFDictionary. (check-in: [4e87bc9862] user: js, branch: trunk, size: 11879) [annotate] [blame] [check-ins using] [diff]
13:17
[fa0065ee5f] part of check-in [243a96fc2d] Add JSON encoding. (check-in: [243a96fc2d] user: js, branch: trunk, size: 11881) [annotate] [blame] [check-ins using] [diff]
2011-10-31
21:18
[8d738e01c8] part of check-in [6bdb2e4b01] Move placeholder interfaces from headers to implementation files.
This way they are not public anymore.
(check-in: [6bdb2e4b01] user: js, branch: trunk, size: 11075) [annotate] [blame] [check-ins using] [diff]
2011-09-22
23:25
[9dbdf6b2a1] 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: 11019) [annotate] [blame] [check-ins using] [diff]

2011-09-19
16:34
[26000249ed] part of check-in [f173477bef] Rename -[allocMemoryForNItems:withSize:] and friends.
It is now -[allocMemoryForNItems:ofSize:].
(check-in: [f173477bef] user: js, branch: trunk, size: 10964) [annotate] [blame] [check-ins using] [diff]
2011-09-10
17:36
[31ff5be5f6] part of check-in [ee77d91252] We can safely assume fast enumeration if we have blocks. (check-in: [ee77d91252] user: js, branch: trunk, size: 10978) [annotate] [blame] [check-ins using] [diff]
2011-09-09
13:35
[7066c6abb0] part of check-in [798d9e6320] [pool release] can never throw by convention now. (check-in: [798d9e6320] user: js, branch: trunk, size: 11051) [annotate] [blame] [check-ins using] [diff]
2011-08-31
16:01
[98b4c2fae3] part of check-in [66b12bb66f] Make OFSet and OFCountedSet abstract classes. (check-in: [66b12bb66f] user: js, branch: trunk, size: 11078) [annotate] [blame] [check-ins using] [diff]
2011-08-30
17:07
[252a3f02aa] part of check-in [bfefa54668] Move throwing an OFNotImplementedException in abstract classes. (check-in: [bfefa54668] user: js, branch: trunk, size: 11098) [annotate] [blame] [check-ins using] [diff]
2011-08-22
09:58
[3cc46ccafd] part of check-in [367bf4117b] Clean up the class hierarchy in the doxygen generated documentation. (check-in: [367bf4117b] user: js, branch: trunk, size: 11159) [annotate] [blame] [check-ins using] [diff]
2011-08-21
11:03
[cb8d68b6da] part of check-in [c0098f89fe] Make OFDictionary an abstract class. (check-in: [c0098f89fe] user: js, branch: trunk, size: 11309) [annotate] [blame] [check-ins using] [diff]
2011-08-07
16:57
[45afb75ecd] part of check-in [927dbf6e7d] Add -[makeImmutable] to all mutable classes and use it. (check-in: [927dbf6e7d] user: js, branch: trunk, size: 19850) [annotate] [blame] [check-ins using] [diff]
2011-07-28
20:50
[39169fee1e] part of check-in [bfb7745f95] Don't create and release a pool in -[enumerateObjectsUsingBlock:].

This would make it impossible to use autoreleased objects after the
block has been executed without manually retaining and releasing them. (check-in: [bfb7745f95] user: js, branch: trunk, size: 20540) [annotate] [blame] [check-ins using] [diff]

2011-07-22
17:03
[95bb1cf3d0] part of check-in [6214a3be25] Improve methods using blocks in OFDictionary.

Mutations during enumerations using blocks are now always detected,
even for methods such as -[filteredDictionaryUsingBlock:]. (check-in: [6214a3be25] user: js, branch: trunk, size: 20656) [annotate] [blame] [check-ins using] [diff]

2011-07-21
19:03
[b5e17c6561] part of check-in [cc87fcff36] Add -[allKeys] and -[allObjects] to OFDictionary. (check-in: [cc87fcff36] user: js, branch: trunk, size: 20716) [annotate] [blame] [check-ins using] [diff]
2011-07-18
22:53
[78f590ebf2] part of check-in [8df328d503] Add OFSet and OFMutableSet. (check-in: [8df328d503] user: js, branch: trunk, size: 19893) [annotate] [blame] [check-ins using] [diff]
2011-07-17
16:38
[58ee7d242e] part of check-in [8ff55bf218] Remove -[containsObjectIdenticalTo:] from OFCopying.

It is still implemented by all classes implementing OFCollection so far,
but new classes are not required to implement it anymore.

This is required to add OFCountedSet later, which can't support it. (check-in: [8ff55bf218] user: js, branch: trunk, size: 19689) [annotate] [blame] [check-ins using] [diff]

2011-07-05
02:10
[b3a725a15f] part of check-in [3825c5fc9a] Fix too big allocation size in OFDictionary. (check-in: [3825c5fc9a] user: js, branch: trunk, size: 19677) [annotate] [blame] [check-ins using] [diff]
2011-06-30
23:28
[af933f0dd2] part of check-in [c7c8a3e053] Fix wrong variable names resulting from backport. (check-in: [c7c8a3e053] user: js, branch: 0.5, size: 16293) [annotate] [blame] [check-ins using] [diff]
2011-06-28
01:51
[b73da14229] part of check-in [756bb26c98] Change serialization format to be way more readable and shorter. (check-in: [756bb26c98] user: js, branch: trunk, size: 19679) [annotate] [blame] [check-ins using] [diff]
2011-06-06
16:19
[beb073a948] part of check-in [048ed62083] Remove semicolons that should not have been there. (check-in: [048ed62083] user: js, branch: 0.5, size: 15979) [annotate] [blame] [check-ins using] [diff]
16:18
[ec22393fcd] part of check-in [65ec63f7c1] Remove semicolons that should not have been there. (check-in: [65ec63f7c1] user: js, branch: trunk, size: 19782) [annotate] [blame] [check-ins using] [diff]
2011-06-05
22:26
[7e880e912a] part of check-in [29988c434b] Nicer API for serialization. (check-in: [29988c434b] user: js, branch: trunk, size: 19783) [annotate] [blame] [check-ins using] [diff]
19:27
[c7b3cd8862] part of check-in [183825f113] Add OFNull class. (check-in: [183825f113] user: js, branch: trunk, size: 19848) [annotate] [blame] [check-ins using] [diff]
2011-06-04
18:49
[0776706270] part of check-in [448a35dd9b] Fix a bug in -[OFDictionary initWithKeys:arguments:].

When a key already exists, it means the precalculated count is wrong.
Therefore, decrease count if the key already exists. (check-in: [448a35dd9b] user: js, branch: 0.5, size: 15980) [annotate] [blame] [check-ins using] [diff]

18:49
[10ad77a11e] part of check-in [50457cd1fd] Fix a bug in -[OFDictionary initWithKeys:arguments:].

When a key already exists, it means the precalculated count is wrong.
Therefore, decrease count if the key already exists. (check-in: [50457cd1fd] user: js, branch: trunk, size: 19847) [annotate] [blame] [check-ins using] [diff]

2011-06-03
15:14
[a5322a8311] part of check-in [dca3061dfc] Add deserialization. (check-in: [dca3061dfc] user: js, branch: trunk, size: 19835) [annotate] [blame] [check-ins using] [diff]
2011-05-14
12:26
[5f45c17283] 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: 18060) [annotate] [blame] [check-ins using] [diff]

2011-05-08
22:36
[167e60e6d6] part of check-in [17d18368bb] Change serialization format. (check-in: [17d18368bb] user: js, branch: trunk, size: 18163) [annotate] [blame] [check-ins using] [diff]
20:35
[894cef5e29] part of check-in [bd879fd455] Nicer formatting for serialization. (check-in: [bd879fd455] user: js, branch: trunk, size: 18164) [annotate] [blame] [check-ins using] [diff]
19:55
[7a1aa2d8ed] part of check-in [b27b3aa3e3] Add support for serialization.
No deserialization yet.
(check-in: [b27b3aa3e3] user: js, branch: trunk, size: 18086) [annotate] [blame] [check-ins using] [diff]
18:35
[79d7aef834] part of check-in [86c9b66b16] OF(MutableDictionary): Use id <OFCopying> where appropriate. (check-in: [86c9b66b16] user: js, branch: trunk, size: 16787) [annotate] [blame] [check-ins using] [diff]
2011-04-28
18:15
[fc654f7782] part of check-in [bbb3994c06] Nicer description for empty collections. (check-in: [bbb3994c06] user: js, branch: 0.5, size: 16296) [annotate] [blame] [check-ins using] [diff]
18:15
[8c80e7b8f4] part of check-in [d01d9805b3] Nicer description for empty collections. (check-in: [d01d9805b3] user: js, branch: trunk, size: 16775) [annotate] [blame] [check-ins using] [diff]
18:03
[7dc1c308f0] part of check-in [362d3ed5e8] Don't allow nil in -[initWithObjectForKey:] and optimize -[description]. (check-in: [362d3ed5e8] user: js, branch: 0.5, size: 16213) [annotate] [blame] [check-ins using] [diff]
18:03
[f052320abe] part of check-in [a5f297053a] Don't allow nil in -[initWithObjectForKey:] and optimize -[description]. (check-in: [a5f297053a] user: js, branch: trunk, size: 16692) [annotate] [blame] [check-ins using] [diff]
2011-04-23
17:52
[188b37a1ab] part of check-in [5085342127] More style improvements. (check-in: [5085342127] user: js, branch: trunk, size: 16458) [annotate] [blame] [check-ins using] [diff]
2011-04-22
16:53
[d2ad80013b] part of check-in [da0d602dc8] Style improvements in OF(Mutable)Dictionary. (check-in: [da0d602dc8] user: js, branch: trunk, size: 16426) [annotate] [blame] [check-ins using] [diff]
2011-04-04
23:02
[69df15df8e] part of check-in [1df836eacc] Indent -[description] of collections. (check-in: [1df836eacc] user: js, branch: trunk, size: 15968) [annotate] [blame] [check-ins using] [diff]
2011-03-27
17:51
[ec5929dd0a] part of check-in [f072e1a338] Pass the causing object for OFEnumerationMutationExceptions. (check-in: [f072e1a338] user: js, branch: trunk, size: 15892) [annotate] [blame] [check-ins using] [diff]
2011-03-24
19:42
[57e1719683] part of check-in [cda44767f4] Get rid of OFExceptions.h. (check-in: [cda44767f4] user: js, branch: trunk, size: 15611) [annotate] [blame] [check-ins using] [diff]
2011-03-22
00:55
[36f0db5679] part of check-in [6d4dfb5bc7] Add -Wshorten-64-to-32. (check-in: [6d4dfb5bc7] user: js, branch: trunk, size: 15518) [annotate] [blame] [check-ins using] [diff]
2011-03-11
12:29
[5163795b89] part of check-in [44f8152a03] Create an autorelease pool before calling blocks. (check-in: [44f8152a03] user: js, branch: trunk, size: 15536) [annotate] [blame] [check-ins using] [diff]
2011-02-26
19:40
[fc36854d4b] part of check-in [06f539766f] Use class swizzling as an optimization. (check-in: [06f539766f] user: js, branch: trunk, size: 15420) [annotate] [blame] [check-ins using] [diff]
2011-02-07
19:22
[484283a6ae] part of check-in [0a6e073938] Add -[containsObject(IdenticalTo):] to OFCollection. (check-in: [0a6e073938] user: js, branch: trunk, size: 14659) [annotate] [blame] [check-ins using] [diff]
2011-01-01
20:19
[3fafb5ab84] part of check-in [da6b3d26cb] Change license. (check-in: [da6b3d26cb] user: js, branch: trunk, size: 14209) [annotate] [blame] [check-ins using] [diff]
2010-12-12
01:21
[f78b09f33a] part of check-in [90c26dded5] Add -[mapped{Array,Dictionary}UsingBlock:]. (check-in: [90c26dded5] user: js, branch: trunk, size: 13953) [annotate] [blame] [check-ins using] [diff]
00:38
[971d7fc20d] part of check-in [42060f220c] Add -[filtered{Array,Dictionary}UsingBlock]. (check-in: [42060f220c] user: js, branch: trunk, size: 13622) [annotate] [blame] [check-ins using] [diff]
2010-12-10
11:21
[172aac0082] part of check-in [fada60d54c] Documentation fixes. (check-in: [fada60d54c] user: js, branch: trunk, size: 13256) [annotate] [blame] [check-ins using] [diff]
2010-11-13
21:57
[cc548c3d18] part of check-in [9b50b86632] Add -[description] for OFObject, OFString, OFArray and OFDictionary. (check-in: [9b50b86632] user: js, branch: trunk, size: 13288) [annotate] [blame] [check-ins using] [diff]
2010-10-25
23:03
[c675091634] 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: 12657) [annotate] [blame] [check-ins using] [diff]
2010-10-19
19:38
[2b1836dbc4] part of check-in [198e343d1f] Fix method signature being different in .h and .m file. (check-in: [198e343d1f] user: js, branch: trunk, size: 14242) [annotate] [blame] [check-ins using] [diff]
2010-09-05
23:19
[f2f7830f20] part of check-in [e2b06423e0] 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. (check-in: [e2b06423e0] user: js, branch: trunk, size: 14253) [annotate] [blame] [check-ins using] [diff]

2010-08-28
18:54
[bf50d5443a] part of check-in [c5d65603d8] Initial support for blocks. (check-in: [c5d65603d8] user: js, branch: trunk, size: 14298) [annotate] [blame] [check-ins using] [diff]
2010-07-08
08:57
[3d989f9035] part of check-in [d4b379485a] Don't retain + autorelease objects returned from collections.

This increases performance and should not need to be handled by the
programmer in most cases. (check-in: [d4b379485a] user: js, branch: trunk, size: 14017) [annotate] [blame] [check-ins using] [diff]

2010-06-13
17:42
[d6200e89ce] part of check-in [e0d581d524] Fix initialization of mutations in OF{Array,Dictionary}Enumerator. (check-in: [e0d581d524] user: js, branch: trunk, size: 14063) [annotate] [blame] [check-ins using] [diff]
2010-04-17
22:27
[0083ef4288] 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: 14033) [annotate] [blame] [check-ins using] [diff]

16:09
[469dcb5227] part of check-in [2517f18272] Give the methods in OFNumber better names. (check-in: [2517f18272] user: js, branch: trunk, size: 14043) [annotate] [blame] [check-ins using] [diff]
15:46
[c58e028e47] 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: 14051) [annotate] [blame] [check-ins using] [diff]
13:29
[dccfd91447] part of check-in [d46212a8cd] Reduce memory usage of OFDictionary and fix hashing. (check-in: [d46212a8cd] user: js, branch: trunk, size: 14060) [annotate] [blame] [check-ins using] [diff]
11:12
[cdc962433d] part of check-in [9f260d5f50] Rewrite OFDictionary code to make it more readable. (check-in: [9f260d5f50] user: js, branch: trunk, size: 13521) [annotate] [blame] [check-ins using] [diff]
10:48
[f856f20ee2] part of check-in [b9015dbc75] Due to a 32 bit hash, a dictionary can never be bigger than UINT32_MAX. (check-in: [b9015dbc75] user: js, branch: trunk, size: 13645) [annotate] [blame] [check-ins using] [diff]
2010-03-18
15:25
[ce38252c5d] part of check-in [cd2b957955] Mach-O needs this initialized, even though we never access it. (check-in: [cd2b957955] user: js, branch: trunk, size: 13462) [annotate] [blame] [check-ins using] [diff]
14:23
[ff5369c591] part of check-in [6cef79231a] Fix a minor bug in OFDictionary's -[initWithObject:forKey:]. (check-in: [6cef79231a] user: js, branch: trunk, size: 13458) [annotate] [blame] [check-ins using] [diff]
13:49
[33cef06086] part of check-in [e3f22b34ea] Fix a bug with deleted buckets in OFDictionary + a few optimizations. (check-in: [e3f22b34ea] user: js, branch: trunk, size: 13074) [annotate] [blame] [check-ins using] [diff]
2010-03-05
11:52
[b35f643373] 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: 12381) [annotate] [blame] [check-ins using] [diff]

2010-02-19
16:36
[2a8ec54404] part of check-in [42886185fd] Update copyright. (check-in: [42886185fd] user: js, branch: trunk, size: 12379) [annotate] [blame] [check-ins using] [diff]
2010-02-11
14:58
[7f2b08c20e] part of check-in [72caeab860] Documentation improvements. (check-in: [72caeab860] user: js, branch: trunk, size: 12379) [annotate] [blame] [check-ins using] [diff]
2010-02-02
18:58
[c2d0cafc7c] part of check-in [832188d759] Rename OFMacros.h to macros.h, as it's not a class. (check-in: [832188d759] user: js, branch: trunk, size: 12347) [annotate] [blame] [check-ins using] [diff]
2010-01-30
15:47
[c81ffb2e26] part of check-in [daae7ffbf3] Make OFEnumerator more general, implement it for OFArray & OFDictionary. (check-in: [daae7ffbf3] user: js, branch: trunk, size: 12349) [annotate] [blame] [check-ins using] [diff]
2010-01-16
15:05
[7f7aa6e96f] part of check-in [1433aef0d0] Reduce dependencies between headers. (check-in: [1433aef0d0] user: js, branch: trunk, size: 11056) [annotate] [blame] [check-ins using] [diff]
14:43
[abf6aee912] part of check-in [1348a32d47] Remove mutation methods from immutable classes' interfaces. (check-in: [1348a32d47] user: js, branch: trunk, size: 11036) [annotate] [blame] [check-ins using] [diff]
2010-01-04
14:29
[7dfec004d5] part of check-in [98f171212d] Backport a few fixes from default branch to 0.1.

This includes the following revisions:
* f91d3a18db7b
* dbe7a578af42
* 95545a36ed0e
* 7806af1b171a
* cacc8353b5c2 (check-in: [98f171212d] user: js, branch: 0.1, size: 10850) [annotate] [blame] [check-ins using] [diff]

2010-01-03
21:08
[df376703da] part of check-in [b110e218cb] Implement Fast Enumeration for OFDictionary. (check-in: [b110e218cb] user: js, branch: trunk, size: 11313) [annotate] [blame] [check-ins using] [diff]
17:28
[c0653a92e6] part of check-in [0d9f732af1] Fix missing retain + autorelease on return. (check-in: [0d9f732af1] user: js, branch: trunk, size: 10854) [annotate] [blame] [check-ins using] [diff]
2009-12-30
13:30
[e62d24d536] part of check-in [b9e9dfb384] Rename OFIterator to OFEnumerator.
This way, we avoid name inconsistency when introducing fast enumeration.
(check-in: [b9e9dfb384] user: js, branch: trunk, size: 10831) [annotate] [blame] [check-ins using] [diff]
2009-12-23
22:36
[67a9356465] part of check-in [d80e2fb1bc] Release local objects before releasing self in @catch. (check-in: [d80e2fb1bc] user: js, branch: trunk, size: 10827) [annotate] [blame] [check-ins using] [diff]
2009-12-05
18:12
[09f88deaa1] part of check-in [de26b7668a] Improve -[initWithKey:argList:]. (check-in: [de26b7668a] user: js, branch: trunk, size: 10827) [annotate] [blame] [check-ins using] [diff]
17:19
[b08a848edb] part of check-in [011e248c30] Fix optimization in OFDictionary / OFMutableDictionary. (check-in: [011e248c30] user: js, branch: trunk, size: 8207) [annotate] [blame] [check-ins using] [diff]
17:15
[0298515cc1] part of check-in [f6e79c23b4] Improve -[initWithObjects:forKeys:]. (check-in: [f6e79c23b4] user: js, branch: trunk, size: 8195) [annotate] [blame] [check-ins using] [diff]
16:54
[6ffe55f0db] part of check-in [e1b790cdfe] Improve readability of -[initWithDictionary:]. (check-in: [e1b790cdfe] user: js, branch: trunk, size: 6618) [annotate] [blame] [check-ins using] [diff]
16:52
[0f7a7ffebd] part of check-in [0fcd9ed4d3] Improve error handling in OFDictionary and OFMutableDictionary. (check-in: [0fcd9ed4d3] user: js, branch: trunk, size: 6626) [annotate] [blame] [check-ins using] [diff]
16:43
[f6cebc6bb3] part of check-in [776cc1c033] Improve -[initWithObject:forKey:]. (check-in: [776cc1c033] user: js, branch: trunk, size: 6373) [annotate] [blame] [check-ins using] [diff]
16:33
[be94e8c683] part of check-in [725b23f325] Improve OFDictionary. (check-in: [725b23f325] user: js, branch: trunk, size: 6318) [annotate] [blame] [check-ins using] [diff]
10:45
[9dd77b8958] part of check-in [d4a60cdef5] Move LDFLAGS for rpath in objfw-config to a separate --rpath flag. (check-in: [d4a60cdef5] user: js, branch: trunk, size: 6269) [annotate] [blame] [check-ins using] [diff]
2009-11-13
23:18
[2dc6749eb1] part of check-in [2555952c42] Implement -[isEqual:] and -[hash] for OFDictionary. (check-in: [2555952c42] user: js, branch: trunk, size: 6192) [annotate] [blame] [check-ins using] [diff]
23:17
[88ba6224ae] part of check-in [679bce8526] Fix a bug in OFDictionary's -[initWithDictionary:]. (check-in: [679bce8526] user: js, branch: trunk, size: 5471) [annotate] [blame] [check-ins using] [diff]
2009-11-09
22:45
[331787d6d4] part of check-in [a3cc34b139] Rename libobjfw to ObjFW. (check-in: [a3cc34b139] user: js, branch: trunk, size: 5448) [annotate] [blame] [check-ins using] [diff]
2009-10-05
18:56
[bf06454e8f] part of check-in [2f1933eb24] Rename OFArray's and OFDataArray's -[data] to -[cArray]. (check-in: [2f1933eb24] user: js, branch: trunk, size: 5451) [annotate] [blame] [check-ins using] [diff]
2009-09-30
15:01
[7f0d5a8891] part of check-in [e7a372fea9] Migration of OFDataArray tests to new testing framework. (check-in: [e7a372fea9] user: js, branch: trunk, size: 5435) [annotate] [blame] [check-ins using] [diff]
2009-09-08
16:06
[3ddd956ea4] part of check-in [bbf1f79b8f] New OFDictionary implementation and removal of a hack in OFList.

The new implementation is easier to use as it does automatic resizing,
but therefore it's not realtime-capable anymore. The new implementation
should also be a little bit faster.

I decided to change the implementation as only very few need a
realtime-capable dictionary and those few will most likely write their
own implementation for their specific case anyway.

As the new implementation no longer uses OFList, this also made it
possible to remove a hack from OFList. (check-in: [bbf1f79b8f] user: js, branch: trunk, size: 5389) [annotate] [blame] [check-ins using] [diff]

2009-07-19
14:05
[c824cfaef7] part of check-in [4eae61a78f] Rename andFoo: to foo: in all methods. (check-in: [4eae61a78f] user: js, branch: trunk, size: 9429) [annotate] [blame] [check-ins using] [diff]
2009-06-30
13:38
[59d8f02b6d] part of check-in [eddc0ba58c] Implement OFCopying and OFMutableCopying in OFDictionary. (check-in: [eddc0ba58c] user: js, branch: trunk, size: 9435) [annotate] [blame] [check-ins using] [diff]
2009-06-29
12:33
[9fa2393e86] 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: 7621) [annotate] [blame] [check-ins using] [diff]

2009-06-18
18:42
[ea26220ad7] part of check-in [f9c673f241] Preliminary OFXMLElement implementation. (check-in: [f9c673f241] user: js, branch: trunk, size: 6752) [annotate] [blame] [check-ins using] [diff]
18:26
[3ec4eb0e31] part of check-in [47e65e5a97] Add -[appendCStringWithoutUTF8Checking:]. (check-in: [47e65e5a97] user: js, branch: trunk, size: 6751) [annotate] [blame] [check-ins using] [diff]
2009-06-09
20:10
[01f5ecb4a1] part of check-in [41974cf38d] Move documentation of mutating methods.
Mutating methods are now documented in the mutable class.
(check-in: [41974cf38d] user: js, branch: trunk, size: 6750) [annotate] [blame] [check-ins using] [diff]
2009-05-29
19:21
[2b0ed74966] part of check-in [033054ad75] 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]. (check-in: [033054ad75] user: js, branch: trunk, size: 6750) [annotate] [blame] [check-ins using] [diff]

2009-05-24
18:04
[84358f6373] part of check-in [94ea6848a8] Always use #include "config.h" instead of #import "config.h". (check-in: [94ea6848a8] user: js, branch: trunk, size: 6728) [annotate] [blame] [check-ins using] [diff]
2009-05-23
16:50
[232cbc945d] part of check-in [a29d403286] A few renames in OFArray, OFDataArray and OFDictionary.

OFArray:
* Rename - object: to - objectAtIndex:.

OFDataArray:
* Rename - item: to - itemAtIndex:.

OFDictionary:
* Rename - get: to - objectForKey:.
* Rename - set:to: to - setObject:forKey:.
* Rename - remove: to - removeObjectForKey:. (check-in: [a29d403286] user: js, branch: trunk, size: 6727) [annotate] [blame] [check-ins using] [diff]

2009-05-19
16:51
[921468f6aa] part of check-in [7f7e9715e1] Add - isEqual: for OFList. (check-in: [7f7e9715e1] user: js, branch: trunk, size: 6694) [annotate] [blame] [check-ins using] [diff]
16:15
[7df4d449e0] part of check-in [5413ba3c49] One more convenience method for OFDictionary. (check-in: [5413ba3c49] user: js, branch: trunk, size: 6694) [annotate] [blame] [check-ins using] [diff]
2009-05-18
22:47
[bbacfd711b] part of check-in [5d9ea7b9cc] Add another convenience method for OFDictionary. (check-in: [5d9ea7b9cc] user: js, branch: trunk, size: 5388) [annotate] [blame] [check-ins using] [diff]
22:21
[e1fdd39466] part of check-in [b02800172f] Add a new convenience method for OFDictionary. (check-in: [b02800172f] user: js, branch: trunk, size: 4531) [annotate] [blame] [check-ins using] [diff]
20:53
[c51c9bd24f] part of check-in [71abb030af] Split OFDictionary into OFDictionary and OFMutableDictionary. (check-in: [71abb030af] user: js, branch: trunk, size: 2926) [annotate] [blame] [check-ins using] [diff]
18:57
[22afc84d9d] part of check-in [3b59111e0a] Create a copy of the key in OFDictionary. (check-in: [3b59111e0a] user: js, branch: trunk, size: 4730) [annotate] [blame] [check-ins using] [diff]
2009-05-16
14:28
[9d6c8f24dc] part of check-in [b992a4b0e5] Add OFURLEncoding for OFString category. (check-in: [b992a4b0e5] user: js, branch: trunk, size: 4550) [annotate] [blame] [check-ins using] [diff]
2009-05-14
14:24
[ab1ae07d78] part of check-in [bdc9b3219f] Get rid of OFNotInSetException. (check-in: [bdc9b3219f] user: js, branch: trunk, size: 4542) [annotate] [blame] [check-ins using] [diff]
2009-05-13
20:31
[967868d132] part of check-in [9e6dd00ef5] Rename - free to - (void)dealloc. (check-in: [9e6dd00ef5] user: js, branch: trunk, size: 4600) [annotate] [blame] [check-ins using] [diff]
2009-05-05
14:00
[8b4c9a4782] part of check-in [9338313079] There is a good reason to return id and not OFObject*.

When using OFObject*, you have to cast to get rid of a warning when
calling methods on the returned object. (check-in: [9338313079] user: js, branch: trunk, size: 4574) [annotate] [blame] [check-ins using] [diff]

2009-05-04
18:04
[078e9942b2] part of check-in [c90c6510f1] Add - averageItemsPerBucket to OFDictionary. (check-in: [c90c6510f1] user: js, branch: trunk, size: 4570) [annotate] [blame] [check-ins using] [diff]
17:27
[4972fbd8f3] part of check-in [5e77541e4d] Add - changeHashSize: to OFDictionary. (check-in: [5e77541e4d] user: js, branch: trunk, size: 4338) [annotate] [blame] [check-ins using] [diff]
16:57
[3e22e7bae1] part of check-in [27a9132794] Fix wrong memset in OFDictionary. (check-in: [27a9132794] user: js, branch: trunk, size: 3461) [annotate] [blame] [check-ins using] [diff]
2009-05-03
21:33
[9fb096432b] part of check-in [5ca127891c] Get rid of + new.
Additionally, make - accept return an autoreleased OFTCPSocket.
(check-in: [5ca127891c] user: js, branch: trunk, size: 3425) [annotate] [blame] [check-ins using] [diff]
2009-05-01
22:28
[e7cc2d1d1a] part of check-in [06ad922132] Work around a compiler bug that occurs on OS X.

It seems super has the wrong type (struct _objc_super*) inside a
@try block. (check-in: [06ad922132] user: js, branch: trunk, size: 3416) [annotate] [blame] [check-ins using] [diff]

18:15
[84c38f0c0c] part of check-in [e9d48d0beb] Call [super free] on error in init methods.

Reason is that - free might free stuff which is allocated during the
initialization, which might not be allocated when an error occurred. (check-in: [e9d48d0beb] user: js, branch: trunk, size: 3146) [annotate] [blame] [check-ins using] [diff]

2009-04-26
12:44
[a34c760d2b] part of check-in [e959fed010] A few renames in OFObject.

getMemWithSize: -> allocWithSize:
getMemForNItems:ofSize: -> allocNItems:withSize:
resizeMem:toNItems:ofSize: -> resizeMem:toNItems:withSize: (check-in: [e959fed010] user: js, branch: trunk, size: 3143) [annotate] [blame] [check-ins using] [diff]

2009-04-25
18:59
[a124a729d9] part of check-in [fc35094306] Add reference for static linking. (check-in: [fc35094306] user: js, branch: trunk, size: 3159) [annotate] [blame] [check-ins using] [diff]
2009-04-24
13:57
[4ec6bb16d4] part of check-in [fa52eae66a] Neither the key nor the value in a dictionary is allowed to be nil. (check-in: [fa52eae66a] user: js, branch: trunk, size: 3028) [annotate] [blame] [check-ins using] [diff]
2009-04-23
12:07
[2b0561f376] part of check-in [69b468f9f2] Free the list in the dictionary when the last object in it was removed. (check-in: [69b468f9f2] user: js, branch: trunk, size: 2765) [annotate] [blame] [check-ins using] [diff]
2009-04-22
22:37
[e981a8bffe] part of check-in [36d50170c9] Throw exception if the key was not found in the OFDictionary. (check-in: [36d50170c9] user: js, branch: trunk, size: 2674) [annotate] [blame] [check-ins using] [diff]
2009-04-21
17:30
[c3ececb121] part of check-in [0977cd6fa6] Remove useless == nil check - it can't be nil. (check-in: [0977cd6fa6] user: js, branch: trunk, size: 2587) [annotate] [blame] [check-ins using] [diff]
17:16
[570b1e1aa5] part of check-in [d87df02e8b] The if ((self = [super init])) construct isn't needed anymore. (check-in: [d87df02e8b] user: js, branch: trunk, size: 2691) [annotate] [blame] [check-ins using] [diff]
2009-04-19
20:34
[ae861b76c6] part of check-in [139591afe1] Use isa instead of [self class].

Since we don't use Object anymore and define isa in OFObject, we can
rely on it. (check-in: [139591afe1] user: js, branch: trunk, size: 2742) [annotate] [blame] [check-ins using] [diff]

2009-04-12
14:51
[065f154d58] part of check-in [cbdd534337] Get rid of the dependency on Object.

This allows libobjfw to run on ObjC2-only runtimes like the one on the
iPhone. However, it's still relying on objc_msgSendv for plugins, which
is unavailable in ObjC2-only runtimes, thus OFPlugins are unavailable
on the iPhone until I write a replacement for objc_msgSendv. (check-in: [cbdd534337] user: js, branch: trunk, size: 2751) [annotate] [blame] [check-ins using] [diff]

2009-03-15
16:54
[8d722a0684] part of check-in [c9b6747306] Fix missing #import "config.h". (check-in: [c9b6747306] user: js, branch: trunk, size: 2814) [annotate] [blame] [check-ins using] [diff]
13:46
[e494105a2e] part of check-in [2ff44fe8d7] Preliminary OFConstString implementation and support for @"" literals. (check-in: [2ff44fe8d7] user: js, branch: trunk, size: 2794) [annotate] [blame] [check-ins using] [diff]
2009-03-08
19:40
[fa7f05506c] part of check-in [f79affc610] Fix missing include. (check-in: [f79affc610] user: js, branch: trunk, size: 2731) [annotate] [blame] [check-ins using] [diff]
16:06
Added: [8614525c94] part of check-in [8177b8b8b2] Add preliminary OFDictionary implementation. (check-in: [8177b8b8b2] user: js, branch: trunk, size: 2710) [annotate] [blame] [check-ins using]