ObjFW  History of src/OFDictionary_hashtable.m of 3eae98e873ee8f15

History of file src/OFDictionary_hashtable.m at check-in 3eae98e873ee8f15

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
Use dot syntax file: [59f7a05c14] check-in: [bceb7ed4c9] user: js, branch: trunk, size: 9192 [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
Update copyright file: [4b8b632d36] check-in: [0509d7a844] user: js, branch: trunk, size: 9216 [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
Update copyright notice file: [54808ed9d5] check-in: [7e5c81e186] user: js, branch: trunk, size: 9210 [annotate] [blame] [check-ins using] [diff]
2017-11-11
23:27
Small optimization for -[isEqual:] file: [03c2ec717a] check-in: [526feacebc] user: js, branch: trunk, size: 9187 [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: [4b2eb176eb] check-in: [2f4e0df8be] user: js, branch: trunk, size: 9173 [annotate] [blame] [check-ins using] [diff]

2017-09-28
23:02
Enable -Wnullable-to-nonnull-conversion and adjust file: [6d5e327cda] check-in: [2de9660312] user: js, branch: trunk, size: 9075 [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: [0f9f60ec04] check-in: [4af49a13c3] user: js, branch: trunk, size: 9037 [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: [3138cd18bb] check-in: [44f45c2e35] user: js, branch: trunk, size: 9023 [annotate] [blame] [check-ins using] [diff]

2016-06-04
18:49
OFMapTable: Rename valueForKey to objectForKey

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

2016-01-03
00:41
Update copyright

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

2015-04-14
19:46
Add a few more const file: [69f9af36bb] check-in: [5d729d9ba0] user: js, branch: trunk, size: 8975 [annotate] [blame] [check-ins using] [diff]
2015-02-19
00:08
OFDictionary_hashtable: Use release in dealloc file: [bb3cc5cb8b] check-in: [ca15726954] user: js, branch: trunk, size: 8963 [annotate] [blame] [check-ins using] [diff]
2015-01-03
20:57
Update copyright file: [0d9c86e55f] check-in: [cfd374b906] user: js, branch: trunk, size: 8963 [annotate] [blame] [check-ins using] [diff]
2014-07-16
17:02
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. file: [29f3ee3bba] check-in: [2ecede1f96] user: js, branch: trunk, size: 8957 [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: [773b906c93] check-in: [13ee56edf3] user: js, branch: trunk, size: 8919 [annotate] [blame] [check-ins using] [diff]

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

2013-03-30
20:07
Improve code readability. file: [522c9d1fef] check-in: [57a6e8ef79] user: js, branch: trunk, size: 9393 [annotate] [blame] [check-ins using] [diff]
2013-03-04
18:32
Make old GCCs happy. file: [312b1063e8] check-in: [0bb3fc850a] user: js, branch: trunk, size: 9265 [annotate] [blame] [check-ins using] [diff]
17:20
Replace BOOL with bool.

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

2013-03-01
21:19
Rethrow some exceptions to fix class.

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

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

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

2012-03-29
07:57
Add a few "const" where they make sense. file: [2511a02b50] check-in: [89d53f2a9a] user: js, branch: trunk, size: 17816 [annotate] [blame] [check-ins using] [diff]
2012-03-12
12:14
Add +[OFDictionary dictionaryWithObjects:forKeys:count:]. file: [fd15d2ff3e] check-in: [d42a56787b] user: js, branch: trunk, size: 17804 [annotate] [blame] [check-ins using] [diff]
11:54
OFArray: +[arrayWithCArray:length:] -> +[arrayWithObjects:count:].

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

2012-01-05
00:56
Update copyright. file: [a4ce122b88] check-in: [ce70e17b38] user: js, branch: trunk, size: 17564 [annotate] [blame] [check-ins using] [diff]
2011-10-24
15:47
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. file: [86b064ec63] check-in: [1bec445dd2] user: js, branch: trunk, size: 17558 [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: [e193cfb1d7] check-in: [e1e7ffa903] user: js, branch: trunk, size: 17408 [annotate] [blame] [check-ins using] [diff]

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