mccallum
3ba969d436
Use -subclassReponsibility instead of -notImplemented.
...
([String -cStringNoCopy]): New method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@763 72102866-910b-0410-8b05-ffd578937521
1996-01-23 21:12:29 +00:00
mccallum
9ad970b819
Declare new method.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@762 72102866-910b-0410-8b05-ffd578937521
1996-01-23 21:08:52 +00:00
mccallum
f7e2857640
Use string object types instead of C-string types in method arguments.
...
Use -subclassReponsibility instead of -notImplemented.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@761 72102866-910b-0410-8b05-ffd578937521
1996-01-23 21:04:49 +00:00
mccallum
4f6afefeb3
(Streaming): Use string object types instead of C-string types in
...
method arguments.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@760 72102866-910b-0410-8b05-ffd578937521
1996-01-23 21:01:51 +00:00
mccallum
2594628f88
Declare new methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@759 72102866-910b-0410-8b05-ffd578937521
1996-01-23 21:00:08 +00:00
mccallum
7868cf23d2
([String +stringWithCStringNoCopy:freeWhenDone:f]): New method.
...
([String +stringWithCStringNoCopy:]): New method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@758 72102866-910b-0410-8b05-ffd578937521
1996-01-23 20:59:55 +00:00
mccallum
682c3afb8e
([CString -initWithCStringNoCopy:freeWhenDone:]): New method.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@757 72102866-910b-0410-8b05-ffd578937521
1996-01-23 20:59:27 +00:00
mccallum
a7b5a4d193
Don't use ivar interconnected_stack_height.
...
(DOING_ROOT_OBJECT): New macro, defined based on
interconnected_stack_height.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@756 72102866-910b-0410-8b05-ffd578937521
1996-01-23 16:55:56 +00:00
mccallum
98ce2060ae
(Coder): Get rid of unnecessary ivar doing_root_object; we can get the
...
same information from ivar interconnected_stack_height.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@755 72102866-910b-0410-8b05-ffd578937521
1996-01-23 16:54:52 +00:00
mccallum
283aece84a
([NSCoder -encodeObject:]): Implemented.
...
([NSCoder -decodeObject]): Implemented.
([NSCoder -encodeValueOfObjCType:at:]): Use -subclassResponsibility,
not -notImplemented.
([NSCoder -decodeValueOfObjCType:at:]): Likewise.
([NSCoder -encodeDataObject:]): Likewise.
([NSCoder -decodeDataObject]): Likewise.
([NSCoder -versionForClassName:]): Likewise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@754 72102866-910b-0410-8b05-ffd578937521
1996-01-23 02:32:49 +00:00
mccallum
2134e3e8b1
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@751 72102866-910b-0410-8b05-ffd578937521
1996-01-22 23:32:28 +00:00
mccallum
759a52916e
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@750 72102866-910b-0410-8b05-ffd578937521
1996-01-22 23:22:11 +00:00
mccallum
83a875da07
Patched from mail. See ChangeLog
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@743 72102866-910b-0410-8b05-ffd578937521
1996-01-21 01:36:47 +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
7a7174faef
Before making soft links from previous change, remove them.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@739 72102866-910b-0410-8b05-ffd578937521
1996-01-19 16:08:50 +00:00
mccallum
50c0aa3ed4
make NSBundle work, if cwd is not in PATH.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@738 72102866-910b-0410-8b05-ffd578937521
1996-01-19 16:02:02 +00:00
mccallum
df461b0a19
(libobjects.so.$OBJECTS_VERSION)): Re-add the
...
-Wl,-soname,libobjects.so.$(OBJECTS_MAJOR_VERSION) argument. Create a
soft link named libobjects.so.
(install): Install a soft link named libobjects.so.
(Fixes sent by Jeremy Bettis <jbettis@cse.unl.edu>.)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@737 72102866-910b-0410-8b05-ffd578937521
1996-01-19 15:56:09 +00:00
mccallum
2103ebe3a4
Comment indentation fix.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@734 72102866-910b-0410-8b05-ffd578937521
1996-01-17 00:33:08 +00:00
mccallum
cb438ad813
Update copyright. (objc_load_module): Use
...
CON_AUTOLOAD instead of SYS_AUTOLOAD.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@733 72102866-910b-0410-8b05-ffd578937521
1996-01-16 23:36:19 +00:00
mccallum
70dce47779
(HEADERS_INSTALL): Remove objects/config.h.
...
(install): Look for libobjects.so file, not just for configure
variable. Remove unwanted `;'. Install objects/config.h from build
directory. (Fixes provided by Matthias Klose <doko@cs.tu-berlin.de>).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@731 72102866-910b-0410-8b05-ffd578937521
1996-01-16 17:24:56 +00:00
mccallum
a7f0a4e618
([NSDate -description]): replace strftime() with sprintf() equivalent
...
for NEXTSTEP.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@730 72102866-910b-0410-8b05-ffd578937521
1996-01-16 00:48:44 +00:00
mccallum
3682627d9b
($(NSVALUE_MFILES)): Use sed instead of expr to extract number.
...
($(NSNUMBER_MFILES)): Likewise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@727 72102866-910b-0410-8b05-ffd578937521
1996-01-16 00:07:21 +00:00
mccallum
b4be898aef
([NSProcessInfo -globallyUniqueString]): Don't use the %@ printf
...
format directive, since it isn't implemented yet; use %s and -cString
instead.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@717 72102866-910b-0410-8b05-ffd578937521
1996-01-12 22:28:41 +00:00
mccallum
b9e4acc0ec
Don't test !(sgi), since SYS_AUTOLOAD is fixed.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@716 72102866-910b-0410-8b05-ffd578937521
1996-01-12 22:17:53 +00:00
mccallum
81e950dfba
(objc_find_executable): #ifdef NeXT, use getwd() instead of getcwd().
...
(Reported by Gregor Hoffleit <flight@mathi.uni-heidelberg.DE>.)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@715 72102866-910b-0410-8b05-ffd578937521
1996-01-12 21:24:07 +00:00
mccallum
569719b8b0
([NSDate -description]): Don't use strftime #ifdef NeXT. (Reported by
...
Gregor Hoffleit <flight@mathi.uni-heidelberg.DE>.)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@714 72102866-910b-0410-8b05-ffd578937521
1996-01-12 21:09:48 +00:00
mccallum
79fa53e8d4
(objects/stdobjects.h): prepend objects/stdobjects.h.in with
...
$(srcdir).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@713 72102866-910b-0410-8b05-ffd578937521
1996-01-12 20:55:35 +00:00
mccallum
7a42c503ab
(NXStringTable_scan.o): Removed target; let pattern rule take care of
...
it.
($(NSVALUE_MFILES)): Use $@ instead of $* in expr argument.
($(NSNUMBER_MFILES)): Likewise.
(Reported by <pfuchs@tag01.acnet.net>.)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@711 72102866-910b-0410-8b05-ffd578937521
1996-01-12 20:20:57 +00:00
mccallum
07d5a24cbf
([NSMethodSignature +signatureWithObjCTypes:]): Use gcc's builtin
...
memcpy instead of bcopy. (Reported by Matthias Klose
<doko@cs.tu-berlin.de>.)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@710 72102866-910b-0410-8b05-ffd578937521
1996-01-12 16:56:38 +00:00
mccallum
8f5a50eff9
([NSMethodSignature +signatureWithObjCTypes:]): Fix typo: change
...
objc_size_of_type to objc_sizeof_type. (Reported by
Gregor Hoffleit <flight@mathi.uni-heidelberg.DE>.)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@709 72102866-910b-0410-8b05-ffd578937521
1996-01-12 16:54:39 +00:00
mccallum
d3fda08ef8
(libobjects.so.$(OBJECTS_VERSION)): Removed
...
"-Wl,-soname,libobjects.so.$(OBJECTS_VERSION)"; gcc does this
automatically. (Reported by Matthias Klose <doko@cs.tu-berlin.de>.)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@708 72102866-910b-0410-8b05-ffd578937521
1996-01-12 16:45:56 +00:00
mccallum
cae481e0de
Include <netdb.h> for MAXHOSTNAMELEN. (Reported by Matthias Klose
...
<doko@cs.tu-berlin.de>.)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@707 72102866-910b-0410-8b05-ffd578937521
1996-01-12 16:42:12 +00:00
mccallum
7b8352eec2
(ALL_INCLUDE_FLAGS): Add -I. for objects/config.h. (Reported by
...
Matthias Klose <doko@cs.tu-berlin.de>)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@705 72102866-910b-0410-8b05-ffd578937521
1996-01-12 16:38:56 +00:00
mccallum
36b433a642
([MethodInvocation -initWithSelector:arguments:]): New method, not
...
implemented.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@703 72102866-910b-0410-8b05-ffd578937521
1996-01-10 19:55:42 +00:00
mccallum
7925a68d6e
Remove #if NeXT and alternate #include's.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@702 72102866-910b-0410-8b05-ffd578937521
1996-01-10 15:51:25 +00:00
mccallum
33e45f4f7c
([Storage -insertElement:at:]): Increment numElements. (Reported by
...
Revuz Dominique <dr@univ-mlv.fr>).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@701 72102866-910b-0410-8b05-ffd578937521
1996-01-09 20:24:52 +00:00
mccallum
da91b29ed2
(_GNU_MAX_HOST_NAMELEN): Macro removed; using MAXHOSTNAMELEN from
...
<sys/param.h> instead. All users changed.
(_gnu_process_args): Malloc and fill NSArgv; assignment of char** from
*char[] isn't right.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@692 72102866-910b-0410-8b05-ffd578937521
1996-01-08 17:05:45 +00:00
mccallum
cc256506a8
([NSGCString -emptyCopy]): Use [super emptyCopy], not [super allocCopy].
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@691 72102866-910b-0410-8b05-ffd578937521
1996-01-08 16:25:10 +00:00
mccallum
291b264f28
([String -emptyCopy]): Method removed; super class implementation is
...
fine.
([String -initWithCString:range:]): Use -subclassResponsibility:, not
-notImplemented:.
([String -empty]): Likewise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@690 72102866-910b-0410-8b05-ffd578937521
1996-01-08 16:24:14 +00:00
mccallum
53ea27d1e9
Changed rules for compiling concrete NSValue and NSNumber classes; the
...
old version no longer worked with PIC compilation, and didn't use the
common pattern rule for making the object file.
(NSNUMBER_CLUSTER, NSVALUE_CLUSTER): Variables removed.
(NSVALUE_MFILES): New variable, replacing NSVALUE_OFILES.
(NSNUMBER_MFILES): New variable, replacing NSNUMBER_OFILES.
(GNUSTEP_OBJS): Use new vars.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@688 72102866-910b-0410-8b05-ffd578937521
1996-01-07 21:05:01 +00:00
mccallum
91d3a68c6c
(_gnu_process_args): Use "char **argv" instead of "char *argv[]".
...
Remove cast in assignment of NSArgv.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@687 72102866-910b-0410-8b05-ffd578937521
1996-01-05 22:40:36 +00:00
mccallum
a55d5aa13b
Clean up shared library building. Make building from another
...
directory work.
(Makeconf): Include it after system configuration section, and from
$(srcdir).
(SHAREDLIB_CFLAGS, SHAREDLIB_ARFLAGS, USING_SHAREDLIB_CFLAGS,
USING_SHAREDLIB_ARFLAGS): Variables removed.
(ALL_CFLAGS, ALL_OBJCFLAGS): Don't use removed vars.
(%_pic.o: %.m): New pattern rule.
(%_pic.o: %.c): New pattern rule.
(all): Always build libobjects.a, optionally build .so version.
(libobjects.so): Use -shared. Link to ..$(OBJECTS_MAJOR_VERSION).
(install): Always install libobjects, optionally install .so version.
Install the headers from the $(srcdir).
(NSVALUE_OFILES, NSNUMBER_OFILES, NXStringTable_scan.c,
dynamic-load.h): Use $(srcdir) properly for these targets.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@680 72102866-910b-0410-8b05-ffd578937521
1996-01-05 22:01:31 +00:00
mccallum
572a7a1c45
([Set -removeElement:ifAbsentCall:]): Fix typo; method renamed from
...
-removeElement:ifAbsent:. (Reported by Albert Mietus
<albert@gamp.hacom.nl>)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@679 72102866-910b-0410-8b05-ffd578937521
1996-01-05 04:12:08 +00:00
mccallum
49ab05a3a4
Patched from mail. See ChangeLog
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@678 72102866-910b-0410-8b05-ffd578937521
1995-12-20 18:42:38 +00:00
mccallum
e4ecbb522e
([NSMutableArray -addObject:]): Use -subclassResponsibility:, not
...
-notImplemented:.
([NSMutableArray -replaceObjectAtIndex:withObject:]): Likewise.
([NSMutableArray -insertObject:atIndex:]): Likewise.
([NSMutableArray -removeObjectAtIndex:]): Likewise.
([NSMutableArray -removeAllObjects]): Likewise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@677 72102866-910b-0410-8b05-ffd578937521
1995-11-24 20:09:18 +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
b47bfa69fd
(CFLAGS): Added -O.
...
(SHAREDLIB_CFLAGS,SHAREDLIB_ARFLAGS): Set values here, not in
configure.in.
(USING_SHAREDLIB_CFLAGS,USING_SHAREDLIB_ARFLAGS): New vars, set by
configure.
(ALL_CFLAGS, ALL_OBJCFLAGS): Use them.
(libobjects.so.$(OBJECTS_VERSION): New target, replacing
libobjects.so. Use version numbers.
(install): Try to do the right thing with shared/non-shared libs.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@674 72102866-910b-0410-8b05-ffd578937521
1995-11-14 17:02:56 +00:00
mccallum
01bc8ec329
(NSArgv): New global.
...
(_gnu_process_args): Set it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@669 72102866-910b-0410-8b05-ffd578937521
1995-11-07 02:22:22 +00:00
mccallum
a2b9a7bf41
(SHAREDLIB_CFLAGS): New variable.
...
(ALL_CFLAGS): Use it.
(ALL_OBJCFLAGS): Likewise.
(SHAREDLIB_ARFLAGS): New variable.
(libobjects.so): Use it; new target.
(all): Depend on configure variable.
(install): Changes to install shared library.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@666 72102866-910b-0410-8b05-ffd578937521
1995-11-07 02:18:53 +00:00
mccallum
4530efc273
Minor fixes for second-time compilation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@664 72102866-910b-0410-8b05-ffd578937521
1995-11-06 17:38:33 +00:00
mccallum
4d0c8747bc
Minor fixes for first-time compilation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@663 72102866-910b-0410-8b05-ffd578937521
1995-11-06 17:36:48 +00:00
mccallum
d1f2ab12df
(GNUSTEP_MFILES): Added NSMethodSignature.m.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@661 72102866-910b-0410-8b05-ffd578937521
1995-11-06 17:24:15 +00:00
mccallum
1a66a3676d
([NSSet +set]): Use +alloc, not _concreteClass. This
...
makes [NSMutableSet +set] and friends do the right thing.
([NSSet +setWithObjects:count:]): Likewise.
([NSSet +setWithArray:]): Likewise.
([NSSet +setWithObject:]): Likewise.
([NSSet +setWithObjects:]): Likewise.
([NSMutableSet +setWithCapacity:]): Likewise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@660 72102866-910b-0410-8b05-ffd578937521
1995-11-03 22:24:14 +00:00
mccallum
e2953be450
([NSArray +array]): Use +alloc, not _concreteClass. This
...
makes [NSMutableArray +array] and friends do the right thing.
([NSArray +arrayWithObjects:]): Likewise.
([NSMutableArray +arrayWithCapacity:]): Likewise.
([NSArray +arrayWithObject:]): Likewise; and fix condition on exception.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@659 72102866-910b-0410-8b05-ffd578937521
1995-11-03 22:22:02 +00:00
mccallum
0a2df82052
([NSDictionary +dictionary]): Use +alloc, not _concreteClass. This
...
makes [NSMutableDictionary +dictionary] and friends do the right thing.
([NSDictionary +dictionaryWithObjects:forKeys:count:]): Likewise.
([NSMutableDictionary +dictionaryWithCapacity:]): Likewise.
(Problem reported by Kim Shrier <kim@media.com>.)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@658 72102866-910b-0410-8b05-ffd578937521
1995-11-03 22:18:47 +00:00
mccallum
05edb566c9
([NSProcessInfo -hostName]): Remove unnecessary inefficiency: use
...
stack to hold temporary string, not malloc/free; just return the
string, not a copy. Conform to GNU coding standards in use of braces.
([NSProcessInfo -processName]): Likewise. Just return the string, not
a copy.
([NSProcessInfo -environment]): Likewise.
([NSProcessInfo -arguments]): Likewise.
(_gnu_arguments, _gnu_environment): Make them constant classes, not
mutable.
(_gnu_process_args): Alloc _gnu_processName NSString, don't get an
autoreleased string and then retain it. Initialize _gnu_arguments as
a constant NSArray, not NSMutableArray. Initialize _gnu_environment
as a constant NSDictionary, not NSMutableDictionary. Conform to the
GNU coding standards in use of braces.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@656 72102866-910b-0410-8b05-ffd578937521
1995-11-03 16:12:07 +00:00
mccallum
86a9c79d9e
Moved method declarations from NSMutableSet to NSSet.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@655 72102866-910b-0410-8b05-ffd578937521
1995-10-30 01:52:20 +00:00
mccallum
4bc79b5212
([NSGSet -isEqual:]): Added method.
...
([NSGMutableSet -isEqual:]): Likewise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@654 72102866-910b-0410-8b05-ffd578937521
1995-10-30 01:51:46 +00:00
mccallum
d2fdc59b4b
([NSGCountedSet -isEqual:]): Added method.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@653 72102866-910b-0410-8b05-ffd578937521
1995-10-30 01:51:17 +00:00
mccallum
3a8e9f32cb
([NSGArray -objectAtIndex:]): Fix condition on exception.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@650 72102866-910b-0410-8b05-ffd578937521
1995-10-30 01:29:52 +00:00
mccallum
939207ed93
([NSArray -objectEnumerator]): Autorelease it.
...
([NSArray -reverseObjectEnumerator]): Likewise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@648 72102866-910b-0410-8b05-ffd578937521
1995-10-30 01:05:15 +00:00
mccallum
21ba41b815
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@647 72102866-910b-0410-8b05-ffd578937521
1995-10-30 01:00:39 +00:00
mccallum
ef8eaa1d08
Implemented many methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@646 72102866-910b-0410-8b05-ffd578937521
1995-10-30 01:00:20 +00:00
mccallum
e861bc9445
Added NSCountedSet interface.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@644 72102866-910b-0410-8b05-ffd578937521
1995-10-30 00:59:20 +00:00
mccallum
f09bd1f0ba
Changed some notImplemented to subclassResponsiblity.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@643 72102866-910b-0410-8b05-ffd578937521
1995-10-30 00:58:18 +00:00
mccallum
198e30beb0
(GNUSTEP_MFILES): Added NSCountedSet.m and NSGCountedSet.m.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@642 72102866-910b-0410-8b05-ffd578937521
1995-10-30 00:48:17 +00:00
mccallum
a15aad885c
([NSGDictionary -keyEnumerator]): Autorelease it.
...
([NSGDictionary -objectEnumerator]): Likewise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@641 72102866-910b-0410-8b05-ffd578937521
1995-10-30 00:41:15 +00:00
mccallum
9db633f401
Doc fix.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@640 72102866-910b-0410-8b05-ffd578937521
1995-10-30 00:34:00 +00:00
mccallum
34ce0a3d35
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@639 72102866-910b-0410-8b05-ffd578937521
1995-10-30 00:33:22 +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
c20c33ea5f
(GNU_HEADERS): Added objects/NSSet.h.
...
(GNUSTEP_MFILES): Added NSGSet.m and NSSet.m.
(GNUSTEP_HEADERS): Added Foundation/NSGSet.h and Foundation/NSSet.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@637 72102866-910b-0410-8b05-ffd578937521
1995-10-26 01:17:43 +00:00
mccallum
30bda594e1
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@636 72102866-910b-0410-8b05-ffd578937521
1995-10-26 01:16:38 +00:00
mccallum
8731cb435d
(coll_hash_next): Set STATE to 0 before returning when the list is
...
exhausted. This interacts with [Dictionary -freeEnumState:] and [Set
-freeEnumState]. This will all be cleaned up when we start using
Albin Jones' tables. (This bug found by Allan Clearwaters.)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@634 72102866-910b-0410-8b05-ffd578937521
1995-10-26 00:48:55 +00:00
mccallum
821d4b6b5e
([Set -freeEnumState:]): Added comment.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@633 72102866-910b-0410-8b05-ffd578937521
1995-10-26 00:41:03 +00:00
mccallum
e2156fc92b
([NSGDictionaryKeyEnumerator -initWithDictionary:]): Retain dictionary
...
after it is initialized.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@632 72102866-910b-0410-8b05-ffd578937521
1995-10-26 00:37:14 +00:00
mccallum
d15b491be6
Fix typo: include Foundation/NSException.h.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@631 72102866-910b-0410-8b05-ffd578937521
1995-10-22 17:59:25 +00:00
mccallum
8a3909a021
([NSGArray -initWithObjects:count:]): Raise exception for nil objects.
...
([NSGArray -objectAtIndex:]): Raise exception when index too high.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@630 72102866-910b-0410-8b05-ffd578937521
1995-10-22 17:58:57 +00:00
mccallum
c451add3c4
([NSArray +arrayWithObject:]): Correctly raise exception on nil argument.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@629 72102866-910b-0410-8b05-ffd578937521
1995-10-22 17:53:38 +00:00
mccallum
c9fc2fb84b
Added some comments about future enhancements I want to make.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@628 72102866-910b-0410-8b05-ffd578937521
1995-10-18 16:51:58 +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
d82d74df60
([Coder -doInitOnStream:isDecoding:]): Use new ivar names.
...
([Coder -_coderPushRootObjectTable]): Use new ivar names and don't use
Stack.
([Coder -_coderPopRootObjectTable]): Likewise.
([Coder -_coderTopRootObjectTable]): Likewise.
([Coder -_coderPushForwardObjectTable]): Likewise.
([Coder -_coderPopForwardObjectTable]): Likewise.
([Coder -_coderTopForwardObjectTable]): Likewise.
([Coder -_coderForwardObjectsAtReference:]): Don't access ivar directly.
([Coder -_coderPutForwardObjects:atReference:]): Likewise.
([Coder -finishDecodingInterconnectedObjects]): Use new ivar name.
([Coder -dealloc]): Likewise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@626 72102866-910b-0410-8b05-ffd578937521
1995-10-14 18:19:32 +00:00
mccallum
fbb93ba95b
(Coder): Renamed ivars from root_object_tables to root_object_table,
...
from forward_object_tables to forward_object_table; changed classes
from Stack (of Dictionary's) to Dictionary.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@625 72102866-910b-0410-8b05-ffd578937521
1995-10-14 18:16:03 +00:00
mccallum
e306423619
(CurriedInvocation): Comment out empty implementation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@624 72102866-910b-0410-8b05-ffd578937521
1995-10-13 20:51:24 +00:00
mccallum
d138f7cd3e
([IndexedCollection -shallowCopyInReverseAs:]): Return newColl, not
...
self.
([IndexedCollection -withElementsInReverseCall:]): Set flag to YES.
([IndexedCollection -safeWithElementsInReverseCall:]): Likewise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@623 72102866-910b-0410-8b05-ffd578937521
1995-10-09 18:59:26 +00:00
mccallum
2c36b7bf5f
Patched from mail. See ChangeLog
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@621 72102866-910b-0410-8b05-ffd578937521
1995-10-05 22:22:28 +00:00
mccallum
127930bbff
(CurriedInvocation): New class, unimplemented.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@619 72102866-910b-0410-8b05-ffd578937521
1995-09-30 22:11:14 +00:00
mccallum
22e8ecf14c
(CHECK_ZERO_SIZE): New macro; for making sure we don't pass 0 to
...
malloc and its friends.
(__objc_malloc): Use it.
(__objc_valloc): Likewise.
(__objc_realloc): Likewise.
(__objc_calloc): Likewise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@618 72102866-910b-0410-8b05-ffd578937521
1995-09-30 22:00:21 +00:00
mccallum
de3c2bc179
([IndexedCollection -getNextElement:withEnumState:]): if isEmpty,
...
return NO.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@616 72102866-910b-0410-8b05-ffd578937521
1995-09-27 23:25:55 +00:00
mccallum
1be647d515
([NSObject +initialize]): Set default autorelease_class to
...
NSAutoreleasePool.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@615 72102866-910b-0410-8b05-ffd578937521
1995-09-27 23:15:24 +00:00
mccallum
3ed5349dc8
Don't try to use __attribute__ ((section ..)) #if (sgi). It doesn't
...
seem to be supported. This probably means that aclocal.m4 needs to be
fixed so that it doesn't define SYS_AUTOLOAD in this case. No time
now. Adam?
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@614 72102866-910b-0410-8b05-ffd578937521
1995-09-27 23:00:12 +00:00
mccallum
3dbee6766f
Avoid cache_flush when releasing contents.
...
(send_release): Remove function.
([Collection -_releaseContents]): New method.
([Collection -dealloc]): Use it.
([Collection -empty]): Likewise.
([Collection -_safeWithElementsCallNoRetain:]): Use
-getNextElement:withEnumState instead of -withElementsCall: to avoid
cache_flush.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@613 72102866-910b-0410-8b05-ffd578937521
1995-09-27 22:45:44 +00:00
mccallum
43da69d1ae
Patched from mail. See ChangeLog
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@612 72102866-910b-0410-8b05-ffd578937521
1995-09-21 17:42:46 +00:00
mccallum
ecfdf5feb3
Patched from mail. See ChangeLog
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@608 72102866-910b-0410-8b05-ffd578937521
1995-09-12 22:30:13 +00:00
mccallum
41ddf10f66
([TextCoder -decodeValueOfSimpleType:at:withName:]): Assert the data pointer.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@607 72102866-910b-0410-8b05-ffd578937521
1995-09-11 00:38:27 +00:00
mccallum
70909b23de
Comment changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@606 72102866-910b-0410-8b05-ffd578937521
1995-09-11 00:37:22 +00:00
mccallum
238a2f3b5e
([Coder -doInitOnStream:isDecoding:]): Temporarily change
...
in_progress_table from a Set to an Array. I need to fix some problems
with Set.
([Coder -startEncodingInterconnectedObjects]): Deal with
interconnected_stack_height.
([Coder -finishEncodingInterconnectedObjects]): Likewise.
([Coder -startDecodingInterconnectedObjects]): Likewise.
([Coder -finishDecodingInterconnectedObjects]): Likewise.
([Coder -encodeRootObject:withName:]): Fix bug, whereby we weren't
giving what decodeObjectAt:withName: expected.
([Coder -encodeArrayOfType:at:count:withName:]): Don't encode the
array count.
([Coder -decodeArrayOfType:at:count:withName:]): Don't expect the
array count. Change type on 3rd argument.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@605 72102866-910b-0410-8b05-ffd578937521
1995-09-11 00:36:35 +00:00
mccallum
bb38dcff5e
(interconnected_stack_height): New ivar for Coder.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@604 72102866-910b-0410-8b05-ffd578937521
1995-09-10 22:51:20 +00:00
mccallum
c39c086ada
([Coding -decodeArrayOfType:at:count:withName:]): Change the 3rd
...
argument type; pass the count directly, not as a pointer. The
encoding and decoding of array's no longer records the array count;
if necessary, you must do that yourself ahead of time.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@603 72102866-910b-0410-8b05-ffd578937521
1995-09-10 22:17:55 +00:00
mccallum
0ca3ec5566
Fix typos.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@602 72102866-910b-0410-8b05-ffd578937521
1995-09-08 22:49:50 +00:00
mccallum
ef2db2a7cf
Fix typo.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@601 72102866-910b-0410-8b05-ffd578937521
1995-09-08 22:49:36 +00:00
mccallum
2c8b6a7b05
([Coder -doInitOnStream:isDecoding:]): Init in_progress_table.
...
([Coder -dealloc]): Release in_progress_table.
([Coder -_encodeObject:withName:isBycopy:isForwardReference:]):
If the object is in progress, treat it like a forward reference. Add
the object to the in_progess_table before really encoding the object;
remove it when done. (NOTE, this isn't an excuse not to set up
"encoding interconnected objects" mode.)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@600 72102866-910b-0410-8b05-ffd578937521
1995-09-08 22:44:23 +00:00
mccallum
bc323d7a06
(in_progress_table): New ivar in Coder.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@599 72102866-910b-0410-8b05-ffd578937521
1995-09-08 22:30:52 +00:00
mccallum
cddc14d2b4
Patched from mail.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@597 72102866-910b-0410-8b05-ffd578937521
1995-08-30 21:49:35 +00:00
mccallum
febfce5a16
Added break's to avoid
...
falling through case statements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@596 72102866-910b-0410-8b05-ffd578937521
1995-08-30 21:33:39 +00:00
mccallum
5755c8c223
Comment change.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@595 72102866-910b-0410-8b05-ffd578937521
1995-08-30 21:32:48 +00:00
mccallum
bbf2b3a45a
Added #line macro so gdb
...
knows which file source came from
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@594 72102866-910b-0410-8b05-ffd578937521
1995-08-30 21:32:11 +00:00
mccallum
52d9a70db8
all methods): Implemented.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@593 72102866-910b-0410-8b05-ffd578937521
1995-08-30 21:31:29 +00:00
mccallum
ee92d8fe84
Added #line macro so gdb
...
knows which file source came from.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@592 72102866-910b-0410-8b05-ffd578937521
1995-08-30 21:28:28 +00:00
mccallum
14b4933dbd
([Collection -empty]): Check if already empty. This avoids a previous
...
malloc(0).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@591 72102866-910b-0410-8b05-ffd578937521
1995-08-28 20:27:01 +00:00
mccallum
394a4a3424
* src/NSProcessInfo.m: Added Linux/ELF support. Linux calls the
...
__libc_subinit functions before the global constructors, therefore
the subinit functions must be just vanilla C.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@590 72102866-910b-0410-8b05-ffd578937521
1995-08-28 13:36:24 +00:00
mccallum
42658c005e
(GNUSTEP_HEADERS): Remove NSTimeZone.h. It's declared in NSDate.h.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@588 72102866-910b-0410-8b05-ffd578937521
1995-08-24 23:40:26 +00:00
mccallum
71e1c9fb75
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@587 72102866-910b-0410-8b05-ffd578937521
1995-08-24 22:35:25 +00:00
mccallum
f830afae44
(GNUSTEP_MFILES): Added NSObjCRuntime.m.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@586 72102866-910b-0410-8b05-ffd578937521
1995-08-24 22:32:14 +00:00
mccallum
281a9647bf
Include <NSString.h>
...
([NSObject -description]): Implemented.
([NSObject +description]): Implemented.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@585 72102866-910b-0410-8b05-ffd578937521
1995-08-24 22:24:17 +00:00
mccallum
0e5df69995
(FILE_AUTHORS): Added Peter Burka.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@584 72102866-910b-0410-8b05-ffd578937521
1995-08-24 16:36:17 +00:00
mccallum
3bb1c039cb
([NSTimeZone -encodeWithCoder:]): Avoid warning by removing type from
...
argument.
([NSTimeZone -initWithCoder:]): Likewise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@582 72102866-910b-0410-8b05-ffd578937521
1995-08-23 16:15:22 +00:00
mccallum
ce5cc7fd54
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@581 72102866-910b-0410-8b05-ffd578937521
1995-08-23 16:13:42 +00:00
mccallum
b731997313
(GNUSTEP_MFILES): Added NSTimeZone.m.
...
(GNUSTEP_HEADERS): Added Foundation/NSTimeZone.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@578 72102866-910b-0410-8b05-ffd578937521
1995-08-23 15:53:40 +00:00
mccallum
79e1b695e0
Fix bug by which [NSString mutableCopy] returned a String, not NSString.
...
([String -copyWithZone:]): Renamed from -copy.
([String -mutableCopyWithZone:]): Renamed from -mutableCopy.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@577 72102866-910b-0410-8b05-ffd578937521
1995-08-23 15:51:05 +00:00
mccallum
044d1039b5
Added comment about superclass methods being overriden.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@576 72102866-910b-0410-8b05-ffd578937521
1995-08-23 15:44:15 +00:00
mccallum
934d46540f
* src/NSData.m ([NSData +allocWithZone:]): New method.
...
([NSMutableData +allocWithZone:]): Likewise.
([NSData +data, +dataWithBytes:length:,
+dataWithBytesNoCopy:length:, +dataWithContentsOfFile:,
+dataWithContentsOfMappedFile:]): Allocate using designated
allocator. ([NSMutableData +dataWithCapacity:,
+dataWithLength:]): Likewise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@575 72102866-910b-0410-8b05-ffd578937521
1995-08-23 15:36:59 +00:00
mccallum
3a2fd5cfa1
*** empty log message ***
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@573 72102866-910b-0410-8b05-ffd578937521
1995-08-23 15:18:14 +00:00
mccallum
8fa067f75b
([NSAutoreleasePool -dealloc]): Removed question comment.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@572 72102866-910b-0410-8b05-ffd578937521
1995-08-23 15:07:17 +00:00
mccallum
43858076dc
Comment out args to LibobjectsMain so we don't get errors from
...
people's "int main ()".
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@570 72102866-910b-0410-8b05-ffd578937521
1995-08-16 19:37:15 +00:00
mccallum
ec888253de
(FILE_AUTHORS): Fix typo.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@566 72102866-910b-0410-8b05-ffd578937521
1995-08-16 18:12:53 +00:00
mccallum
70108bf44b
(_GNU_MISSING_MAIN_FUNCTION_CALL): Added Tuparev's email address.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@563 72102866-910b-0410-8b05-ffd578937521
1995-08-16 18:01:44 +00:00
mccallum
dbdd62310e
(FILE_AUTHORS): Added "Georg Tuparev".
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@561 72102866-910b-0410-8b05-ffd578937521
1995-08-16 17:56:03 +00:00
mccallum
ad44388cb2
Fix indentation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@556 72102866-910b-0410-8b05-ffd578937521
1995-08-16 16:14:11 +00:00
mccallum
8e5f9b9294
Only redefine main if we don't have __ELF__.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@555 72102866-910b-0410-8b05-ffd578937521
1995-08-16 16:11:01 +00:00
mccallum
e767da911e
Include <objects/LibobjectsMain.h>
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@554 72102866-910b-0410-8b05-ffd578937521
1995-08-16 16:07:12 +00:00
mccallum
e8fe9ce712
(GNU_HEADERS): Added LibobjectsMain.h.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@553 72102866-910b-0410-8b05-ffd578937521
1995-08-16 16:05:54 +00:00
mccallum
9899725761
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@552 72102866-910b-0410-8b05-ffd578937521
1995-08-16 16:04:22 +00:00
mccallum
8eae3abce0
(GNUSTEP_MFILES): Added NSProcessInfo.m.
...
(GNUSTEP_HEADERS): Added Foundation/NSProcessInfo.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@550 72102866-910b-0410-8b05-ffd578937521
1995-08-16 15:58:23 +00:00
mccallum
55a15805fc
Use ELF _libc_subinit for initialization instead of LibobjectsMain.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@549 72102866-910b-0410-8b05-ffd578937521
1995-08-16 15:56:33 +00:00
mccallum
b1bd1b7063
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@548 72102866-910b-0410-8b05-ffd578937521
1995-08-16 15:47:12 +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
1485396c08
Rename NSCString to NSGCString.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@541 72102866-910b-0410-8b05-ffd578937521
1995-08-09 16:01:15 +00:00
mccallum
5bc4a43421
Rename NSMutableCString to NSGMutableCString.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@540 72102866-910b-0410-8b05-ffd578937521
1995-08-09 15:46:35 +00:00
mccallum
72e1d6c760
Rename NSCString to NSGCString.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@539 72102866-910b-0410-8b05-ffd578937521
1995-08-09 15:45:46 +00:00
mccallum
5c37f79abe
([NSDate -copyWithZone:]): Fix typo.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@535 72102866-910b-0410-8b05-ffd578937521
1995-08-08 15:47:19 +00:00
mccallum
7cd03134f5
([NSDate -copyWithZone:]): New method.
...
([NSDate -descriptionWithCalendarFormat:timeZone:]): Uncommented.
([NSDate -dateWithCalendarFormat:timeZone:]): Uncommented.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@534 72102866-910b-0410-8b05-ffd578937521
1995-08-08 15:46:04 +00:00
mccallum
e20a78619b
([NSAutoreleasePool -dealloc]): Use object_get_class() instead of
...
->isa.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@533 72102866-910b-0410-8b05-ffd578937521
1995-08-08 15:38:02 +00:00
mccallum
037338d477
(GNUSTEP_HEADERS): Added Foundation/NSDate.h.
...
(GNUSTEP_MFILES): Added NSDate.m.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@532 72102866-910b-0410-8b05-ffd578937521
1995-08-08 15:32:11 +00:00
mccallum
b574c2546e
([NSObject -autorelease], [NSObject -release]):
...
Add double_release checking.
([NSObject +enableDoubleReleaseCheck:]): New method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@529 72102866-910b-0410-8b05-ffd578937521
1995-08-04 20:52:07 +00:00
mccallum
3c5d666112
([NSAutoreleasePool -addObject:]):
...
Remove double_release checking. Increment released_count after
setting released array.
([NSAutoreleasePool -dealloc]): Catch release errors.
([NSAutoreleasePool -enableDoubleReleaseCheck:]): Removed method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@528 72102866-910b-0410-8b05-ffd578937521
1995-08-04 20:51:19 +00:00
mccallum
323d743201
(debug_memory_stream): Turn debugging off by default.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@526 72102866-910b-0410-8b05-ffd578937521
1995-08-04 19:31:05 +00:00
mccallum
223a9eabce
(install): Remove README links before relinking.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@525 72102866-910b-0410-8b05-ffd578937521
1995-08-04 15:16:04 +00:00
mccallum
528f283d37
(make_method_call) [__mips__]: Add 4 to offset for float retframe.
...
Yipes, this may be needed for other architectures too.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@524 72102866-910b-0410-8b05-ffd578937521
1995-08-04 15:09:01 +00:00
mccallum
08353d9172
(GNUSTEP_HEADERS): Removed Foundation/NSUser.h.
...
(GNUSTEP_CFILES): Removed NSUser.c.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@523 72102866-910b-0410-8b05-ffd578937521
1995-08-04 15:08:02 +00:00
mccallum
526007dfaa
(make_method_call): Added comment about looking into a problem with
...
returning floats. I need to get back to this later.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@522 72102866-910b-0410-8b05-ffd578937521
1995-08-03 19:48:16 +00:00
mccallum
8616b88990
* src/NSBundle.m (bundle_object_name, bundle_resource_path,
...
[NSBundle +mainBundle], [NSBundle +setSystemLanguages:]): Remove
dependency on NSString for calculating paths.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@520 72102866-910b-0410-8b05-ffd578937521
1995-08-02 16:58:51 +00:00
mccallum
2a3bcfa4b4
*** empty log message ***
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@516 72102866-910b-0410-8b05-ffd578937521
1995-08-02 16:37:09 +00:00
mccallum
73f6339876
(GNUSTEP_MFILES): Remove NSUser.m.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@514 72102866-910b-0410-8b05-ffd578937521
1995-08-02 15:45:01 +00:00
mccallum
a226d09f75
NSUser.c.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@513 72102866-910b-0410-8b05-ffd578937521
1995-08-02 15:44:04 +00:00
mccallum
d7f1158630
([NSGMutableData -setLength:]): Reset eofPosition
...
to size.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@512 72102866-910b-0410-8b05-ffd578937521
1995-08-02 15:40:55 +00:00
mccallum
82e186ca12
([NSAutoreleasePool +autoreleaseCountForObject:]): Initialize count to 0.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@511 72102866-910b-0410-8b05-ffd578937521
1995-08-02 15:40:33 +00:00
mccallum
871ef71882
Include NSData header.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@510 72102866-910b-0410-8b05-ffd578937521
1995-08-02 15:40:18 +00:00
mccallum
aebe024d8e
([MallocAddress -dealloc]): Check for object in dictionary before
...
removing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@509 72102866-910b-0410-8b05-ffd578937521
1995-08-02 15:39:31 +00:00
mccallum
826de26482
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@508 72102866-910b-0410-8b05-ffd578937521
1995-08-02 15:37:10 +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
adbd615d4f
([NSDate -isEqual:]): Fix typo.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@506 72102866-910b-0410-8b05-ffd578937521
1995-08-02 15:21:54 +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
8f0564c1b8
NSGData.m (_initWithBytesNoCopy:length:): Make designated
...
initializer. (initWithBytesNoCopy:length:) Call designated initializer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@502 72102866-910b-0410-8b05-ffd578937521
1995-08-02 14:51:53 +00:00
mccallum
b7b35b32a5
([NSData +allocWithZone:]): New method.
...
(_initWithBytesNoCopy:length): New (designated initializer) method.
(initWithBytesNoCopy:length:): Make subclass responsibility.
(init): Call new designated initializer. ([NSMutableData
+allocWithZone:]) New Method. (dataWithCapacity:, dataWithLength:):
Allocate using designated allocator. (initWithBytesNoCopy:length:):
Make subclass responsibility.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@501 72102866-910b-0410-8b05-ffd578937521
1995-08-02 14:51:26 +00:00
mccallum
9af42750f9
(GNUSTEP_HEADERS): Added Foundation/NSUser.h.
...
(GNUSTEP_MFILES): Added NSUser.c.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@500 72102866-910b-0410-8b05-ffd578937521
1995-08-02 14:35:29 +00:00
mccallum
8523703daf
([NSGArray -initWithObjects:count:]): Set _capacity to minimum of 1.
...
([NSGMutableArray -initWithCapacity:]): Likewise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@498 72102866-910b-0410-8b05-ffd578937521
1995-07-06 17:58:16 +00:00
mccallum
591d66eaff
([NSCString -cString]): Malloc extra byte for '\0' terminator.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@497 72102866-910b-0410-8b05-ffd578937521
1995-07-06 17:57:02 +00:00
mccallum
28dce7024b
([MemoryStream -writeBytes:length:]): Realloc buffer to at least
...
minimum required length.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@496 72102866-910b-0410-8b05-ffd578937521
1995-07-06 17:56:12 +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
0f728306e9
([NSMethodSignature -dealloc]): Free returnTypes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@492 72102866-910b-0410-8b05-ffd578937521
1995-07-03 22:31:03 +00:00
mccallum
addc49727f
Allow easy user-modification of concrete class.
...
([NSUnarchiver +_setConcreteClass:]): New method.
([NSUnarchiver +_concreteClass]): New method.
([NSUnarchiver +initialize]): New method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@491 72102866-910b-0410-8b05-ffd578937521
1995-07-03 22:22:37 +00:00
mccallum
c82709e1d8
Allow easy user-modification of concrete class. Removed references to
...
NSGData.
([NSArchiver +_setConcreteClass:]): New method.
([NSArchiver +_concreteClass]): New method.
([NSArchiver +initialize]): New method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@490 72102866-910b-0410-8b05-ffd578937521
1995-07-03 22:20:40 +00:00
mccallum
b1fe8f95a0
Allow easy user-modification of concrete class.
...
([NSData +_setConcreteClass:]): New method.
([NSData +_setMutableConcreteClass:]): New method.
([NSData +_concreteClass]): New method.
([NSData +_mutableConcreteClass]): New method.
([NSData +initialize]): New method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@489 72102866-910b-0410-8b05-ffd578937521
1995-07-03 22:10:49 +00:00
mccallum
14d7b1e14c
Capitalize Foundation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@488 72102866-910b-0410-8b05-ffd578937521
1995-07-01 19:10:22 +00:00
mccallum
1479421e5e
Update copyright.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@487 72102866-910b-0410-8b05-ffd578937521
1995-07-01 19:01:11 +00:00
mccallum
cc3ec28e75
(GNUSTEP_MFILES): Remove NSArrayEnumerator.m.
...
(GNUSTEP_HEADERS): Remove Foundation/NSArrayEnumerator.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@486 72102866-910b-0410-8b05-ffd578937521
1995-07-01 18:39:22 +00:00
mccallum
783733a346
Moved NSArrayEnumerator interface and implementation from separate
...
files to here.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@485 72102866-910b-0410-8b05-ffd578937521
1995-07-01 18:38:03 +00:00
mccallum
ba5f7f4415
([NSDictionary +_setConcreteClass:]): New method.
...
([NSDictionary +_setMutableConcreteClass:]): New method.
([NSDictionary +_concreteClass]): New method.
([NSDictionary +_mutableConcreteClass]): New method.
([NSDictionary +initialize]): New method.
(NSDictionary_concrete_class, NSMutableDictionary_concrete_class): New
static variables.
([NSDictionary -copyWithZone:]): Make a deep copy to conform to spec;
it was a shallow copy.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@475 72102866-910b-0410-8b05-ffd578937521
1995-06-30 14:21:45 +00:00
mccallum
7a1f748dd8
([NSArray +arrayWithObjects:]): Fix typo.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@474 72102866-910b-0410-8b05-ffd578937521
1995-06-30 14:19:53 +00:00
mccallum
b34a29a236
([NSArray +_setMutableConcreteClass:]): New method.
...
([NSArray +_mutableConcreteClass]): New method.
([NSArray -copyWithZone:]): Make is a deep copy to conform to spec; it
was a shallow copy.
([NSMutableArray _setConcreteClass], [NSMutableArray_concreteClass]):
Removed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@473 72102866-910b-0410-8b05-ffd578937521
1995-06-30 14:07:44 +00:00
mccallum
5344b93b3f
Allow easy user-modification of concrete class.
...
([NSArray +_setConcreteClass:]): New method.
([NSArray +_concreteClass]): New method.
([NSArray +initialize]): New method.
(NSArray_concrete_class): New static variable.
([NSArray +arrayWithObject:]): Don't use addObject:.
([NSMutableArray +_setConcreteClass:]): New method.
([NSMutableArray +_concreteClass]): New method.
([NSMutableArray +initialize]): New method.
(NSMutableArray_concrete_class): New static variable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@472 72102866-910b-0410-8b05-ffd578937521
1995-06-30 13:45:13 +00:00
mccallum
bc09435c49
([Dictionary initWithType:keyType:capacity]): Declare it.
...
([Dictionary initWithType:capacity]): Likewise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@468 72102866-910b-0410-8b05-ffd578937521
1995-06-29 02:06:19 +00:00
mccallum
d61783e463
Include Sequent support. (Thanks to Matt Nelson <nelsonm@ctron.com>).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@464 72102866-910b-0410-8b05-ffd578937521
1995-06-29 01:05:29 +00:00
mccallum
259bf6d783
Include Sequent support.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@463 72102866-910b-0410-8b05-ffd578937521
1995-06-29 01:04:33 +00:00
mccallum
8ba60dd26e
([Connection +newForInPort:outPort:ancestorConnection:]): Add comment.
...
I need to fix retain/release for Connection.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@462 72102866-910b-0410-8b05-ffd578937521
1995-06-29 00:53:34 +00:00
mccallum
6f04986bd7
([BinaryTree -_initCollectionWithCoder:]): Disabled with
...
-notImplemented. I need to fix decoding of this class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@457 72102866-910b-0410-8b05-ffd578937521
1995-06-28 23:50:13 +00:00
mccallum
0a3f6f66c9
Added comment. I need to fix decoding of this class.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@456 72102866-910b-0410-8b05-ffd578937521
1995-06-28 23:49:52 +00:00
mccallum
5ee18261b4
([Collection -_safeWithElementsCallNoRetain:]): Use malloc not alloca.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@455 72102866-910b-0410-8b05-ffd578937521
1995-06-28 23:21:00 +00:00
mccallum
a578d2b436
([NSGArchiver -initForWritingWithMutableData:]): Comment out for now.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@454 72102866-910b-0410-8b05-ffd578937521
1995-06-28 23:01:00 +00:00
mccallum
3f48565bcd
([Dictionary -putElement:atKey:]): Release previous element.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@453 72102866-910b-0410-8b05-ffd578937521
1995-06-28 22:57:21 +00:00
mccallum
89c02c3a8b
(NSDecrementExtraRefCountWasZero): Return correct value.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@452 72102866-910b-0410-8b05-ffd578937521
1995-06-28 22:56:42 +00:00
mccallum
379998f2bb
(CFLAGS): Remove -Wall.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@451 72102866-910b-0410-8b05-ffd578937521
1995-06-28 22:52:17 +00:00
mccallum
77e0bd0b3d
(objects/stdobjects.h): Depend on ../Version, not Makefile.in.
...
(AUTHORS): Fix echo'ing of newlines.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@448 72102866-910b-0410-8b05-ffd578937521
1995-06-25 22:10:52 +00:00
mccallum
c4ac3de73f
([NSGArchiver -initForWritingWithMutableData:]): New method.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@439 72102866-910b-0410-8b05-ffd578937521
1995-06-20 16:14:50 +00:00
mccallum
b5f8e0ceb8
(prefix, exec_prefix, libdir, includedir): New variables.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@438 72102866-910b-0410-8b05-ffd578937521
1995-06-20 16:14:09 +00:00
mccallum
e17c083505
+ Fri May 26 11:17:54 1995 Adam Fedor <fedor@mode.colorado.edu>
...
+
+ * src/objc-load.c (objc_load_module): Don't execute ctor_list on
+ __ELF__ systems.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@434 72102866-910b-0410-8b05-ffd578937521
1995-05-26 17:54:55 +00:00
mccallum
21b5a3fdba
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@433 72102866-910b-0410-8b05-ffd578937521
1995-05-19 20:35:41 +00:00
mccallum
7484a5ae85
(encodeWithCoder:, initWithCoder:): Remove class names from arg type
...
to avoid bogus warnings about protocol conformance.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@423 72102866-910b-0410-8b05-ffd578937521
1995-05-05 21:32:14 +00:00
mccallum
c2a1c3d25f
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@420 72102866-910b-0410-8b05-ffd578937521
1995-05-05 21:16:49 +00:00
mccallum
50689a7209
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@419 72102866-910b-0410-8b05-ffd578937521
1995-05-05 21:03:04 +00:00
mccallum
172b84f5c9
Filled out skeleton. Most methods now implemented.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@413 72102866-910b-0410-8b05-ffd578937521
1995-05-05 18:31:51 +00:00
mccallum
ee0d65c733
Fix #ifndef macro name; NSArray, not NSString!
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@412 72102866-910b-0410-8b05-ffd578937521
1995-05-05 18:30:25 +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
83da0938b4
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@410 72102866-910b-0410-8b05-ffd578937521
1995-05-05 18:27:56 +00:00
mccallum
b8d00fb03e
(NSArray +allocWithZone:): Fixed to use NSAllocateObject.
...
(NSMutableArray +allocWithZone:): Likewise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@409 72102866-910b-0410-8b05-ffd578937521
1995-05-05 17:58:46 +00:00
mccallum
a7f669b6f1
(NSArray +allocWithZone:): Implemented.
...
(NSMutableArray +allocWithZone:): Implemented.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@408 72102866-910b-0410-8b05-ffd578937521
1995-05-05 15:50:26 +00:00
mccallum
73b367c163
(-initWithObjects:count:): Retain objects.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@406 72102866-910b-0410-8b05-ffd578937521
1995-05-05 14:46:35 +00:00
mccallum
b730ea2ced
Include <Foundation/NSException.h>
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@403 72102866-910b-0410-8b05-ffd578937521
1995-04-21 00:11:21 +00:00
mccallum
ff7e6221b0
(encodeWithCoder:, initWithCoder:): Include call to super since
...
NSObject now implements these methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@402 72102866-910b-0410-8b05-ffd578937521
1995-04-20 21:50:04 +00:00
mccallum
ed025f5a9b
(dataWithBytesNoCopy:length:): Send alloc to NSGData class, not self.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@401 72102866-910b-0410-8b05-ffd578937521
1995-04-20 16:04:56 +00:00
mccallum
c61e7bd0dd
Patch from Albin Jones.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@400 72102866-910b-0410-8b05-ffd578937521
1995-04-20 16:02:26 +00:00
mccallum
b2eae950dd
(replaceBytesInRange:withBytes:): Get pointer with -mutableBytes, not
...
-bytes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@393 72102866-910b-0410-8b05-ffd578937521
1995-04-17 21:31:59 +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
011763a248
(isAtEof): Renamed from streamEof.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@390 72102866-910b-0410-8b05-ffd578937521
1995-04-17 20:43:29 +00:00
mccallum
2e650305f3
Fix typo: We're declaring methods of NSCoder, not NSConcreteCoder.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@389 72102866-910b-0410-8b05-ffd578937521
1995-04-17 20:42:50 +00:00
mccallum
5d6cf8b2ef
Insert the implementation of NSMutableData.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@387 72102866-910b-0410-8b05-ffd578937521
1995-04-17 20:40:59 +00:00
mccallum
a7ec3763ba
Include <foundation/NSData.h>
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@386 72102866-910b-0410-8b05-ffd578937521
1995-04-17 20:39:14 +00:00
mccallum
381f673170
Fix typos.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@381 72102866-910b-0410-8b05-ffd578937521
1995-04-15 20:52:49 +00:00
mccallum
32c38073f5
Compare against [NSDate class], not NSDate.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@375 72102866-910b-0410-8b05-ffd578937521
1995-04-15 20:02:56 +00:00
mccallum
aec74b2d73
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@374 72102866-910b-0410-8b05-ffd578937521
1995-04-15 19:57:39 +00:00
mccallum
596b504d0f
(-initWithMode:, -streamMode): Methods removed.
...
(-isWritable): New method.
(-initWithCoder): Renamed from +newWithCoder.m.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@373 72102866-910b-0410-8b05-ffd578937521
1995-04-15 19:57:25 +00:00
mccallum
078d6ae082
Method removed and put into Streaming protocol. Included from
...
objects/Streaming.h.
(mode): Instance variable removed.
(STREAM_READONLY, STREAM_WRITEONLY, STREAM_READWRITE): enum removed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@371 72102866-910b-0410-8b05-ffd578937521
1995-04-15 19:55:43 +00:00
mccallum
b994945be5
(mode): New instance variable, to replace one removed from Stream class.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@370 72102866-910b-0410-8b05-ffd578937521
1995-04-15 19:53:44 +00:00
mccallum
6f0bc21bcb
(-setStreamBufferCapacity:): Renamed from -setStreamBufferSize.
...
(-streamBufferCapacity): Renamed from -streamBufferSize.
(-isWriteable): New method.
(-streamBufferPrefix): Renamed from -streamPrefix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@369 72102866-910b-0410-8b05-ffd578937521
1995-04-15 19:52:36 +00:00
mccallum
145826e50f
Change names from "Concrete"-style to "G"-style.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@368 72102866-910b-0410-8b05-ffd578937521
1995-04-15 19:48:46 +00:00
mccallum
c8e02b7a87
(-isWriteable): New method.
...
(-initWithCoder): Renamed and rewritten from +newWithCoder.
(-isAtEof): Renamed from -streamEof.
(-initWithFilePointer:fmode:): Use new mode ivar.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@367 72102866-910b-0410-8b05-ffd578937521
1995-04-15 19:45:41 +00:00
mccallum
5536bc56b3
Fixed typos, and implemented many methods to call behavior methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@366 72102866-910b-0410-8b05-ffd578937521
1995-04-15 19:42:36 +00:00
mccallum
f1bf552b50
New protocol <MemoryStreaming>. Make MemoryStream class conform to it.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@364 72102866-910b-0410-8b05-ffd578937521
1995-04-15 19:41:24 +00:00
mccallum
14a4337ace
Fixed typos. Implemented -init.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@362 72102866-910b-0410-8b05-ffd578937521
1995-04-15 19:40:19 +00:00
mccallum
2a6015020f
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@361 72102866-910b-0410-8b05-ffd578937521
1995-04-15 19:39:49 +00:00
mccallum
801c6fec5a
Added beginnings of an implementation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@359 72102866-910b-0410-8b05-ffd578937521
1995-04-15 19:38:52 +00:00
mccallum
30a2cbe9be
(+enableRelease:, +enableDoubleReleaseCheck:,
...
+setPoolCountThreshhold:): New methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@354 72102866-910b-0410-8b05-ffd578937521
1995-04-14 15:01:24 +00:00
mccallum
b1914e9c6f
Fixed indentation. Added some calls to -notImplemented:.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@350 72102866-910b-0410-8b05-ffd578937521
1995-04-13 21:57:29 +00:00
mccallum
8f4adb1942
(-getBytes:range:): Implemented.
...
(-isEqual:): New method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@348 72102866-910b-0410-8b05-ffd578937521
1995-04-13 15:03:10 +00:00
mccallum
e5556679e7
(removeElement:): Fix bug whereby the deleted node's parent still had
...
the deleted node as a right child. (Reported by Stephen Peters
<SPETERS@us.oracle.com>).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@347 72102866-910b-0410-8b05-ffd578937521
1995-04-12 15:34:39 +00:00
mccallum
39fbf08e75
(write:, read:): Put back these old-style archiving methods.
...
(From Stephen Peters <SPETERS@us.oracle.com>).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@346 72102866-910b-0410-8b05-ffd578937521
1995-04-12 15:15:53 +00:00
mccallum
730b7fffe3
Fix copyright date and indentation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@345 72102866-910b-0410-8b05-ffd578937521
1995-04-10 00:34:30 +00:00
mccallum
1fb05e5b81
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@342 72102866-910b-0410-8b05-ffd578937521
1995-04-10 00:10:51 +00:00
mccallum
d67cd1a278
(objectForAddress:): Return nil if address is not maintained by a
...
MallocAddress object. (Used to simply die.)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@341 72102866-910b-0410-8b05-ffd578937521
1995-04-09 17:55:27 +00:00
mccallum
a6096bca8f
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@339 72102866-910b-0410-8b05-ffd578937521
1995-04-09 02:42:37 +00:00
mccallum
8e15e68333
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@338 72102866-910b-0410-8b05-ffd578937521
1995-04-09 02:35:28 +00:00
mccallum
66b85d1af8
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@335 72102866-910b-0410-8b05-ffd578937521
1995-04-09 02:20:37 +00:00
mccallum
73559b8788
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@334 72102866-910b-0410-8b05-ffd578937521
1995-04-09 02:06:39 +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
496bde0f95
(CommonCoding, Encoding, Decoding): New protocols.
...
(SelfCoding): New category of NSObject, interface only, no
implementation. This takes the place of the Coding Protocol.
(Coding): Protocol removed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@332 72102866-910b-0410-8b05-ffd578937521
1995-04-09 01:52:11 +00:00
mccallum
a887d1c2e7
Use ConstantIndexedCollecting protocol where appropriate.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@331 72102866-910b-0410-8b05-ffd578937521
1995-04-09 01:38:21 +00:00
mccallum
ef5d805762
Use ConstantCollecting protocol where appropriate.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@330 72102866-910b-0410-8b05-ffd578937521
1995-04-09 01:37:46 +00:00
mccallum
739755b9b4
Move protocol conformance to category to avoid bogus gcc complaints.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@329 72102866-910b-0410-8b05-ffd578937521
1995-04-09 01:36:17 +00:00
mccallum
fc3a12b142
(-decodeObjectAt:withName:): Send newWithCoder: if the clsas
...
responds to it, otherwise send initWithCoder.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@327 72102866-910b-0410-8b05-ffd578937521
1995-04-09 01:32:33 +00:00
mccallum
da85fc60b7
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@325 72102866-910b-0410-8b05-ffd578937521
1995-04-09 01:28:47 +00:00
mccallum
83e9bab0ae
(-decodeObjectAt:withName:): Create the instance and send
...
-initWithCoder if the object doesn't respond to +newWithCoder.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@324 72102866-910b-0410-8b05-ffd578937521
1995-04-08 18:44:45 +00:00
mccallum
025a41bf53
(RemoteSelfCoding): Renamed category from RemoteCoding.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@323 72102866-910b-0410-8b05-ffd578937521
1995-04-08 18:28:31 +00:00
mccallum
7a80d561c9
Removed Coding protocol. It's already provided by NSObject.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@322 72102866-910b-0410-8b05-ffd578937521
1995-04-08 18:27:19 +00:00
mccallum
f9ebf536fb
(ConnectedSelfCoding): Renamed protocol from ConnectedCoding.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@321 72102866-910b-0410-8b05-ffd578937521
1995-04-08 18:26:30 +00:00
mccallum
67498ed7cc
(ConstantIndexedCollecting): New protocol extracted from
...
IndexedCollecting.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@320 72102866-910b-0410-8b05-ffd578937521
1995-04-08 17:05:21 +00:00
mccallum
e890363959
(ConstantKeyedCollecting): New protocol extracted from KeyedCollecting.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@319 72102866-910b-0410-8b05-ffd578937521
1995-04-08 17:04:43 +00:00
mccallum
81cb984b2f
(ConstantCollecting): New protocol.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@318 72102866-910b-0410-8b05-ffd578937521
1995-04-08 17:04:07 +00:00
mccallum
3557e6884b
(-objectEnumerator, reverseObjectEnumerator): Implemented methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@316 72102866-910b-0410-8b05-ffd578937521
1995-04-07 21:39:43 +00:00
mccallum
6caae079d1
(dealloc): Remove dealloc of remote_proxies contents.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@314 72102866-910b-0410-8b05-ffd578937521
1995-04-07 21:23:24 +00:00
mccallum
46cf45b928
(-componentsJoinedByString:): Implemented method.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@313 72102866-910b-0410-8b05-ffd578937521
1995-04-07 21:01:59 +00:00
mccallum
3d1c766353
(initWithCapacity:): Make sure that capacity is greater than zero.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@312 72102866-910b-0410-8b05-ffd578937521
1995-04-07 20:56:20 +00:00
mccallum
1183ea0aaa
Copyright date fix.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@309 72102866-910b-0410-8b05-ffd578937521
1995-04-06 21:03:32 +00:00
mccallum
e26c983899
Added header comment.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@304 72102866-910b-0410-8b05-ffd578937521
1995-04-06 19:41:46 +00:00
mccallum
6eead746c2
(-_encodeCollectionWithCoder:): Fix typo. Fix super call.
...
(+_newCollectionWithCoder:): Fix super call.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@302 72102866-910b-0410-8b05-ffd578937521
1995-04-06 18:47:08 +00:00
mccallum
285a172f98
First version of stdobjects.h.in. Previous versions were actually
...
stdobjects.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@295 72102866-910b-0410-8b05-ffd578937521
1995-04-06 00:55:48 +00:00
mccallum
7b110acea3
Added comment warning about delegatePoolLastMessageHadReceivers.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@294 72102866-910b-0410-8b05-ffd578937521
1995-04-05 23:04:16 +00:00
mccallum
919cc219e1
(_last_message_had_receivers): New instance variable.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@293 72102866-910b-0410-8b05-ffd578937521
1995-04-05 21:58:12 +00:00
mccallum
0e21c3698f
(-delegatePoolLastMessageHadReceivers): New method.
...
(-forward::, init): Set new ivar.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@292 72102866-910b-0410-8b05-ffd578937521
1995-04-05 21:57:52 +00:00
mccallum
c2629d3f31
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@291 72102866-910b-0410-8b05-ffd578937521
1995-04-05 20:47:19 +00:00
mccallum
be56d6ad02
(CALL_METHOD_IN_CLASS): Fix typo.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@289 72102866-910b-0410-8b05-ffd578937521
1995-04-05 20:27:40 +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
7ed457b966
(allocWithZone): Removed method.
...
(arrayWithObjects:, initWithObjects:, initWithArray:, count,
indexOfObjectIdenticalTo:, indexOfObject:, isEqualToArray:,
makeObjectsPerform:, makeObjectsPerform:withObject:, lastObject,
firstObjectCommonWithArray:, arrayWithCapacity:, addObject:,
replaceObjectAtIndex:, removeLastObject, insertObject:atIndex:,
removeObjectAtIndex:, removeObjectIdenticalTo:, removeObject:,
removeAllObjects, addObjectsFromArray:,
removeObjectsFromIndices:numIndices:, removeObjectsInArray:,
copyWithZone:, mutableCopyWithZone:): Newly implemented or majorly
overhauled.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@285 72102866-910b-0410-8b05-ffd578937521
1995-04-05 20:23:03 +00:00
mccallum
45ed6fb8c2
(class_add_methods_if_not_there): Only put method implementation in
...
dtable if the dtable is already installed, otherwise, just add it to
the class's methods list and let
__objc_install_dispatch_table_for_class put it in. Also, change
arguments. All callers updated.
(check_class_methods): New function.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@284 72102866-910b-0410-8b05-ffd578937521
1995-04-05 20:13:39 +00:00
mccallum
19653932cf
(NSDeallocateObject): Fix typo.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@282 72102866-910b-0410-8b05-ffd578937521
1995-04-05 16:09:45 +00:00
mccallum
df0f3a1d34
(NSDeallocateObject): Get [anObject zone] before setting 0xdeadface.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@281 72102866-910b-0410-8b05-ffd578937521
1995-04-05 16:06:55 +00:00
mccallum
ec34e901cb
(NSDeallocateObject): Set anObject->class_pointer to 0xdeadface, to
...
help catch message-sends to deallocated objects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@280 72102866-910b-0410-8b05-ffd578937521
1995-04-05 16:05:51 +00:00
mccallum
d03e3c0a1d
(_safeWithElementsCallNoRetain:): New method.
...
(dealloc, empty): Use it.
(send_release): New function.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@279 72102866-910b-0410-8b05-ffd578937521
1995-04-05 16:02:08 +00:00
mccallum
515d48912a
(CLK_TCK): Use _CS_CLK_TCK instead of 3.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@278 72102866-910b-0410-8b05-ffd578937521
1995-04-05 15:22:29 +00:00
mccallum
10c6e27f30
(+retain, +retainCount, +release, +autorelease): New methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@277 72102866-910b-0410-8b05-ffd578937521
1995-04-05 01:54:16 +00:00
mccallum
04ab39aea8
Added warning in comments.
...
(CALL_METHOD_IN_CLASS): New macro.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@272 72102866-910b-0410-8b05-ffd578937521
1995-04-05 00:11:36 +00:00
mccallum
621d181566
Add <IndexedCollecting> Protocol to String Protocol.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@271 72102866-910b-0410-8b05-ffd578937521
1995-04-04 22:48:57 +00:00
mccallum
f184515445
Skeleton from Fedor. Fixed indentation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@270 72102866-910b-0410-8b05-ffd578937521
1995-04-04 16:21:18 +00:00
mccallum
636e30cd54
Fedor's skeleton. Fix indentation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@268 72102866-910b-0410-8b05-ffd578937521
1995-04-04 16:15:31 +00:00
mccallum
3cfffe79bd
Added comment.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@267 72102866-910b-0410-8b05-ffd578937521
1995-04-04 16:13:42 +00:00
mccallum
f647652870
Add comment.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@266 72102866-910b-0410-8b05-ffd578937521
1995-04-04 16:09:39 +00:00
mccallum
0c0d8fdd52
Fixed indentation.
...
(arrayWithObject, arrayWithObjects, initWithArray, initWithObjects,
initWithObjects:count:, indexOfObjectIdenticalTo:,
firstObjectCommonWithArray, isEqualToArray, sortedArrayUsingFunction,
sortedArrayUsingSelector): Implemented.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@265 72102866-910b-0410-8b05-ffd578937521
1995-04-04 16:01:04 +00:00
mccallum
39cc6ba048
(#ifndef CLK_TCK): Define it using sysconf() if not already defined.
...
(CLK_TCK wasn't defined on Solbourne S4000 running OS/MP 4.1B.
Reported by Pekka Yrjola <py@fipnet.fi>.)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@262 72102866-910b-0410-8b05-ffd578937521
1995-04-04 14:53:40 +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
3e963463e1
Place holder non-implementations from Fedor
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@258 72102866-910b-0410-8b05-ffd578937521
1995-04-03 22:59:20 +00:00
mccallum
9f8ee71129
#include limits.h
...
Use .id_u where needed.
Fix typos.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@256 72102866-910b-0410-8b05-ffd578937521
1995-04-03 22:55:36 +00:00
mccallum
ae7c527c96
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@253 72102866-910b-0410-8b05-ffd578937521
1995-04-03 21:20:46 +00:00
mccallum
569fd55182
Second patch of Apr 3 from Adam Fedor
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@252 72102866-910b-0410-8b05-ffd578937521
1995-04-03 21:20:29 +00:00
mccallum
d4146fe499
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@251 72102866-910b-0410-8b05-ffd578937521
1995-04-03 20:49:14 +00:00
mccallum
aea49bd3e2
Apr 3 patch from Adam Fedor. See ChangeLog for details.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@249 72102866-910b-0410-8b05-ffd578937521
1995-04-03 20:07:18 +00:00
mccallum
f81aa9757d
(initWithType:): Fix previous attempt at avoiding infinite loop.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@248 72102866-910b-0410-8b05-ffd578937521
1995-04-03 14:43:06 +00:00
mccallum
d8483a782f
Use (id <String>) instead of (String*).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@242 72102866-910b-0410-8b05-ffd578937521
1995-04-03 03:24:45 +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
fbf9b77c20
Use (id <String>) instead of (String*)
...
Have String protocol include NSString protcol.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@240 72102866-910b-0410-8b05-ffd578937521
1995-04-03 03:22:10 +00:00
mccallum
1cc97bb19f
The beginnings for IndexedCollection coexistance.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@238 72102866-910b-0410-8b05-ffd578937521
1995-04-03 03:18:43 +00:00
mccallum
2951bd442b
Have increment and decrement functions take int arguments unstead of
...
unsigned because I was getting (0 >= -234) -> 1.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@235 72102866-910b-0410-8b05-ffd578937521
1995-04-03 02:04:48 +00:00
mccallum
bd1dde5e13
Added comment about conflict with OpenStep.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@234 72102866-910b-0410-8b05-ffd578937521
1995-04-03 01:43:12 +00:00
mccallum
e62b6ae45c
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@232 72102866-910b-0410-8b05-ffd578937521
1995-04-03 01:38:23 +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
c592ac5d26
Fri Mar 31 09:10:50 1995 Adam Fedor <fedor@boulder.colorado.edu>
...
* NXStringTable_scan.l (main): Restart the parser for each new
file. This fix works correctly with flex, but is a bad hack and
still doesn't work right with lex.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@230 72102866-910b-0410-8b05-ffd578937521
1995-04-03 01:34:31 +00:00
mccallum
01b796d448
Fri Mar 31 09:10:50 1995 Adam Fedor <fedor@boulder.colorado.edu>
...
* NXStringTable.m (readFromFile:): Return the return value from
readFromSteam so that errors get passed along.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@229 72102866-910b-0410-8b05-ffd578937521
1995-04-03 01:33:51 +00:00
mccallum
578d372510
(perform:with:with:): New method added to (NEXTSTEP) category.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@228 72102866-910b-0410-8b05-ffd578937521
1995-04-03 01:32:58 +00:00
mccallum
0317b61795
Fix #include's.
...
Fix @"" strings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@227 72102866-910b-0410-8b05-ffd578937521
1995-04-03 01:32:11 +00:00
mccallum
cec7d255ae
#if'ed out NXConstantString implementation. Moved to NSString.m
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@225 72102866-910b-0410-8b05-ffd578937521
1995-04-03 00:57:41 +00:00
mccallum
ae7f855eb7
(NXConstantString): Declaration #if'ed out. Moved to
...
foundation/NSString.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@224 72102866-910b-0410-8b05-ffd578937521
1995-04-03 00:05:02 +00:00
mccallum
a728754bf8
(initWithType:): Avoid infinite loop by calling designated initializer
...
instead of init.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@223 72102866-910b-0410-8b05-ffd578937521
1995-04-01 21:09:00 +00:00
mccallum
242edbcbe4
(+superclass): New method.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@222 72102866-910b-0410-8b05-ffd578937521
1995-04-01 20:21:53 +00:00
mccallum
aaf5d23cf9
(behavior_debug): Fix typo in variable name use.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@221 72102866-910b-0410-8b05-ffd578937521
1995-04-01 18:01:15 +00:00
mccallum
03d3636ad1
(+conformsToProtocol:): For now, send conformsTo: to Protocol object.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@220 72102866-910b-0410-8b05-ffd578937521
1995-04-01 17:48:49 +00:00
mccallum
766676df7b
(OBJECTS_MAJOR_VERSION, OBJECTS_MINOR_VERSION,
...
OBJECTS_SUBMINOR_VERSION): New #define's.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@217 72102866-910b-0410-8b05-ffd578937521
1995-04-01 17:19:11 +00:00
mccallum
edda4e6542
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@216 72102866-910b-0410-8b05-ffd578937521
1995-03-31 15:39:12 +00:00
mccallum
f80a7defe0
(HAVE_TIMES): Use this instead of test for solaris and hpux.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@214 72102866-910b-0410-8b05-ffd578937521
1995-03-31 15:33:42 +00:00
mccallum
f8bf74826e
(HAVE_VALLOC): if not defined, #define valloc malloc.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@212 72102866-910b-0410-8b05-ffd578937521
1995-03-31 15:28:44 +00:00
mccallum
c4528c0434
(+conformsToProtocol:): Renamed from -conformsToProtocol.
...
(-conformsToProtocol:): New method.
(-conformsTo:): New method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@211 72102866-910b-0410-8b05-ffd578937521
1995-03-27 17:25:42 +00:00
mccallum
f4a1f8920a
(__hpux): Add this to #if for using times().
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@210 72102866-910b-0410-8b05-ffd578937521
1995-03-27 14:35:27 +00:00
mccallum
4702949284
|Fri Mar 24 12:33:27 1995 Mark Lakata (lakata@nsdssp.lbl.gov)
...
|
| * NSZone.c : added #define WORDSIZE sizeof(double)
| (NSZoneMalloc): returns machine word aligned pointers. Actually,
| the word size is assumed to be equal to or smaller than
| sizeof(double).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@207 72102866-910b-0410-8b05-ffd578937521
1995-03-24 22:00:25 +00:00
mccallum
526ca6e886
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@206 72102866-910b-0410-8b05-ffd578937521
1995-03-24 21:50:00 +00:00
mccallum
06c326f3b5
(retain): Fix typo.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@205 72102866-910b-0410-8b05-ffd578937521
1995-03-24 20:09:36 +00:00
mccallum
f3efcb0e3d
Added Lakata's email address.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@203 72102866-910b-0410-8b05-ffd578937521
1995-03-24 15:13:55 +00:00
mccallum
0c1ae833da
(retain): Call NSIncrementExtraRefCount(), not
...
NSShouldRetainWithZone(), of course! (Reported by Adam Fedor
<fedor@mode.Colorado.EDU>)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@202 72102866-910b-0410-8b05-ffd578937521
1995-03-24 15:09:10 +00:00
mccallum
0ba9435c6d
(invoke): Fix typo.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@201 72102866-910b-0410-8b05-ffd578937521
1995-03-24 15:04:50 +00:00
mccallum
4f2a3aac14
(isProxy): Method removed from NSObject(CoderAdditions).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@200 72102866-910b-0410-8b05-ffd578937521
1995-03-23 04:27:41 +00:00
mccallum
88ead3337f
Cast aCollectionClass to (id) so we can send NSObject protocol
...
messages that aren't in Collecting.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@195 72102866-910b-0410-8b05-ffd578937521
1995-03-23 04:05:43 +00:00
mccallum
234132faa3
(initialize): Return void.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@194 72102866-910b-0410-8b05-ffd578937521
1995-03-23 04:04:10 +00:00
mccallum
28c47f4788
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@189 72102866-910b-0410-8b05-ffd578937521
1995-03-23 03:51:32 +00:00
mccallum
24ff419bff
(DeallocationHelpers): New category containing _empty and
...
_collectionDeallocate.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@188 72102866-910b-0410-8b05-ffd578937521
1995-03-23 03:51:07 +00:00
mccallum
4e2f5f4645
(initialize): Return void.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@187 72102866-910b-0410-8b05-ffd578937521
1995-03-23 03:50:09 +00:00
mccallum
e059475db7
(encodeValueOfSimpleType:at:withName:): Use #ifndef __CHAR_UNSIGNED__
...
to prevent compiler warning.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@186 72102866-910b-0410-8b05-ffd578937521
1995-03-23 03:49:15 +00:00
mccallum
d20fb594c8
(compare:): Implemented.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@185 72102866-910b-0410-8b05-ffd578937521
1995-03-23 03:48:18 +00:00
mccallum
53f374bf8b
Include objects/objc-malloc.
...
Comment fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@182 72102866-910b-0410-8b05-ffd578937521
1995-03-23 03:44:32 +00:00
mccallum
fb31e8e200
Additional comments.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@181 72102866-910b-0410-8b05-ffd578937521
1995-03-23 03:43:52 +00:00
mccallum
2582750c39
Don't include NSObjectPrivate.h.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@180 72102866-910b-0410-8b05-ffd578937521
1995-03-23 03:43:19 +00:00
mccallum
3203aaadf2
Include objects/String.h.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@179 72102866-910b-0410-8b05-ffd578937521
1995-03-23 03:42:35 +00:00
mccallum
7505741aa5
(_collectionDealloc): Fix super call.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@177 72102866-910b-0410-8b05-ffd578937521
1995-03-23 03:41:40 +00:00
mccallum
e54c0eea53
Add header comment.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@175 72102866-910b-0410-8b05-ffd578937521
1995-03-23 03:39:45 +00:00
mccallum
591841c5d7
(autorelease): Implemented.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@173 72102866-910b-0410-8b05-ffd578937521
1995-03-23 03:38:44 +00:00
mccallum
3bd97746b3
(shallowCopyAs:, emptyCopyAs:, copyAs:): Change arg type to (Class).
...
(dealloc, empty): Don't use safe version of makeObjectsPerform:.
(_empty, _collectionDealloc): Move to a category.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@172 72102866-910b-0410-8b05-ffd578937521
1995-03-23 03:37:22 +00:00
mccallum
339160af5a
(shallowCopyAs:, emptyCopyAs:, copyAs:): Change arg type to (Class).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@171 72102866-910b-0410-8b05-ffd578937521
1995-03-23 03:35:01 +00:00
mccallum
53c421b413
(class): Fix return value.
...
(encodeWithCoder:) #ifdef out for now, until we fix compatibility with
GNU Coder.
(perform:with:): New method in NEXTSTEP category.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@169 72102866-910b-0410-8b05-ffd578937521
1995-03-23 03:31:30 +00:00
mccallum
781b36616e
(zone): New method.
...
(isProxy): Remove method from NSObject category.
Don't include objects/AutoreleasePool.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@168 72102866-910b-0410-8b05-ffd578937521
1995-03-23 03:29:35 +00:00
mccallum
4151cf0b65
(_collectionDealloc): Fix super call.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@166 72102866-910b-0410-8b05-ffd578937521
1995-03-23 03:27:01 +00:00
mccallum
805a34014b
(encodeSelector:withName:): Use sel_get_any_uid() to get sel type if
...
we can't get it the normal way.
(newWithCoder:): Use NSAllocateObject.
(isProxy): Removed from NSObject category.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@164 72102866-910b-0410-8b05-ffd578937521
1995-03-23 03:20:04 +00:00
mccallum
8fb338daf4
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@163 72102866-910b-0410-8b05-ffd578937521
1995-03-22 22:29:33 +00:00
mccallum
6f852b1188
(releaseObjects, release): Methods removed.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@162 72102866-910b-0410-8b05-ffd578937521
1995-03-22 21:37:04 +00:00
mccallum
d2dafa936f
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@161 72102866-910b-0410-8b05-ffd578937521
1995-03-18 17:15:15 +00:00