Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'pull-request/877' | Stanislav Malyshev | 2014-11-30 | 3 | -0/+262 |
|\ | | | | | | | | | * pull-request/877: gmp_random_seed() | ||||
| * | gmp_random_seed() | Leigh | 2014-10-19 | 3 | -0/+262 |
| | | |||||
* | | Merge branch 'PHP-5.6' | Remi Collet | 2014-10-27 | 1 | -26/+0 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: NEWS NEWS Fix bug #63595 GMP memory management conflicts with other libraries using GMP Conflicts: ext/gmp/gmp.c | ||||
| * \ | Merge branch 'PHP-5.5' into PHP-5.6 | Remi Collet | 2014-10-27 | 1 | -26/+0 |
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: NEWS Fix bug #63595 GMP memory management conflicts with other libraries using GMP Conflicts: ext/gmp/gmp.c | ||||
| | * | | Fix bug #63595 GMP memory management conflicts with other libraries using GMP | Remi Collet | 2014-10-27 | 1 | -26/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| | * | | Merge branch 'PHP-5.4' into PHP-5.5 | Anatol Belski | 2014-03-11 | 1 | -7/+10 |
| | |\ \ | | | | | | | | | | | | | | | | | | | | | * PHP-5.4: restored the old code in 5.4/5 related to bug #66872 | ||||
| | | * | | restored the old code in 5.4/5 related to bug #66872 | Anatol Belski | 2014-03-11 | 1 | -7/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | The crash is reproducable in 5.6+ only, so 5.4 and 5.5 are fine with the old code. | ||||
* | | | | | fix datatype | Anatol Belski | 2014-10-22 | 1 | -1/+1 |
| |_|_|/ |/| | | | |||||
* | | | | Merge branch 'PHP-5.6' | Stanislav Malyshev | 2014-10-14 | 4 | -9/+237 |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: update NEWS and UPGRADING Upated NEWS Address issues raised by @nikic Make sure min < max Mersenne Twister was added in GMP 4.2 Add test files Add gmp_random_bits(bits) and gmp_random_range(min, max) Change GMPs default PRNG to Mersenne Twister Conflicts: ext/gmp/gmp.c | ||||
| * | | | Address issues raised by @nikic | Leigh | 2014-09-24 | 3 | -22/+141 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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! | ||||
| * | | | Make sure min < max | Leigh | 2014-09-24 | 2 | -0/+11 |
| | | | | |||||
| * | | | Mersenne Twister was added in GMP 4.2 | Leigh | 2014-09-23 | 1 | -1/+4 |
| | | | | |||||
| * | | | Add test files | Leigh | 2014-09-23 | 3 | -2/+32 |
| | | | | |||||
| * | | | Add gmp_random_bits(bits) and gmp_random_range(min, max) | Leigh | 2014-09-23 | 2 | -9/+78 |
| | | | | |||||
| * | | | Change GMPs default PRNG to Mersenne Twister | Leigh | 2014-09-23 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Since we don't allow users to seed the RNG, there is no BC issue with changing the generator. | ||||
* | | | | Drop support for GMP 4.1 | Nikita Popov | 2014-09-28 | 3 | -40/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | * Consistent base conversion support (max: 62) * mpz_remroot always available * Use gmp_randinit_mt instead of LCG | ||||
* | | | | Make gmp_setbit and gmp_clrbit return values consistent | Leigh | 2014-09-28 | 3 | -6/+8 |
| | | | | |||||
* | | | | Move smart_str implementation into Zend/ | Nikita Popov | 2014-09-21 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | | s/PHP 5/PHP 7/ | Johannes Schlüter | 2014-09-19 | 2 | -2/+2 |
| | | | | |||||
* | | | | Fixed useless or duplicated IS_INTERNED() checks | Dmitry Stogov | 2014-09-19 | 1 | -1/+1 |
| | | | | |||||
* | | | | Fix GMP serialization | Nikita Popov | 2014-09-18 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | Also fix same issue in PDO. | ||||
* | | | | Merge branch 'PHP-5.6' | Nikita Popov | 2014-09-04 | 44 | -142/+232 |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | Conflicts: ext/soap/php_http.c | ||||
| * | | | Split GMP tests testing multiple functions | Nikita Popov | 2014-09-04 | 5 | -142/+140 |
| | | | | | | | | | | | | | | | | Also drop dummy test | ||||
| * | | | Give proper names to GMP test files | Nikita Popov | 2014-09-04 | 37 | -0/+0 |
| | | | | |||||
| * | | | Throw warnings when using zero modulus in gmp_powm | Nikita Popov | 2014-09-04 | 2 | -3/+11 |
| | | | | | | | | | | | | | | | | Also fixes a leak in this case. | ||||
| * | | | Add GMP tests for some uncovered branches | Nikita Popov | 2014-09-04 | 5 | -8/+92 |
| | | | | |||||
* | | | | Fix a number of format issues | Nikita Popov | 2014-09-03 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge branch 'PHP-5.6' | Nikita Popov | 2014-09-02 | 2 | -9/+25 |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | Conflicts: ext/gmp/gmp.c | ||||
| * | | | Fixed bug #50175 | Nikita Popov | 2014-09-02 | 2 | -9/+25 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | | | Fix C89 build and small cleanup | Nikita Popov | 2014-09-02 | 1 | -4/+4 |
| | | | | |||||
* | | | | Skip 64bit test on 32bit | Nikita Popov | 2014-09-02 | 2 | -6/+9 |
| | | | | | | | | | | | | | | | | Also minor type improvements | ||||
* | | | | fix datatypes for gmp to be compatible with GMP/MPIR on different platforms | Anatol Belski | 2014-09-02 | 2 | -10/+19 |
| | | | | |||||
* | | | | add a test with gmp and PHP_INT_MAX | Anatol Belski | 2014-09-02 | 1 | -0/+26 |
| | | | | |||||
* | | | | one semicolon too much | Anatol Belski | 2014-09-02 | 1 | -2/+2 |
| | | | | |||||
* | | | | mpz functions don't work on zend_ulongs... | Nikita Popov | 2014-09-02 | 1 | -6/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | If we really want to support zend_ulong > ulong in GMP the right approach would be to only handle < LONG_MAX in ui shortcut functions and use mpz_import in convert_to_gmp for number > LONG_MAX. | ||||
* | | | | Merge branch 'PHP-5.6' | Nikita Popov | 2014-09-02 | 3 | -16/+307 |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | Conflicts: ext/gmp/gmp.c | ||||
| * | | | Implement gmp_import() and gmp_export() | Leigh | 2014-09-02 | 3 | -20/+311 |
| | | | | |||||
* | | | | Merge branch 'PHP-5.6' | Nikita Popov | 2014-08-27 | 2 | -1/+38 |
|\ \ \ \ | |/ / / | |||||
| * | | | Fix bug #67917 (gmp compound assignment operator leak) | Nikita Popov | 2014-08-27 | 2 | -1/+38 |
| | | | | |||||
* | | | | master renames phase 2 | Anatol Belski | 2014-08-25 | 1 | -2/+2 |
| | | | | |||||
* | | | | master renames phase 1 | Anatol Belski | 2014-08-25 | 1 | -72/+72 |
| | | | | |||||
* | | | | fixes to %pd format usage | Anatol Belski | 2014-08-24 | 1 | -3/+3 |
| | | | | |||||
* | | | | ported ext/gmp | Anatol Belski | 2014-08-19 | 1 | -41/+41 |
| | | | | |||||
* | | | | basic macro replacements, all at once | Anatol Belski | 2014-08-19 | 1 | -33/+33 |
| | | | | |||||
* | | | | Use optimized zend_array_dup() function. convert zend_hash_num_elements() ↵ | Dmitry Stogov | 2014-05-23 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | and zend_hash_next_free_element() into macros. | ||||
* | | | | Fixed access to uninitialized data and attempt to double free | Dmitry Stogov | 2014-05-13 | 1 | -0/+2 |
| | | | | |||||
* | | | | Port ext/gmp (one failure) | Nikita Popov | 2014-05-06 | 1 | -115/+94 |
|/ / / | |||||
* | | | Fix crashes in GMP serialize/unserialize | Stanislav Malyshev | 2014-04-28 | 1 | -14/+11 |
| | | | |||||
* | | | Add SKIPIF in GMP test | Nikita Popov | 2014-03-12 | 1 | -0/+2 |
| | | | |||||
* | | | Add tests for bug #66872 and gmp_[rem]root | Nikita Popov | 2014-03-11 | 2 | -0/+158 |
| | | |