Commit graph

1692 commits

Author SHA1 Message Date
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
Jim Derry 514ab0187c
Update build_and_test.yml
Add CMakeLists.txt as a trigger for automated testing, so that PR's making changes to it will be tested. No version bump.
2021-07-28 18:13:18 -04:00
SpaceIm 1da5d8ddde robust installation of pdb files 2021-07-27 14:56:48 +02:00
Jim Derry c42ec040c9
Update version.txt
User-facing URL changes merit version bump.
2021-07-21 17:30:24 -04:00
Jim Derry da8e10bedc
Merge pull request #978 from htacg/rc
HTTPS Migration
2021-07-21 17:29:39 -04:00
Jim Derry 0d173d61d7 HTTPS Migration
- Updated links with working https versions from http.
- Removed rotten links.
- Updated links that have since resolved to new addresses.
- Generated all new po's and pot from existing headers.
- Updated the regression tests to account for the new https:// URLS, and the
  changed reference to specification.
2021-07-21 17:21:27 -04:00
Jim Derry d79fe9f1eb
Merge pull request #976 from htacg/spelling_fixes
Spelling fixes, thanks to @jschleus.
2021-07-21 15:59:15 -04:00
Jim Derry 1bb72d6041 Spelling fixes, thanks to @jschleus. 2021-07-21 15:50:53 -04:00
Jim Derry 63c243f223
Update README.md 2021-07-21 15:12:33 -04:00
Jim Derry 168d09a0a8 Update proper ref to external repository. 2021-07-21 14:09:46 -04:00
Jim Derry 3bec3ea1f1 Updated automated build tools.
- The macOS package wasn't working, so remove it from the matrix build.

- Provide a macOS dedicated build script which builds a nice DMG and notarizes
  it.

- Binaries can be added to any existing tag, thus avoiding the issue of deleting
  and recreating a tag, which is a bad thing to do. Note that existing binaries
  won't be overridden, so delete whatever's already there first if you need to
  add new binaries.
2021-07-21 13:21:54 -04:00
Jim Derry a4f4edb106
Update publish_binaries.yml
Don't escape the slash, because it's not consistent across platforms.
2021-07-17 08:48:59 -04:00
Jim Derry c5f4c0d34b
Update publish_binaries.yml 2021-07-17 08:38:34 -04:00
Jim Derry 7f4394590e
Update publish_binaries.yml
Ensure the date format is the same as we use on the binaries page.
2021-07-17 08:34:08 -04:00
Jim Derry 408ac93195 Merge branch 'master' into next 2021-07-16 19:53:34 -04:00
Jim Derry 1ca37471b4 Merging gitignore; no version bump. 2021-07-16 19:45:24 -04:00
Jim Derry 81b7fe3251 Merging changes from Next. These do not affect the binary, so no version bump. 2021-07-16 19:42:23 -04:00
Jim Derry 7fd11fc9f2
Merge pull request #972 from balthisar/next
Build Files When Releasing
2021-07-16 17:11:10 -04:00
Jim Derry 9a6b1d09cc
Add files via upload 2021-07-16 16:52:20 -04:00
Jim Derry ed3ba3f48f - Improve package naming for macOS installer to eliminate semicolon from filename if multiple arches.
- Fix gitignore to ensure we don't add binary packages by mistake.
- Use better README files for macOS packages.
2021-07-16 16:39:45 -04:00
Jim Derry 7961be11ed Improve macOS and Linux package naming. 2021-07-16 15:44:53 -04:00
Jim Derry 47221924f6
Merge pull request #971 from htacg/update_test_repo
Don't pull test from personal repo.
2021-07-14 15:10:09 -04:00
Jim Derry 1e1064dfab Don't pull test from personal repo. 2021-07-14 14:38:12 -04:00
Jim Derry e03fee5e73
Merge pull request #970 from balthisar/next
Create api_test.yml
2021-07-14 11:31:06 -04:00
Jim Derry 8b4a06df76 Create api_test.yml
Perform LibTidy API testing upon PR's or pushes.
2021-07-14 11:19:47 -04:00
Jim Derry 1ef183a01e Add support for Clang modules.
Bump version for API tracking.
2021-07-13 19:43:40 -04:00