Skip to content

Commit

Permalink
Balthisar Tidy 3.6.3
Browse files Browse the repository at this point in the history
  - _Balthisar Tidy_ and _Balthisar Tidy for Work_:
    - Updated to HTML Tidy 5.5.32, which brings support for autonomous custom
      elements, as well as bug fixes.
    - Minor code fixes for future growth and maintainability.
  - _Balthisar Tidy for Work_
    - Sample AppleScripts improvements. As always these can be found in the disk
      image within the application package, or look for “Open the disk image now”
      in the “Use AppleScript to Control _Balthisar Tidy_” section of the help.
  • Loading branch information
balthisar committed Aug 26, 2017
1 parent 477c23e commit d490276
Show file tree
Hide file tree
Showing 143 changed files with 9,691 additions and 7,309 deletions.
4 changes: 2 additions & 2 deletions Balthisar Common Headers/CommonHeaders.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
CommonHeaders.h
Copyright © 2003-2015 by Jim Derry. All rights reserved.
Copyright © 2003-2017 by Jim Derry. All rights reserved.
Application-wide preferences and definitions.
- Keys for top-hierarchy preferences managed by this application.
Expand All @@ -21,7 +21,7 @@
*=======================================================*/
#pragma mark - LibTidy version checking

#define LIBTIDY_V_WANT @"5.1.41"
#define LIBTIDY_V_WANT @"5.5.32"


