Commit graph

1684 commits

Author SHA1 Message Date
Jim Derry 314690ad7f Option changed callback now implemented. 2017-11-20 09:27:59 -05:00
Jim Derry b91c728c81 Bump version to 5.5.81 for API additions. 2017-11-19 15:46:40 -05:00
Jim Derry fcd4e90ea7 Fix issue where console app and API can't set an FPI for a doctype without
providing a quoted string. This is especially painful in a terminal, which
requires escaping quotes. Since all FPI's must start with + or -, this fixes
the issue.
2017-11-19 12:54:08 -05:00
Jim Derry ae20af4181 Added a new tidyOptionIsList() API service. 2017-11-19 12:02:24 -05:00
Jim Derry b342232378 Fixed logical issue with new iterators. 2017-11-19 11:02:13 -05:00
Jim Derry 8ddc0105f9 Add missing iterators for recently added options mute and priority attributes. 2017-11-19 10:21:46 -05:00
Jim Derry 7105dbe0ee Cosmetic update for doxygen. 2017-11-17 22:00:29 -05:00
Jim Derry b2d3bab9d1 Doxygen fixes for previous. 2017-11-17 21:55:46 -05:00
Jim Derry ac27e0c16e Version bump, for doxygen purposes. 2017-11-17 21:52:26 -05:00
Jim Derry 7598d9d0a1 Added internal documentation to parser.h. 2017-11-17 21:51:35 -05:00
Jim Derry 79f0d5752f Updated documentation for tidyOptIsReadOnly(). As this is documentation only,
no version bump.
2017-11-17 21:47:26 -05:00
Jim Derry 2957cb135b Moved orphans from attrapi.c to tidy.c; eliminate attrapi.c. This only affects internal binary representation, but there's not API change, so no version bump. 2017-11-17 21:39:30 -05:00
Jim Derry f5dfd31a76 Bump version. 2017-11-17 21:30:40 -05:00
Jim Derry e7bacf2245 Allow all parsers to accept NULLSTR input for API consistency. 2017-11-17 21:30:19 -05:00
Jim Derry 18874e0b10 Version bump. 2017-11-17 20:38:45 -05:00
Jim Derry fec21eebba Merge branch 'next' into fix_doctype_option 2017-11-17 19:17:14 -05:00
Jim Derry 1dd85ad1c6 Restore alphabetical order to the options enums and structure. No version bump. 2017-11-17 19:16:58 -05:00
Geoff McLane cea9a465f3 Issue #643 - Fix HTMLVersion function back to what it was! 2017-11-17 14:47:24 +01:00
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