]> granicus.if.org Git - php/log
php
22 years agoFixed a buffer over-run bug in case a function to be overloaded doesn't exist.
Moriyoshi Koizumi [Wed, 13 Nov 2002 07:40:11 +0000 (07:40 +0000)]
Fixed a buffer over-run bug in case a function to be overloaded doesn't exist.
# This patch was made by Ilia.

22 years agoDisable mbstring (and sync behaviour with *NIX per Andrei's commit).
Sebastian Bergmann [Wed, 13 Nov 2002 06:47:43 +0000 (06:47 +0000)]
Disable mbstring (and sync behaviour with *NIX per Andrei's commit).

22 years agoDisable mbstring by default.
Andrei Zmievski [Wed, 13 Nov 2002 04:36:04 +0000 (04:36 +0000)]
Disable mbstring by default.

22 years agoadded missing cvs id tag
foobar [Wed, 13 Nov 2002 00:49:37 +0000 (00:49 +0000)]
added missing cvs id tag

22 years ago* support INSTALL_ROOT
Stig Bakken [Wed, 13 Nov 2002 00:02:11 +0000 (00:02 +0000)]
* support INSTALL_ROOT

22 years agoUsing // is not very good idea..
foobar [Tue, 12 Nov 2002 23:34:06 +0000 (23:34 +0000)]
Using // is not very good idea..

22 years agoDo not use any php.ini files for the installs.
foobar [Tue, 12 Nov 2002 23:30:21 +0000 (23:30 +0000)]
Do not use any php.ini files for the installs.

22 years agoFixed ZTS build and removed an unused variable.
Edin Kadribasic [Tue, 12 Nov 2002 22:59:11 +0000 (22:59 +0000)]
Fixed ZTS build and removed an unused variable.

22 years agoFix build. flock_compat.c and flock_compat.h are now in the exported
Edin Kadribasic [Tue, 12 Nov 2002 22:44:11 +0000 (22:44 +0000)]
Fix build. flock_compat.c and flock_compat.h are now in the exported
part of php4ts.dll.

22 years agoCosmetics
Moriyoshi Koizumi [Tue, 12 Nov 2002 22:05:18 +0000 (22:05 +0000)]
Cosmetics

22 years agoFixed a function overloading related bug.
Moriyoshi Koizumi [Tue, 12 Nov 2002 21:58:53 +0000 (21:58 +0000)]
Fixed a function overloading related bug.
# Yet I suspect the problem is in another place...

22 years agoFixed the tests so that they won't be affected by the ini setting of
Moriyoshi Koizumi [Tue, 12 Nov 2002 21:37:54 +0000 (21:37 +0000)]
Fixed the tests so that they won't be affected by the ini setting of
default_charset

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

22 years agoftruncate is defined in flock_compat.h on windows
Marcus Boerger [Tue, 12 Nov 2002 21:03:10 +0000 (21:03 +0000)]
ftruncate is defined in flock_compat.h on windows

22 years agoImplemented -n switch to skip parsing ini at startup as suggested by Wez.
Marcus Boerger [Tue, 12 Nov 2002 20:56:47 +0000 (20:56 +0000)]
Implemented -n switch to skip parsing ini at startup as suggested by Wez.
#The switch 'n' was planned to be used for beautifying....delete n to make
#clear these functions do not have a switch yet.

22 years agoFixed language name
Moriyoshi Koizumi [Tue, 12 Nov 2002 20:06:20 +0000 (20:06 +0000)]
Fixed language name

22 years agoAdded test cases for mb_send_mail()
Moriyoshi Koizumi [Tue, 12 Nov 2002 20:04:58 +0000 (20:04 +0000)]
Added test cases for mb_send_mail()

22 years agoForgot to change this one.
Moriyoshi Koizumi [Tue, 12 Nov 2002 19:44:56 +0000 (19:44 +0000)]
Forgot to change this one.

22 years agoAdded neutral language spec for backwards compatibility
Moriyoshi Koizumi [Tue, 12 Nov 2002 19:24:45 +0000 (19:24 +0000)]
Added neutral language spec for backwards compatibility

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.