]> granicus.if.org Git - php/log
php
21 years agoAdd support for SRV and NAPTR records to dns_get_record() and dns_check_record()
Sara Golemon [Tue, 29 Apr 2003 22:02:01 +0000 (22:02 +0000)]
Add support for SRV and NAPTR records to dns_get_record() and dns_check_record()
Feature Request #23407

21 years agoFix the *= operator
Sascha Schumann [Tue, 29 Apr 2003 15:06:19 +0000 (15:06 +0000)]
Fix the *= operator

Slightly modified patch by Wez Furlong

21 years agoFix dirname() under win32.
Wez Furlong [Tue, 29 Apr 2003 13:35:48 +0000 (13:35 +0000)]
Fix dirname() under win32.
The calculated length would be off-by-two under windows, which resulted in bogus dirnames.

21 years agoFixed typo
Moriyoshi Koizumi [Tue, 29 Apr 2003 13:05:58 +0000 (13:05 +0000)]
Fixed typo

21 years agoFixed bogus skip condition
Moriyoshi Koizumi [Tue, 29 Apr 2003 13:04:19 +0000 (13:04 +0000)]
Fixed bogus skip condition

21 years agoemalloc -> safe_emalloc
Ilia Alshanetsky [Mon, 28 Apr 2003 22:42:22 +0000 (22:42 +0000)]
emalloc -> safe_emalloc

21 years agoFix Content-Encoding header lacking CRLF
Sascha Schumann [Mon, 28 Apr 2003 22:07:18 +0000 (22:07 +0000)]
Fix Content-Encoding header lacking CRLF

21 years agoA few fixes Uwe suggested, plus plugged a memleak and a possible
Jay Smith [Mon, 28 Apr 2003 21:49:47 +0000 (21:49 +0000)]
A few fixes Uwe suggested, plus plugged a memleak and a possible
overrun.

21 years agoMake use of --with-exec-dir for real..
foobar [Mon, 28 Apr 2003 21:00:32 +0000 (21:00 +0000)]
Make use of --with-exec-dir for real..

21 years agows fix
foobar [Mon, 28 Apr 2003 20:47:27 +0000 (20:47 +0000)]
ws fix

21 years agoFor yaz_wait, when event=>TRUE is specified for array options,
Adam Dickmeiss [Mon, 28 Apr 2003 19:51:45 +0000 (19:51 +0000)]
For yaz_wait, when event=>TRUE is specified for array options,
yaz_wait returns when one event occurs. This allows us to perform
async operations on many databases. Use OnUpdateInt for PHP4.

21 years agoMFB usage fix
Sascha Schumann [Mon, 28 Apr 2003 19:43:09 +0000 (19:43 +0000)]
MFB usage fix

21 years ago- Commit the .c file too...
Derick Rethans [Mon, 28 Apr 2003 18:52:59 +0000 (18:52 +0000)]
- Commit the .c file too...

21 years agoReword entry per sniper
Sara Golemon [Mon, 28 Apr 2003 18:50:22 +0000 (18:50 +0000)]
Reword entry per sniper

21 years ago- Make them available on Windows too from other files.
Derick Rethans [Mon, 28 Apr 2003 18:41:32 +0000 (18:41 +0000)]
- Make them available on Windows too from other files.

21 years agoimprove php_url_encode
Sascha Schumann [Mon, 28 Apr 2003 16:24:14 +0000 (16:24 +0000)]
improve php_url_encode

21 years agoAdded missing sanity check in fgetcsv()
Moriyoshi Koizumi [Mon, 28 Apr 2003 15:04:56 +0000 (15:04 +0000)]
Added missing sanity check in fgetcsv()

21 years agoFix for #23340; fopen on multiple urls from the same server crashes.
Wez Furlong [Mon, 28 Apr 2003 14:41:36 +0000 (14:41 +0000)]
Fix for #23340; fopen on multiple urls from the same server crashes.

21 years ago- Fix non-ZTS build after Sterling's changes to TSRM
Derick Rethans [Mon, 28 Apr 2003 10:40:28 +0000 (10:40 +0000)]
- Fix non-ZTS build after Sterling's changes to TSRM

21 years agoMore clean way of ignoring headers in CLI since we do not need to
Edin Kadribasic [Mon, 28 Apr 2003 10:04:50 +0000 (10:04 +0000)]
More clean way of ignoring headers in CLI since we do not need to
disable them selectively. This fixes problems for people who want
to use session module in CLI.

