Anatol Belski
7dcfa839c9
Remove inappropriate FreeLibrary call
2018-06-11 13:49:42 +02:00
Kalle Sommer Nielsen
dd494a83db
The ZEND_EXTENSION change is merged with xdebug now so we can drop this for master only
2018-06-11 13:34:20 +02:00
Peter Kokot
24e1ae0e90
Remove some old occurrences of configure.in
...
configure.ac is the recommended file to use instead of the old
configure.in which will be removed in autotools future versions.
2018-06-04 17:59:00 +02:00
Anatol Belski
74be58938c
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Translate correct C++ version with suitable compiler
Fixed bug #76383 (array_map on $GLOBALS returns IS_INDIRECT)
2018-05-28 17:15:22 +02:00
Anatol Belski
d5ee654b71
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Translate correct C++ version with suitable compiler
Fixed bug #76383 (array_map on $GLOBALS returns IS_INDIRECT)
2018-05-28 17:13:55 +02:00
Anatol Belski
5bf8032112
Translate correct C++ version with suitable compiler
2018-05-28 17:12:06 +02:00
Dmitry Stogov
5eb1f92f31
Use zend_string_release_ex() instread of zend_string_release() in places, where we sure about string persistence.
2018-05-28 16:27:12 +03:00
Anatol Belski
1cdf5b7b4b
Allow appending an arbitrary suffix to the packages
2018-05-16 17:10:23 +02:00
Anatol Belski
6fe3bf7831
Merge branch 'PHP-7.2'
...
* PHP-7.2:
[ci skip] Update libs_version.txt
2018-05-06 16:10:42 +02:00
Anatol Belski
b00a5c03e6
[ci skip] Update libs_version.txt
2018-05-06 16:10:10 +02:00
Anatol Belski
978cef04a5
Implement output verbosity seting for nmakefile
2018-04-20 11:19:16 +02:00
Anatol Belski
51172e81aa
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Update libs_versions.txt
2018-03-27 19:47:03 +02:00
Anatol Belski
a492fe213a
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Update libs_versions.txt
2018-03-27 19:46:25 +02:00
Anatol Belski
cdf72523f3
Update libs_versions.txt
2018-03-27 19:44:17 +02:00
Anatol Belski
e9cbd3c4b0
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fix phpize build when DEFINE() is involved
2018-03-26 13:39:30 +02:00
Anatol Belski
35f832a007
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix phpize build when DEFINE() is involved
2018-03-26 13:38:55 +02:00
Anatol Belski
5b2c30d7e6
Fix phpize build when DEFINE() is involved
2018-03-26 13:33:55 +02:00
Anatol Belski
4be28e3f8e
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Sync version for VC++ 15.7
2018-03-25 13:00:48 +02:00
Anatol Belski
86aecd8801
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Sync version for VC++ 15.7
2018-03-25 12:59:59 +02:00
Anatol Belski
84f565ec71
Sync version for VC++ 15.7
2018-03-25 12:59:15 +02:00
Anatol Belski
178549b2b0
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Provide core includes for the resource compiler by default
2018-03-12 14:16:59 +01:00
Anatol Belski
fc09d7e76f
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Provide core includes for the resource compiler by default
2018-03-12 14:16:08 +01:00
Anatol Belski
4dd1be2079
Provide core includes for the resource compiler by default
2018-03-12 14:14:34 +01:00
Anatol Belski
5cd3b19fc8
Enable more asan checks
2018-03-11 23:08:27 +01:00
Anatol Belski
754be224d2
Fix clang build and analyze with SIMD enabled
2018-03-11 23:08:27 +01:00
Anatol Belski
b7940d368f
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Exclude /Qspectre for clang analyzer
2018-03-07 15:23:39 +01:00
Anatol Belski
2d660dd630
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Exclude /Qspectre for clang analyzer
2018-03-07 15:23:03 +01:00
Anatol Belski
00bfc6eb49
Exclude /Qspectre for clang analyzer
2018-03-07 12:34:16 +01:00
Anatol Belski
10549ac62d
Fix empty value
2018-03-02 23:10:02 +01:00
Anatol Belski
c7dc6cc66b
Reflect native instruction set in snap filename
2018-03-02 20:39:41 +01:00
Anatol Belski
fd5a635225
Add intrinsics info to configure output
2018-03-02 18:12:14 +01:00
Anatol Belski
1648bfa3ce
Improve help message
2018-03-01 15:37:56 +01:00
Anatol Belski
42022bc943
Constify readonly var
2018-02-27 20:50:37 +01:00
Anatol Belski
dfcbc2c32b
Sync --enable-native-intrinsics to pecl
2018-02-20 17:33:58 +01:00
Anatol Belski
a08c0db2df
Merge branch 'PHP-7.2'
...
* PHP-7.2:
dos2unix
2018-02-20 08:00:55 +01:00
Anatol Belski
ea0355632d
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
dos2unix
2018-02-20 08:00:08 +01:00
Anatol Belski
ef04bc4a51
dos2unix
2018-02-20 07:59:34 +01:00
Anatol Belski
d1d228838b
Add basic cppcheck suppressions file
2018-02-19 17:43:49 +01:00
Anatol Belski
668a6d329c
Reduce var scope
2018-02-19 17:43:48 +01:00
Anatol Belski
250df53204
Don't add empty include path
2018-02-19 14:15:33 +01:00
Anatol Belski
34fb5a8585
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Use more jobs with cppcheck
2018-02-19 11:28:13 +01:00
Anatol Belski
fa7c32040c
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Use more jobs with cppcheck
2018-02-19 11:27:42 +01:00
Anatol Belski
08b4f3c745
Use more jobs with cppcheck
2018-02-19 11:27:03 +01:00
Anatol Belski
34833c9d39
Avoid multiple wcslen() calls
2018-02-18 20:30:33 +01:00
Anatol Belski
036a80037b
Avoid multiple wcslen calls
2018-02-18 15:26:33 +01:00
Anatol Belski
a5e532f729
Handle special case when SSE only requested for 32-bit build
2018-02-16 16:51:11 +01:00
Anatol Belski
d9994ff7b2
Rework --with-codegen-arch and --enable-native-intrinsics config
2018-02-16 16:23:27 +01:00
Anatol Belski
9d8417f190
Reduce variable scope
2018-02-15 21:18:58 +01:00
Anatol Belski
d7f65f30a0
Revert "Improve conversion loop"
...
This reverts commit 7a4573a55a
.
Don't read over '\0'.
2018-02-12 22:59:21 +01:00
Anatol Belski
acc55cd34e
Extend intrinsics config with AVX and AVX2
2018-02-12 20:54:27 +01:00
Gabriel Caruso
2d48d734a2
Fix some misspellings
2018-02-06 16:59:00 +01:00
Anatol Belski
dd4afad087
Fix visibility
2018-02-05 20:42:17 +01:00
Anatol Belski
7a4573a55a
Improve conversion loop
2018-02-05 20:42:17 +01:00
Anatol Belski
7416562ab0
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Finer conditions, so /Qspectre is already usable with latest vc15
2018-02-05 10:41:22 +01:00
Anatol Belski
51a0e051fc
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Finer conditions, so /Qspectre is already usable with latest vc15
2018-02-05 10:40:45 +01:00
Anatol Belski
1368aea352
Finer conditions, so /Qspectre is already usable with latest vc15
2018-02-05 10:38:06 +01:00
Anatol Belski
a06cde8236
If the target attribute is available, attach it explicitly
...
The ifunc attribute might be not available as it is binary format
dependent.
2018-02-03 17:18:41 +01:00
Anatol Belski
ff02775331
Use 7za for packaging
...
Better compression, Unicode support and general compatibility.
2018-02-02 18:31:22 +01:00
Anatol Belski
acbd348969
Implement configuration option for explicit native intrinsics
...
It mimics -march=native, AVX and more to go, if needed.
2018-01-29 18:26:03 +01:00
Anatol Belski
b6f66f18ad
Reimplement ASCII conversion using aligned routine
2018-01-24 18:35:40 +01:00
Anatol Belski
957b91b739
Implement SSE2 based ASCII to UTF-16 conversion
...
This also eliminates the INT_MAX length restriction.
2018-01-19 18:00:02 +01:00
Anatol Belski
e9eff0a425
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Add switches for Spectre variant 1 mitigation
2018-01-17 14:48:06 +01:00
Anatol Belski
f0aa379dc1
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Add switches for Spectre variant 1 mitigation
2018-01-17 14:47:39 +01:00
Anatol Belski
043d53c789
Add switches for Spectre variant 1 mitigation
2018-01-17 14:33:08 +01:00
Xinchen Hui
3a3e0493d0
Added ZEND_API zend_cpu_supports
2018-01-16 14:53:00 +08:00
Anatol Belski
3e40f661a3
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Sync for upcoming vc++ 15.6 version raise
2018-01-14 16:43:21 +01:00
Anatol Belski
be0620a2f0
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Sync for upcoming vc++ 15.6 version raise
2018-01-14 16:42:17 +01:00
Anatol Belski
089a3213ae
Sync for upcoming vc++ 15.6 version raise
2018-01-14 16:38:36 +01:00
Kalle Sommer Nielsen
8fe0ee690c
Added a <in deps path> for includes and libs on configure
2018-01-04 08:58:27 +01:00
Gabriel Caruso
c215b8d147
Trailing whitespaces on win32
...
Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
2018-01-04 02:41:26 -02:00
Gabriel Caruso
6400264856
Trailing whitespaces
...
Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
2018-01-03 14:38:00 +01:00
Xinchen Hui
a76eeea736
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Happy new year (Update copyright to 2018)
Conflicts:
ext/phar/LICENSE
2018-01-03 16:02:15 +08:00
Xinchen Hui
0e62639d28
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Happy new year (Update copyright to 2018)
2018-01-03 16:00:34 +08:00
Lior Kaplan
fbfdd1e1c4
Happy new year (Update copyright to 2018)
2018-01-02 23:42:29 +02:00
Xinchen Hui
a6519d0514
year++
2018-01-02 12:57:58 +08:00
Xinchen Hui
7a7ec01a49
year++
2018-01-02 12:55:14 +08:00
Xinchen Hui
ccd4716ec7
year++
2018-01-02 12:53:31 +08:00
Anatol Belski
9baf84e513
Drop unused code
2017-12-15 15:00:20 +01:00
Anatol Belski
f3f6cd24e9
Modernize realpath and integrate quick variant into virtual_file_ex
...
The slower I/O as a traditional bottleneck on Windows which is
the target of this patch. The recursive path resolution, while being
an allround solution, is expensive when it comes to the common case.
Files with proper ACLs set can be resolved in one go by usage of specific
API. Those are available since Vista, so actually can be called old. Those
simpler api is used for the cases where no CWD_EXPAND is requested. For
the cases where ACLs are improper, the existing solution based on
FindFirstFile still does good job also partially providing quirks. Cases
involing reparse tags and other non local filesystems are also partially
server by new APIs.
The approach uses both APIs - the quick one for the common case still
integrating realpath cache, and the existing one as a fallback. The tests
show the I/O load drop on the realpath resolution part due to less
system calls for the sub part resolution of paths. In most case it is
justified, as the sub parts were otherwise cached or unused as well. The
realpath() implementation in ioutil is also closer to the POSIX.
2017-12-15 13:23:34 +01:00
Anatol Belski
71eaf0d97f
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fixed bug #75679 Path 260 character problem
2017-12-14 16:18:33 +01:00
Anatol Belski
ed210c186a
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75679 Path 260 character problem
2017-12-14 16:17:37 +01:00
Anatol Belski
4c0af1fbd4
Fixed bug #75679 Path 260 character problem
2017-12-14 16:16:50 +01:00
Anatol Belski
f749448fc6
Sync known vc++ versions in 7.1
2017-12-11 14:13:38 +01:00
Anatol Belski
820ab91d36
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Add vc++ 19.12 to the known list
2017-12-11 12:58:49 +01:00
Anatol Belski
2d7bea0462
Add vc++ 19.12 to the known list
2017-12-11 12:57:58 +01:00
Young-X
706a157fc6
Make sizeof formatting consistent
...
Everything else in that file uses sizeof with parentheses.
2017-12-09 18:34:14 +01:00
Anatol Belski
331019c548
Use cheaper ascii conversion for mode
2017-12-09 12:38:19 +01:00
Anatol Belski
f3fd860e24
Revamp fopen implementation, rely on open
2017-12-09 11:58:17 +01:00
Anatol Belski
36cdca6576
Cleanup
2017-12-09 00:21:23 +01:00
Anatol Belski
94f16f1961
Rework mkdir impl and expose wide char variant
2017-12-09 00:11:33 +01:00
Anatol Belski
6bd18c0f0b
Remove dead code
2017-12-08 22:59:00 +01:00
Anatol Belski
c9274a4c6a
Move declarations
2017-12-08 21:41:25 +01:00
Anatol Belski
a9a49b8250
Improve ioutil access impl and refactor tsrm_win32_access
2017-12-08 20:58:19 +01:00
Anatol Belski
2fbdaec03c
Revamp unlink() implementation and improve error handling
2017-12-08 19:23:18 +01:00
Anatol Belski
17d621e7d3
Allow delete-sharing mode for CreateFile by default
...
This effectively allows a UNIX like semantics for deleting files
with an open handle. Some OS related limitations still persist,
but the Windows 95 times can be considered as definitely over.
2017-12-08 18:14:20 +01:00
Kalle Sommer Nielsen
525ab4198e
Introduce ZEND_EXTENSION() to the Windows build system
...
Zend Extensions should now be declared in their config.w32 with a ZEND_EXTENSION() call instead of EXTENSION(), the parameters sent is identical.
For a cross version compatible config.w32, the following will do:
if (typeof(ZEND_EXTENSION) == 'undefined') {
EXTENSION(...);
} else {
ZEND_EXTENSION(...);
}
2017-12-04 17:39:08 +01:00
Anatol Belski
c94a73ec90
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Consider Xdebug for tmi ini generation, too
2017-12-01 16:03:49 +01:00
Anatol Belski
f282b7720a
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Consider Xdebug for tmi ini generation, too
2017-12-01 16:03:09 +01:00
Anatol Belski
ffd94f9bf8
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Consider Xdebug for tmi ini generation, too
2017-12-01 16:02:38 +01:00
Anatol Belski
958fdc997c
Consider Xdebug for tmi ini generation, too
2017-12-01 16:01:34 +01:00