]> granicus.if.org Git - php/log
php
21 years agoReduced leaks in userland filters
Moriyoshi Koizumi [Mon, 21 Apr 2003 18:43:36 +0000 (18:43 +0000)]
Reduced leaks in userland filters

21 years agoUnified all those redundant printf's
Moriyoshi Koizumi [Mon, 21 Apr 2003 18:00:41 +0000 (18:00 +0000)]
Unified all those redundant printf's

21 years agoFix bug #23198
foobar [Mon, 21 Apr 2003 17:53:37 +0000 (17:53 +0000)]
Fix bug #23198

21 years agoUpdate to latest inteface change for get_class_name
Stanislav Malyshev [Mon, 21 Apr 2003 17:03:29 +0000 (17:03 +0000)]
Update to latest inteface change for get_class_name

21 years agoChange get_class() so that it returns qualified names for namespaced
Stanislav Malyshev [Mon, 21 Apr 2003 17:01:34 +0000 (17:01 +0000)]
Change get_class() so that it returns qualified names for namespaced
classes.

*HEADS UP*: get_class_name() handler interface is changed, now it should
allocate the space it returns with emalloc, and the users free it. If
anyone has problems with it or has suggestions how to do it without this -
please tell.

Also: make function_exists() understand namespaces.

21 years agomake import * fail if such classes or functions already there
Stanislav Malyshev [Mon, 21 Apr 2003 12:14:12 +0000 (12:14 +0000)]
make import * fail if such classes or functions already there

21 years agoProperly update the global httpd_time_now and remove php_makefile from diff
Sascha Schumann [Mon, 21 Apr 2003 01:08:23 +0000 (01:08 +0000)]
Properly update the global httpd_time_now and remove php_makefile from diff

21 years agoTidy up package.xml file.
Wez Furlong [Sun, 20 Apr 2003 16:09:16 +0000 (16:09 +0000)]
Tidy up package.xml file.

Cleaner approach for setting THREADSAFE and NDEBUG for bundled libsqlite.
Tested with: static, shared and shared with separate build roots under a
non-zts build only.

21 years agoEliminate leaks from registering plain or aggregate functions.
Wez Furlong [Sun, 20 Apr 2003 15:13:04 +0000 (15:13 +0000)]
Eliminate leaks from registering plain or aggregate functions.

Also, reduce (probably eliminate) the risk of a segfault when registering a
callback on a persistent connection and later triggering the callback from a
different script.

21 years agoAdd check for final properties
Sterling Hughes [Sun, 20 Apr 2003 14:52:40 +0000 (14:52 +0000)]
Add check for final properties

21 years agoCheck name before '::' so that it would be a namespace in zend_lookup_ns_class
Stanislav Malyshev [Sun, 20 Apr 2003 14:40:38 +0000 (14:40 +0000)]
Check name before '::' so that it would be a namespace in zend_lookup_ns_class

21 years agorefine the set_error_handler fix
Stanislav Malyshev [Sun, 20 Apr 2003 14:20:20 +0000 (14:20 +0000)]
refine the set_error_handler fix

21 years agoFix for bug #21094 (set_error_handler can not accept methods),
Stanislav Malyshev [Sun, 20 Apr 2003 14:18:15 +0000 (14:18 +0000)]
Fix for bug #21094 (set_error_handler can not accept methods),
by Timm Friebe

21 years agoRevise todo
Wez Furlong [Sun, 20 Apr 2003 13:33:46 +0000 (13:33 +0000)]
Revise todo

21 years agoImplement sqlite_create_function(), which allows binding of php functions by
Wez Furlong [Sun, 20 Apr 2003 13:31:36 +0000 (13:31 +0000)]
Implement sqlite_create_function(), which allows binding of php functions by
name; this is a higher performance alternative to the generic php() SQL
function. (saves parsing the additional function call in the SQL and a call to
zend_is_callable on each function invocation).

Add test for sqlite_create_function().

Fixup proto for sqlite_create_aggregate().

Tweak package file and speling in header file.

21 years agoRemove rendundant function
Tal Peer [Sun, 20 Apr 2003 13:21:17 +0000 (13:21 +0000)]
Remove rendundant function

21 years agotypo
Tal Peer [Sun, 20 Apr 2003 13:17:17 +0000 (13:17 +0000)]
typo

21 years agoUpdate
Tal Peer [Sun, 20 Apr 2003 13:15:45 +0000 (13:15 +0000)]
Update

21 years agoAdd test for aggregates
Wez Furlong [Sun, 20 Apr 2003 13:08:40 +0000 (13:08 +0000)]
Add test for aggregates

