Fred Kiefer
dda7640fa5
First attempt at in window menus.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27649 72102866-910b-0410-8b05-ffd578937521
2009-01-22 09:19:22 +00:00
Richard Frith-MacDonald
1803fa7fc5
fix #25369
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27646 72102866-910b-0410-8b05-ffd578937521
2009-01-21 07:09:50 +00:00
Wolfgang Lux
b4ece5bc82
Fix invalid return statements between NS_DURING and NS_HANDLER in
...
Source/NSImage.m.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27643 72102866-910b-0410-8b05-ffd578937521
2009-01-20 20:18:22 +00:00
Fred Kiefer
d635454454
Add auto release pool to animation loop.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27636 72102866-910b-0410-8b05-ffd578937521
2009-01-19 17:25:51 +00:00
Fred Kiefer
3668f4bd83
Remove retain cycle with NSAnimation and simplify implementation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27629 72102866-910b-0410-8b05-ffd578937521
2009-01-18 16:04:12 +00:00
Wolfgang Lux
431f3f280f
Include a window's decoration view in its responder chain so that
...
dynamic target look up works for toolbar items.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27628 72102866-910b-0410-8b05-ffd578937521
2009-01-18 15:52:06 +00:00
Wolfgang Lux
f7e864e8ab
Make sure toolbar items are validated w.r.t. the responder chain of
...
their respective window.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27627 72102866-910b-0410-8b05-ffd578937521
2009-01-18 15:33:01 +00:00
Wolfgang Lux
cdc21a5395
Fix a few issues with toolbar item validation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27626 72102866-910b-0410-8b05-ffd578937521
2009-01-18 15:11:37 +00:00
Wolfgang Lux
d40bb8140a
Improve menu item validation by falling back to -validateUserInterfaceItem:
...
if the validator doesn't respond to -validateMenuItem:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27625 72102866-910b-0410-8b05-ffd578937521
2009-01-18 14:59:24 +00:00
Wolfgang Lux
6f61fe0106
Revert NSMenu changes from r27569.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27624 72102866-910b-0410-8b05-ffd578937521
2009-01-18 14:55:57 +00:00
Wolfgang Lux
42e2e73ebd
Don't activate an application upon a single click into a miniwindow.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27622 72102866-910b-0410-8b05-ffd578937521
2009-01-17 16:45:14 +00:00
Wolfgang Lux
b1496f3b3e
Create an undo manager for a window when necessary.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27621 72102866-910b-0410-8b05-ffd578937521
2009-01-17 16:32:37 +00:00
Wolfgang Lux
12ffaa698c
Change NSDocument's -windowForSheet implementation to match the actual
...
OS X implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27620 72102866-910b-0410-8b05-ffd578937521
2009-01-17 16:08:30 +00:00
Gregory John Casamento
2800af404c
* Source/NSMenuItem.m: Retain the GSMenuSeparator instance if
...
the menu item is a separator since we want to make sure the
object isn't prematurely released.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27611 72102866-910b-0410-8b05-ffd578937521
2009-01-16 16:56:44 +00:00
Richard Frith-MacDonald
b1a66b9002
Fix bug #25327
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27609 72102866-910b-0410-8b05-ffd578937521
2009-01-16 13:33:33 +00:00
Richard Frith-MacDonald
3d4657d03a
match change to base library.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27582 72102866-910b-0410-8b05-ffd578937521
2009-01-12 18:39:23 +00:00
Gregory John Casamento
c0cc549d52
More documentation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27580 72102866-910b-0410-8b05-ffd578937521
2009-01-12 15:20:03 +00:00
Fred Kiefer
5ea2410eb2
Replace the key equivalent when it was set wrongly by Gorm.
...
Patch by Wolfgang Lux <wolfgang.lux@gmail.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27579 72102866-910b-0410-8b05-ffd578937521
2009-01-12 14:02:05 +00:00
Gregory John Casamento
dfa6ca0301
* Source/GSNibLoading.m: Reorganization and simplification of
...
nib loading logic in NSIBObjectData. Also documentation for
NSIBObjectData and NSClassSwapper.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27575 72102866-910b-0410-8b05-ffd578937521
2009-01-12 01:44:39 +00:00
Gregory John Casamento
d2ad402045
* Source/NSToolbarItem.m: Added _sendAction: method to send
...
the action with the NSToolbarItem instance as the sender
when the toolbar item is represented by an NSMenuItem.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27573 72102866-910b-0410-8b05-ffd578937521
2009-01-10 20:46:39 +00:00
Gregory John Casamento
3bab225349
* Source/NSMenu.m: Correction to previous change. Update when
...
setAutoenableItems: value is changed. Altered update to
enable menu items when autoenable is not being performed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27569 72102866-910b-0410-8b05-ffd578937521
2009-01-10 04:03:12 +00:00
Gregory John Casamento
864092095d
* Source/NSMenuItemCell.m: encode menu item in encodeWithCoder:
...
method.
* Source/NSMenu.m: Add code to handle NSNoAutoenable
* Source/NSPopUpButtonCell.m: Decode/encode selected index
* Source/NSPrintInfo.m: Set orientation after the page size is
known, since it has no effect when done earlier.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27568 72102866-910b-0410-8b05-ffd578937521
2009-01-10 03:49:43 +00:00
Richard Frith-MacDonald
2d97996e15
minor bugfix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27563 72102866-910b-0410-8b05-ffd578937521
2009-01-09 09:20:42 +00:00
Fred Kiefer
5d7b8487b9
Remove the NSWindow+Toolbar files and merge their contents into other
...
files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27562 72102866-910b-0410-8b05-ffd578937521
2009-01-09 09:14:13 +00:00
Richard Frith-MacDonald
1326dfa1b4
Minor theme fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27560 72102866-910b-0410-8b05-ffd578937521
2009-01-08 16:13:23 +00:00
Richard Frith-MacDonald
fe56a68e5e
Fix nil pointer exception
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27559 72102866-910b-0410-8b05-ffd578937521
2009-01-08 11:30:16 +00:00
Fred Kiefer
ec783dc3b3
Revert the relationship between NSToolbar and GSToolbarView,
...
now the toolbar retains the view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27550 72102866-910b-0410-8b05-ffd578937521
2009-01-07 08:49:53 +00:00
Richard Frith-MacDonald
aca8c4b62c
Improve color control for theming
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27546 72102866-910b-0410-8b05-ffd578937521
2009-01-07 06:50:14 +00:00
Fred Kiefer
5fcaad0723
No longer resize the content view, when a toolbar is added or removed.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27541 72102866-910b-0410-8b05-ffd578937521
2009-01-06 22:10:18 +00:00
Richard Frith-MacDonald
e1e6abaf84
Make sure we repopulate cached parts when needed.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27537 72102866-910b-0410-8b05-ffd578937521
2009-01-06 16:58:07 +00:00
Richard Frith-MacDonald
f97985f224
Click on slot scrolls by a page if in windows insterface style
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27529 72102866-910b-0410-8b05-ffd578937521
2009-01-06 06:57:50 +00:00
Richard Frith-MacDonald
2f75abcf2e
Add support for temporary elements which go away when the theme is deactivated.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27528 72102866-910b-0410-8b05-ffd578937521
2009-01-06 05:08:58 +00:00
Fred Kiefer
ea28f55ad6
Remove left over debug output line.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27523 72102866-910b-0410-8b05-ffd578937521
2009-01-05 18:21:19 +00:00
Fred Kiefer
feac9aea4a
Fully implement the class NSUserDefaultsController.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27522 72102866-910b-0410-8b05-ffd578937521
2009-01-05 18:15:53 +00:00
Richard Frith-MacDonald
23f7bcc0e6
Fix memory leak and commit latest scroller theming workings
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27521 72102866-910b-0410-8b05-ffd578937521
2009-01-05 14:55:34 +00:00
Richard Frith-MacDonald
62492a9158
Some moves towards making scrollers more themable
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27518 72102866-910b-0410-8b05-ffd578937521
2009-01-05 09:43:25 +00:00
Richard Frith-MacDonald
99adecef26
Add names for gui elements within a larger control.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27517 72102866-910b-0410-8b05-ffd578937521
2009-01-05 06:51:59 +00:00
Gregory John Casamento
b8033adbb3
* Source/GSToolbarView.m: Use ASSIGN as suggested. This corrects
...
the crash and fixes the leak caused by the previous change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27516 72102866-910b-0410-8b05-ffd578937521
2009-01-04 23:26:06 +00:00
Gregory John Casamento
3dd82a38fa
Correct crash in NSToolbar.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27515 72102866-910b-0410-8b05-ffd578937521
2009-01-04 21:40:49 +00:00
Fred Kiefer
9cd9df813d
Check only shouldCreateUI before callin makeWindowControllers.
...
This is the behaviour reported for Cocoa.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27509 72102866-910b-0410-8b05-ffd578937521
2009-01-04 20:20:52 +00:00
Fred Kiefer
e6f1b26e00
Adopt the window size when adding or removing a toolbar,
...
not the size of the content view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27506 72102866-910b-0410-8b05-ffd578937521
2009-01-03 15:18:29 +00:00
Fred Kiefer
7e9036c434
Move the handling of the toolbar from the window to the window
...
decoration view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27505 72102866-910b-0410-8b05-ffd578937521
2009-01-02 21:41:29 +00:00
Fred Kiefer
74d7fcffd8
Add new private header file with shared toolbar classes interfaces.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27503 72102866-910b-0410-8b05-ffd578937521
2009-01-02 17:24:06 +00:00
Fred Kiefer
4fc5a6f196
General clean up of GSToolbarView code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27501 72102866-910b-0410-8b05-ffd578937521
2009-01-02 14:05:39 +00:00
Richard Frith-MacDonald
3c16aeb873
Tweak last change so that scrollers have cached info cleared
...
before any windows are redrawn.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27500 72102866-910b-0410-8b05-ffd578937521
2009-01-02 13:28:07 +00:00
Richard Frith-MacDonald
10964ee37f
Try to produce dynamic update of theme for scrollers ... may need more work.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27499 72102866-910b-0410-8b05-ffd578937521
2009-01-02 13:19:23 +00:00
Richard Frith-MacDonald
664c7cadd2
Some code for scroller theming
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27498 72102866-910b-0410-8b05-ffd578937521
2009-01-02 12:40:07 +00:00
Richard Frith-MacDonald
cec7464939
Minor improvement in display of themes to select from.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27497 72102866-910b-0410-8b05-ffd578937521
2009-01-02 10:19:59 +00:00
Richard Frith-MacDonald
0b5106a41b
Some cleanups for GSTheme
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27496 72102866-910b-0410-8b05-ffd578937521
2009-01-02 10:12:25 +00:00
Fred Kiefer
f66a0decc7
Merge GSToolbar with NSToolbar and remove all traces of the old class.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27491 72102866-910b-0410-8b05-ffd578937521
2009-01-01 22:04:38 +00:00