Commit graph

2285 commits

Author SHA1 Message Date
CaS
e89efc796c Fix function name error
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15182 72102866-910b-0410-8b05-ffd578937521
2002-11-29 14:23:46 +00:00
CaS
edbec32936 Quick hack for setting ivars.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15158 72102866-910b-0410-8b05-ffd578937521
2002-11-27 21:39:48 +00:00
fedor
a0400492c5 Check array count
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15157 72102866-910b-0410-8b05-ffd578937521
2002-11-27 21:19:53 +00:00
FredKiefer
acd4047389 Added new MacOSX methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15105 72102866-910b-0410-8b05-ffd578937521
2002-11-26 00:18:33 +00:00
FredKiefer
f1e9e78f49 Corrected [GSBezierPath appendBezierPath:] to check the class of
the parameter and to keep the isFlat flag in sync.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15065 72102866-910b-0410-8b05-ffd578937521
2002-11-24 01:05:20 +00:00
fedor
2855854b73 Version 0.8.3
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15043 72102866-910b-0410-8b05-ffd578937521
2002-11-22 03:19:12 +00:00
FredKiefer
2aee934b43 Replaces [_doPath] with calls to [NSGraphicsContext
GSSendBezierPath:].
Added optimisation methods [appendBezierPath:] and
[transformUsingAffineTransform:] on GSBezierPath.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15038 72102866-910b-0410-8b05-ffd578937521
2002-11-21 20:28:42 +00:00
FredKiefer
aab03279c4 Rewrote [GSSendBezierPath:] to send the full path to the
backend. Code comes from [NSBezierPath _doPath].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15037 72102866-910b-0410-8b05-ffd578937521
2002-11-21 20:27:44 +00:00
gcasa
c547ef3dc9 Added versioning code for .gorm files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15005 72102866-910b-0410-8b05-ffd578937521
2002-11-18 06:00:26 +00:00
FredKiefer
d20c7fb4ed Removed unneeded includes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15004 72102866-910b-0410-8b05-ffd578937521
2002-11-17 18:38:34 +00:00
FredKiefer
ca58035b16 Rewrote [drawHashMarksAndLabelsInRect:] to use string drawing and
bezier path code instead of direct PS operations.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15003 72102866-910b-0410-8b05-ffd578937521
2002-11-17 18:37:52 +00:00
fedor
c6487d0edc Add OpenGL support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14997 72102866-910b-0410-8b05-ffd578937521
2002-11-16 04:48:52 +00:00
fedor
c1342fe704 NSSavePanel (-ok:): Display filename with extension when replacing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14983 72102866-910b-0410-8b05-ffd578937521
2002-11-12 21:31:11 +00:00
alexm
9a972cfcfe Allow nil data source in -setDataSource:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14982 72102866-910b-0410-8b05-ffd578937521
2002-11-12 19:41:26 +00:00
FredKiefer
8cd8376db5 Corrected includes to speed up compilation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14972 72102866-910b-0410-8b05-ffd578937521
2002-11-11 00:15:29 +00:00
FredKiefer
fb68f59b27 Removed compiler warnings by correcting method names.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14971 72102866-910b-0410-8b05-ffd578937521
2002-11-11 00:14:04 +00:00
FredKiefer
0b83965263 Prefixed all ivars with underscore
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14970 72102866-910b-0410-8b05-ffd578937521
2002-11-10 17:11:49 +00:00
CaS
faafdba8e7 Bugfix storing incorrect defaults values.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14964 72102866-910b-0410-8b05-ffd578937521
2002-11-09 18:46:15 +00:00
fedor
57d4133012 Only allow main menu to become key and try to find another one.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14958 72102866-910b-0410-8b05-ffd578937521
2002-11-08 16:39:41 +00:00
FredKiefer
19832a88ee Removed all direct usage of ivar _contents. Implemented
[attributedAlternateTitle] and use this in [cellSize] and
[drawInteriorWithFrame:inView:].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14953 72102866-910b-0410-8b05-ffd578937521
2002-11-07 23:34:08 +00:00
FredKiefer
27314cde11 In [initImageCell:] and [initTextCell:] set the default menu.
In all [XXXValue] methods try to get the value from the objectValue
first and use [stringValue] instead of accessing the contents directly.
Removed AUTORELEASE calls from [attributedStringValue] and similar
places.
In [cellSize] use [attributedStringValue] to get the string to size.
In [drawInteriorWithFrame:inView:] use [attributedStringValue] to
get the string to draw. This make the method [_drawText:inFrame:]
obsolete for this class, but subclasses still use it.
New method [_setupTextWithFrame:inView:editor:] with the common
text view setup from [editWithFrame:inView:editor:delegate:event:]
and [selectWithFrame:inView:editor:delegate:start:length:].
Calls to [setFont:] and [setAlignment:] switch the cell to NSTextCellType.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14952 72102866-910b-0410-8b05-ffd578937521
2002-11-07 23:33:33 +00:00
fedor
fc55efe8ac Remove NSLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14946 72102866-910b-0410-8b05-ffd578937521
2002-11-06 20:07:40 +00:00
fedor
fdc820d525 Dragging fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14945 72102866-910b-0410-8b05-ffd578937521
2002-11-06 20:04:59 +00:00
fedor
47ccc877bc Warning and if check fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14944 72102866-910b-0410-8b05-ffd578937521
2002-11-06 15:44:36 +00:00
fedor
870327250f Change workspace default to GWorkspace
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14926 72102866-910b-0410-8b05-ffd578937521
2002-11-05 05:04:40 +00:00
fedor
75a2d041bd Remove comment of set editable, not ready to make this yet.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14908 72102866-910b-0410-8b05-ffd578937521
2002-11-02 23:20:58 +00:00
fedor
6ccbf6b20b Add dragging of ruler markers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14907 72102866-910b-0410-8b05-ffd578937521
2002-11-02 23:17:23 +00:00
fedor
73445405a5 Document-base app fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14904 72102866-910b-0410-8b05-ffd578937521
2002-11-01 22:42:52 +00:00
gcasa
00c2564afb Adding logic for .gorm file directories
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14892 72102866-910b-0410-8b05-ffd578937521
2002-10-31 14:59:18 +00:00
pyr
89ef1d72c9 * Source/NSSplitView.m ([NSSplitView -resizeSubviewsWithOldSize:]):
Move code from setFrame: & resizeWithOldSuperviewSize:
  to resizeSubviewsWithOldSize:.

