Manuel Guesdon
6542364459
* Source/NSUndoManager.m
...
Assert sig is not null in registerUndoWithTarget:selector:object:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37917 72102866-910b-0410-8b05-ffd578937521
2014-05-28 18:31:59 +00:00
Richard Frith-MacDonald
10261d3ff6
fix typo in error text
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37882 72102866-910b-0410-8b05-ffd578937521
2014-05-16 06:29:00 +00:00
Germán Arias
3d3b039633
Return the name of last action in NSUndoManager.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37365 72102866-910b-0410-8b05-ffd578937521
2013-11-06 01:52:54 +00:00
Germán Arias
9530102d98
Return a item title in NSUndoManger. Even if actionName is null.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37356 72102866-910b-0410-8b05-ffd578937521
2013-11-03 19:40:31 +00:00
Richard Frith-MacDonald
27550994ee
use the _() macro for localisation within base
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32173 72102866-910b-0410-8b05-ffd578937521
2011-02-15 06:25:54 +00:00
Germán Arias
c5720109a0
Added GSBaseLocalizedString() in NSUndoManager
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32160 72102866-910b-0410-8b05-ffd578937521
2011-02-14 18:55:57 +00:00
Richard Frith-MacDonald
7cc69dfaae
Simplify header inclusion
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29669 72102866-910b-0410-8b05-ffd578937521
2010-02-19 08:12:46 +00:00
Richard Frith-MacDonald
21d597e740
merge back reorganisation branch
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29615 72102866-910b-0410-8b05-ffd578937521
2010-02-14 10:48:10 +00:00
Wolfgang Lux
37b81067e9
Add an auxiliary method to NSUndoManager to support coalescing undo
...
operations in NSTextView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29163 72102866-910b-0410-8b05-ffd578937521
2009-12-22 23:43:38 +00:00
Wolfgang Lux
390aad3427
Fix a few issues with NSUndoManager, the most serious of which was
...
that NSUndoManager did no longer record redo actions properly since
the recent Mac OS X compatibililty changes to it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28320 72102866-910b-0410-8b05-ffd578937521
2009-06-02 21:36:17 +00:00
Richard Frith-MacDonald
68d0bb48f1
Make behavior closer to MacOS-X ... no checkpoint notification for an implicit
...
begin grouping at the top level.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27980 72102866-910b-0410-8b05-ffd578937521
2009-02-25 15:56:51 +00:00
Richard Frith-MacDonald
8ebcef5198
OSX compatibility fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27974 72102866-910b-0410-8b05-ffd578937521
2009-02-25 09:58:27 +00:00
Richard Frith-MacDonald
24d43481a8
Updates for 10.5 API changes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27962 72102866-910b-0410-8b05-ffd578937521
2009-02-23 20:42:32 +00:00
Richard Frith-MacDonald
3b6bd36cce
Fix for #25607
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27899 72102866-910b-0410-8b05-ffd578937521
2009-02-17 12:47:20 +00:00
Richard Frith-MacDonald
b2b14398d2
allow developers more time to adapt to LGPLv3
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26606 72102866-910b-0410-8b05-ffd578937521
2008-06-08 10:38:33 +00:00
Richard Frith-MacDonald
7b7ab2f84c
Apply nsundomanager patch from wolfgang lux
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25525 72102866-910b-0410-8b05-ffd578937521
2007-10-11 08:00:43 +00:00
Richard Frith-MacDonald
62559023b9
Update to GPL3 and LGPL3
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25482 72102866-910b-0410-8b05-ffd578937521
2007-09-14 11:36:11 +00:00
Richard Frith-MacDonald
0ebe68ae48
More code tidyups and NSError updates.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23921 72102866-910b-0410-8b05-ffd578937521
2006-10-20 10:56:27 +00:00
Richard Frith-MacDonald
9b09f56c62
Fixed to remove grouping in progress.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22578 72102866-910b-0410-8b05-ffd578937521
2006-02-27 19:37:16 +00:00
Richard Frith-Macdonald
c9c6734169
Spelling fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21962 72102866-910b-0410-8b05-ffd578937521
2005-11-06 13:53:40 +00:00
Quentin Mathe
3df62a4799
Fixed NSUndoManager bug #14448 by extending NSInvocation with the possibility to retain or not the target
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21721 72102866-910b-0410-8b05-ffd578937521
2005-09-17 21:41:12 +00:00
Adam Fedor
fcc13ccd0f
* Update FSF Address.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21245 72102866-910b-0410-8b05-ffd578937521
2005-05-22 03:32:16 +00:00
Richard Frith-Macdonald
db7b22a4fb
Tidy up use of white space so we have it after if/for/while and not after (
...
or before ) or padding at end of line.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20773 72102866-910b-0410-8b05-ffd578937521
2005-02-22 11:22:44 +00:00
Matt Rice
cedd653710
* Source/NSUndoManager.m (-registerUndoWithTarget:selector:object:):
...
Have the invocation to retain it's arguments. (Fixes bug #4692.)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20635 72102866-910b-0410-8b05-ffd578937521
2005-01-30 11:54:07 +00:00
Gregory John Casamento
5cc2211a8e
Futher improvements to NSUndoManager.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20593 72102866-910b-0410-8b05-ffd578937521
2005-01-22 03:07:29 +00:00
Gregory John Casamento
142eee89f4
Another fix for undo/redo.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20563 72102866-910b-0410-8b05-ffd578937521
2005-01-16 12:58:20 +00:00
Gregory John Casamento
3931c99308
Make the code in undo manager slightly more efficient.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20561 72102866-910b-0410-8b05-ffd578937521
2005-01-16 11:36:30 +00:00
Gregory John Casamento
9b9802a2f7
Corrected issue with previous change.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20560 72102866-910b-0410-8b05-ffd578937521
2005-01-15 11:16:00 +00:00
Gregory John Casamento
1e70a67c30
Undo improvements.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20559 72102866-910b-0410-8b05-ffd578937521
2005-01-15 11:11:49 +00:00
Gregory John Casamento
aef3b74a59
Redo fix.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20552 72102866-910b-0410-8b05-ffd578937521
2005-01-14 11:49:46 +00:00
Gregory John Casamento
38bd9809e8
Corrected problem with undo.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20550 72102866-910b-0410-8b05-ffd578937521
2005-01-14 10:45:09 +00:00
Matt Rice
b83d4ae778
2004-12-09 Matt Rice <ratmice@yahoo.com>
...
* Source/NSUndoManager.m
([-forwardInvocation,-registerUndoWithTarget:selector:object:): Don't
clear the redo stack if redoing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20432 72102866-910b-0410-8b05-ffd578937521
2004-12-09 09:36:00 +00:00
Adrian Robert
20cf63779e
declare constant strings as constant, and move values from source files into externs.m
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20092 72102866-910b-0410-8b05-ffd578937521
2004-09-19 23:19:53 +00:00
Adrian Robert
0d31eca394
documented functions, types, constants, and variables
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19797 72102866-910b-0410-8b05-ffd578937521
2004-07-29 15:30:47 +00:00
Adrian Robert
bda35fceb3
added GSdoc comments to class, method, and function declarations; for some classes some comments were already in the source file (not the header), in which case further comments were added here; otherwise comments were put in the headers
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19588 72102866-910b-0410-8b05-ffd578937521
2004-06-22 22:40:40 +00:00
Richard Frith-Macdonald
54b5983408
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17372 72102866-910b-0410-8b05-ffd578937521
2003-07-27 08:59:08 +00:00
Richard Frith-Macdonald
a378cd76e8
Documentation and port name server fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17291 72102866-910b-0410-8b05-ffd578937521
2003-07-22 08:52:37 +00:00
David Ayers
a9ba824543
* 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
Adam Fedor
d228cba99b
Change syntax of includes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16874 72102866-910b-0410-8b05-ffd578937521
2003-06-07 01:24:41 +00:00
Richard Frith-Macdonald
a0a6f5f346
Added date version and title
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11814 72102866-910b-0410-8b05-ffd578937521
2001-12-18 16:54:15 +00:00
Richard Frith-Macdonald
5be36e089c
Many minor fixes for autogsdoc.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11787 72102866-910b-0410-8b05-ffd578937521
2001-12-17 14:31:42 +00:00
Adam Fedor
1888a16328
Include config.h
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6369 72102866-910b-0410-8b05-ffd578937521
2000-03-24 05:40:19 +00:00
Richard Frith-MacDonald
18f87db0c7
Tidyup for GC
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4956 72102866-910b-0410-8b05-ffd578937521
1999-09-28 19:35:09 +00:00
Richard Frith-MacDonald
211089cd20
Ivar underscore prefixes added and some tidying done.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4902 72102866-910b-0410-8b05-ffd578937521
1999-09-16 07:21:34 +00:00
Adam Fedor
078e46d305
Merge from dawn
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4853 72102866-910b-0410-8b05-ffd578937521
1999-09-09 02:56:20 +00:00
Richard Frith-MacDonald
12104ba11a
Garbage collection updates
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4510 72102866-910b-0410-8b05-ffd578937521
1999-07-03 19:59:44 +00:00
Richard Frith-MacDonald
b41a9d6e9a
Attempt to make this class do what it should :-)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2868 72102866-910b-0410-8b05-ffd578937521
1998-07-28 09:45:09 +00:00
Adam Fedor
1996a609cc
Frith-MacDonald and other patches.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2801 72102866-910b-0410-8b05-ffd578937521
1998-05-21 13:41:55 +00:00