Commit graph

6160 commits

Author SHA1 Message Date
Richard Frith-MacDonald
1c8cd6a0c4 Fixups to avoid crashes opening non-document-based apps.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28844 72102866-910b-0410-8b05-ffd578937521
2009-10-19 10:03:03 +00:00
Richard Frith-MacDonald
d2e616cb73 minor fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28843 72102866-910b-0410-8b05-ffd578937521
2009-10-19 07:44:22 +00:00
Nicolas Roard
93047c95c1 Remove commented code and spurious NSLogs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28842 72102866-910b-0410-8b05-ffd578937521
2009-10-19 03:23:24 +00:00
Nicolas Roard
36e94f001e Added 'NinePatch' drawing style, more efficient drawing and fixed bugs.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28841 72102866-910b-0410-8b05-ffd578937521
2009-10-19 03:19:01 +00:00
Nicolas Roard
83a8dccb97 Fix drawing bug when painting Top-Middle and Bottom-Middle images in GSDrawTiles
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28840 72102866-910b-0410-8b05-ffd578937521
2009-10-18 18:35:24 +00:00
Richard Frith-MacDonald
a49d3efb05 give theme more control over drawing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28839 72102866-910b-0410-8b05-ffd578937521
2009-10-18 16:23:34 +00:00
Nicolas Roard
2c3f0453ee Refactoring of GSDrawTiles to let it draw itself, and added a new init method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28838 72102866-910b-0410-8b05-ffd578937521
2009-10-18 14:21:57 +00:00
Richard Frith-MacDonald
161d6e03e7 fix for activation with suppressed icon window
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28837 72102866-910b-0410-8b05-ffd578937521
2009-10-18 08:02:40 +00:00
Wolfgang Lux
d2f51e9cde When using MS Windows style menus terminate an application by default
when its last window is closed.
In addition, fix a bug where the application was not terminated when
the last window is closed while the application is in the background.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28834 72102866-910b-0410-8b05-ffd578937521
2009-10-17 17:09:36 +00:00
Wolfgang Lux
65f8f0a588 Improve compatibility with Mac OS X and open a new document by default
when a document based application is started and there is no file to
open.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28833 72102866-910b-0410-8b05-ffd578937521
2009-10-17 17:01:24 +00:00
Richard Frith-MacDonald
c72cc49307 Partial code for using miniaturised app icon to unhide a hidden app.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28832 72102866-910b-0410-8b05-ffd578937521
2009-10-17 15:18:26 +00:00
Richard Frith-MacDonald
11ad2da52b Suppress app icon window by simply not ordering it in.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28831 72102866-910b-0410-8b05-ffd578937521
2009-10-17 05:35:56 +00:00
Sheldon Gill
32c94cae17 Centralise GSGuiBundle() routine
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28830 72102866-910b-0410-8b05-ffd578937521
2009-10-17 05:05:35 +00:00
Sheldon Gill
24a12e840f Move defaultExceptionHandler initialisation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28829 72102866-910b-0410-8b05-ffd578937521
2009-10-17 04:56:22 +00:00
Fred Kiefer
875614cc47 Move warning method that was shown too often.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28824 72102866-910b-0410-8b05-ffd578937521
2009-10-13 20:54:12 +00:00
Richard Frith-MacDonald
862f3e0cf7 Add missing method to header
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28819 72102866-910b-0410-8b05-ffd578937521
2009-10-13 08:44:09 +00:00
Fred Kiefer
1de788cfd3 Partial fix for bug #27638
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28816 72102866-910b-0410-8b05-ffd578937521
2009-10-12 18:54:17 +00:00
Fred Kiefer
2c18d466d2 Use NSModalPanelRunLoopMode instead of NSDefaultRunLoopMode.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28815 72102866-910b-0410-8b05-ffd578937521
2009-10-12 18:29:41 +00:00
Fred Kiefer
d91f2c8dae Fix for bug #27637
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28814 72102866-910b-0410-8b05-ffd578937521
2009-10-12 16:42:45 +00:00
Fred Kiefer
462c1a00f9 Remove two no longer needed hash methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28813 72102866-910b-0410-8b05-ffd578937521
2009-10-12 16:10:10 +00:00
Fred Kiefer
72ea926da9 Turned Richards specific hash method into a generic one.
--- --

