ObjFW  History of src/OFList.m of b965dad5f85842c4

History of file src/OFList.m at check-in b965dad5f85842c4

2024-10-27
18:38
Remove nullable in .m files file: [13156323aa] check-in: [7d1275cb49] user: js, branch: trunk, size: 8218 [annotate] [blame] [check-ins using] [diff]
2024-04-03
02:16
Change license to LGPLv3 only file: [753180d6a2] check-in: [7413a728a7] user: js, branch: trunk, size: 8253 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [fff0146310] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 8045 [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
serialization includes whether something is mutable or immutable. This means
doing as much as making something immutable changes the serialization, which
can then cause issues after being deserialized. file: [9b79071582] check-in: [6ce0093f8d] user: js, branch: trunk, size: 8045 [annotate] [blame] [check-ins using] [diff]

2023-01-06
09:04
Update copyright file: [f8495d68a7] check-in: [8939cbdb52] user: js, branch: trunk, size: 9096 [annotate] [blame] [check-ins using] [diff]
2022-11-16
01:27
Add OFAssert()

This uses the same format as OFEnsure(). file: [f4144af409] check-in: [c86b8f10f0] user: js, branch: trunk, size: 9096 [annotate] [blame] [check-ins using] [diff]

2022-02-12
07:46
Update copyright file: [18864abbc2] check-in: [1a86b8175b] user: js, branch: trunk, size: 9114 [annotate] [blame] [check-ins using] [diff]
2021-04-29
23:24
Clean up struct and enum typedefs

With TYPEDEF_HIDES_STRUCT set, Doxygen properly handles anonymous
structs and enums that are typedef'd. file: [75ee6d9e19] check-in: [2fcf5a3052] user: js, branch: trunk, size: 9114 [annotate] [blame] [check-ins using] [diff]

2021-04-25
16:48
Make OFListItem opaque file: [71b5abf54f] check-in: [8573ef86c6] user: js, branch: trunk, size: 9103 [annotate] [blame] [check-ins using] [diff]
2021-04-19
21:54
Rename a few more constants file: [270e405c2f] check-in: [458420998c] user: js, branch: new-naming-convention, size: 8889 [annotate] [blame] [check-ins using] [diff]
2021-04-18
15:55
Rename all functions in macros.h file: [030fa83d33] check-in: [7392685ffc] user: js, branch: new-naming-convention, size: 8895 [annotate] [blame] [check-ins using] [diff]
2021-04-17
22:45
Rename of_(re)alloc and add OFFreeMemory file: [d8924dd60b] check-in: [498074dab9] user: js, branch: new-naming-convention, size: 8899 [annotate] [blame] [check-ins using] [diff]
05:45
Rename all types in OFList file: [ce0d3e5241] check-in: [5b57beeba6] user: js, branch: new-naming-convention, size: 8850 [annotate] [blame] [check-ins using] [diff]
02:43
Rename of_fast_enumeration_state_t file: [eaa8494459] check-in: [ed3b07591c] user: js, branch: new-naming-convention, size: 9357 [annotate] [blame] [check-ins using] [diff]
2021-03-07
20:25
*.m: Fold methods into one line where it fits file: [734046ca66] check-in: [1b82d3bf4f] user: js, branch: trunk, size: 9362 [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
Update copyright file: [9079ad9449] check-in: [374e1a1bfa] user: js, branch: trunk, size: 9362 [annotate] [blame] [check-ins using] [diff]
2020-11-14
12:23
Rename of_malloc and of_calloc

The new names should be more accurate. file: [5f900e9ac3] check-in: [627511b032] user: js, branch: trunk, size: 9451 [annotate] [blame] [check-ins using] [diff]

2020-11-06
00:58
OFList: Avoid -[allocMemoryWithSize:] file: [17f16f253f] check-in: [db15314420] user: js, branch: trunk, size: 9456 [annotate] [blame] [check-ins using] [diff]
2020-10-10
14:27
OFObject: Change type of -[hash] to unsigned long

The internal hash is still 32 bit in most places, but this way, it is at
least not baked into the API and ABI and can be upgraded later, should
that ever be necessary. file: [2cea85f754] check-in: [aeb403a1ed] user: js, branch: trunk, size: 9485 [annotate] [blame] [check-ins using] [diff]

2020-06-28
15:03
Use OF_DIRECT(_MEMBERS) where appropriate file: [58e8774a64] check-in: [b6cb3addd0] user: js, branch: trunk, size: 9480 [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
Update copyright file: [8f702bf74a] check-in: [c7f0229795] user: js, branch: trunk, size: 9462 [annotate] [blame] [check-ins using] [diff]
2019-09-29
20:53
Reduce ivar scopes file: [60f4af0c33] check-in: [e0a330b377] user: js, branch: trunk, size: 9459 [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: [146f486f61] check-in: [7214a2c7af] user: js, branch: trunk, size: 9184 [annotate] [blame] [check-ins using] [diff]

2019-03-08
00:35
Use dot syntax file: [b8390d9c24] check-in: [bceb7ed4c9] user: js, branch: trunk, size: 9350 [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
Update copyright file: [f9d90df6d5] check-in: [0509d7a844] user: js, branch: trunk, size: 9367 [annotate] [blame] [check-ins using] [diff]
2018-04-08
13:37
OFSecureData: Add a memory allocator

This avoids having at last one page per OFSecureData and allows multiple
small OFSecureData sharing the same page, which is important on systems
where the number of pages that can be locked is very limited. file: [2c2e8bdce6] check-in: [0e45b7bb1c] user: js, branch: trunk, size: 9361 [annotate] [blame] [check-ins using] [diff]

2018-01-03
19:49
Update copyright notice file: [c4c7020709] check-in: [7e5c81e186] user: js, branch: trunk, size: 9360 [annotate] [blame] [check-ins using] [diff]
2017-11-11
23:27
Small optimization for -[isEqual:] file: [5fdedf938a] check-in: [526feacebc] user: js, branch: trunk, size: 9337 [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: [8973979249] check-in: [2f4e0df8be] user: js, branch: trunk, size: 9300 [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: [e2872c89cd] check-in: [4af49a13c3] user: js, branch: trunk, size: 9269 [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: [064f669702] check-in: [44f45c2e35] user: js, branch: trunk, size: 9252 [annotate] [blame] [check-ins using] [diff]

2016-02-21
15:37
Make use of C99-style for loops file: [809ddd51dc] check-in: [e0b9167693] user: js, branch: trunk, size: 9246 [annotate] [blame] [check-ins using] [diff]
2016-01-03
00:43
Update copyright

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

00:41
Update copyright

While at it, also update the mail address. file: [99a256af1a] check-in: [2a27cf3000] user: js, branch: trunk, size: 9260 [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
it anymore. file: [7c70cf8600] check-in: [6b13727ce0] user: js, branch: trunk, size: 9256 [annotate] [blame] [check-ins using] [diff]

11:43
Make properties a requirement and clean up code

This increases the required GCC version from 4.0 to 4.6 (exception:
Apple GCC, which already supports this with >= 4.0 starting with OS X
10.5). Since even GCC 4.6 is really old by now, there is no point in
still supporting something even older and making the code ugly because
of that. While some hardware and OS support was dropped from GCC 4.6
compared to GCC 4.0, there is nothing in there that would be an
interesting target with the exception of BeOS maybe - but a port to BeOS
can also be achieved using the Haiku support. The other dropped OSes are
mostly old versions of OSes while newer ones are still being supported
(and those newer versions of those OSes still support the same
hardware). file: [a0868f6c97] check-in: [48980f2297] user: js, branch: trunk, size: 9362 [annotate] [blame] [check-ins using] [diff]

2015-01-03
20:57
Update copyright file: [ea98df2a92] check-in: [cfd374b906] user: js, branch: trunk, size: 9401 [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
to manually import macros.h in almost every file. And while at it, also
import autorelease.h in OFObject.h, so that this doesn't need to be
manually imported in almost every file as well. file: [15d02f769c] check-in: [13ee56edf3] user: js, branch: trunk, size: 9395 [annotate] [blame] [check-ins using] [diff]

2014-04-26
00:40
Fix a few issues on LLP64 and Win64

LLP64 was mostly fast enumeration using an unsigned long for the state,
which can't store a pointer or a size_t on LLP64. This is now solved by
either throwing an OFOutOfRangeException if the value of the size_t is
bigger than ULONG_MAX or storing the pointer in the extra field (copied
using memcpy, as it's an array of unsigned long, which again would be
too small to store a pointer).

Win64 was mostly Microsoft not being able to decide whether a length is
a size_t, a DWORD, an int or an unsigned int (thus the different types
in places that seem to be almost the same). But since that would not be
confusing enough, a file descriptor is an int if it's for a file, but a
long long if it is for a socket. But of course, for ReadFile and friends
it's a DWORD instead of an int then. file: [fae299202c] check-in: [4e59d2692f] user: js, branch: trunk, size: 9439 [annotate] [blame] [check-ins using] [diff]

2014-01-04
00:24
Update copyright. file: [3fd803b400] check-in: [3b97fc3cd9] user: js, branch: trunk, size: 9354 [annotate] [blame] [check-ins using] [diff]
2013-06-22
12:12
Rework exceptions.

This mostly removes the argument for the class in which the exception
occurred. As backtraces were recently added for all platforms, the
passed class does not give any extra information on where the exception
occurred anymore.

This also removes a few other arguments which were not too helpful. In
the past, the idea was to pass as many arguments as possible so that it
is easier to find the origin of the exception. However, as backtraces
are a much better way to find the origin, those are not useful anymore
and just make the exception more cumbersome to use. The rule is now to
only pass arguments that might help in recovering from the exception or
provide information that is otherwise not easily accessible. file: [e54c914e15] check-in: [3d16a30f41] user: js, branch: trunk, size: 9348 [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: [0d2e63e3da] check-in: [c5ef582958] user: js, branch: trunk, size: 9451 [annotate] [blame] [check-ins using] [diff]

2013-02-12
18:22
Prefix all ivars with an underscore. file: [c96b3b33fd] check-in: [e40729d406] user: js, branch: trunk, size: 9427 [annotate] [blame] [check-ins using] [diff]
2013-01-09
22:24
Update copyright. file: [73617e55da] check-in: [813c00ccf0] user: js, branch: trunk, size: 9375 [annotate] [blame] [check-ins using] [diff]
2012-12-06
00:51
Clean up a few -[hash] methods. file: [872a6d7ce4] check-in: [10f221ad30] user: js, branch: trunk, size: 9369 [annotate] [blame] [check-ins using] [diff]
2012-10-09
15:07
Make use of instancetype. file: [ccac864af8] check-in: [fb515e8e24] user: js, branch: trunk, size: 9502 [annotate] [blame] [check-ins using] [diff]
2012-09-11
12:10
Add -[OFList removeAllObjects]. file: [9579281a19] check-in: [2b5d03d8ea] user: js, branch: trunk, size: 9488 [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
OFAutoreleasePool. file: [c65623ed0a] check-in: [1255f3a11a] user: js, branch: trunk, size: 9230 [annotate] [blame] [check-ins using] [diff]

2012-07-12
01:28
Don't access isa directly. file: [22c9c07182] check-in: [8892ae9fcc] user: js, branch: trunk, size: 9435 [annotate] [blame] [check-ins using] [diff]
2012-01-05
00:56
Update copyright. file: [161c3c4eaf] check-in: [ce70e17b38] user: js, branch: trunk, size: 9399 [annotate] [blame] [check-ins using] [diff]
2011-10-04
13:14
Split OFXMLElement into OFXML{Element,Characters,CDATA,Comment}. file: [37fa1864d5] check-in: [03f14bf019] user: js, branch: trunk, size: 9393 [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: [c2b5c044cc] check-in: [e1e7ffa903] user: js, branch: trunk, size: 9427 [annotate] [blame] [check-ins using] [diff]

2011-09-09
13:35
[pool release] can never throw by convention now. file: [a2958826ad] check-in: [798d9e6320] user: js, branch: trunk, size: 9385 [annotate] [blame] [check-ins using] [diff]
2011-08-07
16:57
Add -[makeImmutable] to all mutable classes and use it. file: [5cba33a83a] check-in: [927dbf6e7d] user: js, branch: trunk, size: 9412 [annotate] [blame] [check-ins using] [diff]
2011-07-23
15:02
Revert to old of_fast_enumeration_state_t as gcc 4.6 chokes on the new. file: [58ae77a2af] check-in: [fd7e4116e3] user: js, branch: trunk, size: 9634 [annotate] [blame] [check-ins using] [diff]
2011-07-19
22:53
Fast enumeration improvements. file: [e971f4ddef] check-in: [c52a5e5faf] user: js, branch: trunk, size: 9695 [annotate] [blame] [check-ins using] [diff]
2011-07-08
15:29
Make it possible to add more ivars to OFConstantString. file: [ba2a81b1ec] check-in: [0b846bcc4a] user: js, branch: trunk, size: 9577 [annotate] [blame] [check-ins using] [diff]
2011-06-28
22:20
Use isa as class for the copy where useful. file: [422b33ae63] check-in: [6d3b3d0468] user: js, branch: trunk, size: 9584 [annotate] [blame] [check-ins using] [diff]
01:51
Change serialization format to be way more readable and shorter. file: [037aaf69fa] check-in: [756bb26c98] user: js, branch: trunk, size: 9587 [annotate] [blame] [check-ins using] [diff]
2011-06-06
16:19
Remove semicolons that should not have been there. file: [c7a2a0264c] check-in: [048ed62083] user: js, branch: 0.5, size: 7227 [annotate] [blame] [check-ins using] [diff]
16:18
Remove semicolons that should not have been there. file: [8deaa7a6b1] check-in: [65ec63f7c1] user: js, branch: trunk, size: 9610 [annotate] [blame] [check-ins using] [diff]
15:53
Add missing imports to make gcc from trunk happy. file: [c6fdd3362f] check-in: [df329a38cd] user: js, branch: trunk, size: 9613 [annotate] [blame] [check-ins using] [diff]
2011-06-05
22:26
Nicer API for serialization. file: [7d0862de76] check-in: [29988c434b] user: js, branch: trunk, size: 9593 [annotate] [blame] [check-ins using] [diff]
19:27
Add OFNull class. file: [6e8e3f47bf] check-in: [183825f113] user: js, branch: trunk, size: 9627 [annotate] [blame] [check-ins using] [diff]
2011-06-04
13:34
Remove useless casts. file: [5bd4aeba86] check-in: [675eda4ad3] user: js, branch: trunk, size: 9626 [annotate] [blame] [check-ins using] [diff]
2011-06-03
15:14
Add deserialization. file: [3246422836] check-in: [dca3061dfc] user: js, branch: trunk, size: 9635 [annotate] [blame] [check-ins using] [diff]
2011-05-22
00:44
Add -[firstObject] and -[lastObject] to OFList. file: [8b7bb79b80] check-in: [fe0aa66897] user: js, branch: trunk, size: 8774 [annotate] [blame] [check-ins using] [diff]
2011-05-14
12:26
Use XML for serialization.

This way, we don't need a new parser and don't use a new format. file: [60c8cd9af5] check-in: [494dca4ae4] user: js, branch: trunk, size: 8575 [annotate] [blame] [check-ins using] [diff]

2011-05-08
22:36
Change serialization format. file: [75df3d0578] check-in: [17d18368bb] user: js, branch: trunk, size: 8863 [annotate] [blame] [check-ins using] [diff]
20:44
Add support for serialization to OFList. file: [81309c84e2] check-in: [046abd074d] user: js, branch: trunk, size: 8863 [annotate] [blame] [check-ins using] [diff]
2011-04-28
18:15
Nicer description for empty collections. file: [169f8b1473] check-in: [bbb3994c06] user: js, branch: 0.5, size: 7267 [annotate] [blame] [check-ins using] [diff]
18:15
Nicer description for empty collections. file: [b2fe60dc9c] check-in: [d01d9805b3] user: js, branch: trunk, size: 8009 [annotate] [blame] [check-ins using] [diff]
2011-04-22
20:19
More style improvements. file: [7c3c7d8b0c] check-in: [e76a7f52c1] user: js, branch: trunk, size: 7969 [annotate] [blame] [check-ins using] [diff]
18:22
Fix double-retain in OFList. file: [80de30a57f] check-in: [66302f7848] user: js, branch: 0.5, size: 7230 [annotate] [blame] [check-ins using] [diff]
2011-04-04
23:02
Indent -[description] of collections. file: [ca60541ce0] check-in: [1df836eacc] user: js, branch: trunk, size: 7318 [annotate] [blame] [check-ins using] [diff]
2011-03-27
17:51
Pass the causing object for OFEnumerationMutationExceptions. file: [988739eca9] check-in: [f072e1a338] user: js, branch: trunk, size: 7243 [annotate] [blame] [check-ins using] [diff]
2011-03-24
19:42
Get rid of OFExceptions.h. file: [414dcbec8b] check-in: [cda44767f4] user: js, branch: trunk, size: 7157 [annotate] [blame] [check-ins using] [diff]
2011-02-26
19:40
Use class swizzling as an optimization. file: [3bf1022509] check-in: [06f539766f] user: js, branch: trunk, size: 7137 [annotate] [blame] [check-ins using] [diff]
2011-02-07
19:22
Add -[containsObject(IdenticalTo):] to OFCollection. file: [e1a0eb97da] check-in: [0a6e073938] user: js, branch: trunk, size: 6892 [annotate] [blame] [check-ins using] [diff]
2011-01-01
20:19
Change license. file: [01320f9714] check-in: [da6b3d26cb] user: js, branch: trunk, size: 6449 [annotate] [blame] [check-ins using] [diff]
2010-12-10
11:21
Documentation fixes. file: [336165f097] check-in: [fada60d54c] user: js, branch: trunk, size: 6193 [annotate] [blame] [check-ins using] [diff]
2010-11-25
21:00
Implement -[description] for OFList. file: [75abc74933] check-in: [92ca1cd5ba] user: js, branch: trunk, size: 6225 [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: [39a49b7b3f] check-in: [8a7ca573c4] user: js, branch: trunk, size: 5722 [annotate] [blame] [check-ins using] [diff]
2010-09-06
13:47
Make OFList conform to OFCollection and OFFastEnumeration protocol. file: [79d7008d03] check-in: [2cb79baae4] user: js, branch: trunk, size: 5732 [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: [156d215610] check-in: [e2b06423e0] user: js, branch: trunk, size: 4362 [annotate] [blame] [check-ins using] [diff]

2010-04-23
13:10
Nicer OFList API. file: [4b2ea9b8f4] check-in: [0ea8e1ef09] user: js, branch: trunk, size: 4397 [annotate] [blame] [check-ins using] [diff]
2010-04-17
16:09
Give the methods in OFNumber better names. file: [b9fb525575] check-in: [2517f18272] user: js, branch: trunk, size: 4004 [annotate] [blame] [check-ins using] [diff]
15:46
Don't return self where not necessary, return void or something useful. file: [3d67d61610] check-in: [062a052b50] user: js, branch: trunk, size: 4008 [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:
* b95fcaa6d694
* 804c68d222b4
* da8cd738da3d
* 1109d5ce3419
* d03f5c1ca95d
* 2a7017722165
* 4fccdc79eeb7
* d228149fbc04
* 8782d412a4a6 file: [36cdba6072] check-in: [b91a8283fe] user: js, branch: 0.2, size: 4019 [annotate] [blame] [check-ins using] [diff]

2010-02-19
16:36
Update copyright. file: [e4b8ec6a45] check-in: [42886185fd] user: js, branch: trunk, size: 4017 [annotate] [blame] [check-ins using] [diff]
2010-02-02
18:58
Rename OFMacros.h to macros.h, as it's not a class. file: [d50e255a0f] check-in: [832188d759] user: js, branch: trunk, size: 4017 [annotate] [blame] [check-ins using] [diff]
2009-12-02
20:02
Introduce some consistency when to use OFObject* and when to use id. file: [157ed5cd6f] check-in: [c7ab3a46d1] user: js, branch: trunk, size: 4019 [annotate] [blame] [check-ins using] [diff]
2009-11-13
18:29
Add -[hash] for OFList. file: [7db0d8023f] check-in: [eb67bc40fa] user: js, branch: trunk, size: 3966 [annotate] [blame] [check-ins using] [diff]
2009-11-09
22:45
Rename libobjfw to ObjFW. file: [264d5fceca] check-in: [a3cc34b139] user: js, branch: trunk, size: 3631 [annotate] [blame] [check-ins using] [diff]
2009-10-18
19:25
Fix missing retains in OFList. file: [4ef2950507] check-in: [5c006e80bb] user: js, branch: trunk, size: 3634 [annotate] [blame] [check-ins using] [diff]
2009-09-30
15:01
Migration of OFDataArray tests to new testing framework. file: [75c1a9ff27] check-in: [e7a372fea9] user: js, branch: trunk, size: 3589 [annotate] [blame] [check-ins using] [diff]
2009-09-16
16:22
Rework OFAutoreleasePool and remove now unnecessary hack from OFList. file: [b22035331b] check-in: [a99f512a4a] user: js, branch: trunk, size: 3543 [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,
but therefore it's not realtime-capable anymore. The new implementation
should also be a little bit faster.

I decided to change the implementation as only very few need a
realtime-capable dictionary and those few will most likely write their
own implementation for their specific case anyway.

As the new implementation no longer uses OFList, this also made it
possible to remove a hack from OFList. file: [18ec5ebfcc] check-in: [bbf1f79b8f] user: js, branch: trunk, size: 3923 [annotate] [blame] [check-ins using] [diff]

2009-08-28
00:18
Improve -[isEqual:] of OFList. file: [6526cc451e] check-in: [d68dc5201f] user: js, branch: trunk, size: 4260 [annotate] [blame] [check-ins using] [diff]
2009-08-27
20:40
Cache the number of items in an OFList. file: [3dcb760b24] check-in: [768108a960] user: js, branch: trunk, size: 4168 [annotate] [blame] [check-ins using] [diff]
2009-06-30
12:07
A few renames in OFObject, see details.

* +[conformsTo:] to +[conformsToProtocol:].
* -[isKindOf:] to -[isKindOfClass:].
* -[respondsTo:] to -[respondsToSelector:].
* -[conformsTo:] to -[conformsToProtocol:].
* -[methodFor:] to -[methodForSelector:]. file: [ca08344bc3] check-in: [67bb344ba6] user: js, branch: trunk, size: 4195 [annotate] [blame] [check-ins using] [diff]

2009-06-29
12:33
Changes to OFDictionary, OFIterator and OFList - see details.

OFDictionary:
* More optimized way to internally store the data.
* Faster resizing of dictionaries (no rehashing anymore).

OFIterator:
* Return a key/object pair rather than first the key and then the
object.

OFList:
* Support for list objects with a different size so you can have your
own list object structs. file: [f1ec98a7a2] check-in: [24ecf55297] user: js, branch: trunk, size: 4190 [annotate] [blame] [check-ins using] [diff]

2009-05-29
19:21
A few renames.

OFExceptions:
* OFNoMemException to OFOutOfMemoryException.
* OFMemNotPartOfObjException to OFMemoryNotPartOfObjectException.

OFObject:
* -[addItemToMemoryPool:] to -[addMemoryToPool:].
* -[allocWithSize:] to -[allocMemoryWithSize:].
* -[allocNItems:withSize] to -[allocMemoryForNItems:withSize:].
* -[resizeMem:toSize] to -[resizeMemory:toSize:].
* -[resizeMem:toNItems:withSize:] to
-[resizeMemoryToNItems:withSize:].
* -[freeMem] to -[freeMemory:].

OFString:
* -[urlencode] to -[urlEncodedString].
* -[urldecode] to -[urlDecodedString]. file: [6a33891d13] check-in: [033054ad75] user: js, branch: trunk, size: 3853 [annotate] [blame] [check-ins using] [diff]

09:28
Always use [self alloc]. file: [b49c70c5e4] check-in: [282aadb9df] user: js, branch: trunk, size: 3804 [annotate] [blame] [check-ins using] [diff]
2009-05-24
18:04
Always use #include "config.h" instead of #import "config.h". file: [d9bae66e58] check-in: [94ea6848a8] user: js, branch: trunk, size: 3806 [annotate] [blame] [check-ins using] [diff]
2009-05-20
19:59
Implement OFCopying protocol for OFList. file: [a7621f2b8f] check-in: [5d190947a7] user: js, branch: trunk, size: 3805 [annotate] [blame] [check-ins using] [diff]
2009-05-19
16:51
Add - isEqual: for OFList. file: [c06f8c5d7d] check-in: [7f7e9715e1] user: js, branch: trunk, size: 3135 [annotate] [blame] [check-ins using] [diff]
2009-05-15
22:59
As we memset our ivars to 0, get rid of some useless ivar inits. file: [c5e0bd60b4] check-in: [4c6d6c56ac] user: js, branch: trunk, size: 2751 [annotate] [blame] [check-ins using] [diff]
2009-05-13
20:31
Rename - free to - (void)dealloc. file: [e1882a13b8] check-in: [9e6dd00ef5] user: js, branch: trunk, size: 2777 [annotate] [blame] [check-ins using] [diff]
2009-05-04
17:54
Add - items to OFList. file: [d0531ab5cf] check-in: [59ab431af4] user: js, branch: trunk, size: 2772 [annotate] [blame] [check-ins using] [diff]
2009-04-26
12:44
A few renames in OFObject.

getMemWithSize: -> allocWithSize:
getMemForNItems:ofSize: -> allocNItems:withSize:
resizeMem:toNItems:ofSize: -> resizeMem:toNItems:withSize: file: [fdd9a22612] check-in: [e959fed010] user: js, branch: trunk, size: 2635 [annotate] [blame] [check-ins using] [diff]

2009-04-21
17:16
The if ((self = [super init])) construct isn't needed anymore. file: [64103fca3f] check-in: [d87df02e8b] user: js, branch: trunk, size: 2639 [annotate] [blame] [check-ins using] [diff]
2009-03-08
16:06
Rename initWithRetainAndReleaseEnabled to initWithoutRetainAndRelease. file: [554cc90ca9] check-in: [43e4d25ca7] user: js, branch: trunk, size: 2665 [annotate] [blame] [check-ins using] [diff]
2009-01-24
20:28
[self alloc] isn't a good idea with the new API.
The reason is that a derived class, for example derived from OFArray,
would not return an OFArray when + arrayWithItemSize is called.
file: [b318f43264] check-in: [7feac9e596] user: js, branch: trunk, size: 2689 [annotate] [blame] [check-ins using] [diff]
15:24
Adjust API to introduction of OFAutoreleasePool. file: [d340619ba8] check-in: [1496808b81] user: js, branch: trunk, size: 2687 [annotate] [blame] [check-ins using] [diff]
2009-01-06
22:38
Use OFList and OFArray in OFAutoreleasePool.
This reduces code duplication and looks far better.
file: [f248439ac0] check-in: [dfc10dbeb8] user: js, branch: trunk, size: 2632 [annotate] [blame] [check-ins using] [diff]
2009-01-05
22:18
Reworked OFList. file: [55395f28ca] check-in: [8ab6561840] user: js, branch: trunk, size: 2276 [annotate] [blame] [check-ins using] [diff]
00:59
Update copyright. file: [2396e4ff81] check-in: [f1b749d113] user: js, branch: trunk, size: 1130 [annotate] [blame] [check-ins using] [diff]
2008-12-20
14:41
Don't put void* in lists, but objects. file: [4f5a56511d] check-in: [b2c9f574cb] user: js, branch: trunk, size: 1123 [annotate] [blame] [check-ins using] [diff]
2008-11-07
14:29
Everything should be documented now. file: [91a37e1146] check-in: [e8e45975df] user: js, branch: trunk, size: 1126 [annotate] [blame] [check-ins using] [diff]
2008-10-26
20:54
Return self when we have no return value. This allows nesting. file: [dffe6b716b] check-in: [8ae4c59cd6] user: js, branch: trunk, size: 1126 [annotate] [blame] [check-ins using] [diff]
2008-10-09
00:25
Multiple changes, see details.

* Use config.h.
* Check whether to use sel_get_name or sel_getName.
* Rename freeWithData to freeIncludingData. file: [361533dbeb] check-in: [7a49441656] user: js, branch: trunk, size: 1118 [annotate] [blame] [check-ins using] [diff]

2008-09-14
15:29
Coding style. file: [47da29ca93] check-in: [778be56179] user: js, branch: trunk, size: 1080 [annotate] [blame] [check-ins using] [diff]
2008-09-12
13:25
Added: Initial import. file: [84092951f3] check-in: [a580136c80] user: js, branch: trunk, size: 1074 [annotate] [blame] [check-ins using]