Antony Dovgal
34db368fe4
MFH: fix leaks in get_meta_tags() when used with b0rked HTML
...
add test
2006-11-13 20:18:12 +00:00
Antony Dovgal
c301119fdf
MFH: improve the fix and the test
2006-11-13 19:32:58 +00:00
Ilia Alshanetsky
941c036297
Fixed bug #36644 (possible crash in variant_date_from_timestamp()).
2006-11-13 15:33:26 +00:00
Antony Dovgal
69e0c84522
MFH
2006-11-13 15:00:05 +00:00
Antony Dovgal
a2a20556d8
new test
2006-11-13 14:51:11 +00:00
Antony Dovgal
60a2df7db2
add a note that libxml2 2.6.2x is required
2006-11-13 12:54:04 +00:00
Antony Dovgal
79e4f5fd22
MFH: fix compile warning
2006-11-13 12:49:28 +00:00
Antony Dovgal
b5b8fa4f6b
fix test
2006-11-13 12:47:43 +00:00
Hannes Magnusson
a27d73b13d
Add missing header installation..
2006-11-12 19:00:33 +00:00
Ilia Alshanetsky
6e9c7c4aa9
Fixed generated file
2006-11-12 17:55:44 +00:00
Ilia Alshanetsky
c32ed59e4e
Fixed a memory leak when named & positional params are being used in the
...
same query.
2006-11-12 17:49:19 +00:00
Hannes Magnusson
3bf35bbc15
MFH: SplFileObject no longer overwrites SplFileInfo::getFilename()
2006-11-12 17:35:09 +00:00
Ilia Alshanetsky
d4a64fba74
removed bogus char
2006-11-12 17:23:01 +00:00
Hannes Magnusson
1182b325c2
MFH: SplFileObject::getFilename() no longer overwrites SplFileInfo::getFilename()
...
(SplFileObject::getFilename() therefor only returns the filename now)
2006-11-12 17:16:13 +00:00
Ilia Alshanetsky
e0d385a328
Optimized array functions utilizing php_splice().
2006-11-12 17:13:22 +00:00
Marcus Boerger
d3bda9a516
- MFH: Correct comments
2006-11-12 15:58:17 +00:00
Hannes Magnusson
7b81e554ae
MFH: Fixed bug#36975 (natcasesort() causes array_pop() to misbehave)
2006-11-12 01:14:39 +00:00
Nuno Lopes
7d75155e01
fix leak in oo_stream.phpt
2006-11-12 00:41:16 +00:00
Nuno Lopes
c0b0d0a81a
fix leak in the object destrucotr when zip_close() fails (fixes oo_delete.phpt)
2006-11-12 00:31:03 +00:00
Nuno Lopes
232bb79bed
fix leaks within zip entries in several tests
2006-11-11 23:43:00 +00:00
Nuno Lopes
b3de830b61
fix leak in oo_setArchiveComment.phpt
2006-11-11 23:35:27 +00:00
Pierre Joye
8cb18e8d64
- fix leak in zip_close when the function's succeeded
2006-11-11 19:06:56 +00:00
Nuno Lopes
94404da606
fix the bug I introduced previously, sorry
...
anyway, convert the recursive version of the binary search to an iterative one
2006-11-10 23:27:11 +00:00
Antony Dovgal
88e827f3f1
MFH
2006-11-10 23:03:32 +00:00
Antony Dovgal
7563d4f573
fix possible issue with negative values in oci_set_prefetch
...
(reported by Chris Jones)
2006-11-10 20:13:36 +00:00
Nuno Lopes
ec46e5e510
mark a few variables and functions as static
2006-11-10 18:05:11 +00:00
Nuno Lopes
fe8e53f7a7
mark the binary search delimiters as unsigned, so that the compiler can use a quick shift operation
2006-11-10 17:32:15 +00:00
Antony Dovgal
4106eee7c7
fix segfault in ZTS mode when statements containing sub-statements are destroyed in wrong order
2006-11-10 16:33:41 +00:00
Dmitry Stogov
31bfc6e55b
Fixed bug #39454 (Returning a SOAP array segfaults PHP)
2006-11-10 15:05:22 +00:00
Dmitry Stogov
a4a77d3f91
Intialization code is moved from request startup to module startup
2006-11-10 12:02:10 +00:00
Dmitry Stogov
532b02cd19
Implemented registry cache that prevent registry lookup on each request. In case of modification of corresponding registry-tree PHP will reload it automatic.
2006-11-10 11:42:07 +00:00
Dmitry Stogov
a930751112
Faster and better licensed implementation
2006-11-10 10:10:38 +00:00
Ilia Alshanetsky
126be8ec7c
Added missing API declarations.
2006-11-10 01:28:59 +00:00
Ilia Alshanetsky
f06762b361
Fixed pecl bug #9179 (phpversion("filter") shows wrong version).
2006-11-10 01:08:17 +00:00
Ilia Alshanetsky
ddae41877f
Added missing PHPAPI declaration
2006-11-09 20:01:41 +00:00
Nuno Lopes
fb06fa19e3
fix test for non English guys
2006-11-09 16:38:28 +00:00
Nuno Lopes
98dd25e04c
fix an invalid read + invalid free()
2006-11-09 16:33:07 +00:00
Nuno Lopes
d6802e1022
statification of local functions and variables.
...
also remove a few uneeded global variables
interesting new warnings:
/cvs/php5/ext/xmlwriter/php_xmlwriter.c:391: warning: 'xmlwriter_objects_clone' defined but not used
/cvs/php5/ext/xmlwriter/php_xmlwriter.c:1281: warning: 'zif_xmlwriter_start_dtd_entity' defined but not used
/cvs/php5/ext/xmlwriter/php_xmlwriter.c:1325: warning: 'zif_xmlwriter_end_dtd_entity' defined but not used
/cvs/php5/ext/xmlwriter/php_xmlwriter.c:1333: warning: 'zif_xmlwriter_write_dtd_entity' defined but not used
2006-11-09 16:04:34 +00:00
Frank M. Kromann
87b412dc3a
Revert patch for warnings about missing headers. These are fixed in the latest version of libming.
...
Sync code for SWFMovie::streamMP3. This function will now return the number of frames in the file.
2006-11-09 09:19:21 +00:00
Dmitry Stogov
25f01e8ec3
Fixed tests
2006-11-09 08:29:18 +00:00
Dmitry Stogov
84b9dcb73f
Fixed bug #38536 (SOAP returns an array of values instead of an object)
2006-11-08 10:05:19 +00:00
Ilia Alshanetsky
d6b3b73490
Fixed tests
2006-11-07 20:24:38 +00:00
Ilia Alshanetsky
887b3484f7
Fixed bug #39398 (Booleans are not automatically translated to integers).
2006-11-07 17:57:17 +00:00
Johannes Schlüter
c65a1f10cb
- MFH: No C++ comments ( fix #39414 )
2006-11-07 15:19:11 +00:00
Hannes Magnusson
69dbaaacac
MFH: arginfo fixes
2006-11-06 23:20:11 +00:00
Ilia Alshanetsky
07cdfefdee
Fixed bug #39350 (crash with implode("\n", array(false))).
2006-11-06 17:21:05 +00:00
Ilia Alshanetsky
5cc7f616c9
param parsing fix
...
# Thanks Hannes
2006-11-06 16:44:03 +00:00
Dmitry Stogov
7b8f30adcb
Fixed bug #39121 (Incorrect return array handling in non-wsdl soap client)
2006-11-06 16:36:43 +00:00
Hannes Magnusson
c263929002
MFH: throw exception on invalid parameters
2006-11-06 16:11:26 +00:00
Hannes Magnusson
c32408e694
MFH: fix segfault & improve test
2006-11-06 15:21:45 +00:00
Dmitry Stogov
82f89748a4
Windows doesn't have chown(). Remove unused function and reference to undeclared macro VCWD_CHOWN().
2006-11-06 14:54:52 +00:00
Dmitry Stogov
95fbb9514e
MFH: Fixed decoding list of arrays (related to bug #39121 )
2006-11-06 13:22:49 +00:00
Rasmus Lerdorf
cea64d52fa
data: and php:stdin/input allow_url_include checks
2006-11-05 20:08:58 +00:00
Ilia Alshanetsky
86a6812dbb
Fixed bug #39362 (Added an option to imap_open/imap_reopen to control the
...
number of connection retries).
2006-11-05 18:31:41 +00:00
Pierre Joye
5784602544
- Merge from gd-cvs, initialize the signature not the infile ctx
...
NB: good that we don't use getC :)
2006-11-05 15:04:50 +00:00
Marcus Boerger
79946dc8a0
- MFH: Make parameter parsing api check happy
2006-11-04 20:46:32 +00:00
Marcus Boerger
15592390c5
- MFH Store length of autoload file exts
2006-11-04 20:27:28 +00:00
Frank M. Kromann
9df320c423
Fix win32 build
2006-11-04 17:25:14 +00:00
Pierre Joye
4e257c03a1
- WS
2006-11-04 14:34:33 +00:00
Pierre Joye
29242cfab9
- MFH: optimize horizontal and vertical lines
2006-11-04 14:27:07 +00:00
Pierre Joye
d05ef39c74
- MFH #39366 , imagerotate does not use alpha with angles>45
2006-11-04 03:15:31 +00:00
Pierre Joye
541f9940ac
- #39273 , imagecopyresized and alpha channel
2006-11-04 02:21:06 +00:00
Ilia Alshanetsky
6516d8e1d6
Fixed bug #39358 (INSTALL_HEADERS contains incorrect reference to
...
php_filter.h)
2006-11-03 20:08:38 +00:00
Ilia Alshanetsky
4f3889d5bf
Fixed bug #39361 (Removed warning on empty haystack inside mb_strstr()).
2006-11-03 19:55:51 +00:00
Marcus Boerger
2820e9cf1e
- MFH: Fixed bug #38698
2006-11-03 19:00:46 +00:00
Marcus Boerger
76ba475d76
- MFH: Synch
2006-11-03 18:58:41 +00:00
Marcus Boerger
76b73a6ff2
- MFH: Include new headers only if present
2006-11-03 18:57:50 +00:00
Pierre Joye
8ad0c6d543
- MFH:
...
- fix possible leak in statName and statIndex
- add addEmptyDir() method
- add zip_stat_init,zip_clear_error and zip_file_clear_error
- add tests
- Fix protos (Hannes)
- setComment return value on success (Hannes)
2006-11-03 16:46:19 +00:00
Hannes Magnusson
b11b08e987
MFH: fix parameter parsing in getrusage()
2006-11-03 15:48:39 +00:00
Hannes Magnusson
4deb09e72e
Generated file
2006-11-03 15:41:09 +00:00
Hannes Magnusson
5006fb2ceb
MFH: Fix double "wrong param count" messages
2006-11-03 15:13:17 +00:00
Hannes Magnusson
91c604d584
MFH: Add "wrong param" warning to strtotime()
2006-11-03 15:06:51 +00:00
Ilia Alshanetsky
0c7e63a07e
Fixed bug #39354 (Allow building of curl extension against libcurl 7.16.0)
2006-11-03 14:53:14 +00:00
Hannes Magnusson
ace3f94d20
MFH: Fix test
2006-11-03 14:51:02 +00:00
Hannes Magnusson
050f94f746
MFH: Fix double "wron param count" messages
2006-11-03 14:46:48 +00:00
Hannes Magnusson
11c47dc510
MFH: oneliners..
2006-11-03 14:38:45 +00:00
Hannes Magnusson
07a16d19e0
MFH: use PHP_ME_MAPPING rather than ZEND_NAMED_FE/ZEND_FN
2006-11-03 14:36:11 +00:00
Hannes Magnusson
4f4e724b1b
MFH: Remove SKIPIF
2006-11-03 14:17:40 +00:00
Hannes Magnusson
bece30aee5
MFH: fix crash on invalid regex
2006-11-03 14:11:23 +00:00
Hannes Magnusson
9445a302ae
MFH: missing includes
2006-11-03 14:06:59 +00:00
Ilia Alshanetsky
683f81f195
MFH: Fixed a possible crash when callback function returns a non-modified
...
value
2006-11-03 13:53:24 +00:00
Ilia Alshanetsky
bd2ab7bc15
Fixed bug #39215 (Inappropriate close of stdin/stdout/stderr).
2006-11-03 13:34:19 +00:00
Ilia Alshanetsky
3f71251ffa
MFH: Fixed bug #39265 (Fixed path handling inside mod_files.sh).
2006-11-03 13:19:07 +00:00
Ilia Alshanetsky
57f295d3a6
Fixed bug #38680 (Added missing handling of basic types in json_decode).
...
# already in HEAD
2006-11-03 13:16:33 +00:00
Rui Hirokawa
501025306c
fixed illegal encoding detection when mbstring.encoding_translation is enabled.(made by komura)
2006-11-03 02:26:50 +00:00
Rui Hirokawa
96d597b6a4
added japanese legacy encoding support (made by moriyama@miraclelinux.com)
2006-11-03 01:11:35 +00:00
Ilia Alshanetsky
3a533934c7
Added missing boundary checks.
2006-11-01 01:55:11 +00:00
Dmitry Stogov
4629cc0bf6
Revert patch because we are at last RC stage.
2006-10-24 05:20:50 +00:00
Dmitry Stogov
fc22c9dd50
Fixed decoding of list of arrays in non-WSDL mode. (releated to bug #39121 )
2006-10-23 06:46:38 +00:00
Antony Dovgal
5af7f12eb8
fix ZTS build without SPL enabled
2006-10-20 21:28:31 +00:00
Sara Golemon
3042386549
MFH(r-1.114) Can't use real arrays held by ArrayObjects in write context
2006-10-20 02:11:19 +00:00
Antony Dovgal
0cf7b1012f
add new test by Pierre
2006-10-19 12:07:07 +00:00
Ilia Alshanetsky
76f23d4dcf
Fixed bug #38400 (Use of com.typelib_file may cause a crash).
2006-10-18 23:47:33 +00:00
Antony Dovgal
c79ba67673
MFH: fix bug #38882 (ldap_connect causes segfault with newer versions of OpenLDAP)
2006-10-18 20:58:23 +00:00
Johannes Schlüter
dcf249004c
- MFH: Fix #38465 (ReflectionParameter fails if default value is an access to self::
2006-10-18 16:35:15 +00:00
Hannes Magnusson
b99ba323d5
MFH: fix arginfo
2006-10-18 16:04:37 +00:00
Antony Dovgal
91a1333c21
MFH: fix PECL bug #9061 (oci8 might reuse wrong persistent connection)
2006-10-18 14:23:23 +00:00
Antony Dovgal
16877a5ad8
fix test
2006-10-17 22:05:16 +00:00
Derick Rethans
1fa009d1ca
- Updated timezone database.
2006-10-17 17:08:03 +00:00
Ilia Alshanetsky
c5d68cd1df
Unify handling of return values on validation failure and var not found
2006-10-17 15:26:14 +00:00
Antony Dovgal
0ebfbfe791
MFH: initialize optional vars
2006-10-16 19:27:57 +00:00
Ilia Alshanetsky
2245901f6f
Fixed compiler warnings
2006-10-16 15:39:39 +00:00
Antony Dovgal
268984b478
fix compile warning
2006-10-15 21:09:27 +00:00
Hannes Magnusson
b3a914aca8
Fix test (bug#39097)
2006-10-15 13:43:45 +00:00
Hannes Magnusson
8104df0547
Remove bogus ini entry
2006-10-14 15:06:11 +00:00
Antony Dovgal
3bd0f950da
fix win32 build
2006-10-13 14:26:34 +00:00
Hannes Magnusson
942b11a581
fix test
2006-10-13 09:59:21 +00:00
Hannes Magnusson
e4bdd6fcba
Added missing API function declaration.
2006-10-13 09:34:34 +00:00
Ilia Alshanetsky
bc59416ff2
Fixed bug #38934 (move_uploaded_file() cannot read uploaded file outside of
...
open_basedir).
2006-10-13 01:42:20 +00:00
Antony Dovgal
d087c87ffe
MFH: use connection charset when reading LOB data
2006-10-12 10:04:12 +00:00
Ilia Alshanetsky
8b8eb2cf88
Fixed potential use of un-initialized var (detected by Coverity)
2006-10-12 01:05:09 +00:00
Antony Dovgal
24b2efa342
fix test
2006-10-11 23:45:31 +00:00
Sara Golemon
adf31588d2
MFH(r-1.96) Bugfix#38649 Optional param not initialized
2006-10-11 23:22:45 +00:00
Antony Dovgal
aeec5b4b68
MFH: fix #39125 (Memleak when reflecting non-existing class/method)
2006-10-11 15:52:56 +00:00
Antony Dovgal
e20650616e
add test
2006-10-11 14:57:52 +00:00
Ilia Alshanetsky
9809628544
s/false/null/
2006-10-11 14:55:57 +00:00
Derick Rethans
0a3b663a1b
- MFH: Change validating filters to return "null" on failure so that they can be
...
distinguised from the value "false" which might be valid as well.
2006-10-11 14:49:13 +00:00
Antony Dovgal
14b168fcab
MFH: check filter and class names for empty strings
2006-10-11 14:46:40 +00:00
Ilia Alshanetsky
a39201675f
Catch empty strings right away.
2006-10-11 14:19:55 +00:00
Antony Dovgal
9b7ba01618
MFH: avoid reading str[-1], add warning when invalid format specified
...
add test
2006-10-11 13:15:30 +00:00
Antony Dovgal
1cc0339d40
MFH: fix crash when parsing invalid hostnames/IPs
2006-10-11 12:53:56 +00:00
Antony Dovgal
2f467baf94
MFH
2006-10-11 11:53:02 +00:00
Antony Dovgal
a81eae5d01
MFH: fix segfault/leak, add test
2006-10-11 11:09:42 +00:00
Edin Kadribasic
9f5de3bb5c
Sync with Unix build
2006-10-11 11:00:03 +00:00
Wez Furlong
3028f7465d
Fix for PECL #7755 ; use the displayable column width as the basis for our
...
buffer size, as the raw column size can be too small when requesting
a string representation.
Also fix up bogus error output when fetching, and another one of the test
cases to make it run against SQL Server 2005.
2006-10-11 03:07:29 +00:00
Wez Furlong
391ed04adb
Fix for PECL bug #8944 . Could also be the same problem as pecl #7775 .
2006-10-11 02:10:56 +00:00
Pierre Joye
ea2d32381d
- don't check signature if the file is empty (valgrind reports with test
...
001), thx Tony for the head up
2006-10-11 00:19:12 +00:00
Ilia Alshanetsky
03641dcea4
Fixed bug #39034 (curl_exec() with return transfer returns TRUE on empty
...
files).
2006-10-10 23:12:59 +00:00
Antony Dovgal
7b58554f82
MFH: access mode for dbase_open() cannot be < 0
2006-10-10 23:01:23 +00:00
Antony Dovgal
5866ef42e6
add new test
2006-10-10 22:37:43 +00:00
Antony Dovgal
cb90d3ce76
MFH: fix leak and typos in error messages
2006-10-10 22:22:43 +00:00
Antony Dovgal
11235cff7b
missing variable initialization
2006-10-10 22:03:27 +00:00
Ilia Alshanetsky
df5c300303
Fixed bug #38198 (possible crash when COM reports an exception).
2006-10-10 17:32:50 +00:00
Antony Dovgal
b4974d5e68
MFH: fix #39112 (typo in error message)
2006-10-10 12:44:02 +00:00
Ilia Alshanetsky
3890ca3fcb
Improve parameter parsing
2006-10-09 19:48:13 +00:00
Ilia Alshanetsky
7b77d536c3
Fixed bug #37262 (var_export() does not escape \0 character).
2006-10-09 18:08:34 +00:00
Hannes Magnusson
e94670d4d6
MFH tests
2006-10-09 16:02:34 +00:00
Antony Dovgal
20fc2d4274
improve SKIPIF condition
2006-10-09 13:20:46 +00:00
Antony Dovgal
3a48a290a0
MFH: fix PECL bug #8816 (issue in php_oci_statement_fetch with more than one piecewise column)
...
patch by jeff at badtz-maru dot com
2006-10-09 09:34:55 +00:00
Pierre Joye
fa8f1151aa
- fix possible segfault (see test 004) always exists and returns NULL on
...
error
2006-10-09 00:04:11 +00:00
Ilia Alshanetsky
f850285c40
Added missing configuration checks
2006-10-08 22:38:48 +00:00
Pierre Joye
895aa7d7f7
- #39082 , image* segfaults when used with only one argument
...
(introduced in 5.2+, no news entry)
2006-10-08 17:36:10 +00:00
Ilia Alshanetsky
98b16064b4
Added missing safety checks (Problem identified by Coverity scan)
2006-10-07 19:59:19 +00:00
Ilia Alshanetsky
12f7021e12
Added missing safety checks (Problem identified by Coverity scan)
2006-10-07 19:40:58 +00:00
Sara Golemon
34ed116e90
MFH(r-1.356) Don't assume the array elements are arrays too
2006-10-07 16:40:39 +00:00
Ilia Alshanetsky
b43e18a70e
Make quote() in PostgreSQL use PQescapeByteaConn() whenever possible for
...
binary strings.
2006-10-06 22:34:16 +00:00
Ilia Alshanetsky
fab29dcbcf
Make pg_escape_bytea() use PQescapeByteaConn() whenever possible.
2006-10-06 21:45:10 +00:00
Ilia Alshanetsky
b1d8f7e09d
Expose session storage module locater and serialization function via PHPAPI
2006-10-06 21:11:36 +00:00
Antony Dovgal
3a4603b4b0
more improvements
2006-10-06 18:03:19 +00:00
Antony Dovgal
d917bf084c
MFH: fix #39067 (getDeclaringClass() and private properties)
2006-10-06 17:35:32 +00:00
Antony Dovgal
24195cf941
re-add the test
2006-10-06 14:50:46 +00:00
Edin Kadribasic
480e788d95
Fix for #38985 (Wez)
2006-10-06 12:23:30 +00:00
Sebastian Bergmann
f74b1ec9b0
Fix ZTS build.
2006-10-06 03:48:00 +00:00
Antony Dovgal
b37dd23c35
<tony2001> ilia: are you serious?
...
<ilia> tony2001: yes
2006-10-05 20:28:15 +00:00
Antony Dovgal
e2999137a7
add test
2006-10-05 19:49:43 +00:00
Andrei Zmievski
e779c3aa36
Increment replace count value for case-sensitive single char searches.
2006-10-05 18:23:19 +00:00
Hannes Magnusson
93909bb30e
- nuke unused variable
...
- "prefer" two arguments
- only print "wrong parameter count" once
2006-10-05 16:02:29 +00:00
Antony Dovgal
a5d86612e3
MFH: decrement ch->uses (or destroy handle) when destroying multi handle
2006-10-05 15:06:40 +00:00
Antony Dovgal
864f182def
fix build with new version of c-client
2006-10-05 14:25:41 +00:00
Edin Kadribasic
a290cef01c
Added PQescapeStringConn support to windows too
2006-10-05 11:13:31 +00:00
Ilia Alshanetsky
0d9f9b67b7
Fixed bug #39039 (SSL: fatal protocol error when fetching HTTPS from
...
servers running Google web server).
2006-10-05 00:38:02 +00:00
Ilia Alshanetsky
40765184be
Added support for character sets in PDO quote() method for PostgreSQL
...
8.1.4 and higher.
2006-10-04 23:53:36 +00:00
Ilia Alshanetsky
e8c70bfa99
Added support for character sets in pg_escape_string() for PostgreSQL
...
8.1.4 and higher.
2006-10-04 23:27:03 +00:00
Ilia Alshanetsky
9230cf3da6
Fixed missing open_basedir check inside chdir() function.
2006-10-04 23:19:25 +00:00
Antony Dovgal
5cdb9128ae
MFH
2006-10-04 13:30:53 +00:00
Antony Dovgal
8d2406f448
add missing ifdef
2006-10-04 13:02:36 +00:00
Edin Kadribasic
38772455a4
Update credits
2006-10-04 12:51:33 +00:00
Rob Richards
7a2a383a9f
fix bug #39035 (Compatibilty issue between DOM and ze1_compatibility_mode
2006-10-04 12:02:49 +00:00
Pierre Joye
201d790899
- used only in HEAD
2006-10-04 12:02:46 +00:00
Pierre Joye
7883814424
- wrong definition
2006-10-04 11:48:04 +00:00
Antony Dovgal
d8648eae57
MFH: fix #39032 (strcspn() stops on null character)
2006-10-04 11:14:32 +00:00
Pierre Joye
f72c1a1224
- more tests for the last commits
2006-10-03 23:32:33 +00:00
Ilia Alshanetsky
c67068b52b
Shoehorn myself into the credits.
2006-10-03 22:18:08 +00:00
Ilia Alshanetsky
557838efa4
Last set of zend_hash_init() optimizations
2006-10-03 19:51:01 +00:00
Ilia Alshanetsky
8581c7328f
optimize zend_hash_init() with known hash table sizes.
2006-10-03 17:41:47 +00:00
Hannes Magnusson
59fabbb464
MFH: compact() doesnt throw "wrong param count"
2006-10-03 16:37:51 +00:00
Ilia Alshanetsky
f876d0bf2a
Fixed handling of FILTER_FORCE_ARRAY
2006-10-03 15:34:50 +00:00
Hannes Magnusson
9bff1e24b5
pg_send_prepare(), pg_send_query_params() & pg_send_execute() do not throw "Wrong parameter count"
2006-10-03 15:21:47 +00:00
Pierre Joye
a7ccaa5ec7
- vi folding, ws
2006-10-03 11:42:23 +00:00
Dmitry Stogov
7c78500d96
Fixed bug #38942 (Double old-style-ctor inheritance)
2006-10-03 09:59:07 +00:00
Antony Dovgal
6212757595
fix test
2006-10-03 08:44:01 +00:00
Dmitry Stogov
99356595df
Fixed possible crash with default namespaces
2006-10-03 07:00:35 +00:00
Michael Wallner
e7b80e8368
- fix (ZTS) build
2006-10-03 05:57:52 +00:00
Ilia Alshanetsky
80cecdb41f
Refactor the filter extension
...
- Cleanup API
- Added handling for circular references
- Renamed functions.
# Original patch by Pierre
2006-10-03 02:16:53 +00:00
Antony Dovgal
588c45ea8d
MFH: fix #38996 (PDO_MYSQL doesn't check connections for liveness)
2006-10-02 22:09:49 +00:00
Andrei Zmievski
5c96544b7d
Use php_error_docref() instead.
2006-10-02 20:07:14 +00:00
Andrei Zmievski
007c6ff8d9
More offset fixes. Added E_NOTICE where appropriate.
2006-10-02 19:58:15 +00:00
Andrei Zmievski
c36d94aac2
Fix invalid memory access in strrpos().
2006-10-02 19:42:42 +00:00
Antony Dovgal
9d0f642689
fix tests
2006-10-02 14:31:04 +00:00
Hannes Magnusson
8acdfd223f
Rename utils.php to utils.inc
2006-10-02 14:17:47 +00:00
Antony Dovgal
c356ad3b65
MFH: #39001 (ReflectionProperty returns incorrect declaring class for protected properties)
2006-10-02 12:16:35 +00:00
Hannes Magnusson
b806546e95
Fix test
...
#failes atm...
2006-10-02 08:36:35 +00:00
Hannes Magnusson
39219cf7fe
protos
2006-10-02 07:58:13 +00:00
Hannes Magnusson
3611a3de4a
Fix protos
2006-10-02 07:44:34 +00:00
Hannes Magnusson
6a4dca06e6
Fix proto
2006-10-02 07:36:18 +00:00
Ilia Alshanetsky
154f70acf1
Fixed bug #38993 (Fixed safe_mode/open_basedir checks for
...
session.save_path, allowing them to account for extra parameters).
2006-10-01 20:58:02 +00:00
Rui Hirokawa
bd088df90c
fixed bug #37103 : libmbfl headers was not installed correctly.
2006-10-01 08:34:39 +00:00
Ilia Alshanetsky
3ae8d67002
Added missing API function declaration.
2006-09-29 22:35:47 +00:00
Ilia Alshanetsky
01898e0f33
Added missing declaration of the php_get_uname() PHPAPI function.
2006-09-29 21:40:16 +00:00
Hannes Magnusson
281536e866
fix protos
2006-09-29 13:11:28 +00:00
Hannes Magnusson
30b18b7bb7
fix arginfo
2006-09-29 12:29:21 +00:00
Antony Dovgal
7df7d2b4df
MFH
2006-09-29 12:18:58 +00:00
Georg Richter
67d2992fdc
MFH: fixed error message
2006-09-29 08:40:10 +00:00
Antony Dovgal
5e34f6cf9e
MFH
2006-09-28 23:27:59 +00:00
Ilia Alshanetsky
66bdeaddb4
Fixed a large leak inside _php_image_create_from()
2006-09-28 23:17:31 +00:00
Antony Dovgal
d6eb64344d
MFH
2006-09-28 23:03:56 +00:00
Antony Dovgal
478d42a3ac
MFH
2006-09-28 22:33:06 +00:00
Antony Dovgal
8c09e1ca40
fix test name
2006-09-28 22:02:04 +00:00
Ilia Alshanetsky
e919a873cd
Fixed bug #38859 (parse_url() fails if passing '@' in passwd).
2006-09-28 14:52:31 +00:00
Antony Dovgal
30a015a92f
MFH: fix #38981 (using FTP URLs in get_headers() causes crash)
2006-09-28 12:55:15 +00:00
Hannes Magnusson
a327a6f737
fix test
2006-09-28 12:01:52 +00:00
Hannes Magnusson
f537599199
MFH: fix arginfo&proto
2006-09-28 11:32:30 +00:00
Rob Richards
2a452afb6d
fix some compiler warnings
2006-09-28 10:11:36 +00:00
Pierre Joye
cee0a7df24
- imagefill(), infinite loop with wrong color index
2006-09-28 08:48:02 +00:00
Antony Dovgal
9c4e7a0743
initialize variable and make valgrind happy
2006-09-28 07:22:37 +00:00
Rob Richards
b23dfcc3ad
fix bug #38949 (Cannot get xmlns value attribute)
...
add test
2006-09-27 10:31:24 +00:00
Antony Dovgal
a13937e5a2
fix test
2006-09-27 08:44:19 +00:00
Antony Dovgal
b805c9e089
MFH: fix #38961 (metaphone() results in segmentation fault on NetBSD)
2006-09-27 08:32:24 +00:00
Ilia Alshanetsky
4b286026c3
64bit fix (Possible fix for bug #38961 )
2006-09-26 15:40:45 +00:00
Dmitry Stogov
a04b6ed6bc
Fixed bug #38942 (Double old-style-ctor inheritance)
2006-09-26 07:55:21 +00:00
Ilia Alshanetsky
cc0d254e4f
Fixed bug #38891 (get_headers() do not work with curl-wrappers).
2006-09-25 16:00:43 +00:00
Pierre Joye
07b62da9f4
- #38944 , freshly created archive has no comment or cdir
2006-09-25 09:00:16 +00:00
Antony Dovgal
cd7f3a786d
add test
2006-09-25 08:45:08 +00:00
Dmitry Stogov
fa6c04c746
Removed warning about unreferenced local variable
2006-09-25 08:15:03 +00:00
Pierre Joye
85985ad895
- #38943 , properties in extended class cannot be set
...
- use zend_object_std_init instead of a manual initialisation
2006-09-24 22:27:57 +00:00
Ilia Alshanetsky
e55036a346
Fixed bug #38941 (imap extension does not compile against new version of
...
the imap library).
2006-09-24 18:06:37 +00:00
Rui Hirokawa
b4ca4a0fab
disabled mb_list_*_names() and mb_list_encodings(arg) which are introduced in PHP 5.2.0RC to reconsider/discuss the specification.
2006-09-24 07:10:54 +00:00
Antony Dovgal
39856ab9cb
MFH: fix possible segfault in #38891
2006-09-23 11:58:58 +00:00
Rui Hirokawa
46fda147a5
fixed build problem of some extensions which depend on ext/mbstring.
2006-09-23 10:55:58 +00:00
Dmitry Stogov
f7f180f930
Prevent access to dead zval
2006-09-22 13:39:32 +00:00
Ilia Alshanetsky
305423c34c
Fixed test
2006-09-21 23:06:52 +00:00
Seiji Masugata
0d233db56a
Updated bundled oniguruma library (used for multibyte regular expression) to 4.4.4. fixed some Segmentation Fault, and build fails in OSX(Xcode 2.4/gcc 4.0.1 problem). See #38452 .
2006-09-21 16:37:20 +00:00
Rui Hirokawa
10f7a23b6f
fixed compilation problem on Mac OS/X. (bug #38892,38778,38452)
2006-09-20 23:10:37 +00:00
Dmitry Stogov
f5d7dac35d
Added ability to make SOAP call userspace PHP<->XML converters
2006-09-20 13:42:52 +00:00
Ilia Alshanetsky
91c1a54d70
make input_get_args() not modify the original values.
2006-09-19 23:57:48 +00:00
Ilia Alshanetsky
af993553fb
array_key_exists() should not work by by-ref
2006-09-19 23:44:30 +00:00
Ilia Alshanetsky
2332e4f9fc
Fixed bug #37870 (pgo_pgsql tries to de-allocate unused statements).
...
Fixed bug #36681 (pdo_pgsql driver incorrectly ignored some errors).
Fixed test for bug #38253 not to use faulty SQL that generates errors in
PostgreSQL
2006-09-19 15:45:22 +00:00
Hannes Magnusson
db5dc9d5d8
fix test
2006-09-19 12:25:27 +00:00
Antony Dovgal
bc60e07d57
argh.. nuke UEXPECTF
2006-09-19 09:40:00 +00:00
Antony Dovgal
e1ff6fe881
support objects in array_walk*()
2006-09-19 09:35:27 +00:00
Antony Dovgal
0fe381cd70
fix tests
2006-09-19 09:07:56 +00:00
Antony Dovgal
dba1f1d42f
MFH: fix #34066 (recursive array_walk causes segfault)
...
add tests
2006-09-19 09:04:16 +00:00
Antony Dovgal
3bd1c646b7
add PHP version detection to this branch too, since I'm using this branch to make PECL releases
2006-09-18 21:23:42 +00:00
Hannes Magnusson
6affa7d3e9
Fix tests
2006-09-18 16:12:13 +00:00
Ilia Alshanetsky
c8a5e8fa7a
Fixed bug #38574 (missing curl constants and improper constant detection).
2006-09-18 16:11:50 +00:00
Antony Dovgal
1efae6a785
fix test (the error message is different across the systems)
2006-09-18 12:35:49 +00:00
Pierre Joye
442112503a
- add test for callback and input_get and input_get_args
...
this test fails now, the callback never worked with input_get or args
fix already done, will be applied with the api shake up.
2006-09-17 18:03:45 +00:00
Nuno Lopes
d43c9c11f4
fix compiler warnings introduced in my previous commit
2006-09-16 19:07:46 +00:00
Ilia Alshanetsky
9f217cd983
One last expand_filepath() check
2006-09-16 19:07:35 +00:00
Ilia Alshanetsky
92c3cfd81f
Additional expand_filepath() checks
2006-09-16 18:30:03 +00:00
Nuno Lopes
557b583434
plug leaks that in the previous patch
2006-09-16 18:18:55 +00:00
Nuno Lopes
c7101ba6d2
add missing checks around expand_filepath()
2006-09-16 18:15:25 +00:00
Ilia Alshanetsky
4c65e0e1cd
Added missing validation checks around expand_filepath()
2006-09-16 18:10:32 +00:00
Nuno Lopes
bfc9cd7174
fix possible crash in posix_access()
2006-09-16 17:41:57 +00:00
Nuno Lopes
868b219a28
use relative paths, so that we dont break the lcov reports
2006-09-16 14:17:36 +00:00
Rob Richards
1819e947f9
implement workaround for bug #38823 (DOMComment->appendData does nothing)
...
fix bug #38850 (lookupNamespaceURI doesn't return default namespace)
add test
2006-09-16 13:54:52 +00:00
Nuno Lopes
e197ecd16e
fix mem leak. hash keys dont need to be strdup'ed
2006-09-16 12:05:13 +00:00
Ilia Alshanetsky
2cc1f53f3b
Added a check for PQftable() function
2006-09-15 19:47:50 +00:00
Nuno Lopes
e299095ca1
fix a valgrind warning. this also provides a 5x speedup in the imagefttext.phpt test, because without this patch it never got cache hits
2006-09-15 16:11:39 +00:00
Antony Dovgal
c40975eda5
MFH: missing part of the fix for #38844
2006-09-15 15:42:53 +00:00
Antony Dovgal
fcf4f87919
still output an error, even if there is no curl_easy_strerror()
2006-09-15 15:33:14 +00:00
Nuno Lopes
fe9d3b16c5
mark some huge arrays as read-only
2006-09-15 15:11:54 +00:00
Antony Dovgal
0974e2af60
MFH: fix segfault in curl_multi_info_read()
2006-09-15 15:04:59 +00:00
Nuno Lopes
0094b08c56
remove warning. thanks Tony for noticing
2006-09-15 14:57:52 +00:00
Nuno Lopes
96b9fb0787
remove more old code and macros. also remove the module global 'inst' (not needed anymore)
2006-09-15 14:33:34 +00:00
Antony Dovgal
5111cd3af9
MFH: fix #38844 (curl_easy_strerror() is defined only since cURL 7.12.0)
2006-09-15 13:44:50 +00:00
Pierre Joye
a0aabccac6
- MFH: PECL Bug #8700 , zipArchive::getFromIndex() fails
2006-09-15 12:12:25 +00:00
Antony Dovgal
04da058284
MFH: fix leak when call to shutdown function fails
2006-09-15 09:12:17 +00:00
Antony Dovgal
55d900ef8e
MFH: free node pointer using correct function
...
fixes leak in ext/dom/tests/dom_create_element.phpt
2006-09-15 07:44:20 +00:00
Antony Dovgal
99b133d7a7
MFH: fix double free(), add test
2006-09-15 07:27:22 +00:00
Dmitry Stogov
ed26032176
Fixed memory leak
2006-09-15 07:11:35 +00:00
Ilia Alshanetsky
6e2add04ea
Make float filter handle things like 02.324 properly
2006-09-14 17:47:00 +00:00
Antony Dovgal
7a5306598a
separate zval only when needed (fixes 035.phpt and doesn't affect SAPI filtering)
2006-09-14 15:30:13 +00:00
Rob Richards
6fea033c6e
fix bug #38813 (DOMEntityReference->__construct crashes when called explicitly)
2006-09-14 13:35:02 +00:00
Dmitry Stogov
3fcfdf573d
Write valid run-time value for Zend Memeory Manager
2006-09-14 08:01:48 +00:00
Stanislav Malyshev
38540337a9
add for VC build
2006-09-13 17:47:20 +00:00
Ilia Alshanetsky
54032dee04
Fixed test for systems without INFILE/OUTFILE support
2006-09-13 15:52:57 +00:00
Dmitry Stogov
3b2fa0ce82
Fix memory leaks
2006-09-13 13:25:50 +00:00
Antony Dovgal
e5ab519397
MFH
2006-09-13 10:44:11 +00:00
Antony Dovgal
6e0915b631
new tests
2006-09-12 20:32:39 +00:00
Antony Dovgal
d1202b7986
declare oci_lob_seek()
2006-09-12 20:27:28 +00:00
Antony Dovgal
03c7bbd33b
MFH: improve spelling ( fixes #38780 )
2006-09-12 17:26:34 +00:00
Derick Rethans
ebbfc21a15
- Make passing filter flags as LONG work again.
...
- Make super globals filtering work again (as quick workaround).
#- Will merge to head later... need to get things sorted out first.
2006-09-12 16:10:33 +00:00
Pierre Joye
bb2d53e768
- PECL Bug #8676 , addFile was not updated and still used VCWD_REALPATH,
...
it now uses expand_filepath
2006-09-12 12:02:49 +00:00
Antony Dovgal
7800711d34
MFH: fix leak when binding a variable to the same placeholder several times
2006-09-12 11:42:44 +00:00
Antony Dovgal
1a6cd5162e
remove a leftover
2006-09-12 10:54:01 +00:00
Antony Dovgal
7b588b5bcd
fix test
2006-09-12 10:42:32 +00:00
Johannes Schlüter
6415ef51e9
- MFH: Print the type of the original value
2006-09-11 21:21:43 +00:00
Johannes Schlüter
6a1b4c99c7
- MFH: Fix #37923 (Display constant value in reflection::export)
2006-09-11 17:08:42 +00:00
Ilia Alshanetsky
f4a75d91d2
Fixed bug #38096 (large timeout values ignored on 32bit machines in
...
stream_socket_accept() and stream_socket_client()).
2006-09-11 14:52:21 +00:00
Antony Dovgal
334c36ac7c
new tests
2006-09-10 22:11:29 +00:00
Antony Dovgal
4dd2a598f3
add new test
2006-09-10 19:42:12 +00:00
Hannes Magnusson
0ce31d14f5
MFH: proots
2006-09-10 17:01:51 +00:00
Hannes Magnusson
b6a5941b97
MFH: date_timezone_set() needs both arguments
...
MFH: throw exception in DateTimeZone::__construct() when no arguments are passed
2006-09-10 16:34:08 +00:00
Hannes Magnusson
bc8377a81c
Make ReflectionFunctionAbstract abstract
...
- Move ReflectionFunctionAbstract::__construct to ReflectionFunction
- Move ReflectionFunctionAbstract::__toString to ReflectionFuncion
- Delcare ReflectionFunctionAbstract::__toString abstract
- fix couple of typos
2006-09-10 13:25:47 +00:00
Hannes Magnusson
413de3f4a5
Removed duplicated entry
2006-09-09 21:14:05 +00:00
Hannes Magnusson
ef4ff6fe9e
CURL->cURL
2006-09-09 20:04:50 +00:00
Derick Rethans
0c8042dc49
- MFH: The .c file is generated... so updating the .re file and cleaning up WS.
2006-09-09 12:26:33 +00:00
Antony Dovgal
d577b8058c
MFH: fix #38759 (PDO sqlite2 empty query causes segfault)
2006-09-09 10:59:05 +00:00
Antony Dovgal
51fbffba2f
MFh: fix #38721 (date_parse() invalid read)
2006-09-08 20:22:47 +00:00
Antony Dovgal
5c6f438319
implement feature request #38731 (openssl_pkey_new does not support DSA key generation)
...
patch by marci at balabit dot hu
2006-09-08 20:10:47 +00:00
Hannes Magnusson
267b0e9b03
Bump libxslt version to 1.1.0 (closes bug#35589)
2006-09-08 16:41:01 +00:00
Dmitry Stogov
b0c4150967
Prevent opening of empty filename ""
2006-09-08 05:52:00 +00:00
Michael Wallner
01ee23d980
- MFH: fix warnings
2006-09-07 14:24:42 +00:00
Ilia Alshanetsky
7f2cf9b373
Fixed memory leaks in openssl test #004
2006-09-07 14:11:06 +00:00
Antony Dovgal
88b59df262
add new tests
2006-09-07 11:48:30 +00:00
Rob Richards
36505f802c
MFH: fix def file for 2.6.26 (xmlXPathCompiledEvalToBoolean required in .27)
2006-09-07 11:25:14 +00:00
Rob Richards
f11c99638e
MFH: update def file (2.6.26)
2006-09-06 23:49:00 +00:00
Edin Kadribasic
cb5ad145ab
Fixed bug #38190 (threading issues on windows 2003)
2006-09-06 21:44:45 +00:00
Pierre Joye
3f0f73beba
- bump version, 5.2.0 will have zip-2.0.0-stable
2006-09-06 17:38:36 +00:00
Ilia Alshanetsky
8e86a189ec
Fixed bug #38464 (array_count_values() mishandles numeric strings).
2006-09-06 17:25:57 +00:00
Pierre Joye
e85a378770
- wrong cast, strlen is int
2006-09-06 17:24:41 +00:00
Nuno Lopes
c55eda9f3b
fix memleak of pcre study data
2006-09-06 16:30:59 +00:00
Nuno Lopes
b772a83282
fix one more parameter (int*->int)
2006-09-06 15:31:48 +00:00
Nuno Lopes
eee95ef3f0
MFH zend_parse_parameters() fixes
2006-09-06 15:19:41 +00:00
Pierre Joye
ad58ad265b
- MFH: zip_open takes only one parameter (Thx Nuno L.)
2006-09-06 13:03:55 +00:00
Antony Dovgal
37635d93e6
fix leak in pg_copy_to() when invalid resource was passed
2006-09-06 12:40:56 +00:00
Antony Dovgal
7d7f84562c
do not search for empty strings with strpos() and strrpos()
2006-09-06 12:07:32 +00:00
Antony Dovgal
b9351ab4b1
fix leaks & uninitialized vars
...
add test
2006-09-06 11:34:43 +00:00
Dmitry Stogov
76d748f372
Fixed support for endpoint's URL without <path> part (Rob)
2006-09-06 11:03:45 +00:00
Derick Rethans
5d6f6783ae
- MFH: Added support for the full ISO week number format. (2006-W52-7)
2006-09-06 07:34:51 +00:00
Nuno Lopes
aa6593f984
sync code and tests between HEAD and PHP_5_2 branches. what a confusion...
2006-09-05 15:23:26 +00:00
Nuno Lopes
dc8895ed82
finish the cleaning. also add a new test
2006-09-05 14:55:56 +00:00
Antony Dovgal
c57bfd9a66
add test
2006-09-05 14:04:41 +00:00
Antony Dovgal
52d0f82dc3
MFH: init variables
2006-09-05 13:59:26 +00:00
Nuno Lopes
dadc6b8a3b
remove some leftover code from the time tidy would throw exceptions
2006-09-05 13:50:22 +00:00
Nuno Lopes
4cff5db8f4
int->zend_bool where possible
2006-09-05 12:39:20 +00:00
Nuno Lopes
3ec9141f91
first fix from my new zend_parse_parameters_* checker
2006-09-05 12:30:35 +00:00
Antony Dovgal
8c53ff1e80
fix leak in imap_utf8(), avoid extra strlen() call
...
add test
2006-09-05 11:24:49 +00:00
Antony Dovgal
c622ded866
fix typo, add test
2006-09-05 10:36:24 +00:00
Nuno Lopes
731b68fbc5
fix gcc warning
2006-09-04 19:14:59 +00:00
Nuno Lopes
ae77214f7f
fix gcc warning
2006-09-04 18:59:01 +00:00
Ilia Alshanetsky
fc60217820
Fixed bug #38693 (curl_multi_add_handle() set curl handle to null).
2006-09-04 16:31:27 +00:00
Dmitry Stogov
8166284cfd
Fixed bug #38700 (SoapClient::__getTypes never returns)
2006-09-04 10:52:34 +00:00
Pierre Joye
532f577fe9
- add OPENSSL_VERSION_TEXT and OPENSSL_VERSION_NUMBER constants
...
- skip tests if openssl version < 0.9.7j (known to work)
2006-09-03 15:31:01 +00:00
Johannes Schlüter
688efae2d0
- Remove version number here as already done in HEAD
2006-09-03 11:27:50 +00:00
Michael Wallner
eca5331a81
- attempt to fix #38696
2006-09-03 09:09:56 +00:00
Johannes Schlüter
eb958c080e
- MFH: Add HAVE_REFLECTION define for win32 (by Steph)
2006-09-02 19:13:23 +00:00
Hannes Magnusson
948d84fd67
fix test
2006-09-02 15:42:00 +00:00
Nuno Lopes
5737b1e925
and add a test
2006-09-01 23:31:52 +00:00
Nuno Lopes
0f6f089698
omg. take #2 to fix the bug. sorry..
2006-09-01 23:25:29 +00:00
Nuno Lopes
c8b2f761f6
fix possible crash
2006-09-01 23:13:20 +00:00
Pierre Joye
d63e411e9a
- MFH
2006-08-31 22:52:54 +00:00
Pierre Joye
23919d9115
- MFH
2006-08-31 22:34:32 +00:00
Antony Dovgal
78c0279bb6
add test
2006-08-31 22:19:35 +00:00
Pierre Joye
2259578afa
- MFH: test for mulitple filter calls
2006-08-31 22:17:44 +00:00
Antony Dovgal
5d81cd24c9
MFH
2006-08-31 22:12:10 +00:00
Pierre Joye
5c7e3ba791
- skip these tests for RC3
...
- CGI does not read commandline options when it sees REQUES_METHOD
- errors are shown two times now, to be checked post RC3
2006-08-31 20:17:03 +00:00
Pierre Joye
72820abd7b
- MFH: pecl bug #8316 ,
...
empty strings are not int or float, return false (due to popular demand)
2006-08-31 18:29:29 +00:00
Antony Dovgal
75b8cd741b
last portion of z/Z fixes
2006-08-31 16:15:24 +00:00