]>
granicus.if.org Git - php/log
Aaron Bannert [Thu, 11 Apr 2002 19:25:08 +0000 (19:25 +0000)]
PHP filters and Apache 2 aren't quite a perfect match yet, so we have
to do some trickery with the server_context to make sure it is always
valid within the current thread.
This patch makes sure the server_context is created in apache's
post_read_request hook phase, and then registeres a cleanup that
will NULL out the server context when the request goes out of scope.
Then, inside the output filters, if the server_context is null we
throw an error. Finally, instead of saving the output filter in
the server_context, now we store the entire request_rec pointer
in there.
POST bodies appear to be working now, although they are very inefficient.
The input filter is still just realloc()ing for whatever data comes
down the input pipe, and then sending this to PHP. This means that
we are doing some really nasty memory management on big POST bodies.
For now this it allows for unlimited input bodies, which means that
a big POST could potentially DoS a box by making it run out of memory.
We might want to put a limit on here just in case, at least until
we figure out how to consume input data more efficiently into php.
Joseph Tate [Thu, 11 Apr 2002 17:52:26 +0000 (17:52 +0000)]
Fixing project files so that they load
Aaron Bannert [Thu, 11 Apr 2002 17:34:17 +0000 (17:34 +0000)]
Don't depend on the context provided by the filter (f->ctx) anymore. In
Apache 2 the input and output filter contexts are kept unique. We now
only depend on SG(server_context) for each request, and assume that
the same thread will process the entire request. At some point it
would be wise to separate the input and output contexts.
Aaron Bannert [Thu, 11 Apr 2002 17:22:11 +0000 (17:22 +0000)]
Return the number of bytes consumed, not the number of bytes left.
Suggested by: Brian Havard <brianh@kheldar.apana.org.au>
Jan Lehnardt [Thu, 11 Apr 2002 17:20:47 +0000 (17:20 +0000)]
- add quotes. Cought by: Roman Neuhauser <neuhauser@mail.cz>
Sebastian Bergmann [Thu, 11 Apr 2002 17:01:51 +0000 (17:01 +0000)]
Update README.
Joseph Tate [Thu, 11 Apr 2002 16:31:22 +0000 (16:31 +0000)]
Added versioning to dll and exe files created under windows.
#Note that these do not require modification when the version number changes.
#Utilizes the new partitioned version number defines in php_version.h
@ Added version info to the dll and exe files created under Windows. (jtate)
Wez Furlong [Thu, 11 Apr 2002 15:50:32 +0000 (15:50 +0000)]
sync with PHP_MAJOR_VERSION changes to configure.in
Wez Furlong [Thu, 11 Apr 2002 15:15:33 +0000 (15:15 +0000)]
Apply patch for MAJOR_VERSION etc. by Joseph Tate
Yasuo Ohgaki [Thu, 11 Apr 2002 13:40:19 +0000 (13:40 +0000)]
Fix ZTS build
# Please check caller when you add TSRMLS_DC. Especically if it's PHPAPI function...
# find . -name "*.c" | xargs grep php_mail
Wez Furlong [Thu, 11 Apr 2002 12:13:17 +0000 (12:13 +0000)]
Fix declarations (Thanks Sebastian)
Alexander Merz [Thu, 11 Apr 2002 10:51:27 +0000 (10:51 +0000)]
use DIRECTORY_SEPERATOR
Marcus Boerger [Thu, 11 Apr 2002 08:07:22 +0000 (08:07 +0000)]
thread safe
Marcus Boerger [Thu, 11 Apr 2002 07:28:24 +0000 (07:28 +0000)]
fix build (hopefully for BSD, too)
Marcus Boerger [Thu, 11 Apr 2002 07:26:53 +0000 (07:26 +0000)]
fix warning
Marcus Boerger [Thu, 11 Apr 2002 06:41:55 +0000 (06:41 +0000)]
fix testproblem
Sebastian Bergmann [Thu, 11 Apr 2002 06:01:54 +0000 (06:01 +0000)]
Patch by Aaron Bannert <aaron@clove.org> and Cliff Woolley <jwoolley@virginia.edu>.
Sascha Schumann [Thu, 11 Apr 2002 05:47:03 +0000 (05:47 +0000)]
properly reset ac_extra in PHP_NEW_EXTENSION
redirect stderr to /dev/null to silence xargs
Noticed by: Andrei
Yasuo Ohgaki [Thu, 11 Apr 2002 05:06:16 +0000 (05:06 +0000)]
TSRMG => TSRMLS
<changelog@php.net> [Thu, 11 Apr 2002 00:25:15 +0000 (00:25 +0000)]
NEWS update
<changelog@php.net> [Thu, 11 Apr 2002 00:23:36 +0000 (00:23 +0000)]
ChangeLog update
Wez Furlong [Wed, 10 Apr 2002 23:51:48 +0000 (23:51 +0000)]
fix warning
Wez Furlong [Wed, 10 Apr 2002 22:42:32 +0000 (22:42 +0000)]
Implement stream context and status notification system.
Bump the BC for zlib notice to a warning
# See my RFC to php-dev a few days ago
foobar [Wed, 10 Apr 2002 21:33:34 +0000 (21:33 +0000)]
MFZE1
foobar [Wed, 10 Apr 2002 21:23:01 +0000 (21:23 +0000)]
MFZE1
foobar [Wed, 10 Apr 2002 21:22:10 +0000 (21:22 +0000)]
- Added __FUNCTION__ and __CLASS__ constants.
Stig Bakken [Wed, 10 Apr 2002 21:09:58 +0000 (21:09 +0000)]
* add download command to description
Tomas V.V.Cox [Wed, 10 Apr 2002 15:15:12 +0000 (15:15 +0000)]
Implemented "pear download <pakage>"
Tomas V.V.Cox [Wed, 10 Apr 2002 15:10:49 +0000 (15:10 +0000)]
Do not show the "tag it!" message when verbose=0
# Forgot to commit that before
Tomas V.V.Cox [Wed, 10 Apr 2002 15:09:36 +0000 (15:09 +0000)]
Added single display()
Uwe Steinmann [Wed, 10 Apr 2002 13:33:59 +0000 (13:33 +0000)]
- extension to access a Hyperwave Server based on the official
Hypwerwave SDK. The function of this module is similar to the
existing hyperwave extension but the api is very different.
Marcus Boerger [Wed, 10 Apr 2002 13:02:53 +0000 (13:02 +0000)]
fix a warnig and an error (found by Sebastioan)
Rui Hirokawa [Wed, 10 Apr 2002 12:47:41 +0000 (12:47 +0000)]
changed mbstring to make thread safe.
Tomas V.V.Cox [Wed, 10 Apr 2002 12:40:06 +0000 (12:40 +0000)]
Help for command "shell-test"
Tomas V.V.Cox [Wed, 10 Apr 2002 12:23:31 +0000 (12:23 +0000)]
Added "pear package -n" (only output the created package file name)
Sascha Schumann [Wed, 10 Apr 2002 12:22:36 +0000 (12:22 +0000)]
ws changes
Sascha Schumann [Wed, 10 Apr 2002 12:16:31 +0000 (12:16 +0000)]
Replace all memsets with variable initializations
Change flow of code in functions to end in the "positive" branch.
Changes verified using the original php3 dba tests.
Sascha Schumann [Wed, 10 Apr 2002 11:12:19 +0000 (11:12 +0000)]
too quick. full speed back.
Sascha Schumann [Wed, 10 Apr 2002 11:10:17 +0000 (11:10 +0000)]
Please test patches which are merged into the release branch.
db2 has a standard UNIX API which in turn means that
it returns non-zero in error conditions.
Sebastian Bergmann [Wed, 10 Apr 2002 11:08:44 +0000 (11:08 +0000)]
Fix Win32 build.
foobar [Wed, 10 Apr 2002 09:42:38 +0000 (09:42 +0000)]
Let people know this stuff is experimental.
Derick Rethans [Wed, 10 Apr 2002 06:22:12 +0000 (06:22 +0000)]
- Fix defines
Marcus Boerger [Wed, 10 Apr 2002 01:27:44 +0000 (01:27 +0000)]
new ini setting log_errors_max_len
@-New ini setting log_errors_max_len controls maximum length for error
@ messages. Set it to 0 for infinite. Default is 1024 (old behaviour) (Marcus)
Marcus Boerger [Wed, 10 Apr 2002 01:18:52 +0000 (01:18 +0000)]
fix exif using vspprintf
Marcus Boerger [Wed, 10 Apr 2002 01:13:18 +0000 (01:13 +0000)]
make (v)spprintf available
Marcus Boerger [Wed, 10 Apr 2002 01:09:22 +0000 (01:09 +0000)]
introducing spprintf and vspprintf
#mail follows
Marcus Boerger [Wed, 10 Apr 2002 01:07:49 +0000 (01:07 +0000)]
-preface for new vpprintf
#reordered and renamed some functions and removed some static
<changelog@php.net> [Wed, 10 Apr 2002 00:23:15 +0000 (00:23 +0000)]
ChangeLog update
Stig Bakken [Tue, 9 Apr 2002 22:30:44 +0000 (22:30 +0000)]
* ignore dirs and libfiles in older releases (changelog)
Stig Bakken [Tue, 9 Apr 2002 21:48:19 +0000 (21:48 +0000)]
* ignore files in older releases (changelog)
jim winstead [Tue, 9 Apr 2002 20:18:09 +0000 (20:18 +0000)]
Fix bug #15835.
Stig Bakken [Tue, 9 Apr 2002 18:57:28 +0000 (18:57 +0000)]
* drop the ondemand connect stuff for now
Stig Bakken [Tue, 9 Apr 2002 18:51:31 +0000 (18:51 +0000)]
* add preferred_state
Stig Bakken [Tue, 9 Apr 2002 18:50:54 +0000 (18:50 +0000)]
* drop file replace= attribute
Stig Bakken [Tue, 9 Apr 2002 17:32:39 +0000 (17:32 +0000)]
* remove extra end-fold
Sterling Hughes [Tue, 9 Apr 2002 17:25:13 +0000 (17:25 +0000)]
eekk -- and ssb thought my macro's were icky :)
Stig Bakken [Tue, 9 Apr 2002 17:15:17 +0000 (17:15 +0000)]
* package-validate uses package.xml as default param
Stig Bakken [Tue, 9 Apr 2002 16:06:07 +0000 (16:06 +0000)]
* ext/xml/expat no longer has xmltok and xmlparse subdirs
Tomas V.V.Cox [Tue, 9 Apr 2002 14:12:12 +0000 (14:12 +0000)]
Make the dependencies check look for the correct registry file
Alexander Merz [Tue, 9 Apr 2002 14:00:05 +0000 (14:00 +0000)]
Win95/98/Me doesn't support locking, please check patch on other systems
Tomas V.V.Cox [Tue, 9 Apr 2002 13:49:47 +0000 (13:49 +0000)]
Fix package-list not showing the right Install path
Tomas V.V.Cox [Tue, 9 Apr 2002 13:11:51 +0000 (13:11 +0000)]
Fix a problem when list-installed is called in a new installation
James Cox [Tue, 9 Apr 2002 09:59:17 +0000 (09:59 +0000)]
it's been changed back to php.exe
Alexander Merz [Tue, 9 Apr 2002 09:28:04 +0000 (09:28 +0000)]
updated, requires PHP4.2 php-cgi
Stig Bakken [Tue, 9 Apr 2002 08:19:53 +0000 (08:19 +0000)]
* show full cvstag command
Stig Bakken [Tue, 9 Apr 2002 08:18:49 +0000 (08:18 +0000)]
* get rid of CommandResponse stufff
Stig Bakken [Tue, 9 Apr 2002 08:17:49 +0000 (08:17 +0000)]
* drop file replace= attribute
Stig Bakken [Tue, 9 Apr 2002 08:12:18 +0000 (08:12 +0000)]
* remove PEAR/Uploader.php
Stig Bakken [Tue, 9 Apr 2002 08:11:22 +0000 (08:11 +0000)]
* unused files
Stig Bakken [Tue, 9 Apr 2002 08:10:12 +0000 (08:10 +0000)]
* implemented role="script" and <replace> substitution during install
Sterling Hughes [Tue, 9 Apr 2002 06:13:00 +0000 (06:13 +0000)]
fix compile warnings
<changelog@php.net> [Tue, 9 Apr 2002 00:22:01 +0000 (00:22 +0000)]
NEWS update
<changelog@php.net> [Tue, 9 Apr 2002 00:20:15 +0000 (00:20 +0000)]
ChangeLog update
Stig Bakken [Tue, 9 Apr 2002 00:03:44 +0000 (00:03 +0000)]
* package definition for the base PEAR system
Stig Bakken [Tue, 9 Apr 2002 00:03:18 +0000 (00:03 +0000)]
HEADS UP, package.xml format change:
<file>foo.php</file> is now <file name="foo.php/>
Added tags for configure-like substitutions.
# the packager will handle both for a while
Mark L. Woodward [Mon, 8 Apr 2002 23:07:23 +0000 (23:07 +0000)]
Added new features for msession beta 2
foobar [Mon, 8 Apr 2002 22:54:06 +0000 (22:54 +0000)]
ws fix
foobar [Mon, 8 Apr 2002 22:21:08 +0000 (22:21 +0000)]
CPP directives must start on the beginning of line
Richard Heyes [Mon, 8 Apr 2002 21:03:41 +0000 (21:03 +0000)]
* Added getStaticProperty() for static methods.
foobar [Mon, 8 Apr 2002 18:43:35 +0000 (18:43 +0000)]
- Revert that change. Added a warning about this.
Yasuo Ohgaki [Mon, 8 Apr 2002 14:17:28 +0000 (14:17 +0000)]
Make pgsql header available for PECL module(s)
foobar [Mon, 8 Apr 2002 07:58:47 +0000 (07:58 +0000)]
upload_max_filesize can only be set in php.ini
foobar [Mon, 8 Apr 2002 07:47:50 +0000 (07:47 +0000)]
and the news entry..
foobar [Mon, 8 Apr 2002 07:47:17 +0000 (07:47 +0000)]
There's really no point in allowing using the system regex library.
foobar [Mon, 8 Apr 2002 06:45:52 +0000 (06:45 +0000)]
Using system regex lib seems not to work quite well when compiled with Apache.
Derick Rethans [Mon, 8 Apr 2002 06:36:03 +0000 (06:36 +0000)]
- Fix wrong logic (Thanks to Alan for noticing it)
Yasuo Ohgaki [Mon, 8 Apr 2002 04:21:04 +0000 (04:21 +0000)]
Remove unneeded conversions from pg_convert.
Tomas V.V.Cox [Mon, 8 Apr 2002 02:22:48 +0000 (02:22 +0000)]
Continue the list of features for PEAR DB
Release version is 2.0 (apiVersion)
# Multiline entries inside the tags looks better in the web or in
# "pear package-info" if they aren't formatted to look better
# in the xml
Yasuo Ohgaki [Mon, 8 Apr 2002 02:01:45 +0000 (02:01 +0000)]
Make it compile with ZTS.
# Forgot to test with ZTS
Yasuo Ohgaki [Mon, 8 Apr 2002 01:50:06 +0000 (01:50 +0000)]
Update README
Yasuo Ohgaki [Mon, 8 Apr 2002 01:37:38 +0000 (01:37 +0000)]
Added pg_metadate(), pg_convert(), pg_insert(), pg_select(), pg_update()
and pg_delete().
@ Added pg_metadate(), pg_convert(), pg_insert(), pg_select(), pg_update()
@ and pg_delete(). (Yasuo)
Yasuo Ohgaki [Mon, 8 Apr 2002 00:50:44 +0000 (00:50 +0000)]
Return proper result.
foobar [Mon, 8 Apr 2002 00:46:23 +0000 (00:46 +0000)]
Some ws fixes and general cleanup.
Yasuo Ohgaki [Mon, 8 Apr 2002 00:43:58 +0000 (00:43 +0000)]
Added 2nd parameter for pg_result_status(). PGSQL_STATUS_LONG is for LONG result status.
PGSQL_STATUS_STRING is for SQL command name successfully executed for this result.
@ Added 2nd parameter for pg_result_status() to specify return type. (Yasuo)
<changelog@php.net> [Mon, 8 Apr 2002 00:23:10 +0000 (00:23 +0000)]
ChangeLog update
Marcus Boerger [Sun, 7 Apr 2002 23:30:01 +0000 (23:30 +0000)]
correcting some more whitespace
#hope that's it
foobar [Sun, 7 Apr 2002 22:43:17 +0000 (22:43 +0000)]
Fixed compile failure with ZTS build.
Stig Bakken [Sun, 7 Apr 2002 21:09:41 +0000 (21:09 +0000)]
* append "?uncompress=yes" to the package download url if zlib extension
is not loaded
Stig Bakken [Sun, 7 Apr 2002 21:02:54 +0000 (21:02 +0000)]
* package xml file for DB
Andi Gutmans [Sun, 7 Apr 2002 20:49:10 +0000 (20:49 +0000)]
- Fix build with Visual Studio .NET. The MySQL team said they'll commit
- their fix a long time ago and never did. One day they'll update the
- whole MySQL client library.