ObjFW  History of src/OFDictionary_hashtable.m of 25df622287ea672e

History of the file that is called src/OFDictionary_hashtable.m at check-in 25df622287ea672e

2019-06-17
02:33
Deleted: Remove underscores from class names (check-in: [17d57e01ff] user: js, branch: trunk, size: 0)
2019-03-08
00:35
[59f7a05c14] part of check-in [bceb7ed4c9] Use dot syntax (check-in: [bceb7ed4c9] user: js, branch: trunk, size: 9192) [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
[4b8b632d36] part of check-in [0509d7a844] Update copyright (check-in: [0509d7a844] user: js, branch: trunk, size: 9216) [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
[54808ed9d5] part of check-in [7e5c81e186] Update copyright notice (check-in: [7e5c81e186] user: js, branch: trunk, size: 9210) [annotate] [blame] [check-ins using] [diff]
2017-11-11
23:27
[03c2ec717a] part of check-in [526feacebc] Small optimization for -[isEqual:] (check-in: [526feacebc] user: js, branch: trunk, size: 9187) [annotate] [blame] [check-ins using] [diff]
2017-10-17
00:33
[4b2eb176eb] 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: 9173) [annotate] [blame] [check-ins using] [diff]

2017-09-28
23:02
[6d5e327cda] part of check-in [2de9660312] Enable -Wnullable-to-nonnull-conversion and adjust (check-in: [2de9660312] user: js, branch: trunk, size: 9075) [annotate] [blame] [check-ins using] [diff]
2017-05-07
20:10
[0f9f60ec04] 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: 9037) [annotate] [blame] [check-ins using] [diff]

2017-01-09
17:36
[3138cd18bb] 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: 9023) [annotate] [blame] [check-ins using] [diff]

2016-06-04
18:49
[5ceb760b7b] part of check-in [1ba9c051a6] OFMapTable: Rename valueForKey to objectForKey

The reason for this is that -[valueForKey:] could be confused with
Key Value Coding. (check-in: [1ba9c051a6] user: js, branch: trunk, size: 9017) [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:41
[07ad349225] part of check-in [2a27cf3000] Update copyright

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

2015-04-14
19:46
[69f9af36bb] part of check-in [5d729d9ba0] Add a few more const (check-in: [5d729d9ba0] user: js, branch: trunk, size: 8975) [annotate] [blame] [check-ins using] [diff]
2015-02-19
00:08
[bb3cc5cb8b] part of check-in [ca15726954] OFDictionary_hashtable: Use release in dealloc (check-in: [ca15726954] user: js, branch: trunk, size: 8963) [annotate] [blame] [check-ins using] [diff]
2015-01-03
20:57
[0d9c86e55f] part of check-in [cfd374b906] Update copyright (check-in: [cfd374b906] user: js, branch: trunk, size: 8963) [annotate] [blame] [check-ins using] [diff]
2014-07-16
17:02
[29f3ee3bba] part of check-in [2ecede1f96] Fix check in -[OFDictionary_hashtable isEqual:]

Instead of checking the passed dictionary, this checked self, which of
course would always be of type OFDictionary_hashtable.

While at it, use -[isKindOfClass:] instead for the check. (check-in: [2ecede1f96] user: js, branch: trunk, size: 8957) [annotate] [blame] [check-ins using] [diff]

2014-06-21
21:43
[773b906c93] 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: 8919) [annotate] [blame] [check-ins using] [diff]

2014-01-04
00:24
[6963fcfbf5] part of check-in [3b97fc3cd9] Update copyright. (check-in: [3b97fc3cd9] user: js, branch: trunk, size: 8944) [annotate] [blame] [check-ins using] [diff]
2013-12-01
12:12
[d0ad27fa3a] part of check-in [d7b691c402] Make OFMapTableEnumeratorWrapper private. (check-in: [d7b691c402] user: js, branch: trunk, size: 8938) [annotate] [blame] [check-ins using] [diff]
2013-06-22
12:12
[cf3019ae25] 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: 8905) [annotate] [blame] [check-ins using] [diff]

2013-03-30
20:07
[522c9d1fef] part of check-in [57a6e8ef79] Improve code readability. (check-in: [57a6e8ef79] user: js, branch: trunk, size: 9393) [annotate] [blame] [check-ins using] [diff]
2013-03-04
18:32
[312b1063e8] part of check-in [0bb3fc850a] Make old GCCs happy. (check-in: [0bb3fc850a] user: js, branch: trunk, size: 9265) [annotate] [blame] [check-ins using] [diff]
17:20
[df272a2515] 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: 9242) [annotate] [blame] [check-ins using] [diff]

2013-03-01
21:19
[c66bc3b5e1] part of check-in [2de15db195] Rethrow some exceptions to fix class.

This way, the error message will show the called class instead of the
class used internally. (check-in: [2de15db195] user: js, branch: trunk, size: 9242) [annotate] [blame] [check-ins using] [diff]

