Commit graph

5196 commits

Author SHA1 Message Date
Fred Kiefer
baee6ec03b * Source/NSMenu.m (-update): Update only visible submenus.
* Source/NSMenu.m: Complete switch to NSUInteger.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40283 72102866-910b-0410-8b05-ffd578937521
2016-12-31 16:03:01 +00:00
Fred Kiefer
2b401268fc Don't try to get the advancement for GSAttachmentGlyph.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40272 72102866-910b-0410-8b05-ffd578937521
2016-12-18 11:58:31 +00:00
Fred Kiefer
ca8abf4c27 * Headers/Additions/GNUstepGUI/GSToolbarView.h
* Source/GSToolbarView.m
	Change draggedItemIndex to NSUInteger.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40270 72102866-910b-0410-8b05-ffd578937521
2016-12-17 00:00:19 +00:00
Wolfgang Lux
bc9b909528 Change mlock in NSWorkspace into a private variable to avoid name
conflict with a libc function on Linux.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40264 72102866-910b-0410-8b05-ffd578937521
2016-12-15 10:59:09 +00:00
Fred Kiefer
0e6e771ba9 * Headers/AppKit/NSColorPanel.h: Change -alpha to CGFloat.
* Source/NSColorPanel.m: Remove left over GModel loading code.
	Set default mode to colour wheel.
	Small cleanups mostly in comments.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40229 72102866-910b-0410-8b05-ffd578937521
2016-11-21 22:33:53 +00:00
Fred Kiefer
0772d452fb * Source/NSColorPanel.m (-_initWithoutGModel): Correct target for
bottom wells.
	* Source/NSColorWell.m (-performClick:): Add this method and use
	it in -mouseUp:.
	Patch by Josh Freeman <pikopixel@twilightedge.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40228 72102866-910b-0410-8b05-ffd578937521
2016-11-21 20:54:13 +00:00
Fred Kiefer
a3d9637182 2016-10-29 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSBitmapImageRep.m: Set the TIFF subfield type to 0
	instead of 255.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40185 72102866-910b-0410-8b05-ffd578937521
2016-10-29 12:29:26 +00:00
Fred Kiefer
83c7444c8a * Source/NSBitmapImageRep+JPEG.m: Try to handle images with alpha
or planar images correctly.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40175 72102866-910b-0410-8b05-ffd578937521
2016-10-24 21:06:23 +00:00
Gregory John Casamento
7ea5efb7eb Fix for lock issue in gui when starting applications on some platforms. Please try and give feedback as this issue is not consistent. Tested by myself and rmottola.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40170 72102866-910b-0410-8b05-ffd578937521
2016-10-24 08:07:49 +00:00
Fred Kiefer
2f2bda5aa4 * Source/NSWindow.m (NSMiniWindowView -setImage:): Try to handle
an image value of nil. This is needed for Emacs.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40168 72102866-910b-0410-8b05-ffd578937521
2016-10-23 20:36:14 +00:00
Fred Kiefer
2572daeff4 * Source/GSLayoutManager.m (-advancementForGlyphAtIndex:):
Simplify this method and move it in the file.
	* Source/NSLayoutManager.m: Use the pre-computed advancement
	instead of calculating it every time.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40167 72102866-910b-0410-8b05-ffd578937521
2016-10-23 20:13:37 +00:00
Fred Kiefer
d0d119d365 * Source/GSLayoutManager.m: Don't try to get the advancement for NSControlGlyph.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40166 72102866-910b-0410-8b05-ffd578937521
2016-10-21 22:42:38 +00:00
Fred Kiefer
6974bf8a4f Some int -> NSInteger and float -> CGFloat transitions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40138 72102866-910b-0410-8b05-ffd578937521
2016-10-08 21:17:53 +00:00
Fred Kiefer
20feeb7212 * Source/GSFontInfo.m (-fontDescriptor): Simplify creation of font
descriptor. Use only the minimal attributes.
	* Source/NSFontDescriptor.m (-postscriptName): Generate PS name
	from font name itself.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40092 72102866-910b-0410-8b05-ffd578937521