* Source/NSColorPanel.m ([NSColorPanel _initWithoutGModel]):
  make the window a little bit higher. Some ColorPickers would not fit.
* ColorPickers/GSCMYKColorPicker.tiff:
* ColorPickers/GSGrayColorPicker.tiff:
* ColorPickers/GSHSBColorPicker.tiff:
* ColorPickers/GSRGBColorPicker.tiff:
  resize so that the image fits within the NSButton.
  (only blank area was removed)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14868 72102866-910b-0410-8b05-ffd578937521
2002-10-29 18:00:15 +00:00
fedor
9984a9375e Remove typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14865 72102866-910b-0410-8b05-ffd578937521
2002-10-29 04:54:44 +00:00
fedor
6b65871481 Load prolog.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14863 72102866-910b-0410-8b05-ffd578937521
2002-10-29 03:46:39 +00:00
fedor
3766e95ce1 Printing impl.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14862 72102866-910b-0410-8b05-ffd578937521
2002-10-29 02:48:16 +00:00
CaS
c7efda6fab Mmory leak fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14856 72102866-910b-0410-8b05-ffd578937521
2002-10-28 09:09:14 +00:00
CaS
c295765267 Attempted fix for multiple dealloc problems.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14855 72102866-910b-0410-8b05-ffd578937521
2002-10-28 08:08:57 +00:00
pyr
118c53a894 * Source/NSMenuView.m ([NSMenuView -trackWithEvent:]):
new tracking code. The menu feels snappier now (at least for me).

* Source/NSColorWell.m ([-activate:], [-deactivate])
  register/unregister for NSColorPanelColorChangedNotification.
  ([NSColorWell _takeColorFromPanel:]): new method to prevent endless
  loop when setting the well's color from the color panel.
  ([NSColorWell -initWithCoder:]): register for NSColorPboardType.

* Source/NSColorPanel.m ([NSColorPanel -_bottomWellAction:]):
  called when hitting one of the well at the bottom of the panel.
  Previous behaviour would not send a
  NSColorPanelColorChangedNotification.
  ([NSColorPanel -initWithCoder:]): update bottom wells construction to
  call _bottomWellAction: instead of takeColorFrom:.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14853 72102866-910b-0410-8b05-ffd578937521
2002-10-27 22:33:16 +00:00
fedor
bd896cbb66 Fix memory leak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14852 72102866-910b-0410-8b05-ffd578937521
2002-10-27 02:47:43 +00:00
fedor
514c3aa13e Stub implementation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14847 72102866-910b-0410-8b05-ffd578937521
2002-10-26 03:35:11 +00:00
fedor
5610a38d95 Document NSDocumentController, imrpove setting directory.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14845 72102866-910b-0410-8b05-ffd578937521
2002-10-26 02:38:34 +00:00
fedor
4579d434e7 Remove encodingForRegistry:encoding:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14832 72102866-910b-0410-8b05-ffd578937521
2002-10-22 03:24:48 +00:00
CaS
d43b8b0077 Typo fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14809 72102866-910b-0410-8b05-ffd578937521
2002-10-21 17:23:59 +00:00
CaS
ca36571cc6 Fix coding bugs etc.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14808 72102866-910b-0410-8b05-ffd578937521
2002-10-21 17:20:46 +00:00
CaS
82d40abd70 Rewrite key view handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14805 72102866-910b-0410-8b05-ffd578937521
2002-10-21 13:03:23 +00:00
nico
5b3b0ef612 Fixed setNextKeyView: and setPreviousKeyView:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14803 72102866-910b-0410-8b05-ffd578937521
2002-10-20 23:56:30 +00:00
fedor
feaf4828d5 More focus fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14800 72102866-910b-0410-8b05-ffd578937521
2002-10-20 01:48:55 +00:00
nico
d6e7072b6e Get the GSBackend class in a safer way
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14783 72102866-910b-0410-8b05-ffd578937521
2002-10-15 00:47:52 +00:00
nico
33210ed0c3 Fixed last change which had broken GSFileBrowserHideDotFiles
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14767 72102866-910b-0410-8b05-ffd578937521
2002-10-14 00:31:22 +00:00
CaS
1891c095af Tidied method argument naming.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14763 72102866-910b-0410-8b05-ffd578937521
2002-10-13 13:50:06 +00:00
CaS
ebf17d372b Documentation tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14762 72102866-910b-0410-8b05-ffd578937521
2002-10-13 10:33:26 +00:00
CaS
ed00ac6d93 Documentation tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14760 72102866-910b-0410-8b05-ffd578937521
2002-10-13 10:26:57 +00:00