Commit graph

146 commits

Author SHA1 Message Date
fredkiefer
d3bf5b03f3 * Source/NSWorkspace.m (-_openUnknown:): New method that starts an
operation system specific application for files or URL that
could
        not be handled by GNUstep applications. Based on patch by Julian
        Mayer <julian@corecode.at>.
        * Source/NSWorkspace.m
        * (-openFile:withApplication:andDeactivate:,
        -openTempFile:, -openURL:): Use this new method.
        * Documentation/GuiUser/DefaultsSummary.gsdoc: Document the new
        setting GSUnknownFileTool that allows to define a default
application.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35246 72102866-910b-0410-8b05-ffd578937521
2012-06-29 12:54:19 +00:00
fredkiefer
a05ab38af0 * Source/NSPasteboard.m (NSURL-writeToPasteboard:): Revert the
last change.
* Source/NSWorkspace.m (-openURL:): Declare the URL pasteboard
type here.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35110 72102866-910b-0410-8b05-ffd578937521
2012-04-24 16:54:53 +00:00
fredkiefer
0c5ed271e1 Add a few MacOSX methods with dummy implementations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33281 72102866-910b-0410-8b05-ffd578937521
2011-06-11 15:48:08 +00:00
rmottola
99c853705c redefine statvfs only for netbsd >= 3.0
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32762 72102866-910b-0410-8b05-ffd578937521
2011-04-01 16:29:18 +00:00
fredkiefer
a6086e2728 Small bug fixes found by static analyser.
Plus a huge change on NSComboBoxCell after years of testing :-)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32585 72102866-910b-0410-8b05-ffd578937521
2011-03-14 21:45:39 +00:00
fredkiefer
9fcd522c8a Removed dead assignments found by static code analyser.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32551 72102866-910b-0410-8b05-ffd578937521
2011-03-13 15:26:20 +00:00
rfm
7b455d80e0 iminor tidyup and caching fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31918 72102866-910b-0410-8b05-ffd578937521
2011-01-20 14:59:50 +00:00
wlux
23553a5404 Improve implementation of NSWorkspace methods querying volume and file
system information.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31795 72102866-910b-0410-8b05-ffd578937521
2010-12-29 13:03:20 +00:00
wlux
56b66af36f Introduce (private) NSWorkspace notification to propagate changes of
the application or icon associated with a file type and URL scheme,
respectively.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31794 72102866-910b-0410-8b05-ffd578937521
2010-12-29 12:19:00 +00:00
rmottola
58ba497278 added Icon for the Music folder
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31731 72102866-910b-0410-8b05-ffd578937521
2010-12-14 10:22:50 +00:00
rmottola
c92dddb1da Added handling of a Desktop icon (and added the icon itself)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31713 72102866-910b-0410-8b05-ffd578937521
2010-12-06 00:46:58 +00:00
rmottola
aa8d2b6778 Cache folders and their assdociation with icon names in dictionaries
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31611 72102866-910b-0410-8b05-ffd578937521
2010-11-13 21:50:41 +00:00
rmottola
ff0fed4947 Handling of icons for folders of type document, image, system and library
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31605 72102866-910b-0410-8b05-ffd578937521
2010-11-11 23:29:22 +00:00
wlux
29d0dc690f Add methods to manage the user's preferred applications for URL
schemes to NSWorkspace.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31523 72102866-910b-0410-8b05-ffd578937521
2010-10-18 09:04:18 +00:00
wlux
f6603574d1 Fix bug where NSWorkspace did ignore the user's preferred application
when computing the icon associated with a file type.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31515 72102866-910b-0410-8b05-ffd578937521
2010-10-16 07:45:48 +00:00
fredkiefer
e64aca8bb2 few compiler warning fixes plus a lot of #import replacement.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30448 72102866-910b-0410-8b05-ffd578937521
2010-05-24 10:48:14 +00:00
fredkiefer
cec34abb20 Remove compiler warnings from clang.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30117 72102866-910b-0410-8b05-ffd578937521
2010-04-10 17:48:46 +00:00
fredkiefer
211d150a79 Remove some stupid compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30091 72102866-910b-0410-8b05-ffd578937521
2010-04-06 08:12:47 +00:00
rfm
7f3482e73a Updates for changes in base
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29839 72102866-910b-0410-8b05-ffd578937521
2010-03-05 05:18:39 +00:00
fredkiefer
a67707b682 Fix up teh includes to compile again after latest changes to base. Still
plenty of warnings and the result isn't working at least on 64 bit
machines :-(


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29685 72102866-910b-0410-8b05-ffd578937521
2010-02-20 10:40:44 +00:00
rfm
72b65076d7 remove misleading comment.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29078 72102866-910b-0410-8b05-ffd578937521
2009-11-29 07:35:06 +00:00
hansfbaier
d4e93f2587 Source/NSWorkspace.m: ([-launchAppWithBundleIdentifier:]) add dummy implementation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28678 72102866-910b-0410-8b05-ffd578937521
2009-09-15 04:26:29 +00:00
gcasa
be86a40839 * Source/NSWorkspace.m: Improve handling of CFBundleType...
constants in the private method _extIconForApp:info:.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28297 72102866-910b-0410-8b05-ffd578937521
2009-05-24 02:17:05 +00:00
rfm
bb0a422594 make url loading easier
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28106 72102866-910b-0410-8b05-ffd578937521
2009-03-20 10:17:29 +00:00
rfm
d268c27a9e open some app that suppots the URL scheme
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28094 72102866-910b-0410-8b05-ffd578937521
2009-03-18 16:12:37 +00:00
rfm
093bd1976e first attempt at implementing -openURL: for NSWorkspace
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27846 72102866-910b-0410-8b05-ffd578937521
2009-02-11 13:13:19 +00:00
wlux
b295fc79eb Retain cached path of make_services tool in NSWorkspace.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27817 72102866-910b-0410-8b05-ffd578937521
2009-02-08 21:22:36 +00:00
rfm
fb29f5680c fixup error in last change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27324 72102866-910b-0410-8b05-ffd578937521
2008-12-17 13:26:17 +00:00
rfm
cc185cf00e Fix bug recognising path extensions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27309 72102866-910b-0410-8b05-ffd578937521
2008-12-16 19:31:50 +00:00
rfm
c458d7c686 Use lightweight header
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27239 72102866-910b-0410-8b05-ffd578937521
2008-12-07 05:58:33 +00:00
rfm
a51f188065 fixup finding tools on mingw
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27238 72102866-910b-0410-8b05-ffd578937521
2008-12-07 05:39:29 +00:00
rfm
166d63850b Fix failure to locate tools
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27215 72102866-910b-0410-8b05-ffd578937521
2008-12-06 08:01:09 +00:00
rfm
9204e1e478 cope with base installed in local domain and other cases
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27151 72102866-910b-0410-8b05-ffd578937521
2008-11-27 14:38:45 +00:00
gcasa
85dc0bc81a * Source/NSWorkspace.m: [NSWorkspace getInfoForFile:application:type:]
appName output parameter is set to nil if no application is found.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27143 72102866-910b-0410-8b05-ffd578937521
2008-11-27 06:24:01 +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
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
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
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
fedor
ce41d782c1 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
rfm
c27f79a57d make save and open panels usable on mswindows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26520 72102866-910b-0410-8b05-ffd578937521
2008-05-13 15:04:01 +00:00
fredkiefer
e25cceb710 Change all files to use GPL 3 and LGPL 3.
Prepare for next release.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25536 72102866-910b-0410-8b05-ffd578937521
2007-10-29 21:16:17 +00:00
rfm
9fc6122ab8 Don't check for hung apps ... MacOS-X doesn't.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25376 72102866-910b-0410-8b05-ffd578937521
2007-08-03 07:54:33 +00:00
rfm
f585778095 Cleanup/restructuring of last changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25375 72102866-910b-0410-8b05-ffd578937521
2007-08-03 06:07:56 +00:00
rfm
ba6f10af24 Check process exists if possible.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25373 72102866-910b-0410-8b05-ffd578937521
2007-08-02 10:32:08 +00:00
rfm
c5beecb472 Don't raise an alert panel if unable to contact an app while checking launched
applications ... simply remove the app.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25370 72102866-910b-0410-8b05-ffd578937521
2007-08-02 08:39:49 +00:00
rfm
c1b1b1ded1 Keep launched applications more up to date when apps crash.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25369 72102866-910b-0410-8b05-ffd578937521
2007-08-02 07:55:31 +00:00
rfm
459f7f2797 Fixup code locatting user domain library directory.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24777 72102866-910b-0410-8b05-ffd578937521
2007-03-06 06:17:14 +00:00
nicola
df0e4e1b8a Updated makefile corner case for custom filesystem layouts
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24707 72102866-910b-0410-8b05-ffd578937521
2007-02-27 14:14:13 +00:00
rfm
e4701144ee Add missing include
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24004 72102866-910b-0410-8b05-ffd578937521
2006-10-31 13:14:59 +00:00
rfm
9385b26884 Tidy icon usage
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23630 72102866-910b-0410-8b05-ffd578937521
2006-09-26 18:29:11 +00:00