2013-02-12
18:22
[6f8779fe47] part of check-in [e40729d406] Prefix all ivars with an underscore. (check-in: [e40729d406] user: js, branch: trunk, size: 9084) [annotate] [blame] [check-ins using] [diff]
2013-01-09
22:24
[27697200eb] part of check-in [813c00ccf0] Update copyright. (check-in: [813c00ccf0] user: js, branch: trunk, size: 9058) [annotate] [blame] [check-ins using] [diff]
2012-12-22
15:37
[2aa9021130] part of check-in [917ce5754c] Add -[doesNotRecognizeSelector:]. (check-in: [917ce5754c] user: js, branch: trunk, size: 9052) [annotate] [blame] [check-ins using] [diff]
2012-12-01
18:08
[368527d2d0] part of check-in [1abbb97747] OFDictionary_hashtable: Store in OFMapTable. (check-in: [1abbb97747] user: js, branch: trunk, size: 9090) [annotate] [blame] [check-ins using] [diff]
2012-11-12
11:24
[a181bd3b11] part of check-in [f5c4220251] Check more arguments for nil. (check-in: [f5c4220251] user: js, branch: trunk, size: 18203) [annotate] [blame] [check-ins using] [diff]
2012-11-02
21:39
[f94483610d] part of check-in [62497de4c2] Small fix in OFDictionaryEnumerator_hashtable. (check-in: [62497de4c2] user: js, branch: trunk, size: 18020) [annotate] [blame] [check-ins using] [diff]
2012-09-16
15:27
[362543b076] part of check-in [c137da5e5b] Prefix all private methods with OF_. (check-in: [c137da5e5b] user: js, branch: trunk, size: 18002) [annotate] [blame] [check-ins using] [diff]
2012-08-10
20:08
[ce4770d88a] 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: 17994) [annotate] [blame] [check-ins using] [diff]

2012-07-12
01:28
[64cc71dd61] part of check-in [8892ae9fcc] Don't access isa directly. (check-in: [8892ae9fcc] user: js, branch: trunk, size: 18063) [annotate] [blame] [check-ins using] [diff]
2012-06-10
13:28
[81e5d7fd45] part of check-in [11d3d69a22] More API improvements. (check-in: [11d3d69a22] user: js, branch: trunk, size: 17811) [annotate] [blame] [check-ins using] [diff]
2012-06-06
13:47
[c77b46c66d] 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: 17860) [annotate] [blame] [check-ins using] [diff]

2012-03-29
07:57
[2511a02b50] part of check-in [89d53f2a9a] Add a few "const" where they make sense. (check-in: [89d53f2a9a] user: js, branch: trunk, size: 17816) [annotate] [blame] [check-ins using] [diff]
2012-03-12
12:14
[fd15d2ff3e] part of check-in [d42a56787b] Add +[OFDictionary dictionaryWithObjects:forKeys:count:]. (check-in: [d42a56787b] user: js, branch: trunk, size: 17804) [annotate] [blame] [check-ins using] [diff]
11:54
[dc60bfa33c] 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: 17572) [annotate] [blame] [check-ins using] [diff]

2012-01-05
00:56
[a4ce122b88] part of check-in [ce70e17b38] Update copyright. (check-in: [ce70e17b38] user: js, branch: trunk, size: 17564) [annotate] [blame] [check-ins using] [diff]
2011-10-24
15:47
[86b064ec63] part of check-in [1bec445dd2] Make sure the fullness of a hashtable is always at max 3/4.

Before, this was only ensured if you mutated the dictionary at least
once. (check-in: [1bec445dd2] user: js, branch: trunk, size: 17558) [annotate] [blame] [check-ins using] [diff]

2011-09-22
23:25
[e193cfb1d7] 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: 17408) [annotate] [blame] [check-ins using] [diff]

2011-09-19
16:34
[a4202c2dfc] part of check-in [f173477bef] Rename -[allocMemoryForNItems:withSize:] and friends.
It is now -[allocMemoryForNItems:ofSize:].
(check-in: [f173477bef] user: js, branch: trunk, size: 17249) [annotate] [blame] [check-ins using] [diff]
2011-09-10
23:54
[8e095b45a0] part of check-in [3687c35784] Make use of the fact that -[retain] and -[release] must not throw. (check-in: [3687c35784] user: js, branch: trunk, size: 17263) [annotate] [blame] [check-ins using] [diff]
2011-08-22
10:10
[2751804ef6] part of check-in [ba9f2608cc] Small optimization in -[OFDictionary_hashtable initWithDictionary:]. (check-in: [ba9f2608cc] user: js, branch: trunk, size: 18028) [annotate] [blame] [check-ins using] [diff]
09:58
[5217ffcc95] part of check-in [367bf4117b] Clean up the class hierarchy in the doxygen generated documentation. (check-in: [367bf4117b] user: js, branch: trunk, size: 17832) [annotate] [blame] [check-ins using] [diff]
2011-08-21
11:03
Added: [2ec4537eb9] part of check-in [c0098f89fe] Make OFDictionary an abstract class. (check-in: [c0098f89fe] user: js, branch: trunk, size: 17904) [annotate] [blame] [check-ins using]