History of file src/OFMutableDictionary.m at check-in e1285e3ba901efdf
2024-04-03
| ||
02:16 | Change license to LGPLv3 only file: [29c2abbd28] check-in: [7413a728a7] user: js, branch: trunk, size: 4731 [annotate] [blame] [check-ins using] [diff] | |
2024-01-02
| ||
17:17 | Update copyright file: [851457fb25] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 4523 [annotate] [blame] [check-ins using] [diff] | |
2023-08-12
| ||
17:31 | OFDictionary: Add designated initializers file: [8a88d7dabe] check-in: [4fa963805b] user: js, branch: trunk, size: 4523 [annotate] [blame] [check-ins using] [diff] | |
2023-08-09
| ||
10:09 | More consistency in naming of private classes file: [c24bbf1afd] check-in: [281b494de4] user: js, branch: trunk, size: 4038 [annotate] [blame] [check-ins using] [diff] | |
09:08 | Add OF_SINGLETON_METHODS file: [6b2bb24001] check-in: [36310f6263] user: js, branch: trunk, size: 4038 [annotate] [blame] [check-ins using] [diff] | |
2023-08-08
| ||
15:32 | A few minor cleanups file: [e4cbf1d035] check-in: [a6f520157a] user: js, branch: trunk, size: 4171 [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 | |
2023-01-06
| ||
09:04 | Update copyright file: [6575efa5e7] check-in: [8939cbdb52] user: js, branch: trunk, size: 4534 [annotate] [blame] [check-ins using] [diff] | |
2022-02-12
| ||
07:46 | Update copyright file: [459ca84c71] check-in: [1a86b8175b] user: js, branch: trunk, size: 4534 [annotate] [blame] [check-ins using] [diff] | |
2021-04-17
| ||
03:21 | Rename all blocks file: [e5de8c4c10] check-in: [c4e0e56fa3] user: js, branch: new-naming-convention, size: 4534 [annotate] [blame] [check-ins using] [diff] | |
2021-03-07
| ||
20:25 | *.m: Fold methods into one line where it fits file: [76370e25f8] check-in: [1b82d3bf4f] user: js, branch: trunk, size: 4539 [annotate] [blame] [check-ins using] [diff] | |
02:36 |
Style change: Allow more than 1 argument per line
This is only migrating some places, others will be migrated as they are | |
2021-01-02
| ||
22:04 | Update copyright file: [258a8f4b24] check-in: [374e1a1bfa] user: js, branch: trunk, size: 4570 [annotate] [blame] [check-ins using] [diff] | |
2020-01-02
| ||
01:51 | Update copyright file: [178e351b06] check-in: [c7f0229795] user: js, branch: trunk, size: 4659 [annotate] [blame] [check-ins using] [diff] | |
2019-06-17
| ||
02:33 | Remove underscores from class names file: [ddff1f3203] check-in: [17d57e01ff] user: js, branch: trunk, size: 4656 [annotate] [blame] [check-ins using] [diff] | |
2019-03-08
| ||
00:35 | Use dot syntax file: [08e850f34a] check-in: [bceb7ed4c9] user: js, branch: trunk, size: 4692 [annotate] [blame] [check-ins using] [diff] | |
2019-01-03
| ||
19:13 | Update copyright file: [1ca29dfd97] check-in: [0509d7a844] user: js, branch: trunk, size: 4694 [annotate] [blame] [check-ins using] [diff] | |
2018-01-03
| ||
19:49 | Update copyright notice file: [3620aaccb9] check-in: [7e5c81e186] user: js, branch: trunk, size: 4688 [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 | |
2017-11-05
| ||
18:25 | Use -[isMemberOfClass:] instead of object_getClass file: [ca6e54d9b6] check-in: [0a4565fb0f] user: js, branch: trunk, size: 4603 [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 | |
2017-05-25
| ||
15:09 | -[OFMutableDictionary addEntiresFromDictionary:] file: [d718ec6322] check-in: [88a584a16f] user: js, branch: trunk, size: 4404 [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: [63b8a9aaca] check-in: [4af49a13c3] user: js, branch: trunk, size: 3970 [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 | |
2016-09-12
| ||
00:27 | Add OF_DEALLOC_UNSUPPORTED macro file: [df17c135f5] check-in: [13f4c6c678] user: js, branch: trunk, size: 3958 [annotate] [blame] [check-ins using] [diff] | |
2016-06-05
| ||
15:11 |
Move -[setValue:forKey:] to OFDictionary
If this is only overridden in OFMutableDictionary, this would lead to | |
14:32 |
Implement Key Value Coding for OFDictionary
If the key starts with an @, the @ is stripped and the super method is | |
2016-01-03
| ||
00:43 |
Update copyright
While at it, also update the mail address. file: [a50117af87] check-in: [cec0f072f8] user: js, branch: 0.8, size: 4104 [annotate] [blame] [check-ins using] [diff] | |
00:41 |
Update copyright
While at it, also update the mail address. file: [6b8bc772b6] check-in: [2a27cf3000] user: js, branch: trunk, size: 3993 [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 | |
2015-01-03
| ||
20:57 | Update copyright file: [670510655b] check-in: [cfd374b906] user: js, branch: trunk, size: 4100 [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 | |
2014-01-04
| ||
00:24 | Update copyright. file: [f131fe5ace] check-in: [3b97fc3cd9] user: js, branch: trunk, size: 4138 [annotate] [blame] [check-ins using] [diff] | |
2013-11-23
| ||
01:27 | Add OF_UNRECOGNIZED_SELECTOR. file: [42d74ec14c] check-in: [6e19bd47ee] user: js, branch: trunk, size: 4132 [annotate] [blame] [check-ins using] [diff] | |
01:12 | Add OF_INVALID_INIT_METHOD. file: [fcf875c4b5] check-in: [35dafd5c57] user: js, branch: trunk, size: 4204 [annotate] [blame] [check-ins using] [diff] | |
2013-09-29
| ||
16:25 | Add missing includes. file: [b32f46f782] check-in: [c6a65ca7a6] user: js, branch: trunk, size: 4273 [annotate] [blame] [check-ins using] [diff] | |
2013-08-10
| ||
23:12 | Add -[OFMutableDictionary removeAllObjects]. file: [09dfaa10d0] check-in: [aae02e7970] user: js, branch: trunk, size: 4253 [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 | |
2013-03-04
| ||
17:20 |
Replace BOOL with bool.
The only places where BOOL is left are those where they are required by | |
2013-02-18
| ||
12:27 | Add -[OFMutableArray initWithCapacity:]. file: [00eb95393f] check-in: [e0c9168dfc] user: js, branch: trunk, size: 3890 [annotate] [blame] [check-ins using] [diff] | |
11:31 | A few small fixes for OS X/PPC. file: [0f0750039f] check-in: [adaf5a3e6e] user: js, branch: trunk, size: 3876 [annotate] [blame] [check-ins using] [diff] | |
11:07 |
Add -[OFMutableDictionary initWithCapacity:].
This was already implemented in OFDictionary_hashtable for internal | |
2013-01-09
| ||
22:24 | Update copyright. file: [7687a7a311] check-in: [813c00ccf0] user: js, branch: trunk, size: 3482 [annotate] [blame] [check-ins using] [diff] | |
2012-12-22
| ||
15:37 | Add -[doesNotRecognizeSelector:]. file: [89524405ee] check-in: [917ce5754c] user: js, branch: trunk, size: 3476 [annotate] [blame] [check-ins using] [diff] | |
2012-10-21
| ||
22:12 | Make GCC 4.4 happy. file: [366d9b52dc] check-in: [fcade8da38] user: js, branch: trunk, size: 3638 [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 | |
2012-07-12
| ||
01:28 | Don't access isa directly. file: [d28ad27aa9] check-in: [8892ae9fcc] user: js, branch: trunk, size: 3691 [annotate] [blame] [check-ins using] [diff] | |
2012-03-29
| ||
07:57 | Add a few "const" where they make sense. file: [3637b5fc69] check-in: [89d53f2a9a] user: js, branch: trunk, size: 3614 [annotate] [blame] [check-ins using] [diff] | |
2012-03-12
| ||
12:18 | Make dictionary literals work. file: [9331cf055e] check-in: [6428a08de1] user: js, branch: trunk, size: 3602 [annotate] [blame] [check-ins using] [diff] | |
12:14 | Add +[OFDictionary dictionaryWithObjects:forKeys:count:]. file: [09218a8546] check-in: [d42a56787b] user: js, branch: trunk, size: 3494 [annotate] [blame] [check-ins using] [diff] | |
2012-01-05
| ||
00:56 | Update copyright. file: [f8225615a5] check-in: [ce70e17b38] user: js, branch: trunk, size: 3285 [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: [d5ec5c9a16] check-in: [6bdb2e4b01] user: js, branch: trunk, size: 3279 [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 So, the worst case would be that an autorelease of an exception fails, | |
2011-09-09
| ||
19:15 | Fix a type mistmach (interface vs. implementation). file: [4c5a03559b] check-in: [e493aac469] user: js, branch: trunk, size: 3196 [annotate] [blame] [check-ins using] [diff] | |
2011-08-31
| ||
16:01 | Make OFSet and OFCountedSet abstract classes. file: [b6a6426560] check-in: [66b12bb66f] user: js, branch: trunk, size: 3232 [annotate] [blame] [check-ins using] [diff] | |
2011-08-30
| ||
17:07 | Move throwing an OFNotImplementedException in abstract classes. file: [8805a4fb1a] check-in: [bfefa54668] user: js, branch: trunk, size: 3252 [annotate] [blame] [check-ins using] [diff] | |
2011-08-22
| ||
09:58 | Clean up the class hierarchy in the doxygen generated documentation. file: [1646e68d29] check-in: [367bf4117b] user: js, branch: trunk, size: 3055 [annotate] [blame] [check-ins using] [diff] | |
2011-08-21
| ||
11:03 | Make OFDictionary an abstract class. file: [0c649f32e0] check-in: [c0098f89fe] user: js, branch: trunk, size: 3079 [annotate] [blame] [check-ins using] [diff] | |
2011-08-07
| ||
16:57 | Add -[makeImmutable] to all mutable classes and use it. file: [6cae7254e5] check-in: [927dbf6e7d] user: js, branch: trunk, size: 6702 [annotate] [blame] [check-ins using] [diff] | |
2011-07-28
| ||
22:21 |
Don't create and release a pool in -[enumerateObjectsUsingBlock:].
This fixes the mutable versions reimplementing it and still behaving the | |
2011-07-20
| ||
18:23 | Remove code duplication for fast enumeration of mutable collections. file: [7bf06a0039] check-in: [63fc941b66] user: js, branch: trunk, size: 6863 [annotate] [blame] [check-ins using] [diff] | |
2011-07-18
| ||
22:53 | Add OFSet and OFMutableSet. file: [77b424abe9] check-in: [8df328d503] user: js, branch: trunk, size: 7052 [annotate] [blame] [check-ins using] [diff] | |
2011-05-08
| ||
18:35 | OF(MutableDictionary): Use id <OFCopying> where appropriate. file: [9f66c7a554] check-in: [86c9b66b16] user: js, branch: trunk, size: 6881 [annotate] [blame] [check-ins using] [diff] | |
2011-04-22
| ||
16:53 | Style improvements in OF(Mutable)Dictionary. file: [0467bbb9de] check-in: [da0d602dc8] user: js, branch: trunk, size: 6869 [annotate] [blame] [check-ins using] [diff] | |
2011-03-27
| ||
17:51 | Pass the causing object for OFEnumerationMutationExceptions. file: [2759ebe7dd] check-in: [f072e1a338] user: js, branch: trunk, size: 6858 [annotate] [blame] [check-ins using] [diff] | |
2011-03-24
| ||
19:42 | Get rid of OFExceptions.h. file: [c62c6b1356] check-in: [cda44767f4] user: js, branch: trunk, size: 6768 [annotate] [blame] [check-ins using] [diff] | |
2011-03-22
| ||
00:55 | Add -Wshorten-64-to-32. file: [b37339a1ba] check-in: [6d4dfb5bc7] user: js, branch: trunk, size: 6675 [annotate] [blame] [check-ins using] [diff] | |
2011-03-11
| ||
12:29 | Create an autorelease pool before calling blocks. file: [5577794406] check-in: [44f8152a03] user: js, branch: trunk, size: 6683 [annotate] [blame] [check-ins using] [diff] | |
2011-01-01
| ||
20:19 | Change license. file: [16f741d077] check-in: [da6b3d26cb] user: js, branch: trunk, size: 6436 [annotate] [blame] [check-ins using] [diff] | |
2010-10-25
| ||
23:03 | Clean up a lot of code (mostly init methods) and fix a missing rethrow. file: [0596555fcb] check-in: [8a7ca573c4] user: js, branch: trunk, size: 6180 [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 | |
2010-08-29
| ||
17:53 | More methods using blocks. file: [9fd6867bb8] check-in: [e84073d0f9] user: js, branch: trunk, size: 6172 [annotate] [blame] [check-ins using] [diff] | |
2010-08-28
| ||
18:54 | Initial support for blocks. file: [5c1939bedc] check-in: [c5d65603d8] user: js, branch: trunk, size: 5596 [annotate] [blame] [check-ins using] [diff] | |
2010-08-25
| ||
11:33 | -[setObject:forKey:] and -[removeObjectForKey:] now return void. file: [0791cedf2b] check-in: [eea73f8d37] user: js, branch: trunk, size: 5170 [annotate] [blame] [check-ins using] [diff] | |
2010-06-01
| ||
18:00 |
Fix a very nasty typo in OFMutableDictionary.
This typo would prevent termination in the very rare case that the last | |
2010-04-17
| ||
16:09 | Give the methods in OFNumber better names. file: [5339feda90] check-in: [2517f18272] user: js, branch: trunk, size: 5237 [annotate] [blame] [check-ins using] [diff] | |
15:46 | Don't return self where not necessary, return void or something useful. file: [f5a5609e10] check-in: [062a052b50] user: js, branch: trunk, size: 5241 [annotate] [blame] [check-ins using] [diff] | |
13:29 | Reduce memory usage of OFDictionary and fix hashing. file: [68b8ff9c5e] check-in: [d46212a8cd] user: js, branch: trunk, size: 5198 [annotate] [blame] [check-ins using] [diff] | |
11:12 | Rewrite OFDictionary code to make it more readable. file: [c6cdd10ae1] check-in: [9f260d5f50] user: js, branch: trunk, size: 5133 [annotate] [blame] [check-ins using] [diff] | |
10:48 | Due to a 32 bit hash, a dictionary can never be bigger than UINT32_MAX. file: [74e169c6cb] check-in: [b9015dbc75] user: js, branch: trunk, size: 5103 [annotate] [blame] [check-ins using] [diff] | |
10:35 | Make resizing a private method instead of inlining. file: [f91e7929a8] check-in: [e870ea71ac] user: js, branch: trunk, size: 5108 [annotate] [blame] [check-ins using] [diff] | |
2010-03-19
| ||
22:05 | Better values for OFMutableDictionary resizing. file: [d4b94495f4] check-in: [6c93ca551a] user: js, branch: trunk, size: 5184 [annotate] [blame] [check-ins using] [diff] | |
00:53 | Better out of range checking in OFMutableDictionary. file: [6f0115135e] check-in: [12689ed614] user: js, branch: trunk, size: 5182 [annotate] [blame] [check-ins using] [diff] | |
2010-03-18
| ||
13:49 | Fix a bug with deleted buckets in OFDictionary + a few optimizations. file: [5a9553cf23] check-in: [e3f22b34ea] user: js, branch: trunk, size: 5116 [annotate] [blame] [check-ins using] [diff] | |
2010-03-05
| ||
11:52 |
Merge a few changesets from the default branch into the 0.2 branch.
Changesets: | |
2010-02-19
| ||
16:36 | Update copyright. file: [2ba9682b11] check-in: [42886185fd] user: js, branch: trunk, size: 4405 [annotate] [blame] [check-ins using] [diff] | |
2010-02-02
| ||
18:58 | Rename OFMacros.h to macros.h, as it's not a class. file: [9dc55644e5] check-in: [832188d759] user: js, branch: trunk, size: 4405 [annotate] [blame] [check-ins using] [diff] | |
2010-01-30
| ||
15:47 | Make OFEnumerator more general, implement it for OFArray & OFDictionary. file: [a965448013] check-in: [daae7ffbf3] user: js, branch: trunk, size: 4407 [annotate] [blame] [check-ins using] [diff] | |
2010-01-03
| ||
21:08 | Implement Fast Enumeration for OFDictionary. file: [6f1a880dde] check-in: [b110e218cb] user: js, branch: trunk, size: 4073 [annotate] [blame] [check-ins using] [diff] | |
21:03 | OFMutableDictionary: Add mutations counter. file: [301606f51d] check-in: [4f18e380bf] user: js, branch: trunk, size: 3624 [annotate] [blame] [check-ins using] [diff] | |
2009-12-05
| ||
17:19 | Fix optimization in OFDictionary / OFMutableDictionary. file: [cb7126369e] check-in: [011e248c30] user: js, branch: trunk, size: 3594 [annotate] [blame] [check-ins using] [diff] | |
16:52 | Improve error handling in OFDictionary and OFMutableDictionary. file: [04854978e7] check-in: [0fcd9ed4d3] user: js, branch: trunk, size: 3582 [annotate] [blame] [check-ins using] [diff] | |
16:33 | Improve OFDictionary. file: [e74e634938] check-in: [725b23f325] user: js, branch: trunk, size: 3486 [annotate] [blame] [check-ins using] [diff] | |
13:19 | Get rid of float in OFMutableDictionary. file: [5b1e163002] check-in: [7d0a27a751] user: js, branch: trunk, size: 3427 [annotate] [blame] [check-ins using] [diff] | |
2009-11-13
| ||
21:07 | Fix yet another FIXME. file: [a2b20d13ec] check-in: [d3d1f36316] user: js, branch: trunk, size: 3433 [annotate] [blame] [check-ins using] [diff] | |
2009-11-09
| ||
22:45 | Rename libobjfw to ObjFW. file: [5bfedf083e] check-in: [a3cc34b139] user: js, branch: trunk, size: 3428 [annotate] [blame] [check-ins using] [diff] | |
2009-09-08
| ||
16:06 |
New OFDictionary implementation and removal of a hack in OFList.
The new implementation is easier to use as it does automatic resizing, I decided to change the implementation as only very few need a As the new implementation no longer uses OFList, this also made it | |
2009-07-21
| ||
16:08 | Fix wrong order of retain / release. file: [48a81d9fea] check-in: [a7b6d69e14] user: js, branch: trunk, size: 3088 [annotate] [blame] [check-ins using] [diff] | |
2009-07-19
| ||
14:05 | Rename andFoo: to foo: in all methods. file: [43575dd54b] check-in: [4eae61a78f] user: js, branch: trunk, size: 3080 [annotate] [blame] [check-ins using] [diff] | |
2009-06-30
| ||
13:38 | Implement OFCopying and OFMutableCopying in OFDictionary. file: [66ece5ed91] check-in: [eddc0ba58c] user: js, branch: trunk, size: 3080 [annotate] [blame] [check-ins using] [diff] | |
2009-06-29
| ||
12:33 |
Changes to OFDictionary, OFIterator and OFList - see details.
OFDictionary: OFIterator: OFList: | |
2009-05-29
| ||
19:21 |
A few renames.
OFExceptions: OFObject: OFString: | |
2009-05-24
| ||
18:04 | Always use #include "config.h" instead of #import "config.h". file: [b1c46110e9] check-in: [94ea6848a8] user: js, branch: trunk, size: 2733 [annotate] [blame] [check-ins using] [diff] | |
2009-05-23
| ||
16:50 |
A few renames in OFArray, OFDataArray and OFDictionary.
OFArray: OFDataArray: OFDictionary: | |
2009-05-18
| ||
23:08 | Fix memset on wrong variable in OFMutableDictionary. file: [8ea4251805] check-in: [98f2fa06d0] user: js, branch: trunk, size: 2708 [annotate] [blame] [check-ins using] [diff] | |
20:53 | Added: Split OFDictionary into OFDictionary and OFMutableDictionary. file: [e1b66eccc2] check-in: [71abb030af] user: js, branch: trunk, size: 2705 [annotate] [blame] [check-ins using] | |