]> granicus.if.org Git - php/log
php
22 years agoAdd the ability to take the logarithm of any base by adding a base parameter
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

22 years agoadd test function for log()
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.

22 years agoFixed mb_convert_case() / mb_strtolower() / mb_strtoupper() to work in
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

22 years agomake cache (get/set) binary safe
Christian Dickmann [Mon, 11 Nov 2002 01:23:24 +0000 (01:23 +0000)]
make cache (get/set) binary safe

22 years agoRemoved the test. I should have been more aware of variability of
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.

22 years agogive Wez streams credits he deserves.
James Cox [Sun, 10 Nov 2002 23:49:04 +0000 (23:49 +0000)]
give Wez streams credits he deserves.

22 years agoEmit a warning when open mode modifier t is used wrong.
Marcus Boerger [Sun, 10 Nov 2002 23:07:35 +0000 (23:07 +0000)]
Emit a warning when open mode modifier t is used wrong.

22 years agoAdd $lock_flag which allows to change lock behaviour for both 'l' and 'd'
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.

22 years agoUse 'l' to open database file with locking on .lck file.
Marcus Boerger [Sun, 10 Nov 2002 22:07:17 +0000 (22:07 +0000)]
Use 'l' to open database file with locking on .lck file.

22 years ago- MFZE1
Andi Gutmans [Sun, 10 Nov 2002 22:02:28 +0000 (22:02 +0000)]
- MFZE1

22 years agoFixed mb_send_mail() so that it correctly handles the language setting.
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.

22 years agoFixed German language spec entry.
Moriyoshi Koizumi [Sun, 10 Nov 2002 21:31:26 +0000 (21:31 +0000)]
Fixed German language spec entry.

22 years ago- Make it rely on cURL version 7.9.8 again, so that we can start with the
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.

22 years ago- Remove \n from error messages
Derick Rethans [Sun, 10 Nov 2002 21:24:54 +0000 (21:24 +0000)]
- Remove \n from error messages

22 years agoFixed OnUpdate_mbstring_language so that change for mbstring.language
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

22 years agoChanged the default settings so that it shouldn't affect htmlentities()
Moriyoshi Koizumi [Sun, 10 Nov 2002 20:53:36 +0000 (20:53 +0000)]
Changed the default settings so that it shouldn't affect htmlentities()

22 years agoAdded a missing '.', which is needed for proper skip check.
Ilia Alshanetsky [Sun, 10 Nov 2002 20:01:56 +0000 (20:01 +0000)]
Added a missing '.', which is needed for proper skip check.

22 years agoPHP flags specified in .htaccess can now be turned on by using '1' as well as
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'.

22 years agoAdded missing zend_lineno initilization.
Ilia Alshanetsky [Sun, 10 Nov 2002 19:28:51 +0000 (19:28 +0000)]
Added missing zend_lineno initilization.

22 years agoMade it conscious of the line number
Moriyoshi Koizumi [Sun, 10 Nov 2002 19:27:48 +0000 (19:27 +0000)]
Made it conscious of the line number

22 years agoThese changes seems to have bad effect on htmlentities().
Moriyoshi Koizumi [Sun, 10 Nov 2002 19:05:51 +0000 (19:05 +0000)]
These changes seems to have bad effect on htmlentities().
Remove it.

22 years agoAdded a test case for bug #17882
Moriyoshi Koizumi [Sun, 10 Nov 2002 18:43:19 +0000 (18:43 +0000)]
Added a test case for bug #17882

22 years ago-Centralise open stream for builtin modules that use streams
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

22 years agofix statics - make it behave like $this (fetch type "static")
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.

22 years agoupdate dba change list
Marcus Boerger [Sun, 10 Nov 2002 16:06:19 +0000 (16:06 +0000)]
update dba change list

22 years agofinish work on locking
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)

22 years agoAdded a test case to check if my recent patch works
Moriyoshi Koizumi [Sun, 10 Nov 2002 15:52:00 +0000 (15:52 +0000)]
Added a test case to check if my recent patch works

22 years agoDefend against pipelined requests on persistent connections as used by
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.

22 years ago- implement xslt_backend_info
Melvyn Sopacua [Sun, 10 Nov 2002 12:18:03 +0000 (12:18 +0000)]
- implement xslt_backend_info
- add test for it
- fix some prototypes

22 years ago- Make it possible for people to save results and/or remove unwanted ENV
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

22 years agofixed several proto return types throughout the extension
Maxim Maletsky [Sun, 10 Nov 2002 05:31:12 +0000 (05:31 +0000)]
fixed several proto return types throughout the extension

22 years agoBug fixing news.
Ilia Alshanetsky [Sun, 10 Nov 2002 05:21:32 +0000 (05:21 +0000)]
Bug fixing news.

22 years agoFixed bug #19935. Made OpenSSL file system operations abide by safe_mode
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.

