]> granicus.if.org Git - php/log
php
19 years agomake a start on a debugging function.
Wez Furlong [Mon, 18 Jul 2005 14:46:55 +0000 (14:46 +0000)]
make a start on a debugging function.

19 years agotouch generated file
Wez Furlong [Mon, 18 Jul 2005 14:44:56 +0000 (14:44 +0000)]
touch generated file

19 years agoavoid :: when looking for named parameters.
Wez Furlong [Mon, 18 Jul 2005 14:44:14 +0000 (14:44 +0000)]
avoid :: when looking for named parameters.
Refs Bug #33736.

19 years agothis needs to be the column count, otherwise a db->query() that returns 0 rows
Wez Furlong [Mon, 18 Jul 2005 14:40:49 +0000 (14:40 +0000)]
this needs to be the column count, otherwise a db->query() that returns 0 rows
will fail rather than returning a statement with no rows.

19 years agocompile before commit (gah!)
Wez Furlong [Mon, 18 Jul 2005 14:12:52 +0000 (14:12 +0000)]
compile before commit (gah!)

19 years agoCleanup buffers on handle re-use.
Ilia Alshanetsky [Mon, 18 Jul 2005 13:47:33 +0000 (13:47 +0000)]
Cleanup buffers on handle re-use.

19 years agoApparently our pipe detection code just above this isn't foolproof.
Wez Furlong [Mon, 18 Jul 2005 13:28:24 +0000 (13:28 +0000)]
Apparently our pipe detection code just above this isn't foolproof.
Catch it here.

19 years agoFixed bug #33558 (warning with nested calls to functions returning by reference)
Dmitry Stogov [Mon, 18 Jul 2005 07:13:34 +0000 (07:13 +0000)]
Fixed bug #33558 (warning with nested calls to functions returning by reference)

19 years agoRemoved some compilation warnings.
Dmitry Stogov [Mon, 18 Jul 2005 06:34:42 +0000 (06:34 +0000)]
Removed some compilation warnings.

19 years agoChangeLog update
<changelog@php.net> [Mon, 18 Jul 2005 05:36:08 +0000 (05:36 +0000)]
ChangeLog update

19 years agoFixed handling of HTTP requests with multiple Cookie headers.
Ilia Alshanetsky [Mon, 18 Jul 2005 04:04:18 +0000 (04:04 +0000)]
Fixed handling of HTTP requests with multiple Cookie headers.

19 years agotypo
foobar [Mon, 18 Jul 2005 01:09:22 +0000 (01:09 +0000)]
typo

19 years agoMake sure we build with SWFPrebuilt.
Frank M. Kromann [Mon, 18 Jul 2005 00:42:48 +0000 (00:42 +0000)]
Make sure we build with SWFPrebuilt.

19 years ago- Show end of relay testing block
Marcus Boerger [Mon, 18 Jul 2005 00:19:28 +0000 (00:19 +0000)]
- Show end of relay testing block

19 years ago- Provide distinction and distinct tests
Marcus Boerger [Mon, 18 Jul 2005 00:14:54 +0000 (00:14 +0000)]
- Provide distinction and distinct tests

19 years ago- Compatibility with ming 0.2a and 0.3a
Marcus Boerger [Sun, 17 Jul 2005 23:58:40 +0000 (23:58 +0000)]
- Compatibility with ming 0.2a and 0.3a

19 years ago- Write temp file in test dir
Marcus Boerger [Sun, 17 Jul 2005 23:58:02 +0000 (23:58 +0000)]
- Write temp file in test dir

19 years ago- Add new test
Marcus Boerger [Sun, 17 Jul 2005 20:57:51 +0000 (20:57 +0000)]
- Add new test

19 years agoAdded missing init.
Ilia Alshanetsky [Sun, 17 Jul 2005 19:17:10 +0000 (19:17 +0000)]
Added missing init.

19 years ago- Fix problem with debug mode on selective machines
Marcus Boerger [Sun, 17 Jul 2005 18:39:24 +0000 (18:39 +0000)]
- Fix problem with debug mode on selective machines

19 years ago- If you ask me both (expat and libxml) are not really accurate about byte
Marcus Boerger [Sun, 17 Jul 2005 17:38:16 +0000 (17:38 +0000)]
- If you ask me both (expat and libxml) are not really accurate about byte
  positions and columns...however the line number information is now
  correct for both so for the moment we live with the situation that they
  return different byte and column information.

19 years agoChangeLog update
<changelog@php.net> [Sun, 17 Jul 2005 05:40:10 +0000 (05:40 +0000)]
ChangeLog update

