Commit graph

2104 commits

Author SHA1 Message Date
Nicola Pero
7ad54bc698 Updated loading of keybindings from files - hopefully the final version!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13950 72102866-910b-0410-8b05-ffd578937521
2002-06-22 18:05:37 +00:00
Nicola Pero
6c4fa0692f Removed comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13949 72102866-910b-0410-8b05-ffd578937521
2002-06-22 17:01:14 +00:00
Nicola Pero
a28d9dc6a1 Optimize for the case of unrotated views by removing rotationAngle. Case
of rotated views I think still needs debugging :-)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13946 72102866-910b-0410-8b05-ffd578937521
2002-06-22 16:53:20 +00:00
Nicola Pero
5ff3a3adda Efficient implementation of isRotated
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13944 72102866-910b-0410-8b05-ffd578937521
2002-06-22 16:21:46 +00:00
Nicola Pero
444e38c8c6 Updated code - removed unused code, do not call a no longer existing method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13942 72102866-910b-0410-8b05-ffd578937521
2002-06-22 16:10:38 +00:00
Nicola Pero
55d2baf6c0 Removed bloat method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13940 72102866-910b-0410-8b05-ffd578937521
2002-06-22 16:05:57 +00:00
Nicola Pero
f4e1aa11d8 Use -rotateByDegrees:, not -rotateByAngle:, to rotate an Affine transform
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13939 72102866-910b-0410-8b05-ffd578937521
2002-06-22 16:04:34 +00:00
Nicola Pero
1e3707951f Removed gnustep-only method which was never used and could easily be
replaced by calls to standard methods


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13936 72102866-910b-0410-8b05-ffd578937521
2002-06-22 15:57:50 +00:00
Nicola Pero
61f05df41f Method which was a private duplicate of a public one removed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13934 72102866-910b-0410-8b05-ffd578937521
2002-06-22 15:47:17 +00:00
Nicola Pero
d52e667cb5 Use new NSAffineTransform method to invert a matrix, not old one
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13933 72102866-910b-0410-8b05-ffd578937521
2002-06-22 15:46:30 +00:00
Adam Fedor
d206df9e84 Revert last change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13928 72102866-910b-0410-8b05-ffd578937521
2002-06-22 13:42:59 +00:00
Adam Fedor
6d2fb13215 Fix makeKey makeMain with defered windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13927 72102866-910b-0410-8b05-ffd578937521
2002-06-22 03:44:57 +00:00
Nicola Pero
33a9bfaf78 Always select the popup item in performAction
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13920 72102866-910b-0410-8b05-ffd578937521
2002-06-19 15:00:17 +00:00
Richard Frith-Macdonald
8e986bb0db Attempt to improve app location
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13902 72102866-910b-0410-8b05-ffd578937521
2002-06-17 15:03:58 +00:00
Gregory John Casamento
9799537f92 Fixed some minor bugs in NSOutlineView and made delegate checking more efficient by using a macro.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13892 72102866-910b-0410-8b05-ffd578937521
2002-06-15 22:00:18 +00:00
Nicola Pero
414d38ddd8 Tidied code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13886 72102866-910b-0410-8b05-ffd578937521
2002-06-14 12:28:49 +00:00
Alexander Malmberg
6ffaeb7738 Disable autoenabling while updating the services menu.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13856 72102866-910b-0410-8b05-ffd578937521
2002-06-12 22:34:32 +00:00
Alexander Malmberg
4151738496 Fix handling of timestamps and removal of old menu items when updating services/services menu.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13855 72102866-910b-0410-8b05-ffd578937521
2002-06-12 21:04:51 +00:00
Nicola Pero
0d9f2c6dbe When parsing RTF (or other formats) require the generated attributed
string to be of the appropriate class


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13841 72102866-910b-0410-8b05-ffd578937521
2002-06-11 14:59:51 +00:00
Alexander Malmberg
d0e9dae770 Fix handling of NSMenuItem:s.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13827 72102866-910b-0410-8b05-ffd578937521
2002-06-10 23:48:09 +00:00
Nicola Pero
24a6bb3059 Fixed control with continuous actions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13820 72102866-910b-0410-8b05-ffd578937521
2002-06-10 10:41:15 +00:00
Alexander Malmberg
cf79e927c7 Create and use local NSPasteboard object in -performService:....
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13815 72102866-910b-0410-8b05-ffd578937521
2002-06-09 23:25:58 +00:00
Alexander Malmberg
1242cd434e Make _miniaturizedImage default to the application icon.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13805 72102866-910b-0410-8b05-ffd578937521
2002-06-08 20:38:11 +00:00
Alexander Malmberg
818a27807d Make -doService: handle nil return/send types correctly. Fix calls to NSRunAlertPanel().
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13803 72102866-910b-0410-8b05-ffd578937521
2002-06-08 18:11:17 +00:00
Nicola Pero
852cc0ef1e When changing the scroller frame, do not add the arrows if they are not
already there


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13786 72102866-910b-0410-8b05-ffd578937521
2002-06-06 09:40:56 +00:00
Nicola Pero
9acbeb493a Indented
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13785 72102866-910b-0410-8b05-ffd578937521
2002-06-06 09:38:11 +00:00
Nicola Pero
a6ea4b9df9 Fixed argument of the applicationShouldTerminate: message
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13783 72102866-910b-0410-8b05-ffd578937521
2002-06-06 08:35:19 +00:00
Richard Frith-Macdonald
dc95564430 Patch by jeff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13782 72102866-910b-0410-8b05-ffd578937521
2002-06-06 05:22:45 +00:00
Nicola Pero
dd8b223c61 Cleaned preprocessor #endif
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13778 72102866-910b-0410-8b05-ffd578937521
2002-06-05 15:19:38 +00:00
Adam Fedor
c5612d5943 Transfer beep to GSDisplayServer
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13763 72102866-910b-0410-8b05-ffd578937521
2002-06-04 02:19:23 +00:00
Nicola Pero
6c2475a38d Added long comment about why we should not be trying to approximate cell
sizes here


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13704 72102866-910b-0410-8b05-ffd578937521
2002-05-26 15:34:40 +00:00
Nicola Pero
cddbae3289 Rewritten autoresizing - and now should be used also when setFrame: or setFrameSize:
is called.  Do not round cellsizes to be integers as that is just removing
information we instead want to pass to the backend for better rendering.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13703 72102866-910b-0410-8b05-ffd578937521
2002-05-26 15:25:03 +00:00
Nicola Pero
0d7e20cacf More careful checking for the special case of no text
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13683 72102866-910b-0410-8b05-ffd578937521
2002-05-22 12:35:10 +00:00
Nicola Pero
155b4a267f Updated for the fact the NSHighlightRect() no longer flushes the window
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13681 72102866-910b-0410-8b05-ffd578937521
2002-05-22 12:06:09 +00:00
Nicola Pero
68a815cb1b Updated and simplified code for the fact we no longer flush the window
in NSHighlightRect()


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13680 72102866-910b-0410-8b05-ffd578937521
2002-05-22 12:05:25 +00:00
Nicola Pero
3b8bc8cd5e Do not flush the window during an NSHighlightRect()
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13679 72102866-910b-0410-8b05-ffd578937521
2002-05-22 12:04:47 +00:00
Nicola Pero
92e98af780 Indented some lines
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13678 72102866-910b-0410-8b05-ffd578937521
2002-05-22 11:51:26 +00:00
Nicola Pero
78174f287d Indented line
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13677 72102866-910b-0410-8b05-ffd578937521
2002-05-22 11:45:48 +00:00
Nicola Pero
a629d66a89 Fixed variable declared with the wrong type
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13671 72102866-910b-0410-8b05-ffd578937521
2002-05-21 15:59:03 +00:00
Nicola Pero
484f4f444f Tidied comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13670 72102866-910b-0410-8b05-ffd578937521
2002-05-21 15:54:10 +00:00
Fred Kiefer
5522e94e87 [rectOfItemAtIndex:] for horizontal orientation set items from
left to right. [locationForSubmenu:] for horizontal orientation
set submenu below the item in self.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13662 72102866-910b-0410-8b05-ffd578937521
2002-05-17 09:20:59 +00:00
Adam Fedor
f7edb957d6 Make sure context is released
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13654 72102866-910b-0410-8b05-ffd578937521
2002-05-14 18:49:00 +00:00
Fred Kiefer
2d069c20fb Moved the caching of fonts from [initWithName:matrix:] to
[fontWithName:matrix:] so that unneeded fonts are no longer
created. In [labelFontSize], [smallSystemFontSize] and
[systemFontSize] get values from defaults if available. In
getNSFont() removed hard coded 12, will be relaced by default for
NSUserFontSize.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13648 72102866-910b-0410-8b05-ffd578937521
2002-05-13 22:15:53 +00:00
Fred Kiefer
ff596015a7 In initSystemColors() and systemColorWithName() replaced
implementation of system colours with named colours from a stored
colour list. Added conversion cache for named colours. This allows
easy configuration of system colours while keeping the same performance.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13647 72102866-910b-0410-8b05-ffd578937521
2002-05-13 22:15:01 +00:00
Nicola Pero
4dcab12c71 More clean up in dealloc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13633 72102866-910b-0410-8b05-ffd578937521
2002-05-12 11:23:12 +00:00
Richard Frith-Macdonald
083eb26bd3 Standardise API for character conversion
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13630 72102866-910b-0410-8b05-ffd578937521
2002-05-11 07:17:33 +00:00
Nicola Pero
333c39e035 Fixed error in deallocation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13621 72102866-910b-0410-8b05-ffd578937521
2002-05-10 12:37:31 +00:00
Adam Fedor
0b2c1942c1 Flip font on set if needed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13605 72102866-910b-0410-8b05-ffd578937521
2002-05-08 03:28:09 +00:00
Adam Fedor
c629ab8ec2 Stroke the underline
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13601 72102866-910b-0410-8b05-ffd578937521
2002-05-07 03:37:48 +00:00
Adam Fedor
f48f856447 Check superview frame size before getting it
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13568 72102866-910b-0410-8b05-ffd578937521
2002-05-01 16:59:10 +00:00