Skip to content

Commit 1c62a10

Browse files
🔥 Remove broken log
(Will just log this in a file - the right way)
1 parent e176d6f commit 1c62a10

File tree

4 files changed

+3
-148
lines changed

4 files changed

+3
-148
lines changed

PHP Monitor.xcodeproj/project.pbxproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
/* Begin PBXBuildFile section */
1010
C41C1B3722B0097F00E7CF16 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = C41C1B3622B0097F00E7CF16 /* AppDelegate.swift */; };
11-
C41C1B3922B0097F00E7CF16 /* LogViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = C41C1B3822B0097F00E7CF16 /* LogViewController.swift */; };
1211
C41C1B3B22B0098000E7CF16 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C41C1B3A22B0098000E7CF16 /* Assets.xcassets */; };
1312
C41C1B3E22B0098000E7CF16 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C41C1B3C22B0098000E7CF16 /* Main.storyboard */; };
1413
C41C1B4722B009A400E7CF16 /* Shell.swift in Sources */ = {isa = PBXBuildFile; fileRef = C41C1B4622B009A400E7CF16 /* Shell.swift */; };
@@ -27,7 +26,6 @@
2726
/* Begin PBXFileReference section */
2827
C41C1B3322B0097F00E7CF16 /* PHP Monitor.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "PHP Monitor.app"; sourceTree = BUILT_PRODUCTS_DIR; };
2928
C41C1B3622B0097F00E7CF16 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
30-
C41C1B3822B0097F00E7CF16 /* LogViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LogViewController.swift; sourceTree = "<group>"; };
3129
C41C1B3A22B0098000E7CF16 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
3230
C41C1B3D22B0098000E7CF16 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
3331
C41C1B3F22B0098000E7CF16 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
@@ -103,7 +101,6 @@
103101
isa = PBXGroup;
104102
children = (
105103
C41C1B3C22B0098000E7CF16 /* Main.storyboard */,
106-
C41C1B3822B0097F00E7CF16 /* LogViewController.swift */,
107104
);
108105
path = "View Controllers";
109106
sourceTree = "<group>";
@@ -224,7 +221,6 @@
224221
C4811D2422D70A4700B5F6B3 /* App.swift in Sources */,
225222
C41C1B4922B00A9800E7CF16 /* MenuBarImageGenerator.swift in Sources */,
226223
C4811D2A22D70F9A00B5F6B3 /* MainMenu.swift in Sources */,
227-
C41C1B3922B0097F00E7CF16 /* LogViewController.swift in Sources */,
228224
C41C1B3722B0097F00E7CF16 /* AppDelegate.swift in Sources */,
229225
C41C1B4B22B019FF00E7CF16 /* PhpVersion.swift in Sources */,
230226
C476FF9822B0DD830098105B /* Alert.swift in Sources */,

