Commit graph

1866 commits

Author SHA1 Message Date
Andrew McCallum
731c180330 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
Andrew McCallum
cd744c7360 (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
Andrew McCallum
fb8a4fb880 ([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
Andrew McCallum
b878535b19 (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
Andrew McCallum
8d8ad1c168 ($(DYNAMIC_OFILES)): Use $(srcdir).
($(BUNDLE_NAMEJ)): Likewise.
(Reported by Matthias Klose <doko@cs.tu-berlin.de>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@712 72102866-910b-0410-8b05-ffd578937521
1996-01-12 20:42:18 +00:00
Andrew McCallum
d9af652f8b (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
Andrew McCallum
54c63673aa ([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
Andrew McCallum
0c9741f506 ([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
Andrew McCallum
9df43faaa7 (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
Andrew McCallum
8b209f74db 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
Andrew McCallum
bd2a3074b9 (ALL_CPPFLAGS): 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@706 72102866-910b-0410-8b05-ffd578937521
1996-01-12 16:40:17 +00:00
Andrew McCallum
b335dcf400 (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
Andrew McCallum
774aa58124 Remove #if NeXT and alternate #include's.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@704 72102866-910b-0410-8b05-ffd578937521
1996-01-11 00:20:48 +00:00
Andrew McCallum
2d3244082f ([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
Andrew McCallum
7bfe1d3a65 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
Andrew McCallum
d4fa529e5d ([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
Andrew McCallum
25d7a05807 (RCS_FILES): Remove out-of-date MACHINES and CREDITS files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@700 72102866-910b-0410-8b05-ffd578937521
1996-01-09 19:07:32 +00:00
Andrew McCallum
5621d9353a Use @samp around --enabled-shared.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@699 72102866-910b-0410-8b05-ffd578937521
1996-01-09 19:05:00 +00:00
Andrew McCallum
a32cf99a86 (OBJECTS_SUBMINOR_VERSION): Version 0.1.15.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@698 72102866-910b-0410-8b05-ffd578937521
1996-01-08 18:56:00 +00:00
Andrew McCallum
5c9eccac63 No longer include machines.texi. Mention www homepage.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@697 72102866-910b-0410-8b05-ffd578937521
1996-01-08 17:27:28 +00:00
Andrew McCallum
1f1f4c165d Include quick-and-dirty example. Describe --enable-shared.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@696 72102866-910b-0410-8b05-ffd578937521
1996-01-08 17:26:41 +00:00
Andrew McCallum
0467f46b7e Remove mention of DISCUSSION file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@695 72102866-910b-0410-8b05-ffd578937521
1996-01-08 17:16:13 +00:00
Andrew McCallum
dd06bc1beb Fixes for post-0.1.14.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@694 72102866-910b-0410-8b05-ffd578937521
1996-01-08 17:14:38 +00:00
Andrew McCallum
cc7fe2d774 Mention GNUStep foundation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@693 72102866-910b-0410-8b05-ffd578937521
1996-01-08 17:08:10 +00:00
Andrew McCallum
d20775f35c (_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
Andrew McCallum
0fe0f3ff9a ([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
Andrew McCallum
2e58b39376 ([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
Andrew McCallum
a13c7e2d5b Remove double-quotes in help string of --enable-shared handling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@689 72102866-910b-0410-8b05-ffd578937521
1996-01-08 16:05:50 +00:00
Andrew McCallum
1f785a0951 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
Andrew McCallum
d846632679 (_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
Andrew McCallum
07dde71fe7 Add $srcdir where necessary.
(LIBOBJECTS_A_OR_SO): Variable removed.
(LIBOBJECTS_SO): Defined according to --enabled-shared flag.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@686 72102866-910b-0410-8b05-ffd578937521
1996-01-05 22:35:03 +00:00
Andrew McCallum
ce9dc7f699 Put back in the directions for compiling in a directory different than
the source directory.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@685 72102866-910b-0410-8b05-ffd578937521
1996-01-05 22:33:30 +00:00
Andrew McCallum
84c06ec515 Note that building in a different directory now works.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@684 72102866-910b-0410-8b05-ffd578937521
1996-01-05 22:30:34 +00:00
Andrew McCallum
ab1bfc65bd Executables now depend on libobjects.a, not @LIBOBJECTS_A_OR_SO@.
(LIBS): Don't look in $(srcdir) for library.
(copy-dist): Don't use $(srcdir).
(Makefile): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@683 72102866-910b-0410-8b05-ffd578937521
1996-01-05 22:09:52 +00:00
Andrew McCallum
50e350aea6 (TEXT_FILES): New variable.
(info): Use it.
(MAKEINFO_FLAGS): New variable.  Use it in TEXT_FILES targets.
(DIST_FILES): Remove version.texi.
(clean): rm version.texi and $(TEXT_FILES).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@682 72102866-910b-0410-8b05-ffd578937521
1996-01-05 22:08:54 +00:00
Andrew McCallum
8c29969c80 Executables now depend on libobjects.a, not @LIBOBJECTS_A_OR_SO@.
(LIBS): Don't look in $(srcdir) for library.
(OBJECTS_NEXT_INCLUDES): Don't look in non-existant next-includes dir.
(copy-dist): Don't use $(srcdir).
(Makefile): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@681 72102866-910b-0410-8b05-ffd578937521
1996-01-05 22:07:03 +00:00
Andrew McCallum
c6a3e04e07 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
Andrew McCallum
3a25d88fd7 ([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
Andrew McCallum
2769710943 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
Andrew McCallum
b228ddc611 ([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
Andrew McCallum
6cb3e1df6a ([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
Andrew McCallum
018ab339f0 Update shared library variable names.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@675 72102866-910b-0410-8b05-ffd578937521
1995-11-14 17:18:17 +00:00
Andrew McCallum
407eb072fd (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
Andrew McCallum
33428a4b72 Update.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@673 72102866-910b-0410-8b05-ffd578937521
1995-11-14 16:41:12 +00:00
Andrew McCallum
c524cc00bc Use configure var, not libobjects.a. Include ../Version.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@672 72102866-910b-0410-8b05-ffd578937521
1995-11-14 16:40:58 +00:00
Andrew McCallum
2c1245db7d (LIBS): Include ../Version.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@671 72102866-910b-0410-8b05-ffd578937521
1995-11-14 16:40:15 +00:00
Andrew McCallum
38eb5c6806 Use configure var, not non-existant Makefile var.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@670 72102866-910b-0410-8b05-ffd578937521
1995-11-14 16:39:40 +00:00
Andrew McCallum
d9d4cd0569 (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
Andrew McCallum
9d7270bd34 Look for LIBOBJECTS_A_OR_SO, not libobjects.a.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@668 72102866-910b-0410-8b05-ffd578937521
1995-11-07 02:20:42 +00:00
Andrew McCallum
3db62261fc Look for --enabled-shared.
(LIBOBJECTS_A_OR_SO, SHAREDLIB_CFLAGS, SHAREDLIB_ARFLAGS): New
substitutions.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@667 72102866-910b-0410-8b05-ffd578937521
1995-11-07 02:20:11 +00:00