21 years agoImplement sqlite_create_aggregate() which can be used to create aggregation
Wez Furlong [Sun, 20 Apr 2003 13:08:22 +0000 (13:08 +0000)]
Implement sqlite_create_aggregate() which can be used to create aggregation
functions for use in SQL statements.

21 years agoKluge, but it seems to work now in both phpize and bundled builds.
Edin Kadribasic [Sun, 20 Apr 2003 03:03:28 +0000 (03:03 +0000)]
Kluge, but it seems to work now in both phpize and bundled builds.
Only in there until Wez fixes it for real.

21 years agoReinstating these two items due to the fact that current config.m4
Edin Kadribasic [Sun, 20 Apr 2003 01:55:20 +0000 (01:55 +0000)]
Reinstating these two items due to the fact that current config.m4
detection for debug and thread-safe build does not work if sqlite
is built as a standalone extension with phpize.

21 years agoErm, this works much better :)
Edin Kadribasic [Sun, 20 Apr 2003 01:25:59 +0000 (01:25 +0000)]
Erm, this works much better :)

21 years agoSet appropriate flags when compiling bundled lib in thread-safe
Edin Kadribasic [Sun, 20 Apr 2003 01:22:08 +0000 (01:22 +0000)]
Set appropriate flags when compiling bundled lib in thread-safe
and debug modes.

21 years agoRevert change to stream_copy_to_stream()
Sara Golemon [Sun, 20 Apr 2003 01:18:58 +0000 (01:18 +0000)]
Revert change to stream_copy_to_stream()

21 years agoAccess the struct directly here
Marcus Boerger [Sat, 19 Apr 2003 19:06:52 +0000 (19:06 +0000)]
Access the struct directly here

21 years agoFix PUTS/PUTS_H to only evaluate their argument once.
Sascha Schumann [Sat, 19 Apr 2003 18:35:31 +0000 (18:35 +0000)]
Fix PUTS/PUTS_H to only evaluate their argument once.

21 years agoAdd a test for ctor precedence
Marcus Boerger [Sat, 19 Apr 2003 18:21:58 +0000 (18:21 +0000)]
Add a test for ctor precedence

21 years agoDo not hardcode php path.
Ilia Alshanetsky [Sat, 19 Apr 2003 18:10:54 +0000 (18:10 +0000)]
Do not hardcode php path.

21 years agoDo not make the test rely on the availability of the cat command.
Ilia Alshanetsky [Sat, 19 Apr 2003 17:45:46 +0000 (17:45 +0000)]
Do not make the test rely on the availability of the cat command.

21 years agoExtend print_table_row so that one can specify the CSS class
Sascha Schumann [Sat, 19 Apr 2003 17:40:19 +0000 (17:40 +0000)]
Extend print_table_row so that one can specify the CSS class
directly.  Add "vr" class which aligns the content to the right border.

21 years agoThe env-var TEST_PHP_EXECUTABLE is needed in tests
Marcus Boerger [Sat, 19 Apr 2003 17:22:53 +0000 (17:22 +0000)]
The env-var TEST_PHP_EXECUTABLE is needed in tests

21 years agoAdded PHP4PI3WEB_EXPORTS in order to control exports/imports on Win32
Holger Zimmermann [Sat, 19 Apr 2003 16:11:36 +0000 (16:11 +0000)]
Added PHP4PI3WEB_EXPORTS in order to control exports/imports on Win32

21 years agoFix more shutdown wierdness
Marcus Boerger [Sat, 19 Apr 2003 15:02:44 +0000 (15:02 +0000)]
Fix more shutdown wierdness

21 years agoUpdate to new macros
Marcus Boerger [Sat, 19 Apr 2003 15:01:22 +0000 (15:01 +0000)]
Update to new macros

21 years agoFix folding marker
Wez Furlong [Sat, 19 Apr 2003 14:41:31 +0000 (14:41 +0000)]
Fix folding marker

21 years agoDo init CG(in_compilation) here until someone finds a better place
Marcus Boerger [Sat, 19 Apr 2003 13:54:01 +0000 (13:54 +0000)]
Do init CG(in_compilation) here until someone finds a better place

21 years agoMore things todo
Wez Furlong [Sat, 19 Apr 2003 13:04:19 +0000 (13:04 +0000)]
More things todo

21 years agoTransparently decode binary encoded data.
Wez Furlong [Sat, 19 Apr 2003 12:54:17 +0000 (12:54 +0000)]
Transparently decode binary encoded data.
Add a test-case for that process.

