Commit graph

5686 commits

Author SHA1 Message Date
Fred Kiefer
2b3ec299c9 In NSMenu compare target for identity not equality.
Decoding and encoding for NSWindowController.
Extend the responder chain of a window beyond itself.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26959 72102866-910b-0410-8b05-ffd578937521
2008-10-24 07:59:42 +00:00
Fred Kiefer
56388864db Make window controller a subclass of NSResponder and manage the
responder chain. Patch by Wolfgang Lux <wolfgang.lux@gmail.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26956 72102866-910b-0410-8b05-ffd578937521
2008-10-23 08:17:23 +00:00
Adam Fedor
76b074a205 Fix broken jpeg boolean def
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26943 72102866-910b-0410-8b05-ffd578937521
2008-10-21 00:55:37 +00:00
Fred Kiefer
1b11784194 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
Riccardo Mottola
b078bfc7c9 dont unreigster non existent named port
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26935 72102866-910b-0410-8b05-ffd578937521
2008-10-18 23:07:03 +00:00
Gregory John Casamento
fcb9767969 * 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
Riccardo Mottola
75a92b018f removed c99ism
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26932 72102866-910b-0410-8b05-ffd578937521
2008-10-18 19:28:00 +00:00
Fred Kiefer
e362e578e9 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
Gregory John Casamento
29373b4707 * Source/GSInfoPanel.m: Minor correction in initWithDictionary to
display url properly, if it is not specified in the dictionary passed
	or if the dictionary is nil.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26853 72102866-910b-0410-8b05-ffd578937521
2008-09-17 22:15:21 +00:00
Gregory John Casamento
d2901739b5 * Source/NSWorkspace.m: Exclude list of reserved mount names from
the results returned by -mountedLocalVolumePaths.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26852 72102866-910b-0410-8b05-ffd578937521
2008-09-17 21:51:50 +00:00
Gregory John Casamento
56e1cbc82a Updating change log.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26846 72102866-910b-0410-8b05-ffd578937521
2008-09-14 17:18:36 +00:00
Gregory John Casamento
53c26e6560 * install.sh: Adding install script for use by compile-all.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26845 72102866-910b-0410-8b05-ffd578937521
2008-09-14 17:18:04 +00:00
Fred Kiefer
829457697a Added functionality to copy the text content of the info panel
to the pasteboard.
Fixes #23831.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26838 72102866-910b-0410-8b05-ffd578937521
2008-09-09 15:58:08 +00:00
Fred Kiefer
31293f108c Use flushWindow instead of [GSCurrentContext() flushGraphics].
Should fix #24200.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26837 72102866-910b-0410-8b05-ffd578937521
2008-09-08 19:28:05 +00:00
Fred Kiefer
f114baad28 Moved _sizeForBorderType() into GSTheme header and added more methods
for theme abstraction.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26836 72102866-910b-0410-8b05-ffd578937521
2008-09-08 18:59:48 +00:00
Fred Kiefer
aa4ce2c493 Corrected last change. Sorry for that.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26835 72102866-910b-0410-8b05-ffd578937521
2008-09-07 11:16:32 +00:00
Fred Kiefer
5b04e85e90 Corrected inconsistently named constants in definition not just usage.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26834 72102866-910b-0410-8b05-ffd578937521
2008-09-06 21:30:50 +00:00
Gregory John Casamento
c4b107b4c4 Correct minor issue with constant name.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26830 72102866-910b-0410-8b05-ffd578937521
2008-09-04 01:13:23 +00:00
Fred Kiefer
288bf8cfbe Add drop in replacement code for libicns.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26829 72102866-910b-0410-8b05-ffd578937521
2008-09-03 07:02:34 +00:00
Gregory John Casamento
dfdd70c6bb Remove image copyright reference in images GNUmakefile
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26824 72102866-910b-0410-8b05-ffd578937521
2008-08-30 21:35:03 +00:00
Richard Frith-MacDonald
5256dfa00e fix for bug #24109
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26817 72102866-910b-0410-8b05-ffd578937521
2008-08-21 09:08:45 +00:00
Richard Frith-MacDonald
1894b2468e Fix some codee which was not 64bit clean.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26816 72102866-910b-0410-8b05-ffd578937521
2008-08-21 08:42:20 +00:00
Fred Kiefer
b6e2a9c2c2 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
Gregory John Casamento
118d6d20f0 * Source/NSApplication.m: Removed icns string addition to rely on
NSImage code to find the image.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26808 72102866-910b-0410-8b05-ffd578937521
2008-08-14 02:21:15 +00:00
Gregory John Casamento
b79669d5f1 Added support for CF keys.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26807 72102866-910b-0410-8b05-ffd578937521
2008-08-13 05:17:19 +00:00
Gregory John Casamento
bfde86fcd5 * Source/NSApplication.m: Add logic to load the icns if it's specified
as the icon file for an application.
	* Source/NSBitmapImageRep+ICNS.m: Limit the size of the representation
	to the 48x48 version. 