phpmon/Singletons/MainMenu.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,6 @@ class MainMenu: NSObject, NSWindowDelegate {
8585
}
8686
}
8787
menu.addItem(NSMenuItem.separator())
88-
menu.addItem(NSMenuItem(title: "View shell output...", action: #selector(self.openOutput), keyEquivalent: "o"))
89-
menu.addItem(NSMenuItem.separator())
9088
menu.addItem(NSMenuItem(title: "About PHP Monitor", action: #selector(self.openAbout), keyEquivalent: ""))
9189
menu.items.forEach({ (item) in
9290
item.target = self
@@ -115,10 +113,6 @@ class MainMenu: NSObject, NSWindowDelegate {
115113

116114
// MARK: - Callable via Obj-C (#selector)
117115

118-
@objc func openOutput() {
119-
LogViewController.show(delegate: self)
120-
}
121-
122116
@objc func updatePhpVersionInStatusBar() {
123117
App.shared.currentVersion = PhpVersion()
124118
if (App.shared.busy) {
Lines changed: 3 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
2+
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="15702" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
33
<dependencies>
4-
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14490.70"/>
5-
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
4+
<deployment identifier="macosx"/>
5+
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="15702"/>
66
</dependencies>
77
<scenes>
88
<!--Application-->
@@ -54,68 +54,5 @@
5454
</objects>
5555
<point key="canvasLocation" x="-343" y="-16"/>
5656
</scene>
57-
<!--Log View Controller-->
58-
<scene sceneID="hIz-AP-VOD">
59-
<objects>
60-
<viewController storyboardIdentifier="logWindow" id="XfG-lQ-9wD" customClass="LogViewController" customModule="PHP_Monitor" customModuleProvider="target" sceneMemberID="viewController">
61-
<view key="view" identifier="main" id="m2S-Jp-Qdl">
62-
<rect key="frame" x="0.0" y="0.0" width="662" height="475"/>
63-
<autoresizingMask key="autoresizingMask"/>
64-
<subviews>
65-
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ICa-gx-jgq">
66-
<rect key="frame" x="578" y="8" width="75" height="32"/>
67-
<buttonCell key="cell" type="push" title="Close" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="3md-FI-EWa">
68-
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
69-
<font key="font" metaFont="system"/>
70-
</buttonCell>
71-
<connections>
72-
<action selector="pressed:" target="XfG-lQ-9wD" id="fIC-Bz-vTK"/>
73-
</connections>
74-
</button>
75-
<scrollView borderType="line" horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" hasHorizontalScroller="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vZy-5S-021">
76-
<rect key="frame" x="15" y="46" width="632" height="414"/>
77-
<clipView key="contentView" drawsBackground="NO" copiesOnScroll="NO" id="s5L-AU-0fw">
78-
<rect key="frame" x="1" y="1" width="630" height="412"/>
79-
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
80-
<subviews>
81-
<textView importsGraphics="NO" richText="NO" verticallyResizable="YES" smartInsertDelete="YES" id="tN6-Y9-1pA">
82-
<rect key="frame" x="0.0" y="0.0" width="630" height="412"/>
83-
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
84-
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
85-
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
86-
<size key="minSize" width="630" height="412"/>
87-
<size key="maxSize" width="640" height="10000000"/>
88-
<color key="insertionPointColor" name="textColor" catalog="System" colorSpace="catalog"/>
89-
</textView>
90-
</subviews>
91-
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
92-
</clipView>
93-
<scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="Kho-JF-NZJ">
94-
<rect key="frame" x="-100" y="-100" width="240" height="16"/>
95-
<autoresizingMask key="autoresizingMask"/>
96-
</scroller>
97-
<scroller key="verticalScroller" wantsLayer="YES" verticalHuggingPriority="750" horizontal="NO" id="qp7-7R-gTO">
98-
<rect key="frame" x="615" y="1" width="16" height="412"/>
99-
<autoresizingMask key="autoresizingMask"/>
100-
</scroller>
101-
</scrollView>
102-
</subviews>
103-
<constraints>
104-
<constraint firstItem="vZy-5S-021" firstAttribute="leading" secondItem="m2S-Jp-Qdl" secondAttribute="leading" constant="15" id="K0k-oE-r37"/>
105-
<constraint firstAttribute="trailing" secondItem="ICa-gx-jgq" secondAttribute="trailing" constant="15" id="LFS-0E-Ibw"/>
106-
<constraint firstItem="vZy-5S-021" firstAttribute="top" secondItem="m2S-Jp-Qdl" secondAttribute="top" constant="15" id="Nec-oI-CjE"/>
107-
<constraint firstAttribute="trailing" secondItem="vZy-5S-021" secondAttribute="trailing" constant="15" id="kBJ-O5-eYI"/>
108-
<constraint firstAttribute="bottom" secondItem="ICa-gx-jgq" secondAttribute="bottom" constant="15" id="kYB-Fn-DSA"/>
109-
<constraint firstItem="ICa-gx-jgq" firstAttribute="top" secondItem="vZy-5S-021" secondAttribute="bottom" constant="10" id="xdn-yU-LVb"/>
110-
</constraints>
111-
</view>
112-
<connections>
113-
<outlet property="textView" destination="tN6-Y9-1pA" id="z77-me-Od6"/>
114-
</connections>
115-
</viewController>
116-
<customObject id="rPt-NT-nkU" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/>
117-
</objects>
118-
<point key="canvasLocation" x="-105" y="377.5"/>
119-
</scene>
12057
</scenes>
12158
</document>

phpmon/View Controllers/LogViewController.swift

Lines changed: 0 additions & 72 deletions
This file was deleted.

0 commit comments

Comments
 (0)