ObjFW  History of src/OFMutableArray.h of 4d82cae50d9b5688

History of file src/OFMutableArray.h at check-in 4d82cae50d9b5688

2024-06-17
21:08
Always use <ObjFW/ObjFW.h> in documentation file: [29aecfd00d] check-in: [164f2fb4bf] user: js, branch: trunk, size: 7225 [annotate] [blame] [check-ins using] [diff]
2024-04-14
09:48
OFMutableArray: Fix an inconsistency file: [f701e95621] check-in: [3274500ffd] user: js, branch: trunk, size: 7220 [annotate] [blame] [check-ins using] [diff]
2024-04-03
02:16
Change license to LGPLv3 only file: [0f29e4e52a] check-in: [7413a728a7] user: js, branch: trunk, size: 7224 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [0bd3e8dd33] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 7016 [annotate] [blame] [check-ins using] [diff]
2023-08-12
12:05
OFArray: Add designated initializer file: [bb37148bf6] check-in: [47860977ff] user: js, branch: trunk, size: 7016 [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
Update copyright file: [731451be69] check-in: [8939cbdb52] user: js, branch: trunk, size: 6832 [annotate] [blame] [check-ins using] [diff]
2022-12-25
19:11
Add missing nullable file: [80febab38d] check-in: [8461a50c3a] user: js, branch: trunk, size: 6832 [annotate] [blame] [check-ins using] [diff]
18:01
Add -[sortedArrayUsingFunction:context:options:] file: [88016cdfc5] check-in: [c911523834] user: js, branch: trunk, size: 6823 [annotate] [blame] [check-ins using] [diff]
2022-06-07
21:50
OFArray: Remove/replace all objects file: [43a8133fa8] check-in: [a593419b75] user: js, branch: trunk, size: 6442 [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
Update copyright file: [2f55547945] check-in: [1a86b8175b] user: js, branch: trunk, size: 6455 [annotate] [blame] [check-ins using] [diff]
2021-04-17
02:40
Rename all types in OFArray.h file: [a684ec1cde] check-in: [e23daca6ef] user: js, branch: new-naming-convention, size: 6455 [annotate] [blame] [check-ins using] [diff]
00:44
of_range_t -> OFRange file: [73afdbce22] check-in: [d975c53a43] user: js, branch: new-naming-convention, size: 6823 [annotate] [blame] [check-ins using] [diff]
00:24
of_comparator_t -> OFComparator file: [ffc0dffd0c] check-in: [aade14a6e2] user: js, branch: new-naming-convention, size: 6826 [annotate] [blame] [check-ins using] [diff]
2021-03-07
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: [16603a1ba8] check-in: [a0fd103a0b] user: js, branch: trunk, size: 6829 [annotate] [blame] [check-ins using] [diff]

2021-01-02
22:04
Update copyright file: [55375a9442] check-in: [374e1a1bfa] user: js, branch: trunk, size: 6863 [annotate] [blame] [check-ins using] [diff]
2020-10-03
11:35
Use /** */ instead of /*! */ for documentation file: [77912a7def] check-in: [163a4a5a2e] user: js, branch: trunk, size: 6952 [annotate] [blame] [check-ins using] [diff]
2020-04-12
11:43
Fix all Doxygen warnings

Mostly because Doxygen fails to find references to things that *do*
exist. file: [5d8e847393] check-in: [240eccca97] user: js, branch: trunk, size: 6952 [annotate] [blame] [check-ins using] [diff]

2020-01-02
01:51
Update copyright file: [9d4047891f] check-in: [c7f0229795] user: js, branch: trunk, size: 6966 [annotate] [blame] [check-ins using] [diff]
2019-09-29
19:35
Either restrict subclassing or reserve ivar space

This allows ABI stability with the fragile ABI. file: [34a09a316e] check-in: [496695d778] user: js, branch: trunk, size: 6989 [annotate] [blame] [check-ins using] [diff]

2019-06-20
23:36
Document methods to override in class clusters file: [97f317cd8c] check-in: [d537543238] user: js, branch: trunk, size: 6963 [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
Update copyright file: [1e01321bd2] check-in: [0509d7a844] user: js, branch: trunk, size: 6756 [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
Update copyright notice file: [49a3197ac4] check-in: [7e5c81e186] user: js, branch: trunk, size: 6750 [annotate] [blame] [check-ins using] [diff]
2017-11-18
19:14
Fix the last Doxygen warnings file: [a2d8b4645b] check-in: [bb281804a3] user: js, branch: trunk, size: 6727 [annotate] [blame] [check-ins using] [diff]
2017-11-16
23:42
OFMutableDictionary: Allow dict[key] = nil

-[setObject:forSubscriptedKey:] is supposed to support removing a key by
setting it to nil. file: [1118eb94b2] check-in: [bb8de03577] user: js, branch: trunk, size: 6715 [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: [9bb82b7b0e] check-in: [2f4e0df8be] user: js, branch: trunk, size: 6401 [annotate] [blame] [check-ins using] [diff]

2017-08-12
21:03
Add -[OFMutableArray sortUsingSelector:options:] file: [8b66863b27] check-in: [daa11c19cb] user: js, branch: trunk, size: 6387 [annotate] [blame] [check-ins using] [diff]
2017-06-05
18:56
Doxyfile: Add missing defines file: [8b2d3f8705] check-in: [4b6dfe02f2] user: js, branch: trunk, size: 5658 [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: [d8a00e107e] check-in: [4af49a13c3] user: js, branch: trunk, size: 5675 [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: [d3ea586b43] check-in: [44f45c2e35] user: js, branch: trunk, size: 5675 [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:43
Update copyright

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

00:41
Update copyright

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

2015-11-21
18:35
Remove OF_NULLABLE / OF_NONNULL

Now that Clang switched to use _Nullable and _Nonnull instead of
__nullable / __nonnull, there is no longer a conflict with glibc, which
means we can just define _Nullable / _Nonnull to nothing if they are not
understood by the compiler (which did not work with __nullable /
__nonnull due to this conflict).

This also defines _Null_unspecified to nothing if unavailable. file: [1e74925f26] check-in: [d526d938d7] user: js, branch: trunk, size: 5665 [annotate] [blame] [check-ins using] [diff]

2015-06-14
10:45
Add OF_NONNULL / OF_NULLABLE and use that instead

Using __nonnull directly doesn't work on systems using glibc, as glibc
defines __nonnull as a parameterized define. While this does not fix the
problem of Clang introducing __nonnull even though it conflicts with
glibc, this at least means it's possible again to compile things with
versions of Clang that don't support __nonnull on systems with glibc. file: [665e799b10] check-in: [b7097a67b6] user: js, branch: trunk, size: 5667 [annotate] [blame] [check-ins using] [diff]

2015-06-13
22:26
Add support for and use the new nullability file: [73428ea9d3] check-in: [9e76144ef8] user: js, branch: trunk, size: 5666 [annotate] [blame] [check-ins using] [diff]
2015-06-12
23:59
Add support for and use the new ObjC generics file: [d606689457] check-in: [5329fe7c1a] user: js, branch: trunk, size: 5608 [annotate] [blame] [check-ins using] [diff]
2015-01-03
20:57
Update copyright file: [687d488ccc] check-in: [cfd374b906] user: js, branch: trunk, size: 5257 [annotate] [blame] [check-ins using] [diff]
2014-02-18
18:50
Documentation: Show correct imports file: [88b2245650] check-in: [246cfe0807] user: js, branch: trunk, size: 5251 [annotate] [blame] [check-ins using] [diff]
2014-02-05
09:02
Documentation improvements file: [1b8deffced] check-in: [e96ab3a2be] user: js, branch: trunk, size: 5197 [annotate] [blame] [check-ins using] [diff]
2014-01-04
00:24
Update copyright. file: [d84e295bbd] check-in: [3b97fc3cd9] user: js, branch: trunk, size: 5197 [annotate] [blame] [check-ins using] [diff]
2013-03-08
22:44
Document the block types.

This also removes "bool *stop" from some blocks where it does not make
sense. file: [6fa55f9480] check-in: [e8473b9db8] user: js, branch: trunk, size: 5191 [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: [48e9f64998] check-in: [c5ef582958] user: js, branch: trunk, size: 4973 [annotate] [blame] [check-ins using] [diff]

2013-02-18
12:27
Add -[OFMutableArray initWithCapacity:]. file: [fa7a4d0116] check-in: [e0c9168dfc] user: js, branch: trunk, size: 4973 [annotate] [blame] [check-ins using] [diff]
2013-02-14
02:08
Fix two small documentation bugs. file: [81a3bf4a11] check-in: [5b1f9db652] user: js, branch: trunk, size: 4419 [annotate] [blame] [check-ins using] [diff]
2013-01-14
00:39
OFArray: Add sorting with options. file: [e3a64cd9d6] check-in: [188586881d] user: js, branch: trunk, size: 4419 [annotate] [blame] [check-ins using] [diff]
2013-01-13
02:44
Documentation improvements. file: [9f2e35cd47] check-in: [2d33638be9] user: js, branch: trunk, size: 4084 [annotate] [blame] [check-ins using] [diff]
2013-01-09
22:24
Update copyright. file: [f6d99e0c97] check-in: [813c00ccf0] user: js, branch: trunk, size: 4085 [annotate] [blame] [check-ins using] [diff]
2012-10-28
12:38
Switch to a headerdoc-compatible doc format. file: [3b79729549] check-in: [1ad9565253] user: js, branch: trunk, size: 4079 [annotate] [blame] [check-ins using] [diff]
2012-06-10
16:03
Add a few array methods.

OFArray:
* +[arrayByAddingObject:]
* +[arrayByAddingObjectsFromArray:]

OFMutableArray:
* -[addObjectsFromArray:]
* -[insertObjectsFromArray:atIndex:] file: [9c7f745e9f] check-in: [95e8e1e486] user: js, branch: trunk, size: 4079 [annotate] [blame] [check-ins using] [diff]

2012-06-06
13:14
Remove -[OFMutableArray removeNObjects:]. file: [cef5851cfb] check-in: [6f0ef1c5e1] user: js, branch: trunk, size: 3626 [annotate] [blame] [check-ins using] [diff]
13:09
Rework OFDataArray API.

Also adds more checks. file: [7d1dea4d27] check-in: [d5ddb2cb48] user: js, branch: trunk, size: 3810 [annotate] [blame] [check-ins using] [diff]

12:15
-[addObject:atIndex:] -> -[insertObject:atIndex:].

For consistency with Foundation. file: [1edd47fa69] check-in: [26f2ffa908] user: js, branch: trunk, size: 3798 [annotate] [blame] [check-ins using] [diff]

12:15
swapObjectAtIndex... -> exchangeObjectAtIndex...

For consistency with Foundation. file: [0c1ac94dc7] check-in: [13e6e99067] user: js, branch: trunk, size: 3789 [annotate] [blame] [check-ins using] [diff]

2012-03-12
12:05
Make array literals work. file: [7429d32994] check-in: [a18e732a06] user: js, branch: trunk, size: 3770 [annotate] [blame] [check-ins using] [diff]
2012-01-31
13:59
Add -[removeAllObjects] and -[removeAllItems]. file: [7347712143] check-in: [d1572ef036] user: js, branch: trunk, size: 3700 [annotate] [blame] [check-ins using] [diff]
10:59
Add -[sortedArray] to OFArray. file: [66c505dbab] check-in: [b48145bb74] user: js, branch: trunk, size: 3634 [annotate] [blame] [check-ins using] [diff]
2012-01-08
02:03
More methods for OFArray and OFMutableArray. file: [5316dda09e] check-in: [72efa4f4f3] user: js, branch: trunk, size: 3584 [annotate] [blame] [check-ins using] [diff]
2012-01-05
00:56
Update copyright. file: [28ac3abd54] check-in: [ce70e17b38] user: js, branch: trunk, size: 3246 [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: [1db366161d] check-in: [6bdb2e4b01] user: js, branch: trunk, size: 3240 [annotate] [blame] [check-ins using] [diff]
2011-09-09
10:50
Change documentation for abstract classes. file: [dff693928f] check-in: [eedcd6c7b2] user: js, branch: trunk, size: 3300 [annotate] [blame] [check-ins using] [diff]
2011-08-30
19:38
Fix forgotten rename of OFMutableArrayPlaceholder. file: [0284100bb4] check-in: [caa6878d38] user: js, branch: trunk, size: 3284 [annotate] [blame] [check-ins using] [diff]
2011-08-07
16:57
Add -[makeImmutable] to all mutable classes and use it. file: [0e34f7fe92] check-in: [927dbf6e7d] user: js, branch: trunk, size: 3283 [annotate] [blame] [check-ins using] [diff]
2011-08-03
00:30
Make OFArray an abstract class. file: [1389a09656] check-in: [a855618045] user: js, branch: trunk, size: 3287 [annotate] [blame] [check-ins using] [diff]
2011-06-17
00:35
Add -[removeLastItem] and -[removeLastObject]. file: [246ee00df8] check-in: [5a127a0804] user: js, branch: trunk, size: 3267 [annotate] [blame] [check-ins using] [diff]
2011-05-08
17:19
More documentation improvements. file: [17e878ade7] check-in: [242b1ccd71] user: js, branch: trunk, size: 3197 [annotate] [blame] [check-ins using] [diff]
2011-04-22
20:19
More style improvements. file: [1c792f75c6] check-in: [e76a7f52c1] user: js, branch: trunk, size: 3125 [annotate] [blame] [check-ins using] [diff]
2011-01-01
20:19
Change license. file: [8c6d38e392] check-in: [da6b3d26cb] user: js, branch: trunk, size: 3051 [annotate] [blame] [check-ins using] [diff]
2010-12-10
11:21
Documentation fixes. file: [ae61ebcbe6] check-in: [fada60d54c] user: js, branch: trunk, size: 2795 [annotate] [blame] [check-ins using] [diff]
2010-09-19
02:34
Only handle the first matching object in OFMutalbeArray operations.

This only makes sense as we use "Object" in the method names, implying
it's only affecting one object. file: [cb7ba1bfa9] check-in: [de45535c23] user: js, branch: trunk, size: 2793 [annotate] [blame] [check-ins using] [diff]

2010-09-08
21:17
Fix Objective C++ compatibility. file: [a52014b3ad] check-in: [9d6716470e] user: js, branch: trunk, size: 2867 [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: [103c29de74] check-in: [e2b06423e0] user: js, branch: trunk, size: 2865 [annotate] [blame] [check-ins using] [diff]

2010-08-29
17:53
More methods using blocks. file: [a6aa74e205] check-in: [e84073d0f9] user: js, branch: trunk, size: 2928 [annotate] [blame] [check-ins using] [diff]
2010-04-17
15:46
Don't return self where not necessary, return void or something useful. file: [a3cee17e91] check-in: [062a052b50] user: js, branch: trunk, size: 2586 [annotate] [blame] [check-ins using] [diff]
2010-02-19
16:36
Update copyright. file: [abd2603d66] check-in: [42886185fd] user: js, branch: trunk, size: 2425 [annotate] [blame] [check-ins using] [diff]
2010-02-11
14:58
Documentation improvements. file: [deee08f16c] check-in: [72caeab860] user: js, branch: trunk, size: 2425 [annotate] [blame] [check-ins using] [diff]
2010-01-03
18:14
OFMutableArray: Add mutation counter, required for fast enumeration. file: [70b773a8e9] check-in: [fe56ea4a9c] user: js, branch: trunk, size: 2449 [annotate] [blame] [check-ins using] [diff]
2009-12-23
22:30
Documentation improvements. file: [13789c154b] check-in: [19ac0520ae] user: js, branch: trunk, size: 2421 [annotate] [blame] [check-ins using] [diff]
2009-12-17
11:26
Add -[replaceObject:withObject:] and others to OFMutableArray. file: [f34526b684] check-in: [c0326c7cc5] user: js, branch: trunk, size: 2427 [annotate] [blame] [check-ins using] [diff]
2009-12-03
10:29
More documentation improvements. file: [76c7e15d21] check-in: [012cee4f80] user: js, branch: trunk, size: 1664 [annotate] [blame] [check-ins using] [diff]
2009-12-02
20:02
Introduce some consistency when to use OFObject* and when to use id. file: [5a4d04ab53] check-in: [c7ab3a46d1] user: js, branch: trunk, size: 1662 [annotate] [blame] [check-ins using] [diff]
09:38
Add -[addObject:atIndex:] to OFArray. file: [ab1b1cb945] check-in: [806b5b24db] user: js, branch: trunk, size: 1648 [annotate] [blame] [check-ins using] [diff]
2009-11-28
20:48
Add -[removeObject:] and -[removeObjectIdenticalTo:] to OFMutableArray. file: [426beeceb7] check-in: [bd9f5d90ae] user: js, branch: trunk, size: 1441 [annotate] [blame] [check-ins using] [diff]
2009-11-22
15:44
Add -[removeObjectAtIndex] and -[removeNObjects:atIndex:] to OFArray. file: [e4a5edb3f5] check-in: [0b6fc2523a] user: js, branch: trunk, size: 1143 [annotate] [blame] [check-ins using] [diff]
2009-11-09
22:45
Rename libobjfw to ObjFW. file: [04909fe688] check-in: [a3cc34b139] user: js, branch: trunk, size: 749 [annotate] [blame] [check-ins using] [diff]
2009-06-30
12:55
Add some missing documentation. file: [f2b0483cd1] check-in: [973e19f23c] user: js, branch: trunk, size: 752 [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: [f3a9e17092] check-in: [41974cf38d] user: js, branch: trunk, size: 749 [annotate] [blame] [check-ins using] [diff]
2009-05-18
17:50
Added: Split OFArray into OFArray and OFMutableArray. file: [521f11b9ef] check-in: [163409967e] user: js, branch: trunk, size: 465 [annotate] [blame] [check-ins using]