Commit graph

505 commits

Author SHA1 Message Date
Ionel Roiban 91885af638 Merge pull request #236 from skynet/master
Add PHP support section
2015-08-15 19:03:56 -04:00
Ionel Roiban e2e2cde2ed Add PHP support section 2015-08-09 14:15:36 -04:00
Geoff McLane 54130dce48 Default to no DLL if WIN32, 64-bit build 2015-07-15 19:29:53 +02:00
Geoff McLane 33494a4aea Bump version for #158 fix by PR #229 2015-07-14 11:27:15 +02:00
Geoff McLane 2c886155d0 Merge pull request #229 from camoy/master
Fix #158 - remove inserted newlines in pre

It seems this does fix this specific issue... thanks...

See #228 for some other comments on this...
2015-07-14 11:24:59 +02:00
Cameron Moy d50391a984 Fix #158 - remove inserted newlines in pre 2015-07-13 16:31:52 -04:00
Geoff McLane 97c7065177 Remove RC_NUMBER from development master branch 2015-07-13 12:42:19 +02:00
Geoff McLane 7f9df1c746 Issue #226 - bump version on API extension 2015-07-13 12:18:10 +02:00
Geoff McLane 3fccc15ae8 Merge pull request #226 from flok99/master
Added methods for delete-ing nodes and/or attributes. #226
2015-07-13 12:15:52 +02:00
Geoff McLane 0d02731679 Add development and release branch meaning 2015-07-13 03:08:24 +02:00
Geoff McLane 2da67a2bbc Bump version to 5.1.0, after 5.0.0 release.
As per the chosen versioning system, this immediately becomes 5.1.0, the
master development stream - hopefully ALWAYS stable - with improvements of
all types...

Should any bug fix be interesting for 5.0.0 release, this change would be
push to the release/5.0.0 branch, making it version 5.0.1... or 5.0.0RC2
if still in the RC stage of release...
2015-07-13 02:17:08 +02:00
Folkert van Heusden 784c7d7f79 Added methods for deleteing nodes and/or attributes.
This is useful when e.g. writing an HTML cleaner.
2015-07-12 18:34:35 +00:00
Geoff McLane f450263d43 Update vershist.log 2015-07-01 15:57:50 +02:00
Geoff McLane 9736aa8af8 Adjust batch files for 'tidy5' to 'tidy' 2015-07-01 15:50:19 +02:00
Geoff R. McLane 8d70783a63 clean up the new names 2015-07-01 12:08:49 +02:00
Geoff R. McLane 1b461ec624 ignore gcc built items 2015-06-30 20:18:14 +02:00
Geoff McLane 1e70fc6f15 Rename two headers. Issues #224 #223 #221
But this seemed a good time to release 5.0.0.RC1...
2015-06-30 20:06:02 +02:00
Geoff McLane daef037156 Bump version of #207 change 2015-06-24 13:12:31 +02:00
Geoff McLane 3a524f1710 Issue #207 - deal with 2 cases of an unambiguous ampersand.
html5 allows a naked ampersand unquoted, and now tidy will not issue a
warning. This only deals with a & b, and P&<li>O</li>

More may need to be done for other cases.
2015-06-24 13:10:27 +02:00
Geoff McLane b65988c95a Bump version for #215 fix 2015-06-21 19:50:56 +02:00
Geoff McLane 3aa50740da Issue #215 - only issue warning if NOT HTML5 mode 2015-06-21 19:49:44 +02:00
Geoff McLane 0b0eb32843 Begin adding some doxygen syntax for next API doc gen 2015-06-09 20:06:39 +02:00
Geoff McLane e71bda718f Add TIDY_CALL to tidyLibraryVersion func. 2015-06-09 20:04:49 +02:00
Geoff R. McLane c7aca7ec83 Seems REPEAT_BRIEF = YES is a better goxygen.cfg 2015-06-09 16:13:01 +02:00
Geoff McLane b60d82d766 Update verhist.log 2015-06-09 15:33:50 +02:00
Geoff McLane 016f538d93 Add usual NOPAUSE option to pub-bins.bat files 2015-06-09 15:27:26 +02:00
Geoff McLane 7b7fbce9ab #190 & #148 - Bump to version 4.9.35, and add a date 2015-06-09 12:32:26 +02:00
Geoff McLane 250ce1c6d0 Issue #190 & #148 - Restore tidyReleaseDate() function.
There was an idea to mark this function deprecated, such that if used the
developer would see a warning. But this was never implemented in a cross
platform way.

So for now revert to circa Jan 2015 when Jim added a build date to the
version.txt file. And now both LIBTIDY_VERSION and RELEASE_DATE macros are
established in CMakeLists.txt, and picked up in version.h.