19 years agoAdded 2 missing cURL options available in all versions.
Ilia Alshanetsky [Sat, 16 Jul 2005 18:33:09 +0000 (18:33 +0000)]
Added 2 missing cURL options available in all versions.

19 years agoNetWare can make use of the Autoconf based build system
Anantha Kesari H Y [Sat, 16 Jul 2005 12:55:45 +0000 (12:55 +0000)]
NetWare can make use of the Autoconf based build system

19 years agolibpq-fs.h this file is of no use
Anantha Kesari H Y [Sat, 16 Jul 2005 12:51:58 +0000 (12:51 +0000)]
libpq-fs.h this file is of no use

19 years agomain/fopen_wrappers.c
Anantha Kesari H Y [Sat, 16 Jul 2005 12:21:34 +0000 (12:21 +0000)]
main/fopen_wrappers.c
NetWare file names are case insensitive
main/main.c
NetWare has no sendmail binary. It uses the smart host mailing code avaiolable in php distro. Could not find a better place to put this than main/main.c.
-- Kamesh

19 years agoNetware pthreads support is good enough. So removing all these fixes of old times.
Anantha Kesari H Y [Sat, 16 Jul 2005 11:38:40 +0000 (11:38 +0000)]
Netware pthreads support is good enough. So removing all these fixes of old times.
-- Kamesh

19 years agoChangeLog update
<changelog@php.net> [Sat, 16 Jul 2005 05:36:35 +0000 (05:36 +0000)]
ChangeLog update

19 years agoDarwin seems to like this much better.
George Schlossnagle [Fri, 15 Jul 2005 16:47:48 +0000 (16:47 +0000)]
Darwin seems to like this much better.

19 years agoDarwin seems to like this arrangement much better.
George Schlossnagle [Fri, 15 Jul 2005 16:47:12 +0000 (16:47 +0000)]
Darwin seems to like this arrangement much better.

19 years agoPass context parameter through to xport_create
Sara Golemon [Fri, 15 Jul 2005 15:45:43 +0000 (15:45 +0000)]
Pass context parameter through to xport_create

19 years agoext/standard/file.h NetWare LibC has fnmatch and realpath implemented.
Anantha Kesari H Y [Fri, 15 Jul 2005 12:35:12 +0000 (12:35 +0000)]
ext/standard/file.h NetWare LibC has fnmatch and realpath implemented.
ext/standard/syslog.c Except LOG_SYSLOG other syslog macros are supported by NetWare LibC.
ext/standard/string.c NetWare fix for dirname
-- Kamesh

19 years agoChangeLog update
<changelog@php.net> [Fri, 15 Jul 2005 05:34:39 +0000 (05:34 +0000)]
ChangeLog update

19 years agoFixed compiler warning.
Ilia Alshanetsky [Thu, 14 Jul 2005 23:17:16 +0000 (23:17 +0000)]
Fixed compiler warning.

19 years agoProperly recognize redirect code 303.
Ilia Alshanetsky [Thu, 14 Jul 2005 14:59:16 +0000 (14:59 +0000)]
Properly recognize redirect code 303.
When encountering redirect on POST request follow browsers and cURL and
perform GET on the specified location field.

19 years ago- Back to -dev
Andi Gutmans [Thu, 14 Jul 2005 14:01:02 +0000 (14:01 +0000)]
- Back to -dev

19 years ago- Beta 3
Andi Gutmans [Thu, 14 Jul 2005 13:44:03 +0000 (13:44 +0000)]
- Beta 3

19 years agoChangeLog update
<changelog@php.net> [Thu, 14 Jul 2005 05:36:27 +0000 (05:36 +0000)]
ChangeLog update

19 years agoAdd test case
Wez Furlong [Thu, 14 Jul 2005 02:21:03 +0000 (02:21 +0000)]
Add test case

19 years agogah!
Wez Furlong [Thu, 14 Jul 2005 02:20:52 +0000 (02:20 +0000)]
gah!

19 years agoThanks 'james' (a visitor to my blog) for reporting this bug.
Wez Furlong [Thu, 14 Jul 2005 02:09:54 +0000 (02:09 +0000)]
Thanks 'james' (a visitor to my blog) for reporting this bug.

19 years agokeep this as a placeholder for debugging weird regressions
Wez Furlong [Thu, 14 Jul 2005 02:09:08 +0000 (02:09 +0000)]
keep this as a placeholder for debugging weird regressions

19 years agoAdd utility for driver-specific tests
Wez Furlong [Thu, 14 Jul 2005 02:08:18 +0000 (02:08 +0000)]
Add utility for driver-specific tests

