wlux
5736f119e9
Ensure proper working of autosaving for NSDocument subclasses that
...
override -writeWithBackupToFile:ofType:saveOperation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29267 72102866-910b-0410-8b05-ffd578937521
2010-01-11 21:26:12 +00:00
espectador
d42de53b15
Add missing internationalization and more localizable strings in spanish
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29193 72102866-910b-0410-8b05-ffd578937521
2010-01-03 04:41:36 +00:00
wlux
5046158db9
Implement code for exportable, i.e., write-only, document types.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28962 72102866-910b-0410-8b05-ffd578937521
2009-11-05 23:14:15 +00:00
rfm
f48b5d132e
Small theme update, plus documentation fixes and tweaks to avoid warnings.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28538 72102866-910b-0410-8b05-ffd578937521
2009-08-25 07:46:37 +00:00
fredkiefer
383bc8bdf8
* Source/NSDocument.m (-setFileName:): Set the file name to the
...
absolute file path.
Patch by Jonathan Gillaspie <jonathan.gillaspie@testplant.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28418 72102866-910b-0410-8b05-ffd578937521
2009-07-28 21:01:53 +00:00
fredkiefer
82e5af8ba4
Check whether there is a returned save panel, this wont be the case
...
when the user cancels the save operation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28321 72102866-910b-0410-8b05-ffd578937521
2009-06-02 21:40:07 +00:00
rmottola
727a9ca40b
Correct override test in NSDocument method.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27677 72102866-910b-0410-8b05-ffd578937521
2009-01-25 10:02:22 +00:00
rmottola
d983415d4d
Convert between window and view coordinate system for NSMenuView.
...
Correct small bugs in last NSDocument rework.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27661 72102866-910b-0410-8b05-ffd578937521
2009-01-23 22:01:40 +00:00
wlux
d907c2404f
Change NSDocument's -windowForSheet implementation to match the actual
...
OS X implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27620 72102866-910b-0410-8b05-ffd578937521
2009-01-17 16:08:30 +00:00
fredkiefer
b842490265
Complete the implementation of NSDocument.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27436 72102866-910b-0410-8b05-ffd578937521
2008-12-26 20:32:23 +00:00
wlux
3764826e20
Ensure that new windows properly show their document edited status.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27292 72102866-910b-0410-8b05-ffd578937521
2008-12-14 19:15:18 +00:00
wlux
a7d31f149d
Implement NSDocument autosaving.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27288 72102866-910b-0410-8b05-ffd578937521
2008-12-14 16:39:15 +00:00
wlux
536e718766
Implement support for document types with multiple allowed file
...
extensions in NSSavePanel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27228 72102866-910b-0410-8b05-ffd578937521
2008-12-06 17:06:05 +00:00
wlux
eb23b8ada8
Fix bug where a NSDocument would appear unmodified after saving the
...
document, undoing a number of changes, and then making an equal number
of changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27219 72102866-910b-0410-8b05-ffd578937521
2008-12-06 13:24:00 +00:00
wlux
9c73bec99f
Implement undo: and redo: responder actions in NSWindow as on Mac OS X.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27218 72102866-910b-0410-8b05-ffd578937521
2008-12-06 10:58:38 +00:00
wlux
93746ed9be
Fix problems where the string value of a text field control might not
...
be updated while its cell is edited and where the save panel's text
form ignores the file name passed to -runModalForDirectory:file:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27059 72102866-910b-0410-8b05-ffd578937521
2008-11-14 23:12:33 +00:00
gcasa
a91c8ec537
* Source/NSDocument.m: Correction for bug#24758, add name and
...
type information to the object before reading the file so that
it is available during the readFile:ofType: method call.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27017 72102866-910b-0410-8b05-ffd578937521
2008-11-08 15:17:49 +00:00
fedor
ce41d782c1
Revert library license version to 2 until applications can be converted
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26619 72102866-910b-0410-8b05-ffd578937521
2008-06-10 04:01:49 +00:00
fredkiefer
eb23e9991d
Two small patches by Wolfgang Lux <wolfgang.lux@gmail.com>.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25549 72102866-910b-0410-8b05-ffd578937521
2007-11-01 10:15:35 +00:00
fredkiefer
e25cceb710
Change all files to use GPL 3 and LGPL 3.
...
Prepare for next release.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25536 72102866-910b-0410-8b05-ffd578937521
2007-10-29 21:16:17 +00:00
fredkiefer
a503b7d0a2
Patches by Wolfgang Lux <wolfgang.lux@gmail.com>.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25526 72102866-910b-0410-8b05-ffd578937521
2007-10-11 20:55:21 +00:00
fredkiefer
aab9028789
Small fixes of previous changes.
...
Patch by Wolfgang Lux <wolfgang.lux@gmail.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25509 72102866-910b-0410-8b05-ffd578937521
2007-10-01 19:25:05 +00:00
fredkiefer
9a371e74bd
Diverse gui patches by Wolfgang Lux <wolfgang.lux@gmail.com>.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25451 72102866-910b-0410-8b05-ffd578937521
2007-09-04 23:29:05 +00:00
rmottola
235205cd7b
removed some C99-isms
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25137 72102866-910b-0410-8b05-ffd578937521
2007-05-10 20:25:15 +00:00
fredkiefer
2a848d42b4
Add remaining file type change by Wolfgang Lux.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24808 72102866-910b-0410-8b05-ffd578937521
2007-03-07 23:31:07 +00:00
fredkiefer
334583b86b
Document print patch by Wolfgang Lux.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24800 72102866-910b-0410-8b05-ffd578937521
2007-03-07 14:38:51 +00:00
gcasa
a0213ba680
2007-03-03 14:51-EST Gregory John Casamento <greg_casamento@yahoo.com>
...
* Source/NSDocument.m: Added change suggested by Wolfgang Lux. This
corrects a potential mismatch between the document type and the type
specified in the panel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24758 72102866-910b-0410-8b05-ffd578937521
2007-03-03 19:53:23 +00:00
fredkiefer
e1b4f3a31c
Workaround for bug #19031 .
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24644 72102866-910b-0410-8b05-ffd578937521
2007-02-18 19:49:47 +00:00
rfm
417d610c39
fix include path
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24383 72102866-910b-0410-8b05-ffd578937521
2007-01-19 08:37:42 +00:00
fredkiefer
9a71af08ad
Added MacOS 10.4 methods for NSDocument, NSDocumentController,
...
NSPrintOperation, NSResponder and NSCell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24378 72102866-910b-0410-8b05-ffd578937521
2007-01-17 12:09:41 +00:00
rfm
cc3cafa874
tidyups and minor theme tiling updates.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23871 72102866-910b-0410-8b05-ffd578937521
2006-10-15 08:34:47 +00:00
ratmice
9994cfab49
* Source/NSDocument.m (-initWithContentsOfFile:ofType:): Set the
...
file name and type before attempting to read the document.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23546 72102866-910b-0410-8b05-ffd578937521
2006-09-17 15:15:42 +00:00
gcasa
558f2529ef
2006-06-20 20:58 Gregory John Casamento <greg_casamento@yahoo.com>
...
* Headers/Additions/GNUstepGUI/GSNibCompatibility.h: Added
declarations for classes and names methods and change return
type for objects method.
* Source/GSNibCompatibility.m: Properly return the pointer in
objects method and also add methods for names, and classes
maps in the nib file.
* Source/NSDocument.m: Refuse to write a file for a type which isn't
native. If the class method isNativeType: returns YES, then write the
file in writeToFile:ofType:saveOperation:.
* Source/NSSliderCell.m: Make the cell non-bordered in initWithCoder:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23095 72102866-910b-0410-8b05-ffd578937521
2006-06-21 01:02:25 +00:00
gcasa
d8e899061b
Nib improvments and a document bugfix.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23059 72102866-910b-0410-8b05-ffd578937521
2006-06-15 04:53:09 +00:00
gcasa
242e1f7ee9
Changes to allow proper document type selection in the save panel for document oriented applications.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23013 72102866-910b-0410-8b05-ffd578937521
2006-06-02 00:31:14 +00:00
gcasa
80e9e74ce7
Implemented accessory view.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23006 72102866-910b-0410-8b05-ffd578937521
2006-05-30 04:54:12 +00:00
gcasa
d585d1e2fb
Correction for #16688 as well as some other minor changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22994 72102866-910b-0410-8b05-ffd578937521
2006-05-29 05:00:42 +00:00
rfm
ba9a35db0e
Revert pointelss changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22417 72102866-910b-0410-8b05-ffd578937521
2006-02-03 10:07:01 +00:00
rfm
7d97327c27
Fix BOOL accessors to return a genuine boolean (YES or NO)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22413 72102866-910b-0410-8b05-ffd578937521
2006-02-02 21:16:55 +00:00
CaS
6988bf34c2
Coding style fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22019 72102866-910b-0410-8b05-ffd578937521
2005-11-16 11:34:25 +00:00
fedor
db3c52eab8
Update FSF Address.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21259 72102866-910b-0410-8b05-ffd578937521
2005-05-26 02:52:46 +00:00
gcasa
fd88c0e77b
Further undo improvements.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20562 72102866-910b-0410-8b05-ffd578937521
2005-01-16 11:38:23 +00:00
gcasa
616a70c202
More undo stuff.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20558 72102866-910b-0410-8b05-ffd578937521
2005-01-15 11:06:01 +00:00
gcasa
2f3da79d30
Corrected undo in nsdocument.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20553 72102866-910b-0410-8b05-ffd578937521
2005-01-14 14:24:57 +00:00
gcasa
9bb759f549
Corrected undo.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20551 72102866-910b-0410-8b05-ffd578937521
2005-01-14 10:50:06 +00:00
FredKiefer
a1f5380888
Added missing Cocoa methods and a Cocoa header file.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19269 72102866-910b-0410-8b05-ffd578937521
2004-05-08 13:40:40 +00:00
fedor
468f1fac88
* Source/NSDocument.m ([NSDocument -init]): Check the count of the
...
types array and uses Viewer and Editor NSRoles to set the default
type.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17485 72102866-910b-0410-8b05-ffd578937521
2003-08-16 17:12:34 +00:00
ayers
9732999fd8
Header reorganization - Please refer to ChangeLog
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17408 72102866-910b-0410-8b05-ffd578937521
2003-07-31 23:52:10 +00:00
CaS
ba927074a7
Tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17278 72102866-910b-0410-8b05-ffd578937521
2003-07-21 11:59:47 +00:00
fedor
fc402789db
Include <> -> ""
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16917 72102866-910b-0410-8b05-ffd578937521
2003-06-13 15:01:12 +00:00