]> granicus.if.org Git - php/log
php
22 years agoHTTP_RAW_POST_DATA BC fixes
Hartmut Holzgraefe [Tue, 12 Nov 2002 18:29:11 +0000 (18:29 +0000)]
HTTP_RAW_POST_DATA BC fixes
# hopefully all done, commiting anyway to continue work on my home box
php://input stream fixes (POST data handerl mangles data, CLI crashbug)

22 years agoAdded test for swc files (compressed swf files), this must be done in a
Ilia Alshanetsky [Tue, 12 Nov 2002 17:47:20 +0000 (17:47 +0000)]
Added test for swc files (compressed swf files), this must be done in a
separate test, since this test has a dependency on the zlib extension.

22 years agoFixed a memory leak.
Ilia Alshanetsky [Tue, 12 Nov 2002 17:41:26 +0000 (17:41 +0000)]
Fixed a memory leak.

22 years agoAdd missing $(INSTALL_ROOT)
Sascha Schumann [Tue, 12 Nov 2002 17:40:38 +0000 (17:40 +0000)]
Add missing $(INSTALL_ROOT)

22 years agows fixes
foobar [Tue, 12 Nov 2002 17:31:39 +0000 (17:31 +0000)]
ws fixes

22 years agoreverting accidential commit
Hartmut Holzgraefe [Tue, 12 Nov 2002 16:41:14 +0000 (16:41 +0000)]
reverting accidential commit

22 years ago*** empty log message ***
Hartmut Holzgraefe [Tue, 12 Nov 2002 16:37:47 +0000 (16:37 +0000)]
*** empty log message ***

22 years agoData manipulation (for big endian transformation) should occur after the
Ilia Alshanetsky [Tue, 12 Nov 2002 16:14:18 +0000 (16:14 +0000)]
Data manipulation (for big endian transformation) should occur after the
data has been read from file.

22 years agoCorrect Entry, Add entry
Jason Greene [Tue, 12 Nov 2002 16:08:39 +0000 (16:08 +0000)]
Correct Entry, Add entry

22 years agouse *e*malloc functions
Marcus Boerger [Tue, 12 Nov 2002 16:02:03 +0000 (16:02 +0000)]
use *e*malloc functions

22 years agofix warnings
Marcus Boerger [Tue, 12 Nov 2002 15:09:44 +0000 (15:09 +0000)]
fix warnings

22 years agofix static
Stanislav Malyshev [Tue, 12 Nov 2002 15:06:51 +0000 (15:06 +0000)]
fix static

22 years ago-add gd_info()
Marcus Boerger [Tue, 12 Nov 2002 14:52:42 +0000 (14:52 +0000)]
-add gd_info()
-keep important news at top
-speling

22 years agoChanged max_input_time PHP_INI_SYSTEM|PHP_INI_PERDIR because ini_set() will
Ilia Alshanetsky [Tue, 12 Nov 2002 14:40:00 +0000 (14:40 +0000)]
Changed max_input_time PHP_INI_SYSTEM|PHP_INI_PERDIR because ini_set() will
already be too late, the POST/GET/COOKIE processing occures before the script
gets parsed.
Changed the default value to -1. If users have previously (older PHPs)
adressed the problem by setting timeout to a large value, we can avoid breaking
their script by detecting the -1 and using timeout_seconds instead of
max_input_time when setting the 'input' timeout.

22 years agoForgot the parsers and scanners
James Moore [Tue, 12 Nov 2002 14:31:37 +0000 (14:31 +0000)]
Forgot the parsers and scanners

22 years agoRewrite of the W32api extension
James Moore [Tue, 12 Nov 2002 14:29:42 +0000 (14:29 +0000)]
Rewrite of the W32api extension
@ New version of w32api extension. Old API deprecated (jmoore)

22 years agoFixed compile error.
Ilia Alshanetsky [Tue, 12 Nov 2002 14:18:25 +0000 (14:18 +0000)]
Fixed compile error.

22 years agophp_error() => php_error_docref()
Marcus Boerger [Tue, 12 Nov 2002 13:16:13 +0000 (13:16 +0000)]
php_error() => php_error_docref()

22 years ago- Added optional parameter to sybase_fetch_object() (Timm)
Timm Friebe [Tue, 12 Nov 2002 13:13:12 +0000 (13:13 +0000)]
- Added optional parameter to sybase_fetch_object() (Timm)
- Changed php_error and zend_error to php_error_docref (Timm)
- Changed sybase_query() to clean up and free unread results (Timm)

