Skip to content

Commit

Permalink
Balthisar Tidy 3.7.1
Browse files Browse the repository at this point in the history
  - _Balthisar_ Tidy and _Balthisar Tidy for Work_:
    - Fixed the ability of the Balthisar Tidy Service Helper to respond to
      AppleScript (Balthisar Tidy for Work).
    - Updated Sparkle (the self-updater mechanism) to a version that works with
      sandboxed applications. This means that this and future versions of
      _Balthisar Tidy_ (distributed from the website) can upgrade themselves
      once again on future releases.
    - Several small grammar and wording changes in Preferences, as well as a
      new updater Preference for the web-distributed version.
    - Help Book images updated as a result of Preferences changes.
  • Loading branch information
balthisar committed Mar 5, 2018
1 parent eecd0cf commit 9830121
Show file tree
Hide file tree
Showing 382 changed files with 3,312 additions and 537 deletions.
3 changes: 2 additions & 1 deletion Balthisar Common Headers/CommonHeaders.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,9 @@
/*
Note that builds that include Sparkle have Sparkle-related
preferences keys that are implemented automatically by
Sparkle. Nothing is defined for them.
Sparkle. Nothing else is defined for them.
*/
#define JSDSparkleDefaultIntervalKey @"SUScheduledCheckInterval"


/*=======================================================*
Expand Down
2 changes: 1 addition & 1 deletion Balthisar Tidy Extension/ActionRequestHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
The MIT License (MIT)
Copyright (c) 2003 to 2017 Jim Derry <http://www.balthisar.com>
Copyright (c) 2003 to 2018 Jim Derry <http://www.balthisar.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"), to deal in the Software without
Expand Down
2 changes: 1 addition & 1 deletion Balthisar Tidy Extension/ActionRequestHandler.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
The MIT License (MIT)
Copyright (c) 2003 to 2017 Jim Derry <http://www.balthisar.com>
Copyright (c) 2003 to 2018 Jim Derry <http://www.balthisar.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"), to deal in the Software without
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ used stylistically as "Balthisar Tidy."
written content via electronic and other media. This trademark is used
stylistically as "balthisar," "balthisar.com," and "www.balthisar.com."

The entirety of _Balthisar Tidy_ is Copyright ©2003-2016 by Jim Derry. The
The entirety of _Balthisar Tidy_ is Copyright ©2003-2018 by Jim Derry. The
source code (including HTML files that constitute the Apple Help system) has
been released under the MIT License. Although you may use the source code for
any purpose allowed by the license, you may not use Jim Derry's artwork or
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Balthisar Tidy Service Helper/AppDelegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
AppDelegate
Copyright © 2003-2017 by Jim Derry. All rights reserved.
Copyright © 2003-2018 by Jim Derry. All rights reserved.
**************************************************************************************************/

Expand Down
2 changes: 1 addition & 1 deletion Balthisar Tidy Service Helper/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
AppDelegate
Copyright © 2003-2017 by Jim Derry. All rights reserved.
Copyright © 2003-2018 by Jim Derry. All rights reserved.
**************************************************************************************************/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
NSApplication+ServiceApplication
Copyright © 2003-2017 by Jim Derry. All rights reserved.
Copyright © 2003-2018 by Jim Derry. All rights reserved.
**************************************************************************************************/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
NSApplication+ServiceApplication
Copyright © 2003-2017 by Jim Derry. All rights reserved.
Copyright © 2003-2018 by Jim Derry. All rights reserved.
**************************************************************************************************/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
Version: 1.2.0
Copyright (C) 2003 to 2017 by Jim Derry. All Rights Reserved.
Copyright (C) 2003 to 2018 by Jim Derry. All Rights Reserved.
-->
Expand Down
2 changes: 1 addition & 1 deletion Balthisar Tidy Service Helper/TidyService.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
TidyService
Copyright © 2003-2017 by Jim Derry. All rights reserved.
Copyright © 2003-2018 by Jim Derry. All rights reserved.
**************************************************************************************************/

