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

22 years ago- A couple of updates
Andi Gutmans [Tue, 5 Nov 2002 19:55:00 +0000 (19:55 +0000)]
- A couple of updates

22 years agocorrect errors
Marcus Boerger [Tue, 5 Nov 2002 19:38:06 +0000 (19:38 +0000)]
correct errors

22 years ago- Add support for static methods. Basically methods which are defined as
Andi Gutmans [Tue, 5 Nov 2002 19:37:31 +0000 (19:37 +0000)]
- Add support for static methods. Basically methods which are defined as
- static don't have $this. That's the whole difference.

22 years ago- $clone -> $that
Andi Gutmans [Tue, 5 Nov 2002 19:29:46 +0000 (19:29 +0000)]
- $clone -> $that

22 years ago- Fix bug introduced with type change of free_op1/2
Andi Gutmans [Tue, 5 Nov 2002 19:06:40 +0000 (19:06 +0000)]
- Fix bug introduced with type change of free_op1/2

22 years ago- Arghh... Change #ifdef to #ifndef
Andi Gutmans [Tue, 5 Nov 2002 19:02:37 +0000 (19:02 +0000)]
- Arghh... Change #ifdef to #ifndef

22 years ago- Fix Engine 2 build
Andi Gutmans [Tue, 5 Nov 2002 19:01:36 +0000 (19:01 +0000)]
- Fix Engine 2 build

22 years ago- ATTENTION: Finally nuke old_function and cfunction. I think it is time
Andi Gutmans [Tue, 5 Nov 2002 18:25:09 +0000 (18:25 +0000)]
- ATTENTION: Finally nuke old_function and cfunction. I think it is time
- to get rid of these BC notations. This is from the days of the move from
- PHP/FI 2 -> PHP 3

22 years agoRevert of previous patch.
Ilia Alshanetsky [Tue, 5 Nov 2002 18:22:02 +0000 (18:22 +0000)]
Revert of previous patch.

22 years ago- Change the automatically created variable $clone in __clone() to
Andi Gutmans [Tue, 5 Nov 2002 18:16:11 +0000 (18:16 +0000)]
- Change the automatically created variable $clone in __clone() to
- $that as discussed at the PHP Conference. If there are any objections
- alternative names please let me know. The reason for changing it from
- $clone is because $clone sounds as if it's the newly cloned object and
- not the old one.

22 years agoFixed typo
Moriyoshi Koizumi [Tue, 5 Nov 2002 17:46:36 +0000 (17:46 +0000)]
Fixed typo

22 years ago- Fix TSRM_ERROR macro
Andi Gutmans [Tue, 5 Nov 2002 17:34:47 +0000 (17:34 +0000)]
- Fix TSRM_ERROR macro

22 years agoAdded a test for bug #20261
Moriyoshi Koizumi [Tue, 5 Nov 2002 17:25:59 +0000 (17:25 +0000)]
Added a test for bug #20261

22 years agoavoid using 'class' in exported functions - it annoys c++
Stanislav Malyshev [Tue, 5 Nov 2002 17:21:23 +0000 (17:21 +0000)]
avoid using 'class' in exported functions - it annoys c++

22 years agoFixed a memory leak in array_fill().
Ilia Alshanetsky [Tue, 5 Nov 2002 16:19:19 +0000 (16:19 +0000)]
Fixed a memory leak in array_fill().
The refcount hack is now done for ZE1 only and is slightly faster then the
original.
After this patch array_fill() can consistently create arrays with >65k elements.

22 years agocall php_module_startup after zts has been initialised. This way we could
Marcus Boerger [Tue, 5 Nov 2002 15:15:51 +0000 (15:15 +0000)]
call php_module_startup after zts has been initialised. This way we could
have called zend_ini_deactivate(TSRMLS_C). But it seems unnecessary.
#tested with ZTS and non ZTS build and many manual fail points.
#now it even compiles without any warning, at least for me

22 years ago-use of emalloc functions
Marcus Boerger [Tue, 5 Nov 2002 15:01:20 +0000 (15:01 +0000)]
-use of emalloc functions
-info was not initialised fulle due to memset parameters
 now that the whole structure is initialised we can stop putting 0 in it.

22 years agoIgnore all temporary target directories created by the windows build.
Edin Kadribasic [Tue, 5 Nov 2002 14:55:08 +0000 (14:55 +0000)]
Ignore all temporary target directories created by the windows build.

22 years agoAdded 4th argument to virtual_file_ex() that specifies whether or not
Ilia Alshanetsky [Tue, 5 Nov 2002 14:50:17 +0000 (14:50 +0000)]
Added 4th argument to virtual_file_ex() that specifies whether or not
realpath() should be used during path resolving. In a number of functions
we do not want to use realpath(), since realpath() will resolve symlinks.

22 years agoWhy did open fail?
Marcus Boerger [Tue, 5 Nov 2002 14:46:36 +0000 (14:46 +0000)]
Why did open fail?

22 years agoFix compile warning.
Ilia Alshanetsky [Tue, 5 Nov 2002 14:28:32 +0000 (14:28 +0000)]
Fix compile warning.

22 years agoAdded two new targets to the ldap win32 build which enable ldap
Edin Kadribasic [Tue, 5 Nov 2002 14:19:22 +0000 (14:19 +0000)]
Added two new targets to the ldap win32 build which enable ldap
extension to be linked with ssl version of openldap libs.

22 years agoFixed win32 build by including missing stddef.h
Edin Kadribasic [Tue, 5 Nov 2002 14:18:20 +0000 (14:18 +0000)]
Fixed win32 build by including missing stddef.h

22 years agostyle fix
Moriyoshi Koizumi [Tue, 5 Nov 2002 13:52:11 +0000 (13:52 +0000)]
style fix

22 years agoMoving php/embed windows build files to sapi/embed folder.
Edin Kadribasic [Tue, 5 Nov 2002 13:12:27 +0000 (13:12 +0000)]
Moving php/embed windows build files to sapi/embed folder.

22 years agocorrecting typos.
Andrey Hristov [Tue, 5 Nov 2002 12:32:11 +0000 (12:32 +0000)]
correcting typos.

22 years agoadded missing compiler define
Marcus Boerger [Tue, 5 Nov 2002 12:03:01 +0000 (12:03 +0000)]
added missing compiler define

22 years agono memory no members
Marcus Boerger [Tue, 5 Nov 2002 11:22:48 +0000 (11:22 +0000)]
no memory no members