In the future I would like GNUstep to take full advantage of this format and display the representation which is most appropriate for a given size.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26806 72102866-910b-0410-8b05-ffd578937521
2008-08-13 01:54:23 +00:00
Gregory John Casamento
8b4277dcdc * configure: Regenerated file
* configure.ac: Added check for libicns. (http://icns.sourceforge.net/)
        * Headers/Additions/GNUstepGUI/config.h.in
        * Source/GNUmakefile: Added new files
        * Source/NSBitmapImageRep+ICNS.h: Header for ICNS category
        * Source/NSBitmapImageRep+ICNS.m: Implementation if ICNS reading
        logic.
        * Source/NSBitmapImageRep.m: Add support for the ICNS file 
        format so that GNUstep can read Mac OS X icon files.   Uses
        the libicns library available from sourceforge.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26805 72102866-910b-0410-8b05-ffd578937521
2008-08-12 04:58:04 +00:00
Fred Kiefer
d63f065d0a 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
Fred Kiefer
f88a8e3a08 Add dummy version of NSSetFocusRingStyle.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26803 72102866-910b-0410-8b05-ffd578937521
2008-08-09 15:54:56 +00:00
Adam Fedor
d650fce161 Handle patched jpeg library found on CYGWIN.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26802 72102866-910b-0410-8b05-ffd578937521
2008-08-08 14:08:54 +00:00
Gregory John Casamento
fd45064a83 * Headers/AppKit/NSTokenFieldCell.h
* Headers/AppKit/NSTokenField.h: Headers for new class.
        * Source/GNUmakefile
        * Source/NSDocumentController.m: Added code to handle the
        CF keys as well as the NS keys for document oriented apps.
        * Source/NSTokenFieldCell.m
        * Source/NSTokenField.m: Start of implementation for this class


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26801 72102866-910b-0410-8b05-ffd578937521
2008-08-07 05:17:32 +00:00
Fred Kiefer
2505d01c74 Correct retain/release issues in NSScrollView and NSWindowController.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26799 72102866-910b-0410-8b05-ffd578937521
2008-08-02 17:34:04 +00:00
Fred Kiefer
6b3d9536fd Add fallback glyph when no glyph can be found for current character.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26778 72102866-910b-0410-8b05-ffd578937521
2008-07-13 09:31:00 +00:00
Fred Kiefer
11bede28df Protect all access to the glyph arrays.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26773 72102866-910b-0410-8b05-ffd578937521
2008-07-12 23:00:37 +00:00
Fred Kiefer
1f1fb3c153 Add some more protection against inconsistent state.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26771 72102866-910b-0410-8b05-ffd578937521
2008-07-12 21:10:08 +00:00
Fred Kiefer
bcd595e826 Standardize path before checking existance.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26770 72102866-910b-0410-8b05-ffd578937521
2008-07-12 18:27:41 +00:00
Gregory John Casamento
e39b7a04b4 * 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
Fred Kiefer
001bdbc4e9 Add MacOS 10.4 method -selectItemWithTag:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26743 72102866-910b-0410-8b05-ffd578937521
2008-07-02 22:10:53 +00:00
Gregory John Casamento
8b43d12ff0 I am removing this since Andrew has said in an email to me that it's okay
to license the images under the GPL.   Here is the email:

--
From: apl@lindesay.co.nz
To: greg_casamento@yahoo.com
Hello Gregory;

That would be fine to license the images I did for the GNUStep project 
under GPL.

Take care.

cheers.
--

Thanks. GC



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26687 72102866-910b-0410-8b05-ffd578937521
2008-06-22 15:15:24 +00:00
Fred Kiefer
a280fa3721 Commit scroll adjustment patch by Benhur Stein.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26678 72102866-910b-0410-8b05-ffd578937521
2008-06-17 20:20:15 +00:00
Adam Fedor
266998d2ee Version 0.14.0
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26651 72102866-910b-0410-8b05-ffd578937521
2008-06-15 04:34:21 +00:00
Richard Frith-MacDonald
a9725f89f0 import version macros
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26642 72102866-910b-0410-8b05-ffd578937521
2008-06-13 05:30:41 +00:00
Adam Fedor
41ec18afa4 Fix incorrect commits
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26633 72102866-910b-0410-8b05-ffd578937521
2008-06-12 14:09:48 +00:00
Adam Fedor
7afdd32ac1 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
Fred Kiefer
fc2c78170f 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
Fred Kiefer
1a9a9468c0 Check in the control not in the text field whether the cell is currently
being edited.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26613 72102866-910b-0410-8b05-ffd578937521
2008-06-09 10:04:49 +00:00
Fred Kiefer
b4d065a9bf Better NIB loading for NSWindow.
Ignore missing image in NSButtonCell drawing.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26591 72102866-910b-0410-8b05-ffd578937521
2008-06-02 10:35:42 +00:00
Fred Kiefer
ddd37df12f Warn about incompatibility with MacOSX in NSMenuItem setKeyEquivalent:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26582 72102866-910b-0410-8b05-ffd578937521
2008-05-28 08:19:55 +00:00
Fred Kiefer
7d6490fcb9 Initialize variable "image" before using it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26579 72102866-910b-0410-8b05-ffd578937521
2008-05-27 20:31:18 +00:00
Nicola Pero
0b5671523f Use gnustep-make v2 variables when installing documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26568 72102866-910b-0410-8b05-ffd578937521
2008-05-25 10:04:03 +00:00