2016-09-19 20:53:34 +00:00
Fred Kiefer
bee385f514 * Source/NSDocumentController.m: Add missing semicolon.
Patch by Galen Rhodes <galenrhodes@me.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40048 72102866-910b-0410-8b05-ffd578937521
2016-08-02 20:53:55 +00:00
Riccardo Mottola
c3ab82b30e If we have no face set, don't append null
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40028 72102866-910b-0410-8b05-ffd578937521
2016-07-19 23:03:08 +00:00
Gregory John Casamento
6541c05a04 Move changes to new branch.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40011 72102866-910b-0410-8b05-ffd578937521
2016-07-18 15:59:44 +00:00
Gregory John Casamento
cd216f8e32 Reverted previous changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40009 72102866-910b-0410-8b05-ffd578937521
2016-07-18 15:47:56 +00:00
Riccardo Mottola
dae84d53ea Use CGFloat as original structures do and double for scale instead of CGFloat -> double -> float
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40006 72102866-910b-0410-8b05-ffd578937521
2016-07-18 09:01:51 +00:00
Gregory John Casamento
dd398ac140 2016-07-16 18:12-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSPrintInfo.m: Add a comment so it's clear what
	this method is meant for.
	* Source/NSView.m: In beginPage🏷️bBox:fonts: align top level
	view with current page dimensions.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40002 72102866-910b-0410-8b05-ffd578937521
