ObjFW  History of tests/OFArrayTests.m of 9485e90f580b4278

History of the file that is called tests/OFArrayTests.m at check-in 9485e90f580b4278

2024-04-03
02:16
[13dbe45147] part of check-in [7413a728a7] Change license to LGPLv3 only (check-in: [7413a728a7] user: js, branch: trunk, size: 7523) [annotate] [blame] [check-ins using] [diff]
2024-03-29
10:58
[8617308e57] part of check-in [1ef30f988c] Add more tests for -[{copy,mutableCopy,hash}] (check-in: [1ef30f988c] user: js, branch: trunk, size: 7315) [annotate] [blame] [check-ins using] [diff]
2024-02-18
21:07
Deleted: Merge trunk into branch "asn1" (check-in: [1779d5b5a7] user: js, branch: asn1, size: 0)
19:29
Renamed new_tests/OFArrayTests.m → tests/OFArrayTests.m. [805893a2b1] part of check-in [7a84580fb6] Rename new tests (check-in: [7a84580fb6] user: js, branch: objfwtest, size: 6947) [annotate] [blame] [check-ins using] [diff]
19:29
Renamed to tests/OFArrayTests.m. Rename new tests (check-in: [7a84580fb6] user: js, branch: objfwtest, size: 0)
2024-02-13
19:45
[805893a2b1] part of check-in [7b5e4dedea] Remove some unneeded init methods from tests (check-in: [7b5e4dedea] user: js, branch: objfwtest, size: 6947) [annotate] [blame] [check-ins using] [diff]
2024-02-12
22:58
[b5b1833cad] part of check-in [eda31b70b6] ObjFWTest: Add OTAssert{Less,Greater}Than(OrEqual) (check-in: [eda31b70b6] user: js, branch: objfwtest, size: 7396) [annotate] [blame] [check-ins using] [diff]
2024-02-11
20:49
Renamed tests/OFArrayTests.m → new_tests/OFArrayTests.m. [82ed4031a9] part of check-in [7272d5b2cd] Migrate OFArrayTests to ObjFWTest (check-in: [7272d5b2cd] user: js, branch: objfwtest, size: 7389) [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
[1024ac5260] part of check-in [26ddd2e4e4] Update copyright (check-in: [26ddd2e4e4] user: js, branch: trunk, size: 12850) [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
[08824c3292] part of check-in [8939cbdb52] Update copyright (check-in: [8939cbdb52] user: js, branch: trunk, size: 12850) [annotate] [blame] [check-ins using] [diff]
2022-11-24
00:21
[60972c86ec] part of check-in [23272e6d43] Rename OFURI to OFIRI (check-in: [23272e6d43] user: js, branch: trunk, size: 12850) [annotate] [blame] [check-ins using] [diff]
2022-09-28
21:40
[cc2ce2f7d0] part of check-in [e7ab06503c] Rename OFUR{L -> I} in preparation for URI support (check-in: [e7ab06503c] user: js, branch: trunk, size: 12850) [annotate] [blame] [check-ins using] [diff]
2022-08-30
00:48
[80326b9933] part of check-in [4ad0c363f3] OFObject: Small API change (check-in: [4ad0c363f3] user: js, branch: trunk, size: 12850) [annotate] [blame] [check-ins using] [diff]
2022-06-07
21:50
[b0ef1c947a] part of check-in [a593419b75] OFArray: Remove/replace all objects (check-in: [a593419b75] user: js, branch: trunk, size: 12850) [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
[76dfc16c23] part of check-in [1a86b8175b] Update copyright (check-in: [1a86b8175b] user: js, branch: trunk, size: 12810) [annotate] [blame] [check-ins using] [diff]
2021-05-08
23:29
[0c4712974c] part of check-in [c8663697ae] tests: Minor const improvement (check-in: [c8663697ae] user: js, branch: trunk, size: 12810) [annotate] [blame] [check-ins using] [diff]
23:22
[a384e7dc9e] part of check-in [14f1e22d79] tests: Align more with ObjFW style

ObjFW's style changed over the years, but the tests were never adjusted
to it. (check-in: [14f1e22d79] user: js, branch: trunk, size: 12816) [annotate] [blame] [check-ins using] [diff]

2021-04-17
14:13
[f58673a4b1] part of check-in [eb0cfa6ff9] Always prefix functions with the type (check-in: [eb0cfa6ff9] user: js, branch: new-naming-convention, size: 11734) [annotate] [blame] [check-ins using] [diff]
02:40
[6905bf8867] part of check-in [e23daca6ef] Rename all types in OFArray.h (check-in: [e23daca6ef] user: js, branch: new-naming-convention, size: 11734) [annotate] [blame] [check-ins using] [diff]
00:44
[03f79a56bf] part of check-in [d975c53a43] of_range_t -> OFRange (check-in: [d975c53a43] user: js, branch: new-naming-convention, size: 11725) [annotate] [blame] [check-ins using] [diff]
2021-03-07
20:25
[578f78bc93] part of check-in [1b82d3bf4f] *.m: Fold methods into one line where it fits (check-in: [1b82d3bf4f] user: js, branch: trunk, size: 11716) [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
[2e6d46311e] part of check-in [374e1a1bfa] Update copyright (check-in: [374e1a1bfa] user: js, branch: trunk, size: 11807) [annotate] [blame] [check-ins using] [diff]
2020-08-25
00:11
[650205073d] part of check-in [25c985fec1] OFNumber: Remove (u)int{8,16,32,64} methods

Since C guarantees minimum sizes for char, short, int, long and long
long, these can be used instead. (check-in: [25c985fec1] user: js, branch: trunk, size: 11896) [annotate] [blame] [check-ins using] [diff]

2020-01-02
01:51
[52ca507d81] part of check-in [c7f0229795] Update copyright (check-in: [c7f0229795] user: js, branch: trunk, size: 11900) [annotate] [blame] [check-ins using] [diff]
2019-09-29
15:58
[54def65eb2] part of check-in [09be825f88] Remove OFAutoreleasePool

OFAutoreleasePools have long been discouraged in favor of the runtime's
autorelease pools. (check-in: [09be825f88] user: js, branch: trunk, size: 11897) [annotate] [blame] [check-ins using] [diff]

2019-06-19
00:45
[501a7abef0] part of check-in [7214a2c7af] OFEnumerator: Remove -[reset]

It's not very useful and is a problem for the Foundation bridge, as
NSEnumerator does not have it. (check-in: [7214a2c7af] user: js, branch: trunk, size: 11899) [annotate] [blame] [check-ins using] [diff]

2019-03-25
00:21
[e635773d52] part of check-in [b045cbb9c7] tests: Use dot syntax (check-in: [b045cbb9c7] user: js, branch: trunk, size: 11920) [annotate] [blame] [check-ins using] [diff]
2019-02-17
22:44
[d070876349] part of check-in [dc0c6c34ab] tests: Only import ObjFW.h

This prevents forgetting to add an import to ObjFW.h, as the tests would
then not compile. (check-in: [dc0c6c34ab] user: js, branch: trunk, size: 11954) [annotate] [blame] [check-ins using] [diff]

22:16
[95d9e60793] part of check-in [4c5f686a52] OFWindowsRegistryKey: Add write support (check-in: [4c5f686a52] user: js, branch: trunk, size: 12143) [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
[d25eebe497] part of check-in [0509d7a844] Update copyright (check-in: [0509d7a844] user: js, branch: trunk, size: 12143) [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
[90e3007c02] part of check-in [7e5c81e186] Update copyright notice (check-in: [7e5c81e186] user: js, branch: trunk, size: 12137) [annotate] [blame] [check-ins using] [diff]
2017-10-22
15:05
[3b9dbd2a79] part of check-in [a06354b42a] Make Apple GCC with -Wshadow happy (check-in: [a06354b42a] user: js, branch: trunk, size: 12114) [annotate] [blame] [check-ins using] [diff]
14:09
[caf218a7ef] part of check-in [31c0f5b89e] Make Apple GCC with -Wshadow happy (check-in: [31c0f5b89e] user: js, branch: 0.90, size: 12033) [annotate] [blame] [check-ins using] [diff]
2017-10-17
00:33
[4fabdad1e7] 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: 12130) [annotate] [blame] [check-ins using] [diff]

2017-10-11
20:59
[bbcc951492] part of check-in [836314f39a] Fix shadowed variables and enable -Wshadow (check-in: [836314f39a] user: js, branch: 0.90, size: 12049) [annotate] [blame] [check-ins using] [diff]
20:53
[ce6bbc2cf5] part of check-in [00476e4430] Fix shadowed variables and enable -Wshadow (check-in: [00476e4430] user: js, branch: trunk, size: 12088) [annotate] [blame] [check-ins using] [diff]
2017-08-12
21:03
[4017a0a9f1] part of check-in [daa11c19cb] Add -[OFMutableArray sortUsingSelector:options:] (check-in: [daa11c19cb] user: js, branch: trunk, size: 12031) [annotate] [blame] [check-ins using] [diff]
2017-07-20
22:28
[b0ab3f0686] part of check-in [3a5570ab20] Split OFURL into OFURL and OFMutableURL (check-in: [3a5570ab20] user: js, branch: trunk, size: 11992) [annotate] [blame] [check-ins using] [diff]
2017-05-07
20:10
[9dfa280d32] 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: 11971) [annotate] [blame] [check-ins using] [diff]

2017-05-01
13:37
[c99073b249] part of check-in [7fec2ef57e] Add tests for generic OFArray / OFMutableArray

These are usually not used, as OFArray_adjacent and
OFMutableArray_adjacent are used instead. However, they are used if
someone creates their own subclass of OFArray / OFMutableArray. As they
are rarely used in production, it is important to run all tests on them. (check-in: [7fec2ef57e] user: js, branch: trunk, size: 11970) [annotate] [blame] [check-ins using] [diff]

13:26
[15bc3461c3] part of check-in [d36735bfd9] Prepare OFArrayTests for different array classes (check-in: [d36735bfd9] user: js, branch: trunk, size: 10317) [annotate] [blame] [check-ins using] [diff]
2017-01-09
17:36
[39574f1919] 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: 10041) [annotate] [blame] [check-ins using] [diff]

2016-06-05
20:07
[1774d6c94a] part of check-in [134c19b100] Fix -[OFArray valueForKey:]

Contrary to what the documentation stated, it did not actually call
super when the key was starting with an @. (check-in: [134c19b100] user: js, branch: trunk, size: 10035) [annotate] [blame] [check-ins using] [diff]

15:00
[75808adfc5] part of check-in [05196e511a] Implement Key Value Coding for OFArray

If the key starts with an @, the @ is stripped and the super method is
called. Otherwise, this returns the value for all objects / sets the
value for all objects. (check-in: [05196e511a] user: js, branch: trunk, size: 9913) [annotate] [blame] [check-ins using] [diff]

2016-02-21
11:59
[ea65aa5e42] part of check-in [8a14ad35aa] OFArray: Fix bug introduced by refactorization

Also improves the test to prevent this from happening again. (check-in: [8a14ad35aa] user: js, branch: trunk, size: 9081) [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:43
[d200b73189] part of check-in [cec0f072f8] Update copyright

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

00:41
[1c3890f806] part of check-in [2a27cf3000] Update copyright

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

2015-11-29
14:26
[db4b803ef8] part of check-in [be8db49635] Remove defines we no longer need

Now that we require GCC >= 4.6, those features are always available. (check-in: [be8db49635] user: js, branch: trunk, size: 9083) [annotate] [blame] [check-ins using] [diff]

2015-06-28
16:39
[a0e388f1bc] part of check-in [07e630588d] tests: Use __VA_ARGS__ for TEST() and clean up (check-in: [07e630588d] user: js, branch: trunk, size: 9122) [annotate] [blame] [check-ins using] [diff]
2015-04-20
20:48
[370db7500f] part of check-in [0dbf08158c] Remove a few now unnecessary imports (check-in: [0dbf08158c] user: js, branch: trunk, size: 9134) [annotate] [blame] [check-ins using] [diff]
2015-01-03
20:57
[148a19ce4d] part of check-in [cfd374b906] Update copyright (check-in: [cfd374b906] user: js, branch: trunk, size: 9154) [annotate] [blame] [check-ins using] [diff]
2014-01-04
00:24
[b0bac4ab4f] part of check-in [3b97fc3cd9] Update copyright. (check-in: [3b97fc3cd9] user: js, branch: trunk, size: 9148) [annotate] [blame] [check-ins using] [diff]
2013-08-25
12:14
[007d7f7189] part of check-in [f975b722df] Add -[OFArray componentsJoinedByString:options:].

This allows to skip empty components. (check-in: [f975b722df] user: js, branch: trunk, size: 9142) [annotate] [blame] [check-ins using] [diff]

2013-07-10
12:33
[c4b233b4a6] part of check-in [6143baaaee] Get rid of a new Clang warning.

Clang now warns if the enumeration variable of a fast enumeration is not
used. (check-in: [6143baaaee] user: js, branch: trunk, size: 8904) [annotate] [blame] [check-ins using] [diff]

2013-03-08
22:44
[4b9f82311d] part of check-in [e8473b9db8] Document the block types.

This also removes "bool *stop" from some blocks where it does not make
sense. (check-in: [e8473b9db8] user: js, branch: trunk, size: 8890) [annotate] [blame] [check-ins using] [diff]

2013-03-04
17:20
[4c7095914c] 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: 8907) [annotate] [blame] [check-ins using] [diff]

2013-01-14
00:39
[a50d671c0a] part of check-in [188586881d] OFArray: Add sorting with options. (check-in: [188586881d] user: js, branch: trunk, size: 8915) [annotate] [blame] [check-ins using] [diff]
2013-01-09
22:24
[39ba49136f] part of check-in [813c00ccf0] Update copyright. (check-in: [813c00ccf0] user: js, branch: trunk, size: 8758) [annotate] [blame] [check-ins using] [diff]
2012-10-03
15:41
[ed442f3f94] part of check-in [7239333455] Move definition of restricted to OFObject.h. (check-in: [7239333455] user: js, branch: trunk, size: 8752) [annotate] [blame] [check-ins using] [diff]
2012-06-06
13:14
[550ae86871] part of check-in [6f0ef1c5e1] Remove -[OFMutableArray removeNObjects:]. (check-in: [6f0ef1c5e1] user: js, branch: trunk, size: 8732) [annotate] [blame] [check-ins using] [diff]
12:15
[1073eae76a] part of check-in [26f2ffa908] -[addObject:atIndex:] -> -[insertObject:atIndex:].

For consistency with Foundation. (check-in: [26f2ffa908] user: js, branch: trunk, size: 8896) [annotate] [blame] [check-ins using] [diff]

2012-03-12
11:54
[19f0fe9122] 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: 8884) [annotate] [blame] [check-ins using] [diff]

2012-01-31
13:55
[65511c9fb4] part of check-in [2fd13b0adf] Remove forgotten debug output. (check-in: [2fd13b0adf] user: js, branch: trunk, size: 8969) [annotate] [blame] [check-ins using] [diff]
10:59
[59176fc44c] part of check-in [b48145bb74] Add -[sortedArray] to OFArray. (check-in: [b48145bb74] user: js, branch: trunk, size: 9023) [annotate] [blame] [check-ins using] [diff]
2012-01-08
02:03
[2fd6511491] part of check-in [72efa4f4f3] More methods for OFArray and OFMutableArray. (check-in: [72efa4f4f3] user: js, branch: trunk, size: 8740) [annotate] [blame] [check-ins using] [diff]
2012-01-05
00:56
[196302b390] part of check-in [ce70e17b38] Update copyright. (check-in: [ce70e17b38] user: js, branch: trunk, size: 8255) [annotate] [blame] [check-ins using] [diff]
2011-09-22
23:25
[723d9a0843] 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: 8249) [annotate] [blame] [check-ins using] [diff]

2011-08-03
00:30
[8332694435] part of check-in [a855618045] Make OFArray an abstract class. (check-in: [a855618045] user: js, branch: trunk, size: 8296) [annotate] [blame] [check-ins using] [diff]
2011-07-22
17:17
[964609bde3] part of check-in [32d6b7282a] Add a test for -[foldUsingBlock:]. (check-in: [32d6b7282a] user: js, branch: trunk, size: 8118) [annotate] [blame] [check-ins using] [diff]
2011-04-04
23:02
[5c7cef8543] part of check-in [1df836eacc] Indent -[description] of collections. (check-in: [1df836eacc] user: js, branch: trunk, size: 7896) [annotate] [blame] [check-ins using] [diff]
2011-03-24
19:42
[0c0364260f] part of check-in [cda44767f4] Get rid of OFExceptions.h. (check-in: [cda44767f4] user: js, branch: trunk, size: 7868) [annotate] [blame] [check-ins using] [diff]
2011-02-07
19:22
[6c578400a8] part of check-in [0a6e073938] Add -[containsObject(IdenticalTo):] to OFCollection. (check-in: [0a6e073938] user: js, branch: trunk, size: 7815) [annotate] [blame] [check-ins using] [diff]
2011-01-01
20:19
[304a51157c] part of check-in [da6b3d26cb] Change license. (check-in: [da6b3d26cb] user: js, branch: trunk, size: 7511) [annotate] [blame] [check-ins using] [diff]
2010-12-25
19:31
[0481947edb] part of check-in [39cb19595d] Add OFDate. (check-in: [39cb19595d] user: js, branch: trunk, size: 7255) [annotate] [blame] [check-ins using] [diff]
2010-12-12
01:21
[284bdfc798] part of check-in [90c26dded5] Add -[mapped{Array,Dictionary}UsingBlock:]. (check-in: [90c26dded5] user: js, branch: trunk, size: 7255) [annotate] [blame] [check-ins using] [diff]
00:38
[07eb64f276] part of check-in [42060f220c] Add -[filtered{Array,Dictionary}UsingBlock]. (check-in: [42060f220c] user: js, branch: trunk, size: 7003) [annotate] [blame] [check-ins using] [diff]
2010-11-13
21:57
[c0fcdd0b1e] part of check-in [9b50b86632] Add -[description] for OFObject, OFString, OFArray and OFDictionary. (check-in: [9b50b86632] user: js, branch: trunk, size: 6862) [annotate] [blame] [check-ins using] [diff]
2010-09-23
22:53
[c5886d17f7] part of check-in [14e949de94] Add -[objectsFromIndex:toIndex:] to OFArray. (check-in: [14e949de94] user: js, branch: trunk, size: 6781) [annotate] [blame] [check-ins using] [diff]
2010-09-19
02:34
[895b4e152f] part of check-in [de45535c23] 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. (check-in: [de45535c23] user: js, branch: trunk, size: 6622) [annotate] [blame] [check-ins using] [diff]

2010-09-06
13:47
[415ab0ae8e] part of check-in [2cb79baae4] Make OFList conform to OFCollection and OFFastEnumeration protocol. (check-in: [2cb79baae4] user: js, branch: trunk, size: 6614) [annotate] [blame] [check-ins using] [diff]
2010-09-05
23:23
[8f3081b30f] part of check-in [ddb15601a2] Rename -[enumerator] to -[objectEnumerator] for consistency. (check-in: [ddb15601a2] user: js, branch: trunk, size: 6542) [annotate] [blame] [check-ins using] [diff]
2010-08-29
17:53
[f1dd14b8b5] part of check-in [e84073d0f9] More methods using blocks. (check-in: [e84073d0f9] user: js, branch: trunk, size: 6530) [annotate] [blame] [check-ins using] [diff]
2010-08-28
18:54
[ff3793f72c] part of check-in [c5d65603d8] Initial support for blocks. (check-in: [c5d65603d8] user: js, branch: trunk, size: 6209) [annotate] [blame] [check-ins using] [diff]
2010-04-17
15:46
[0fbf78cb38] part of check-in [062a052b50] Don't return self where not necessary, return void or something useful. (check-in: [062a052b50] user: js, branch: trunk, size: 5465) [annotate] [blame] [check-ins using] [diff]
2010-04-07
21:06
Added: [004dd7f704] part of check-in [7bbce47bda] Rename tests files so they are named after the category they implement. (check-in: [7bbce47bda] user: js, branch: trunk, size: 5437) [annotate] [blame] [check-ins using]