Commit Graph

13696 Commits

Author SHA1 Message Date
Sascha Schumann
83719f5cd8 s/==/=/ 2002-04-13 09:26:29 +00:00
Markus Fischer
509ef0237f - Also raise a different error message if we don't specify any package at all.
# We might consider giving the 'pear help uninstall' output to the user?
2002-04-13 06:00:36 +00:00
foobar
0fa1516483 - Prevent users from trying to make a static build with Apache2 using
--with-apache

# I have working --with-apache2 stuff also..need to test it a bit more
# before committing it..
2002-04-13 05:58:29 +00:00
Markus Fischer
e060e90f0c - Return a different error message if no package file was given at all. 2002-04-13 05:52:54 +00:00
Rasmus Lerdorf
be2078bb73 oops 2002-04-13 05:43:14 +00:00
Markus Fischer
e96a657f8d - Properly format error message.
# Shouldn't this 'throw' an PEAR Error object ?
2002-04-13 05:33:35 +00:00
Markus Fischer
c7a1d96f8a - Fix a possible memory leak in xml_set_handler().
I stumbled over this while trying out 'pear package' which, while doing
  xml parsing, re-assigns the variaous callback handlers depending
  on the version during xml processing.

  If this check causes problems, let me know.
2002-04-13 05:06:33 +00:00
Rasmus Lerdorf
7a8cade379 Initial commit of the built-in libgd based on GD-2.0.1
This initial checkin has no changes to any of the libgd code so it can
be used as a basis for diffs.  It also will not build currently because
of this.  The PHP gd checks need to be incorporated along with a bit of
other config magic.  It also shouldn't break the build and will only
take effect if you use --with-gd=php right now.
2002-04-13 02:03:09 +00:00
foobar
c46199f5b9 Do NOT use c++ comments in c code!!!!! 2002-04-13 00:31:55 +00:00
cff79286b8 NEWS update 2002-04-13 00:27:54 +00:00
e3c0fc38b9 ChangeLog update 2002-04-13 00:26:23 +00:00
Stig Bakken
d1814a3c12 * cvstag command: tag slide option is -f, not -F 2002-04-13 00:23:19 +00:00
Stig Bakken
8c0edb86b0 * missing file role message could be mistaken for missing maintainer role 2002-04-13 00:20:40 +00:00
Stig Bakken
5d09a5e199 * add cookie authentication to PEAR_Remote (temporarily in addition to http auth) 2002-04-13 00:13:37 +00:00
foobar
f81166f34e - Added checks to prevent building the DSO with wrong configure option. 2002-04-12 22:59:07 +00:00
Aaron Bannert
bf8bb929ac Fix a typo and a build error detected by the lovely HPUX11 ANSI C compiler. 2002-04-12 22:25:29 +00:00
foobar
8581de0fe2 Fix the build.
# Marcus, do you TEST build at all before you commit?!
2002-04-12 22:02:28 +00:00
foobar
067ca4e813 Do NOT use C++ comments in C code. 2002-04-12 21:19:59 +00:00
jim winstead
84b37c9c03 remove this, since it doesn't describe the current process, and is
under a silly license.
2002-04-12 20:20:20 +00:00
Wez Furlong
4df5076d2f fix build with ZE2 2002-04-12 19:26:08 +00:00
Wez Furlong
e2f00a130f fix segfault 2002-04-12 18:17:19 +00:00
Sascha Schumann
22815419f8 Gone they are.. files related to the old build-system 2002-04-12 17:28:41 +00:00
Jan Lehnardt
9b09fba139 - MFB (4_2_0) 2002-04-12 16:54:01 +00:00
Marcus Boerger
50d957cd7a Ini settings for internal encoding and decoding of Unicode and JIS formatted user comments.
@- Ini settings for encoding/decoding Unicode/JIS user comments (Marcus)
2002-04-12 16:35:56 +00:00
Frank M. Kromann
7ff43f040f Removing a unused local variable.
Setting the size before returning the value in readgzfile
2002-04-12 16:25:31 +00:00
Marcus Boerger
0f0a5dddf3 -new function php_mb_check_encoding_list
-mark module globals as const (thread safety)
2002-04-12 16:17:16 +00:00
Sander Roobol
fa8e2db095 This test should be skipped if(!cgi) 2002-04-12 15:25:54 +00:00
Marcus Boerger
df82b2ec75 -fix mb_detect_order
-php_mbstring_parse_encoding_list/array return 0 on any illegal input
2002-04-12 14:24:54 +00:00
Uwe Steinmann
ce00085cdd - added method DomNode->remove_child() 2002-04-12 13:23:07 +00:00
Uwe Steinmann
53de1218fd - fixed stupid compile error 2002-04-12 11:47:48 +00:00
Uwe Steinmann
9b0564beb5 - insert_before(): copy node before doing the insert
- append_child(): actually do an append child and not and add sibling
- what is called xmlDtd in libxml is actually the class DocumentType
  in DOM. The domxml extension used a class DomDtd which is not defined
	in the DOM standard. Instead of using DomDtd DomDocumentType is now
	used. DomDtd has been renamed to Dtd but has not meaning anymore.