2016-07-16 22:18:43 +00:00
Riccardo Mottola
4d9feda044 Check explicitely for f_owner and use f_owner and f_flag if checked
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39991 72102866-910b-0410-8b05-ffd578937521
2016-07-12 23:27:31 +00:00
Fred Kiefer
28b1b39b7b * Headers/AppKit/NSDocumentController.h,
* Source/NSDocumentController.m: Add 10.7 methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39978 72102866-910b-0410-8b05-ffd578937521
2016-07-12 08:41:17 +00:00
Riccardo Mottola
2b2964043a Prefer statvfs() over statfs(), use both on linux, disable fs name on unknown systems
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39975 72102866-910b-0410-8b05-ffd578937521
2016-07-11 23:41:48 +00:00
Fred Kiefer
58fed6911f Attempt to get NSWorkspace.m to compile again. No idea whether the
resulting behaviour is as intended by the author of the last change.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39974 72102866-910b-0410-8b05-ffd578937521
2016-07-11 22:26:34 +00:00
Riccardo Mottola
baa5ac40aa Explicitely check for statfs/statvfs flags member
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39896 72102866-910b-0410-8b05-ffd578937521
2016-06-21 15:43:27 +00:00
Ivan Vučica
4cd4438b88 Releasing gnustep-gui 0.25.0.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39865 72102866-910b-0410-8b05-ffd578937521
2016-06-15 23:12:04 +00:00
Fred Kiefer
c3f90683a6 Extract protocol into private header file and use it from both places.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39838 72102866-910b-0410-8b05-ffd578937521
2016-06-04 20:36:46 +00:00
Richard Frith-MacDonald
9edb35c362 Add missing man pages for tools.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39837 72102866-910b-0410-8b05-ffd578937521
2016-06-03 18:47:30 +00:00
Fred Kiefer
78a695bc8e Add class NSIBUserDefinedRuntimeAttributesConnector to handle
newer NIB files.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39836 72102866-910b-0410-8b05-ffd578937521
2016-06-02 21:37:03 +00:00
Richard Frith-MacDonald
a0bb18fbcc Minor documentation fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39824 72102866-910b-0410-8b05-ffd578937521
2016-05-31 10:24:19 +00:00
Richard Frith-MacDonald
08910fb913 lintian spelling correctes provided by Eric Heintzmann
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39816 72102866-910b-0410-8b05-ffd578937521
2016-05-28 09:49:15 +00:00
Riccardo Mottola
4770b7d6ea Optimize case for nil label and thus fix crasher on SPARCs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39795 72102866-910b-0410-8b05-ffd578937521
2016-05-20 06:42:28 +00:00
Richard Frith-MacDonald
1b8dd0b36b Regression test improvments
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39755 72102866-910b-0410-8b05-ffd578937521
2016-05-13 15:41:27 +00:00
Riccardo Mottola
a26b5a6b25 Add Application folder (patch by Bertrand Dekoninck)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39627 72102866-910b-0410-8b05-ffd578937521
2016-04-06 01:01:58 +00:00
Riccardo Mottola
dfc80058a4 tag is NSInteger* not int* in recent AppKit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39581 72102866-910b-0410-8b05-ffd578937521
2016-03-22 17:17:58 +00:00
Riccardo Mottola
4368207db7 Actually allocate a NSMutableArray, since that is the expected return type
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39577 72102866-910b-0410-8b05-ffd578937521
2016-03-21 10:01:25 +00:00
Gregory John Casamento
3bcb3db150 Reformat recent changelog entries to be correct.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39539 72102866-910b-0410-8b05-ffd578937521
2016-03-15 00:07:06 +00:00
Gregory John Casamento
12febbf4b9 Reformat recent changelog entries to be correct.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39538 72102866-910b-0410-8b05-ffd578937521
2016-03-15 00:06:41 +00:00
Riccardo Mottola
93018cffb2 Always traverse links explicitely and get the original path to do icon lookup, not just for Symliks. The symlink may be infact in the middle of the path, not just the last one
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39525 72102866-910b-0410-8b05-ffd578937521
2016-03-10 22:59:46 +00:00
Riccardo Mottola
e00f1870c6 Simplify code by using stringByDeletingLastPathComponent
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39521 72102866-910b-0410-8b05-ffd578937521
2016-03-10 17:42:21 +00:00
Riccardo Mottola
7ff3dd081b Add fall-back that if a folder image is not found, the generic folde ricon is picked up. Also add Movies special folders
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39513 72102866-910b-0410-8b05-ffd578937521
2016-03-09 23:39:52 +00:00
Riccardo Mottola
cb076ad8ed Some new 10.5 and 10.6 named images
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39505 72102866-910b-0410-8b05-ffd578937521
2016-03-09 15:36:59 +00:00
Riccardo Mottola
3dc638d6b6 When looking for an icon, check if it is a symbolic link and get the icon of its destination. Behaviour verified on Apple
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39480 72102866-910b-0410-8b05-ffd578937521
2016-03-08 14:19:07 +00:00
Riccardo Mottola
30047756ef Add missing implementation, by mounting exclusively the path specified in GSRemovableMediaPaths
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39378 72102866-910b-0410-8b05-ffd578937521
2016-02-16 17:23:45 +00:00
Riccardo Mottola
01e71d106c Use standard setmntent to open file and remember to close it with endmntent! Try better guess to use system defines to get mttab path
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39377 72102866-910b-0410-8b05-ffd578937521
2016-02-16 13:56:01 +00:00
Riccardo Mottola
2589ad3e7d Enhance unmount with eject support on certain platforms, generate NSWorkspaceWillUnmountNotification notification.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39370 72102866-910b-0410-8b05-ffd578937521
2016-02-13 22:20:20 +00:00
Riccardo Mottola
7d7cf59383 Try to support volume information on Linux better as well as using GSRemovableMediaPaths defaults for removable information (compared to nothing at all).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39363 72102866-910b-0410-8b05-ffd578937521
2016-02-12 12:09:23 +00:00
Riccardo Mottola
c442abbaab Trivial implementation of new 10.9 drawInRect: method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39332 72102866-910b-0410-8b05-ffd578937521
2016-02-03 00:08:23 +00:00
Ivan Vučica
0dd7fa30d1 Opted to undo the -[NSBezierPath setLineDash:] patch's check for
count > _dash_count, as NSZoneRealloc() should be allowed to
reduce the allocated block's size.

