Commit graph

454 commits

Author SHA1 Message Date
mccallum
5ccd2bc896 ([CString -cStringNoCopy]): New method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@764 72102866-910b-0410-8b05-ffd578937521
1996-01-23 21:13:54 +00:00
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