| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Related to GH-6701
|
|
|
|
| |
Closes GH-6696
|
|
|
|
| |
Instead use standard true/false.
|
|
|
|
|
|
|
| |
We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.
Of course, zend_bool is retained as an alias.
|
|
|
|
|
|
|
| |
This static function is not supposed to deal with arbitrary
`node_type`s, so there is no need to do so.
Closes GH-6467.
|
| |
|
|\
| |
| |
| |
| | |
* PHP-7.4:
Fix #77594: ob_tidyhandler is never reset
|
| |
| |
| |
| |
| |
| | |
We reset to original INI value on request shutdown.
Closes GH-6425.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Don't crash on uninitialized tidy object
|
| |\
| | |
| | |
| | |
| | | |
* PHP-7.3:
Don't crash on uninitialized tidy object
|
| | |
| | |
| | |
| | |
| | |
| | | |
"Uninitialized" here means that the object was created ordinarily
-- no constructor skipping involved. Most tidy methods seem to
handle this fine, but these three need to be guarded.
|
| | |
| | |
| | |
| | | |
Closes GH-6335
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix #77040: tidyNode::isHtml() is completely broken
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.3:
Fix #77040: tidyNode::isHtml() is completely broken
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The documentation of `tidyNode::isHtml()` states that this method
"checks if a node is part of a HTML document". That is, of course,
nonsense, since a tidyNode is "an HTML node in an HTML file, as
detected by tidy."
What this method is actually supposed to do is to check whether a node
is an element (unless it is the root element). This has been broken by
commit d8eeb8e[1], which assumed that `enum TidyNodeType` would
represent flags of a bitmask, what it does not.
[1] <http://git.php.net/?p=php-src.git;a=commit;h=d8eeb8e28673236bca3f066ded75037a5bdf6378>
Closes GH-6290.
|
| | |
| | |
| | |
| | | |
Closes GH-6283.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
They will now follow the canonical order of types. Older macros are
left intact due to maintaining BC.
Closes GH-6112
|
| | |
| | |
| | |
| | | |
Closes GH-6075
|
| | |
| | |
| | |
| | | |
Closes GH-6005
|
| | |
| | |
| | |
| | | |
Closes GH-6051
|
| | |
| | |
| | |
| | | |
Closes GH-5902
|
| | |
| | |
| | |
| | | |
Closes GH-5590
|
| | |
| | |
| | |
| | | |
Closes GH-5758
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The hash is used to check whether the arginfo file needs to be
regenerated. PHP-Parser will only be downloaded if this is actually
necessary.
This ensures that release artifacts will never try to regenerate
stubs and thus fetch PHP-Parser, as long as you do not modify any
files.
Closes GH-5739.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
This is an issue in the provided library and needs to be fixed upstream.
|
| | |
| | |
| | |
| | |
| | | |
Migrates ext/standard, ext/tidy, ext/tokenizer,
ext/xml, ext/xml_reader, and ext/xml_writer. Closes GH-5381.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Closes GH-5353. From now on, PHP will have reflection information
about default values of parameters of internal functions.
Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
|
| | |
| | |
| | |
| | | |
This reverts commit c31029f335ca1b453af799805c43c37e959ad555.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Except for some bigger ones: reflection, sodium, spl
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Closes GH-4732.
|
| | |
| | |
| | |
| | | |
No need to return FALSE.
|
| | |
| | |
| | |
| | | |
Cf. 5356bad8c66d9df437c5136d02f6654a5b56b2b9.
|
| | |
| | |
| | |
| | |
| | | |
The `$use_include_path` parameter doesn't make sense for
`tidy_repair_string()`, and actually unused, so we remove it.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
`zend_parse_method_parameters()` is meant for dual (procedural and OO)
APIs; there is no need to attempt to get "this" first, and to dispatch
to `zend_parse_parameters()` and `zend_parse_method_parameters()`,
respectively.
|
|\ \ \
| |/ / |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Normalize comments in *nix build system m4 files
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Normalization include:
- Use dnl for everything that can be ommitted when configure is built in
favor of the shell comment character # which is visible in the output.
- Line length normalized to 80 columns
- Dots for most of the one line sentences
- Macro definitions include similar pattern header comments now
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Replace dirname(__FILE__) by __DIR__ in tests
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Add AS_HELP_STRING to *nix build configure options
|