Nikita Popov
e74b84a9fe
Fix Intl constructor leaks
...
Drop the Z_OBJ(return_value) = NULL hack and return status code
from ctor function instead.
2015-04-17 10:33:59 +02:00
Nikita Popov
122d759618
Always throw TypeException on throwing zpp failures
...
Introduces a ZEND_PARSE_PARAMS_THROW flag for zpp, which forces to
report FAILURE errors using a TypeException instead of a Warning,
like it would happen in strict mode.
Adds a zend_parse_parameters_throw() convenience function, which
invokes zpp with this flag.
Converts all cases I could identify, where we currently have
throwing zpp usage in constructors and replaces them with this API.
Error handling is still replaced to EH_THROW in some cases to handle
other, domain-specific errors in constructors.
2015-04-06 11:27:34 +02:00
Anatol Belski
ca1ef2749d
C89 compat
2015-04-01 13:18:51 +02:00
Dmitry Stogov
1018f462d8
Patch improvement:
...
Removed the corresponding core code.
Fixed ext/com_dotnet and ext/date.
Refactored ext/intl changes.
Improved ext/fileinfo and ext/pdo changes.
Fixed tests.
2015-03-30 18:53:38 +03:00
Danack
99dae96dc0
Converted intl extension to use IntlException in constructors.
2015-03-15 13:59:48 +00:00
Dmitry Stogov
9e70d7672d
Move zend_object->guards into additional slot of zend_object->properties_table[]. As result size of objects without __get/__set/__unset/__isset magic methods is reduced.
2015-02-04 15:24:13 +03:00
Stanislav Malyshev
b7a7b1a624
trailing whitespace removal
2015-01-10 15:07:38 -08:00
Stanislav Malyshev
82f3d36583
cleanup intl types
2014-12-29 14:06:12 -08:00
Anatol Belski
bdeb220f48
first shot remove TSRMLS_* things
2014-12-13 23:06:14 +01:00
Johannes Schlüter
d0cb715373
s/PHP 5/PHP 7/
2014-09-19 18:33:14 +02:00
Anatol Belski
3234480827
first show to make 's' work with size_t
2014-08-27 20:49:31 +02:00
Anatol Belski
c3e3c98ec6
master renames phase 1
2014-08-25 19:24:55 +02:00
Anatol Belski
063079b62e
ported ext/intl, bugfixes to go
2014-08-19 22:57:17 +02:00
Anatol Belski
63d3f0b844
basic macro replacements, all at once
2014-08-19 08:07:31 +02:00
Xinchen Hui
b6e9c76d67
Refactoring ext/intl (only compilerable now, far to finish :<)
2014-06-28 12:20:35 +08:00
Gustavo Lopes
886a50a619
Fixed defective cloning in ext/intl classes
...
See also bug #62915
2012-08-26 23:42:13 +02:00
Gustavo André dos Santos Lopes
d212a5d391
Fix SPOOFCHECKER_METHOD_FETCH_OBJECT definition
2012-08-23 10:32:05 +01:00
Gustavo Lopes
cd1f45b3be
Fix handling of several uinitialized intl objects
...
PHP 5.4 specific changes. Not having this in the merge commit helps
porting to pecl/intl
2012-08-22 22:38:31 +02:00
Gustavo André dos Santos Lopes
f8e693248f
Remove executable bit from files
2012-07-30 10:32:27 +02:00
Felipe Pena
0bff7cfadd
- Fixed bug #62565 (Crashes due non-initialized internal properties_table)
2012-07-14 12:16:16 -03:00
Felipe Pena
783b05326a
- Added missing PHP_FE_END/ZEND_FE_END
2011-08-06 01:22:27 +00:00
Felipe Pena
2191af9546
- Fixed compiler warnings
2011-03-27 18:14:58 +00:00
Scott MacVicar
ee9af39c90
Fix docblocks on SpoofChecker and remove exceptions after discussion with Stas.
2011-02-03 16:29:23 +00:00
Scott MacVicar
b2c4503fbe
intl: Add Spoofchecker cloning, fix typo in prototype, rename some variables and tidy syntax.
2011-01-13 07:46:59 +00:00
Scott MacVicar
d90394851c
Add Spoofchecker to intl extension.
...
Implements part of Unicode TR36 and TR39
2011-01-13 06:53:09 +00:00