Commit graph

3319 commits

Author SHA1 Message Date
CaS
b9bccee8c3 Documentation tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17246 72102866-910b-0410-8b05-ffd578937521
2003-07-17 09:27:31 +00:00
CaS
c9ad07d277 New methods for improved control of debug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17245 72102866-910b-0410-8b05-ffd578937521
2003-07-17 09:20:27 +00:00
CaS
8a854b2141 Improve code for sleeping a bit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17244 72102866-910b-0410-8b05-ffd578937521
2003-07-17 09:00:31 +00:00
CaS
b3c270ab07 Add a few MacOS-X methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17222 72102866-910b-0410-8b05-ffd578937521
2003-07-15 16:35:11 +00:00
ayers
f65f0ffe09 * Headers/gnustep/base/NSUndoManager.h: Add
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
2003-07-15 11:56:22 +00:00
CaS
30146f8f24 iUpdates for local private connections
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17217 72102866-910b-0410-8b05-ffd578937521
2003-07-15 05:21:34 +00:00
CaS
1561800b3b Minor fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17215 72102866-910b-0410-8b05-ffd578937521
2003-07-15 04:47:06 +00:00
CaS
10f0204dd5 Use loopback interface.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17213 72102866-910b-0410-8b05-ffd578937521
2003-07-15 04:22:59 +00:00
ayers
e1512bb666 * Source/Additions/GSObjCRuntime.m
(GSCGetInstanceVariableDefinition): Make more robust.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17195 72102866-910b-0410-8b05-ffd578937521
2003-07-12 12:44:12 +00:00
ayers
2162ad5edd * Source/Additions/GSXML.m: Use cached NSString class
variable.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17190 72102866-910b-0410-8b05-ffd578937521
2003-07-11 18:53:48 +00:00
ayers
e65024ffb3 * Source/GNUmakefile: Make GNUstep.h public.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17189 72102866-910b-0410-8b05-ffd578937521
2003-07-11 18:50:20 +00:00
CaS
07a55ace86 Mingw updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17187 72102866-910b-0410-8b05-ffd578937521
2003-07-11 11:31:26 +00:00
alexm
8e70ff7b10 Store the instance using the correct key in the thread dictionary.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17185 72102866-910b-0410-8b05-ffd578937521
2003-07-11 00:35:21 +00:00
alexm
eb078bc0f9 (GSToUnicode, GSFromUnicode): Fix setting of dst in some cases.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17176 72102866-910b-0410-8b05-ffd578937521
2003-07-09 13:57:43 +00:00
alexm
ea152c1c5e Fix issues in -getCString:...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17174 72102866-910b-0410-8b05-ffd578937521
2003-07-09 02:13:58 +00:00
CaS
0383992b80 Minor fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17173 72102866-910b-0410-8b05-ffd578937521
2003-07-08 08:39:45 +00:00
alexm
86a8fd6a23 In iconv case, only expand the buffer when we really need more space. Correctly handle all output when flushing iconv.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17172 72102866-910b-0410-8b05-ffd578937521
2003-07-08 01:50:42 +00:00
alexm
98fc078d86 Fix the recursive lock bug.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17171 72102866-910b-0410-8b05-ffd578937521
2003-07-08 01:10:48 +00:00
ayers
7d060e1290 * Headers/gnustep/base/GSObjCRuntime.h:
* Source/Additions/GSObjCRuntime.m:
	Added typedef for GSIVar.
	(GSCGetInstanceVariableDefinition): New function.
	(GSObjCGetInstanceVariableDefinition): Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17168 72102866-910b-0410-8b05-ffd578937521
