Commit graph

102 commits

Author SHA1 Message Date
Felipe A. Rodriguez
ddfdb35ec3 * NSSplitView in initWithFrame changed default back color to light gray.
* NSSavePanel modified to inherit from NSPanel per OS spec.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2896 72102866-910b-0410-8b05-ffd578937521
1998-08-04 08:33:31 +00:00
Felipe A. Rodriguez
dd443b1caa * NSText in setText modified to use ASSIGN macro.
* NSText added draws_background ivar and implemented it's set method.
	* NSText reformatted code.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2889 72102866-910b-0410-8b05-ffd578937521
1998-08-01 15:41:49 +00:00
Felipe A. Rodriguez
40a755eeb5 * NSMatrix.m in mouseDown adjusted the selection process when in List mode
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2877 72102866-910b-0410-8b05-ffd578937521
1998-07-29 10:28:36 +00:00
Adam Fedor
8d2cc1717c New split view, other fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2869 72102866-910b-0410-8b05-ffd578937521
1998-07-28 17:51:55 +00:00
Felipe A. Rodriguez
b2a8e958e6 * NSScroller.m in trackScrollButtons method added code to highlight cell
prior to calling trackMouse.  In keeping with new behaviour of NSCell.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2867 72102866-910b-0410-8b05-ffd578937521
1998-07-28 09:30:51 +00:00
Felipe A. Rodriguez
753def7785 * NSCell.m: changed implementation of trackMouse method so that it does
not hightlight the cell.  The new behavior is as described in the spec
		for NSControl, NSMatrix and NSCell.  According to the spec it is the
		responsibility of the control to highlight the cell prior to calling
		cell's track method.
	* NSMatrix.m: rewrote mousedown to more closely mimic the NS/OS behavior.
	* NSButton.m: modified to support new behavior of NSCell's track mode.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2865 72102866-910b-0410-8b05-ffd578937521
