Commit graph

7770 commits

Author SHA1 Message Date
Richard Frith-MacDonald
1943fbd75c GC fixups by Josh Freeman
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39613 72102866-910b-0410-8b05-ffd578937521
2016-03-28 06:17:35 +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
cc675e4f3c revert last erroneous commit mixed with debug code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39534 72102866-910b-0410-8b05-ffd578937521
2016-03-12 22:56:34 +00:00
Riccardo Mottola
e0fedc5692 fix warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39533 72102866-910b-0410-8b05-ffd578937521
2016-03-12 22:48:24 +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
c51df6b189 new video folder icon
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39517 72102866-910b-0410-8b05-ffd578937521
2016-03-10 10:35:54 +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
bc3ead8d69 use NSOpenStepRootDirectory instead of hard-coded /
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39512 72102866-910b-0410-8b05-ffd578937521
2016-03-09 23:19:54 +00:00
Riccardo Mottola
fe8bcb804b cleaner way of retrieving Images and Music paths
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39511 72102866-910b-0410-8b05-ffd578937521
2016-03-09 23:11:29 +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
2f7b7f4249 add new Cocoa images
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39500 72102866-910b-0410-8b05-ffd578937521
2016-03-09 14:12:57 +00:00
Riccardo Mottola
d6f8d9ff7c resaved
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39499 72102866-910b-0410-8b05-ffd578937521
2016-03-09 14:08:04 +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
79e6bc01af Add NSImageNameColorPanel named image
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39450 72102866-910b-0410-8b05-ffd578937521
2016-03-04 00:10:16 +00:00
Riccardo Mottola
279193b644 fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39430 72102866-910b-0410-8b05-ffd578937521
2016-02-29 21:14:57 +00:00
Riccardo Mottola
10b3c0ff94 quick workaround for GNU HURD, full configure test would be needed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39427 72102866-910b-0410-8b05-ffd578937521
2016-02-29 13:27:09 +00:00
Riccardo Mottola
6cd6d89591 revert commit of local changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39392 72102866-910b-0410-8b05-ffd578937521
2016-02-17 22:07:44 +00:00
Riccardo Mottola
2031571d37 add solaris special case
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39384 72102866-910b-0410-8b05-ffd578937521
2016-02-16 22:42:59 +00:00
Riccardo Mottola
31535ac6eb we need those headers for getuid() too not just getmntent
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39383 72102866-910b-0410-8b05-ffd578937521
2016-02-16 22:41:31 +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
572d15360e fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39369 72102866-910b-0410-8b05-ffd578937521
2016-02-13 15:18:59 +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
14fab35abc checks for statvts headers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39360 72102866-910b-0410-8b05-ffd578937521
2016-02-12 00:56:56 +00:00
Riccardo Mottola
4e07058985 minor cleanup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39359 72102866-910b-0410-8b05-ffd578937521
2016-02-10 23:18:00 +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
Riccardo Mottola
bb5cebd1bb add BOM
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39289 72102866-910b-0410-8b05-ffd578937521
2016-01-18 14:56:39 +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
Ivan Vučica
d2760ebc1f Fix setLineDash: NSZoneRealloc called without saving the return value
Cherrypicking mlytwyn's r39277 (Testplant branch).

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39286 72102866-910b-0410-8b05-ffd578937521
2016-01-17 21:36:12 +00:00
Ivan Vučica
ba42ad0333 Use controlShadowColor when the color for NSBoxSeparator is not set. Xcode is not setting colors for these types of boxes in xibs.
Cherrypicking paullanders' r39276 (Testplant branch).

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39285 72102866-910b-0410-8b05-ffd578937521
2016-01-17 21:36:11 +00:00
Ivan Vučica
d5be414105 Show toolbar before customizing.
Cherrypicking paullanders' r39256 (Testplant branch).

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39284 72102866-910b-0410-8b05-ffd578937521
2016-01-17 21:36:09 +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
810192f7e5 Small correction of last change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39129 72102866-910b-0410-8b05-ffd578937521
2015-11-03 08:15:02 +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
1efddfc0c6 and a couple more equality tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39125 72102866-910b-0410-8b05-ffd578937521
2015-11-02 18:48:36 +00:00
Richard Frith-MacDonald
603322467c another small tweak with map callbacks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39124 72102866-910b-0410-8b05-ffd578937521
2015-11-02 18:37:00 +00:00
Richard Frith-MacDonald
77bfc5d864 another tweak for using pointer identity rather than object equality
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39123 72102866-910b-0410-8b05-ffd578937521
2015-11-02 18:31:04 +00:00
Richard Frith-MacDonald
95a6eb6766 Document the new option to haveapp-specific named images in a theme.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39121 72102866-910b-0410-8b05-ffd578937521
2015-11-02 17:46:53 +00:00
Richard Frith-MacDonald
716eb9fe5e More cleanup for item identity rather than equality checks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39119 72102866-910b-0410-8b05-ffd578937521
2015-11-02 16:35:02 +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
3ff8c0a8d7 fix spelling to american English
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39101 72102866-910b-0410-8b05-ffd578937521
2015-10-28 01:49:12 +00:00