21 years agoRemove unnecessary entry
foobar [Mon, 28 Apr 2003 07:30:51 +0000 (07:30 +0000)]
Remove unnecessary entry

21 years agouse the new TSRMLS_FETCH_FROM_CTX() macro
Sterling Hughes [Sun, 27 Apr 2003 22:15:19 +0000 (22:15 +0000)]
use the new TSRMLS_FETCH_FROM_CTX() macro

21 years agoadd TSRMLS_FETCH_CTX which allows you to map a variable to a ts context.
Sterling Hughes [Sun, 27 Apr 2003 21:57:07 +0000 (21:57 +0000)]
add TSRMLS_FETCH_CTX which allows you to map a variable to a ts context.

This is useful when you are mapping callbacks, you can simply associate
a struct member to a thread context:

void mycallback(my_struct *user) {
TSRMLS_FETCH_CTX(user->thread_ctx);
}

21 years agoMore tests
Marcus Boerger [Sun, 27 Apr 2003 20:02:35 +0000 (20:02 +0000)]
More tests

21 years agoReset option parsing
Marcus Boerger [Sun, 27 Apr 2003 19:41:36 +0000 (19:41 +0000)]
Reset option parsing
# i swear i had them in before last commit

21 years agosplit parameter parsing once more: do informal queries before others
Marcus Boerger [Sun, 27 Apr 2003 19:19:29 +0000 (19:19 +0000)]
split parameter parsing once more: do informal queries before others
#still a memleak in case of a parameter conflict

21 years agofix TSRM
Stanislav Malyshev [Sun, 27 Apr 2003 16:18:43 +0000 (16:18 +0000)]
fix TSRM

21 years agoMFB 4_3:
Stanislav Malyshev [Sun, 27 Apr 2003 16:04:53 +0000 (16:04 +0000)]
MFB 4_3:
Fix very nasty bug - session cookie kills one of the cookies
set before it on certain non-Apache SAPIs.
# for example, this code:
# <?
# setcookie("abc", 1);
# setcookie("def", 2);
# session_start();
# ?>
# would output only 'def' cookie on CGI and ISAPI

21 years agoSeems like a better fix..
Wez Furlong [Sun, 27 Apr 2003 14:01:09 +0000 (14:01 +0000)]
Seems like a better fix..

21 years agoMore safe_emalloc()
Marcus Boerger [Sun, 27 Apr 2003 13:46:07 +0000 (13:46 +0000)]
More safe_emalloc()

21 years agoWS, plus default: would prevent case SQLITE_DONE: in php_sqlite_fetch().
Wez Furlong [Sun, 27 Apr 2003 13:32:43 +0000 (13:32 +0000)]
WS, plus default: would prevent case SQLITE_DONE: in php_sqlite_fetch().

21 years agoEnable some more functions with unbuffered queries
Marcus Boerger [Sun, 27 Apr 2003 13:25:10 +0000 (13:25 +0000)]
Enable some more functions with unbuffered queries

21 years agoAdd more tests
Marcus Boerger [Sun, 27 Apr 2003 11:29:39 +0000 (11:29 +0000)]
Add more tests

21 years agoftp wrapper enhancements
Sara Golemon [Sun, 27 Apr 2003 05:38:13 +0000 (05:38 +0000)]
ftp wrapper enhancements

21 years ago- more code moved to the appropriate php_*.php helper classes
Hartmut Holzgraefe [Sat, 26 Apr 2003 16:20:59 +0000 (16:20 +0000)]
- more code moved to the appropriate php_*.php helper classes
- support for different licenses using the new license classes
- support for platform dependant library dependencies
- coding style/whitespace changes

21 years agoconstructor proto change
Hartmut Holzgraefe [Sat, 26 Apr 2003 16:08:48 +0000 (16:08 +0000)]
constructor proto change

21 years agocmdline parameter parsing improved
Hartmut Holzgraefe [Sat, 26 Apr 2003 15:54:50 +0000 (15:54 +0000)]
cmdline parameter parsing improved
uses license classes to write LICENSE file
config.m4 and *.dsp file are only written if their platform is supported

21 years agoconstructor prototype changed
Hartmut Holzgraefe [Sat, 26 Apr 2003 15:42:59 +0000 (15:42 +0000)]
constructor prototype changed
code and documentation header and footer for constants block
now generated by static class methods

21 years agobetter 'name' regex
Hartmut Holzgraefe [Sat, 26 Apr 2003 15:34:10 +0000 (15:34 +0000)]
better 'name' regex