When encoding binary data, we mark the string with \x01 as its first character.
When returning data via sqlite_fetch_array(), if the first character is \x01,
then we decode the encoding.  This behaviour can be turned off by the optional
last parameter to sqlite_fetch_array(), for compatibility with databases
created with other applications.

21 years agoLittle fix for people building sqlite as a static extension
Wez Furlong [Sat, 19 Apr 2003 11:47:17 +0000 (11:47 +0000)]
Little fix for people building sqlite as a static extension

21 years agoAdd test for different result representations
Marcus Boerger [Sat, 19 Apr 2003 10:36:58 +0000 (10:36 +0000)]
Add test for different result representations

21 years agoFix 2 potential segfaults.
Wez Furlong [Sat, 19 Apr 2003 10:28:45 +0000 (10:28 +0000)]
Fix 2 potential segfaults.

21 years agoCorrected patch by Marcus Börger <helly@php.net>.
Sebastian Bergmann [Sat, 19 Apr 2003 09:04:15 +0000 (09:04 +0000)]
Corrected patch by Marcus Börger <helly@php.net>.

21 years agoMade phpinfo() / gd_info() indicate availability of JIS feature
Moriyoshi Koizumi [Sat, 19 Apr 2003 07:44:16 +0000 (07:44 +0000)]
Made phpinfo() / gd_info() indicate availability of JIS feature

21 years agoFixed help text alignment
Moriyoshi Koizumi [Sat, 19 Apr 2003 07:15:38 +0000 (07:15 +0000)]
Fixed help text alignment

21 years agofixed compilation problem in php-4.3.2dev.
Rui Hirokawa [Sat, 19 Apr 2003 07:04:00 +0000 (07:04 +0000)]
fixed compilation problem in php-4.3.2dev.

21 years agoMFBed Rui's patch
Moriyoshi Koizumi [Sat, 19 Apr 2003 04:33:38 +0000 (04:33 +0000)]
MFBed Rui's patch

21 years agoLet stream_copy_to_stream() accept either stream resource or filename/url string...
Sara Golemon [Sat, 19 Apr 2003 02:47:16 +0000 (02:47 +0000)]
Let stream_copy_to_stream() accept either stream resource or filename/url string.  If filename, open the file, do the copy, then close it.

21 years agoShutdown memleaks
Marcus Boerger [Sat, 19 Apr 2003 00:02:50 +0000 (00:02 +0000)]
Shutdown memleaks

21 years agoImprove test environment, fix 001.phpt and rename that one, also change from /tmp...
Marcus Boerger [Fri, 18 Apr 2003 20:53:18 +0000 (20:53 +0000)]
Improve test environment, fix 001.phpt and rename that one, also change from /tmp to dirname(__FILE__)

21 years agoAdd a first simple open/close test
Marcus Boerger [Fri, 18 Apr 2003 20:08:01 +0000 (20:08 +0000)]
Add a first simple open/close test

21 years agoZTS fixes
Marcus Boerger [Fri, 18 Apr 2003 19:43:38 +0000 (19:43 +0000)]
ZTS fixes

21 years agoFirst "real" test.
Wez Furlong [Fri, 18 Apr 2003 19:22:49 +0000 (19:22 +0000)]
First "real" test.
If anyone is motivated to write more tests, please do so.

21 years agoPatch by Marcus Börger to fix some memleaks
Sterling Hughes [Fri, 18 Apr 2003 18:40:53 +0000 (18:40 +0000)]
Patch by Marcus Börger to fix some memleaks

21 years ago- Revert my symbol fix patch, and merge in Stas' fixes to Zend Engine 1.
Derick Rethans [Fri, 18 Apr 2003 17:55:45 +0000 (17:55 +0000)]
- Revert my symbol fix patch, and merge in Stas' fixes to Zend Engine 1.

21 years agodone: persistent connections
Wez Furlong [Fri, 18 Apr 2003 16:42:28 +0000 (16:42 +0000)]
done: persistent connections

21 years agoImplement sqlite_popen(), which opens persistent connections to an sqlite
Wez Furlong [Fri, 18 Apr 2003 16:30:16 +0000 (16:30 +0000)]
Implement sqlite_popen(), which opens persistent connections to an sqlite
database file.  (This saves the cost of sqlite reading/parsing the indices).

Persistent db connections have any pending transactions rolled back at request
shutdown time. (non-persistent connections are automatically rolled back when
they are closed).

