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

1537 Commits

Author SHA1 Message Date
Anatol Belski
b8f75e75f6 sync with the incremental and inter-file analysis option
available as of cppcheck 1.77
2017-03-07 15:27:57 +01:00
Anatol Belski
0ceedea2cc Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
  Support run or test target invoked within debugger
2017-02-24 19:41:30 +01:00
Anatol Belski
9450e23b32 Support run or test target invoked within debugger
Useful, as it gets all the environment produced by the makefile. For the
test target, it might make sense to have the child process debug plugin
for VS installed.
2017-02-24 19:37:16 +01:00
Anatol Belski
bf2627e58c add missing datatype as sync for 5113909 2017-02-11 14:51:15 +01:00
Anatol Belski
ba358c5695 Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
  fix possible NULL dereference
2017-02-01 13:45:45 +01:00
Anatol Belski
8dfa428ccd fix possible NULL dereference 2017-02-01 13:43:33 +01:00
Anatol Belski
5a7fe51235 Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
  remove unused var
  use zend_string API
  Fixed bug #74005 mail.add_x_header causes RFC-breaking lone line feed
2017-02-01 12:57:02 +01:00
Anatol Belski
15404bda13 remove unused var 2017-02-01 12:49:32 +01:00
Anatol Belski
2cd0d8b711 use zend_string API 2017-02-01 12:45:19 +01:00
Anatol Belski
ec43a11581 Fixed bug #74005 mail.add_x_header causes RFC-breaking lone line feed 2017-02-01 12:36:14 +01:00
Anatol Belski
d5f00717bf Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
  add a primitive debug facility to sendmail
2017-01-31 18:28:29 +01:00
Anatol Belski
163bb87897 add a primitive debug facility to sendmail 2017-01-31 18:25:36 +01:00
Anatol Belski
ec78507bd4 dirname() should not normalize paths
This is the BC piece with the case where dirname() is used with an URL.
2017-01-24 17:56:00 +01:00
Anatol Belski
d454730407 improve and generalize the recognition of a cli sapi 2017-01-08 23:54:58 +01:00
Anatol Belski
df1e1fdcb9 implement basic config support for OpenSSL 1.1.x 2017-01-08 00:25:46 +01:00
Anatol Belski
22ed374c9a Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
  /guard is also a security flag
2017-01-07 02:48:14 +01:00
Anatol Belski
f98d8f6c15 /guard is also a security flag 2017-01-07 02:25:00 +01:00
Sammy Kaye Powers
dac6c639bb Update copyright headers to 2017 2017-01-04 11:23:42 -06:00
Sammy Kaye Powers
478f119ab9 Update copyright headers to 2017 2017-01-04 11:14:55 -06:00
Anatol Belski
6ffa1d256f add folds 2016-12-21 17:59:45 +01:00
Anatol Belski
637436628a fix possible null dereference 2016-12-21 17:58:34 +01:00
Anatol Belski
21e2836473 deliver the real cp also if a constant is passed 2016-12-20 02:40:44 +01:00
Anatol Belski
b91d7f186a chance CLI codepage, only when SAPI is initialized
This finally solves issues with DBSC console codepages, and in
general improves the console codepage switching. When
module_initialized, all the possible encoding INI settings with
regard to possible modifications are set, and that's the
right moment to switch the console codepage in regard to I/O.
CJK glyphs might take more than 1 cell, so then  visual issues
can occur, when switching console codepage back and forth. Users
are free to use ini_set(), but any visual issues are then up to
the user responsibility.
2016-12-16 16:49:18 +01:00
Anatol Belski
e33ec61f9c Care about intput and output encoding, as per default encoding RFC
If PHP CLI is used with programs with no Unicode support, the default
PHP console codepage might cause backward incompatible behaviors. This
is solved with this patch by separating the handling of I/O codepage.
As per https://wiki.php.net/rfc/default_encoding input_encodnig and
output_encoding are centralized INI settings, so they're used for the
purpose of adjusting the codepage. This gives user the ability to use
UTF-8 internally, while letting the system API to convert the output
to a compatible codepage. This also might solve the font issues on
systems without good true type support.