The idea is the date will now march forward with the version number, side
by side in version.txt. Although have left tidy.c only emitting the
version on the --version command.

After this function has been marked deprecated for several release periods,
only then should consideration be given to potentially removing it.
2015-06-09 12:29:51 +02:00
Geoff McLane bea5bb700f Issue #218 - bump version for this fix 2015-06-08 13:53:38 +02:00
Geoff McLane 18880eab55 Issue #218 - Do NOT allocate a 1 byte null String buffer.
This is when setting a String config value through say tidyOptSetValue
using say tidyOptSetValue(tdoc,id,"").

If the length of the new string is zero then do not allocate a 1 byte
buffer, set it to 0, for the option. Any previous buffer has already been
released.

This means API functions like tidyOptSaveSink will not return erroneous
null String values!
2015-06-08 13:52:00 +02:00
Geoff McLane 3f72b6e335 Issue #210 - Add new warning for summary attr in table if HTML5.
This new warning will only be seen if the document remains in HTML5 mode,
where the summary attribute is obsolete. The W3C validator flags this as
an error, and suggests 'Consider describing the structure of the table in
a caption element or in a figure element containing the table; or simplify
the structure of the table so that no description is needed'.

At the same time this patch also restored the old warning if the document
is HTML4--, if the table element lacks a summary attribute. This has been
a tidy warning since the beginning of time, although the W3C validator
does not presently flag this.
2015-06-06 11:20:35 +02:00
Geoff McLane f67300963e Issue #210 - Bump version for this new warning 2015-06-06 11:06:37 +02:00
Geoff McLane bc6068c447 Add ignore '*.old' to root .gitignore 2015-06-04 20:11:16 +02:00
Geoff R. McLane 8dff34cbdc add convenient pub binaries script 2015-06-04 19:12:25 +02:00
Geoff McLane a1da576946 Add some convenient bats to publish binaries 2015-06-04 18:01:29 +02:00
Geoff McLane 50c213f37a Update verhist.log 2015-06-04 17:42:28 +02:00
Geoff McLane 544f9876cc Issue #212 - bump version for this additional change 2015-06-04 13:21:00 +02:00
Geoff McLane 326f2414fd Issue #212 - Further fix to set MixedContent in some cases.
In certain circumstances a leading space has to be preverved to allow it
to be used to create a text space node to insert before this element to
preserve the view in a browser.

And added a note asking why is ParseTag called with a hardcoded
IgnoreWhitespace when some effort above has set the mode variable to
MixedContent in certain cases, but need to think about this 2nd change.

Also added some MSVC Debug output when this leading text is used to insert
such a created text node before the element just to be reminded of this
special event.
2015-06-04 13:12:05 +02:00
Geoff McLane a278b04a19 Add debug display of text modes.
Note this ONLY effects a MSVC Debug build!
2015-06-04 12:59:02 +02:00
Geoff McLane 0c96ed8af4 Bump version for issue #217 fix 2015-06-03 20:27:01 +02:00
Geoff McLane c18f27a587 Issue #217 - avoid len going negative, ever... 2015-06-03 20:26:03 +02:00
Geoff McLane 0fb7ccdfc6 Add some mem alloc and free debug to chase Issue #217
Such debug is OFF by default, and only added by defining DEBUG_MEMORY. And
is only available for the Debug configuration compiled with MSVC, but this
could be easily extended...
2015-06-03 20:24:41 +02:00
Geoff McLane fc696636e2 Merge branch 'master' of github.com:htacg/tidy-html5 2015-06-02 20:44:28 +02:00
Geoff McLane 944b412fe6 Need extra include if UNICODE is defines 2015-06-02 20:44:00 +02:00
Geoff McLane 5e9eb0b7fd Small fix in platform.h, just for windows (WIN32)
Not sure how this has lasted so long, but I guess there are not too many
users wanting to specifically use the static tidy library.

Now it is possible to define TIDY_STATIC and the TIDY_EXPORT macro will
just be 'external', suitable for linking with the static library, instead
of adding the _imp_ MSVC __declspec( dllimport )...

This fix does not effect other than the WIN32 platform build.
2015-06-02 20:41:11 +02:00
Geoff R. McLane c266d36fad keep a recent gen'ed quickref.html in documentation 2015-06-02 17:15:05 +02:00
Geoff McLane b8bc88522c small fix for indent-with-tabs to have a default xml value 2015-05-25 16:48:39 +02:00
Geoff McLane d9113957d8 Reverse option wording to reflect new default ON 2015-05-25 13:33:32 +02:00
Geoff McLane fb637608fb Fix README.md to show now both shared and static libraries are built 2015-05-25 13:24:50 +02:00
Ionel Roiban e13a535a0c Merge pull request #216 from denji/patch-1
5.0.0
2015-05-24 16:51:31 -04:00