ObjFW  History of src/OFDictionary.m of f6cc2092af2a9dd2

History of file src/OFDictionary.m at check-in f6cc2092af2a9dd2

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

2023-04-10
19:22
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. file: [12d43fb634] check-in: [6ce0093f8d] user: js, branch: trunk, size: 15933 [annotate] [blame] [check-ins using] [diff]

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

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

2022-09-28
22:02
Remove -[OFDictionary URIQueryString]

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

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

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

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

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

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

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

This is now unreserved + sub-delims from RFC 3986. file: [26c35d80f1] check-in: [4db6713bda] user: js, branch: trunk, size: 17287 [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: [21f0c3f7c0] check-in: [2f4e0df8be] user: js, branch: trunk, size: 17199 [annotate] [blame] [check-ins using] [diff]

2017-09-28
23:02
Enable -Wnullable-to-nonnull-conversion and adjust file: [20c3611bfd] check-in: [2de9660312] user: js, branch: trunk, size: 16929 [annotate] [blame] [check-ins using] [diff]
2017-07-22
20:50
Split OFDataArray into OFData and OFMutableData file: [bd2dcff559] check-in: [c8f7b90082] user: js, branch: trunk, size: 16925 [annotate] [blame] [check-ins using] [diff]
2017-06-25
17:13
Add -[OFDictionary stringByURLEncoding] file: [3fca05019c] check-in: [2fafde4058] user: js, branch: trunk, size: 16917 [annotate] [blame] [check-ins using] [diff]
2017-05-21
21:28
Prefix private methods with of_ instead of OF_

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

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

2017-05-01
13:51
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. file: [537dc67d0c] check-in: [cfd54bd090] user: js, branch: trunk, size: 16186 [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: [79c3103a2a] check-in: [44f45c2e35] user: js, branch: trunk, size: 16187 [annotate] [blame] [check-ins using] [diff]

2016-09-12
00:27
Add OF_DEALLOC_UNSUPPORTED macro file: [3f825e393b] check-in: [13f4c6c678] user: js, branch: trunk, size: 16181 [annotate] [blame] [check-ins using] [diff]
2016-06-05
15:11
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. file: [034710c781] check-in: [f816d1ec7c] user: js, branch: trunk, size: 16237 [annotate] [blame] [check-ins using] [diff]

14:32
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:]. file: [3204259101] check-in: [cbacea7ca3] user: js, branch: trunk, size: 15678 [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:43
Update copyright

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

00:41
Update copyright

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

2015-11-29
14:23
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. file: [4d31711ac3] check-in: [2aca549d60] user: js, branch: trunk, size: 15342 [annotate] [blame] [check-ins using] [diff]

14:02
Make use of fast enumeration

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

2015-06-12
23:59
Add support for and use the new ObjC generics file: [fae9385bda] check-in: [5329fe7c1a] user: js, branch: trunk, size: 15362 [annotate] [blame] [check-ins using] [diff]
2015-01-03
20:57
Update copyright file: [58aa170985] check-in: [cfd374b906] user: js, branch: trunk, size: 15362 [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: [cc9eebbd4d] check-in: [13ee56edf3] user: js, branch: trunk, size: 15356 [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: [64a914391d] check-in: [68d32a92c1] user: js, branch: trunk, size: 15400 [annotate] [blame] [check-ins using] [diff]

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

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

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

2013-06-19
19:14
Implement the new MessagePack specification.

No support for extensions yet.

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

2013-04-09
21:37
Simplify -[OFDictionary all{Keys,Objects}].

This is possible now since +[OFArray arrayWithCapacity:] has been added. file: [ff91f774b0] check-in: [bff98a6244] user: js, branch: trunk, size: 14158 [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: [b5ab4c9ae4] check-in: [c5ef582958] user: js, branch: trunk, size: 14518 [annotate] [blame] [check-ins using] [diff]

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

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

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

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

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

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

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

2011-07-22
17:03
Improve methods using blocks in OFDictionary.

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

2011-07-21
19:03
Add -[allKeys] and -[allObjects] to OFDictionary. file: [b5e17c6561] check-in: [cc87fcff36] user: js, branch: trunk, size: 20716 [annotate] [blame] [check-ins using] [diff]
2011-07-18
22:53
Add OFSet and OFMutableSet. file: [78f590ebf2] check-in: [8df328d503] user: js, branch: trunk, size: 19893 [annotate] [blame] [check-ins using] [diff]
2011-07-17
16:38
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. file: [58ee7d242e] check-in: [8ff55bf218] user: js, branch: trunk, size: 19689 [annotate] [blame] [check-ins using] [diff]

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

18:49
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. file: [10ad77a11e] check-in: [50457cd1fd] user: js, branch: trunk, size: 19847 [annotate] [blame] [check-ins using] [diff]

2011-06-03
15:14
Add deserialization. file: [a5322a8311] check-in: [dca3061dfc] user: js, branch: trunk, size: 19835 [annotate] [blame] [check-ins using] [diff]
2011-05-14
12:26
Use XML for serialization.

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

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

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

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

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

16:09
Give the methods in OFNumber better names. file: [469dcb5227] check-in: [2517f18272] user: js, branch: trunk, size: 14043 [annotate] [blame] [check-ins using] [diff]
15:46
Don't return self where not necessary, return void or something useful. file: [c58e028e47] check-in: [062a052b50] user: js, branch: trunk, size: 14051 [annotate] [blame] [check-ins using] [diff]
13:29
Reduce memory usage of OFDictionary and fix hashing. file: [dccfd91447] check-in: [d46212a8cd] user: js, branch: trunk, size: 14060 [annotate] [blame] [check-ins using] [diff]
11:12
Rewrite OFDictionary code to make it more readable. file: [cdc962433d] check-in: [9f260d5f50] user: js, branch: trunk, size: 13521 [annotate] [blame] [check-ins using] [diff]
10:48
Due to a 32 bit hash, a dictionary can never be bigger than UINT32_MAX. file: [f856f20ee2] check-in: [b9015dbc75] user: js, branch: trunk, size: 13645 [annotate] [blame] [check-ins using] [diff]
2010-03-18
15:25
Mach-O needs this initialized, even though we never access it. file: [ce38252c5d] check-in: [cd2b957955] user: js, branch: trunk, size: 13462 [annotate] [blame] [check-ins using] [diff]
14:23
Fix a minor bug in OFDictionary's -[initWithObject:forKey:]. file: [ff5369c591] check-in: [6cef79231a] user: js, branch: trunk, size: 13458 [annotate] [blame] [check-ins using] [diff]
13:49
Fix a bug with deleted buckets in OFDictionary + a few optimizations. file: [33cef06086] check-in: [e3f22b34ea] user: js, branch: trunk, size: 13074 [annotate] [blame] [check-ins using] [diff]
2010-03-05
11:52
Merge a few changesets from the default branch into the 0.2 branch.

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

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

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

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

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

2009-06-18
18:42
Preliminary OFXMLElement implementation. file: [ea26220ad7] check-in: [f9c673f241] user: js, branch: trunk, size: 6752 [annotate] [blame] [check-ins using] [diff]
18:26
Add -[appendCStringWithoutUTF8Checking:]. file: [3ec4eb0e31] check-in: [47e65e5a97] user: js, branch: trunk, size: 6751 [annotate] [blame] [check-ins using] [diff]
2009-06-09
20:10
Move documentation of mutating methods.
Mutating methods are now documented in the mutable class.
file: [01f5ecb4a1] check-in: [41974cf38d] user: js, branch: trunk, size: 6750 [annotate] [blame] [check-ins using] [diff]
2009-05-29
19:21
A few renames.

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

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

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

2009-05-24
18:04
Always use #include "config.h" instead of #import "config.h". file: [84358f6373] check-in: [94ea6848a8] user: js, branch: trunk, size: 6728 [annotate] [blame] [check-ins using] [diff]
2009-05-23
16:50
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:. file: [232cbc945d] check-in: [a29d403286] user: js, branch: trunk, size: 6727 [annotate] [blame] [check-ins using] [diff]

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

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

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

18:15
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. file: [84c38f0c0c] check-in: [e9d48d0beb] user: js, branch: trunk, size: 3146 [annotate] [blame] [check-ins using] [diff]

2009-04-26
12:44
A few renames in OFObject.

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

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

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

2009-04-12
14:51
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. file: [065f154d58] check-in: [cbdd534337] user: js, branch: trunk, size: 2751 [annotate] [blame] [check-ins using] [diff]

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