1998-07-26 01:15:17 +00:00
Felipe A. Rodriguez
68df7a7ebf * Source/NSBrowser.m fixed bug where column matrix was getting released
twice in method _performLoadOfColumn.
* NSCell.m: isOpaque returns whether cell is bezeled per NS docs.
* NSText.m: implemented setBackground and back color release in dealloc.
* NSMenu.m: insertItemWithTitle moved set font position for performance


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2856 72102866-910b-0410-8b05-ffd578937521
1998-07-18 19:21:22 +00:00
Felipe A. Rodriguez
67e0ab8be0 * Source/NSBrowser.m fixed bug where column matrix was getting released
twice in method _performLoadOfColumn.
* NSCell.m:  isOpaque returns whether cell is bezeled per NS docs.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2835 72102866-910b-0410-8b05-ffd578937521
1998-07-14 17:51:44 +00:00
Felipe A. Rodriguez
f07bf17280 added check for a valid view in NSView's _pathBetweenSubview... method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2834 72102866-910b-0410-8b05-ffd578937521
1998-07-12 15:15:36 +00:00
Felipe A. Rodriguez
df43649637 change in NSBrowser because oldmatrix was getting released twice
various changes to NSMatrix's mousedown to support double clicks
added field editor instance variable to NSWindow


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2830 72102866-910b-0410-8b05-ffd578937521
1998-07-10 18:44:18 +00:00
Adam Fedor
e56b4efe32 Minor fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2807 72102866-910b-0410-8b05-ffd578937521
1998-05-29 18:24:07 +00:00
Scott Christley
4e4828f122 * Documentation/status.tmpl.texi: Update.
* Add Adobe printer definition files.
	* PrinterTypes/English.lproj/*.ppd: New file.s
	* PrinterTypes/French.lproj/*.ppd: New file.s
	* PrinterTypes/German.lproj/*.ppd: New file.s
	* PrinterTypes/Italian.lproj/*.ppd: New file.s
	* PrinterTypes/Spanish.lproj/*.ppd: New file.s
	* PrinterTypes/Swedish.lproj/*.ppd: New file.s

	* Headers/gnustep/gui/NSPrinter.h (+printerNames): Add method.
	* Source/NSPrinter.m: Major rewrite.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2786 72102866-910b-0410-8b05-ffd578937521
1998-04-07 01:03:24 +00:00
Scott Christley
b0a80fbf9d Version 0.5.0 release.
Minor bug fixes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2773 72102866-910b-0410-8b05-ffd578937521
1998-03-11 22:00:50 +00:00
Adam Fedor
e476d477b3 Change GNUSTEP_MAKEFILE_DIR to GNUSTEP_MAKEFILES
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2738 72102866-910b-0410-8b05-ffd578937521
1998-02-06 19:12:03 +00:00
Adam Fedor
f59806d975 Revised method for compiling GNUstep package.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2732 72102866-910b-0410-8b05-ffd578937521
1998-02-05 16:48:59 +00:00
Adam Fedor
9e5d9ef72b Allow library to be compiled without installing supporting libraries.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2726 72102866-910b-0410-8b05-ffd578937521
1998-02-04 17:46:08 +00:00
Ovidiu Predescu
8f9aad2c38 Fixes to make the code work with the BaseFinderOpen port to GNUstep.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2713 72102866-910b-0410-8b05-ffd578937521
1998-01-30 00:34:25 +00:00
Ovidiu Predescu
83942f9a80 Several changes to support porting of an OPENSTEP application to GNUstep.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2689 72102866-910b-0410-8b05-ffd578937521
1998-01-09 22:28:14 +00:00
Ovidiu Predescu
76741e1d40 Added suport for model loading.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2665 72102866-910b-0410-8b05-ffd578937521
1997-12-04 01:58:57 +00:00
Scott Christley
6d56e48e78 Fix some event, runloop and flushing interaction problems.
Add NSWindowView which is a specialized view that handles drawing a
window's decorations and background color.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2638 72102866-910b-0410-8b05-ffd578937521
1997-11-14 21:32:31 +00:00
Ovidiu Predescu
0639c42c5f Changed to use the values from the defaults database if specified. Minor fixes to the compilation process.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2608 72102866-910b-0410-8b05-ffd578937521
1997-11-01 21:20:49 +00:00
Scott Christley
8b0975e122 Initial implementation of NSBrowser and NSBrowserCell.
Numerous bug fixes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2596 72102866-910b-0410-8b05-ffd578937521
1997-10-31 01:24:08 +00:00
Ovidiu Predescu
88a15677eb Remove the view from its super view's list of views that need display when the view is removed from the views hierarchy.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2588 72102866-910b-0410-8b05-ffd578937521
1997-10-29 22:17:51 +00:00
Ovidiu Predescu
87966db359 Incorporated bug fixes from Benhur Stein.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2587 72102866-910b-0410-8b05-ffd578937521
1997-10-29 21:56:04 +00:00
Ovidiu Predescu
579a086eee Define GNUSTEP_INSTALLATION_DIR to point to the system root.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2579 72102866-910b-0410-8b05-ffd578937521
1997-10-28 20:53:03 +00:00
Ovidiu Predescu
062915eb1a Makefiles changed to GNUmakefile.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2577 72102866-910b-0410-8b05-ffd578937521
1997-10-28 20:44:38 +00:00
Richard Frith-MacDonald
c65510eff3 Moved PasteboardServer.h to the Tools directory and added a log message
where we can't contact the pasteboard server.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2568 72102866-910b-0410-8b05-ffd578937521
1997-10-28 12:56:39 +00:00
Richard Frith-MacDonald
9bbc7cce07 gpbs.m has been moved to the Tools directory.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2565 72102866-910b-0410-8b05-ffd578937521
1997-10-28 12:22:02 +00:00
Richard Frith-MacDonald
a8679851fd Simplified the source, rearranging code round exception handlers to
avoid spurious compiler warnings.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2564 72102866-910b-0410-8b05-ffd578937521
1997-10-28 12:21:23 +00:00
Ovidiu Predescu
259f94743d Incorporated Benhur Stein's bug fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2544 72102866-910b-0410-8b05-ffd578937521
1997-10-22 01:47:30 +00:00
Ovidiu Predescu
63b4191f3a Fixed the flushing optimization code. Updated the documentation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2540 72102866-910b-0410-8b05-ffd578937521
1997-10-22 00:27:59 +00:00
Scott Christley
502453429f Fill out NSBox implementation.
Minor bug fixes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2536 72102866-910b-0410-8b05-ffd578937521
1997-10-20 22:01:25 +00:00
Scott Christley
139d69efb8 Fix some bugs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2516 72102866-910b-0410-8b05-ffd578937521
1997-10-16 19:55:54 +00:00
Ovidiu Predescu
5068c65e2f Update the documentation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2509 72102866-910b-0410-8b05-ffd578937521
1997-10-16 00:12:18 +00:00
Ovidiu Predescu
6b7587e61e Removed unnecessary code in NSMatrix.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2502 72102866-910b-0410-8b05-ffd578937521
1997-10-13 23:34:06 +00:00
Ovidiu Predescu
9837b14866 NSSlider implemented. Optimizations in displaying and flushing mechanism. A bunch of memory allocation problems fixed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2494 72102866-910b-0410-8b05-ffd578937521
1997-10-09 22:55:31 +00:00
Scott Christley
aee90a695e Convert to the GNUstep makefile package.
The config.h files should not be installed with the other
header files; it is only used for compilation, so the source
files should include it not the header files.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2439 72102866-910b-0410-8b05-ffd578937521
1997-09-23 22:43:24 +00:00
Richard Frith-MacDonald
5215b68087 Added some debug code to trace get/set of data.
Tidied setData:forType:isFile:oldCount: for the case where we are setting
file content.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2414 72102866-910b-0410-8b05-ffd578937521
1997-09-11 13:42:03 +00:00
Richard Frith-MacDonald
5526ad8daf Added methods to ask the pasteboard owner to provide data.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2413 72102866-910b-0410-8b05-ffd578937521
1997-09-11 13:40:01 +00:00
Richard Frith-MacDonald
a92177e9f8 Added code to use the NSHost key in NSUserDefaults to determine the name of
the host whose pasteboard server is to be used.  If there is no NSHost value
set, the host on which the app is executing (as given by NSProcessInfo) is used.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2409 72102866-910b-0410-8b05-ffd578937521
1997-09-02 09:45:22 +00:00
Richard Frith-MacDonald
c9536c6a2d Added line to include NSConnection.h
This is needed because it's where NSConnectionReplyMode is declared according
to the OpenStep spec (and where it is/will-be in gstep-base).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2405 72102866-910b-0410-8b05-ffd578937521
1997-09-01 20:48:57 +00:00
Richard Frith-MacDonald
04902b56d7 Added a few lines to build 'gpbs' the GNU PasteBoard Server - which provides
the central pasteboard system for the NSPasteboard class.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2404 72102866-910b-0410-8b05-ffd578937521
1997-09-01 20:42:20 +00:00
Richard Frith-MacDonald
eabe3f6ad1 This is an initial implementation of the pasteboard server to be used by
the NSPasteboard class.  Currently, filters are not supported.  The server
depends on bug fixes and other stuff in gstep-base which has not yet been
rolled into the latest snapshots.  Please contact me directly if you want
to play with this - richard@brainstorm.co.uk


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2403 72102866-910b-0410-8b05-ffd578937521
1997-09-01 20:25:56 +00:00
Richard Frith-MacDonald
4b9aaa2d30 This is an implementation of the NSPasteboard class - it's purpose is
mainly to communicate with the pasteboard server (gpbs).  There are some
extensions to permit a history of pasteboard items.
This is currently largely untested (call it pre-alpha) and also depends on
bug fixes and changes to gstep-base which have not yet been rolled into the
main release.  Anyone interested in using the pastboard - please contact me
richard@brainstorm.co.uk


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2402 72102866-910b-0410-8b05-ffd578937521
1997-09-01 20:21:07 +00:00
Ovidiu Predescu
38a4416030 Fixes to allow the library compile under NeXT PDO.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2396 72102866-910b-0410-8b05-ffd578937521
1997-08-27 21:20:19 +00:00
Scott Christley
77be56606f Scrolling is now working with the new scalation/rotation code (there are still few bugs...).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2391 72102866-910b-0410-8b05-ffd578937521
1997-08-22 18:38:38 +00:00
Scott Christley
d4bfac2d3a Added scaling and rotation support.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2386 72102866-910b-0410-8b05-ffd578937521
1997-08-18 17:10:23 +00:00
Scott Christley
8400afb2ee remove debugging code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2382 72102866-910b-0410-8b05-ffd578937521
1997-08-17 00:04:59 +00:00
Scott Christley
287c850658 Numerous WIN32 and bug fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2380 72102866-910b-0410-8b05-ffd578937521
1997-08-16 23:47:24 +00:00
Scott Christley
433204b18a Bugs removed from NSButton and NSDPSContext.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2374 72102866-910b-0410-8b05-ffd578937521
1997-08-06 20:29:07 +00:00