Anatol Belski
a94fc577af
Fix command syntax, env var has to be nmake macro in makefile
2017-04-11 13:29:08 +02:00
Anatol Belski
c14eecb9ac
use php.exe from the SDK for packaging, not the one just compiled
2017-04-11 12:00:10 +02:00
Markus Staab
f160ee1251
remove no longer accurate comment
2017-04-11 11:53:43 +02:00
Anatol Belski
fa7bd5eabf
Fail hard if sed isn't found
...
now that the new SDK is required and supplies it.
2017-04-11 11:40:23 +02:00
Anatol Belski
be540347e2
Merge branch 'PHP-7.1'
...
* PHP-7.1:
fix re2c version comparison
2017-04-11 11:38:07 +02:00
Anatol Belski
3dc9279188
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix re2c version comparison
2017-04-11 11:37:03 +02:00
Anatol Belski
dd17659b86
fix re2c version comparison
2017-04-11 11:03:24 +02:00
Matt Ficken
873c505ad9
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix #74410 by calling WaitForMultipleObjects() instead of MsgWaitForMultipleObjects()
2017-04-11 01:56:54 -07:00
Matt Ficken
76c9b58431
Fix #74410 by calling WaitForMultipleObjects() instead of
...
MsgWaitForMultipleObjects()
2017-04-11 01:54:57 -07:00
Matt Ficken
d83743739e
Fix #74410 by calling WaitForMultipleObjects() instead of MsgWaitForMultipleObjects()
2017-04-11 01:06:56 -07:00
Anatol Belski
528468579b
intergarte furher newer flag in FindFirstFileEx for win7+ only
2017-04-10 11:09:51 +02:00
Anatol Belski
ad4ef13c5d
Switch to FindFirstFileEx with basic info level
...
That omits querying of short names, thus improving perf.
2017-04-07 21:15:37 +02:00
Anatol Belski
936e341b5e
missing bits for php_sys_stat_ex so everything is handled with wide chars
...
rename to pathw_len
2017-04-03 17:39:15 +02:00
Anatol Belski
6ab2c558f1
add existence check for clang lib dir and improve on x86
2017-04-03 15:29:56 +02:00
Anatol Belski
731cb8a827
basic ASAN suport for clang on Windows
...
fix makefile generation for non clang
rename option
2017-04-03 12:02:51 +02:00
Anatol Belski
6d1fc6cd6f
hide clang warnings about unimplemented cli options
2017-04-02 17:55:23 +02:00
Anatol Belski
0894c22b49
extend manifest with long path compat info
2017-04-02 16:40:36 +02:00
Anatol Belski
80d5c23c0d
do compare on wchar's
2017-04-02 16:40:36 +02:00
Anatol Belski
e0f68ae144
implement basic binary tools sdk version check
2017-03-31 01:46:57 +02:00
Nikita Popov
edcabf6d07
Drop unnecessary allocator return value checks
2017-03-13 22:07:15 +01:00
Anatol Belski
c20ae623c2
Merge branch 'PHP-7.1'
...
* PHP-7.1:
sync with the incremental and inter-file analysis option
2017-03-07 15:31:54 +01:00
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
7aa0632cfb
extend ccppcheck defs
2017-03-07 01:29:45 +01:00
Anatol Belski
ffcdb2be16
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Support run or test target invoked within debugger
2017-02-24 19:43:26 +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
41d2944b0a
more appropriate var name
2017-02-21 14:37:42 +01:00
Anatol Belski
42a8f0755c
add folds
2017-02-21 14:36:06 +01:00
Anatol Belski
0d529d6eb3
The d_name member of struct dirent should be a pointer
...
Rework for 60950702 , so then any encoding is supported. The path
segment length is measured in wchar_t size, whereby the number
of wchar_t is 255+\0. This means, in the actual encoding, the path
segment size can become (255*<bytes per glyph>)+\0 bytes in worst
case. It is still valid, as all the FS API uses wide chars
internally.
2017-02-12 22:23:51 +01:00
Anatol Belski
7b9f93b3f9
remove loop
...
The limit is big enough, and it's questionable such amount of
random data can ever make sense anyway.
2017-02-12 19:25:23 +01:00
Anatol Belski
97d620449c
fix loop
2017-02-12 19:15:40 +01:00
Anatol Belski
d53d0a5dc4
refactor php_win32_get_random_bytes(), take 2
...
As in previous variant, locking is removed and the initialization
is done only once at process start. The CNG API turns out to be
faster, also the initialization is less resources hungry. The
initialization part could need to be improved, if too much startup
failures are sighted in the real world usage. Though that would mean
having locking back.
The usage of CNG was already pointed out and requested in several
reports, with the further refactoring it appears to make sense and
simplify things a backward compatible way.
2017-02-12 17:47:14 +01:00
Anatol Belski
048aec4796
Revert "refactor php_win32_get_random_bytes()"
...
This reverts commit 23bd7bcde0 .
Looks like this change is unstable. If same CSP is use but multiple processers,
the initialization failures are possible. Thus, CryptAcquireContext in
every process, even if it won't be used at all, is not sensible. This
might actually motivate to look for better CSP APIs.
2017-02-11 21:47:09 +01:00
Anatol Belski
23bd7bcde0
refactor php_win32_get_random_bytes()
...
- avoid locking
- initialize only once
- the process will fail, if no init failed
2017-02-11 19:15:35 +01:00
Anatol Belski
02991f75ce
Revert "move winsock specific stuff into dllmain"
...
This reverts commit d94c2c796a .
WSA functions are documented explicitly as unsafe for dllmain
2017-02-11 18:55:32 +01:00
Anatol Belski
d94c2c796a
move winsock specific stuff into dllmain
2017-02-11 16:46:17 +01:00
Anatol Belski
cefa8ddcc9
Merge branch 'PHP-7.1'
...
* PHP-7.1:
add missing datatype as sync for 5113909
2017-02-11 14:53:20 +01:00
Anatol Belski
bf2627e58c
add missing datatype as sync for 5113909
2017-02-11 14:51:15 +01:00
Anatol Belski
fa0df0cdc5
Merge branch 'PHP-7.1'
...
* PHP-7.1:
fix possible NULL dereference
2017-02-01 13:46:50 +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
df85e1fffd
Merge branch 'PHP-7.1'
...
* PHP-7.1:
remove unused var
use zend_string API
Fixed bug #74005 mail.add_x_header causes RFC-breaking lone line feed
2017-02-01 12:58:47 +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
5a9742e34b
Merge branch 'PHP-7.1'
...
* PHP-7.1:
add a primitive debug facility to sendmail
2017-01-31 18:29:47 +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
Brian Evans
2fe9208ee3
Use modern autotools name of configure.ac instead of configure.in
...
configure.ac was introduced in 2001 with automake-1.15 and autoconf-2.50
to replace the file named configure.in.
Autotools is preparing to remove configure.in in Automake 2.0.
All new software should be using configure.ac.
This also fixes Bug #69770 where extensions are creating configure.in
Signed-off-by: Brian Evans <grknight@gentoo.org >
2017-01-27 06:07:40 +00:00