Pierre Joye
c264445a37
- WS
2010-04-08 07:55:35 +00:00
Johannes Schlüter
26b08f9857
Remove main/php3_compat.h, for that a few references to function_entry
have
...
to be replaced by `zend_function_entry`.
2010-03-30 23:03:02 +00:00
Derick Rethans
b7f2658527
- Set trunk version.
2010-03-23 16:04:53 +00:00
Andrei Zmievski
f92fae2f66
I am sorry I tried fixing PHP without extensive discussion on the mailing list.
...
I am sorry I tried fixing PHP without extensive discussion on the mailing list.
I am sorry I tried fixing PHP without extensive discussion on the mailing list.
Hope all the relevant parties are satisfied.
2010-03-18 22:37:25 +00:00
Andrei Zmievski
3220f15ca2
Fix a few problems with large (2G-4G) file uploads. Added
...
--enable-large-uploads-fix switch because one change was in SAPI.h structure.
2010-03-18 21:07:38 +00:00
Jani Taskinen
af49e58f51
- Reverted r296062 and r296065
2010-03-12 10:28:59 +00:00
Michael Wallner
5b277c4da0
add backlock socket context option for stream_socket_server(),
...
which had a hardcoded backlog of 5 at two occurrances
2010-03-11 16:37:24 +00:00
Jani Taskinen
b4e1296756
- Fix conflict
2010-03-11 11:23:38 +00:00
Jani Taskinen
06f072cb5e
MFH: Improved / fixed output buffering (Michael Wallner)
2010-03-11 10:24:29 +00:00
Adam Harvey
1f19a7dc6c
Fix for bug #23229 (syslog function truncates messages): remove the hard-coded
...
500 character error message limit imposed when using error_log=syslog.
2010-02-26 18:01:03 +00:00
Pierre Joye
acc6609a27
- get the right error on windows
2010-02-21 17:44:25 +00:00
Pierre Joye
658e86b847
- prevent unexpectable behaviors (for the user) with invalid path
2010-02-07 20:15:58 +00:00
Pierre Joye
bbf9b6dcd3
- #50854 , fix build on non windows
2010-01-27 07:48:31 +00:00
Pierre Joye
b7aee13069
- removed debug breakpoint and improve inline comment
2010-01-27 02:03:41 +00:00
Pierre Joye
6925763347
- prevent bad things to happen when invalid path are passed to MoveFileEx
2010-01-27 01:18:43 +00:00
Pierre Joye
573c33b3b7
- [DOC] #45986 , bad file descriptor warning when rename is used with invalid path, add php_win32_docref2_from_error to display system error for non posix api
2010-01-26 20:04:03 +00:00
Pierre Joye
5eb4db5e8f
- Ensure that stderr output are not buffered, portability for tests
2010-01-25 14:47:19 +00:00
Pierre Joye
6a7d96eef9
- prevent possible crash when error/warnings are raised during startup (like deprecated features), 5.3+ only
2010-01-24 12:39:31 +00:00
Jani Taskinen
3d733ce6fa
- Fixed bug #50791 (Compile failure: Bad logic in defining fopencookie emulation)
2010-01-19 13:44:08 +00:00
Jani Taskinen
95a4f5fabe
- WS + CS fixes
2010-01-19 12:03:07 +00:00
Johannes Schlüter
00afa7278b
- Add extern declarations for fixing the build with some compilers
2010-01-19 10:44:36 +00:00
Ilia Alshanetsky
7e1f29e930
Fixed bug #50787 (stream_set_write_buffer() has no effect on socket streams).
2010-01-18 12:50:08 +00:00
Jani Taskinen
e421bee7af
- Fixed bug #48811 (Directives in PATH section do not get applied to subdirectories)
2010-01-16 21:01:12 +00:00
Ilia Alshanetsky
d5b2007bed
Fixed bug #50657 (copy() with an empty (zero-byte) HTTP source succeeds but returns false).
2010-01-06 12:54:53 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Jani Taskinen
72a9c6d37a
- Sync with HEAD
2009-12-29 19:25:09 +00:00
Jani Taskinen
1a64bb9c05
- WS + CS + folding tags
2009-12-29 18:59:58 +00:00
Ilia Alshanetsky
c3230ad217
Fixed bug #48190 (Content-type parameter "boundary" is not case-insensitive in HTTP uploads).
2009-12-29 15:57:54 +00:00
Antony Dovgal
42d05a5c02
remove automatic file unlocking on shutdown and/or stream close
...
(make it win32-specific for 5_2, as discussed with Ilia)
2009-12-25 20:34:59 +00:00
Johannes Schlüter
d046bf5d8e
PHP 5.3.2RC1
2009-12-22 22:02:50 +00:00
Stanislav Malyshev
0401c6ca2d
fix bug #50196
2009-12-19 01:13:33 +00:00
Jani Taskinen
4e10081f8f
- Make $sbindir be usable in C code as well (like $bindir and co.)
2009-12-15 11:17:47 +00:00
Dmitry Stogov
76c445dd73
- Forgotten patch for trunk
...
- Fixed stdin filename in error messages
2009-12-08 10:16:38 +00:00
Kalle Sommer Nielsen
1063c8346b
MFT: VC10 build support
2009-12-03 11:50:32 +00:00
Dmitry Stogov
2ad406e518
Fixed bug #50159 (wrong working directory in symlinked files)
2009-11-30 14:21:23 +00:00
Jani Taskinen
47a9c71dcc
- Fixed bug #49935 (Deprecated warnings make "make test" to fail)
2009-11-27 23:34:36 +00:00
Rasmus Lerdorf
2e9c3ed919
Make it possible to disable post_max_size
2009-11-17 20:33:51 +00:00
Ilia Alshanetsky
2e13e89bd1
Simpify the max_file_uploads handling code
2009-11-16 13:34:57 +00:00
Felipe Pena
f61a06350a
- Switching to TSRMLS_FETCH version
2009-11-16 10:36:27 +00:00
Felipe Pena
5411bb32a8
- Fixed bug #49936 (crash with ftp stream in php_stream_context_get_option())
...
(patch by Pierrick)
2009-11-15 20:30:57 +00:00
Jani Taskinen
3a9f74967d
- Nuke ws
2009-11-15 00:31:42 +00:00
Rasmus Lerdorf
4e6b9899a5
Fix bug #49868
...
As far as I can tell this was a copy-paste induced bug when I added
the reset_signals flag to zend_set_timeout.
2009-11-15 00:21:31 +00:00
Johannes Schlüter
473d75475a
Fix #50063 (safe_mode_include_dir fails)
2009-11-12 15:05:03 +00:00
Felipe Pena
8f0a451747
- Fixed bug #50005 (Throwing through Reflection modified Exception object makes segmentation fault)
2009-11-12 00:10:00 +00:00
Dmitry Stogov
cf4dc24743
Avoid invoking setitimer when timeouts have been disabled (Arvind Srinivasan)
2009-11-05 10:38:56 +00:00
Ilia Alshanetsky
8dae9275fc
Lower the max upload default to 20
2009-10-28 13:04:42 +00:00
Ilia Alshanetsky
e2211cee86
Introduced a max_file_uploads INI setting, which is set to limit the
...
number of file uploads per-request to 100 by default, to prevent possible
DOS via temporary file exhaustion.
2009-10-27 16:13:48 +00:00
Pierre Joye
e4adfe4f61
- #48779 , fix another use case where / usage may differ
2009-10-15 13:09:25 +00:00
Stanislav Malyshev
0e38a3d303
oops, that doesn't belong to this patch
2009-10-13 20:54:28 +00:00
Stanislav Malyshev
207e75b2cd
fix crash for bug #47627
2009-10-13 19:58:59 +00:00
Pierre Joye
e5d4b019b9
- #48779 , improve fix, drop usage of _tolower and use zend_strtolower
2009-10-12 14:40:27 +00:00
Pierre Joye
112379ba24
- fix possible issue in TS environment (we don't have to do that anymore anyway in 5.3+)
2009-10-11 21:04:35 +00:00
Pierre Joye
4d63bd1132
- #48779 , don't loop twice over the path chars
2009-10-11 20:50:53 +00:00
Felipe Pena
994307d429
- Fixed build and comment-style
2009-10-09 20:01:16 +00:00
Garrett Serack
8e5a00e546
- changed ini file directives [PATH=](on Win32) and [HOST=](on all) to be case insensitive (garretts)
2009-10-09 19:43:00 +00:00
Dmitry Stogov
ffb07732f7
Fixed bug #49627 (error_log to specified file does not log time according to date.timezone)
2009-10-05 13:56:49 +00:00
Ilia Alshanetsky
d35c2b14dd
Fixed bug #48805 (IPv6 socket transport is not working).
2009-09-30 20:48:41 +00:00
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