* Headers/Foundation/NSDistributedLock.h, Source/NSDistributedLock.m:
Change return type of -initWithPath: to id.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/freeze_1_8_0@17625 72102866-910b-0410-8b05-ffd578937521
file that should have been ignored by entry in .cvsignore.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17477 72102866-910b-0410-8b05-ffd578937521
NSUndoCloseGroupingRunLoopOrdering enum. Replace instance
variables _registeredUndo with _runLoopGroupingPending and
_actionName with _unused1.
* Source/NSUndoManager.m: Added documentation.
Added actionName instance variable to PrivateUndoGroup.
(-[PrivateUndoGroup actionName]): New method.
(-[PrivateUndoGroup setActionName]): Ditto.
(-[PrivateUndoGroup dealloc]): Release new instance variable.
(-[PrivateUndoGroup initWithParent:]): Initialize actionName.
(-[NSUndoManager forwardInvocation]): Implicitly call
beginUndoGrouping if group has not been setup and we are
grouping by events. Register _loop: invocation if none is already
pending and if we are grouping by event.
(-[NSUndoManager registerUndoWithTarget:selector:object]):
Ditto.
(-[NSUndoManager methodSignatureForSelector:]): Overriden to
forward request to target supplied by
-prepareWithInvocationTarget: if available.
(-[NSUndoManager _loop:]): Set flag to determine pending
_loop: processing.
(-[NSUndoManager init]): Removed access to _actionName. Have
receiver default to group by event.
(-[NSUndoManager dealloc]): Ditto.
(-[NSUndoManager enableUndoRegistration]): Remove access to
_registeredUndo.
(-[NSUndoManager redo]): Simplified implementation.
(-[NSUndoManager redoActionName:]: Retrieve action name from
first grouping of the redo stack.
(-[NSUndoManager redoMenuTitleForUndoActionName:]): Add
comment about localization.
(-[NSUndoManager undoMenuTitleForUndoActionName:]): Ditto.
(-[NSUndoManager setActionName:]): Forward call to current
grouping.
(-[NSUndoManager undoActionName:]: Retrieve action name from
first grouping of the undo stack.
(-[NSUndoManager setRunLoopModes:]): Use correct run loop
ordering and set flag for pending _loop: invocation.
(-[NSUndoManager undoNestedGroup]): Removed special case
handling of _registeredUndo. Raise
NSInternalInconsistencyException if grouping is still in
progress. Simplified implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17221 72102866-910b-0410-8b05-ffd578937521
* Headers/gnustep/base/NSObjCRuntime.h (GSPrintf),
* Source/NSLog.m (GSPrintf): Moved implementation from NSLog.m
* to
GSObjCRuntime.m and declaration from NSObjCRuntime.h to
GSObjCRuntime.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17084 72102866-910b-0410-8b05-ffd578937521
class_get_class_method they cannot work due to different
parameter expectations. Added mapping from NeXT->GNU runtime.
The other way does not work. Added simple mapping for internal
flush function __objc_update_dispatch_table_for_class and
_objc_flush_caches.
* Headers/gnustep/base/GSObjCRuntime.h/m:
Added typedef for GSMethod.
(GSGetInstanceMethod): New function.
(GSGetClassMethod): Ditto.
(GSGetInstanceMethodNotInherited): Ditto.
(GSGetClassMethodNotInherited): Ditto.
(GSFlushMethodCacheForClass): Ditto.
(flush_method_cache_for_class): Removed function which is replaced
by GSFlushMethodCacheForClass.
(GSObjCGetMethod): Removed function which is replaced by
GSGetInstanceMethod and GSGetClassMethod.
(GSObjCReplaceMethod): Removed function.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16997 72102866-910b-0410-8b05-ffd578937521
* Source/Additions/GSObjCRuntime.m : White space patch to better
conform with GNU coding standards and improve readability.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16878 72102866-910b-0410-8b05-ffd578937521
GSObjCReplaceMethod()): Removed declarations for release as these
functions will be replaced by a more consistent approach.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16757 72102866-910b-0410-8b05-ffd578937521