Commit graph

1105 commits

Author SHA1 Message Date
Jim Derry d4a11b553e Merge pull request #577 from htacg/issue-572
Issue 572
2017-08-28 10:01:48 -04:00
Jim Derry a26c4e0a18 Version bump for API change. 2017-08-26 12:50:33 -04:00
Jim Derry f4c64966f0 Added TidyConfigCallback and deprecated TidyOptCallback for consistency with
the remainder of the callbacks. TidyConfigCallback is now given a reference
to the instance of the TidyDoc that caused the callback to occur.

+    TidyConfigCallback
2017-08-26 12:47:18 -04:00
Geoff McLane fa18c51871 Add a 'next' branch check to Win64/build-me.bat
No code change, so no version bump for this...
2017-08-02 20:30:28 +02:00
Geoff McLane 09f1806834 Issue #572 - discard an all space text node.
An earlier patch now passes back an all space text node. Previously this
would have been skipped. So add code in ParseList to detect, and discard
such a node.

Change committed:
	modified:   src/parser.c
2017-07-08 19:45:42 +02:00
Geoff McLane f26a068809 Issue #572 - More conditions for #396 2017-07-02 21:10:20 +02:00
Geoff McLane e48b06b8c0 Bump version to 5.5.31 - closes #550 2017-05-30 18:17:13 +02:00
Geoff McLane 2c096dfa68 Issue #550 - K&R/MSVC10 fix - tidy.c 2017-05-30 18:15:25 +02:00
Geoff McLane eb127a5c5b Issue #550 - K&R/MSVC10 fix - message.c 2017-05-30 18:14:58 +02:00
Geoff McLane dbe8a6a767 Issue #395, #564 - Bump to 5.5.30 for this fix 2017-05-29 14:28:34 +02:00
Geoff McLane 4136d85a9c Issue #395, #564 - Oops, restore orig char if not closing 2017-05-29 14:26:55 +02:00
Geoff McLane 34d37002c9 Bump to 5.5.29 - closes #395 2017-05-27 18:26:14 +02:00
Geoff McLane e23f29b145 Merge pull request #564 from htacg/issue-395
Issue 395 - self closing tags
2017-05-27 18:25:29 +02:00
Geoff McLane c61b5b7b0c Merge branch 'next' into issue-395 2017-05-27 18:20:28 +02:00
Geoff McLane 59a06293ab Bumped 5.5.28 for this merge - closes #392 2017-05-27 16:36:08 +02:00
Geoff McLane 4224227cb2 Merge pull request #563 from htacg/issue-392
Issue 392 - creeping php
2017-05-27 16:33:15 +02:00
Geoff McLane 825ad59262 Merge branch 'next' into issue-392 2017-05-27 16:25:24 +02:00
Jim Derry 5d057abdcb Bumped to 5.5.27 for console tweaks. 2017-05-21 14:33:10 -04:00
Jim Derry cefe56dda5 Merge branch 'improve_console_output' into next 2017-05-21 14:32:38 -04:00
Jim Derry 47c27ecf8e Generated French header file; bumped to 5.5.26 for updated French language. 2017-05-21 14:29:13 -04:00
Jim Derry 7080ed970a Merge pull request #559 from sballeste/next
Improve french translations (next branch).
2017-05-21 14:25:43 -04:00
Jim Derry b475ca593d Bumped to 5.5.25. 2017-05-21 14:24:57 -04:00
Jim Derry 996ddb813d Merge pull request #554 from htacg/issue-365
Issue 365
2017-05-21 14:24:03 -04:00
Geoff McLane c9c1d7ae55 Issue #395 - a potential fix 2017-05-21 01:47:36 +02:00
Geoff McLane 6f05041b5e Issue #392 - a simple fix, but maybe incomplete 2017-05-21 00:18:43 +02:00
Geoff McLane ec03beb361 Issue #552 - remove no 'case default:' warning in most gcc versions
Seems too small for a version bump. Closes #552
2017-05-19 18:38:01 +02:00
Sébastien Ballesté-Antich e07b54a4da Improve french language with poconvert. 2017-05-16 22:38:39 +02:00
Sébastien Ballesté-Antich cc4ad195c5 Add 3 msgid introduced in commit 5791c55 2017-05-16 21:43:58 +02:00
Sébastien Ballesté-Antich 7feab96480 Improve french translations. 2017-05-16 19:03:12 +02:00
Jim Derry 9b2cd06711 Merge branch 'next' into issue-365 2017-05-13 22:27:14 -04:00
Jim Derry 8a639bf91b Bumped to 5.5.24 for language updates. 2017-05-13 22:25:12 -04:00
Jim Derry 66d0825e58 Merge pull request #557 from htacg/update_langs
Update languages against current English.
2017-05-13 22:24:43 -04:00
Jim Derry 5fad2252d2 Bumped to 5.5.23 for #378. 2017-05-13 22:20:36 -04:00
Jim Derry eb6bd1c1d5 Merge pull request #556 from htacg/issue-378
Address #378
2017-05-13 22:19:52 -04:00
Jim Derry 5791c55081 Update languages against current English. 2017-05-13 21:07:02 -04:00
Jim Derry 0f1e625324 Address #378
Addresses issue #378 by NOT emitting warnings if `fix-uri` is `no`, for HTML5
documents. This preserves existing behavior for legacy document types.
2017-05-13 20:46:48 -04:00
Jim Derry d18b21b94c Merge branch 'next' into issue-365 2017-05-13 19:55:19 -04:00
Jim Derry 86338b2634 Bumped to 5.5.22 for internal change. 2017-05-13 19:51:28 -04:00
Jim Derry b6bf48c24a Merge pull request #553 from htacg/new_picklists
New picklists and parsers
2017-05-13 19:50:20 -04:00
Jim Derry a399725a1e Fixed ParseAutoBool error. 2017-05-13 11:39:13 -04:00
Jim Derry 08399b5203 Cleanup -help-config output to better show new enumerator types from new parsers and picklists. 2017-05-12 10:52:59 -04:00
Jim Derry 982504eee0 Case insensitive compare is safe here, and prevents erroneous propriertary attribute errors. 2017-05-12 08:28:11 -04:00
Jim Derry e7c28636b9 Fixed cause of assertions -- funny, these don't pop up in XCode. 2017-05-12 07:30:20 -04:00
Jim Derry 29766afcfd Initial take on issue 365. This is based off of the simplification of the
parser and picklist system. Console application needs to be updated to fix
the description, as it shows autobool, and for some reason on the current
system I'm not getting assertion failures.
2017-05-11 18:12:56 -04:00
Jim Derry 66bed8b9a0 Bumped to 5.5.21 for #391 fix. 2017-05-11 15:25:46 -04:00
Jim Derry 7112fba553 Merge pull request #549 from htacg/issue_391
Address #391. Tested on macOS and Win10.
2017-05-11 15:24:44 -04:00
Jim Derry 1ba4bcb753 Update the OPTIONS.md readme file. 2017-05-11 14:54:53 -04:00
Jim Derry aeb9a24fab Refactor Picklists and Option Parsers
This PR refactors how picklists and option parsers are implemented in LibTidy,
making is vastly easier to implement new picklists in the future, as well as
modify some of the existing picklists such that they have more logical names.

Picklist arrays are now arrays of structures that include the possible strings
capable of setting a particular option value, and a new parser has been written
to work with these structures.

In addition, several of the existing parsers were removed, as they are now
redundant, and a couple of the remaining parsers were refactored to take
advantage of the new parser.

In effect, this means that:

- New parsers don't have to be written in the majority of cases where new
  options are added that exceed yes/no/auto.
- Some of the existing options can have more meaningful names than yes/no/auto,
  in a backward compatible way. For example, vertical-spacing "auto" currently
  in no way reflects "auto" when used.
2017-05-11 14:40:21 -04:00
Geoff McLane f7e7554c95 Close the file before the _WIN32 switch 2017-05-09 19:24:20 +02:00
Jim Derry 590a030756 Bumped to 5.5.20 for latest fix. 2017-05-08 17:37:55 -04:00