Expand Down
2 changes: 1 addition & 1 deletion Balthisar Tidy Service Helper/TidyService.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
TidyService
Copyright © 2003-2017 by Jim Derry. All rights reserved.
Copyright © 2003-2018 by Jim Derry. All rights reserved.
**************************************************************************************************/

Expand Down
2 changes: 1 addition & 1 deletion Balthisar Tidy Service Helper/main.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
main.m
Copyright © 2003-2017 by Jim Derry. All rights reserved.
Copyright © 2003-2018 by Jim Derry. All rights reserved.
**************************************************************************************************/

Expand Down
60 changes: 51 additions & 9 deletions Balthisar Tidy.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0910"
LastUpgradeVersion = "0920"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0910"
LastUpgradeVersion = "0920"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0910"
LastUpgradeVersion = "0920"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0910"
LastUpgradeVersion = "0920"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0910"
LastUpgradeVersion = "0920"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0910"
LastUpgradeVersion = "0920"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0910"
LastUpgradeVersion = "0920"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0910"
LastUpgradeVersion = "0920"
wasCreatedForAppExtension = "YES"
version = "2.0">
<BuildAction
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0910"
LastUpgradeVersion = "0920"
wasCreatedForAppExtension = "YES"
version = "2.0">
<BuildAction
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0910"
LastUpgradeVersion = "0920"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
2 changes: 1 addition & 1 deletion Balthisar Tidy/Classes/App Pieces/AppController.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
AppController
Copyright © 2003-2017 by Jim Derry. All rights reserved.
Copyright © 2003-2018 by Jim Derry. All rights reserved.
**************************************************************************************************/

Expand Down
22 changes: 20 additions & 2 deletions Balthisar Tidy/Classes/App Pieces/AppController.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
AppController
Copyright © 2003-2017 by Jim Derry. All rights reserved.
Copyright © 2003-2018 by Jim Derry. All rights reserved.
**************************************************************************************************/

Expand Down Expand Up @@ -52,6 +52,11 @@ @interface AppController ()
/* Exposes conditional define FEATURE_SUPPORTS_SXS_DIFFS for binding. */
@property (nonatomic, assign, readonly) BOOL featureSyncedDiffs;

/* Instance of Sparkle to keep around. */
#if defined(FEATURE_SPARKLE)
@property (nonatomic, strong, readonly) SPUStandardUpdaterController *updater;
#endif

@end


Expand Down Expand Up @@ -116,6 +121,19 @@ + (void)initialize
}


- (instancetype)init
{
if ( (self = [super init]) )
{
#if defined(FEATURE_SPARKLE)
_updater = [[SPUStandardUpdaterController alloc] initWithUpdaterDelegate:nil userDriverDelegate:nil];
#endif
}

return self;
}


/*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––*
- applicationDidFinishLaunching:
*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––*/
Expand Down Expand Up @@ -164,7 +182,7 @@ - (void)applicationDidFinishLaunching:(NSNotification *)aNotification
* and set its target-action programmatically.
*/
#if defined(FEATURE_SPARKLE)
[[self menuCheckForUpdates] setTarget:[SUUpdater sharedUpdater]];
[[self menuCheckForUpdates] setTarget:self.updater];
[[self menuCheckForUpdates] setAction:@selector(checkForUpdates:)];
[[self menuCheckForUpdates] setEnabled:YES];
#elif defined(FEATURE_FAKE_SPARKLE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
NSApplication+TidyApplication
Copyright © 2003-2017 by Jim Derry. All rights reserved.
Copyright © 2003-2018 by Jim Derry. All rights reserved.
**************************************************************************************************/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
NSApplication+TidyApplication
Copyright © 2003-2017 by Jim Derry. All rights reserved.
Copyright © 2003-2018 by Jim Derry. All rights reserved.
**************************************************************************************************/