22 years agofix warnings
Marcus Boerger [Tue, 12 Nov 2002 13:12:58 +0000 (13:12 +0000)]
fix warnings

22 years agofix windows warning: not needed here
Marcus Boerger [Tue, 12 Nov 2002 13:11:37 +0000 (13:11 +0000)]
fix windows warning: not needed here

22 years ago-fix includes
Marcus Boerger [Tue, 12 Nov 2002 12:01:57 +0000 (12:01 +0000)]
-fix includes
-fix one missing efree
-replace efree/emalloc with erealloc

22 years agonew function gd_info() returns an associative array of gd support options. # The...
Marcus Boerger [Tue, 12 Nov 2002 11:49:11 +0000 (11:49 +0000)]
new function gd_info() returns an associative array of gd support options. # The index names are those from the minfo function. Therefore it is
# easy to look into phpinfo() to see which index names are possible.

22 years agofix warnings
Marcus Boerger [Tue, 12 Nov 2002 11:46:21 +0000 (11:46 +0000)]
fix warnings
#highest bit cannot be set so this must work

22 years agofix warnings
Marcus Boerger [Tue, 12 Nov 2002 11:45:10 +0000 (11:45 +0000)]
fix warnings

22 years agocorrect the last patch: make flock() a function again when it is missing
Marcus Boerger [Tue, 12 Nov 2002 09:09:55 +0000 (09:09 +0000)]
correct the last patch: make flock() a function again when it is missing
#function name should be flock and not php_flock of cause

22 years agoSpeed up pg_escape_bytea, from O(n^2) => O(n). My test script speed up
Yasuo Ohgaki [Tue, 12 Nov 2002 09:07:36 +0000 (09:07 +0000)]
Speed up pg_escape_bytea, from O(n^2) => O(n). My test script speed up
from 50 sec to 5 sec. (sscanf is too slow at least under my linux, I
might write better function that unescape values later)
Use emalloc/erealloc for bundled PQescapeBytea(php_pgsql_escape_bytea)

22 years ago- Fix warning
Derick Rethans [Tue, 12 Nov 2002 08:11:23 +0000 (08:11 +0000)]
- Fix warning

