ObjFW  History of tests/OFDictionaryTests.m of 19a677b5965ad862

History of the file that is called tests/OFDictionaryTests.m at check-in 19a677b5965ad862

2024-04-03
02:16
[372c2ea411] part of check-in [7413a728a7] Change license to LGPLv3 only (check-in: [7413a728a7] user: js, branch: trunk, size: 6672) [annotate] [blame] [check-ins using] [diff]
2024-03-29
10:58
[6c95115dab] part of check-in [1ef30f988c] Add more tests for -[{copy,mutableCopy,hash}] (check-in: [1ef30f988c] user: js, branch: trunk, size: 6464) [annotate] [blame] [check-ins using] [diff]
2024-02-18
19:29
Renamed new_tests/OFDictionaryTests.m → tests/OFDictionaryTests.m. [49b4f5c917] part of check-in [7a84580fb6] Rename new tests (check-in: [7a84580fb6] user: js, branch: objfwtest, size: 6352) [annotate] [blame] [check-ins using] [diff]
12:51
[49b4f5c917] part of check-in [69a0cfcb13] Make GCC happy again (check-in: [69a0cfcb13] user: js, branch: objfwtest, size: 6352) [annotate] [blame] [check-ins using] [diff]
12:49
[9cb3005942] part of check-in [7b21071996] Fix and enable -[OFDictionaryTests testHash]

The hash was stable after all, the problem was that everything gets
XOR'd together and thus a dictionary with the objects for keys and keys
for objects has the same hash. (check-in: [7b21071996] user: js, branch: objfwtest, size: 6328) [annotate] [blame] [check-ins using] [diff]

12:34
Renamed tests/OFDictionaryTests.m → new_tests/OFDictionaryTests.m. [b592578265] part of check-in [728cc47880] Migrate OFDictionaryTests to ObjFWTest (check-in: [728cc47880] user: js, branch: objfwtest, size: 6435) [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
[322f36dbf5] part of check-in [26ddd2e4e4] Update copyright (check-in: [26ddd2e4e4] user: js, branch: trunk, size: 9955) [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
[a12b4aaa0c] part of check-in [8939cbdb52] Update copyright (check-in: [8939cbdb52] user: js, branch: trunk, size: 9955) [annotate] [blame] [check-ins using] [diff]
2022-09-28
22:02
[856ca278b2] part of check-in [f1bf64ca9f] Remove -[OFDictionary URIQueryString]

It duplicates the functionality of -[OFMutableURI setQueryDictionary:]. (check-in: [f1bf64ca9f] user: js, branch: trunk, size: 9955) [annotate] [blame] [check-ins using] [diff]

21:40
[c3ff6abd22] part of check-in [e7ab06503c] Rename OFUR{L -> I} in preparation for URI support (check-in: [e7ab06503c] user: js, branch: trunk, size: 10136) [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
[7127a0734c] part of check-in [1a86b8175b] Update copyright (check-in: [1a86b8175b] user: js, branch: trunk, size: 10146) [annotate] [blame] [check-ins using] [diff]
2021-05-08
23:29
[545415a78a] part of check-in [c8663697ae] tests: Minor const improvement (check-in: [c8663697ae] user: js, branch: trunk, size: 10146) [annotate] [blame] [check-ins using] [diff]
23:22
[1f9b9cab2d] 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: 10152) [annotate] [blame] [check-ins using] [diff]

2021-04-17
02:43
[fdcd71652e] part of check-in [ed3b07591c] Rename of_fast_enumeration_state_t (check-in: [ed3b07591c] user: js, branch: new-naming-convention, size: 9907) [annotate] [blame] [check-ins using] [diff]
2021-03-07
20:25
[daa54d882b] part of check-in [1b82d3bf4f] *.m: Fold methods into one line where it fits (check-in: [1b82d3bf4f] user: js, branch: trunk, size: 9912) [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
[403fe91187] part of check-in [374e1a1bfa] Update copyright (check-in: [374e1a1bfa] user: js, branch: trunk, size: 9986) [annotate] [blame] [check-ins using] [diff]
2020-08-25
00:11
[a25483183f] 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: 10075) [annotate] [blame] [check-ins using] [diff]

2020-01-02
01:51
[f19c5b9455] part of check-in [c7f0229795] Update copyright (check-in: [c7f0229795] user: js, branch: trunk, size: 10076) [annotate] [blame] [check-ins using] [diff]
2019-09-29
15:58
[912a668d02] 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: 10073) [annotate] [blame] [check-ins using] [diff]

2019-06-19
00:45
[71910a92f2] 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: 10075) [annotate] [blame] [check-ins using] [diff]

00:36
[c3a18a2f55] part of check-in [eeec8af349] OFDictionary: Add default for fast enumeration (check-in: [eeec8af349] user: js, branch: trunk, size: 10099) [annotate] [blame] [check-ins using] [diff]
2019-03-25
00:21
[4a69123110] part of check-in [b045cbb9c7] tests: Use dot syntax (check-in: [b045cbb9c7] user: js, branch: trunk, size: 9916) [annotate] [blame] [check-ins using] [diff]
2019-02-17
22:44
[c54892547e] 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: 9922) [annotate] [blame] [check-ins using] [diff]