22 years agoFixed a bug that in many situations would cause open_basedir restriction to
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.

22 years ago* implement transactions for uninstall
Stig Bakken [Sun, 10 Nov 2002 03:13:31 +0000 (03:13 +0000)]
* implement transactions for uninstall
* change "revert" to "rollback"

22 years ago* implemented file transactions so installs may be safely aborted
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

22 years agows fixes
foobar [Sun, 10 Nov 2002 02:48:22 +0000 (02:48 +0000)]
ws fixes

22 years ago* add folds
Stig Bakken [Sun, 10 Nov 2002 02:44:49 +0000 (02:44 +0000)]
* add folds

22 years ago* honor track_errors ini setting in php_verror()
Stig Bakken [Sun, 10 Nov 2002 02:09:26 +0000 (02:09 +0000)]
* honor track_errors ini setting in php_verror()

22 years agoFixed typo
Moriyoshi Koizumi [Sat, 9 Nov 2002 23:10:02 +0000 (23:10 +0000)]
Fixed typo

22 years agoAdded a test for mb_substr_count()
Moriyoshi Koizumi [Sat, 9 Nov 2002 17:07:29 +0000 (17:07 +0000)]
Added a test for mb_substr_count()

22 years agoAdded mb_substr_count() as per the request #15097
Moriyoshi Koizumi [Sat, 9 Nov 2002 17:05:47 +0000 (17:05 +0000)]
Added mb_substr_count() as per the request #15097

22 years agoFixed PHP_INI_MH(OnUpdate_mbstring_language) so that ini entry values
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.

22 years agoadd a whole bunch of constants that make the interface somewhat up-to-date.
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.

22 years agoadd check for curl 7.10.2
Sterling Hughes [Sat, 9 Nov 2002 13:08:49 +0000 (13:08 +0000)]
add check for curl 7.10.2

22 years agoFix memory leak in non-ZTS mode.
Andrei Zmievski [Sat, 9 Nov 2002 00:43:37 +0000 (00:43 +0000)]
Fix memory leak in non-ZTS mode.

22 years ago* cleaning house
Stig Bakken [Sat, 9 Nov 2002 00:39:48 +0000 (00:39 +0000)]
* cleaning house

22 years agoMade open_basedir error more descriptive.
Ilia Alshanetsky [Fri, 8 Nov 2002 22:48:01 +0000 (22:48 +0000)]
Made open_basedir error more descriptive.

22 years agoRemove unnecessary comments.
Andrei Zmievski [Fri, 8 Nov 2002 21:20:48 +0000 (21:20 +0000)]
Remove unnecessary comments.

22 years agoUse proper types
Moriyoshi Koizumi [Fri, 8 Nov 2002 18:40:54 +0000 (18:40 +0000)]
Use proper types

22 years agoFixed typo
Moriyoshi Koizumi [Fri, 8 Nov 2002 18:06:31 +0000 (18:06 +0000)]
Fixed typo

22 years agoadd support for curl 7.10.* constants (at least most of them)
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

22 years agoAdded a test for bug #19566
Moriyoshi Koizumi [Fri, 8 Nov 2002 17:46:29 +0000 (17:46 +0000)]
Added a test for bug #19566

22 years agohide possible warnings
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?

22 years agouse consistent constants
Sterling Hughes [Fri, 8 Nov 2002 15:49:32 +0000 (15:49 +0000)]
use consistent constants

22 years agos/PHP_API/PHP_API_VERSION/
Sascha Schumann [Fri, 8 Nov 2002 13:29:32 +0000 (13:29 +0000)]
s/PHP_API/PHP_API_VERSION/

22 years ago-update to version 1.6.2
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

22 years agofix for #20198:
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

22 years agoAdded a test for function overloading behaviour
Moriyoshi Koizumi [Fri, 8 Nov 2002 07:22:10 +0000 (07:22 +0000)]
Added a test for function overloading behaviour

22 years agoVery little fixes
CHAILLAN Nicolas [Fri, 8 Nov 2002 03:05:19 +0000 (03:05 +0000)]
Very little fixes

22 years agoFixed prototype of image_type_to_mime_type(), bug #20094.
Ilia Alshanetsky [Fri, 8 Nov 2002 03:04:23 +0000 (03:04 +0000)]
Fixed prototype of image_type_to_mime_type(), bug #20094.

22 years agoFixed compile warning when compiling without openssl support.
Ilia Alshanetsky [Fri, 8 Nov 2002 03:02:51 +0000 (03:02 +0000)]
Fixed compile warning when compiling without openssl support.

22 years agoMove SWC (compressed swf) check into a separate test because this check
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.

22 years agoBug fixing news.
Ilia Alshanetsky [Fri, 8 Nov 2002 01:44:40 +0000 (01:44 +0000)]
Bug fixing news.

