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

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

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

21 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

21 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

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

21 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

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

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

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

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

21 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

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

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

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

21 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

21 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

21 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

21 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

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

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

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

21 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

21 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()).

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

21 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

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

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

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

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

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

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

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

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

21 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

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

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

21 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+

21 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?

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

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

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

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

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

21 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

21 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

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

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

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

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

21 years agoproto fix
Hartmut Holzgraefe [Fri, 11 Apr 2003 04:30:29 +0000 (04:30 +0000)]
proto fix

21 years agoparameter count for bind stuff is different in OO interface
Hartmut Holzgraefe [Fri, 11 Apr 2003 04:29:28 +0000 (04:29 +0000)]
parameter count for bind stuff is different in OO interface

21 years agoExport constants to userland
Sara Golemon [Fri, 11 Apr 2003 02:55:00 +0000 (02:55 +0000)]
Export constants to userland

21 years agoFixed integer overflow inside mhash_keygen_s2k().
Ilia Alshanetsky [Fri, 11 Apr 2003 02:40:21 +0000 (02:40 +0000)]
Fixed integer overflow inside mhash_keygen_s2k().

21 years agosatisfy andi's switch fetish ;-)
Sterling Hughes [Thu, 10 Apr 2003 20:08:02 +0000 (20:08 +0000)]
satisfy andi's switch fetish ;-)

21 years agoFix ZTS build. Fix warning.
Sebastian Bergmann [Thu, 10 Apr 2003 17:02:31 +0000 (17:02 +0000)]
Fix ZTS build. Fix warning.

21 years agoDocument 'const' keyword.
Sebastian Bergmann [Thu, 10 Apr 2003 16:54:46 +0000 (16:54 +0000)]
Document 'const' keyword.

21 years agoallow expressions within constants, so the following is possible
Sterling Hughes [Thu, 10 Apr 2003 15:43:47 +0000 (15:43 +0000)]
allow expressions within constants, so the following is possible

class foo {
const a = 1<<0;
const b = 1<<1;
const c = a | b;
}

this makes const a compile-time expression.  all other operators are
unaffected.

21 years ago- More TSRMLS stuff.
Christian Stocker [Thu, 10 Apr 2003 12:45:38 +0000 (12:45 +0000)]
- More TSRMLS stuff.
- Fixed memleaks in domxml_doc_add_root, domxml_xslt_stylesheet
  and domxml_xslt_stylesheet_doc
- Completed implementation of domxml_doc_imported_node.

21 years agoMake Apache 2 define SG(request_info).path_translated like Apache 1 did.
Stanislav Malyshev [Thu, 10 Apr 2003 11:33:45 +0000 (11:33 +0000)]
Make Apache 2 define SG(request_info).path_translated like Apache 1 did.

21 years agomake Apache define SG(request_info).path_translted, like Apache 1 did.
Stanislav Malyshev [Thu, 10 Apr 2003 11:28:54 +0000 (11:28 +0000)]
make Apache define SG(request_info).path_translted, like Apache 1 did.

21 years agoRevert Harald's commit
Zeev Suraski [Thu, 10 Apr 2003 04:43:42 +0000 (04:43 +0000)]
Revert Harald's commit

21 years agoFixed a crash in the query tracer output due to buffer overflow.
Ilia Alshanetsky [Thu, 10 Apr 2003 04:35:39 +0000 (04:35 +0000)]
Fixed a crash in the query tracer output due to buffer overflow.
Fixed a crash in notice message for unbuffered query.

21 years agoOne line fix so that it will compile
George Schlossnagle [Thu, 10 Apr 2003 03:11:27 +0000 (03:11 +0000)]
One line fix so that it will compile

21 years agoremoving the *syntactical sugar* again
Harald Radi [Wed, 9 Apr 2003 20:23:06 +0000 (20:23 +0000)]
removing the *syntactical sugar* again

# commiting that on behalf of the community :)
# don't blame me, i'm just acting as a proxy

21 years agoFix ZTS build and warnings
Marcus Boerger [Wed, 9 Apr 2003 19:14:44 +0000 (19:14 +0000)]
Fix ZTS build and warnings

21 years agoMFB: Forgotten _FORM -> _REQUEST change
Rasmus Lerdorf [Wed, 9 Apr 2003 17:46:42 +0000 (17:46 +0000)]
MFB: Forgotten _FORM -> _REQUEST change

