Commit graph

1466 commits

Author SHA1 Message Date
Jim Derry e6c891ea00 Doctype made no sense! It was a write-only property in some cases, and uses
itself and DoctypeMode to make up for Tidy's ability to store only a single
value for an option. It's a little bit special relative to every single other
option, in that it's declared as a string, but also has a picklist. This change
makes Doctype behave in the way every other Tidy option behaves, and treats
Doctype as a string, but also supports selection via the picklist.
2017-11-17 08:11:22 -05:00
Geoff McLane a820ff5897 Issue #643 - Add VERS_HTML5 to VERS_FROM40 2017-11-17 02:52:32 +01:00
Geoff McLane 6a3e3fae77 Issue #643 - Only break lookup if 'code' AND 'version' found. 2017-11-17 02:46:14 +01:00
Geoff McLane eefd2edda7 Issue #643 - Set debug trap - NOT important 2017-11-17 02:44:54 +01:00
Geoff McLane 54f14ff9fc Issue #643 - Some entity table corrections.
Default all the VERS_CHECK to VERS_HTML5
Change OverBar to 8254 in place of 175
Change UnderBar to 95 in place of 818
Change angst to 197 in place of 8491
Add bsolhsub 10184
Change epsi to 949 over 1013
Change epsiv to 1013 over 949
Change ohm to 937 over 8486, although appears the same
Change phiv to 981 over 966
Remove race as a two-value entity
Add suphsol 10185
Change varepsilon to 1013 over 949
Change varphi to 981 over 966
2017-11-15 15:52:36 +01:00
Jim Derry bb15427e73
Merge pull request #648 from aureliojargas/patch-1
Fix typo
2017-11-15 08:49:31 -05:00
Aurelio Jargas cca0e8700a
Fix typo 2017-11-13 08:21:35 -02:00
Geoff McLane 97f7d2a41a Merge branch 'issue-643' of github.com:htacg/tidy-html5 into issue-643 2017-11-09 19:43:39 +01:00
Geoff McLane a754957808 Issue #643 - Greatly expand entities list 2017-11-09 19:41:57 +01:00
Geoff McLane d6414a69ae PR #647 now merged, bumped to 5.5.77, closes #646 2017-11-09 19:35:25 +01:00
Geoff McLane c4c1ca17a2
Merge pull request #647 from htacg/issue-646
Issue #646 - Correct 'INCLUDE_INSTALL_DIR' per 'master'
2017-11-09 19:30:34 +01:00
Geoff McLane 08dfa3db84 Issue #646 - Correct 'INCLUDE_INSTALL_DIR' per 'master' 2017-11-09 15:00:08 +01:00
Geoff McLane e4fc470592 Issue #403 - correct spelling 2017-11-07 20:36:55 +01:00
Geoff McLane 7bbeae3eea Issue #403 - Fix and enhance descripion of keep-tabs option 2017-11-07 20:29:04 +01:00
Geoff McLane 33ed10e961 Issue #643 - Greatly expand entities list 2017-11-07 19:08:58 +01:00
Geoff McLane b58abe30d0 Issue #403 - Special DEBUG change to 'see' tabs 2017-11-05 18:04:52 +01:00
Geoff McLane 2aeb2eeb7a Issue #403 - New 'keep-tabs' option to address this. 2017-11-03 19:16:17 +01:00
Geoff McLane 4b5c86ee47 Small fix to compile with MSVC10, exposed in #636
MSVC10 2010 enforces K&R C that all variables must be declared before code
in any given context.

Unable to fix a gcc option that will expose this...

modified: src/config.c
2017-11-02 18:47:18 +01:00
Jim Derry acd3c6c47e
Version bump. Can we get to 100 before release? 2017-11-01 15:07:03 -04:00
Jim Derry 86bde4624e
Merge pull request #640 from htacg/locale_fix
Address #639.
2017-11-01 15:06:19 -04:00
Jim Derry 57f623eb7c Updated PR to make LIBRARY default to the environment language, rather than just console tidy. 2017-10-31 17:41:32 -04:00
Jim Derry cc023c26b7 Address #639. 2017-10-30 07:53:35 -04:00
Jim Derry 9c4b040771 Bumped version due to internal refactoring and documentation updates. 2017-10-29 15:05:53 -04:00
Jim Derry 5fb1138840 Fixed indentation. 2017-10-29 15:04:51 -04:00
Jim Derry f5bdedecaf Cleanup
- Added doxygen documentation to `tags.h`
- Consistency to `tags.c` header.
- Moved TY_(DeclareUserTag) to tags.c/.h for consistency with the other list
  parsing declaratory functions.
- Merged user tags parsing into the general list, eliminating a lot of redundant
  code.
2017-10-29 14:58:02 -04:00
Geoff McLane 7beb591cf7 Issue #636 PR #637 - Bump to version 5.5.74 2017-10-29 18:32:41 +01:00
Geoff McLane 319cded6ec
Merge pull request #637 from jokester/remove-direct-strdup-free
use default allocator in place of strdup/free
2017-10-29 18:30:52 +01:00
Jim Derry b243e0f30a Version bump. 2017-10-26 19:19:56 -04:00
Jim Derry 86e62dbb70 Remove unnecessary AdjustConfig logic. 2017-10-26 18:25:55 -04:00
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
Wang Guan ff68144724 use default allocator in place of strdup/free 2017-10-26 00:54:55 +09: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