Commit graph

29 commits

Author SHA1 Message Date
rfm
c31dd73a90 cleanup fast enumeration issues
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29647 72102866-910b-0410-8b05-ffd578937521
2010-02-15 16:56:31 +00:00
rmottola
9979e794a8 fixed c99-ism
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29486 72102866-910b-0410-8b05-ffd578937521
2010-02-05 21:00:10 +00:00
theraven
0bd156fa4a Refactored last two commits so that all of the real code is in GSIMap.h and is just called from the relevant classes, rather than copied and pasted everywhere. Also added fast enumeration support to GSCountedSet.
I think that's all of the classes that use GSIMaps for their implementation now fully supporting fast enumeration.  If there are any that I've missed, then just copy the methods from GSSet to implement them.  You just need to set the mutations pointer to something sensible (i.e. something that will change if the collection mutates) and then call the new GSIMapCountByEnumeratingWithStateObjectsCount() function.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29181 72102866-910b-0410-8b05-ffd578937521
2009-12-29 16:49:07 +00:00
rfm
d5df438a7d explicitly specify types in union
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28762 72102866-910b-0410-8b05-ffd578937521
2009-10-02 15:14:42 +00:00
rfm
974a65cb15 Add comments to avoid confusion.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28390 72102866-910b-0410-8b05-ffd578937521
2009-07-11 14:02:00 +00:00
rfm
eb93dab8b1 Add explicit disclaimer
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28350 72102866-910b-0410-8b05-ffd578937521
2009-06-13 08:10:40 +00:00
rfm
5512e86a20 minor performance tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28237 72102866-910b-0410-8b05-ffd578937521
2009-04-20 08:18:11 +00:00
rfm
c15de5f481 zeroing weak key fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28236 72102866-910b-0410-8b05-ffd578937521
2009-04-19 13:56:29 +00:00
rfm
4bb86f10be gc improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28234 72102866-910b-0410-8b05-ffd578937521
2009-04-19 10:03:18 +00:00
rfm
1549f5b5e7 Implement OSX10.5 NSMapTable API
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28086 72102866-910b-0410-8b05-ffd578937521
2009-03-16 10:54:59 +00:00
rfm
5cab993ed1 More moves towards OSX 10.5 GC compatibility.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28054 72102866-910b-0410-8b05-ffd578937521
2009-03-09 15:11:51 +00:00
rfm
db77746841 simplify GC ... don't need to add new zone
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27783 72102866-910b-0410-8b05-ffd578937521
2009-02-04 16:45:10 +00:00
rfm
8040b6c88a fix and simplify last change£
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27659 72102866-910b-0410-8b05-ffd578937521
2009-01-23 16:10:39 +00:00
rfm
31ee1b7fed tweak for typed memory use
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27658 72102866-910b-0410-8b05-ffd578937521
2009-01-23 11:45:20 +00:00
rfm
c41bdeb638 GC changes for MacOS-X compatiblity
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27630 72102866-910b-0410-8b05-ffd578937521
2009-01-19 11:00:33 +00:00
rfm
76578244f7 Fixup cast
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26672 72102866-910b-0410-8b05-ffd578937521
2008-06-16 16:01:06 +00:00
rfm
f75a9210b9 Fix bug on some architectures.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26670 72102866-910b-0410-8b05-ffd578937521
2008-06-16 15:33:05 +00:00
rfm
e0711a3b8d allow developers more time to adapt to LGPLv3
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26606 72102866-910b-0410-8b05-ffd578937521
2008-06-08 10:38:33 +00:00
rfm
cd46236028 Update to GPL3 and LGPL3
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25482 72102866-910b-0410-8b05-ffd578937521
2007-09-14 11:36:11 +00:00
rfm
7f7186b298 Fix versioning error
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24953 72102866-910b-0410-8b05-ffd578937521
2007-04-01 04:24:42 +00:00
rfm
38c0c4a580 Header tidyups, particularly updating of version compatibility macros.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24000 72102866-910b-0410-8b05-ffd578937521
2006-10-31 07:05:46 +00:00
rfm
598d359601 Version/availability corrections.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23804 72102866-910b-0410-8b05-ffd578937521
2006-10-09 18:32:11 +00:00
rfm
d7ae63696c Resolve bug 17464
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23488 72102866-910b-0410-8b05-ffd578937521
2006-09-13 10:20:49 +00:00
jbettis
e9d89d456f config.reuseaddr.c: There is no __MINGW__
GSIMap.h: Don't memcpy to/from a null pointer

Tools/GNUmakefile: Don't hardcode obj dir, use the makefile variable.

Added some svn ignore files.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22783 72102866-910b-0410-8b05-ffd578937521
2006-04-12 20:25:18 +00:00
rfm
fb52a7c32a Small runloop tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22702 72102866-910b-0410-8b05-ffd578937521
2006-03-24 10:59:00 +00:00
fedor
376e495dad * Update FSF Address.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21245 72102866-910b-0410-8b05-ffd578937521
2005-05-22 03:32:16 +00:00
CaS
3facf2dbc1 Minor comment tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19029 72102866-910b-0410-8b05-ffd578937521
2004-04-05 08:40:06 +00:00
wim
a6b5917c57 Added increment ivar to GSIMapTable
struct for allocation size
(GSIMapNewNode): When above a certain size only allocate "increment" number
of nodes
(GSIMapResize): Avoid hash table sizes that are odd
(GSIMapInitWithZoneAndCapacity): Put default increment size to 300000


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18730 72102866-910b-0410-8b05-ffd578937521
2004-03-01 14:57:55 +00:00
ayers
73dc4cb9f6 Header reorganizsateion - Please refer to ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17407 72102866-910b-0410-8b05-ffd578937521
2003-07-31 23:49:32 +00:00
Renamed from Headers/gnustep/base/GSIMap.h (Browse further)