21 years agophp 5 constructor style and whitespace
Hartmut Holzgraefe [Sat, 26 Apr 2003 15:27:28 +0000 (15:27 +0000)]
php 5 constructor style and whitespace

21 years agosupport arrays of error messages in addition to single strings
Hartmut Holzgraefe [Sat, 26 Apr 2003 15:20:18 +0000 (15:20 +0000)]
support arrays of error messages in addition to single strings
use PHP 5 style __constructor

21 years agouse PHP 5 style constructor
Hartmut Holzgraefe [Sat, 26 Apr 2003 15:15:28 +0000 (15:15 +0000)]
use PHP 5 style constructor
plus whitespace/coding style changes

21 years agomodule global variables and ini parameters now have
Hartmut Holzgraefe [Sat, 26 Apr 2003 15:05:01 +0000 (15:05 +0000)]
module global variables and ini parameters now have
their own generator classes

21 years agolicense comment headers and license files are now created
Hartmut Holzgraefe [Sat, 26 Apr 2003 15:01:31 +0000 (15:01 +0000)]
license comment headers and license files are now created
by seperate classes for each license

21 years agoplatform specification now possible for libraries and extension
Hartmut Holzgraefe [Sat, 26 Apr 2003 14:58:37 +0000 (14:58 +0000)]
platform specification now possible for libraries and extension

21 years agoTake STREAMS_CC/STREAMS_DC declarations out of do_connect/do_pasv where they don...
Sara Golemon [Sat, 26 Apr 2003 01:55:31 +0000 (01:55 +0000)]
Take STREAMS_CC/STREAMS_DC declarations out of do_connect/do_pasv where they don't need to be.  Add minimalist url_stat method to ftp:// wrapper which can at least determine filesize.  Other properties set to 0 since the FTP protocol simply doesn't support exploring them.  url_stat won't actually work however until ext/standard/filestat.c is patched to allow stat wrappers.

21 years agoemalloc -> safe_emalloc
Ilia Alshanetsky [Fri, 25 Apr 2003 21:59:58 +0000 (21:59 +0000)]
emalloc -> safe_emalloc
Fixed possible buffer overflow in pg_lo_read()

21 years ago- Fixed some AIX/HPUX compile issues.
foobar [Fri, 25 Apr 2003 21:31:23 +0000 (21:31 +0000)]
- Fixed some AIX/HPUX compile issues.
# Just a modified diff of the same file found in mysql 4.0.12 :)

21 years agofix compiler warning (unused variable)
foobar [Fri, 25 Apr 2003 18:11:32 +0000 (18:11 +0000)]
fix compiler warning (unused variable)

21 years agoMoved copyright notice to the better place.
Moriyoshi Koizumi [Fri, 25 Apr 2003 17:39:46 +0000 (17:39 +0000)]
Moved copyright notice to the better place.

21 years agoAdded a bogus copyright notice.
Moriyoshi Koizumi [Fri, 25 Apr 2003 17:35:06 +0000 (17:35 +0000)]
Added a bogus copyright notice.

21 years agonot interested in .libs
Wez Furlong [Fri, 25 Apr 2003 16:12:40 +0000 (16:12 +0000)]
not interested in .libs

21 years agoMake these tests actually work.
foobar [Fri, 25 Apr 2003 15:43:28 +0000 (15:43 +0000)]
Make these tests actually work.

21 years ago- Made 'register_long_arrays' to be "On" by default.
foobar [Fri, 25 Apr 2003 10:57:23 +0000 (10:57 +0000)]
- Made 'register_long_arrays' to be "On" by default.

21 years agonot a real test
foobar [Fri, 25 Apr 2003 10:53:10 +0000 (10:53 +0000)]
not a real test

21 years agoFixed bug #21820 ("$arr[foo]" generates bogus E_NOTICE, should be E_PARSE)
foobar [Fri, 25 Apr 2003 10:13:51 +0000 (10:13 +0000)]
Fixed bug #21820 ("$arr[foo]" generates bogus E_NOTICE, should be E_PARSE)

21 years agoFixed bug #23099 (ext/interbase: "libgds.so: undefined reference to crypt")
foobar [Fri, 25 Apr 2003 08:57:49 +0000 (08:57 +0000)]
Fixed bug #23099 (ext/interbase: "libgds.so: undefined reference to crypt")

