libs-base/Source
mccallum d1f34854a7 Overhauled for memory management changes to fix leaks, various other
fixes.
(MFRAME_STRUCTURES_PASSED_BY_REFERENCE): Renamed from
CONNECTION_STRUCTURES_PASSED_BY_REFERENCE.
(mframe_dissect_call): Function renamed from dissect_method_call.
Remove some redundant if()-else clauses.  Clarify case in which
OUT_PARAMETERS is true.  Use switch statement instead of if-else's.
(mframe_do_call): Function renamed from make_method_call.  Get the
local selector type from the target's Method, not from the selector
type; this will more reliably give the correct type string.  Don't
bother to set OBJECT twice.  Remove some redundant if()-else clauses.
Use NSParameterAssert, not assert, so we can catch problems, (and not
crash the D.O. server).  Change the way memory management for decoded
arguments is handled to remove memory leaks; use new scheme for
DECODER functions that are responsonsible for making sure allocated
memory is eventually freed.  Use alloca() to allocate space for _C_PTR
values, struct's and arrays.  Overhaul the way floats and doubles are
extracted from the RETFRAME; use functions with __builtin_return,
instead of fishing around the RETFRAME.  Use switch statement intead
of if-else's.  Separate cases for char's and short's.  Change some
local variable names for clarity.
(mframe_build_return): Function renamed from dissect_method_return.
Remove some redundant if()-else clauses.  Use NSParameterAssert, not
assert.  Change the way memory management for decoded arguments is
handled to remove memory leaks; use new scheme for DECODER functions
that are responsonsible for making sure allocated memory is eventually
freed.  Use alloca() to allocate space for _C_PTR values, struct's and
arrays.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1292 72102866-910b-0410-8b05-ffd578937521
1996-03-30 01:29:07 +00:00
..
objc Patched from mail. See ChangeLog 1996-01-21 01:36:47 +00:00
objects Fix typo. 1996-03-29 03:59:34 +00:00
.cvsignore Added -bas.m and -cbs.m. 1996-03-22 01:10:35 +00:00
Archiver.m Comment change. 1996-02-22 15:04:58 +00:00
argframe.m Use new-style method name "..ValueOfObjCType" 1996-01-23 23:57:17 +00:00
Array.m ([Array -empty]): Renamed from _empty, and implemented to do entire 1996-03-18 13:40:54 +00:00
array.m New file. 1996-03-22 00:37:53 +00:00
AutoreleasePool.m Remove #include of objects/collhash.h. 1996-03-12 19:48:05 +00:00
AutoreleaseStack.m Don't include <objects/eltfuncs.h>. 1996-02-22 15:12:41 +00:00
Bag.m Overhaul for new collection class scheme to improve distributed 1996-02-22 15:18:57 +00:00
behavior.c (class_add_behavior): Fix typo. 1996-01-26 16:25:32 +00:00
behavior.m (class_add_behavior): Fix typo. 1996-01-26 16:25:32 +00:00
BinaryCStream.m ([BinaryCStream -encodeValueOfCType:at:withName:]): Encode the 1996-03-30 00:50:30 +00:00
BinaryTree.m Overhaul for new collection class scheme to improve distributed objects and NeXT-compatibility. 1996-02-22 15:11:43 +00:00
BinaryTreeEltNode.m (initialize): return void. 1995-03-12 19:57:15 +00:00
BinaryTreeNode.m Overhaul for new collection class scheme to improve distributed objects and NeXT-compatibility. 1996-02-22 15:11:43 +00:00
CircularArray.m ([CircularArray -empty]): Renamed from _collectionEmpty, and 1996-03-18 13:42:07 +00:00
Coder.m Return nil for several -notImplemented methods that are to return objects. 1996-03-18 13:42:32 +00:00
Collection.m ([ConstantCollection -_collectionReleaseContents]): Use alloca() 1996-03-29 17:51:07 +00:00
collhash.c (coll_hash_next): Set STATE to 0 before returning when the list is 1995-10-26 00:48:55 +00:00
ConnectedCoder.m ([ConnectedEncoder -dismiss]): Fix typo in sendPacket: call. 1996-03-13 02:26:24 +00:00
Connection.m ([Connection -forwardForProxy:selector:argFrame:]): Use new mframe 1996-03-29 17:55:15 +00:00
ConstantString.m Overhaul for new collection class scheme to improve distributed 1996-02-22 15:18:57 +00:00
CStream.m ([CStream -initForWritingToStream:s]): Return the result. 1996-03-18 13:41:30 +00:00
CString.m ([CString -initWithCString:range:]): Don't make super call. 1996-02-22 15:13:53 +00:00
data.m New file. 1996-03-22 00:37:53 +00:00
Decoder.m Fix typos. 1996-03-26 20:59:42 +00:00
DelegatePool.m ([DelegatePool -forward::]): Fix use of END_FOR_ARRAY. 1996-03-03 00:33:51 +00:00
Dictionary.m ([Dictionary -newEnumState]): Removed useless cruft. 1996-03-18 13:44:52 +00:00
dld-load.h Initial revision 1995-04-03 20:49:14 +00:00
eltfuncs.m Initial revision 1994-11-04 16:29:24 +00:00
EltNodeCollector.m Use string objects instead of C strings 1996-01-24 03:33:21 +00:00
Encoder.m Fix typos. 1996-03-26 20:59:42 +00:00
find_exec.c WinNT and thread-related odifications from Scott Christley 1996-02-13 15:43:30 +00:00
GapArray.m ([GapArray -empty]): Renamed from _collectionEmpty, and implemented to 1996-03-18 13:46:06 +00:00
gnu4next.m Initial revision 1996-01-22 23:22:11 +00:00
gnu4nextrt.m Initial revision 1996-01-22 23:22:11 +00:00
hash.m New file. 1996-03-22 00:37:53 +00:00
HashTable.m Initial revision 1994-11-04 16:29:24 +00:00
Heap.m Overhaul for new collection class scheme to improve distributed 1996-02-22 15:18:57 +00:00
hpux-load.h *** empty log message *** 1995-08-02 16:37:09 +00:00
IndexedCollection.m ([ConstantIndexedCollection -prevObjectWithEnumState:]): Use 1996-03-18 13:47:14 +00:00
Invocation.m ([MethodInvocation -invokeWithObject:]): Revert last change: call 1996-03-18 13:49:14 +00:00
KeyedCollection.m ([ConstantKeyedCollection -_decodeContentsWithCoder:]): Reverse order 1996-03-22 01:46:30 +00:00
LinkedList.m ([LinkedList -initWithObjects:count:]): Return self. 1996-03-18 13:51:44 +00:00
LinkedListEltNode.m (initialize): return void. 1995-03-12 22:10:02 +00:00
LinkedListNode.m ([LinkedListNode -initialize]): Method removed. 1996-03-03 01:37:08 +00:00
list.m New file. 1996-03-22 00:37:53 +00:00
List.m Include <objects/stdobjects.h> 1996-03-19 01:40:44 +00:00
Lock.m Initial revision 1994-11-04 16:29:24 +00:00
MachPort.m Surrounded by #if for mach. 1996-03-01 16:21:34 +00:00
Magnitude.m (compare:): Implemented. 1995-03-23 03:48:18 +00:00
Makefile.in (GNUSTEP_CFILES): Removed NSZone.c. 1996-03-22 01:25:23 +00:00
Makefile.local Initial revision 1996-01-22 23:22:11 +00:00
Makefile.sed.nt Reinstate this file. 1996-02-22 16:10:56 +00:00
MallocAddress.m ([MallocAddress +autoreleaseMallocAddress:]): Fix typo in method name. 1996-03-29 04:01:33 +00:00
map.m New file. 1996-03-22 00:37:53 +00:00
MappedCollector.m ([MappedCollector -initWithObjects:forKeys:count:]): Return self. 1996-03-18 13:52:10 +00:00
md5.c *** empty log message *** 1996-02-13 02:31:48 +00:00
md5.h *** empty log message *** 1996-02-13 02:31:48 +00:00
MemoryStream.m ([MemoryStream -initWithCapacity:prefix:]): New method. 1996-03-12 19:40:30 +00:00
MethodSignature.m Initial revision 1996-01-22 23:22:11 +00:00
mframe.m Overhauled for memory management changes to fix leaks, various other 1996-03-30 01:29:07 +00:00
MutableCString.m ([MutableCString -initWithCoder:]): Remove unused variable n. Return 1996-03-18 13:53:13 +00:00
MutableString.m Overhaul for new collection class scheme to improve distributed 1996-02-22 15:18:57 +00:00
Notification.m New file. 1996-03-03 02:18:46 +00:00
NotificationDispatcher.m ([NotificationDispatcher -removeObserver:name:object:]): Remove unused 1996-03-18 13:58:28 +00:00
NotificationQueue.m ([NotificationQueue -dequeueNotificationsMatching:coalesceMask:]): 1996-03-19 20:34:29 +00:00
NSAllocateObject.m Include <string.h> for memset(). 1996-03-18 13:53:30 +00:00
NSArchiver.m ([NSArchiver +initialize]): Use ==, not = in if test. 1996-03-18 13:54:00 +00:00
NSArray.m Use -subclassResponsibility instead of -notImplemented 1996-02-01 17:04:17 +00:00
NSAssertionHandler.m Include from <Foundation/...>, not <foundation/...>. 1995-04-17 21:13:20 +00:00
NSAutoreleasePool.m Fix typos. 1996-03-26 20:59:42 +00:00
NSBitmapCharSet.m Initial revision 1995-05-05 21:16:49 +00:00
NSBundle.m ([NSBundle +setSystemLanguages:]): Comment out unused variables. 1996-03-26 00:28:39 +00:00
NSCallBacks.h Second patch from Albin Jones 1996-03-22 00:36:13 +00:00
NSCallBacks.m Second patch from Albin Jones 1996-03-22 00:36:13 +00:00
NSCharacterSet.m all methods): Implemented. 1995-08-30 21:31:29 +00:00
NSCoder.m WinNT and thread-related odifications from Scott Christley 1996-02-13 15:43:30 +00:00
NSConcreteNumber.m ([NumberTemplate -hash]): New method. 1996-02-22 16:06:34 +00:00
NSConcreteValue.m Patched from mail. 1995-08-30 21:49:35 +00:00
NSCopyObject.m Initial revision 1995-03-18 16:39:48 +00:00
NSCountedSet.m ([NSCountedSet -countForObject:]): Return 0. 1996-03-18 13:55:09 +00:00
NSCTemplateValue.m Patched from mail. 1995-08-30 21:49:35 +00:00
NSData.m ([NSMutableData -resetBytesInRange:]): Cast to avoid warning. 1996-03-26 00:28:20 +00:00
NSDate.m ([NSDate +distantFuture]): Increase efficiency by caching a single 1996-03-18 18:31:37 +00:00
NSDeallocateObject.m (NSDeallocateObject): Fix typo. 1995-04-05 16:09:45 +00:00
NSDictionary.m Use -subclassResponsibility instead of -notImplemented 1996-02-01 17:04:17 +00:00
NSEnumerator.m Use -subclassResponsibility instead of -notImplemented 1996-02-01 17:04:17 +00:00
NSException.m (NSInconsistentArchiveException): String removed; it's in NSArchiver.m. 1996-01-26 19:20:10 +00:00
NSGArchiver.m Use new Archiver classes instead of Coder. 1996-02-22 15:17:12 +00:00
NSGArray.m Overhaul for new collection class scheme to improve distributed 1996-02-22 15:18:57 +00:00
NSGCountedSet.m Remove #include of objects/eltfuncs.h. 1996-03-12 19:48:47 +00:00
NSGCString.m Comment fix. 1996-03-18 13:56:13 +00:00
NSGData.m ([NSGData -writeToFile:atomically:]): Use cStringNoCopy. 1996-01-26 03:10:13 +00:00
NSGDictionary.m Remove #include of objects/eltfuncs.h. 1996-03-12 19:48:47 +00:00
NSGeometry.m Second patch from Albin Jones 1996-03-22 00:36:13 +00:00
NSGSet.m ([NSGSet -isEqual:]): Make this just compare the id's, not call [super 1996-03-22 02:35:07 +00:00
NSHashTable.m Second patch from Albin Jones 1996-03-22 00:36:13 +00:00
NSInvocation.m ([NSInvocation -methodSignature]): Return nil. 1996-03-18 13:56:54 +00:00
NSLock.m New files from Scott Christley 1996-02-13 15:40:05 +00:00
NSLog.m Initial revision 1996-01-22 23:22:11 +00:00
NSMapTable.m Second patch from Albin Jones 1996-03-22 00:36:13 +00:00
NSMethodSignature.m ([NSMethodSignature +signatureWithObjCTypes:]): Use gcc's builtin 1996-01-12 16:56:38 +00:00
NSMutableData.m Use -subclassResponsibility instead of -notImplemented 1996-02-01 17:04:17 +00:00
NSNotification.m Include <behavior.h> 1996-03-18 13:57:20 +00:00
NSNotificationCenter.m Include <behavior.h> 1996-03-18 13:57:20 +00:00
NSNumber.m ([NSNumber -description]): New method. 1996-02-22 16:02:02 +00:00
NSObjCRuntime.m Initial revision 1995-08-24 22:35:25 +00:00
NSObject.m Fix typos. 1996-03-26 20:59:42 +00:00
NSProcessInfo.m WinNT and thread-related odifications from Scott Christley 1996-02-13 15:43:30 +00:00
NSRange.m Include from <Foundation/...>, not <foundation/...>. 1995-04-17 21:13:20 +00:00
NSSet.m ([NSSet +set]): Use +alloc, not _concreteClass. This 1995-11-03 22:24:14 +00:00
NSString.m Fix typos. 1996-03-26 20:59:42 +00:00
NSThread.m Fix indentation. 1996-03-19 01:45:25 +00:00
NSTimer.m ([NSTimer +scheduledTimerWithTimeInterval:invocation:repeats:]): Add 1996-03-18 20:28:12 +00:00
NSTimeZone.m ([NSTimeZone -encodeWithCoder:]): Avoid warning by removing type from 1995-08-23 16:15:22 +00:00
NSUser.c Initial revision 1995-08-02 15:37:10 +00:00
NSValue.m ([NSValueDecoder -initValue:withObjCType:]): Return self. 1996-03-26 00:27:44 +00:00
NSZone.m New file. 1996-03-22 01:26:22 +00:00
null-load.h Initial revision 1995-04-03 20:49:14 +00:00
numbers.c New file. 1996-03-22 00:37:53 +00:00
NXConnection.m Use new-style method name "..ValueOfObjCType" 1996-01-23 23:57:17 +00:00
NXProtocolChecker.m Initial revision 1994-11-08 16:44:01 +00:00
NXProxy.m Initial revision 1994-11-08 16:44:01 +00:00
NXStringTable.m Fri Mar 31 09:10:50 1995 Adam Fedor <fedor@boulder.colorado.edu> 1995-04-03 01:33:51 +00:00
NXStringTable_scan.l (string_buf_ptr): Init local variable. 1996-03-26 00:29:07 +00:00
o_array.m New file. 1996-03-22 00:37:53 +00:00
o_cbs.m New file. 1996-03-22 00:37:53 +00:00
o_cbs_char_p.m New file. 1996-03-22 00:37:53 +00:00
o_cbs_id.m New file. 1996-03-22 00:37:53 +00:00
o_cbs_int.m New file. 1996-03-22 00:37:53 +00:00
o_cbs_int_p.m New file. 1996-03-22 00:37:53 +00:00
o_cbs_void_p.m New file. 1996-03-22 00:37:53 +00:00
o_hash.m New file. 1996-03-22 00:37:53 +00:00
o_list.m New file. 1996-03-22 00:37:53 +00:00
o_map.m New file. 1996-03-22 00:37:53 +00:00
o_vprintf.c Initial revision 1996-01-22 23:22:11 +00:00
o_vscanf.c Initial revision 1994-11-04 16:29:24 +00:00
o_x_bas.m.in New file. 1996-03-22 00:37:53 +00:00
o_x_cbs.m.in New file. 1996-03-22 00:37:53 +00:00
objc-gnu2next.m Convert Class* to Class.(): 1995-01-26 17:55:52 +00:00
objc-load.c (objc_load_module): Comment out unused variables. 1996-03-26 00:27:31 +00:00
objc-malloc.c Patched from mail. See ChangeLog 1995-10-05 22:22:28 +00:00
ObjectRetaining.m *** empty log message *** 1994-11-08 20:12:12 +00:00
OrderedCollection.m ([OrderedCollection -putObject:atIndex:]): Return type changed from id 1996-03-26 20:52:17 +00:00
Port.m ([InPort -setReceivedPacketInvocation:]): Assert that 1996-03-13 02:34:55 +00:00
preface.m *** empty log message *** 1994-11-08 20:12:12 +00:00
ProtocolEnforcer.m Initial revision 1996-01-22 23:22:11 +00:00
Proxy.m Use NSException instead of sending -error: in all methods. 1996-03-26 19:35:47 +00:00
Queue.m Overhaul for new collection class scheme to improve distributed objects and NeXT-compatibility. 1996-02-22 15:11:43 +00:00
Random.m Convert to new Coder scheme. Use -initWithCoder instead 1995-04-09 01:53:53 +00:00
RawCStream.m ([RawCStream -encodeValueOfCType:at:withName:name]): Remove unused variable. 1996-03-18 14:00:06 +00:00
RBTree.m Overhaul for new collection class scheme to improve distributed objects and NeXT-compatibility. 1996-02-22 15:11:43 +00:00
RBTreeEltNode.m (initialize): Return void. 1995-03-23 03:50:09 +00:00
RBTreeNode.m Include <objects/NSString.h> for @"" in encoding withName:. 1996-01-24 14:11:55 +00:00
ReleasePool.m Initial revision 1996-01-22 23:22:11 +00:00
RetainingNotifier.m (autorelease): Implemented. 1995-03-23 03:38:44 +00:00
Ring.m Initial revision 1996-01-22 23:22:11 +00:00
RNGAdditiveCongruential.m Convert to new Coder scheme. Use -initWithCoder instead 1995-04-09 01:53:53 +00:00
RNGBerkeley.m Convert to new Coder scheme. Use -initWithCoder instead 1995-04-09 01:53:53 +00:00
RunLoop.m (debug_run_loop): Changed from 1 to 0; turn off debugging messages. 1996-03-29 14:47:38 +00:00
Set.m ([Set -nextObjectWithEnumState:]): Dereference ENUMSTATE; this change 1996-03-22 02:33:33 +00:00
simple-load.h (__objc_dynamic_find_symbol): Cast to drop const type, and avoid warning. 1996-02-22 21:21:30 +00:00
SocketPort.m WinNT and thread-related odifications from Scott Christley 1996-02-13 15:43:30 +00:00
SplayTree.m Overhaul for new collection class scheme to improve distributed objects and NeXT-compatibility. 1996-02-22 15:11:43 +00:00
Stack.m Overhaul for new collection class scheme to improve distributed objects and NeXT-compatibility. 1996-02-22 15:11:43 +00:00
StdioStream.m ([Stream -close]): Method renamed from -closeStream. 1996-02-24 16:37:55 +00:00
stdobjects.m *** empty log message *** 1994-11-08 20:12:12 +00:00
Storage.m ([Storage -insertElement:at:]): Increment numElements. (Reported by 1996-01-09 20:24:52 +00:00
Stream.m ([Stream -close]): Method renamed from -closeStream. 1996-02-24 16:37:55 +00:00
String.m ([String -hash]): Don't use elt_* function, and use 1996-02-22 21:50:25 +00:00
SunRpcPort.m Initial revision 1996-01-22 23:22:11 +00:00
TcpPort.m (debug_tcp_port): Set to 1. 1996-03-19 20:37:04 +00:00
TextCStream.m Fix typos. 1996-03-26 20:59:42 +00:00
Thread.m Initial revision 1996-01-22 23:22:11 +00:00
Time.m Include Sequent support. (Thanks to Matt Nelson <nelsonm@ctron.com>). 1995-06-29 01:05:29 +00:00
Tree.m Initial revision 1996-01-22 23:22:11 +00:00
TreeNode.m Use string objects instead of C strings 1996-01-24 03:33:21 +00:00
UdpPort.m Include <sys/param.h> for MAXHOSTNAMELEN. 1996-03-26 00:27:03 +00:00
vfscanf.c Initial revision 1996-01-22 23:22:11 +00:00
x-basics.c.in Second patch from Albin Jones 1996-03-22 00:36:13 +00:00
x-callbacks.c.in Second patch from Albin Jones 1996-03-22 00:36:13 +00:00