Additionally, updated ChangeLog.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39287 72102866-910b-0410-8b05-ffd578937521
2016-01-17 21:36:14 +00:00
Riccardo Mottola
3ac59cea1d Provide NSImageNameTrashEmpty NSImageNameTrashFull NSImageNameMultipleDocuments image, both constants and actual icon
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39183 72102866-910b-0410-8b05-ffd578937521
2015-11-18 23:05:00 +00:00
Richard Frith-MacDonald
79e04b545a Try Fred's idea for theme image lookup improvement.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39168 72102866-910b-0410-8b05-ffd578937521
2015-11-12 08:33:35 +00:00
Fred Kiefer
e61577a98f * Source/GSToolTips.m (-_timedOut:): Break long tool tips into
multiple lines.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39130 72102866-910b-0410-8b05-ffd578937521
2015-11-03 08:33:31 +00:00
Fred Kiefer
b76a7b9593 * Source/NSWindow.m (-constrainFrameRect:toScreen:) Handle
screen being nil and resize only if moving is not enough.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39126 72102866-910b-0410-8b05-ffd578937521
2015-11-02 21:14:11 +00:00
Richard Frith-MacDonald
ff8d56fd1b possible fix for ivan's StepOPML editor problem
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39118 72102866-910b-0410-8b05-ffd578937521
2015-11-02 16:02:27 +00:00
Richard Frith-MacDonald
23533e0570 Allow GUI to build when base has been configured without libxml2
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39113 72102866-910b-0410-8b05-ffd578937521
2015-11-01 23:09:40 +00:00
Richard Frith-MacDonald
1501023c3b Theme alteration for Riccardo, plus some formatting tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39110 72102866-910b-0410-8b05-ffd578937521
2015-11-01 15:38:47 +00:00
Riccardo Mottola
b4840b3c89 Primitive presentationOptions implementation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39100 72102866-910b-0410-8b05-ffd578937521
2015-10-28 01:39:07 +00:00
Riccardo Mottola
ef3942ac38 Stub 10.8 methods for allowsMagnification
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39099 72102866-910b-0410-8b05-ffd578937521
2015-10-28 00:42:40 +00:00
Fred Kiefer
0dda8778b9 * Source/NSPasteboard.m (-_pbs): Fix waiting forever if gpbs
crashes within a certain window.
        Patch by Marcian Lytwyn <gna@advcsi.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39098 72102866-910b-0410-8b05-ffd578937521
2015-10-27 22:24:32 +00:00
Riccardo Mottola
40e0788f6d Change also internal methods and ivars to reflect NSInteger transition of rows and columns.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39094 72102866-910b-0410-8b05-ffd578937521
2015-10-27 18:11:46 +00:00
Fred Kiefer
7272bf329b * Source/NSBitmapImageRep.m
(TIFFRepresentationOfImageRepsInArray:): Only return a non-null
        NSData object.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39090 72102866-910b-0410-8b05-ffd578937521
2015-10-24 21:16:46 +00:00
Fred Kiefer
106014c439 * Source/NSWindowController.m (-_windowWillClose:): Don't unset
the delegate and the controller of the window, this gets done in
        setWindow: a bit later.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39087 72102866-910b-0410-8b05-ffd578937521
2015-10-22 21:27:31 +00:00
Fred Kiefer
f059d346a6 * Source/NSSegmentedCell.m (-drawSegment:inFrame:withView:):
Use centerScanRect: to position the image.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39080 72102866-910b-0410-8b05-ffd578937521
2015-10-18 16:25:53 +00:00
Fred Kiefer
bbac2bf53c * Source/NSAttributedString.m (-_substituteFontFor:font:): Use
font descriptors for faster replacement font detection.
        * Source/GSFontInfo.m
        (GSFontEnumerator-matchingFontDescriptorsFor:): Special handling
        for NSFontCharacterSetAttribute.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39079 72102866-910b-0410-8b05-ffd578937521
2015-10-17 19:49:15 +00:00
Fred Kiefer
0ea4141ac0 * Source/NSCell.m (-trackMouse:...untilMouseUp:): Check enabled
and use isContinuous method.
        * Source/NSSliderCell.m: Replace specific implementation of
        -trackMouse:...untilMouseUp: with super class one and move
        specific code into helper methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39077 72102866-910b-0410-8b05-ffd578937521
