Commit graph

1921 commits

Author SHA1 Message Date
mccallum
f0df11edbc (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
mccallum
5c5cadfa01 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
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
ae359fe059 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
mccallum
ced7216577 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
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
db66827154 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
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
eb07224d8b (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
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
ddfa43f663 ([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
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
8d5fca1a4b (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
mccallum
4a128b3898 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
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
235ac4dd8f 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
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
35034a52a6 Added NSGCountedSet interface.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@645 72102866-910b-0410-8b05-ffd578937521
1995-10-30 00:59:46 +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
9b8546007b Include objects/stdobjects.h, not objects/Dictionary.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@635 72102866-910b-0410-8b05-ffd578937521
1995-10-26 00:56:52 +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
26d784307d (The Class Heirarchy): Fixes from Aleksey Sudakov
<zander@cnext.crec.mipt.ru>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@622 72102866-910b-0410-8b05-ffd578937521
1995-10-09 14:33:10 +00:00