Commit graph

2830 commits

Author SHA1 Message Date
Sergii Stoian
42b6ef6744 Border type of column's scroll view fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17082 72102866-910b-0410-8b05-ffd578937521
2003-07-01 13:41:48 +00:00
Richard Frith-Macdonald
ac774bd294 fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17077 72102866-910b-0410-8b05-ffd578937521
2003-06-30 16:24:11 +00:00
Richard Frith-Macdonald
6a39184087 Lots of tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17076 72102866-910b-0410-8b05-ffd578937521
2003-06-30 16:17:45 +00:00
Richard Frith-Macdonald
ccb28dedd8 Fix typos snd spelling errors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17075 72102866-910b-0410-8b05-ffd578937521
2003-06-30 11:12:33 +00:00
Richard Frith-Macdonald
55592728b1 Tidied doc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17074 72102866-910b-0410-8b05-ffd578937521
2003-06-30 09:48:59 +00:00
Richard Frith-Macdonald
ea6e6d4a9e Documentation improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17072 72102866-910b-0410-8b05-ffd578937521
2003-06-30 09:09:00 +00:00
Alexander Malmberg
6a11f149ca Add a missing '@'.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17069 72102866-910b-0410-8b05-ffd578937521
2003-06-29 18:17:08 +00:00
Alexander Malmberg
c8ac5f25e4 Automatically turn off screen fonts if required according to the current context's ctm.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17067 72102866-910b-0410-8b05-ffd578937521
2003-06-29 15:39:54 +00:00
Richard Frith-Macdonald
c246aaf25c Documentation tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17064 72102866-910b-0410-8b05-ffd578937521
2003-06-28 19:15:18 +00:00
Richard Frith-Macdonald
b1c07282e1 Tweaks and debugging
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17063 72102866-910b-0410-8b05-ffd578937521
2003-06-28 17:37:03 +00:00
Richard Frith-Macdonald
94b97f00b8 Declare types when writing to pasteboard
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17059 72102866-910b-0410-8b05-ffd578937521
2003-06-28 06:55:13 +00:00
Richard Frith-Macdonald
17d4b32bba More filter stuff added
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17058 72102866-910b-0410-8b05-ffd578937521
2003-06-28 06:46:14 +00:00
Richard Frith-Macdonald
e15eb96920 More documentation tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17053 72102866-910b-0410-8b05-ffd578937521
2003-06-27 18:37:00 +00:00
Richard Frith-Macdonald
a8ce266293 More documentation tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17052 72102866-910b-0410-8b05-ffd578937521
2003-06-27 17:09:49 +00:00
Richard Frith-Macdonald
a1336268a7 More documentation updates and initial implementation of some filtering code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17051 72102866-910b-0410-8b05-ffd578937521
2003-06-27 16:42:27 +00:00
Richard Frith-Macdonald
47bcd510bb More pasteboard work
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17049 72102866-910b-0410-8b05-ffd578937521
2003-06-27 14:53:25 +00:00
Richard Frith-Macdonald
971194c387 More filter work
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17048 72102866-910b-0410-8b05-ffd578937521
2003-06-27 14:47:11 +00:00
Richard Frith-Macdonald
02e6c7f15c Partial implementation of filtering services
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17046 72102866-910b-0410-8b05-ffd578937521
2003-06-27 12:08:13 +00:00
Richard Frith-Macdonald
c03667e1c4 Some pasteboard fixes and lots of documentation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17045 72102866-910b-0410-8b05-ffd578937521
2003-06-27 11:13:30 +00:00
Ludovic Marcotte
6a1f74c661 See the ChangeLog for the full description.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17043 72102866-910b-0410-8b05-ffd578937521
2003-06-27 00:45:24 +00:00
Fred Kiefer
7caced9d58 (_glyphDumpRuns,
helpers::generateRunsToCharacter:,
helpers::generateGlyphsUpToCharacter:,
helpers::generateGlyphsUpToGlyph:,
helpers::glyphForCharacter:index:positions::, getGlyphs:range:,
characterRangeForGlyphRange:actualGlyphRange:,
glyphRangeForCharacterRange:actualCharacterRange:,
invalidateGlyphsForCharacterRange:changeInLength:actualCharacterRange:,
insertTextContainer:atIndex:):
Removed compiler warning about signed/unsigned comparision.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17041 72102866-910b-0410-8b05-ffd578937521
2003-06-26 23:25:34 +00:00
Fred Kiefer
a50f7b9a5c Corrected handling of pasteboard data of type NSFilenamesPboardType.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17015 72102866-910b-0410-8b05-ffd578937521
2003-06-24 22:57:12 +00:00
Alexander Malmberg
722091ab9d (-drawLabel:inRect:): Use -drawInRect: instead of -drawAtPoint: to draw label.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17009 72102866-910b-0410-8b05-ffd578937521
2003-06-23 23:08:20 +00:00
Alexander Malmberg
7316997787 (-drawAtPoint:): Place the text correctly when the view isn't flipped.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17008 72102866-910b-0410-8b05-ffd578937521
2003-06-23 17:05:05 +00:00
Fred Kiefer
3c46da992d Changed element char_index of structure glyph_cache_t to unsigned.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17006 72102866-910b-0410-8b05-ffd578937521
2003-06-23 15:51:27 +00:00
Fred Kiefer
26c82d8aef Removed compiler warning about signed/unsigned comparision.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17005 72102866-910b-0410-8b05-ffd578937521
2003-06-23 15:50:46 +00:00
Fred Kiefer
a3aecbd99d Commented out unused variables WTitleHeight, ScrollMinSize,
MessageMinHeight.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17004 72102866-910b-0410-8b05-ffd578937521
2003-06-23 15:48:01 +00:00
Richard Frith-Macdonald
b86567b3d7 Minor documentation additions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17002 72102866-910b-0410-8b05-ffd578937521
2003-06-22 14:36:17 +00:00
Richard Frith-Macdonald
a47f8086fa Minor documentation fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17001 72102866-910b-0410-8b05-ffd578937521
2003-06-22 12:04:47 +00:00
Richard Frith-Macdonald
31389b5cd9 Doc tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17000 72102866-910b-0410-8b05-ffd578937521
2003-06-22 09:29:34 +00:00
Richard Frith-Macdonald
f2d448c8cd Documentation fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16999 72102866-910b-0410-8b05-ffd578937521
2003-06-22 09:00:34 +00:00
Fred Kiefer
bde7ea7f4a Added missing include for GSGuiPrivate.h.
(initWithContentRect:...screen:, updateFromPrintInfo)
Removed compiler warning about signed/unsigned comparision.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16993 72102866-910b-0410-8b05-ffd578937521
2003-06-21 23:30:25 +00:00
Fred Kiefer
32db96f136 (_print)
Removed compiler warning about signed/unsigned comparision.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16992 72102866-910b-0410-8b05-ffd578937521
2003-06-21 23:29:38 +00:00
Fred Kiefer
3bfbe29553 In [+initPrintInfoDefaults] initialize variable printer with nil.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16991 72102866-910b-0410-8b05-ffd578937521
2003-06-21 23:29:06 +00:00
Fred Kiefer
4afc950070 (insertItemWithTitle:atIndex:,
selectItemAtIndex:, selectItemWithTitle:, setTitle:)
Corrected type of local variable.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16990 72102866-910b-0410-8b05-ffd578937521
2003-06-21 23:28:40 +00:00
Fred Kiefer
b43ca557f3 (initWithContentRect:...screen:, readPrintInfo)
Removed compiler warning about signed/unsigned comparision.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16988 72102866-910b-0410-8b05-ffd578937521
2003-06-21 23:26:30 +00:00
Fred Kiefer
fc8bfdad89 (selectAll:)
Removed compiler warning about signed/unsigned comparision.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16987 72102866-910b-0410-8b05-ffd578937521
2003-06-21 23:26:04 +00:00
Fred Kiefer
972bb877d1 (rectArrayForGlyphRange:...rectCount:,
glyphRangeForBoundingRect:inTextContainer:,
_insertionPointRectForCharacterIndex:textContainer:):
Removed compiler warning about signed/unsigned comparision.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16986 72102866-910b-0410-8b05-ffd578937521
2003-06-21 23:25:27 +00:00
Fred Kiefer
5261934143 (initWithName:host:):
Removed compiler warning about signed/unsigned comparision.
Adopted to changes in header.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16983 72102866-910b-0410-8b05-ffd578937521
2003-06-21 23:23:39 +00:00
Adam Fedor
9d122f2cb1 * Source/NSOutlineView.m ([NSOutlineView -drawRow:clipRect:]):
Add delegate method call. Patch from Yen-Ju Chen
* Source/NSView.m (-menuForEvent:): Add note about this
method being discouraged.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16981 72102866-910b-0410-8b05-ffd578937521
2003-06-21 16:44:46 +00:00
Adam Fedor
8309f24bee Use NSFont not isa to call class methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16978 72102866-910b-0410-8b05-ffd578937521
2003-06-21 03:21:33 +00:00
Adam Fedor
78417b8898 Check for Gui before removing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16972 72102866-910b-0410-8b05-ffd578937521
2003-06-20 16:15:59 +00:00
Adam Fedor
687ad68408 Add GSGuiPrivate header for localization
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16949 72102866-910b-0410-8b05-ffd578937521
2003-06-17 15:12:32 +00:00
Fred Kiefer
fdf5470d7e Adopted to changes in header.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16935 72102866-910b-0410-8b05-ffd578937521
2003-06-17 13:28:46 +00:00
Alexander Malmberg
d332316918 Handle text containers with no area.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16929 72102866-910b-0410-8b05-ffd578937521
2003-06-15 15:18:54 +00:00
Alexander Malmberg
5a3c3668c3 Remove unused GSFontProxy class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16921 72102866-910b-0410-8b05-ffd578937521
2003-06-15 00:36:36 +00:00
Adam Fedor
6be9174933 Include <> -> ""
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16917 72102866-910b-0410-8b05-ffd578937521
2003-06-13 15:01:12 +00:00
Adam Fedor
f99a743b43 Implement NSActionCell.m (-setObjectValue:)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16905 72102866-910b-0410-8b05-ffd578937521
2003-06-12 03:16:19 +00:00
Alexander Malmberg
a55cd8adda Add [GSFontInfo -appendBezierPathWithGlyphs:count:toBezierPath:] and use it to implement NSBezierPath's glyph methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16903 72102866-910b-0410-8b05-ffd578937521
2003-06-11 13:36:59 +00:00
Alexander Malmberg
02ef01adc7 Remove debugging printf:s.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16900 72102866-910b-0410-8b05-ffd578937521
2003-06-10 10:43:26 +00:00
Gregory John Casamento
d10d57c53e Committing Alex's font changes as well as my font panel changes and some
work I did on NSDataLink a while back (a few months ago).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16898 72102866-910b-0410-8b05-ffd578937521
2003-06-10 01:26:56 +00:00
Fred Kiefer
be008a93fd (-availableFonts,
-availableFontNamesWithTraits:, -availableMembersOfFontFamily:,
-convertFont:, convertWeight:ofFont:,
-fontWithFamily:traits:weight:size:, -fontNamed:hasTraits:)
Removed compiler warning about signed/unsigned comparision.
[setSelectedFont:isMultiple:] and [fontMenu:] changed menuItem to
type (id <NSMenuItem>).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16891 72102866-910b-0410-8b05-ffd578937521
2003-06-08 00:31:11 +00:00
Fred Kiefer
95bd47d86d (-setPanelFont:isMultiple:
-_trySelectSize:, -_familySelectionChanged:, -browser:...column:)
Removed compiler warning about signed/unsigned comparision.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16890 72102866-910b-0410-8b05-ffd578937521
2003-06-08 00:30:01 +00:00
Fred Kiefer
cf67ae9a86 (-completedString:) Removed compiler warning about signed/unsigned comparision.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16889 72102866-910b-0410-8b05-ffd578937521
2003-06-08 00:28:06 +00:00
Fred Kiefer
e5c6ff4ab0 (-setPath:, pathToColumn:, -addColumn):
Removed compiler warning about signed/unsigned comparision.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16888 72102866-910b-0410-8b05-ffd578937521
2003-06-08 00:27:13 +00:00
Fred Kiefer
634aafc1de In [initWithBitmapDataPlanes:...bitsPerPixel:],
[getBitmapDataPlanes:] and [copyWithZone:] changed type of i
to unsigned int.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16887 72102866-910b-0410-8b05-ffd578937521
2003-06-08 00:26:18 +00:00
Alexander Malmberg
fe3da45353 Check the types of defaults values before using them.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16870 72102866-910b-0410-8b05-ffd578937521
2003-06-05 14:46:04 +00:00
Alexander Malmberg
2356f6a8e1 Use a much larger size for the field editor.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16866 72102866-910b-0410-8b05-ffd578937521
2003-06-04 21:05:22 +00:00
Adam Fedor
1740b49ea6 New method to load user bundles
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16804 72102866-910b-0410-8b05-ffd578937521
2003-05-27 04:10:20 +00:00
Fred Kiefer
c4d2bc49f1 In [finishLaunching] and [replyToApplicationShouldTerminate:] use
[NSWorkspace activeApplication] to get application information.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16766 72102866-910b-0410-8b05-ffd578937521
2003-05-21 22:08:49 +00:00
Fred Kiefer
b52b96da8d Basic implemention of [activeApplication] and [launchedApplications].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16765 72102866-910b-0410-8b05-ffd578937521
2003-05-21 22:08:17 +00:00
Fred Kiefer
3f9c960d09 [_familySelectionChanged:] removed unused local variable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16763 72102866-910b-0410-8b05-ffd578937521
2003-05-21 22:07:30 +00:00
Alexander Malmberg
52308a0016 Add shfill operator.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16743 72102866-910b-0410-8b05-ffd578937521
2003-05-17 22:04:00 +00:00
Richard Frith-Macdonald
9dce871b41 Draw authors in correct order
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16733 72102866-910b-0410-8b05-ffd578937521
2003-05-16 09:14:52 +00:00
Sergii Stoian
2a5bf8cd45 Set cell height at least to 20 pixels
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16719 72102866-910b-0410-8b05-ffd578937521
2003-05-14 11:02:23 +00:00
Alexander Malmberg
236f39512d Mark the view as needing display, don't force a display.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16716 72102866-910b-0410-8b05-ffd578937521
2003-05-13 18:26:46 +00:00
Alexander Malmberg
8184380380 Set _windowNum to 0 so the backend window will be recreated when required.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16715 72102866-910b-0410-8b05-ffd578937521
2003-05-13 18:26:20 +00:00
Alexander Malmberg
c76aa02acd Don't save the focus rect clipping path in the gstate if one is allocated.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16701 72102866-910b-0410-8b05-ffd578937521
2003-05-12 15:35:43 +00:00
Richard Frith-Macdonald
149d522d53 Minor fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16695 72102866-910b-0410-8b05-ffd578937521
2003-05-11 14:49:11 +00:00
Richard Frith-Macdonald
a36ee5fb70 Workspace improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16694 72102866-910b-0410-8b05-ffd578937521
2003-05-11 14:41:32 +00:00
Richard Frith-Macdonald
412246997b NSWorkspace tweaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16691 72102866-910b-0410-8b05-ffd578937521
2003-05-11 11:00:04 +00:00
Michael Silva
ffdd4dc955 implemented selectTabViewItemWithIdentifier:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16640 72102866-910b-0410-8b05-ffd578937521
2003-05-06 04:26:37 +00:00
Alexander Malmberg
8a2e943bbd Detect and handle gaps in the soft invalidated layout information.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16639 72102866-910b-0410-8b05-ffd578937521
2003-05-05 20:52:24 +00:00
Adam Fedor
4748f21adb Remove GNUSTEP_MAKEFILES
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16619 72102866-910b-0410-8b05-ffd578937521
2003-05-03 02:16:53 +00:00
Fred Kiefer
1ef9efe907 Preliminary implemetation for NSConvertGlyphsToPackedGlyphs().
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16616 72102866-910b-0410-8b05-ffd578937521
2003-05-02 19:01:07 +00:00
Fred Kiefer
294b552583 Moved code from [bezierPathWithOvalInRect:] and
[bezierPathWithRect:] to [appendBezierPathWithOvalInRect:] and
[appendBezierPathWithRect:] and implemented the former with a call
to the later.
Preliminary implemetation for [appendBezierPathWithGlyph:inFont:]
and [appendBezierPathWithGlyphs:count:inFont:].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16615 72102866-910b-0410-8b05-ffd578937521
2003-05-02 19:00:43 +00:00
Alexander Malmberg
accbe13cb3 (-acceptsFirstResponder): Implement to return NO.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16598 72102866-910b-0410-8b05-ffd578937521
2003-05-01 19:50:20 +00:00
Alexander Malmberg
ecb096136a (-drawRect:): Draw background correctly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16597 72102866-910b-0410-8b05-ffd578937521
2003-05-01 18:06:32 +00:00
Alexander Malmberg
09fe259cce Update for file system layout changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16596 72102866-910b-0410-8b05-ffd578937521
2003-05-01 18:06:11 +00:00
Richard Frith-Macdonald
f4ad5aa21d Enable horizontal scrolling with shift key.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16584 72102866-910b-0410-8b05-ffd578937521
2003-04-30 05:03:50 +00:00
Alexander Malmberg
496c641984 Documented NSTextContainer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16579 72102866-910b-0410-8b05-ffd578937521
2003-04-28 16:37:56 +00:00
Nicola Pero
6942ad64d5 When looking for the target for an action, if the key window is associated
with a document, return it


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16575 72102866-910b-0410-8b05-ffd578937521
2003-04-28 12:16:35 +00:00
Adam Fedor
4277f13318 Fix Services dir
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16568 72102866-910b-0410-8b05-ffd578937521
2003-04-28 02:47:09 +00:00
Adam Fedor
0de7e778fe Updates for filesystem change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16566 72102866-910b-0410-8b05-ffd578937521
2003-04-28 02:33:10 +00:00
Michael Silva
cd5a9ae86b Small fix to NSPopUpButtonCell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16564 72102866-910b-0410-8b05-ffd578937521
2003-04-27 20:37:29 +00:00
Fred Kiefer
d945e6d792 Removed creation of fontDictionary from [init] method. This now
gets done on demand in [afmDictionary].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16559 72102866-910b-0410-8b05-ffd578937521
2003-04-27 15:44:56 +00:00
Fred Kiefer
ab61661a4a [_familySelectionChanged:] made the call to [_trySelectSize:]
safer against none existing fonts. This used to result in a NaN
being displayed as font size.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16558 72102866-910b-0410-8b05-ffd578937521
2003-04-27 15:44:28 +00:00
Richard Frith-Macdonald
e06c8b7a87 added ruler view bugfixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16555 72102866-910b-0410-8b05-ffd578937521
2003-04-27 08:45:46 +00:00
Fred Kiefer
41ec62e3a2 Implemented handling of writing directions. These are needed for the
upcoming new RTFProducer.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16551 72102866-910b-0410-8b05-ffd578937521
2003-04-26 16:51:21 +00:00
Fred Kiefer
f12f062604 Moved the computation of the cell size into the method [setFont:]
and use this in [init]. Added call to [setNeedsSizing:] in
[setHorizontalEdgePadding:]. In [locationForSubmenu:] check for
the interface style of the submenu.  Also cleaned up up coding style and
comments in the whole file.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16549 72102866-910b-0410-8b05-ffd578937521
2003-04-26 16:50:22 +00:00
Fred Kiefer
2e483ce3b8 Removed [becomeFirstResponder] and [resignFirstResponder] as the
handling of [showFirstResponder] is still unclear.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16548 72102866-910b-0410-8b05-ffd578937521
2003-04-26 16:49:47 +00:00
Richard Frith-Macdonald
f4d75d0ffb bugfix for window position constraint
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16546 72102866-910b-0410-8b05-ffd578937521
2003-04-26 07:17:24 +00:00
Richard Frith-Macdonald
15aab01ceb Try to compensate for changes in screen size.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16545 72102866-910b-0410-8b05-ffd578937521
2003-04-26 06:39:49 +00:00
Fred Kiefer
d49f634d96 Basic implementation of the tick mark methods. Added en-/decoding
for tick marks. [setKnobThickness:], [setNumberOfTickMarks:] and
[setTickMarkPosition:] now update the control.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16543 72102866-910b-0410-8b05-ffd578937521
2003-04-25 22:55:18 +00:00
Fred Kiefer
f649a1bb4b Removed unused local variable in [sendEvent:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16542 72102866-910b-0410-8b05-ffd578937521
2003-04-25 22:54:39 +00:00
Fred Kiefer
fef7f0266a [GSPatternColor colorSpaceName] uses NSPatternColorSpace.
Corrected [blendedColorWithFraction:ofColor:], where self and aColor
where exchanged and alpha handling was missing.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16541 72102866-910b-0410-8b05-ffd578937521
2003-04-25 22:54:12 +00:00
Fred Kiefer
a1c9f461f9 Added NSPatternColorSpace.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16540 72102866-910b-0410-8b05-ffd578937521
2003-04-25 22:51:55 +00:00
Fred Kiefer
76385367ad Use controlBackgroundColor instead of lightGrayColor. Patch by Matt
Rice (matt@vespertine.pc.ashlandfiber.net).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16539 72102866-910b-0410-8b05-ffd578937521
2003-04-25 22:51:02 +00:00
Richard Frith-Macdonald
188be4b3e1 Adjust browser columns size to match window
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16537 72102866-910b-0410-8b05-ffd578937521
2003-04-25 07:04:57 +00:00
Sergii Stoian
ec2a39cf4a [NSMenuView mouseDown:] Generate periodic events every 0.01 seconds
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16486 72102866-910b-0410-8b05-ffd578937521
2003-04-21 09:41:03 +00:00
Sergii Stoian
a14c8cdfc3 Moved code from setMenuView to calcSize
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16480 72102866-910b-0410-8b05-ffd578937521
2003-04-17 11:59:32 +00:00
Sergii Stoian
aa6861d4fe Do not add X image if window has close button
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16461 72102866-910b-0410-8b05-ffd578937521
2003-04-14 09:45:24 +00:00
Michael Silva
42689ac827 whatever.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16459 72102866-910b-0410-8b05-ffd578937521
2003-04-14 00:03:09 +00:00
Michael Silva
e9ccc289d5 Multiple commits from Michael, see ChangeLog.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16458 72102866-910b-0410-8b05-ffd578937521
2003-04-13 23:45:39 +00:00
Sergii Stoian
182d90fe0e Draw temporary cell if no items in menu
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16455 72102866-910b-0410-8b05-ffd578937521
2003-04-13 08:57:29 +00:00
Sergii Stoian
69fc3b2540 beep on click when no items to display
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16454 72102866-910b-0410-8b05-ffd578937521
2003-04-13 08:56:35 +00:00
Sergii Stoian
490b673918 (removeAllItems): Leave item at index 0 with empty title
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16444 72102866-910b-0410-8b05-ffd578937521
2003-04-12 11:12:31 +00:00
Sergii Stoian
ea951e6cba isOpaque implemented. update imporving
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16432 72102866-910b-0410-8b05-ffd578937521
2003-04-11 12:53:20 +00:00
Sergii Stoian
2e4c41319e Windows menu manipulation fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16430 72102866-910b-0410-8b05-ffd578937521
2003-04-11 12:42:10 +00:00
Sergii Stoian
ca26a5ce28 mouseDown fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16427 72102866-910b-0410-8b05-ffd578937521
2003-04-11 10:35:36 +00:00
Sergii Stoian
6301c30606 add remove/image only if it's not user settings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16415 72102866-910b-0410-8b05-ffd578937521
2003-04-10 15:06:48 +00:00
Sergii Stoian
4fb42475cb mouseDown selections fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16414 72102866-910b-0410-8b05-ffd578937521
2003-04-10 15:05:50 +00:00
Pierre-Yves Rivaille
063710aa5f Source/NSWindow.m ([-sendEvent:], case NSRightMouseDown):
removed code to display the menu. This is now done by
	[NSView -rightMouseDown:].
Source/NSView.m: overrides -menu,
	changes -rightMouseDown: to display the menu,
	documents -menu, -menuForEvent: and +defaultMenu.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16413 72102866-910b-0410-8b05-ffd578937521
2003-04-10 14:00:53 +00:00
Richard Frith-Macdonald
b2faf96893 Fix for multiple startup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16410 72102866-910b-0410-8b05-ffd578937521
2003-04-10 09:04:24 +00:00
Richard Frith-Macdonald
0bdd1b569f Minor fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16409 72102866-910b-0410-8b05-ffd578937521
2003-04-10 05:36:19 +00:00
Alexander Malmberg
bbdf75548a Fix updating of glyph counts in some rare cases. Minor cleanups.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16408 72102866-910b-0410-8b05-ffd578937521
2003-04-10 00:08:26 +00:00
Richard Frith-Macdonald
4261e94931 Minor fix in last mod.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16406 72102866-910b-0410-8b05-ffd578937521
2003-04-09 16:34:49 +00:00
Richard Frith-Macdonald
a4ace9f14b File opening tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16405 72102866-910b-0410-8b05-ffd578937521
2003-04-09 16:12:22 +00:00
Richard Frith-Macdonald
7fec3a5ad6 Remove bogus link
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16403 72102866-910b-0410-8b05-ffd578937521
2003-04-09 13:32:16 +00:00
Richard Frith-Macdonald
4109fae209 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16402 72102866-910b-0410-8b05-ffd578937521
2003-04-09 12:27:16 +00:00
Richard Frith-Macdonald
3e29c3d592 Documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16401 72102866-910b-0410-8b05-ffd578937521
2003-04-09 12:06:58 +00:00
Sergii Stoian
8d25964b74 horizontal menu fixes; title view mouseDown event loop changed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16399 72102866-910b-0410-8b05-ffd578937521
2003-04-09 09:42:26 +00:00
Sergii Stoian
8b47399e27 Draw content before backend window ordering
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16397 72102866-910b-0410-8b05-ffd578937521
2003-04-09 07:18:44 +00:00
Sergii Stoian
223ed7f03f return back horizontal menu code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16396 72102866-910b-0410-8b05-ffd578937521
2003-04-09 07:06:51 +00:00
Alexander Malmberg
58a9585750 (-setNeedsDisplay:, -setNeedsDisplayInRect:): Thread safety related fixes and cleanups.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16394 72102866-910b-0410-8b05-ffd578937521
2003-04-08 22:42:02 +00:00
Alexander Malmberg
15ab06811c (-mouseDown:): Rewrite the mouse tracking loop.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16391 72102866-910b-0410-8b05-ffd578937521
2003-04-08 13:36:15 +00:00
Alexander Malmberg
3061f81c4e Make -setNeedsDiplay: and -setNeedsDisplayInRect: thread safe.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16390 72102866-910b-0410-8b05-ffd578937521
2003-04-08 00:17:53 +00:00
Alexander Malmberg
c0587cf573 Release all memory if the fontInfo can't be created.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16386 72102866-910b-0410-8b05-ffd578937521
2003-04-07 11:07:57 +00:00
Alexander Malmberg
83f252e89a Make -setNeedsDisplay* safe to use from performers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16381 72102866-910b-0410-8b05-ffd578937521
2003-04-06 18:03:33 +00:00
Alexander Malmberg
c6beeb60ec Make sure the text storage doesn't have unprocessed editing when using it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16378 72102866-910b-0410-8b05-ffd578937521
2003-04-06 13:12:34 +00:00
Alexander Malmberg
5448a979d5 Make preview active by default.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16368 72102866-910b-0410-8b05-ffd578937521
2003-04-05 11:00:28 +00:00
Sergii Stoian
be2339b537 displayTransient: Call [self sizeToFit] before caclulating locations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16355 72102866-910b-0410-8b05-ffd578937521
2003-04-04 12:11:25 +00:00
Alexander Malmberg
408b16ce51 Misc. cleanups. (-dealloc): Remove the delegate from the notification center for the notifications we added it for.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16346 72102866-910b-0410-8b05-ffd578937521
2003-04-04 00:51:34 +00:00
Alexander Malmberg
74704f51e3 When steping forward at the end of the glyph runs, correctly handle the case where the current run is extended.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16345 72102866-910b-0410-8b05-ffd578937521
2003-04-03 18:31:25 +00:00
Alexander Malmberg
60c44310e2 Tweak glyph caching parameters to increase performance.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16330 72102866-910b-0410-8b05-ffd578937521
2003-04-02 13:28:29 +00:00
Wim (Willem Rein) Oudshoorn
f4e84ae6fe (NSMenuWindowTitleView): reformatted one line to
conform to coding standards


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16320 72102866-910b-0410-8b05-ffd578937521
2003-04-01 19:52:08 +00:00
Wim (Willem Rein) Oudshoorn
a3c1d4f5f8 renamed ivar _changed to _needsSizing.
([NSMenu -sizeToFit]): Changed call [_view update] to [_view sizeToFit]
([NSMenu -displayTransient]): call [NSMenuView-update] to ensure that the
menuView knows it belongs to a transient menu
([NSMenu -closeTransient]): call [NSMenuView-update] to ensue that the
menuView knows it is not transient anymore.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16319 72102866-910b-0410-8b05-ffd578937521
2003-04-01 19:51:41 +00:00
Richard Frith-Macdonald
fa5c825e40 Initialise the application in the main thread.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16316 72102866-910b-0410-8b05-ffd578937521
2003-04-01 16:41:03 +00:00
Adam Fedor
ff8e8d0cc9 Set initialFirstResponder when becomeKeyWindow
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16311 72102866-910b-0410-8b05-ffd578937521
2003-04-01 05:13:16 +00:00
Adam Fedor
2513205129 Add GSCategories.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16308 72102866-910b-0410-8b05-ffd578937521
2003-04-01 03:46:31 +00:00
Alexander Malmberg
42504c3dd6 (-trackKnob:): Wrap each iteration in an autorelease pool.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16297 72102866-910b-0410-8b05-ffd578937521
2003-03-30 17:24:47 +00:00
Alexander Malmberg
81c57842ad Correct the name of a delegate method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16296 72102866-910b-0410-8b05-ffd578937521
2003-03-30 17:24:30 +00:00
Wim (Willem Rein) Oudshoorn
830105b505 Reformatted to comply to coding standards
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16293 72102866-910b-0410-8b05-ffd578937521
2003-03-30 12:54:56 +00:00
Wim (Willem Rein) Oudshoorn
98bf455e21 Reformatted to comply to
coding standards


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16291 72102866-910b-0410-8b05-ffd578937521
2003-03-30 12:48:06 +00:00
Alexander Malmberg
2bd5b9f6b6 (mouseDown:) Wrap each iteration of the mouse tracking loop in an autorelease pool.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16289 72102866-910b-0410-8b05-ffd578937521
2003-03-29 20:12:07 +00:00
Sergii Stoian
be1ccbace3 Documentation and TODO cleanup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16285 72102866-910b-0410-8b05-ffd578937521
2003-03-28 15:05:47 +00:00
Alexander Malmberg
faf7070654 (-setSelectionFrom:to:anchor:highlight:): Update the selection related ivars after changing the selection.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16281 72102866-910b-0410-8b05-ffd578937521
2003-03-27 22:54:46 +00:00
Sergii Stoian
1e848bde2d update fixes and title view adding/removal changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16279 72102866-910b-0410-8b05-ffd578937521
2003-03-27 16:18:02 +00:00
Sergii Stoian
92d9403935 optimize calling sizeToFit and update methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16278 72102866-910b-0410-8b05-ffd578937521
2003-03-27 16:16:47 +00:00
Adam Fedor
656499da0d Fix tracking in NSMatrix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16269 72102866-910b-0410-8b05-ffd578937521
2003-03-26 04:09:09 +00:00
Sergii Stoian
360bfffc6f reset highlighted items in a submenu that we leave for a supermenu
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16264 72102866-910b-0410-8b05-ffd578937521
2003-03-25 19:58:19 +00:00
Sergii Stoian
21ffe25ac7 removed pad adding between state image and text
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16259 72102866-910b-0410-8b05-ffd578937521
2003-03-25 15:35:51 +00:00
Sergii Stoian
da3b4b0583 offset calulation fixes and optimization
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16258 72102866-910b-0410-8b05-ffd578937521
2003-03-25 15:34:08 +00:00
Sergii Stoian
e1dd0679b1 NSMenuView.m setWindowFrameForAttachingToRect: sizing fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16253 72102866-910b-0410-8b05-ffd578937521
2003-03-25 09:51:00 +00:00
Adam Fedor
23049dde9e Merge from 0.8.5 branch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16250 72102866-910b-0410-8b05-ffd578937521
2003-03-24 18:15:56 +00:00
Sergii Stoian
be33618457 Horizontal menu related code removed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16236 72102866-910b-0410-8b05-ffd578937521
2003-03-23 21:41:44 +00:00
Wim (Willem Rein) Oudshoorn
accc68d8dd fixed stupid typo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16223 72102866-910b-0410-8b05-ffd578937521
2003-03-22 17:11:18 +00:00
Wim (Willem Rein) Oudshoorn
a50c8b216c (-initWithFrame:): Removed creation of titleView
([NSMenuView -setMenu:]): call update to handle new situation
([NSMenuView -update]): Removed call to _menu update, handle the
adding/removing of the title view.
([NSMenuView -sizeToFit]): reformatted to conform to coding standard,
handle missing titleView.
([NSMenuView -setWindowFrameForAttachingToRect:onScreen:preferredEdge:popUpSelectedItem:]):
Reformatted to conform to coding standard.  Removed the code that removed the titleView.
That is handled by update.
([NSMenuView -drawRect:]): Reformatted to conform to coding standards.
([NSMenuWindowTitleView -init]): Reformatted to conform to coding standards.
([NSMenuWindowTitleView -dealloc]): new method to prevent leaking the close button.
([NSMenuWindowTitleView -titleSize]): Reformatted to conform to coding standard
([NSMenuWindowTitleView -drawRect:]): idem
([NSMenuWindowTitleView -mouseDown:]): idem
([NSMenuWindowTitleView -createButton]): idem


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16222 72102866-910b-0410-8b05-ffd578937521
2003-03-22 16:30:04 +00:00
Wim (Willem Rein) Oudshoorn
a0deea8aff ([NSMenu -display]): Added optimization of Michael Hanni
to only resize menu view when actually displayed.
([NSMenu -setTitle:]): Idem
([NSMenu -sizeToFit:]): Fixed problem with jumping menus when items
are added.
([NSMenu -display:]): added optimization of Michael Hanni to resize
only once.  Also fixed race condition bug in getting menu location.
([NSMenu -displayTransient]): Added optimization of M. Hanni, removed
resetting position to (0, 0).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16221 72102866-910b-0410-8b05-ffd578937521
2003-03-22 16:29:40 +00:00
David Ayers
a2683d66ba * Source/NSCell.m ([NSCell encodeWithCoder:]): Reinsert encoding
of isContinuous to insure backward compatiblity of archives.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16215 72102866-910b-0410-8b05-ffd578937521
2003-03-20 13:59:29 +00:00
Sergii Stoian
8ba951b342 NSMenuView popup button related fixes and additions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16214 72102866-910b-0410-8b05-ffd578937521
2003-03-20 12:16:25 +00:00
Fred Kiefer
4a0065ab77 In [sendEvent:] use [popUpContextMenu:withEvent:forView:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16211 72102866-910b-0410-8b05-ffd578937521
2003-03-19 16:16:12 +00:00
Fred Kiefer
a28e9901bb In [rightMouseDown:] use [popUpContextMenu:withEvent:forView:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16210 72102866-910b-0410-8b05-ffd578937521
2003-03-19 16:15:44 +00:00
Fred Kiefer
4e159c6bda Implemented [popUpContextMenu:withEvent:forView:] using
[_rightMouseDisplay:].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16209 72102866-910b-0410-8b05-ffd578937521
2003-03-19 16:15:21 +00:00
Fred Kiefer
d04d38f65d Added new MacOSX methods [title], [setTitle:], [controlSize],
[setControlSize:], [controlTint], [setControlTint:] and
[highlightColorWithFrame:inView:]. Rewrote [isContinuous],
[setContinuous:] and [trackMouse:...untilMouseUp:] to work via the
_action_mask.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16202 72102866-910b-0410-8b05-ffd578937521
2003-03-18 23:49:42 +00:00
Fred Kiefer
6f303709e5 In [imageUnfilteredFileTypes] add the tiff entries always to the
front of the list. As the standard GNUstep images are in this
format, this will speed up image loading.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16200 72102866-910b-0410-8b05-ffd578937521
2003-03-18 23:47:23 +00:00
Sergii Stoian
ec5f9bafe8 fixes to sizeToFit, NSMenuTitleView's drawRect, added titleSize
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16198 72102866-910b-0410-8b05-ffd578937521
2003-03-18 16:24:31 +00:00
Sergii Stoian
15a1fb917c cleanup of previous commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16188 72102866-910b-0410-8b05-ffd578937521
2003-03-17 14:58:36 +00:00
Sergii Stoian
feda9ed5e0 removed GSCloseButton. createButton now uses setRefusesFirstResponder
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16185 72102866-910b-0410-8b05-ffd578937521
2003-03-17 13:07:43 +00:00
Sergii Stoian
86d76d089e [sizeToFit] cleanup and new class GSCloseButton
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16183 72102866-910b-0410-8b05-ffd578937521
2003-03-17 11:18:38 +00:00
Fred Kiefer
2b76900051 Removed the method [acceptsFirstResponder] as NSControls version
is now used.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16179 72102866-910b-0410-8b05-ffd578937521
2003-03-17 02:13:06 +00:00
Fred Kiefer
3a7a7931c4 Added method [acceptsFirstResponder], which asks the cell if it
accepts first responder. Added [becomeFirstResponder] and
[resignFirstResponder] that redraw if the cell may change apprearance.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16178 72102866-910b-0410-8b05-ffd578937521
2003-03-17 02:11:42 +00:00
Richard Frith-Macdonald
47e2deedfd Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16154 72102866-910b-0410-8b05-ffd578937521
2003-03-08 11:57:44 +00:00
Richard Frith-Macdonald
d192b06fc5 Fix slip of the keyboard
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16153 72102866-910b-0410-8b05-ffd578937521
2003-03-08 11:47:31 +00:00
Richard Frith-Macdonald
aff8b096b9 Menu handling fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16152 72102866-910b-0410-8b05-ffd578937521
2003-03-08 07:09:33 +00:00
Richard Frith-Macdonald
f1de0e1216 Fix for miniwindows not being drawn properly
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16147 72102866-910b-0410-8b05-ffd578937521
2003-03-07 09:04:54 +00:00
Richard Frith-Macdonald
578ddfd0e9 A few tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16145 72102866-910b-0410-8b05-ffd578937521
2003-03-07 06:03:15 +00:00
Richard Frith-Macdonald
4e79c73770 Minor fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16144 72102866-910b-0410-8b05-ffd578937521
2003-03-07 05:50:53 +00:00
Richard Frith-Macdonald
00b16254bb Menu patch by Wim
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16143 72102866-910b-0410-8b05-ffd578937521
2003-03-07 05:33:17 +00:00
Alexander Malmberg
836df5adbe (-drawGlyphsForGlyphRange:atPoint:): Use the focused view as the control view instead of the text container's text view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16132 72102866-910b-0410-8b05-ffd578937521
2003-03-05 16:10:37 +00:00
Alexander Malmberg
368c851e38 (-sizeToFit): Add the extra line frag rect. (-scrollRangeToVisible:): Reimplement using the new insertion point positioning methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16120 72102866-910b-0410-8b05-ffd578937521
2003-03-03 18:36:07 +00:00
Alexander Malmberg
e4329b4ff9 (-sizeToFit): Add the extra line frag rect. (-scrollRangeToVisible:): Reimplement using the new insertion point positioning methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16119 72102866-910b-0410-8b05-ffd578937521
2003-03-03 18:33:46 +00:00
Alexander Malmberg
df47a8fe60 (-usedRectForTextContainer:): Don't add the extra line frag rect.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16118 72102866-910b-0410-8b05-ffd578937521
2003-03-03 18:32:55 +00:00
Alexander Malmberg
017c2515c7 Change type of a variable holding a character index to int (was char, would overflow and break things.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16117 72102866-910b-0410-8b05-ffd578937521
2003-03-03 15:20:02 +00:00
Alexander Malmberg
f042ef5fcf Removed old, broken-by-design interface for soft invalidation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16116 72102866-910b-0410-8b05-ffd578937521
2003-03-03 13:58:17 +00:00
Alexander Malmberg
7c79dae556 Add and implement -typesetter and -setTypesetter:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16115 72102866-910b-0410-8b05-ffd578937521
2003-03-03 13:57:53 +00:00
Alexander Malmberg
0af22dc954 (-setAttributes:range:): Handle zero-length attribute changes correctly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16114 72102866-910b-0410-8b05-ffd578937521
2003-03-03 13:57:34 +00:00
Ludovic Marcotte
6f7cd1c96b Fixed a memory leak. See the ChangeLog for the details.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16107 72102866-910b-0410-8b05-ffd578937521
2003-03-02 18:50:07 +00:00
Fred Kiefer
7c6c6de482 In [drawRect:]use the frame of the view, not the given rect.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16094 72102866-910b-0410-8b05-ffd578937521
2003-03-01 00:44:45 +00:00
Fred Kiefer
3e2ff7560b Added support to print a file in [finishLaunching]. Use safer way
to call selector in [beginSheet:...contextInfo:].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16093 72102866-910b-0410-8b05-ffd578937521
2003-03-01 00:44:27 +00:00
Fred Kiefer
df30e235c5 Use method calls instead of some of the direct references to
NSLayoutManager ivar. General clean up.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16092 72102866-910b-0410-8b05-ffd578937521
2003-03-01 00:43:54 +00:00
Alexander Malmberg
005bacbebb (-glyphRangeForBoundingRect:inTextContainer:): Fix the horizontal intersection checks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16075 72102866-910b-0410-8b05-ffd578937521
2003-02-26 16:11:55 +00:00
Alexander Malmberg
b48bf809c7 (-_generateRunsToCharacter:): Optimize the run structure by merging with an existing run instead of creating a new run under some circumstances.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16074 72102866-910b-0410-8b05-ffd578937521
2003-02-25 23:55:03 +00:00
Alexander Malmberg
7069b67123 Fix handling of trailing text containers when soft-invalidating.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16073 72102866-910b-0410-8b05-ffd578937521
2003-02-25 16:40:20 +00:00
Alexander Malmberg
466d7f8af7 Set the next character index correctly after the run-merge optimization.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16064 72102866-910b-0410-8b05-ffd578937521
2003-02-24 14:26:22 +00:00
Alexander Malmberg
5e1795f0b9 (-drawBackgroundForGlyphRange:atPoint:): Check that a range has a background color before checking that there are rectangles for it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16061 72102866-910b-0410-8b05-ffd578937521
2003-02-24 02:54:32 +00:00
Alexander Malmberg
4c0d68496c Fix handling of the case where the exact glyph is found during the binary search.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16060 72102866-910b-0410-8b05-ffd578937521
2003-02-24 02:53:20 +00:00
Alexander Malmberg
6397b61a2a Implement -isEqual: and -hash.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16059 72102866-910b-0410-8b05-ffd578937521
2003-02-23 23:05:43 +00:00
Alexander Malmberg
5078562c49 (-update): Don't redisplay the window.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16056 72102866-910b-0410-8b05-ffd578937521
2003-02-23 12:32:27 +00:00
Adam Fedor
054a27b9ba Move disable/enable flush code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16053 72102866-910b-0410-8b05-ffd578937521
2003-02-23 04:38:49 +00:00
Alexander Malmberg
735e3bed5e Don't track the started status for a text container separately. Use num_linefrags instead.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16048 72102866-910b-0410-8b05-ffd578937521
2003-02-23 01:01:13 +00:00
Alexander Malmberg
5be49b8ab4 Implement -menuForEvent: to always return nil to indicate that we don't have a context menu.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16047 72102866-910b-0410-8b05-ffd578937521
2003-02-22 11:33:41 +00:00
Alexander Malmberg
d78308a8e3 (-sendEvent:): Only bring up the main menu if there is no window for the event.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16046 72102866-910b-0410-8b05-ffd578937521
2003-02-22 11:33:16 +00:00
Alexander Malmberg
8712b50242 Make sure the extra line frag rect is always set when we reach the end.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16043 72102866-910b-0410-8b05-ffd578937521
2003-02-22 01:43:11 +00:00
Adam Fedor
cc9e0d4346 Menu display improvments
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16040 72102866-910b-0410-8b05-ffd578937521
2003-02-21 23:50:21 +00:00
Adam Fedor
1b0e112697 * Source/NSPrintOperation.m (-_print): Remove locale change (now
handled correctly in backend stream context.
* Source/NSScrollView.m (-initWithFrame:): Change default border
to none.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16020 72102866-910b-0410-8b05-ffd578937521
2003-02-20 03:12:29 +00:00
Alexander Malmberg
3abfc263a0 Fix clearing of soft-invalidated layout information if the invalidated range is beyond the last finished layout.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16011 72102866-910b-0410-8b05-ffd578937521
2003-02-19 14:12:55 +00:00
Alexander Malmberg
85c5580808 Optimizations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16010 72102866-910b-0410-8b05-ffd578937521
2003-02-19 14:12:16 +00:00
Alexander Malmberg
6f8966e716 Optimize.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16007 72102866-910b-0410-8b05-ffd578937521
2003-02-19 02:18:41 +00:00
Alexander Malmberg
5faf6f6f1e Optimize reuse of soft-invalidated layout a bit in a common case.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16006 72102866-910b-0410-8b05-ffd578937521
2003-02-18 23:34:51 +00:00
Alexander Malmberg
30e76ace40 Correct the condition for splitting the initial run.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16005 72102866-910b-0410-8b05-ffd578937521
2003-02-18 23:16:29 +00:00
Alexander Malmberg
f4a797f333 Use the soft-invalidated layout information to avoid rebuilding layout (when possible).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16004 72102866-910b-0410-8b05-ffd578937521
2003-02-18 20:27:13 +00:00
Alexander Malmberg
5f2fd0477a Add basic interface that lets the typesetter access soft-invalidated layout information.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16003 72102866-910b-0410-8b05-ffd578937521
2003-02-18 20:26:49 +00:00
Alexander Malmberg
6b01d08cb1 Fix edge case in soft invalidation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16002 72102866-910b-0410-8b05-ffd578937521
2003-02-18 20:26:13 +00:00
Alexander Malmberg
db4c4957a3 Minor fix of previous commit: make sure layout is marked as incomplete even if no actual layout was invalidated.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15998 72102866-910b-0410-8b05-ffd578937521
2003-02-18 17:24:24 +00:00
Alexander Malmberg
0383d08f23 Implement handling of soft-invalidated line frags. Soft-invalidate layout information for glyphs after an edited range in NSLayoutManager.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15997 72102866-910b-0410-8b05-ffd578937521
2003-02-18 17:15:25 +00:00
Alexander Malmberg
32f6790d62 (-setAttributes:range:): Call -edited:range:changeInLength: with the range that was changed (and not the range attributes could be merged for).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15994 72102866-910b-0410-8b05-ffd578937521
2003-02-18 00:35:28 +00:00
Alexander Malmberg
dffecc3043 (-textStorage:edited:range:changeInLength:invalidatedRange:): Don't invalidate all layout on each change. Now, all layout information for glyphs before the change will be reused. (Layout for glyphs after the change is still invalidated, until I finish the soft invalidation.)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15993 72102866-910b-0410-8b05-ffd578937521
2003-02-18 00:35:23 +00:00
Alexander Malmberg
e262df5bbd (-layoutGlyphsInLayoutManager:inTextContainer:startingAtGlyphIndex:previousLineFragmentRect:nextGlyphIndex:numberOfLineFragments:): Determine the initial value for newParagraph correctly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15992 72102866-910b-0410-8b05-ffd578937521
2003-02-18 00:35:18 +00:00
Alexander Malmberg
7435220c32 Many minor cleanups and optimizations. Much commenting.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15991 72102866-910b-0410-8b05-ffd578937521
2003-02-18 00:35:13 +00:00
Alexander Malmberg
bdc3373174 Clean up layout invalidation. Set the prev pointer correctly when splitting a run during glyph invalidation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15990 72102866-910b-0410-8b05-ffd578937521
2003-02-17 20:30:26 +00:00
Alexander Malmberg
1ba6d8c940 Add some framework support for caching the last accessed run.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15980 72102866-910b-0410-8b05-ffd578937521
2003-02-17 01:19:34 +00:00
Alexander Malmberg
d6239b2d59 Optimize some important cases by using a binary search for line frags instead of a linear search. Cleanups and comments.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15979 72102866-910b-0410-8b05-ffd578937521
2003-02-17 01:13:27 +00:00
Alexander Malmberg
3f51658781 (-glyphIndexForPoint:inTextContainer:fractionOfDistanceThroughGlyph:): Handle the case where the point is on a line, but not inside a line frag rect, better. Commenting and cleanups.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15978 72102866-910b-0410-8b05-ffd578937521
2003-02-16 21:40:47 +00:00
Alexander Malmberg
7e1801395c Store the line frags array as an ivar instead of allocating and freeing it everytime -layoutLineNewParagraph: is called.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15977 72102866-910b-0410-8b05-ffd578937521
2003-02-16 16:54:45 +00:00
Alexander Malmberg
27e5baeab3 Bring back the old implementation of -rulerMarkersForTextView:paragraphStyle:ruler:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15976 72102866-910b-0410-8b05-ffd578937521
2003-02-16 14:54:14 +00:00
Nicola Pero
913e8e34f4 Fixed offset used in delegate calls
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15974 72102866-910b-0410-8b05-ffd578937521
2003-02-16 14:04:10 +00:00
Richard Frith-Macdonald
4221f51f1a Menu level fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15971 72102866-910b-0410-8b05-ffd578937521
2003-02-16 06:04:03 +00:00
Nicola Pero
2f0f4f1d0d Fixed delegate constraining split position
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15969 72102866-910b-0410-8b05-ffd578937521
2003-02-16 03:19:11 +00:00
Alexander Malmberg
4dc81ab769 Implement extra line fragment handling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15968 72102866-910b-0410-8b05-ffd578937521
2003-02-16 03:18:35 +00:00
Alexander Malmberg
6027271a4f Change the way the text view is told about layout invalidation. Change NSTextView to update its state as late as possible before displaying, and make sure it's updated when it's resized.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15967 72102866-910b-0410-8b05-ffd578937521
2003-02-15 17:30:52 +00:00
Alexander Malmberg
0b0e77ad82 ([NSMutableParagraphStyle -copyWithZone:]): Call GSDebugAllocation* when swizzling the class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15966 72102866-910b-0410-8b05-ffd578937521
2003-02-15 17:15:50 +00:00
Alexander Malmberg
d59dd69fca (-_launchSpellCheckerForLanguage:): Don't printf-expand the error message twice.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15965 72102866-910b-0410-8b05-ffd578937521
2003-02-15 17:07:44 +00:00
Alexander Malmberg
c56d68453d When moving vertically, return the index of the character nearest the target horizontally.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15958 72102866-910b-0410-8b05-ffd578937521
2003-02-14 17:00:04 +00:00
Alexander Malmberg
6d1c78032a Fix an edge case in tab handling. Also, if tabs occure and the paragraph style has no more tab stops, act as if there were tabs every 100 points.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15957 72102866-910b-0410-8b05-ffd578937521
2003-02-14 16:59:38 +00:00
Alexander Malmberg
85ff161e72 Keep track of the original index of a sequence of moves in one dimension. Pass it to the layout manager when moving the insertion point to prevent drifting.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15956 72102866-910b-0410-8b05-ffd578937521
2003-02-14 16:58:59 +00:00
Alexander Malmberg
77950b1e66 Implement basic handling of tabs.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15950 72102866-910b-0410-8b05-ffd578937521
2003-02-12 23:53:29 +00:00
Fred Kiefer
a273e6156a Moved over from X11 backend.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15945 72102866-910b-0410-8b05-ffd578937521
2003-02-12 00:09:49 +00:00
Fred Kiefer
d22c80f5eb Added new file GSSlideView.m.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15943 72102866-910b-0410-8b05-ffd578937521
2003-02-12 00:05:27 +00:00
Fred Kiefer
534869106f Use GSSlideView to implement image sliding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15942 72102866-910b-0410-8b05-ffd578937521
2003-02-12 00:05:09 +00:00
Alexander Malmberg
09c02037d7 (-_createColumn:): Set the border of the created scroll view explicitly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15940 72102866-910b-0410-8b05-ffd578937521
2003-02-11 16:57:12 +00:00
Alexander Malmberg
abd4f0ca27 (-setBorderType:): Call -tile to make the change visible.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15939 72102866-910b-0410-8b05-ffd578937521
2003-02-11 16:56:54 +00:00
Alexander Malmberg
05d3343c45 (-setSelectedRange:affinity:stillSelecting:): Clamp the selected range to the text storage's length.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15937 72102866-910b-0410-8b05-ffd578937521
2003-02-11 15:40:21 +00:00
Alexander Malmberg
413dec23ee (-processEditing): Make sure we always give a valid range and delta to the layout managers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15936 72102866-910b-0410-8b05-ffd578937521
2003-02-11 15:39:49 +00:00
Alexander Malmberg
ea14bf8170 (-fixAttachmentAttributesInRange:): Update end index when a character is deleted.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15935 72102866-910b-0410-8b05-ffd578937521
2003-02-11 15:39:20 +00:00
Richard Frith-Macdonald
e8ca345d45 Browser setPath: fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15929 72102866-910b-0410-8b05-ffd578937521
2003-02-11 06:43:05 +00:00
Alexander Malmberg
993c4431f4 Remove debugging code left in by mistake.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15926 72102866-910b-0410-8b05-ffd578937521
2003-02-10 15:06:57 +00:00
Alexander Malmberg
3b7c4e2a12 Minor changes and cleanups.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15925 72102866-910b-0410-8b05-ffd578937521
2003-02-10 14:29:31 +00:00
Alexander Malmberg
87a4e8d28d Many minor bug and behavior fixes to get the text system to work with several text containers attached to one layout manager.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15924 72102866-910b-0410-8b05-ffd578937521
2003-02-10 14:14:34 +00:00
Alexander Malmberg
f9fea1156d Cleanups of old debugging code, whitespace, and error handling. Fix handling of non-nominally spaced glyphs in some cases.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15918 72102866-910b-0410-8b05-ffd578937521
2003-02-09 20:13:16 +00:00