| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Closes GH-5374
|
|
|
|
|
|
|
|
|
|
|
|
| |
For whatever reason, php 8 would not have loaded the subsequent classes when
running `php build/gen_stub.php path/to/filename.php`.
I assume it didn't load the classes immediately because there's a possibility
the code before it would throw.
(Probably because __toString was added recently and prevents early binding)
Also, fix a typo
Closes GH-5369
|
|
|
|
| |
Closes GH-5368
|
|
|
|
| |
Closes GH-5363
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
| |
Closes GH-5350
Add support for generating deprecated function entries, as well as forward declaration
of function aliases.
|
| |
|
| |
|
|
|
|
| |
We'll need this if we want to generate method entries.
|
|
|
|
|
|
|
| |
If @generate-function-entries is specified in the stub file,
also generate function entries for the extension.
Currently limited to free functions only.
|
| |
|
|
|
|
| |
of it, and thus extension can use it as it is already in Makefile
|
| |
|
|
|
|
| |
makefile.global is also used while building shared extension
|
| |
|
|\
| |
| |
| |
| | |
* PHP-7.4:
Update bundled stdxx check macros
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
First, fix 5547d361208d90e12d53bb62bb2ffbbff9b93ca0: the definition of
YFLAGS was not passed into the Makefile: AC_SUBST does not suffice, we
need PHP_SUBST_OLD. While at it, allow to pass variable and value at
the same time.
Then pass -Wall to bison, rather than only -Wempty-rules.
Use %precedence where associativity is useless.
Remove useless %precedence.
GH-5138
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The annotation %empty is properly enforced: warnings when it's
missing, and errors when it's inappropriate. Support for %empty was
introduced in Bison 3.0.
Pass -Wempty-rule to Bison.
Closes GH-5134
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Fix bug #79112: IMAP can't find OpenSSL during configure
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Remove the check of PHP_OPENSSL inside SETUP_OPENSSL. It's the
responsibility of the caller to determine whether they want to
enable openssl or not. This makes SSL detection in IMAP work,
which uses a different option.
Additionally also clarify that --with-openssl-dir cannot actually
be used to specify an OpenSSL directory -- these options just
serve as a way to enable OpenSSL in extensions without also
enabling the OpenSSL extension. They need to be renamed to
something clearer in master.
Closes GH-5091.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Revert "Remove configure checks for supported instruction sets"
|
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit edccf32f7f36a8bc759b9482737e0c3efcb3a005.
This was reported to cause issues for as yet unknown reasons in
bug #78769. As this was intended as code cleanup, revert this from
7.4 at least. May reapply it to master later.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Remove configure checks for supported instruction sets
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These were checking whether the instruction set is supported by
the host CPU, however they were only used to condition on whether
this instruction set is targeted at all. It would still use dynamic
dispatch (e.g. based on ifunc resolvers) to select the actual
implementation. Whether the target is guaranteed to support the
instruction set without dispatch is determined based on pre-defined
macros like __SSE2__.
This removes the configure-time builtin cpu checks to remove
confusion. Additionally this allows targeting an architecture that
is newer than the host architecture.
|
| |
| |
| |
| | |
The major version number is no longer included.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Add "-pthread" to EXTRA_LDFLAGS_PROGRAM as well
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Add an Azure Publish Code Coverage Results task
* Add `make gcovr-html` to generate a gcovr test coverage report in HTML
* Add `make gcovr-xml` to generate a gcovr test coverage report in XML
* Remove `test` target dependency from `make lcov-html`;
Run the two targets together instead: `make test lcov-html`.
Re: https://github.com/php/php-src/pull/4739#issuecomment-534911441
See: https://externals.io/message/107113,
https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/test/publish-code-coverage-results?view=azure-devops,
and https://github.com/php/php-src/pull/4759.
|
|\ \
| |/ |
|
| |
| |
| |
| |
| | |
gcov builds can also be used with other tools like gcovr, so remove
the hard dependency on LTP.
|
| |
| |
| |
| | |
This reverts commit f633c347574c0d814050b4bf2493e0cac6a5988c.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Fixed bug #78614 (Does not compile with DTRACE anymore)
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Code coverage reports (`make lcov`), since commit eef8522 (7.4 branch),
generates incorrect coverage and emits warnings. Simplifying the
Makefile.gcov file has the side-effect of resolving the issue.
Processing sapi/cli/php_http_parser.gcda
php-src/lcov_data/sapi/cli/php_http_parser.gcda:stamp mismatch with notes file
geninfo: WARNING: gcov did not create any files for php-src/lcov_data/sapi/cli/php_http_parser.gcda!
...
Processing ext/mbstring/mb_gpc.gcda
php-src/lcov_data/ext/mbstring/mb_gpc.gcda:stamp mismatch with notes file
geninfo: WARNING: gcov did not create any files for php-src/lcov_data/ext/mbstring/mb_gpc.gcda!
Closes: https://bugs.php.net/bug.php?id=52718.
See also: https://bugs.php.net/bug.php?id=78288.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Don't buid static libaraies when only DSO required
|
| | |
|
| |
| |
| |
| |
| |
| | |
C99 no longer has implicit function declarations and implicit ints.
Current GCC versions enable them as an extension, but this will
change in a future GCC version.
|
| |
| |
| |
| | |
We need to prefix with $(top_srcdir).
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Signature stubs for internal functions are specified in xyz.stub.php,
from which we generate actual arginfo structures in xyz_arginfo.h.
This file then needs to be included in the implementation appropriately.
Arginfo from stubs can be regenerated using scripts/dev/gen_stub.php.
However, this should also automatically happen when the stub file is
modified.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Remove build.mk usage
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
First step when creating the `configure` script is currently using
make. This is helpful when developing buildsystem to only rebuild
`configure` and `main/php_config.h.in` files when one of the *.m4
or configure.ac file changes and saves the developer time a little.
Realistically however, it is not needed that much considering the
times of several seconds to fully rebuild the configure script and
configuration header. The next step when running the `configure`
script is much more time consuming so performance on buildconf
level is a bit questionable and won't be noticed on today's
systems.
Additionally:
- buildconf now removes cache and all targets and uses -f option on
the first step i.e. autoconf. The autoheader does not need the -f
option in this case.
Closes GH-4437
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Remove duplicate socklen_t check
|
| |
| |
| |
| |
| |
| | |
- Use Autoconf's default AC_CHECK_TYPES
Closes GH-4418
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Refactor undefining PACKAGE_* symbols
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Instead of patching configuration headers template generated by
the given tools - autoheader, this moves patching these symbols to
the configure step before creating and invoking the config.status
and before the configuration header file is generated from the
patched template.
Closes GH-4374
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Refactor genif.sh
|