21 years agoAllow PHP_CHECK_LIBRARY to use same function name in checks if a check fails.
foobar [Fri, 25 Apr 2003 08:54:02 +0000 (08:54 +0000)]
Allow PHP_CHECK_LIBRARY to use same function name in checks if a check fails.

21 years agoAdded test case for bug #21820
foobar [Fri, 25 Apr 2003 08:33:25 +0000 (08:33 +0000)]
Added test case for bug #21820

21 years agoSome AIX version failed to compile if this was redefined.
foobar [Fri, 25 Apr 2003 08:10:11 +0000 (08:10 +0000)]
Some AIX version failed to compile if this was redefined.

21 years agoNo idea how that character dissapeared.
Sara Golemon [Thu, 24 Apr 2003 22:25:33 +0000 (22:25 +0000)]
No idea how that character dissapeared.

21 years agoFix error handling bug I just introduced (php_ftp_fopen_connect == NULL) and add...
Sara Golemon [Thu, 24 Apr 2003 21:21:41 +0000 (21:21 +0000)]
Fix error handling bug I just introduced (php_ftp_fopen_connect == NULL) and add append support to wrapper

21 years agoMFB: safe_emalloc()
Marcus Boerger [Thu, 24 Apr 2003 20:54:43 +0000 (20:54 +0000)]
MFB: safe_emalloc()

21 years agoAbtract some ftp connection/negotiation steps out and add support for stream_opendir...
Sara Golemon [Thu, 24 Apr 2003 20:32:14 +0000 (20:32 +0000)]
Abtract some ftp connection/negotiation steps out and add support for stream_opendir.  This allows things like opendir('ftp://ftp.foo.com/path')

21 years agowhitespace changes in generated code
Hartmut Holzgraefe [Thu, 24 Apr 2003 18:04:17 +0000 (18:04 +0000)]
whitespace changes in generated code

