summaryrefslogtreecommitdiff
path: root/win32
Commit message (Collapse)AuthorAgeFilesLines
* Promote warnings to exceptions in sapi_windows_* functionsMáté Kocsis2019-12-111-10/+11
|
* Remove configure checks for asinh, acosh, atanh, log1p, hypotGeorge Peter Banyard2019-12-041-13/+0
|
* Remove now obsolete configure checks for INFINITY and NAN.George Peter Banyard2019-12-041-6/+0
|
* Merge branch 'PHP-7.4'Christoph M. Becker2019-12-022-2/+20
|\ | | | | | | | | * PHP-7.4: Fix #78296: is_file fails to detect file
| * Merge branch 'PHP-7.3' into PHP-7.4Christoph M. Becker2019-12-022-2/+20
| |\ | | | | | | | | | | | | * PHP-7.3: Fix #78296: is_file fails to detect file
| | * Fix #78296: is_file fails to detect fileChristoph M. Becker2019-12-022-2/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we're constructing extended-length paths (i.e. paths prefixed with `\\?\`), we have to replace all forward slashes with backward slashes, because the former are not supported by Windows for extended-length paths. The more efficient and likely cleaner alternative solution would be to cater to this in `php_win32_ioutil_normalize_path_w()` by always replacing forward slashes, but that might break existing code. It might be sensible to change that for `master`, though.
* | | Remove PHP_SLEEP_NON_VOID as it is not useful anymoreMáté Kocsis2019-11-071-1/+0
| | |
* | | Remove mention of PHP major version in Copyright headersGabriel Caruso2019-09-2533-66/+0
| | | | | | | | | | | | Closes GH-4732.
* | | Merge branch 'PHP-7.4'Anatol Belski2019-08-271-1/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: Fix signature and calls
| * | Fix signature and callsAnatol Belski2019-08-271-1/+1
| | |
* | | Merge branch 'PHP-7.4'Christoph M. Becker2019-08-201-1/+14
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: Fix #78386: fstat mode has unexpected value on PHP 7.4
| * | Fix #78386: fstat mode has unexpected value on PHP 7.4Christoph M. Becker2019-08-201-1/+14
| | | | | | | | | | | | | | | | | | We must not assume that any file which is not a directory is a regular file. Therefore we employ `GetFileType()` in this case to properly distinguish between character special, FIFO special and regular files.
* | | Merge branch 'PHP-7.4'Christoph M. Becker2019-08-121-2/+2
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: Fix WS
| * | Fix WSChristoph M. Becker2019-08-121-2/+2
| | |
* | | Merge branch 'PHP-7.4'Christoph M. Becker2019-08-071-32/+13
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: Make extension compatibility check more liberal
| * | Make extension compatibility check more liberalChristoph M. Becker2019-08-071-32/+13
| | | | | | | | | | | | | | | | | | | | | Checking for the exact linker version appears to be too restrictive; it should be fine if the tens match. We also refactor to avoid repeating ourselves.
* | | Merge branch 'PHP-7.4'Christoph M. Becker2019-07-272-2/+2
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: file encoding cleanup: remove bom in win32 files
| * | file encoding cleanup: remove bom in win32 filesSebastian Jennen2019-07-272-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | These two files have been: "UTF-8 Unicode (with BOM) text". By applying `dos2unix` on these files the BOM has been removed. I checked the whole source code with dos2unix: These were the only two text files affected.
* | | Remove HAVE_LOCALE_H and locale.h checkPeter Kokot2019-07-211-1/+0
| | | | | | | | | | | | | | | | | | | | | This was a left over for supporting old code in PHP extensions out there. Check is not needed anymore since this is part of C89+ standard. Closes GH-4445
* | | Merge branch 'PHP-7.4'Christoph M. Becker2019-07-183-30/+2
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: Use regedit to register event source
| * | Use regedit to register event sourceChristoph M. Becker2019-07-183-30/+2
| | | | | | | | | | | | | | | | | | | | | ext/win32std is unmaintained for years, so it is highly unlikely that it is available. We therefore use regedit instead to register the event source. We also remove the bundled syslog.reg, since it is of no use, unless generated for the respective installation.
* | | Merge branch 'PHP-7.4'Christoph M. Becker2019-07-173-0/+52
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: Revert "Remove Windows syslog script and syslog.reg"
| * | Revert "Remove Windows syslog script and syslog.reg"Christoph M. Becker2019-07-173-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit cc44bad1f6ded6a62c9bbe4d145b5b418aa775f4, since its assumptions were not correct. Actually, the classic event logging is still used by PHP, because Windows 7 is still to be supported for a while. Without the respective registry entries, the event log entries show an error message regarding missing ID descriptions. Thanks to ab@php.net for hinting at this! Obviously, the part depending on ext/win32std has still to be overhauled, and further improvements are conceivable; we will address this in due course.
* | | Merge branch 'PHP-7.4'Peter Kokot2019-07-171-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | * PHP-7.4: Fix typo Simplify functions checks in m4
| * | Fix typoPeter Kokot2019-07-171-1/+1
| | |
* | | Merge branch 'PHP-7.4'Peter Kokot2019-07-162-11/+0
|\ \ \ | |/ / | | | | | | | | | | | | * PHP-7.4: Update changelog Remove unused build checks
| * | Remove unused build checksPeter Kokot2019-07-162-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - yp_get_default_domain was part of ext/yp - functions checks produce HAVE_function_name symbols. These checks are currently not used in php-src neither in the extensions out there. - Removed symbols because they are not used in the code: - HAVE_GCVT - HAVE_PUTENV - HAVE_PUTENV - HAVE_SETVBUF - HAVE_TEMPNAM - HAVE_SIN (sin is also defined in C89 standard) - HAVE_SETSOCKOPT - HAVE_LOCKF - HAVE_ISASCII - HAVE_YP_GET_DEFAULT_DOMAIN (and other yp extension related unused checks) - HAVE_LINK - HAVE_USLEEP is already defined in Windows configuration header - HAVE_LIBBIND has not been used in php-src for a while anymore - HAVE_GETHOSTNAME is duplicated in Windows configuration header Closes GH-4417
* | | Merge branch 'PHP-7.4'Peter Kokot2019-07-151-11/+0
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: Remove win32/php_stdbool.h
| * | Remove win32/php_stdbool.hPeter Kokot2019-07-151-11/+0
| | | | | | | | | | | | | | | | | | File usage was removed via 33fc7d77d7d0f7c85025b8aa82d62b154c4bc71f. Closes GH-4411
* | | Merge branch 'PHP-7.4'Peter Kokot2019-07-157-581/+0
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: Remove unused files
| * | Remove unused filesPeter Kokot2019-07-157-581/+0
| | | | | | | | | | | | | | | | | | | | | | | | These were introduced in 504b9beae60a45e1b1e6466e97a6bd246dfc74f6 and their usages were removed via 4b3e19802385c5874eefd3ba4565f2efbc55dc96. Closes GH-4410
* | | Merge branch 'PHP-7.4'Peter Kokot2019-07-153-52/+0
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: Remove Windows syslog script and syslog.reg
| * | Remove Windows syslog script and syslog.regPeter Kokot2019-07-153-52/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | These were used on old Windows systems before Vista and also were used together with unmaintained win32std extension. https://docs.microsoft.com/en-us/windows/win32/eventlog/event-logging Closes GH-4409
* | | Merge branch 'PHP-7.4'Peter Kokot2019-07-151-6/+0
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: Remove some *.dsp/*.dsw leftovers
| * | Remove some *.dsp/*.dsw leftoversPeter Kokot2019-07-151-6/+0
| | | | | | | | | | | | | | | | | | Usage of this was removed via 4b3e19802385c5874eefd3ba4565f2efbc55dc96 Closes GH-4408
* | | Merge branch 'PHP-7.4'Peter Kokot2019-07-141-1/+0
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: Remove timelib outdated defines
| * | Remove timelib outdated definesPeter Kokot2019-07-141-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | - TIMELIB_OMIT_STDINT is not used anymore since https://github.com/derickr/timelib/commit/a171f99cf02baf39549ab7209e37565b8b8f6529 - HAVE_GETTIMEOFDAY was defined multiple times in Windows headers - ext/date/lib/timelib_config.h.win32 does not seem to be used Closes GH-4400
* | | Merge branch 'PHP-7.4'Christoph M. Becker2019-07-111-0/+4
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: Fix #78212: Segfault in built-in webserver
| * | Merge branch 'PHP-7.3' into PHP-7.4Christoph M. Becker2019-07-111-0/+4
| |\ \ | | |/ | | | | | | | | | * PHP-7.3: Fix #78212: Segfault in built-in webserver
| | * Fix #78212: Segfault in built-in webserverChristoph M. Becker2019-07-111-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Since syslog's ident and facility parameters have been added to config[1], vsyslog() segfaults on Windows, if openlog() has not been called before. We bring back the removed lines to fix this. [1] <http://git.php.net/?p=php-src.git;a=commit;h=2475337bd8a0fad0dac03db3f5e7e9d331d53653>
* | | Merge branch 'PHP-7.4'Peter Kokot2019-07-081-2/+0
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: Remove C89 checks for signal.h and strerror
| * | Remove C89 checks for signal.h and strerrorPeter Kokot2019-07-081-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | These are part of the C89 and on today's systems not needed to be checked anymore. This removes symbols HAVE_SIGNAL and HAVE_STRERROR. - http://port70.net/~nsz/c/c89/c89-draft.html - locale.h is also part of C89 but will be removed per request in PHP 8
* | | Merge branch 'PHP-7.4'Christoph M. Becker2019-07-081-0/+16
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: Implement FR #77230: Support custom CFLAGS and LDFLAGS from environment
| * | Implement FR #77230: Support custom CFLAGS and LDFLAGS from environmentChristoph M. Becker2019-07-081-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While it is already possible to *set* CFLAGS and LDFLAGS (actually all variables) from the environment for `nmake` (by passing the `/E` option), it is not possible to *add* any (C|LD)FLAGS, which can be useful in some cases. Instead of allowing this for `nmake`, we add support for additional custom (C|LD)FLAGS to `configure`, similar to how that works on Linux, so one could actually write: ```` set CFLAGS=foo & set LDFLAGS=bar & configure ```` This also allows us to use these flags during configure.
* | | Merge branch 'PHP-7.4'Peter Kokot2019-07-011-2/+0
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: Remove not needed checks for functions
| * | Remove not needed checks for functionsPeter Kokot2019-07-011-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following functions don't need to be checked anymore since the they are not used across the code or the symbols aren't used anymore: - cuserid (not used) - lrand48 (not used and removed via 6d6ef7aacc7f9b17709d2f93b70b359c75011f89) - random (check is not used) - srand48 (not used) - srandom (not used) - strdup (check is not used) and the unused check symbols: - HAVE_CUSERID - HAVE_LRAND48 - HAVE_RANDOM - HAVE_SRAND48 - HAVE_SRANDOM - HAVE_STRDUP Closes GH-4338
* | | Merge branch 'PHP-7.4'Peter Kokot2019-06-301-1/+0
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: Remove HAVE_LIMITS_H check
| * | Remove HAVE_LIMITS_H checkPeter Kokot2019-06-301-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The limits.h header is part of the C89 and is today available everywhere. There is no need to check for presence of this header anymore. The timelib has already been patched upstream via aae5907cb7e775f16bedf61b010b8692c12a2843 PHP extensions out there shouldn't rely on symbols defined during the build anyway and neither they do on this particular symbol anymore.
* | | Merge branch 'PHP-7.4'Peter Kokot2019-06-282-4/+0
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: Remove HAVE_STRCOLL check
| * | Remove HAVE_STRCOLL checkPeter Kokot2019-06-282-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | The strcoll function is defined in the C89 standard and should be on today's systems always available via the <string.h> header. https://port70.net/~nsz/c/c89/c89-draft.html#4.11.4.3 - Remove also SKIPIF strcoll check in test