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

22 years agosilence
Marcus Boerger [Tue, 5 Nov 2002 11:17:45 +0000 (11:17 +0000)]
silence
#when i get this code right tmp_line is not initialised, too.
#Therefore php_stream_wrapper_log_error() will be called with
#undefined value, will it?

22 years agoMade php -v output look nicer on standard 80 column display.
Edin Kadribasic [Tue, 5 Nov 2002 11:13:35 +0000 (11:13 +0000)]
Made php -v output look nicer on standard 80 column display.

22 years agocorrect define: silences compiler warning in http_fopen_wrapper.c
Marcus Boerger [Tue, 5 Nov 2002 11:10:06 +0000 (11:10 +0000)]
correct define: silences compiler warning in http_fopen_wrapper.c

22 years agoUse EXPECT again
Marcus Boerger [Tue, 5 Nov 2002 09:52:30 +0000 (09:52 +0000)]
Use EXPECT again

22 years agoComment out part 3 for now
Marcus Boerger [Tue, 5 Nov 2002 09:51:09 +0000 (09:51 +0000)]
Comment out part 3 for now
Added Part 4

22 years agoFix handling of zero-length records
Adam Dickmeiss [Tue, 5 Nov 2002 09:19:24 +0000 (09:19 +0000)]
Fix handling of zero-length records

22 years ago#- Added myself here
Timm Friebe [Tue, 5 Nov 2002 08:30:57 +0000 (08:30 +0000)]
#- Added myself here

22 years ago@- Implemented features/changes requested in Bug #16960 (Timm):
Timm Friebe [Tue, 5 Nov 2002 08:29:57 +0000 (08:29 +0000)]
@- Implemented features/changes requested in Bug #16960 (Timm):
@  . Added a new function sybase_unbuffered_query()
@  . Added a new function sybase_fetch_assoc()
@  . Added sybase_set_message_handler() which enables users to handle
@    server messages in a callback function
@  . Added an ini entry for deadlock retries - retrying deadlocks
@    can cause transaction state to break (sybct.deadlock_retry_count,
@    defaults to -1 "forever").
@  . Fixed sybase_fetch_object() not to return objects with numeric
@    members
@  . Fixed issues with identical fieldnames
@  . Made sybase_fetch_*() functions return correct datatypes
@  . Made phpinfo() section more verbose
@  . Made sybase_query() error messages more verbose

22 years agoFixed some special cases that were crashing for the exception default
Stig Bakken [Tue, 5 Nov 2002 06:10:05 +0000 (06:10 +0000)]
Fixed some special cases that were crashing for the exception default
handler.

22 years agoAdded separate functions for setting include_path, for environments
Stig Bakken [Tue, 5 Nov 2002 06:05:48 +0000 (06:05 +0000)]
Added separate functions for setting include_path, for environments
where ini_set has been disabled.  New functions: get_include_path(),
set_include_path(), restore_include_path()

22 years agoRevert virtual_link() patch.
Ilia Alshanetsky [Mon, 4 Nov 2002 23:24:15 +0000 (23:24 +0000)]
Revert virtual_link() patch.

22 years agoWork around a daft mistake in the beos headers...
David Reid [Mon, 4 Nov 2002 21:20:52 +0000 (21:20 +0000)]
Work around a daft mistake in the beos headers...

22 years ago- Clean up mess made by netware guys. There's no reason not to abstract
Andi Gutmans [Mon, 4 Nov 2002 20:45:28 +0000 (20:45 +0000)]
- Clean up mess made by netware guys. There's no reason not to abstract
- the macro a tiny bit more allowing the code to look cleaner. The more
- #ifdef's code has the more unreadable it becomes.

22 years agoNot all systems have sys/ipc.h so let's check and only include it if we
David Reid [Mon, 4 Nov 2002 20:08:09 +0000 (20:08 +0000)]
Not all systems have sys/ipc.h so let's check and only include it if we
have it.

22 years agocollect and append dba changes
Marcus Boerger [Mon, 4 Nov 2002 18:11:43 +0000 (18:11 +0000)]
collect and append dba changes

22 years agoincorporate cdb-0.75 as suggested by D. J. Bernstein
Marcus Boerger [Mon, 4 Nov 2002 17:53:04 +0000 (17:53 +0000)]
incorporate cdb-0.75 as suggested by D. J. Bernstein
#dba now supports cdb_make

22 years agoSilence compiler warning.
Ilia Alshanetsky [Mon, 4 Nov 2002 17:38:30 +0000 (17:38 +0000)]
Silence compiler warning.

22 years agoSilence compiler warnings.
Ilia Alshanetsky [Mon, 4 Nov 2002 17:35:41 +0000 (17:35 +0000)]
Silence compiler warnings.

22 years agoIf ordered is not set a random compiler assigned value of *p2 would be used,
Ilia Alshanetsky [Mon, 4 Nov 2002 17:26:44 +0000 (17:26 +0000)]
If ordered is not set a random compiler assigned value of *p2 would be used,
this patch fixes the problem by initializing *p2 to NULL.

22 years ago2nd wow returns different results with ZE1/ZE2
Marcus Boerger [Mon, 4 Nov 2002 17:12:21 +0000 (17:12 +0000)]
2nd wow returns different results with ZE1/ZE2

22 years agoSilence compile warning, ctype.h is needed for tolower() function.
Ilia Alshanetsky [Mon, 4 Nov 2002 17:05:11 +0000 (17:05 +0000)]
Silence compile warning, ctype.h is needed for tolower() function.

22 years agoRemoved \r, which caused the test to fail.
Ilia Alshanetsky [Mon, 4 Nov 2002 16:46:28 +0000 (16:46 +0000)]
Removed \r, which caused the test to fail.

22 years agouse ecmalloc/efree functions instead of (c|m)alloc/free
Marcus Boerger [Mon, 4 Nov 2002 13:39:17 +0000 (13:39 +0000)]
use ecmalloc/efree functions instead of (c|m)alloc/free

22 years agoFix debugging description
Sascha Schumann [Mon, 4 Nov 2002 13:22:23 +0000 (13:22 +0000)]
Fix debugging description

22 years agoFixed bug #20243
Moriyoshi Koizumi [Mon, 4 Nov 2002 12:53:24 +0000 (12:53 +0000)]
Fixed bug #20243

22 years agopassing around TSRM
Marcus Boerger [Mon, 4 Nov 2002 12:27:13 +0000 (12:27 +0000)]
passing around TSRM
#going to add CDB_MAKE support