2015-10-16 22:01:41 +00:00
Riccardo Mottola
7667180ed3 Add NSAnimationContext to umbrella header
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39075 72102866-910b-0410-8b05-ffd578937521
2015-10-15 15:53:56 +00:00
Fred Kiefer
4d5254c74a 2015-10-13 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSBitmapImageRep.m: Correct bug in fast path for image
        premultiply/unpremultiply.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39062 72102866-910b-0410-8b05-ffd578937521
2015-10-13 22:04:35 +00:00
Gregory John Casamento
20997976b9 Additional stubs for NSAnimationContext.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39051 72102866-910b-0410-8b05-ffd578937521
2015-10-10 22:59:12 +00:00
Fred Kiefer
8e8a1af817 * Source/nsimage-tiff.h: Correct field types.
* Source/NSImage.m (-TIFFRepresentation)
        (TIFFRepresentationUsingCompression:factor:): Pass on bitmaps
only.
        * Source/NSBitmapImageRep.m: Implement methods to generate tiff
        for multiple bitmaps.
        * Source/tiff.m: Fix long standing bug in TiffHandleSeek.
        In NSTiffWrite write image tiff directory to allow for multiple
        images.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39050 72102866-910b-0410-8b05-ffd578937521
2015-10-10 19:18:33 +00:00
Fred Kiefer
9e7ea1d911 * Source/NSGraphicsContext.m (-initWithContextInfo:): Move the
default setting into back.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39045 72102866-910b-0410-8b05-ffd578937521
2015-10-09 00:12:47 +00:00
Riccardo Mottola
fab20ad389 Add NSTableViewSelectionHighlightStyle type and stub accessors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39019 72102866-910b-0410-8b05-ffd578937521
2015-10-02 09:47:29 +00:00
Fred Kiefer
c6ff85bf23 * Source/NSGraphicsContext.m (-initWithContextInfo:): Set some
default values for the graphics context.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39017 72102866-910b-0410-8b05-ffd578937521
2015-09-25 08:34:25 +00:00
Fred Kiefer
065d45ff59 * Headers/AppKit/NSMenu.h,
* Source/externs.m: Add NSMenuDidBeginTrackingNotification.
        * Source/NSMenuView.m (-trackWithEvent:): send tracking
        notifications.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39008 72102866-910b-0410-8b05-ffd578937521
2015-09-21 20:37:56 +00:00
Fred Kiefer
be98a77769 * Source/GSThemeDrawing.m (-drawTableViewRect:inView:): Use
correct imp type.
        * Source/NSButtonCell.m (-setBackgroundColor:): Update the
        control view.
        * Source/NSSegmentedCell.m (-drawSegment:inFrame:withView:):
        * Draw
        image if available.
        * Source/NSPopUpButtonCell.m (-initWithCoder:): Add work around
        for NSClassSwapper cell replacement.
        Patches based on changes by Josh Freeman
        <pikopixel@twilightedge.com>


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39006 72102866-910b-0410-8b05-ffd578937521
2015-09-20 21:16:33 +00:00
Fred Kiefer
1d2c5d5ebd First set of changes based on pathces by Josh Freeman
<pikopixel@twilightedge.com>


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39004 72102866-910b-0410-8b05-ffd578937521
2015-09-19 16:45:36 +00:00
Fred Kiefer
ff61d4c642 2015-09-13 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTextView.m: Invalidate insertion point timer in
        dealloc.
        * Source/NSToolbarItem.m: Check for drawing rect within bounds
        before drawing toolbar item.
        Patch by Marcian Lytwyn <gna@advcsi.com>.

2015-09-10  Doug Simons <doug.simons@testplant.com> and Paul Landers
<paul.landers@testplant.com>

        * Source/NSLayoutManager.m: Fix a bug that would try to adjust
        the length of the selected range to a negative number, leading
        to an exception and eventual crashes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38986 72102866-910b-0410-8b05-ffd578937521
