Commit graph

3885 commits

Author SHA1 Message Date
gcasa
26525cb157 * Source/NSScrollView.m: Correct issue with tableviews when
loading nib files, corrected bug #24782.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27044 72102866-910b-0410-8b05-ffd578937521
2008-11-14 05:36:20 +00:00
fredkiefer
b9044f81bb More corrections to bounds transformation, based on the new test code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27042 72102866-910b-0410-8b05-ffd578937521
2008-11-13 20:44:51 +00:00
gcasa
09d4ded47d * Source/GSNibCompatibility.m: Conditionally call setToolTip if it
exists when doing establishConnection on an NSIBHelpConnector.
	* Source/NSDocumentController.m: Correction to prevent exception when
	NSDocumentClass isn't specified.   This does not cause an issue on
	Mac OS X.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27031 72102866-910b-0410-8b05-ffd578937521
2008-11-12 22:58:47 +00:00
fredkiefer
c0cbcfdd41 Correction to bounds translation and rotation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27023 72102866-910b-0410-8b05-ffd578937521
2008-11-11 20:13:17 +00:00
gcasa
bd03e7d444 * Source/NSSecureTextField.m: Patch to make bullets output when
setEchosBullets is set to yes in NSSecureTextField.  Corrects 
	bug #19761. 


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27020 72102866-910b-0410-8b05-ffd578937521
2008-11-09 15:19:16 +00:00
gcasa
a91c8ec537 * Source/NSDocument.m: Correction for bug#24758, add name and
type information to the object before reading the file so that
	it is available during the readFile:ofType: method call.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27017 72102866-910b-0410-8b05-ffd578937521
2008-11-08 15:17:49 +00:00
fredkiefer
ce9fd723d0 Filled with some more code. The conversion within the same colour
space and be between black/white and RGB should now be correct
and faster.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27013 72102866-910b-0410-8b05-ffd578937521
2008-11-06 09:23:10 +00:00
wlux
2282372272 Trigger the action of NSButton and NSPopUpButton in their keyDown
method only for the Space key.
Fix key view loop of NSAlert panels and NSSavePanel so that all
buttons become reachable with the Tab key.
Make Escape key equivalent of the Cancel button of NSSavePanel.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27011 72102866-910b-0410-8b05-ffd578937521
2008-11-05 23:01:37 +00:00
wlux
4b6d5a490a Pass correct arguments to the didEndSelector passed to NSAlert's
-beginSheetModalForWindow:delegate:didEndSelector:contextInfo: method.
Fix swapping of title and informative message text in NSAlerts. Also
supply a default title "Alert" if none is set.
Determine key equivalent of NSAlert buttons from their localized titles.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27010 72102866-910b-0410-8b05-ffd578937521
2008-11-05 22:47:50 +00:00
wlux
fcbb8144be Make NSApplication's responder chain for action messages consistent
with Apple's documentation and the Mac OS X implementation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27008 72102866-910b-0410-8b05-ffd578937521
2008-11-05 22:05:58 +00:00
wlux
144d872afa Provide a working implementation for -isFilePackageAtPath: in
NSWorkspace.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27007 72102866-910b-0410-8b05-ffd578937521
2008-11-05 21:49:44 +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
db47735fb5 Stop valgrind from complaining about invalid memory access.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26998 72102866-910b-0410-8b05-ffd578937521
2008-10-31 22:51:46 +00:00
fredkiefer
a1b47c0986 Forgotten NSBrowser commit.
Fix to make ICNS loading more stable.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26993 72102866-910b-0410-8b05-ffd578937521
2008-10-31 09:53:21 +00:00
fredkiefer
3b4cc1196a 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
fredkiefer
5a50f7ad69 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
fedor
39d06834ab 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
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
rmottola
aa4bc1583e 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
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
rmottola
c2cabfb5c1 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
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
gcasa
ad18392d69 * 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
gcasa
2c545ff0a0 * 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
fredkiefer
d1f8c59d87 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
fredkiefer
e8748d7d4e 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
fredkiefer
7f9c5cf331 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
fredkiefer
e3b12be40c 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
fredkiefer
27bded8d52 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
gcasa
5b8328389c 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
fredkiefer
b0608fc6c7 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
rfm
50ad7e85ed 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
rfm
c6f931eaf9 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
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
gcasa
2256be1496 * 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
gcasa
cc4f72a040 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
gcasa
04e9382139 * 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
gcasa
4101e432aa * 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
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
fredkiefer
606cb788ae 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
fedor
4321f46a99 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
gcasa
975469ff71 * 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
fredkiefer
fb69a9fd22 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
fredkiefer
99fc2cf864 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
fredkiefer
6776d5b06b 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
fredkiefer
62d0cdf623 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
fredkiefer
84d277b3ae 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
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
fredkiefer
0895fb4b76 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
fredkiefer
ec6135aade 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