Enhance sqlite_query() and sqlite_unbuffered_query() to use the C api
sqlite_exec() when the PHP script does not use the return value. This avoids
the extra work and memory allocation for holding result sets when they are not
needed.

21 years agoUpdate todo
Wez Furlong [Fri, 18 Apr 2003 12:23:14 +0000 (12:23 +0000)]
Update todo

21 years agoImplement sqlite_unbuffered_query(), which works similarly to the mysql
Wez Furlong [Fri, 18 Apr 2003 12:22:43 +0000 (12:22 +0000)]
Implement sqlite_unbuffered_query(), which works similarly to the mysql
function with a similar name.

Change sqlite_query() to use the same mechanism as the unbuffered query; this
moves the bulk of the memory allocations into the ZE memory manager, and will
hopefully be more efficient and less at risk of leaks.

21 years ago- MacOSX also prepends the _ before symbols in bundles
Derick Rethans [Fri, 18 Apr 2003 11:35:22 +0000 (11:35 +0000)]
- MacOSX also prepends the _ before symbols in bundles

21 years agoAdded missing safe_mode checks.
Ilia Alshanetsky [Fri, 18 Apr 2003 00:20:22 +0000 (00:20 +0000)]
Added missing safe_mode checks.

21 years agoCatch up to Moriyoshi's streams megapatch
Sara Golemon [Thu, 17 Apr 2003 23:59:28 +0000 (23:59 +0000)]
Catch up to Moriyoshi's streams megapatch

21 years agoCS cleanup + NS protection for some functions (used only in sockets.c btw)
foobar [Thu, 17 Apr 2003 23:18:58 +0000 (23:18 +0000)]
CS cleanup + NS protection for some functions (used only in sockets.c btw)

21 years agoBasic IPv4 and IPv6 loopback tests for ext/sockets
Sara Golemon [Thu, 17 Apr 2003 23:09:17 +0000 (23:09 +0000)]
Basic IPv4 and IPv6 loopback tests for ext/sockets

21 years agoAdd IPv6 support to ext/sockets
Sara Golemon [Thu, 17 Apr 2003 21:04:47 +0000 (21:04 +0000)]
Add IPv6 support to ext/sockets

21 years agoConstants for error codes
Wez Furlong [Thu, 17 Apr 2003 20:17:54 +0000 (20:17 +0000)]
Constants for error codes

21 years agoFolding markers
Wez Furlong [Thu, 17 Apr 2003 20:09:45 +0000 (20:09 +0000)]
Folding markers

21 years agoAdd two new functions:
Wez Furlong [Thu, 17 Apr 2003 20:08:00 +0000 (20:08 +0000)]
Add two new functions:

int sqlite_last_error($db) -- returns error code from last query

string sqlite_error_string(int code) -- returns english description of an error
code.

21 years agostrtok() already made binary safe by sas nearly 2 years ago. Ref: ext/standard/strin...
Sara Golemon [Thu, 17 Apr 2003 19:36:29 +0000 (19:36 +0000)]
strtok() already made binary safe by sas nearly 2 years ago.  Ref: ext/standard/string.c(r-1.212)

21 years agoAdd pecl release version to phpinfo output
Wez Furlong [Thu, 17 Apr 2003 19:13:21 +0000 (19:13 +0000)]
Add pecl release version to phpinfo output

21 years agoand one more
Wez Furlong [Thu, 17 Apr 2003 19:02:10 +0000 (19:02 +0000)]
and one more

21 years agoAdd another todo
Wez Furlong [Thu, 17 Apr 2003 19:01:26 +0000 (19:01 +0000)]
Add another todo

21 years agoUpdate TODO.
Wez Furlong [Thu, 17 Apr 2003 18:56:34 +0000 (18:56 +0000)]
Update TODO.

21 years agoAdd safe_mode and open_basedir checks for the COPY SQL statement.
Wez Furlong [Thu, 17 Apr 2003 18:54:40 +0000 (18:54 +0000)]
Add safe_mode and open_basedir checks for the COPY SQL statement.

21 years agoUpdate for new release
Wez Furlong [Thu, 17 Apr 2003 17:31:50 +0000 (17:31 +0000)]
Update for new release

21 years agoWS
Wez Furlong [Thu, 17 Apr 2003 17:15:36 +0000 (17:15 +0000)]
WS

21 years agoNULL columns are NULL pointers
Wez Furlong [Thu, 17 Apr 2003 17:09:59 +0000 (17:09 +0000)]
NULL columns are NULL pointers

