]> granicus.if.org Git - php/log
php
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

22 years agoStricter SKIPIF conditions
Moriyoshi Koizumi [Wed, 6 Nov 2002 16:37:10 +0000 (16:37 +0000)]
Stricter SKIPIF conditions

22 years agoFixed segfaults in case the specified encoding is not acceptable to iconv.
Moriyoshi Koizumi [Wed, 6 Nov 2002 16:29:16 +0000 (16:29 +0000)]
Fixed segfaults in case the specified encoding is not acceptable to iconv.

22 years agoOops, preg_match() returns integer value, not boolean.
Moriyoshi Koizumi [Wed, 6 Nov 2002 15:14:58 +0000 (15:14 +0000)]
Oops, preg_match() returns integer value, not boolean.

22 years agofix zend_assign_to_object_op
Stanislav Malyshev [Wed, 6 Nov 2002 15:11:45 +0000 (15:11 +0000)]
fix zend_assign_to_object_op

22 years agoMade skip conditions stricter.
Moriyoshi Koizumi [Wed, 6 Nov 2002 15:06:35 +0000 (15:06 +0000)]
Made skip conditions stricter.

22 years ago-convert from dos to unix file
Marcus Boerger [Wed, 6 Nov 2002 12:01:37 +0000 (12:01 +0000)]
-convert from dos to unix file

22 years ago-convert from dos to unix file
Marcus Boerger [Wed, 6 Nov 2002 11:59:14 +0000 (11:59 +0000)]
-convert from dos to unix file
-disallow cdb_make

22 years agocheck whether a written databse can be appended and if read during write
Marcus Boerger [Wed, 6 Nov 2002 11:18:00 +0000 (11:18 +0000)]
check whether a written databse can be appended and if read during write
is permitted
#i use ksort for the result here since some dbm libraries sort their result
#but that is nothing to test here.

22 years agofix locks and reading
Marcus Boerger [Wed, 6 Nov 2002 10:43:41 +0000 (10:43 +0000)]
fix locks and reading
#i will extend the tests to guard on such failures

22 years agoDisable --with-curlwrappers.
Wez Furlong [Wed, 6 Nov 2002 10:24:48 +0000 (10:24 +0000)]
Disable --with-curlwrappers.
(Pending support from libcurl itself)

22 years agoThere shall never be an external library for this (hopefully).
Marcus Boerger [Wed, 6 Nov 2002 10:08:38 +0000 (10:08 +0000)]
There shall never be an external library for this (hopefully).

22 years agoUse the the name 'flatfile' correctly so the handler support can be built now.
Marcus Boerger [Wed, 6 Nov 2002 09:17:51 +0000 (09:17 +0000)]
Use the the name 'flatfile' correctly so the handler support can be built now.
#I do not like the lock solution since a crashed php would leave the *lck
#file locked now.

22 years agomove newly introduced flatfile support from dbm to new flatfile handler
Marcus Boerger [Wed, 6 Nov 2002 04:16:18 +0000 (04:16 +0000)]
move newly introduced flatfile support from dbm to new flatfile handler
# do not make the same mistake as with ext/db where it was not clear
# which format was used.

22 years agocorrect file open modes
Marcus Boerger [Wed, 6 Nov 2002 02:21:49 +0000 (02:21 +0000)]
correct file open modes

22 years agoadd fprintf replacement: tested, working, used
Marcus Boerger [Wed, 6 Nov 2002 01:56:51 +0000 (01:56 +0000)]
add fprintf replacement: tested, working, used

22 years ago#add myself
Marcus Boerger [Wed, 6 Nov 2002 01:53:50 +0000 (01:53 +0000)]
#add myself

22 years agoIncorporate rewritten version of dbm from db extension.
Marcus Boerger [Wed, 6 Nov 2002 01:47:06 +0000 (01:47 +0000)]
Incorporate rewritten version of dbm from db extension.
# currently locks are missing :-(

22 years agoMake the macro use the function and not the other macro as discussed
Marcus Boerger [Wed, 6 Nov 2002 00:17:44 +0000 (00:17 +0000)]
Make the macro use the function and not the other macro as discussed
with Wez.

22 years agophp_stream replacement for fprintf
Marcus Boerger [Wed, 6 Nov 2002 00:15:24 +0000 (00:15 +0000)]
php_stream replacement for fprintf
#Agreed by Wez - I will use this mysel soon.

22 years agoFixed bug #20035. ZE now allows us to pass the current line position by
Ilia Alshanetsky [Tue, 5 Nov 2002 22:04:12 +0000 (22:04 +0000)]
Fixed bug #20035. ZE now allows us to pass the current line position by
setting zend_lineno to (current_line * -1).

22 years agoMFZE1
Ilia Alshanetsky [Tue, 5 Nov 2002 22:01:35 +0000 (22:01 +0000)]
MFZE1

22 years ago- Shift around zend_op members
Andi Gutmans [Tue, 5 Nov 2002 21:35:05 +0000 (21:35 +0000)]
- Shift around zend_op members

22 years agoFixed compile warning, removed unused variables and added process.h header,
Ilia Alshanetsky [Tue, 5 Nov 2002 19:57:04 +0000 (19:57 +0000)]
Fixed compile warning, removed unused variables and added process.h header,
which is needed on Windows for getpid() function.