fredkiefer
ccf59ac3ca
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
fredkiefer
e04f21516d
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
fredkiefer
6d4c7629e9
* 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
fredkiefer
f507c26271
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
fredkiefer
3cdc68a09b
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
theraven
e827af082d
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
ericwa
82ac6117e8
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
wlux
67adeb4133
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
wlux
bed8731d61
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
wlux
12b7ba5f76
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
wlux
a3ab75dbd1
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
wlux
06f3192de9
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
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
wlux
4e3a0f869a
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
wlux
f0ac4f2e8f
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
rfm
51e03c6d17
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
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
gcasa
6b3ab20fe5
* 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
rmottola
c47c417df7
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
rmottola
e0fa17197c
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
fredkiefer
fb77530abe
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
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
fredkiefer
6cfee381c1
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
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
1b9358f8d9
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
gcasa
ca2a19fc5b
* 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
gcasa
09d4ded47d
* 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
gcasa
975469ff71
* 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
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
rfm
7d18cf6aad
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
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
8b5ef317f7
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
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
gcasa
fe7464cd75
* 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
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
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
fredkiefer
4e5d589ea6
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
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
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
fedor
598b8a4111
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
FredKiefer
aea2927168
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
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
c308fa742f
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
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
nico
654323d491
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
fedor
2855854b73
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
fedor
c1342fe704
NSSavePanel (-ok:): Display filename with extension when replacing
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14983 72102866-910b-0410-8b05-ffd578937521
2002-11-12 21:31:11 +00:00