History log of /PHP-7.3/ext/gmp/gmp.c (Results 51 – 75 of 205)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# bdeb220f 13-Dec-2014 Anatol Belski

first shot remove TSRMLS_* things


Revision tags: php-5.6.4RC1, php-5.5.20RC1
# 1b156207 13-Nov-2014 Remi Collet

Fix build with gmp < 4.2

See 3d6d863ccbd10d212352462b587ae1573af4f1d1
and acd7fcf55f81955e4837c750a5e45f83d3c55ba2


Revision tags: php-5.6.3, php-5.5.19, php-5.4.35, php-5.6.3RC1, php-5.5.19RC1
# 7740edae 27-Oct-2014 Remi Collet

Fix bug #63595 GMP memory management conflicts with other libraries using GMP

Drop use of php memory allocators as this raise various conflicts
with other extensions and libraries which

Fix bug #63595 GMP memory management conflicts with other libraries using GMP

Drop use of php memory allocators as this raise various conflicts
with other extensions and libraries which use libgmp.

No other solution found.
We cannot for ensure correct use of allocator with shared lib.

Some memory can allocated before php init
Some memory can be freed after php shutdown

Known broken run cases
- php + curl + gnutls + gmp
- mod_gnutls + mod_php + gnutls + gmp
- php + freetds + gnutls + gmp
- php + odbc + freetds + gnutls + gmp
- php + php-mapi (zarafa) + gnutls + gmp

show more ...


# 3c925b18 27-Oct-2014 Remi Collet

Fix bug #63595 GMP memory management conflicts with other libraries using GMP

Drop use of php memory allocators as this raise various conflicts
with other extensions and libraries which

Fix bug #63595 GMP memory management conflicts with other libraries using GMP

Drop use of php memory allocators as this raise various conflicts
with other extensions and libraries which use libgmp.

No other solution found.
We cannot for ensure correct use of allocator with shared lib.

Some memory can allocated before php init
Some memory can be freed after php shutdown

Known broken run cases
- php + curl + gnutls + gmp
- mod_gnutls + mod_php + gnutls + gmp
- php + freetds + gnutls + gmp
- php + odbc + freetds + gnutls + gmp
- php + php-mapi (zarafa) + gnutls + gmp

show more ...


# 9a969fdd 22-Oct-2014 Anatol Belski

fix datatype


# 2fe7533f 19-Oct-2014 Leigh

gmp_random_seed()


# 4fce2ae2 17-Oct-2014 Anatol Belski

opcache, intl, gmp, exif, com, bcmath to use static tsrmls


Revision tags: php-5.5.18, php-5.4.34, php-5.5.18RC1, php-5.6.1
# bb0c1421 28-Sep-2014 Nikita Popov

Drop support for GMP 4.1

* Consistent base conversion support (max: 62)
* mpz_remroot always available
* Use gmp_randinit_mt instead of LCG


# 581c86c0 24-Sep-2014 Leigh

Make gmp_setbit and gmp_clrbit return values consistent


# adf8f0f2 24-Sep-2014 Leigh

Address issues raised by @nikic

- Thread safety on rand init function.
- Ret false on validation failure
- Add _dep of temp_a to temp_b
- Special case int sized min values

Address issues raised by @nikic

- Thread safety on rand init function.
- Ret false on validation failure
- Add _dep of temp_a to temp_b
- Special case int sized min values
- More tests!

show more ...


Revision tags: php-5.6.2
# 3e9a3174 24-Sep-2014 Leigh

Make sure min < max


# acd7fcf5 23-Sep-2014 Leigh

Mersenne Twister was added in GMP 4.2


# 31e27fc8 23-Sep-2014 Leigh

Add test files


# 831bb926 23-Sep-2014 Leigh

Add gmp_random_bits(bits) and gmp_random_range(min, max)


# 3d6d863c 23-Sep-2014 Leigh

Change GMPs default PRNG to Mersenne Twister

Since we don't allow users to seed the RNG, there is no BC issue with changing the generator.


# e33f3d3b 20-Sep-2014 Nikita Popov

Move smart_str implementation into Zend/

So we can use it there as well...

For now I've retained the zend_smart_str_public.h header, though
it would probably be better to just m

Move smart_str implementation into Zend/

So we can use it there as well...

For now I've retained the zend_smart_str_public.h header, though
it would probably be better to just move that one struct into
zend_types.h.

show more ...


# d0cb7153 19-Sep-2014 Johannes Schlüter

s/PHP 5/PHP 7/


# 3bc8a958 19-Sep-2014 Dmitry Stogov

Fixed useless or duplicated IS_INTERNED() checks


# 8a9dd4a1 18-Sep-2014 Nikita Popov

Fix GMP serialization

Also fix same issue in PDO.


Revision tags: php-5.4.33, php-5.5.17, php-5.6.1RC1
# 15c139b9 04-Sep-2014 Nikita Popov

Throw warnings when using zero modulus in gmp_powm

Also fixes a leak in this case.


# 6cceb54c 03-Sep-2014 Nikita Popov

Fix a number of format issues


Revision tags: php-5.5.17RC1, php-5.4.33RC1
# 834daa45 02-Sep-2014 Nikita Popov

Fixed bug #50175

0x and 0b prefix is now only handled if either no base is given
or if the base is 16 (0x) or 2 (0b). Always handling it is incorrect
because 0x and 0b are perfectly

Fixed bug #50175

0x and 0b prefix is now only handled if either no base is given
or if the base is 16 (0x) or 2 (0b). Always handling it is incorrect
because 0x and 0b are perfectly valid numbers in other bases.

show more ...


# 7533243f 02-Sep-2014 Nikita Popov

Fix C89 build and small cleanup


# 5138f3ba 02-Sep-2014 Nikita Popov

Skip 64bit test on 32bit

Also minor type improvements


# 08b732f2 02-Sep-2014 Anatol Belski

fix datatypes for gmp to be compatible with GMP/MPIR on different platforms


123456789