Commit graph

1336 commits

Author SHA1 Message Date
Jim Derry 350f7b4af7 Replaced AdjustConfig() with TY_(AdjustConfig)() 2017-10-26 18:08:17 -04:00
Jim Derry cc08bae5a9 Documentation updates. 2017-10-26 15:46:26 -04:00
Jim Derry 6ffb71c2bc Bump version for documentation changes. 2017-10-26 14:26:53 -04:00
Jim Derry b663c3965f Regenerate PO and POT for language changes. 2017-10-26 14:26:23 -04:00
Jim Derry 056bd85d3d Touch up option descriptions, particularly the encoding options in order to better describe their interaction. 2017-10-26 14:25:02 -04:00
Jim Derry aec686b1a9 Add a true "default" to TidyCSSPrefix so that it will be shown in documentation. 2017-10-26 14:24:35 -04:00
Jim Derry a1a58ec1bd Merge branch 'next' into snapshot_fixes 2017-10-25 20:03:17 -04:00
Jim Derry 504d2b3466 Version bump. 2017-10-25 19:59:14 -04:00
Jim Derry fc3cba86a8 I guess no one tried to use this before... it's been broken since the initial commit. We've been comparing the config value from a different option the whole time. 2017-10-25 15:04:49 -04:00
Jim Derry 773f58dbcb Updated PO and POT for updated description of TidyQuiet. 2017-10-20 08:58:53 -04:00
Jim Derry c12e2b2149 Ensure that TidyQuiet silences everything that it currently quiets, plus
`TidyConfig` and `TidyInfo` messages. This causes a single regression by hiding
`TidyInfo`; will publish PR in testing repo.
2017-10-20 08:52:37 -04:00
Jim Derry 4b1c048ee5 Correct configCallback logic fix. 2017-10-20 07:46:00 -04:00
Jim Derry d302559080 Doxygen fix. No bump. 2017-10-19 20:46:21 -04:00
Jim Derry a03ddc03a0 Documentation generation bug fix. Version bump. 2017-10-19 20:33:17 -04:00
Jim Derry 7e53038fa8 Updated documentation for doxygen. No version bump. 2017-10-19 20:27:12 -04:00
Jim Derry 492c9fb74b Avoid short circuit evaluation to give new callback a chance to execute.
Version bump.
2017-10-19 20:11:26 -04:00
Jim Derry a354eff596 Bumped version due to fix. 2017-10-19 17:41:35 -04:00
Jim Derry 6d8d153143 Merge pull request #630 from jokester/close-stdin-after-parse
close stdin and free its FileSource in tidyDocParseStdin
2017-10-19 17:41:00 -04:00
Jim Derry 6dd7919d16 Bumped version due to new debug behavior. 2017-10-19 17:38:33 -04:00
Jim Derry 9c96551fe0 Merge branch 'issue-604' into next 2017-10-19 17:37:22 -04:00
Jim Derry b190e8724a Bumped version for new option. 2017-10-19 17:22:47 -04:00
Jim Derry 93957e4b17 Merge pull request #629 from htacg/squelch_reports
Squelch reports
2017-10-19 17:21:37 -04:00
Jim Derry 6309abacda Bump for public API change. 2017-10-19 17:17:33 -04:00
Jim Derry feb0811ba2 Use the new tidyPlatform() in console, and fix (!!) bug where no platform is defined. 2017-10-19 17:16:59 -04:00
Jim Derry 2340e63f8b Expose the platform name to the public API. 2017-10-19 17:11:29 -04:00
Jim Derry c17df6aca2 Add platform definitions for other Apple operating systems. 2017-10-19 17:07:38 -04:00
Geoff McLane 41675e75f7 Issue #604 - Remove 'sprtf' code if not ENABLE_DEBUG_LOG 2017-10-14 12:27:19 +02:00
Geoff McLane 3b154dc407 Issue #604 - Try to fix. Initial cut. WIP 2017-10-13 20:50:53 +02:00
Wang Guan dacb63da31 close stdin and free its FileSource in tidyDocParseStdin 2017-10-14 02:44:33 +09:00
Jim Derry 6f51eced5e Place the last three report messages into the reports range of the enum, taking
them out of the dialogue range, so that they can properly be silenced.
2017-10-10 19:30:57 -04:00
Jim Derry 1d91942960 Renamed the proposed squelch and squelch-id to mute and mute-id,
respectively. Updated matching cases in test branch accordingly.
2017-10-10 08:21:14 -04:00
Jim Derry bcf4748b9c Merge branch 'next' into squelch_reports 2017-10-10 08:14:33 -04:00
Geoff McLane 0f86647741 Issue #604 - Default ENABLE_DEBUG_LOG to 'OFF' 2017-10-09 01:27:07 +02:00
Geoff McLane 1b20d4b764 Default ENABLE_DEBUG_LOG to 'OFF' 2017-10-09 01:25:42 +02:00
Jim Derry 346ba063c9 Expose the new property to the public API. 2017-10-08 12:03:48 -04:00
Jim Derry 6f0ada7ffe Typo 2017-10-08 11:53:36 -04:00
Jim Derry ad03b28318 Remove @todo note. 2017-10-08 11:51:19 -04:00
Jim Derry e6f007d8ba Code spacing consistency. 2017-10-08 11:44:45 -04:00
Jim Derry f72c3d27e1 Show full prototype in forward declaration. 2017-10-08 11:40:53 -04:00
Jim Derry 2e58434e8d Actually, we should only show labels on reports, not dialogue. 2017-10-08 11:30:29 -04:00
Jim Derry 0548e67fa5 Oops, need to return. 2017-10-08 11:19:00 -04:00
Jim Derry b967065c36 Merge branch 'next' into squelch_reports 2017-10-08 11:08:12 -04:00
Jim Derry 16aa474f6a Updated CMakeLists to require -DENABLE_DEBUG_LOG on all platforms, until a
better "automatic" strategy is decided.
Although this doesn't change Tidy binary, I bumped the version because the
default build settings _could_ result in a binary difference.
2017-10-08 11:06:41 -04:00
Jim Derry 626375346d Adds message squelching (muting) to Tidy, avoiding the need to specify a new
option every time we might want to allow or disallow new output. Adds two new
options:
  - `squelch-id` (default **no**) will provide tags during Tidy's output that
    can be used to silence warnings. For example, `MISSING_ENDTAG_OPTIONAL`
    will be shown after warnings of that type. Then in the future, the user can
    use...
  - `squelch` (default NULL) takes a list of message identification tags.
    Messages of this tag type will then be muted from output.

This gives the user great control over hiding things that he or she doesn't care
about seeing. However, muted errors/warnings still count toward error summaries.

If we merge this, then TidyShowMetaChange and TidyWarnPropAttrs are candidates
for removal (using the deprecation mechanism Tidy now has, these will continue
to work, though).
2017-10-08 10:47:03 -04:00
Jim Derry 5e66816380 Spacing consistency. 2017-10-08 10:25:09 -04:00
Jim Derry ab8a4249df Added squelch-id (TidySquelchShow) so that message ID's will be displayed in
the report output table. This can be used to show message ID's that the user
can use to filter against in the upcoming `squelch` option.
2017-10-07 18:10:46 -04:00
Jim Derry ca2f089e89 Regen pot and po 2017-10-07 16:25:40 -04:00
Jim Derry b31dd6fcc2 Added some internal structures and code to support the removal of config
options in the future, with full user notification. Right now this code is
dead, because no options have been removed. No version bump.
2017-10-07 16:11:51 -04:00
Jim Derry 217d05fe49 Merge branch 'next' into deprecation_mechanism 2017-10-07 14:59:35 -04:00
Jim Derry 010892c020 Version bump. 2017-10-07 14:59:07 -04:00