Commit graph

5140 commits

Author SHA1 Message Date
Gregory John Casamento
f4e0785e42 * Source/NSTabView.m: Corrections in initWithCoder: and
encodeWithCoder: to properly encode items and tabview orientation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23298 72102866-910b-0410-8b05-ffd578937521
2006-08-16 04:54:25 +00:00
Gregory John Casamento
b87d2a64cd * Headers/Additions/GNUstepGUI/GSNibCompatibility.h: Added oids method.
* Images/common_Printer.tiff: Replaced old printer icon with one
  created from the PrefsIcon_SelectSpooler_Tile.jpg image on the website.
* Source/GSNibCompatibility.m: Added oids method to get the map.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23292 72102866-910b-0410-8b05-ffd578937521
2006-08-15 05:04:35 +00:00
Gregory John Casamento
baf3f68d20 encoding improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23285 72102866-910b-0410-8b05-ffd578937521
2006-08-13 20:21:46 +00:00
Gregory John Casamento
fe2d2fe22d Temporary rollback of change to -[NSControl mouseDown:] until it can be determined why it is causing some applications to crash.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23284 72102866-910b-0410-8b05-ffd578937521
2006-08-13 17:06:57 +00:00
Gregory John Casamento
5f8663e528 minor cleanup of changelog.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23283 72102866-910b-0410-8b05-ffd578937521
2006-08-13 16:05:48 +00:00
Gregory John Casamento
e977cbec49 Remove >>>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23281 72102866-910b-0410-8b05-ffd578937521
2006-08-13 13:58:24 +00:00
Gregory John Casamento
74049ce6bc Added NSPSMatrix private class, added GS specific keys to NSProgressIndicator for info that GS encodes, but Cocoa doesn't. All GS specific keys shall have GS* as the prefix. Implemented encodeWithCoder: in NSTableColumn and corrected NSTable encoding to correct problems during IB loading.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23265 72102866-910b-0410-8b05-ffd578937521
2006-08-12 22:44:56 +00:00
Fred Kiefer
f2beece4f3 Small clean ups in NSView, NSTableView and the headers included in
AppKit.h


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23257 72102866-910b-0410-8b05-ffd578937521
2006-08-11 20:04:53 +00:00
Fred Kiefer
ccc72cc74f Moved tracking code from controll to cell class to allow the use in a
matrix.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23255 72102866-910b-0410-8b05-ffd578937521
2006-08-11 14:08:32 +00:00
Gregory John Casamento
bad637ff8e Correct memory issue with NSClassSwapper, encode control view in the action cell, add comments.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23249 72102866-910b-0410-8b05-ffd578937521
2006-08-11 05:53:28 +00:00
Fred Kiefer
75d5b070c1 Simplified NSControls mouseDown: method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23248 72102866-910b-0410-8b05-ffd578937521
2006-08-10 21:54:18 +00:00
Gregory John Casamento
cd1a7a04cd Update changelog.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23228 72102866-910b-0410-8b05-ffd578937521
2006-08-09 06:29:16 +00:00
Gregory John Casamento
59eedc6dac Correct encoding of repeat and delay, since they are encoded as ints.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23227 72102866-910b-0410-8b05-ffd578937521
2006-08-09 06:27:58 +00:00
Gregory John Casamento
78bbf9e972 Implement encoding for these objects and correct issue with font size encoding. It was encoded/decoded as an int when it should have been a float.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23226 72102866-910b-0410-8b05-ffd578937521
2006-08-09 05:48:54 +00:00
Gregory John Casamento
84d0296b74 Correction for GSNibCompatibility. Added coding to classes for keyed archiving.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23225 72102866-910b-0410-8b05-ffd578937521
2006-08-09 01:37:32 +00:00
Fred Kiefer
dc4a427c47 Clean up of NSStepper and NSStepperCell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23224 72102866-910b-0410-8b05-ffd578937521
2006-08-08 23:14:14 +00:00
Fred Kiefer
6bbbc9a062 Adopted setBordered: and setBezeled: to Cocoa documentation to always
switch off the other setting.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23212 72102866-910b-0410-8b05-ffd578937521
2006-08-07 15:41:11 +00:00
Gregory John Casamento
48db9c7614 Correction for window size in -[NSWindowTemplate nibInstantiate]. Implemented encoding in encodeWithCoder: for some classes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23207 72102866-910b-0410-8b05-ffd578937521
2006-08-06 04:32:16 +00:00
Gregory John Casamento
3db08e83f6 Encode item and title of menu, so that it will show in the nib.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23206 72102866-910b-0410-8b05-ffd578937521
2006-08-05 13:08:53 +00:00
Gregory John Casamento
fb8609cf7a Don't encode the superview when encoding the contentView of a window, since it can be a subview of the GS decoration views. Correct type for visibleWindows, should be NSArray, not NSSet.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23204 72102866-910b-0410-8b05-ffd578937521
2006-08-05 12:46:20 +00:00
Fred Kiefer
d0d68dd618 Corrected bug #17096, setting of typing attributes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23183 72102866-910b-0410-8b05-ffd578937521
2006-07-20 22:32:41 +00:00
Gregory John Casamento
6462d48f4a Added better error message to initWithCoder in GSNibContainer and also added code in GSNibCompatibility to fix superview and window settings after a window is loaded in the nib file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23180 72102866-910b-0410-8b05-ffd578937521
2006-07-19 03:16:49 +00:00
Eric Sersale
06fed61392 * Headers/AppKit/NSHelpManager.h:
* Source/NSHelpManager.m:
  added -setContextHelp:forObject: as specified in Apple docs;
  -setContextHelp:withObject: deprecated. 


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23174 72102866-910b-0410-8b05-ffd578937521
2006-07-17 12:03:15 +00:00
Eric Sersale
acf57e2b37 * Headers/Additions/GNUstepGUI/GSHelpManagerPanel.h: added -buttonAction:
method.
* Source/GSHelpManagerPanel.m: implemented -buttonAction:.
added a button to close the panel and changed the style mask of the window 
to NSTitledWindowMask | NSResizableWindowMask.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23171 72102866-910b-0410-8b05-ffd578937521
2006-07-16 13:32:01 +00:00
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
b0af40b1cb Fix stupid error in last change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23131 72102866-910b-0410-8b05-ffd578937521
2006-07-05 08:02:12 +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
ea1193ea83 Slight change in ChangeLog for clarity.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23073 72102866-910b-0410-8b05-ffd578937521
2006-06-17 14:54:37 +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
Gregory John Casamento
88e2fc3400 Remove uneeded declarations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23046 72102866-910b-0410-8b05-ffd578937521
2006-06-11 01:06:41 +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