Commit graph

3375 commits

Author SHA1 Message Date
Eric Sersale
30dc6bf85a * Headers/AppKit/AppKit.h: added NSHelpManager.h.
* Headers/AppKit/NSHelpManager.h: declaration for new method -pathForHelpResource:
  * Source/NSHelpManager.m: implemented -pathForHelpResource: in the NSBundle 
  category. -pathForHelpResource: looks for help files giving the priority
  to localized resources. 
  -showHelp: looks for rtfd files too.
  * Source/GSHelpManagerPanel.m: various fixes to avoid a crash when quitting
  and to resize correctly the NSTextView.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23164 72102866-910b-0410-8b05-ffd578937521
2006-07-15 11:42:02 +00:00
Gregory John Casamento
b718aee750 Added method initWithWindow:.. to initialize the template from an actual window instance.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23162 72102866-910b-0410-8b05-ffd578937521
2006-07-14 05:18:08 +00:00
Gregory John Casamento
6dc3d8fd4b Keyed encoding changes in initWithCoder:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23155 72102866-910b-0410-8b05-ffd578937521
2006-07-10 04:13:13 +00:00
Gregory John Casamento
f4032747d3 GSNibContainer version 2 changes. New method declarations for customClasses, visibleWindows and deferredWindows. Changes to init, initWithCoder: and encodeWithCoder: to handle the new data.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23150 72102866-910b-0410-8b05-ffd578937521
2006-07-09 14:54:51 +00:00
Gregory John Casamento
53ca2a14c2 Prevent initWithCoder: from calling initWithFrame: in NSView. According to the documentation, initWithFrame: should not be called when the view is unarchiving itself. Similar changes were needed in other classes since they depended on this call to initialize themselves, so some init code was added to initWithCoder:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23143 72102866-910b-0410-8b05-ffd578937521
2006-07-07 01:39:16 +00:00
Richard Frith-MacDonald
54847b2b13 Add some pointless initialisations to satisfy compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23130 72102866-910b-0410-8b05-ffd578937521
2006-07-05 07:09:43 +00:00
Richard Frith-MacDonald
d22941ed47 Tidy some warning suppression cleanups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23129 72102866-910b-0410-8b05-ffd578937521
2006-07-05 07:05:03 +00:00
Richard Frith-MacDonald
65b175b904 Tweaks to avoid new compiler warnings with gcc-4.1 and some 64bit issues.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23126 72102866-910b-0410-8b05-ffd578937521
2006-07-04 21:31:49 +00:00
Fred Kiefer
4986199ba1 Removed some compiler warnings and unneeded direct drawing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23119 72102866-910b-0410-8b05-ffd578937521
2006-07-02 11:25:04 +00:00
Gregory John Casamento
7069a80090 NSDecimalNumberPlaceholder implementation to allow construction of NSDecimalNumber instances in nib files. Will do some additional testing to make certain this implementation is correct.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23108 72102866-910b-0410-8b05-ffd578937521
2006-06-25 16:42:38 +00:00
Gregory John Casamento
7f2a813414 In -[NSIBObjectData instantiateWithOwner:topLevelObjects:] properly initialize the NSWindowTemplate and fill in the topLevelObjects array.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23106 72102866-910b-0410-8b05-ffd578937521
2006-06-25 04:29:15 +00:00
Gregory John Casamento
b4ed61fce1 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
Gregory John Casamento
27d8140c40 Skeleton implementation of NSIBHelpConnector class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23080 72102866-910b-0410-8b05-ffd578937521
2006-06-18 18:40:11 +00:00
Gregory John Casamento
3ef002aeed Resize correction.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23078 72102866-910b-0410-8b05-ffd578937521
2006-06-18 00:39:35 +00:00
Gregory John Casamento
f853534548 Cleanup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23072 72102866-910b-0410-8b05-ffd578937521
2006-06-17 14:53:12 +00:00
Gregory John Casamento
464ee79c8d 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
Fred Kiefer
cad6a29fde Added delete to end of line to text view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23049 72102866-910b-0410-8b05-ffd578937521
2006-06-11 18:26:49 +00:00
Fred Kiefer
9bcf4a86ef Handle remaining problems with cursor rects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23041 72102866-910b-0410-8b05-ffd578937521
2006-06-09 17:33:11 +00:00
Gregory John Casamento
840d700ce6 Minor reorganization, added exceptions for classes that don't implement non-keyed archiving.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23040 72102866-910b-0410-8b05-ffd578937521
2006-06-08 04:04:17 +00:00
Gregory John Casamento
a175d2a332 Implemented keyed and non-keyed coding for NSDrawer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23031 72102866-910b-0410-8b05-ffd578937521
2006-06-04 17:32:11 +00:00
Gregory John Casamento
2cd4aa162e Added more coding and TODO's for nib coding/decoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23030 72102866-910b-0410-8b05-ffd578937521
2006-06-04 16:31:30 +00:00
Gregory John Casamento
1c011de1a5 Additional keyed archiving implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23026 72102866-910b-0410-8b05-ffd578937521
2006-06-04 05:16:37 +00:00
Fred Kiefer
b7a6db5b82 Fixed PPD file parsing bug.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23020 72102866-910b-0410-8b05-ffd578937521
2006-06-03 15:17:15 +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
Richard Frith-MacDonald
f393798b2a Macos-X compatibility change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23010 72102866-910b-0410-8b05-ffd578937521
2006-05-31 09:27:21 +00:00
Gregory John Casamento
aa206849b2 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
Richard Frith-MacDonald
46be8e4caf Fix for bug #16688, but needs more investigation/work
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22995 72102866-910b-0410-8b05-ffd578937521
2006-05-29 08:47:32 +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
1d4845b573 Fix cursor rect problems, when window closes or the view is scrolled.
Patch by Mircea Trache <aer@shaw.ca>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22988 72102866-910b-0410-8b05-ffd578937521
2006-05-27 21:54:29 +00:00
Fred Kiefer
3ebbcb3cab Small patch to NSTabView. by Andreas Höschler.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22976 72102866-910b-0410-8b05-ffd578937521
2006-05-23 21:15:14 +00:00
Gregory John Casamento
c85d393ca8 Corrected order in changelog. All [NibCompatibility] tagged items show up after the last commit to gui prior to the merge.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22962 72102866-910b-0410-8b05-ffd578937521
2006-05-20 23:46:51 +00:00
Gregory John Casamento
ae6072d62f Additional changes from NibCompatibility.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22960 72102866-910b-0410-8b05-ffd578937521
2006-05-20 22:25:54 +00:00
Gregory John Casamento
d68950d71a Nib compatibility code merge.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22957 72102866-910b-0410-8b05-ffd578937521
2006-05-20 22:12:46 +00:00
Fred Kiefer
b1c6991a10 Chnaged GSDontShowAppIcon to GSSuppressAppIcon.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22918 72102866-910b-0410-8b05-ffd578937521
2006-05-12 16:25:36 +00:00
Richard Frith-MacDonald
407e0c79b4 Added comments
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22900 72102866-910b-0410-8b05-ffd578937521
2006-05-11 11:27:01 +00:00
Fred Kiefer
43537498de Adopted dragging destination method return values to MacOSX 10.4
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22893 72102866-910b-0410-8b05-ffd578937521
2006-05-10 22:11:28 +00:00
Fred Kiefer
b6341d6e1a Allow to switch off the showing of the applications icon.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22892 72102866-910b-0410-8b05-ffd578937521
2006-05-10 21:48:15 +00:00
Richard Frith-MacDonald
8952b82d93 Fix for loading where the files owner is in a library, framework or bundle,
but the Gorm/NIB file is in the application resources.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22887 72102866-910b-0410-8b05-ffd578937521
2006-05-10 13:06:57 +00:00
Fred Kiefer
d346b59f9f Small patches by Andreas Höschler to NSTableView and NSComboBoxCell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22861 72102866-910b-0410-8b05-ffd578937521
2006-05-05 22:41:40 +00:00
Richard Frith-MacDonald
bd8932fa1e bugfix for nil argumenmt to makefirstResponder: as reported by andreas hoschler
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22860 72102866-910b-0410-8b05-ffd578937521
2006-05-05 13:41:33 +00:00
Fred Kiefer
d2dcf19356 Allow wrapping of native windows into NSWindow.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22851 72102866-910b-0410-8b05-ffd578937521
2006-05-03 21:09:08 +00:00
Richard Frith-MacDonald
3e3154f2f6 use key equivalent modifier mask.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22848 72102866-910b-0410-8b05-ffd578937521
2006-05-01 18:39:03 +00:00
Richard Frith-MacDonald
cbac796781 Fix longstanding bug in key equivalents handling which was previously masked by a bug in NSApplication.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22843 72102866-910b-0410-8b05-ffd578937521
2006-04-30 20:29:30 +00:00
Richard Frith-MacDonald
586100b696 Revert change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22837 72102866-910b-0410-8b05-ffd578937521
2006-04-29 04:51:26 +00:00
Richard Frith-MacDonald
f5afe5e93e Minor key equivalent handling improvement.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22834 72102866-910b-0410-8b05-ffd578937521
2006-04-28 09:31:33 +00:00
Sergii Stoian
95a6ff2dfe NSMenuView.m fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22822 72102866-910b-0410-8b05-ffd578937521
2006-04-25 22:58:13 +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
Adam Fedor
e81e2faa26 Source/NSBitmapImageRep+JPEG.m: Add workaround so that INT32
is not redefined on MingW by jmorecfg.h (Suggestion from Issac
Trotts).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22800 72102866-910b-0410-8b05-ffd578937521
2006-04-19 21:28:51 +00:00
Richard Frith-MacDonald
4666959d49 Fix bug #15935
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22732 72102866-910b-0410-8b05-ffd578937521
2006-03-31 11:28:56 +00:00
Richard Frith-MacDonald
8c5e6703cd Minor menu drawing fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22731 72102866-910b-0410-8b05-ffd578937521
2006-03-31 11:14:38 +00:00