19 years agoit is not an error for a statement to return 0 rows.
Wez Furlong [Thu, 14 Jul 2005 02:03:54 +0000 (02:03 +0000)]
it is not an error for a statement to return 0 rows.

Andrey: please run the test suite before each commit!
This broke beta 3 and was clearly visible as a result of running the tests.

Running further tests now.

19 years ago- Fixed cacheing bug in PHP_SOCKADDR_SA_LEN macro
foobar [Thu, 14 Jul 2005 00:12:26 +0000 (00:12 +0000)]
- Fixed cacheing bug in PHP_SOCKADDR_SA_LEN macro
- Removed duplicate sa_len check from configure.in
- Unified the sockaddr tests into PHP_SOCKADDR_CHECKS macro

19 years agoFix the re_magic test by adding missing #include <sys/types.h>
foobar [Thu, 14 Jul 2005 00:08:13 +0000 (00:08 +0000)]
Fix the re_magic test by adding missing #include <sys/types.h>

19 years agoRoute ftp:// wrapper via transports layer.\nFix typo in datastream crypto startup
Sara Golemon [Wed, 13 Jul 2005 23:28:22 +0000 (23:28 +0000)]
Route ftp:// wrapper via transports layer.\nFix typo in datastream crypto startup

19 years agoFixed bug #33673 (Added detection for partially uploaded files).
Ilia Alshanetsky [Wed, 13 Jul 2005 20:44:08 +0000 (20:44 +0000)]
Fixed bug #33673 (Added detection for partially uploaded files).

19 years agotypofix
foobar [Wed, 13 Jul 2005 14:34:46 +0000 (14:34 +0000)]
typofix

19 years ago- Added check whether re_magic exists in struct regex_t
foobar [Wed, 13 Jul 2005 14:33:38 +0000 (14:33 +0000)]
- Added check whether re_magic exists in struct regex_t
# per Andrei's request

19 years agofix typo
foobar [Wed, 13 Jul 2005 08:20:32 +0000 (08:20 +0000)]
fix typo

19 years agofixed typos
foobar [Wed, 13 Jul 2005 07:04:29 +0000 (07:04 +0000)]
fixed typos

19 years agoChangeLog update
<changelog@php.net> [Wed, 13 Jul 2005 05:35:44 +0000 (05:35 +0000)]
ChangeLog update

19 years ago- Update Beta 3 date
Andi Gutmans [Tue, 12 Jul 2005 20:40:11 +0000 (20:40 +0000)]
- Update Beta 3 date

19 years agoadd forgotten ifdefs, fix #33667 (mysqli doesn't compile)
Antony Dovgal [Tue, 12 Jul 2005 20:38:34 +0000 (20:38 +0000)]
add forgotten ifdefs, fix #33667 (mysqli doesn't compile)

19 years ago- Update News
Andi Gutmans [Tue, 12 Jul 2005 20:25:48 +0000 (20:25 +0000)]
- Update News

19 years ago- Back to -dev
Andi Gutmans [Tue, 12 Jul 2005 20:25:28 +0000 (20:25 +0000)]
- Back to -dev

19 years ago- Beta 3
Andi Gutmans [Tue, 12 Jul 2005 19:59:52 +0000 (19:59 +0000)]
- Beta 3

19 years agook, call pdo_mysql_error() before returning -1
Andrey Hristov [Tue, 12 Jul 2005 19:32:13 +0000 (19:32 +0000)]
ok, call pdo_mysql_error() before returning -1

19 years agostrictly check the result of mysql_affected_rows()
Andrey Hristov [Tue, 12 Jul 2005 19:22:05 +0000 (19:22 +0000)]
strictly  check the result of mysql_affected_rows()

19 years agoAdded support for LOCK_EX flag for file_put_contents().
Ilia Alshanetsky [Tue, 12 Jul 2005 17:55:38 +0000 (17:55 +0000)]
Added support for LOCK_EX flag for file_put_contents().

19 years agoFixed double-free in the digest authentication handling.
Ilia Alshanetsky [Tue, 12 Jul 2005 16:53:30 +0000 (16:53 +0000)]
Fixed double-free in the digest authentication handling.

# Found and Reported by Stefan Esser

19 years agochanged version dependency for charset functions
Georg Richter [Tue, 12 Jul 2005 15:45:07 +0000 (15:45 +0000)]
changed version dependency for charset functions

19 years agocompile before commit...
Wez Furlong [Tue, 12 Jul 2005 12:21:53 +0000 (12:21 +0000)]
compile before commit...

