]> granicus.if.org Git - php/log
php
22 years agoDon't return table names
Marcus Boerger [Thu, 1 May 2003 13:20:22 +0000 (13:20 +0000)]
Don't return table names

22 years agoCheck returned associative indexes
Marcus Boerger [Thu, 1 May 2003 13:18:56 +0000 (13:18 +0000)]
Check returned associative indexes

22 years agono need to comment out, it doesn't belong there '.'
Sterling Hughes [Thu, 1 May 2003 03:47:54 +0000 (03:47 +0000)]
no need to comment out, it doesn't belong there '.'

22 years agoUnixODBC also supports the fetch_array() and fetch_object() functions...
Wez Furlong [Wed, 30 Apr 2003 23:32:36 +0000 (23:32 +0000)]
UnixODBC also supports the fetch_array() and fetch_object() functions...

22 years agoemalloc -> safe_emalloc
Ilia Alshanetsky [Wed, 30 Apr 2003 21:53:53 +0000 (21:53 +0000)]
emalloc -> safe_emalloc

22 years agoFixing bit support. Bug #23324
Frank M. Kromann [Wed, 30 Apr 2003 21:52:37 +0000 (21:52 +0000)]
Fixing bit support. Bug #23324

22 years agoReally fix the test.
Moriyoshi Koizumi [Wed, 30 Apr 2003 16:30:44 +0000 (16:30 +0000)]
Really fix the test.
# sorry for the mess..

22 years agoMFB
Rasmus Lerdorf [Wed, 30 Apr 2003 16:26:22 +0000 (16:26 +0000)]
MFB

22 years agoAllow both parameter orderings
Marcus Boerger [Wed, 30 Apr 2003 15:22:57 +0000 (15:22 +0000)]
Allow both parameter orderings

22 years agoAllow to set result_type default for each query
Marcus Boerger [Wed, 30 Apr 2003 15:18:59 +0000 (15:18 +0000)]
Allow to set result_type default for each query

22 years agoFix memory leak in odbc_fetch_(array|object).
Wez Furlong [Wed, 30 Apr 2003 10:45:45 +0000 (10:45 +0000)]
Fix memory leak in odbc_fetch_(array|object).
Enable those functions for IBM DB2.

22 years agomissing entries
foobar [Wed, 30 Apr 2003 10:43:15 +0000 (10:43 +0000)]
missing entries

22 years agotempnam() creates an empty file..prevent them from going to /
foobar [Wed, 30 Apr 2003 10:42:24 +0000 (10:42 +0000)]
tempnam() creates an empty file..prevent them from going to /

22 years ago- Fixed bug #23371 (configure falsely detects c-client using SSL)
foobar [Wed, 30 Apr 2003 10:34:47 +0000 (10:34 +0000)]
- Fixed bug #23371 (configure falsely detects c-client using SSL)

22 years agoAdd some missing quotes. Noticed by Michael Mauch <michael.mauch@gmx.de>
foobar [Wed, 30 Apr 2003 10:22:56 +0000 (10:22 +0000)]
Add some missing quotes. Noticed by Michael Mauch <michael.mauch@gmx.de>

22 years agoCS fix
foobar [Wed, 30 Apr 2003 10:19:21 +0000 (10:19 +0000)]
CS fix

22 years agoFix compile problems with < 9.2 oracle libs
foobar [Wed, 30 Apr 2003 10:17:25 +0000 (10:17 +0000)]
Fix compile problems with < 9.2 oracle libs

22 years agoFixed bug #23417 (compile failure in apache2filter sapi).
Ilia Alshanetsky [Wed, 30 Apr 2003 00:47:08 +0000 (00:47 +0000)]
Fixed bug #23417 (compile failure in apache2filter sapi).

22 years agoFixed compiler warning (found by Larry Rosenman <ler@lerctr.org>)
Ilia Alshanetsky [Wed, 30 Apr 2003 00:37:31 +0000 (00:37 +0000)]
Fixed compiler warning (found by Larry Rosenman <ler@lerctr.org>)

22 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

22 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

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

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

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

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

22 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

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

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

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

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

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

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

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

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

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

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

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

22 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

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

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

22 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

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

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

22 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

22 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

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

22 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

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

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

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

22 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

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

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

22 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

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

22 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

22 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

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

22 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

22 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

22 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

22 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

22 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

22 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

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

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

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

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

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

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

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

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

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

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

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

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

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

22 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

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

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

22 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

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

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

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

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

22 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 :/

22 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

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

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

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

22 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

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

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

22 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

22 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

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

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

22 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

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

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