Commit graph

3872 commits

Author SHA1 Message Date
alexm
2c98ae0b50 Try to make sure each container gets at least one line frag rect.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15747 72102866-910b-0410-8b05-ffd578937521
2003-01-28 17:00:15 +00:00
alexm
d51bd04211 Give better error message for an invalid glyph range.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15746 72102866-910b-0410-8b05-ffd578937521
2003-01-28 16:44:53 +00:00
alexm
196e5dbb68 Whitespace cleanups and comments.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15745 72102866-910b-0410-8b05-ffd578937521
2003-01-28 16:44:34 +00:00
alexm
4be2ec2f0e (-mouseDown:): Handle empty text views. (-drawRect:): Always draw glyphs' backgrounds.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15740 72102866-910b-0410-8b05-ffd578937521
2003-01-27 15:19:15 +00:00
alexm
c45245dba5 Fix format string.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15739 72102866-910b-0410-8b05-ffd578937521
2003-01-27 15:17:13 +00:00
nico
f804837175 Small optimization with scrolling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15736 72102866-910b-0410-8b05-ffd578937521
2003-01-27 03:07:00 +00:00
nico
bfc003f9f2 Small optimization - avoid to call the scrollview's _doScroll: on the first
click, if the click is not actually changing the float value


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15735 72102866-910b-0410-8b05-ffd578937521
2003-01-27 03:06:34 +00:00
nico
d99a69d11f Patched layout manager to get it to compile; minor NSScroller updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15734 72102866-910b-0410-8b05-ffd578937521
2003-01-27 02:56:01 +00:00
nico
439baa3366 Patched macro calls to get the library to compile
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15733 72102866-910b-0410-8b05-ffd578937521
2003-01-27 02:55:18 +00:00
nico
9daf9c0c98 Updated testPart: and its callers for new semantics; highlight the cell
in -drawArrow:highlight:


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15732 72102866-910b-0410-8b05-ffd578937521
2003-01-27 02:54:00 +00:00
nico
47619cb9f4 Added comment about what looks like a bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15731 72102866-910b-0410-8b05-ffd578937521
2003-01-27 01:13:11 +00:00
alexm
c40ca09105 Draw background for the selected range.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15730 72102866-910b-0410-8b05-ffd578937521
2003-01-26 23:02:55 +00:00
alexm
f7460d1d63 (-textStorage:edited:range:changeInLength:invalidatedRange:): Tell the text views to resize if their text has changed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15728 72102866-910b-0410-8b05-ffd578937521
2003-01-26 20:18:04 +00:00
alexm
eef5009214 (-glyphIndexForPoint:inTextContainer:fractionOfDistanceThroughGlyph:): Try harder to always return a valid glyph index.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15727 72102866-910b-0410-8b05-ffd578937521
2003-01-26 20:10:21 +00:00
alexm
643407bff6 Don't use protocol forward declarations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15725 72102866-910b-0410-8b05-ffd578937521
2003-01-26 19:43:16 +00:00
alexm
0ebd15dc5d Make sure the typing attributes are always a mutable dictionary that we can modify.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15724 72102866-910b-0410-8b05-ffd578937521
2003-01-26 19:42:03 +00:00
alexm
11d148612a Make sure the typing attributes are always a mutable dictionary that we can modify.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15722 72102866-910b-0410-8b05-ffd578937521
2003-01-26 19:36:57 +00:00
alexm
a4c8a4e65d Add missing includes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15721 72102866-910b-0410-8b05-ffd578937521
2003-01-26 19:31:49 +00:00
alexm
652bc4ad08 Merge in text-system-branch.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15720 72102866-910b-0410-8b05-ffd578937521
2003-01-26 19:29:30 +00:00
alexm
879e037c93 Make header self-contained.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15719 72102866-910b-0410-8b05-ffd578937521
2003-01-26 19:26:12 +00:00
alexm
b13fd9e652 Merge in text-system-branch.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15718 72102866-910b-0410-8b05-ffd578937521
2003-01-26 19:21:40 +00:00
alexm
aaa0708fa4 Clean up some includes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15715 72102866-910b-0410-8b05-ffd578937521
2003-01-26 17:57:39 +00:00
alexm
816eb7abda Clean up some prototypes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15714 72102866-910b-0410-8b05-ffd578937521
2003-01-26 17:49:35 +00:00
fedor
1be2da657e Update image caching for printing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15666 72102866-910b-0410-8b05-ffd578937521
2003-01-21 05:08:26 +00:00
nico
670bca0309 Fixes for popup buttons and menus highlight/unhighligthing when used
from the keyboard; small safety belt added to NSWorkspace initialization


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15662 72102866-910b-0410-8b05-ffd578937521
2003-01-21 01:21:19 +00:00
nico
8bda7ef823 Fix to display highlighted menu items when they are triggered from the keyboard;
fix for wrong highlighting of menu items in popupbuttons when used from
the keyboard


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15661 72102866-910b-0410-8b05-ffd578937521
2003-01-21 01:19:44 +00:00
nico
f05ccae9de When performing key equivalents, only highlight a menu item if it's enabled.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15660 72102866-910b-0410-8b05-ffd578937521
2003-01-21 01:18:24 +00:00
nico
81f5252301 Fixes mostly for accessing the popup button items via the keyboard
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15659 72102866-910b-0410-8b05-ffd578937521
2003-01-21 01:17:26 +00:00
nico
f2e0f124c2 Use an exception handler during initialization to be 100% sure we are
unlocking the lock


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15658 72102866-910b-0410-8b05-ffd578937521
2003-01-21 01:16:32 +00:00
nico
654323d491 Indented line
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15638 72102866-910b-0410-8b05-ffd578937521
2003-01-19 23:47:53 +00:00
fedor
02b5b69ecc Rename gsnd to gnustep_sndd
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15599 72102866-910b-0410-8b05-ffd578937521
2003-01-15 03:17:45 +00:00
nico
a1e98f89dd Make sure NSApplicationIcon is always a registered image
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15560 72102866-910b-0410-8b05-ffd578937521
2003-01-09 04:29:35 +00:00
FredKiefer
d295f6c0f0 Made selecting of text work for non editable text fields.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15550 72102866-910b-0410-8b05-ffd578937521
2003-01-08 16:38:04 +00:00
FredKiefer
c5ce3a7932 Use method calls in [initWithCoder:] so opaque flag is set
correctly.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15549 72102866-910b-0410-8b05-ffd578937521
2003-01-08 16:37:01 +00:00
FredKiefer
ac7f3a07c4 Use method calls in [initWithCoder:] to get fontification correct.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15548 72102866-910b-0410-8b05-ffd578937521
2003-01-08 16:36:24 +00:00
FredKiefer
87d2e3975b In [selectWithFrame:...length:] removed duplicate setting of delegate.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15547 72102866-910b-0410-8b05-ffd578937521
2003-01-08 16:35:57 +00:00
FredKiefer
40352e1d1e Changed all the internal methods ([replaceCharacterRange:withString:],
[setFont:range:], [setTextColor:range:], [setalignment:range:],
[replaceRange:withAttributedString:], [setAtrributes:range:]) not
to call [shouldChangeTextInRange:replacementString:], so that they
can be called for a non editable text view.
Added this call to the methods: [insertText:], [transpose:],
[changeColor:], [alignCenter:], [alignLeft:], [alignRight:],
[alignJustified:], [readSelectionFromPasteboard:type:].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15546 72102866-910b-0410-8b05-ffd578937521
2003-01-08 16:35:28 +00:00
nico
ff7aa049d2 Fixed building libgmodel bundle
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15429 72102866-910b-0410-8b05-ffd578937521
2002-12-31 15:35:29 +00:00
nico
04517047a9 Fixed building libgmodel as a bundle
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15428 72102866-910b-0410-8b05-ffd578937521
2002-12-31 15:34:59 +00:00
nico
0f435c5b29 Updated all checks for library-combo in makefile for building nib2gmodel
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15406 72102866-910b-0410-8b05-ffd578937521
2002-12-30 17:33:49 +00:00
nico
82450b3688 Updated all checks for library-combo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15405 72102866-910b-0410-8b05-ffd578937521
2002-12-30 17:33:23 +00:00
gcasa
f33a31c5dd Fixing minor issue w/ NSToolbarItem.m. I forgot to include NSImage.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15369 72102866-910b-0410-8b05-ffd578937521
2002-12-29 05:44:28 +00:00
gcasa
88c7ec0245 Committing a fix for the "default" font issue. Also adding some of the things I have been working on for NSToolbar/NSToolbarItem.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15368 72102866-910b-0410-8b05-ffd578937521
2002-12-29 05:38:29 +00:00
nico
64e0e16091 Small tidyup of my last ChangeLog entry
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15363 72102866-910b-0410-8b05-ffd578937521
2002-12-28 00:55:55 +00:00
nico
4c0d9ab003 Fixed bug causing drag&drop not to work in deferred windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15362 72102866-910b-0410-8b05-ffd578937521
2002-12-28 00:50:37 +00:00
nico
23accee8b6 Fixed drag&drop in deferred windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15361 72102866-910b-0410-8b05-ffd578937521
2002-12-28 00:49:40 +00:00
nico
21c9c4d561 Added -setFont:range: in NSText; modified setFont:ofRange: to call the other one
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15334 72102866-910b-0410-8b05-ffd578937521
2002-12-25 16:59:06 +00:00
nico
e6479978c3 Renamed setFont:ofRange: to setFont:range:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15333 72102866-910b-0410-8b05-ffd578937521
2002-12-25 16:58:28 +00:00
nico
360661dc2c Added -setFont:range:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15332 72102866-910b-0410-8b05-ffd578937521
2002-12-25 16:58:02 +00:00
nico
071a4f0352 Added -setFont:range: method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15331 72102866-910b-0410-8b05-ffd578937521
2002-12-25 16:57:37 +00:00