22:16
[c9013fa964] part of check-in [4c5f686a52] OFWindowsRegistryKey: Add write support (check-in: [4c5f686a52] user: js, branch: trunk, size: 10120) [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
[50c573af26] part of check-in [0509d7a844] Update copyright (check-in: [0509d7a844] user: js, branch: trunk, size: 10120) [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
[80cbc7715c] part of check-in [7e5c81e186] Update copyright notice (check-in: [7e5c81e186] user: js, branch: trunk, size: 10114) [annotate] [blame] [check-ins using] [diff]
2017-10-17
00:33
[ca0fda1cc3] 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: 10091) [annotate] [blame] [check-ins using] [diff]

2017-10-14
18:52
[ed8d42f32f] part of check-in [7e29a62cc6] Fix more shadowed variables

Clang didn't complain about these, but GCC did. (check-in: [7e29a62cc6] user: js, branch: trunk, size: 10049) [annotate] [blame] [check-ins using] [diff]

2017-10-11
20:53
[f2dd61fdb9] part of check-in [00476e4430] Fix shadowed variables and enable -Wshadow (check-in: [00476e4430] user: js, branch: trunk, size: 10047) [annotate] [blame] [check-ins using] [diff]
2017-09-28
23:02
[513f38a1a5] part of check-in [2de9660312] Enable -Wnullable-to-nonnull-conversion and adjust (check-in: [2de9660312] user: js, branch: trunk, size: 10030) [annotate] [blame] [check-ins using] [diff]
2017-06-25
17:13
[76bc88ef2a] part of check-in [2fafde4058] Add -[OFDictionary stringByURLEncoding] (check-in: [2fafde4058] user: js, branch: trunk, size: 9997) [annotate] [blame] [check-ins using] [diff]
17:08
[37eb73f85e] part of check-in [f8d89b56f2] OFDictionaryTests: Clean up variable names (check-in: [f8d89b56f2] user: js, branch: trunk, size: 9806) [annotate] [blame] [check-ins using] [diff]
2017-05-07
20:10
[b05d0d80fb] 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: 9543) [annotate] [blame] [check-ins using] [diff]

2017-05-01
13:51
[6cb38442bb] part of check-in [cfd54bd090] Add tests for generic OF(Mutable)Dictionary

These are usually not used, as OFDictionary_hashtable and
OFMutableDictionary_hashtable are used instead. However, they are used
if someone creates their own subclass of OFDictionary /
OFMutableDictionary. As they are rarely used in production, it is
important to run all tests on them. (check-in: [cfd54bd090] user: js, branch: trunk, size: 9537) [annotate] [blame] [check-ins using] [diff]

2017-01-09
17:36
[0918022e86] 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: 7251) [annotate] [blame] [check-ins using] [diff]

2016-06-05
15:50
[7c197c60f6] part of check-in [4ad79a7f67] Fix OFDictionaryTests (check-in: [4ad79a7f67] user: js, branch: trunk, size: 7245) [annotate] [blame] [check-ins using] [diff]
15:11
[c47931a3b5] part of check-in [f816d1ec7c] Move -[setValue:forKey:] to OFDictionary

If this is only overridden in OFMutableDictionary, this would lead to
inconsistent behavior, as it could be called on an OFDictionary as well
due to the fact that -[setValue:forKey:] is defined in OFObject.
Instead, if the dictionary is immutable, an OFUndefinedKeyException is
thrown. (check-in: [f816d1ec7c] user: js, branch: trunk, size: 7224) [annotate] [blame] [check-ins using] [diff]

14:32
[b3dcaccc4e] part of check-in [cbacea7ca3] Implement Key Value Coding for OFDictionary

If the key starts with an @, the @ is stripped and the super method is
called. Otherwise, this is equivalent to -[objectForKey:] /
-[setValue:forKey:]. (check-in: [cbacea7ca3] user: js, branch: trunk, size: 7031) [annotate] [blame] [check-ins using] [diff]

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

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

00:41
[6682fa3a80] part of check-in [2a27cf3000] Update copyright

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

2015-11-29
14:26
[3cc771ecbe] 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: 6843) [annotate] [blame] [check-ins using] [diff]

2015-06-28
16:39
[9df1f8a4e7] part of check-in [07e630588d] tests: Use __VA_ARGS__ for TEST() and clean up (check-in: [07e630588d] user: js, branch: trunk, size: 6882) [annotate] [blame] [check-ins using] [diff]
2015-01-03
20:57
[8f675067b8] part of check-in [cfd374b906] Update copyright (check-in: [cfd374b906] user: js, branch: trunk, size: 6886) [annotate] [blame] [check-ins using] [diff]
2014-01-04
00:24
[276c085356] part of check-in [3b97fc3cd9] Update copyright. (check-in: [3b97fc3cd9] user: js, branch: trunk, size: 6880) [annotate] [blame] [check-ins using] [diff]
2013-07-10
12:33
[45630b47b6] 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: 6874) [annotate] [blame] [check-ins using] [diff]

