fredkiefer
2395ea184f
Replace nil with [NSDate distantFuture] in calls to nextEventMatchingMask:...dequeue:.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28025 72102866-910b-0410-8b05-ffd578937521
2009-03-02 16:26:23 +00:00
fredkiefer
e90778c29d
Add more missing localization includes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28015 72102866-910b-0410-8b05-ffd578937521
2009-03-01 19:04:58 +00:00
gcasa
41997744bb
* Source/NSWindow.m: Correct compilation error.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27792 72102866-910b-0410-8b05-ffd578937521
2009-02-04 22:43:26 +00:00
rfm
6d9fd6d690
Fix typo in method to set parent window of a child, optimise color handling in themes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27742 72102866-910b-0410-8b05-ffd578937521
2009-01-31 09:59:32 +00:00
fredkiefer
60af32a0f7
Add backend support for the NSWindow child mechanism and use it for
...
popup buttons.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27719 72102866-910b-0410-8b05-ffd578937521
2009-01-29 09:37:30 +00:00
fredkiefer
0a03a0999e
Avoid annoying messages on first system startup about empty map table.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27713 72102866-910b-0410-8b05-ffd578937521
2009-01-28 18:05:26 +00:00
rfm
e5a4ab5b40
keep main menu available when using micrtosoft style
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27692 72102866-910b-0410-8b05-ffd578937521
2009-01-25 18:28:20 +00:00
rfm
0d5c221a7d
per-window menu setting tweaks.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27686 72102866-910b-0410-8b05-ffd578937521
2009-01-25 13:47:30 +00:00
rfm
e2011f6fb3
iiiignore invalid tracking rectangles
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27665 72102866-910b-0410-8b05-ffd578937521
2009-01-24 08:38:21 +00:00
fredkiefer
511b5be242
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
wlux
f3a278659e
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
wlux
203b93060e
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
wlux
511eb93919
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
fredkiefer
5009590bcd
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
fredkiefer
04f395681c
Start to rewrite the window toolbar handling code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27478 72102866-910b-0410-8b05-ffd578937521
2008-12-31 16:06:58 +00:00
fredkiefer
fda38b7fa2
Add validation for toggle toolbar method.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27471 72102866-910b-0410-8b05-ffd578937521
2008-12-30 23:56:35 +00:00
fredkiefer
6c0a0ef0cb
Small clean up of toolbar code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27443 72102866-910b-0410-8b05-ffd578937521
2008-12-28 15:16:05 +00:00
fredkiefer
c1964b83f3
Make the button redraw after setting the image.
...
Don't do anything when the same contents view gets set on the window
again.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27308 72102866-910b-0410-8b05-ffd578937521
2008-12-16 19:28:25 +00:00
wlux
3764826e20
Ensure that new windows properly show their document edited status.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27292 72102866-910b-0410-8b05-ffd578937521
2008-12-14 19:15:18 +00:00
wlux
9c73bec99f
Implement undo: and redo: responder actions in NSWindow as on Mac OS X.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27218 72102866-910b-0410-8b05-ffd578937521
2008-12-06 10:58:38 +00:00
gcasa
2c03139459
* Headers/AppKit/NSWindow.h: Declaration for attachedSheet.
...
* Source/NSWindow.m: Added skeleton implementation of attachedSheet.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27137 72102866-910b-0410-8b05-ffd578937521
2008-11-26 21:29:32 +00:00
wlux
4b27fb7127
Revert the previous change to NSWindow -miniaturize: correcting bug
...
#24707 . A better fix for this is now in -back.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27102 72102866-910b-0410-8b05-ffd578937521
2008-11-20 16:51:57 +00:00
gcasa
b764dcded1
* Source/NSWindow.m: Reverted a previous change to miniaturize.
...
This should correct bug #24707 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27002 72102866-910b-0410-8b05-ffd578937521
2008-11-02 01:30:35 +00:00
fredkiefer
71bfe5148e
Delegate the content rect computation to the actual window decoration
...
view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26942 72102866-910b-0410-8b05-ffd578937521
2008-10-20 13:28:28 +00:00
gcasa
f3fc259235
* Source/NSWindow.m: Remove code in stringWithSavedFrame which was causing a
...
crash due to issues in NSToolbar described in bug#24601.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26934 72102866-910b-0410-8b05-ffd578937521
2008-10-18 23:02:40 +00:00
fredkiefer
9337a42f98
Move the initialization of windowmaps to initialize.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26928 72102866-910b-0410-8b05-ffd578937521
2008-10-17 15:41:00 +00:00
fredkiefer
291b40c4ef
Improved mini window handling. Patch by Hubert Chathi
...
<hubert@uhoreg.ca>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26810 72102866-910b-0410-8b05-ffd578937521
2008-08-15 06:45:17 +00:00
fredkiefer
2d0a2d0c03
When ending editing change first responder first to avoid recusion.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26804 72102866-910b-0410-8b05-ffd578937521
2008-08-10 22:04:14 +00:00
gcasa
03616e71ee
* Source/NSMenu.m: Beginning of support for windows style menus on the
...
top of the window.
* Source/NSWindow.m: Added code in the method -setFrameFromString: to
make certain the window doesn't go out of bounds if the screen size
changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26751 72102866-910b-0410-8b05-ffd578937521
2008-07-08 20:17:44 +00:00
fedor
ce41d782c1
Revert library license version to 2 until applications can be converted
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26619 72102866-910b-0410-8b05-ffd578937521
2008-06-10 04:01:49 +00:00
fredkiefer
8dfee0a671
Make the implemenation of the method prepareForDragOperation:
...
non-mandatory, as on OSX.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26617 72102866-910b-0410-8b05-ffd578937521
2008-06-09 18:09:09 +00:00
gcasa
71462c5bac
* Headers/AppKit/NSWindow.h: Minor cleanup and spacing.
...
* Source/GSNibTemplates.m: Removed call to designated init, since
this is handled by the initWithCOoder method in NSWindow.m.
* Source/NSWindow.m: Correction for calling the designated initializer.
Fix for bug#23336.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26567 72102866-910b-0410-8b05-ffd578937521
2008-05-24 15:00:12 +00:00
fredkiefer
957c0f13d5
Better handling of the circular references between the graphics context
...
and the window.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26539 72102866-910b-0410-8b05-ffd578937521
2008-05-18 23:12:24 +00:00
fredkiefer
0192ecd4dd
Try to better solve the circular reference between the window and the
...
context.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26527 72102866-910b-0410-8b05-ffd578937521
2008-05-14 22:56:13 +00:00
rfm
cb1c11a00c
revert accidental change
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26521 72102866-910b-0410-8b05-ffd578937521
2008-05-13 15:06:24 +00:00
rfm
c27f79a57d
make save and open panels usable on mswindows
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26520 72102866-910b-0410-8b05-ffd578937521
2008-05-13 15:04:01 +00:00
gcasa
fc7fe511ae
* Source/NSWindow.m: (-(void)miniaturize: (id)sender):
...
Change to prevent miniwindow from disappearing. Apparently uneccessary
[self orderOut: self] was causing this issue.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26501 72102866-910b-0410-8b05-ffd578937521
2008-05-09 01:06:36 +00:00
fredkiefer
81b6a83551
Breakretain cycle of NSWindow and its context.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26494 72102866-910b-0410-8b05-ffd578937521
2008-05-07 00:39:22 +00:00
gcasa
a92da16be5
* Source/NSWindow.m: Change to correct issue with NSWindow placement
...
when toolbar is present.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26476 72102866-910b-0410-8b05-ffd578937521
2008-04-27 22:44:12 +00:00
rfm
8d420a08d8
Fix bug #22444
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26219 72102866-910b-0410-8b05-ffd578937521
2008-03-06 06:58:20 +00:00
fredkiefer
4c3fbf0129
New methods on NSView with code from viewWillMoveToWindow: and
...
viewWillMoveToSuperview:. The later are now empty to allow
subclasses not to call the super implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26053 72102866-910b-0410-8b05-ffd578937521
2008-02-11 11:37:29 +00:00
fredkiefer
fe86875d7e
Avoid compiler warnings on Windows.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25985 72102866-910b-0410-8b05-ffd578937521
2008-01-19 21:48:37 +00:00
fredkiefer
afd5057165
New Apple methods on NSGraphicsContext and rework of window device
...
setting. Requires corresponding change in back!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25980 72102866-910b-0410-8b05-ffd578937521
2008-01-19 13:11:16 +00:00
fredkiefer
151e2f87f7
Full support for view hiding.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25775 72102866-910b-0410-8b05-ffd578937521
2007-12-22 16:11:24 +00:00
rfm
efe3ed5993
Update includes ... closer MacOS-X compatibility.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25635 72102866-910b-0410-8b05-ffd578937521
2007-11-29 20:28:03 +00:00
fredkiefer
e25cceb710
Change all files to use GPL 3 and LGPL 3.
...
Prepare for next release.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25536 72102866-910b-0410-8b05-ffd578937521
2007-10-29 21:16:17 +00:00
fredkiefer
b3ce13417d
Try to handle the case better, where GNUstep manages the mini window and
...
the window decoration itself.
Based on patch by Stefan Bidigaray <stefanbidi@gmail.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25512 72102866-910b-0410-8b05-ffd578937521
2007-10-02 21:58:47 +00:00
fredkiefer
7ff581894a
In cascadeTopLeftFromPoint: constrain the resulting point to the visible
...
screen. Patch by Wolfgang Lux.
-- Diese und die folgend:wqIn cascadeTopLeftFromPoint: constrain the
resulting point to the visible
screen. Patch by Wolfgang Lux.In cascadeTopLeftFromPoint: constrain the
resulting point to the visible
screen. Patch by Wolfgang Lux.ien Zeilen werden ignoriert --
M Source/NSWindow.m
M ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25506 72102866-910b-0410-8b05-ffd578937521
2007-09-30 22:02:14 +00:00
fredkiefer
a46f252beb
Use orderFrontRegardless instead of orderFront:.
...
Patch by Yen-Ju Chen <yjchenx@gmail.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25472 72102866-910b-0410-8b05-ffd578937521
2007-09-09 20:38:10 +00:00
fredkiefer
1d293756e0
Add new MacOSX 10.4 methods and constants to NSWindow. Requires
...
recompilation of all applications!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25469 72102866-910b-0410-8b05-ffd578937521
2007-09-09 12:19:01 +00:00