Commit graph

7820 commits

Author SHA1 Message Date
Gregory John Casamento
9ce45060d3 Add image rep for svg
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/svgimagerep@40267 72102866-910b-0410-8b05-ffd578937521
2016-12-16 00:32:36 +00:00
Gregory John Casamento
3fec9906a5 Branch for NSImageRep+SVG.[hm] changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/svgimagerep@40266 72102866-910b-0410-8b05-ffd578937521
2016-12-16 00:30:34 +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
Riccardo Mottola
a944200159 minor type fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40191 72102866-910b-0410-8b05-ffd578937521
2016-11-03 16:04:34 +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
Richard Frith-MacDonald
b8d286ba7e Create lock in +initialize so it can safely be used to prevent threads in the
same process from trying to obtain the distributed lock concurrently.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40174 72102866-910b-0410-8b05-ffd578937521
2016-10-24 13:45:56 +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
564ea8d330 Revert change to NSView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40017 72102866-910b-0410-8b05-ffd578937521
2016-07-19 14:48:12 +00:00
Riccardo Mottola
c990c0152e fix again\!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40012 72102866-910b-0410-8b05-ffd578937521
2016-07-19 10:43:12 +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
Riccardo Mottola
d0a064e93c use classic syntax
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40005 72102866-910b-0410-8b05-ffd578937521
2016-07-18 08:56:15 +00:00
Gregory John Casamento
15763766e5 Minor change. Properly initialize float xoff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40004 72102866-910b-0410-8b05-ffd578937521
2016-07-16 22:47:35 +00:00
Gregory John Casamento
d391a290ff Remove 'margin'
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40003 72102866-910b-0410-8b05-ffd578937521
2016-07-16 22:22:32 +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
Riccardo Mottola
d49cafad71 cast HINSTANCE to int, which is correct since MSDN docs suggest that, it is not a true HINSTANCE
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39985 72102866-910b-0410-8b05-ffd578937521
2016-07-12 12:54:33 +00:00
Riccardo Mottola
e6856ee469 clean up comments and code a little
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39984 72102866-910b-0410-8b05-ffd578937521
2016-07-12 12:39:54 +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
76ba8b1c9e tweak redefine condition
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39973 72102866-910b-0410-8b05-ffd578937521
2016-07-11 13:58:46 +00:00
Richard Frith-MacDonald
3a4e6d5be1 apply patch to fix spelling error
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39952 72102866-910b-0410-8b05-ffd578937521
2016-07-01 07:30:43 +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
cfd8e541ce Fix typos in 0.25.0 announcements.
Thanks Bertrand Dekoninck.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39869 72102866-910b-0410-8b05-ffd578937521
2016-06-16 20:07:14 +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
f239292cb8 clean alpha channel of images
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39688 72102866-910b-0410-8b05-ffd578937521
2016-04-21 07:49:51 +00:00
Riccardo Mottola
527e90ca73 resize clean to 48x48
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39654 72102866-910b-0410-8b05-ffd578937521
2016-04-08 23:24:25 +00:00
Riccardo Mottola
f2698c83e0 resize clean to 48x48
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39653 72102866-910b-0410-8b05-ffd578937521
2016-04-08 23:05:25 +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
5412c14ee1 try to cleanup alpha channel
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39626 72102866-910b-0410-8b05-ffd578937521
2016-04-06 00:33:41 +00:00
Riccardo Mottola
c450544e03 try to cleanup alpha channel
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39625 72102866-910b-0410-8b05-ffd578937521
2016-04-06 00:18:35 +00:00