Commit Graph

40463 Commits

Author SHA1 Message Date
Scott MacVicar
4525c2d41e Missed test for previous commit 2008-11-17 21:54:47 +00:00
Scott MacVicar
1858b25407 MFH Add openssl_random_pseudo_bytes() in order to expose access to a PRG, this wraps around whatever the OS provides.
- OpenBSD uses arc4random()
- Windows uses the Windows Crypto API
- FreeBSD, Linux, etc use /dev/random or /dev/urandom if available
[DOC]
2008-11-17 21:54:25 +00:00
Scott MacVicar
cd3f5c1fa7 MFH Fix #46033 - Segfault when instantiating SQLite3stmt and SQLite3Result directly. 2008-11-17 19:34:03 +00:00
Stanislav Malyshev
4cb8b8ba40 Improve use syntax
[DOC] use \foo\bar is the same as use foo\bar
2008-11-17 18:00:44 +00:00
Scott MacVicar
0fab3f5b68 MFH Sync libsqlite to 3.6.5 2008-11-17 17:13:55 +00:00
David Soria Parra
978129fd9b MFH: Feature request #46595. Use cc as default compiler and fallback to gcc. 2008-11-17 15:17:49 +00:00
Ant Phillips
0b79202140 Commit tests for ext/reflection 2008-11-17 12:26:43 +00:00
Felipe Pena
fc2fb50d09 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-11-17 11:28:01 +00:00
Pierre Joye
df3dc8d974 - MFB: skip if pcntl is not present 2008-11-16 23:22:43 +00:00
Pierre Joye
c25d835bbe - entry for #46127 2008-11-16 23:15:28 +00:00
Pierre Joye
569a48922e - MFH: #46127, php_openssl_tcp_sockop_accept forgets to set context on accepted stream 2008-11-16 23:14:12 +00:00
Ilia Alshanetsky
4907faecd1 Fixed memory leak inside readline_callback_handler_install() function 2008-11-16 18:00:50 +00:00
Felipe Pena
96ab6ace7c - MFH: Fixed strlen function entry (missing arginfo struct size, thanks Philip!) 2008-11-16 00:45:03 +00:00
Arnaud Le Blanc
c6e1b8bc67 MFH: Added stream_cast() and stream_set_options() to user-space stream
wrappers, allowing stream_select(), stream_set_blocking(),
stream_set_timeout() and stream_set_write_buffer() to work with user-space
stream wrappers.
Will document.
2008-11-15 12:52:13 +00:00
Hannes Magnusson
dd9e9f26e2 MFH: Interfaces extend other interfaces, not implement 2008-11-14 19:22:43 +00:00
Sanjay Mantoor
ccef11d68f New testcases for gmdate function 2008-11-14 09:16:00 +00:00
Arnaud Le Blanc
3b9fce6246 MFH: Fix proto line 2008-11-14 06:00:48 +00:00
Hannes Magnusson
4562ddaba4 MFH: Document the xmlrpc_errors option 2008-11-13 19:06:28 +00:00
Stanislav Malyshev
2a5079e64c [DOC] Add option for error_log to send directly to SAPI logger 2008-11-13 18:48:25 +00:00
Ilia Alshanetsky
9c9b5b3925 Fixed a bug inside dba_replace() that could cause file truncation with
invalid keys
2008-11-13 18:21:40 +00:00
Felipe Pena
c29ebd8a23 - MFH: Better fix 2008-11-13 18:14:50 +00:00
Pierre Joye
c8103324bf - MFH: declaration goes first... 2008-11-13 14:40:06 +00:00
Arnaud Le Blanc
aaaf67e19e Updated header_handler in apache2filter and apache_hooks 2008-11-13 13:41:08 +00:00
Felipe Pena
494dbdb1c1 - MFH: Fixed invalid reads 2008-11-13 13:08:12 +00:00
Arnaud Le Blanc
8c4151ad72 Added header_remove() (chsc at peytz dotdk, Arnaud)
[DOC] proto void header_remove([string header_name])
      Removes an HTTP header previously set using header()
      The header_name parameter is optionnal, all headers are
      removed if it is not set