21 years ago<![CDATA[ generates additional linefeeds?
Hartmut Holzgraefe [Thu, 24 Apr 2003 18:03:12 +0000 (18:03 +0000)]
<![CDATA[ generates additional linefeeds?
-> trim these ...

21 years agouse PEAR::System instead of system() to remove directories
Hartmut Holzgraefe [Thu, 24 Apr 2003 18:01:57 +0000 (18:01 +0000)]
use PEAR::System instead of system() to remove directories
... plus some whitespace/indent changes :/

21 years agoFix compiler error on null statement in switch
David Hill [Thu, 24 Apr 2003 18:01:26 +0000 (18:01 +0000)]
Fix compiler error on null statement in switch

21 years agotodo list update
Hartmut Holzgraefe [Thu, 24 Apr 2003 18:00:49 +0000 (18:00 +0000)]
todo list update

21 years agoMFB fix for registration
Wez Furlong [Thu, 24 Apr 2003 13:53:04 +0000 (13:53 +0000)]
MFB fix for registration

21 years agoadd safe_emalloc
Sascha Schumann [Thu, 24 Apr 2003 03:35:06 +0000 (03:35 +0000)]
add safe_emalloc

21 years agoRevert some ini settings to be hardcoded due to popular demand
Marcus Boerger [Wed, 23 Apr 2003 22:52:44 +0000 (22:52 +0000)]
Revert some ini settings to be hardcoded due to popular demand

21 years agoconfig.m4 generation revisited
Hartmut Holzgraefe [Wed, 23 Apr 2003 16:40:52 +0000 (16:40 +0000)]
config.m4 generation revisited

21 years agoparse <deps> content
Hartmut Holzgraefe [Wed, 23 Apr 2003 16:39:50 +0000 (16:39 +0000)]
parse <deps> content

21 years agoreorganized code generation
Hartmut Holzgraefe [Wed, 23 Apr 2003 16:38:22 +0000 (16:38 +0000)]
reorganized code generation
- source file includes generated header only,
  generated header includes anything else
and is able to prepend include statements
to files that need to be included *before*
any php delivered header files
- 'private' functions are now moved up in the
  generated source file so we do not add extra
C protos for them before use

21 years agomake sure .dsp files have DOS line endings when generated on Unix
Hartmut Holzgraefe [Wed, 23 Apr 2003 16:34:30 +0000 (16:34 +0000)]
make sure .dsp files have DOS line endings when generated on Unix

21 years agodon't forget to add the function list delimiter entry ... :/
Hartmut Holzgraefe [Wed, 23 Apr 2003 16:32:11 +0000 (16:32 +0000)]
don't forget to add the function list delimiter entry ... :/

21 years agodocumentation generation improvements
Hartmut Holzgraefe [Wed, 23 Apr 2003 16:29:32 +0000 (16:29 +0000)]
documentation generation improvements

21 years agoversion number and copyright year update
Hartmut Holzgraefe [Wed, 23 Apr 2003 16:27:36 +0000 (16:27 +0000)]
version number and copyright year update

21 years agorequired ext. header files may be specified in <deps>
Hartmut Holzgraefe [Wed, 23 Apr 2003 16:24:24 +0000 (16:24 +0000)]
required ext. header files may be specified in <deps>

21 years agoenable resource lookup by name
Hartmut Holzgraefe [Wed, 23 Apr 2003 16:20:48 +0000 (16:20 +0000)]
enable resource lookup by name

21 years agoResource handling fixed and improved:
Hartmut Holzgraefe [Wed, 23 Apr 2003 16:19:08 +0000 (16:19 +0000)]
Resource handling fixed and improved:
- resources may have an additional type specifier in prototypes
- the 'alloc' attribute specifies whether to emalloc/efree
  the resource payload in generated code or not

Example code generation for function return types

Small docbook generation fixes in function documentation

21 years agostart to parse the <deps> tag -> support both C and C++ extensions
Hartmut Holzgraefe [Wed, 23 Apr 2003 16:09:23 +0000 (16:09 +0000)]
start to parse the <deps> tag -> support both C and C++ extensions

21 years agoProject programming language may be specified in <deps> tag
Hartmut Holzgraefe [Wed, 23 Apr 2003 15:55:00 +0000 (15:55 +0000)]
Project programming language may be specified in <deps> tag
for now only 'c' and 'cpp' for c++ are supported

21 years agoFix obvious flaw in this test
foobar [Wed, 23 Apr 2003 08:54:49 +0000 (08:54 +0000)]
Fix obvious flaw in this test

21 years agowin32 fixes
Wez Furlong [Tue, 22 Apr 2003 23:24:44 +0000 (23:24 +0000)]
win32 fixes

21 years agoFix the extension...
Wez Furlong [Tue, 22 Apr 2003 21:41:46 +0000 (21:41 +0000)]
Fix the extension...
# guess which extension I copied this from??

21 years agoMFB: &039; which is a single-quote may also come in as &39;
Rasmus Lerdorf [Tue, 22 Apr 2003 20:47:09 +0000 (20:47 +0000)]
MFB: &039; which is a single-quote may also come in as &39;
I see no reason not to support both in html_entity_decode()

21 years agoAdd windows .dsp and some kludgy pre-generated headers.
Wez Furlong [Tue, 22 Apr 2003 19:06:31 +0000 (19:06 +0000)]
Add windows .dsp and some kludgy pre-generated headers.

21 years agoFeature Request #7121.
Sara Golemon [Tue, 22 Apr 2003 04:13:09 +0000 (04:13 +0000)]
Feature Request #7121.
Allow overwritting of files via ftp:// wrapper.
Requires context option:  $context['ftp']['overwrite'] != 0

21 years agoAdd vr class
Sascha Schumann [Tue, 22 Apr 2003 03:21:29 +0000 (03:21 +0000)]
Add vr class

Noticed by: Jon Parise

21 years agoI will use my brain properly next time
Wez Furlong [Tue, 22 Apr 2003 00:21:02 +0000 (00:21 +0000)]
I will use my brain properly next time

21 years agoallow sqlite_query() to accept the query string and database resource in
Wez Furlong [Tue, 22 Apr 2003 00:19:48 +0000 (00:19 +0000)]
allow sqlite_query() to accept the query string and database resource in
either order.

Forgot to bump the package version number displayed by phpinfo()...
Bump to 0.9a

21 years agoAdded sqlite.assoc_case ini entry with 0 as the default value.
Edin Kadribasic [Tue, 22 Apr 2003 00:08:48 +0000 (00:08 +0000)]
Added sqlite.assoc_case ini entry with 0 as the default value.

0 - Make no changes to the keys in the associative array
1 - Change the keys to uppercase
2 - Change the keys to lowercase

21 years agoPrepare for release.
Wez Furlong [Mon, 21 Apr 2003 20:24:03 +0000 (20:24 +0000)]
Prepare for release.

21 years agoThe feature is less revelant to encoding conversion indeed
Moriyoshi Koizumi [Mon, 21 Apr 2003 19:07:21 +0000 (19:07 +0000)]
The feature is less revelant to encoding conversion indeed

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