Skip to content

Messages increment #593

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 22 commits into from
Sep 8, 2017
Merged

Messages increment #593

merged 22 commits into from
Sep 8, 2017

Conversation

balthisar
Copy link
Member

This updates the internal messaging system to simplify the handling of report output. This is an internal API-only change and does not affect LibTidy users or change output in any way (verified by regression testing).

  • Complete audit on all report strings, with modifications where necessary.
  • Report strings are now tightly coupled to the TidyReportLevel.
  • Reduced the number of report-producing functions. It's possible to use a single report function, although convenience functions with simplified signatures were maintained.
  • Provides a logical infrastructure for potential new cross-reference and footnote features.

This implements the "good ideas" from #561, without touching the other things subject to further discussion.

…ispatchTable

reflects such. Some fleshed in report formatters are included with cases for
several of Tidy's reports, but nothing is yet enabled. All reporting is status
quo, and this is just a bunch of dead code at this point.
…d the

badAccess flag to the point of detection.
… messaging system. Migrated old reportNotice() to report().
…ved with

braces to not pollute stack for other cases.
…e items.

Note that there are several regressions in the accessibility test suit that
are not related to output messages. These are a result of previous work, and
these results should be updated in the test suite when this item is merged.
At this point:
  - MSVC on Windows 10 compiles without warnings or errors.
  - GCC on Ubuntu 16.04 compiles without warnings or errors.
  - Test cases in `testbase` are clean on all of:
    - macOS
    - Windows 10
    - Ubunutu
Updated language_fr.h reflect the re-sorted strings.
Simplified the update counting.
@balthisar balthisar merged commit 4509695 into next Sep 8, 2017
@balthisar balthisar deleted the messages_increment branch September 8, 2017 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant