Commit graph

1313 commits

Author SHA1 Message Date
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
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
Jim Derry 0977aa6077 Removed dependency on NDEBUG, and introduced ENABLE_DEBUG_LOG in CMakeLists.txt.
By default Windows will continue to show SPRTF output, and other platforms will
require the -DENABLE_DEBUG_LOG to be set in default (debug) configurations.

Debug and Release builds on macOS, Windows 10, and Ubuntu 16.04 confirmed
working as most people expect.
2017-10-07 14:56:01 -04:00
Jim Derry f26b198213 Hot-fix the NDEBUG, which affected default builds that users might not expect
if they follow the build instructions.
2017-10-07 14:07:12 -04:00
Jim Derry 6b14c559f9 Adding some documentation WIP 2017-10-07 12:14:51 -04:00
Jim Derry 2e4393e37b Works for -config files now, too. 2017-10-07 11:20:57 -04:00
Jim Derry 483d17e39b Experimentally working. 2017-10-07 11:04:18 -04:00
Jim Derry 2e2062ddec WIP with functioning concept. 2017-10-06 16:14:54 -04:00
Jim Derry 4e6d76eb01 Fixed broken option callback; version bump to reflect. 2017-10-06 09:41:54 -04:00
Jim Derry f1cd84f853 Bumped version. 2017-10-05 19:29:12 -04:00
Jim Derry a413b1264b Merge branch 'next' into options_categories 2017-10-05 15:15:36 -04:00
Jim Derry c71b8115cc Bump version. Although changes are only internal, it's a good reference point
in case something goes wrong.
2017-10-05 15:09:18 -04:00
Jim Derry ac4a79a5ac Regenerate languages. 2017-10-05 15:08:46 -04:00
Jim Derry fa30773938 Centralize control of message output to the messageOut() method in order to:
- Prevent the message filter from missing possible messages due to dispered
    control.
  - Single decision point for the types of messages to be output given current
    conditions and options settings.
2017-10-05 15:04:22 -04:00
Jim Derry bd3503eea5 Changed the XML classes to use the string representation of the key rather than
the translated string of they key, which fix manpage and quickref generation in
non-default locales.

As a result the translated strings are no longer used and have been deleted.
2017-10-05 09:31:25 -04:00
Jim Derry 9565a15f48 Merge branch 'next' into options_categories 2017-10-04 13:42:25 -04:00
Jim Derry 4c74b14991 Not sure how this got missed. 2017-10-04 13:40:19 -04:00
Jim Derry 4fa26f4f5d Affects documentation only: updates the manpage (and soon the quickref) by
breaking up the existing options into several more logical categories.
2017-10-04 12:24:07 -04:00
Jim Derry 7d35bb14ef Version bump 2017-10-04 11:15:45 -04:00
Jim Derry 430fc6118d Merge branch 'sprtf' into next 2017-10-04 11:11:39 -04:00
Jim Derry 084ed21735 Version bump. 2017-10-04 11:00:04 -04:00
Jim Derry dedcb7bb4d SPRTF is now compatible with macOS and Linux, and most likely all supported
platforms.
2017-10-03 22:31:55 -04:00
Jim Derry ee54057d76 Added debug to several files. WIP 2017-10-03 21:09:59 -04:00
Jim Derry a137c068e5 Added debug to several files. WIP 2017-10-03 20:56:50 -04:00
Jim Derry 4e3c1a1562 Move all of the sprtf includes into tidyplatform.h 2017-10-03 20:42:29 -04:00