19 years agoEnable unix build for dblib/sybase/freetds.
Wez Furlong [Tue, 12 Jul 2005 12:16:02 +0000 (12:16 +0000)]
Enable unix build for dblib/sybase/freetds.
The extension is named pdo_dblib and the driver dblib on unix.

19 years agofix tests that started to fail after the last change in ZE
Antony Dovgal [Tue, 12 Jul 2005 11:20:05 +0000 (11:20 +0000)]
fix tests that started to fail after the last change in ZE
(noticed by Nuno)

19 years agoAvoid estrdup(NULL), modified patch from Zhao ming sen.
Wez Furlong [Tue, 12 Jul 2005 11:02:23 +0000 (11:02 +0000)]
Avoid estrdup(NULL), modified patch from Zhao ming sen.

19 years agoremoved charset structure. libmysql now provides a function
Georg Richter [Tue, 12 Jul 2005 09:35:16 +0000 (09:35 +0000)]
removed charset structure. libmysql now provides a function
mysqli_get_character_set_info (Vers. 5.0.10)

19 years agoTouch with working re2c
foobar [Tue, 12 Jul 2005 07:06:01 +0000 (07:06 +0000)]
Touch with working re2c

19 years agoFixed bug #33156 (cygwin version of setitimer doesn't accept ITIMER_PROF). (Nuno)
Dmitry Stogov [Tue, 12 Jul 2005 06:52:59 +0000 (06:52 +0000)]
Fixed bug #33156 (cygwin version of setitimer doesn't accept ITIMER_PROF). (Nuno)

19 years agoChangeLog update
<changelog@php.net> [Tue, 12 Jul 2005 05:38:51 +0000 (05:38 +0000)]
ChangeLog update

19 years agotouch generated file
Wez Furlong [Tue, 12 Jul 2005 03:20:08 +0000 (03:20 +0000)]
touch generated file

19 years agoremember ? -> :pdox mapping so that binds by position can be mapped to names if required.
Wez Furlong [Tue, 12 Jul 2005 03:19:44 +0000 (03:19 +0000)]
remember ? -> :pdox mapping so that binds by position can be mapped to names if required.

19 years agofix bug when query was rewritten from ? to :name
Wez Furlong [Tue, 12 Jul 2005 03:18:17 +0000 (03:18 +0000)]
fix bug when query was rewritten from ? to :name

19 years agoimprove handling of bound input parameters when no maximal length value is set;
Wez Furlong [Tue, 12 Jul 2005 02:43:39 +0000 (02:43 +0000)]
improve handling of bound input parameters when no maximal length value is set;
default to 4000 as the maximal length, which is the biggest size possible
without using a LONG type (if you specify anything larger than this, you'll end
up with ORA-1461).

Don't assume that all parameters were output parameters after execution, as
this would clobber the input values when used in a loop.

19 years agoexpand oracle null handling compatability by offering the ability to convert
Wez Furlong [Tue, 12 Jul 2005 02:40:59 +0000 (02:40 +0000)]
expand oracle null handling compatability by offering the ability to convert
NULLs into empty strings as well as the other way around.  It still doesn't
help a great deal in the long run, but at least the option is there.

Make sure hash tables are nulled out to avoid double freeing them.

19 years agoshould always bind columns after execute.
Wez Furlong [Tue, 12 Jul 2005 02:38:39 +0000 (02:38 +0000)]
should always bind columns after execute.
There're probably more of these to fix.

19 years agoMake references misuse emit E_NOTICE rather E_STRICT to be compatible with
Ilia Alshanetsky [Mon, 11 Jul 2005 18:44:37 +0000 (18:44 +0000)]
Make references misuse emit E_NOTICE rather E_STRICT to be compatible with
PHP 4.4.0

19 years agoA bit of further tuning.
Ilia Alshanetsky [Mon, 11 Jul 2005 14:46:01 +0000 (14:46 +0000)]
A bit of further tuning.

19 years agofix a segfault with the following script:
Andrey Hristov [Mon, 11 Jul 2005 14:14:56 +0000 (14:14 +0000)]
fix a segfault with the following script:
<?php
$dbh = new PDO('mysql:dbname=test;host=localhost', "root", "secret");
$what = 1;
$stmt = $dbh->prepare('select a, b, c from t123 where a=:what');
$stmt->bindParam(1, $what, PDO_PARAM_INT, 12);
var_dump($stmt->execute());
var_dump($stmt->fetchObject());
?>

