Commit graph

3620 commits

Author SHA1 Message Date
Richard Frith-Macdonald
6c0cb17c64 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
Adam Fedor
1822484c60 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
Fred Kiefer
ff1ecefed7 General clean up in NSCell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14955 72102866-910b-0410-8b05-ffd578937521
2002-11-07 23:35:34 +00:00
Fred Kiefer
be4787e6dc Added some new MacOSX values to NSDragOperation and some new methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14954 72102866-910b-0410-8b05-ffd578937521
2002-11-07 23:34:31 +00:00
Fred Kiefer
6f075a0a20 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
Fred Kiefer
e3aa46c612 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
Adam Fedor
930b47d1cc 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
Adam Fedor
862214a9ab 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
Adam Fedor
5e12263244 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
Adam Fedor
1f3d2e81a0 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
Adam Fedor
e43ebddc33 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
Adam Fedor
52b116f1f4 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
Adam Fedor
00f196e1c0 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
Gregory John Casamento
356e452793 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
Pierre-Yves Rivaille
ed7570937a * 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
Richard Frith-Macdonald
2f5753f29d iAdded some documentation and a protocol
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14867 72102866-910b-0410-8b05-ffd578937521
2002-10-29 08:28:23 +00:00
Richard Frith-Macdonald
df3ff193ea Avoid compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14866 72102866-910b-0410-8b05-ffd578937521
2002-10-29 05:41:29 +00:00
Adam Fedor
77dde4b8bc 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
Adam Fedor
06a5c62fa5 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
Adam Fedor
cce683f608 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
Richard Frith-Macdonald
c6cf00fc56 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
Richard Frith-Macdonald
63ed41067f 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
Pierre-Yves Rivaille
90645a5f8a * 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
Adam Fedor
48ecaabf8b 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
Adam Fedor
bd5048dc2b 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
Adam Fedor
24653e2d38 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
Mirko Viviani
9f911dc5d8 * configure.ac: fixed header/ldflags for freebsd.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14844 72102866-910b-0410-8b05-ffd578937521
2002-10-25 17:33:36 +00:00
Adam Fedor
ccd4853629 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
Nicola Pero
937eb6859c Updated comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14830 72102866-910b-0410-8b05-ffd578937521
2002-10-22 00:41:09 +00:00
Nicola Pero
d5fa233bb5 Updated strings target for new gnustep-make
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14829 72102866-910b-0410-8b05-ffd578937521
2002-10-22 00:40:43 +00:00
Nicola Pero
51e51fe26b Renamed 'strings::' to 'after-strings::' so that it works cleanly with newer gnustep-make
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14828 72102866-910b-0410-8b05-ffd578937521
2002-10-22 00:38:28 +00:00
Richard Frith-Macdonald
b38ed9a2d0 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
Richard Frith-Macdonald
a19302360b 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
Richard Frith-Macdonald
20247dac50 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
Nicola Pero
8bec211360 Fixed problems in NSView when setNextKeyView: is used in complicated ways
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14804 72102866-910b-0410-8b05-ffd578937521
2002-10-20 23:57:11 +00:00
Nicola Pero
4d694da0f5 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
Richard Frith-Macdonald
90879f7d74 Minor consistency fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14802 72102866-910b-0410-8b05-ffd578937521
2002-10-20 18:23:10 +00:00
Adam Fedor
527fd35378 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
Nicola Pero
b1e6dbc92e Made loading backend more robust on windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14784 72102866-910b-0410-8b05-ffd578937521
2002-10-15 00:48:15 +00:00
Nicola Pero
1b95651245 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
Adam Fedor
a92e6cdeec Version 0.8.2
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14769 72102866-910b-0410-8b05-ffd578937521
2002-10-14 03:00:12 +00:00
Nicola Pero
a6ec229111 Fixed last change in NSSavePanel, which had broken GSFileBrowserHideDotFiles
option


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14768 72102866-910b-0410-8b05-ffd578937521
2002-10-14 00:31:59 +00:00
Nicola Pero
ee191fcb9f 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
Richard Frith-Macdonald
af70a6521a 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
Richard Frith-Macdonald
76d90272f8 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
Richard Frith-Macdonald
92867e201f 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
Richard Frith-Macdonald
d73d397164 Fix error in last mod.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14759 72102866-910b-0410-8b05-ffd578937521
2002-10-13 10:13:38 +00:00
Richard Frith-Macdonald
47ee0f0312 Tidied for documentation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14758 72102866-910b-0410-8b05-ffd578937521
2002-10-13 09:16:17 +00:00
Richard Frith-Macdonald
c8fe5fbff1 Tidied for autogsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14752 72102866-910b-0410-8b05-ffd578937521
2002-10-13 07:10:44 +00:00
Richard Frith-Macdonald
40253f5a72 SRome documentation tidyupsi
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14751 72102866-910b-0410-8b05-ffd578937521
2002-10-13 07:00:38 +00:00