2015-09-13 21:36:40 +00:00
Riccardo Mottola
7a251b66ec Constants and methods for Expose and other features we don't have and perhaps never will
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38942 72102866-910b-0410-8b05-ffd578937521
2015-08-28 22:39:48 +00:00
Riccardo Mottola
dbcaec319a Add more (dummy) layer property stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38940 72102866-910b-0410-8b05-ffd578937521
2015-08-28 20:26:30 +00:00
Fred Kiefer
f65931aa6c * Source/GSTextFinder.m: Fix Ignore Case option to work.
Patch by Doug Simons <doug.simons@testplant.com>
        * Source/NSControl.m (-initWithCoder:): Don't use NSEnabled flag
        as it is wrong for NSComboBox.
        * Source/NSComboBoxCell.m (_loadButtonCell): Set enabled on
        button cell.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38933 72102866-910b-0410-8b05-ffd578937521
2015-08-26 21:10:12 +00:00
Fred Kiefer
59fa666263 * Tests/gui/NSView/NSView_autoresize_and_rounding.m: Add tests
for centerScanRect: with flipped view.
        * Source/NSView.m (-centerScanRect:): Change to get the failed
        tests to pass.
        * Source/GSThemeTools.m (-drawRoundBezel:withColor:): Make round
        bezel look a bit nicer.
        * Source/NSButtonCell.m (-drawImage:withFrame:inView:): Use
        centerScanRect: instead of similar code.
        * Source/NSCell.m: Use imageRectForBounds: and
        titleRectForBounds: in drawInteriorWithFrame:inView:.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38929 72102866-910b-0410-8b05-ffd578937521
2015-08-25 21:33:04 +00:00
Riccardo Mottola
fe491f33da Define NSFullScreenWindowMask.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38924 72102866-910b-0410-8b05-ffd578937521
2015-08-24 12:50:07 +00:00
Riccardo Mottola
c919c925f9 Add horiz and vert elastiticty properties and constants
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38920 72102866-910b-0410-8b05-ffd578937521
2015-08-23 21:44:40 +00:00
Fred Kiefer
cc73eeacdc * Source/NSBundleAdditions.m,
* Source/NSNibConnector.m: Move NSNibConnector and subclasses in
        separate file. Add isEqual: method from Gorm. Switch to new
        libobjc runtime ivar access for NSNibOutletConnector.
        * Source/GNUmakefile: Add new file NSNibConnector.m
        * Source/GSXibLoader.m: Similar change to IBOutletConnection.
        Replace GSMime base64 decode method with standard one.
        * Source/GSImageMagickImageRep.m,
        * Source/GSTheme.m: Remove unused #import.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38919 72102866-910b-0410-8b05-ffd578937521
2015-08-23 17:10:39 +00:00
Fred Kiefer
096c0ad2de * Source/NSInputManager.m: Add binding processing code for
escape key and make list of bindings easier to extend.
        * KeyBindings/DefaultKeyBindings.dict: Add default escape key
        binding to complete: method.
        Patch by Marcian Lytwyn <gna@advcsi.com>.
        * Source/NSInputManager.m: Fixed alt behaviors for return
        Patch by Paul Landers <paul.landers@testplant.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38918 72102866-910b-0410-8b05-ffd578937521
2015-08-22 22:09:01 +00:00
Fred Kiefer
9d24c2a90b * Source/NSMatrix.m: Remove GC ifdefs.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38914 72102866-910b-0410-8b05-ffd578937521
2015-08-21 19:21:46 +00:00
Fred Kiefer
9b58665ac7 * Resources/Korean.lproj/Localizable.strings: Add Korean
translations.
        Patch by Seong-Gu Lee <sgleehd@gmail.com>


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38890 72102866-910b-0410-8b05-ffd578937521
2015-08-16 20:11:58 +00:00
Fred Kiefer
8944e46035 * Source/NSSplitView.m (-setAutosaveName:): Treat an empty
autosaveName as nil to fix problem with some nibs.
        Patch by Doug Simons <doug.simons@testplant.com>


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38889 72102866-910b-0410-8b05-ffd578937521
2015-08-16 19:39:25 +00:00
Fred Kiefer
0f94132171 * Source/NSMatrix.m: Warn about wrong cell array size on
row/column insert, as Cocoa does.
        Clean up and more NSInteger changes.
        * ColorPickers/GSStandardColorPicker.m,
        * Source/NSColorPanel.m (-_setupPickers): Prevent warning from
        NSMatrix.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38883 72102866-910b-0410-8b05-ffd578937521