21 years ago- Fixed printing the version string if it includes zend extensions in
Derick Rethans [Wed, 9 Apr 2003 15:19:07 +0000 (15:19 +0000)]
- Fixed printing the version string if it includes zend extensions in
  text-mode

21 years ago*** empty log message ***
Edin Kadribasic [Wed, 9 Apr 2003 12:03:58 +0000 (12:03 +0000)]
*** empty log message ***

21 years ago- Fixed some memleaks when using attributes
Christian Stocker [Wed, 9 Apr 2003 07:29:39 +0000 (07:29 +0000)]
- Fixed some memleaks when using attributes
- Added attrnode->set_value()
(by Rob Richards)

21 years agoAdded missing bit from gd2.0.12 sync.
Ilia Alshanetsky [Wed, 9 Apr 2003 01:55:48 +0000 (01:55 +0000)]
Added missing bit from gd2.0.12 sync.

21 years agoHopefully last fix on error reporting
Marcus Boerger [Wed, 9 Apr 2003 00:38:19 +0000 (00:38 +0000)]
Hopefully last fix on error reporting

21 years agoSwitch file_put_contents 'bool use_include_path' to 'int flags' to allow other option...
Sara Golemon [Tue, 8 Apr 2003 23:24:53 +0000 (23:24 +0000)]
Switch file_put_contents 'bool use_include_path' to 'int flags' to allow other options such as appending

21 years agoAdd context support to file_put_contents() and readfile(), convert readfile() to...
Sara Golemon [Tue, 8 Apr 2003 22:10:15 +0000 (22:10 +0000)]
Add context support to file_put_contents() and readfile(), convert readfile() to zend_parse_parameters usage, fix proto for file_put_contents()

21 years agoAdded context support to file()
Sara Golemon [Tue, 8 Apr 2003 21:00:07 +0000 (21:00 +0000)]
Added context support to file()

21 years agodomdocument->free() was MFHd to PHP_4_3 branch.
Christian Stocker [Tue, 8 Apr 2003 19:43:56 +0000 (19:43 +0000)]
domdocument->free() was MFHd to PHP_4_3 branch.

21 years agofixes memleaks in element->get_elements_by_tagname & document->get_elements_by_tagname
Christian Stocker [Tue, 8 Apr 2003 19:30:27 +0000 (19:30 +0000)]
fixes memleaks in element->get_elements_by_tagname & document->get_elements_by_tagname

21 years agoNEWS entry fixes for domxml (more readable hopefully...)
Christian Stocker [Tue, 8 Apr 2003 18:44:31 +0000 (18:44 +0000)]
NEWS entry fixes for domxml (more readable hopefully...)

21 years agoSwitch some functions to use new zend_lookup_ns_class() methods. This
Andrei Zmievski [Tue, 8 Apr 2003 18:22:32 +0000 (18:22 +0000)]
Switch some functions to use new zend_lookup_ns_class() methods. This
means that they will accept both simple and fully qualified class names.

21 years agoRename zend_register_internal_class_in_ns() to a better, less filling,
Andrei Zmievski [Tue, 8 Apr 2003 17:40:56 +0000 (17:40 +0000)]
Rename zend_register_internal_class_in_ns() to a better, less filling,
but with the same great taste zend_register_internal_ns_class().

21 years agomake it possible to free DomHtmlDocuments as well
Christian Stocker [Tue, 8 Apr 2003 17:22:19 +0000 (17:22 +0000)]
make it possible to free DomHtmlDocuments as well

21 years agoRemove php_memnstr (it's in ZE now).
Andrei Zmievski [Tue, 8 Apr 2003 17:15:43 +0000 (17:15 +0000)]
Remove php_memnstr (it's in ZE now).

21 years agoAdd zend_lookup_ns_class() function.
Andrei Zmievski [Tue, 8 Apr 2003 17:10:01 +0000 (17:10 +0000)]
Add zend_lookup_ns_class() function.

21 years agoMove memnstr into Zend and make an alias for BC in PHP.
Andrei Zmievski [Tue, 8 Apr 2003 15:04:26 +0000 (15:04 +0000)]
Move memnstr into Zend and make an alias for BC in PHP.