Commit graph

3872 commits

Author SHA1 Message Date
FredKiefer
1823c029ae Only accept first mouse when editable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15857 72102866-910b-0410-8b05-ffd578937521
2003-02-02 16:56:38 +00:00
alexm
02afe8100e Clarify comments about user attribute changing now that I've figured out a way for it to work. Rewrite the actions to match.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15852 72102866-910b-0410-8b05-ffd578937521
2003-02-02 01:37:27 +00:00
FredKiefer
d1f89fad61 Added missing parts to NSWindow.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15849 72102866-910b-0410-8b05-ffd578937521
2003-02-02 01:00:12 +00:00
FredKiefer
16126c9b4a Rewrote all the toolbar methods. Implemented [zoom:]. Extracted
new method [_terminateBackendWindow] from [dealloc] and use it to
implement one shot windows in the orderOut case of
[orderWindow:relativeTo:]. Removed frame restriction from
[setFrameFromString:]  as this gets done in
[setFrame:display:]. Use [NSScreen visibleFrame] here and in
[stringWithSavedFrame]. Implemented [cascadeTopLeftFromPoint:].
Removed unused and empty methods [performHide:] and [performUnhide:].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15848 72102866-910b-0410-8b05-ffd578937521
2003-02-02 00:58:32 +00:00
alexm
8ed0811f4f (-shouldChangeTextInRange:replacementString:, -didChangeText): Allow changes even if we're not the first responder, but end the editing session right away.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15844 72102866-910b-0410-8b05-ffd578937521
2003-02-01 14:14:53 +00:00
alexm
f762c2b233 (-layoutLineNewParagraph:): Fix sign problem with descender.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15843 72102866-910b-0410-8b05-ffd578937521
2003-02-01 12:54:09 +00:00
nico
7a5ab65df1 lock / unlock changes for faster drawing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15840 72102866-910b-0410-8b05-ffd578937521
2003-02-01 05:11:03 +00:00
nico
2177ef847e Lock focus / unlock focus optimizations and fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15839 72102866-910b-0410-8b05-ffd578937521
2003-02-01 05:10:00 +00:00
alexm
72512673b2 (-replaceLayoutManager:): Remove the containers from the correct layout manager.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15838 72102866-910b-0410-8b05-ffd578937521
2003-02-01 02:32:35 +00:00
alexm
28f22f8860 (-removeTextContainerAtIndex:): Set textcontainers to NULL after freeing it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15837 72102866-910b-0410-8b05-ffd578937521
2003-02-01 02:32:03 +00:00
FredKiefer
50ff36cc58 New interface [GSDisplayServer restrictWindow:toImage:]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15832 72102866-910b-0410-8b05-ffd578937521
2003-01-31 22:29:31 +00:00
alexm
4dfbdeebe6 Add handling of NSAttachmentCharacter.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15830 72102866-910b-0410-8b05-ffd578937521
2003-01-31 22:25:12 +00:00
FredKiefer
98f991dda9 Empty implementation for this.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15829 72102866-910b-0410-8b05-ffd578937521
2003-01-31 22:24:32 +00:00
FredKiefer
bc97690c56 New interface [restrictWindow:toImage:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15828 72102866-910b-0410-8b05-ffd578937521
2003-01-31 22:24:08 +00:00
alexm
83f82bdffe Remove debugging printf.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15826 72102866-910b-0410-8b05-ffd578937521
2003-01-31 21:11:13 +00:00
alexm
132c6dc661 Implement text attachment handling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15825 72102866-910b-0410-8b05-ffd578937521
2003-01-31 21:08:24 +00:00
nico
36aea1c23d Fixed more warnings, tidied up RTFConsumer
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15783 72102866-910b-0410-8b05-ffd578937521
2003-01-30 15:36:55 +00:00
nico
9ef7b5e2e5 Removed a couple of private methods which were not used anywhere
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15782 72102866-910b-0410-8b05-ffd578937521
2003-01-30 15:36:15 +00:00
nico
412ab2f18e Use -Wno-protocol when compiling NSMenuItem
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15781 72102866-910b-0410-8b05-ffd578937521
2003-01-30 15:35:36 +00:00
nico
519bd98549 Added small comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15779 72102866-910b-0410-8b05-ffd578937521
2003-01-30 04:50:07 +00:00
nico
127a5fa5fc Fixed compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15778 72102866-910b-0410-8b05-ffd578937521
2003-01-30 04:37:07 +00:00
nico
70710bd23a Declare lockFocusInRect:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15777 72102866-910b-0410-8b05-ffd578937521
2003-01-30 04:36:34 +00:00
nico
ab8ed129f0 Added missing cast
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15776 72102866-910b-0410-8b05-ffd578937521
2003-01-30 04:29:37 +00:00
nico
f454a9a289 Fixed compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15775 72102866-910b-0410-8b05-ffd578937521
2003-01-30 04:29:00 +00:00
nico
cb07412522 Fixed compiler warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15774 72102866-910b-0410-8b05-ffd578937521
2003-01-30 04:28:39 +00:00
nico
c11218da2c Use setHighlighted: on table header cells instead of setting their background
color directly


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15773 72102866-910b-0410-8b05-ffd578937521
2003-01-30 04:27:26 +00:00
nico
1986c09996 Implemented setHighlighted: method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15772 72102866-910b-0410-8b05-ffd578937521
2003-01-30 04:26:35 +00:00
nico
c5c2a94b07 Moved private interface into public header ... as a quick hack to fix
compiler warnings


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15771 72102866-910b-0410-8b05-ffd578937521
2003-01-30 04:24:42 +00:00
nico
e26309b3f8 Private gnustep category moved here
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15770 72102866-910b-0410-8b05-ffd578937521
2003-01-30 04:23:40 +00:00
nico
6f88d270df NSMenuItem protocol conforms to NSObject protocol
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15769 72102866-910b-0410-8b05-ffd578937521
2003-01-30 03:55:18 +00:00
nico
2ca9ab4561 Fixed laziness in deallocating a window controller
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15768 72102866-910b-0410-8b05-ffd578937521
2003-01-30 03:45:22 +00:00
nico
4767e89f23 Fixed dealloc laziness in releasing stuff as soon as possible
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15767 72102866-910b-0410-8b05-ffd578937521
2003-01-30 03:44:51 +00:00
nico
9f58f4eeac Fix for menu sizing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15766 72102866-910b-0410-8b05-ffd578937521
2003-01-30 03:04:25 +00:00
nico
b9f8608224 Removed ugly 17 pixels added to title width when computing menu sizes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15765 72102866-910b-0410-8b05-ffd578937521
2003-01-30 03:03:51 +00:00
nico
f48f870b20 Small reorganization of code in NSScrollView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15764 72102866-910b-0410-8b05-ffd578937521
2003-01-30 02:15:39 +00:00
nico
98413373e6 Small reorganization of code: scroll header view and rulers in reflectedScrolledClipView:
method, rather than when generating the scroll command to the clipview


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15763 72102866-910b-0410-8b05-ffd578937521
2003-01-30 02:15:02 +00:00
alexm
9d81314a7f Guard against a nil _layoutManager in a few places.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15761 72102866-910b-0410-8b05-ffd578937521
2003-01-29 20:19:20 +00:00
alexm
594327ae3e Make sure the text network stays synchronized when one part changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15760 72102866-910b-0410-8b05-ffd578937521
2003-01-29 20:19:01 +00:00
alexm
e1aa98ed75 Fix adjustment of selection range when entire selection is removed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15759 72102866-910b-0410-8b05-ffd578937521
2003-01-29 15:05:12 +00:00
alexm
b432343546 (-layoutLineNewParagraph:): Place baseline higher.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15758 72102866-910b-0410-8b05-ffd578937521
2003-01-29 15:04:46 +00:00
alexm
6bd03e9102 Remove debugging code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15757 72102866-910b-0410-8b05-ffd578937521
2003-01-29 00:43:43 +00:00
alexm
6b66798b94 Implement basic drawing of insertion point.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15756 72102866-910b-0410-8b05-ffd578937521
2003-01-29 00:42:29 +00:00
FredKiefer
e0c563afb3 Adopted RTF parser to changes to NSParagraphStyle
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15755 72102866-910b-0410-8b05-ffd578937521
2003-01-28 22:40:49 +00:00
FredKiefer
5c6e3a42af In [copyWithZone:] use mutable copy of prargraph style.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15754 72102866-910b-0410-8b05-ffd578937521
2003-01-28 22:39:56 +00:00
alexm
9c2a074662 (-setConstrainedFrameSize:):Fix calculation of effective minimum size. (-sizeToFit): Use maximum x and y of used rect to calculate size, not used rect's own size.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15753 72102866-910b-0410-8b05-ffd578937521
2003-01-28 22:32:18 +00:00
alexm
eea0aebf77 Add code to adjust the selected range after every change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15752 72102866-910b-0410-8b05-ffd578937521
2003-01-28 21:57:22 +00:00
alexm
72bd7f653c (-initWithFrame:textContainer:): Make the default text container inset (2,0).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15751 72102866-910b-0410-8b05-ffd578937521
2003-01-28 21:23:51 +00:00
alexm
3a45cca4be (-usedRectForTextContainer:): Return sane value if there are no line frag rects in the text container.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15750 72102866-910b-0410-8b05-ffd578937521
2003-01-28 19:05:09 +00:00
alexm
4f2e90c048 Set proper used rect for line frag rects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15749 72102866-910b-0410-8b05-ffd578937521
2003-01-28 19:04:34 +00:00
alexm
b9dbf335e1 Avoid making calls to the layout manager with invalid arguments.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15748 72102866-910b-0410-8b05-ffd578937521
2003-01-28 17:00:28 +00:00