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

22 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

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

22 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.

22 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

22 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.

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

22 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.

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

22 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.

22 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

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

22 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

22 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)

22 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

22 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

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

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

22 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.

22 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)

22 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

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

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

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

22 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.

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

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

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

22 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.

22 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.

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

22 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>.

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

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

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

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

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

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

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

22 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

22 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.

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

22 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

22 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.

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

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

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

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

22 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

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

22 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.

22 years agoMacro: php_stream_get_from_zval(php_stream *stream, zval **zstream, char *mode, int...
Sara Golemon [Thu, 17 Apr 2003 00:00:34 +0000 (00:00 +0000)]
Macro: php_stream_get_from_zval(php_stream *stream, zval **zstream, char *mode, int options, char **opened_path, php_stream_context *context)  Z_TYPE_PP(zstream) can be either IS_RESOURCE (An already opened stream) or IS_STRING (a path to a stream to be opened)

22 years agoFixed bug #23232 (safe_mode does not honor PHP_AUTH_* in apache2)
Ilia Alshanetsky [Wed, 16 Apr 2003 23:31:23 +0000 (23:31 +0000)]
Fixed bug #23232 (safe_mode does not honor PHP_AUTH_* in apache2)

22 years agoFixed implicit cast issue with is*() and to*() functions
Moriyoshi Koizumi [Wed, 16 Apr 2003 21:40:48 +0000 (21:40 +0000)]
Fixed implicit cast issue with is*() and to*() functions

22 years agoFixed bug #19795
Moriyoshi Koizumi [Wed, 16 Apr 2003 21:10:29 +0000 (21:10 +0000)]
Fixed bug #19795
# to*() and is*() expect for their arguments an integer in range of 0 - 255

22 years agoFixed typo
Moriyoshi Koizumi [Wed, 16 Apr 2003 20:00:46 +0000 (20:00 +0000)]
Fixed typo

22 years agocompiler warning fix and possible 64bit fix
Moriyoshi Koizumi [Wed, 16 Apr 2003 19:18:35 +0000 (19:18 +0000)]
compiler warning fix and possible 64bit fix

22 years agoFixed bug #23080
Moriyoshi Koizumi [Wed, 16 Apr 2003 17:31:31 +0000 (17:31 +0000)]
Fixed bug #23080

22 years agoDon't access what is already freed (noticed by Sascha)
Marcus Boerger [Wed, 16 Apr 2003 17:30:03 +0000 (17:30 +0000)]
Don't access what is already freed (noticed by Sascha)

22 years agoFixed memleak
Moriyoshi Koizumi [Wed, 16 Apr 2003 15:10:01 +0000 (15:10 +0000)]
Fixed memleak

22 years agoAdded missing sanity check
Moriyoshi Koizumi [Wed, 16 Apr 2003 14:55:25 +0000 (14:55 +0000)]
Added missing sanity check

22 years agoChanged stream filter factory to be capable of accepting a zval as a parameter
Moriyoshi Koizumi [Wed, 16 Apr 2003 14:30:25 +0000 (14:30 +0000)]
Changed stream filter factory to be capable of accepting a zval as a parameter
instead of a string

22 years agofix two uninitialized reads
Sascha Schumann [Wed, 16 Apr 2003 13:43:23 +0000 (13:43 +0000)]
fix two uninitialized reads

22 years agoNuke all sn?printf's and rely on the optimized httpd_ntoa to
Sascha Schumann [Wed, 16 Apr 2003 13:37:34 +0000 (13:37 +0000)]
Nuke all sn?printf's and rely on the optimized httpd_ntoa to
convert the IP to a string representation.

22 years agoFix uninitialized reads
Sascha Schumann [Wed, 16 Apr 2003 12:44:08 +0000 (12:44 +0000)]
Fix uninitialized reads

==32323== Conditional jump or move depends on uninitialised value(s)
==32323==    at 0x80F5A5C: zend_ini_color_displayer_cb (/home/sas/src/php4/Zend/zend_ini.c:374)
==32323==    by 0x80C5B7F: php_ini_displayer_cb (/home/sas/src/php4/main/php_ini.c:60)
==32323==    by 0x80C5D15: php_ini_displayer (/home/sas/src/php4/main/php_ini.c:115)
==32323==    by 0x80F0168: zend_hash_apply_with_argument (/home/sas/src/php4/Zend/zend_hash.c:707)

22 years ago - allow libtool to be a symlink. Discussed with Sascha
Jan Lehnardt [Wed, 16 Apr 2003 11:59:49 +0000 (11:59 +0000)]
 - allow libtool to be a symlink. Discussed with Sascha

22 years agoMerging some Premium thttpd improvements, notably
Sascha Schumann [Wed, 16 Apr 2003 09:20:55 +0000 (09:20 +0000)]
Merging some Premium thttpd improvements, notably

- periodic update of date strings
- caching of Last-Modified values
- use of smart_str'ings for crafting HTTP header (static files)
  and inside make_log_entry
- buffered log writing
- httpd_ntoa is about 8 times faster

Overall improvement: Around 50% faster now

22 years agoSimplify use of this header in external apps
Sascha Schumann [Wed, 16 Apr 2003 09:14:32 +0000 (09:14 +0000)]
Simplify use of this header in external apps

22 years agoChange to use safe_emalloc() and provide macro for now
Marcus Boerger [Wed, 16 Apr 2003 06:10:41 +0000 (06:10 +0000)]
Change to use safe_emalloc() and provide macro for now

22 years agoadd missing check
Sascha Schumann [Wed, 16 Apr 2003 05:22:04 +0000 (05:22 +0000)]
add missing check

22 years agoAdded missing CVS Id tags
foobar [Wed, 16 Apr 2003 02:34:57 +0000 (02:34 +0000)]
Added missing CVS Id tags

22 years agoSKIP -> SKIPIF
foobar [Wed, 16 Apr 2003 02:21:30 +0000 (02:21 +0000)]
SKIP -> SKIPIF

22 years agoFixed bug #23225 (money_format() didn't handle erroneous return of strfmon)
Ilia Alshanetsky [Wed, 16 Apr 2003 01:07:03 +0000 (01:07 +0000)]
Fixed bug #23225 (money_format() didn't handle erroneous return of strfmon)

# Initial patch proposed by marcot@tabini.ca

22 years agoFixed bug #22939 (crash in imap_header_info()).
Ilia Alshanetsky [Wed, 16 Apr 2003 00:58:30 +0000 (00:58 +0000)]
Fixed bug #22939 (crash in imap_header_info()).

22 years agoCleaner error handling.
Ilia Alshanetsky [Tue, 15 Apr 2003 01:48:02 +0000 (01:48 +0000)]
Cleaner error handling.

22 years agoFixed bug #23187 (memory leaks in sybase_connect/sybase_pconnect).
Ilia Alshanetsky [Tue, 15 Apr 2003 00:59:42 +0000 (00:59 +0000)]
Fixed bug #23187 (memory leaks in sybase_connect/sybase_pconnect).

Intial patch by: fukusaka@xa2.so-net.ne.jp

22 years agoFixed Bug #23188 CDB databases created with 'c' mode do not work.
Marcus Boerger [Mon, 14 Apr 2003 21:50:48 +0000 (21:50 +0000)]
Fixed Bug #23188 CDB databases created with 'c' mode do not work.

22 years agoFixed bug #23152 ($http_response_header empty on invalid URLs)
Ilia Alshanetsky [Mon, 14 Apr 2003 13:55:34 +0000 (13:55 +0000)]
Fixed bug #23152 ($http_response_header empty on invalid URLs)

22 years agoFixing bug #23060
Jesus M. Castagnetto [Mon, 14 Apr 2003 11:50:42 +0000 (11:50 +0000)]
Fixing bug #23060

22 years agostyle
foobar [Mon, 14 Apr 2003 01:48:53 +0000 (01:48 +0000)]
style

22 years agoModify str_replace/str_ireplace to report how many needles were matched. (FR #8218)
Sara Golemon [Sun, 13 Apr 2003 22:59:19 +0000 (22:59 +0000)]
Modify str_replace/str_ireplace to report how many needles were matched. (FR #8218)

22 years agoMake it static
Marcus Boerger [Sun, 13 Apr 2003 20:30:57 +0000 (20:30 +0000)]
Make it static

22 years agodon't remove config.nice directly, so that we don't lose it on
Sascha Schumann [Sun, 13 Apr 2003 20:13:06 +0000 (20:13 +0000)]
don't remove config.nice directly, so that we don't lose it on
inferior systems like windows.

22 years agoSpeling
Marcus Boerger [Sun, 13 Apr 2003 20:12:54 +0000 (20:12 +0000)]
Speling

22 years agocygwin ships with bison 1.875b, so we need to remove that b here
Sascha Schumann [Sun, 13 Apr 2003 20:09:32 +0000 (20:09 +0000)]
cygwin ships with bison 1.875b, so we need to remove that b here

22 years agoReenable dba_popen()
Marcus Boerger [Sun, 13 Apr 2003 19:50:28 +0000 (19:50 +0000)]
Reenable dba_popen()

22 years agoFix persistent stream closing (that one took me at least 3 days)
Marcus Boerger [Sun, 13 Apr 2003 19:47:55 +0000 (19:47 +0000)]
Fix persistent stream closing (that one took me at least 3 days)

22 years ago- Udm_Make_Excerpt has been fixed to be compatible with mnogosearch-3.2.10+
Sergey Kartashoff [Sun, 13 Apr 2003 17:52:25 +0000 (17:52 +0000)]
- Udm_Make_Excerpt has been fixed to be compatible with mnogosearch-3.2.10+

22 years agoMoved a controversial entry to the proper place
Moriyoshi Koizumi [Sat, 12 Apr 2003 22:29:00 +0000 (22:29 +0000)]
Moved a controversial entry to the proper place
# maybe it's time to replace output buffering facility with the streams?

22 years agoNFN
Moriyoshi Koizumi [Sat, 12 Apr 2003 22:02:26 +0000 (22:02 +0000)]
NFN

22 years agoForgot about this one :)
Moriyoshi Koizumi [Sat, 12 Apr 2003 21:56:08 +0000 (21:56 +0000)]
Forgot about this one :)

22 years agoMade dirname() binary-safe.
Moriyoshi Koizumi [Sat, 12 Apr 2003 21:53:46 +0000 (21:53 +0000)]
Made dirname() binary-safe.

22 years agostrip_tags() is also binary-safe now.
Moriyoshi Koizumi [Sat, 12 Apr 2003 21:29:49 +0000 (21:29 +0000)]
strip_tags() is also binary-safe now.

22 years agoScratch off done TODOs
Sara Golemon [Sat, 12 Apr 2003 20:09:26 +0000 (20:09 +0000)]
Scratch off done TODOs

22 years agoAdd tests for strrpos/stripos, and minor fix to maintain BC for condition with empty...
Sara Golemon [Sat, 12 Apr 2003 20:04:06 +0000 (20:04 +0000)]
Add tests for strrpos/stripos, and minor fix to maintain BC for condition with empty needles/haystacks

22 years agoRewrite strrpos and strripos to be binary safe and behave the way their prototype...
Sara Golemon [Sat, 12 Apr 2003 07:36:22 +0000 (07:36 +0000)]
Rewrite strrpos and strripos to be binary safe and behave the way their prototype suggests (also like their counterparts strpos and stripos) i.e.: Allow string needles rather than just characters

22 years agoFix warnings.
Sebastian Bergmann [Fri, 11 Apr 2003 17:30:42 +0000 (17:30 +0000)]
Fix warnings.

22 years agoFix for #23069 (Windows sets readonly mode for temporary files in tempnam)
Wez Furlong [Fri, 11 Apr 2003 11:08:44 +0000 (11:08 +0000)]
Fix for #23069 (Windows sets readonly mode for temporary files in tempnam)

22 years ago- Fixed protos
Derick Rethans [Fri, 11 Apr 2003 09:53:01 +0000 (09:53 +0000)]
- Fixed protos

22 years agoaccept possible leaks for now to make SELECTS with both bound parameters
Hartmut Holzgraefe [Fri, 11 Apr 2003 04:41:52 +0000 (04:41 +0000)]
accept possible leaks for now to make SELECTS with both bound parameters
and results again ...