summaryrefslogtreecommitdiff
path: root/ext/session
Commit message (Collapse)AuthorAgeFilesLines
* Trim trailing whitespace in source code filesPeter Kokot2018-10-131-1/+1
|
* Convert CRLF line endings to LFPeter Kokot2018-10-131-57/+57
| | | | | | | | | | | | | | | | | | | | | | | | This patch simplifies line endings tracked in the Git repository and syncs them to all include the LF style instead of the CRLF files. Newline characters: - LF (\n) (*nix and Mac) - CRLF (\r\n) (Windows) - CR (\r) (old Mac, obsolete) To see which line endings are in the index and in the working copy the following command can be used: `git ls-files --eol` Git additionally provides `.gitattributes` file to specify if some files need to have specific line endings on all platforms (either CRLF or LF). Changed files shouldn't cause issues on modern Windows platforms because also Git can do output conversion is core.autocrlf=true is set on Windows and use CRLF newlines in all files in the working tree. Unless CRLF files are tracked specifically, Git by default tracks all files in the index using LF newlines.
* Make ext/session/mod_files.sh executablePeter Kokot2018-09-261-0/+0
| | | | | Making shell script executable makes it possible to run like `ext/session/mod_files.sh` and avoids error permission denied.
* Remove AC_FUNC_UTIME_NULLPeter Kokot2018-09-041-8/+1
| | | | | | | | | | | | | | | Autoconf 2.59d (released in 2006) [1] started promoting several macros as not relevant for newer systems, including the AC_FUNC_UTIME_NULL. This macro checks if `utime(file, NULL)` sets file's timestamp to the current time and defines the `HAVE_UTIME_NULL` symbol. This check was relevant on very old systems (for example, 4.3BSD released in 1986) and today can be omitted for systems with utime since it should be well supported by now. [2] Refs: [1] http://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS [2] https://www.gnu.org/software/autoconf/manual/autoconf-2.69/autoconf.html
* Merge branch 'PHP-7.3'Xinchen Hui2018-08-171-1/+3
|\ | | | | | | | | * PHP-7.3: Micro optimization & fixed invalid key handling
| * Micro optimization & fixed invalid key handlingXinchen Hui2018-08-171-1/+3
| |
* | Fix some misspellingsGabriel Caruso2018-08-121-1/+1
|/
* Fix #76688: Disallow excessive parameters after options arrayPedro Magalhães2018-08-122-0/+18
|
* Support for samesite cookies with array syntaxPedro Magalhães2018-07-316-45/+190
| | | | | | | | | Allows using an alternative array argument with support for the samesite option on the following functions: setcookie setrawcookie session_set_cookie_params
* implement same site cookie see https://bugs.php.net/bug.php?id=72230 see ↵Frederik Bosch2018-07-317-16/+117
| | | | https://tools.ietf.org/html/draft-west-first-party-cookies-07 see https://scotthelme.co.uk/csrf-is-dead/
* Fix typos in code commentsPeter Kokot2018-07-251-1/+1
|
* Remove unused Git attributes identPeter Kokot2018-07-2510-20/+1
| | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
* Uze ZVAL_COPY_DEREF() instead of ZVAL_DEREF() and ZVAL_COPY()Dmitry Stogov2018-07-091-2/+1
|
* Use zval_ptr_dtor() imstead of zval_dtor()Dmitry Stogov2018-07-051-2/+2
|
* Replace legacy zval_dtor() by zval_ptr_dtor_nogc() or even more specialized ↵Dmitry Stogov2018-07-041-2/+2
| | | | | | | destructors. zval_dtor() doesn't make a lot of sense in PHP-7.* and it's used incorrectly in some places. Its occurances should be replaced by zval_ptr_dtor() or zval_ptr_dtor_nogc(), or even more specialized destructors.
* se zval_ptr_dtor_str() instead of zend_string_release_ex(Z_STR(*), 0)Dmitry Stogov2018-07-041-2/+2
|
* Use zend_string_release_ex() instread of zend_string_release() in places, ↵Dmitry Stogov2018-05-283-53/+53
| | | | where we sure about string persistence.
* Merge branch 'PHP-7.2'Anatol Belski2018-05-071-7/+8
|\ | | | | | | | | * PHP-7.2: Update _bits_per_char to use with new PHP 7.1. or greater
| * Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2018-05-071-7/+8
| |\ | | | | | | | | | | | | * PHP-7.1: Update _bits_per_char to use with new PHP 7.1. or greater
| | * Update _bits_per_char to use with new PHP 7.1. or greaterRicardo F2018-05-071-7/+8
| | | | | | | | | | | | | | | | | | Fix typo Remove references to PHP lower than 7.1
| | * year++Xinchen Hui2018-01-029-9/+9
| | |
* | | Merge branch 'PHP-7.2'Christoph M. Becker2018-04-121-0/+23
|\ \ \ | |/ / | | | | | | | | | * PHP-7.2: Fixed #74892 - Fixed URL rewriting for urls started with #
| * | Fixed #74892 - Fixed URL rewriting for urls started with #Andrew Nester2018-04-121-0/+23
| | | | | | | | | | | | | | | | | | | | | (cherry picked from commit 6c32d271d238a18cfc19d98877cdead1ab38f417) This should have already been merged via 9cd82df0bbb1f9a1407ffb749292576be1b91c07, but that merge went wrong.
* | | Remove duplicated testsGabriel Caruso2018-02-222-41/+0
| | |
* | | remove support for string|unicode in testsGabriel Caruso2018-02-2213-78/+78
| | |
* | | Use EXPECT instead of EXPECTF when possibleGabriel Caruso2018-02-2061-61/+61
| | | | | | | | | | | | EXPECTF logic in run-tests.php is considerable, so let's avoid it.
* | | Remove empty sections in testsGabriel Caruso2018-02-142-3/+2
| | |
* | | Remove trailing whitespace in inc filesGabriel Caruso2018-02-101-1/+1
| | |
* | | Fix some misspellingsGabriel Caruso2018-02-061-1/+1
| | |
* | | Use bool instead of boolean while throwing a type errorGabriel Caruso2018-02-043-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHP requires boolean typehints to be written "bool" and disallows "boolean" as an alias. This changes the error messages to match the actual type name and avoids confusing messages like "must be of type boolean, boolean given". This a followup to ce1d69a1f6dcf15d43029301059c25e5bc09a577, which implements the same change for integer->int.
* | | Use int instead of integer in type errorsGabriel Caruso2018-02-041-4/+4
| | | | | | | | | | | | | | | | | | | | | PHP requires integer typehints to be written "int" and does not allow "integer" as an alias. This changes type error messages to match the actual type name and avoids confusing messages like "must be of the type integer, integer given".
* | | Remove superfluous SKIPIF sections in more testsGabriel Caruso2018-02-041-1/+0
| | |
* | | Remove checks for unicode.semantics ini optionNikita Popov2018-02-031-7/+0
| | |
* | | Use %d when expecting line number in testsGabriel Caruso2018-02-021-1/+1
| | |
* | | Merge branch 'PHP-7.2'Nikita Popov2018-01-241-1/+6
|\ \ \ | |/ /
| * | ext/session: catch incompatible configure flags earlier.Michael Orlitzky2018-01-241-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The session extension has a --with-mm flag that tells it to build the mm backend ("mm" is the name of the library). However, that backend is not thread-safe, and mod_mm.c will refuse to compile if the --enable-maintainer-zts flag was also passed to the configure script. Rather than crash halfway through the build, this commit adds a check to the session extension's config.m4 file. If both --with-mm and --enable-maintainer-zts are "on," then the configure script will die and explain that they can't be used together. PHP-bug: 14269
| * | year++Xinchen Hui2018-01-029-9/+9
| | |
* | | Trailing whitespacesGabriel Caruso2018-01-031-1/+1
| | | | | | | | | | | | Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
* | | year++Xinchen Hui2018-01-029-9/+9
| | |
* | | Move constants into read-only data segmentDmitry Stogov2017-12-148-19/+19
| | |
* | | Intern auto global name strings in first placeDmitry Stogov2017-11-291-1/+1
| | |
* | | Avoid unnecessary reference-counting on strings.Dmitry Stogov2017-11-161-2/+3
| | |
* | | Clarify bin_to_readable codeNikita Popov2017-11-141-10/+11
| | | | | | | | | | | | | | | I got a bit of a scare when I first saw this code. Turns out that the way it's used inlen==outlen and that's why it works.
* | | Get rid of all these old package[2].xml files, most of these had no had a ↵Kalle Sommer Nielsen2017-08-171-83/+0
| | | | | | | | | | | | | | | | | | release since PHP4, or any release at all in close to 10 years, some even did not have a package registered at pecl OCI, PDO_OCI and zip are left as they are actively developed and released there
* | | move zend_ato*() to size_t and remove castsAnatol Belski2017-07-281-1/+1
| | |
* | | Merge branch 'PHP-7.2'Anatol Belski2017-07-262-1/+28
|\ \ \ | |/ / | | | | | | | | | * PHP-7.2: Fixed bug #74833, SID constant created with wrong module number
| * | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2017-07-262-1/+28
| |\ \ | | |/ | | | | | | | | | * PHP-7.1: Fixed bug #74833, SID constant created with wrong module number
| | * Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2017-07-262-1/+28
| | |\ | | | | | | | | | | | | | | | | * PHP-7.0: Fixed bug #74833, SID constant created with wrong module number
| | | * Fixed bug #74833, SID constant created with wrong module numberAnatol Belski2017-07-262-1/+28
| | | |
| | * | Fixed #74892 - Fixed URL rewriting for urls started with #Andrew Nester2017-07-181-0/+23
| | | |