Commit graph

4546 commits

Author SHA1 Message Date
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
Andrew McCallum
c826baff34 (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
Andrew McCallum
18bc4faa65 Warn them that compiling in a different directory than the source will
not currently work.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@665 72102866-910b-0410-8b05-ffd578937521
1995-11-06 17:47:40 +00:00
Andrew McCallum
7d6d95f6a0 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
Andrew McCallum
dc9cc3e898 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
Andrew McCallum
e5d313834d (NSArgumentInfo): Declared.
([NSMethodSignature -argumentInfoAtIndex:]): Uncommented.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@662 72102866-910b-0410-8b05-ffd578937521
1995-11-06 17:35:50 +00:00
Andrew McCallum
94a7d9de2d (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
Andrew McCallum
a2ffb6654e ([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
Andrew McCallum
6ce668e937 ([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
Andrew McCallum
1dda463cf2 ([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
Andrew McCallum
62baf7de56 ([NSDictionary -initWithObjects:forKeys:]): Declare method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@657 72102866-910b-0410-8b05-ffd578937521
1995-11-03 16:13:35 +00:00
Andrew McCallum
101037f18a ([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
Andrew McCallum
65a5bbc051 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
Andrew McCallum
e11befe95e ([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
Andrew McCallum
0f870ad94f ([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
Andrew McCallum
a9f6524f55 (SRCS): Added nsset.m.
(nsset): New target.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@652 72102866-910b-0410-8b05-ffd578937521
1995-10-30 01:50:46 +00:00
Andrew McCallum
e52aeb4e27 Initial revision
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@651 72102866-910b-0410-8b05-ffd578937521
1995-10-30 01:50:14 +00:00
Andrew McCallum
88ad743ec3 ([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
Andrew McCallum
677735a5ce Include objects/Dictionary.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@649 72102866-910b-0410-8b05-ffd578937521
1995-10-30 01:08:19 +00:00
Andrew McCallum
62fc5daa65 ([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
Andrew McCallum
74ae9f0d58 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