- added more functions
2002-04-12 11:32:23 +00:00
Sebastian Bergmann
3dfc150ff7 Sync with php4dllts. 2002-04-12 05:35:50 +00:00
Yasuo Ohgaki
734899e615 Enable CGI binary for testing. CGI binary should be used when it's
available, since some tests cannot be performed by CLI. (And
many of them are just failing now)
Fixed SAPI and VERSION output.
2002-04-12 01:34:06 +00:00
Yasuo Ohgaki
22919a4d36 Be nice to php.ini-recommended users.
php.ini-recommended uses output buffer resulting delayed output during
"make test". User php.ini file is used anyway, since run-tests.php
invoke php for each test from there.
2002-04-12 01:13:01 +00:00
Rasmus Lerdorf
eb43795ccb This exif test was failing because the \0's in the expected output had
disappeared.  It may be CVS doing this.  I have put the nulls back, but we
may have to mark this as a binary file in th cvswrappers, or rewrite the
test to not output nulls.
2002-04-12 01:07:46 +00:00
Yasuo Ohgaki
0c9182ad71 Update Sablotron version supported. 2002-04-12 00:44:59 +00:00
feea1c56eb NEWS update 2002-04-12 00:26:32 +00:00
58c5f68368 ChangeLog update 2002-04-12 00:25:06 +00:00
Yasuo Ohgaki
439b56842f CGI/CLI take file and dir for -c option by this.
@ Both 'file' and 'path to php.ini' is allowed for "-c" cli/cgi option. (Yasuo)
2002-04-12 00:20:29 +00:00
Marcus Boerger
fffb1a5d21 interpret empty to_encoding as encoding not set what results in current_internal_encoding 2002-04-11 22:52:43 +00:00
foobar
995e6f6af0 Fixed (again) the news entry..NEWS file is not a manual. 2002-04-11 22:42:10 +00:00
Rui Hirokawa
adf58908e4 fixed a bug which causes crash when charset is not set. 2002-04-11 22:27:00 +00:00
Aaron Bannert
22fb507325 Fix a problem where php-generated data was pushed down the entire output
filter chain instead of just down the rest of the chain. This fix will
speed up some unnecessary overhead introduced in the last patch.

Suggested by:  Cliff Woolley <jwoolley@apache.org>
2002-04-11 20:34:56 +00:00
Harald Radi
6f22159aa2 fixed type 2002-04-11 20:32:03 +00:00
Aaron Bannert
27a5b380cf 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.
2002-04-11 19:25:08 +00:00
Joseph Tate
07546ee788 Fixing project files so that they load 2002-04-11 17:52:26 +00:00
Aaron Bannert
caf7f3d4d2 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.
2002-04-11 17:34:17 +00:00
Aaron Bannert
d19fd6a0ad Return the number of bytes consumed, not the number of bytes left.
Suggested by:  Brian Havard <brianh@kheldar.apana.org.au>
2002-04-11 17:22:11 +00:00
Jan Lehnardt
49d6f53007 - add quotes. Cought by: Roman Neuhauser <neuhauser@mail.cz> 2002-04-11 17:20:47 +00:00
Sebastian Bergmann
bdc27671cd Update README. 2002-04-11 17:01:51 +00:00