M    Source/NSColor.m
M    ChangeLog


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28812 72102866-910b-0410-8b05-ffd578937521
2009-10-12 16:02:42 +00:00
Richard Frith-MacDonald
417d856f20 finish implementng hash methods for NSColor subclasses
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28811 72102866-910b-0410-8b05-ffd578937521
2009-10-12 15:57:59 +00:00
Richard Frith-MacDonald
e1d905517e add a couple of hash implementations... need more
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28810 72102866-910b-0410-8b05-ffd578937521
2009-10-12 15:23:24 +00:00
Richard Frith-MacDonald
c8690dd5d7 improve isEqual: for named colors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28809 72102866-910b-0410-8b05-ffd578937521
2009-10-12 15:05:47 +00:00
Richard Frith-MacDonald
f6296e504f tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28808 72102866-910b-0410-8b05-ffd578937521
2009-10-12 14:49:12 +00:00
Fred Kiefer
300db987b2 Remove special handling for proxies in NSColor.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28805 72102866-910b-0410-8b05-ffd578937521
2009-10-12 13:52:28 +00:00
Richard Frith-MacDonald
73197a77aa Fixup color changes on theme activation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28803 72102866-910b-0410-8b05-ffd578937521
2009-10-12 09:09:59 +00:00
Fred Kiefer
92e4946b9d Fix for bug #27631
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28802 72102866-910b-0410-8b05-ffd578937521
2009-10-11 20:17:28 +00:00
Richard Frith-MacDonald
23c6ece351 fix to get open panels working again.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28801 72102866-910b-0410-8b05-ffd578937521
2009-10-11 16:29:03 +00:00
Fred Kiefer
be1045089a Add the corresponding code in dealloc to the last change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28800 72102866-910b-0410-8b05-ffd578937521
2009-10-11 16:03:49 +00:00
Fred Kiefer
28c709afdf Move all the window border drawing code into GSTheme.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28792 72102866-910b-0410-8b05-ffd578937521
2009-10-10 17:37:01 +00:00
Fred Kiefer
ab812de7b9 Remove usage of NSDeallocateObject
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28789 72102866-910b-0410-8b05-ffd578937521
2009-10-10 14:10:52 +00:00
Fred Kiefer
18efe486cc Fix bug #27613. After closing the print option panel via the close
button the application was no longer reacting.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28788 72102866-910b-0410-8b05-ffd578937521
2009-10-10 13:56:45 +00:00
Richard Frith-MacDonald
2be2de6735 Fix bug setting name of an image which already has a name. Added thread safety
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28743 72102866-910b-0410-8b05-ffd578937521
2009-09-27 08:54:03 +00:00
Fred Kiefer
0e840e13bb * Source/NSApplication.m (-setApplicationIconImage:,
-finishLaunching): Move the set name code to finishLaunching, as
  the image called NSApplicationIcon should stay the same all the time.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28741 72102866-910b-0410-8b05-ffd578937521
2009-09-26 19:28:29 +00:00
Fred Kiefer
05988a592b Add method init for NSTextContainer as suggested
by Derek Fawcus <dfawcus@cisco.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28738 72102866-910b-0410-8b05-ffd578937521
2009-09-25 22:08:50 +00:00
Riccardo Mottola
82cbf1cf9e added some NSCompositingOperation doc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28726 72102866-910b-0410-8b05-ffd578937521
2009-09-22 23:12:15 +00:00
Fred Kiefer
1b4a5b19bd Remove now obsolte comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28723 72102866-910b-0410-8b05-ffd578937521
2009-09-21 16:59:22 +00:00
Fred Kiefer
73ac66ae1b Get NSToolbar setVisible: to really display/hide the toolbar.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28722 72102866-910b-0410-8b05-ffd578937521
2009-09-21 16:04:36 +00:00
Fred Kiefer
0777c0574e Use default paragraph style in text layout when none is set.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28714 72102866-910b-0410-8b05-ffd578937521
2009-09-19 15:28:33 +00:00
Fred Kiefer
3b51ebf3fe Unify the text converter handling. Plus added a bit of implementation
for the new test block methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28713 72102866-910b-0410-8b05-ffd578937521
2009-09-19 14:55:57 +00:00
Fred Kiefer
420648751a Correct the only use of the method that Hans Baier renamed :-)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28690 72102866-910b-0410-8b05-ffd578937521
2009-09-16 07:11:21 +00:00
Hans Baier
73a9ff2af5 GSTheme.h: fix typo in method name: Toobar -> Toolbar
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28688 72102866-910b-0410-8b05-ffd578937521
2009-09-16 02:44:28 +00:00
Hans Baier
cefeff22a7 alter ChangeLog for rev 28678
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28679 72102866-910b-0410-8b05-ffd578937521
2009-09-15 04:27:49 +00:00
Hans Baier
2896ed8473 Source/NSWorkspace.m: ([-launchAppWithBundleIdentifier:]) add dummy implementation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28678 72102866-910b-0410-8b05-ffd578937521
2009-09-15 04:26:29 +00:00
Hans Baier
430e6ab1bc add changelog entry for rev 28675
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28677 72102866-910b-0410-8b05-ffd578937521
2009-09-15 03:31:57 +00:00
Hans Baier
76eba75a84 add NSWorkspaceLaunchoptions to NSWorkspace.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28675 72102866-910b-0410-8b05-ffd578937521
2009-09-14 21:12:30 +00:00
Fred Kiefer
ed28a8df0f dd missing changelog for last change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28672 72102866-910b-0410-8b05-ffd578937521
2009-09-14 19:01:02 +00:00
Fred Kiefer
32bb892abd Changed the class NSScroller to be more similar to the the current Apple
specification.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28671 72102866-910b-0410-8b05-ffd578937521
2009-09-14 19:00:07 +00:00
Gregory John Casamento
dca2b3a161 Correct formatting.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28666 72102866-910b-0410-8b05-ffd578937521
2009-09-12 18:10:17 +00:00