Skip to content

Commit 4fb73b6

Browse files
Merge pull request #2 from finestructure/release-prep
Release prep
2 parents 7d54e4b + d2afc53 commit 4fb73b6

File tree

87 files changed

+1385
-718
lines changed

Some content is hidden

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

87 files changed

+1385
-718
lines changed

easy-move-resize.xcodeproj/project.pbxproj renamed to Hummingbird.xcodeproj/project.pbxproj

Lines changed: 90 additions & 66 deletions
Large diffs are not rendered by default.

easy-move-resize.xcodeproj/project.xcworkspace/contents.xcworkspacedata renamed to Hummingbird.xcodeproj/project.xcworkspace/contents.xcworkspacedata

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "0940"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "6ED47B60183BF3E800859244"
18+
BuildableName = "Hummingbird.app"
19+
BlueprintName = "Hummingbird"
20+
ReferencedContainer = "container:Hummingbird.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
buildConfiguration = "Debug"
27+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<Testables>
31+
<TestableReference
32+
skipped = "NO">
33+
<BuildableReference
34+
BuildableIdentifier = "primary"
35+
BlueprintIdentifier = "65CF01611F229C34002259F2"
36+
BuildableName = "HummingbirdTests.xctest"
37+
BlueprintName = "HummingbirdTests"
38+
ReferencedContainer = "container:Hummingbird.xcodeproj">
39+
</BuildableReference>
40+
</TestableReference>
41+
</Testables>
42+
<MacroExpansion>
43+
<BuildableReference
44+
BuildableIdentifier = "primary"
45+
BlueprintIdentifier = "6ED47B60183BF3E800859244"
46+
BuildableName = "Hummingbird.app"
47+
BlueprintName = "Hummingbird"
48+
ReferencedContainer = "container:Hummingbird.xcodeproj">
49+
</BuildableReference>
50+
</MacroExpansion>
51+
<AdditionalOptions>
52+
</AdditionalOptions>
53+
</TestAction>
54+
<LaunchAction
55+
buildConfiguration = "Debug"
56+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
57+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
58+
launchStyle = "0"
59+
useCustomWorkingDirectory = "NO"
60+
ignoresPersistentStateOnLaunch = "NO"
61+
debugDocumentVersioning = "YES"
62+
debugServiceExtension = "internal"
63+
allowLocationSimulation = "YES">
64+
<BuildableProductRunnable
65+
runnableDebuggingMode = "0">
66+
<BuildableReference
67+
BuildableIdentifier = "primary"
68+
BlueprintIdentifier = "6ED47B60183BF3E800859244"
69+
BuildableName = "Hummingbird.app"
70+
BlueprintName = "Hummingbird"
71+
ReferencedContainer = "container:Hummingbird.xcodeproj">
72+
</BuildableReference>
73+
</BuildableProductRunnable>
74+
<AdditionalOptions>
75+
</AdditionalOptions>
76+
</LaunchAction>
77+
<ProfileAction
78+
buildConfiguration = "Release"
79+
shouldUseLaunchSchemeArgsEnv = "YES"
80+
savedToolIdentifier = ""
81+
useCustomWorkingDirectory = "NO"
82+
debugDocumentVersioning = "YES">
83+
<BuildableProductRunnable
84+
runnableDebuggingMode = "0">
85+
<BuildableReference
86+
BuildableIdentifier = "primary"
87+
BlueprintIdentifier = "6ED47B60183BF3E800859244"
88+
BuildableName = "Hummingbird.app"
89+
BlueprintName = "Hummingbird"
90+
ReferencedContainer = "container:Hummingbird.xcodeproj">
91+
</BuildableReference>
92+
</BuildableProductRunnable>
93+
</ProfileAction>
94+
<AnalyzeAction
95+
buildConfiguration = "Debug">
96+
</AnalyzeAction>
97+
<ArchiveAction
98+
buildConfiguration = "Release"
99+
revealArchiveInOrganizer = "YES">
100+
</ArchiveAction>
101+
</Scheme>

Hummingbird/AppDelegate.h

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#import <Cocoa/Cocoa.h>
2+
3+
// these intervals feel good in experimentation, but maybe in the future we can measure how long
4+
// the move and resize increments are actually taking and adjust them dynamically for each move/resize?
5+
static const double kMoveFilterInterval = 0.01;
6+
static const double kResizeFilterInterval = 0.02;
7+
8+
@interface AppDelegate : NSObject <NSApplicationDelegate> {
9+
IBOutlet NSMenu *statusMenu;
10+
NSStatusItem * statusItem;
11+
}
12+
13+
- (int)moveModifierFlags;
14+
- (int)resizeModifierFlags;
15+
16+
- (IBAction)toggleDisabled:(id)sender;
17+
- (IBAction)showPreferences:(id)sender;
18+
19+
@property (weak) IBOutlet NSMenuItem *disabledMenu;
20+
21+
@end

0 commit comments

Comments
 (0)