Skip to content

Commit 26bba58

Browse files
committed
Reorganized project tree (merged Categories and Other groups into the Other Sources group).
1 parent 16946f3 commit 26bba58

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+118
-174
lines changed

PGAboutBoxController.m

+2-4
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,9 @@
2424
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
2525
#import "PGAboutBoxController.h"
2626

27-
// Other
28-
#import "PGZooming.h"
29-
30-
// Categories
27+
// Other Sources
3128
#import "PGFoundationAdditions.h"
29+
#import "PGZooming.h"
3230

3331
static NSString *const PGPaneItemKey = @"PGPaneItem";
3432

PGActivityPanelController.m

+2-4
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,10 @@
3030
// Views
3131
#import "PGProgressIndicatorCell.h"
3232

33-
// Other
33+
// Other Sources
3434
#import "PGDelayedPerforming.h"
35-
#import "PGGeometry.h"
36-
37-
// Categories
3835
#import "PGFoundationAdditions.h"
36+
#import "PGGeometry.h"
3937

4038
@interface PGActivityPanelController(Private)
4139

PGAlertView.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
2525
// Views
2626
@class PGAlertGraphic;
2727

28-
// Categories
28+
// Other Sources
2929
#import "PGAppKitAdditions.h"
3030

3131
enum {

PGAlertView.m

+3-5
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,11 @@
2727
// Views
2828
#import "PGBezelPanel.h"
2929

30-
// Other
31-
#import "PGDelayedPerforming.h"
32-
#import "PGGeometry.h"
33-
34-
// Categories
30+
// Other Sources
3531
#import "PGAppKitAdditions.h"
32+
#import "PGDelayedPerforming.h"
3633
#import "PGFoundationAdditions.h"
34+
#import "PGGeometry.h"
3735

3836
#define PGAlertViewSize 100.0f
3937
#define PGMarginSize 4.0f

PGAppKitAdditions.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#import "PGAppKitAdditions.h"
2626
#import <Carbon/Carbon.h>
2727

28-
// Categories
28+
// Other Sources
2929
#import "PGFoundationAdditions.h"
3030

3131
@implementation NSBezierPath(PGAppKitAdditions)

PGArchiveAdapter.m

+1-3
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,8 @@
3232
// Controllers
3333
#import "PGDocumentController.h"
3434

35-
// Other
35+
// Other Sources
3636
#import "PGCancelableProxy.h"
37-
38-
// Categories
3937
#import "PGFoundationAdditions.h"
4038

4139
static NSString *const PGKnownToBeArchiveKey = @"PGKnownToBeArchive";

PGAttachments.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
2525
#import "PGAttachments.h"
2626

27-
// Categories
27+
// Other Sources
2828
#import "PGFoundationAdditions.h"
2929

3030
@interface PGFileIconAttachmentCell : NSTextAttachmentCell

PGBezelPanel.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2424
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
2525
#import <HMDTAppKit/PGFadeOutPanel.h>
2626

27-
// Other
27+
// Other Sources
2828
#import "PGGeometryTypes.h"
2929

3030
extern NSString *const PGBezelPanelFrameShouldChangeNotification;

PGBezelPanel.m

+2-4
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,9 @@
2424
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
2525
#import "PGBezelPanel.h"
2626

27-
// Other
28-
#import "PGGeometry.h"
29-
30-
// Categories
27+
// Other Sources
3128
#import "PGAppKitAdditions.h"
29+
#import "PGGeometry.h"
3230
#import "PGFoundationAdditions.h"
3331

3432
NSString *const PGBezelPanelFrameShouldChangeNotification = @"PGBezelPanelFrameShouldChange";

PGBookmark.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#import "PGResourceIdentifier.h"
3131
#import "PGSubscription.h"
3232

33-
// Categories
33+
// Other Sources
3434
#import "PGFoundationAdditions.h"
3535

3636
NSString *const PGBookmarkDidUpdateNotification = @"PGBookmarkDidUpdate";

PGBookmarkController.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
// Controllers
3333
#import "PGDocumentController.h"
3434

35-
// Categories
35+
// Other Sources
3636
#import "PGAppKitAdditions.h"
3737
#import "PGFoundationAdditions.h"
3838

PGCancelableProxy.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
2525
#import "PGCancelableProxy.h"
2626

27-
// Other
27+
// Other Sources
2828
#import "PGCFMutableArray.h"
2929

3030
@implementation PGCancelableProxy

PGClipView.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
2222
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2323
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
2424
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
25-
// Other
25+
// Other Sources
2626
#import "PGGeometryTypes.h"
2727

2828
extern NSString *const PGClipViewBoundsDidChangeNotification;

PGClipView.m

+3-5
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,14 @@
2828
#import <HMDTAppKit/HMAppKitEx.h>
2929
#import <tgmath.h>
3030

31-
// Other
31+
// Other Sources
32+
#import "PGAppKitAdditions.h"
3233
#import "PGDelayedPerforming.h"
34+
#import "PGFoundationAdditions.h"
3335
#import "PGGeometry.h"
3436
#import "PGKeyboardLayout.h"
3537
#import "PGZooming.h"
3638

37-
// Categories
38-
#import "PGAppKitAdditions.h"
39-
#import "PGFoundationAdditions.h"
40-
4139
NSString *const PGClipViewBoundsDidChangeNotification = @"PGClipViewBoundsDidChange";
4240

4341
#define PGMouseHiddenDraggingStyle true

PGColorWell.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
2525
#import "PGColorWell.h"
2626

27-
// Categories
27+
// Other Sources
2828
#import "PGFoundationAdditions.h"
2929

3030
@implementation PGColorWell

PGContainerAdapter.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#import "PGNode.h"
3030
#import "PGResourceIdentifier.h"
3131

32-
// Categories
32+
// Other Sources
3333
#import "PGFoundationAdditions.h"
3434

3535
NSString *const PGMaxDepthKey = @"PGMaxDepth";

PGDelayedPerforming.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
2525
#import "PGDelayedPerforming.h"
2626

27-
// Categories
27+
// Other Sources
2828
#import "PGFoundationAdditions.h"
2929

3030
static NSMutableDictionary *PGTimersByNonretainedObjectValue;

PGDisplayController.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
4141
@class PGThumbnailController;
4242
#import "PGEncodingAlert.h"
4343

44-
// Other
44+
// Other Sources
4545
#import "PGGeometryTypes.h"
4646

4747
extern NSString *const PGDisplayControllerActiveNodeDidChangeNotification;

PGDisplayController.m

+3-5
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,14 @@
5151
#import "PGImageSaveAlert.h"
5252
#import "PGEncodingAlert.h"
5353

54-
// Other
54+
// Other Sources
55+
#import "PGAppKitAdditions.h"
5556
#import "PGDebug.h"
5657
#import "PGDelayedPerforming.h"
58+
#import "PGFoundationAdditions.h"
5759
#import "PGGeometry.h"
5860
#import "PGKeyboardLayout.h"
5961

60-
// Categories
61-
#import "PGAppKitAdditions.h"
62-
#import "PGFoundationAdditions.h"
63-
6462
NSString *const PGDisplayControllerActiveNodeDidChangeNotification = @"PGDisplayControllerActiveNodeDidChange";
6563
NSString *const PGDisplayControllerActiveNodeWasReadNotification = @"PGDisplayControllerActiveNodeWasRead";
6664
NSString *const PGDisplayControllerTimerDidChangeNotification = @"PGDisplayControllerTimerDidChange";

PGDocument.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
3737
// Controllers
3838
@class PGDisplayController;
3939

40-
// Other
40+
// Other Sources
4141
#import "PGGeometryTypes.h"
4242

4343
extern NSString *const PGDocumentWillRemoveNodesNotification;

PGDocument.m

+2-4
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,9 @@
3939
#import "PGBookmarkController.h"
4040
#import "PGDisplayController.h"
4141

42-
// Other
43-
#import "PGGeometry.h"
44-
45-
// Categories
42+
// Other Sources
4643
#import "PGFoundationAdditions.h"
44+
#import "PGGeometry.h"
4745

4846
NSString *const PGDocumentWillRemoveNodesNotification = @"PGDocumentWillRemoveNodes";
4947
NSString *const PGDocumentSortedNodesDidChangeNotification = @"PGDocumentSortedNodesDidChange";

PGDocumentController.m

+3-5
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,14 @@
4747
#import "PGActivityPanelController.h"
4848
#import "PGURLAlert.h"
4949

50-
// Other
50+
// Other Sources
51+
#import "PGAppKitAdditions.h"
5152
#import "PGAttachments.h"
5253
#import "PGDelayedPerforming.h"
54+
#import "PGFoundationAdditions.h"
5355
#import "PGKeyboardLayout.h"
5456
#import "PGLegacy.h"
5557

56-
// Categories
57-
#import "PGAppKitAdditions.h"
58-
#import "PGFoundationAdditions.h"
59-
6058
NSString *const PGAntialiasWhenUpscalingKey = @"PGAntialiasWhenUpscaling";
6159
NSString *const PGBackgroundColorKey = @"PGBackgroundColor";
6260
NSString *const PGBackgroundPatternKey = @"PGBackgroundPattern";

PGEncodingAlert.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
2525
#import "PGEncodingAlert.h"
2626

27-
// Other
27+
// Other Sources
2828
#import "PGZooming.h"
2929

3030
@implementation PGEncodingAlert

PGExifEntry.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
2222
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2323
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
2424
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
25-
// Other
25+
// Other Sources
2626
#import "PGGeometryTypes.h"
2727

2828
@interface PGExifEntry : NSObject

PGExifEntry.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
2525
#import "PGExifEntry.h"
2626

27-
// Categories
27+
// Other Sources
2828
#import "PGFoundationAdditions.h"
2929

3030
// External

PGExifPanelController.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#import "PGDocumentController.h"
3333
#import "PGDisplayController.h"
3434

35-
// Categories
35+
// Other Sources
3636
#import "PGFoundationAdditions.h"
3737

3838
@implementation PGExifPanelController

PGFlickrAdapter.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#import "PGURLLoad.h"
3131
#import "PGXMLParser.h"
3232

33-
// Categories
33+
// Other Sources
3434
#import "PGFoundationAdditions.h"
3535

3636
static NSString *const PGFlickrAPIKey = @"efba0200d782ae552a34fc78d18c02bc"; // Registered to me for use in Sequential. Do no evil.

PGFloatingPanelController.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
// Controllers
3131
#import "PGDisplayController.h"
3232

33-
// Categories
33+
// Other Sources
3434
#import "PGFoundationAdditions.h"
3535

3636
@interface PGFloatingPanelController(Private)

PGFolderAdapter.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#import "PGNode.h"
3131
#import "PGResourceIdentifier.h"
3232

33-
// Categories
33+
// Other Sources
3434
#import "PGFoundationAdditions.h"
3535

3636
@implementation PGFolderAdapter

PGFoundationAdditions.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2424
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
2525
#import <Foundation/Foundation.h>
2626

27-
// Other
27+
// Other Sources
2828
#import "PGGeometryTypes.h"
2929

3030
NS_INLINE BOOL PGEqualObjects(id<NSObject> a, id<NSObject> b)

PGFoundationAdditions.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#import "PGFoundationAdditions.h"
2626
#import <objc/runtime.h>
2727

28-
// Other
28+
// Other Sources
2929
#import "PGDebug.h"
3030

3131
NSString *PGOSTypeToStringQuoted(OSType type, BOOL flag)

PGFullscreenController.m

+2-4
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,9 @@
3232
#import "PGDocumentController.h"
3333
#import "PGPreferenceWindowController.h"
3434

35-
// Other
36-
#import "PGDelayedPerforming.h"
37-
38-
// Categories
35+
// Other Sources
3936
#import "PGAppKitAdditions.h"
37+
#import "PGDelayedPerforming.h"
4038
#import "PGFoundationAdditions.h"
4139

4240
@interface PGFullscreenController(Private)

PGFullscreenWindow.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
2525
#import "PGFullscreenWindow.h"
2626

27-
// Categories
27+
// Other Sources
2828
#import "PGAppKitAdditions.h"
2929

3030
@implementation PGFullscreenWindow

PGGenericImageAdapter.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#import "PGResourceIdentifier.h"
3131
#import "PGExifEntry.h"
3232

33-
// Categories
33+
// Other Sources
3434
#import "PGAppKitAdditions.h"
3535

3636
@interface PGGenericImageAdapter(Private)

PGHTMLAdapter.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
// Controllers
3232
#import "PGDocumentController.h"
3333

34-
// Categories
34+
// Other Sources
3535
#import "PGWebKitAdditions.h"
3636

3737
NSString *const PGDOMDocumentKey = @"PGDOMDocument";

PGIconTextFieldCell.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
2525
#import "PGIconTextFieldCell.h"
2626

27-
// Categories
27+
// Other Sources
2828
#import "PGFoundationAdditions.h"
2929

3030
#define PGIconSize 16.0f

0 commit comments

Comments
 (0)