ObjFW  History of src/OFMutableSet.m of e320edd7de373f7f

History of file src/OFMutableSet.m at check-in e320edd7de373f7f

2024-04-03
02:16
Change license to LGPLv3 only file: [bbb9f25aa2] check-in: [7413a728a7] user: js, branch: trunk, size: 4347 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [9ec1cd87e9] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 4139 [annotate] [blame] [check-ins using] [diff]
2023-08-13
22:02
OFSet: Add designated initializers file: [ddcd040e35] check-in: [d0205355f5] user: js, branch: trunk, size: 4139 [annotate] [blame] [check-ins using] [diff]
2023-08-09
10:09
More consistency in naming of private classes file: [c4dda1aa5f] check-in: [281b494de4] user: js, branch: trunk, size: 3388 [annotate] [blame] [check-ins using] [diff]
09:08
Add OF_SINGLETON_METHODS file: [52a6d0078f] check-in: [36310f6263] user: js, branch: trunk, size: 3388 [annotate] [blame] [check-ins using] [diff]
2023-08-08
15:32
A few minor cleanups file: [7b6fef28d7] check-in: [a6f520157a] user: js, branch: trunk, size: 3521 [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: [f395937f21] check-in: [6ce0093f8d] user: js, branch: trunk, size: 3722 [annotate] [blame] [check-ins using] [diff]

2023-01-06
09:04
Update copyright file: [da878db78b] check-in: [8939cbdb52] user: js, branch: trunk, size: 3870 [annotate] [blame] [check-ins using] [diff]
2022-11-16
01:27
Add OFAssert()

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

2022-02-12
07:46
Update copyright file: [b126234b89] check-in: [1a86b8175b] user: js, branch: trunk, size: 3868 [annotate] [blame] [check-ins using] [diff]
2021-04-17
22:45
Rename of_(re)alloc and add OFFreeMemory file: [4c13c1c2d3] check-in: [498074dab9] user: js, branch: new-naming-convention, size: 3868 [annotate] [blame] [check-ins using] [diff]
2021-03-07
20:25
*.m: Fold methods into one line where it fits file: [880e8c01b7] check-in: [1b82d3bf4f] user: js, branch: trunk, size: 3855 [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
Update copyright file: [00cf253ec8] check-in: [374e1a1bfa] user: js, branch: trunk, size: 3872 [annotate] [blame] [check-ins using] [diff]
2020-11-14
12:23
Rename of_malloc and of_calloc

The new names should be more accurate. file: [4037992100] check-in: [627511b032] user: js, branch: trunk, size: 3961 [annotate] [blame] [check-ins using] [diff]

2020-11-05
00:24
Avoid -[allocMemoryWithSize:] for temporary memory

-[allocMemoryWithSize:] has book keeping overhead that is unnecessary
for temporary memory. file: [247e02065c] check-in: [0ddaac3f5b] user: js, branch: trunk, size: 3962 [annotate] [blame] [check-ins using] [diff]

2020-01-02
01:51
Update copyright file: [460faa4705] check-in: [c7f0229795] user: js, branch: trunk, size: 4008 [annotate] [blame] [check-ins using] [diff]
2019-06-17
02:33
Remove underscores from class names file: [faab6f9ba1] check-in: [17d57e01ff] user: js, branch: trunk, size: 4005 [annotate] [blame] [check-ins using] [diff]
2019-03-08
00:35
Use dot syntax file: [5d818f447d] check-in: [bceb7ed4c9] user: js, branch: trunk, size: 4025 [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
Update copyright file: [d3bbc8f1ec] check-in: [0509d7a844] user: js, branch: trunk, size: 4027 [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
Update copyright notice file: [0d784a4f98] check-in: [7e5c81e186] user: js, branch: trunk, size: 4021 [annotate] [blame] [check-ins using] [diff]
2017-11-05
18:25
Use -[isMemberOfClass:] instead of object_getClass file: [68b3341f85] check-in: [0a4565fb0f] user: js, branch: trunk, size: 3998 [annotate] [blame] [check-ins using] [diff]
2017-10-17
21:04
OFMutableSet: Add missing override for -[copy] file: [475e73874b] check-in: [3677275df7] user: js, branch: 0.90, size: 3609 [annotate] [blame] [check-ins using] [diff]
21:02
OFMutableSet: Add missing override for -[copy] file: [0472c040ab] check-in: [7dfb3c2c89] user: js, branch: trunk, size: 3999 [annotate] [blame] [check-ins using] [diff]
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: [1df07a3c74] check-in: [2f4e0df8be] user: js, branch: trunk, size: 3940 [annotate] [blame] [check-ins using] [diff]

2017-08-19
08:24
Add -[OFMutableSet removeAllObjects] file: [c759b99c57] check-in: [8823a4df67] user: js, branch: trunk, size: 3758 [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: [be0ab30e62] check-in: [4af49a13c3] user: js, branch: trunk, size: 3554 [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: [3bdd110505] check-in: [44f45c2e35] user: js, branch: trunk, size: 3547 [annotate] [blame] [check-ins using] [diff]

2016-09-12
00:27
Add OF_DEALLOC_UNSUPPORTED macro file: [3c0b71dcbf] check-in: [13f4c6c678] user: js, branch: trunk, size: 3541 [annotate] [blame] [check-ins using] [diff]
2016-06-05
20:27
Add +[OFMutableSet setWithCapacity:] file: [fd9f446d87] check-in: [f50d7da785] user: js, branch: trunk, size: 3597 [annotate] [blame] [check-ins using] [diff]
2016-01-03
00:43
Update copyright

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

00:41
Update copyright

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

2015-11-29
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: [0ec52f3f83] check-in: [6b13727ce0] user: js, branch: trunk, size: 3292 [annotate] [blame] [check-ins using] [diff]

2015-01-03
20:57
Update copyright file: [472c53bec1] check-in: [cfd374b906] user: js, branch: trunk, size: 3746 [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: [0db3d60d53] check-in: [13ee56edf3] user: js, branch: trunk, size: 3740 [annotate] [blame] [check-ins using] [diff]

2014-01-04
00:24
Update copyright. file: [6937da2a87] check-in: [3b97fc3cd9] user: js, branch: trunk, size: 3784 [annotate] [blame] [check-ins using] [diff]
2013-11-23
01:27
Add OF_UNRECOGNIZED_SELECTOR. file: [418c7f3f73] check-in: [6e19bd47ee] user: js, branch: trunk, size: 3778 [annotate] [blame] [check-ins using] [diff]
2013-01-09
22:24
Update copyright. file: [d2501929a2] check-in: [813c00ccf0] user: js, branch: trunk, size: 3831 [annotate] [blame] [check-ins using] [diff]
2012-12-22
15:37
Add -[doesNotRecognizeSelector:]. file: [ebca6379f5] check-in: [917ce5754c] user: js, branch: trunk, size: 3825 [annotate] [blame] [check-ins using] [diff]
2012-11-12
11:24
Check more arguments for nil. file: [0f6765c635] check-in: [f5c4220251] user: js, branch: trunk, size: 3987 [annotate] [blame] [check-ins using] [diff]
2012-10-21
22:12
Make GCC 4.4 happy. file: [e5b23d482d] check-in: [fcade8da38] user: js, branch: trunk, size: 3955 [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: [3f9a210be5] check-in: [1255f3a11a] user: js, branch: trunk, size: 3978 [annotate] [blame] [check-ins using] [diff]

2012-07-12
01:28
Don't access isa directly. file: [cfc47921d9] check-in: [8892ae9fcc] user: js, branch: trunk, size: 3995 [annotate] [blame] [check-ins using] [diff]
2012-06-10
13:28
More API improvements. file: [ae4b0f4644] check-in: [11d3d69a22] user: js, branch: trunk, size: 3918 [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: [f111a1faac] check-in: [f7576a66ce] user: js, branch: trunk, size: 3919 [annotate] [blame] [check-ins using] [diff]

2012-03-29
07:57
Add a few "const" where they make sense. file: [112af5c677] check-in: [89d53f2a9a] user: js, branch: trunk, size: 3920 [annotate] [blame] [check-ins using] [diff]
2012-03-28
09:25
Add +[OFSet setWithObjects:count:]. file: [be374057b2] check-in: [5e98e61531] user: js, branch: trunk, size: 3914 [annotate] [blame] [check-ins using] [diff]
2012-01-05
00:56
Update copyright. file: [309a28b5d0] check-in: [ce70e17b38] user: js, branch: trunk, size: 3755 [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: [43080e83f8] check-in: [6bdb2e4b01] user: js, branch: trunk, size: 3749 [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: [0dd3658171] check-in: [e1e7ffa903] user: js, branch: trunk, size: 3693 [annotate] [blame] [check-ins using] [diff]

2011-09-19
16:34
Rename -[allocMemoryForNItems:withSize:] and friends.
It is now -[allocMemoryForNItems:ofSize:].
file: [ca9a8cdb54] check-in: [f173477bef] user: js, branch: trunk, size: 3673 [annotate] [blame] [check-ins using] [diff]
2011-09-13
00:09
Fix a warning when compiling with clang. file: [789db8d309] check-in: [9b2ca72edb] user: js, branch: trunk, size: 3673 [annotate] [blame] [check-ins using] [diff]
2011-09-01
18:08
Add serialization and deserialization for OFSet and OFCountedSet. file: [550e7fe687] check-in: [8d5ca84bc5] user: js, branch: trunk, size: 3663 [annotate] [blame] [check-ins using] [diff]
2011-08-31
16:01
Make OFSet and OFCountedSet abstract classes. file: [781150565d] check-in: [66b12bb66f] user: js, branch: trunk, size: 3537 [annotate] [blame] [check-ins using] [diff]
2011-08-21
11:03
Make OFDictionary an abstract class. file: [27d68fc0e7] check-in: [c0098f89fe] user: js, branch: trunk, size: 1927 [annotate] [blame] [check-ins using] [diff]
2011-08-07
16:57
Add -[makeImmutable] to all mutable classes and use it. file: [54d40938db] check-in: [927dbf6e7d] user: js, branch: trunk, size: 1910 [annotate] [blame] [check-ins using] [diff]
2011-07-26
21:42
Add OFCountedSet. file: [917221d23f] check-in: [eb791d09d1] user: js, branch: trunk, size: 1861 [annotate] [blame] [check-ins using] [diff]
18:12
Prepare OFSet and OFMutableSet for OFCountedSet. file: [ff741b1139] check-in: [5207c4ea4d] user: js, branch: trunk, size: 1849 [annotate] [blame] [check-ins using] [diff]
2011-07-22
18:30
Nicer fast enumeration for OFSet. file: [842dbccb4e] check-in: [e287e086c2] user: js, branch: trunk, size: 1832 [annotate] [blame] [check-ins using] [diff]
2011-07-21
19:52
Add -[unionSet:] to OFMutableSet. file: [77a980e945] check-in: [05c71bf58b] user: js, branch: trunk, size: 2120 [annotate] [blame] [check-ins using] [diff]
19:17
Add -[minusSet:] and -[intersectSet:] to OFMutableSet. file: [9c760ecc6b] check-in: [821456272f] user: js, branch: trunk, size: 1862 [annotate] [blame] [check-ins using] [diff]
2011-07-20
18:23
Remove code duplication for fast enumeration of mutable collections. file: [4ebb225162] check-in: [63fc941b66] user: js, branch: trunk, size: 1240 [annotate] [blame] [check-ins using] [diff]
16:50
Check for mutations during fast enumeration in OFMutableSet. file: [44aa66377a] check-in: [dbd145b124] user: js, branch: trunk, size: 1710 [annotate] [blame] [check-ins using] [diff]
2011-07-18
22:53
Added: Add OFSet and OFMutableSet. file: [b2021bf947] check-in: [8df328d503] user: js, branch: trunk, size: 892 [annotate] [blame] [check-ins using]