Commit graph

3091 commits

Author SHA1 Message Date
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
Nicola Pero
59dcc3e891 New file used by the new key binding engine
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12733 72102866-910b-0410-8b05-ffd578937521
2002-02-25 01:45:38 +00:00
Nicola Pero
7224c000f8 Put methods declared but not implemented in an informal protocol
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12727 72102866-910b-0410-8b05-ffd578937521
2002-02-25 01:22:38 +00:00
Nicola Pero
b0aa4c9b64 Do not display files whose name begin with a dot in the save panel; do not
assume that directoryContentsAtPath: returns a mutable array


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12718 72102866-910b-0410-8b05-ffd578937521
2002-02-24 11:58:26 +00:00
Nicola Pero
08416525cc Added option - controlled by user defaults - not to show files beginning
with . in the save panel.  do not assume that NSFileManager -directoryContentsAtPath:
returns a mutable array


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12717 72102866-910b-0410-8b05-ffd578937521
2002-02-24 11:55:41 +00:00
Richard Frith-Macdonald
91810cad20 Glyph storage and comment updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12716 72102866-910b-0410-8b05-ffd578937521
2002-02-24 07:39:18 +00:00
Gregory John Casamento
31d26cafac Further improvements to NSOutlineView class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12713 72102866-910b-0410-8b05-ffd578937521
2002-02-24 03:10:16 +00:00
Nicola Pero
ab646d4c7e Fixed memory leak in NSBezierPath
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12709 72102866-910b-0410-8b05-ffd578937521
2002-02-23 21:58:06 +00:00
Nicola Pero
50d0d924aa Autorelease the path returned by +bezierPath; indentation changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12708 72102866-910b-0410-8b05-ffd578937521
2002-02-23 21:56:48 +00:00
Nicola Pero
5bb0d1fd73 Added missing newline in last ChangeLog entry
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12707 72102866-910b-0410-8b05-ffd578937521
2002-02-23 21:54:56 +00:00
Gregory John Casamento
275c7ff8d5 Adding NSOutlineView changes so far so that everyone can see the progress which has been made. GJC
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12704 72102866-910b-0410-8b05-ffd578937521
2002-02-23 16:37:17 +00:00
Nicola Pero
229c19e444 Fixed timing of display of torn off menu on screen at startup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12703 72102866-910b-0410-8b05-ffd578937521
2002-02-23 12:19:22 +00:00
Nicola Pero
8d096d1e9c On startup, display torn off menus when the app did launch, not before, so
that the programmer can set up menus before that


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12702 72102866-910b-0410-8b05-ffd578937521
2002-02-23 12:18:26 +00:00