Commit graph

3409 commits

Author SHA1 Message Date
Fabien Vallon
b1d0033448 Improve documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21966 72102866-910b-0410-8b05-ffd578937521
2005-11-08 13:39:17 +00:00
Fred Kiefer
a41f94ab08 Take care that images render to the correct screen.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21963 72102866-910b-0410-8b05-ffd578937521
2005-11-06 19:37:27 +00:00
Fred Kiefer
ed11dd4840 Corrected bug 14901.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21941 72102866-910b-0410-8b05-ffd578937521
2005-11-03 22:26:00 +00:00
David Ayers
db9a23f78a * Headers/Additions/GNUstepGUI/GSDrawFunctions.h,
* Source/GSDrawFunctions.m (+[theme],+[setTheme:]): New accessor
	methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21937 72102866-910b-0410-8b05-ffd578937521
2005-11-02 13:55:27 +00:00
Richard Frith-Macdonald
7c41f22c15 Minor fixup for when user's Library directory does not exist.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21872 72102866-910b-0410-8b05-ffd578937521
2005-10-25 13:53:29 +00:00
Richard Frith-Macdonald
ef3a555cd6 Fix bug #14008
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21858 72102866-910b-0410-8b05-ffd578937521
2005-10-23 10:53:39 +00:00
Fred Kiefer
926938ffd0 Corrected previous patch-
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21847 72102866-910b-0410-8b05-ffd578937521
2005-10-20 18:39:21 +00:00
Fred Kiefer
0a310d0b60 Removed gcc 4.02 compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21846 72102866-910b-0410-8b05-ffd578937521
2005-10-19 23:54:22 +00:00
Fred Kiefer
b6da6cd684 Don't call NSDocumentController on application termination, if not needed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21841 72102866-910b-0410-8b05-ffd578937521
2005-10-18 07:46:25 +00:00
Fred Kiefer
9c2cf54e7e Accept dragged file names in NSSavePanel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21838 72102866-910b-0410-8b05-ffd578937521
2005-10-17 11:50:04 +00:00
Fred Kiefer
a360bbba59 Adjust mark display for vertical rulers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21822 72102866-910b-0410-8b05-ffd578937521
2005-10-14 10:57:09 +00:00
Richard Frith-Macdonald
7dda819713 Implement -extendPowerOffBy:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21789 72102866-910b-0410-8b05-ffd578937521
2005-10-09 09:10:56 +00:00
Richard Frith-Macdonald
bc81c42dab Changes to allow clean app termination even when multiple copies of the
same app are running.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21788 72102866-910b-0410-8b05-ffd578937521
2005-10-09 06:39:08 +00:00
Richard Frith-Macdonald
b5c8c6000c Fixes for better workspace notification and to allow shutdown of an app
by an external process.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21784 72102866-910b-0410-8b05-ffd578937521
2005-10-08 09:42:22 +00:00
Richard Frith-Macdonald
bd8fb5fc53 Hacks by Greg to placate 4.1 compiler. Just in case we can't persuade them
to 'fix' cast to union with an 'id' member.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21783 72102866-910b-0410-8b05-ffd578937521
2005-10-07 09:57:51 +00:00
Fred Kiefer
8943b5d429 Improved object value setting to be closer to the Cocoa behaviour.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21771 72102866-910b-0410-8b05-ffd578937521
2005-10-04 23:48:36 +00:00
Gregory John Casamento
d163516298 Added NSDataLinkManager methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21711 72102866-910b-0410-8b05-ffd578937521
2005-09-10 21:06:25 +00:00
Richard Frith-Macdonald
e97187862a After chwecking MacOS-X ... reimplement last change usiing a private helper
method to send notifications of view moving to window.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21676 72102866-910b-0410-8b05-ffd578937521
2005-08-25 07:44:25 +00:00
Richard Frith-Macdonald
bf2bd2d0a3 Implemented viewDidMoveToWindow:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21675 72102866-910b-0410-8b05-ffd578937521
2005-08-25 07:30:13 +00:00
Gregory John Casamento
f12e95ec66 Correction for crash on 64bit platforms.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21666 72102866-910b-0410-8b05-ffd578937521
2005-08-22 06:38:04 +00:00
Sergii Stoian
c728573e22 Add forgotten saving old position
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21646 72102866-910b-0410-8b05-ffd578937521
2005-08-17 12:53:17 +00:00
Sergii Stoian
e251c37762 Dismiss the popup after mouse tracking done. This is for the cases when mouse up event occurs outside of popup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21643 72102866-910b-0410-8b05-ffd578937521
2005-08-16 23:22:38 +00:00
Sergii Stoian
f00ec3ca2b Don't try to resize subviews if divider positon wasn't changed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21642 72102866-910b-0410-8b05-ffd578937521
2005-08-16 23:22:05 +00:00
Sergii Stoian
7ae7d410bf Fix calculating columns width for unseparated columns
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21641 72102866-910b-0410-8b05-ffd578937521
2005-08-16 23:21:26 +00:00
Adam Fedor
0bc504670d * Source/GNUmakefile.postamble (Info-gnustep.plist): Depend on
../Version.
* Source/NSOutlineView.m ([NSOutlineView -rowForItem:]): Declare var
at beginning of block for gcc2 (Fixes Bug #13936).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21554 72102866-910b-0410-8b05-ffd578937521
2005-07-27 17:13:55 +00:00
Gregory John Casamento
e8fe1e33a9 Added explicit check for item == nil.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21540 72102866-910b-0410-8b05-ffd578937521
2005-07-26 02:24:54 +00:00
Gregory John Casamento
ff1506b59c Corrected problem with NSOutlineView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21539 72102866-910b-0410-8b05-ffd578937521
2005-07-26 02:22:28 +00:00
Gregory John Casamento
07a3bffbc4 Prevent accidental deallocation of contentView in custom window subclass.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21509 72102866-910b-0410-8b05-ffd578937521
2005-07-21 12:29:24 +00:00
Adam Fedor
23a1eb2f02 * Source/NSApplication.m (gnustep_backend_path,
gnustep_backend_framework, gnustep_backend_bundle): New functions.
(initialize_gnustep_backend): Support versioning of backend bundle.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21495 72102866-910b-0410-8b05-ffd578937521
2005-07-17 14:15:56 +00:00
Adam Fedor
239d1b5296 Fix some documentation errors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21494 72102866-910b-0410-8b05-ffd578937521
2005-07-17 14:07:07 +00:00
Richard Frith-Macdonald
f98ecc041a Exit on uncaught exception.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21452 72102866-910b-0410-8b05-ffd578937521
2005-07-12 07:07:00 +00:00
Adrian Robert
4dcb44655a In NSSavePanel-ok:, determine user-entered filename before passing it to delegate filter userEnteredFilename.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21442 72102866-910b-0410-8b05-ffd578937521
2005-07-10 02:48:01 +00:00
Fred Kiefer
d54180c5bb Added methods for pattern colour and alpha image composition.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21436 72102866-910b-0410-8b05-ffd578937521
2005-07-08 23:51:49 +00:00
Richard Frith-Macdonald
ba2eea830f Fix for behavior dependent on bug in base library exception raising.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21388 72102866-910b-0410-8b05-ffd578937521
2005-07-01 06:43:25 +00:00
Richard Frith-Macdonald
1ccc34c720 Fix double release
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21371 72102866-910b-0410-8b05-ffd578937521
2005-06-28 10:16:37 +00:00
Richard Frith-Macdonald
b2240b693f Fix bug #13310
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21370 72102866-910b-0410-8b05-ffd578937521
2005-06-28 10:09:14 +00:00
Fred Kiefer
2ee8028fde Corrected handling of screen size for menu.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21339 72102866-910b-0410-8b05-ffd578937521
2005-06-21 22:48:21 +00:00
Fred Kiefer
6271fe55d4 +colorFromString: make sure to always release scanner.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21326 72102866-910b-0410-8b05-ffd578937521
2005-06-18 11:24:03 +00:00
Adam Fedor
a2f3571cfc * Source/NSPopUpButtonCell.m (-setObjectValue:): Use
respondsToSelector.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21323 72102866-910b-0410-8b05-ffd578937521
2005-06-17 14:55:48 +00:00
Fabien Vallon
2560b02680 setAnimationDelay: Fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21311 72102866-910b-0410-8b05-ffd578937521
2005-06-16 12:34:13 +00:00
Richard Frith-Macdonald
d91f6493fd Attempt to improve portability of determining mounted devices.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21289 72102866-910b-0410-8b05-ffd578937521
2005-06-06 19:40:48 +00:00
Richard Frith-Macdonald
9e7fcbfbfc implement local mount point listing as drive listing under mingw
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21288 72102866-910b-0410-8b05-ffd578937521
2005-06-06 18:27:22 +00:00
Adrian Robert
1345d7506d filled in various gsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21287 72102866-910b-0410-8b05-ffd578937521
2005-06-06 04:05:05 +00:00
Gregory John Casamento
15fa68d502 Minor updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21285 72102866-910b-0410-8b05-ffd578937521
2005-06-04 19:52:40 +00:00
Gregory John Casamento
f15b1a56b7 Adds window autopositioning to Gorm.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21280 72102866-910b-0410-8b05-ffd578937521
2005-06-04 11:35:22 +00:00
Fred Kiefer
8293b1e6a3 Corrected dismissing of popup button cell menu.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21270 72102866-910b-0410-8b05-ffd578937521
2005-05-30 19:19:42 +00:00
Fred Kiefer
162d86266e Applyed patch by Matt Rice.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21269 72102866-910b-0410-8b05-ffd578937521
2005-05-30 17:01:21 +00:00
Adam Fedor
344645cce3 * Source/NSAffineTransform.m (matrix_multiply): New function.
(appendTransform:, prependTransform:, rotateByRadians:,
scaleBy:, scaleXBy:yBy:, translateXBy:yBy:,
concatenateWithMatrix:): Use it.
(rotateByDegrees:) Use rotateByRadians:.  Fixes bug #13181.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21267 72102866-910b-0410-8b05-ffd578937521
2005-05-27 20:49:12 +00:00
Fred Kiefer
41c3e4644b Make sure popup button cells wont get notifications after being dealloceated.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21266 72102866-910b-0410-8b05-ffd578937521
2005-05-27 13:41:46 +00:00
Fred Kiefer
eb7eaa1654 Improved mouseDown call handling for table view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21262 72102866-910b-0410-8b05-ffd578937521
2005-05-26 13:38:11 +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
Fred Kiefer
cbb49af830 Small changes for NSAlert.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21250 72102866-910b-0410-8b05-ffd578937521
2005-05-22 23:53:35 +00:00
Fred Kiefer
931fa977c7 Allow cells to print even when not connected to a window.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21249 72102866-910b-0410-8b05-ffd578937521
2005-05-22 21:12:08 +00:00
Fred Kiefer
b63d9513ca Improved combobox layout.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21248 72102866-910b-0410-8b05-ffd578937521
2005-05-22 10:27:24 +00:00
Fred Kiefer
694ae7c56a Implemented animate resize.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21240 72102866-910b-0410-8b05-ffd578937521
2005-05-20 14:33:43 +00:00
Fred Kiefer
29db6affc8 Added new NSResponder method declarations and implemented shouldBeTreatedAsInkEvent:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21238 72102866-910b-0410-8b05-ffd578937521
2005-05-20 12:31:42 +00:00
Fred Kiefer
fe0e6ce497 Treat nil as image unsetting in setObjectValue:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21233 72102866-910b-0410-8b05-ffd578937521
2005-05-19 11:45:54 +00:00
Gregory John Casamento
2c274d8449 Prevent call to designated init when className and superClass are equivalent.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21180 72102866-910b-0410-8b05-ffd578937521
2005-05-03 03:45:38 +00:00
Gregory John Casamento
9e040bfe2b Correction to template. Should initilialize with the content rect, not the window rect.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21175 72102866-910b-0410-8b05-ffd578937521
2005-05-01 21:09:58 +00:00
Adrian Robert
159eed5a6c NSFont cache font for drawing in flipped views in manner analogous to cache of nonflipped screen font for drawing in regular views
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21170 72102866-910b-0410-8b05-ffd578937521
2005-04-30 16:11:22 +00:00
Adrian Robert
cc5f3e4939 [NSApplication -run]: only execute launch sequence on first call; unhide mouse on application exit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21162 72102866-910b-0410-8b05-ffd578937521
2005-04-27 04:22:31 +00:00
Gregory John Casamento
502aa73e64 Removed assertion and cleaned up comments.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21158 72102866-910b-0410-8b05-ffd578937521
2005-04-25 04:08:10 +00:00
Fred Kiefer
7084ee0b3b Fixed bug #12680 and further clean up of NSPopupButtonCell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21122 72102866-910b-0410-8b05-ffd578937521
2005-04-17 21:25:32 +00:00
Fred Kiefer
afe71bc4c7 Added missing keyed encoding for NSColor.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21121 72102866-910b-0410-8b05-ffd578937521
2005-04-17 19:40:57 +00:00
Gregory John Casamento
819869d5e3 Correction for minor leak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21088 72102866-910b-0410-8b05-ffd578937521
2005-04-11 14:30:27 +00:00
Fred Kiefer
8524adaabf Added keyed encoding for NSFont and NSColor.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21078 72102866-910b-0410-8b05-ffd578937521
2005-04-09 12:01:32 +00:00
Fred Kiefer
daa83e855e Prevent exception when subview is added at the end of the subview list.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21073 72102866-910b-0410-8b05-ffd578937521
2005-04-07 22:13:10 +00:00
Gregory John Casamento
7036061d5d Correction for bug #12412.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21041 72102866-910b-0410-8b05-ffd578937521
2005-04-03 19:03:38 +00:00
Richard Frith-Macdonald
c55a8d1a73 Make DnD follow mouse pointer in text view
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21038 72102866-910b-0410-8b05-ffd578937521
2005-04-03 10:39:32 +00:00
Richard Frith-Macdonald
508987f93b Fix last mod
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21035 72102866-910b-0410-8b05-ffd578937521
2005-04-02 04:11:43 +00:00
Richard Frith-Macdonald
4fbf9733d1 Minor tweak suggested by Enrico
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21033 72102866-910b-0410-8b05-ffd578937521
2005-04-02 04:09:39 +00:00
Adam Fedor
39bc6b4f68 * Headers/AppKit/NSDataLinkManager.h, Source/NSDataLinkManager.m:
Re-add the changes from 2005-03-05.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21029 72102866-910b-0410-8b05-ffd578937521
2005-04-01 15:39:05 +00:00
Richard Frith-Macdonald
d2bb38a102 DnD cleanups and fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21028 72102866-910b-0410-8b05-ffd578937521
2005-04-01 14:10:39 +00:00
Adam Fedor
f3f0b8b94d * Version 0.9.5
* Headers/AppKit/NSDataLinkManager.h, Source/NSDataLinkManager.m:
Partially revert 2005-03-05 patch for this release.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21010 72102866-910b-0410-8b05-ffd578937521
2005-03-30 23:55:32 +00:00
Adrian Robert
0f35cf0f7f in -_extIconForApp, check filename not empty string before passing to bundle method (which raises an exception)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21005 72102866-910b-0410-8b05-ffd578937521
2005-03-30 03:13:43 +00:00
Adrian Robert
f90da49627 undeprecate DPSxshow, yshow, xyshow, ashow, widthshow, awidthshow
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21001 72102866-910b-0410-8b05-ffd578937521
2005-03-29 14:07:38 +00:00
Richard Frith-Macdonald
4f37f34b9f Tweaks for subclassing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20998 72102866-910b-0410-8b05-ffd578937521
2005-03-29 10:08:50 +00:00
Richard Frith-Macdonald
bd3e29cb15 DnD bugfixes and cleanups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20985 72102866-910b-0410-8b05-ffd578937521
2005-03-28 08:34:31 +00:00
Adam Fedor
bc6d45f6f7 * configure.ac: Check for libgif
* Source/NSBitmapImageRep+GIF.m: Support libgif
* Source/NSBitmapImageRem.m: Idem. (Fixes Bug #12362).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20936 72102866-910b-0410-8b05-ffd578937521
2005-03-21 16:12:02 +00:00
Adam Fedor
d26851fad0 * Headers/AppKit/DPSOperators.h, Headers/AppKit/NSGraphics.h:
Modify selectors to play nice with C++ compiler.
* Headers/AppKit/NSAffineTransform.h, Headers/AppKit/NSFontManager.h,
Headers/AppKit/NSPageLayout.h: Modify arg name for same purpose.
* Source/NSAffineTransform.m, Source/NSFontManager.m,
Source/NSPageLayout.m: Modify to match header. (Patch from
Francis Franklin, with some modifications).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20930 72102866-910b-0410-8b05-ffd578937521
2005-03-20 04:35:12 +00:00
Fred Kiefer
d9c6b6ac53 Corrected (hopefully) last patch.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20907 72102866-910b-0410-8b05-ffd578937521
2005-03-14 19:11:19 +00:00
Richard Frith-Macdonald
184a0e3da3 Fix code whaich produced uninitialised space in the cells array.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20905 72102866-910b-0410-8b05-ffd578937521
2005-03-14 10:54:49 +00:00
Richard Frith-Macdonald
52ff2b181d Fix bug #12296
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20904 72102866-910b-0410-8b05-ffd578937521
2005-03-13 17:35:47 +00:00
Fred Kiefer
7133a6a263 Added new methods to NSFont and moved NSControlSize into NSColor header.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20868 72102866-910b-0410-8b05-ffd578937521
2005-03-07 13:25:29 +00:00
Adrian Robert
666144bbd8 NSApplication-_windowDidResignKey: - unhide mouse to avoid unexpected effects when switching focus w/keyboard
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20853 72102866-910b-0410-8b05-ffd578937521
2005-03-05 18:14:38 +00:00
Adrian Robert
f9855fbf42 NSScroller: calculate buttonsWidth dyamically based on +scrollerWidth
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20851 72102866-910b-0410-8b05-ffd578937521
2005-03-05 16:08:30 +00:00
Gregory John Casamento
45f40695b6 More data link implementation details.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20850 72102866-910b-0410-8b05-ffd578937521
2005-03-05 15:50:32 +00:00
Adrian Robert
51e0bb96e8 clarify gsdoc explaining why Apple docs not followed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20808 72102866-910b-0410-8b05-ffd578937521
2005-02-28 04:18:06 +00:00
Fred Kiefer
d4b9870e0f New system colour methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20789 72102866-910b-0410-8b05-ffd578937521
2005-02-24 01:06:13 +00:00
Fred Kiefer
0aa987bab9 Small keyed decoding improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20768 72102866-910b-0410-8b05-ffd578937521
2005-02-21 00:59:32 +00:00
Fred Kiefer
f351b52085 Use default filename from user defaults.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20752 72102866-910b-0410-8b05-ffd578937521
2005-02-19 17:00:00 +00:00
Fred Kiefer
f9a7c84e10 Moved mouse interaction of popup button from control to cell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20719 72102866-910b-0410-8b05-ffd578937521
2005-02-14 18:33:46 +00:00
Richard Frith-Macdonald
f7892fd073 Fix for bug #11906
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20704 72102866-910b-0410-8b05-ffd578937521
2005-02-14 10:35:39 +00:00
Fred Kiefer
d18480663e Added basic implementation for window alpha handling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20697 72102866-910b-0410-8b05-ffd578937521
2005-02-12 18:15:25 +00:00
Fred Kiefer
ad60418d78 Further corrected last change. Thanks to Alexander M.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20692 72102866-910b-0410-8b05-ffd578937521
2005-02-12 10:22:36 +00:00
Fred Kiefer
fbd0414fba Corrected rectangle transforamtion to fix #11562.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20690 72102866-910b-0410-8b05-ffd578937521
2005-02-11 22:35:52 +00:00
Matt Rice
16af347226 * Source/NSApplication.m (-changeWindowsItem:title:filename:): If the
window can become key, use makeKeyAndOrderFront: as the action.
        (-updateWindowsItem:, -setWindowsMenu): Compare the title to what it
        would be if there was a represented filename, not the filename.
        * Source/NSApplication.m (-orderWindow:relativeTo:): Ditto.
        (-setExcludedFromWindowsMenu): Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20675 72102866-910b-0410-8b05-ffd578937521
2005-02-08 19:57:03 +00:00
Fred Kiefer
2d14cc4dfe Corretec bug #11887 by letting secure text field cells draw the background colour.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20669 72102866-910b-0410-8b05-ffd578937521
2005-02-08 00:26:55 +00:00
Fred Kiefer
81abfa70c7 Corrected bug #11885 on NSOutlineView, this could be optimised further.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20668 72102866-910b-0410-8b05-ffd578937521
2005-02-07 21:27:06 +00:00
Gregory John Casamento
2859ab890c Datalink and connector improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20662 72102866-910b-0410-8b05-ffd578937521
2005-02-05 20:39:49 +00:00
Alexander Malmberg
e885109f43 2005-02-03 10:54 Alexander Malmberg <alexander@malmberg.org>
* Source/NSImage.m (min, max): Rename to ...
	(gs_min, gs_max): ... this. Update callers.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20650 72102866-910b-0410-8b05-ffd578937521
2005-02-03 09:47:38 +00:00
Gregory John Casamento
7700675c89 Made change to prevent the color well's use when disabled.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20631 72102866-910b-0410-8b05-ffd578937521
2005-01-29 02:54:50 +00:00
Alexander Malmberg
79e9a091e7 2005-01-28 17:57 Alexander Malmberg <alexander@malmberg.org>
* Source/NSImageCell.m (-drawInteriorWithFrame:inView:): If our
	view is flipped, flip the image.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20629 72102866-910b-0410-8b05-ffd578937521
2005-01-28 16:58:10 +00:00
Adrian Robert
3f1e7a2e68 made -beginModalSessionForWindow: center panel only if isn't already on-screen (matches OS X); clarified gsdoc here and a couple of related places
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20624 72102866-910b-0410-8b05-ffd578937521
2005-01-27 01:36:52 +00:00
Alexander Malmberg
87a32e985f 2005-01-25 01:05 Alexander Malmberg <alexander@malmberg.org>
* Source/NSImageCell.m (-drawInteriorWithFrame:inView:): Use
	-drawInRect:fromRect:operation:fraction: to draw the image.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20614 72102866-910b-0410-8b05-ffd578937521
2005-01-25 00:01:50 +00:00
Alexander Malmberg
d67b1e64cd 2005-01-25 00:29 Alexander Malmberg <alexander@malmberg.org>
* Headers/AppKit/NSImage.h (-drawAtPoint:fromRect:fraction:)
	(-drawInRect:fromRect:operation:fraction:): Document.
	* Source/NSImage.m -drawAtPoint:fromRect:fraction:)
	(-drawInRect:fromRect:operation:fraction:): Implement.
	(min, max): New functions.
	(-drawRepresentation:inRect:): Save the gstate before drawing
	and restore it afterwards.

	Fixes bug #11712.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20611 72102866-910b-0410-8b05-ffd578937521
2005-01-24 23:28:07 +00:00
Alexander Malmberg
490f08fd30 2005-01-24 16:57 Alexander Malmberg <alexander@malmberg.org>
* Source/NSPopUpButtonCell.m (-synchronizeTitleAndSelectedItem): For
	non-pulldowns, make sure the selected item and the highlighted item
	are the same.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20610 72102866-910b-0410-8b05-ffd578937521
2005-01-24 16:14:36 +00:00
Quentin Mathe
4348b3a5ac Fixed white toolbar background bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20609 72102866-910b-0410-8b05-ffd578937521
2005-01-24 11:25:42 +00:00
Adrian Robert
a2a12020db Corrected NSSavePanel file display filtering to handle case where _requiredFileType is nil or empty string by accepting any extension.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20608 72102866-910b-0410-8b05-ffd578937521
2005-01-24 05:26:15 +00:00
Alexander Malmberg
27333c9d4c 2005-01-24 00:48 Alexander Malmberg <alexander@malmberg.org>
* Source/NSImageCell.m (-drawInteriorWithFrame:inView:): Draw
	the image using the right size, but don't scale it. Work around
	bug #11712.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20606 72102866-910b-0410-8b05-ffd578937521
2005-01-23 23:45:20 +00:00
Adrian Robert
02a7f545d7 fixed search logic in [NSFontManager -fontWithFamily:traits:weight:size]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20596 72102866-910b-0410-8b05-ffd578937521
2005-01-22 16:37:02 +00:00
Alexander Malmberg
ad2419e484 2005-01-21 21:43 Alexander Malmberg <alexander@malmberg.org>
Various whitespace cleanups, comment type fixes, and changes
	to avoid warnings from recent versions of gcc.

	* Headers/Additions/GNUstepGUI/GSToolbar.h (-_toolbars): Declare.
	* Source/NSWindow+Toolbar.m: Remove conflicting declaration of
	[NSToolbar -_toolbars].

	* Headers/Additions/GNUstepGUI/GSServicesManager.h,
 	Source/GSServicesMananger.m (-item2title:, -validateMenuItem:):
	Adjust argument types.
	* Headers/AppKit/NSMenu.h (-validateMenuItem:): Adjust argument
	type.

	* Source/NSTextView.m (-sizeToFit): Don't use size uninitialized
	if neither resizable flags is set.
	(-insertText:): Adjust argument type.
	* Headers/AppKit/NSResponder.h, Source/NSResponder.m (-insertText:):
	Adjust argument type. Document.

	* Headers/AppKit/NSView.h: Change type of ivar _window to NSWindow *.

	* Source/GSTitleView.m (-mouseDown:): Always initialize
	startWindowOrigin.
	* Source/NSApplication.m (-setApplicationIconImage:): Add casts
	to avoid warnings.
	* Source/NSCell.m (-cellSize): Add default: case.
	* Source/NSPasteboard.m
	([GSFiltered -pasteboard:provideDataForType:]): Detect and warn if we
	can't find a filter that will get us the desired type.
	* Source/NSProgressIndicator.m: Comment out unused variable 'images'.
	* Source/NSBezierPath.m: Declare GSBezierPath fully before using it.
	(-bezierPathByFlatteningPath, -bezierPathByReversingPath): Make sure
	variables are always initialized.

	* Source/NSMenuView.m,
	* Source/NSPrintOperation.m,
	* Source/NSSplitView.m,
	* Source/NSTableHeaderView.m: Make sure variables are always
	initialized.

	* Source/NSBox.m,
	* Source/NSImageview.m,
	* Source/NSText.m,
	* Source/NSTextStorage.m: Add missing includes.

	* Source/GSKeyBindingTable.m,
	* Source/GSLayoutManager.m,
	* Source/NSBitmapImageRep+PNM.m,
	* Source/NSBundleAdditions.m,
	* Source/NSLayoutManager.m,
	* Source/nsimage-tiff.h,
	* Source/tiff.m,
	* Headers/Additions/GNUstepGUI/GSDisplayServer.h,
	* Source/GSDisplayServer.m: Change signedness of various variables.

	* Source/NSPanel.m (-sendEvent:): Remove.
	* Source/NSWindow.m (-becomesKeyOnlyIfNeeded): New method.
	(-_sendEvent:becomesKeyOnlyIfNeeded:): Remove. Move code ...
	(-sendEvent:): ... here. Use -becomesKeyOnlyIfNeeded instead
	of the argument.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20590 72102866-910b-0410-8b05-ffd578937521
2005-01-21 20:39:18 +00:00
Quentin Mathe
efe686d736 Fixed GNUMail compilation with recent Darwin linker versions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20588 72102866-910b-0410-8b05-ffd578937521
2005-01-21 09:32:50 +00:00
Fred Kiefer
90952ec827 Ensure the NSTableView rowAtPoint: method always returns a valid row number.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20584 72102866-910b-0410-8b05-ffd578937521
2005-01-20 09:44:52 +00:00
Alexander Malmberg
d297a62697 2005-01-18 17:06 Alexander Malmberg <alexander@malmberg.org>
* Source/NSWindow.m
	(-initWithContentRect:styleMask:backing:defer:screen:): Assert that
	the shared application instance has been created instead of just
	calling NSLog. Make the message clearer.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20581 72102866-910b-0410-8b05-ffd578937521
2005-01-18 16:04:40 +00:00
Alexander Malmberg
f282f87e88 2005-01-18 16:53 Alexander Malmberg <alexander@malmberg.org>
* Source/NSCell.m (-setUpFieldEditorAttributes:): Clear the
	text object's string.
	* Source/NSControl.m (-setDoubleValue:, -setFloatValue:)
	(-setIntValue:, -setStringValue:, -setObjectValue:): If the receiver
	was being edited when the method was called, make it the first
	responder after changing the value.
	(-abortEditing): Don't clear the text object's string.
	* Source/NSMatrix.m (-abortEditing): Don't clear the text object's
	string.
	* Source/NSTableView.m (-abortEditing): Ditto.
	* Source/NSTextField.m (-abortEditing): Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20580 72102866-910b-0410-8b05-ffd578937521
2005-01-18 15:48:34 +00:00
Alexander Malmberg
cc5de74696 2005-01-18 16:39 Alexander Malmberg <alexander@malmberg.org>
* Source/NSBitmapImageRep.m
	(-TIFFRepresentationUsingCompression:factor:): Don't use pointer
	comparisons to compare strings. Handle both device and calibrated
	colorspaces. Warn if the colorspace isn't recognized.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20579 72102866-910b-0410-8b05-ffd578937521
2005-01-18 15:35:51 +00:00
Alexander Malmberg
d1daa284b4 2005-01-18 15:50 Alexander Malmberg <alexander@malmberg.org>
* Source/NSApplication.m (-runModalSession:): Don't order the window
	to the front or make it the key/main window.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20578 72102866-910b-0410-8b05-ffd578937521
2005-01-18 14:45:31 +00:00
Alexander Malmberg
38b6a9b074 2005-01-18 15:46 Alexander Malmberg <alexander@malmberg.org>
* Source/NSApplication.m (-finishLaunching): Don't attempt to open
	an untitled file if we were autolaunched.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20577 72102866-910b-0410-8b05-ffd578937521
2005-01-18 14:42:22 +00:00
Alexander Malmberg
9fd5580d01 2005-01-18 14:16 Alexander Malmberg <alexander@malmberg.org>
* Source/NSAffineTransform.m (pi): Correct the rounding.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20576 72102866-910b-0410-8b05-ffd578937521
2005-01-18 13:26:00 +00:00
Matt Rice
4f18a708bf * Source/NSTextView.m (setSelectedRange:): Do not make the selected text visible.
(-didChangeText,-checkSpelling:): Make the selected text visible.
* Source/NSTextView_actions.m (_moveTo:select:): Ditto.
* Source/NSCell.m (-setUpFieldEditorAttributes:): Ditto.
(-selectWithFrame:inView:editor:delegate:start:length:): Ditto.
* Source/NSComboBoxCell (-validateSelection:,-textDidChange:): Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20575 72102866-910b-0410-8b05-ffd578937521
2005-01-18 13:18:29 +00:00
Alexander Malmberg
0a62f93891 2005-01-18 14:09 Alexander Malmberg <alexander@malmberg.org>
* Source/Functions.m (NSDottedFrameRect, NSFrameRectWithWidth): Draw
	the frame inside the given rectangle.
	(NSDrawTiledRects): Remove documentation.
	* Headers/AppKit/NSGraphics.h (NSDottedFrameRect, NSFrameRect)
	(NSFrameRectWithWidth, NSDrawTiledRects): Add new documentation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20574 72102866-910b-0410-8b05-ffd578937521
2005-01-18 13:08:37 +00:00
Adrian Robert
57d8fc5b92 NSWindow -sendEvent:becomesKeyOnlyIfNeeded now sends mouseDragged events to _lastView, rather than view (if exists) underneath mouse
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20569 72102866-910b-0410-8b05-ffd578937521
2005-01-17 02:12:05 +00:00
Adrian Robert
b8464ec6d4 don't let marker 'null_event' unhide mouse
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20568 72102866-910b-0410-8b05-ffd578937521
2005-01-17 01:26:01 +00:00
Fred Kiefer
7c8190c993 Allow text and image in NSBrowserCell at the same time.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20567 72102866-910b-0410-8b05-ffd578937521
2005-01-17 00:07:50 +00:00
Gregory John Casamento
310d3464fd Further undo improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20562 72102866-910b-0410-8b05-ffd578937521
2005-01-16 11:38:23 +00:00
Gregory John Casamento
7e6ddd83a6 More undo stuff.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20558 72102866-910b-0410-8b05-ffd578937521
2005-01-15 11:06:01 +00:00
Alexander Malmberg
52e84e5d08 2005-01-14 16:11 Alexander Malmberg <alexander@malmberg.org>
* Headers/AppKit/NSSavePanel.h (-panel:shouldShowFilename:):
	Document.
	* Source/NSSavePanel.m (-setDelegate:): Call -validateVisibleColumns.
	Whitespace cleanups.
	(-browser:isColumnValid:): Give the delegate the complete path to
	each file.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20555 72102866-910b-0410-8b05-ffd578937521
2005-01-14 15:15:54 +00:00
Gregory John Casamento
ee5fe319db Corrected undo in nsdocument.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20553 72102866-910b-0410-8b05-ffd578937521
2005-01-14 14:24:57 +00:00
Gregory John Casamento
dc4cf8f93c Corrected undo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20551 72102866-910b-0410-8b05-ffd578937521
2005-01-14 10:50:06 +00:00
Adam Fedor
a6bacaf8d8 * Source/GNUmakefile.preamble: Extend FILTER_OUT flag to
all sparc architectures.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20546 72102866-910b-0410-8b05-ffd578937521
2005-01-13 16:04:51 +00:00
Alexander Malmberg
f008693502 2005-01-12 00:47 Alexander Malmberg <alexander@malmberg.org>
* Source/GSStandardWindowDecorationView.m (-initWithFrame🪟):
	Create a paragraph style with line-breaking-by-clipping and use it
	for window titles.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20543 72102866-910b-0410-8b05-ffd578937521
2005-01-11 23:43:36 +00:00
Alexander Malmberg
ff7516df4b 2005-01-11 23:50 Alexander Malmberg <alexander@malmberg.org>
* Headers/AppKit/NSBezierPath.h (NSWindingRule)
 	(-containsPoint): Document.
	(-windingCountAtPoint:): New method.
	* Source/NSBezierPath.m: Remove some trailing whitespace.
	(PI): Correct rounding.
	(contribution, -contributionToContains:): Remove.
	(winding_line, winding_curve): New functions.
	(-windingCountAtPoint:): New method.
	(-containsPoint:): Use -windingCountAtPoint: instead of
	-contributionToContains:. Don't flatten the path.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20538 72102866-910b-0410-8b05-ffd578937521
2005-01-11 22:53:08 +00:00
Matt Rice
3cbd603819 * Source/NSTableHeaderCell.m (-drawInteriorWithFrame:inView:): Use
the correct background/highlight colors and NSCompositeSourceOver for
image cells.
(-setHighlighted): Use controlHighlightColor instead of controlColor.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20533 72102866-910b-0410-8b05-ffd578937521
2005-01-09 16:12:14 +00:00
Quentin Mathe
f43c0326c6 Fixed the toolbar bug #11393
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20503 72102866-910b-0410-8b05-ffd578937521
2004-12-30 14:02:00 +00:00
Gregory John Casamento
2f2183fca1 Correction for bug#11409.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20498 72102866-910b-0410-8b05-ffd578937521
2004-12-28 17:06:14 +00:00
Quentin Mathe
da59460004 More correct NSComboBoxCell implementation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20446 72102866-910b-0410-8b05-ffd578937521
2004-12-13 02:18:32 +00:00
Fred Kiefer
843814c42c Extended NSCursor to handle missing standard cursor.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20428 72102866-910b-0410-8b05-ffd578937521
2004-12-08 23:53:32 +00:00
Adam Fedor
36aaff3b9d * Source/GSDragView.m ([GSDragView -_setCursor]): Initialize variable.
* Source/NSMatrix.m: Rename vaguely-named macro.
(Based on Path #3499 from Patrick Middleton).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20346 72102866-910b-0410-8b05-ffd578937521
2004-11-12 04:19:33 +00:00
Adam Fedor
13e0addf7d * Version: Add numeric value for runtime versioning.
* Souce/GNUmakeifle: Add resource set install.
* Source/GNUmakefile.postamble (Info-gnustep.plist): New target.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20344 72102866-910b-0410-8b05-ffd578937521
2004-11-12 03:53:23 +00:00
Fred Kiefer
7447bc1045 Moved the main menu handling into the class NSMenu and fixed activation problem on Windows.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20342 72102866-910b-0410-8b05-ffd578937521
2004-11-11 19:52:24 +00:00
Alexander Malmberg
ee70d6ab43 2004-11-11 15:08 Alexander Malmberg <alexander@malmberg.org>
* Source/NSCell.m (-_setupTextWithFrame:inView:editor:): Reduce the
	maximum size. Explicitly set the size of the text view, and make it
	not resizable.
	* Source/NSLayoutManager.m (-rectArrayForGlyphRange:
	withinSelectedGlyphRange:inTextContainer:rectCount:): Fix check for
	whether the starting index is inside a line frag rect.
	* Source/NSTextView.m (-sizeToFit): Don't increase the size if we
	have no inset.
	(-updateInsertionPointStateAndRestartTimer:): Force the insertion
	point rect to be inside the text view.
	(-scrollRangeToVisible:): If we are a non-rich-text field editor,
	adjust the scrolling to make the auto-scrolling more useful.

	Fixes bug #9279.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20340 72102866-910b-0410-8b05-ffd578937521
2004-11-11 14:10:08 +00:00
Matt Rice
d714152e8f 2004-11-10 Matt Rice <ratmice@yahoo.com>
* Headers/Additions/GNUstepGUI/GSDisplayServer.h (-iconSize): New method        declaration.
        (-iconTileImage): Ditto.
        * Source/GSDisplayServer.m (-resolutionForScreen:): Fix Typo in Docs.
        (-boundsForScreen:): Ditto.
        (-windowBounds:): Ditto.
        (-iconSize): Implement new method.
        (-iconTileImage): Ditto.
        * Source/NSApplication.m (NSAppIconView): Remove
        useWindowmakerIconBackground variable.
        (scaledIconSizeForSize): New function.
        ([NSAppIconView +initialize]): Dont set a default image here. Remove
        usage of GSUseWindowmakerIconBackground default. Use backend tile and
        scale it to the backend icon size.
        ([NSAppIconView -drawRect:]): Remove usage of
        useWindowmakerIconBackground. Draw cells with the backend icon size.
        ([NSAppIconView -setImage:]): Set the image to a scaled copy.
        setNeedsDisplay instead of drawing directly.
        ([NSApplication -_appIconInit]): Use backend icon size.
        * Source/NSWindow.m: Remove useWindowmakerIconBackground variable.
        (scaledIconSizeForSize): New function.
        ([NSMiniWindowView +initialize]): Remove usage of
        GSUseWindowmakerIconBackground default. Use backend tile image and scale        it to the backend icon size.
        ([NSMiniWindowView -drawRect:]): Remove usage of
        useWindowmakerIconBackground. Draw cells with the backend iconSize.
        ([NSMiniWindowView -setImage:]): Set the image to a scaled copy.
        setNeedsDisplay instead of drawing directly.
        ([NSMiniWindowView -setTitle:]): setNeedsDisplay instead of drawing
        directly.
        ([NSWindow -miniaturize:]): Use backend icon size.
        * Documentation/GuiUser/DefaultsSummary.gsdoc: Remove docs for
        GSUseWindowmakerIconBackground.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20336 72102866-910b-0410-8b05-ffd578937521
2004-11-10 17:12:57 +00:00
Adrian Robert
409e8d2388 NSTabView fixes to bring in line w/os x behavior for display update and zero-tabs case; NSColorList capability added to read text color files, and corrected interp of arg to -initWithNameFromFile
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20334 72102866-910b-0410-8b05-ffd578937521
2004-11-10 04:36:23 +00:00
Alexander Malmberg
aa6f4087a1 2004-11-09 22:36 Alexander Malmberg <alexander@malmberg.org>
* Source/GSInfoPanel.m (_value_from_info_plist_for_key): Rename to
	value_from_info_plist_for_key.
	(_nil_or_not_of_class): Rename to nil_or_not_of_class.
	Update callers.
	(-initWithDictionary:): Fix comment typo.
	* Source/NSAlert.m: Whitespace cleanups.
	* Source/NSPrinter.m: Whitespace cleanups.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20332 72102866-910b-0410-8b05-ffd578937521
2004-11-09 21:37:43 +00:00
Alexander Malmberg
0958e055fa 2004-11-09 22:08 Alexander Malmberg <alexander@malmberg.org>
* Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:):
	Implement NSLineBreakByClipping. Set outside_line_frag and dont_show
	attributes for every glyph.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20330 72102866-910b-0410-8b05-ffd578937521
2004-11-09 21:14:36 +00:00
Alexander Malmberg
b9990147a6 2004-11-09 18:55 Alexander Malmberg <alexander@malmberg.org>
* Source/NSPasteboard.m (+_pbs): Give gpbs a --GSStartupNotification
	argument. Listen for the notification and connect immediately if it
	arrives. Clarify the user message.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20325 72102866-910b-0410-8b05-ffd578937521
2004-11-09 17:57:45 +00:00
Quentin Mathe
82b7c49bb5 Fixed the possibility to call -setImagePosition: after -setImage: broke with the previous commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20309 72102866-910b-0410-8b05-ffd578937521
2004-11-08 02:20:10 +00:00
Quentin Mathe
9ffc576add Fixed NSButtonCell -image returns nil
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20308 72102866-910b-0410-8b05-ffd578937521
2004-11-07 20:59:16 +00:00
Quentin Mathe
a93430ad56 Improved the NSWindow positioning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20306 72102866-910b-0410-8b05-ffd578937521
2004-11-07 18:03:50 +00:00
Gregory John Casamento
e739e88641 Removed unneeded nibInstantiate method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20303 72102866-910b-0410-8b05-ffd578937521
2004-11-06 13:48:12 +00:00
Alexander Malmberg
df0ff73e62 2004-10-30 Alex Perez <aperez@student.santarosa.edu>
* Headers/AppKit/NSImage.h (+_standardImageWithName:): New method.
	* Source/NSImage.m (+_standardImageWithName:): New method.
	* Source/NSWorkspace.m (_getImageForName:alternate:): Remove. Update
	callers to use +_standardImageWithName: instead.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20270 72102866-910b-0410-8b05-ffd578937521
2004-10-30 11:19:07 +00:00
Quentin Mathe
50bad4da8e Unified application icons support in NSWorkspace
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20257 72102866-910b-0410-8b05-ffd578937521
2004-10-24 23:53:31 +00:00
Quentin Mathe
7a7ef628ca Fixed -appIconForApp: in NSWorkspace
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20256 72102866-910b-0410-8b05-ffd578937521
2004-10-24 17:24:38 +00:00
Gregory John Casamento
78b37d430e Correction for issue with gcc 3.4.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20243 72102866-910b-0410-8b05-ffd578937521
2004-10-22 12:20:01 +00:00
Fred Kiefer
6ff377994a Small improvements for keyed decoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20242 72102866-910b-0410-8b05-ffd578937521
2004-10-21 21:01:36 +00:00
Gregory John Casamento
208c87b881 Improvements in keyed coding and correction for NSCell formatter unarchiving issue.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20235 72102866-910b-0410-8b05-ffd578937521
2004-10-18 01:48:15 +00:00
Adrian Robert
51256bbe12 NSBestDepth() checks outarg non-null (Functions.m); getNSFont() treats negative fontSize arg as 0 (NSFont.m); documented
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20231 72102866-910b-0410-8b05-ffd578937521
2004-10-17 18:52:48 +00:00
Matt Rice
ff9620f5f4 2004-10-15 07:33 Matt Rice <ratmice@yahoo.com>
* Source/NSApplication.m ([NSAppIconView -mouseDown:]): order front
        possibly obscured windows if not hidden.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20225 72102866-910b-0410-8b05-ffd578937521
2004-10-15 14:37:48 +00:00
Fred Kiefer
5271b53ebe Some more keyed decoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20216 72102866-910b-0410-8b05-ffd578937521
2004-10-10 22:36:02 +00:00
Fred Kiefer
08529677f0 Added some more keyed decoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20211 72102866-910b-0410-8b05-ffd578937521
2004-10-08 21:24:25 +00:00
Chad Hardin
0cddf71bd1 Printing updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20207 72102866-910b-0410-8b05-ffd578937521
2004-10-08 05:22:22 +00:00
Adam Fedor
f6d83285ae * Source/GNUmakefile.postamble (libgnustep-gui.def): Search for both
T and R symbols to work with multiple mingw/cygwin flavors.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20198 72102866-910b-0410-8b05-ffd578937521
2004-10-06 03:34:46 +00:00
Adam Fedor
2d88c43c22 * Documentation/ReleaseNotes.gsdoc: Format fixes.
* Source/DocMakefile (before-clean, after-clean): Move obj out of the
way so it isn't removed when cleaning docs.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20182 72102866-910b-0410-8b05-ffd578937521
2004-10-01 14:57:39 +00:00
Adam Fedor
137396c189 * Source/GNUmakefile.preamble: Add filter out flags for
compilation of some files on Solaris.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20181 72102866-910b-0410-8b05-ffd578937521
2004-10-01 14:55:54 +00:00
Alexander Malmberg
2e391ee77e * Source/GSServicesManager.m (NSPerformService): Check whether the
service provider is remote by checking the class of the object.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20162 72102866-910b-0410-8b05-ffd578937521
2004-09-27 15:53:04 +00:00
Alexander Malmberg
56e200830d * Source/NSTabViewItem.m (-drawLabel:inRect:): Adjust the label
position to match the text height change (of 2004-09-21).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20151 72102866-910b-0410-8b05-ffd578937521
2004-09-26 20:20:32 +00:00
Matt Rice
3a84f7e3af 2004-09-25 Matt Rice <ratmice@yahoo.com>
* Source/NSScrollView.m: Remove corner view when we have one, but no
        vertical scroller. (Fixes #10501).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20147 72102866-910b-0410-8b05-ffd578937521
2004-09-26 12:49:32 +00:00
Adam Fedor
b58f4fd5e1 * Documentation/GNUmakefile.postamble: Clean up files properly
* Source/DocMakefile: Fix up for moved files
* Documentation/Gui/Gui.gsdoc,
Documentation/GuiAdditions/GuiAdditions.gsdoc: Move up one level.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20133 72102866-910b-0410-8b05-ffd578937521
2004-09-25 02:51:05 +00:00
Fred Kiefer
e13699f905 Added editing methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20125 72102866-910b-0410-8b05-ffd578937521
2004-09-24 16:35:41 +00:00
Fred Kiefer
54da49bd72 Make sure menu views get cleaned up properly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20122 72102866-910b-0410-8b05-ffd578937521
2004-09-24 10:54:18 +00:00
Fred Kiefer
a52e330d25 Added some more keyed decoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20116 72102866-910b-0410-8b05-ffd578937521
2004-09-23 23:12:54 +00:00
Alexander Malmberg
d3f517e16b * Source/NSTableView.m (-mouseDown:): Fix the check that detects
when an unselected row is being dragged.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20115 72102866-910b-0410-8b05-ffd578937521
2004-09-23 20:36:10 +00:00
Alexander Malmberg
767334b501 * Source/NSCursor.m (_getStandardCursor): Rename to
getStandardCursor and make static and non-inlined. Update callers.
	* Source/NSTableView.m (computePeriod): Make static.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20102 72102866-910b-0410-8b05-ffd578937521
2004-09-21 22:00:26 +00:00
Alexander Malmberg
811ae4cf9f * Source/GSFontInfo.m (-defaultLineHeightForFont): Adjust line
height calculation.
	* Source/NSButtonCell.m (-drawInteriorWithFrame:inView:): Always
	initialize imageRect and titleRect. Adjust the calculations to match
	the new line height.
	(-cellSize): Always initialize imageRect and titleRect.
	* Headers/AppKit/NSCell.h (-_drawImage:inFrame:isFlipped:): Remove.
	* Source/NSCell.m (-_drawImage:inFrame:isFlipped:): Remove. Move code
	back ...
	(-drawInteriorWithFrame:inView:): ... here.
	* Source/NSToolbarItem.m (+initialize): Remove.
	(+cellClass): Add.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20100 72102866-910b-0410-8b05-ffd578937521
2004-09-21 16:55:43 +00:00
Alexander Malmberg
e2e0084fdb Log tiff warnings using NSDebugLLog instead of NSLog. Make private methods static.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20082 72102866-910b-0410-8b05-ffd578937521
2004-09-18 13:16:55 +00:00
Fred Kiefer
91cf238321 Small correction on last change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20079 72102866-910b-0410-8b05-ffd578937521
2004-09-17 17:47:39 +00:00
Fred Kiefer
a15214f38d Readded NSCell setType: patch with originally missing bit for NSButtonCell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20072 72102866-910b-0410-8b05-ffd578937521
2004-09-16 13:44:00 +00:00
Matt Rice
878d6abeac 2004-09-16 Matt Rice <ratmice@yahoo.com>
* Source/NSTextFieldCell.m (+initialize): Bump class version.
        (-initWithCoder:): When decoding the previous version of NSTextFieldCell        replace the old default _action_mask with the new default value.
        (Fixes #9609 for .gorm files)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20069 72102866-910b-0410-8b05-ffd578937521
2004-09-16 07:34:41 +00:00
Adrian Robert
309cb40424 removed ../Documentation/Gui/Introduction.gsdoc from list of gsdoc files; this material was moved in texi form into Documentation/manual
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20066 72102866-910b-0410-8b05-ffd578937521
2004-09-15 01:27:04 +00:00
Matt Rice
8b3d930318 2004-09-13 Matt Rice <ratmice@yahoo.com>
* NSScrollView.h: Declare new ivar _cornerView and private method
        -_synchronizeCornerAndHeaderView
        * NSScrollView.m (tile): Call _synchronizeCornerAndHeaderView method
        from here. Replace local cornerView variable with _cornerView.
        (-setDocumentView:): Remove code to set the corner and header views.
        (-_synchronizeCornerAndHeaderView): Implement new method.
        * NSTableView.m (-setHeaderView:, -setCornerView:): call tile on the
        scroll view we're in. Remove comments and warnings for cases which are
        now implemented.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20049 72102866-910b-0410-8b05-ffd578937521
2004-09-13 19:57:44 +00:00
Matt Rice
afaa68f9d5 2004-09-12 Matt Rice <ratmice@yahoo.com>
* Headers/AppKit/NSCell.h (-_sendsActionOn:): New method.
        * Source/NSCell.m (-_sendsActionOn:): Implement it.
        * Source/NSTextFieldCell.m (-initTextCell:): Change _action_mask to a
        key press.
        * Source/NSTableView.m (-mouseDown:): Use _sendsActionOn: to only modify        the object value and send the event to the cell if the cell works on
        mouse events. (Fixes #9609).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20046 72102866-910b-0410-8b05-ffd578937521
2004-09-12 16:58:32 +00:00
Gregory John Casamento
55d59ae5c2 Data link implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20045 72102866-910b-0410-8b05-ffd578937521
2004-09-12 04:26:21 +00:00
Gregory John Casamento
05af0a68bc Corrected an issue and more work on data link.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20044 72102866-910b-0410-8b05-ffd578937521
2004-09-11 16:47:07 +00:00
Fred Kiefer
1040bb284d Use method call to change cell type.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20038 72102866-910b-0410-8b05-ffd578937521
2004-09-08 22:27:23 +00:00
Adam Fedor
e04a7e9892 Correct naming mistake in INTERFACE_VERSION
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20021 72102866-910b-0410-8b05-ffd578937521
2004-09-07 14:39:13 +00:00
Adam Fedor
4916645a42 * Source/GNUmakefile: Specify INTERFACE_VERSION explicitly.
* Documentation/ReleaseNotes.gsdoc, Documentation/news.texi: Update
for new release.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20019 72102866-910b-0410-8b05-ffd578937521
2004-09-07 14:26:52 +00:00
Quentin Mathe
06bd77f976 Deactivated the toolbar delegate synchronisation and other toolbar modifications
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20001 72102866-910b-0410-8b05-ffd578937521
2004-09-05 17:56:11 +00:00
Gregory John Casamento
f981e6343f Corrected issue with NSTableView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19999 72102866-910b-0410-8b05-ffd578937521
2004-09-05 14:32:25 +00:00
Matt Rice
353db5256c 2004-09-05 06:23 Matt Rice <ratmice@yahoo.com>
* Source/GSServicesManager.m: new method -activateIgnoringOtherApps:
        * Source/NSWorkspace.m (-launchApplication:showIcon:autolaunch:):
        call -activateIgnoringOtherApps: on the remote connection to an already
        running app.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19998 72102866-910b-0410-8b05-ffd578937521
2004-09-05 13:46:13 +00:00
Alexander Malmberg
7d98f0f270 2004-09-04 23:32 Alexander Malmberg <alexander@malmberg.org>
* Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:):
	Pass the right glyph position to cells.
	* Headers/AppKit/NSTextAttachment.h: Clarify documentation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19991 72102866-910b-0410-8b05-ffd578937521
2004-09-04 21:40:30 +00:00
Alexander Malmberg
e8ce1bfa9f Remove spurious ';'.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19985 72102866-910b-0410-8b05-ffd578937521
2004-09-03 23:10:13 +00:00
Quentin Mathe
ef1010acc4 Added the possibility to rearrange toolbar items
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19976 72102866-910b-0410-8b05-ffd578937521
2004-09-02 17:40:00 +00:00
Adam Fedor
19e45d5c7b * Source/NSPrintInfo.m ([NSPrintInfo -paperSize]): Avoid returning
a nil object return value into a struct.
* Printing/GSLPR/GNUmakefile.preamble: Add
Source/$(GNUSTEP_TARGET_DIR) includes
* Tools/GNUmakefile.preamble: Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19970 72102866-910b-0410-8b05-ffd578937521
2004-09-02 03:27:54 +00:00
Alexander Malmberg
ab6a805021 (-scrollRectToVisible:): Implement correctly, patch from Andrew Ruder.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19968 72102866-910b-0410-8b05-ffd578937521
2004-09-01 22:19:49 +00:00
Quentin Mathe
a901114168 Fixed the toolbar layout problem introduced by NSButtonCell changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19941 72102866-910b-0410-8b05-ffd578937521
2004-08-30 21:33:17 +00:00
Alexander Malmberg
53b27348a7 (-draggingUpdated:): Return currentDragOperation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19936 72102866-910b-0410-8b05-ffd578937521
2004-08-29 00:55:54 +00:00
Gregory John Casamento
b9ea1b1822 Some slight improvements. Made templates use a method called shouldSwapClass which checks for the existence of isInInterfaceBuilder and, if available, returns the value.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19933 72102866-910b-0410-8b05-ffd578937521
2004-08-28 14:41:16 +00:00
Alexander Malmberg
da55fbe8a0 (-setFrameFromString:): Don't change the size of the window if it isn't resizable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19905 72102866-910b-0410-8b05-ffd578937521
2004-08-23 15:34:34 +00:00
Fred Kiefer
73fd0482a8 Deal with nil in substrign expansion.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19898 72102866-910b-0410-8b05-ffd578937521
2004-08-21 10:06:24 +00:00
Quentin Mathe
1fc2399220 Correct details related to combo box
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19872 72102866-910b-0410-8b05-ffd578937521
2004-08-13 23:28:50 +00:00
Quentin Mathe
a4c583b139 Fixed combo box bug introduced in June
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19870 72102866-910b-0410-8b05-ffd578937521
2004-08-13 22:07:06 +00:00
Alexander Malmberg
dd69ef973d Adjust handling of selected range changes in response to text changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19866 72102866-910b-0410-8b05-ffd578937521
2004-08-11 23:46:37 +00:00
Alexander Malmberg
f28c2b56c5 Move text back down 2 point in NSImageAbove case.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19865 72102866-910b-0410-8b05-ffd578937521
2004-08-11 19:39:32 +00:00
Alexander Malmberg
36f5227473 Fix calculation of used rect.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19861 72102866-910b-0410-8b05-ffd578937521
2004-08-10 00:08:42 +00:00
Alexander Malmberg
432df0d14d Add some missing void:s.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19860 72102866-910b-0410-8b05-ffd578937521
2004-08-09 22:51:38 +00:00
Alexander Malmberg
c12bd68ed6 Optimize -advancementForGlyph: handling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19859 72102866-910b-0410-8b05-ffd578937521
2004-08-09 22:14:17 +00:00
Alexander Malmberg
77a10cb02f Optimize -usedRectForTextContainer:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19857 72102866-910b-0410-8b05-ffd578937521
2004-08-09 19:50:01 +00:00
Alexander Malmberg
bc3d8f4913 Optimize -usedRectForTextContainer:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19856 72102866-910b-0410-8b05-ffd578937521
2004-08-09 19:49:24 +00:00
Alexander Malmberg
8a4361bbae Make _frame in -gui the window frame always. Add methods for converting to/from screen frames.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19855 72102866-910b-0410-8b05-ffd578937521
2004-08-09 12:59:53 +00:00
Quentin Mathe
d52db5f427 Fixed markup errors in the combo box related documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19847 72102866-910b-0410-8b05-ffd578937521
2004-08-08 19:09:57 +00:00
Chad Hardin
8f04d6a957 viewWithTag: behavior adjustment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19840 72102866-910b-0410-8b05-ffd578937521
2004-08-08 01:25:15 +00:00
Chad Hardin
8a5264e83f GSPrinting changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19839 72102866-910b-0410-8b05-ffd578937521
2004-08-08 01:08:55 +00:00
Alexander Malmberg
d4818d3966 (-mouseDown:): Don't call -containsAttachments.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19834 72102866-910b-0410-8b05-ffd578937521
2004-08-07 11:22:26 +00:00
Alexander Malmberg
d3e66437f3 Update the local changeCount when creating new NSPasteboard instances.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19830 72102866-910b-0410-8b05-ffd578937521
2004-08-06 12:17:21 +00:00
Alexander Malmberg
682002cee0 Fix NSButtonCell size calculations. Rename xDist and yDist.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19814 72102866-910b-0410-8b05-ffd578937521
2004-08-02 14:36:09 +00:00
Alexander Malmberg
3b3235003a Center the title properly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19808 72102866-910b-0410-8b05-ffd578937521
2004-08-01 13:00:29 +00:00
Alexander Malmberg
9cd4d1cc7f Document GSReadRect and update users.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19801 72102866-910b-0410-8b05-ffd578937521
2004-07-30 13:58:03 +00:00
Adrian Robert
5c887a9ec7 fixed tag typo messing up the gsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19791 72102866-910b-0410-8b05-ffd578937521
2004-07-29 15:13:36 +00:00
Alexander Malmberg
8335596ee3 Make -setBackgroundColor: redisplay the window background. Fix frame constraining.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19785 72102866-910b-0410-8b05-ffd578937521
2004-07-28 17:56:57 +00:00
Quentin Mathe
6576a77429 NSToolbar visibility issue corrected
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19780 72102866-910b-0410-8b05-ffd578937521
2004-07-27 15:15:29 +00:00
Alexander Malmberg
5d0e3f4755 Fix memory leaks, -copyWithZone:, and use predefined attribute name variables.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19773 72102866-910b-0410-8b05-ffd578937521
2004-07-24 20:51:39 +00:00
Alexander Malmberg
002efa32ed Add GSUseWindowmakerIconBackground default.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19771 72102866-910b-0410-8b05-ffd578937521
2004-07-22 23:57:46 +00:00
Chad Hardin
73dbff47ec New NSPageLayout UI
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19767 72102866-910b-0410-8b05-ffd578937521
2004-07-22 04:59:09 +00:00
Gregory John Casamento
c7d52d3fd8 Corrected spelling of "merely" in my explanation of how to correctly release nib objects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19766 72102866-910b-0410-8b05-ffd578937521
2004-07-22 04:14:03 +00:00
Alexander Malmberg
8228108b86 Pass -setTitle: and -setDocumentEdited: calls along to super.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19763 72102866-910b-0410-8b05-ffd578937521
2004-07-21 23:03:34 +00:00
Alexander Malmberg
6f8905d60d Add updateSizeField: argument to -_trySelectSize:. Update callers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19758 72102866-910b-0410-8b05-ffd578937521
2004-07-21 17:58:24 +00:00
Alexander Malmberg
2ac6904615 Use floor() instead of floorf().
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19749 72102866-910b-0410-8b05-ffd578937521
2004-07-19 23:28:33 +00:00
Gregory John Casamento
5737b76c79 Added an informative comment.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19748 72102866-910b-0410-8b05-ffd578937521
2004-07-18 16:04:39 +00:00
Gregory John Casamento
bb09d6f82d Removed some old commented out code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19747 72102866-910b-0410-8b05-ffd578937521
2004-07-18 15:55:22 +00:00
Adam Fedor
783f69bbd6 Doc updates and minor fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19736 72102866-910b-0410-8b05-ffd578937521
2004-07-15 03:28:25 +00:00
Alexander Malmberg
5c5d7bb400 (-_recalculateBounds): Rewrite.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19734 72102866-910b-0410-8b05-ffd578937521
2004-07-15 00:32:01 +00:00
Alexander Malmberg
9cd58a39ab (+imageRepsWithContentsOfFile:): If the filename has no extension, use the data to determine the type.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19726 72102866-910b-0410-8b05-ffd578937521
2004-07-13 00:59:37 +00:00
Alexander Malmberg
0b29070af3 Rewrite autodisplay handling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19725 72102866-910b-0410-8b05-ffd578937521
2004-07-12 23:19:14 +00:00
Alexander Malmberg
2e9a6a5c61 Only declare the_server if HAVE_AUDIOFILE_H is defined.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19724 72102866-910b-0410-8b05-ffd578937521
2004-07-12 22:28:27 +00:00
Sergii Stoian
cf5f059c65 Image dimming and gradient drawing added
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19721 72102866-910b-0410-8b05-ffd578937521
2004-07-12 21:42:31 +00:00
Gregory John Casamento
7f1e3425e5 Change to GSNibContainer to allow encoding of older container version.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19718 72102866-910b-0410-8b05-ffd578937521
2004-07-12 03:27:36 +00:00
Chad Hardin
bad00c8db9 PageLayout improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19713 72102866-910b-0410-8b05-ffd578937521
2004-07-11 21:31:39 +00:00
Alexander Malmberg
195960d5d5 Get the printing buffer size right this time.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19712 72102866-910b-0410-8b05-ffd578937521
2004-07-11 14:36:51 +00:00
Alexander Malmberg
6feb2e58f5 When printing, position each glyph explicitly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19711 72102866-910b-0410-8b05-ffd578937521
2004-07-11 12:21:41 +00:00
Chad Hardin
989ae0cdd8 Backend printing bundle system changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19705 72102866-910b-0410-8b05-ffd578937521
2004-07-10 10:19:34 +00:00
Fred Kiefer
ca71d7e075 Moved code around.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19697 72102866-910b-0410-8b05-ffd578937521
2004-07-09 00:06:39 +00:00
Fred Kiefer
d208ab5159 Added file forgotten in last commit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19696 72102866-910b-0410-8b05-ffd578937521
2004-07-08 17:57:25 +00:00
Gregory John Casamento
19851bd3d3 Temporarily removed NSMovieView until committed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19695 72102866-910b-0410-8b05-ffd578937521
2004-07-08 01:36:00 +00:00
Quentin Mathe
6b519561bf Forgot to commit NSToolbarItem.m and NSToolbarItem.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19694 72102866-910b-0410-8b05-ffd578937521
2004-07-07 23:21:10 +00:00
Fred Kiefer
605f60b151 Added new MacOSX classes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19693 72102866-910b-0410-8b05-ffd578937521
2004-07-07 22:43:04 +00:00
Sergii Stoian
867c0523e0 Use added highlighted images of buttons
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19691 72102866-910b-0410-8b05-ffd578937521
2004-07-07 21:49:08 +00:00
Quentin Mathe
e428e69f82 Toolbar improvements... Fixed several major and minor bugs, rewritten the validation support, lot of memory leaks eliminated and other changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19689 72102866-910b-0410-8b05-ffd578937521
2004-07-07 21:25:42 +00:00
Alexander Malmberg
e2178bf8f1 Properly convert window frames to content view frames and back. Don't assume that the position of the content view is (0,0).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19688 72102866-910b-0410-8b05-ffd578937521
2004-07-06 23:31:57 +00:00
Alexander Malmberg
7ac30eed06 Reorganize top-level view handling and implement -gui-managed window decorations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19687 72102866-910b-0410-8b05-ffd578937521
2004-07-06 20:20:31 +00:00