Skip to content
Newer
Older
100644 115 lines (78 sloc) 4.19 KB
614486a Initial draft for iMedia2. This is very much in an experimental stage…
Peter Baumgartner authored Jul 20, 2009
1 /*
2 iMedia Browser Framework <http://karelia.com/imedia/>
3
5721575 @danwood Noticed formatting on license prelude was wonky in some files. so I f…
danwood authored Dec 26, 2011
4 Copyright (c) 2005-2012 by Karelia Software et al.
614486a Initial draft for iMedia2. This is very much in an experimental stage…
Peter Baumgartner authored Jul 20, 2009
5
6 iMedia Browser is based on code originally developed by Jason Terhorst,
7 further developed for Sandvox by Greg Hulands, Dan Wood, and Terrence Talbot.
5135f23 Updated file header to include new contributor name
Peter Baumgartner authored Aug 2, 2009
8 The new architecture for version 2.0 was developed by Peter Baumgartner.
614486a Initial draft for iMedia2. This is very much in an experimental stage…
Peter Baumgartner authored Jul 20, 2009
9 Contributions have also been made by Matt Gough, Martin Wennerberg and others
10 as indicated in source files.
11
12 The iMedia Browser Framework is licensed under the following terms:
13
14 Permission is hereby granted, free of charge, to any person obtaining a copy
15 of this software and associated documentation files (the "Software"), to deal
16 in all or substantial portions of the Software without restriction, including
17 without limitation the rights to use, copy, modify, merge, publish,
18 distribute, sublicense, and/or sell copies of the Software, and to permit
19 persons to whom the Software is furnished to do so, subject to the following
20 conditions:
21
22 Redistributions of source code must retain the original terms stated here,
23 including this list of conditions, the disclaimer noted below, and the
5721575 @danwood Noticed formatting on license prelude was wonky in some files. so I f…
danwood authored Dec 27, 2011
24 following copyright notice: Copyright (c) 2005-2012 by Karelia Software et al.
614486a Initial draft for iMedia2. This is very much in an experimental stage…
Peter Baumgartner authored Jul 20, 2009
25
26 Redistributions in binary form must include, in an end-user-visible manner,
27 e.g., About window, Acknowledgments window, or similar, either a) the original
28 terms stated here, including this list of conditions, the disclaimer noted
29 below, and the aforementioned copyright notice, or b) the aforementioned
30 copyright notice and a link to karelia.com/imedia.
31
32 Neither the name of Karelia Software, nor Sandvox, nor the names of
33 contributors to iMedia Browser may be used to endorse or promote products
34 derived from the Software without prior and express written permission from
35 Karelia Software or individual contributors, as appropriate.
36
37 Disclaimer: THE SOFTWARE IS PROVIDED BY THE COPYRIGHT OWNER AND CONTRIBUTORS
38 "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
39 LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE,
40 AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
41 LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF
42 CONTRACT, TORT, OR OTHERWISE, ARISING FROM, OUT OF, OR IN CONNECTION WITH, THE
43 SOFTWARE OR THE USE OF, OR OTHER DEALINGS IN, THE SOFTWARE.
44 */
45
135075f Added an author line in the header of each source file. This is done …
Peter Baumgartner authored Nov 30, 2009
46
47 // Author: Unknown
48
49
614486a Initial draft for iMedia2. This is very much in an experimental stage…
Peter Baumgartner authored Jul 20, 2009
50 #import <Cocoa/Cocoa.h>
51
52 @interface NSObject ( NSString_UTI )
53
91ed080 @danwood Scary-looking checkin, but very basic -- in order to make sure that o…
danwood authored Sep 23, 2010
54 + (NSString *)imb_UTIForFileType:(NSString *)aFileType;
55 + (NSString *)imb_descriptionForUTI:(NSString *)aUTI;
56 + (NSString *)imb_UTIForFilenameExtension:(NSString *)anExtension;
57 + (NSString *)imb_UTIForFileAtPath:(NSString *)anAbsolutePath;
de48954 @danwood mostly some cleanup of a method name that a global search and replace…
danwood authored Sep 27, 2010
58 + (BOOL) imb_doesUTI:(NSString *)aUTI conformsToUTI:(NSString *)aConformsToUTI;
9271c54 @danwood some clean up -- some general-purpose methods were in IMBFolderParser.
danwood authored Sep 30, 2010
59 + (BOOL) imb_doesFileAtPath:(NSString*)inPath conformToUTI:(NSString*)inRequiredUTI;
614486a Initial draft for iMedia2. This is very much in an experimental stage…
Peter Baumgartner authored Jul 20, 2009
60
61 @end
62
63 @interface NSString ( iMedia )
64
91ed080 @danwood Scary-looking checkin, but very basic -- in order to make sure that o…
danwood authored Sep 23, 2010
65 - (NSString *)imb_pathForURLString;
66 - (NSString *)imb_path;
614486a Initial draft for iMedia2. This is very much in an experimental stage…
Peter Baumgartner authored Jul 20, 2009
67
1b4efa7 @terrencetalbot Check if MAC_OS_X_VERSION_10_6 is defined before attempting to compar…
terrencetalbot authored Jan 13, 2011
68 #if defined MAC_OS_X_VERSION_10_6 && MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_6
91ed080 @danwood Scary-looking checkin, but very basic -- in order to make sure that o…
danwood authored Sep 23, 2010
69 - (NSData *) imb_decodeBase64;
70 - (NSData *) imb_decodeBase64WithNewlines: (BOOL) encodedWithNewlines;
c451fa9 @mikeabdullah Linking to libcrypto breaks 10.5-compatibility due to a mistake in th…
mikeabdullah authored Dec 5, 2010
71 #endif
614486a Initial draft for iMedia2. This is very much in an experimental stage…
Peter Baumgartner authored Jul 20, 2009
72
73 + (id)uuid;
74
91ed080 @danwood Scary-looking checkin, but very basic -- in order to make sure that o…
danwood authored Sep 23, 2010
75 - (NSString *)imb_exifDateToLocalizedDisplayDate;
614486a Initial draft for iMedia2. This is very much in an experimental stage…
Peter Baumgartner authored Jul 20, 2009
76
91ed080 @danwood Scary-looking checkin, but very basic -- in order to make sure that o…
danwood authored Sep 23, 2010
77 + (NSString *)imb_stringFromStarRating:(NSUInteger)aRating;
614486a Initial draft for iMedia2. This is very much in an experimental stage…
Peter Baumgartner authored Jul 20, 2009
78
91ed080 @danwood Scary-looking checkin, but very basic -- in order to make sure that o…
danwood authored Sep 23, 2010
79 - (NSComparisonResult)imb_finderCompare:(NSString *)aString;
614486a Initial draft for iMedia2. This is very much in an experimental stage…
Peter Baumgartner authored Jul 20, 2009
80
91ed080 @danwood Scary-looking checkin, but very basic -- in order to make sure that o…
danwood authored Sep 23, 2010
81 - (NSString *)imb_resolvedPath;
e9b18a3 Added a method to resolve aliases in a path
Peter Baumgartner authored Jul 14, 2010
82
614486a Initial draft for iMedia2. This is very much in an experimental stage…
Peter Baumgartner authored Jul 20, 2009
83 @end
11853ba @danwood Standardize on "comment" term, not "comments"
danwood authored Sep 23, 2010
84
85 @interface NSMutableString (iMedia)
86
91ed080 @danwood Scary-looking checkin, but very basic -- in order to make sure that o…
danwood authored Sep 23, 2010
87 - (void)imb_appendNewline;
11853ba @danwood Standardize on "comment" term, not "comments"
danwood authored Sep 23, 2010
88
89 @end
90
b3e1c1b Added IMBiPhotoObjectPromise to handle aliases to master images in iP…
Pierre Bernard authored May 31, 2011
91
92 @interface NSString (SymlinksAndAliases)
93
94 // Created by Matt Gallagher on 2010/02/22.
95 // Copyright 2010 Matt Gallagher. All rights reserved.
96 //
97 // Permission is given to use this source code file, free of charge, in any
98 // project, commercial or otherwise, entirely at your risk, with the condition
99 // that any redistribution (in part or whole) of source code must retain
100 // this copyright and permission notice. Attribution in compiled projects is
101 // appreciated but not required.
102
103 - (NSString *)stringByResolvingSymlinksAndAliases;
104 - (NSString *)stringByIterativelyResolvingSymlinkOrAlias;
105
106 - (NSString *)stringByResolvingSymlink;
107 - (NSString *)stringByConditionallyResolvingSymlink;
108
109 - (NSString *)stringByResolvingAlias;
110 - (NSString *)stringByConditionallyResolvingAlias;
111
112 @end
113
114
Something went wrong with that request. Please try again.