Skip to content

Commit

Permalink
🚀 Version 5.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoverbruggen committed Oct 2, 2022
2 parents a407515 + f28354e commit 45704fc
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 17 deletions.
8 changes: 4 additions & 4 deletions PHP Monitor.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1741,7 +1741,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 973;
CURRENT_PROJECT_VERSION = 976;
DEAD_CODE_STRIPPING = YES;
DEBUG = YES;
DEVELOPMENT_TEAM = 8M54J5J787;
Expand All @@ -1752,7 +1752,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 11.0;
MARKETING_VERSION = 5.6.1;
MARKETING_VERSION = 5.6.2;
PRODUCT_BUNDLE_IDENTIFIER = com.nicoverbruggen.phpmon;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -1769,7 +1769,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 973;
CURRENT_PROJECT_VERSION = 976;
DEAD_CODE_STRIPPING = YES;
DEBUG = NO;
DEVELOPMENT_TEAM = 8M54J5J787;
Expand All @@ -1780,7 +1780,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 11.0;
MARKETING_VERSION = 5.6.1;
MARKETING_VERSION = 5.6.2;
PRODUCT_BUNDLE_IDENTIFIER = com.nicoverbruggen.phpmon;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
2 changes: 1 addition & 1 deletion phpmon/Common/Helpers/PMWindowController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class PMWindowController: NSWindowController, NSWindowDelegate {
}

deinit {
Log.perf("Window controller '\(windowName)' was deinitialized")
Log.perf("deinit: \(String(describing: self)).\(#function)")
}

}
Expand Down
2 changes: 1 addition & 1 deletion phpmon/Domain/App/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele
override init() {
logger.verbosity = .info
#if DEBUG
// logger.verbosity = .performance
logger.verbosity = .performance
#endif
if CommandLine.arguments.contains("--v") {
logger.verbosity = .performance
Expand Down
2 changes: 1 addition & 1 deletion phpmon/Domain/DomainList/DomainListVC+Actions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ extension DomainListVC {
let originalSecureStatus = selectedSite!.secured
let action = selectedSite!.secured ? "unsecure" : "secure"
let selectedSite = selectedSite!
let command = "cd '\(selectedSite.absolutePath)' && sudo \(Paths.valet) \(action) && exit;"
let command = "sudo \(Paths.valet) \(action) '\(selectedSite.name)' && exit;"

waitAndExecute {
Shell.run(command, requiresPath: true)
Expand Down
2 changes: 1 addition & 1 deletion phpmon/Domain/DomainList/DomainListVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,6 @@ class DomainListVC: NSViewController, NSTableViewDelegate, NSTableViewDataSource
// MARK: - Deinitialization

deinit {
Log.perf("DomainListVC deallocated")
Log.perf("deinit: \(String(describing: self)).\(#function)")
}
}
14 changes: 10 additions & 4 deletions phpmon/Domain/Integrations/Composer/ComposerWindow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ class ComposerWindow {
}

task.listen(
didReceiveStandardOutputData: { string in
didReceiveStandardOutputData: { [weak self] string in
DispatchQueue.main.async {
self.window?.addToConsole(string)
self?.window?.addToConsole(string)
}
// Log.perf("\(string.trimmingCharacters(in: .newlines))")
},
didReceiveStandardErrorData: { string in
didReceiveStandardErrorData: { [weak self] string in
DispatchQueue.main.async {
self.window?.addToConsole(string)
self?.window?.addToConsole(string)
}
// Log.perf("\(string.trimmingCharacters(in: .newlines))")
}
Expand Down Expand Up @@ -91,6 +91,7 @@ class ComposerWindow {
}
window = nil
removeBusyStatus()
menu = nil
completion(true)
}
}
Expand All @@ -103,6 +104,7 @@ class ComposerWindow {
window?.progressView?.labelDescription.stringValue = "alert.composer_failure.info".localized
window = nil
removeBusyStatus()
menu = nil
completion(false)
}
}
Expand All @@ -128,4 +130,8 @@ class ComposerWindow {
.withPrimary(text: "OK")
.show()
}

deinit {
Log.perf("deinit: \(String(describing: self)).\(#function)")
}
}
1 change: 1 addition & 0 deletions phpmon/Domain/Menu/StatusMenu+Items.swift
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ extension StatusMenu {

func addXdebugMenuItem() {
if !Xdebug.enabled {
addItem(NSMenuItem.separator())
return
}

Expand Down
2 changes: 1 addition & 1 deletion phpmon/Domain/Notice/BetterAlertVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class BetterAlertVC: NSViewController {
}

deinit {
Log.perf("A BetterAlert has been deinitialized.")
Log.perf("deinit: \(String(describing: self)).\(#function)")
}

// MARK: Outlet Actions
Expand Down
2 changes: 1 addition & 1 deletion phpmon/Domain/Preferences/PrefsVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class GenericPreferenceVC: NSViewController {
// MARK: - Deinitialization

deinit {
Log.perf("PrefsVC deallocated")
Log.perf("deinit: \(String(describing: self)).\(#function)")
}

func getDynamicIconPV() -> NSView {
Expand Down
2 changes: 1 addition & 1 deletion phpmon/Domain/Progress/ProgressVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ProgressViewController: NSViewController {
@IBOutlet weak var imageViewType: NSImageView!

deinit {
Log.perf("Deinitializing ProgressViewController")
Log.perf("deinit: \(String(describing: self)).\(#function)")
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class TerminalProgressWindowController: NSWindowController, NSWindowDelegate {
}

deinit {
Log.perf("Deinitializing ProgressWindowController")
Log.perf("deinit: \(String(describing: self)).\(#function)")
}

}
2 changes: 1 addition & 1 deletion phpmon/Domain/Watcher/PhpConfigWatcher.swift
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class PhpConfigWatcher {
}

deinit {
Log.perf("A PhpConfigWatcher has been deinitialized.")
Log.perf("deinit: \(String(describing: self)).\(#function)")
}

}
Expand Down

0 comments on commit 45704fc

Please sign in to comment.