]> granicus.if.org Git - php/log
php
19 years agoreinstate this fix for building against PHP 5.0.x.
Wez Furlong [Sun, 25 Sep 2005 02:28:42 +0000 (02:28 +0000)]
reinstate this fix for building against PHP 5.0.x.
This works fine against PHP 5.1 too; if you revert this, you'd better have an
awesome technical reason, or I'll remove your karma.

19 years agoFixup LOB handling for inserts (refs #34630).
Wez Furlong [Sun, 25 Sep 2005 02:05:03 +0000 (02:05 +0000)]
Fixup LOB handling for inserts (refs #34630).

Also tripped over the return of PECL #5200; looks like mysql doesn't return an
accurate length for the columns.  The PDO driver will sanity check the real
length against the buffer size it allocated (based on the info provided by
mysql), so that we won't overrun the buffer.  In addition, if a varchar field
is reported as having a length of less than 128, we'll allocate 128 just in
case.

If the data is truncated, report it via the appropriate sqlstate code.

There must be a better way to do this stuff.

19 years agorefs #34630.
Wez Furlong [Sun, 25 Sep 2005 00:47:00 +0000 (00:47 +0000)]
refs #34630.
Real lob support for oracle will appear after the PHP 5.1 release.

19 years ago- MFH: Rename here too
Marcus Boerger [Sat, 24 Sep 2005 23:48:58 +0000 (23:48 +0000)]
- MFH: Rename here too

19 years agoRevert the "fix". It works fine when you use PHP_5_1
foobar [Sat, 24 Sep 2005 23:33:58 +0000 (23:33 +0000)]
Revert the "fix". It works fine when you use PHP_5_1

19 years agofix typo
foobar [Sat, 24 Sep 2005 23:23:25 +0000 (23:23 +0000)]
fix typo

19 years ago- MFH: Serializeable was renamed to Serializable long ago
Marcus Boerger [Sat, 24 Sep 2005 23:19:24 +0000 (23:19 +0000)]
- MFH: Serializeable was renamed to Serializable long ago

19 years ago99% certain that this fixes PECL #5366 and PECL #5391.
Wez Furlong [Sat, 24 Sep 2005 19:15:23 +0000 (19:15 +0000)]
99% certain that this fixes PECL #5366 and PECL #5391.

19 years agoRefs #34630
Wez Furlong [Sat, 24 Sep 2005 18:55:56 +0000 (18:55 +0000)]
Refs #34630

19 years agoa test for bug #34630
Wez Furlong [Sat, 24 Sep 2005 18:54:50 +0000 (18:54 +0000)]
a test for bug #34630

19 years agoRefs #34630
Wez Furlong [Sat, 24 Sep 2005 18:47:50 +0000 (18:47 +0000)]
Refs #34630

19 years agoDocumentation belongs elsewhere
foobar [Sat, 24 Sep 2005 18:18:58 +0000 (18:18 +0000)]
Documentation belongs elsewhere

19 years agoAllow php extensions to use php_escape_shell_cmd() and php_escape_shell_arg(), needed...
Edin Kadribasic [Sat, 24 Sep 2005 15:22:32 +0000 (15:22 +0000)]
Allow php extensions to use php_escape_shell_cmd() and php_escape_shell_arg(), needed for mbstring

19 years agoBuild PDO and SQLite as shared
Edin Kadribasic [Sat, 24 Sep 2005 15:13:13 +0000 (15:13 +0000)]
Build PDO and SQLite as shared

19 years ago- MFH #33220, infinite loop while loading invalid GIF (nlopees)
Pierre Joye [Sat, 24 Sep 2005 14:39:16 +0000 (14:39 +0000)]
- MFH #33220, infinite loop while loading invalid GIF (nlopees)

19 years agosqlite3.h is a generated file
Edin Kadribasic [Sat, 24 Sep 2005 14:21:29 +0000 (14:21 +0000)]
sqlite3.h is a generated file

19 years agoDeclare functions used by driver as PDO_API in php_pdo_driver.h
Edin Kadribasic [Sat, 24 Sep 2005 14:18:01 +0000 (14:18 +0000)]
Declare functions used by driver as PDO_API in php_pdo_driver.h

19 years agoMFH: fix test
Antony Dovgal [Fri, 23 Sep 2005 10:34:20 +0000 (10:34 +0000)]
MFH: fix test

19 years agoNetWare LibC don't have socketpair function. So enabling socket_create_pair functiona...
Anantha Kesari H Y [Fri, 23 Sep 2005 09:54:31 +0000 (09:54 +0000)]
NetWare LibC don't have socketpair function. So enabling socket_create_pair functionality only if socketpair is available in the host LibC.
--Kamesh

19 years agows fix
foobar [Fri, 23 Sep 2005 09:40:24 +0000 (09:40 +0000)]
ws fix

19 years agoMFH
Antony Dovgal [Fri, 23 Sep 2005 09:40:16 +0000 (09:40 +0000)]
MFH

19 years agoadd new tests
Antony Dovgal [Fri, 23 Sep 2005 09:39:00 +0000 (09:39 +0000)]
add new tests

19 years ago- store current value of error_reporting only if it's not stored yet
Antony Dovgal [Fri, 23 Sep 2005 09:36:43 +0000 (09:36 +0000)]
- store current value of error_reporting only if it's not stored yet
- reset old_error_reporting to NULL only it points to the tmp_var at current opline

19 years agoIn NetWare two binaries with the same name can not be loaded in kernel address space...
Anantha Kesari H Y [Fri, 23 Sep 2005 09:25:18 +0000 (09:25 +0000)]
In NetWare two binaries with the same name can not be loaded in kernel address space(This is the default behaviour for NetWare apache webserver and hence PHP extensions also get loaded in kernel address space) simultaneoulsy. As the current autoconf built mysql extension is built as mysql.nlm this forbids the loading of mysql client binary. To work around this NetWare idiosyncrasy prefixing all the extensions with "php" except php5lib(phpts.dll eqivalent of Windows). I could have named this extensions prefixed with "php_" but "_" is eaten from the exported symbol prefix by the GCC cross compiler for NetWare so sticking to "php".
This fixes the issue of not needing "PHP_SUBST(EXTENSIONNAME_SHARED_LIBADD)" in all the extensions especially when they need to be built shared.

--Kamesh

19 years agoMFH: Improved the fix for #21306 a bit
foobar [Fri, 23 Sep 2005 08:14:13 +0000 (08:14 +0000)]
MFH: Improved the fix for #21306 a bit

19 years agoMFH
Dmitry Stogov [Fri, 23 Sep 2005 07:12:07 +0000 (07:12 +0000)]
MFH

19 years agoMFH: fix #32081 (mysqli_real_connect(): mysqli.default_socket in php.ini has no effec...
Antony Dovgal [Thu, 22 Sep 2005 20:14:34 +0000 (20:14 +0000)]
MFH: fix #32081 (mysqli_real_connect(): mysqli.default_socket in php.ini has no effect) for real

19 years agobump API number
Antony Dovgal [Thu, 22 Sep 2005 19:13:32 +0000 (19:13 +0000)]
bump API number

19 years agoBFN
Antony Dovgal [Thu, 22 Sep 2005 19:03:34 +0000 (19:03 +0000)]
BFN

19 years agoMFH: fix #33771 (error_reporting falls to 0 when @ was used inside try/catch block)
Antony Dovgal [Thu, 22 Sep 2005 19:03:18 +0000 (19:03 +0000)]
MFH: fix #33771 (error_reporting falls to 0 when @ was used inside try/catch block)

19 years agoFixed test
Ilia Alshanetsky [Thu, 22 Sep 2005 16:24:51 +0000 (16:24 +0000)]
Fixed test

19 years agoFix building of extensions that inlcude extname/header.h
Edin Kadribasic [Thu, 22 Sep 2005 13:16:30 +0000 (13:16 +0000)]
Fix building of extensions that inlcude extname/header.h

19 years ago- Fixed bug #34583 ("make install" prematurely fails because of PEAR)
foobar [Thu, 22 Sep 2005 13:04:12 +0000 (13:04 +0000)]
- Fixed bug #34583 ("make install" prematurely fails because of PEAR)

19 years ago- BFN
Marcus Boerger [Wed, 21 Sep 2005 23:00:29 +0000 (23:00 +0000)]
- BFN

19 years ago- MFH Fixed Bug #34590 User defined PDOStatement class can't implement
Marcus Boerger [Wed, 21 Sep 2005 22:58:39 +0000 (22:58 +0000)]
- MFH Fixed Bug #34590 User defined PDOStatement class can't implement
  methods
- Reimplement Traversable interface
# If there is a problem with this i need a backtrace. As far as i can
# tell by gdb/valgrind/logic there is no error here. But missuse leads to
# the same error report casing the exclusion of interface Traversable.

19 years ago- Add ability to execute .php generated from .phpt on failure without the
Marcus Boerger [Wed, 21 Sep 2005 18:40:56 +0000 (18:40 +0000)]
- Add ability to execute .php generated from .phpt on failure without the
  need to manually set the environment.

19 years agoFixed memory corruption
Dmitry Stogov [Wed, 21 Sep 2005 15:55:07 +0000 (15:55 +0000)]
Fixed memory corruption

19 years agoAllow fopen() make HTTPS requests throug HTTP proxies
Dmitry Stogov [Wed, 21 Sep 2005 15:04:26 +0000 (15:04 +0000)]
Allow fopen() make HTTPS requests throug HTTP proxies

19 years agofixed compiler warnings
Ilia Alshanetsky [Wed, 21 Sep 2005 13:23:00 +0000 (13:23 +0000)]
fixed compiler warnings

19 years agoMFH: Fixed bug #34565 (mb_send_mail does not fetch mail.force_extra_parameters)
Ilia Alshanetsky [Wed, 21 Sep 2005 13:16:03 +0000 (13:16 +0000)]
MFH: Fixed bug #34565 (mb_send_mail does not fetch mail.force_extra_parameters)

19 years ago- MFH Fix Bug #34243 ReflectionClass::getDocComment() returns no result
Marcus Boerger [Wed, 21 Sep 2005 09:56:51 +0000 (09:56 +0000)]
- MFH Fix Bug #34243 ReflectionClass::getDocComment() returns no result

19 years ago- MFH: Fixed definition in correct file. (Patch by Nuno)
Derick Rethans [Wed, 21 Sep 2005 08:41:16 +0000 (08:41 +0000)]
- MFH: Fixed definition in correct file. (Patch by Nuno)

19 years ago- MFH: Moved the FREE_OP to after the execution of the included file, or eval
Derick Rethans [Wed, 21 Sep 2005 08:13:43 +0000 (08:13 +0000)]
- MFH: Moved the FREE_OP to after the execution of the included file, or eval
  statement so that it is safe to access this information in the overridden
  zend_execute() function, which is what Xdebug does.

19 years ago- MFH: Remove HTML fragments from phpcredits() in CLI mode
Johannes Schlüter [Tue, 20 Sep 2005 22:19:01 +0000 (22:19 +0000)]
- MFH: Remove HTML fragments from phpcredits() in CLI mode

19 years agoBFN
foobar [Tue, 20 Sep 2005 20:59:00 +0000 (20:59 +0000)]
BFN

19 years agoMFH: - Fixed bug #21306 (catch bailouts of write handler during RSHUTDOWN)
foobar [Tue, 20 Sep 2005 20:56:54 +0000 (20:56 +0000)]
MFH: - Fixed bug #21306 (catch bailouts of write handler during RSHUTDOWN)

19 years agoMFH: Allow overloading of PDO constructor.
Ilia Alshanetsky [Tue, 20 Sep 2005 19:52:24 +0000 (19:52 +0000)]
MFH: Allow overloading of PDO constructor.

19 years agofix crash on restarting static PHP having session modules loaded
Stanislav Malyshev [Tue, 20 Sep 2005 14:03:29 +0000 (14:03 +0000)]
fix crash on restarting static PHP having session modules loaded

19 years agono irrelevant news here (pdo was never in PHP before, no point)
foobar [Tue, 20 Sep 2005 07:18:54 +0000 (07:18 +0000)]
no irrelevant news here (pdo was never in PHP before, no point)

19 years agoMFH: use PDO:: class constants
Wez Furlong [Tue, 20 Sep 2005 00:46:02 +0000 (00:46 +0000)]
MFH: use PDO:: class constants

19 years agoRemove pointless PDO_ prefix
Ilia Alshanetsky [Tue, 20 Sep 2005 00:44:51 +0000 (00:44 +0000)]
Remove pointless PDO_ prefix

19 years agoMFH: Make PDO use class constants
Ilia Alshanetsky [Tue, 20 Sep 2005 00:35:21 +0000 (00:35 +0000)]
MFH: Make PDO use class constants

19 years ago- MFH Fix filename
Marcus Boerger [Mon, 19 Sep 2005 19:03:53 +0000 (19:03 +0000)]
- MFH Fix filename

19 years agoMF5.0: add new test
Antony Dovgal [Mon, 19 Sep 2005 18:58:59 +0000 (18:58 +0000)]
MF5.0: add new test

19 years agoFixed access to uninitialized value
Dmitry Stogov [Mon, 19 Sep 2005 18:47:56 +0000 (18:47 +0000)]
Fixed access to uninitialized value

19 years ago- MFH Add deprecated/compatibility class for BC
Marcus Boerger [Mon, 19 Sep 2005 18:28:52 +0000 (18:28 +0000)]
- MFH Add deprecated/compatibility class for BC

19 years agoMFH (removed unnecesary call to zval_ptr_dtor)
Dmitry Stogov [Mon, 19 Sep 2005 17:50:24 +0000 (17:50 +0000)]
MFH (removed unnecesary call to zval_ptr_dtor)

19 years agoFixed access to memory that is already freed (in case of __call() method)
Dmitry Stogov [Mon, 19 Sep 2005 16:28:54 +0000 (16:28 +0000)]
Fixed access to memory that is already freed (in case of __call() method)

19 years agoFixed parameter passing incompatibilities.
Dmitry Stogov [Mon, 19 Sep 2005 16:02:21 +0000 (16:02 +0000)]
Fixed parameter passing incompatibilities.
Now it is possible to call array_pop(explode("&","1&2&3")) again.

19 years agocleanup, typos, etc
foobar [Sun, 18 Sep 2005 20:34:43 +0000 (20:34 +0000)]
cleanup, typos, etc

19 years agofix build (declare extern HashTable pdo_driver_hash)
Antony Dovgal [Sun, 18 Sep 2005 18:05:59 +0000 (18:05 +0000)]
fix build (declare extern HashTable pdo_driver_hash)

19 years ago- MFH: Synch dosu
Marcus Boerger [Sun, 18 Sep 2005 17:52:09 +0000 (17:52 +0000)]
- MFH: Synch dosu

19 years ago- MFH: Add missing docu/Synch
Marcus Boerger [Sun, 18 Sep 2005 17:39:54 +0000 (17:39 +0000)]
- MFH: Add missing docu/Synch

19 years ago- Commite manually if not conatined in bunch commit
Marcus Boerger [Sun, 18 Sep 2005 17:16:17 +0000 (17:16 +0000)]
- Commite manually if not conatined in bunch commit

19 years ago- Synch naming/move changes with HEAD
Marcus Boerger [Sun, 18 Sep 2005 17:15:04 +0000 (17:15 +0000)]
- Synch naming/move changes with HEAD
- Update tests/docu
# New functionality in CachingIterator/RecursiveIteratorIterator not MFHed

19 years agomove pdo_drivers -> PDO::getAvailableDrivers as part of namespacing sweep.
Wez Furlong [Sun, 18 Sep 2005 14:13:08 +0000 (14:13 +0000)]
move pdo_drivers -> PDO::getAvailableDrivers as part of namespacing sweep.

19 years agoAdded --add-modules-dir option to buidconf.js:
Edin Kadribasic [Sat, 17 Sep 2005 20:00:01 +0000 (20:00 +0000)]
Added --add-modules-dir option to buidconf.js:
If this option is not specified buildconf.js will search for PECL
in the usual places (pecl, ../pecl).
Now it is possible to specify in which dirs additional modules reside
with say:
cscript /nologo win32/build/buildconf.js --add-modules-dir=../pecl_5_1 \
  --add-modules-dir=../php-gtk2

19 years agoBFN
Antony Dovgal [Fri, 16 Sep 2005 23:56:12 +0000 (23:56 +0000)]
BFN

19 years agoMFH: check class_entry of this_ptr in Reflection API
Antony Dovgal [Fri, 16 Sep 2005 20:21:46 +0000 (20:21 +0000)]
MFH: check class_entry of this_ptr in Reflection API

19 years agoBFN
Antony Dovgal [Fri, 16 Sep 2005 17:12:12 +0000 (17:12 +0000)]
BFN

19 years agofix #34505 (possible memory corruption when unmangling properties with empty names)
Antony Dovgal [Fri, 16 Sep 2005 17:11:02 +0000 (17:11 +0000)]
fix #34505 (possible memory corruption when unmangling properties with empty names)
2nd part

19 years agofix #34505 (possible memory corruption when unmangling properties with empty names)
Antony Dovgal [Fri, 16 Sep 2005 17:05:09 +0000 (17:05 +0000)]
fix #34505 (possible memory corruption when unmangling properties with empty names)
1st part

19 years agoFixed bug #34478 (Incorrect parsing of url's fragment (#...))
Dmitry Stogov [Fri, 16 Sep 2005 15:48:30 +0000 (15:48 +0000)]
Fixed bug #34478 (Incorrect parsing of url's fragment (#...))

19 years agoFixed bug #34518 (Unset doesn't separate container in CV)
Dmitry Stogov [Fri, 16 Sep 2005 14:42:46 +0000 (14:42 +0000)]
Fixed bug #34518 (Unset doesn't separate container in CV)

19 years agoMFH (overriding of protected static property)
Dmitry Stogov [Fri, 16 Sep 2005 13:42:49 +0000 (13:42 +0000)]
MFH (overriding of protected static property)

19 years agocorrect flag
foobar [Fri, 16 Sep 2005 12:09:17 +0000 (12:09 +0000)]
correct flag

19 years agoFixed bug #34525
foobar [Fri, 16 Sep 2005 12:06:41 +0000 (12:06 +0000)]
Fixed bug #34525

19 years agofix test
foobar [Fri, 16 Sep 2005 07:41:08 +0000 (07:41 +0000)]
fix test

19 years ago- Fix tests due to changes in the error messages.
foobar [Thu, 15 Sep 2005 19:49:58 +0000 (19:49 +0000)]
- Fix tests due to changes in the error messages.
# Also nuked some CRLF's

19 years ago- MFH: Fixed bug #34052 (date('U') returns %ld not unix timestamp).
Derick Rethans [Thu, 15 Sep 2005 19:11:15 +0000 (19:11 +0000)]
- MFH: Fixed bug #34052 (date('U') returns %ld not unix timestamp).

19 years ago- Rename file class again by popular demmand: calling it SplFileObject now
Marcus Boerger [Thu, 15 Sep 2005 14:08:16 +0000 (14:08 +0000)]
- Rename file class again by popular demmand: calling it SplFileObject now

19 years ago- Fixed error message grammar
foobar [Thu, 15 Sep 2005 13:10:31 +0000 (13:10 +0000)]
- Fixed error message grammar

19 years ago- Update docu
Marcus Boerger [Thu, 15 Sep 2005 03:54:42 +0000 (03:54 +0000)]
- Update docu

19 years ago- Update with latest SPLchanges
Marcus Boerger [Thu, 15 Sep 2005 03:42:41 +0000 (03:42 +0000)]
- Update with latest SPLchanges

19 years ago- No longer needed (moved into c)
Marcus Boerger [Thu, 15 Sep 2005 03:39:17 +0000 (03:39 +0000)]
- No longer needed (moved into c)

19 years ago- MFH: Add new files
Marcus Boerger [Thu, 15 Sep 2005 03:38:03 +0000 (03:38 +0000)]
- MFH: Add new files

19 years agoMFH:
Marcus Boerger [Thu, 15 Sep 2005 03:33:04 +0000 (03:33 +0000)]
MFH:
- Add SplObjectStorage
- Add RecursiveFilterIterator
- Rename Observer to SplObserver
- Rename Subject to SplSubject
- Move SPL constants to class constants
- Update docu

19 years ago- Fixed shutdown order before RC2.
Derick Rethans [Wed, 14 Sep 2005 20:08:31 +0000 (20:08 +0000)]
- Fixed shutdown order before RC2.

19 years ago- MFH: Improve error message
Marcus Boerger [Wed, 14 Sep 2005 18:23:48 +0000 (18:23 +0000)]
- MFH: Improve error message

19 years agoMFH
foobar [Wed, 14 Sep 2005 17:57:32 +0000 (17:57 +0000)]
MFH

19 years agoMFH
foobar [Wed, 14 Sep 2005 15:53:02 +0000 (15:53 +0000)]
MFH

19 years agoMFH: Fix error detection for queries such as OPTIMIZE
Ilia Alshanetsky [Wed, 14 Sep 2005 15:34:58 +0000 (15:34 +0000)]
MFH: Fix error detection for queries such as OPTIMIZE

19 years agoMFH
foobar [Tue, 13 Sep 2005 21:40:46 +0000 (21:40 +0000)]
MFH

19 years agoMFH: MFH: Make key() and current() take argument by value.
Ilia Alshanetsky [Tue, 13 Sep 2005 13:24:38 +0000 (13:24 +0000)]
MFH: MFH: Make key() and current() take argument by value.

19 years agobfn
Antony Dovgal [Tue, 13 Sep 2005 09:20:36 +0000 (09:20 +0000)]
bfn

19 years agofix #34450 (Segfault when calling mysqli_close() in destructor)
Antony Dovgal [Tue, 13 Sep 2005 09:20:18 +0000 (09:20 +0000)]
fix #34450 (Segfault when calling mysqli_close() in destructor)

19 years agoMFH(r-1.719) Plug leak of 1/2 bytes when converting from string/unicode
Sara Golemon [Mon, 12 Sep 2005 17:44:21 +0000 (17:44 +0000)]
MFH(r-1.719) Plug leak of 1/2 bytes when converting from string/unicode

19 years agoMFH: Fixed build with phpize
foobar [Mon, 12 Sep 2005 17:14:35 +0000 (17:14 +0000)]
MFH: Fixed build with phpize

19 years agoMFH: Fixed bug #34456 (Possible crash inside pspell extension).
Ilia Alshanetsky [Mon, 12 Sep 2005 15:39:14 +0000 (15:39 +0000)]
MFH: Fixed bug #34456 (Possible crash inside pspell extension).

19 years agoFixed bug #34199 (if($obj)/if(!$obj) inconsistency)
Dmitry Stogov [Mon, 12 Sep 2005 11:48:57 +0000 (11:48 +0000)]
Fixed bug #34199 (if($obj)/if(!$obj) inconsistency)