summaryrefslogtreecommitdiff
path: root/ext/date/php_date.h
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
|
* Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
|\ | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| |
* | first stone on using the unified globals accessorAnatol Belski2015-07-291-5/+1
| |
* | Merge branch 'PHP-5.6'Stanislav Malyshev2015-04-011-1/+0
|\ \ | |/ | | | | | | | | | | | | | | * PHP-5.6: Revert "Merge branch 'PHP-5.5' into PHP-5.6" Conflicts: ext/date/php_date.c ext/date/tests/DateTime_verify.phpt
| * Revert "Merge branch 'PHP-5.5' into PHP-5.6"Stanislav Malyshev2015-04-011-1/+0
| | | | | | | | | | | | | | | | This reverts commit aa22e80b1af500e5d6cdc0f7783537a768d0e373, reversing changes made to 3e7f47cb039fd8803776eaf2899d576c503cdb63. Conflicts: ext/date/php_date.c
* | Merge branch 'PHP-5.6'Derick Rethans2015-03-311-0/+1
|\ \ | |/
| * Merge branch 'PHP-5.5' into PHP-5.6Derick Rethans2015-03-311-0/+1
| |\
| | * Export date_get_immutable_ce() so that extensions can make use of it too.Derick Rethans2015-03-311-0/+1
| | |
| * | Merge branch 'PHP-5.5' into PHP-5.6Stanislav Malyshev2015-03-221-0/+1
| |\ \ | | | | | | | | | | | | | | | | * PHP-5.5: Adding a new `createFromImmutable` method to the `DateTime` class to mirror the current `DateTime::createFromMutable()`
| | * | Adding a new `createFromImmutable` method to the `DateTime` class to mirror ↵Trevor Suarez2015-03-221-0/+1
| | |/ | | | | | | | | | the current `DateTime::createFromMutable()`
| | * Bump yearXinchen Hui2015-01-151-1/+1
| | |
| * | bump yearXinchen Hui2015-01-151-1/+1
| | |
| * | Conflicts:m.bennewitz2014-11-301-0/+3
| | | | | | | | | | | | ext/date/php_date.c
* | | cleaning up the version macrosAnatol Belski2015-03-231-0/+3
| | |
* | | Adding a new `createFromImmutable` method to theTrevor Suarez2015-03-051-0/+1
| | | | | | | | | | | | `DateTime` class to mirror the current `DateTime::createFromMutable()`
* | | bump yearXinchen Hui2015-01-151-1/+1
| | |
* | | trailing whitespace removalStanislav Malyshev2015-01-101-1/+1
| | |
* | | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-5/+5
| | |
* | | Merge remote-tracking branch 'origin/master' into native-tlsAnatol Belski2014-12-051-0/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/master: (111 commits) Fix zend_fcall_info_arg*() to use ZVAL_COPY Fixed #65213 - cannot cast SplFileInfo to boolean add initial install switch to C travis project instead of PHP use the generic TRAVIS environment var to check for travis (see http://docs.travis-ci.com/user/ci-environment/) fix TS build add config option to target codegen architectures updated NEWS updated NEWS Fixed bug #55541 errors spawn MessageBox, which blocks test automation Get rid of duplicate handlers (ZEND_ADD_SPEC_TMP_TMP and ZEND_ADD_SPEC_VAR_VAR are absolutely the same). Use zend_string* for op_array->arg_info[]->name and op_array->arg_info[]->class_name. For internal functions we still use char*. Fixed __debugInfo() support Update UPGRADING for the new variadic functions, and re-sort. Improved POST INC/DEC make sure that we don't truncate the stack trace and cause false test failures when the test is executed in a directory with long path Missed closed folder mark Revert "Unecessary assignment" Fixed improper memory release Unecessary assignment ...
| * \ \ Merge branch 'pull-request/878'Stanislav Malyshev2014-11-301-0/+3
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * pull-request/878: #68268: DatePeriod: Getter for start date, end date and interval
| | * | | #68268: DatePeriod: Getter for start date, end date and intervalm.bennewitz2014-10-201-0/+3
| | | | |
* | | | | Merge remote-tracking branch 'origin/master' into native-tlsAnatol Belski2014-11-181-1/+1
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/master: (398 commits) NEWS add test for bug #68381 Fixed bug #68381 Set FPM log level earlier during init proper dllexport move to size_t where zend_string is used internally fix some datatype mismatches return after the warning, to fix uninitialized salt usage fix datatype mismatches add missing type specifier fix datatype mismatches fix unsigned check "extern" shouldn't be used for definitions joined identical conditional blocks simplify fpm tests SEND_VAR_NO_REF optimization Add test for bug #68442 Add various tests for FPM - covering recent bugs (68420, 68421, 68423, 68428) - for UDS - for ping and status URI - for multi pool and multi mode Include small MIT FastCGI client library from https://github.com/adoy/PHP-FastCGI-Client Get rid of zend_free_op structure (use zval* instead). Get rid of useless TSRMLS arguments. Add new FPM test for IPv4/IPv6 ... Conflicts: win32/build/config.w32
| * | | | fix datatype mismatchesAnatol Belski2014-10-301-1/+1
| |/ / /
* | | | made ext/date and ext/spl use static tsrm ls cacheAnatol Belski2014-10-151-1/+1
| | | |
* | | | reworked the patch, less new stuff but workyAnatol Belski2014-09-251-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TLS is already used in TSRM, the way exporting the tsrm cache through a thread local variable is not portable. Additionally, the current patch suffers from bugs which are hard to find, but prevent it to be worky with apache. What is done here is mainly uses the idea from the RFC patch, but - __thread variable is removed - offset math and declarations are removed - extra macros and definitions are removed What is done merely is - use an inline function to access the tsrm cache. The function uses the portable tsrm_tls_get macro which is cheap - all the TSRM_* macros are set to placebo. Thus this opens the way remove them later Except that, the logic is old. TSRMLS_FETCH will have to be done once per thread, then tsrm_get_ls_cache() can be used. Things seeming to be worky are cli, cli server and apache. I also tried to enable bz2 shared and it has worked out of the box. The change is yet minimal diffing to the current master bus is a worky start, IMHO. Though will have to recheck the other previously done SAPIs - embed and cgi. The offsets can be added to the tsrm_resource_type struct, then it'll not be needed to declare them in the userspace. Even the "done" member type can be changed to int16 or smaller, then adding the offset as int16 will not change the struct size. As well on the todo might be removing the hashed storage, thread_id != thread_id and linked list logic in favour of the explicit TLS operations.
* | | | basic windows fixAnatol Belski2014-09-221-0/+1
|/ / /
* | | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| | |
* | | 's' works with size_t round 2Anatol Belski2014-08-271-1/+1
| | |
* | | first show to make 's' work with size_tAnatol Belski2014-08-271-1/+1
| | |
* | | master renames phase 1Anatol Belski2014-08-251-1/+1
| | |
* | | fixes to dateAnatol Belski2014-08-181-1/+1
| | |
* | | Merge mainstream 'master' branch into refactoringDmitry Stogov2014-04-261-8/+4
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During merge I had to revert: Nikita's patch for php_splice() (it probably needs to be applyed again) Bob Weinand's patches related to constant expression handling (we need to review them carefully) I also reverted all our attempts to support sapi/phpdbg (we didn't test it anyway) Conflicts: Zend/zend.h Zend/zend_API.c Zend/zend_ast.c Zend/zend_compile.c Zend/zend_compile.h Zend/zend_constants.c Zend/zend_exceptions.c Zend/zend_execute.c Zend/zend_execute.h Zend/zend_execute_API.c Zend/zend_hash.c Zend/zend_highlight.c Zend/zend_language_parser.y Zend/zend_language_scanner.c Zend/zend_language_scanner_defs.h Zend/zend_variables.c Zend/zend_vm_def.h Zend/zend_vm_execute.h ext/date/php_date.c ext/dom/documenttype.c ext/hash/hash.c ext/iconv/iconv.c ext/mbstring/tests/zend_multibyte-10.phpt ext/mbstring/tests/zend_multibyte-11.phpt ext/mbstring/tests/zend_multibyte-12.phpt ext/mysql/php_mysql.c ext/mysqli/mysqli.c ext/mysqlnd/mysqlnd_reverse_api.c ext/mysqlnd/php_mysqlnd.c ext/opcache/ZendAccelerator.c ext/opcache/zend_accelerator_util_funcs.c ext/opcache/zend_persist.c ext/opcache/zend_persist_calc.c ext/pcre/php_pcre.c ext/pdo/pdo_dbh.c ext/pdo/pdo_stmt.c ext/pdo_pgsql/pgsql_driver.c ext/pgsql/pgsql.c ext/reflection/php_reflection.c ext/session/session.c ext/spl/spl_array.c ext/spl/spl_observer.c ext/standard/array.c ext/standard/basic_functions.c ext/standard/html.c ext/standard/mail.c ext/standard/php_array.h ext/standard/proc_open.c ext/standard/streamsfuncs.c ext/standard/user_filters.c ext/standard/var_unserializer.c ext/standard/var_unserializer.re main/php_variables.c sapi/phpdbg/phpdbg.c sapi/phpdbg/phpdbg_bp.c sapi/phpdbg/phpdbg_frame.c sapi/phpdbg/phpdbg_help.c sapi/phpdbg/phpdbg_list.c sapi/phpdbg/phpdbg_print.c sapi/phpdbg/phpdbg_prompt.c
| * | Added DateTimeImmutable::createFromMutable.Derick Rethans2014-03-021-0/+1
| |/
| * Merge branch 'PHP-5.4' into PHP-5.5Derick Rethans2014-01-261-8/+3
| |\
| | * Fixed bug #45543: DateTime::setTimezone can not set timezones without ID.Derick Rethans2014-01-261-8/+3
| | |
| | * Bump yearXinchen Hui2014-01-031-1/+1
| | |
| * | Bump yearXinchen Hui2014-01-031-1/+1
| | |
* | | Refactor date to fixed bug after default_properties changedXinchen Hui2014-03-161-4/+28
| | |
* | | Refacting smart_strXinchen Hui2014-02-181-1/+1
| | |
* | | Bump yearXinchen Hui2014-01-031-1/+1
|/ /
* | Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2013-08-041-1/+1
|\ \ | |/ | | | | | | | | | | | | * PHP-5.4: non living code related typo fixes Conflicts: Zend/zend_compile.c
| * non living code related typo fixesVeres Lajos2013-08-041-1/+1
| |
| * Backported the fix for bug #53437Anatol Belski2013-06-101-0/+2
| |
| * Bug #63699: performance improvements for varios ext/date functionsLars Strojny2013-01-061-3/+4
| |
| * Happy New YearXinchen Hui2013-01-011-1/+1
| |
| * - Year++Felipe Pena2012-01-011-1/+1
| |
| * - Fixed bug #53502 (strtotime with timezone memory leak).Derick Rethans2011-12-061-0/+2
| | | | | | | | | | | | | | | | | | | | - Fixed bug #52062 (large timestamps with DateTime::getTimestamp and DateTime::setTimestamp). - Fixed bug #51994 (date_parse_from_format is parsing invalid date using 'yz' format). - Fixed bug #51223 (Seg fault while creating (by unserialization) DatePeriod).
* | Bug 54567 DateTimeZone serialize/unserializeLonny Kapelushnik2013-03-311-0/+3
| | | | | | | | Make DateTimeZone serializable and implement __set_state
* | Fixed bug #53437 Crash with unserialized DatePeriod instanceAnatol Belski2013-03-151-0/+2
| |