2003-07-07 10:31:59 +00:00
CaS
14577e9418 A couple of locale fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17167 72102866-910b-0410-8b05-ffd578937521
2003-07-07 09:05:53 +00:00
CaS
2443774853 Tiny fix ... copy content using correct zone
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17164 72102866-910b-0410-8b05-ffd578937521
2003-07-07 05:25:44 +00:00
CaS
db0baccb2e Tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17163 72102866-910b-0410-8b05-ffd578937521
2003-07-07 05:11:16 +00:00
CaS
fcc832f13d minor fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17160 72102866-910b-0410-8b05-ffd578937521
2003-07-06 06:34:34 +00:00
CaS
0c9311c9e6 Minor documentation improvement
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17123 72102866-910b-0410-8b05-ffd578937521
2003-07-05 10:40:20 +00:00
CaS
e247daffdc Documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17117 72102866-910b-0410-8b05-ffd578937521
2003-07-04 20:22:27 +00:00
CaS
a0be9f233d Tiny tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17116 72102866-910b-0410-8b05-ffd578937521
2003-07-04 20:01:17 +00:00
CaS
996c1ebfb5 Minor fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17111 72102866-910b-0410-8b05-ffd578937521
2003-07-04 17:34:48 +00:00
CaS
35c61adf2b Documentation improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17106 72102866-910b-0410-8b05-ffd578937521
2003-07-04 16:50:30 +00:00
CaS
fae9c67382 Protocol fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17105 72102866-910b-0410-8b05-ffd578937521
2003-07-04 16:27:02 +00:00
CaS
383e71072f DO type info fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17102 72102866-910b-0410-8b05-ffd578937521
2003-07-04 15:11:15 +00:00
CaS
8586061798 Temprary fix for older compilers ... avoid setting protocol for proxy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17101 72102866-910b-0410-8b05-ffd578937521
2003-07-04 14:21:05 +00:00
CaS
2f6c120a86 Quick runtime fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17099 72102866-910b-0410-8b05-ffd578937521
2003-07-04 11:18:51 +00:00
CaS
a9a9958dfd Add a couple of warning logs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17097 72102866-910b-0410-8b05-ffd578937521
2003-07-04 10:52:56 +00:00
CaS
df90a32ded Fix for fetching type information from remote system.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17095 72102866-910b-0410-8b05-ffd578937521
2003-07-04 09:33:53 +00:00
CaS
4f9f2c224e Fix recursion problem
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17093 72102866-910b-0410-8b05-ffd578937521
2003-07-04 06:32:14 +00:00
CaS
335592b8d6 Calendar date tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17092 72102866-910b-0410-8b05-ffd578937521
2003-07-03 20:24:11 +00:00
ayers
dfcc68b0d0 include GSCompatibility.h in GSObjCRuntime.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17085 72102866-910b-0410-8b05-ffd578937521
2003-07-01 19:54:37 +00:00
ayers
584c139a1b * Headers/gnustep/base/GSObjCRuntime.h/m (GSPrintf),
* 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
2003-07-01 17:00:14 +00:00
CaS
54a9e66dc5 Fix rare bug in iconv conversion.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17080 72102866-910b-0410-8b05-ffd578937521
2003-07-01 08:33:22 +00:00
CaS
b86d12e184 Allow iconv to handle utf-7
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17071 72102866-910b-0410-8b05-ffd578937521
2003-06-30 04:53:54 +00:00
CaS
dd58f52371 Get rid of bogus warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17057 72102866-910b-0410-8b05-ffd578937521
2003-06-28 05:33:15 +00:00
CaS
089a59ca8a Better docs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17056 72102866-910b-0410-8b05-ffd578937521
2003-06-28 05:25:31 +00:00
CaS
2a2a75276c Fix descriptor leak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17047 72102866-910b-0410-8b05-ffd578937521
2003-06-27 14:34:13 +00:00
ayers
00981688aa * Source/GSFFCallInvocation.m
(gs_method_for_receiver_and_selector): Replace usage of
        class_get_instance/class_method with GSGetInstance/ClassMethod and
        Method_t with GSMethod.
        (gs_find_by_receiver_best_typed_sel): Ditto.
        (GSInvocationCallback): Ditto.
        ([GSFFCallInvocation -invokeWithTarget:]): Ditto.
        * Source/GSFFIInvocation.m
        (gs_method_for_receiver_and_selector): Ditto.
        (gs_find_by_receiver_best_typed_sel): Ditto.
        (GSFFIInvocationCallback): Ditto.
        ([GSFFIInvocation -invokeWithTarget:]): Ditto.
        * Source/NSConnection.m
        ([NSConnection -_service_typeForSelector:]): Ditto.
        * Source/NSInvocation.m
        ([NSInvocation -invokeWithTarget:]): Ditto.
        * Source/NSObject.m
        ([NSObject +instanceMethodSignatureForSelector:]): Ditto.
        ([NDObject -methodSignatureForSelector:]): Ditto.
        ([NSObject +descriptionForInstanceMethod:]): Ditto.
        ([NSOnject -descriptionForMethod:]: Ditto.
        * Source/NSProxy.m
        ([NSProxy +methodSignatureForSelector:]): Ditto.
        ([NSProxy -methodSignatureForSelector:]): Ditto.
        * Source/NSDistantObject.m
        ([NSObject -selectorTypeForProxy:]): Ditto.
        ([NSDistantObject +respondsToSelector:]): Ditto. Corrected
        implementation to check class methods instead of instance methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17016 72102866-910b-0410-8b05-ffd578937521
2003-06-25 10:26:29 +00:00
fedor
9181c4dffa Fix syntax error
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17014 72102866-910b-0410-8b05-ffd578937521
2003-06-24 17:48:02 +00:00
fedor
bb7def1fbf Use kvm library where appropriate.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17010 72102866-910b-0410-8b05-ffd578937521
2003-06-24 02:45:29 +00:00
ayers
5e5ce83a86 * Headers/gnustep/base/objc-gnu2next.h: Remove simple mappings for
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
2003-06-22 08:45:48 +00:00
CaS
df9982acf3 Little tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16974 72102866-910b-0410-8b05-ffd578937521
2003-06-20 18:53:34 +00:00
CaS
59cc452b3e Minor bugfix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16973 72102866-910b-0410-8b05-ffd578937521
2003-06-20 18:04:38 +00:00
fedor
ef23eeee75 Version 1.7.1
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16965 72102866-910b-0410-8b05-ffd578937521
2003-06-20 14:50:50 +00:00