summaryrefslogtreecommitdiff
path: root/build
Commit message (Collapse)AuthorAgeFilesLines
* Don't check executabilityNikita Popov2021-03-161-1/+1
| | | | | As $(PHP) is not an absolute path, test -x doesn't do anything meaningful. Rely on the autoconf check.
* Check for php program in autoconfNikita Popov2021-03-162-8/+26
| | | | | Use the detected PHP (minimum 7.1) to run gen_stubs, and other code generation scripts in the future.
* Merge branch 'PHP-8.0'Nikita Popov2021-02-171-1/+1
|\ | | | | | | | | * PHP-8.0: Remove generated zend_jit_x86.c on `make clean`
| * Remove generated zend_jit_x86.c on `make clean`Dylan T2021-02-171-1/+1
| | | | | | | | | | | | | | | | Not removing this causes build failure when reconfiguring and rebuilding after a `make clean`, e.g. enabling/disabling ZTS. This makes https://bugs.php.net/bug.php?id=80561 more bearable. Ideally it would be rebuilt automatically on configuration change if necessary, but I have no idea how to implement this. Closes GH-6702.
| * Properly render 2+ namespaces functions in build/gen_stub.phpTyson Andre2021-02-061-1/+2
| | | | | | | | | | | | | | | | Affects ZEND_NS_FE Add test cases of the global function Backported to php 8.0 from GH-6664
* | Add support for generating properties with union type of multiple classesMáté Kocsis2021-02-161-8/+22
| | | | | | | | Closes GH-6701
* | Generate class entries from stubs for ldap, libxml, mbstring and mysqliMáté Kocsis2021-02-161-2/+3
| | | | | | | | Closes GH-6684
* | Improve class entry generationMáté Kocsis2021-02-161-4/+4
| | | | | | | | Related to GH-6701
* | Add dependency tracking for header filesFlorian Sowade2021-02-162-5/+5
| | | | | | | | | | | | | | This ensures all .c files which include a header file directly or indirectly are rebuilt whenever the header file is changed. Closes GH-6693.
* | Implicitly enable function entry generation when class entry generation is ↵Máté Kocsis2021-02-091-1/+3
| | | | | | | | | | | | enabled Closes GH-6675
* | Properly render 2+ namespaces functions in build/gen_stub.phpTyson Andre2021-02-061-2/+3
| | | | | | | | | | | | | | | | Affects both INIT_NS_CLASS_ENTRY and ZEND_NS_FE Add test cases of the global function and namespaced values Closes GH-6664
* | Add support for generating class entries from stubsMáté Kocsis2021-01-261-22/+473
| | | | | | | | | | | | Closes GH-6289 Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
* | gen_stub: Also verify implementation-aliasNikita Popov2021-01-191-1/+1
| | | | | | | | | | | | | | | | This makes --verify also check @implementation-alias. Failures are ignored using @no-verify instead. Some mistakes have been made that would have been caught by this... Closes GH-6615.
* | gen_stub: Don't use $aliasMap during verificationNikita Popov2021-01-181-1/+6
| | | | | | | | | | | | | | | | | | Some functions have multiple aliases, while the $aliasMap can only record one. Methodsynopsis generation probably shouldn't use it either, but at least that case seems to only be interested in whether there is an alias at all.
* | gen_stub: Compare phpdoc return type in --verifyNikita Popov2021-01-181-5/+6
| |
* | gen_stub: Allow additional text after @returnNikita Popov2021-01-181-1/+1
| | | | | | | | In case the stub file also contains documentation.
* | gen_stub: Automatically add function name to exceptionsNikita Popov2021-01-181-106/+109
| | | | | | | | | | This makes sure that it's present even on exceptions from deeper down the stack, where we can't add it manually.
* | Merge branch 'PHP-8.0'Nikita Popov2021-01-121-26/+34
|\ \ | |/ | | | | | | * PHP-8.0: Add support for union types for internal functions
| * Add support for union types for internal functionsNikita Popov2021-01-121-26/+34
| | | | | | | | | | | | | | | | | | This closes the last hole in the supported types for internal function arginfo types. It's now possible to represent unions of multiple classes. This is done by storing them as TypeA|TypeB and PHP will then convert this into an appropriate union type list. Closes GH-6581.
* | Merge branch 'PHP-8.0'Máté Kocsis2020-12-301-2/+2
|\ \ | |/
| * Fix refentry attribute replacingMáté Kocsis2020-12-301-2/+2
| |
* | Merge branch 'PHP-8.0'Máté Kocsis2020-12-281-45/+560
|\ \ | |/
| * Add support for generating methodsynopses from stubsMáté Kocsis2020-12-281-45/+560
| | | | | | | | Closes GH-6367
* | Merge branch 'PHP-8.0'Nikita Popov2020-11-261-1/+1
|\ \ | |/ | | | | | | * PHP-8.0: Fix bug #80402: Don't strip -lpthread
| * Merge branch 'PHP-7.4' into PHP-8.0Nikita Popov2020-11-261-1/+1
| |\ | | | | | | | | | | | | * PHP-7.4: Fix bug #80402: Don't strip -lpthread
| | * Fix bug #80402: Don't strip -lpthreadNikita Popov2020-11-261-1/+1
| | | | | | | | | | | | | | | | | | | | | The current behavior has been introduced 20 years ago in f9e375f493a1aeacbbcc8f2f00880d05b4ba7aaf as part of a larger change. It's not clear to me why special treatement of -lpthread is necessary here.
* | | Merge branch 'PHP-8.0'Nikita Popov2020-11-241-3/+3
|\ \ \ | |/ / | | | | | | | | | * PHP-8.0: Fixed bug #80393
| * | Merge branch 'PHP-7.4' into PHP-8.0Nikita Popov2020-11-241-3/+3
| |\ \ | | |/ | | | | | | | | | * PHP-7.4: Fixed bug #80393
| | * Fixed bug #80393Nikita Popov2020-11-241-3/+3
| | | | | | | | | | | | | | | | | | Handle macos versions that don't start with 10.* in libtool. Patch by kir dot morozov at gmail dot com.
* | | Merge branch 'PHP-8.0'Nikita Popov2020-11-091-2/+0
|\ \ \ | |/ / | | | | | | | | | * PHP-8.0: Use true/false instead of TRUE/FALSE in intl
| * | Use true/false instead of TRUE/FALSE in intlNikita Popov2020-11-091-2/+0
| | | | | | | | | | | | And drop the U_DEFINE_TRUE_AND_FALSE flag.
* | | Merge branch 'PHP-8.0'Nikita Popov2020-11-091-0/+2
|\ \ \ | |/ / | | | | | | | | | * PHP-8.0: Fixed bug #80310: Support for icu4c 68.1.
| * | Merge branch 'PHP-7.4' into PHP-8.0Nikita Popov2020-11-091-0/+2
| |\ \ | | |/ | | | | | | | | | * PHP-7.4: Fixed bug #80310: Support for icu4c 68.1.
| | * Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2020-11-091-0/+2
| | |\ | | | | | | | | | | | | | | | | * PHP-7.3: Fixed bug #80310: Support for icu4c 68.1.
* | | \ Merge branch 'PHP-8.0'Nikita Popov2020-11-031-1/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-8.0: Fix another implicit function declaration in configure
| * | | Merge branch 'PHP-7.4' into PHP-8.0Nikita Popov2020-11-031-1/+1
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-7.4: Fix another implicit function declaration in configure
| | * | Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2020-11-031-5/+1
| | |\ \ | | | |/ | | | | | | | | | | | | * PHP-7.3: Fix another implicit function declaration in configure
| | | * Fix another implicit function declaration in configureNikita Popov2020-11-031-5/+1
| | | | | | | | | | | | | | | | | | | | As mentioned on bug #80171. This one is in libtool.m4, might get lost on libtool updates.
* | | | Bump minimal OpenSSL version to 1.0.2Jakub Zelenka2020-11-011-1/+1
|/ / /
* | | Fix parameter stats generationNikita Popov2020-10-261-1/+1
| | | | | | | | | | | | [ci skip]
* | | Require stubs to declare return types for magic methods when possibleMáté Kocsis2020-10-231-9/+9
| | | | | | | | | | | | Closes GH-6376
* | | Verify parameter names of function aliasesMáté Kocsis2020-10-161-26/+185
| | | | | | | | | | | | Closes GH-6335
* | | Avoid namespaced class symbol clashes in gen_stubNikita Popov2020-10-071-30/+52
| | | | | | | | | | | | | | | Add the namespace prefix (using underscores) to both the arginfo name and the method declaration name.
* | | Support "static" type in gen_stubNikita Popov2020-10-071-0/+9
| | |
* | | Add @generate-legacy-arginfo tagNikita Popov2020-10-051-1/+5
| | |
* | | Improve gen_stub.php - drop --legacy option, generate file is exists - add ↵Remi Collet2020-10-051-9/+19
| | | | | | | | | | | | --help option - add debug "Saved ..." message
* | | Merge branch 'PHP-7.4'Nikita Popov2020-10-051-10/+10
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: Fix -Wimplicit-function-declaration in configure
| * | Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2020-10-051-13/+13
| |\ \ | | |/ | | | | | | | | | * PHP-7.3: Fix -Wimplicit-function-declaration in configure
| * | Use standard types in fopencookie testNikita Popov2020-08-051-4/+4
| | | | | | | | | | | | | | | Instead of internal __size_t / __off64_t types use ssize_t and off64_t. This makes it work on musl as well.
* | | Support specifying linkage for generate-function-entriesNikita Popov2020-10-021-5/+10
| | | | | | | | | | | | | | | The linkage can be specified as the argument to the @generate-function-entries tag. Test this on zend_test.