Richard Frith-MacDonald
58fa0b0126
be ready for coming osx compatibility fix in base
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35389 72102866-910b-0410-8b05-ffd578937521
2012-08-10 08:33:03 +00:00
Fred Kiefer
8ad4aa86c4
Replace some occurences of int with NSInteger
...
and unsigned with NSUInteger. This allows to recompile gui on
64 bit systems after the change to NSNotFound in base.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34312 72102866-910b-0410-8b05-ffd578937521
2011-12-17 17:16:09 +00:00
Fred Kiefer
727e1993f0
Unbind key bindings.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33511 72102866-910b-0410-8b05-ffd578937521
2011-07-11 08:40:31 +00:00
Fred Kiefer
b6fab5861c
* Source/NSDocumentController.m (-_openRecentDocument:): Use most
...
current method to display document.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33348 72102866-910b-0410-8b05-ffd578937521
2011-06-19 10:55:16 +00:00
Fred Kiefer
c744492fee
Add a few key value bindings.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33277 72102866-910b-0410-8b05-ffd578937521
2011-06-11 12:01:59 +00:00
Fred Kiefer
2d01942e4b
Replace #include -> #import
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32451 72102866-910b-0410-8b05-ffd578937521
2011-03-04 11:33:22 +00:00
David Chisnall
38438cf711
Comment out unused function.
...
Fred: Is there a reason that this function exists, or can we just delete it?
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32346 72102866-910b-0410-8b05-ffd578937521
2011-02-24 13:15:54 +00:00
Eric Wasylishen
26fcda321b
Replace sel_eq with sel_isEqual
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31285 72102866-910b-0410-8b05-ffd578937521
2010-09-09 23:50:38 +00:00
Wolfgang Lux
128a121bc8
Disable directory selection in open panels presented by
...
NSDocumentController, which is useless since document file packages
are shown as plain files in the panel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30516 72102866-910b-0410-8b05-ffd578937521
2010-05-31 22:34:05 +00:00
Wolfgang Lux
fc76fad1a0
Add support for document types with a wild card extension to
...
NSDocumentController and NSDocument.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30512 72102866-910b-0410-8b05-ffd578937521
2010-05-31 21:40:13 +00:00
Wolfgang Lux
7f90afe7bc
Give the application delegate a chance to open documents from the
...
recent documents menu. This makes the menu available to non-document
based applications as documented and implemented by Apple.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30386 72102866-910b-0410-8b05-ffd578937521
2010-05-14 07:42:34 +00:00
Wolfgang Lux
f77c5f6bca
Make number of remembered recent documents configurable with a user
...
preference and fix a bug where one extra document was remembered.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30366 72102866-910b-0410-8b05-ffd578937521
2010-05-12 10:24:17 +00:00
Wolfgang Lux
e0d603b2ae
Add an attribute to NSDocumentController to maintain the recent
...
documents menu. Make the methods to access that menu available to
other classes in -gui.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30362 72102866-910b-0410-8b05-ffd578937521
2010-05-12 08:17:26 +00:00
Wolfgang Lux
c7fee635d0
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
Wolfgang Lux
358214ef48
Improve OS X compatibility with respect to managing the document
...
controller's recent-documents list.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28861 72102866-910b-0410-8b05-ffd578937521
2009-10-20 06:14:11 +00:00
Wolfgang Lux
9fc52af6f3
Fix an off by one error which would crash programs with an open recent
...
menu.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28860 72102866-910b-0410-8b05-ffd578937521
2009-10-20 06:03:15 +00:00
Richard Frith-MacDonald
1c8cd6a0c4
Fixups to avoid crashes opening non-document-based apps.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28844 72102866-910b-0410-8b05-ffd578937521
2009-10-19 10:03:03 +00:00
Richard Frith-MacDonald
452ffee567
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
Gregory John Casamento
6bd3b14d85
* Source/NSDocumentController.m: Return default type if the
...
URL is not a file URL and the call to typeFromFileExtension: returns
nil in typeForContentsOfURL:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28187 72102866-910b-0410-8b05-ffd578937521
2009-04-08 02:24:27 +00:00
Riccardo Mottola
246576a001
When getting the name for a human readable document type name, use also
...
CFBundleTypeName.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27684 72102866-910b-0410-8b05-ffd578937521
2009-01-25 13:05:47 +00:00
Riccardo Mottola
c6b4d75935
Allow newDocument: on NSDocumentController only when there is a default
...
type.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27667 72102866-910b-0410-8b05-ffd578937521
2009-01-24 13:11:25 +00:00
Fred Kiefer
9cd9df813d
Check only shouldCreateUI before callin makeWindowControllers.
...
This is the behaviour reported for Cocoa.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27509 72102866-910b-0410-8b05-ffd578937521
2009-01-04 20:20:52 +00:00
Fred Kiefer
aba6776a65
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
Fred Kiefer
f68f306f43
Clean up and completion of NSDocumentController.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27415 72102866-910b-0410-8b05-ffd578937521
2008-12-25 13:21:22 +00:00
Wolfgang Lux
91f3b7674b
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
Wolfgang Lux
51ae4e18a6
Make NSOpenPanel and NSSavePanel consistently start up in the last
...
used directory by default.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27220 72102866-910b-0410-8b05-ffd578937521
2008-12-06 14:11:46 +00:00
Gregory John Casamento
f74ca7e5c1
* Source/NSDocumentController.m: Fixed fileExtensionFromType:,
...
bug #24894
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27205 72102866-910b-0410-8b05-ffd578937521
2008-12-03 22:19:36 +00:00
Gregory John Casamento
93655370b0
* Source/GSNibCompatibility.m: Conditionally call setToolTip if it
...
exists when doing establishConnection on an NSIBHelpConnector.
* Source/NSDocumentController.m: Correction to prevent exception when
NSDocumentClass isn't specified. This does not cause an issue on
Mac OS X.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27031 72102866-910b-0410-8b05-ffd578937521
2008-11-12 22:58:47 +00:00
Gregory John Casamento
fd45064a83
* Headers/AppKit/NSTokenFieldCell.h
...
* Headers/AppKit/NSTokenField.h: Headers for new class.
* Source/GNUmakefile
* Source/NSDocumentController.m: Added code to handle the
CF keys as well as the NS keys for document oriented apps.
* Source/NSTokenFieldCell.m
* Source/NSTokenField.m: Start of implementation for this class
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26801 72102866-910b-0410-8b05-ffd578937521
2008-08-07 05:17:32 +00:00
Adam Fedor
7afdd32ac1
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
Richard Frith-MacDonald
62c268c19f
cope with bad data
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26526 72102866-910b-0410-8b05-ffd578937521
2008-05-14 09:44:29 +00:00
Fred Kiefer
193e31e678
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
Fred Kiefer
b0d6cd3485
Add MacOSX 10.4 methods and constants to NSEvent. Resort event types to
...
be binary compatible to MacOSX.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25377 72102866-910b-0410-8b05-ffd578937521
2007-08-03 11:27:41 +00:00
Fred Kiefer
34b0abf4d0
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
Richard Frith-MacDonald
57435da7d5
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
Gregory John Casamento
f6924da4be
* Source/NSDocumentController.m: Correct grammar in
...
reviewUnsavedDocumentsWithAlertTitle:... "Quit Anyways" should
be "Quit Anyway".
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23713 72102866-910b-0410-8b05-ffd578937521
2006-10-02 12:21:58 +00:00
Gregory John Casamento
45d21c3397
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
Gregory John Casamento
d9bafd0291
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
Fred Kiefer
93315b5129
Set the type of a newly created untitled document.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22803 72102866-910b-0410-8b05-ffd578937521
2006-04-23 22:17:19 +00:00
Richard Frith-MacDonald
56ac5a9236
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
Richard Frith-MacDonald
34d79dd427
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
Adam Fedor
303dd1baf9
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
Adam Fedor
43997f992f
Conform to documentation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19334 72102866-910b-0410-8b05-ffd578937521
2004-05-15 04:04:51 +00:00
Fred Kiefer
4a0281b9c4
Removed new GCC 3.4 warnings from Alexander Malmbergs list.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17601 72102866-910b-0410-8b05-ffd578937521
2003-09-01 18:17:52 +00:00
David Ayers
b18f1c4ac4
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
Richard Frith-Macdonald
0c1073e3ec
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
Adam Fedor
687ad68408
Add GSGuiPrivate header for localization
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16949 72102866-910b-0410-8b05-ffd578937521
2003-06-17 15:12:32 +00:00
Adam Fedor
6be9174933
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
Nicola Pero
a3559dd888
Indented line
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15638 72102866-910b-0410-8b05-ffd578937521
2003-01-19 23:47:53 +00:00
Adam Fedor
6807f49761
Version 0.8.3
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15043 72102866-910b-0410-8b05-ffd578937521
2002-11-22 03:19:12 +00:00