2013-03-08
22:44
[d16af2dca7] 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: 6853) [annotate] [blame] [check-ins using] [diff]

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

2013-01-09
22:24
[220414cfb6] part of check-in [813c00ccf0] Update copyright. (check-in: [813c00ccf0] user: js, branch: trunk, size: 6891) [annotate] [blame] [check-ins using] [diff]
2012-12-01
18:08
[ff01f6e7c5] part of check-in [1abbb97747] OFDictionary_hashtable: Store in OFMapTable. (check-in: [1abbb97747] user: js, branch: trunk, size: 6885) [annotate] [blame] [check-ins using] [diff]
2012-10-09
15:07
[aba58d7db0] part of check-in [fb515e8e24] Make use of instancetype. (check-in: [fb515e8e24] user: js, branch: trunk, size: 6893) [annotate] [blame] [check-ins using] [diff]
2012-01-05
00:56
[0987dcb8fa] part of check-in [ce70e17b38] Update copyright. (check-in: [ce70e17b38] user: js, branch: trunk, size: 6877) [annotate] [blame] [check-ins using] [diff]
2011-11-21
16:47
[3c41c1f125] part of check-in [d8a6ca3fbd] There is no need to hash 32 bit per character if Unicode has only 24. (check-in: [d8a6ca3fbd] user: js, branch: trunk, size: 6871) [annotate] [blame] [check-ins using] [diff]
2011-09-22
23:25
[04d0bf130a] 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: 6791) [annotate] [blame] [check-ins using] [diff]

2011-07-21
19:03
[127b7e8b9a] part of check-in [cc87fcff36] Add -[allKeys] and -[allObjects] to OFDictionary. (check-in: [cc87fcff36] user: js, branch: trunk, size: 6822) [annotate] [blame] [check-ins using] [diff]
2011-04-04
23:02
[f1e6cab4f8] part of check-in [1df836eacc] Indent -[description] of collections. (check-in: [1df836eacc] user: js, branch: trunk, size: 6590) [annotate] [blame] [check-ins using] [diff]
2011-03-24
19:42
[f16fd40dcf] part of check-in [cda44767f4] Get rid of OFExceptions.h. (check-in: [cda44767f4] user: js, branch: trunk, size: 6558) [annotate] [blame] [check-ins using] [diff]
2011-02-07
19:22
[8108ff1658] part of check-in [0a6e073938] Add -[containsObject(IdenticalTo):] to OFCollection. (check-in: [0a6e073938] user: js, branch: trunk, size: 6539) [annotate] [blame] [check-ins using] [diff]
2011-01-01
20:19
[cf65088ec9] part of check-in [da6b3d26cb] Change license. (check-in: [da6b3d26cb] user: js, branch: trunk, size: 6221) [annotate] [blame] [check-ins using] [diff]
2010-12-25
19:31
[b151adf08e] part of check-in [39cb19595d] Add OFDate. (check-in: [39cb19595d] user: js, branch: trunk, size: 5965) [annotate] [blame] [check-ins using] [diff]
2010-12-12
01:21
[6e72394016] part of check-in [90c26dded5] Add -[mapped{Array,Dictionary}UsingBlock:]. (check-in: [90c26dded5] user: js, branch: trunk, size: 5965) [annotate] [blame] [check-ins using] [diff]
00:38
[5becf67107] part of check-in [42060f220c] Add -[filtered{Array,Dictionary}UsingBlock]. (check-in: [42060f220c] user: js, branch: trunk, size: 5683) [annotate] [blame] [check-ins using] [diff]
2010-11-13
21:57
[65e2a63075] part of check-in [9b50b86632] Add -[description] for OFObject, OFString, OFArray and OFDictionary. (check-in: [9b50b86632] user: js, branch: trunk, size: 5471) [annotate] [blame] [check-ins using] [diff]
2010-09-08
10:02
[e289cdd042] part of check-in [ea3c419495] Move -[replaceObjectsUsingBlock:] test to the right place. (check-in: [ea3c419495] user: js, branch: trunk, size: 5375) [annotate] [blame] [check-ins using] [diff]
2010-08-29
17:53
[9041d899a3] part of check-in [e84073d0f9] More methods using blocks. (check-in: [e84073d0f9] user: js, branch: trunk, size: 5375) [annotate] [blame] [check-ins using] [diff]
2010-08-28
18:54
[16f274bf48] part of check-in [c5d65603d8] Initial support for blocks. (check-in: [c5d65603d8] user: js, branch: trunk, size: 5013) [annotate] [blame] [check-ins using] [diff]
2010-08-25
11:33
[c3d8891ce2] part of check-in [eea73f8d37] -[setObject:forKey:] and -[removeObjectForKey:] now return void. (check-in: [eea73f8d37] user: js, branch: trunk, size: 4331) [annotate] [blame] [check-ins using] [diff]
2010-04-17
15:46
[09fd546f0f] 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: 4279) [annotate] [blame] [check-ins using] [diff]
2010-04-07
21:06
Added: [3031e7357f] 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: 4252) [annotate] [blame] [check-ins using]