Xinchen Hui
c081ce628f
Bump year
2014-01-03 11:08:10 +08:00
Nikita Popov
5408f1e5a6
Throw warning when converting invalid string to GMP
2013-12-30 14:38:09 +01:00
Nikita Popov
00c74ccf69
Support gmp_remroot() on GMP 4.1
2013-12-02 20:11:06 +01:00
Nikita Popov
f54f308f71
Clean up GMP arginfos
...
Removed duplicate arginfos, specified number of required args
everywhere and removed weird pass-by-ref arguments.
2013-11-29 00:05:28 +01:00
Nikita Popov
6d38090c8d
Add gmp_root() and gmp_rootrem() functions
2013-11-29 00:01:59 +01:00
Nikita Popov
1c8cbe4b4e
Use class handlers for GMP serialization
...
A bit faster and less boilerplate
2013-11-29 00:01:59 +01:00
Nikita Popov
8860758a74
Remove duplicate / commented code in GMP
2013-11-29 00:01:59 +01:00
Nikita Popov
4218e89f8d
Fix bug #65997 by switching to Serializable for GMP
...
Rather than using get_properties and __wakeup for serialization
the code now uses Serializable::serialize() and
Serializable::unserialize(). The get_properties handler is switched
to a get_debug_info handler. Thus get_gc will now return only
the normal properties and not do any modifications, thus fixing
the leak. This also avoids a $num property from being publicly
visible after the object was dumped or serialized, so that's an
extra plus.
2013-10-29 20:58:30 +01:00
Nikita Popov
647e0be64b
Fix compile warning in GMP
2013-10-29 20:07:34 +01:00
Christopher Jones
3c166c4758
Merge branch 'PHP-5.5'
...
* PHP-5.5:
Reduce (some) compile noise of 'unused variable' and 'may be used uninitialized' warnings.
Conflicts:
ext/gmp/gmp.c
2013-08-14 20:47:00 -07:00
Christopher Jones
39612afc72
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Reduce (some) compile noise of 'unused variable' and 'may be used uninitialized' warnings.
Conflicts:
ext/dba/libinifile/inifile.c
2013-08-14 20:43:25 -07:00
Christopher Jones
9ad97cd489
Reduce (some) compile noise of 'unused variable' and 'may be used uninitialized' warnings.
2013-08-14 20:36:50 -07:00
Christopher Jones
4c3c9d1fe5
Merge branch 'PHP-5.5'
...
* PHP-5.5:
Fix long-standing visual pain point: the misalignment of './configure help' text. Whitespace changes and a couple of grammar fixes.
2013-08-06 11:09:12 -07:00
Christopher Jones
c6d977dd39
Fix long-standing visual pain point: the misalignment of './configure help' text.
...
Whitespace changes and a couple of grammar fixes.
2013-08-06 11:06:09 -07:00
Felipe Pena
281936b295
- Fixed bug #65227 (Memory leak in gmp_cmp second parameter)
2013-07-12 20:23:00 -03:00
Nikita Popov
7713b8c2ac
GMP improvements
...
As per RFC https://wiki.php.net/rfc/operator_overloading_gmp
2013-06-17 17:59:12 +02:00
Xinchen Hui
a666285bc2
Happy New Year
2013-01-01 16:37:09 +08:00
Xinchen Hui
0a7395e009
Happy New Year
2013-01-01 16:28:54 +08:00
Anatoliy Belsky
9a72b52a1f
fixing test for upcoming mpir upgrade
...
- mpir is going to be upgraded up to 2.5.1 on windows
2012-08-23 17:09:45 +02:00
Anatoliy Belsky
77e70b391c
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #62068 Test bug - gmp_nextprime and 022
Fix: 62067 Moved comments to FILE section
- BFN
Conflicts:
NEWS
2012-05-21 12:37:59 +02:00
Matt Ficken
645d65f3e3
Fixed bug #62068 Test bug - gmp_nextprime and 022
2012-05-21 12:31:16 +02:00
Felipe Pena
e4ca0ed09f
- Year++
2012-01-01 13:15:04 +00:00
Felipe Pena
4e19825281
- Year++
2012-01-01 13:15:04 +00:00
Felipe Pena
23e438594d
- Make usage of new PHP_FE_END macro
2011-07-25 11:42:53 +00:00
Felipe Pena
4b30846b50
- Make usage of new PHP_FE_END macro
2011-07-25 11:35:02 +00:00
Felipe Pena
927bf09c29
- Year++
2011-01-01 02:19:59 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Ilia Alshanetsky
880d61e9c6
removed unused var
2010-12-21 22:05:15 +00:00
Ilia Alshanetsky
051145f62a
Removed unused variable
2010-10-25 16:38:19 +00:00
Stanislav Malyshev
b55d4ecb41
Fix bug #52906 gmp_mod returns negative result when non-negative is expected
2010-10-01 00:12:23 +00:00
Stanislav Malyshev
d3b1ab9b20
Fix bug #52906 gmp_mod returns negative result when non-negative is expected
2010-10-01 00:12:23 +00:00
Antony Dovgal
4bf895cb08
fix ZTS build
2010-09-17 07:07:52 +00:00
Adam Harvey
416240947b
Fix bug #52849 (GNU MP invalid version match).
2010-09-15 10:51:55 +00:00
Adam Harvey
767bc20ed5
Fix bug #52849 (GNU MP invalid version match).
2010-09-15 10:51:55 +00:00
Pierre Joye
5cbece0a8e
- fix build when __GMP_BITS_PER_MP_LIMB is not defined but GMP_LIMB_BITS (no trace of this change in gmp's changelog...)
2010-02-23 11:07:39 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Pierre Joye
7179910573
- [DOC] expose MPIR version when mpir is used instead of gmp
2009-12-10 02:25:47 +00:00
David Soria Parra
7957efe4d4
Use extended base if we build again gmp 4.2.0 which is usually available.
2009-11-27 22:24:44 +00:00
David Soria Parra
99c43e1b93
Also allow base 62 for gmp_init as requested in ( #50283 )
2009-11-25 23:38:34 +00:00
David Soria Parra
579a6e39de
Really use 62 as the upper boundary as requested and not 32.
2009-11-25 18:15:25 +00:00
David Soria Parra
18f32db810
Implement feature request #50283 (allow base in gmp_strval to use full range: 2 to 62, and -2 to -36)
2009-11-24 13:33:35 +00:00
Pierre Joye
dfb8717c1e
- put mpir headers in their own directory
2009-06-10 09:59:21 +00:00
Pierre Joye
da27f4237a
- MFH: enable MPIR support and the good old 4.1.x gmp for VC6. solving the lgplv3 mess
2009-05-25 10:15:19 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Felipe Pena
fc2fb50d09
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-11-17 11:28:01 +00:00
Felipe Pena
7a37fa2d6b
- Revert ZEND_BEGIN_ARG_INFO change
2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-10-24 14:35:40 +00:00
Ilia Alshanetsky
92ebb2e282
Fixed bug #43981 (gmp_div_r() does not preserve the sign of 1st argument)
2008-01-30 18:25:51 +00:00
Nuno Lopes
61eb7ae554
remove unused PHP_EXTNAME_API macros.
...
#in preparation for the gcc 4 visibility patch
2008-01-03 16:20:33 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00