]>
granicus.if.org Git - php/log
Marcus Boerger [Mon, 11 Nov 2002 12:04:12 +0000 (12:04 +0000)]
-fix file open mode when modifier 'd' is used
#Add my name to authors
Marcus Boerger [Mon, 11 Nov 2002 12:00:58 +0000 (12:00 +0000)]
-Precondiftion: no open files
-do not show warning from dba_open call for read during write
# Interesting is that on some systems read during write is permitted...
# I will change the tests as soon as i find a way to have this equal on all
# systems
Marcus Boerger [Mon, 11 Nov 2002 11:57:25 +0000 (11:57 +0000)]
Add missing flush
Jason Greene [Mon, 11 Nov 2002 05:35:04 +0000 (05:35 +0000)]
Report function name when log() triggers a base warning
Jason Greene [Mon, 11 Nov 2002 05:21:35 +0000 (05:21 +0000)]
Add the ability to take the logarithm of any base by adding a base parameter
to log()
Added regression tests for the new form
Jason Greene [Mon, 11 Nov 2002 03:45:04 +0000 (03:45 +0000)]
add test function for log()
# It is difficult to test an approximation of an approximation, but I
# believe this test should be close enough to verify the function is working
# correctly.
Moriyoshi Koizumi [Mon, 11 Nov 2002 02:39:32 +0000 (02:39 +0000)]
Fixed mb_convert_case() / mb_strtolower() / mb_strtoupper() to work in
64bit systems
Christian Dickmann [Mon, 11 Nov 2002 01:23:24 +0000 (01:23 +0000)]
make cache (get/set) binary safe
Moriyoshi Koizumi [Mon, 11 Nov 2002 00:16:09 +0000 (00:16 +0000)]
Removed the test. I should have been more aware of variability of
error messages. Thanks Ilia.
James Cox [Sun, 10 Nov 2002 23:49:04 +0000 (23:49 +0000)]
give Wez streams credits he deserves.
Marcus Boerger [Sun, 10 Nov 2002 23:07:35 +0000 (23:07 +0000)]
Emit a warning when open mode modifier t is used wrong.
Marcus Boerger [Sun, 10 Nov 2002 22:56:29 +0000 (22:56 +0000)]
Add $lock_flag which allows to change lock behaviour for both 'l' and 'd'
Remember gdbm has its own locking so 't' does not work here - maybe a
warning is needed for that, too.
Marcus Boerger [Sun, 10 Nov 2002 22:07:17 +0000 (22:07 +0000)]
Use 'l' to open database file with locking on .lck file.
Andi Gutmans [Sun, 10 Nov 2002 22:02:28 +0000 (22:02 +0000)]
- MFZE1
Moriyoshi Koizumi [Sun, 10 Nov 2002 21:32:54 +0000 (21:32 +0000)]
Fixed mb_send_mail() so that it correctly handles the language setting.
Moriyoshi Koizumi [Sun, 10 Nov 2002 21:31:26 +0000 (21:31 +0000)]
Fixed German language spec entry.
Derick Rethans [Sun, 10 Nov 2002 21:26:14 +0000 (21:26 +0000)]
- Make it rely on cURL version 7.9.8 again, so that we can start with the
Release Process.
Derick Rethans [Sun, 10 Nov 2002 21:24:54 +0000 (21:24 +0000)]
- Remove \n from error messages
Moriyoshi Koizumi [Sun, 10 Nov 2002 21:18:54 +0000 (21:18 +0000)]
Fixed OnUpdate_mbstring_language so that change for mbstring.language
would be reflected to the setting properly
Moriyoshi Koizumi [Sun, 10 Nov 2002 20:53:36 +0000 (20:53 +0000)]
Changed the default settings so that it shouldn't affect htmlentities()
Ilia Alshanetsky [Sun, 10 Nov 2002 20:01:56 +0000 (20:01 +0000)]
Added a missing '.', which is needed for proper skip check.
Ilia Alshanetsky [Sun, 10 Nov 2002 19:34:09 +0000 (19:34 +0000)]
PHP flags specified in .htaccess can now be turned on by using '1' as well as
'On'.
Ilia Alshanetsky [Sun, 10 Nov 2002 19:28:51 +0000 (19:28 +0000)]
Added missing zend_lineno initilization.
Moriyoshi Koizumi [Sun, 10 Nov 2002 19:27:48 +0000 (19:27 +0000)]
Made it conscious of the line number
Moriyoshi Koizumi [Sun, 10 Nov 2002 19:05:51 +0000 (19:05 +0000)]
These changes seems to have bad effect on htmlentities().
Remove it.
Moriyoshi Koizumi [Sun, 10 Nov 2002 18:43:19 +0000 (18:43 +0000)]
Added a test case for bug #17882
Marcus Boerger [Sun, 10 Nov 2002 17:58:46 +0000 (17:58 +0000)]
-Centralise open stream for builtin modules that use streams
-If locks work on database file then only one stream open call is used
Stanislav Malyshev [Sun, 10 Nov 2002 17:50:27 +0000 (17:50 +0000)]
fix statics - make it behave like $this (fetch type "static")
Side effect: indirect references to statics won't work.
Marcus Boerger [Sun, 10 Nov 2002 16:06:19 +0000 (16:06 +0000)]
update dba change list
Marcus Boerger [Sun, 10 Nov 2002 16:03:17 +0000 (16:03 +0000)]
finish work on locking
-all but gdbm do internal locking now since only gdbm has internal locking
-you can force locking on database or lck file (with gdbm this makes no
sense so a notice is generated)
Moriyoshi Koizumi [Sun, 10 Nov 2002 15:52:00 +0000 (15:52 +0000)]
Added a test case to check if my recent patch works
Sascha Schumann [Sun, 10 Nov 2002 15:21:13 +0000 (15:21 +0000)]
Defend against pipelined requests on persistent connections as used by
IRCG. These could cause thttpd to start a second request in the same
connection context, and thereby causing real damage.
Mozilla 1.0.1 is buggy in that context: When HTTP/1.1 pipelining is
enabled (defaults to off), it will send any number of requests over
a persistent connection (which is fine), even after it has received
a "Connection: close" header field in a subsequent response header.
This blatantly violates RFC 2616, section 8.1.2. Because it cannot
receive any response on the dead connection, the download manager
pops up and tries to download a file (which never arrives).
Also, we don't try to send a 400 message anymore, if the connection
dies.
Melvyn Sopacua [Sun, 10 Nov 2002 12:18:03 +0000 (12:18 +0000)]
- implement xslt_backend_info
- add test for it
- fix some prototypes
Melvyn Sopacua [Sun, 10 Nov 2002 08:56:28 +0000 (08:56 +0000)]
- Make it possible for people to save results and/or remove unwanted ENV
data.
- Use more options for the CC 'version' flag
Maxim Maletsky [Sun, 10 Nov 2002 05:31:12 +0000 (05:31 +0000)]
fixed several proto return types throughout the extension
Ilia Alshanetsky [Sun, 10 Nov 2002 05:21:32 +0000 (05:21 +0000)]
Bug fixing news.
Ilia Alshanetsky [Sun, 10 Nov 2002 05:19:40 +0000 (05:19 +0000)]
Fixed bug #19935. Made OpenSSL file system operations abide by safe_mode
& open_basedir restrictions.
Ilia Alshanetsky [Sun, 10 Nov 2002 05:14:26 +0000 (05:14 +0000)]
Fixed a bug that in many situations would cause open_basedir restriction to
be bypassed. Most notable exception, is the inclusion of files via include(),
with a partial path.
Stig Bakken [Sun, 10 Nov 2002 03:13:31 +0000 (03:13 +0000)]
* implement transactions for uninstall
* change "revert" to "rollback"
Stig Bakken [Sun, 10 Nov 2002 03:03:20 +0000 (03:03 +0000)]
* implemented file transactions so installs may be safely aborted
* preparing 1.0b2 release
foobar [Sun, 10 Nov 2002 02:48:22 +0000 (02:48 +0000)]
ws fixes
Stig Bakken [Sun, 10 Nov 2002 02:44:49 +0000 (02:44 +0000)]
* add folds
Stig Bakken [Sun, 10 Nov 2002 02:09:26 +0000 (02:09 +0000)]
* honor track_errors ini setting in php_verror()
Moriyoshi Koizumi [Sat, 9 Nov 2002 23:10:02 +0000 (23:10 +0000)]
Fixed typo
Moriyoshi Koizumi [Sat, 9 Nov 2002 17:07:29 +0000 (17:07 +0000)]
Added a test for mb_substr_count()
Moriyoshi Koizumi [Sat, 9 Nov 2002 17:05:47 +0000 (17:05 +0000)]
Added mb_substr_count() as per the request #15097
Moriyoshi Koizumi [Sat, 9 Nov 2002 16:15:40 +0000 (16:15 +0000)]
Fixed PHP_INI_MH(OnUpdate_mbstring_language) so that ini entry values
are properly updated.
Sterling Hughes [Sat, 9 Nov 2002 13:52:00 +0000 (13:52 +0000)]
add a whole bunch of constants that make the interface somewhat up-to-date.
Sterling Hughes [Sat, 9 Nov 2002 13:08:49 +0000 (13:08 +0000)]
add check for curl 7.10.2
Andrei Zmievski [Sat, 9 Nov 2002 00:43:37 +0000 (00:43 +0000)]
Fix memory leak in non-ZTS mode.
Stig Bakken [Sat, 9 Nov 2002 00:39:48 +0000 (00:39 +0000)]
* cleaning house
Ilia Alshanetsky [Fri, 8 Nov 2002 22:48:01 +0000 (22:48 +0000)]
Made open_basedir error more descriptive.
Andrei Zmievski [Fri, 8 Nov 2002 21:20:48 +0000 (21:20 +0000)]
Remove unnecessary comments.
Moriyoshi Koizumi [Fri, 8 Nov 2002 18:40:54 +0000 (18:40 +0000)]
Use proper types
Moriyoshi Koizumi [Fri, 8 Nov 2002 18:06:31 +0000 (18:06 +0000)]
Fixed typo
Sterling Hughes [Fri, 8 Nov 2002 17:58:43 +0000 (17:58 +0000)]
add support for curl 7.10.* constants (at least most of them)
add support for persistent connections
Moriyoshi Koizumi [Fri, 8 Nov 2002 17:46:29 +0000 (17:46 +0000)]
Added a test for bug #19566
Marcus Boerger [Fri, 8 Nov 2002 17:03:06 +0000 (17:03 +0000)]
hide possible warnings
#Why should one initialize $php_errormsg to NULL
#It would be easier to have it initialised by the system, wouldn't it?
Sterling Hughes [Fri, 8 Nov 2002 15:49:32 +0000 (15:49 +0000)]
use consistent constants
Sascha Schumann [Fri, 8 Nov 2002 13:29:32 +0000 (13:29 +0000)]
s/PHP_API/PHP_API_VERSION/
Marcus Boerger [Fri, 8 Nov 2002 08:46:14 +0000 (08:46 +0000)]
-update to version 1.6.2
-added path command as requested by jani
Hartmut Holzgraefe [Fri, 8 Nov 2002 08:41:52 +0000 (08:41 +0000)]
fix for #20198:
"always_populate_raw_post_data = On" breaks HTTP file uploads
Moriyoshi Koizumi [Fri, 8 Nov 2002 07:22:10 +0000 (07:22 +0000)]
Added a test for function overloading behaviour
CHAILLAN Nicolas [Fri, 8 Nov 2002 03:05:19 +0000 (03:05 +0000)]
Very little fixes
Ilia Alshanetsky [Fri, 8 Nov 2002 03:04:23 +0000 (03:04 +0000)]
Fixed prototype of image_type_to_mime_type(), bug #20094.
Ilia Alshanetsky [Fri, 8 Nov 2002 03:02:51 +0000 (03:02 +0000)]
Fixed compile warning when compiling without openssl support.
Ilia Alshanetsky [Fri, 8 Nov 2002 02:50:28 +0000 (02:50 +0000)]
Move SWC (compressed swf) check into a separate test because this check
requires zlib. This separation allows us to skip the test if zlib is
not available and not fail.
Ilia Alshanetsky [Fri, 8 Nov 2002 01:44:40 +0000 (01:44 +0000)]
Bug fixing news.
Ilia Alshanetsky [Fri, 8 Nov 2002 01:12:03 +0000 (01:12 +0000)]
Added skip conditions in the event the required charset is not avaliabled.
Removed old (commented out) module loading code.
Ilia Alshanetsky [Fri, 8 Nov 2002 01:11:05 +0000 (01:11 +0000)]
This option is needed if we need to track errors inside the skip condition.
Ilia Alshanetsky [Fri, 8 Nov 2002 01:09:47 +0000 (01:09 +0000)]
Added a skip condition if the English dictionary needed for the test is not
avaliable.
Ilia Alshanetsky [Fri, 8 Nov 2002 01:08:52 +0000 (01:08 +0000)]
Added a skip condition in the event posix_kill(), which is used by the test
is not avaliable.
Ilia Alshanetsky [Fri, 8 Nov 2002 01:08:01 +0000 (01:08 +0000)]
Removed duplicate assignment.
Marcus Boerger [Fri, 8 Nov 2002 01:03:53 +0000 (01:03 +0000)]
-lock support moved from dba_flatfile.c to dba.c
-flatfile, cdb, cdb_make use locking now
#locking is blocking per default use 'rt', 'wt', ct' or 'nt' for non blocking alias
#test access to a database file.
#locking uses flock() which will be emulated or warned if that is not eally
#possible in ext/standard/flock_compat.c
Stig Bakken [Fri, 8 Nov 2002 00:19:21 +0000 (00:19 +0000)]
* fix path prepends
Marcus Boerger [Thu, 7 Nov 2002 23:09:41 +0000 (23:09 +0000)]
not needed anywhere here
Marcus Boerger [Thu, 7 Nov 2002 23:03:58 +0000 (23:03 +0000)]
expand test: see if another insert fails
Marcus Boerger [Thu, 7 Nov 2002 23:03:16 +0000 (23:03 +0000)]
-rename anything to flatfile_xxx/FLATFILE_xxx
-fix update function
-add warnings for update function
Brian France [Thu, 7 Nov 2002 19:31:08 +0000 (19:31 +0000)]
Changed: EXPAT_SHARED_LIBADD -> XML_SHARED_LIBADD
If the xml extension was built shared with a shared libexpat
it would not get the required link to libexpat.so.
Wez Furlong [Thu, 7 Nov 2002 18:07:03 +0000 (18:07 +0000)]
Really disable curlwrappers configure option.
Ilia Alshanetsky [Thu, 7 Nov 2002 17:49:11 +0000 (17:49 +0000)]
This makes the output of the tests consistent on 32bit and 64 bit platforms.
The old test relied on the 32 bit behaviour, which caused them to always fail
on 64 bit platforms.
Ilia Alshanetsky [Thu, 7 Nov 2002 16:42:32 +0000 (16:42 +0000)]
Added swf info.
Ilia Alshanetsky [Thu, 7 Nov 2002 16:38:57 +0000 (16:38 +0000)]
Added swf and swc (compressed swf) test cases and added 'bits' portion to
the expected bmp test results.
Ilia Alshanetsky [Thu, 7 Nov 2002 16:37:46 +0000 (16:37 +0000)]
Fixed a crash in image_type_to_mime_type(), when a non integer value is
passed to the function.
Fixed Width/Height detection of bmp files on big endian systems.
Added bit depth detection for bmp files.
Ilia Alshanetsky [Thu, 7 Nov 2002 15:46:34 +0000 (15:46 +0000)]
Added additional tests to parse_url() test suit, corrected the output of 2
existing tests, which were affected by a bug fixed in latest update to
parse_url() source code.
Ilia Alshanetsky [Thu, 7 Nov 2002 15:41:32 +0000 (15:41 +0000)]
parse_url can now correctly parse mailto:, zlib: (old zlib wrapper) and
simular. Thanks to Wez Furlong for noticing the problem.
Andrei Zmievski [Thu, 7 Nov 2002 15:09:11 +0000 (15:09 +0000)]
Fix.
Wez Furlong [Thu, 7 Nov 2002 14:52:02 +0000 (14:52 +0000)]
WS
Wez Furlong [Thu, 7 Nov 2002 14:46:40 +0000 (14:46 +0000)]
Make this static also.
Wez Furlong [Thu, 7 Nov 2002 14:42:20 +0000 (14:42 +0000)]
Make this static
Marcus Boerger [Thu, 7 Nov 2002 14:18:42 +0000 (14:18 +0000)]
add test to see if insert fails when key already exists
Marcus Boerger [Thu, 7 Nov 2002 13:00:37 +0000 (13:00 +0000)]
remove debug output and use php_error_docref instead
Sascha Schumann [Thu, 7 Nov 2002 11:56:02 +0000 (11:56 +0000)]
let this source file compile with php 4.2.x
Sascha Schumann [Thu, 7 Nov 2002 11:52:45 +0000 (11:52 +0000)]
bumb api version because of module_startup change
Sascha Schumann [Thu, 7 Nov 2002 11:38:03 +0000 (11:38 +0000)]
Add two missing entries
Ilia Alshanetsky [Thu, 7 Nov 2002 00:23:58 +0000 (00:23 +0000)]
Fixed a crash in headers_sent(), that occures if
php_get_output_start_filename() returns NULL.
Sebastian Bergmann [Wed, 6 Nov 2002 18:51:44 +0000 (18:51 +0000)]
Fix ZTS build.
Ilia Alshanetsky [Wed, 6 Nov 2002 18:07:23 +0000 (18:07 +0000)]
Instead of checking whether realpath exists based on OS. Use the
HAVE_REALPATH define, which is set if realpath() is avaliable. This patch
also resolves bug #18868.
Sascha Schumann [Wed, 6 Nov 2002 17:59:03 +0000 (17:59 +0000)]
emalloc never returns 0, so we can simplify the code paths.
also replace ecalloc with emalloc+memset, so that the latter can be inlined.
Sascha Schumann [Wed, 6 Nov 2002 17:31:03 +0000 (17:31 +0000)]
- use TCP_DEFER_ACCEPT
- don't timeout connections which are managed by IRCG
- don't generate invalid HTTP replies, if the client did not send a
request line yet