19 years ago- mysql_affected_rows() already returns an unsigned long
Andrey Hristov [Mon, 11 Jul 2005 13:52:13 +0000 (13:52 +0000)]
- mysql_affected_rows() already returns an unsigned long
- optimize a bit the real_escape
- handle the situation when libmysql bails out because of lack of memory

19 years agoRemoving the automake-related output. The build no longer uses automake.
Jon Parise [Mon, 11 Jul 2005 06:32:02 +0000 (06:32 +0000)]
Removing the automake-related output.  The build no longer uses automake.

While I'm here, rewrite the PHP_AUTOCONF-related code to more closely
match the conventions used elsewhere in this section.  The result should
be functionally the same as before.

19 years agoChangeLog update
<changelog@php.net> [Mon, 11 Jul 2005 05:39:30 +0000 (05:39 +0000)]
ChangeLog update

19 years agoCompiler warning fix.
Ilia Alshanetsky [Mon, 11 Jul 2005 03:24:28 +0000 (03:24 +0000)]
Compiler warning fix.

19 years ago- Moved ext/dbx and ext/ircg to PECL.
foobar [Sun, 10 Jul 2005 19:05:09 +0000 (19:05 +0000)]
- Moved ext/dbx and ext/ircg to PECL.

19 years agotouch
foobar [Sun, 10 Jul 2005 17:56:35 +0000 (17:56 +0000)]
touch

19 years agoFix #33624, mysterious crashes on shutdown on win32
Wez Furlong [Sun, 10 Jul 2005 14:56:36 +0000 (14:56 +0000)]
Fix #33624, mysterious crashes on shutdown on win32

19 years ago- use three digit octal character definition
Marcus Boerger [Sun, 10 Jul 2005 14:04:20 +0000 (14:04 +0000)]
- use three digit octal character definition

19 years agoChangeLog update
<changelog@php.net> [Sun, 10 Jul 2005 05:39:03 +0000 (05:39 +0000)]
ChangeLog update

19 years agostmt->column_count is set only if the result has been already bound, don't
Andrey Hristov [Sun, 10 Jul 2005 02:58:51 +0000 (02:58 +0000)]
stmt->column_count is set only if the result has been already bound, don't
rely on that and use the real count which is kept in st_mysql_stmt
#of course using internal values is bad idea but the comment already says
#that this should be fixed

19 years agook, calculate max_length only in case of a blob (normal, medium, long).
Andrey Hristov [Sun, 10 Jul 2005 02:49:14 +0000 (02:49 +0000)]
ok, calculate max_length only in case of a blob (normal, medium, long).
in case of a varchar lets allocate 255 bytes and be quick without asking
libmysql to update max_length

19 years agoif the result set is buffered ask libmysql to compute the lengths, so
Andrey Hristov [Sun, 10 Jul 2005 02:20:26 +0000 (02:20 +0000)]
if the result set is buffered ask libmysql to compute the lengths, so
later allocate buffer as big as the largest value of the column in the
result set (max_legth positive).

19 years agoGet precise lengths from the server, as suggested by Andrey.
Wez Furlong [Sun, 10 Jul 2005 02:00:35 +0000 (02:00 +0000)]
Get precise lengths from the server, as suggested by Andrey.

19 years agoRelated to #33624. Crashes for me on shutdown, but seems ok for the rest of the...
Wez Furlong [Sat, 9 Jul 2005 18:52:36 +0000 (18:52 +0000)]
Related to #33624.  Crashes for me on shutdown, but seems ok for the rest of the world.

19 years agoChangeLog update
<changelog@php.net> [Sat, 9 Jul 2005 05:37:17 +0000 (05:37 +0000)]
ChangeLog update

19 years agoAdded safety checks.
Ilia Alshanetsky [Sat, 9 Jul 2005 05:08:54 +0000 (05:08 +0000)]
Added safety checks.

19 years agoMake cursor closer work with emulation as well.
Ilia Alshanetsky [Sat, 9 Jul 2005 05:04:43 +0000 (05:04 +0000)]
Make cursor closer work with emulation as well.

19 years agodon't free the cols until we know we have another rowset
Wez Furlong [Sat, 9 Jul 2005 05:01:14 +0000 (05:01 +0000)]
don't free the cols until we know we have another rowset

19 years agoAdded cursor closer handler.
Ilia Alshanetsky [Sat, 9 Jul 2005 04:54:04 +0000 (04:54 +0000)]
Added cursor closer handler.
Fixed memory leak.

19 years agoAdded missing header check.
Ilia Alshanetsky [Sat, 9 Jul 2005 04:43:16 +0000 (04:43 +0000)]
Added missing header check.