Commit graph

3653 commits

Author SHA1 Message Date
Nicola Pero
ba83f4d1d6 Implemented support for describing multi-stroke keybindings using arrays
as keys


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12870 72102866-910b-0410-8b05-ffd578937521
2002-02-28 01:58:00 +00:00
Nicola Pero
4a7d40c11e Improved support for merging multi-stroke keybindings from different files
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12869 72102866-910b-0410-8b05-ffd578937521
2002-02-28 01:33:57 +00:00
Nicola Pero
06c06638a6 When adding new multi-stroke keybindings with the same prefix, don't discard
the old ones


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12868 72102866-910b-0410-8b05-ffd578937521
2002-02-28 01:32:40 +00:00
Nicola Pero
00e9132ee6 Updated copyright notice
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12867 72102866-910b-0410-8b05-ffd578937521
2002-02-28 01:30:10 +00:00
Nicola Pero
8509398476 Fixed bug in deleting last character in a text field
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12866 72102866-910b-0410-8b05-ffd578937521
2002-02-28 01:27:14 +00:00
Nicola Pero
9bd438fbd4 Fixed bug in deleting characters in a textfield
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12865 72102866-910b-0410-8b05-ffd578937521
2002-02-28 01:25:49 +00:00
Fred Kiefer
5dc55097ef Added two more keybinding methods for NSTextView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12860 72102866-910b-0410-8b05-ffd578937521
2002-02-27 23:39:08 +00:00
Fred Kiefer
add10e6b98 Uncommented HOME and END.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12859 72102866-910b-0410-8b05-ffd578937521
2002-02-27 23:36:49 +00:00
Fred Kiefer
cfc7234d1a Implemented [moveToBeginningOfParagraph:] and [moveToEndOfParagraph:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12858 72102866-910b-0410-8b05-ffd578937521
2002-02-27 23:36:13 +00:00
Fred Kiefer
bef430bc83 Implemented extra line fragment methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12857 72102866-910b-0410-8b05-ffd578937521
2002-02-27 23:35:48 +00:00
Fred Kiefer
d763179059 [_relocLayoutArray:offset:floatTrift:Change a NSLog() call to NSDebugLog().
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12856 72102866-910b-0410-8b05-ffd578937521
2002-02-27 23:35:05 +00:00
Nicola Pero
f3cd33e4ec Removed obsolete class NSCStringText
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12854 72102866-910b-0410-8b05-ffd578937521
2002-02-27 23:12:35 +00:00
Nicola Pero
ac9c3ecf8a Tidied up to prevent compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12853 72102866-910b-0410-8b05-ffd578937521
2002-02-27 23:10:19 +00:00
Nicola Pero
fd35d7cb93 Improved the input manager so that pressing strange keystrokes not bound
to keybindings produce a beep but nothing strange get into the text


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12852 72102866-910b-0410-8b05-ffd578937521
2002-02-27 21:07:52 +00:00
Nicola Pero
7578f35464 Do not insert literally control keystrokes unless the default
GSInsertControlKeystrokes is YES.  NSBeep when a function or control key
is typed and is not bound to any action


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12851 72102866-910b-0410-8b05-ffd578937521
2002-02-27 21:06:29 +00:00
Nicola Pero
dbe88936d1 Added ivar to control whether to insert literally Control keystrokes or not
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12850 72102866-910b-0410-8b05-ffd578937521
2002-02-27 21:05:20 +00:00
Nicola Pero
05426defcf Added insertText:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12849 72102866-910b-0410-8b05-ffd578937521
2002-02-27 21:04:37 +00:00
Nicola Pero
cd5c4791ab Use #include not #import to shut up compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12848 72102866-910b-0410-8b05-ffd578937521
2002-02-27 19:51:32 +00:00
Nicola Pero
ef53921233 Documented the NSTextStorage
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12847 72102866-910b-0410-8b05-ffd578937521
2002-02-27 18:58:25 +00:00
Nicola Pero
199b0fa656 Documented
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12846 72102866-910b-0410-8b05-ffd578937521
2002-02-27 18:58:04 +00:00
Nicola Pero
87c429f4b0 Tidied - use #include, not #import
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12845 72102866-910b-0410-8b05-ffd578937521
2002-02-27 18:57:30 +00:00
Pierre-Yves Rivaille
ccb5efc4cd Source/NSSplitView.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12843 72102866-910b-0410-8b05-ffd578937521
2002-02-27 16:58:35 +00:00
Fred Kiefer
209230e6eb upport for mouse text selection in NSTextView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12816 72102866-910b-0410-8b05-ffd578937521
2002-02-27 09:42:16 +00:00
Fred Kiefer
742a2bc434 Added method [copySelection] and [pasteSelection] to put the
selected text in special pasteboard. The first gets called by
[setSelectedRange:affinity:stillSelecting:] while the later is
bound to [middleMouseUp:]. (This is hard coded, could the key
binding code handle this?)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12815 72102866-910b-0410-8b05-ffd578937521
2002-02-27 09:41:20 +00:00
Fred Kiefer
f3e6d43e5b Removed some now unneeded FIXME.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12814 72102866-910b-0410-8b05-ffd578937521
2002-02-27 09:40:49 +00:00
Fred Kiefer
b9f9ae3f20 [graphicsContextWithAttributes] always autorelease the context.
Moved the unsetting of the current context from [dealloc] to
[destroyContext] otherwise the current context can never be freed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12813 72102866-910b-0410-8b05-ffd578937521
2002-02-27 09:40:22 +00:00
Gregory John Casamento
bbe77d04d6 Further improvements to NSOutlineView. GJC
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12806 72102866-910b-0410-8b05-ffd578937521
2002-02-27 06:05:33 +00:00
Nicola Pero
d88d937f92 Fixed NSTabView to set the frame of the new selected view when applying it
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12803 72102866-910b-0410-8b05-ffd578937521
2002-02-26 19:11:51 +00:00
Nicola Pero
1219f28358 Set frame of the new selected view before adding it
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12802 72102866-910b-0410-8b05-ffd578937521
2002-02-26 19:11:21 +00:00
Nicola Pero
3aba6cfd6d Fixed fontWithName:size: for 0 size
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12801 72102866-910b-0410-8b05-ffd578937521
2002-02-26 18:32:51 +00:00
Nicola Pero
eff5521f00 Fixed fontWithName:size: to work for 0.0 size
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12800 72102866-910b-0410-8b05-ffd578937521
2002-02-26 18:31:07 +00:00
Fred Kiefer
980df81a93 Image scaling works now in NSImageCell
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12781 72102866-910b-0410-8b05-ffd578937521
2002-02-26 14:39:34 +00:00
Fred Kiefer
a8069aa492 [NSIconWindow orderWindow:relativeTo:] don't complain about order
out if application is closing.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12780 72102866-910b-0410-8b05-ffd578937521
2002-02-26 14:38:50 +00:00
Fred Kiefer
1c3fd3ea5e [GSCacheW _initDefaults] set window not to be released when
closed. As NSApp now closes all windows on terminate.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12779 72102866-910b-0410-8b05-ffd578937521
2002-02-26 14:38:19 +00:00
Fred Kiefer
f11cd44c21 [setSize:] recache representations if size changes.
[recache] throw old caches away as size may have changed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12778 72102866-910b-0410-8b05-ffd578937521
2002-02-26 14:37:55 +00:00
Nicola Pero
7efdff1128 Fixed decoding of popup buttons broken by a change to nsmenu item cells
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12768 72102866-910b-0410-8b05-ffd578937521
2002-02-25 20:08:58 +00:00
Nicola Pero
90cba28466 Added code to decode old cells as well because decoding the popup button needs
it


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12767 72102866-910b-0410-8b05-ffd578937521
2002-02-25 20:07:45 +00:00
Adam Fedor
21fa8a7d68 Remove NSImage hack, other fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12763 72102866-910b-0410-8b05-ffd578937521
2002-02-25 17:39:11 +00:00
Nicola Pero
bce97940c2 Changed the name of a user defaults - from GSSavePanelHideDotFiles to
GSFileBrowserHideDotFiles


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12757 72102866-910b-0410-8b05-ffd578937521
2002-02-25 14:55:47 +00:00
Nicola Pero
5fc588ce75 Changed name of user defaults used to determine whether to show or not dot files
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12756 72102866-910b-0410-8b05-ffd578937521
2002-02-25 14:54:37 +00:00
Nicola Pero
985a5eb592 Handle NSFlagsChanged events properly
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12752 72102866-910b-0410-8b05-ffd578937521
2002-02-25 14:32:08 +00:00
Nicola Pero
4d082169e7 Hand a NSFlagsChanged event to the _firstResonder flagsChanges: method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12751 72102866-910b-0410-8b05-ffd578937521
2002-02-25 14:31:36 +00:00
Nicola Pero
e7c746d3e7 Improvements and simplifications in the new keybinding engine
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12747 72102866-910b-0410-8b05-ffd578937521
2002-02-25 13:52:27 +00:00
Nicola Pero
509e8a9220 Improvements and simplifications
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12746 72102866-910b-0410-8b05-ffd578937521
2002-02-25 13:51:56 +00:00
Nicola Pero
cecefbf9d9 Fixed NSLog for when a character name can't be parsed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12739 72102866-910b-0410-8b05-ffd578937521
2002-02-25 04:38:42 +00:00
Nicola Pero
8cbdba3c45 Tidied up last changelog entry
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12738 72102866-910b-0410-8b05-ffd578937521
2002-02-25 02:19:34 +00:00
Nicola Pero
01ed508084 Implemented dealloc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12737 72102866-910b-0410-8b05-ffd578937521
2002-02-25 02:18:08 +00:00
Nicola Pero
131fa865d8 Rewritten the keybinding engine to be much more powerful
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12736 72102866-910b-0410-8b05-ffd578937521
2002-02-25 01:50:12 +00:00
Nicola Pero
85f076c0ad Rewritten the keybinding engine
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12735 72102866-910b-0410-8b05-ffd578937521
2002-02-25 01:46:41 +00:00
Nicola Pero
9a3e9ff590 Compile the new files used by the new key binding engine
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12734 72102866-910b-0410-8b05-ffd578937521
2002-02-25 01:46:10 +00:00