Commit graph

78 commits

Author SHA1 Message Date
ericwa
4e97f9028e * Source/NSUserDefaults.m:
* Source/NSConnection.m:
* Source/NSCharacterSet.m:
* Tools/make_strings/StringsFile.m:
* Tools/pl.m: Fix instances where NSNotFound is stored in or
compared to an unsigned or int variable.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34884 72102866-910b-0410-8b05-ffd578937521
2012-03-06 03:05:23 +00:00
theraven
ceba92a265 Lots of little fixes to make -base compile with -Werror (now builds without warnings).
Richard: I'm unsure about three of these, which were fixes in memset() calls in:
- NSConcreteMapTable.m
- NSConcreteHashTable.m
- Additions/NSData+GNUstepBase.m

Please can you check them?  I think they are intended to zero the entire object
(rather than the first word), but the lack of comments makes me unsure.

Most changes were just tweaks to variable types.  I've also removed some dead code from NSInvocation.  This was small group of things that were marked for internal use only, but not actually referenced in the code anywhere.

Other improvements:

- NSArray / NSDictionary fixed up to use the 10.7 (ARC-friendly) prototypes.
- getObjects:andKeys: implemented for NSDictionary (10.5 method)
- NSPointerArray and NSHashTable now properly support weak objects.
- Tests for weak objects in collections.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33621 72102866-910b-0410-8b05-ffd578937521
2011-07-24 13:09:22 +00:00
rfm
8214f1edf0 performance tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31404 72102866-910b-0410-8b05-ffd578937521
2010-09-24 11:05:11 +00:00
ericwa
8b6fa9bea7 * Source/NSMessagePort.m:
* Source/NSFileManager.m:
* Source/NSCharacterSet.m: Fix some method type mismatches. Generally when
a private subclass overrides a public method taking a NSUInteger with
a method taking an "unsigned" parameter.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31351 72102866-910b-0410-8b05-ffd578937521
2010-09-15 22:16:18 +00:00
rfm
a806089032 optimisation for adding large ranges of characters.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29982 72102866-910b-0410-8b05-ffd578937521
2010-03-16 15:03:41 +00:00
rfm
7ff4d4c9c7 fixups for libobjc2
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29753 72102866-910b-0410-8b05-ffd578937521
2010-02-25 18:49:31 +00:00
rfm
53beb40301 deprecates some gnustep runtime wrappers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29697 72102866-910b-0410-8b05-ffd578937521
2010-02-22 10:13:20 +00:00
rfm
d605c6f7b5 Simplify header inclusion
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29669 72102866-910b-0410-8b05-ffd578937521
2010-02-19 08:12:46 +00:00
rfm
9edbe1a4fc cosmetic tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29657 72102866-910b-0410-8b05-ffd578937521
2010-02-17 11:47:06 +00:00
rfm
f13d56d8ec merge back reorganisation branch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29615 72102866-910b-0410-8b05-ffd578937521
2010-02-14 10:48:10 +00:00
ericwa
2c28fd3e4c Implement +[NSCharacterSet newlineCharacterSet]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29219 72102866-910b-0410-8b05-ffd578937521
2010-01-05 22:28:12 +00:00
rfm
49fdff0f07 use index set for character sets.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28455 72102866-910b-0410-8b05-ffd578937521
2009-08-12 08:39:07 +00:00
rfm
8658db87db Applied patch #6677
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27080 72102866-910b-0410-8b05-ffd578937521
2008-11-17 13:45:32 +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
2643a4ec54 Add experimental option for more compact NSCharacterSet storage.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24672 72102866-910b-0410-8b05-ffd578937521
2007-02-21 10:02:26 +00:00
rfm
bc30035fa1 Add support for code plane 16 in character sets.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22914 72102866-910b-0410-8b05-ffd578937521
2006-05-12 15:13:12 +00:00
rfm
f11aac512b Update charsewt bitmaps
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22737 72102866-910b-0410-8b05-ffd578937521
2006-04-01 06:53:24 +00:00
CaS
f843cb8155 Recommit gcc-4 tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21431 72102866-910b-0410-8b05-ffd578937521
2005-07-08 11:48:37 +00:00
CaS
6d0751af3e Revert subtly broken change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21391 72102866-910b-0410-8b05-ffd578937521
2005-07-01 17:31:07 +00:00
CaS
9ac16024f5 Tweaks to avoid compiler warnings with gcc-4
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21390 72102866-910b-0410-8b05-ffd578937521
2005-07-01 12:29:50 +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
c0a5d9657d Fix crash when forming union
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20879 72102866-910b-0410-8b05-ffd578937521
2005-03-09 17:05:36 +00:00
CaS
9547275380 Simplify ISSET macro
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20877 72102866-910b-0410-8b05-ffd578937521
2005-03-09 06:16:32 +00:00
CaS
ac3258f493 Add support for long unicode characters (outside the base plane)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20874 72102866-910b-0410-8b05-ffd578937521
2005-03-08 11:32:24 +00:00
CaS
13ae894cb9 More characterset tweaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20862 72102866-910b-0410-8b05-ffd578937521
2005-03-07 10:47:10 +00:00
CaS
71c32633c1 More characterset tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20858 72102866-910b-0410-8b05-ffd578937521
2005-03-06 10:39:10 +00:00
CaS
563b6a4282 More changes to build in standard bitmaps,
update the charset data from the latest usincode,
add 0x85 to the whitespace and newline set
add the capitalizedLetterCharacterSet


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20856 72102866-910b-0410-8b05-ffd578937521
2005-03-06 09:15:08 +00:00
CaS
d05bb0584e Fix fosdem changes and a few bugs exposed by them.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20811 72102866-910b-0410-8b05-ffd578937521
2005-02-28 17:18:54 +00:00
CaS
d650d89cb9 Fosdem updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20805 72102866-910b-0410-8b05-ffd578937521
2005-02-27 10:46:19 +00:00
CaS
0708409c1b Tidy up use of white space so we have it after if/for/while and not after (
or before ) or padding at end of line.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20773 72102866-910b-0410-8b05-ffd578937521
2005-02-22 11:22:44 +00:00
arobert
dbdfcfab37 added GSdoc comments to class, method, and function declarations; for some classes some comments were already in the source file (not the header), in which case further comments were added here; otherwise comments were put in the headers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19588 72102866-910b-0410-8b05-ffd578937521
2004-06-22 22:40:40 +00:00
CaS
d04dcc7fb8 More simplification by using lazy locking
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18559 72102866-910b-0410-8b05-ffd578937521
2004-02-08 09:42:38 +00:00
uid66829
82b785b3c5 Rename 'abstract' to 'abstractClass' and make it static. (+allocWithZone:): Allocate an instance of self if self isn't the abstract class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18265 72102866-910b-0410-8b05-ffd578937521
2003-12-23 23:19:00 +00:00
CaS
009855161e Fix NSCharacterSet caching bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18017 72102866-910b-0410-8b05-ffd578937521
2003-11-01 07:30:21 +00:00
ayers
b5dd8fa367 * Source/NSCharacterSet.m
([NSCharacterSet _bitmapForSet:number:]): Insure only
        instances of NSCharacterSet a stored in the cache but return
        instances of the receivers class.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18014 72102866-910b-0410-8b05-ffd578937521
