Ilia Alshanetsky
17f9597ba3
MFB: Fixed memory leak inside pack() (coverity issues #398,#399,#400)
2007-09-22 15:26:51 +00:00
Raghubansh Kumar
360f022c1a
New testcases for strspn() function
2007-09-22 10:49:49 +00:00
Raghubansh Kumar
8a44a00593
New testcases for strcspn() function
2007-09-22 10:37:46 +00:00
Raghubansh Kumar
53569976d4
New testcases for strtok() function
2007-09-22 07:41:14 +00:00
Raghubansh Kumar
db756ffc96
replaced by array_search_variation1.phpt, hence removed.
2007-09-22 06:57:42 +00:00
Raghubansh Kumar
1c35a6365e
update and split of testcases for functions array_search() and in_array()
2007-09-22 06:55:59 +00:00
Antony Dovgal
fba42a8530
check the return value of getgroups() for -1 (coverity issue #390 )
2007-09-21 14:05:01 +00:00
Antony Dovgal
cd519f058c
plug leak on error (coverity issue #405 )
2007-09-21 13:50:47 +00:00
Antony Dovgal
6b3e9fe528
plug leak on error (coverity issue #407 )
2007-09-21 13:41:02 +00:00
Dmitry Stogov
f5ee0dc18e
Improved speed of array_diff_key(), array_diff_assoc() and array_udiff_assoc().
2007-09-21 13:11:16 +00:00
Antony Dovgal
691de1aa72
fix invalid read when opendir over FTP fails (coverity issue #462 )
2007-09-21 12:57:23 +00:00
Nuno Lopes
c5df1d8673
oops.. thats what you get for commiting code without compiling nor testing..
2007-09-20 22:44:17 +00:00
Stanislav Malyshev
39253a5418
better fix for iconv_substr
2007-09-20 22:38:25 +00:00
Nuno Lopes
c891118ce9
MFB: fix crash in tidy_get_body() and related functions when the node doesnt exist
2007-09-20 22:30:49 +00:00
Stanislav Malyshev
6d5fce416f
MFB length check fix (Mattias Bengtsson)
2007-09-20 21:57:11 +00:00
Stanislav Malyshev
3a5dc95ae4
add test for dl() with long name
2007-09-20 18:45:03 +00:00
Jani Taskinen
9eb9d74932
- Fixed skipif block
2007-09-20 14:27:58 +00:00
Jani Taskinen
b11587f988
- Fix test descriptions to be in sync
2007-09-20 13:39:04 +00:00
Ilia Alshanetsky
c55bf5fc80
MFB: Fixed test for glob() affected by previous patch
2007-09-20 13:29:22 +00:00
Rob Richards
2fab025256
fix bug #42139 (XMLReader option constants are broken using XML())
...
add test
2007-09-20 09:30:17 +00:00
Dmitry Stogov
d5473d816e
Improved speed of array_intersect_key(), array_intersect_assoc() and array_uintersect_assoc(). (100 times faster on arrays with 100000 elements)
2007-09-20 09:23:11 +00:00
Antony Dovgal
2b17f226b9
if one of regular expressions in the array fails, return NULL right away
...
this fixes "String is not zero-terminated" error and makes the behaviour consistent with regexps passed as strings
2007-09-20 08:10:20 +00:00
Ilia Alshanetsky
3d1534d185
MFB: Fixed regression in glob() when enforcing safe_mode/open_basedir checks
...
on paths containing '*'
2007-09-19 22:40:02 +00:00
Antony Dovgal
8df615e0d6
fix test name
2007-09-19 11:25:51 +00:00
Johannes Schlüter
eaab9fc9c4
- Fix build (filename is a zval * here, not a zval** like in 5_2)
2007-09-19 01:08:38 +00:00
Stanislav Malyshev
16059f2b18
MFB one more test
2007-09-19 00:49:25 +00:00
Stanislav Malyshev
5fce3f4e02
MFB length tests
2007-09-19 00:42:20 +00:00
Stanislav Malyshev
8ecd0a4943
MFB: limit iconv parameters here too
2007-09-19 00:38:48 +00:00
Stanislav Malyshev
71929ac5ee
limit iconv parameter sizes - workaround for libc bug
2007-09-19 00:37:43 +00:00
Stanislav Malyshev
0cf2068b3b
use right variable name
2007-09-19 00:06:05 +00:00
Rui Hirokawa
1dcec80d7b
fixed bug #42502 va_* cannot detect.
2007-09-18 21:35:13 +00:00
Stanislav Malyshev
a8f965bf80
limit dl() argument length (patch by Christian Hoffmann)
2007-09-18 20:21:04 +00:00
Ilia Alshanetsky
c701d46a4b
MFB: Fixed bug #42189 (xmlrpc_set_type() crashes php on invalid datetime
...
values).
2007-09-18 19:52:27 +00:00
Raghubansh Kumar
adb9c195f5
better output matching/fixes
2007-09-15 07:32:16 +00:00
Raghubansh Kumar
59d3bd8544
New testcase for strncasecmp()
2007-09-14 19:17:08 +00:00
Raghubansh Kumar
78fdb30718
New testcases for chop()
2007-09-14 19:14:52 +00:00
Raghubansh Kumar
35405b401a
Removing from file dir as it was wrongly committed to this dir
2007-09-14 19:10:04 +00:00
Raghubansh Kumar
3aae429b88
New testcases for wordwrap()
2007-09-14 19:09:11 +00:00
Zoe Slattery
05da39cb03
Changing to use %a to match recent run-tests.php patch
2007-09-14 16:56:34 +00:00
Nuno Lopes
db5f5d6bd7
MFB: change run-tests.php to add %a
2007-09-14 15:36:29 +00:00
Nuno Lopes
619ddc2679
MFB: fix expected output
2007-09-14 15:04:46 +00:00
Raghubansh Kumar
c0a64e0cba
better comments
2007-09-14 14:28:42 +00:00
Raghubansh Kumar
0bbb0489ec
New testcases for wordwrap()
2007-09-14 14:17:22 +00:00
Raghubansh Kumar
798aa19de7
fix test
2007-09-14 09:44:02 +00:00
Nuno Lopes
ba8461c0a0
MFB
2007-09-13 19:58:53 +00:00
Nuno Lopes
bd6f705895
MFB
2007-09-13 19:52:45 +00:00
Nuno Lopes
fbd1076132
MFB: fix expected output
2007-09-13 18:56:21 +00:00
Nuno Lopes
7ee5d8c6c9
MFB: fix skip reasons
2007-09-13 18:26:12 +00:00
Ilia Alshanetsky
7877150f49
MFB: Added a note indicating that the tests may fail to due libc
...
implementation
2007-09-13 15:36:50 +00:00
Jani Taskinen
4e3f872eb1
cs/ws fix
2007-09-13 07:41:59 +00:00
Stanislav Malyshev
45a25008bd
MFB: docs say dl() parameter can be filename only - enforce it
2007-09-13 01:16:24 +00:00
Stanislav Malyshev
88a97c56dd
MFB: fix crash if stream is empty and reader function sets buffer as null
2007-09-12 21:27:56 +00:00
Nuno Lopes
08e3aa71a4
MFB: fix #39651
2007-09-12 11:46:08 +00:00
Jani Taskinen
6cd020bca8
- Fixed bug #42627 (bz2 extension fails to build with -fno-common)
2007-09-12 11:44:11 +00:00
Raghubansh Kumar
9aaf21fc0f
marked with Bug #42038
2007-09-12 09:49:25 +00:00
Raghubansh Kumar
5a69a2341e
marked with bug#42638
2007-09-12 08:29:34 +00:00
Pierre Joye
32a5a95752
- MFB
2007-09-11 21:31:14 +00:00
Pierre Joye
f196ad4d98
- MFB: alpha support for colorize filter
2007-09-11 21:10:51 +00:00
Pierre Joye
9dfdaac244
- MFB:
...
- gdImageTileApply does not respect transparent color
- gdImageArc regression
- Alpha channel support for gdImageColor (IMG_FILTER_COLORIZE)
2007-09-11 21:07:04 +00:00
Nuno Lopes
c6ba92b7ac
MFB: remove HAVE_CONFIG_H
2007-09-11 16:19:14 +00:00
Rob Richards
97a79d5c77
revert config header change
2007-09-11 11:24:39 +00:00
Dmitry Stogov
d085fa1fe1
Simplify (the prototype of zend_u_get_constant_ex() is going to be changed)
2007-09-11 11:16:46 +00:00
Raghubansh Kumar
957f3ddd71
fix test
2007-09-11 05:23:45 +00:00
Ilia Alshanetsky
3a802820e8
MFB: Fixed Bug #42596 (session.save_path MODE option does not work).
2007-09-10 23:43:08 +00:00
Antony Dovgal
1d42952da9
fix tests
2007-09-10 10:33:00 +00:00
Antony Dovgal
2c354acaf7
remove the original
2007-09-09 22:47:47 +00:00
Antony Dovgal
b9faefee14
MFB: split test
2007-09-09 22:47:23 +00:00
Scott MacVicar
98de59fcf0
Fixed bug 42549 (ext/mysql failed to compile with libmysql 3.23)
2007-09-09 16:07:45 +00:00
Rob Richards
67e6942045
point to valid config header
2007-09-08 09:56:52 +00:00
Raghubansh Kumar
fdf0a9e6a1
New testcases for ucwords() function
2007-09-07 14:43:24 +00:00
Raghubansh Kumar
e47194d4dc
New testcases for strncmp() function
2007-09-07 14:22:56 +00:00
Raghubansh Kumar
aecb1354e3
New testcases for stripslashes() function
2007-09-07 14:03:33 +00:00
Zoe Slattery
1c99d1b141
made equivalent (to php5 test) changes to the expected output. Although this test did originally have the right EXP section
2007-09-07 11:06:48 +00:00
Ilia Alshanetsky
b9071080f8
Added missing safety checks for 2nd parameter of setlocale() function
2007-09-07 02:28:26 +00:00
Derick Rethans
8d57a9f689
- Add a comment why not ~0 or -1.
2007-09-06 13:27:31 +00:00
Raghubansh Kumar
87632ef25c
New testcases for addslashes() function
2007-09-06 04:02:56 +00:00
Ilia Alshanetsky
6d2adf8d59
Fixed typo in function name
2007-09-05 13:03:33 +00:00
Ilia Alshanetsky
7828a66219
MFB: Fixed bug #41845 (pgsql extension does not compile with PostgreSQL
...
<7.4)
2007-09-05 12:58:48 +00:00
Ilia Alshanetsky
83e7b29d47
MFB: Fixed bug #42506 (php_pgsql_convert() timezone parse bug)
2007-09-05 12:56:16 +00:00
Ilia Alshanetsky
4ed9af35cd
MFB: Fixed possible buffer overflows inside the fnmatch() and glob()
...
functions
2007-09-05 12:55:36 +00:00
Dmitry Stogov
74c08d50d5
Fixed bug #42214 (SoapServer sends clients internal PHP errors)
2007-09-05 11:21:01 +00:00
Dmitry Stogov
5f28a1da4e
Fixed bug #42488 (SoapServer reports an encoding error and the error itself breaks).
2007-09-05 10:18:38 +00:00
Antony Dovgal
a2d6d5fbb2
detect endianness in compile time when using Apple's GCC (fixes universal binary build)
2007-09-04 18:46:08 +00:00
Rui Hirokawa
2b41d574bb
fixed bug #29955 invalid case conversion in iso-8859-9.
2007-09-04 14:13:44 +00:00
Zoe Slattery
8e59bf05cb
Test cases for sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, asinh, acosh, atanh.
2007-09-04 11:18:35 +00:00
Raghubansh Kumar
81313aed39
fix tests
2007-09-04 08:39:40 +00:00
Nuno Lopes
0006462a5b
MFB: malloc+memset == calloc
...
# this was sitting here for quite a looong time..
2007-09-03 14:34:42 +00:00
Derick Rethans
14df6eb975
- Ugh, fix this properly.
2007-09-03 12:12:51 +00:00
Derick Rethans
cf0e879870
- Fixed DateTimeZone::getTransitions().
2007-09-03 12:03:46 +00:00
Jani Taskinen
ea2d704953
MFB: Fixed bug #42468 (Write lock on file_get_contents fails when using a compression stream)
2007-09-03 11:53:43 +00:00
Hannes Magnusson
16737ee566
MFB: Fixed bug #42072 (No warning message for clearstatcache() with arguments).
2007-09-02 11:53:51 +00:00
Derick Rethans
773fe3adc7
- Fixed bug #42512 (ip2long('255.255.255.255') should return 4294967295 on
...
64-bit PHP).
2007-09-01 18:37:27 +00:00
Nuno Lopes
b357cf9d9b
MFB: upgrade to PCRE 7.3
2007-09-01 18:01:44 +00:00
Jan Lehnardt
314f80f647
spaces -> tabs
2007-09-01 17:17:05 +00:00
Nuno Lopes
b092900c35
also remove this file in HEAD
2007-09-01 14:44:16 +00:00
Christopher Jones
0445dfeabf
MFB New tests for getAttribute
2007-08-31 21:11:52 +00:00
Christopher Jones
5ffabb1576
MFB Add $dbh->getAttribute() support for ATTR_SERVER_VERSION, ATTR_SERVER_INFO, ATTR_CLIENT_VERSION, ATTR_AUTOCOMMIT. Sync WS between PHP 5 & 6 and add a couple of casts.
2007-08-31 21:11:03 +00:00
Dmitry Stogov
cd2403eedc
Fixed bug #42359 (xsd:list type not parsed)
2007-08-31 10:48:57 +00:00
Jani Taskinen
9f785ac30b
ws
2007-08-31 10:45:54 +00:00
Dmitry Stogov
d949c51dd1
Fixed bug #42086 (SoapServer return Procedure '' not present for WSIBasic compliant wsdl)
2007-08-31 09:36:14 +00:00
Dmitry Stogov
cf15b8d1dc
Fixed bug #42326 (SoapServer crash)
2007-08-31 08:07:46 +00:00
Jani Taskinen
e873b05288
- Include php_ini.h (needed in future, does not break anything)
2007-08-31 07:41:46 +00:00
Christopher Jones
c9a404eba8
MFB New tests
2007-08-30 17:34:01 +00:00
Rob Richards
e10e348c5d
fix bug #42462 (Segmentation when trying to set an attribute in DOMElement)
2007-08-30 16:31:57 +00:00
Raghubansh Kumar
668d2d59c2
fix tests: do not run when noatime set
2007-08-30 04:02:57 +00:00
Greg Beaver
33347b19f2
when opening an internal file read-only, recycle the phar archive's fp. This makes phar twice as fast (2.21x according to callgrind)
2007-08-30 02:30:16 +00:00
Derick Rethans
6810f84761
- Put the PHPAPI php_u_str_to_str() function in the .h, just like the rest.
2007-08-29 14:11:30 +00:00
Raghubansh Kumar
57bc6ad6bb
fix tests: do not run on MACOS
2007-08-29 10:13:25 +00:00
Raghubansh Kumar
ae2808fdb8
fix test, do not run on macos
2007-08-29 04:37:17 +00:00
Ilia Alshanetsky
0c773a50fc
not exprimental
2007-08-29 00:10:58 +00:00
Pierre Joye
268386674a
- gd #106 , imagerectangle draws 1x1 rectangles as 1x3 rectangles
2007-08-26 20:33:22 +00:00
Ilia Alshanetsky
7453fe94f7
PDO is not experimental anymore
2007-08-26 17:00:47 +00:00
Greg Beaver
ccb840fb92
add missing /* }}} */
2007-08-25 01:36:21 +00:00
Greg Beaver
543ad01efd
move to 1.3.0 development
...
add Phar::delete()
2007-08-25 01:32:35 +00:00
Greg Beaver
0a13146bbe
prepare release
2007-08-25 01:04:49 +00:00
Sara Golemon
883372e224
Prep for 1.5 release
2007-08-24 21:33:05 +00:00
Sara Golemon
88322b95b3
Fix hash_init() for PHP < 6
2007-08-24 21:27:38 +00:00
Zoe Slattery
b2c5bdfd98
adding check for rc1 to version-compare test
2007-08-24 14:46:34 +00:00
Dmitry Stogov
611abb17fc
Namespace constants
2007-08-24 13:50:52 +00:00
Antony Dovgal
41bda78bd2
fix segfault on shutdown due to UG(utf8_conv) being destroyed twice
2007-08-24 12:13:30 +00:00
Antony Dovgal
f41ab21d0b
fix test name
2007-08-24 12:06:03 +00:00
Greg Beaver
5178a94545
add test for pre-existing alias failure, fix source to fail if alias already exists
2007-08-23 23:23:26 +00:00
Jani Taskinen
24c98f8aa3
MFB: Fixed bug #37273 (Symlinks and mod_files session handler allow open_basedir bypass)
2007-08-23 13:38:49 +00:00
Jani Taskinen
197b51e796
MFB: -r1.100.2.3.2.5
2007-08-23 13:09:27 +00:00
Jani Taskinen
af83e1cad2
missing )
2007-08-23 11:38:56 +00:00
Derick Rethans
947b50b30f
- Make version_compare() also understand the lower case variant of "RC".
2007-08-23 11:36:14 +00:00
Raghubansh Kumar
6ff029a37d
fix tests
2007-08-23 09:34:15 +00:00
Greg Beaver
0bd0d85673
implement Phar->setAlias()
2007-08-23 04:49:39 +00:00
Jani Taskinen
8fd677763a
- Fixed bug #42365 (glob() crashes with invalid flags)
2007-08-22 14:58:30 +00:00
Dmitry Stogov
d7c3646eb6
Fixed bug #42183 (classmap cause crashr in non-wsdl mode)
2007-08-22 14:18:28 +00:00
Ilia Alshanetsky
08f9a66c98
Fixed bug #42368 (Incorrect error message displayed by pg_escape_string)
2007-08-21 23:51:34 +00:00
Johannes Schlüter
6eccdf9203
- Fixed Bug #42364 Crash when using getRealPath with DirectoryIterator
2007-08-21 22:43:38 +00:00
Sara Golemon
16b1288ee1
Bagder says I don't need these ifdefs
2007-08-21 21:23:35 +00:00
Sara Golemon
0deb7d03df
Add support for CURLPROXY_SOCKS4
2007-08-20 18:56:05 +00:00
Sebastian Bergmann
89c30a380b
- MFB: Fugbix typo.
2007-08-20 17:01:59 +00:00
Raghubansh Kumar
1419d23f6a
fix test: skip if user is root
2007-08-20 04:08:15 +00:00
Raghubansh Kumar
66fe5012a2
fix tests
2007-08-20 03:40:41 +00:00
Raghubansh Kumar
1aad43dc22
fix test: skip if user is root
2007-08-20 03:14:58 +00:00
Rui Hirokawa
cec32074d7
added negative offset support in mbfl_strrpos ( fixed #42085 )
2007-08-19 01:57:53 +00:00
Johannes Schlüter
b83198cd2c
- Mark the parameter for ReflectionProperty::GetValue as optional
...
# [DOC] The documentation on this is wrong, too. The parameter is only
# needed for getting the value of an object's property, not for static
# ones. (I'm not sure if it has always been that way...)
2007-08-17 14:21:00 +00:00
Christopher Jones
a3b4762c70
MFH: PDO_OCI: fix Instant Client build broken by logic correction in previous Solaris lib/lib32 fix
2007-08-17 13:33:07 +00:00
Jani Taskinen
8c43fddada
- Fixed bug #41904 (proc_open with empty env array)
2007-08-17 10:42:12 +00:00
Greg Beaver
5d8919938d
fix issue with large number of open file handles killing php with large phars on creation
...
- close file handles that have no references for entries
- add just-in-time re-processing of file handles
- make sure file size is set in renaming
- add old_flags to phar_entry_info so we can decompress when flushing a modified entry whose fp is closed
2007-08-17 04:47:50 +00:00
Greg Beaver
a7d7b956f9
fix dump_entry
2007-08-17 04:46:04 +00:00
Greg Beaver
c6fee51126
add dump_entry
2007-08-16 19:56:02 +00:00
Raghubansh Kumar
4669c2d40a
fix test
2007-08-16 16:33:16 +00:00
Greg Beaver
d43eaabd1e
add docs
2007-08-15 23:37:13 +00:00
Greg Beaver
417b2cfb5e
make pharglobals hidden func
2007-08-15 23:35:27 +00:00
Greg Beaver
2211e8e14f
add fp and refcount display
2007-08-15 23:34:37 +00:00
Greg Beaver
46db4d3f65
add helper functions for gdb debugging phar reference counting (needs more work, but a good start)
2007-08-15 03:49:44 +00:00