[SAPIs] The header_handler callback in sapi_module_struct has
           been changed, it now take a new argument.

           When it is set to SAPI_HEADER_DELETE, sapi_header->header is
           the name of an header, header_handler has to delete it.

           When it is set to SAPI_HEADER_DELETE_ALL, header_handler has
           to delete all headers.

           When sapi_header_op_enum is SAPI_HEADER_ADD or _REPLACE,
           sapi_header->header is in the form "Name: value", header_handler
           has to add or replace the given header.

           In all cases, header_handler must not free sapi_header or
           sapi_header->header. SAPI_HEADER_ADD must be returned if the
           header has been added or replaced, or 0 in other cases.
2008-11-13 10:14:04 +00:00
Arnaud Le Blanc
06119f4748 MFH: Added stream_context_get_params() 2008-11-13 05:47:47 +00:00
Felipe Pena
39b1f65aab - Fixed tests 2008-11-13 01:49:51 +00:00
Felipe Pena
cd5d85856c - MFH: Fixed macro redefinition warning 2008-11-13 01:35:21 +00:00
Felipe Pena
a94cd6d54f - MFH: Fixed a macro redefinition on BSD for different purpose 2008-11-12 23:38:02 +00:00
Felipe Pena
3c121bf15f - MFH: Removed unused variables 2008-11-12 17:26:36 +00:00
Felipe Pena
cd0a8efe41 - Fix test 2008-11-12 17:16:51 +00:00
Felipe Pena
f85b94ef33 - Silent valgrind 2008-11-12 16:40:40 +00:00
Pierre Joye
b9853c4ff0 - MFH:
- #14962, makes extractTo 2nd argument really optional
 - replace ZEND_ENGINE_2_1 by PHP_ZIP_USE_OO
2008-11-12 11:41:21 +00:00
Antony Dovgal
512b812761 make sure the slash is actually thre before reading past it 2008-11-12 09:05:48 +00:00
Stanislav Malyshev
a51bbb2754 fix potential crash in zend_do_assign due to opcodes realloc 2008-11-12 00:44:56 +00:00
Stanislav Malyshev
6ebc2b21f1 fix crash - using old opline after realloc 2008-11-12 00:23:21 +00:00
Ilia Alshanetsky
681515b3df Removed unused vars 2008-11-12 00:10:24 +00:00
Stanislav Malyshev
3cd19b8ecb fix memleak 2008-11-11 21:11:24 +00:00
Stanislav Malyshev
1b4134c07b Namespace resolution streamlining patch
[DOC] new resolution rules should be documented soon
2008-11-11 19:45:29 +00:00
Stanislav Malyshev
caa133b3d3 some new tests 2008-11-11 19:44:16 +00:00
Felipe Pena
a2556b1f1c - MFH: New parameter parsing API 2008-11-11 17:54:43 +00:00
Felipe Pena
02050bc6f5 - New tests 2008-11-11 17:54:11 +00:00
Felipe Pena
9b894e6e62 - Fixed bug #46546 (Segmentation fault when using declare statement with non-string value)
# This issue only happens in this branch
2008-11-11 16:15:53 +00:00
Felipe Pena
9178503610 MFH:
- Added ZEND_FETCH_RESOURCE2_NO_RETURN() (a version of ZEND_FETCH_RESOURCE2 but without the ZEND_VERIFY_RESOURCE() which contains RETURN_FALSE)
- Fixed bug #46543 (ibase_trans() memory leaks when using wrong parameters)
2008-11-11 13:28:22 +00:00
Pierre Joye
5fc86e0213 - MFH: fix build with all curl versions, even very old (thx Felipe for having found all versions info) 2008-11-11 12:26:04 +00:00
Jani Taskinen
5493b4b7d1 fix build 2008-11-11 11:56:01 +00:00
Arnaud Le Blanc
e13a4238e5 MFH: Fixed stream_get_contents() when using $maxlength and socket is not
closed. indeyets@php.net on #46049.
2008-11-11 01:55:51 +00:00
Arnaud Le Blanc
f6345133b3 MFH: Fixed bug #44818 (php://memory writeable when opened read only) 2008-11-11 00:44:55 +00:00
Pierre Joye
dcdf00bdfc - MFH: make the curl phpinfo more verbose 2008-11-10 22:59:28 +00:00
Felipe Pena
493b0589e8 - Make expected result compatible with recent Firebird version 2008-11-10 22:33:53 +00:00