Dmitry Stogov
4b1c7c5615
Fixed ext/standard/tests/streams/stream_get_contents_002.phpt
2009-09-23 10:25:54 +00:00
Dmitry Stogov
b4ba7fb96e
Fixed memory leak
2009-09-21 11:22:13 +00:00
Dmitry Stogov
7bfe056174
Fixed tests
2009-09-21 09:52:19 +00:00
Sriram Natarajan
fbc335e5d1
- Fixed bug #49572 (use of C++ style comments causes build failure)
2009-09-17 02:45:25 +00:00
Jani Taskinen
ccd6e501d1
- Simplified a bit and fixed possible memory corruption and definate leak.
2009-09-10 16:19:42 +00:00
Jani Taskinen
f723d368b3
- Fixed bug #49182 (PHP CGI always outputs the shebang line)
2009-09-05 17:07:14 +00:00
Jani Taskinen
4361f2370a
I have no idea. This might or might not fix a bug in some branch. At least it works.
2009-09-04 11:02:40 +00:00
Sriram Natarajan
ac2d3990f2
- Fixed bug #49447 (php engine need to correctly check for socket API
...
return status on windows). (Sriram Natarajan)
2009-09-04 07:59:48 +00:00
Johannes Schlüter
bcde6a023c
This will become 5.3.2, the NEWS file will be merged once 5.3.1 is out
2009-09-03 21:35:17 +00:00
Jani Taskinen
db53d49623
- Fixed bug #49248 by fixing bug #48994 properly
2009-08-17 17:30:32 +00:00
Jani Taskinen
46bd9ed597
- Try disabling zlib.output_compression always for images. (zlib extension might be compiled as shared and not same time as the main PHP binary)
2009-08-17 16:54:39 +00:00
Jani Taskinen
08f8621a9f
- Fixed bug #48994 (zlib.output_compression does not ouput HTTP headers when set to a string value)
...
# also fixes bug #35936 (ini.zlib.output-compression Documentation :)
2009-08-03 18:15:30 +00:00
Rasmus Lerdorf
8608857c1a
Fix bug #48880
...
The ini entry was being corrupted because it wasn't being set
on the ACTIVATE and DEACTIVATE stages.
2009-07-31 21:09:45 +00:00
Stanislav Malyshev
d1a16fc86d
fix extension functions disabling (bug #49065 )
2009-07-29 00:17:10 +00:00
Ilia Alshanetsky
c71358379d
Fixed a possible crash inside OnUpdateErrorLog() when restoring an empty value
...
Avoid pointless safe_mode/open_basedir checks on OnUpdateMailLog() if value is empty
2009-07-12 16:38:14 +00:00
Stanislav Malyshev
4bb8672039
fix mail.log openbasedir interaction with .htaccess
2009-07-09 00:21:17 +00:00
Jani Taskinen
87f9d62861
- Fixed bug #48247 (Infinite loop and possible crash during startup with errors)
2009-07-07 16:42:11 +00:00
Ilia Alshanetsky
ae2c5ee7d4
MFB: Fixed bug #48465 (sys_get_temp_dir() possibly inconsistent when using
...
TMPDIR).
2009-06-30 12:20:35 +00:00
Johannes Schlüter
52c9cad8e4
Back to -dev
2009-06-29 16:33:25 +00:00
Johannes Schlüter
4b4283bdc0
Bump version to 5.3.0 and API Nos. up
2009-06-26 15:44:19 +00:00
Ilia Alshanetsky
00d0ecda10
Revert patch
2009-06-24 20:08:54 +00:00
Ilia Alshanetsky
c0aa23fd86
MFB: Fixed bug #48465 (sys_get_temp_dir() possibly inconsistent when using
...
TMPDIR).
2009-06-24 12:21:45 +00:00
Johannes Schlüter
9851acba7b
Back to dev
2009-06-18 21:07:08 +00:00
Johannes Schlüter
ff1bf7f766
5.3.0 RC 4
2009-06-18 21:01:03 +00:00
Rasmus Lerdorf
269df474bf
Ah, broken vimrc..
2009-06-18 06:38:30 +00:00
Rasmus Lerdorf
e70abda281
Fix bug #48592
2009-06-18 06:32:38 +00:00
Johannes Schlüter
a8f3eeefe8
back to -dev
2009-06-10 18:39:15 +00:00
Johannes Schlüter
10d976d225
5.3.0RC3
2009-06-10 18:18:43 +00:00
Pierre Joye
e7560b8316
- typo
2009-06-04 07:41:01 +00:00
Pierre Joye
0168025f4c
- [DOC] add PHP_WINDOWS_NT_* and PHP_WINDOWS_VERSION_* constants (usefull for testing and features detections)
...
see http://msdn.microsoft.com/en-us/library/ms724451(VS.85).aspx for the explanation
2009-06-04 06:59:46 +00:00
Scott MacVicar
16398c1990
MFH: Make sure the timeout is checked in the shutdown function, patch from Etienne
2009-05-30 09:48:16 +00:00
Derick Rethans
d29d24427f
- MFH: Get rid of the four different versions of zend_extension* and only use
...
zend_extension. Because of the API identifier change in PHP 5.3 you also get
a proper warning message now.
#- [DOC]
2009-05-18 21:33:38 +00:00
Arnaud Le Blanc
c79528a26d
MFH: Fixed bug #48309 (stream_copy_to_stream() and fpasstru() do not
...
update stream position of plain files)
2009-05-17 14:58:10 +00:00
Arnaud Le Blanc
fab1f0e754
Fix warning when inner stream of a temp:// stream is closed before
...
the stream ifself
2009-05-16 20:27:36 +00:00
Arnaud Le Blanc
a2600facdd
MFH: Fixed bug #48307 (stream_copy_to_stream() copies 0 bytes when $source
...
is a socket)
2009-05-16 20:23:06 +00:00
Dmitry Stogov
2f8ca07d18
Fixed wrong return value
2009-05-14 08:21:54 +00:00
Hannes Magnusson
ebf7a8e9a3
Fix comments
2009-05-08 11:35:12 +00:00
Johannes Schlüter
508a2d0c3d
Back to -dev
2009-05-06 18:57:45 +00:00
Johannes Schlüter
6eb27922d7
5.3.0RC2-dev
2009-05-06 18:51:29 +00:00
Kalle Sommer Nielsen
5a6d3cc42b
Added E_DEPRECATED startup notice (5.3 only)
2009-05-04 21:18:22 +00:00
Derick Rethans
53bb83ab8c
- MFH: Fixed warnings
2009-05-04 19:55:47 +00:00
Antony Dovgal
79d1691d11
MFH: use correct function
2009-05-04 14:44:46 +00:00
Antony Dovgal
7809cd64e8
MFH: don't segfault on bindto == NULL
2009-05-04 14:25:17 +00:00
Ilia Alshanetsky
8c9195e48d
Fixed bug #48131 (Don't try to bind ipv4 addresses to ipv6 ips via bindto)
2009-05-04 13:09:15 +00:00
Derick Rethans
65fc904143
- MFH: Fixed bug #45191 (error_log ignores date.timezone php.ini val when
...
setting logging timestamps).
2009-05-03 19:08:49 +00:00
Pierre Joye
3cce609d77
- fix build (Marcus, fix re2c please)
2009-04-30 09:11:00 +00:00
Stanislav Malyshev
94b7a00760
fix for #47930
2009-04-28 21:30:23 +00:00
Dmitry Stogov
9e36fae5ff
Fixed bug #48034 (PHP crashes when script is 8192 (8KB) bytes long)
2009-04-28 07:13:30 +00:00
Pierre Joye
be093af4fa
- silent compiler warning
2009-04-20 08:28:44 +00:00
Arnaud Le Blanc
8ea9eb8560
MFH: Better fix for #47997
2009-04-19 17:10:35 +00:00
Arnaud Le Blanc
14c717f449
Fixed bug #47997 (stream_copy_to_stream returns 1 on empty streams)
2009-04-19 13:46:47 +00:00
Mikko Koppanen
3fd12260aa
MFH: Added support for passing O_NONBLOCK to the underlying open() system call
2009-04-11 11:44:15 +00:00
Arnaud Le Blanc
843202cd5c
MFH: Fixed initialization of tick functions list in ZTS
2009-03-27 02:34:06 +00:00
Christian Seiler
3470a30125
- Fixed memory leak in ob_get_clean/ob_get_flush.
...
# Not necessary in HEAD because output buffering was completely rewritten
# there.
2009-03-25 23:59:45 +00:00
Hannes Magnusson
2881a60e31
Add missing proto
2009-03-25 19:55:59 +00:00
Johannes Schlüter
5afff17958
Back to dev
2009-03-23 20:40:37 +00:00
Johannes Schlüter
3c038201eb
5.3.0 RC 1
2009-03-23 20:33:21 +00:00
Arnaud Le Blanc
2b57d6d6ea
MFH: Better fix for #44607 . Fixes #47487 (php_stream_fill_read_buffer()
...
performance degraded after fix of bug 44607).
2009-03-19 17:55:10 +00:00
David Coallier
2e5f11b841
- Fixed bug #46897 : ob_flush() should fail to flush unerasable buffers
...
- Added test for bug46897
- A memleak has been identified while fixing this bug but the changes
made by this commit do not affect ob_get_clean where the memleak (which
is fixed in HEAD with the new handler) resides.
- [DOC] New noticed is outputted in ob_flush when the buffer is unerasable
2009-02-13 11:48:17 +00:00
Ilia Alshanetsky
aaa5361c90
Adjust condition
2009-02-10 16:14:18 +00:00
Ilia Alshanetsky
2b531b5149
MFB: typo fix
2009-02-10 14:21:27 +00:00
Ilia Alshanetsky
986a933c82
MFB: Added path truncation E_NOTICE to let people now when path resolving
...
caused the file path to be truncated.
2009-02-10 14:18:46 +00:00
Dmitry Stogov
c277ebc6c8
Fixed bug #47320 ($php_errormsg out of scope in functions)
2009-02-09 09:20:35 +00:00
Ilia Alshanetsky
311a87c8d7
MFB: Fixed bug #44874 (dead pfsockopen'ed sockets aren't reaped when
...
the remote end restarts)
2009-02-09 02:55:45 +00:00
Pierre Joye
acdb832581
- silent compiler warning about socklen_t benign redefinition
2009-02-02 09:41:46 +00:00
Johannes Schlüter
fd3942f4ce
Back to -dev
2009-01-28 22:09:55 +00:00
Johannes Schlüter
42023008b9
PHP 5.3.0beta1
2009-01-28 21:38:45 +00:00
Stanislav Malyshev
0c5d83b053
fix nts build
2009-01-17 01:12:36 +00:00
Pierre Joye
bce6bc73fc
-add some doc about versions
2009-01-16 13:52:13 +00:00
Pierre Joye
dcb5027b93
- MFH:
...
- return SUCCESS on success
- check return value
2009-01-16 10:26:32 +00:00
Pierre Joye
8dfe43815e
- MFH: add OPENBASEDIR_CHECKPATH macro to ease merge between 5.3 and 6, it includes safemode (5.3) and openbasedir check
2009-01-16 10:06:10 +00:00
Pierre Joye
2f61ad9b98
- add EG(windows_version_info), set at init time once per instance
...
contains a OSVERSIONINFOEX struct. It lets us determine easily on which windows version is used (for example)
- add the ability to disable a function when the windows function does not support a feature (for example symlink)
- symlink, hardlink & co support (1/2)
2009-01-16 00:57:05 +00:00
Ilia Alshanetsky
905a5c0590
[DOC]
...
Added mail logging functionality that allows logging of mail sent via
mail() function
THe logging functionality is disabled by default but can be enabled on a
per-directory or globaly via 2 INI settings.
The mail.log directive allows you to specify the file where each call to
mail() will be logged. The log file will contain the path and line # of the
calling script in addition to all of the headers indicated by the user.
The mail.add_x_header directive will introduce a X-PHP-Originating-Script
header that will contain the file name (no path) of the calling script and
the uid of the script. This combination should be sufficient for the admin
to locate the sending script.
2009-01-09 14:59:30 +00:00
Felipe Pena
31169e2c1a
MFH:
...
- Fixed bug #47037 (No error when using fopen with emty string)
Patch by Cristian Rodriguez R.
2009-01-08 18:46:00 +00:00
Arnaud Le Blanc
61ae60f805
MFH: Fixed error conditions handling in stream_filter_append()
2009-01-08 17:01:58 +00:00
Felipe Pena
7c989115c2
MFH:
...
- Added check for EWOULDBLOCK
- Using EWOULDBLOCK instead of EAGAIN by portability issues
(Related to #46917 )
2009-01-07 20:21:46 +00:00
Felipe Pena
c7ef31aefb
- Checking 0 param in the new way [only in this branch]
2009-01-07 18:34:18 +00:00
Felipe Pena
acd8f0020e
- MFH: Windows part
2009-01-03 00:06:33 +00:00
Felipe Pena
5b2bb471f7
- MFH: Errr, rule nº 1: be portable :)
2009-01-02 21:42:52 +00:00
Felipe Pena
9c2043d41a
- MFH: Working with unintialized errno ( #46917 , noticed by Jost Boekemeier)
2009-01-02 21:28:28 +00:00
Marcus Boerger
88f19296c9
- Add needed include as reported by Pierre
2008-12-31 17:33:05 +00:00
Marcus Boerger
f77719d800
MFH
...
- Changed dl() to be disabled by default. Enabled only when explicitly
registered by the SAPI layer. Enabled only with CLI, CGI and EMBED. (Dmitry)
[DOC]
2008-12-31 14:27:09 +00:00
Marcus Boerger
2faea53de2
- Sync with HEAD, no ability to not start builtin functions
2008-12-31 14:05:22 +00:00
Marcus Boerger
8797aa99b7
MFH
...
- Register engine classes when and where they should be
- Show core module version as PHP version
2008-12-31 13:25:21 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Marcus Boerger
d6d4121546
- MFH Do not show empty ini directive tables for modules without ini entries.
2008-12-30 19:08:54 +00:00
Lars Strojny
29f49d2ded
If a wrapper could not be found it is either a typo or a configuration issue. But in both cases it is critical enough to warn the user.
2008-12-14 16:25:37 +00:00
Lars Strojny
e34f9a87ac
Cleanup: remove trailing whitespaces
2008-12-13 15:06:53 +00:00
Nuno Lopes
7c910b94cf
make *printf() functions do not read strings past their specified length (if any)
2008-12-12 23:43:18 +00:00
Hannes Magnusson
f9bc85a19b
Whoops. Missing bit from the open_basedir tightening MFH
2008-12-09 10:23:44 +00:00
Hannes Magnusson
76669fce23
MFH: - Changed open_basedir to allow tightening in runtime contexts. (Sara)
...
- Add test
2008-12-09 10:20:11 +00:00
Johannes Schlüter
a2266a7782
Back to -dev
2008-12-03 21:01:52 +00:00
Johannes Schlüter
2cfbe8c9ff
5.3.0. Alpha 3
2008-12-03 20:40:59 +00:00
Pierre Joye
ef68d9fc72
- export php_scandir and php_alphasort correctly (used by APC for example)
2008-12-02 10:15:08 +00:00
Scott MacVicar
ceabdbb483
MFH Add asprintf, use regular system malloc and free and add checks in configure.in for the functions
2008-11-27 19:45:27 +00:00
Dmitry Stogov
7d4fd3fd38
Fixed bug #46409 (__invoke method called outside of object context when using array_map)
2008-11-27 19:01:23 +00:00
Arnaud Le Blanc
dffdb48c3b
MFH: Fixed bug #46673 (stream_lock call with wrong paramater)
2008-11-26 04:19:20 +00:00
David Soria Parra
a9282f72a8
MFH: Revert fix for 43782, as it caused problems.
2008-11-24 15:36:47 +00:00
Scott MacVicar
49a15f0bd4
MFH Better fix for va_copy since some architectures like to do a deep copy.
2008-11-22 15:16:47 +00:00
Scott MacVicar
bfbe9a34ab
MFH Add vasprintf() so the buffer can be automatically calculated, you need to efree this when done though!
2008-11-21 22:05: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
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
Felipe Pena
f85b94ef33
- Silent valgrind
2008-11-12 16:40:40 +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
Alexey Zakhlestin
9942da41cf
added const, as required by struct-definition
2008-11-07 09:12:39 +00:00
Arnaud Le Blanc
43400aaf87
MFH: initialize memory
2008-11-04 20:40:30 +00:00
Arnaud Le Blanc
d441b5db5b
MFH: Fixed stream_get_line() to behave as documented on non-blocking
...
streams
2008-11-04 17:05:55 +00:00
Arnaud Le Blanc
8e220d99df
MFH: Fixed bug #44607 (stream_get_line unable to correctly identify the
...
"ending" in the stream content)
2008-11-03 23:29:17 +00:00
Arnaud Le Blanc
de29f4161f
MFH: Fixed bug #45303 (Opening php:// wrapper in append mode results
...
in a warning)
2008-11-03 16:58:53 +00:00
Arnaud Le Blanc
0a2bfc7968
MFH: Fixed bug #43353 (wrong detection of 'data' wrapper causes notice)
2008-11-03 15:47:31 +00:00
Felipe Pena
c96d79b2e6
- MFH: Fixed bug #46082 (stream_set_blocking() can cause a crash in some circumstances)
2008-10-24 10:44:43 +00:00
Arnaud Le Blanc
f5dd8c00a0
WS
2008-10-20 18:43:32 +00:00
Arnaud Le Blanc
0f31ed2f77
Better fix for #46313
2008-10-20 18:42:58 +00:00
Arnaud Le Blanc
c98e28795f
Fixed #46313 (Magic quotes broke $_FILES)
...
# magic_quotes_gpc was disabled during registration of $_FILES["x"]["tmp_name"]
# and $GLOBALS["x"] (which is tmp_name with register_globals enabled). This
# caused "x" to not be escaped so there was 2 different keys for the same file
# in $_FILES, one with tmp_name and the other without.
# All other variables (name, size, etc) are registered with magic_quotes_gpc
# untouched, both in $_FILES and $GLOBALS and I did not found a reason for
# disabling it for tmp_name.
2008-10-20 17:09:10 +00:00
Nuno Lopes
8a77e55566
clean some dead code (with static analysis help)
2008-09-23 15:18:26 +00:00
Greg Beaver
17cfd5f24e
MF52 fix Bug #46147 : after stream seek, appending stream filter reads incorrect data
2008-09-22 01:26:14 +00:00
Ilia Alshanetsky
fcc0fdd125
Fixed bug #45392 (ob_start()/ob_end_clean() and memory_limit).
2008-09-17 00:20:30 +00:00
Dmitry Stogov
1474d9dfad
Fixed bug #43053 (Regression: some numbers shown in scientific notation). (int-e at gmx dot de)
...
some 64bit test files may need to be fixed
2008-09-15 11:47:16 +00:00
Nuno Lopes
da804874f7
update list of pcre symbols
2008-09-14 14:15:52 +00:00
Arnaud Le Blanc
ef38ff62a5
MFH: More accurate max_file_size / upload_max_filesize ( fixes #45124 )
2008-09-07 14:17:47 +00:00
Arnaud Le Blanc
898ff10dc0
MFH: Fixed #43540 (rfc1867 handler newlength problem)
2008-09-06 17:18:40 +00:00
Dmitry Stogov
d5bba04ac5
Fixed Bug #43958 (class name added into the error message)
2008-09-02 09:45:49 +00:00
Johannes Schlüter
606e0f26a0
back to dev
2008-09-01 20:51:57 +00:00
Johannes Schlüter
8df3c31d86
dev -> release
2008-09-01 20:30:44 +00:00
Antony Dovgal
322d57fffd
WS
2008-08-30 22:26:09 +00:00
Rasmus Lerdorf
5f178004ea
Oops, fix the assert.
2008-08-30 18:27:29 +00:00
Rasmus Lerdorf
f52d71d18e
Fix for bugs 13961, 39927 and 45947
2008-08-30 16:47:46 +00:00
Jani Taskinen
c1f52e5868
MFH
2008-08-26 23:26:07 +00:00
David Soria Parra
9f68483734
MFH: Fixed bug #43782 (feof() does not detect timeout on socket)
2008-08-26 16:06:36 +00:00
Pierre Joye
2620304003
- MFH:
...
- drop bindlib usage on windows
- inet_pton, inet_ntop and inet_aton are always available (VC9 uses the CRT implementation, VC6 our own)
2008-08-23 19:22:10 +00:00
Pierre Joye
76c0f4288d
- MFH: expose MAXPATHLEN (PHP_MAXPATHLEN)
2008-08-23 17:55:50 +00:00
Marcus Boerger
9a2fc26e59
- MFH Cleanup exports and allow to overwrite ext registration
2008-08-22 12:59:46 +00:00
Antony Dovgal
c1e0866da3
reverted because of test failures
2008-08-18 07:46:31 +00:00
Arnaud Le Blanc
f59fbc3755
MFH: Fixed bug #45392 (ob_start()/ob_end_clean() and memory_limit).
2008-08-18 04:08:17 +00:00
Felipe Pena
85ab423565
- MFH: Removed some TSRMLS_FETCH()s
2008-08-15 19:47:33 +00:00
Kalle Sommer Nielsen
540326c31f
MFH:
...
* Remove NTDDI_VERSION declaring and use the one in config.w32.h
* Remove another _WIN32_WINNT macro redef in win32/time.c
2008-08-13 22:40:39 +00:00
Pierre Joye
1463a824e8
- move declaration on top and fix build error
2008-08-13 17:49:13 +00:00
Jani Taskinen
e5e6f553a2
MFH
2008-08-13 00:53:28 +00:00
Felipe Pena
cf7384aa40
- MFH: Constness (Added const qualifier to several function parameters)
2008-08-12 17:20:25 +00:00
Arnaud Le Blanc
c573dd6614
MFH: Missing files in previous commit (Check the relevant path for open_basedir
...
in symlink())
2008-08-11 15:33:02 +00:00
Marcus Boerger
3f7a4b7e90
- MFH error handling, now with save, replace, restore
2008-08-08 17:47:31 +00:00
Marcus Boerger
4c3563dea2
- MFH: Sorry for the compiler warning
2008-08-08 14:15:05 +00:00
Marcus Boerger
5a59d41305
- MFH store error handling mode on stack when executing internal
...
or overloaded functions and methods. [...]
2008-08-08 13:21:52 +00:00
Arnaud Le Blanc
c93fbf629b
MFH:
...
Added clear_realpath_cache and filename parameters to clearstatcache() (Jani,
Arnaud)
[DOC] clearstatcache() now defaults to not affect the realpath cache.
clearstatcache() now takes two optionnal parameters, clear_realpath_cache to
clear the realpath cache (defaults to false), and filename to clear only the
given filename from the cache.
2008-08-07 09:25:33 +00:00
Antony Dovgal
93908474ad
MFH: increase context refcount before open() to avoid crash when open() fails and destroys the context
2008-08-06 09:03:48 +00:00
Dmitry Stogov
7355c3c54c
Removed shebang line check from CGI sapi (it is checked by scanner)
2008-08-04 07:20:15 +00:00
Felipe Pena
e304515ddb
- MFH: Added parameter TSRMLS_DC in zend_is_callable()
2008-08-02 04:46:07 +00:00
Johannes Schlüter
fe0e4c2606
back to dev
2008-08-01 00:46:20 +00:00
Johannes Schlüter
346b97afb4
5.3.0alpha1
2008-08-01 00:09:24 +00:00
Felipe Pena
05834fc510
- MFB: Fixed the parameter type expected. set_time_limit() should accept only integer.
2008-07-25 13:46:56 +00:00
Dmitry Stogov
691d4a6999
Fixed uninitialised data
2008-07-25 08:23:07 +00:00
Felipe Pena
2c829e5053
- Removed unused variable.
2008-07-24 16:00:34 +00:00
Antony Dovgal
28a22396d4
MFH: invert the logics - FLAG_FCLOSE -> FLAG_NO_FCLOSE
2008-07-23 11:25:14 +00:00
Felipe Pena
fdfbfb96a1
- MFH: Fixed bug #44246 (closedir() accepts a file resource opened by fopen())
2008-07-22 14:09:24 +00:00
Felipe Pena
dab8b811c2
- Fixed securities issue detailed in CVE-2008-2665 and CVE-2008-2666.
...
(patch by Christian Hoffmann)
2008-07-21 19:32:21 +00:00
Hannes Magnusson
d619b57efa
MFH: Add E_USER_DEPRECATED (patch by Lars Strojny)
2008-07-21 09:41:00 +00:00
Dmitry Stogov
baab204436
Fixed chdir() into requested file directory inconsistencies
2008-07-21 08:43:36 +00:00
Nuno Lopes
a00a69b3e5
update PCRE symbols
2008-07-17 14:34:51 +00:00
Dmitry Stogov
833a2295d1
Support for closures
2008-07-17 09:53:42 +00:00
Jani Taskinen
d91bc9eca2
MFH:- Fixed bug #44127 (UNIX abstract namespace socket connect does not work)
2008-07-16 14:08:38 +00:00
Lars Strojny
4cc5f49d97
Return null on when param parsing errors occur
2008-07-15 09:09:09 +00:00
Lars Strojny
9cd815a956
New parameter parsing API
2008-07-15 08:50:04 +00:00
Jani Taskinen
7cb641a66e
MFH: silence warning
2008-07-11 13:11:49 +00:00
Antony Dovgal
04c8373b6a
MFH
2008-07-11 12:44:02 +00:00
Antony Dovgal
cf7e15c3a0
MFH: manage references of stream context properly
2008-07-11 10:25:15 +00:00
Steph Fox
5e6595d35a
- This file is generated from win32/build/config.w32.h.in. It should never have been in CVS in the first place...
2008-07-07 01:16:44 +00:00
Pierre Joye
5627ff52f0
- MFH: don't redefine WINDOWS and pid_t
2008-07-05 18:51:17 +00:00
Pierre Joye
98ce717bf2
- MFH: _getpid is in process.h
2008-07-05 18:36:34 +00:00
Dmitry Stogov
531b31ca08
Fixed bug #45352 (Segmentation fault because of tick function on second request)
2008-06-25 12:18:36 +00:00
Frank M. Kromann
99a430074f
Not sure why this file was comitted?
...
I was running a CVS update and then I see commit messages with my user id!
Reverting the changes.
2008-06-24 06:01:53 +00:00
Kalle Sommer Nielsen
4398fbbbe4
MFH
2008-06-24 05:59:53 +00:00
Frank M. Kromann
7e5ee41aa9
no message
2008-06-24 04:31:05 +00:00
Felipe Pena
bee6c52437
- New parameter parsing API
2008-06-21 02:41:27 +00:00
Dmitry Stogov
99933df5e2
closeder/readdir/rewinddir must work only with directories
2008-06-11 09:01:56 +00:00
Pierre Joye
bbc34ba14a
- actually disable the ASSERT error dialog box (affects debug mode only), helps to run the tests and coverage analyze
2008-05-21 15:55:31 +00:00
Dmitry Stogov
2ecf4bb0a7
Lazy EG(active_symbol_table) initialization
2008-04-29 08:15:20 +00:00
Greg Beaver
cac1fd72ea
fix erroneous use of php_resolve_path in _php_stream_wrapper_open_ex - this breaks require/include for all extensions that intercept zend_resolve_path
2008-04-28 22:39:54 +00:00
Greg Beaver
c46d651b3e
Fixed potentially confusing error message on failure when no errors are logged
2008-04-28 22:37:31 +00:00
Dmitry Stogov
ba8e3174ce
Optimized request startup sequence for php.ini without per dir and per host configurations
2008-04-15 11:31:58 +00:00
Greg Beaver
e668dc629b
do not scan include_path with faulty plain_wrapper-based include_path fopen
...
# _fopen_with_path_rel probably needs to call out to regular php_stream_open, for exts that use it (it is exported)
2008-04-13 22:19:10 +00:00
Dmitry Stogov
862f9ee3d2
Added ability to use stream wrappers in include_path
2008-03-27 10:33:40 +00:00
Johannes Schlüter
c826caa84f
- MFH: New egg
2008-03-25 17:17:56 +00:00
Christopher Jones
ceb2193b7c
rename PHP_OCI8_VERSION in preparation for peclversioning RFC. Remove obsolete HAVE_OCI8_ATTR_STATEMENT macro
2008-03-25 02:00:32 +00:00
Antony Dovgal
fc134fd6c5
MFH: disabled mmap() when copying files to memory
2008-03-24 16:28:35 +00:00
Dmitry Stogov
2f794ceabb
Fixed ws and comment
2008-03-24 09:30:41 +00:00
Antony Dovgal
66b66914a6
use correct flags
2008-03-22 12:56:16 +00:00
Marcus Boerger
f8f01a1fd1
- MFH Settle to 4 MB, see internals@ archives
2008-03-21 19:37:43 +00:00
Marcus Boerger
3ce7194a4d
- MFH Fix comment
2008-03-21 18:21:09 +00:00
Marcus Boerger
9f001a01a1
- MFH Increase max mmap size to 8 MB
2008-03-21 17:13:08 +00:00
Antony Dovgal
7f02e564f7
MFH: revert
2008-03-21 16:39:11 +00:00
Stanislav Malyshev
bb86f3ae5b
[DOC] make short_open_tag user-accessible
2008-03-20 17:30:14 +00:00
Antony Dovgal
e3b672bb23
MFH: make use of zend_atol()
2008-03-19 12:42:16 +00:00
Rasmus Lerdorf
6c158374ba
exit_on_timeout patch
...
After the sigsetjmp change, this is patch #2 in an effort to get some
sanity restored to signal handling in PHP.
This patch does two things. First, it makes it possible to reset the
timeout without resetting the signal handlers. This is important for
cases where an extension may have deferred signals in its MINIT in order
to implement critical sections. It also lays the groundwork for cleaning
up our signal handling and perhaps eventually implementing our own
signal deferring mechanism so we can have true critical sections.
The second thing this does is to make it possible to terminate the current
child process (only for Apache1 at the moment) on a timeout. There are
a number of extensions that are unhappy about being longjmp'ed out of
and when this happens on a timeout they are left in an inconsistent state.
By turning on exit_on_timeout you can now force the process to terminate
on a timeout which will clean up any hanging locks and/or memory left
hanging after the longjmp.
2008-03-18 21:42:50 +00:00
Felipe Pena
2b10c53ae1
MFH: Dropped zend.ze1_compatibility_mode
...
[DOC]
2008-03-18 14:10:45 +00:00
Felipe Pena
40f83dad26
Fix build (ZTS)
2008-03-16 21:55:46 +00:00
Marcus Boerger
af316021e8
- Rewrite scanner to be based on re2c instead of flex
...
The full patch is available as:
http://php.net/~helly/php-re2c-5.3-20080316.diff.txt
This is against php-re2c repository version 98
An older patch against version 97 is available under:
http://php.net/~helly/php-re2c-97-20080316.diff.txt
2008-03-16 21:06:55 +00:00
Felipe Pena
bbac59aa40
MFB: Fixed bug #44440 (st_blocks undefined under BeOS)
2008-03-15 10:32:32 +00:00
Antony Dovgal
8f6b35ccd3
MFH: check if return value of write() is -1 and abort upload in this case setting the correct error status
2008-03-14 13:11:12 +00:00
Dmitry Stogov
7705272218
Disable path resolution for filenames with stream wrappers
...
More careful check for relative pathes (./xxx and ../xxx)
2008-03-13 14:09:54 +00:00
Stanislav Malyshev
a9fe1010d2
[DOC] add request_order INI variable to control $_REQUEST content
...
# if not set (default), variables_order still is used
# request_order accepts G,P and C
2008-03-12 20:24:45 +00:00
Antony Dovgal
f0b9ac513c
MFH: fix segfault - error_string may be NULL, in this case we have to follow the old behavior
2008-03-11 10:27:10 +00:00
Felipe Pena
84a8bb038a
MFH: New way for check void parameters
2008-03-10 22:15:36 +00:00
Andrey Hristov
49add03404
char **error_message was passed but not used. This causes problems in cases
...
of getaddrinfo() failure, because the upper layers don't get the error.
initialize a variable because we were reading initialized in case of error.
2008-03-10 19:54:47 +00:00
Etienne Kneuss
e9a6f0f24a
MFH: User error handlers no longer catch supressed errors
2008-03-08 22:12:32 +00:00
Dmitry Stogov
ab232458c7
Optimized require_once() and include_once() by eliminationg open() syscall on second usage.
2008-03-05 13:34:12 +00:00
Ilia Alshanetsky
425c4bca2e
Fixed bug #44233 (MSG_PEEK undefined under BeOS R5)
2008-02-27 00:30:24 +00:00
Marcus Boerger
d3e5026564
- MFH Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus)
...
[DOC] Finally added deprecation messages
2008-02-23 17:06:22 +00:00
Pierre Joye
4652c2bf2c
- [DOC] add PHP_MAJOR_VERSION, PHP_MINOR_VERSION, PHP_RELEASE_VERSION,
...
PHP_EXTRA_VERSION, PHP_VERSION_ID, PHP_ZTS and PHP_DEBUG constants
2008-02-15 14:51:39 +00:00
Marcus Boerger
dff168c38b
- MFH Add %Z to *printf
2008-02-07 18:41:35 +00:00
Marcus Boerger
45e6d1e333
- MFH WS
2008-02-07 12:47:44 +00:00
Jani Taskinen
a0f168752e
MFH: allow using these constants in php.ini (f.e. PHP_SAPI..)
2008-02-04 20:39:21 +00:00
Marcus Boerger
8976db80c5
- MFH Typo
2008-02-03 14:48:38 +00:00
Marcus Boerger
fa94dabd97
- MFH Rename dump_config_hash() to get_config_hash() as it doesn't dump
2008-02-03 14:35:59 +00:00
Marcus Boerger
81b40f7047
- MFH Get rid of overoptimization
2008-01-30 23:43:13 +00:00
Dmitry Stogov
240fa244c3
Improved PHP binary size and startup speed with GCC4 visibility control (Nuno)
2008-01-30 09:41:12 +00:00
Dmitry Stogov
0ac1830d9c
Fixed bug #43491 (Under certain conditions, file_exists() never returns)
2008-01-29 14:24:55 +00:00
Scott MacVicar
a7dabd575a
MFH: Fixed bug #43954 (Memory leak when sending the same HTTP status code more than once.)
2008-01-28 16:09:08 +00:00
Dmitry Stogov
71592cec06
Added garbage collector
2008-01-22 09:27:48 +00:00
Greg Beaver
7c1952c863
MFH: clarify error message on why opening a stream wrapper failed for allow_url_include/allow_url_fopen, add test for allow_url_fopen
2008-01-12 15:50:57 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Antony Dovgal
2dab3c40fe
correct fix for bug #43522
2007-12-29 10:52:24 +00:00
Hannes Magnusson
d7f7fa0494
MFH: Update the class method documentation links
2007-12-29 02:21:57 +00:00
Hannes Magnusson
c236bcd80e
Fixed bug#43105 (PHP seems to fail to close open files.)
2007-12-27 02:09:26 +00:00
Ilia Alshanetsky
863a7c6a64
Fixed bug #43580 (removed bogus declaration of a non-existent php_is_url()
...
function)
2007-12-13 00:25:38 +00:00
Ilia Alshanetsky
b9e4413962
Fixed bug #43522 (stream_get_line() eats additional characters)
2007-12-10 14:16:58 +00:00
Dmitry Stogov
80a7bf2910
Fixed crash because of uninitialized SG(sapi_headers).mimetype
2007-12-03 16:04:36 +00:00
Jani Taskinen
c75b88760b
MFH: No zval is stored here
2007-11-26 16:34:30 +00:00
Jani Taskinen
dcd3b197e7
MFH:- Fixed bug #43365 (Several enums have trailing commas)
2007-11-26 10:59:04 +00:00
Dmitry Stogov
648fbe9d58
Fixed bug #43128 (Very long class name causes segfault)
2007-11-22 13:27:13 +00:00
Hannes Magnusson
024fc2c77a
MFH: - Add support for optional values
...
MFH: - Add support for = as seperator
2007-11-21 10:24:22 +00:00
Ilia Alshanetsky
86cca4e696
Completed fix for bug #42739 (fixes bug #43276 )
2007-11-15 18:57:14 +00:00
Ilia Alshanetsky
6a792bed75
Fixed bug #43182 (file_put_contents() LOCK_EX does not work properly on file
...
truncation).
2007-11-12 18:44:18 +00:00
Jani Taskinen
02d966c263
MFH:- Added support for [HOST=www.example.com] special sections
...
MFH:- Allowed using full path to load modules using "extension" directive
2007-11-09 16:27:43 +00:00
Marcus Boerger
5aa7108eb2
- MFH Add glob stream wrapper
...
[DOC] The glob stream wrapper allows stuff like this:
php -r '$it = new DirectoryIterator("glob://ext/spl/*.c");
foreach($it as $f) var_dump($f);'
2007-11-06 12:12:58 +00:00
Marcus Boerger
fb7306822d
- MFH glob stream wrapper (part 1)
2007-11-06 11:50:52 +00:00
Marcus Boerger
6362476b20
MFH streams stuff
2007-11-06 11:02:36 +00:00
Rob Richards
da4da2ae14
MFH: fix non ipv6 enabled win build
2007-11-06 10:57:26 +00:00
Jani Taskinen
34b45a30e5
MFH: nuke unused variables
2007-11-01 17:32:44 +00:00
Jani Taskinen
f552f91618
MFH: - Fixed bug #43137 (rmdir() and rename() do not clear statcache)
2007-10-31 13:22:45 +00:00
Dmitry Stogov
8039433291
Fixed bug #42722 (display_errors setting ignored for E_PARSE and HTTP 500 page)
2007-10-18 13:11:46 +00:00
Edin Kadribasic
be87d68c0e
Fix build
2007-10-12 08:07:13 +00:00
Jani Taskinen
c95f942e9b
- fix typo
2007-10-11 09:33:30 +00:00
Jani Taskinen
6c33a8c758
- Fix ws/cs and wrap the stuff within #if HAVE_BROKEN_GETCWD
2007-10-11 08:26:13 +00:00
Robert Thompson
50250dff8c
Fix for bug 41899, safe mode and relative paths with Solaris's broken getcwd().
2007-10-10 22:52:58 +00:00
Elizabeth Marie Smith
4e339842fc
Fix build on MSVC 2008 - channeling Wez
2007-10-09 21:53:44 +00:00
Scott MacVicar
52debae82e
MFH: Fix expand_filepath when including relative files, ideally you should test you code...
2007-10-09 10:05:08 +00:00
Jani Taskinen
e2b5419e05
MFH: ws + cs
2007-10-09 08:40:36 +00:00
Robert Thompson
0092263030
Fix for bug 41822. expand_filepath() will now return a relative path under the specific situation where getcwd() returns NULL and the file is still readable. As far as I have been able to tell, this fix only applies to the Solaris OS where files in directories with (--x) cannot getcwd().
2007-10-08 23:44:50 +00:00
Yiduo (David) Wang
4b4d634cb9
MFH: Added macros for managing zval refcounts and is_ref statuses
2007-10-07 05:22:07 +00:00
Jani Taskinen
aa3eee1dce
MFH:- Moved the old regex functions to own extension: ereg
2007-10-05 15:00:09 +00:00