/*=======================================================*
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 2015 Jim Derry <http://www.balthisar.com>
Copyright (c) 2003 to 2017 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 2015 Jim Derry <http://www.balthisar.com>
Copyright (c) 2003 to 2017 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
6 changes: 3 additions & 3 deletions Balthisar Tidy Extension/Info-Body.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
<string>3.6.2</string>
<string>3.6.3</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>3.6.2</string>
<string>3.6.3</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>NSExtension</key>
Expand All @@ -44,6 +44,6 @@
<string>ActionRequestHandler</string>
</dict>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2016 Jim Derry. All rights reserved.</string>
<string>Copyright © 2017 Jim Derry. All rights reserved.</string>
</dict>
</plist>
6 changes: 3 additions & 3 deletions Balthisar Tidy Extension/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
<string>3.6.2</string>
<string>3.6.3</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>3.6.2</string>
<string>3.6.3</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>NSExtension</key>
Expand All @@ -44,6 +44,6 @@
<string>ActionRequestHandler</string>
</dict>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2016 Jim Derry. All rights reserved.</string>
<string>Copyright © 2017 Jim Derry. All rights reserved.</string>
</dict>
</plist>
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,20 @@ options.

By default, **c** will be used.

`custom-tags`
: This option enables the use of tags for autonomous custom elements, e.g.
`<flag-icon>`} with Tidy. Custom tags are disabled if this value is **no**.
Other settings – **blocklevel**, **empty**, **inline**, and **pre** – will
treat _all_ detected custom tags accordingly.

The use of `new-blocklevel-tags`, `new-empty-tags`, `new-inline-tags`, or
`new-pre-tags` will override the treatment of custom tags by this
configuration option. This may be useful if you have different types of
custom tags.

When enabled these tags are determined during the processing of your document
using opening tags; matching closing tags will be recognized accordingly, and
unknown closing tags will be discarded.

`decorate-inferred-ul`
: This option specifies if Tidy should decorate inferred `<ul>` elements
Expand Down Expand Up @@ -195,6 +209,20 @@ options.
: This option specifies if Tidy should print out comments.


`indent`
: Specifies if Tidy should indent block-level tags.

If set to **auto** Tidy will decide whether or not to indent the content of
tags such as `<title>`, `<h1>`-`<h6>`, `<li>`, `<td>`, or `<p>` based on the
content including a block-level element.

Setting `indent` to **yes** can expose layout bugs in some older browsers.

Use the option `indent-spaces` to control the number of spaces or tabs output
per level of indent, and `indent-with-tabs` to specify whether spaces or tabs
are used.


`indent-attributes`
: This option specifies if Tidy should begin each attribute on a new line.

Expand All @@ -220,20 +248,6 @@ options.
(zero) to retain input tabs.


`indent`
: Specifies if Tidy should indent block-level tags.

If set to **auto** Tidy will decide whether or not to indent the content of
tags such as `<title>`, `<h1>`-`<h6>`, `<li>`, `<td>`, or `<p>` based on the
content including a block-level element.

Setting `indent` to **yes** can expose layout bugs in some older browsers.

Use the option `indent-spaces` to control the number of spaces or tabs output
per level of indent, and `indent-with-tabs` to specify whether spaces or tabs
are used.


`input-encoding`
: This option specifies the character encoding <%= pne %> uses for
the source file.
Expand Down Expand Up @@ -536,6 +550,10 @@ options.
: This option specifies if Tidy should add some empty lines for readability.


`warn-proprietary-attributes`
: This option specifies if Tidy should warn on proprietary attributes.


`word-2000`
: This option specifies if Tidy should go to great pains to strip out all the
surplus stuff Microsoft Word 2000 inserts when you save Word documents as “Web
Expand Down
61 changes: 30 additions & 31 deletions Balthisar Tidy Help Project/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (4.2.6)
activesupport (4.2.9)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.4.0)
backports (3.6.8)
addressable (2.5.2)
public_suffix (>= 2.0.2, < 4.0)
backports (3.8.0)
chunky_png (1.3.5)
coffee-script (2.4.1)
coffee-script-source
Expand All @@ -26,7 +26,7 @@ GEM
sass (>= 3.3.0, < 3.5)
compass-import-once (1.0.5)
sass (>= 3.2, < 3.5)
concurrent-ruby (1.0.2)
concurrent-ruby (1.0.5)
contracts (0.13.0)
em-websocket (0.5.1)
eventmachine (>= 0.12.9)
Expand All @@ -35,30 +35,28 @@ GEM
eventmachine (1.2.0.1)
execjs (2.7.0)
fast_blank (1.0.0)
fastimage (2.0.0)
addressable (~> 2)
ffi (1.9.10)
fastimage (2.1.0)
ffi (1.9.18)
font-awesome-sass (4.6.2)
sass (>= 3.2)
haml (4.0.7)
tilt
hamster (3.0.0)
concurrent-ruby (~> 1.0)
hashie (3.4.4)
hashie (3.5.6)
http_parser.rb (0.6.0)
i18n (0.7.0)
json (1.8.3)
kramdown (1.11.1)
listen (3.0.8)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
memoist (0.14.0)
memoist (0.16.0)
middlemac (2.0.0)
middlemac-extras (~> 1.0, >= 1.0.7)
middlemac-extras (~> 1.0, >= 1.0.8)
middleman-cli (~> 4.1, >= 4.1.7)
middleman-core (~> 4.1, >= 4.1.7)
middleman-pagegroups (~> 1.0, >= 1.0.3)
middleman-targets (~> 1.0, >= 1.0.6)
middleman-pagegroups (~> 1.0, >= 1.0.4)
middleman-targets (~> 1.0, >= 1.0.7)
middlemac-extras (1.0.8)
fastimage (~> 2.0)
middleman-cli (~> 4.1, >= 4.1.7)
Expand Down Expand Up @@ -102,7 +100,7 @@ GEM
em-websocket (~> 0.5.1)
middleman-core (>= 3.3)
rack-livereload (~> 0.3.15)
middleman-pagegroups (1.0.5)
middleman-pagegroups (1.0.6)
middleman-cli (~> 4.1, >= 4.1.7)
middleman-core (~> 4.1, >= 4.1.7)
middleman-syntax (2.1.0)
Expand All @@ -111,30 +109,31 @@ GEM
middleman-targets (1.0.7)
middleman-cli (~> 4.1, >= 4.1.7)
middleman-core (~> 4.1, >= 4.1.7)
minitest (5.9.0)
minitest (5.10.3)
multi_json (1.12.0)
padrino-helpers (0.13.2)
padrino-helpers (0.13.3.4)
i18n (~> 0.6, >= 0.6.7)
padrino-support (= 0.13.2)
padrino-support (= 0.13.3.4)
tilt (>= 1.4.1, < 3)
padrino-support (0.13.2)
padrino-support (0.13.3.4)
activesupport (>= 3.1)
parallel (1.9.0)
rack (1.6.4)
parallel (1.12.0)
public_suffix (3.0.0)
rack (1.6.8)
rack-livereload (0.3.16)
rack
rb-fsevent (0.9.7)
rb-inotify (0.9.7)
ffi (>= 0.5.0)
rb-fsevent (0.10.2)
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
rouge (1.10.1)
sass (3.4.22)
servolux (0.12.0)
thor (0.19.1)
thread_safe (0.3.5)
sass (3.4.25)
servolux (0.13.0)
thor (0.20.0)
thread_safe (0.3.6)
tilt (1.4.1)
tzinfo (1.2.2)
tzinfo (1.2.3)
thread_safe (~> 0.1)
uglifier (3.0.0)
uglifier (3.2.0)
execjs (>= 0.3.0, < 3)

PLATFORMS
Expand All @@ -155,4 +154,4 @@ DEPENDENCIES
tzinfo-data

BUNDLED WITH
1.12.3
1.15.3
6 changes: 3 additions & 3 deletions Balthisar Tidy Help Project/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
:HPDBookIconPath => nil,
:CFBundleName => 'Balthisar Tidy',
:ProductName => 'Balthisar Tidy',
:ProductVersion => '3.6.2',
:ProductVersion => '3.6.3',
:ProductURI => 'http://www.balthisar.com/',
:features =>
{
Expand All @@ -104,7 +104,7 @@
:HPDBookIconPath => nil,
:CFBundleName => 'Balthisar Tidy',
:ProductName => 'Balthisar Tidy',
:ProductVersion => '3.6.2',
:ProductVersion => '3.6.3',
:ProductURI => 'http://www.balthisar.com/',
:features =>
{
Expand All @@ -129,7 +129,7 @@
:HPDBookIconPath => nil,
:CFBundleName => 'Balthisar Tidy',
:ProductName => 'Balthisar Tidy for Work',
:ProductVersion => '3.6.2',
:ProductVersion => '3.6.3',
:ProductURI => 'http://www.balthisar.com/',
:features =>
{
Expand Down
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-2015 by Jim Derry. All rights reserved.
Copyright © 2003-2017 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-2015 by Jim Derry. All rights reserved.
Copyright © 2003-2017 by Jim Derry. All rights reserved.
**************************************************************************************************/

Expand Down
6 changes: 3 additions & 3 deletions Balthisar Tidy Service Helper/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>3.6.2</string>
<string>3.6.3</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>3.6.2</string>
<string>3.6.3</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>LSUIElement</key>
<true/>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2016 Jim Derry. All rights reserved.</string>
<string>Copyright © 2017 Jim Derry. All rights reserved.</string>
<key>NSMainNibFile</key>
<string>HelperMainMenu</string>
<key>NSPrincipalClass</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
NSApplication+ServiceApplication
Copyright © 2003-2015 by Jim Derry. All rights reserved.
Copyright © 2003-2017 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-2015 by Jim Derry. All rights reserved.
Copyright © 2003-2017 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-2015 by Jim Derry. All rights reserved.
Copyright © 2003-2017 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-2015 by Jim Derry. All rights reserved.
Copyright © 2003-2017 by Jim Derry. All rights reserved.
**************************************************************************************************/

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

0 comments on commit d490276

Please sign in to comment.