(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
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
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
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
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
([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
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
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
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
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
(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
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
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