Expand Down
2 changes: 1 addition & 1 deletion Balthisar Tidy/Classes/App Pieces/OptionPaneController.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
OptionPaneController
Copyright © 2003-2017 by Jim Derry. All rights reserved.
Copyright © 2003-2018 by Jim Derry. All rights reserved.
**************************************************************************************************/

Expand Down
2 changes: 1 addition & 1 deletion Balthisar Tidy/Classes/App Pieces/OptionPaneController.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
OptionPaneController
Copyright © 2003-2017 by Jim Derry. All rights reserved.
Copyright © 2003-2018 by Jim Derry. All rights reserved.
**************************************************************************************************/

Expand Down
2 changes: 1 addition & 1 deletion Balthisar Tidy/Classes/App Pieces/TidyDocumentService.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
TidyDocumentService
Copyright © 2003-2017 by Jim Derry. All rights reserved.
Copyright © 2003-2018 by Jim Derry. All rights reserved.
**************************************************************************************************/

Expand Down
2 changes: 1 addition & 1 deletion Balthisar Tidy/Classes/App Pieces/TidyDocumentService.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
TidyDocumentService
Copyright © 2003-2017 by Jim Derry. All rights reserved.
Copyright © 2003-2018 by Jim Derry. All rights reserved.
**************************************************************************************************/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
AuxilliaryViewDelegate.h
Copyright © 2003-2017 by Jim Derry. All rights reserved.
Copyright © 2003-2018 by Jim Derry. All rights reserved.
**************************************************************************************************/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
EncodingHelperController
Copyright © 2003-2017 by Jim Derry. All rights reserved.
Copyright © 2003-2018 by Jim Derry. All rights reserved.
**************************************************************************************************/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
EncodingHelperController
Copyright © 2003-2017 by Jim Derry. All rights reserved.
Copyright © 2003-2018 by Jim Derry. All rights reserved.
**************************************************************************************************/

Expand Down
2 changes: 1 addition & 1 deletion Balthisar Tidy/Classes/DocumentWindow/FirstRunController.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
FirstRunController
Copyright © 2003-2017 by Jim Derry. All rights reserved.
Copyright © 2003-2018 by Jim Derry. All rights reserved.
**************************************************************************************************/

Expand Down
2 changes: 1 addition & 1 deletion Balthisar Tidy/Classes/DocumentWindow/FirstRunController.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
FirstRunController
Copyright © 2003-2017 by Jim Derry. All rights reserved.
Copyright © 2003-2018 by Jim Derry. All rights reserved.
**************************************************************************************************/

Expand Down
2 changes: 1 addition & 1 deletion Balthisar Tidy/Classes/DocumentWindow/TidyDocument.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
TidyDocument
Copyright © 2003-2017 by Jim Derry. All rights reserved.
Copyright © 2003-2018 by Jim Derry. All rights reserved.
**************************************************************************************************/

Expand Down
2 changes: 1 addition & 1 deletion Balthisar Tidy/Classes/DocumentWindow/TidyDocument.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
TidyDocument
Copyright © 2003-2017 by Jim Derry. All rights reserved.
Copyright © 2003-2018 by Jim Derry. All rights reserved.
**************************************************************************************************/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
TidyDocumentSourceViewController
Copyright © 2003-2017 by Jim Derry. All rights reserved.
Copyright © 2003-2018 by Jim Derry. All rights reserved.
**************************************************************************************************/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
TidyDocumentSourceViewController
Copyright © 2003-2017 by Jim Derry. All rights reserved.
Copyright © 2003-2018 by Jim Derry. All rights reserved.
**************************************************************************************************/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
TidyDocumentWindowController
Copyright © 2003-2017 by Jim Derry. All rights reserved.
Copyright © 2003-2018 by Jim Derry. All rights reserved.
**************************************************************************************************/

Expand Down
Loading

0 comments on commit 9830121

Please sign in to comment.