Note, that there no change to the default behavior - if input and
output encoding are not set, which is the default case, the default
charset applies to both console input and output. The patch is just
a compilment to the backward compatibility, not more and not less.
2016-12-14 02:51:29 +01:00
Anatol Belski
8b82e2c2fe extend errno mapping 2016-12-10 11:17:07 +01:00
Anatol Belski
1208acfa1b Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
  update libs_versions.txt
  update libs versions.txt
2016-11-22 12:44:06 +01:00
Anatol Belski
13c45021dc update libs_versions.txt 2016-11-22 12:42:57 +01:00
Anatol Belski
828f866e47 Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
  don't fail miserably, when an unknown vc version is used
2016-11-18 18:21:28 +01:00
Anatol Belski
5b9d7160c5 don't fail miserably, when an unknown vc version is used 2016-11-18 18:19:47 +01:00
Anatol Belski
8806c54b00 Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
  add vc15 to the list
2016-11-17 23:46:49 +01:00
Anatol Belski
5008acd1f6 add vc15 to the list 2016-11-17 23:43:32 +01:00
Anatol Belski
8486e045db Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
  fix erroneous line in confutils.js
2016-11-12 02:38:33 +01:00
Stricted
81fed37784 fix erroneous line in confutils.js 2016-11-12 02:35:41 +01:00
Anatol Belski
86ae78d7c6 Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
  rename the tmp ini file, to keep it consistent with m4 variant
2016-11-04 18:43:56 +01:00
Anatol Belski
cf4f168d4c rename the tmp ini file, to keep it consistent with m4 variant 2016-11-04 18:42:36 +01:00
Anatol Belski
d7608d0d69 Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
  add run target
2016-11-01 14:02:04 +01:00
Anatol Belski
197def7233 add run target
With this it is possible to run some code with the currently compiled
PHP and all the required environment included.
2016-11-01 13:50:46 +01:00
Anatol Belski
5c793bf2ac Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
  prefer symbols read from the bin to those matching the naming scheme
2016-10-30 21:27:35 +01:00
Anatol Belski
4b472b0763 prefer symbols read from the bin to those matching the naming scheme 2016-10-30 21:26:19 +01:00
Anatol Belski
73afc03679 Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
  remove debug out
2016-10-30 21:13:55 +01:00
Anatol Belski
4dfd7de974 remove debug out 2016-10-30 21:12:50 +01:00
Anatol Belski
12571e4cfe Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
  fix link with deps pdb availability
2016-10-30 21:07:20 +01:00
Anatol Belski
c5a4a6f1f2 fix link with deps pdb availability
Unlike debugger, linker is currently not able to read the pdb files,
even if they're put onto path. As result, a lot of LNK4099 warnings
and in some cases also missing debug information in the end binaries.
This is solved by copying the relevant pdb into the build dir, which
then can be picked up on link time. This also leads to the inclusion
of those pdb files into the debug package, so symbols won't be missed
in crash dumps. As otherwise the debug info for dependencies is only
contained in the dependency packages.
2016-10-30 20:55:38 +01:00
Anatol Belski
d23aa74f07 Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
  use rather the makefile var
  rename the env setting target and reuse it for build-snap
2016-10-30 15:30:17 +01:00
Anatol Belski
cdea5eb941 use rather the makefile var 2016-10-30 15:29:13 +01:00
Anatol Belski
78a164bad5 rename the env setting target and reuse it for build-snap 2016-10-30 15:22:45 +01:00
Anatol Belski
87cb91ea7c Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
  fix condition
2016-10-29 17:57:33 +02:00
Anatol Belski
c7ec36d4fa fix condition 2016-10-29 17:54:26 +02:00
Anatol Belski
8e4ea7a188 Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
  fix test run with autogenerated ini
2016-10-29 03:18:19 +02:00
Anatol Belski
ddbcb2084a fix test run with autogenerated ini 2016-10-29 03:17:29 +02:00