Commit graph

215 commits

Author SHA1 Message Date
richard
060df65e30 Property list bugfix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3690 72102866-910b-0410-8b05-ffd578937521
1999-02-11 11:05:17 +00:00
richard
5290e130ff Fixed stupid mistake in last mod
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3664 72102866-910b-0410-8b05-ffd578937521
1999-02-05 15:03:29 +00:00
richard
f3346c3bcb Tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3659 72102866-910b-0410-8b05-ffd578937521
1999-02-04 22:06:59 +00:00
richard
7f16af67a1 Don't use whitespace and newline character set - loading it requires
nsuserdefaults, which in turn requires property-list parsing and leads to
recursion.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3656 72102866-910b-0410-8b05-ffd578937521
1999-02-04 15:49:30 +00:00
richard
dec060a8fb Removed obsolete files
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3654 72102866-910b-0410-8b05-ffd578937521
1999-02-04 14:06:35 +00:00
richard
d9692822a9 New property-list stuff, bugfixes and 64-bit clean version with many
improvements.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3651 72102866-910b-0410-8b05-ffd578937521
1999-02-04 13:49:27 +00:00
richard
ff8b01532f Tidied some range stuff.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3581 72102866-910b-0410-8b05-ffd578937521
1999-01-20 18:26:46 +00:00
richard
205e47ed25 Minor fixes for cygwin
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3580 72102866-910b-0410-8b05-ffd578937521
1999-01-20 13:28:28 +00:00
richard
29132b8bad Bugfixes suggested by Benhur-de-Oliveira.Stein@imag.fr
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3555 72102866-910b-0410-8b05-ffd578937521
1999-01-11 17:28:51 +00:00
richard
e71ea48cd3 Fixed memory leak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3522 72102866-910b-0410-8b05-ffd578937521
1999-01-05 10:45:32 +00:00
richard
53b83b1c25 Compare with a range of length zero should always return NSOrderedSame
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3503 72102866-910b-0410-8b05-ffd578937521
1998-12-26 08:44:49 +00:00
fedor
3d949ca12d Makefile changes to compile thinkg in place.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3496 72102866-910b-0410-8b05-ffd578937521
1998-12-20 21:27:47 +00:00
richard
f3b114451c Corrected argument type for descriptionTo:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3493 72102866-910b-0410-8b05-ffd578937521
1998-12-18 17:15:49 +00:00
richard
fcf610c797 Proprtylist extensions and coding for DO improvements plus a couple of
bugfixes


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3492 72102866-910b-0410-8b05-ffd578937521
1998-12-18 17:05:44 +00:00
richard
e2fb9ad2aa Fix bug in returning array from completePathIntoString ...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3246 72102866-910b-0410-8b05-ffd578937521
1998-11-19 20:42:06 +00:00
richard
0a4d30b935 Performance improvmentes for coding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3093 72102866-910b-0410-8b05-ffd578937521
1998-10-21 11:56:58 +00:00
fedor
de36ed750c Implement completePathIntoString
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3073 72102866-910b-0410-8b05-ffd578937521
1998-10-15 18:46:27 +00:00
fedor
a24e1c84d1 String patches
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3072 72102866-910b-0410-8b05-ffd578937521
1998-10-15 13:46:35 +00:00
richard
99129c437a Zone stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3069 72102866-910b-0410-8b05-ffd578937521
1998-10-15 05:03:16 +00:00
richard
7694a7f14e Some final tiny optimisations for testing string equality.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3045 72102866-910b-0410-8b05-ffd578937521
1998-10-09 04:24:56 +00:00
richard
39b8ff1baf Efficiency hacks - avoiding objc messaging overheads.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3032 72102866-910b-0410-8b05-ffd578937521
1998-10-06 15:11:27 +00:00
richard
ecee29a03b Better NSString hash and comparison
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3028 72102866-910b-0410-8b05-ffd578937521
1998-10-03 21:23:04 +00:00
richard
e2bfcf3d68 Fix for NXConstantString.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3025 72102866-910b-0410-8b05-ffd578937521
1998-10-03 07:07:32 +00:00
richard
de5b067203 Improved hash algorithm.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3005 72102866-910b-0410-8b05-ffd578937521
1998-10-01 15:37:14 +00:00
richard
38796b2e68 Improve dictionary lookup for strings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3003 72102866-910b-0410-8b05-ffd578937521
1998-10-01 05:22:47 +00:00
richard
0806cb068b Removed references to cStringNoCopy.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2990 72102866-910b-0410-8b05-ffd578937521
1998-09-30 07:42:38 +00:00
richard
04c9207871 Get malloc zone right
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2950 72102866-910b-0410-8b05-ffd578937521
1998-09-02 12:36:47 +00:00
richard
6bbcee4ede Minor bugfixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2921 72102866-910b-0410-8b05-ffd578937521
1998-08-13 10:01:43 +00:00
richard
24cf296541 Performance hacks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2895 72102866-910b-0410-8b05-ffd578937521
1998-08-03 15:31:33 +00:00
richard
fa0f1a19ca Housekeeping - typecasts to avoid warnings and removal of redundant methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2870 72102866-910b-0410-8b05-ffd578937521
1998-07-29 09:22:18 +00:00
richard
9e0d9c7405 Fixed implementation of the ([-rangeOfCharacterFromSet:options:range:]) method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2848 72102866-910b-0410-8b05-ffd578937521
1998-07-15 12:48:57 +00:00
fedor
a0993c655f Memory leak and other fixes from Frith-MacDonald.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2775 72102866-910b-0410-8b05-ffd578937521
1998-03-12 14:21:20 +00:00
fedor
49a609f53b Use cvs export to make snapshots/dists. Minor patches.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2742 72102866-910b-0410-8b05-ffd578937521
1998-02-09 19:06:40 +00:00
fedor
5732e71692 Patches from Frith-MacDonald.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2734 72102866-910b-0410-8b05-ffd578937521
1998-02-05 22:06:20 +00:00
fedor
b1862cea5d Patches from Kienenberger, Yamato, Frith-MacDonald.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2719 72102866-910b-0410-8b05-ffd578937521
1998-02-03 14:20:00 +00:00
fedor
a15b2ef62f Pathces from Frith-MacDonald, Yamato, Jenkins.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2709 72102866-910b-0410-8b05-ffd578937521
1998-01-26 14:18:18 +00:00
fedor
db2c79f9bc Strings patch from Frith-MacDonald.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2706 72102866-910b-0410-8b05-ffd578937521
1998-01-21 15:09:22 +00:00
fedor
baf22d947f Updated patch from Frith-MacDonald.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2704 72102866-910b-0410-8b05-ffd578937521
1998-01-21 14:56:24 +00:00
fedor
78524cf7a9 Fixes from Frith-MacDonald.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2701 72102866-910b-0410-8b05-ffd578937521
1998-01-19 15:20:15 +00:00
fedor
65b4ee42ff String fixes from stevo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2685 72102866-910b-0410-8b05-ffd578937521
1998-01-08 15:25:59 +00:00
fedor
5fd6374c07 NSString fixes from Stevo Crvenkovski
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2672 72102866-910b-0410-8b05-ffd578937521
1997-12-08 20:04:16 +00:00
fedor
658a1947fb Memory Leeks from Richard.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2625 72102866-910b-0410-8b05-ffd578937521
1997-11-12 15:37:27 +00:00
netc
5f7871270a Remove dependency upon config.h by headers files and include
directly in source files because the config.h file is system
dependent, used just for compiling the source, and should
not be installed.
Some minor bug fixes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2619 72102866-910b-0410-8b05-ffd578937521
1997-11-06 00:51:23 +00:00
fedor
2b1d0b3d15 NSDistributedLock from Frith-MacDonald
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2613 72102866-910b-0410-8b05-ffd578937521
1997-11-03 01:40:03 +00:00
fedor
827436f054 Renamed Makefiles. Added Frith-MacDonald patch fixing NSUserDefaults.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2603 72102866-910b-0410-8b05-ffd578937521
1997-10-31 16:26:44 +00:00
fedor
f88a65db7e Rewrite of NSData from Richard Frith-Macdonald <richard@brainstorm.co.uk>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2459 72102866-910b-0410-8b05-ffd578937521
1997-09-29 14:39:53 +00:00
fedor
b6e22efb49 Improved -description writing/reading. Bug fixes to NSString.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2429 72102866-910b-0410-8b05-ffd578937521
1997-09-18 14:56:47 +00:00
netc
2b06ef4c58 Merge in changes from NET-Community.
Add DLL support on Windows platforms.
Numerous minor bug fixes related to Windows platforms.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2420 72102866-910b-0410-8b05-ffd578937521
1997-09-13 17:52:31 +00:00
fedor
aa0e1c2375 DO patches (Sep 12 from Richard Frith-MacDonald)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2419 72102866-910b-0410-8b05-ffd578937521
1997-09-12 17:54:10 +00:00
fedor
a57d791f91 Patches submitted from May 20 to Aug 28 1997
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2406 72102866-910b-0410-8b05-ffd578937521
1997-09-01 21:59:51 +00:00
mccallum
84e793a061 Remove some duplicate methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2324 72102866-910b-0410-8b05-ffd578937521
1997-05-03 20:39:07 +00:00
mccallum
e22ff194a4 Changes from Stevo Crvenkovski. See ChangeLog Mar 23 22:14:21
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2302 72102866-910b-0410-8b05-ffd578937521
1997-05-03 18:05:21 +00:00
mccallum
5d1aca1c8a Changes from Scott Christley. See ChangeLog Mar 6 08:57:29
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2296 72102866-910b-0410-8b05-ffd578937521
1997-05-03 17:26:16 +00:00
mccallum
ec967cff6b Changes from Scott Christley. See ChangeLog Mar 4 10:47:18
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2295 72102866-910b-0410-8b05-ffd578937521
1997-05-03 17:25:25 +00:00
mccallum
47f8cb6098 Changes from Scott Christley. See ChangeLog Feb 27 13:46:10
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2294 72102866-910b-0410-8b05-ffd578937521
1997-05-03 17:24:31 +00:00
mccallum
1b0b2e5f30 Changes from Jeremy Bettis. See ChangeLog Jan 21 17:09:09
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2290 72102866-910b-0410-8b05-ffd578937521
1997-05-03 17:05:57 +00:00
mccallum
83fc572410 Changes by Scott Christley. See ChangeLog Feb 25
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2209 72102866-910b-0410-8b05-ffd578937521
1997-03-03 20:07:35 +00:00
mccallum
3825155a98 ([NSString -copy]): Use NSDefaultMallocZone() instead of NS_NO_ZONE.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2035 72102866-910b-0410-8b05-ffd578937521
1997-01-09 19:12:56 +00:00
mccallum
67869fb4e0 Changes from Scott Christley. See ChangeLog Dec 04 and Nov 21
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2032 72102866-910b-0410-8b05-ffd578937521
1997-01-09 16:24:07 +00:00
mccallum
6d33811e4a ([NSString -initWithFormat:arguments:]): Increase BUFFER_EXTRA by a
factor of 500.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2029 72102866-910b-0410-8b05-ffd578937521
1997-01-09 16:01:52 +00:00
mccallum
f66456b319 ([NSString -hasPrefix:]): Fix logic to return correct value.
(Reported by David Wetzel <dave@turbocat.de>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2020 72102866-910b-0410-8b05-ffd578937521
1997-01-06 22:36:21 +00:00
mccallum
bd119c71f6 ([NSString -description]): Free DEST to prevent memory leak!
(Reported by Wolfgang Baron <wbaron@ixpoint.de>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2014 72102866-910b-0410-8b05-ffd578937521
1997-01-06 22:14:35 +00:00
mccallum
279445c32e ([NSString -componentsSeparatedByString:]): Didn't handle strings with
separators longer than a single character and in other cases.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1998 72102866-910b-0410-8b05-ffd578937521
1997-01-06 21:01:32 +00:00
mccallum
9c1198ff9f Fixed `Caveats' comment.
([NSString -commonPrefixWithString:options:]): Method implemeneted.
([NSString -capitalizedString]): Method implemented.
([NSString -lowercaseString]): Method implemented.
([NSString -uppercaseString]): Method implemented.
([NSString -stringByExpandingTildeInPath]): Method implemented.
([NSString -stringByAbbreviatingWithTildeInPath]): Method implemented.
([NSString -stringByStandardizingPath]): Method implemented.
([NSString -_cStringContents]): Method removed.  All callers changed
to use -cStringNoCopy.
([NSString -objectAtIndex:]): Method removed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1955 72102866-910b-0410-8b05-ffd578937521
1996-11-24 21:04:24 +00:00
mccallum
d6e386bc54 ([NSString -cStringNoCopy]): New method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1948 72102866-910b-0410-8b05-ffd578937521
1996-11-24 18:28:15 +00:00
mccallum
74a42c0111 Don't include <gnustep/base/String.h>.
([NSString +initialize]): Don't use static variable to prevent getting
run twice.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1942 72102866-910b-0410-8b05-ffd578937521
1996-11-24 17:20:45 +00:00
mccallum
f84022e180 (HAVE_REGISTER_PRINTF_FUNCTION): Move definition below #include's.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1923 72102866-910b-0410-8b05-ffd578937521
1996-10-31 21:24:43 +00:00
mccallum
7ace9421da ([NSString -initWithFormat:arguments:]): Use VSPRINTF_LENGTH.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1899 72102866-910b-0410-8b05-ffd578937521
1996-10-31 18:27:04 +00:00
mccallum
748ceaa25d Change from Nick Christopher. See Oct 1 ChangeLog entry.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1881 72102866-910b-0410-8b05-ffd578937521
1996-10-31 17:03:44 +00:00
mccallum
f6517dc403 ([NSString -initWithFormat:arguments:]): Fix bug whereby multiple %@'s
in the same format string created incorrect output.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1836 72102866-910b-0410-8b05-ffd578937521
1996-09-25 13:45:31 +00:00
mccallum
d23ce8498e ([NSString -copy]): New method. Now -copy sent to strings should
work.  (Added temporarily until this problem is fixed by me overhaul
of the string classes to separate Core and NonCore methods.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1827 72102866-910b-0410-8b05-ffd578937521
1996-09-24 17:41:03 +00:00
mccallum
b599321dbb (HAVE_REGISTER_PRINTF_FUNCTION): Temporarily set this to 0 until I
figure out when register_printf_function's output handler function
takes `va_list' and when it takes `void**'.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1802 72102866-910b-0410-8b05-ffd578937521
1996-09-18 13:15:33 +00:00
mccallum
f9e121c2f5 ([NSString -substringFromRange:]): Implement it using CString's for
now so we can get it working; (we'll fix everything for Unichar's in
the next release).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1690 72102866-910b-0410-8b05-ffd578937521
1996-09-02 19:31:44 +00:00
mccallum
fbb1b130bd ([NSString -substringFromRange:]): Fix bug in references to string
length.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1677 72102866-910b-0410-8b05-ffd578937521
1996-09-02 15:53:47 +00:00
mccallum
96a8d87d32 ([NSString -substringFromRange:]): Raise correct exceptions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1666 72102866-910b-0410-8b05-ffd578937521
1996-09-02 13:43:45 +00:00
mccallum
744dd86b90 ([NSString -getCharacters:range:]): Fix bug in buffer index.
(Reported by Eric Norum <Eric.Norum@usask.ca>.)
([NSString -rangeOfString:aStringoptions:maskrange:aRange]):
Implemented.  (By Eric Norum.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1664 72102866-910b-0410-8b05-ffd578937521
1996-09-02 13:38:19 +00:00
mccallum
960c6fa4c6 Changes from home. See ChangeLog Aug 5 through Aug 25
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1662 72102866-910b-0410-8b05-ffd578937521
1996-09-02 13:20:20 +00:00
mccallum
fe624212e5 Changes made in Rochester. See ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1650 72102866-910b-0410-8b05-ffd578937521
1996-07-15 18:41:44 +00:00
mccallum
f4c61f0dc8 Rename all o- files to o_.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1613 72102866-910b-0410-8b05-ffd578937521
1996-05-31 16:12:24 +00:00
mccallum
ce049ea252 ([NSString -initWithFormat:arguments:]): Increase bsprintf buffer
size, and assert that we haven't overrun the buffer.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1606 72102866-910b-0410-8b05-ffd578937521
1996-05-31 15:10:53 +00:00
mccallum
e498c30b3b Change comment.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1555 72102866-910b-0410-8b05-ffd578937521
1996-05-27 15:01:58 +00:00
mccallum
169cb14712 ([NSString -description]): Fix warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1539 72102866-910b-0410-8b05-ffd578937521
1996-05-13 17:30:01 +00:00
mccallum
615187e5df ([NSString -description]): Implemented by Nathan Urban.
([NSString -propertyList]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1532 72102866-910b-0410-8b05-ffd578937521
1996-05-13 16:37:10 +00:00
mccallum
49d43a44aa Change "Gnustep" to "GNUstep"
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1521 72102866-910b-0410-8b05-ffd578937521
1996-05-12 00:56:10 +00:00
mccallum
07530e41bd (PRINTF_ATSIGN_VA_LIST): New macro, when 1, undoes previous changes.
Previous changes cause crashes with my libc.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1501 72102866-910b-0410-8b05-ffd578937521
1996-05-07 01:14:54 +00:00
mccallum
2a513e2117 All uses of @"" were crashing in Linux libc-5.3.9.
(arginfo_func): New function.
(handle_printf_atsign): Get the string object without va_arg().
([NSString +initialize]): Use new function.
(Reported and fixed by Kai-Uwe Sattler
<sattler@volker.cs.Uni-Magdeburg.DE>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1492 72102866-910b-0410-8b05-ffd578937521
1996-05-06 18:59:01 +00:00
mccallum
3228ed0477 Change R. Andrew McCallum to post-marriage name: Andrew Kachites McCallum
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1456 72102866-910b-0410-8b05-ffd578937521
1996-04-17 20:17:45 +00:00
mccallum
dbe4613ced Rename in comments from GNU Objective C Class Library to Gnustep Base Library.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1451 72102866-910b-0410-8b05-ffd578937521
1996-04-17 19:55:26 +00:00
mccallum
89d67bb808 Fix typo; it is preface.h, not prefix.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1420 72102866-910b-0410-8b05-ffd578937521
1996-04-17 15:34:35 +00:00
mccallum
d4b12b4053 Change all include objects/*.h to include gnustep/base/*.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1419 72102866-910b-0410-8b05-ffd578937521
1996-04-17 15:23:00 +00:00
mccallum
f491e64f1b Fix typos.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1276 72102866-910b-0410-8b05-ffd578937521
1996-03-26 20:59:42 +00:00
mccallum
6c5e0d54bb Use NSException instead of sending -error: in all methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1273 72102866-910b-0410-8b05-ffd578937521
1996-03-26 19:35:47 +00:00
mccallum
735a988473 Include <objects/behavior.h.
([NSString -componentsSeparatedByString:]): Initialize ARRAY!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1212 72102866-910b-0410-8b05-ffd578937521
1996-03-19 01:44:01 +00:00
mccallum
2bf3b74354 ([NSString -hash]): Don't use elt_* function, and use
NSHashStringLength.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@984 72102866-910b-0410-8b05-ffd578937521
1996-02-22 21:50:35 +00:00
mccallum
f46b4d9b55 Overhaul for new collection class scheme to improve distributed
objects and NeXT-compatibility.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@947 72102866-910b-0410-8b05-ffd578937521
1996-02-22 15:18:57 +00:00
mccallum
072436a019 (handle_printf_atsign): Fix type for va_arg ().
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@787 72102866-910b-0410-8b05-ffd578937521
1996-01-24 03:16:35 +00:00
mccallum
97ceb69629 ([NSString +initialize]): Cast function pointer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@780 72102866-910b-0410-8b05-ffd578937521
1996-01-23 23:41:02 +00:00
mccallum
b74458b94a This new code, #if HAVE_REGISTER_PRINTF_FUNCTION, a function defined
by GNU libc.
(handle_printf_atsign): New function to handle %@ in printf strings.
([NSString +initialize]): Register the new printf-handler function.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@779 72102866-910b-0410-8b05-ffd578937521
1996-01-23 23:30:05 +00:00
mccallum
7deb5b6173 ([NSString -initWithCString:length:]): Handle case of NULL cString.
([NSString -initWithCString:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@740 72102866-910b-0410-8b05-ffd578937521
1996-01-19 16:12:12 +00:00
mccallum
b25748e37a ([NSString +allocWithZone:]): New method.
([NSString +stringWithCString:byteString]): Use it.
([NSString +stringWithCString:length:]): Likewise.
([NSString +stringWithFormat:]): Likewise.
([NSString +stringWithFormat:arguments:]): Likewise.
([NSMutableString +allocWithZone:]): New method.
([NSMutableString +stringWithCapacity:]): Use it.
([NSMutableString +stringWithCString:length:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@676 72102866-910b-0410-8b05-ffd578937521
1995-11-19 20:29:39 +00:00
mccallum
cb455b5536 ([NSString -cString]): Use -subclassResponsibility: instead of
-notImplemented:
([NSString -cStringLength]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@638 72102866-910b-0410-8b05-ffd578937521
1995-10-26 01:29:04 +00:00
mccallum
1edc8b38e0 Patched from mail. See ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@627 72102866-910b-0410-8b05-ffd578937521
1995-10-18 16:47:59 +00:00
mccallum
7ef742468f Replaced "notImplemented" with "subclassResponsibilty" where
appropriate.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@546 72102866-910b-0410-8b05-ffd578937521
1995-08-09 16:26:44 +00:00
mccallum
cf463717ad Rename NSCString to NSGCString.
([NXConstantString -release]): Fix return type and return.
([NSString +_setConcreteClass:]): New method.
([NSString +_setConcreteCClass:]): New method.
([NSString +_setMutableConcreteClass:]): New method.
([NSString +_setMutableConcreteCClass:]): New method.
([NSString +_concreteClass]): New method.
([NSString +_concreteCClass]): New method.
([NSString +_mutableConcreteClass]): New method.
([NSString +_mutableConcreteCClass]): New method.
([NSString +initialize]): Initialize new statics that hold concrete
classes.
([NSString +stringWithCString:byteString]): Use concrete class method.
([NSString +stringWithCString:length:]): Likewise.
([NSString +stringWithFormat:]): Likewise.
([NSString +stringWithFormat:arguments:]): Likewise.
([NSString -mutableCopyWithZone:]): Likewise.
([NSMutableString +stringWithCapacity:]): Likewise.
([NSMutableString +stringWithCString:length:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@542 72102866-910b-0410-8b05-ffd578937521
1995-08-09 16:07:19 +00:00
mccallum
c4f3913247 ([NXConstantString -dealloc]): New method.
([NXConstantString -cString]): New method.
([NXConstantString -retain]): New method.
([NXConstantString -release]): New method.
([NXConstantString -autorelease]): New method.
([NXConstantString -copyWithZone:]): New method.
(From Jeremy Bettis).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@507 72102866-910b-0410-8b05-ffd578937521
1995-08-02 15:25:34 +00:00
mccallum
f06f32f172 (componentsSeparatedByString:, substringFromRange:,
rangeOfCharacterFromSet:, rangeOfCharacterFromSet:options:,
rangeOfCharacterFromSet:options:range:, rangeOfString:,
rangeOfString:options:, caseInsensitiveCompare:, hasPrefix:,
hasSuffix:, lastPathComponent, pathExtension,
stringByAppendingPathComponent:, stringByAppendingPathExtension:,
stringByDeletingLastPathComponent, stringByDeletingPathExtension):
Implemented methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@505 72102866-910b-0410-8b05-ffd578937521
1995-08-02 15:10:41 +00:00
mccallum
eb1a6df11e ([NSString -getCharacters:range:]): Decrement, not increment in loop.
(Reported by Harmut <benz@sophie-scholl.dbag.ulm.DaimlerBenz.COM>).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@493 72102866-910b-0410-8b05-ffd578937521
1995-07-05 21:19:20 +00:00
mccallum
1ece8fe556 (-compare:options:range:): Simple implementation; not complete.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@411 72102866-910b-0410-8b05-ffd578937521
1995-05-05 18:29:12 +00:00
mccallum
883fa9fab5 Include from <Foundation/...>, not <foundation/...>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@391 72102866-910b-0410-8b05-ffd578937521
1995-04-17 21:13:20 +00:00
mccallum
3b43be1a80 Convert to new Coder scheme. Use -initWithCoder instead
of +newWithCoder where appropriate.  Remove arguments typed
(Coder*).  Replace +_newCollectionWithCoder with
-_initCollectionWithCoder.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@333 72102866-910b-0410-8b05-ffd578937521
1995-04-09 01:53:53 +00:00
mccallum
5f3aad08b8 (+initialize): Use static "done".
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@286 72102866-910b-0410-8b05-ffd578937521
1995-04-05 20:25:08 +00:00
mccallum
6a5c3f47c1 (initialize): No need to add IndexedCollection behavior to NSString,
we already added String, and String inherits from IndexedCollection.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@261 72102866-910b-0410-8b05-ffd578937521
1995-04-03 23:43:08 +00:00
mccallum
95bc03e7f4 Use (id <String>) instead of (String*)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@241 72102866-910b-0410-8b05-ffd578937521
1995-04-03 03:23:45 +00:00
mccallum
9ac1790a9f Added implementations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@231 72102866-910b-0410-8b05-ffd578937521
1995-04-03 01:35:42 +00:00
mccallum
3454697e21 Initial revision
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@99 72102866-910b-0410-8b05-ffd578937521
1995-03-12 19:54:14 +00:00