Jim Derry
949ad9dae3
Merge pull request #998 from htacg/issue_523
...
Fixes #523 .
2021-08-26 17:33:14 -04:00
Jim Derry
b5d28d7d30
Fixes #523 .
...
Added test case to test flexibility.
Updated old test case 443678, which is better with this fix.
This fixes #523 and tries to be as general as possible. Right now the fix is
only applied if the prev or next tag is a body level div, but perhaps should
be applied for anything that's acting as block level element. In any case,
the specific bug is killed.
2021-08-26 15:59:33 -04:00
Jim Derry
a873a190e1
Logging for ParseScript().
...
Improved debug output.
2021-08-26 09:10:28 -04:00
Jim Derry
a604621fef
Spacing fixes. No version bump.
2021-08-25 07:19:48 -04:00
Jim Derry
52e55d1554
Version bump due to binary changes. No new features.
2021-08-23 11:11:51 -04:00
Jim Derry
023cbd3f3d
Merge pull request #995 from htacg/debug_outp
...
Refactored debug output.
2021-08-23 11:11:09 -04:00
Jim Derry
d956d6ca1c
Refactored debug output.
2021-08-23 11:02:27 -04:00
Jim Derry
89665391f8
Bump version due to binary differences.
2021-08-19 18:20:37 -04:00
Jim Derry
29ec1df06c
Merge pull request #993 from htacg/pprinter_dox
...
Pprinter dox
2021-08-19 18:19:35 -04:00
Jim Derry
1d2a183f32
Set the indent character in a more appropriate spot.
...
The previous location was fine when saving the output stream, but it led to
unset character when using node interrogation, which _also_ uses the pretty
printers to get text. This is a more appropriate location to set the character.
This is the first instance of our cool Swift wrapper API tester catching an
issue for us. Nice!
Proof that the automated API
2021-08-19 18:12:29 -04:00
Jim Derry
0fe913eb76
Primarily documentation of the pprint.c/h, with some file organization and
...
function cleanup.
2021-08-19 16:14:46 -04:00
Jim Derry
bde08388dc
Delete stray control character from parser.c. No idea how that was introduced.
2021-08-18 06:30:37 -04:00
Jim Derry
e32922175a
Version bump to 5.9.14.
2021-08-17 15:03:24 -04:00
Jim Derry
d057bcb44a
Merge pull request #990 from htacg/issue_611
...
Issue 611
2021-08-17 15:02:43 -04:00
Jim Derry
8a45f44f36
Tests cases for previous.
2021-08-17 14:53:28 -04:00
Jim Derry
0d72ca395f
Fixes #611 .
2021-08-17 14:51:40 -04:00
Jim Derry
86601b1153
Version bumped to 5.9.13 to reflect new behavior.
2021-08-17 12:37:24 -04:00
Jim Derry
1ca8e210c8
Fixes #525 .
...
Naked groups of LI in HTML5 mode will now have an inferred UL applied to
them consistent with HTML4 and earlier modes.
Test case added.
Note that three regressions were updated in favor of this corrected behavior.
2021-08-17 12:34:43 -04:00
Jim Derry
a46949f46a
Bump to version 5.9.12.
2021-08-17 11:54:56 -04:00
Jim Derry
172d5a888c
Merge pull request #989 from htacg/issue_464
...
Fixes #464 . Test cases added.
2021-08-17 11:52:07 -04:00
Jim Derry
6001011c80
Fixes #464 . Test cases added.
2021-08-17 11:38:42 -04:00
Jim Derry
2e6ffff91e
Bump to 5.9.11 for binary changes.
2021-08-17 07:33:39 -04:00
Jim Derry
845e55e5d4
Merge pull request #988 from htacg/xml_recurse
...
The XML Parser and XML Pretty Printer are now non-recursive.
2021-08-17 07:32:07 -04:00
Jim Derry
132fb352b1
The XML Parser and XML Pretty Printer are now non-recursive.
2021-08-17 07:24:53 -04:00
Jim Derry
71ff9a7a8a
Documentation update. No version bump.
2021-08-15 11:17:50 -04:00
Jim Derry
2e259583a8
Bump version due to binary difference.
2021-08-15 07:31:56 -04:00
Jim Derry
28068b1273
Fixes #816 .
...
Ensure thread safety by ensuring that tag_defs[] is thread local.
This has some overhead but is negligible on modern systems.
2021-08-15 07:29:40 -04:00
Jim Derry
c8fbde5903
Merge pull request #986 from htacg/recurse_squash
...
Recurse squash
2021-08-14 20:52:23 -04:00
Jim Derry
2e7ec117fd
Bump version.
2021-08-14 20:43:36 -04:00
Jim Derry
91f29ea7b8
HTML Tidy now parses HTML non-recursively.
...
Instead of recursive calls for each nested level of HTML, the next level is
pushed to a stack on the heap, and returned to the main loop. This prevents
stack overflow at _n_ depth (where _n_ is operating-system dependent). It's
probably still possible to use all of the heap memory, but Tidy's allocators
already fail gracefully in this circumstance.
Please report any regressions of your own HTML!
NOTE: the XML parser is not affected, and is probably still highly recursive.
2021-08-14 20:42:43 -04:00
Jim Derry
b6f7e43842
Merge pull request #984 from htacg/issue_946
...
Fixes #946
2021-07-31 08:32:12 -04:00
Jim Derry
efa61528aa
Fixes #946 by refactoring the recursion into a loop with a heap-based stack.
2021-07-31 08:26:16 -04:00
Jim Derry
c055b71c56
Deleted LICENSE again. Enough is enough.
2021-07-30 19:09:29 -04:00
Jim Derry
c22c37b5a4
Add license to .github
2021-07-30 19:05:45 -04:00
Jim Derry
e11dba9c92
Removed docs.
2021-07-30 19:03:40 -04:00
Jim Derry
995c20e9e4
Doc folder.
2021-07-30 18:57:02 -04:00
Jim Derry
1213047d42
More static analyser fixes; version bump to 5.9.7.
2021-07-30 18:45:18 -04:00
Jim Derry
5f98ccd606
Static analyzer fixes.
2021-07-30 18:32:34 -04:00
Jim Derry
bd751a8bcd
Fix allocation error; fix some static analyzer suggestions.
2021-07-30 18:23:47 -04:00
Jim Derry
a3a5ea6740
Merge pull request #983 from htacg/remove_recursion
...
Remove recursion
2021-07-30 17:23:17 -04:00
Jim Derry
b10a16ef1a
Bump to 5.9.6 due to binary differences.
2021-07-30 17:16:43 -04:00
Jim Derry
a34b0f07b5
Remove more recursion.
2021-07-30 17:15:58 -04:00
Jim Derry
c21deae8c0
Bump to 5.9.5 due to API changes.
...
Will not build new pre-release as there are no public changing faces in the executables.
2021-07-30 16:50:09 -04:00
Jim Derry
7cddcb59fd
Merge pull request #982 from htacg/issue_719
...
Fixes #719 . Pass the string representation of the parameter name, and…
2021-07-30 16:48:18 -04:00
Jim Derry
68a3d81d02
Fixes #719 . Pass the string representation of the parameter name, and post process before output. Adds strrep() service to support.
2021-07-30 16:40:48 -04:00
Jim Derry
80550d6779
Updated localization information and files. No version bump.
2021-07-30 10:43:39 -04:00
Jim Derry
b5e2442165
Bump version due to internal changes.
2021-07-29 06:23:28 -04:00
Jim Derry
db847e6e1c
Merge pull request #981 from htacg/iterate
...
Documentation and Recursion
2021-07-29 06:22:48 -04:00
Jim Derry
e56716f154
Improve internal documentation.
...
Start general conversion to eliminate and/or reduce recursion.
2021-07-28 19:46:54 -04:00
Jim Derry
ab6b76dae9
Merge pull request #980 from SpaceIm/fix/cmake-pdb
...
CMake: robust installation of pdb files
2021-07-28 18:20:38 -04:00