Commit graph

4019 commits

Author SHA1 Message Date
Nicola Pero
dd77683470 Fix for NSDocument applications where saveDocument: etc from the NSDocument
was not being detected


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16576 72102866-910b-0410-8b05-ffd578937521
2003-04-28 12:17:24 +00:00
Nicola Pero
6942ad64d5 When looking for the target for an action, if the key window is associated
with a document, return it


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16575 72102866-910b-0410-8b05-ffd578937521
2003-04-28 12:16:35 +00:00
Nicola Pero
adc4a725ed Use the full path with resource-set.make
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16574 72102866-910b-0410-8b05-ffd578937521
2003-04-28 11:19:15 +00:00
Adam Fedor
4277f13318 Fix Services dir
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16568 72102866-910b-0410-8b05-ffd578937521
2003-04-28 02:47:09 +00:00
Adam Fedor
0de7e778fe Updates for filesystem change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16566 72102866-910b-0410-8b05-ffd578937521
2003-04-28 02:33:10 +00:00
Michael Silva
cd5a9ae86b Small fix to NSPopUpButtonCell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16564 72102866-910b-0410-8b05-ffd578937521
2003-04-27 20:37:29 +00:00
Fred Kiefer
4344a074dd Small speedup for GSFontInfo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16560 72102866-910b-0410-8b05-ffd578937521
2003-04-27 15:45:39 +00:00
Fred Kiefer
d945e6d792 Removed creation of fontDictionary from [init] method. This now
gets done on demand in [afmDictionary].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16559 72102866-910b-0410-8b05-ffd578937521
2003-04-27 15:44:56 +00:00
Fred Kiefer
ab61661a4a [_familySelectionChanged:] made the call to [_trySelectSize:]
safer against none existing fonts. This used to result in a NaN
being displayed as font size.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16558 72102866-910b-0410-8b05-ffd578937521
2003-04-27 15:44:28 +00:00
Richard Frith-Macdonald
e06c8b7a87 added ruler view bugfixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16555 72102866-910b-0410-8b05-ffd578937521
2003-04-27 08:45:46 +00:00
Fred Kiefer
8354321e50 Smaller changes to NSControl, NSMenuView and NSParagraphStyle
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16552 72102866-910b-0410-8b05-ffd578937521
2003-04-26 16:52:16 +00:00
Fred Kiefer
41ec62e3a2 Implemented handling of writing directions. These are needed for the
upcoming new RTFProducer.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16551 72102866-910b-0410-8b05-ffd578937521
2003-04-26 16:51:21 +00:00
Fred Kiefer
7507911543 Added new ivar and methods from MacOSX to handle writing directions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16550 72102866-910b-0410-8b05-ffd578937521
2003-04-26 16:50:56 +00:00
Fred Kiefer
f12f062604 Moved the computation of the cell size into the method [setFont:]
and use this in [init]. Added call to [setNeedsSizing:] in
[setHorizontalEdgePadding:]. In [locationForSubmenu:] check for
the interface style of the submenu.  Also cleaned up up coding style and
comments in the whole file.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16549 72102866-910b-0410-8b05-ffd578937521
2003-04-26 16:50:22 +00:00
Fred Kiefer
2e483ce3b8 Removed [becomeFirstResponder] and [resignFirstResponder] as the
handling of [showFirstResponder] is still unclear.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16548 72102866-910b-0410-8b05-ffd578937521
2003-04-26 16:49:47 +00:00
Richard Frith-Macdonald
6514922219 Minor fix ... ignore illegal extension
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16547 72102866-910b-0410-8b05-ffd578937521
2003-04-26 07:25:18 +00:00
Richard Frith-Macdonald
f4d75d0ffb bugfix for window position constraint
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16546 72102866-910b-0410-8b05-ffd578937521
2003-04-26 07:17:24 +00:00
Richard Frith-Macdonald
15aab01ceb Try to compensate for changes in screen size.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16545 72102866-910b-0410-8b05-ffd578937521
2003-04-26 06:39:49 +00:00
Fred Kiefer
22413442fa Implmented tick marks for slider and some small corrections to other classes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16544 72102866-910b-0410-8b05-ffd578937521
2003-04-25 22:57:01 +00:00
Fred Kiefer
d49f634d96 Basic implementation of the tick mark methods. Added en-/decoding
for tick marks. [setKnobThickness:], [setNumberOfTickMarks:] and
[setTickMarkPosition:] now update the control.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16543 72102866-910b-0410-8b05-ffd578937521
2003-04-25 22:55:18 +00:00
Fred Kiefer
f649a1bb4b Removed unused local variable in [sendEvent:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16542 72102866-910b-0410-8b05-ffd578937521
2003-04-25 22:54:39 +00:00
Fred Kiefer
fef7f0266a [GSPatternColor colorSpaceName] uses NSPatternColorSpace.
Corrected [blendedColorWithFraction:ofColor:], where self and aColor
where exchanged and alpha handling was missing.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16541 72102866-910b-0410-8b05-ffd578937521
2003-04-25 22:54:12 +00:00
Fred Kiefer
a1c9f461f9 Added NSPatternColorSpace.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16540 72102866-910b-0410-8b05-ffd578937521
2003-04-25 22:51:55 +00:00
Fred Kiefer
76385367ad Use controlBackgroundColor instead of lightGrayColor. Patch by Matt
Rice (matt@vespertine.pc.ashlandfiber.net).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16539 72102866-910b-0410-8b05-ffd578937521
2003-04-25 22:51:02 +00:00
Richard Frith-Macdonald
188be4b3e1 Adjust browser columns size to match window
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16537 72102866-910b-0410-8b05-ffd578937521
2003-04-25 07:04:57 +00:00
Sergii Stoian
ec2a39cf4a [NSMenuView mouseDown:] Generate periodic events every 0.01 seconds
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16486 72102866-910b-0410-8b05-ffd578937521
2003-04-21 09:41:03 +00:00
Sergii Stoian
ecb08cca22 NSMenuItemCell.m: Moved code from setMenuView to calcSize
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16481 72102866-910b-0410-8b05-ffd578937521
2003-04-17 12:00:40 +00:00
Sergii Stoian
a14c8cdfc3 Moved code from setMenuView to calcSize
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16480 72102866-910b-0410-8b05-ffd578937521
2003-04-17 11:59:32 +00:00
Michael Silva
fb102696cf Update Images/common_WMClose.tiff and Images/common_WMCloseBroken.tiff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16473 72102866-910b-0410-8b05-ffd578937521
2003-04-15 06:07:55 +00:00
Nicola Pero
abba61c804 Added missing include to AppKit.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16472 72102866-910b-0410-8b05-ffd578937521
2003-04-14 12:36:19 +00:00
Nicola Pero
0af1f2427f Include NSDocument.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16471 72102866-910b-0410-8b05-ffd578937521
2003-04-14 12:35:51 +00:00
Sergii Stoian
2a6b0ebd1d NSApplication: Do not add X image if window has close button
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16462 72102866-910b-0410-8b05-ffd578937521
2003-04-14 09:47:12 +00:00
Sergii Stoian
aa6861d4fe Do not add X image if window has close button
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16461 72102866-910b-0410-8b05-ffd578937521
2003-04-14 09:45:24 +00:00
Michael Silva
42689ac827 whatever.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16459 72102866-910b-0410-8b05-ffd578937521
2003-04-14 00:03:09 +00:00
Michael Silva
e9ccc289d5 Multiple commits from Michael, see ChangeLog.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16458 72102866-910b-0410-8b05-ffd578937521
2003-04-13 23:45:39 +00:00
Sergii Stoian
4d791cb220 NSPopUpButton/Cell improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16456 72102866-910b-0410-8b05-ffd578937521
2003-04-13 09:00:30 +00:00
Sergii Stoian
182d90fe0e Draw temporary cell if no items in menu
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16455 72102866-910b-0410-8b05-ffd578937521
2003-04-13 08:57:29 +00:00
Sergii Stoian
69fc3b2540 beep on click when no items to display
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16454 72102866-910b-0410-8b05-ffd578937521
2003-04-13 08:56:35 +00:00
Sergii Stoian
9ad516dd0a NSPopUpButtonCell removeAllItems fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16445 72102866-910b-0410-8b05-ffd578937521
2003-04-12 11:14:23 +00:00
Sergii Stoian
490b673918 (removeAllItems): Leave item at index 0 with empty title
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16444 72102866-910b-0410-8b05-ffd578937521
2003-04-12 11:12:31 +00:00
Sergii Stoian
69ed1dbdcf NSMenuView: isOpaque implemented. update imporving
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16433 72102866-910b-0410-8b05-ffd578937521
2003-04-11 12:54:57 +00:00
Sergii Stoian
ea951e6cba isOpaque implemented. update imporving
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16432 72102866-910b-0410-8b05-ffd578937521
2003-04-11 12:53:20 +00:00
Sergii Stoian
34f48b57a7 NSApplication: Windows menu manipulation fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16431 72102866-910b-0410-8b05-ffd578937521
2003-04-11 12:43:23 +00:00
Sergii Stoian
2e4c41319e Windows menu manipulation fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16430 72102866-910b-0410-8b05-ffd578937521
2003-04-11 12:42:10 +00:00
Sergii Stoian
369134a16e NSPopUpButton mouseDown fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16428 72102866-910b-0410-8b05-ffd578937521
2003-04-11 10:36:53 +00:00
Sergii Stoian
ca26a5ce28 mouseDown fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16427 72102866-910b-0410-8b05-ffd578937521
2003-04-11 10:35:36 +00:00
Sergii Stoian
5653681dcd NSPopUpButton fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16416 72102866-910b-0410-8b05-ffd578937521
2003-04-10 15:17:42 +00:00
Sergii Stoian
6301c30606 add remove/image only if it's not user settings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16415 72102866-910b-0410-8b05-ffd578937521
2003-04-10 15:06:48 +00:00
Sergii Stoian
4fb42475cb mouseDown selections fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16414 72102866-910b-0410-8b05-ffd578937521
2003-04-10 15:05:50 +00:00
Pierre-Yves Rivaille
063710aa5f Source/NSWindow.m ([-sendEvent:], case NSRightMouseDown):
removed code to display the menu. This is now done by
	[NSView -rightMouseDown:].
Source/NSView.m: overrides -menu,
	changes -rightMouseDown: to display the menu,
	documents -menu, -menuForEvent: and +defaultMenu.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16413 72102866-910b-0410-8b05-ffd578937521
2003-04-10 14:00:53 +00:00