22 years agoAdded skip conditions in the event the required charset is not avaliabled.
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.

22 years agoThis option is needed if we need to track errors inside the skip condition.
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.

22 years agoAdded a skip condition if the English dictionary needed for the test is not
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.

22 years agoAdded a skip condition in the event posix_kill(), which is used by the test
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.

22 years agoRemoved duplicate assignment.
Ilia Alshanetsky [Fri, 8 Nov 2002 01:08:01 +0000 (01:08 +0000)]
Removed duplicate assignment.

22 years ago-lock support moved from dba_flatfile.c to dba.c
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

22 years ago* fix path prepends
Stig Bakken [Fri, 8 Nov 2002 00:19:21 +0000 (00:19 +0000)]
* fix path prepends

22 years agonot needed anywhere here
Marcus Boerger [Thu, 7 Nov 2002 23:09:41 +0000 (23:09 +0000)]
not needed anywhere here

22 years agoexpand test: see if another insert fails
Marcus Boerger [Thu, 7 Nov 2002 23:03:58 +0000 (23:03 +0000)]
expand test: see if another insert fails

22 years ago-rename anything to flatfile_xxx/FLATFILE_xxx
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

22 years ago Changed: EXPAT_SHARED_LIBADD -> XML_SHARED_LIBADD
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.

22 years agoReally disable curlwrappers configure option.
Wez Furlong [Thu, 7 Nov 2002 18:07:03 +0000 (18:07 +0000)]
Really disable curlwrappers configure option.

22 years agoThis makes the output of the tests consistent on 32bit and 64 bit platforms.
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.

22 years agoAdded swf info.
Ilia Alshanetsky [Thu, 7 Nov 2002 16:42:32 +0000 (16:42 +0000)]
Added swf info.

22 years agoAdded swf and swc (compressed swf) test cases and added 'bits' portion to
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.

22 years agoFixed a crash in image_type_to_mime_type(), when a non integer value is
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.

22 years agoAdded additional tests to parse_url() test suit, corrected the output of 2
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.

22 years agoparse_url can now correctly parse mailto:, zlib: (old zlib wrapper) and
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.

22 years agoFix.
Andrei Zmievski [Thu, 7 Nov 2002 15:09:11 +0000 (15:09 +0000)]
Fix.

22 years agoWS
Wez Furlong [Thu, 7 Nov 2002 14:52:02 +0000 (14:52 +0000)]
WS

22 years agoMake this static also.
Wez Furlong [Thu, 7 Nov 2002 14:46:40 +0000 (14:46 +0000)]
Make this static also.

22 years agoMake this static
Wez Furlong [Thu, 7 Nov 2002 14:42:20 +0000 (14:42 +0000)]
Make this static

22 years agoadd test to see if insert fails when key already exists
Marcus Boerger [Thu, 7 Nov 2002 14:18:42 +0000 (14:18 +0000)]
add test to see if insert fails when key already exists

22 years agoremove debug output and use php_error_docref instead
Marcus Boerger [Thu, 7 Nov 2002 13:00:37 +0000 (13:00 +0000)]
remove debug output and use php_error_docref instead

22 years agolet this source file compile with php 4.2.x
Sascha Schumann [Thu, 7 Nov 2002 11:56:02 +0000 (11:56 +0000)]
let this source file compile with php 4.2.x

22 years agobumb api version because of module_startup change
Sascha Schumann [Thu, 7 Nov 2002 11:52:45 +0000 (11:52 +0000)]
bumb api version because of module_startup change

22 years agoAdd two missing entries
Sascha Schumann [Thu, 7 Nov 2002 11:38:03 +0000 (11:38 +0000)]
Add two missing entries

22 years agoFixed a crash in headers_sent(), that occures if
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.

22 years agoFix ZTS build.
Sebastian Bergmann [Wed, 6 Nov 2002 18:51:44 +0000 (18:51 +0000)]
Fix ZTS build.

22 years agoInstead of checking whether realpath exists based on OS. Use the
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.

22 years agoemalloc never returns 0, so we can simplify the code paths.
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.

22 years ago- use TCP_DEFER_ACCEPT
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

22 years agoCosmetics
Moriyoshi Koizumi [Wed, 6 Nov 2002 16:58:08 +0000 (16:58 +0000)]
Cosmetics

22 years agoAdded a test case to check the behaviour on failure
Moriyoshi Koizumi [Wed, 6 Nov 2002 16:57:53 +0000 (16:57 +0000)]
Added a test case to check the behaviour on failure

22 years agoadded missing magic_quotes_runtime=0
Marcus Boerger [Wed, 6 Nov 2002 16:56:44 +0000 (16:56 +0000)]
added missing magic_quotes_runtime=0

22 years agoClean up
Moriyoshi Koizumi [Wed, 6 Nov 2002 16:54:18 +0000 (16:54 +0000)]
Clean up