ObjFW  History of tests/OFDictionaryTests.m of ec50bf2a936b8147

History of file tests/OFDictionaryTests.m at check-in ec50bf2a936b8147

2024-04-03
02:16
Change license to LGPLv3 only file: [372c2ea411] check-in: [7413a728a7] user: js, branch: trunk, size: 6672 [annotate] [blame] [check-ins using] [diff]
2024-03-29
10:58
Add more tests for -[{copy,mutableCopy,hash}] file: [6c95115dab] 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. Rename new tests file: [49b4f5c917] check-in: [7a84580fb6] user: js, branch: objfwtest, size: 6352 [annotate] [blame] [check-ins using] [diff]
12:51
Make GCC happy again file: [49b4f5c917] check-in: [69a0cfcb13] user: js, branch: objfwtest, size: 6352 [annotate] [blame] [check-ins using] [diff]
12:49
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. file: [9cb3005942] 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. Migrate OFDictionaryTests to ObjFWTest file: [b592578265] check-in: [728cc47880] user: js, branch: objfwtest, size: 6435 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [322f36dbf5] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 9955 [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
Update copyright file: [a12b4aaa0c] check-in: [8939cbdb52] user: js, branch: trunk, size: 9955 [annotate] [blame] [check-ins using] [diff]
2022-09-28
22:02
Remove -[OFDictionary URIQueryString]

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

21:40
Rename OFUR{L -> I} in preparation for URI support file: [c3ff6abd22] check-in: [e7ab06503c] user: js, branch: trunk, size: 10136 [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
Update copyright file: [7127a0734c] check-in: [1a86b8175b] user: js, branch: trunk, size: 10146 [annotate] [blame] [check-ins using] [diff]
2021-05-08
23:29
tests: Minor const improvement file: [545415a78a] check-in: [c8663697ae] user: js, branch: trunk, size: 10146 [annotate] [blame] [check-ins using] [diff]
23:22
tests: Align more with ObjFW style

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

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

2020-01-02
01:51
Update copyright file: [f19c5b9455] check-in: [c7f0229795] user: js, branch: trunk, size: 10076 [annotate] [blame] [check-ins using] [diff]
2019-09-29
15:58
Remove OFAutoreleasePool

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

2019-06-19
00:45
OFEnumerator: Remove -[reset]

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

00:36
OFDictionary: Add default for fast enumeration file: [c3a18a2f55] check-in: [eeec8af349] user: js, branch: trunk, size: 10099 [annotate] [blame] [check-ins using] [diff]
2019-03-25
00:21
tests: Use dot syntax file: [4a69123110] check-in: [b045cbb9c7] user: js, branch: trunk, size: 9916 [annotate] [blame] [check-ins using] [diff]
2019-02-17
22:44
tests: Only import ObjFW.h

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

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

2017-10-14
18:52
Fix more shadowed variables

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

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

2017-05-01
13:51
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. file: [6cb38442bb] check-in: [cfd54bd090] user: js, branch: trunk, size: 9537 [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: [0918022e86] check-in: [44f45c2e35] user: js, branch: trunk, size: 7251 [annotate] [blame] [check-ins using] [diff]

2016-06-05
15:50
Fix OFDictionaryTests file: [7c197c60f6] check-in: [4ad79a7f67] user: js, branch: trunk, size: 7245 [annotate] [blame] [check-ins using] [diff]
15:11
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. file: [c47931a3b5] check-in: [f816d1ec7c] user: js, branch: trunk, size: 7224 [annotate] [blame] [check-ins using] [diff]

14:32
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:]. file: [b3dcaccc4e] check-in: [cbacea7ca3] user: js, branch: trunk, size: 7031 [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:43
Update copyright

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

00:41
Update copyright

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

2015-11-29
14:26
Remove defines we no longer need

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

2015-06-28
16:39
tests: Use __VA_ARGS__ for TEST() and clean up file: [9df1f8a4e7] check-in: [07e630588d] user: js, branch: trunk, size: 6882 [annotate] [blame] [check-ins using] [diff]
2015-01-03
20:57
Update copyright file: [8f675067b8] check-in: [cfd374b906] user: js, branch: trunk, size: 6886 [annotate] [blame] [check-ins using] [diff]
2014-01-04
00:24
Update copyright. file: [276c085356] check-in: [3b97fc3cd9] user: js, branch: trunk, size: 6880 [annotate] [blame] [check-ins using] [diff]
2013-07-10
12:33
Get rid of a new Clang warning.

Clang now warns if the enumeration variable of a fast enumeration is not
used. file: [45630b47b6] check-in: [6143baaaee] user: js, branch: trunk, size: 6874 [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: [d16af2dca7] check-in: [e8473b9db8] user: js, branch: trunk, size: 6853 [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: [e04f963308] check-in: [c5ef582958] user: js, branch: trunk, size: 6870 [annotate] [blame] [check-ins using] [diff]

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

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