History log of /PHP-7.2/ext/standard/browscap.c (Results 26 – 50 of 180)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# e5d8a142 13-Feb-2015 Xinchen Hui

Revert "Cleanup globals initialization"

This reverts commit 309e90638dac527077a2d81ceeebfba189251537.


# 309e9063 13-Feb-2015 Xinchen Hui

Cleanup globals initialization


# fe398404 03-Feb-2015 Anatol Belski

fix incompatible pointer type warning


# fc33f52d 15-Jan-2015 Xinchen Hui

bump year


# 0579e827 15-Jan-2015 Xinchen Hui

bump year


# 73c1be26 15-Jan-2015 Xinchen Hui

Bump year


# b7a7b1a6 03-Jan-2015 Stanislav Malyshev

trailing whitespace removal


# bdeb220f 13-Dec-2014 Anatol Belski

first shot remove TSRMLS_* things


# b9463489 05-Oct-2014 Anatol Belski

enable static tsrm ls cache in ext/standard


# 142a01db 28-Sep-2014 Nikita Popov

Fix a couple compile warnings


# d11734b4 25-Sep-2014 Anatol Belski

reworked the patch, less new stuff but worky

TLS is already used in TSRM, the way exporting the tsrm cache through
a thread local variable is not portable. Additionally, the current

reworked the patch, less new stuff but worky

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.

show more ...


# 0885e4b1 21-Sep-2014 Anatol Belski

simplify the condition


# b3aebda9 20-Sep-2014 krakjoe

native tls initial patch


# d0cb7153 19-Sep-2014 Johannes Schlüter

s/PHP 5/PHP 7/


Revision tags: php-5.4.33, php-5.5.17, php-5.6.1RC1, php-5.5.17RC1, php-5.4.33RC1
# 88d7ca44 01-Sep-2014 Dmitry Stogov

Refactored INI subsystem to use zend_string* instead of char*


# 32344808 27-Aug-2014 Anatol Belski

first show to make 's' work with size_t


Revision tags: php-5.6.0, POST_AST_MERGE, PRE_AST_MERGE
# c3e3c98e 25-Aug-2014 Anatol Belski

master renames phase 1


Revision tags: POST_64BIT_BRANCH_MERGE, PRE_64BIT_BRANCH_MERGE, php-5.5.16, php-5.4.32
# cb25136f 16-Aug-2014 Anatol Belski

fix macros in the 5 basic extensions


Revision tags: POST_PHPNG_MERGE, PRE_PHPNG_MERGE, php-5.6.0RC4, php-5.3.29, php-5.5.16RC1, php-5.4.32RC1, php-5.3.29RC1, php-5.6.0RC3, php-5.5.15, php-5.4.31, php-5.4.31RC1, php-5.5.15RC1, php-5.6.0RC2, php-5.4.30, php-5.5.14, php-5.6.0RC1, php-5.5.14RC1, php-5.4.30RC1, php-5.6.0beta4, php-5.4.29, php-5.5.13
# 922285ec 26-May-2014 Xinchen Hui

Don't use cast (compiler friendly)


# 9eb89ddd 23-May-2014 Dmitry Stogov

Use optimized zend_array_dup() function. convert zend_hash_num_elements() and zend_hash_next_free_element() into macros.


Revision tags: php-5.5.13RC1, php-5.6.0beta3, php-5.4.29RC1, php-5.6.0beta2, php-5.5.12, php-5.4.28
# 72c287bd 21-Apr-2014 Dmitry Stogov

Combine HashTable.flags and HashTable.nApplyCount into single 32-bit word


Revision tags: php-5.4.28RC1
# 6cf5e51f 15-Apr-2014 Dmitry Stogov

Reduced memory realocations


# f9b26bc3 15-Apr-2014 Dmitry Stogov

Cleanup (2-nd round)


Revision tags: php-5.5.12RC1, php-5.6.0beta1
# 76cc99fe 03-Apr-2014 Dmitry Stogov

Refactored ZVAL flags usage to simplify various checks (e.g. Z_REFCOUNTED(), candidate for GC, etc)


# d8099d04 02-Apr-2014 Dmitry Stogov

Changed data layout to allow more efficient operations


12345678