1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 02:33:17 +02:00
Commit Graph

51188 Commits

Author SHA1 Message Date
Peter Kokot 5ba4e55324 Merge branch 'PHP-7.4'
* PHP-7.4:
  Integrate libmbfl docs to README.md and LICENSE
2019-05-11 18:35:38 +02:00
Peter Kokot ab257ed320 Integrate libmbfl docs to README.md and LICENSE
- All credits, license info preserved, only merged together to not have
  to many places to edit.
- Changelogs integrated in the readme since they are not used anymore.
2019-05-11 18:29:30 +02:00
Peter Kokot 5b4514dee8 Merge branch 'PHP-7.4'
* PHP-7.4:
  Convert CRLF to LF in *.wsdl files
2019-05-11 17:17:40 +02:00
Peter Kokot 4e0e0b8152 Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
  Convert CRLF to LF in *.wsdl files
2019-05-11 17:16:50 +02:00
Peter Kokot bec22af8d7 Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
  Convert CRLF to LF in *.wsdl files
2019-05-11 17:15:08 +02:00
Peter Kokot b15bfb9129 Convert CRLF to LF in *.wsdl files
These EOL types are part of different environments and not part of the
tests themselves.
2019-05-11 17:12:28 +02:00
Peter Kokot 4b595655eb Merge branch 'PHP-7.4'
* PHP-7.4:
  Fix comment to match the future zts configuration option
2019-05-11 15:03:27 +02:00
Peter Kokot 8ef2121ee1 Fix comment to match the future zts configuration option 2019-05-11 15:03:17 +02:00
Peter Kokot d3924071c3 Merge branch 'PHP-7.4'
* PHP-7.4:
  Remove ffi README in favour of docs
2019-05-11 14:51:40 +02:00
Peter Kokot 4bfb86cdca Remove ffi README in favour of docs
- https://www.php.net/manual/en/book.ffi.php
- The FFI C parser is mentioned in the CONTRIBUTING.md file
2019-05-11 14:51:14 +02:00
Christoph M. Becker ac0e0c9a90 Merge branch 'PHP-7.4'
* PHP-7.4:
  Prevent race condition
2019-05-11 09:53:07 +02:00
Christoph M. Becker 330d773b3c Prevent race condition
This test may conflict with readdir_variation3.phpt otherwise.
2019-05-11 09:52:19 +02:00
Peter Kokot 9604e2f28f Merge branch 'PHP-7.4'
* PHP-7.4:
  Rename *.jpeg files to *.jpg
2019-05-11 03:28:11 +02:00
Peter Kokot a68e0767b3 Rename *.jpeg files to *.jpg
These file extensions are not part of these tests and *.jpg is more
common.
2019-05-11 03:22:19 +02:00
Peter Kokot a3c88135d4 Merge branch 'PHP-7.4'
* PHP-7.4:
  Remove unused variables
2019-05-10 22:58:29 +02:00
Peter Kokot 313930a36a Remove unused variables 2019-05-10 22:58:14 +02:00
Kalle Sommer Nielsen 7c92eb734f Merge branch 'master' of git.php.net:/php-src 2019-05-10 02:38:38 +03:00
Kalle Sommer Nielsen a2a84af4ed Merge branch 'PHP-7.4' of git.php.net:/php-src into PHP-7.4 2019-05-10 02:38:12 +03:00
Kalle Sommer Nielsen 569e338104 Merge branch 'PHP-7.4'
* PHP-7.4:
  Implemented the gdScatter filter I wrote almost 10 years ago
2019-05-10 02:24:01 +03:00
Kalle Sommer Nielsen bcd11a1dfb Implemented the gdScatter filter I wrote almost 10 years ago
This filter is available as of libgd 2.1.0 which is our bare minimum for
external compilation of ext/gd.

The scatter filter works by iterating over all pixels in the image and
shifting them randomly based on two modifier (`plus` and `sub`) values:

dest_x = (int)(x + ((rand() % (plus - sub)) + sub));
dest_y = (int)(y + ((rand() % (plus - sub)) + sub));

Additionally the scatter filter also supports by only shifting pixels where
the current pixel being iterated is one or more colors, allowing the scatter
filter to only effect solid colors in part of an image.

Note, due to the nature of randomness and implementation, pixels who were
shifted ahead of iteration will be shifted once more and therefore the
bottom right of an image may contain a slight scatter effect due to this.
2019-05-10 02:23:40 +03:00
Peter Kokot 08e7e6ffe6 Merge branch 'PHP-7.4'
* PHP-7.4:
  Remove unused variable