22 years agoadding to do list to help clarify exactly what we are (or
David Viner [Tue, 12 Nov 2002 05:14:47 +0000 (05:14 +0000)]
adding to do list to help clarify exactly what we are (or
should be) working on for the XSLT extension.
--dviner

22 years agoModified php_mysql_do_connect() as suggested by Nick Gaugler - using
Zak Greant [Tue, 12 Nov 2002 01:41:16 +0000 (01:41 +0000)]
Modified php_mysql_do_connect() as suggested by Nick Gaugler - using
mysql_ping() as a more efficient alternative to using mysql_stat() to
check if the server is alive and then calling mysql_(real_)?connect() to
reconnect.

Simple tests of opening pconnects indicate that only about 10k of data per
ping needs to be returned to the client per connection check, rather than
about 110k per status check.

22 years agoNEWS update
<changelog@php.net> [Tue, 12 Nov 2002 01:32:09 +0000 (01:32 +0000)]
NEWS update

22 years agomake flock() a function again when it is missing
Marcus Boerger [Mon, 11 Nov 2002 23:40:33 +0000 (23:40 +0000)]
make flock() a function again when it is missing

22 years agoAdding a more detail print functions, that assist/make it easier for
Harrie Hazewinkel [Mon, 11 Nov 2002 21:37:19 +0000 (21:37 +0000)]
Adding a more detail print functions, that assist/make it easier for
creating SNMP scripts.
They are only supported when you have NET-SNMP.
Need to be documented still though.

22 years agoAdding SNMPv3 support.
Harrie Hazewinkel [Mon, 11 Nov 2002 21:09:19 +0000 (21:09 +0000)]
Adding SNMPv3 support.
This splits the old php_snmp function into an argument parsing part and
a data retrieval part. The data retrieval part is reused for SNMPv3.
SNMPv3 has only a different argument parsing.

THe code is not extremely beautiful, but having NET-SNMP and
UCD-SNMP support creates this. :-(
Documentation must still be done.

22 years agoUse php_flock instead of flock
Marcus Boerger [Mon, 11 Nov 2002 20:53:41 +0000 (20:53 +0000)]
Use php_flock instead of flock

22 years ago-make the flock() emulation a separate function named php_flock()
Marcus Boerger [Mon, 11 Nov 2002 20:52:09 +0000 (20:52 +0000)]
-make the flock() emulation a separate function named php_flock()
-use a define to make php_flock() available as flock() when necessary
# The emulated php_flock even works on NFS this will be used elsewhere.

22 years ago- Update with statics
Andi Gutmans [Mon, 11 Nov 2002 19:49:29 +0000 (19:49 +0000)]
- Update with statics

22 years agoFixing the php_info function.
Harrie Hazewinkel [Mon, 11 Nov 2002 18:45:50 +0000 (18:45 +0000)]
Fixing the php_info function.
Print UCD-SNMP when UCD-SNMP is used.
Print NET-SNMP when NET-SNMP is used.

22 years agoFugbix typo.
Sebastian Bergmann [Mon, 11 Nov 2002 18:27:32 +0000 (18:27 +0000)]
Fugbix typo.

22 years agoforgot to add fprintf in list
Marcus Boerger [Mon, 11 Nov 2002 18:05:22 +0000 (18:05 +0000)]
forgot to add fprintf in list

22 years agoFixed compile warnings.
Ilia Alshanetsky [Mon, 11 Nov 2002 16:54:26 +0000 (16:54 +0000)]
Fixed compile warnings.

22 years agomake flock PHPAPI
Marcus Boerger [Mon, 11 Nov 2002 16:43:19 +0000 (16:43 +0000)]
make flock PHPAPI

22 years agoSwitch to using error_docref
Jason Greene [Mon, 11 Nov 2002 16:34:39 +0000 (16:34 +0000)]
Switch to using error_docref
# Satisfy all those named Mar[ck]us

22 years agoMFZE1
Ilia Alshanetsky [Mon, 11 Nov 2002 16:32:57 +0000 (16:32 +0000)]
MFZE1

22 years agoFix missing header warnings (alloca.h) on Sun Os & Tru64.
Ilia Alshanetsky [Mon, 11 Nov 2002 16:32:36 +0000 (16:32 +0000)]
Fix missing header warnings (alloca.h) on Sun Os & Tru64.

22 years ago- Revert that patch, this was not optional at all.
Derick Rethans [Mon, 11 Nov 2002 16:32:17 +0000 (16:32 +0000)]
- Revert that patch, this was not optional at all.

22 years agoAdded a flex version check. In the event required flex version is not
Ilia Alshanetsky [Mon, 11 Nov 2002 16:12:56 +0000 (16:12 +0000)]
Added a flex version check. In the event required flex version is not
available, an advisory warning (similar to bison one) will be given to the
user. This is needed for systems such as Sun OS, where the existing lex
parser cannot be used to regenerate Zend/PHP lexical parsers.

22 years agoFixed windows build. Symbol PHP_EXPORTS is a no-no for dynamically
Edin Kadribasic [Mon, 11 Nov 2002 16:11:32 +0000 (16:11 +0000)]
Fixed windows build. Symbol PHP_EXPORTS is a no-no for dynamically
linked extensions.

22 years agoadded a little bit more information for mysql.trace_mode
Georg Richter [Mon, 11 Nov 2002 13:40:30 +0000 (13:40 +0000)]
added a little bit more information for mysql.trace_mode

22 years agoAdded support for windows code pages.
Moriyoshi Koizumi [Mon, 11 Nov 2002 13:31:08 +0000 (13:31 +0000)]
Added support for windows code pages.

22 years agoWS
Moriyoshi Koizumi [Mon, 11 Nov 2002 13:28:34 +0000 (13:28 +0000)]
WS

22 years agoadded mysql.trace_mode
Georg Richter [Mon, 11 Nov 2002 12:54:51 +0000 (12:54 +0000)]
added mysql.trace_mode

22 years agoAdded new functionality:
Georg Richter [Mon, 11 Nov 2002 12:54:06 +0000 (12:54 +0000)]
Added new functionality:
Warnings for table/index scans
Warnings for SQL-Errors
Warnings for non free result sets

It can be activated via ini.setting "mysql.trace_mode"

22 years ago-fix file open mode when modifier 'd' is used
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

22 years ago-Precondiftion: no open files
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

22 years agoAdd missing flush
Marcus Boerger [Mon, 11 Nov 2002 11:57:25 +0000 (11:57 +0000)]
Add missing flush

22 years agoReport function name when log() triggers a base warning
Jason Greene [Mon, 11 Nov 2002 05:35:04 +0000 (05:35 +0000)]
Report function name when log() triggers a base warning

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.