Commit graph

7281 commits

Author SHA1 Message Date
FredKiefer
8d42ee0bd4 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
FredKiefer
2862057921 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
FredKiefer
19938dec20 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
FredKiefer
52d70b9d02 [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
gcasa
95c7931f6c 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
nico
6e7ec538e3 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
nico
3a6a65ae50 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
nico
664b30123c 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
nico
b74ea57ae9 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
FredKiefer
fefef48607 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
FredKiefer
12ce22bf59 [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
FredKiefer
49dbd281e8 [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
FredKiefer
dd2c17aa3b [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
nico
fb3ae66b51 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
nico
b98809dc01 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
fedor
a324ac0bdf 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
nico
99c388514e 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
nico
04815b62ce 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
nico
6a997b8f0b 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
nico
7c71b6adc8 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
nico
4d855760b8 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
nico
558ecd6371 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
nico
1114a518b9 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
nico
b8a112e66a 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
nico
7c3b562887 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
nico
391c517870 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
nico
3af7dbdf66 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
nico
0b205f5da3 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
nico
2d08521e7b 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
nico
50e26afa1d 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
nico
99c8441afb 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
nico
ad5a1bab49 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
CaS
50ea9c15ca 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
gcasa
1fbdbae507 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
nico
155a2f4124 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
nico
3843d2a2b3 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
nico
8dd0c8ecb3 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
gcasa
6fa43db4ec 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
nico
b8b33c6f50 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
nico
7354abc723 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
nico
148f4a994d Lot of fixes for memory management of menu views and menu item cells. Menus
seem to dealloc properly (or at least dealloc and dealloc on components) now


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12701 72102866-910b-0410-8b05-ffd578937521
2002-02-23 12:00:59 +00:00
nico
526728e522 Fixes for memory management ... to help the menus dealloc properly (/dealloc
at all)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12700 72102866-910b-0410-8b05-ffd578937521
2002-02-23 11:58:54 +00:00
nico
6c3c0108da Comment change, debuglog removed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12699 72102866-910b-0410-8b05-ffd578937521
2002-02-23 11:17:51 +00:00
nico
cb5dc2580a Various comments added
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12698 72102866-910b-0410-8b05-ffd578937521
2002-02-23 11:16:59 +00:00
nico
544720e3bc Indented some lines
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12697 72102866-910b-0410-8b05-ffd578937521
2002-02-23 10:38:35 +00:00
nico
38931d5dbb Fixed bug in NSTableView editing ... was copying the string from one cell
to another one when moving with TAB.  Fixed memory leak in NSTableView.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12695 72102866-910b-0410-8b05-ffd578937521
2002-02-23 01:14:37 +00:00
nico
f140aff6e3 Fixed a couple of very technical bugs ... pressing TAB between cells while
editing would copy the string, and _editedCells wouldn't get released properly


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12694 72102866-910b-0410-8b05-ffd578937521
2002-02-23 01:12:26 +00:00
nico
b84227ca56 Fixed problems in the deallocation of windows and in the final shutdown
of the application


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12693 72102866-910b-0410-8b05-ffd578937521
2002-02-22 23:06:07 +00:00
nico
d3646cd45e Don't remove the window autosave frame for the user defaults on dealloc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12692 72102866-910b-0410-8b05-ffd578937521
2002-02-22 23:05:06 +00:00
nico
c6115f8a6e During dealloc, set the main and window menu to nil after releasing them,
so we don't try updating them later on in the shutdown process


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12691 72102866-910b-0410-8b05-ffd578937521
2002-02-22 23:04:25 +00:00