2019-05-10 01:05:24 +02:00
Peter Kokot 1ab3704143 Remove unused variable 2019-05-10 01:05:19 +02:00
Peter Kokot 8fc21d5cd6 Disable checking for library in ext skeleton 2019-05-10 00:21:09 +02:00
Peter Kokot 071acf7b84 Disable checking for library in the ext skeleton 2019-05-10 00:17:54 +02:00
Nikita Popov 167d4bdb62 Merge branch 'PHP-7.4' 2019-05-09 16:05:58 +02:00
Hugh McMaster 0025a39b45 Update the extension template file to use PKG_CHECK_MODULES 2019-05-09 16:05:46 +02:00
Nikita Popov 9f87831470 Merge branch 'PHP-7.4' 2019-05-09 12:36:33 +02:00
Nikita Popov 4b40a46bf1 Merge branch 'PHP-7.3' into PHP-7.4 2019-05-09 12:36:20 +02:00
Nikita Popov 90318fbcbe Merge branch 'PHP-7.2' into PHP-7.3 2019-05-09 12:35:11 +02:00
Nikita Popov 35c80583f0 Fixed bug #75186 2019-05-09 12:33:53 +02:00
Christoph M. Becker 206a3e96a6 Merge branch 'PHP-7.4'
* PHP-7.4:
  Fix log_verbosity_bug.phpt
2019-05-09 12:16:48 +02:00
Christoph M. Becker 9840a11117 Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
  Fix log_verbosity_bug.phpt
2019-05-09 12:16:16 +02:00
Christoph M. Becker e46b3c3e70 Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
  Fix log_verbosity_bug.phpt
2019-05-09 12:15:32 +02:00
Christoph M. Becker e359812ce3 Fix log_verbosity_bug.phpt
This test may fail on Windows due to the file cache fallback.  We
ensure that this will not happen.
2019-05-09 12:15:00 +02:00
Nikita Popov 969f238808 Merge branch 'PHP-7.4' 2019-05-09 12:03:29 +02:00
Nikita Popov 54be40113d Fixed bug #77951
Treat singleton references as non-references in ReflectionReference
and return null for them.
2019-05-09 12:02:16 +02:00
Peter Kokot cae7f4add1 Merge branch 'PHP-7.4'
* PHP-7.4:
  Remove redundant example/test libsodium.php file
2019-05-08 22:00:30 +02:00
Peter Kokot 99b94fbb5c Remove redundant example/test libsodium.php file 2019-05-08 22:00:22 +02:00
Peter Kokot 7554d85eac Merge branch 'PHP-7.4'
* PHP-7.4:
  Remove unused example/test fileinfo.php script
2019-05-08 21:59:02 +02:00
Peter Kokot 71acd7a2f7 Remove unused example/test fileinfo.php script 2019-05-08 21:58:52 +02:00
Peter Kokot ab60bf6dc3 Merge branch 'PHP-7.4'
* PHP-7.4:
  Remove example PHP script from FFI
2019-05-08 21:56:10 +02:00
Peter Kokot 05350e621b Remove example PHP script from FFI
FFI README.md already includes the PHP example with more information.
2019-05-08 21:55:59 +02:00
Nikita Popov be31a9468d Merge branch 'PHP-7.4' 2019-05-08 17:06:34 +02:00
Nikita Popov e4e6820d10 Use fast zpp for ReflectionClass constructor
At this point zpp overhead makes up a significant part of this
function.
2019-05-08 17:06:00 +02:00
Nikita Popov 230d3089b3 Merge branch 'PHP-7.4' 2019-05-08 15:44:29 +02:00
Nikita Popov ee0fc1b5ae Optimize $name/$class property population in reflection
Instead of going through write_property, directly assign to the
respective property slot.
2019-05-08 15:43:42 +02:00
Christoph M. Becker 7647f5401c Merge branch 'PHP-7.4'
* PHP-7.4:
  Deprecate CURLPIPE_HTTP1
2019-05-07 17:05:51 +02:00
Christoph M. Becker 72e1da81b6 Deprecate CURLPIPE_HTTP1
`CURLPIPE_HTTP1` is deprecated and has no effect as of cURL 7.62.0[1].
We therefore deprecate the PHP constant as well, and trigger a warning
that it is no longer supported, if used against cURL 7.62.0 and up.

[1] <https://curl.haxx.se/libcurl/c/CURLMOPT_PIPELINING.html>
2019-05-07 17:05:07 +02:00
Nikita Popov 9702e2332f Merge branch 'PHP-7.4' 2019-05-07 15:44:39 +02:00
Nikita Popov 645ebcdfbf Avoid some maybe uninitialized warnings in ffi
All false positives.
2019-05-07 15:44:22 +02:00