2003-10-31 17:10:45 +00:00
CaS
88285c3596 Minor bugfix patch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17756 72102866-910b-0410-8b05-ffd578937521
2003-09-30 17:47:35 +00:00
fedor
0e59d4552d Change syntax of includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16874 72102866-910b-0410-8b05-ffd578937521
2003-06-07 01:24:41 +00:00
fedor
32ae9a0f45 Filesystem change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16565 72102866-910b-0410-8b05-ffd578937521
2003-04-28 02:29:49 +00:00
CaS
b0d816ceaa Documentation tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14298 72102866-910b-0410-8b05-ffd578937521
2002-08-20 10:22:05 +00:00
CaS
d4b9683acf Added date version and title
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11814 72102866-910b-0410-8b05-ffd578937521
2001-12-18 16:54:15 +00:00
CaS
d7e28f6deb Many minor fixes for autogsdoc.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11787 72102866-910b-0410-8b05-ffd578937521
2001-12-17 14:31:42 +00:00
CaS
d9f3e799b7 Whitespace trimming optimisations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11332 72102866-910b-0410-8b05-ffd578937521
2001-11-07 16:24:55 +00:00
jagapen
d71377fffb Path-finding updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9497 72102866-910b-0410-8b05-ffd578937521
2001-03-26 23:09:44 +00:00
jagapen
765571e126 String usage updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9459 72102866-910b-0410-8b05-ffd578937521
2001-03-19 23:53:23 +00:00
fedor
302c691e79 Merge from dawn
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4853 72102866-910b-0410-8b05-ffd578937521
1999-09-09 02:56:20 +00:00
richard
4659f829a9 Prepare for gc and tidy a little
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4351 72102866-910b-0410-8b05-ffd578937521
1999-06-03 10:59:25 +00:00
fedor
4595d34ead Localization fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4119 72102866-910b-0410-8b05-ffd578937521
1999-04-23 02:54:45 +00:00
fedor
774d64b475 Update character sets
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4052 72102866-910b-0410-8b05-ffd578937521
1999-04-09 15:34:49 +00:00
richard
4f717ee6eb Use new punctuation character set.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4041 72102866-910b-0410-8b05-ffd578937521
1999-04-07 11:57:53 +00:00