Commit graph

1373 commits

Author SHA1 Message Date
Jim Derry 302660e3cb Version bump. 2017-11-20 09:28:48 -05:00
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
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
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 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 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