2015-08-14 12:52:09 +00:00
Fred Kiefer
fd098d8eda * Source/NSButtonCell.m (-initWithCoder:):
Fix image scaling value extract from XIB.
        * Headers/Additions/GNUstepGUI/GSXibLoading.h
        * Source/GSXibLoading.m
        * Source/GSXibLoader.m
        Add IB defined runtime attribute processing for XIB
        Patch by Marcian Lytwyn <gna@advcsi.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38882 72102866-910b-0410-8b05-ffd578937521
2015-08-13 22:03:03 +00:00
Fred Kiefer
a3ca885ec8 * Source/NSTextView.m: Rewrite
writeSelectionToPasteboard:... methods.
        Based on patch by Adam Fox <adam.fox@testplant.com>


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38871 72102866-910b-0410-8b05-ffd578937521
2015-08-11 21:46:11 +00:00
Fred Kiefer
19fe8aeda4 2015-07-24 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSFont.m: Look for xib font property IBIsSystemFont.
        Patch by Paul Landers <paul.landers@testplant.com>.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38837 72102866-910b-0410-8b05-ffd578937521
2015-07-24 14:15:22 +00:00
Fred Kiefer
e67303d25d 2015-07-24 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTextStorage.m: Fixed a bug with setting _editedRange
        for multiple edits when the first one is a delete (which results in
        _editedRange having a length of 0) so it gets replaced instead
        of expanded to include all edits.
        Patch by Doug Simons <doug.simons@testplant.com>


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38836 72102866-910b-0410-8b05-ffd578937521
2015-07-24 13:58:58 +00:00
Germán Arias
5e2eebece5 Add Spanish translations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38715 72102866-910b-0410-8b05-ffd578937521
2015-06-28 06:07:12 +00:00
Gregory John Casamento
971a573445 Add drawing methods for theming NSBrowserCell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38690 72102866-910b-0410-8b05-ffd578937521
2015-06-26 05:27:12 +00:00
Gregory John Casamento
4213323979 Add more theme methods for theming windows.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38687 72102866-910b-0410-8b05-ffd578937521
2015-06-26 00:13:05 +00:00
Gregory John Casamento
0ff0a07742 Added methods to retrieve dimensions for titlebar buttons and padding dimensions in a theme specific way rather than having them hard-coded.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38681 72102866-910b-0410-8b05-ffd578937521
2015-06-25 18:18:41 +00:00
Gregory John Casamento
8031e43fbc Add skeleton for NSAnimationContext.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38637 72102866-910b-0410-8b05-ffd578937521
2015-06-14 21:47:43 +00:00
Fred Kiefer
d454877a79 * Source/NSSplitView.m: Be sure to adjust subviews before
setting  divider position. Otherwise, adjustSubviews will wipe out the
        setting.
        Patch by Doug Simons <doug.simons@testplant.com>


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38626 72102866-910b-0410-8b05-ffd578937521
2015-06-12 14:36:15 +00:00
Fred Kiefer
cd07fc293b Regenerate string files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38582 72102866-910b-0410-8b05-ffd578937521
2015-05-28 22:17:02 +00:00
Fred Kiefer
41d42922c2 * Source/NSBitmapImageRep+GIF.m: Handle EGifOpen similar to
other version specific functions.
        * Headers/Additions/GNUstepGUI/GSXibElement.h
        * Headers/Additions/GNUstepGUI/GSXibLoading.h
        * Headers/Additions/GNUstepGUI/GSXibObjectContainer.h
        * Headers/Additions/GNUstepGUI/GSXibParser.h
        Correct FSF address.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38581 72102866-910b-0410-8b05-ffd578937521
2015-05-28 21:44:19 +00:00