21 years agoImplement sqlite_busy_timeout() which sets the retry timeout (in milliseconds)
Wez Furlong [Thu, 17 Apr 2003 16:57:46 +0000 (16:57 +0000)]
Implement sqlite_busy_timeout() which sets the retry timeout (in milliseconds)
when multiple processes attempt to lock and update the database.

21 years agoFix some segfaults in some of the pg_lo_* functions.
Jay Smith [Thu, 17 Apr 2003 16:54:43 +0000 (16:54 +0000)]
Fix some segfaults in some of the pg_lo_* functions.

21 years agoSegfault fixing!
Wez Furlong [Thu, 17 Apr 2003 16:36:59 +0000 (16:36 +0000)]
Segfault fixing!

21 years agoPatch by Marcus Börger <helly@php.net>.
Sebastian Bergmann [Thu, 17 Apr 2003 14:33:38 +0000 (14:33 +0000)]
Patch by Marcus Börger <helly@php.net>.

21 years agofix newline..
Tal Peer [Thu, 17 Apr 2003 13:36:21 +0000 (13:36 +0000)]
fix newline..

21 years agoReally fix build
Wez Furlong [Thu, 17 Apr 2003 12:49:44 +0000 (12:49 +0000)]
Really fix build

21 years agoHopefully fix build...
Wez Furlong [Thu, 17 Apr 2003 12:38:42 +0000 (12:38 +0000)]
Hopefully fix build...

21 years agoAdd dependency to generate header
Wez Furlong [Thu, 17 Apr 2003 12:12:28 +0000 (12:12 +0000)]
Add dependency to generate header

21 years agoUpdate build files
Wez Furlong [Thu, 17 Apr 2003 11:57:29 +0000 (11:57 +0000)]
Update build files

21 years agoRemove whitespace added while touching.
Wez Furlong [Thu, 17 Apr 2003 11:44:06 +0000 (11:44 +0000)]
Remove whitespace added while touching.

21 years agoTouch generated files
Wez Furlong [Thu, 17 Apr 2003 11:43:26 +0000 (11:43 +0000)]
Touch generated files

21 years agoBundle relevant parts of sqlite 2.8.0.
Wez Furlong [Thu, 17 Apr 2003 11:27:30 +0000 (11:27 +0000)]
Bundle relevant parts of sqlite 2.8.0.
# sqlite has a completely non-restrictive license

21 years agoNicer error message when an invalid function name is specified.
Wez Furlong [Thu, 17 Apr 2003 03:38:20 +0000 (03:38 +0000)]
Nicer error message when an invalid function name is specified.

21 years agoPrep for release.
Wez Furlong [Thu, 17 Apr 2003 03:19:33 +0000 (03:19 +0000)]
Prep for release.

21 years agoUpdate TODO and example.
Wez Furlong [Thu, 17 Apr 2003 03:15:13 +0000 (03:15 +0000)]
Update TODO and example.
Hide phpize crap from CVS

21 years agoImplement a php function so that the following SQL can be used:
Wez Furlong [Thu, 17 Apr 2003 03:14:14 +0000 (03:14 +0000)]
Implement a php function so that the following SQL can be used:

  SELECT php('md5', sql) from sqlite_master

The php function has takes the name of a php function to call as the first
parameter; each additional parameter is passed on to the function, much like
call_user_func().

You can call both built-in and script-defined functions in this way.

21 years agotouch
foobar [Thu, 17 Apr 2003 02:54:23 +0000 (02:54 +0000)]
touch

21 years agoadd missing header
foobar [Thu, 17 Apr 2003 02:53:32 +0000 (02:53 +0000)]
add missing header

21 years agotouch
foobar [Thu, 17 Apr 2003 02:45:10 +0000 (02:45 +0000)]
touch

21 years agoImplement sqlite_escape_string() function.
Wez Furlong [Thu, 17 Apr 2003 02:20:26 +0000 (02:20 +0000)]
Implement sqlite_escape_string() function.

21 years agoImplement safe_mode and open_basedir checks.
Wez Furlong [Thu, 17 Apr 2003 01:57:55 +0000 (01:57 +0000)]
Implement safe_mode and open_basedir checks.
Add package.xml

21 years agoAdd readme and todo
Wez Furlong [Thu, 17 Apr 2003 01:37:42 +0000 (01:37 +0000)]
Add readme and todo

21 years agoThis commit was generated by cvs2svn to compensate for changes in r123706,
Wez Furlong [Thu, 17 Apr 2003 01:29:45 +0000 (01:29 +0000)]
This commit was generated by cvs2svn to compensate for changes in r123706,
which included commits to RCS files with non-trunk default branches.