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

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