summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2002-06-29 19:37:11 +0000
committerSVN Migration <svn@php.net>2002-06-29 19:37:11 +0000
commit4b95916fe69378b5aa679b92466bfe16260190e3 (patch)
tree84a498b4ef6ed7347b1dbdc9bac7197bf0063e52
parentf24cb9731ce3c55ae408c60ef3e5b77ccbe2e754 (diff)
downloadphp-git-4b95916fe69378b5aa679b92466bfe16260190e3.tar.gz
This commit was manufactured by cvs2svn to create tagphp-4.3.0dev_zend2_alpha2
'php_4_3_0_dev_zend2_alpha2'.
-rw-r--r--CODING_STANDARDS233
-rw-r--r--CREDITS2
-rw-r--r--ChangeLog15660
-rw-r--r--ChangeLog.1999.gzbin78772 -> 0 bytes
-rw-r--r--ChangeLog.2000.gzbin159518 -> 0 bytes
-rw-r--r--ChangeLog.2001.gzbin198003 -> 0 bytes
-rw-r--r--EXTENSIONS473
-rw-r--r--INSTALL411
-rw-r--r--LICENSE64
-rw-r--r--Makefile.frag18
-rw-r--r--Makefile.global72
-rw-r--r--NEWS2072
-rw-r--r--README.CVS-RULES115
-rw-r--r--README.EXTENSIONS39
-rw-r--r--README.EXT_SKEL189
-rw-r--r--README.PARAMETER_PARSING_API118
-rw-r--r--README.QNX57
-rw-r--r--README.SELF-CONTAINED-EXTENSIONS154
-rw-r--r--README.STREAMS367
-rw-r--r--README.SUBMITTING_PATCH121
-rw-r--r--README.TESTING175
-rw-r--r--README.UNIX-BUILD-SYSTEM123
-rw-r--r--README.Zeus126
-rw-r--r--TODO170
-rw-r--r--TODO.BUILDv53
-rw-r--r--acconfig.h.in1
-rw-r--r--acinclude.m41473
-rw-r--r--apidoc-zend.txt280
-rw-r--r--apidoc.txt492
-rwxr-xr-xbuildconf37
-rw-r--r--config.guess1308
-rw-r--r--config.sub1417
-rw-r--r--configure.in1315
-rwxr-xr-xcvsclean3
-rw-r--r--ext/imap/imap.h103
-rw-r--r--ext/pcre/config0.m455
-rw-r--r--footer8
-rwxr-xr-xgenfiles14
-rw-r--r--header19
-rw-r--r--ltmain.sh4946
-rw-r--r--main/php_realpath.c283
-rwxr-xr-xmakedist148
-rwxr-xr-xmakedist.ZendEngine2149
-rw-r--r--makerpm156
-rw-r--r--php.gifbin3872 -> 0 bytes
-rw-r--r--php.ini-dist948
-rw-r--r--php.ini-recommended955
-rw-r--r--php4.spec.in48
-rwxr-xr-xrun-tests.php426
-rw-r--r--scan_makefile_in.awk32
-rwxr-xr-xsnapshot7
-rw-r--r--stamp-h.in1
-rw-r--r--strtok_r.c113
-rw-r--r--stub.c1
54 files changed, 0 insertions, 35500 deletions
diff --git a/CODING_STANDARDS b/CODING_STANDARDS
deleted file mode 100644
index 848b4efd0c..0000000000
--- a/CODING_STANDARDS
+++ /dev/null
@@ -1,233 +0,0 @@
-PHP Coding Standards
-====================
-
-
-This file lists several standards that any programmer, adding or changing
-code in PHP, should follow. Since this file was added at a very late
-stage of the development of PHP v3.0, the code base does not (yet) fully
-follow it, but it's going in that general direction. Since we are now
-well into the version 4 releases, many sections have been recoded to use
-these rules.
-
-
-Code Implementation
--------------------
-
-[1] Functions that are given pointers to resources should not free them
-
-For instance, function int mail(char *to, char *from) should NOT free
-to and/or from.
-Exceptions:
-
- - The function's designated behavior is freeing that resource. E.g. efree()
- - The function is given a boolean argument, that controls whether or not
- the function may free its arguments (if true - the function must free its
- arguments, if false - it must not)
- - Low-level parser routines, that are tightly integrated with the token
- cache and the bison code for minimum memory copying overhead.
-
-[2] Functions that are tightly integrated with other functions within the
- same module, and rely on each other non-trivial behavior, should be
- documented as such and declared 'static'. They should be avoided if
- possible.
-
-[3] Use definitions and macros whenever possible, so that constants have
- meaningful names and can be easily manipulated. The only exceptions
- to this rule are 0 and 1, when used as false and true (respectively).
- Any other use of a numeric constant to specify different behavior
- or actions should be done through a #define.
-
-[4] When writing functions that deal with strings, be sure to remember
- that PHP holds the length property of each string, and that it
- shouldn't be calculated with strlen(). Write your functions in a such
- a way so that they'll take advantage of the length property, both
- for efficiency and in order for them to be binary-safe.
- Functions that change strings and obtain their new lengths while
- doing so, should return that new length, so it doesn't have to be
- recalculated with strlen() (e.g. php_addslashes())
-
-[5] Use php_error() to report any errors/warnings during code execution.
- Use descriptive error messages, and try to avoid using identical
- error strings for different stages of an error. For example,
- if in order to obtain a URL you have to parse the URL, connect,
- and retreive the text, assuming something can go wrong at each
- of these stages, don't report an error "Unable to get URL"
- on all of them, but instead, write something like "Unable
- to parse URL", "Unable to connect to URL server" and "Unable
- to fetch URL text", respectively.
-
-[6] NEVER USE strncat(). If you're absolutely sure you know what you're doing,
- check its man page again, and only then, consider using it, and even then,
- try avoiding it.
-
-[7] Use ZEND_* macros instead of PHP_* macros. Use of PHP_* macros is not
- recommended. Since most of the PHP_* macros are ZEND_* macro aliases, using
- the PHP_* macros makes browsing the source code with a tag search harder.
-
-[8] Use assert(). assert.h is included in php.h if it is available. Not only
- does good assertion catch bugs, but it also helps with code readability.
- - Do not use assert for error handling. Use assert only for the
- condition that must be always true.
- - Do not use assignments in assert conditions. If you assign inside an
- assert condition, you risk an elusive bug that would be very difficult
- to spot in a debug build, due to the side effect of the assignment.
- Function calls in assert conditions may also cause this problem, if
- they modify one of their arguments or global variables.
-
-Naming Conventions
-------------------
-
-[1] Function names for user-level functions should be enclosed with in
- the PHP_FUNCTION() macro. They should be in lowercase, with words
- underscore delimited, with care taken to minimize the letter count.
- Abbreviations should not be used when they greatly decrease the
- readability of the function name itself.
-
- Good:
- 'mcrypt_enc_self_test'
- 'mysql_list_fields'
-
- Ok:
- 'mcrypt_module_get_algo_supported_key_sizes'
- (could be 'mcrypt_mod_get_algo_sup_key_sizes'?)
- 'get_html_translation_table'
- (could be 'html_get_trans_table'?)
-
- Bad:
- 'hw_GetObjectByQueryCollObj'
- 'pg_setclientencoding'
- 'jf_n_s_i'
-
-
-[2] If they are part of a "parent set" of functions, that parent should
- be included in the user function name, and should be clearly related
- to the parent program or function family. This should be in the form
- of parent_*.
-
- A family of 'foo' functions, for example:
- Good:
- 'foo_select_bar'
- 'foo_insert_baz'
- 'foo_delete_baz'
-
- Bad:
- 'fooselect_bar'
- 'fooinsertbaz'
- 'delete_foo_baz'
-
-[3] Function names used by user functions should be prefixed
- with "_php_", and followed by a word or an underscore-delimited list of
- words, in lowercase letters, that describes the function. If applicable,
- they should be declared 'static'.
-
-[4] Variable names must be meaningful. One letter variable names must be
- avoided, except for places where the variable has no real meaning or
- a trivial meaning (e.g. for (i=0; i<100; i++) ...).
-
-[5] Variable names should be in lowercase. Use underscores to separate
- between words.
-
-
-Syntax and indentation
-----------------------
-
-[1] Never use C++ style comments (i.e. // comment). Always use C-style
- comments instead. PHP is written in C, and is aimed at compiling
- under any ANSI-C compliant compiler. Even though many compilers
- accept C++-style comments in C code, you have to ensure that your
- code would compile with other compilers as well.
- The only exception to this rule is code that is Win32-specific,
- because the Win32 port is MS-Visual C++ specific, and this compiler
- is known to accept C++-style comments in C code.
-
-[2] Use K&R-style. Of course, we can't and don't want to
- force anybody to use a style he or she is not used to, but,
- at the very least, when you write code that goes into the core
- of PHP or one of its standard modules, please maintain the K&R
- style. This applies to just about everything, starting with
- indentation and comment styles and up to function declaration
- syntax.
-
- (see also http://www.tuxedo.org/~esr/jargon/html/entry/indent-style.html)
-
-[3] Be generous with whitespace and braces. Always prefer:
-
- if (foo) {
- bar;
- }
-
- to:
-
- if(foo)bar;
-
- Keep one empty line between the variable declaration section and
- the statements in a block, as well as between logical statement
- groups in a block. Maintain at least one empty line between
- two functions, preferably two.
-
-[4] When indenting, use the tab character. A tab is expected to represent
- four spaces. It is important to maintain consistency in indenture so
- that definitions, comments, and control structures line up correctly.
-
-Documentation and Folding Hooks
--------------------------------
-
-In order to make sure that the online documentation stays in line with
-the code, each user-level function should have its user-level function
-prototype before it along with a brief one-line description of what the
-function does. It would look like this:
-
-/* {{{ proto int abs(int number)
- Returns the absolute value of the number */
-PHP_FUNCTION(abs)
-{
- ...
-}
-/* }}} */
-
-The {{{ symbols are the default folding symbols for the folding mode in
-Emacs and vim (set fdm=marker). Folding is very useful when dealing with
-large files because you can scroll through the file quickly and just unfold
-the function you wish to work on. The }}} at the end of each function marks
-the end of the fold, and should be on a separate line.
-
-The "proto" keyword there is just a helper for the doc/genfuncsummary script
-which generates a full function summary. Having this keyword in front of the
-function prototypes allows us to put folds elsewhere in the code without
-messing up the function summary.
-
-Optional arguments are written like this:
-
-/* {{{ proto object imap_header(int stream_id, int msg_no [, int from_length [, int subject_length [, string default_host]]])
- Returns a header object with the defined parameters */
-
-And yes, please keep the prototype on a single line, even if that line
-is massive.
-
-New and Experimental Functions
------------------------------------
-To reduce the problems normally associated with the first public
-implementation of a new set of functions, it has been suggested
-that the first implementation include a file labeled 'EXPERIMENTAL'
-in the function directory, and that the functions follow the
-standard prefixing conventions during their initial implementation.
-
-The file labelled 'EXPERIMENTAL' should include the following
-information:
- Any authoring information (known bugs, future directions of the module).
- Ongoing status notes which may not be appropriate for CVS comments.
-
-Aliases & Legacy Documentation
------------------------------------
-You may also have some deprecated aliases with close to duplicate
-names, for example, somedb_select_result and somedb_selectresult. For
-documentation purposes, these will only be documented by the most
-current name, with the aliases listed in the documentation for
-the parent function. For ease of reference, user-functions with
-completely different names, that alias to the same function (such as
-highlight_file and show_source), will be separately documented. The
-proto should still be included, describing which function is aliased.
-
-Backwards compatible functions and names should be maintained as long
-as the code can be reasonably be kept as part of the codebase. See
-/phpdoc/README for more information on documentation.
diff --git a/CREDITS b/CREDITS
deleted file mode 100644
index 42549a2773..0000000000
--- a/CREDITS
+++ /dev/null
@@ -1,2 +0,0 @@
-For the list of people who've put work into PHP, please see
-http://www.php.net/credits.php
diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644
index c388697c7d..0000000000
--- a/ChangeLog
+++ /dev/null
@@ -1,15660 +0,0 @@
-2002-06-28 Rasmus Lerdorf <rasmus@lerdorf.on.ca>
-
- * sapi/apache/config.m4: Fix for bug #18055
-
-2002-06-28 Anil Madhavapeddy <anil@recoil.org>
-
- * ext/pdf/config.m4:
- remember the value of ext_shared passed into the --with-pdflib, since it
- gets overwritten by future PHP_ARG_WITH checks in the same m4 fragment
-
- from wilfried@openbsd.org
-
-2002-06-28 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * sapi/apache2filter/README: Mention Apache 2.0.40.
-
-2002-06-28 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/db/db.c: - More gotchas...
-
- * ext/msession/msession.c: - Fix more TSRM gotchas
-
-2002-06-28 Jani Taskinen <sniper@iki.fi>
-
- * sapi/apache2filter/config.m4: Require 2.0.40
-
-2002-06-28 Derick Rethans <d.rethans@jdimedia.nl>
-
- * sapi/apache2filter/sapi_apache2.c: - YAAC: I hope this is the last one!
-
- * ext/imap/php_imap.c: - Fix TSRM gotcha
-
-2002-06-28 Jani Taskinen <sniper@iki.fi>
-
- * ext/gd/gd.c: t1lib.h needs to be included here now.
-
- * ext/gd/gd.c
- ext/gd/php_gd.h: Moved all gd.h related stuff to gd.c
-
- * ext/gd/php_gd.h: Remove unnecessary #include's
-
- * ext/gd/gdt1.c
- ext/gd/gdt1.h
- ext/gd/config.m4: Remove unused files.
-
-2002-06-28 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/hyperwave/hw.c
- ext/icap/php_icap.c
- ext/imap/php_imap.c: Unify error messages
-
-2002-06-28 Jani Taskinen <sniper@iki.fi>
-
- * ext/gd/gd.c: Fix bug: #14735
-
- * ext/gd/gd.c: Fix bug: #17528, do not crash with empty string.
-
- * sapi/apache2filter/config.m4: Fixed bug: #17491 (honor INSTALL_ROOT)
-
- * ext/mysql/libmysql/mysql_version.h: - Fix annoying redefine warning..
-
- * ext/gd/config.m4: - Fix bug: #17671
-
-2002-06-28 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/iconv/iconv.c: - Fix for bug #18039
-
- * ext/gd/gd.c
- ext/gd/gd_ctx.c
- ext/gd/gdt1.c: Unify error messages
-
-2002-06-28 Jani Taskinen <sniper@iki.fi>
-
- * ext/session/config.m4
- ext/session/mod_mm.c
- ext/session/mod_mm.h
- ext/session/session.c:
- - Fixed bug: #17977, session build as shared works now with mm handler too.
- - Added listing of save handlers into phpinfo() output
-
-2002-06-27 Jani Taskinen <sniper@iki.fi>
-
- * Makefile.global: Fix bug: #18008
-
- * ext/gd/gd.c: Consistency fix.
-
- * ext/imap/php_imap.c: - Fixed bug: #15595 (and possibly others too)
-
-2002-06-27 Sander Roobol <phy@wanadoo.nl>
-
- * ext/standard/Makefile.frag:
- Update configure line in phpinfo() after re-running configure without
- running make clean first, bug #18012.
-
-2002-06-27 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/filepro/filepro.c
- ext/ftp/php_ftp.c
- ext/fdf/fdf.c
- ext/fbsql/php_fbsql.c: Unify error messages
-
- * ext/ldap/ldap.c: - Remove \n
-
-2002-06-27 Jani Taskinen <sniper@iki.fi>
-
- * ext/imap/php_imap.c: - Cleaning up the mess..these are NOT zvals.
-
-2002-06-26 Jani Taskinen <sniper@iki.fi>
-
- * ext/imap/php_imap.c: MFH: fix for bug: #17999
-
- * ext/imap/php_imap.c: - Fixed bug: #17999
- - The errors should always be stored, but they are not supposed to be
- shown at request shutdown unless E_NOTICES are allowed.
-
-2002-06-26 Anil Madhavapeddy <anil@recoil.org>
-
- * ext/ncurses/config.m4:
- use LIBNAME consistently. Useful on systems like OpenBSD where the curses
- library is called 'curses' and not 'ncurses'
-
- * ext/ncurses/example1.php:
- the ncurses_getch() is in the wrong place and never gets run
-
-2002-06-26 Jani Taskinen <sniper@iki.fi>
-
- * ext/odbc/config.m4: Better not pollute the EXTRA_LIBS with libpaths.
-
-2002-06-26 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * main/spprintf.c: -xbuf_resize does not need to have return value
-
-2002-06-26 Derick Rethans <d.rethans@jdimedia.nl>
-
- * main/main.c
- main/php_globals.h
- php.ini-dist
- php.ini-recommended:
- - Implement Andrei's request for disabling memory leak reporting in debug
- builds.
-
- * ext/standard/credits_sapi.h: - And the SAPI too
-
- * ext/standard/credits_ext.h: - Update credits
-
- * ext/mime_magic/TODO: - Update TODO
-
- * ext/mime_magic/mime_magic.c: - Nuke some TSRMLS_FETCHes
-
-2002-06-26 Jani Taskinen <sniper@iki.fi>
-
- * build/buildcheck.sh: silence the warning when glibtool is not found..
-
-2002-06-26 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/gd/gd.c: - Fix build
-
- * Makefile.global:
- - Let make clean follow symlinks (tested on Linux, IRIX, Solaris, FreeBSD
- and Tru64)
-
- * ext/pgsql/config.m4: - Fix typo
-
- * ext/mcrypt/mcrypt.c: - Unify error messages
-
- * ext/mnogosearch/php_mnogo.c
- ext/msession/msession.c: Unify error messages
-
-2002-06-26 Sascha Schumann <sascha@schumann.cx>
-
- * build/buildcheck.sh:
- Prefer glibtool over libtool for Mac OS X compatibility
-
- Submitted by: various people, including blakers@mac.com
-
-2002-06-26 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/msql/php_msql.c
- ext/mssql/php_mssql.c
- ext/mysql/php_mysql.c: Unify error messages
-
-2002-06-26 Sascha Schumann <sascha@schumann.cx>
-
- * ext/interbase/interbase.c
- sapi/aolserver/aolserver.c:
- Fix code which makes wrong assumptions about the return value of snprintf.
-
- The AOLserver module did not use the return value, so simply drop it.
-
-2002-06-26 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/domxml/php_domxml.c
- ext/dba/dba.c
- ext/db/db.c: Unify error messages
-
-2002-06-26 Andi Gutmans <andi@zend.com>
-
- * ext/standard/var.c: - No idea why this wasn't crashing before.
-
-2002-06-26 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/cyrus/cyrus.c
- ext/cybercash/cybercash.c
- ext/curl/curl.c
- ext/cpdf/cpdf.c
- ext/com/COM.c
- ext/ccvs/ccvs.c
- ext/calendar/easter.c
- ext/bcmath/bcmath.c
- ext/aspell/aspell.c: Unify error messages
-
- * ext/ldap/ldap.c: - Unify error messages
-
-2002-06-25 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/gd/gd.c: map imageellipse to imagearc if missing
- fix warnings
-
- * ext/standard/image.c: bits/channels for gif
-
-2002-06-25 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/scripts/pear.in:
- change the include_path setting to be in the php space instead
- of doing in the interpreter line (seems to break FreeBSD)
-
-2002-06-25 Christian Stocker <chregu@phant.ch>
-
- * ext/domxml/php_domxml.c: should compile on windows again
-
- * ext/domxml/php_domxml.h: include libxml/parserInternals.h
-
-2002-06-25 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/gd/gd.c
- ext/gd/config.m4: imageellipse is removed in 2.01
-
-2002-06-25 Derick Rethans <d.rethans@jdimedia.nl>
-
- * NEWS: - Update NEWS
-
-2002-06-25 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/sockets/sockets.c: - Fix proto.
-
-2002-06-24 Jani Taskinen <sniper@iki.fi>
-
- * NEWS: Minor cleanup.
-
-2002-06-24 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/tests/003.phpt
- ext/exif/tests/test3.jpg: modified test3 (old one had a warning)
-
- * ext/standard/image.c: missing return value
-
- * NEWS: cleanup
-
- * ext/exif/exif.c
- ext/standard/image.c
- ext/standard/php_image.h
- ext/standard/basic_functions.c:
- register IMAGETYPE_<xxx> constants in image.c as they are needed
- there.
-
-2002-06-24 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/gd/config.m4
- ext/gd/gd.c:
- - Make functions not exist when they are not available. This means you can
- now safely do function_exists() on all gd functions.
-
-2002-06-24 Marko Karppinen <karppinen@pobox.com>
-
- * ext/xslt/php_sablot.h
- ext/xslt/sablot.c: Revert to php_4_2_1 to get sablotron working again.
-
-2002-06-24 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/exif.c
- ext/standard/image.c
- ext/standard/php_image.h:
- GetImageSize now allways set fields unknown to 0 and new Imagetype
- iff.
-
-2002-06-24 Christian Stocker <chregu@phant.ch>
-
- * ext/domxml/TODO: added some points to the todo list
-
-2002-06-24 Rasmus Lerdorf <rasmus@lerdorf.on.ca>
-
- * sapi/apache2filter/sapi_apache2.c:
- Add runtime Apache2 thread check to ensure we don't run a non-threaded
- PHP inside a threaded Apache2 MPM.
-
-2002-06-24 Martin Jansen <mail@martin-jansen.de>
-
- * pear/PEAR/Command/Remote.php: * Rephrase help text.
-
-2002-06-24 Rasmus Lerdorf <rasmus@lerdorf.on.ca>
-
- * sapi/apache2filter/config.m4
- sapi/apache2filter/sapi_apache2.c:
- Turn off ZTS if Apache2 is using the prefork MPM.
-
-2002-06-24 Jani Taskinen <sniper@iki.fi>
-
- * configure.in:
- - gethostname() is found in glibc (at least on Linux) and the yp_* funcs
- are in libnsl. Fixes bug: #17941
-
- * NEWS: ..unless someone adds all the missing ones.. :)
-
- * ext/mcal/config.m4: Fix the shared build properly.
-
- * acinclude.m4:
- Fixed PHP_ADD_LIBRARY_DEFER_WITH_PATH to work with shared builds.
-
-2002-06-24 Edin Kadribasic <edink@proventum.net>
-
- * sapi/apache2filter/CREDITS
- sapi/apache2filter/README
- sapi/apache2filter/apache_config.c
- sapi/apache2filter/php_apache.h
- sapi/apache2filter/php_functions.c
- sapi/apache2filter/sapi_apache2.c: MFH
-
-2002-06-24 Jani Taskinen <sniper@iki.fi>
-
- * ext/ldap/config.m4: No need to have multiple AC_CHECK_FUNCS calls
-
-2002-06-24 Derick Rethans <d.rethans@jdimedia.nl>
-
- * Makefile.in:
- - Fix make install to respect the prefix= argument (patch by Troels Arvin
- <troels@arvin.dk>)
-
- * ext/mcal/config.m4:
- - Fix building a shared extension (patch by Troels Arvin <troels@arvin.dk>)
-
- * ext/sysvsem/php_sysvsem.h
- ext/sysvsem/sysvsem.c
- ext/standard/versioning.c: - MFH
-
-2002-06-24 Edin Kadribasic <edink@proventum.net>
-
- * win32/time.c
- win32/time.h: MFH
-
-2002-06-24 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/standard/string.c: - MFH
-
- * ext/standard/math.c: - Fix the MFH :)
-
- * ext/standard/basic_functions.c: - MFH
-
- * ext/mcrypt/mcrypt.c: - Partly MFH
-
- * ext/standard/math.c
- ext/gmp/config.m4: - MFH
-
-2002-06-24 Sascha Schumann <sascha@schumann.cx>
-
- * buildconf: iterate through passed arguments
-
-2002-06-23 Edin Kadribasic <edink@proventum.net>
-
- * win32/time.c
- win32/time.h:
- Allow dynamically compiled extensions to use gettimeofday() on win32.
-
-2002-06-23 Sterling Hughes <sterling@bumblebury.com>
-
- * ext/imap/php_imap.c: standardize a bit (we know its enabled :)
-
-2002-06-23 Derick Rethans <d.rethans@jdimedia.nl>
-
- * sapi/apache2filter/php_functions.c: - MFH
-
-2002-06-23 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * main/snprintf.h:
- explain difference between sprintf, snprintf and spprintf
-
- * main/spprintf.h:
- * main/spprintf.c: -freeing memory for pbuf=NULL
-
- * main/spprintf.c: -allow pbuf = NULL in case of NO MEMORY, too
-
- * main/spprintf.c: -allways terminate buffer
- -allow pbuf parameter to be NULL for buffer size calculation
-
-2002-06-23 Stefan Esser <s.esser@e-matters.de>
-
- * main/rfc1867.c: MFH: several fixes to fileupload code
-
- * ext/standard/mail.c: merged in the filtering control chars patch
-
- * ext/standard/link.c: MFH: link/symlink safe_mode/open_base_dir fix
-
- * main/SAPI.c: MFH: replace header fix, content-type header handling fix
-
-2002-06-23 James Cox <james@blog.at>
-
- * buildconf:
- some people would prefer to be able to specify. So, we specify --ZendEngine2 for ZE2 builds, Zend for the rest.
-
- * build/build.mk
- buildconf:
- changing this to mv ZendEngine2 Zend instead of shell logic that isn't portable.
-
-2002-06-23 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * main/main.c: -unlimited php_printf
-
- * ext/exif/exif.c
- ext/standard/basic_functions.c
- ext/standard/image.c
- ext/standard/php_image.h:
- -imagetype2mimetype renamed to image_type_to_mime_type
-
- * ext/exif/tests/004.phpt
- ext/exif/tests/test4.jpg: -new test for WinXP tags
-
- * ext/exif/tests/003.phpt: -fix test results
-
- * run-tests.php: -make it run again
-
- * main/snprintf.c: -compiler warning (missing data type)
-
- * ext/exif/tests/001.phpt: -corrected test result
-
-2002-06-22 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/exif.c
- ext/standard/php_image.h: -exif version
- -missing constant (and notice)
- -corrected error messages
-
- * ext/exif/exif.c:
- exif_read_data returns mime-type now for image and thumbnail And exif_thumbnail now optionally returns imagetype.
-
- * ext/standard/basic_functions.c
- ext/standard/image.c
- ext/standard/php_image.h:
- GetImageSize now returns additional index 'MimeType' and new function
- imagetype2mimetype to convert php imagetypes to mime-types.
-
- * ext/standard/image.c: ws fix
-
-2002-06-22 Stig Venaas <venaas@uninett.no>
-
- * ext/ldap/ldap.c:
- Better not include ldap_parse_result() and ldap_start_tls() at all in
- the symbol table when they are not usable. Makes it possible to check
- on their usability.
-
-2002-06-22 Sander Roobol <phy@wanadoo.nl>
-
- * sapi/apache2filter/apache_config.c:
- Made php_admin_value work outside <location> and <directory> blocks.
-
-2002-06-22 Andi Gutmans <andi@zend.com>
-
- * sapi/cgi/cgi_main.c: - Revert WS changes
-
- * sapi/cgi/cgi_main.c: - This shouldn't have snuck in.
-
- * sapi/cgi/cgi_main.c: - Stop using persist_alloc().
-
-2002-06-22 Stig Venaas <venaas@uninett.no>
-
- * ext/ldap/config.m4
- ext/ldap/ldap.c: Added test for ldap_start_tls_s()
-
-2002-06-22 Den V. Tsopa <tdv@edisoft.ru>
-
- * ext/mbstring/mbfilter.c: small fix in preprocessor directive
-
-2002-06-21 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/ldap/ldap.c: - Fix ZTS build, see #17915.
-
-2002-06-21 Stefan Esser <s.esser@e-matters.de>
-
- * sapi/apache2filter/sapi_apache2.c
- sapi/nsapi/nsapi.c
- sapi/apache/mod_php4.c: Fixing the same possible memory leak.
-
-2002-06-21 Edin Kadribasic <edink@proventum.net>
-
- * main/config.w32.h.in: Made pgsql compile on win32 again.
- All defines regarding libpq capabilities are kept in ext/pgsql/pgsql.dsp
- where HAVE_PQESCAPE is already defined.
-
-2002-06-21 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Command/Remote.php: * typo
-
-2002-06-21 Harald Radi <harald.radi+coding.php@nme.at>
-
- * ext/com/COM.c:
- removed CONST_EFREE_PERSISTENT so that andi can commit his patch
-
-
-2002-06-21 Derick Rethans <d.rethans@jdimedia.nl>
-
- * main/SAPI.c
- main/SAPI.h
- sapi/pi3web/pi3web_sapi.c
- sapi/tux/php_tux.c
- ext/standard/head.c:
- - Added a new parameter to the header() function which overrides the HTTP
- response code.
- - Added a new parameter to the header() function which overrides the HTTP
- response code.
-
-2002-06-21 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Config.php: * bending over backwards to find sensible defaults
-
-2002-06-21 Jani Taskinen <sniper@iki.fi>
-
- * ext/gmp/config.m4: Make this extension compile as shared extension too.
-
-2002-06-20 Sander Roobol <phy@wanadoo.nl>
-
- * ext/mime_magic/mime_magic.c: ZTS fixes
-
-2002-06-20 James Cox <james@blog.at>
-
- * build/build.mk: oops..
-
- * build/build.mk: make "make snapshot" work again..
-
- * build/build.mk: fixing to permit builds with ZE2
-
-2002-06-20 Uwe Steinmann <Uwe.Steinmann@fernuni-hagen.de>
-
- * ext/domxml/php_domxml.c:
- - take version of libxslt and libxml from runtime variables to make
- sure the reported versions correspond to the actually installed
- versions of libxml and libxslt
-
-2002-06-20 Yasuo Ohgaki <yohgaki@ohgaki.net>
-
- * NEWS: Added missing NEWS entry for a bug fix.
-
-2002-06-19 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Frontend/CLI.php
- pear/PEAR/Command/Remote.php
- pear/PEAR/Command/Registry.php
- pear/PEAR/Command/Install.php
- pear/PEAR/Registry.php
- pear/PEAR/Config.php
- pear/PEAR/Dependency.php
- pear/PEAR/Installer.php
- pear/PEAR/Common.php:
- - Force params to version_compare() to be strings, otherwise some
- comparations will fail (ex. 0.9 will be equal to 0.90)
- - Other minor cleanup's
-
- * pear/PEAR/Installer.php:
- Do NOT allow install packages with errors in its description file
-
-2002-06-19 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/mbstring/mbstring.c:
- correct handling/generating of php_mbstr_default_identify_list
-
-2002-06-19 Christian Stocker <chregu@phant.ch>
-
- * ext/domxml/php_domxml.c: - Make domxml_xslt_process() working again.
-
-2002-06-19 Sander Roobol <phy@wanadoo.nl>
-
- * ext/standard/info.c: Made the API versions appear better on phpinfo();
-
-2002-06-19 Alan Knowles <alan@akbkhome.com>
-
- * pear/Date/Calc.php:
- Fixed Undefined index: 06 in ..... - commit to correct branch
-
- * pear/Date/Calc.php: Fixed Undefined index: 06 in .....
-
-2002-06-19 Jani Taskinen <sniper@iki.fi>
-
- * ext/gd/config.m4: Fix bug: #17130
-
-2002-06-19 Edin Kadribasic <edink@proventum.net>
-
- * main/streams.c: No need to check for allow_url_fopen here.
-
-2002-06-19 Jani Taskinen <sniper@iki.fi>
-
- * main/main.c: Use correct macro for boolean ini values.
-
-2002-06-18 Stig Venaas <venaas@uninett.no>
-
- * ext/standard/array.c:
- Made array_unique() always keep the first occurrences of duplicates,
- making the behavior easier to understand, and maybe more useful.
-
-2002-06-18 Andi Gutmans <andi@zend.com>
-
- * ext/bcmath/bcmath.c
- ext/bcmath/php_bcmath.h:
- - Nuke use of persist_alloc(). This can't be used with a new memory manager
-
-2002-06-18 Stefan Esser <s.esser@e-matters.de>
-
- * main/SAPI.c:
- fix: appending the default charset to text/ content types never worked
- fix: removed double free
-
-2002-06-18 Jan Lehnardt <jan@dasmoped.net>
-
- * ext/standard/array.c: - WS-fixes
-
-2002-06-18 Stefan Esser <s.esser@e-matters.de>
-
- * main/SAPI.c: keep fingers away from already freed memory.
-
-2002-06-18 Hartmut Holzgraefe <hartmut@six.de>
-
- * ext/standard/file.c:
- - fixed bug in enclosure handling (was still hardcoded to '"' in one place)
- - added possibility to pass empty enclosure if you really don't want one
-
-2002-06-18 Sander Roobol <phy@wanadoo.nl>
-
- * ext/standard/string.c
- ext/standard/tests/strings/add-and-stripslashes.phpt:
- Fixed stripslashes when magic_quotes_sybase is enabled, and add a test for
- add- and stripslashes().
-
- * ext/standard/tests/strings/add-and-stripslashes.phpt:
- Fix stripslashes when magic_quotes_sybase is enabled, and add a test for
- add- and stripslashes().
-
-2002-06-18 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/standard/var.c: - Fix for bug #16065
-
-2002-06-18 Sander Roobol <phy@wanadoo.nl>
-
- * main/SAPI.c:
- Patch by Michael Sisolak <msisolak@yahoo.com> to make header() honor the
- replace parameter. Closes #16458.
-
-2002-06-18 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/zlib/zlib.c: - oops... read before commit :)
-
- * ext/zlib/zlib.c:
- - It doesn't work from within a script... so we disallow it
-
-2002-06-18 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/package-PEAR.xml: "Release notes"++
-
-2002-06-18 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/dbx/dbx_sybasect.c: - User proper macros as suggested by Marc.
-
- * ext/domxml/php_domxml.c: - Fix ZTS build.
-
-2002-06-18 Jani Taskinen <sniper@iki.fi>
-
- * ext/mbstring/mbstring.c: Fixed bug: #17137, test pass still
-
-2002-06-18 Edin Kadribasic <edink@proventum.net>
-
- * ext/standard/math.c: ZTS fix.
-
- * ext/standard/math.c:
- Check for +/- infinity in base_convert (bug #14807).
-
-2002-06-17 Sergey Kartashoff <gluke@biosys.net>
-
- * ext/mnogosearch/php_mnogo.c:
-2002-06-17 Andrei Zmievski <andrei@php.net>
-
- * NEWS: Fix.
-
- * NEWS: *** empty log message ***
-
- * ext/standard/reg.c: MFH
-
- * ext/standard/reg.c: Applied fix for #17764.
-
-2002-06-17 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR.php:
- Dropped case insentive ext search in PEAR::loadExtension()
-
- * pear/PEAR.php: Typo in the folding mark
-
-2002-06-17 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Config.php:
- * php-4.2.1-installer.exe for Windows is installed in c:\php by
- default, but it has PHP_SYSCONFDIR set to c:\php4. workaround.
-
-2002-06-17 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Dependency.php:
- Use the new PEAR::loadExtension() in checkExtension() instead
- of the "hack"
-
- * pear/PEAR.php:
- Added PEAR::loadExtension($ext) - OS independant PHP extension load
-
-
- * pear/PEAR.php: trailing ws
-
-2002-06-17 Hartmut Holzgraefe <hartmut@six.de>
-
- * ext/standard/formatted_print.c:
- making printf/sprintf locale-aware without external dependencies
-
- * ext/standard/string.c:
- fixed return types for ucwords/ucfirst when passed an empty string
-
-2002-06-17 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Remote.php: * doh
-
-2002-06-17 Alan Knowles <alan@akbkhome.com>
-
- * pear/PEAR/Common.php: Fixing for the coding standard :)
-
-2002-06-17 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Remote.php:
- * add xmlrpc request to debug output (verbosity level 4+)
-
-2002-06-17 Alan Knowles <alan@akbkhome.com>
-
- * pear/PEAR/Common.php:
- Added Dependancy check on XML - previously pear installer failed silently
-
-2002-06-17 Jani Taskinen <sniper@iki.fi>
-
- * ext/dbase/dbase.c:
- - Made dbase_get_record() and dbase_get_record_with_names use same backend
- function as they both do same thing, just the output is different.
-
- Fixes also bug #17762 as side effect.
-
-2002-06-16 Stefan Esser <s.esser@e-matters.de>
-
- * ext/standard/link.c: Fixed Bug #17790
-
- - link and symlink now check uid and open_base_dir for link and its target
-
-2002-06-16 Hartmut Holzgraefe <hartmut@six.de>
-
- * ext/standard/formatted_print.c:
- reverted patch depending on not yet commited work
-
-2002-06-16 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/mcrypt/mcrypt.c: - Fix version in phpinfo();
-
-2002-06-16 Andi Gutmans <andi@zend.com>
-
- * configure.in: - Add zend_mm.c
-
-2002-06-16 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/package-PEAR.xml:
- Install the pear command under the bin_dir setting intead of the fixed
- PHP_BINDIR
-
-2002-06-16 Hartmut Holzgraefe <hartmut@six.de>
-
- * ext/standard/formatted_print.c: make sprinf() locale-aware (Bug# 12647)
-
-2002-06-16 Sander Roobol <phy@wanadoo.nl>
-
- * run-tests.php
- tests/php.ini:
- Made the tests (and not only run-tests.php) actually use php.ini-dist, and
- removed unused php.ini file.
-
-2002-06-16 Markus Fischer <mfischer@guru.josefine.at>
-
- * php.ini-recommended
- php.ini-dist: - List new session.use_only_cookies option.
-
-2002-06-16 Stig Bakken <ssb@fast.no>
-
- * pear/scripts/pear.in
- pear/package-PEAR.xml: * set include_path when running "pear"
-
-2002-06-16 Jani Taskinen <sniper@iki.fi>
-
- * ext/xmlrpc/xmlrpc-epi-php.c: Fixed bug: #17732.
-
- xmlrpc_decode_request() and xmlrpc_set_type() expect some parameters to be
- passed by reference.
-
-2002-06-15 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/gd/gd.c: - Be more verbose which index causes the warning.
-
- * ext/gd/gd.c: - Don't forget to close the stream.
-
-2002-06-15 Harald Radi <harald.radi+coding.php@nme.at>
-
- * ext/sockets/php_sockets_win.c
- ext/sockets/sockets.c: workaround for a win32 memleak
-
-2002-06-15 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * ext/gd/.cvsignore: Add new target directories.
-
-2002-06-14 Markus Fischer <mfischer@guru.josefine.at>
-
- * NEWS: - Update Win32/mail changes, mention bundled gd library.
-
-2002-06-14 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Installer.php:
- - Fix issue with the DIRECTORY_SEPARATOR, did make the install of
- XML_image2svg fail
- - TODO++ and others minor stuff
-
-2002-06-14 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Remote.php:
- * if verbosity config is > 3, display xmlrpc response
- * another bugfix
-
-2002-06-14 Andrei Zmievski <andrei@php.net>
-
- * NEWS: Fix.
-
-2002-06-14 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * ext/gd/gd_bundled.dsp
- win32/php_modules.dsw: Add gd_bundled to php_modules.dsw.
-
-2002-06-14 Alan Knowles <alan@akbkhome.com>
-
- * pear/PEAR/Command/Remote.php:
- remote list and remote listall, can now list non-stable packages if you set prefered_state to something else
-
- * pear/PEAR/Remote.php:
- Fixed XML RPC sending of args - lets try and get the right tag :)
-
- * pear/PEAR/Remote.php: Fixed XML RPC sending of args
-
-2002-06-14 Edin Kadribasic <edink@proventum.net>
-
- * ext/gd/libgd/gd.h: Use some more sane paths for win32 version.
-
-2002-06-14 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/gd/gd_bundled.dsp:
- - Remove freetype.lib and HAVE_LIBTTF; we're always linking against freetype2
- anyway.
-
-2002-06-14 Christian Stocker <chregu@phant.ch>
-
- * ext/domxml/php_domxml.c
- ext/domxml/php_domxml.h:
- - renamed domxml_parser_reference to domxml_parser_entitiy_reference
- - renamed domxml_cdata_block to domxml_parser_cdata_section
- (more consistent with the domxml_create_XXX methods)
- - added domxml_parser_processing_instruction(target,data)
- - added domxml_parser_namespace_decl(href,prefix)
-
- * ext/domxml/php_domxml.c
- ext/domxml/php_domxml.h: - oops, that didn't even compile
- - added domxml_parser_reference(reference)
-
- * ext/domxml/php_domxml.h
- ext/domxml/php_domxml.c:
- - Added preliminary SAX-Input support. It's now possible to build a DomDocument
- with SAX-Events (added domxml_parser_start_document(), domxml_parser_end_document(),
- domxml_parser_start_element(tagname[,attributes]), domxml_parser_end_element(tagname),
- domxml_parser_characters(characters), domxml_parser_cdata_block(cdata),
- domxml_parser_comment(comment), domxml_parser_get_document(). (chregu)
-
-2002-06-14 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * ext/standard/datetime.c
- win32/sendmail.c: Remove unused local variables.
-
-2002-06-14 Jani Taskinen <sniper@iki.fi>
-
- * ext/odbc/php_odbc_includes.h
- ext/odbc/php_odbc.h
- ext/odbc/config.m4
- ext/odbc/php_odbc.c:
- - Fixed bug #15803 (and propably others related too, part 2/2)
- . Changed the configure/compile so that it doesn't "pollute" the INCLUDES
- anymore and thus cause trouble with other extensions which
- might use the same header files. (e.g. Informix)
- . Separated the #include statements to own file so we don't get any
- errors when compiling main/internal_functions.c
-
- * ext/informix/php_informix_includes.h
- ext/informix/stub.c
- ext/informix/php_informix.h
- ext/informix/config.m4
- ext/informix/ifx.ec
- ext/informix/Makefile.frag:
- - Fixed bug #15803 (and propably others related too)
- . Changed the compile so that it doesn't "pollute" the INCLUDES
- anymore and thus cause trouble with other extensions which
- might use the same header files. (e.g. ODBC)
- . Some fixes for Informix compile problems (with the new build system)
- . Removed unnecessary stub.c file.
-
-2002-06-13 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/gd/gd_bundled.dsp:
- - Initial MSVC makefile to create a php_gd2.dll based on the bundled libgd,
- works out of the box here with the right image libs and headers.
-
- * win32/sendmail.c:
- - We don't need the check here because the regex makes sure we never have \r\n
- at the end of the header.
-
-2002-06-13 Jani Taskinen <sniper@iki.fi>
-
- * sapi/apache/mod_php4.c:
- Fixes bugs: #16653, #14534, #14370
-
-2002-06-13 Pierre-Alain Joye <pajoye@phpindex.com>
-
- * pear/Date/Calc.php:
- Fix isValid method : wrong order for the params to checkdate()
-
-2002-06-13 Stefan Esser <s.esser@e-matters.de>
-
- * win32/sendmail.c: Typo: == instead of =
-
- * win32/sendmail.c: - should fix bug#17753
-
-2002-06-13 Jani Taskinen <sniper@iki.fi>
-
- * ext/openssl/openssl.c: Fixed bug: #17751 (typo)
-
-2002-06-13 Stefan Esser <s.esser@e-matters.de>
-
- * ext/standard/mail.c:
- Fixed: possible bufferunderrun (worst case == invalid free bytes counter)
-
- Fixed: isXXXX macros need (unsigned char) cast
-
- Fixed: bug#17746 - control chars are now filtered within "to" and "subject" parameters
-
-2002-06-13 Andrei Zmievski <andrei@php.net>
-
- * ext/bz2/bz2.c: Typo.
-
-2002-06-13 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Registry.php: Change a little the dep db structure
- Comment the code and some clean up's
-
-2002-06-13 Andrei Zmievski <andrei@php.net>
-
- * ext/bz2/bz2.c: Fix #17650.
-
-2002-06-13 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Registry.php:
- More work on the dependencies DB (still not tested/used)
-
-2002-06-13 Christian Stocker <chregu@phant.ch>
-
- * ext/domxml/php_domxml.h
- ext/domxml/php_domxml.c:
- - Added DOMXML_LOAD_DONT_KEEP_BLANKS as possible mode, if one wants really nicely
- formatted XML-Documents (but this can have sideeffects, if you depend on whitespaces..)
- - bumped up domxml-api-version number.
-
- * ext/domxml/php_domxml.c
- ext/domxml/php_domxml.h:
- - Added better error-messages (3rd parameter) and validating of DTDs (2nd parameter) to
- domxml_open_mem(string xml[, int mode[, array errors]]) and domxml_open_file(string filename[, int mode[, array errors]]).
- - Added domxml_doc_validate([array errors]) for validating existing DomDocuments with a DTD.
-
-2002-06-13 Edin Kadribasic <edink@proventum.net>
-
- * sapi/cli/php_cli.c: MFH (fix for #17733)
-
- * sapi/cli/php_cli.c: Fix exit code (bug #17733).
-
-2002-06-13 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/imap/php_imap.c:
- - Fix for bug #14410 (Patch by C. McCohy <mccohy@kyberdigi.cz>).
-
-2002-06-13 Jani Taskinen <sniper@iki.fi>
-
- * ext/pcre/php_pcre.c: Fix build in ZTS mode
-
-2002-06-12 Jason Greene <jason@inetgurus.net>
-
- * NEWS: Fix entry
-
-2002-06-12 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Common.php: * comment typos
-
- * pear/package-PEAR.xml: * set working version to 0.91-dev
-
- * pear/Makefile.frag: * minor cleanup
-
- * LICENSE: * this should have been done last year :)
-
-2002-06-12 Andrei Zmievski <andrei@php.net>
-
- * ext/pcre/php_pcre.c
- NEWS:
- This patch adds ability to capture string offsets in the preg_match_*()
- results.
-
-2002-06-12 Jani Taskinen <sniper@iki.fi>
-
- * NEWS: typofix
-
- * ext/standard/basic_functions.c:
- - Fixed bug #17669. PG(magic_quotes_runtime) wasn't reset for each request.
-
- * NEWS: cleanup
-
-2002-06-12 Andrei Zmievski <andrei@php.net>
-
- * NEWS:
- set_error_handler() should take methods as callbacks. Also fixed it to report
- invalid callbacks.
-
- * ext/overload/overload.c
- NEWS: Properly return the result of __call() handler.
-
-2002-06-12 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/scripts/pear.bat:
- Attempt to make pear.bat work better under Windows
-
-2002-06-12 Hartmut Holzgraefe <hartmut@six.de>
-
- * ext/standard/datetime.c
- ext/standard/tests/time/003.phpt:
- fix for bug #10616 -> mktime() with negative date offsets not working on MacOSX
-
-2002-06-12 Christian Stocker <chregu@phant.ch>
-
- * ext/domxml/php_domxml.c: MFH (fixed domxml_get_element_by_id() )
-
- * ext/domxml/php_domxml.c: Fixed domxml_get_element_by_id()
-
-2002-06-12 Sascha Schumann <sascha@schumann.cx>
-
- * ext/session/session.c
- ext/session/php_session.h:
- This option enables administrators to make their users invulnerable to
- attacks which involve passing session ids in URLs.
-
-2002-06-12 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/bz2/bz2.c: - MFH fixes.
-
-2002-06-11 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/domxml/TODO: - Those have been implemented already.
-
- * main/streams.c: - Fix builtin gets() emulation (hopefully).
-
- * ext/bz2/bz2.c:
- - Fix bzcompress(), remove leaks and add some sanity check on emalloc()s.
-
- * TODO: - Add some recent observations with bz2.
-
- * main/streams.c: - Add missing Id tag.
-
- * main/streams.c:
- - Always \0 terminate data returned from _php_stream_copy_to_mem().
-
-2002-06-11 Pierre-Alain Joye <pajoye@phpindex.com>
-
- * pear/Date/Calc.php: Add comment to ::isLeapYear()
- Remove useless comment added during the last commit
-
- * pear/Date/Calc.php:
- Remove regexp and months checks and use the native php function checkdate()
- Keep year check, only 4 digits allowed
-
-2002-06-11 Jason Greene <jason@inetgurus.net>
-
- * TODO: Forgot one
-
- * TODO: Sockets currently works great with all compilers on Solaris
- Update TODO
-
-2002-06-11 Hartmut Holzgraefe <hartmut@six.de>
-
- * ext/mime_magic/TODO
- ext/mime_magic/mime_magic.c:
- now it works on streams (plus some debug code removed)
-
- * main/php_streams.h:
- macro definition fixed, guess it was the usual kind of cut&past bug?
-
-2002-06-11 Edin Kadribasic <edink@proventum.net>
-
- * sapi/cli/config.m4
- configure.in:
- Disable installing pear when --disable-cli is used since pear installer
- needs cli to function.
-
-2002-06-11 Markus Fischer <mfischer@guru.josefine.at>
-
- * TODO: - These things have been done already.
-
-2002-06-11 Jason Greene <jason@inetgurus.net>
-
- * ext/standard/fsock.c
- main/network.c
- main/php_network.h: Also fixed error handling on unix (micropatch)
-
- Closes Bug #14740
-
-2002-06-11 Jani Taskinen <sniper@iki.fi>
-
- * ext/mysql/config.m4
- NEWS: - Reverted last bogus commit and fixed the credits in NEWS.
-
-
-2002-06-10 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/pcre/php_pcre.c: - Typo.
-
-2002-06-10 Stig Bakken <ssb@fast.no>
-
- * ext/mysql/config.m4: Add --with-mysql-sock option (James Cox)
-
-2002-06-10 Markus Fischer <mfischer@guru.josefine.at>
-
- * win32/php4dllts.dsp: - Revert zlib.lib patch.
-
-2002-06-10 Harald Radi <harald.radi@nme.at>
-
- * ext/rpc/handler.h
- ext/rpc/php_rpc.h
- ext/rpc/rpc.c
- ext/rpc/rpc.h: pooling and singleton finally work
-
- * ext/rpc/tests/test1.php
- ext/rpc/tests/test2.php
- ext/rpc/tests/test3.php
- ext/rpc/tests/test4.php
- ext/rpc/tests/tests.php: new testcases
-
-2002-06-10 Frank M. Kromann <frank@kromann.info>
-
- * php.ini-dist
- php.ini-recommended
- ext/mssql/php_mssql.h
- ext/mssql/php_mssql.c: Adding ini setting for max_procs
-
-2002-06-10 Harald Radi <harald.radi@nme.at>
-
- * win32/php4dllts.dsp: mysql need zlib.lib now
-
-
-2002-06-10 Sergey Kartashoff <gluke@biosys.net>
-
- * ext/mnogosearch/php_mnogo.c:
-2002-06-10 Jan Lehnardt <jan@dasmoped.net>
-
- * ext/standard/array.c: - MFH (WS-fix)
-
- * ext/standard/array.c: - whitespace fix
-
-2002-06-10 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/mysql/libmysql/config-win.h
- win32/php4dllts.dsp: - Fix win32/mysql.
- - Revert cryptic WS commit on php4dllts.dsp.
-
-2002-06-10 Joseph Tate <jtate@mi-corporation.com>
-
- * ext/domxml/php_domxml.c:
-2002-06-10 Harald Radi <harald.radi@nme.at>
-
- * win32/php4dllts.dsp: mysql need zlib.lib now
-
- * ext/mysql/libmysql/my_wincond.c
- ext/mysql/libmysql/my_winthread.c: fix the build
-
-
-2002-06-10 Sergey Kartashoff <gluke@biosys.net>
-
- * ext/mnogosearch/php_mnogo.c:
- - MnoGoSearch extension compile fix with mnogosearch-3.2.4 and 3.2.5
-
-2002-06-10 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/standard/mail.c: - WS fix, damn win32.
-
-2002-06-10 Harald Radi <harald.radi@nme.at>
-
- * ext/standard/array.c: fix the build
-
-2002-06-10 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/standard/file.c: - Fix proto.
-
-2002-06-10 Sergey Kartashoff <gluke@biosys.net>
-
- * ext/mnogosearch/php_mnogo.c:
-2002-06-10 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/calendar/easter.c:
- - Fix easter_(days|date)()s first parameter now really defaults to the current
- year if ommited (it was document but didn't work).
-
-2002-06-10 Andrei Zmievski <andrei@php.net>
-
- * ext/standard/array.c
- NEWS:
- Fix bug #7045: shuffle() now provides consistent distribution of values
- in the array.
-
-2002-06-09 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/Makefile.frag: Commented out old unused stuff
-
-
- * pear/scripts/phptar.in: Moved to pear/Archive_Tar/scripts
-
- * pear/PEAR/Frontend/Gtk.php:
- if (!dl(php_gtk)) die("Unable to load the php_gtk extension\n");
-
- * pear/PEAR/Frontend/CLI.php:
- Beautify config-show output, some wrap changes and fix small
- issue with _tableRow() with line counting
-
-2002-06-09 Jani Taskinen <sniper@iki.fi>
-
- * NEWS: cleanup
-
-2002-06-09 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/install-pear.php: displayLine() -> outputData()
-
- * pear/PEAR/Frontend/CLI.php: - outputData($data, $command)
- + outputData($data, $command = '_default')
-
-2002-06-09 Harald Radi <harald.radi@nme.at>
-
- * ext/rpc/com/com.c
- ext/rpc/com/com.h: reflect the new abstraction changes in the demo layer
-
- * ext/rpc/handler.h
- ext/rpc/php_rpc.h
- ext/rpc/rpc.c
- ext/rpc/rpc.h
- ext/rpc/rpc_proxy.c: - using stas' abstraction now
- - layer can add individual ini settings now
- - classentries for the loaded rpc object are created dynamically now
- class hirarchy looks like: rpc<-[layer]<-[object] (e.g. rpc<-com<-adodb),
- thus the whole class tree is reflected into php
- - added user-functions to mark an object as a singleton and as poolable
-
-
- * main/config.w32.h.in:
- pg_escape_* functions were not available on win32 due to a missing define
-
-
-2002-06-09 Sander Roobol <phy@wanadoo.nl>
-
- * ext/dio/dio.c
- ext/gmp/gmp.c:
- Don't use headers if the module contains only one phpinfo() entry, just
- stick to ordinary rows.
-
- * ext/gd/config.m4
- ext/gd/gd.c:
- Made phpinfo() show if we're using the bundled version of GD
-
-2002-06-09 James Cox <james@blog.at>
-
- * ext/mysql/config.m4:
- dont test for the socket -- enables installs over NFS etc.
-
-2002-06-09 Sander Roobol <phy@wanadoo.nl>
-
- * ext/gd/config.m4:
- Fixed detection of JPEG support in bundled version of GD.
-
- * ext/mysql/config.m4: Fixed configure stuff
-
-2002-06-09 Andrei Zmievski <andrei@php.net>
-
- * ext/standard/php_rand.h
- ext/standard/rand.c: Make RAND_RANGE() an API macro.
-
-2002-06-09 Jani Taskinen <sniper@iki.fi>
-
- * ext/hwapi/config.m4: De-messify
-
- * ext/mysql/config.m4: Cleaned up the mess. Now it actually works too.
-
-2002-06-08 Christian Dickmann <chrisdicki@gmx.de>
-
- * pear/PEAR/Command/Config.php
- pear/PEAR/Command/Remote.php: add modes to list-all. fix a mergerbug
-
-2002-06-08 Sascha Schumann <sascha@schumann.cx>
-
- * sapi/apache2filter/sapi_apache2.c: too many flushes are bad
-
-2002-06-08 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Installer.php:
- Hopefully fixed a couple of problems with destination paths:
- - Bug #17529
- - In Windows getting <pear>\/\<file>
- - Documentation under <doc_dir>/Package/Package/
-
-
-2002-06-08 Andrei Zmievski <andrei@php.net>
-
- * NEWS: *** empty log message ***
-
-2002-06-08 James Cox <james@blog.at>
-
- * ext/mysql/config.m4:
- added support for --with-mysql-sock so people can specify it (eg, NFS compiles, etc)
- changed the default mysql.sock location to use the one from the RPM. Added /usr/local
- locations to the search list. (imajes)
-
-2002-06-08 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/standard/info.c
- main/php_streams.h
- main/streams.c:
- - Since streams are always enabled, instead of just printing 'enabled' we tell
- what streams are currently registered.
-
-2002-06-07 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Registry.php:
- Experimental dependencies database handling functions
- (not yet in production)
-
-2002-06-07 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * main/config.w32.h.in:
- Unbreak build by setting PHP_PREFIX to c:\php4 for now.
-
- * main/config.w32.h.in: Fugbix typo.
-
-2002-06-07 Zak Greant <zak@mysql.com>
-
- * ext/mysql/libmysql/strmake.c
- ext/mysql/libmysql/strto.c
- ext/mysql/libmysql/strtoll.c
- ext/mysql/libmysql/strtoull.c
- ext/mysql/libmysql/thr_alarm.h
- ext/mysql/libmysql/violite.c
- ext/mysql/libmysql/my_pthread.h
- ext/mysql/libmysql/my_realloc.c
- ext/mysql/libmysql/my_static.c
- ext/mysql/libmysql/my_sys.h
- ext/mysql/libmysql/my_tempnam.c
- ext/mysql/libmysql/my_thr_init.c
- ext/mysql/libmysql/my_wincond.c
- ext/mysql/libmysql/my_winthread.c
- ext/mysql/libmysql/my_write.c
- ext/mysql/libmysql/mysql.h
- ext/mysql/libmysql/mysql_com.h
- ext/mysql/libmysql/mysql_version.h
- ext/mysql/libmysql/mysqld_error.h
- ext/mysql/libmysql/net.c
- ext/mysql/libmysql/raid.h
- ext/mysql/libmysql/config-win.h
- ext/mysql/libmysql/ctype.c
- ext/mysql/libmysql/dbug.c
- ext/mysql/libmysql/dbug.h
- ext/mysql/libmysql/default.c
- ext/mysql/libmysql/dll.c
- ext/mysql/libmysql/errmsg.c
- ext/mysql/libmysql/errmsg.h
- ext/mysql/libmysql/get_password.c
- ext/mysql/libmysql/global.h
- ext/mysql/libmysql/libmysql.c
- ext/mysql/libmysql/list.c
- ext/mysql/libmysql/m_string.h
- ext/mysql/libmysql/mf_casecnv.c
- ext/mysql/libmysql/mf_dirname.c
- ext/mysql/libmysql/mf_format.c
- ext/mysql/libmysql/mf_path.c
- ext/mysql/libmysql/my_compress.c
- ext/mysql/libmysql/my_create.c
- ext/mysql/libmysql/my_getwd.c
- ext/mysql/libmysql/my_init.c
- ext/mysql/libmysql/my_lib.c
- ext/mysql/libmysql/my_malloc.c
- ext/mysql/libmysql/my_open.c
- ext/mysql/libmysql/my_pthread.c
- ext/mysql/libmysql/charset.c:
- Updating embedded libmysql to version 3.23.48
-
-2002-06-07 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Command/Remote.php
- pear/PEAR/Frontend/CLI.php: Beautify remote-info
-
-2002-06-07 Joseph Tate <jtate@mi-corporation.com>
-
- * ext/domxml/php_domxml.c
- ext/domxml/php_domxml.h:
- Added aliases to make attr_node access functions more consistent.
- Old access functions are now deprecated.
- CVS: ----------------------------------------------------------------------
- CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
- CVS:
- CVS: Committing in .
- CVS:
- CVS: Modified Files:
- CVS: php_domxml.c
- CVS: ----------------------------------------------------------------------
-
-2002-06-07 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Command/Config.php:
- - Reapplied the "treat umask as octal in "config-set"
- command" Stig's patch
- - Ported the config-help command to new UI API
-
- * pear/PEAR/Frontend/CLI.php: more wrapping cases
-
-2002-06-07 Stig Bakken <ssb@fast.no>
-
- * main/config.w32.h.in: * fix SHLIB_SUFFIX_NAME define for Windows
-
- * main/build-defs.h.in
- main/main.c
- configure.in: New constants: PHP_PREFIX and PHP_SHLIB_SUFFIX
-
-2002-06-07 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Common.php: Remove debug code
-
- * pear/PEAR/Command/Registry.php: More info output retouchs
-
- * pear/PEAR/Common.php: Fix some minor issues with the parsing
-
-2002-06-07 Stig Bakken <ssb@fast.no>
-
- * configure.in
- pear/Makefile.frag: * get rid of pearize
-
-2002-06-07 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Command/Registry.php:
- Make "info" full human friendly (in deps list and lastmodified)
-
- * pear/PEAR/Command/Common.php
- pear/PEAR/Command/Package.php:
- Make $_deps_rel_trans and $_deps_type_trans globally avaible:
- moved from Command/Package.php -> Command/Common.php
-
- * pear/scripts/pear.in: Be nicer with the help
-
- * pear/scripts/pear.in: ws
-
-2002-06-07 Stefan Esser <s.esser@e-matters.de>
-
- * main/rfc1867.c: - Stay always in buffer
-
-2002-06-07 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Command/Package.php
- pear/PEAR/Command/Registry.php:
- Put back the "info" command in its full state:
- "Displays information about a package. The package argument may be a
- local package file, an URL to a package file, or the name of an
- installed package."
- Command "package-info" depreciated (again)
-
- * pear/Net/SMTP.php:
- fix EOL handling in AUTH (patch from Scott Carr <scarr@progbits.com>)
-
- * pear/Net/SMTP.php: ws
-
-2002-06-06 Daniela Mariaschi <mariaschi@libero.it>
-
- * ext/interbase/interbase.c
- ext/interbase/php_interbase.h:
- Add control on Ib version. ibase_add_user(), ibase_modify_user()
- and ibase_delete_user() available with IB6 or later.
- fix bug #17184
-
- * ext/interbase/php_interbase.h:
- Add control on IB version. ibase_add_user(), ibase_modify_user()
- and ibase_delete_user() are available with IB6 or later
-
- * ext/interbase/interbase.c:
- Add control on the IB version. ibase_add_user(),ibase_modify_user()
- and ibase_delete_user() are available with IB6 or later
-
-2002-06-06 Markus Fischer <mfischer@guru.josefine.at>
-
- * NEWS: - Update
-
- * ext/dbx/dbx_sybasect.c: - Remove C++ comments.
-
- * ext/gd/libgd/gd.c: - Revert Ws thingy.
-
-2002-06-06 Jani Taskinen <sniper@iki.fi>
-
- * ext/mbstring/config.m4:
- Changed the configure option to be --enable/disable
-
-2002-06-06 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/Date/Calc.php:
- Added method Date_Calc::compareDates($day1,$month1,$year1,$day2,$month2,$year2)
-
- * pear/Date/Calc.php: ws+cs
-
-2002-06-06 Stig Bakken <ssb@fast.no>
-
- * pear/package-PEAR.xml: * prepare 0.90
-
- * pear/PEAR/Command/Install.php
- pear/PEAR/Installer.php:
- * add "nobuild" option to installer (-B or --nobuild option to CLI frontend)
-
- * pear/PEAR/Builder.php: * remove debug output
-
- * pear/PEAR/Builder.php:
- * when building, look for "package-version" subdirectory, needed for
- building stuff straight from tarballs
-
- * pear/PEAR/Common.php: * add PEAR_COMMON_PACKAGE_NAME_PREG constant
-
- * pear/PEAR/Frontend/CLI.php: * make displayFatalError work again
-
-2002-06-06 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Command/Package.php: Forgot that one
-
- * pear/PEAR/Frontend/CLI.php: Wrap table contents
-
- * pear/PEAR/Command/Registry.php:
- Implemented "pear info <Installed Package>" command
-
-
- * pear/PEAR/Command/Package.php:
- Split the doPackageInfo() in doPackageInfo() and _infoForDisplaying()
- (this last one can be statically called and is used also from
- the "info" command)
-
- * pear/package-Mail.xml: package.xml file for the PEAR Mail package
-
- * pear/PEAR/Command/Common.php: That will really avoid PHP warnings
-
- * pear/PEAR/Command/Package.php: Fix package command
-
-2002-06-06 Sergey Kartashoff <gluke@biosys.net>
-
- * ext/mnogosearch/php_mnogo.h
- ext/mnogosearch/php_mnogo.c:
-2002-06-05 Jani Taskinen <sniper@iki.fi>
-
- * ext/gd/libgd/gd.c: ws and indent fixes
-
- * ext/gd/libgd/gd.c: - Fixes a segfault reported in #17584
-
-2002-06-05 Markus Fischer <mfischer@guru.josefine.at>
-
- * win32/sendmail.c
- win32/sendmail.h:
- - Headers are now rewritten to always have \r\n line endings for SMTP.
- Also automatically removes superflous line breaks at
- the start and end of the header.
-
-2002-06-05 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/domxml/php_domxml.c:
- - Fix a problem in domxml_dump_mem(_file) with xmlKeepBlanksDefault not
- being set. (patch by Rob Richards <rrichards@digarc.com>)
-
-2002-06-05 Sergey Kartashoff <gluke@biosys.net>
-
- * ext/mnogosearch/php_mnogo.c:
-2002-06-05 Stefan Esser <s.esser@e-matters.de>
-
- * main/rfc1867.c:
- fixed multiline header detection (':' is valid within following lines)
- fixed fill_buffer to fill the buffer always completely
-
-2002-06-05 Sergey Kartashoff <gluke@biosys.net>
-
- * ext/mnogosearch/php_mnogo.c
- ext/mnogosearch/php_mnogo.h: more mnogosearch compilation fixes
-
-2002-06-05 Stefan Esser <s.esser@e-matters.de>
-
- * main/rfc1867.c:
- fixing some crashbugs that can be triggered with bogus uploads.
-
-2002-06-05 Sergey Kartashoff <gluke@biosys.net>
-
- * ext/mnogosearch/php_mnogo.h
- ext/mnogosearch/php_mnogo.c:
- MnoGoSearch extension fixes to compile under latest
- mnogosearch 3.2.4 and 3.2.5. Still does not compile with them,
- but the work still in progress...
-
-2002-06-04 Edin Kadribasic <edink@proventum.net>
-
- * win32/glob.c: Sync with openbsd glob.c 1.19
-
- * win32/glob.c: Removed some leftover debugging code.
-
-2002-06-04 Jani Taskinen <sniper@iki.fi>
-
- * ext/gd/config.m4:
- - Fixed the include paths for the needed libraries for bundled libgd.
- - Removed files which are not needed with libgd2 from the PHP_NEW_EXTENSION.
-
-2002-06-04 Edin Kadribasic <edink@proventum.net>
-
- * ext/pcntl/php_pcntl.h
- ext/pcntl/pcntl.c: Added function pcntl_alarm().
-
-2002-06-04 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Command/Registry.php: * sort package names in "pear list"
-
-2002-06-04 Joseph Tate <jtate@mi-corporation.com>
-
- * ext/domxml/php_domxml.c:
- * ext/domxml/php_domxml.c: Bug fix to #17560 submitted by Rob Richards
-
-2002-06-04 Mark L. Woodward <mlwmohawk@mohawksoft.com>
-
- * ext/msession/reqclient.h
- ext/msession/msession.c:
- Added persistent connections, and automattic reconnect on
- lost connections. Requires Phoenix 1.0
-
-2002-06-04 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/posix/posix.c: - Fix ZTS built.
-
-2002-06-04 Jani Taskinen <sniper@iki.fi>
-
- * ext/gd/gd.c: MFH: fix bug #17535
-
- * ext/gd/gd.c: Fixed bug: #17535
-
- * NEWS: fine tuning
-
- * ext/gd/config.m4:
- - Made the bundled libgd actually work. Fixed bug: #17244
-
-2002-06-03 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/posix/posix.c:
- - Move macro code into distinct function for easier debugging as suggested by
- Andi.
-
-2002-06-03 Harald Radi <h.radi@nme.at>
-
- * win32/php4dllts.dsp: fix build
-
-2002-06-03 Rasmus Lerdorf <rasmus@lerdorf.on.ca>
-
- * ext/standard/html.c: Make sure len is defined here
-
-2002-06-03 Edin Kadribasic <edink@proventum.net>
-
- * NEWS
- ext/standard/array.c: MFH
-
- * ext/standard/array.c: Fixed array_rand() on ZTS platforms.
-
-2002-06-03 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/posix/posix.c: - Fix isatty() and ttyname() (Closes #17323, #17333).
-
- * win32/sendmail.c: - Fix a leak and a crash.
-
- * win32/install.txt:
- - Add note about IIS/CGI and cgi.force_redirect gotcha
-
-2002-06-02 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Command.php: * fix bug that was re-introduced during merge
-
-2002-06-02 Markus Fischer <mfischer@guru.josefine.at>
-
- * win32/sendmail.c:
- - Only add the To: field with the $to parameter if we don't have it in the
- custom header. This was the behaviour < 4.2.x (but it was broken, this one
- isn't).
-
- * win32/sendmail.c:
- - Revert fix for #14407. The From: header field IS different from the
- sendmail_from field which is in fact the retturn path.
-
- * win32/sendmail.c:
- - Try to fix most of the buffer overflows and dynamically allocate memory where
- applicable.
-
-2002-06-02 Adam Dickmeiss <adam@indexdata.dk>
-
- * ext/yaz/php_yaz.c: Use ZOOM API for newer YAZ versions.
-
- * ext/yaz/config.m4: report error when YAZ cannot be found
-
-2002-06-02 Stefan Roehrich <stefan@roehri.ch>
-
- * ext/zlib/zlib.c:
- Added "Vary: Accept-Encoding" header to zlib.output_compression
- compressed output as with obgzhandler().
-
-2002-06-02 Christian Dickmann <chrisdicki@gmx.de>
-
- * pear/PEAR/Frontend/CLI.php: make 'pear remote-info' work with CLI
-
- * pear/PEAR/Command/Remote.php
- pear/PEAR/Frontend/CLI.php: make 'pear search' work with CLI. fix a typo
-
-2002-06-02 Markus Fischer <mfischer@guru.josefine.at>
-
- * main/main.c
- win32/sendmail.c:
- - Finish implementation of custom smtp port (introduces "smtp_port" ini config).
-
- * win32/sendmail.c: - Rephrase comment
-
- * win32/sendmail.c: - Classig problem: right idea, wrong pointer ...
-
-2002-06-02 Christian Dickmann <chrisdicki@gmx.de>
-
- * pear/PEAR/Registry.php
- pear/System.php:
- silence unlink() and rmdir(). fix a bug where wasn't set due to wrong ini setting
-
-2002-06-02 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Frontend/CLI.php
- pear/scripts/pear.in
- pear/tests/pear_config.phpt
- pear/PEAR/Builder.php
- pear/PEAR/Command.php
- pear/PEAR/Command/Auth.php
- pear/PEAR/Command/Build.php
- pear/PEAR/Command/Common.php
- pear/PEAR/Command/Config.php
- pear/PEAR/Command/Install.php
- pear/PEAR/Command/Package.php
- pear/PEAR/Command/Registry.php
- pear/PEAR/Command/Remote.php
- pear/PEAR/Common.php
- pear/PEAR/Config.php
- pear/PEAR/Installer.php
- pear/package-PEAR.xml: * merge NEW_UI_API branch
-
- * pear/PEAR/Common.php
- pear/PEAR/Installer.php
- pear/scripts/pear.in
- pear/package-PEAR.xml:
- * implemented "package-info" replacement in package.xml
-
- * pear/PEAR/Installer.php: * typo?
-
- * pear/PEAR/Command/Config.php:
- * make output of "config-get" easier to parse
-
- * pear/PEAR/Command/Config.php: * fix some error reporting
-
- * pear/PEAR/Config.php: * less verbose
-
- * pear/PEAR/Installer.php: * fix buildcallback
-
- * pear/PEAR/Builder.php
- pear/PEAR/Installer.php
- pear/package-PEAR.xml: * "pear install" now builds and C extensions
-
- * pear/scripts/pear.in: * add custom error handler
-
- * pear/PEAR/Frontend/CLI.php: * de-obsolete display{,Fatal}Error
-
-2002-06-01 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Builder.php: * add some phpdoc
-
-2002-06-01 Stefan Roehrich <stefan@roehri.ch>
-
- * ext/snmp/config.m4
- acinclude.m4
- ext/domxml/config.m4
- ext/imap/config.m4:
- WS change to make very old compilers/preprocessors (e.g. HP/UX 9)
- happy (thanks to Andreas Ley for recognizing this).
-
-2002-06-01 Christian Dickmann <chrisdicki@gmx.de>
-
- * pear/PEAR/Command/Config.php
- pear/PEAR/Command/Remote.php
- pear/PEAR/Config.php
- pear/PEAR/Frontend/CLI.php
- pear/PEAR/Installer.php:
- add 'pear search'. introduce type 'mask' to config.
-
-2002-06-01 Sascha Schumann <sascha@schumann.cx>
-
- * sapi/apache/php_apache.c: Fix build
-
-2002-06-01 Andi Gutmans <andi@zend.com>
-
- * configure.in: - Fix build with Engine 2
-
- * sapi/apache/php_apache.c: - Reapply netware patch
-
-2002-06-01 Rasmus Lerdorf <rasmus@lerdorf.on.ca>
-
- * sapi/apache/php_apache.c:
- Put Netware header and comment back in. My CVS revision id got messed
- up somehow.
-
-2002-06-01 Sander Roobol <phy@wanadoo.nl>
-
- * php.ini-dist
- php.ini-recommended:
- Update cracklib path and comment it out (thanks to Urs Gehrig for the hint)
-
-2002-06-01 Frank M. Kromann <frank@kromann.info>
-
- * ext/mbstring/mbfilter.c:
- Makring function declarations match implementations (ZTS compilation)
-
-2002-05-31 Rasmus Lerdorf <rasmus@lerdorf.on.ca>
-
- * sapi/apache/php_apache.c: Oops
-
- * sapi/apache/php_apache.c: Renamed getallheaders() to apache_request_headers() and kept
- getallheaders() as an alias to it. Also added apache_response_headers()
- which returns the current response headers from Apache.
-
-2002-05-31 Jani Taskinen <sniper@iki.fi>
-
- * ext/mbstring/config.m4: Fixed typo..
-
-2002-05-31 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Frontend/CLI.php: * added missing fold
-
-2002-05-31 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/System.php: fread already detects EOF
-
- * pear/System.php:
- Be able to handle strings as well as arrays in _multipleToStruct()
-
- * pear/System.php:
- - Make mkTemp() automatically removed temporary created files
- or dirs at script shutdown time
- - Remove unnecesarry PEAR inheritance
- - Some PHPDoc fixes
-
-2002-05-31 Brad LaFountain <rodif_bl@yahoo.com>
-
- * ext/domxml/domxml.dsp
- ext/domxml/php_domxml.h:
- Changed PHP_EXPORTS to DOMXML_EXPORTS as Edin Kadribasic suggested
-
-2002-05-31 Harald Radi <h.radi@nme.at>
-
- * ext/standard/credits_ext.h: MFH
-
- * ext/standard/credits_ext.h: added wez to the com extension
-
- * ext/com/CREDITS
- ext/com/VARIANT.c
- ext/com/com.h
- ext/com/conversion.c
- ext/com/php_COM.h
- ext/com/variant.h
- ext/com/COM.c: MFH
-
- * ext/com/CREDITS: added wez and ordered names alphabetically
-
-2002-05-31 Venkat Raghavan S <rvenkat@novell.com>
-
- * sapi/apache/php_apache.c:
- Removed ugly code done as part of NetWare change, upon Andi's advice. Now, the typecasting is done for all platforms.
-
-2002-05-31 Derick Rethans <d.rethans@jdimedia.nl>
-
- * main/rfc1867.c: - Don't issue a notice when no file was uploaded
-
-2002-05-31 Brad LaFountain <rodif_bl@yahoo.com>
-
- * ext/domxml/php_domxml.c:
- initalize variable in domxml_doc_document_element()
-
- * ext/domxml/domxml.dsp:
- defined PHP_EXPORTS for exporting php_domobject_new()
-
- * ext/domxml/php_domxml.c
- ext/domxml/php_domxml.h:
- added the ability to use new keywork with domxmls objects "new DomDocument()"
- instead of xmldoc. This also allows you to create nodes without having
- a whole document "new DomElement("foo")".
-
- moved DOMXML_API_VERSION to php_domxml.h
- exposed php_domobject_new for other extensions to use
- removed some un-needed code
-
-2002-05-31 Venkat Raghavan S <rvenkat@novell.com>
-
- * main/config.nw.h
- main/php.h
- main/php_compat.h
- sapi/apache/php_apache_http.h
- sapi/apache/php_apache.c
- sapi/apache/mod_php4.c: NetWare related changes
-
- * netware/buildsapi.bat
- netware/common.mif
- netware/php4apache.mak
- netware/phplib.imp
- netware/pwd.h: NetWare related additions / changes to build mod_php
-
-2002-05-30 Harald Radi <h.radi@nme.at>
-
- * ext/com/COM.c:
- * ext/com/VARIANT.c
- ext/com/conversion.c
- ext/com/dispatch.c
- ext/com/COM.c:
- Added missing AddRef() calls in the COM extension. This should
- fix weird behaviour (in particular with ADODB).
-
-
-2002-05-30 Sander Roobol <phy@wanadoo.nl>
-
- * pear/Console/tests/.cvsignore: Add missing .cvsignore
-
-2002-05-30 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/session/mod_files.c:
- - Tell the user why his session doesn't work if he uses custom session_id()s.
-
- * win32/install.txt: - Typo
-
- * win32/install.txt:
- - Give some useful updates to Win32/Apache/PHP4 installation. Also mention
- strace for advanced users.
-
-2002-05-30 Christian Dickmann <chrisdicki@gmx.de>
-
- * pear/PEAR/Command/Config.php
- pear/PEAR/Command/Remote.php
- pear/PEAR/Frontend/CLI.php:
- fix a typo. add some information to config-show
-
-2002-05-30 Den V. Tsopa <tdv@edisoft.ru>
-
- * ext/mbstring/mbfilter_ru.c: Fixes some dummy errors (again).
-
-2002-05-30 Jan Lehnardt <jan@dasmoped.net>
-
- * pear/tests/pear_error4.phpt: - add testcase for PEAR::delExpect()
-
-2002-05-30 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Config.php: * organize configuration_info array by group
-
-2002-05-30 Venkat Raghavan S <rvenkat@novell.com>
-
- * netware/ZendEngine2.mak
- netware/build.bat: NetWare changes for ZE2
-
-2002-05-30 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Config.php
- pear/tests/pear_config.phpt:
- * applied Alan's patch adding groups and prompts
-
-2002-05-30 Cliff Woolley <jwoolley@apache.org>
-
- * sapi/apache2filter/php_functions.c:
- That macro is and always was hopelessly broken, which is why it's
- now deprecated.
-
-2002-05-29 Jan Lehnardt <jan@dasmoped.net>
-
- * pear/PEAR.php: - minor improvement of readability,
-
- * pear/PEAR.php:
- - added delExpect() API method. It allows to unset one or more expected
- - error codes.
- - requires _checkDelExpect() (private) which I added as well.
- - inspired by chregu (PHP-Deluxe, page 75)
-
-2002-05-29 Christian Dickmann <chrisdicki@gmx.de>
-
- * pear/PEAR/Command/Install.php
- pear/PEAR/Frontend/CLI.php
- pear/PEAR/Installer.php
- pear/PEAR/Common.php: fix a bug and add UI::log
-
-2002-05-29 Den V. Tsopa <tdv@edisoft.ru>
-
- * ext/mbstring/mbfilter.c: Added GB2312 alias for CN-GB
-
-2002-05-29 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/imap/php_imap.c: - Fix for bug #17503
-
-2002-05-29 Venkat Raghavan S <rvenkat@novell.com>
-
- * netware/mktemp.h
- netware/sys/stat.h
- netware/tsrm.mak: Changes to build TSRM on NetWare
-
-2002-05-29 Den V. Tsopa <tdv@edisoft.ru>
-
- * ext/mbstring/mbfilter_ru.c: Fixed some dummy errors. (dets)
-
-2002-05-29 Venkat Raghavan S <rvenkat@novell.com>
-
- * netware/zend.mak: Changes to build Zend on NetWare
-
-2002-05-29 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Command.php: * no longer test on whether displayLine exists
-
- * pear/PEAR/Builder.php
- pear/PEAR/Command/Build.php:
- * build extensions in /var/tmp/pear-build-$USER/extname-n.n
- * copy built .so files
-
- * pear/PEAR/Command/Registry.php: * folding marks
-
- * pear/PEAR/Common.php: * make PEAR_Common::log work with the new UI API
-
- * pear/PEAR/Frontend/CLI.php:
- * for now, provoke php errors on calls to the old methods
-
-2002-05-28 Andrei Zmievski <andrei@php.net>
-
- * acinclude.m4: Fix a bug in case statement.
-
-2002-05-28 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Command.php: * don't create duplicate ui objects
-
- * pear/PEAR/Frontend/CLI.php: * gotta love these extra newlines
-
-2002-05-28 Venkat Raghavan S <rvenkat@novell.com>
-
- * netware/bisonflexzend.bat:
- Batch file to do the Lex / Yacc stuff for Zend
-
- * netware/common.mif: SDK directory path change
-
-2002-05-28 Bertrand Mansion <bmansion@mamasam.com>
-
- * pear/HTML/Table.php
- pear/HTML/Common.php: Moved to /pear
-
-2002-05-28 Venkat Raghavan S <rvenkat@novell.com>
-
- * netware/build.bat
- netware/common.mif
- netware/tsrm.mak
- netware/zend.mak:
- Makefiles and batch file required to build Zend and TSRM
-
- * netware/php-nw.bat: *** empty log message ***
-
-2002-05-28 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Command/Auth.php
- pear/PEAR/Command/Common.php
- pear/PEAR/Command/Config.php
- pear/PEAR/Command/Install.php
- pear/PEAR/Command/Package.php
- pear/PEAR/Command/Registry.php
- pear/PEAR/Command/Remote.php
- pear/PEAR/Frontend/CLI.php
- pear/PEAR/Common.php: * imported Christian Dickmann's new UI code
- * converted PEAR_Frontend_CLI::userDialog() to new API
-
- * pear/package-PEAR.xml: * 0.11 release coming up
-
- * pear/PEAR/Command/Package.php:
- * drop package-info command (deprecated by "info")
-
- * pear/tests/pear_config.phpt: * update test
-
- * pear/PEAR/Command/Build.php
- pear/PEAR/Builder.php
- pear/package-PEAR.xml: * update 0.11 release notes
- * move build logic into PEAR_Builder
-
- * pear/scripts/pear.in
- pear/PEAR/Config.php:
- * disable *&$^*#@ runtime ^@#*&$@ magical ^*!@@!! quoting
-
- * pear/Archive/Tar.php
- pear/docs/Archive_Tar.txt
- pear/package-Archive_Tar.xml: * sync up
-
- * pear/PEAR/Config.php:
- * disable magic_quotes_runtime (what a broken concept!!) while
- reading config files
-
- * pear/PEAR/Installer.php: * fix some errors/warnings
- * install data and test files now
-
- * pear/PEAR/Config.php: * added data_dir and test_dir
-
-2002-05-27 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Config.php:
- * moved the --without-pear compat defines to the right place
-
- * pear/PEAR/Config.php:
- * change root for documentation files to <peardir>/docs
-
- * pear/PEAR/Command/Config.php:
- * treat umask as octal in "config-set" command
-
- * pear/PEAR/Common.php: * use new Archive_Tar gzip autodetection
-
- * pear/package-Archive_Tar.xml: * prepare 0.9 release
-
- * pear/PEAR/Config.php:
- * fixed a bug in PEAR_Config::set() that broke validation of "set" parameters
-
- * pear/Archive/Tar.php: * better gzip detection (magic cookie)
-
-2002-05-27 Andi Gutmans <andi@zend.com>
-
- * genfiles:
- - Hope this is the last commit in the series. Make sure that the .h file
- - also goes into ext/standard. I'm not sure how 4.2.1 was built with these
- - broken files
-
- * genfiles: - One more try.
-
- * genfiles: - Isn't Makefile.frag being called? (Weird)
-
- * genfiles: - Be a bit more verbose
-
-2002-05-27 Sascha Schumann <sascha@schumann.cx>
-
- * ext/ircg/ircg.c:
- Flush data related to the streaming connection during php's rshutdown,
- and not during the ircg_set_current call, because it is otherwise not
- guaranteed that the HTTP header is sent out first.
-
-2002-05-27 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Installer.php
- pear/package-PEAR.xml: * fixes for php without zlib
-
- * pear/Archive/Tar.php
- pear/package-Archive_Tar.xml:
- * make Archive_Tar auto-detect whether zlib is needed based on file
- extension (.tar -> no zlib)
-
-2002-05-27 Andi Gutmans <andi@zend.com>
-
- * makedist.ZendEngine2: - Small update
-
-2002-05-27 Stig Bakken <ssb@fast.no>
-
- * pear/package.dtd: * update version
-
- * pear/PEAR/Command/Build.php
- pear/PEAR/Common.php
- pear/package.dtd
- pear/package-PEAR.xml:
- * first shot at "pear build" command for building extensions from C code
-
- * pear/PEAR/Command/Registry.php: * "info" command
-
- * pear/PEAR/Command/Config.php: * added config-help command
-
- * pear/PEAR/Config.php: * drop "any" as a valid preferred_state
-
- * pear/PEAR/Config.php: * more verbose docs for "verbose" :)
-
-2002-05-26 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Common.php: * un-indent description too
-
- * pear/PEAR/Common.php:
- * try being smart about de-indenting release notes from the xml
-
- * pear/PEAR/WebInstaller.php: * PEAR_Frontend_Web is coming!
-
-2002-05-26 Andi Gutmans <andi@zend.com>
-
- * genfiles: - Small fix
-
-2002-05-26 Edin Kadribasic <edink@proventum.net>
-
- * NEWS: I case we ever release 4.2.2.
-
- * sapi/cgi/cgi_main.c
- sapi/cli/php_cli.c: MFH (fix for exit())
-
-2002-05-26 Andi Gutmans <andi@zend.com>
-
- * genfiles: - Update genfiles for new build system
-
-2002-05-26 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/scripts/pear.in: Added "pear -V" (show version information)
-
-2002-05-26 Stig Bakken <ssb@fast.no>
-
- * pear/scripts/pear.in: * another help fix
-
-2002-05-26 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Command/Config.php:
- Make the error handling work again since the new internal command
- structure
-
-2002-05-26 Martin Jansen <mail@martin-jansen.de>
-
- * pear/package-PEAR.xml: * Add /me has helper.
-
-2002-05-26 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Command/Package.php: * bold column headings
-
- * pear/package-PEAR.xml: ^t
-
-2002-05-26 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Command/Install.php
- pear/scripts/pear.in: "Help" fixes
-
-2002-05-26 Edin Kadribasic <edink@proventum.net>
-
- * sapi/cgi/cgi_main.c: Merge from cli.
-
-2002-05-26 Stig Bakken <ssb@fast.no>
-
- * pear/package-PEAR.xml: * add package.dtd to the distribution
-
- * pear/package-PEAR.xml: * roll out 0.10
-
- * pear/PEAR/Command.php: * focus on the present
-
- * pear/PEAR/Frontend/Gtk.php: * add @nodep stuff here too
-
- * pear/PEAR/Remote.php: * be nice to PEAR_Common::detectDepdencencies()
-
- * pear/PEAR/Common.php: * more work on the dependency detector
-
- * pear/scripts/pear.in: * Console_Getopt POSIX fix
-
- * pear/PEAR.php: * phpdoc fixes (un-break the broken)
-
-2002-05-26 Edin Kadribasic <edink@proventum.net>
-
- * sapi/cli/php_cli.c:
- Due to the way Zend handles exit() we cannot rely on the return code
- of php_execute_script.
-
- * sapi/cli/php_cli.c: Made constants persistent and fixed a memory leak.
-
-2002-05-26 Stig Bakken <ssb@fast.no>
-
- * pear/Console/Getopt.php
- pear/package-Console_Getopt.xml:
- * POSIX getopt compatibility support (first argv element is the command)
-
- * pear/install-pear.php: * tidy output a bit
-
- * ext/standard/versioning.c: Fix segfault in version_compare()
-
- * pear/PEAR/Installer.php: * cleaned up error handling in _installFile
-
-2002-05-25 Martin Jansen <mail@martin-jansen.de>
-
- * pear/PEAR/Command/Package.php:
- * Make rel_trans from doPackageInfo globally available.
- * Add command "package-dependencies" (shortcut "pd") to list the
- dependencies of a package.
-
-2002-05-25 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Remote.php:
- * typo caught by PEAR_Common::detectDependencies :)
-
-2002-05-24 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * ext/mbstring/mbstring.c: reverted my patch.
-
- * ext/mbstring/config.m4
- ext/mbstring/mbfilter.c
- ext/mbstring/mbfilter_ru.c
- ext/mbstring/mbfilter_ru.h
- ext/mbstring/mbstring.c: reverted patch to support iso2022kr.
-
-2002-05-24 Sander Roobol <phy@wanadoo.nl>
-
- * ext/standard/info.c:
- Fix <head> and <body> tags in phpinfo() output (#17411)
-
-2002-05-24 Edin Kadribasic <edink@proventum.net>
-
- * sapi/cli/php_cli.c:
- Register STDIN, STDOUT, and STDERR "constants" in cli in cases where
- script itself is not being loaded from STDIN.
-
- This enables constructs like fwrite(STDERR, "Error 42");
-
-2002-05-23 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/standard/image.c
- ext/standard/php_image.h:
- - Added support for compressed SWF (Flash MX) files to getimagesize().
- (Fixes feature request #17272).
- - Added support to getimagesize() for compressed Flash MX files.
-
-2002-05-23 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Installer.php: TODO++
- Check dependencies break on package uninstall (when no force given)
-
- * pear/PEAR/Dependency.php:
- Fix package dependency check (reported by Rasmus)
-
-2002-05-23 Andrei Zmievski <andrei@php.net>
-
- * ext/pcre/php_pcre.c
- NEWS:
- This code adds string offset capturing in preg_split() results. Original
- patch by David Brown, modified by me.
-
-2002-05-23 Sascha Schumann <sascha@schumann.cx>
-
- * ext/ircg/ircg.c:
- Revamped timeout handling to be more consistent; it disconnects users
- which are not associated with a stream window within 3 minutes.
-
- Improved the id generator, so that it becomes more unlikely that
- two or more consecutive runs/instances will yield the same ids.
-
- Improved error message collecting to run at constant time intervals.
-
- Added a facility which aims at ensuring that the extension does not
- shutdown(2) unrelated sockets. This has been disabled for now,
- because of lack of extensive testing.
-
- The current time is now easily accessible through a wrapper function.
- This replaces the ugly #ifdefs spread through the code.
-
- IRCG does not generate "Pragma: no-cache" headers anymore. Additionally,
- ircg_set_current() will not cause the HTTP header to be sent, so you
- can add/change headers afterwards.
-
- And some cleanup.
-
-2002-05-23 Edin Kadribasic <edink@proventum.net>
-
- * ext/standard/math.c:
- MFH (patch for allowing strings in pow() args, fixes #17374)
-
-2002-05-23 Andi Gutmans <andi@zend.com>
-
- * ext/standard/file.c: - Fix typo
-
-2002-05-23 Wez Furlong <wez.php@thebrainroom.net>
-
- * ext/standard/tests/general_functions/proc_open.phpt:
- Add simple test case for proc_open
-
- * ext/standard/exec.c: Fix (stupid) segfault. #17379
-
-2002-05-23 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/standard/exec.c:
- - Fix unchecked return values with parameters to proc_open. (Fixes
- bug #17375)
-
- * ext/standard/file.c: - Fix errormessage and whitespace
-
-2002-05-23 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/standard/file.c:
- Added 4th parameter to specify enclosure character. Patch by Dean Richard Benson <dean@vipersoft.co.uk>
- Spit more meaningful error messages when delim and/or enclosure char is null.
-
-2002-05-22 Jani Taskinen <sniper@iki.fi>
-
- * run-tests.php: Skip POST data if it is empty.
-
-2002-05-22 Andi Gutmans <andi@zend.com>
-
- * makedist.ZendEngine2:
- - makedist script for creating Engine 2 distribution.
- - Hopefully we can get a preview out in the next few days.
-
-2002-05-22 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Command/Package.php:
- Trigger an error if the run-test.php file is not found
- Make the run-tests pear cmd run with the CGI SAPI
-
- * pear/PEAR/Dependency.php:
- Test first if the package exists before comparing the version
- (fix the version_compare() segfault)
-
- * pear/PEAR/Remote.php: Make pear -vv XXX set the XML_RPC debug flag
-
-2002-05-22 Wez Furlong <wez.php@thebrainroom.net>
-
- * sapi/activescript/CREDITS
- sapi/activescript/README: Add README and CREDITS...
-
- * sapi/activescript/scriptengine.cpp:
- Fix bug when length was queried before the string was converted.
-
-2002-05-21 Wez Furlong <wez.php@thebrainroom.net>
-
- * ext/com/COM.c:
- Add documentation comment for properties in com_print_typeinfo
-
- * ext/com/COM.c: Enhance com_print_typeinfo.
- The main expected use is like this, for figuring out what methods
- are allowed for a COM object:
-
- $ie = new COM("InternetExplorer.Application");
- // Prints class definition for IE object
- com_print_typeinfo($ie, "InternetExplorer.Application", false);
- // Prints class definition for default IE event handler
- com_print_typeinfo($ie, "InternetExplorer.Application", true);
-
-2002-05-21 Andrei Zmievski <andrei@php.net>
-
- * NEWS: *** empty log message ***
-
- * ext/tokenizer/tokenizer.c: Fix bug #16939.
-
-2002-05-21 Wez Furlong <wez.php@thebrainroom.net>
-
- * ext/com/COM.c:
- Correct usage of convert_to_string_ex which is not allowed to zval*
-
- * ext/com/COM.c: Reformat some comments.
-
- * ext/com/COM.c: Fix a flag, remove an old comment.
-
- * ext/com/com.h
- ext/com/dispatch.c
- ext/com/php_COM.h
- ext/com/variant.h
- ext/com/COM.c:
- - Make sure that COM and VARIANT resources are returned as resources
- rather than longs.
- - Make the IDispatch implementation a bit more generic (and
- fix my mess of pointers).
- - Add new com_message_pump() function that acts like an interruptible
- usleep() that processes COM calls/events.
- - Add new com_print_typeinfo() function for "decompiling" the typeinfo
- for an interface into PHP script. This is useful for generating a
- skeleton for use as an event sink.
- - Add new com_event_sink() function for sinking events from COM
- objects. Usage is like this:
-
- <?php
-
- class IEEventSinker {
- var $terminated = false;
-
- function ProgressChange($progress, $progressmax) {
- echo "Download progress: $progress / $progressmax\n";
- }
- function DocumentComplete(&$dom, $url) {
- echo "Document $url complete\n";
- }
- function OnQuit() {
- echo "Quit!\n";
- $this->terminated = true;
- }
- }
-
- $ie = new COM("InternetExplorer.Application");
-
- $sink =& new IEEventSinker();
- com_event_sink($ie, $sink, "DWebBrowserEvents2");
-
- $ie->Visible = true;
- $ie->Navigate("http://www.php.net");
-
- while(!$sink->terminated) {
- com_message_pump(4000);
- }
- $ie = null;
- ?>
-
-2002-05-21 Hartmut Holzgraefe <hartmut@six.de>
-
- * ext/mime_magic/TODO: ZTS issues fixed
-
- * ext/mime_magic/mime_magic.c:
- not beautifull (yet), but should fix ZTS builds
-
-2002-05-21 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Installer.php:
- files that are not installed should be removed from the
- registered file list (TODO--)
-
-2002-05-21 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Command/Registry.php:
- * show installed_as instead of a "calculated" path for installed packages
-
- * pear/PEAR/Installer.php: * add TODO comment
-
-2002-05-21 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * win32/php4dll.dsp
- win32/php4dllts.dsp
- main/config.w32.h.in: Add HAVE_MBSTR_RU support for Win32.
-
- * ext/mbstring/mbfilter_ru.c: ZTS fixes.
-
-2002-05-21 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Command/Registry.php: * disable wrapping for now
-
-2002-05-21 Den V. Tsopa <tdv@edisoft.ru>
-
- * ext/mbstring/mbfilter_ru.c
- ext/mbstring/mbfilter_ru.h
- ext/mbstring/mbstring.c
- ext/mbstring/unicode_table_ru.h
- ext/mbstring/mbfilter.h
- ext/mbstring/mbfilter.c
- ext/mbstring/config.m4:
- Added russian codepages (koi8-r,cp1251,cp866) support.
-
-2002-05-21 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Common.php: Some minor error verbosity updates
-
- * pear/PEAR/Command/Remote.php: doListRemote -> doRemoteList
-
- * pear/PEAR/Installer.php:
- Make the installation of a package fail when _installFile
- fails and "force" is not set
-
-2002-05-21 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Command/Registry.php:
- * list command no longer displays test and data files when listing
- installed files
-
- * pear/PEAR/Command/Package.php:
- * package-list command no longer needed ("list" does the same thing and
- more)
-
- * pear/PEAR/Command/Registry.php:
- * rename shell-test shortcut to st (was stest)
-
- * pear/PEAR/Command/Install.php
- pear/PEAR/Command/Package.php
- pear/PEAR/Command/Registry.php
- pear/PEAR/Command/Remote.php
- pear/PEAR/Command/Config.php: * added more shortcuts
-
- * pear/PEAR/Command/Package.php
- pear/PEAR/Command/Registry.php
- pear/PEAR/Command/Remote.php
- pear/scripts/pear.in
- pear/PEAR/Command/Install.php
- pear/PEAR/Command.php
- pear/PEAR/Command/Auth.php
- pear/PEAR/Command/Common.php
- pear/PEAR/Command/Config.php:
- * implemented shortcuts ("pv" for "package-validate" etc.)
- do "pear help shortcuts" to see what shortcuts exist
- * renamed "list-installed" command to "list" and made it able to
- list the contents of installed packages as well as tar/tgz/xml files
- * added some more/better command docs
- * fixed up the synopsis part in the help output
- * display option parameters (--foo=bar, where bar is specified in
- 'shortarg' as for example 'f:bar')
- * renamed list-remote-packages to list-remote
- * renamed remote-package-info to remote-info
-
- * pear/PEAR/Common.php: * make infoFromAny actually work :)
-
- * pear/PEAR/Remote.php: * better wording
-
-2002-05-21 Edin Kadribasic <edink@proventum.net>
-
- * ext/pgsql/pgsql.dsp: MFH (fix for #17315)
-
- * ext/pgsql/pgsql.dsp:
- Fix for #17315. Requires client library 7.2 or greater to compile.
-
-2002-05-20 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/posix/posix.c: - MFH fix for #17323.
-
- * ext/posix/posix.c:
- - Fix posix_isatty() and posix_ttyname() (Closes #17323)
-
-2002-05-20 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Remote.php: * disable debug in XML_RPC fallback
-
-2002-05-20 Wez Furlong <wez.php@thebrainroom.net>
-
- * sapi/activescript/php4as_scriptengine.h
- sapi/activescript/scriptengine.cpp
- sapi/activescript/php4activescript.h:
- Use the GIT for inter-thread marshalling.
-
-2002-05-20 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/zip/zip.c:
- - Add safe_mode/uid and open_basedir check to zip_open() (closes #16927).
-
- * ext/standard/filestat.c: - ZTS gotcha
-
- * ext/standard/filestat.c:
- - Add open_basedir check for all functions using php_stat() (filesize, stat,
- etc), closes #11563.
-
-2002-05-20 Harald Radi <h.radi@nme.at>
-
- * sapi/activescript/classfactory.cpp
- sapi/activescript/scriptengine.cpp: this way it even compiles
-
- * ext/com/com.h
- ext/com/conversion.c
- ext/com/COM.c: integrating wez's patch
-
-2002-05-20 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Command/Remote.php: * new command setup
-
- * pear/packages/XML_RPC-1.0.2.tar
- pear/packages/XML_RPC-1.0.3.tar:
- * upgrade bundled XML_RPC package to 1.0.3
-
- * pear/Makefile.frag
- pear/install-pear.php: * new installer rule that does not depend on bash
-
- * pear/PEAR/Common.php: * _infoFromAny goes public!
-
- * pear/PEAR/Installer.php:
- * some verbosity changes: 0 - only errors, 1 - status report when the
- install is done, 2 - show each operation, 3 - show file operations
-
- * pear/PEAR/Command/Install.php: * no output in verbosity level 0
-
- * pear/PEAR/Config.php: * added PEAR_Config::removeLayer()
-
- * pear/PEAR/Command/Package.php: * remove getCommands() from here
- * added options to "pear cvstag": -q -Q -d -F
-
-2002-05-20 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/pgsql.c: MFH
-
-2002-05-20 Stig Bakken <ssb@fast.no>
-
- * pear/scripts/pear.in: * support multiple -v and -q options
-
- * pear/package-Archive_Tar.xml: * forgot to update the release date
-
- * pear/package-Archive_Tar.xml: * fix fix
-
- * pear/Archive/docs/Tar.txt
- pear/Archive/Tar.php
- pear/package-Archive_Tar.xml: * merge 0.4 files from /pear/Archive_Tar
-
- * pear/package-Console_Getopt.xml: * prepare 0.10
-
- * pear/PEAR/Command/Registry.php: * remove run() from this class
-
-2002-05-20 Wez Furlong <wez.php@thebrainroom.net>
-
- * win32/php4dllts.dsp:
- This somehow got undone when I committed the rest...
-
-2002-05-20 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/pgsql.c:
- Fixed possible pg_lo_write() overflow and make it more fail safe.
-
-2002-05-20 Wez Furlong <wez.php@thebrainroom.net>
-
- * win32/php4ts.dsw: Add activescript sapi to the workspace
-
- * sapi/activescript/classfactory.cpp
- sapi/activescript/php4activescript.c
- sapi/activescript/php4activescript.def
- sapi/activescript/php4activescript.dsp
- sapi/activescript/php4activescript.h
- sapi/activescript/php4as_classfactory.h
- sapi/activescript/php4as_scriptengine.h
- sapi/activescript/scriptengine.cpp: Implement ActiveScript interfaces.
- This allows use of PHP in:
- Client-side script in Internet Explorer
- Windows Scripting Host
- ASP and ASP.NET pages
- It's mostly working... give it a go.
- You will need to regsvr32 the php4activescript.dll manually.
-
- * main/fopen_wrappers.h
- main/spprintf.h: Protect C code with extern "C"
-
- * ext/com/COM.c
- ext/com/conversion.c
- ext/com/dispatch.c
- ext/com/php_COM.h: Added generic COM wrapper for PHP objects.
-
-2002-05-20 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Command/Install.php: Added missing key 'doc' for -Z help
-
- * pear/PEAR/Common.php:
- Fix small bug making the baseinstalldir attrib persist
-
-2002-05-20 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/pgsql.c:
- Improve large object performance. pg_lo_read() and pg_lo_read_all() should perform
- much better now.
- Fixed Old API support for pg_lo_import().
-
-2002-05-20 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Command/Install.php: * no need for getCommands() here
-
- * pear/PEAR/Command/Package.php: * new command setup
-
- * pear/PEAR/Command/Auth.php: * typo fixes, wrapping
-
-2002-05-19 Stig Bakken <ssb@fast.no>
-
- * pear/package-PEAR.xml: * install pear.bat on Windows only
-
-2002-05-19 Jani Taskinen <sniper@iki.fi>
-
- * pear/package-Archive_Tar.xml
- pear/package-Console_Getopt.xml
- pear/package-PEAR.xml: Make this actually work somewhat better..
-
-2002-05-19 Edin Kadribasic <edink@proventum.net>
-
- * NEWS: Give due credit to Markus.
-
-2002-05-19 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Dependency.php: * compat fix
-
-2002-05-19 Markus Fischer <mfischer@guru.josefine.at>
-
- * NEWS: - Mention the availability of glob().
-
-2002-05-19 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/scripts/pear.in: Put "pear help options" working again
-
- * pear/PEAR/Command/Common.php: Put "pear help command" working again
-
-2002-05-19 Sander Roobol <phy@wanadoo.nl>
-
- * run-tests.php: Fix php.ini-related stuff in run-tests.php
-
- * main/php_ini.c:
- get_cfg_var("get_file_path") didn't work correctly when an alternative
- php.ini _file_ was specified using -c
-
-2002-05-19 Edin Kadribasic <edink@proventum.net>
-
- * main/config.w32.h.in
- win32/glob.c
- win32/glob.h
- win32/php4dllts.dsp
- ext/standard/dir.c: Added glob() support for windows.
-
-2002-05-19 Sander Roobol <phy@wanadoo.nl>
-
- * php.ini-dist
- php.ini-recommended: It's get_cfg_var() not cfg_get_var()
-
- * tests/basic/.cvsignore
- tests/classes/.cvsignore
- tests/func/.cvsignore
- tests/lang/.cvsignore
- tests/strings/.cvsignore
- pear/tests/.cvsignore
- tests/.cvsignore
- ext/zip/tests/.cvsignore
- ext/zlib/tests/.cvsignore
- pear/XML/tests/.cvsignore
- ext/standard/tests/strings/.cvsignore
- ext/standard/tests/time/.cvsignore
- ext/standard/tests/versioning/.cvsignore
- ext/xml/tests/.cvsignore
- ext/xslt/tests/.cvsignore
- ext/standard/tests/general_functions/.cvsignore
- ext/standard/tests/math/.cvsignore
- ext/standard/tests/reg/.cvsignore
- ext/standard/tests/serialize/.cvsignore
- ext/standard/tests/.cvsignore
- ext/standard/tests/aggregation/.cvsignore
- ext/standard/tests/array/.cvsignore
- ext/standard/tests/assert/.cvsignore
- ext/standard/tests/file/.cvsignore
- ext/pspell/tests/.cvsignore
- ext/session/tests/.cvsignore
- ext/skeleton/tests/.cvsignore
- ext/mcve/tests/.cvsignore
- ext/ncurses/tests/.cvsignore
- ext/openssl/tests/.cvsignore
- ext/pcntl/tests/.cvsignore
- ext/pgsql/tests/.cvsignore
- ext/iconv/tests/.cvsignore
- ext/interbase/tests/.cvsignore
- ext/mbstring/tests/.cvsignore
- ext/mcrypt/tests/.cvsignore
- ext/dio/tests/.cvsignore
- ext/domxml/tests/.cvsignore
- ext/exif/tests/.cvsignore
- ext/gmp/tests/.cvsignore
- ext/db/tests/.cvsignore
- ext/dbplus/tests/.cvsignore
- ext/dbx/tests/.cvsignore
- ext/crack/tests/.cvsignore
- ext/ctype/tests/.cvsignore
- ext/cybermut/tests/.cvsignore
- ext/bz2/tests/.cvsignore
- run-tests.php:
- Fix temporary filename problems, and update .cvsignores with new extensions
-
- * Makefile.global
- run-tests.php: Fix make test and remove a warning
-
- * Makefile.global
- run-tests.php: Cleaned up run-tests.php, and fixed it on linux/unix
-
-2002-05-19 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Command/Package.php: * new command setup
-
- * pear/PEAR/Installer.php: * support platform-specific files
-
- * pear/OS/Guess.php: * take uname as optional constructor parameter
-
-2002-05-19 Jani Taskinen <sniper@iki.fi>
-
- * NEWS: Typo fixes
-
- * ext/exif/exif.c
- ext/domxml/php_domxml.c: MFH
-
- * ext/exif/exif.c
- ext/domxml/php_domxml.c: DO NOT use C++ comments!
-
-2002-05-18 Christian Stocker <chregu@phant.ch>
-
- * ext/domxml/php_domxml.c:
- - delete attributes as well in php_free_xml_node
- - more consistent naming in phpinfo()
-
- * ext/domxml/php_domxml.c: added "domxml API version" in phpinfo() output.
-
- * ext/domxml/php_domxml.c:
- MFH for memleak fixes in domxml_dump_mem and domxml_html_dump_mem
-
- * ext/domxml/php_domxml.c: mem leak fix for domxml_dump_node
-
- * ext/domxml/php_domxml.c: fixes memleak in html_dump_mem
-
- * ext/domxml/php_domxml.c:
- rename the object name for comment nodes to domcoment
-
-2002-05-18 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/standard/dir.c:
- - Fix portability issues with empty results on Linux and FreeBSD, add safe_mode
- check and simplify code.
-
-2002-05-18 Christian Stocker <chregu@phant.ch>
-
- * ext/domxml/php_domxml.c: MFH for memleak patch
-
- * ext/domxml/php_domxml.c: WS fixes
-
- * ext/domxml/php_domxml.c:
- This should fix a big bad memory leak in freeing the nodes at script end.
-
-2002-05-17 Sascha Schumann <sascha@schumann.cx>
-
- * sapi/thttpd/thttpd.c: Improve readability of the header send function
-
-2002-05-17 Markus Fischer <mfischer@guru.josefine.at>
-
- * NEWS: - Stuff all Win32 mail() changes together.
-
-2002-05-17 Jon Parise <jon@csh.rit.edu>
-
- * NEWS: Credit where credit is due.
-
-2002-05-17 Markus Fischer <mfischer@guru.josefine.at>
-
- * win32/sendmail.c
- win32/sendmail.h:
- - Win32 mail() is no longer case-sensitive when it comes to match for any headers
- (e.g. from:, cc:, etc).
-
-2002-05-17 Preston L. Bannister <preston.bannister@cox.net>
-
- * win32/php4ts.dsw:
- Re-add "tests" project - this is the only change to file. For some reason MSVC chose to put "" around all the project file names. (Why? Ask Microsoft :). Perhaps different patch levels on MSVC6?). These files are not hand-edited.
-
-2002-05-17 Wez Furlong <wez.php@thebrainroom.net>
-
- * ext/openssl/openssl.c: proto tweak
-
- * ext/sysvsem/sysvsem.c
- ext/sysvsem/php_sysvsem.h:
- Add an optional flag to sem_get that specifies if the semaphore should be
- automatically released on request shutdown. (#16986)
- Fix a segfault in sem_remove (#17274)
-
-2002-05-17 Joseph Tate <jtate@mi-corporation.com>
-
- * win32/php4ts.dsw:
- Reverted the last commit which moved all the projects around.
-
-
-2002-05-17 Cliff Woolley <jwoolley@apache.org>
-
- * sapi/apache2filter/config.m4
- sapi/apache/config.m4:
- Allow the version checks for --with-apxs= and --with-apxs2= to work
- with development version of Apache, whose version strings end in "-dev",
- eg "Apache/2.0.37-dev".
-
- PR: 17233
- Submitted by: Dale Ghent <daleg@elemental.org>
-
- * ext/standard/head.c:
- Only the last cookie was getting set. (You can have
- more than one Set-Cookie: header, as indicated by
- http://wp.netscape.com/newsref/std/cookie_spec.html.)
-
- PR: 16626
- Submitted by: regina@hitel.net
-
- * sapi/apache2filter/php_functions.c:
- apache 2.0's apache_lookup_uri() was returning an array rather than an
- object, which contradicted both the documentation and the behavior of the
- same function under apache 1.3.
-
- PR: 14999
-
- * sapi/apache2filter/apache_config.c:
- * restore the php_flag and php_admin_flag Apache directives which for
- some mysterious reason never made their way from sapi/apache to
- sapi/apache2filter when it was first written PR: 16629
- * change the allowed locations of php_admin_value (and php_admin_flag to
- match) to ACCESS_CONF instead of OR_NONE to match sapi/apache. No
- idea why it was ever OR_NONE. PR: 16489
-
-2002-05-17 Preston L. Bannister <preston.bannister@cox.net>
-
- * tests/php.ini: Default INI file used with run-tests.php
-
-2002-05-16 Christian Stocker <chregu@phant.ch>
-
- * ext/domxml/php_domxml.h
- ext/domxml/php_domxml.c:
- - replaced domxml_doc_document_element implementation do use libxml2 method
- - renamed domxml_add_root to domxml_doc_add_root (and added alias for BC)
- - aliased $doc->get_root to domxml_document_element
- - added domxml_doc_set_root to change the root node (Lukas Schroeder)
-
-2002-05-16 Preston L. Bannister <preston.bannister@cox.net>
-
- * tests/lang/031.phpt: More detailed/explanatory output.
-
- * tests/lang/029.phpt: Make failed case tell you what was different.
-
- * tests/basic/011.phpt:
- Make test valid for either "register globals" setting.
-
- * ext/ctype/tests/002.phpt:
- Restrict ctype tests to POSIX portable characters (0..127) and add numeric character tests.
-
- * ext/standard/tests/aggregation/aggregate.phpt
- ext/standard/tests/aggregation/aggregate_methods.phpt
- ext/standard/tests/aggregation/aggregate_methods_by_list.phpt
- ext/standard/tests/aggregation/aggregate_methods_by_regexp.phpt
- ext/standard/tests/aggregation/aggregate_properties.phpt
- ext/standard/tests/aggregation/aggregate_properties_by_list.phpt
- ext/standard/tests/aggregation/aggregate_properties_by_regexp.phpt
- ext/standard/tests/aggregation/aggregation_info.phpt
- ext/standard/tests/aggregation/deaggregate.phpt:
- Remove leading "./" from include filenames as in PHP this defeats include_path.
-
- * win32/php4ts.dsw:
- Add "tests" project to invoke run-tests.php (unit tests).
-
- * run-tests.php:
- Updated to run cleanly on Win32, and perform a more controlled test.
-
- * tests/tests.mak: Add TEST_PHP_DETAILED usage for verbose test runs.
-
- * tests/basic/002.phpt
- tests/basic/003.phpt
- tests/basic/004.phpt
- tests/basic/005.phpt: Fix typo in SKIP clause.
-
- * ext/standard/string.c:
- Adjust dirname() on Win32 to match CWD per drive semantics.
-
- * tests/dirname.phpt: dirname() checks that work for both Unix and Win32.
-
-2002-05-16 Jani Taskinen <sniper@iki.fi>
-
- * ext/standard/filestat.c: MFH
-
-2002-05-16 Rasmus Lerdorf <rasmus@lerdorf.on.ca>
-
- * ext/standard/string.c: MFH just in case
-
- * ext/standard/string.c: Grr.. I keep leaving my debug in...
-
- * ext/standard/string.c: Fix for #17271
-
-2002-05-16 Preston L. Bannister <preston.bannister@cox.net>
-
- * ext/mbstring/mbstring.c: Range check arguments to mb_strcut().
- Test ext/mbstring/013.phpt causes a hard failure w/o this.
-
- * ext/mbstring/mbregex.h: Proper declaration to suppress compiler warning.
-
-2002-05-16 Jani Taskinen <sniper@iki.fi>
-
- * ext/standard/filestat.c
- ext/standard/tests/file/003.inc
- ext/standard/tests/file/003.phpt:
- - Made all is_*() functions to return only boolean values.
- - Killed the "file not found" error for is_link(). (finally..)
-
-2002-05-15 Preston L. Bannister <preston.bannister@cox.net>
-
- * tests/tests.dsp
- tests/tests.mak: Win32 project and makefile used to invoke run-tests.php
-
-2002-05-15 Frank M. Kromann <frank@frontbase.com>
-
- * ext/mssql/php_mssql.c:
- Fixing the mssql_query to handle multiple results correct if the first result does not return any data.
-
-2002-05-15 Harald Radi <h.radi@nme.at>
-
- * ext/com/conversion.c: MFH
-
-
- * ext/com/conversion.c: this should finally fix bug #14353
-
-2002-05-15 Frank M. Kromann <frank@frontbase.com>
-
- * win32/sendmail.c
- win32/sendmail.h: Fixing line breaks
-
- * win32/imap_sendmail.c:
- Fixing build of IMAP extension, after changes in sendmail
-
-2002-05-15 Markus Fischer <mfischer@guru.josefine.at>
-
- * win32/imap_sendmail.c: - Accommodate API changes to Ack().
-
-2002-05-15 Christian Stocker <chregu@phant.ch>
-
- * ext/domxml/config.m4:
- libxml2 >= 2.4.14 is needed (since quite some time ...)
-
-2002-05-15 Jani Taskinen <sniper@iki.fi>
-
- * NEWS: Cleanup
-
-2002-05-15 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * NEWS: Added Chinese, Korean support in mbstring.
-
- * ext/mbstring/mbfilter.c
- ext/mbstring/mbfilter_cn.c
- ext/mbstring/mbfilter_kr.c
- ext/mbstring/mbfilter_kr.h
- ext/mbstring/mbstring.c: added ISO-2022-KR support in mbstring.
-
-2002-05-15 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Common.php: make downloadHttp() detect HTTP errors
-
-2002-05-15 Jani Taskinen <sniper@iki.fi>
-
- * INSTALL: MFB
-
- * INSTALL: Nuke 4.1 for good this time.
-
- * INSTALL: MFH
-
- * INSTALL: Nuke .1
-
- * EXTENSIONS: Added ctype to this list too.
-
-2002-05-15 Markus Fischer <mfischer@guru.josefine.at>
-
- * win32/sendmail.c: - Add support for Bcc in w32/sendmail code.
-
-2002-05-15 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/ctype/ctype.c: - It's bundled, thus not experimental anymore
-
-2002-05-14 Frank M. Kromann <frank@frontbase.com>
-
- * ext/mssql/php_mssql.h
- ext/mssql/php_mssql.c: Fixing hanfling of data type REAL.
- Remove extra bytes allocated by emalloc calls
-
-2002-05-14 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * ext/mbstring/mbfilter_tw.c: fixed a initialization bug in euc-tw.
-
-2002-05-14 Sascha Schumann <sascha@schumann.cx>
-
- * configure.in:
- some versions of autoconf pad CONFIG_FILES with a single space.
-
- accomodate that
-
- Thanks to Cliff Woolley
-
-2002-05-14 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/standard/mail.c:
- - Adjust for improved error messages from win32/sendmail.c
-
- * win32/sendmail.c
- win32/sendmail.h:
- - Improve code so errors returned from the server are reported back to the user.
-
-2002-05-14 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Config.php:
- Try to create the dir where the conf file resides before trying
- to write to it
-
- * pear/scripts/pear.in: Add "\n" after the error in usage()
-
-2002-05-14 Markus Fischer <mfischer@guru.josefine.at>
-
- * win32/sendmail.c:
- - Do not include the Cc: for the first Cc'd recipient (spotted by Richard).
-
- * win32/sendmail.c
- win32/sendmail.h: - Convert unix to dos line endings.
-
- * win32/sendmail.c:
- - Try to find From: field in header, fallback to sendmail_from php.ini setting
- (Original patch by Michael Sisolak <msisolak@yahoo.com>, enhanced a bit).
- - Win32 mail() supports parsing 'From:' field from header (msisolak@yahoo.com, Markus).
-
- * win32/sendmail.c
- win32/sendmail.h: - MFH fix for Cc: crash
-
- * win32/sendmail.h
- win32/sendmail.c:
- - Fix win32 sendmail bug with Cc: in custom header not terminated with \r\n
- - Fix some obvious errors returned by the module, little cleanup.
-
-2002-05-14 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Command/Config.php: * convert to new command setup
-
- * pear/PEAR/Command/Auth.php: * typo
-
-2002-05-14 Jan Lehnardt <jan@dasmoped.net>
-
- * README.CVS-RULES: - MFH
-
- * README.CVS-RULES: - fix typo, thanks to georg for spotting it.
-
-2002-05-14 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Remote.php: * fall back to XML_RPC if xmlrpc-epi is not loaded
-
- * pear/PEAR/Command/Auth.php:
- * add command definitions, split run() into one method for each command
-
- * pear/PEAR/Command/Install.php: * no need for getHelp() here anymore
-
- * pear/PEAR/Command/Common.php: * moved get{Help,Commands,Options} here
-
- * pear/scripts/pear.in:
- * moved the {config xxx} help message substitution to
- PEAR_Command_Common::getHelp
-
-2002-05-14 Jason Greene <jason@inetgurus.net>
-
- * sapi/fastcgi/config.m4: Fix fastcgi build, may need more work
-
-2002-05-13 Marko Karppinen <karppinen@pobox.com>
-
- * sapi/apache2filter/config.m4:
- Patch by Justin Erenkrantz <jerenkrantz@apache.org> for enabling
- --with-apxs2 build on Darwin. Omitting the change to start linking
- with libtool for now, though.
-
-2002-05-13 Rasmus Lerdorf <rasmus@lerdorf.on.ca>
-
- * ext/gd/libgd/gd.c: fix copyresampled bug in bundled gd lib
-
-2002-05-13 Jim Jagielski <jim@jaguNET.com>
-
- * sapi/apache2filter/apache_config.c:
- More verbose but more generic error message when we spot multiple
- PHPINIDir directives
-
-2002-05-13 Rasmus Lerdorf <rasmus@lerdorf.on.ca>
-
- * ext/standard/filestat.c: MFH
-
- * ext/standard/filestat.c: Make sure newtime is never NULL
-
-2002-05-13 Jan Lehnardt <jan@dasmoped.net>
-
- * README.CVS-RULES: - MFH
-
- * README.CVS-RULES: - added reference to http://cvsbook.red-bean.com/
-
-2002-05-13 Zeev Suraski <zeev@zend.com>
-
- * ext/standard/info.c: - Fix a buglet in printing of GPCSE arrays
- - Remove indirect access
-
-2002-05-13 Andrei Zmievski <andrei@php.net>
-
- * ext/standard/array.c
- ext/standard/php_array.h
- ext/session/session.c
- ext/wddx/php_wddx.h
- ext/wddx/wddx.c
- pear/Console/Getopt.php
- ext/pcre/php_pcre.c
- ext/pcre/php_pcre.h: Changing email address.
-
-2002-05-13 Derick Rethans <d.rethans@jdimedia.nl>
-
- * configure.in
- main/php_version.h: - Bumb version number
-
-2002-05-13 Sander Roobol <phy@wanadoo.nl>
-
- * .cvsignore: Added confdefs.h which seems to be generated by configure
-
-2002-05-13 Zeev Suraski <zeev@zend.com>
-
- * main/main.c
- ext/standard/info.c: - Centralize html_puts() again
- - Revolutionize phpinfo()'s speed
-
-2002-05-13 Jon Parise <jon@csh.rit.edu>
-
- * ext/imap/php_imap.c:
- Instead of calling mail_fetchheader_full() to retrieve the complete header
- information just to extract the message envelope, call mail_fetchenvelope(),
- which returns just what we need.
-
- This is simpler, faster, and saves the IMAP server some work.
-
- Submitted by: Adam Kauffman <adam.kauffman@mindspring.com>
-
-2002-05-12 Stig Bakken <ssb@fast.no>
-
- * pear/scripts/pear.in: * fix option parsing
-
-2002-05-12 Zeev Suraski <zeev@zend.com>
-
- * main/output.c:
- Remove redundant code (thanks to Jani for pointing that out)
-
-2002-05-12 Derick Rethans <d.rethans@jdimedia.nl>
-
- * configure.in
- main/php_version.h: - Fix version
-
-2002-05-12 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Command/Common.php
- pear/PEAR/Command/Install.php
- pear/scripts/pear.in
- pear/PEAR/Command.php
- pear/PEAR/Installer.php: * refactored the command/options code:
- - now each command class should define a "commands" property with
- documentation, option specs etc.
- - both long and short options are now supported
- - after recent changes to Console_Getopt, you may now have options
- to commands even though the same option is also valid for the pear
- command itself
- - less CLI-centric, better suited to Gtk and Web frontends
-
-2002-05-12 Jani Taskinen <sniper@iki.fi>
-
- * NEWS: sync with branch
-
- * NEWS: short is good
-
- * NEWS: Made several entries comprehensible.
-
-2002-05-12 Edin Kadribasic <edink@proventum.net>
-
- * NEWS: Merged safe_mode fixes into one entry.
-
-2002-05-12 Jon Parise <jon@csh.rit.edu>
-
- * ext/imap/php_imap.c
- ext/imap/php_imap.h:
- Submitted by: Rob Siemborski <rjs3@andrew.cmu.edu>
-
-2002-05-12 Edin Kadribasic <edink@proventum.net>
-
- * win32/install.txt: Fixed typo.
-
- * NEWS: MFH
-
-2002-05-12 Sascha Schumann <sascha@schumann.cx>
-
- * ext/sockets/config.m4:
- As far as I can tell, the AC_CHECK_MEMBER could not succeed,
- because it does not include <sys/socket.h> which is necessary
- for the definition of struct msghdr. This include file is not
- part of ac_includes_default.
-
- Regardless, AC_CHECK_MEMBER is a autoconf-2.5x macro and thus we
- expand it here for 2.13 compatibility.
-
-2002-05-12 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/scripts/pear.in:
- The command name is now the first arg not the second
-
- * pear/PEAR/Command/Install.php: Add "r" in cmd help
-
- * pear/scripts/pear.in:
- The first entry in argv is the command name, so Getopt will stop
- parsing more args
-
-2002-05-12 Rasmus Lerdorf <rasmus@lerdorf.on.ca>
-
- * ext/standard/file.c: MFH
-
- * ext/standard/file.c:
- Change safe-mode rule for rmdir() to match unlink() - allow is target
- is opened by caller or in a directory owned by caller
-
-2002-05-12 Sascha Schumann <sascha@schumann.cx>
-
- * main/main.c: Simplify even more
-
- * main/main.c: Simplify white space handling in php_html_puts.
-
- If we encounter a ' ', we will look for the next non-' ' and set p
- accordingly.
-
-2002-05-12 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * ext/calendar/easter.c: Nuke unused local variables.
-
-2002-05-12 Marko Karppinen <karppinen@pobox.com>
-
- * ext/calendar/calendar.c
- ext/calendar/easter.c
- ext/calendar/php_calendar.h:
- Add an option to calculate easter dates based on the Gregorian calendar
- during the years 1582-1752. Earlier this was only possible from
- 1753 onwards. Use the optional parameter CAL_EASTER_ROMAN with
- easter_days() to enable this. This is a fix for bug #12766.
-
-2002-05-12 Sascha Schumann <sascha@schumann.cx>
-
- * ext/mbstring/config.m4: Fix this again.
-
- If you are unsure whether enable or with shall be used, please
- inquire on the mailing list.
-
- WITH is solely for the purpose of pointing to paths and other external
- entities.
-
- Note that the comment has always mentioned "--disable-mbstring" which
- clearly refers to enable and not with.
-
-2002-05-12 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Dependency.php: * fix up package dependency check
-
-2002-05-12 Sascha Schumann <sascha@schumann.cx>
-
- * ext/standard/info.c: Use string_len information
-
- * ext/standard/info.c
- main/main.c
- main/php_ini.c
- main/php_main.h: reenable php_html_puts
-
-2002-05-12 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Dependency.php: Make <dep type="pkg" rel="has"> avaible
-
-2002-05-12 Stig Bakken <ssb@fast.no>
-
- * pear/package-Console_Getopt.xml: * fix description
-
-2002-05-12 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * ext/mbstring/mbfilter.c
- ext/mbstring/mbfilter.h
- ext/mbstring/mbfilter_cn.c
- ext/mbstring/mbfilter_cn.h
- ext/mbstring/mbfilter_kr.c:
- added chinese HZ encoding support. fixed ascii area character conversion was not work in euc-cn and euc-kr.
-
-2002-05-12 Daniela Mariaschi <mariaschi@libero.it>
-
- * ext/interbase/interbase.c: fix bug #17040
- User can't close a connection if there are blobs opened.
- He must close them before to not lose data....
-
-2002-05-12 Sascha Schumann <sascha@schumann.cx>
-
- * ext/session/session.c: - Fix the way code was outcommented
- - Remove unused STR_CAT macro
- - Remove limits/tests based on unused macro
- - Implement cache_limiter(private) using private_no_expire
-
-2002-05-12 Daniela Mariaschi <mariaschi@libero.it>
-
- * ext/interbase/interbase.c: fix bug #17040 ibase_close again.....
- User can't close a connection if there are blobs opened.
- He must close them before to not loose data....
-
-2002-05-12 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/package-Console_Getopt.xml:
- Vincent is not involved in this class :-)
-
-2002-05-12 Jason Greene <jason@inetgurus.net>
-
- * ext/sockets/config.m4
- ext/sockets/sockets.c: Fix build on IRIX for both mips and gcc
-
-2002-05-12 Stig Bakken <ssb@fast.no>
-
- * pear/Console/tests/001-getopt.phpt
- pear/Console/Getopt.php:
- * Try again: fixed Console_Getopt::getopt so it does not steal options
- after the first non-option argument. Added test.
-
- * pear/tests/pear_config.phpt: * updated config key names
-
- * pear/tests/pear_registry.phpt:
- * exclude _lastmodified registry attrib from tests
-
-2002-05-12 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * ext/mbstring/config.m4: fixed to support --with-mbsting=LANG.
-
-2002-05-10 Edin Kadribasic <edink@proventum.net>
-
- * configure.in:
- Fixed "make install" when compiled with --disable-cli option.
-
-2002-05-10 Markus Fischer <mfischer@guru.josefine.at>
-
- * sapi/cgi/cgi_main.c
- sapi/cli/php_cli.c:
- - Prefix the first version line with 'PHP' so it's easier to use shell tools to
- parse the version number (both CLI and CGI).
-
- * sapi/cli/php_cli.c
- sapi/cgi/cgi_main.c: - This affects both CGI and CLI sapi:
- Remove Zend version output from -m switch and move it over to the output of
- the -v switch (-v is supposed to list version numbers, not -m).
-
-2002-05-10 Christian Stocker <chregu@phant.ch>
-
- * ext/domxml/php_domxml.c:
- - added fifth optional parameter to domxml_xslt_process. If set,
- it will output profiling information to the file stated (chregu)
- - introduced version numbering for this extension
-
-2002-05-10 Martin Jansen <mail@martin-jansen.de>
-
- * pear/Makefile.frag:
- * package-pear.xml has been renamed to package-PEAR.xml.
-
-2002-05-10 Edin Kadribasic <edink@proventum.net>
-
- * NEWS
- main/config.w32.h.in
- win32/crypt_win32.c
- win32/md5crypt.c
- win32/md5crypt.h
- win32/php4dllts.dsp: Added MD5 support for crypt() on Windows.
-
- * win32/.cvsignore: Ignoring *.aps files.
-
- * ext/pgsql/php_pgsql.h: Fix win32 build.
-
-2002-05-09 Preston L. Bannister <preston.bannister@cox.net>
-
- * sapi/cgi/cgi_main.c: Backed out preceding change.
-
-2002-05-09 Jani Taskinen <sniper@iki.fi>
-
- * main/php_ini.c: ws fix
-
-2002-05-09 Preston L. Bannister <preston.bannister@cox.net>
-
- * main/php_open_temporary_file.c:
- Compute directory for temporary files once and use same directory for all subsequent calls.
-
-2002-05-09 Daniela Mariaschi <mariaschi@libero.it>
-
- * ext/interbase/interbase.c: corrected parameter
-
- * ext/interbase/interbase.c: fix test 5 to pass
-
-2002-05-09 Preston L. Bannister <preston.bannister@cox.net>
-
- * main/php_ini.c:
- Detect when running under IIS and default force_redirect to zero. This This means an explicit php.ini setting is no longer required.
-
- (NO extraneous whitespace changes this time (sigh)).
-
-2002-05-09 Stig Bakken <ssb@fast.no>
-
- * pear/package-PEAR.xml
- pear/package-db.xml
- pear/package-pear.xml: * remove package-db.xml
- * rename package-pear.xml to package-PEAR.xml (generic format is
- package-PKGNAME.xml)
-
-2002-05-09 Preston L. Bannister <preston.bannister@cox.net>
-
- * sapi/cgi/cgi_main.c:
- Detect when running under IIS and default force_redirect to zero. This This means an explicit php.ini setting is no longer required.
-
- (No extraneous whitespace changes this time :).
-
-2002-05-09 Frank M. Kromann <frank@frontbase.com>
-
- * ext/mssql/php_mssql.h
- ext/mssql/php_mssql.c:
- Allow the MSSQL extension to use NT authentication
-
-2002-05-09 James Cox <james@blog.at>
-
- * README.SUBMITTING_PATCH: this is dangerous....
-
-2002-05-09 Frank M. Kromann <frank@frontbase.com>
-
- * php.ini-dist
- php.ini-recommended:
- Adding ini setting that allows the MSSQL extension to use NT authentication
-
-2002-05-09 Preston L. Bannister <preston.bannister@cox.net>
-
- * main/php_ini.c:
- Add check for php.ini in same directory as php.exe (or equivalent executable that loaded php4ts.dll). Check is done before looking in the Windows directory. This allows distinct php.ini files when different applications using PHP are installed on the same system. Should be backwards compatible.
-
- Note that checking for in CWD php.ini may be a security risk(?), and can now be made compile-time configurable by removing a single #define.
-
- (This time with tabs for leading indent).
-
-2002-05-09 Jani Taskinen <sniper@iki.fi>
-
- * main/php_open_temporary_file.c
- sapi/cgi/cgi_main.c
- ext/session/session.c
- main/php_ini.c: Revert the last patches.
-
-2002-05-09 Sander Roobol <phy@wanadoo.nl>
-
- * ext/session/session.c: Revert Preston's patch
-
-2002-05-09 Jani Taskinen <sniper@iki.fi>
-
- * main/main.c: ws fix
-
-2002-05-09 Preston L. Bannister <preston.bannister@cox.net>
-
- * main/php_ini.c:
- Add check for php.ini in same directory as php.exe (or equivalent executable that loaded php4ts.dll). Check is done before looks in the Windows directory.
- This allows distinct php.ini files when different applications using PHP are installed on the same system. Should be backwards compatible.
-
- Note that checking for php.ini in CWD may be a security risk(?), and can now be made compile-time configurable by removing a single #define.
-
- * ext/session/session.c:
- Change default directory for session data from /tmp (non-portable) to none.
- Default directory for session data (if not specified) is same (platform-specific) directory used for temporary files.
- This is backwards compatible and removes the need for explicitly specifying the session.save_path on Win32.
-
- * main/php_open_temporary_file.c:
- Compute directory for temporary files once and use same directory for all subsequent calls.
-
- * sapi/cgi/cgi_main.c:
- Detect when running under IIS and not require explicit setting of force_redirect.
- This means an explicit php.ini setting is no longer required.
-
-2002-05-09 Edin Kadribasic <edink@proventum.net>
-
- * ext/crack/crack.dsp:
- No need to link libxm2 in order to build php_crack.lib
-
-2002-05-09 Vincent Blavet <vincent@blavet.net>
-
- * pear/Archive/Tar.php:
- * Better handling of Windows paths (\php\any_thing or c:\php\any_thing)
- * Remember that inside the archive path are all the time in unix format /php/any_thing
- * When necessary, '\' are replaced by '/' and 'c:' are removed
- * Synchro with cvs:pear/Archive_Tar/Tar.php version 1.20
-
-2002-05-09 Stig Bakken <ssb@fast.no>
-
- * pear/packages/DB-1.2.tar
- pear/packages/XML_Parser-1.0.tar
- pear/packages/XML_RPC-1.0.2.tar: * add some packages to bundle with PHP
-
- * pear/PEAR/Command/Package.php: * add "pear run-tests" command
-
- * pear/Makefile.frag:
- * use PEAR installer to install stuff (won't overwrite if newer versions
- of packages already are installed)
-
- * pear/XML/Parser.php
- pear/XML/Render.php
- pear/XML/tests/001.phpt
- pear/XML/tests/002.phpt
- pear/XML/tests/003.phpt
- pear/XML/tests/004.phpt
- pear/XML/tests/005.phpt
- pear/XML/tests/parser1.r
- pear/XML/tests/parser1.t
- pear/XML/tests/parser2.i
- pear/XML/tests/parser2.r
- pear/XML/tests/parser2.t
- pear/XML/tests/parser3.r
- pear/XML/tests/parser3.t
- pear/XML/tests/parsererror.r
- pear/XML/tests/parsererror.t
- pear/XML/tests/test.xml: * moving XML_Parser to /pear
-
- * pear/DB/msql.php
- pear/DB/mssql.php
- pear/DB/mysql.php
- pear/DB/oci8.php
- pear/DB/odbc.php
- pear/DB/pgsql.php
- pear/DB/storage.php
- pear/DB/sybase.php
- pear/DB.php
- pear/DB/IDEAS
- pear/DB/MAINTAINERS
- pear/DB/STATUS
- pear/DB/TESTERS
- pear/DB/common.php
- pear/DB/dbase.php
- pear/DB/fbsql.php
- pear/DB/ibase.php
- pear/DB/ifx.php: * permanently moving DB to /pear
-
-2002-05-09 Derick Rethans <d.rethans@jdimedia.nl>
-
- * pear/scripts/phpize.in: - Fix phpize
-
- * pear/scripts/phpize.in: - Dump API NOs
-
-2002-05-09 Jani Taskinen <sniper@iki.fi>
-
- * configure.in
- pear/scripts/php-config.in: Fix 'php-config --version'
-
-2002-05-09 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/standard/info.c: - Add PHP_API_VERSION too
-
- * ext/standard/info.c: - Show both API nos
-
-2002-05-09 Sander Roobol <phy@wanadoo.nl>
-
- * win32/install.txt:
- Added notes that php.exe and not php-cli.exe should be used.
-
- * sapi/cli/php_cli.c
- sapi/cgi/cgi_main.c: Added the current SAPI to the output of php -v
-
-2002-05-09 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Command/Install.php: * show "update ok" after updates
-
- * run-tests.php:
- * try the installed cli binary if everything else fails (I'm starting
- to agree that looking too hard for a php binary is wrong)
-
- * pear/Makefile.frag:
- * install the old-fashioned way for just a bit longer
-
- * pear/scripts/pear.in
- pear/Makefile.frag
- pear/PEAR/Command.php
- pear/PEAR/Command/Auth.php
- pear/PEAR/Command/Config.php
- pear/PEAR/Command/Install.php
- pear/PEAR/Command/Package.php
- pear/PEAR/Command/Registry.php
- pear/PEAR/Command/Remote.php
- pear/PEAR/Frontend/Gtk.php
- pear/package-pear.xml: * add -G option to "pear" for php-gtk frontend
- * added Gtk stub (only creates window right now)
- * added command descriptions
-
-2002-05-08 Jason Greene <jason@inetgurus.net>
-
- * ext/sockets/sockets.c: Merge overflow fix
-
- * ext/sockets/sockets.c: Fix overflow
-
-2002-05-08 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * configure.in
- sapi/apache/mod_php4.c
- main/main.c
- ext/mbstring/mbfilter.h
- ext/mbstring/mbstring.c
- ext/mbstring/mbstring.h
- ext/mbstring/mbfilter.c:
- Added conversion support from script character encoding to internal character encoding. This feature is very useful for japanese who uses Shift_JIS encoding because some of characters in Shift_JIS are including '0x5c' and it causes some troubles on Zend parser. This patch is made by Masaki Fujimoto.
-
-2002-05-08 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * main/output.c: Added estrdup() needed.
- Fixed typo.
-
-2002-05-08 Aaron Bannert <aaron@apache.org>
-
- * EXTENSIONS: This is a more appropriate address for me.
-
-2002-05-08 Zak Greant <zak@mysql.com>
-
- * ext/mysql/php_mysql.c:
- Minor improvement to error message for mysql_data_seek
-
-2002-05-08 Markus Fischer <mfischer@guru.josefine.at>
-
- * run-tests.php: - Add a warning if running with safe_mode enabled.
-
-2002-05-08 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/standard/credits_sapi.h: - Forgot one
-
- * sapi/apache2filter/CREDITS
- EXTENSIONS: - Added Aaron Bannert as maintainer
-
-2002-05-08 Frank M. Kromann <frank@frontbase.com>
-
- * ext/standard/php_smart_str.h: Kill a compiler warning on Win32
-
-2002-05-07 Sascha Schumann <sascha@schumann.cx>
-
- * main/php.h:
- Due to the thread-safety changes and lots of other stuff, the
- current tree is not backwards compatible anymore. Bump API no.
-
-2002-05-07 Jason Greene <jason@inetgurus.net>
-
- * ext/sockets/sockets.c: MFH BSD fix
-
- * ext/sockets/sockets.c: Fix 10830, and 17074
- FreeBSD requires the exact length of the socket type
-
-2002-05-07 Frank M. Kromann <frank@frontbase.com>
-
- * main/spprintf.c: Fixing win32 build.
-
-2002-05-07 Sascha Schumann <sascha@schumann.cx>
-
- * main/snprintf.c
- main/snprintf.h: use thread-safe functions unconditionally
-
- * main/snprintf.c
- main/snprintf.h:
- Add thread-safety to some conversion functions and sync a bit with
- APR.
-
-2002-05-06 Jason Greene <jason@inetgurus.net>
-
- * ext/pcntl/pcntl.c: MFH
-
- * ext/pcntl/pcntl.c:
- Fix invalid warning caused by bogus convert_to_* calls
- Fix possible invalid data in status for pcntl_waitpid()
-
-2002-05-06 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/standard/datetime.c: - WS fix as pointed out by fabwash@hotmail.com
-
-2002-05-06 Jason Greene <jason@inetgurus.net>
-
- * ext/pcntl/pcntl.c: MFH
- Fix for ZTS and crash bugs
-
- * ext/pcntl/pcntl.c: Fix type-o that broke ZTS build
- Fix 3 nasty crash bugs that could occur if pcntl_exec's call to execve errored
-
-2002-05-06 Derick Rethans <d.rethans@jdimedia.nl>
-
- * configure.in
- main/php_version.h: - Swap back version number
-
- * NEWS: - Fix release date
-
-2002-05-06 jim winstead <jimw@apache.org>
-
- * ext/standard/file.c: MFH: fix problem with mkdir() on freebsd
-
- * ext/standard/file.c: fix problem with mkdir() on freebsd
-
-2002-05-06 Edin Kadribasic <edink@proventum.net>
-
- * sapi/cli/README:
- Update README with register_argc_argv settings override.
-
-2002-05-06 Aaron Bannert <aaron@apache.org>
-
- * sapi/apache2filter/sapi_apache2.c: Merge two SEGV fixes from the trunk:
- - startup SEGV caused by delaying the initialization too long.
- - graceful restart SEGV caused by not re-initializing.
-
-2002-05-06 Derick Rethans <d.rethans@jdimedia.nl>
-
- * NEWS: - Fix release day
-
- * main/php_version.h
- configure.in: - GO with rc2
-
-2002-05-05 Wez Furlong <wez.php@thebrainroom.net>
-
- * ext/standard/html.c:
- Add support for remaining entities in HTML 4 for the UTF-8 encoding in
- htmlentities/htmlspecial chars.
- This is a fix for for #17008.
-
-2002-05-05 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * NEWS: Clenup before I forgot.
-
-2002-05-05 Aaron Bannert <aaron@apache.org>
-
- * sapi/apache2filter/sapi_apache2.c:
- Fix a graceful restart SEGV. We no longer only perform initialization
- on the second pass through the post_config. Now we only avoid the
- initialization only on the first DSO load, and on all subsequent loads
- we rerun the init code.
-
- * sapi/apache2filter/sapi_apache2.c:
- Fix an elusive and intermittent startup SEGV. The problem was
- the static string we were using to set an initialization flag
- would get remapped to a different location when Apache reloaded
- the DSO, causing us to not run our initialization routines.
-
- Submitted by: Justin Erenkrantz <jerenkrantz@apache.org>
- Reviewed by: Aaron Bannert (I added the big comment too)
-
-2002-05-05 Stanislav Malyshev <stas@zend.com>
-
- * ext/standard/exec.c: Return right exit status
-
-2002-05-05 Jani Taskinen <sniper@iki.fi>
-
- * sapi/cli/php_cli.c: MFH
-
- * sapi/cli/php_cli.c: Force register_argc_argv=On for CLI
-
-2002-05-05 Thies C. Arntzen <thies@thieso.net>
-
- * ext/standard/url_scanner_ex.c: touch
-
- * ext/session/php_session.h
- ext/session/session.c
- ext/standard/url_scanner_ex.c
- ext/standard/url_scanner_ex.h
- ext/standard/url_scanner_ex.re:
- re-add accidentily nuked session_adapt_url()
-
-2002-05-05 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * ext/mbstring/mbfilter.c
- ext/mbstring/unicode_table.h: bug fixed in unicode -> cp1252 table.
-
-2002-05-05 Marko Karppinen <karppinen@pobox.com>
-
- * sapi/apache2filter/config.m4:
- Well that didn't last long! (Reverting previous.)
-
- * sapi/apache2filter/config.m4:
- Prelim. patch to enable apache2filter to link on Darwin.
- Submitted by: Justin Erenkrantz <jerenkrantz@apache.org>
- Reviewed by: markonen
-
-2002-05-05 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * ext/standard/reg.c:
- fixed problem that ereg_replace() couldn't match with line stand/end marker.
-
- * ext/mbstring/mbfilter.c
- ext/mbstring/mbfilter_cn.c
- ext/mbstring/unicode_table_cn.h:
- added missing areas on Unicode->CP936 conversion table. added an alias CP932 on sjis-win.
-
-2002-05-05 Sascha Schumann <sascha@schumann.cx>
-
- * ext/standard/url_scanner_ex.c: sync
-
- * ext/standard/url_scanner_ex.re:
- the output buffer is flushed during request shutdown before it
- reaches our rshutdown, so it is safe to delete the contents of
- the url rewriter variables here.
-
-2002-05-04 Zeev Suraski <zeev@zend.com>
-
- * main/output.c:
- We shouldn't force Content-length:, but much worse, it's wrong in many
- cases (basically, unless you use output buffering to buffer all of your content,
- it won't work; output buffering is used for lots of different things as a
- functional interface, and such buffers have no relation to Content-type at
- all).
-
-2002-05-04 Sascha Schumann <sascha@schumann.cx>
-
- * main/output.c: Free string before overwriting it
-
- * ext/standard/url_scanner_ex.c: update
-
- * ext/standard/basic_functions.c
- ext/standard/url_scanner_ex.h
- ext/standard/url_scanner_ex.re
- main/output.c
- main/php_output.h
- ext/session/session.c:
- simplify handling of variables by maintaining two strings which
- are simply appended instead of traversing the hash table on each
- URL/form.
-
- also fix an unconditional segfault in rshutdown due to efree'ing
- a static char *.
-
- remove remove_var, add reset_vars. move the function declarations
- into the right header file.
-
- * ext/standard/basic_functions.c: ret set but unused
-
- * main/user_streams.c: these are case sensitive
-
- * ext/standard/iptc.c: c set but unused
-
- * ext/standard/iptc.c: inheader set but unused
-
-2002-05-04 James Cox <james@wherewithal.com>
-
- * main/user_streams.c: touch.
-
- * main/user_streams.c: add $id:$ line
-
-2002-05-04 Sascha Schumann <sascha@schumann.cx>
-
- * ext/standard/string.c:
- block_ended/opposite_target were set but never used
-
- * ext/standard/strnatcmp.c: don't emit code for version
-
- * main/php_variables.c: free_index is set but never used
-
- * main/user_streams.c: call_result is set but never used
-
- * sapi/cli/getopt.c: ap_php_optopt is set but never used
-
- * ext/standard/php_fopen_wrappers.h: Fix linkage of symbols
-
- * ext/standard/image.c: entry_length was set but never used
-
- * ext/standard/var_unserializer.c: update
-
- * ext/standard/var_unserializer.re: rval_temp was declared but never used
-
- * ext/standard/http_fopen_wrapper.c: redirected is set but never used
-
- * ext/standard/url_scanner_ex.c: include url.h
-
- * ext/standard/url_scanner_ex.re:
- include url.h to pull in declaration of php_url_encode
-
- * ext/standard/file.c:
- Make this code work on compilers which don't consider the address
- of a variable on the stack available at compile time.
-
- * ext/standard/basic_functions.c: unused var
-
- * ext/posix/posix.c: p is set, but never used.
-
- * ext/mbstring/config.m4: Turn misplaced PHP_ARG_WITH into _ENABLE
- and fix --enable-mbstring=shared
-
- * ext/session/config.m4: Fix --enable-session=shared
-
- * ext/xml/config.m4: Fix --enable-xml=shared
-
-2002-05-04 Stig Venaas <venaas@uninett.no>
-
- * ext/ldap/ldap.c:
- Reworked result resource handling so that result is not freed until all
- its result entry resources are freed
-
-2002-05-04 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * ext/standard/reg.c:
- fixed a problem that ereg_replace() couldn't match with line stand/end marker.
-
-2002-05-04 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * main/output.c: Forgot to dup strings.
-
- * main/output.c: Fixed reference to freed zval string value.
-
- * main/output.c:
- Fixed crash when buffer is over written in ob callback. (Bug $ 12227)
- Added check current output function check for Centent-Length header.
-
-2002-05-03 Jani Taskinen <sniper@iki.fi>
-
- * NEWS: MFH
-
- * NEWS: Domxml changes go into the 4.2.x branch.
-
-2002-05-03 Christian Stocker <chregu@phant.ch>
-
- * ext/domxml/php_domxml.h
- ext/domxml/php_domxml.c: full MFH as discussed with derick
-
- * ext/domxml/php_domxml.h
- ext/domxml/php_domxml.c:
- removed the function for domxml_node_add_child and made an alias to
- domxml_node_append_child for BC
-
-2002-05-03 Stig Bakken <ssb@fast.no>
-
- * pear/OS/Guess.php: * switched from static to instance model
- * added matching method with glob support, some examples:
- $os->matchSignature('linux');
- $os->matchSignature('linux-2.4*);
- $os->matchSignature('linux-*-i?86');
-
-2002-05-03 Christian Stocker <chregu@phant.ch>
-
- * ext/domxml/php_domxml.c: WS fixes
-
- * ext/domxml/php_domxml.c: one parameter too much
-
- * ext/domxml/php_domxml.c: added encoding support for domxml_dump_mem()
-
-2002-05-03 Thies C. Arntzen <thies@thieso.net>
-
- * ext/standard/url_scanner_ex.c: forgot
-
-2002-05-03 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * ext/session/session.c: Fix ZTS build.
-
-2002-05-03 Thies C. Arntzen <thies@thieso.net>
-
- * main/output.c
- ext/standard/url_scanner_ex.h
- ext/standard/url_scanner_ex.re
- ext/standard/basic_functions.c
- ext/session/session.c
- ext/session/php_session.h: i have also modified the session module to use this - so it doesn't
- need to fiddle with the output-system any more
-
-2002-05-03 Stig Bakken <ssb@fast.no>
-
- * pear/OS/Guess.php
- pear/package-pear.xml:
- * fixed autoconf vs. pear installer replacement issue in scripts/pear.in
- (pear installer now substitutes "@prefix@/bin" to bin_dir ;-)
- * added skeleton for OS_Guess class
-
- * NEWS: * unintentional news entry :-)
-
- * pear/PEAR/Installer.php: * apply umask when installing files
-
-2002-05-02 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Config.php: * add umask config value
-
-2002-05-02 Frank M. Kromann <frank@frontbase.com>
-
- * ext/mbstring/mbfilter_tw.c: Changed & to &&.
-
- * ext/mbstring/mbstring.dsp: Adding missing files to the project
-
- * ext/standard/info.c: Fixing wrong pointer
-
-2002-05-02 Sander Roobol <phy@wanadoo.nl>
-
- * sapi/cgi/cgi_main.c: MFH
-
- * sapi/cgi/cgi_main.c: Fixed some minor typos
-
-2002-05-02 Jason Greene <jason@inetgurus.net>
-
- * ext/sockets/sockets.c:
- socket_write() should just use the standard socket error macro so that errors will be consistent if the macro ever changes
-
-2002-05-02 James Cox <james@wherewithal.com>
-
- * sapi/cgi/cgi_main.c: fix.
-
- * sapi/cgi/cgi_main.c: MFH.
-
-2002-05-02 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * sapi/cgi/cgi_main.c: Fix build.
-
-2002-05-02 James Cox <james@wherewithal.com>
-
- * sapi/cgi/cgi_main.c: updated cgi warning notice.
-
-2002-05-02 Derick Rethans <d.rethans@jdimedia.nl>
-
- * configure.in: - MFH
-
-2002-05-02 Zeev Suraski <zeev@zend.com>
-
- * configure.in: Update comment
-
-2002-05-02 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * main/output.c:
- Change nest level to send Content-Length again. It seems this is the
- best setting for now.
-
- PHP will not send Content-Length always. It only sends when it is
- possible to send. output_buffer=0 is supposed to disable chunked
- output, but it seems it does not disable. It also behaves a litte
- strange way. This should be addressed someday.
-
- It is possible Content-Length header is not set. If it happens, try to
- increase chunk size for now. (i.e. output_buffer=40960)
-
- I included a little debug code for me and other develpers to play with,
- when (NestLevel==1 && ObStatus==5), PHP sends Content-Length.
-
-2002-05-02 Harald Radi <h.radi@nme.at>
-
- * ext/com/COM.c: MFH
-
- * ext/com/COM.c: remove temporary resources immediately
- return value fix
-
-
-2002-05-02 Sascha Schumann <sascha@schumann.cx>
-
- * configure.in: Readd warning
-
- * configure.in: Readd warning
-
- If Mr. Taskinen feels like removing it again, he can commence a
- discussion. Otherwise, I'll personally disable his CVS account
- immediately.
-
- * configure.in:
- in6addr_any is defined as extern in IRIX header files, but is not actually
- contained in any library (sigh).
-
- Make this check fail, if the link stage does not succeed. Also avoid
- GCC optimization which drops the reference to ip6addr_any.
-
- Tested on IRIX 6.5.15.
-
-2002-05-02 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/standard/info.c: - Add Zend API No. to phpinofo() output
-
-2002-05-02 Jani Taskinen <sniper@iki.fi>
-
- * ext/xslt/config.m4: MFH: Do not use the old expat libs.
-
- * ext/xslt/config.m4: Stop the search when the libs are found.
-
- * ext/xslt/config.m4:
- Added the usual search paths where to look for expat.
-
-2002-05-02 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/package-pear.xml: Install pear.bat
-
-2002-05-02 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * win32/php4dll.dsp
- win32/php4dllts.dsp:
- I could swear it worked the other way before I committed.
-
-2002-05-02 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/package-pear.xml: untabify
-
-2002-05-02 James Cox <james@wherewithal.com>
-
- * NEWS: englishify.
-
-2002-05-02 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * main/.cvsignore: Add config.w32.h.
-
- * win32/php4dllts.dsp: Oops.
-
- * NEWS: Fugbix typos.
-
- * main/config.w32.h
- main/config.w32.h.in
- win32/php4dll.dsp
- win32/php4dllts.dsp
- NEWS:
- The Windows build can now be configures more comfortably, for instance in regard to built-in extensions.
-
-2002-05-02 Jani Taskinen <sniper@iki.fi>
-
- * configure.in: MFH
-
- * configure.in: Remove bogus warning.
-
- * NEWS: Sync with PHP_4_2_0 branch.
-
-2002-05-02 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * main/output.c:
- Fixed header output. Only need to output header when it is actually sent to client.
-
-2002-05-02 Jon Parise <jon@csh.rit.edu>
-
- * pear/scripts/pear.in: Revert the previous commit (revision 1.40).
-
- (FreeBSD 4.5), thus producing a broken shebang line.
-
- substitution problem noted above needs to be resolved before the change
- is reapplied.
-
-2002-05-02 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * main/output.c: Check buffer status
-
- * main/main.c
- main/output.c: Make Content-Type output always correct.
-
- * NEWS: Modify NEWS entry for Content-Length header change
-
- * main/output.c
- ext/zlib/zlib.c:
- Move Content-Length: header handling from zlib.c to output.c
- When output buffer is enabled and header can be sent, Content-Length:
- header is added always from now on.
-
-2002-05-01 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/standard/base64.c: - MFH
-
- * ext/standard/base64.c:
- - Fix String is not zero-terminated error in base64_decode
-
-2002-05-01 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/sockets/sockets.c:
- - Update protos for socket_read() and socket_write().
- - Set last_error in socket_write().
-
- * ext/sockets/sockets.c: - Update protos for getpeer/getsock-name.
-
-2002-05-01 Jason Greene <jason@inetgurus.net>
-
- * ext/sockets/sockets.c: Fix BYREF_FORCE that was not being read
- Fix error message
-
-2002-05-01 Sascha Schumann <sascha@schumann.cx>
-
- * configure.in: MFH
-
- * configure.in:
- Add a big disclaimer regarding register_globals. It just bit me again
- but now on a live customer site :-/
-
-2002-05-01 Derick Rethans <d.rethans@jdimedia.nl>
-
- * main/php_version.h
- configure.in: - Update version number
-
- * main/php_version.h
- NEWS
- configure.in: - Go with 4.2.1rc1
-
-2002-05-01 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/sockets/php_sockets.h
- ext/sockets/sockets.c:
- - Rename setopt and getopt to set_option and get_option, provide alias.
-
- * ext/sockets/sockets.c:
- - Fix couple of problems with socket_create_pair():
- - Force fourth argument to be passed by reference
- - Since the argument is modified there is no need to force it to be an array
- since it's destroyed anyway
- - Only modify the argument if socketpair() was successfully
- - Fix string modified for error message message
- - Set global last_error when socketpair() fails
-
- * ext/sockets/sockets.c: - Add SOMAXCONN constant.
-
-2002-05-01 Wez Furlong <wez.php@thebrainroom.net>
-
- * ext/openssl/openssl.c: Fix for #16885
-
- * ext/openssl/openssl.c: No asserts in branch
-
- * ext/openssl/openssl.c:
- MFH fix for #16940, compiler warnings and TSRMLS build fixes.
-
- * ext/openssl/openssl.c: Probable fix for #16940.
-
-2002-05-01 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/sockets/sockets.c: - WS fixes
-
- * NEWS: - Mention the socket_select() API change
-
- * ext/sockets/sockets.c:
- - MFH fix for socket_select() and some minor memory leak; NEWS entry follows.
-
-2002-05-01 Jason Greene <jason@inetgurus.net>
-
- * ext/sockets/sockets.c:
- Changed socket_select to force reference copy, the older code would modify all references
-
- Also fix small memory leak.
-
-2002-04-30 Harald Radi <h.radi@nme.at>
-
- * ext/overload/overload.c: ZE2 compatibility fixes
-
-2002-04-30 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/sockets/sockets.c: - Forgot to update proto
-
- * ext/sockets/sockets.c:
- - Allow resetting the module global last_error too.
-
-2002-04-30 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * ext/mbstring/mbfilter_cn.c
- ext/mbstring/mbfilter_tw.c: More unused variables.
-
-2002-04-30 Stanislav Malyshev <stas@zend.com>
-
- * ext/standard/aggregation.c: Fix ZE1 build
-
-2002-04-30 Harald Radi <h.radi@nme.at>
-
- * NEWS: MFH
-
-2002-04-30 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * ext/mbstring/mbfilter_kr.c: Fix ZTS build. Remove unused variables.
-
- * main/config.w32.h: Add missing #define's.
-
-2002-04-30 Harald Radi <h.radi@nme.at>
-
- * NEWS:
-2002-04-30 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * win32/php4dll.dsp
- win32/php4dllts.dsp: Add new ext/mbstring/mbfilter_*.c files.
-
-2002-04-30 Sascha Schumann <sascha@schumann.cx>
-
- * ext/standard/var_unserializer.c: Touch file
-
-2002-04-30 Dan Kalowsky <dank@deadmime.org>
-
- * ext/odbc/php_odbc.c:
- reverting the cursor change as it seems to break many ODBC drivers.
-
- * ext/odbc/php_odbc.c:
- re-setting the CURSOR back to DYNAMIC rather than FORWARD_ONLY. This change
- broke many other ODBC drivers (obviously testing wasn't extensive).
-
-2002-04-30 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * ext/mbstring/mbfilter.c
- ext/mbstring/mbregex.c: fixed compile warning with Visual C++.
-
- * ext/mbstring/mbfilter_cn.c
- ext/mbstring/mbfilter_cn.h
- ext/mbstring/mbfilter_ja.c
- ext/mbstring/mbfilter_kr.c
- ext/mbstring/mbfilter_kr.h
- ext/mbstring/mbfilter_tw.c
- ext/mbstring/mbfilter_tw.h
- ext/mbstring/mbstring.c
- ext/mbstring/unicode_table_cn.h
- ext/mbstring/unicode_table_kr.h
- ext/mbstring/unicode_table_tw.h
- ext/mbstring/config.m4
- ext/mbstring/mbfilter.c
- ext/mbstring/mbfilter.h:
- added simplified chinese, traditional chinese, korean support to mbstring. Note that this feature is experimental.
-
-2002-04-30 Stanislav Malyshev <stas@zend.com>
-
- * ext/standard/browscap.c: ZE2 compatibility fix
-
- * ext/standard/aggregation.c: ZE2 compatibility fixes
-
-2002-04-30 Jani Taskinen <sniper@iki.fi>
-
- * ext/standard/tests/file/003.phpt:
- revert last bogus change. There is bug in is_file()
-
-2002-04-30 Uwe Steinmann <Uwe.Steinmann@fernuni-hagen.de>
-
- * ext/domxml/php_domxml.c
- ext/domxml/php_domxml.h:
- - added function domxml_parser_set_keep_blanks()
-
-2002-04-30 Frank M. Kromann <frank@frontbase.com>
-
- * ext/mbstring/mbstring.dsp: Adding missing files to project
-
-2002-04-30 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * ext/standard/file.c: Fix ZTS build.
-
-2002-04-30 Wez Furlong <wez.php@thebrainroom.net>
-
- * ext/standard/http_fopen_wrapper.c:
- Make use of new flag so that we can buffer http headers when we know that
- the stream is not intended to be used in require/include.
-
- * ext/standard/file.h
- ext/standard/file.c
- ext/standard/basic_functions.c:
- Implement user-space funtions to operate on stream contexts.
-
- * ext/standard/tests/file/003.phpt: Fix is_file test.
-
- * main/streams.c: Remove debug code that should not have been committed.
-
- * main/network.c: Remove this; it should not have been commited
-
- * main/main.c: revert...
-
- * main/main.c
- main/network.c
- main/php_streams.h
- main/streams.c: Implement context option setting API.
- Add/amend debugging code for sockets.
- Add a flag that will help the http wrapper optimize itself when
- it is not being used for include/require.
-
-2002-04-29 Jani Taskinen <sniper@iki.fi>
-
- * pear/pear.m4: MFH: Add the shared extension check.
-
- * ext/ming/config.m4:
- Never add libraries without checking that they exist and can be linked.
-
-2002-04-29 Harald Radi <h.radi@nme.at>
-
- * ext/com/COM.c: MFH
-
- * ext/com/COM.c: RETURN_NULL() is defined with braces while RETURN_TRUE
- and RETURN_FALSE are defined without.
- seems not very consistent ?
-
-2002-04-29 Stanislav Malyshev <stas@zend.com>
-
- * ext/standard/var.c: MFH
-
- * ext/standard/var.c: Add comments for the fix
-
- * ext/standard/var.c: Fix here too
-
-2002-04-29 Harald Radi <h.radi@nme.at>
-
- * ext/com/COM.c: MFH
-
- * ext/com/COM.c:
- functions returned FALSE in case of error and the oo api returned NULL.
- make them both behave equal (return NULL, as FALSE can be a valid value).
-
-2002-04-29 Stanislav Malyshev <stas@zend.com>
-
- * ext/standard/var.c: MFH serializer fix
-
- * ext/standard/var.c: Yet another serialization fix - for incomplete class
-
-2002-04-29 Jani Taskinen <sniper@iki.fi>
-
- * ext/recode/config.m4
- ext/recode/recode.c:
- Make it possible to use recode 3.5 too. (happy now Wez? :)
-
- * NEWS: Sync with PHP_4_2_0 branch.
-
-2002-04-29 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/sockets/sockets.c: - Fix WS and CS a bit
-
- * ext/sockets/php_sockets.h
- ext/sockets/sockets.c:
- - Store last errno in the module global 'last_error' implicitely
- - Set the global 'last_error' explicitely for functions which can't return an
- error withing a single socket context (socket_create and socket_select)
- - Modified socket_last_error() to return global modules last
- error if no socket resource is given
- - Added a couple of more E_WARNING messages in case something
- goes foobar so the user isn't left alone in the dark.
-
-2002-04-29 Mika Tuupola <tuupola@appelsiini.net>
-
- * pear/File/Find.php:
- * fixed the maxrecursion in mapTreeMultiple()
-
-2002-04-29 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * NEWS: Added touch fix
-
- * ext/standard/filestat.c: MFH touch bag fix
-
- * NEWS: MFB
-
- * NEWS: Added NEWS entry for PostgreSQL function rename.
- Removed duplicate entry.
-
-2002-04-29 Stig Bakken <ssb@fast.no>
-
- * pear/package-pear.xml: * version will be 0.10
-
- * pear/PEAR/Packager.php: * slight cleanup
-
- * pear/PEAR/Packager.php: * call the right parent constructor
-
- * pear/PEAR/Command/Install.php:
- * PEAR_Installer constructor now expects only the UI object
-
- * pear/PEAR/Command/Remote.php:
- * PEAR_Common::downloadHttp no longer wants a config object
-
- * pear/PEAR/Common.php:
- * always set $this->config (use PEAR_Config::singleton)
- * rename setFrontend to setFrontendObject
- * add validPackageName method
- * added downloadHttp callback types setup, connfailed and writefailed
- * no more passing config objects around
-
- * pear/PEAR/Installer.php: * use the downloadHttp method w/callback
-
-2002-04-29 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * ext/ming/config.m4:
- shlib suffix was not defind and rint() was not found without -lm.
-
-2002-04-28 Jani Taskinen <sniper@iki.fi>
-
- * build/rules.mk: Fixed bug: #16858
-
-2002-04-28 Sascha Schumann <sascha@schumann.cx>
-
- * ext/standard/url_scanner_ex.c: touch file
-
- * ext/standard/url_scanner_ex.c: Touch generated file
-
-2002-04-28 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * main/config.w32.h
- main/internal_functions_win32.c
- win32/php4dll.dsp
- win32/php4dllts.dsp:
- Enable bundled build of ext/ctype and ext/mbstring on Win32.
-
-2002-04-28 Stanislav Malyshev <stas@zend.com>
-
- * ext/standard/var_unserializer.c
- ext/standard/var_unserializer.re
- ext/standard/var.c: MFH: serializer/unserializer fix
-
- * ext/standard/var.c
- ext/standard/var_unserializer.c
- ext/standard/var_unserializer.re: Fix couple of nasty serializer bugs:
- a) When array unserializer encounters less data than it expects (like:
- a:1:{}) it crashes. I don't understand exactly why it does, but the fact
- is it does. So now it should catch "}" and bail out.
- b) When array/object data are serialized, the count is written by hash
- count. However, it can be that in-loop check fails and less data than
- expected will then be written into the array. Which, due to a), would
- crash on unserialize. So now it will write empty entries in place of
- entries it cannot serialize (the other choice would be make two passes on
- the data, which I don't like).
-
-2002-04-28 Thies C. Arntzen <thies@thieso.net>
-
- * ext/standard/url_scanner_ex.c: timestamp
-
- * NEWS
- ext/session/php_session.h
- ext/session/session.c
- ext/standard/url_scanner_ex.c
- ext/standard/url_scanner_ex.h
- ext/standard/url_scanner_ex.re:
- revert session_set_userdata - diffent patch will come shortly
-
-2002-04-28 Stig Bakken <ssb@fast.no>
-
- * pear/package.dtd: * forgot script element in release contents
-
- * pear/PEAR/Common.php
- pear/package.dtd: * package.dtd: version 1.0b7
- - added <provides> element
- - added <script> element
-
- * pear/PEAR/Command/Remote.php:
- * implemented "list-remote-packages" command
-
- * pear/PEAR/Remote.php:
- * implemented stub for XML_RPC fallback if xmlrpc-epi is not installed
-
-2002-04-28 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * pear/HTML/IT.php
- pear/HTML/ITX.php
- pear/HTML/IT_Error.php: Move IT[X] to /pear.
-
- * pear/HTML/Menu.php
- pear/HTML/Menu_Browser.php: Move Menu* to /pear.
-
-2002-04-28 Jani Taskinen <sniper@iki.fi>
-
- * ext/mysql/php_mysql.c:
- - Added optional 3rd parameter to mysql_select_db() which makes it return
- the previously selected database name.
-
- * ext/mysql/php_mysql.c: kill a compile warning
-
- * acinclude.m4
- sapi/apache/libphp4.module.in: Fix build when openssl is enabled.
-
- * ext/standard/url_scanner_ex.c:
- touch file. Please commit first the .re file and afterwards the .c source. Otherwise, timestamps will be broken.
-
- * Makefile.global: Missing dependancies..
-
-2002-04-28 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/DB/odbc.php:
- Fix odbc_fetch_into() compat for 4.2.0 (reported by Nate Ward)
-
-2002-04-28 Jani Taskinen <sniper@iki.fi>
-
- * NEWS: - Cleaned out the CVS commit conflicts..
-
- * acinclude.m4: Fix bug: #16823
-
- * ext/iconv/iconv.c: ws fix
-
-2002-04-28 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/standard/tests/file/003.phpt
- ext/standard/tests/file/003.inc: Add test case for file_exist/is_file
-
-2002-04-27 Sascha Schumann <sascha@schumann.cx>
-
- * ext/zlib/zlib.c: s/len/xln/ was necessary here
-
- Noticed by: Charles O Parks III
-
- * ext/zlib/zlib.c: Use a single macro to set cl header
-
-2002-04-27 Thies C. Arntzen <thies@thieso.net>
-
- * ext/zlib/zlib.c:
- - If possible set Content-Length header in zlib.output_compression mode. (thies)
-
-2002-04-27 Harald Radi <h.radi@nme.at>
-
- * ext/com/TODO: updated TODO list
-
-2002-04-27 Thies C. Arntzen <thies@thieso.net>
-
- * ext/standard/url_scanner_ex.c: part 2 of last commit
-
- * ext/standard/url_scanner_ex.h
- ext/standard/url_scanner_ex.re
- ext/session/php_session.h
- ext/session/session.c:
- - added session_set_userdata() which enables you to specify one variable
- that will be kept in the browser in addition to the session-id. This
- only works when using trans-sid sessions (no cookie). (thies)
-
-2002-04-27 Rasmus Lerdorf <rasmus@lerdorf.on.ca>
-
- * NEWS
- php.ini-dist
- php.ini-recommended:
-2002-04-27 Harald Radi <h.radi@nme.at>
-
- * ext/com/COM.c
- ext/com/com.h: MFH
-
- * ext/com/COM.c:
- don't set CLSCTX_REMOTE_SERVER if NULL is passed as servername
-
-2002-04-27 Jani Taskinen <sniper@iki.fi>
-
- * ext/mysql/config.m4: MFH: fix for bug #16743
-
- * ext/mysql/config.m4: Fix bug: #16743
-
-2002-04-26 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/standard/filestat.c
- ext/standard/php_filestat.h
- ext/standard/basic_functions.c: Fixed bug #16861.
- touch sets wrong atime or mtime when they are not specified.
- touch silently failed when HAVE_UTIME is not defined.
- (This needs more consideration. Which platform does not support it?)
-
-2002-04-26 Sascha Schumann <sascha@schumann.cx>
-
- * ext/session/session.c: three less strlen invocations
-
- * sapi/apache2filter/config.m4
- sapi/apache/config.m4: be a bit more verbose about what is wrong
-
-2002-04-26 Harald Radi <h.radi@nme.at>
-
- * ext/com/com.h:
- this patch should fix a bug where intermediate comvals were not
- released before they were freed. this caused outproc com server
- to belive that they still referenced even when the php process
- already terminated.
-
-2002-04-26 Dan Kalowsky <dank@deadmime.org>
-
- * ext/odbc/php_odbc.c:
- bug fix for bug #15758, a double free'ing of an ODBC connection
-
-2002-04-26 Sascha Schumann <sascha@schumann.cx>
-
- * sapi/apache/libphp4.module.in: Fix external builds
-
- * configure.in: reuse known values
-
- * ext/mbstring/mbstring.h
- ext/mbstring/php_mbregex.c: Improve use of module_globals macros
-
-2002-04-26 Jani Taskinen <sniper@iki.fi>
-
- * sapi/apache2filter/config.m4
- sapi/apache/config.m4:
- MFH: fix bug: #16791 (more reliable version check)
-
- * sapi/apache2filter/config.m4
- sapi/apache/config.m4: - Fix for bug: #16791. (more reliable test)
-
-2002-04-26 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/DB/pgsql.php: E_ALL fix when DSN is given as an array
-
-2002-04-25 jim winstead <jimw@apache.org>
-
- * ext/standard/url_scanner_ex.c: update generated file
-
- * ext/standard/url_scanner_ex.re:
- Do not add redundant id attribute. It doesn't make the output any
- more standards compliant.
-
-2002-04-25 Edin Kadribasic <edink@proventum.net>
-
- * ext/mysql/config.m4: MFH
-
- * ext/mysql/config.m4: Some systems have mysql socket in /var/run/mysql
-
- * ext/oracle/oracle.c: MFB
-
- * ext/oracle/oracle.c: Fix the fix.
-
- * ext/oracle/oracle.c: Fix win32 build
-
-2002-04-25 Colin Viebrock <colin@easydns.com>
-
- * pear/Net/Dig.php
- pear/Crypt/CBC.php: moved into /pear
-
-2002-04-25 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * ext/standard/string.c:
- fixed directory access problem when direcory name is encoded in japanese Shift_JIS encoding.
-
-2002-04-25 Jani Taskinen <sniper@iki.fi>
-
- * ext/standard/exec.c: MFH: fix for bug #16811
-
-2002-04-25 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Installer.php: * fix warning
-
-2002-04-25 Sascha Schumann <sascha@schumann.cx>
-
- * ext/standard/url_scanner_ex.c:
- Touch generated file to increase timestamp
-
-2002-04-25 Harald Radi <h.radi@nme.at>
-
- * main/win95nt.h: already defined in zend_config.win32.h
-
-2002-04-25 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/tests/17result.phpt
- ext/pgsql/tests/result.inc: Added test for pg_fetch_*() functions
-
- * ext/pgsql/pgsql.c: Revert last 2 commits.
-
-2002-04-25 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/standard/exec.c: - Fix for bug #16811
-
- * ext/com/conversion.c: - MFH: fix for bug #14353
-
- * ext/com/conversion.c: - Fix for bug #14353
-
- * ext/standard/url_scanner_ex.c
- ext/standard/url_scanner_ex.re: - Fix for bug 16810 (XHTML compliance)
-
-2002-04-25 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/config.m4: Fix version in message
-
-2002-04-25 Jani Taskinen <sniper@iki.fi>
-
- * NEWS: fine-tuning
-
- * ext/xslt/config.m4: Only support the new libexpat.
-
-2002-04-25 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/php_pgsql.h
- ext/pgsql/pgsql.c:
- pg_client_encoding/pg_set_client_encoding should be compiled always.
- Recent libpq has PQclientEncoding/PQsetClientEncoding regarless of
- multibyte support enabled or not.
-
- Reported by c@cornelia-boenigk.de
-
-
-2002-04-24 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/pgsql.c: Remove result_type from pg_fetch_object() proto.
- It still accepts 3rd argument, but passing 3rd argument
- does not make sense for pg_fetch_object().
-
- * ext/pgsql/pgsql.c:
- It does not make any sense to have a PGSQL_BOTH as a default for pg_fetch_object()
- Noticed by c@cornelia-boenigk.de
-
-2002-04-24 Dan Kalowsky <dank@deadmime.org>
-
- * ext/odbc/php_odbc.c:
- clearing up some code to remove any possible confusion in variable counts
-
-2002-04-24 Jani Taskinen <sniper@iki.fi>
-
- * ext/mysql/config.m4: MFH
-
- * ext/mysql/config.m4: - Fixed a typo..
-
-2002-04-24 Stanislav Malyshev <stas@zend.com>
-
- * main/output.c: MFH
-
- * main/output.c:
- Init output_start_* to avoid "output started at ZZZZZ" messages
- (which may result when output started while zend is neither compiling nor
- executing - e.g., when file upload fails).
-
-2002-04-24 Andrei Zmievski <andrei@ispi.net>
-
- * NEWS: *** empty log message ***
-
-2002-04-24 Jani Taskinen <sniper@iki.fi>
-
- * ext/imap/php_imap.c: MFH
-
- * ext/imap/php_imap.c:
- - Do the ssl_onceonlyinit() as last. This is how c-client creates
- the linkage.c (used by Pine).
-
-2002-04-24 Andrei Zmievski <andrei@ispi.net>
-
- * ext/standard/array.c: MFH.
-
-2002-04-24 Jani Taskinen <sniper@iki.fi>
-
- * ext/imap/.cvsignore: - Missing .libs line..
-
-2002-04-24 Andrei Zmievski <andrei@ispi.net>
-
- * ext/standard/array.c: Fix Bug #14795.
-
- * ext/standard/array.c:
- Fix unwanted type conversion in array_merge_recursive (Bug #14990).
-
-2002-04-24 Jani Taskinen <sniper@iki.fi>
-
- * ext/recode/config.m4
- ext/recode/php_recode.h
- ext/recode/recode.c: One big mess is a bit less mess now.
-
-2002-04-24 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/mbstring/mbstring.c:
- Fixed typo. Compiler compiled with this typo somehow.
-
-2002-04-24 Uwe Steinmann <Uwe.Steinmann@fernuni-hagen.de>
-
- * NEWS: - Put news item about changes of domxml in
-
-2002-04-24 Derick Rethans <d.rethans@jdimedia.nl>
-
- * NEWS: Merge fixes
-
- * NEWS: - Layout and release date
-
-2002-04-24 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * NEWS: Added NEWS for recent multibyte related fixes.
-
-2002-04-24 Jani Taskinen <sniper@iki.fi>
-
- * ext/domxml/php_domxml.c: Fix ZTS build.
-
- * NEWS: Added the 4.2.1 entries here too.
-
- * NEWS: Forgot this one..
-
- * NEWS: Added entry for the SID fix.
-
- * sapi/apache/mod_php4.c: This was not supposed to be committed..
-
- * php.ini-recommended
- sapi/apache/mod_php4.c: MFH
-
- * php.ini-recommended: fixed the comment..
-
-2002-04-24 Aaron Bannert <aaron@apache.org>
-
- * sapi/apache2filter/sapi_apache2.c:
- Apache does a full load, unload, load cycle for each DSO module.
- This patch makes sure that any startup actions that are performed
- for PHP don't happen until the second load (the second call to
- the post_config hook), and it also prevents subsequent calls
- to the initialization routines.
-
- Suggested By: Cliff Woolley
-
- PR: 16475, 16754
-
-2002-04-24 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Registry.php:
- * add "_lastmodified" timestamp to registry files (don't trust filemtime)
-
-2002-04-23 Jani Taskinen <sniper@iki.fi>
-
- * ext/java/Makefile.in: Make sure the extension will be named java.so
-
-2002-04-23 Stig Bakken <ssb@fast.no>
-
- * pear/package-pear.xml: 0.9.1 release notes ++
-
- * pear/PEAR/Common.php: * make validator work again
-
-2002-04-23 Jani Taskinen <sniper@iki.fi>
-
- * ext/java/README: MFH
-
- * ext/java/README: Fixed the extension name.
-
-2002-04-23 Stig Bakken <ssb@fast.no>
-
- * pear/package-db.xml: * roll out 1.2 release
-
-2002-04-23 Jani Taskinen <sniper@iki.fi>
-
- * ext/gd/config.m4: MFH
-
- * ext/gd/config.m4: Wrong variable used here..
-
- * configure.in: ws fix
-
-2002-04-23 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/posix/posix.c: - Fix proto.
-
- * ext/pcntl/pcntl.c: - MFH fix for #16766.
-
- * ext/pcntl/pcntl.c: - Fix pcntl_waitpid() [Fixes #16766].
-
-2002-04-23 Sascha Schumann <sascha@schumann.cx>
-
- * ext/session/mod_files.c: Add #ifdef.. around F_SETFD.
-
-2002-04-23 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/cyrus/cyrus.c
- ext/ldap/ldap.c: Fix TSRMLS_CC thingies.
-
- * ext/cyrus/cyrus.c
- ext/ldap/ldap.c: Fix TSRMLS_CC
-
-2002-04-23 Sascha Schumann <sascha@schumann.cx>
-
- * ext/session/mod_files.c: MFH: Rip out use of O_EXCL
-
- * ext/session/session.c: MFH define_sid issue
-
-2002-04-23 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * win32/readdir.c:
- fixed access problem when japanese Shift_JIS character is used as directory name. Some characters in Shift_JIS are including 0x5c (slash) as second byte.
-
-2002-04-23 Mika Tuupola <tuupola@appelsiini.net>
-
- * pear/File/Find.php:
- * added $maxrecursion parameter to mapTreeMultiple()
-
-2002-04-23 Uwe Steinmann <Uwe.Steinmann@fernuni-hagen.de>
-
- * ext/domxml/php_domxml.c: - replace_child() will not add a child twice
- - domxml_open_mem() drops old optional parameter to switch between reading
- from a string or a file.
- - new optional parameter for domxml_open_mem() which set the mode how the
- document shall be parsed
-
-2002-04-23 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/mbstring/mbstring.c: MFH
- Fix empty output when no conversion is done.
- Fix possible problem with wide chars.
-
-2002-04-23 Hartmut Holzgraefe <hartmut@six.de>
-
- * sapi/apache/php_apache.c:
- apache_child_terminate() returns status as bool
- proto fixes
-
-2002-04-23 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/mbstring/mbstring.c: Remove unneeded 'return'.
-
- * ext/mbstring/mbstring.c: Fix possible wide char prolem.
- Fix empty output when no conversion is performed.
-
-2002-04-23 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Command/Remote.php: * use PEAR_Common::downloadHttp()
-
- * pear/PEAR/Common.php:
- * downloadHttp: pass the total number of bytes downloaded as parameter
- to the 'done' callback
-
- * pear/PEAR/Common.php:
- * moved these "class variables" to global variables and added static methods for getting
- them: maintainer_roles, release_states, dependency_types, dependency_relations,
- file_roles, replacement_types
- * added downloadHttp method with status callback support (can be used by installers
- to show download progress)
-
-2002-04-23 Uwe Steinmann <Uwe.Steinmann@fernuni-hagen.de>
-
- * ext/domxml/php_domxml.h:
- - added new function DomDocument->ids (subject to change)
-
- * ext/domxml/php_domxml.c:
- - get_element_by_id() doesn't use xpath anymore but searches in
- xmlDoc->ids as provided by libxml.
- - New function DomDocument->ids() returns a list of ids (subject to change)
- - replace_node() doesn't make a copy of the new node if it has no parents
-
-2002-04-23 Sascha Schumann <sascha@schumann.cx>
-
- * acinclude.m4:
- No need for an ifelse here (which was lacking a char anyway :-)
-
-2002-04-23 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/php_pgsql.h
- ext/pgsql/tests/12pg_insert.phpt
- ext/pgsql/tests/13pg_select.phpt
- ext/pgsql/tests/14pg_update.phpt
- ext/pgsql/tests/pg_delete.inc
- ext/pgsql/tests/pg_insert.inc
- ext/pgsql/tests/pg_select.inc
- ext/pgsql/tests/pg_update.inc
- ext/pgsql/pgsql.c:
- Make pg_convert/pg_insert/pg_select/pg_update/pg_delete a bit more flexible.
- pg_convert() may ignore, NOT NULL and/or DEFAULT.
- pg_insert/pg_update/pg_select/pg_update may return query string.
-
-2002-04-23 Jani Taskinen <sniper@iki.fi>
-
- * main/rfc1867.c:
- MFH the possible crash bug fix and warning -> notice change.
-
- * sapi/apache/mod_php4.c: This was not supposed to be uncommented..yet.
-
- * sapi/apache/mod_php4.c
- sapi/apache/php_apache.c
- sapi/apache/php_apache_http.h
- sapi/apache/sapi_apache.c: Part 4 of apache sapi build fixes:
- - Fixed many conflicts caused by bogus includes, e.g the infamous XtOffset
- redefinition warning is gone now.
-
- * sapi/apache/apMakefile.tmpl
- sapi/apache/config.m4
- sapi/apache/libphp4.module.in: Part 3 of static apache build fixes:
- - Use the PHP_CFLAGS when compiling the php4 module in apache tree.
- - Use the apache include dir only when compiling sapi/apache
- o Fixes the fnmatch.h issue Wez complained about :)
-
- * configure.in: Part 2 of static apache build fixes:
- - Added 2 variables to be used in libphp4.module
- o Apparently autoconf 2.53 screws abs_srcdir
- - Made INCLUDES and EXTRA_INCLUDES available to be used with AC_OUTPUT()
- o Not related to the static apache build issues
-
- * acinclude.m4:
- Part 1 of commits to fix some issues with static apache (1.3.x) compile:
- - Made the OPENSSL_INCDIR available to be added in the PHP_CFLAGS
- in libphp4.module
- - Make it possible to set SAPI specific include dirs
-
- * NEWS: Missing date for 4.2.0
-
- * main/rfc1867.c:
- Changed the error for 'no upload' to E_NOTICE so that it doesn't
- pollute the logs too much.
-
-
-2002-04-22 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * win32/readdir.c:
- fixed access problem when japanese Shift_JIS character is used as directory name. Some characters in Shift_JIS are including 0x5c (slash) as second byte.
-
-2002-04-22 Sascha Schumann <sascha@schumann.cx>
-
- * ext/standard/php_smart_str.h: remove unnecessary casts
-
- * ext/session/mod_files.c:
- Set the close-on-exec flag for fds. Child processes should not inherit
- the fd.
-
- Also rip out the broken O_EXCL use. Our file names are not unique and
- this left a small window open where creating a session file would fail
- (a, b notice that the file does not exist; a creates the file successfully;
- b tries to create, but fails due to O_EXCL).
-
-2002-04-22 Jim Jagielski <jim@jaguNET.com>
-
- * sapi/apache2filter/apache_config.c: Typo in error string
-
-2002-04-22 Harald Radi <h.radi@nme.at>
-
- * ext/rpc/rpc.c
- ext/rpc/rpc_proxy.c:
- set up a proxy object when requesting a reference to a variable
-
- * ext/standard/php_smart_str.h: fixes a warning when compiling under win32
-
-2002-04-22 Marko Karppinen <karppinen@pobox.com>
-
- * sapi/apache2filter/config.m4: Refine the OS X support a bit
-
- * sapi/apache2filter/config.m4:
- Merged the Mac OS X compile changes from the Apache 1.3 SAPI.
- --with-apxs2 should now work on Mac OS X / Darwin.
-
- * NEWS: Prettify the NEWS entries
-
- * CREDITS: Let's pretend this is up-to-date now
-
-2002-04-22 Harald Radi <h.radi@nme.at>
-
- * ext/rpc/com/com.c
- ext/rpc/handler.h
- ext/rpc/rpc.c
- ext/rpc/rpc.h
- ext/rpc/rpc_proxy.c
- ext/rpc/rpc_proxy.h:
- changes related to the latest commit of the zend engine
-
-2002-04-22 Edin Kadribasic <edink@proventum.net>
-
- * sapi/apache2filter/php4apache2.dsp: Reverting my previous patch.
-
-2002-04-22 Derick Rethans <d.rethans@jdimedia.nl>
-
- * NEWS: - Fix date
-
-2002-04-22 Martin Jansen <mail@martin-jansen.de>
-
- * pear/PEAR/WebInstaller.php:
- * Due to the recent changes in the installer stuff, the webinstaller
- is not supported at the moment.
-
-2002-04-22 Sascha Schumann <sascha@schumann.cx>
-
- * ext/pgsql/pgsql.c:
- hash keys lengths include the NUL-byte, so we need to copy one byte less.
-
- also add missing commas in the INSERT clause.
-
- Noticed by: Yasuo Ohgaki
-
-2002-04-21 Jani Taskinen <sniper@iki.fi>
-
- * ext/domxml/tests/.cvsignore: missing .cvsignore
-
-2002-04-21 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * ext/mbstring/mbstring.c:
- small performance improvement when pass is selected as input encoding.
-
-2002-04-21 Edin Kadribasic <edink@proventum.net>
-
- * sapi/apache2filter/php4apache2.dsp:
- Added ..\..\..\php_build\lib\apache2 to libpath and
- ..\..\..\php_build\include\apache2 to includepath
-
-2002-04-21 Richard Heyes <richard@phpguru.org>
-
- * pear/File/SearchReplace.php: * Moving to it's own package
-
-2002-04-21 Wez Furlong <wez.php@thebrainroom.net>
-
- * ext/gd/libgd/gd.c
- ext/gd/libgd/gd.h
- ext/gd/libgd/gd_png.c
- ext/gd/libgd/gdft.c
- ext/gd/libgd/webpng.c:
- Apply that patch I wrote ages ago that fixes some problems with true-color
- vs palette based handling.
- Also implements the gdImageStringFTEx function.
-
-2002-04-21 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/DB/STATUS
- pear/DB/oci8.php:
- Added oci8 tableInfo (thanks Bertrand Mansion <bmansion@mamasam.com>!)
-
- * pear/DB/tests/oci8/mktable.inc: Include the correct file
-
- * pear/DB/tests/oci8/connect.inc: Use the right include_path
-
- * pear/DB/tests/oci8/02fetch.phpt
- pear/DB/tests/oci8/03simplequery.phpt
- pear/DB/tests/oci8/04numcols.phpt
- pear/DB/tests/oci8/05sequences.phpt
- pear/DB/tests/oci8/06prepexec.phpt
- pear/DB/tests/oci8/07errornative.phpt
- pear/DB/tests/oci8/08affectedrows.phpt
- pear/DB/tests/oci8/09numrows.phpt
- pear/DB/tests/oci8/10errormap.phpt
- pear/DB/tests/oci8/12tableinfo.phpt
- pear/DB/tests/oci8/13limit.phpt:
- - Added test for the new tableInfo()
- - Fixed include_path's for tests
-
-2002-04-21 Martin Jansen <mail@martin-jansen.de>
-
- * pear/DB/TESTERS: * Fix CVS username
-
-2002-04-21 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Installer.php: * more uniform "level 2 debug messages"
- * don't add dirname(file) to install path if install-as attribute is set
-
-2002-04-21 Sascha Schumann <sascha@schumann.cx>
-
- * ext/pgsql/pgsql.c:
- refactoring in pgsql_do_connect and some "leaner" code in pgsql_add_quotes
-
- * ext/pgsql/pgsql.c:
- Avoid allocating resources, if we know that the input array is empty.
-
- Also pass tsrmls to do_exec.
-
- * ext/pgsql/pgsql.c: speling fix and s/FAILURE/HASH_KEY_NON_EXISTANT/
-
- * ext/pgsql/pgsql.c:
- The default has been changed to assume failure, because there were 5-10
- cases of failure and one success.
-
- * ext/pgsql/pgsql.c:
- Add PGSQL_RETURN_OID which encapsulates the LONG_MAX check etc.
-
- Add a few missing smart_str_0's.
-
- Remove a "(" in a probably less-tested #ifdef.. branch
-
- * ext/pgsql/config.m4:
- Also support --disable-shared installations of pgsql
-
-2002-04-21 Stig Bakken <ssb@fast.no>
-
- * pear/package-pear.xml: * set version to 0.9.1-dev
-
- * pear/package-pear.xml
- pear/scripts/pear.in:
- * PHP_PREFIX constant is not defined, use bin_dir pear config instead
-
-2002-04-21 Sascha Schumann <sascha@schumann.cx>
-
- * ext/pgsql/pgsql.c:
- My patch as posted to php-dev + warnings/errors fixed as seen in
- Yasuo's reply.
-
-2002-04-21 Martin Jansen <mail@martin-jansen.de>
-
- * pear/PEAR/Installer.php:
- * Remove package directory if empty during uninstall process
- * Don't baseinstalldir for documentation.
-
-2002-04-21 Jani Taskinen <sniper@iki.fi>
-
- * ext/java/config.m4: Tiny typo..
-
-2002-04-21 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Command/Remote.php: Bail on no HTTP.php present in the system
- Let "pear download" act ala wget
-
- * pear/PEAR/Common.php: typo
-
-2002-04-21 Sascha Schumann <sascha@schumann.cx>
-
- * ext/standard/php_smart_str.h
- ext/standard/var.c: simplify and improve speed of smart_str_print_long.
-
- also add a variant for unsigned numbers.
-
-2002-04-21 Sterling Hughes <sterling@bumblebury.com>
-
- * ext/xslt/sablot.c: expletives deleted.
-
- * ext/xslt/sablot.c: some more fixes towards making it work again
-
-2002-04-20 Sascha Schumann <sascha@schumann.cx>
-
- * ext/dio/dio.c: allocate space for NUL
-
-2002-04-20 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/recode/recode.c: - initialize globals properly
-
-2002-04-20 jim winstead <jimw@apache.org>
-
- * ext/gd/config.m4:
- include the checks for various support libraries to --with-gd=php section. the
- libgd stuff needs some additional checks to handle the presence/absence of
- things like libpng, but this helps when most things are included.
-
- * ext/gd/config.m4: s/.o/.c/
-
-2002-04-20 Sterling Hughes <sterling@bumblebury.com>
-
- * ext/dio/dio.c: realloc buffer down
-
-2002-04-20 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * README.TESTING: Removed for consistency with current build system.
-
-2002-04-20 Sascha Schumann <sascha@schumann.cx>
-
- * ext/mbstring/config.m4:
- If I don't want mbstring, I also don't want this transparent encoding
- thingee which caused an undefined reference in main.o.
-
-2002-04-20 Wez Furlong <wez.php@thebrainroom.net>
-
- * ext/mailparse/README:
- The PECL version probably will not compile with PHP 4.2 unless they
- check it out on the branch.
- I have a tarball ready-to-go from my site, so add a not about it.
-
-2002-04-20 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/tests/large_object.inc
- ext/pgsql/pgsql.c:
- Make pg_lo_import()/pg_lo_unlink()/pg_lo_open()/pg_lo_export() work with oid larger than 2^31.
-
-2002-04-20 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/mailparse/.cvsignore
- ext/mailparse/CREDITS
- ext/mailparse/EXPERIMENTAL
- ext/mailparse/README: - Fix mailparse dir for release
-
- * main/php_version.h
- configure.in: - Update version numbers
-
- * configure.in
- main/php_version.h: Go with 4.2.0
-
- * ext/mailparse/.cvsignore: MFH: Missing .cvsignore file
-
- * ext/mailparse/.cvsignore: - Add missing .cvsignore
-
-2002-04-20 Sander Roobol <phy@wanadoo.nl>
-
- * .cvsignore: Another .cvsignore update
-
- * sapi/webjames/.cvsignore
- sapi/servlet/.cvsignore
- sapi/thttpd/.cvsignore
- sapi/tux/.cvsignore
- sapi/pi3web/.cvsignore
- sapi/roxen/.cvsignore
- sapi/isapi/.cvsignore
- sapi/nsapi/.cvsignore
- sapi/phttpd/.cvsignore
- sapi/fastcgi/.cvsignore
- sapi/fhttpd/.cvsignore
- sapi/cgi/.cvsignore
- sapi/cli/.cvsignore
- sapi/apache/.cvsignore
- sapi/apache2filter/.cvsignore
- sapi/caudium/.cvsignore
- sapi/.cvsignore
- sapi/aolserver/.cvsignore
- regex/.cvsignore
- pear/scripts/.cvsignore
- ext/yp/.cvsignore
- ext/zip/.cvsignore
- ext/zlib/.cvsignore
- ext/xslt/.cvsignore
- ext/yaz/.cvsignore
- ext/xmlrpc/libxmlrpc/.cvsignore
- ext/xml/expat/.cvsignore
- ext/xmlrpc/.cvsignore
- ext/wddx/.cvsignore
- ext/xml/.cvsignore
- ext/tokenizer/.cvsignore
- ext/vpopmail/.cvsignore
- ext/w32api/.cvsignore
- ext/sybase_ct/.cvsignore
- ext/sysvsem/.cvsignore
- ext/sysvshm/.cvsignore
- ext/sybase/.cvsignore
- ext/sockets/.cvsignore
- ext/standard/.cvsignore
- ext/swf/.cvsignore
- ext/snmp/.cvsignore
- ext/session/.cvsignore
- ext/shmop/.cvsignore
- ext/skeleton/.cvsignore
- ext/qtdom/.cvsignore
- ext/readline/.cvsignore
- ext/recode/.cvsignore
- ext/pgsql/.cvsignore
- ext/posix/.cvsignore
- ext/pspell/.cvsignore
- ext/pdf/.cvsignore
- ext/pfpro/.cvsignore
- ext/pcntl/.cvsignore
- ext/pcre/.cvsignore
- ext/overload/.cvsignore
- ext/ovrimos/.cvsignore
- ext/oracle/.cvsignore
- ext/odbc/.cvsignore
- ext/openssl/.cvsignore
- ext/oci8/.cvsignore
- ext/notes/.cvsignore
- ext/ncurses/.cvsignore
- ext/mssql/.cvsignore
- ext/mysql/.cvsignore
- ext/mysql/libmysql/.cvsignore
- ext/msession/.cvsignore
- ext/msql/.cvsignore
- ext/mnogosearch/.cvsignore
- ext/mime_magic/.cvsignore
- ext/ming/.cvsignore
- ext/mcrypt/.cvsignore
- ext/mhash/.cvsignore
- ext/ldap/.cvsignore
- ext/mbstring/.cvsignore
- ext/mcal/.cvsignore
- ext/ircg/.cvsignore
- ext/java/.cvsignore
- ext/ingres_ii/.cvsignore
- ext/interbase/.cvsignore
- ext/imap/.cvsignore
- ext/informix/.cvsignore
- ext/icap/.cvsignore
- ext/iconv/.cvsignore
- ext/gmp/.cvsignore
- ext/hyperwave/.cvsignore
- ext/gettext/.cvsignore
- ext/fribidi/.cvsignore
- ext/ftp/.cvsignore
- ext/gd/.cvsignore
- ext/fbsql/.cvsignore
- ext/fdf/.cvsignore
- ext/filepro/.cvsignore
- ext/dbx/.cvsignore
- ext/dio/.cvsignore
- ext/domxml/.cvsignore
- ext/exif/.cvsignore
- ext/dbase/.cvsignore
- ext/dbplus/.cvsignore
- ext/db/.cvsignore
- ext/dba/.cvsignore
- ext/curl/.cvsignore
- ext/cybercash/.cvsignore
- ext/cybermut/.cvsignore
- ext/cyrus/.cvsignore
- ext/crack/.cvsignore
- ext/ctype/.cvsignore
- ext/com/.cvsignore
- ext/cpdf/.cvsignore
- ext/bz2/.cvsignore
- ext/calendar/.cvsignore
- ext/ccvs/.cvsignore
- ext/.cvsignore
- ext/aspell/.cvsignore
- ext/bcmath/.cvsignore:
- Removed makefiles from most .cvsignores and some minor cleanups.
-
- * ext/gd/libgd/.cvsignore: Added missing .cvsignore
-
-2002-04-20 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/pgsql.c: Added comment to fix large OID value handling later.
- Fixed wrong conversion specifiers.
-
- * ext/pgsql/pgsql.c: Added missing 'd'.
-
- * ext/pgsql/pgsql.c: Some cleanup.
- More OID range related fixes.
-
- * ext/pgsql/pgsql.c: Fixed OID overflow. If value is larger than MAX_LONG,
- pg_last_oid() returns string to keep correct value.
-
- * ext/pgsql/php_pgsql.h: Added API version for C programs
-
- * ext/pgsql/pgsql.c: Remove warnings.
- Fixed OID overflow bug.
- Fixed type convertion bug.
-
-2002-04-20 Jani Taskinen <sniper@iki.fi>
-
- * NEWS: We call them "extension"..and again, missing period. :-p
-
-2002-04-19 Sterling Hughes <sterling@bumblebury.com>
-
- * ext/xslt/sablot.c: throw a warning if encoding support not available...
-
- * TODO: update todo a bit
-
- * ext/xslt/php_sablot.h
- ext/xslt/sablot.c:
- make it work with dom processing, this allows DOM tree caching to avoid
- re-parsing the same data. Currently very beta -- DO NOT USE. Will be cleaning
- this up over the next few days... Need this in here for version history, and
- to show other people
-
-2002-04-19 Adam Dickmeiss <adam@indexdata.dk>
-
- * ext/yaz/php_yaz.c: fix warning
-
- * ext/yaz/php_yaz.c: Indentation;)
-
- * ext/yaz/php_yaz.c: fix warning
-
-2002-04-19 Andrei Zmievski <andrei@php.net>
-
- * ext/pcre/php_pcre.c: Revert bogus patch.
-
-2002-04-19 Harald Radi <h.radi@nme.at>
-
- * win32/php4dllts.dsp: MFH
-
-2002-04-19 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/pcre/php_pcre.c: - Fix warnings in VC
-
-2002-04-19 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Config.php: * add http_proxy config setting
-
- * pear/PEAR/Installer.php:
- * make "pear install package.xml" possible, so you can install a package
- without building a tarball first
-
- * pear/PEAR/Command/Install.php:
- * reintroduce (un)install -r option for Registeration only
-
- * pear/PEAR.php: * fix phpdoc
-
-2002-04-19 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/pgsql.c: Fixed pg_insert/update/select/delete overflow.
-
- * ext/pgsql/tests/08escape.phpt
- ext/pgsql/tests/10pg_convert.phpt
- ext/pgsql/tests/11pg_metadata.phpt
- ext/pgsql/tests/escape.inc: Update tests
-
- * ext/pgsql/pgsql.c:
- Added "NOT NULL" check and do not add converted variable when field is NULL and HAS DEFAULT.
- (php_pgsql_convert)
-
- * ext/pgsql/pgsql.c: Changed "default" -> "has default" (metadata)
- Fixed comment. Do not use magic number.
-
-2002-04-19 Wez Furlong <wez.php@thebrainroom.net>
-
- * ext/bz2/bz2.c
- ext/standard/fsock.c
- ext/zlib/zlib.c
- ext/zlib/zlib_fopen_wrapper.c
- main/network.c
- main/streams.c
- NEWS: Make scheme part decoding rfc2396 compliant.
- Change zlib:// and bzip2:// to compress.zlib:// and compress.bzip2://
- Tidy up old socket/network code/comments.
-
-2002-04-19 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/openssl/openssl.c
- ext/standard/http_fopen_wrapper.c: Remove compiler warnings
-
- * ext/session/tests/001.phpt
- ext/session/tests/002.phpt
- ext/session/tests/003.phpt
- ext/session/tests/004.phpt
- ext/session/tests/005.phpt
- ext/session/tests/006.phpt: Fixed file include error
-
- * ext/xslt/sablot.c: Remove warning.
-
- * ext/mbstring/tests/019.phpt: Fixed test title (strlen -> mb_strlen)
-
- * ext/pgsql/pgsql.c: Leave "" (null string) when converting.
-
- * ext/iconv/iconv.c: Remove warnings
-
- * php.ini-dist
- php.ini-recommended: Added mbstring.func_overload directive
-
- * ext/mbstring/config.m4: Fixed messages
-
- * php.ini-dist: Remove gargabe
-
- * ext/mbstring/config.m4: Enable mbstring by default.
-
- * php.ini-dist
- php.ini-recommended: Added description to mbstring ini entries
-
- * main/php_ini.c: Avoid defining/using S_ISDIR macro.
-
-2002-04-18 Derick Rethans <d.rethans@jdimedia.nl>
-
- * sapi/isapi/php4isapi.c: - MFH for bug in Sambar 5.2
-
- * sapi/isapi/php4isapi.c:
- - Gaurd for problems in fault servers (fixes problem with Sambar 5.2)
-
-2002-04-18 Aaron Bannert <aaron@apache.org>
-
- * sapi/apache2filter/README:
- Document the new PHPINIDir directive in the apache2filter/README.
-
- * sapi/apache2filter/apache_config.c
- sapi/apache2filter/php_apache.h
- sapi/apache2filter/sapi_apache2.c:
- This patch implements a new Apache2 directive called PHPINIDir that
- allows the specification of the php.ini directory from within the Apache
- configuration. If left unset, the default is to defer to the hard-coded
- php paths. When set, the supplied path is made relative to Apache's
- internal ServerRoot setting.
-
- Example:
- PHPINIDir "conf"
-
-2002-04-18 Martin Jansen <mail@martin-jansen.de>
-
- * pear/PEAR/Command.php: * Add API documentation.
-
-2002-04-18 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * main/internal_functions_win32.c: Allow for PCRE to be disabled.
-
- * ext/mysql/php_mysql.c: Make use of HAVE_MYSQL. Reviewed by: Sterling.
-
- * main/internal_functions_win32.c: Conditionally include mbstring.h.
-
-2002-04-18 Aaron Bannert <aaron@apache.org>
-
- * sapi/apache2filter/sapi_apache2.c:
- Fix an intermittent SEGV when an error bubbled up from PHP before our
- server context was set. Now if that happens we simply don't log against
- any particular server config (vhost).
-
- Obtained from bug report by: Balazs Nagy <js@iksz.hu>
-
-2002-04-18 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * main/config.w32.h
- main/internal_functions_win32.c:
- Add HAVE_CALENDAR, HAVE_COM, HAVE_SESSION and HAVE_TOKENIZER to enable/disable these extensions, respectively. It is now possible to build PHP on Win32 with just ext/standard and ext/pcre. The latter is needed by the former, because at least the aggregation functions use PCRE.
-
-2002-04-18 Aaron Bannert <aaron@apache.org>
-
- * sapi/apache2filter/sapi_apache2.c:
- Fix an intermittent SEGV when an error bubbled up from PHP before our
- server context was set. Now if that happens we simply don't log against
- any particular server config (vhost).
-
- Obtained from bug report by: Balazs Nagy <js@iksz.hu>
-
- * sapi/apache2filter/sapi_apache2.c:
- It makes more sense to do the null-pointer check *before* trying to use it.
- (Also fix a typo that Cliff pointed out: "safe" --> "save".)
-
- Obtained from: Ryan Morgan <rmorgan@covalent.net>
-
-2002-04-18 Sander Roobol <phy@wanadoo.nl>
-
- * ext/xslt/sablot.c: Removed redefinition of MIN()
-
- * ext/dbx/dbx.c: Removing unused variable
-
-2002-04-18 Stig Bakken <ssb@fast.no>
-
- * pear/pear.m4: * another file that should not have been MFH'ed
-
-2002-04-18 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/dba/config.m4
- ext/dba/dba_cdb.c
- ext/dba/dba_db2.c
- ext/dba/dba_db3.c
- ext/dba/dba_dbm.c
- ext/dba/dba_gdbm.c
- ext/dba/dba_ndbm.c: - Make DBA compile as a shared module
-
- * ext/dba/config.m4
- ext/dba/dba_cdb.c
- ext/dba/dba_db2.c
- ext/dba/dba_db3.c
- ext/dba/dba_dbm.c
- ext/dba/dba_gdbm.c
- ext/dba/dba_ndbm.c: - MFH: Make DBA compile as a shared module again
-
-2002-04-18 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * main/config.w32.h: Some cleanup for the Win32 build configuration.
-
-2002-04-18 Hartmut Holzgraefe <hartmut@six.de>
-
- * ext/standard/tests/general_functions/003.phpt
- ext/standard/levenshtein.c: MFH fix for #16473
-
-2002-04-18 Harald Radi <h.radi@nme.at>
-
- * ext/com/conversion.c
- ext/com/COM.c: MFH
-
- * ext/com/conversion.c: whitespace fixes
-
-2002-04-18 Alan Brown <abrown@pobox.com>
-
- * ext/com/COM.c:
- Missing break; causes fallthrough which actually causes heap corruption in the debugging version despite being just plain wrong. Also placed a default "Unavailable" message when the object does not populate the EXCEPINFO structure. Also removed a minor memory leak.
-
- * ext/com/conversion.c:
- When V_BSTR() is NULL, we pass a NULL pointer into php_OLECHAR_to_char() which reports an exception. Better to map a NULL string pointer to ZVAL_NULL.
-
-2002-04-17 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * main/internal_functions_win32.c: Whitespace fixes.
-
- * main/internal_functions_win32.c:
- Only include php_bcmath.h when WITH_BCMATH=true.
-
- * main/internal_functions_win32.c: Give HAVE_MYSQL meaning on Win32.
-
- * main/internal_functions_win32.c: Give HAVE_UODBC meaning on Win32.
-
- * main/internal_functions_win32.c:
- Give HAVE_LIBEXPAT and HAVE_WDDX meaning on Win32.
-
- * main/internal_functions_win32.c: Give HAVE_FTP meaning on Win32.
-
- * main/internal_functions_win32.c: Remove bogus includes.
-
- * main/php_ini.c: Patch by Marcus Börger.
-
-2002-04-17 Mika Tuupola <tuupola@appelsiini.net>
-
- * pear/File/Passwd.php:
- * added lock(), unlock(), isLocked() and getCvsUser() methods.
-
-2002-04-17 Stig Bakken <ssb@fast.no>
-
- * pear/scripts/phpize.in: * revert buildv5 changes
-
- * pear/PEAR/Packager.php: * doooh!
-
-2002-04-17 Uwe Steinmann <Uwe.Steinmann@fernuni-hagen.de>
-
- * ext/xmlrpc/xmlrpc-epi-php.c: - fixed memory leak
-
-2002-04-17 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * main/internal_functions_win32.c: SPACEs->TAB.
-
- * ext/overload/overload.c
- ext/tokenizer/tokenizer.c: Beautify.
-
- * main/internal_functions_win32.c: Forgot adding phpext_tokenizer_ptr.
-
- * win32/php4dll.dsp
- win32/php4dllts.dsp
- main/internal_functions_win32.c:
- Enable ext/tokenizer by default on Win32, too. Since there is no HAVE_TOKENIZER flag, it cannot be turned off in config.w32.h.
-
-2002-04-16 Wez Furlong <wez.php@thebrainroom.com>
-
- * main/php_streams.h
- main/streams.c
- pear/scripts/pear.in
- pear/scripts/pearize.in
- main/php.h
- ext/zlib/zlib_fopen_wrapper.c
- ext/standard/php_fopen_wrapper.c
- ext/zlib/zlib.c
- ext/standard/ftp_fopen_wrapper.c
- ext/standard/http_fopen_wrapper.c
- ext/standard/dir.c
- ext/bz2/bz2.c
- ext/standard/basic_functions.c:
- Always initialize wrappers, regardless of PG(allow_url_fopen).
- Add is_url field to wrapper structure; the stream wrapper openers
- will disallow opening is is_url && !PG(allow_url_fopen).
- Add infrastructure for stat($url) and opendir($url).
- Tidy up/centralize code that locates and instantiates wrappers for the
- various operations.
- Implement opendir for plain files.
- Make the PHP opendir and dir functions use the streams implementations.
- Add modelines for syntax highlighting the pear scripts in vim
-
-2002-04-16 Stig Bakken <ssb@fast.no>
-
- * pear/DB.php: * added DB::isConnection
- * phpdoc fixes
-
-2002-04-16 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * main/php_ini.c: fix cli/cgi -c <path>|<file>
-
-2002-04-16 Aaron Bannert <aaron@apache.org>
-
- * sapi/apache2filter/sapi_apache2.c:
- It makes more sense to do the null-pointer check *before* trying to use it.
- (Also fix a typo that Cliff pointed out: "safe" --> "save".)
-
- Obtained from: Ryan Morgan <rmorgan@covalent.net>
-
-2002-04-16 Sterling Hughes <sterling@bumblebury.com>
-
- * ext/xslt/sablot.c:
- move xslt_error and xslt_errno down to functions, in order to
- make logical room for the xslt_dom_* functions
-
-
-2002-04-16 Wez Furlong <wez.php@thebrainroom.com>
-
- * ext/zlib/zlib.c: remove old code
-
-2002-04-16 Sander Roobol <phy@wanadoo.nl>
-
- * ext/w32api/w32api.c: MFH (#16628)
-
- * ext/w32api/w32api.c: Added missing function to function_entry
-
-2002-04-16 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Common.php:
- * started working on analyzeSourceCode and detectDependencies methods
-
-2002-04-16 Jani Taskinen <sniper@iki.fi>
-
- * ext/tokenizer/tokenizer.c: removed ws pollution
-
- * ext/tokenizer/tokenizer.c: Added 2 new tokens: T_CLASS_C and T_FUNC_C
-
-2002-04-16 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/xslt/config.m4: - MFB: Remove version number
-
- * ext/xslt/config.m4: - Remove version number here
-
-2002-04-16 Sterling Hughes <sterling@bumblebury.com>
-
- * ext/xslt/README.XSLT-BACKENDS:
- update these docs, phpdoc will lag a bit :)
-
- * ext/xslt/php_sablot.h
- ext/xslt/sablot.c:
- Prefix current functions with "sax" in order to make way for dom interface
- backwards compatibility is maintained via function aliases
- xslt_sax_set_sax_handlers is a bit wierd, i guess...
-
- * ext/xslt/sablot.c: clean up the error code a tidbit
-
-2002-04-16 Stig Bakken <ssb@fast.no>
-
- * ext/tokenizer/config.m4: * build tokenizer by default
-
- * pear/PEAR/Packager.php:
- * chdir back to original dir in PEAR_Packager::package
- * only display "cvstag" hint if CVS/Root exists
-
-2002-04-16 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Autoloader.php
- pear/PEAR/Command/Remote.php: Added standar header
-
- * pear/PEAR/Command/Registry.php:
- Vim tags added plus some other minor text about license and author
-
- * pear/PEAR/Command/Registry.php:
- Be more clear when no packages are installed
-
- * pear/PEAR/Command/Package.php:
- Give the right error when wrong params given to package-info and
- fix/add help some help messages
-
-2002-04-15 Frank M. Kromann <frank@frontbase.com>
-
- * ext/mbstring/mbstring.h: Fixing Win32 compilation of mbstring
-
- * ext/exif/exif.dsp: Fixing Win32 compilation of exit
-
- * main/php_streams.h
- main/spprintf.c
- main/spprintf.h
- main/streams.c: Adding PHPAPI needed for exif on Win32
-
-2002-04-15 Mark L. Woodward <mlwmohawk@mohawksoft.com>
-
- * ext/msession/reqclient.h
- ext/msession/msession.c: Chages for beta3
-
-2002-04-15 Wez Furlong <wez.php@thebrainroom.com>
-
- * main/network.c: should not be there
-
- * main/network.c: Some minor tweaks and debugging for sockets.
-
-2002-04-15 Uwe Steinmann <Uwe.Steinmann@fernuni-hagen.de>
-
- * ext/domxml/php_domxml.c:
- - DomNode->replace_node() now returns the node that was replace and
- not the new node
- - fixes Bug #15949
-
- * ext/domxml/php_domxml.h
- ext/domxml/php_domxml.c: - added DomNode->replace_child()
-
-2002-04-14 Sterling Hughes <sterling@bumblebury.com>
-
- * NEWS: this news entry reports a new mailparse addition
- a later news entry reports that mailparse has been moved to pecl
- 1+1 = 2
-
-2002-04-14 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/exif.c: support for WinXP tags (thanks to Rui Carmo)
-
-2002-04-14 Thies C. Arntzen <thies@thieso.net>
-
- * ext/oci8/oci8.c: fix crash bug introduced by last commit (damncvs diff!)
-
- * ext/oci8/oci8.c: fix crash bug introduced by last commit
-
-2002-04-14 Derick Rethans <d.rethans@jdimedia.nl>
-
- * main/php_version.h
- configure.in: - Swap back version numbers after tagging
-
- * configure.in
- main/php_version.h: - Go with RC4
-
-2002-04-14 Jani Taskinen <sniper@iki.fi>
-
- * sapi/apache/config.m4:
- Make the configure fail if someone tries to use --with-apache with Apache2
-
-2002-04-14 Markus Fischer <mfischer@guru.josefine.at>
-
- * pear/PEAR/Frontend/CLI.php:
- - Do not try to draw a table if there are not elements.
-
-
-2002-04-14 Jani Taskinen <sniper@iki.fi>
-
- * NEWS: Fixed some entries..
-
- * sapi/apache2filter/sapi_apache2.c: ws fixes
-
-2002-04-14 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/zip/zip.c: - MFH: Fix NULL-termination issue
-
- * ext/zip/zip.c: - Fix null-termination problem
-
-2002-04-14 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * ext/mbstring/mbstring.c:
- fixed error output handler when 'pass' is choosed as output encoding.
-
-2002-04-14 Jani Taskinen <sniper@iki.fi>
-
- * sapi/cli/config.m4: Make it possible to actually disable the CLI..
-
- * sapi/cli/config.m4: This is experimental still
-
- * sapi/cli/config.m4: Make this work as it was supposed to work.
-
-2002-04-14 Frank M. Kromann <frank@frontbase.com>
-
- * ext/fbsql/config.m4: /usr/lib is the default install dir on Mandrake
-
-2002-04-14 Jani Taskinen <sniper@iki.fi>
-
- * ext/java/Makefile.in
- ext/java/config.m4: MFH (use of correct javac/jar binaries)
-
- * ext/java/Makefile.frag
- ext/java/config.m4: - Use the correct javac/jar binaries.
-
-2002-04-13 Thies C. Arntzen <thies@thieso.net>
-
- * ext/oci8/oci8.c: MFH: ocibind: avoid warning in debug mode
-
- * ext/oci8/oci8.c:
- ocibind: avoid warning in debug mode if an outbound variable is NULL
-
-2002-04-13 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * main/php_ini.c: Fix cli/cgi -c option
-
-2002-04-13 Thies C. Arntzen <thies@thieso.net>
-
- * ext/oci8/oci8.c:
- MFH: Mixing OCIPlogon and OCINLogon no longer leak Oracle-Sessions. (thies)
- to RM: this is a real fix that _should_ be in 4.2!
-
- * ext/oci8/oci8.c:
- - Mixing OCIPlogon and OCINLogon no longer leak Oracle-Sessions. (thies)
-
-2002-04-13 Christian Stocker <chregu@phant.ch>
-
- * ext/domxml/php_domxml.c
- ext/domxml/php_domxml.h:
- - old $node->append_child() is now $node->append_sibling(), since
- new append_child() now behaves like excepted (= W3C standard) (chregu, uwe)
-
-2002-04-13 Sascha Schumann <sascha@schumann.cx>
-
- * ext/gd/config.m4: s/==/=/
-
-2002-04-13 Markus Fischer <mfischer@guru.josefine.at>
-
- * pear/PEAR/Installer.php:
- - Also raise a different error message if we don't specify any package at all.
-
-
-2002-04-13 Jani Taskinen <sniper@iki.fi>
-
- * sapi/apache/config.m4:
- - Prevent users from trying to make a static build with Apache2 using
- --with-apache
-
-
-2002-04-13 Markus Fischer <mfischer@guru.josefine.at>
-
- * pear/PEAR/Installer.php:
- - Return a different error message if no package file was given at all.
-
-2002-04-13 Rasmus Lerdorf <rasmus@php.net>
-
- * ext/gd/config.m4: oops
-
-2002-04-13 Markus Fischer <mfischer@guru.josefine.at>
-
- * pear/Archive/Tar.php: - Properly format error message.
-
-
- * ext/xml/xml.c: - Fix a possible memory leak in xml_set_handler().
-
- I stumbled over this while trying out 'pear package' which, while doing
- xml parsing, re-assigns the variaous callback handlers depending
- on the version during xml processing.
-
- If this check causes problems, let me know.
-
-2002-04-13 Jani Taskinen <sniper@iki.fi>
-
- * pear/Makefile.in
- pear/Makefile.frag: - Makefile.frag is not supposed to be here..
- - Net/Socket.php doesn't exist anymore
-
-2002-04-13 Rasmus Lerdorf <rasmus@php.net>
-
- * ext/gd/libgd/gdfonts.c
- ext/gd/libgd/gdfonts.h
- ext/gd/libgd/gdfontt.c
- ext/gd/libgd/gdfontt.h
- ext/gd/libgd/gdft.c
- ext/gd/libgd/gdhelpers.c
- ext/gd/libgd/gdhelpers.h
- ext/gd/libgd/gdkanji.c
- ext/gd/libgd/gdparttopng.c
- ext/gd/libgd/gdtables.c
- ext/gd/libgd/gdtest.c
- ext/gd/libgd/gdtestft.c
- ext/gd/libgd/gdtopng.c
- ext/gd/libgd/gdxpm.c
- ext/gd/libgd/jisx0208.h
- ext/gd/libgd/mathmake.c
- ext/gd/libgd/pngtogd.c
- ext/gd/libgd/pngtogd2.c
- ext/gd/libgd/testac.c
- ext/gd/libgd/wbmp.c
- ext/gd/libgd/wbmp.h
- ext/gd/libgd/webpng.c
- ext/gd/libgd/README
- ext/gd/libgd/gd.c
- ext/gd/libgd/gd.h
- ext/gd/libgd/gd2copypal.c
- ext/gd/libgd/gd2time.c
- ext/gd/libgd/gd2topng.c
- ext/gd/libgd/gd_arc_f_buggy.c
- ext/gd/libgd/gd_gd.c
- ext/gd/libgd/gd_gd2.c
- ext/gd/libgd/gd_io.c
- ext/gd/libgd/gd_io.h
- ext/gd/libgd/gd_io_dp.c
- ext/gd/libgd/gd_io_file.c
- ext/gd/libgd/gd_io_ss.c
- ext/gd/libgd/gd_jpeg.c
- ext/gd/libgd/gd_png.c
- ext/gd/libgd/gd_ss.c
- ext/gd/libgd/gd_topal.c
- ext/gd/libgd/gd_wbmp.c
- ext/gd/libgd/gdcache.c
- ext/gd/libgd/gdcache.h
- ext/gd/libgd/gddemo.c
- ext/gd/libgd/gdfontg.c
- ext/gd/libgd/gdfontg.h
- ext/gd/libgd/gdfontl.c
- ext/gd/libgd/gdfontl.h
- ext/gd/libgd/gdfontmb.c
- ext/gd/libgd/gdfontmb.h
- ext/gd/config.m4: Initial commit of the built-in libgd based on GD-2.0.1
- This initial checkin has no changes to any of the libgd code so it can
- be used as a basis for diffs. It also will not build currently because
- of this. The PHP gd checks need to be incorporated along with a bit of
- other config magic. It also shouldn't break the build and will only
- take effect if you use --with-gd=php right now.
-
-2002-04-13 Jani Taskinen <sniper@iki.fi>
-
- * ext/posix/posix.c:
- MFH: For example the compile in AIX does not like these at all..
-
- * ext/posix/posix.c: Do NOT use c++ comments in c code!!!!!
-
-2002-04-13 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Command/Package.php:
- * cvstag command: tag slide option is -f, not -F
-
- * pear/PEAR/Common.php:
- * missing file role message could be mistaken for missing maintainer role
-
-2002-04-13 Jani Taskinen <sniper@iki.fi>
-
- * sapi/apache/config.m4
- sapi/apache2filter/config.m4: MFH.
-
- (Prevent users from trying to build Apache 1.x module with Apache 2.x and
- vice-versa)
-
- * ext/standard/config.m4: MFH (forgot to commit this..sorry Derick..)
-
-2002-04-13 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Remote.php:
- * add cookie authentication to PEAR_Remote (temporarily in addition to http auth)
-
-2002-04-12 Jani Taskinen <sniper@iki.fi>
-
- * sapi/apache2filter/config.m4
- sapi/apache/config.m4:
- - Added checks to prevent building the DSO with wrong configure option.
-
-2002-04-12 Aaron Bannert <aaron@apache.org>
-
- * sapi/apache2filter/sapi_apache2.c:
- Fix a typo and a build error detected by the lovely HPUX11 ANSI C compiler.
-
-2002-04-12 Jani Taskinen <sniper@iki.fi>
-
- * ext/exif/exif.c: Fix the build.
-
- * ext/zlib/zlib.c: Do NOT use C++ comments in C code.
-
-2002-04-12 jim winstead <jimw@apache.org>
-
- * RELEASE_PROCESS:
- remove this, since it doesn't describe the current process, and is
- under a silly license.
-
-2002-04-12 Derick Rethans <d.rethans@jdimedia.nl>
-
- * main/php_version.h
- configure.in: - Swap back development version numbers
-
-2002-04-12 Wez Furlong <wez.php@thebrainroom.com>
-
- * ext/openssl/openssl.c: fix build with ZE2
-
-2002-04-12 Derick Rethans <d.rethans@jdimedia.nl>
-
- * configure.in
- main/php_version.h: - Go with RC3
-
-2002-04-12 Wez Furlong <wez.php@thebrainroom.com>
-
- * main/php_streams.h: fix segfault
-
-2002-04-12 Sascha Schumann <sascha@schumann.cx>
-
- * build/rules.mk
- build/rules_common.mk
- build/rules_pear.mk
- build/program.mk: Gone they are.. files related to the old build-system
-
-2002-04-12 Jan Lehnardt <jan@dasmoped.net>
-
- * ext/pcntl/tests/001.phpt: - MFB (4_2_0)
-
- * ext/pcntl/tests/001.phpt: - fix testcase
- - patch by: Roman Neuhauser <neuhauser@mail.cz>
-
-2002-04-12 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/exif.c
- ext/exif/tests/001.phpt
- ext/exif/tests/003.phpt:
- Ini settings for internal encoding and decoding of Unicode and JIS formatted user comments.
-
-2002-04-12 Frank M. Kromann <frank@frontbase.com>
-
- * ext/zlib/zlib.c: Removing a unused local variable.
- Setting the size before returning the value in readgzfile
-
-2002-04-12 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/mbstring/mbstring.h
- ext/mbstring/mbstring.c: -new function php_mb_check_encoding_list
- -mark module globals as const (thread safety)
-
-2002-04-12 Sander Roobol <phy@wanadoo.nl>
-
- * ext/mbstring/tests/003.phpt: MFH
-
- * ext/mbstring/tests/003.phpt: This test should be skipped if(!cgi)
-
-2002-04-12 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * ext/mbstring/mbstring.c:
- fixed a bug which causes crash when charset is not set.
-
-2002-04-12 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/mbstring/mbstring.c: -fix mb_detect_order
- -php_mbstring_parse_encoding_list/array return 0 on any illegal input
-
-2002-04-12 Uwe Steinmann <Uwe.Steinmann@fernuni-hagen.de>
-
- * ext/domxml/php_domxml.h
- ext/domxml/php_domxml.c: - added method DomNode->remove_child()
-
- * ext/domxml/php_domxml.h: - fixed stupid compile error
-
- * ext/domxml/php_domxml.h
- ext/domxml/php_domxml.c:
- - insert_before(): copy node before doing the insert
- - append_child(): actually do an append child and not and add sibling
- - what is called xmlDtd in libxml is actually the class DocumentType
- in DOM. The domxml extension used a class DomDtd which is not defined
- in the DOM standard. Instead of using DomDtd DomDocumentType is now
- used. DomDtd has been renamed to Dtd but has not meaning anymore.
- - added more functions
-
-2002-04-12 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * win32/php4dll.dsp: Sync with php4dllts.
-
- * win32/php4dllts.dsp
- win32/php4dll.dsp: MFH (Reduce warning level for re2c generated files.
-
-2002-04-12 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * run-tests.php:
- Enable CGI binary for testing. CGI binary should be used when it's
- available, since some tests cannot be performed by CLI. (And
- many of them are just failing now)
- Fixed SAPI and VERSION output.
-
- * Makefile.global: Be nice to php.ini-recommended users.
- php.ini-recommended uses output buffer resulting delayed output during
- "make test". User php.ini file is used anyway, since run-tests.php
- invoke php for each test from there.
-
-2002-04-12 Rasmus Lerdorf <rasmus@php.net>
-
- * ext/exif/tests/003.phpt:
- This exif test was failing because the \0's in the expected output had
- disappeared. It may be CVS doing this. I have put the nulls back, but we
- may have to mark this as a binary file in th cvswrappers, or rewrite the
- test to not output nulls.
-
-2002-04-12 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/xslt/config.m4: Update Sablotron version supported.
-
- * sapi/cgi/cgi_main.c
- main/php_ini.c
- sapi/cli/php_cli.c: CGI/CLI take file and dir for -c option by this.
-
-2002-04-11 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/mbstring/mbstring.c:
- interpret empty to_encoding as encoding not set what results in current_internal_encoding
-
-2002-04-11 Jani Taskinen <sniper@iki.fi>
-
- * NEWS: Fixed (again) the news entry..NEWS file is not a manual.
-
-2002-04-11 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * ext/mbstring/mbstring.c:
- fixed a bug which causes crash when charset is not set.
-
-2002-04-11 Harald Radi <h.radi@nme.at>
-
- * ext/gd/gd.c: fixed typo
-
- * ext/gd/gd.c: fixed type
-
-2002-04-11 Aaron Bannert <aaron@apache.org>
-
- * sapi/apache2filter/php_apache.h
- sapi/apache2filter/sapi_apache2.c:
- Fix a problem where php-generated data was pushed down the entire output
- filter chain instead of just down the rest of the chain. This fix will
- speed up some unnecessary overhead introduced in the last patch.
-
- Suggested by: Cliff Woolley <jwoolley@apache.org>
-
-2002-04-11 Harald Radi <h.radi@nme.at>
-
- * ext/gd/gd.c: fixed type
-
-2002-04-11 Aaron Bannert <aaron@apache.org>
-
- * sapi/apache2filter/php_apache.h
- sapi/apache2filter/sapi_apache2.c:
- PHP filters and Apache 2 aren't quite a perfect match yet, so we have
- to do some trickery with the server_context to make sure it is always
- valid within the current thread.
-
- This patch makes sure the server_context is created in apache's
- post_read_request hook phase, and then registeres a cleanup that
- will NULL out the server context when the request goes out of scope.
- Then, inside the output filters, if the server_context is null we
- throw an error. Finally, instead of saving the output filter in
- the server_context, now we store the entire request_rec pointer
- in there.
-
- POST bodies appear to be working now, although they are very inefficient.
- The input filter is still just realloc()ing for whatever data comes
- down the input pipe, and then sending this to PHP. This means that
- we are doing some really nasty memory management on big POST bodies.
- For now this it allows for unlimited input bodies, which means that
- a big POST could potentially DoS a box by making it run out of memory.
- We might want to put a limit on here just in case, at least until
- we figure out how to consume input data more efficiently into php.
-
-2002-04-11 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * main/config.w32.h
- win32/php4dll.dsp
- win32/php4dllts.dsp: Disable ext/overload.
-
-2002-04-11 Joseph Tate <jtate@mi-corporation.com>
-
- * win32/php4dllts.dsp
- win32/php4ts.dsp
- win32/php4ts_cli.dsp: Fixing project files so that they load
-
-2002-04-11 Aaron Bannert <aaron@apache.org>
-
- * sapi/apache2filter/sapi_apache2.c:
- Don't depend on the context provided by the filter (f->ctx) anymore. In
- Apache 2 the input and output filter contexts are kept unique. We now
- only depend on SG(server_context) for each request, and assume that
- the same thread will process the entire request. At some point it
- would be wise to separate the input and output contexts.
-
- * sapi/apache2filter/sapi_apache2.c:
- Return the number of bytes consumed, not the number of bytes left.
-
- Suggested by: Brian Havard <brianh@kheldar.apana.org.au>
-
-2002-04-11 Jan Lehnardt <jan@dasmoped.net>
-
- * ext/domxml/tests/001.phpt:
- - add quotes. Cought by: Roman Neuhauser <neuhauser@mail.cz>
-
-2002-04-11 Aaron Bannert <aaron@apache.org>
-
- * sapi/apache2filter/sapi_apache2.c:
- Return the number of bytes consumed, not the number of bytes left.
-
- Suggested by: Brian Havard <brianh@kheldar.apana.org.au>
-
-2002-04-11 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * sapi/apache2filter/README: MFH (Update README).
-
- * sapi/apache2filter/README: Update README.
-
-2002-04-11 Joseph Tate <jtate@mi-corporation.com>
-
- * win32/php4ts.dsp
- win32/php4ts.rc
- win32/php4ts.rc2
- win32/php4ts_cli.dsp
- win32/php4ts_cli.rc
- win32/php4ts_cli.rc2
- win32/resource.h
- win32/php4dllts.rc
- win32/php4dllts.rc2
- win32/php4dllts.dsp:
- Added versioning to dll and exe files created under windows.
-
-
-
-2002-04-11 Wez Furlong <wez.php@thebrainroom.com>
-
- * main/php_version.h: sync with PHP_MAJOR_VERSION changes to configure.in
-
- * configure.in: Apply patch for MAJOR_VERSION etc. by Joseph Tate
-
-2002-04-11 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/mbstring/mbstring.c: Fix ZTS build
-
-2002-04-11 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/overload/config.m4
- configure.in
- ext/standard/basic_functions.h
- ext/standard/aggregation.c
- ext/standard/aggregation.h
- ext/standard/basic_functions.c
- ext/standard/config.m4:
- - Mark Apache2, overload and aggregation as experimental
-
-2002-04-11 Wez Furlong <wez.php@thebrainroom.com>
-
- * main/user_streams.c
- ext/standard/php_fopen_wrapper.c: Fix declarations (Thanks Sebastian)
-
-2002-04-11 Alexander Merz <alexander.merz@t-online.de>
-
- * pear/Archive/Tar.php: use DIRECTORY_SEPERATOR
-
-2002-04-11 Stig Bakken <ssb@fast.no>
-
- * configure.in: * no more pear/scripts/pear-get
-
-2002-04-11 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/standard/base64.c: thread safe
-
- * main/snprintf.c: fix build (hopefully for BSD, too)
-
- * ext/standard/image.c: fix warning
-
- * ext/standard/tests/file/002.phpt: fix testproblem
-
-2002-04-11 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * sapi/apache2filter/php_apache.h
- sapi/apache2filter/sapi_apache2.c:
- MFH (Patch by Aaron Bannert <aaron@clove.org> and Cliff Woolley <jwoolley@virginia.edu>).
-
- * sapi/apache2filter/php_apache.h
- sapi/apache2filter/sapi_apache2.c:
- Patch by Aaron Bannert <aaron@clove.org> and Cliff Woolley <jwoolley@virginia.edu>.
-
-2002-04-11 Sascha Schumann <sascha@schumann.cx>
-
- * acinclude.m4: properly reset ac_extra in PHP_NEW_EXTENSION
-
- redirect stderr to /dev/null to silence xargs
-
- Noticed by: Andrei
-
-2002-04-11 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/skeleton/php_skeleton.h: TSRMG => TSRMLS
-
-2002-04-10 Wez Furlong <wez.php@thebrainroom.com>
-
- * ext/iconv/iconv.c: fix warning
-
- * main/user_streams.c
- main/php_streams.h
- main/streams.c
- main/main.c
- main/network.c
- ext/zlib/zlib_fopen_wrapper.c
- ext/zlib/zlib.c
- ext/standard/php_fopen_wrapper.c
- ext/standard/php_fopen_wrappers.h
- ext/zlib/php_zlib.h
- ext/standard/file.h
- ext/standard/ftp_fopen_wrapper.c
- ext/standard/http_fopen_wrapper.c
- ext/standard/file.c
- ext/standard/Makefile.frag
- ext/standard/basic_functions.c
- ext/bz2/php_bz2.h
- ext/bz2/bz2.c: Implement stream context and status notification system.
- Bump the BC for zlib notice to a warning
-
-2002-04-10 Jani Taskinen <sniper@iki.fi>
-
- * NEWS: - Added __FUNCTION__ and __CLASS__ constants.
-
-2002-04-10 Stig Bakken <ssb@fast.no>
-
- * pear/package-pear.xml: * add download command to description
-
-2002-04-10 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Command/Remote.php: Implemented "pear download <pakage>"
-
- * pear/PEAR/Packager.php: Do not show the "tag it!" message when verbose=0
-
- * pear/PEAR/Frontend/CLI.php: Added single display()
-
-2002-04-10 Uwe Steinmann <Uwe.Steinmann@fernuni-hagen.de>
-
- * ext/hwapi/CREDITS
- ext/hwapi/config.m4
- ext/hwapi/hwapi.cpp:
- - extension to access a Hyperwave Server based on the official
- Hypwerwave SDK. The function of this module is similar to the
- existing hyperwave extension but the api is very different.
-
-2002-04-10 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * main/snprintf.c
- main/spprintf.c: fix a warnig and an error (found by Sebastioan)
-
-2002-04-10 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * ext/mbstring/mbfilter.h
- ext/mbstring/mbfilter_ja.c
- ext/mbstring/mbfilter_ja.h
- ext/mbstring/mbstring.c
- ext/mbstring/mbstring.h
- ext/mbstring/CREDITS
- ext/mbstring/mbfilter.c: changed mbstring to make thread safe.
-
-2002-04-10 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Command/Registry.php: Help for command "shell-test"
-
- * pear/PEAR/Command/Package.php:
- Added "pear package -n" (only output the created package file name)
-
-2002-04-10 Sascha Schumann <sascha@schumann.cx>
-
- * ext/dba/dba_db2.c: ws changes
-
- * ext/dba/dba_db2.c: Replace all memsets with variable initializations
-
- Change flow of code in functions to end in the "positive" branch.
-
- Changes verified using the original php3 dba tests.
-
- * ext/dba/dba_db2.c: too quick. full speed back.
-
- * ext/dba/dba_db2.c:
- Please test patches which are merged into the release branch.
-
- db2 has a standard UNIX API which in turn means that
- it returns non-zero in error conditions.
-
-2002-04-10 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * win32/php4dll.dsp
- win32/php4dllts.dsp: Fix Win32 build.
-
-2002-04-10 Jani Taskinen <sniper@iki.fi>
-
- * NEWS: Note about Apache2 support being experimental.
-
- * sapi/apache2filter/config.m4: MFH
-
- * sapi/apache2filter/config.m4:
- Let people know this stuff is experimental.
-
-2002-04-10 Edin Kadribasic <edink@proventum.net>
-
- * pear/DB/pgsql.php:
- Fixed postgres connect string generation when no host is specified.
-
-2002-04-10 Stig Bakken <ssb@fast.no>
-
- * pear/Makefile.in: * add missing continuation
-
- * pear/Makefile.in: * tabify instead of untabify :-P
-
- * pear/Makefile.in: * remove pear-get if installed
-
- * pear/Makefile.in: * keep installing the bundled files in 4.2 too
-
-2002-04-10 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/exif/exif.c: - Reverse patch
-
- * ext/posix/posix.c: MFH
-
- * ext/posix/posix.c: - Fix defines
-
-2002-04-10 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * main/main.c
- main/php_globals.h
- php.ini-dist
- php.ini-recommended: new ini setting log_errors_max_len
-
- * ext/exif/exif.c: fix exif using vspprintf
-
- * configure.in
- main/php.h: make (v)spprintf available
-
- * main/spprintf.c
- main/spprintf.h: introducing spprintf and vspprintf
-
- * main/snprintf.c
- main/snprintf.h: -preface for new vpprintf
-
-2002-04-09 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Common.php:
- * ignore dirs and libfiles in older releases (changelog)
-
- * pear/PEAR/Common.php: * ignore files in older releases (changelog)
-
-2002-04-09 jim winstead <jimw@apache.org>
-
- * ext/gmp/gmp.c: MFH
-
- * ext/gmp/gmp.c: Fix bug #15835.
-
-2002-04-09 Stig Bakken <ssb@fast.no>
-
- * pear/Makefile.in: * MFH Makefile
-
- * pear/Schedule/At.php
- pear/scripts/pear.bat
- pear/scripts/pear.in
- pear/PEAR/Command/Registry.php
- pear/PEAR/Frontend/CLI.php
- pear/PEAR/Command/Auth.php
- pear/PEAR/Command/Common.php
- pear/PEAR/Command/Config.php
- pear/PEAR/Command/Install.php
- pear/PEAR/Command/Package.php
- pear/PEAR/Packager.php
- pear/PEAR/Registry.php
- pear/PEAR/Remote.php
- pear/PEAR/Uploader.php
- pear/PEAR/Command.php
- pear/PEAR/CommandResponse.php
- pear/PEAR/Common.php
- pear/PEAR/Config.php
- pear/PEAR/Dependency.php
- pear/PEAR/Installer.php
- pear/Net/Socket.php
- pear/Mail/RFC822.php
- pear/DB/tests/oci8/05sequences.phpt
- pear/HTML/Common.php
- pear/HTML/Form.php
- pear/HTML/Select.php
- pear/DB/pgsql.php
- pear/DB/tests/driver/05sequences.phpt
- pear/DB/tests/mysql/05sequences.phpt
- pear/DB/tests/sequences.inc
- pear/DB/oci8.php
- pear/DB/mysql.php
- pear/DB/ibase.php
- pear/DB/common.php
- pear/package-db.xml
- pear/package-pear.xml
- pear/package.dtd
- pear/pear.m4
- pear/PEAR.php
- pear/DB.php: * PEAR MFH
-
- * pear/DB/common.php
- pear/DB.php: * drop the ondemand connect stuff for now
-
- * pear/tests/pear_config.phpt: * add preferred_state
-
- * pear/package-pear.xml: * drop file replace= attribute
-
- * pear/tests/pear_config.phpt
- pear/tests/pear_error.phpt
- pear/tests/pear_error3.phpt
- pear/PEAR/Frontend/CLI.php
- pear/XML/tests/002.phpt
- pear/XML/tests/003.phpt
- pear/scripts/.cvsignore
- pear/scripts/pear-get.in
- pear/scripts/pear.in
- pear/scripts/pearcmd-common.php
- pear/scripts/pearcmd-help.php
- pear/scripts/pearcmd-info.php
- pear/scripts/pearcmd-install.php
- pear/scripts/pearcmd-list.php
- pear/scripts/pearcmd-package.php
- pear/scripts/pearcmd-remote-list.php
- pear/scripts/pearcmd-show-config.php
- pear/scripts/pearcmd-uninstall.php
- pear/scripts/phpize.in
- pear/PEAR/Command/Auth.php
- pear/PEAR/Command/Common.php
- pear/PEAR/Command/Config.php
- pear/PEAR/Command/Install.php
- pear/PEAR/Command/Package.php
- pear/PEAR/Command/Registry.php
- pear/PEAR/Command/Remote.php
- pear/PEAR/Packager.php
- pear/PEAR/Registry.php
- pear/PEAR/Remote.php
- pear/DB/tests/ibase/03simplequery.phpt
- pear/DB/tests/ibase/04numcols.phpt
- pear/DB/tests/ibase/05sequences.phpt
- pear/DB/tests/ibase/06prepexec.phpt
- pear/DB/tests/ibase/10errormap.phpt
- pear/DB/tests/ibase/connect.inc
- pear/DB/tests/ibase/mktable.inc
- pear/DB/tests/ibase/skipif.inc
- pear/HTML/Form.php
- pear/HTML/Select.php
- pear/PEAR/Command.php
- pear/PEAR/Common.php
- pear/PEAR/Config.php
- pear/PEAR/Installer.php
- pear/DB/IDEAS
- pear/DB/STATUS
- pear/DB/TESTERS
- pear/DB/common.php
- pear/DB/ibase.php
- pear/DB/pgsql.php
- pear/DB/tests/db_error.phpt
- pear/DB/tests/db_error2.phpt
- pear/DB/tests/driver/setup.inc
- pear/DB/tests/ibase/02fetch.phpt
- pear/.cvsignore
- pear/DB.php
- pear/Makefile.frag
- pear/Makefile.in
- pear/PEAR.php
- pear/package.dtd
- pear/pear.m4: * partial PEAR MFH
-
- * ext/xml/xml.c: * remove extra end-fold
-
-2002-04-09 Sterling Hughes <sterling@bumblebury.com>
-
- * sapi/apache2filter/php_functions.c:
- eekk -- and ssb thought my macro's were icky :)
-
-2002-04-09 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Command/Package.php:
- * package-validate uses package.xml as default param
-
- * pear/Makefile.in: * MFH: install the right expat header files
-
- * pear/Makefile.frag:
- * ext/xml/expat no longer has xmltok and xmlparse subdirs
-
-2002-04-09 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Dependency.php
- pear/PEAR/Installer.php:
- Make the dependencies check look for the correct registry file
-
-2002-04-09 Alexander Merz <alexander.merz@t-online.de>
-
- * pear/PEAR/Registry.php:
- Win95/98/Me doesn't support locking, please check patch on other systems
-
-2002-04-09 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Command/Package.php:
- Fix package-list not showing the right Install path
-
- * pear/PEAR/Registry.php:
- Fix a problem when list-installed is called in a new installation
-
-2002-04-09 James Cox <james@wherewithal.com>
-
- * pear/scripts/pear.bat: it's been changed back to php.exe
-
-2002-04-09 Alexander Merz <alexander.merz@t-online.de>
-
- * pear/scripts/pear.bat: updated, requires PHP4.2 php-cgi
-
-2002-04-09 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Packager.php: * show full cvstag command
-
- * pear/PEAR/Command/Common.php: * get rid of CommandResponse stufff
-
- * pear/PEAR/Common.php: * drop file replace= attribute
-
- * pear/Makefile.frag: * remove PEAR/Uploader.php
-
- * pear/PEAR/CommandResponse.php
- pear/PEAR/Uploader.php: * unused files
-
- * pear/PEAR/Command/Install.php
- pear/PEAR/Config.php
- pear/PEAR/Installer.php
- pear/PEAR/Common.php
- pear/package-pear.xml
- pear/package.dtd:
- * implemented role="script" and <replace> substitution during install
-
-2002-04-09 Sterling Hughes <sterling@bumblebury.com>
-
- * sapi/apache2filter/php_functions.c
- sapi/apache2filter/sapi_apache2.c: fix compile warnings
-
-2002-04-09 Stig Bakken <ssb@fast.no>
-
- * pear/package-pear.xml: * package definition for the base PEAR system
-
- * pear/package.dtd: HEADS UP, package.xml format change:
- <file>foo.php</file> is now <file name="foo.php/>
- Added tags for configure-like substitutions.
-
-2002-04-08 Mark L. Woodward <mlwmohawk@mohawksoft.com>
-
- * ext/msession/php_msession.h
- ext/msession/reqclient.h
- ext/msession/msession.c: Added new features for msession beta 2
-
-2002-04-08 Jani Taskinen <sniper@iki.fi>
-
- * ext/odbc/birdstep.c
- ext/odbc/php_odbc.c: ws fix
-
- * ext/odbc/php_odbc.c: MFH
-
- * ext/odbc/php_odbc.c: CPP directives must start on the beginning of line
-
-2002-04-08 Richard Heyes <richard@phpguru.org>
-
- * pear/PEAR.php: * Added getStaticProperty() for static methods.
-
-2002-04-08 Jani Taskinen <sniper@iki.fi>
-
- * ext/standard/config.m4
- ext/standard/reg.c
- acinclude.m4
- NEWS: - Revert that change. Added a warning about this.
-
-2002-04-08 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * ext/mysql/libmysql/strto.c
- ext/mysql/libmysql/strtoll.c
- ext/mysql/libmysql/strtoull.c: MFH (MS VS.Net Fix).
-
-2002-04-08 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * pear/Makefile.frag: Make pgsql header available for PECL module(s)
-
-2002-04-08 Wez Furlong <wez.php@thebrainroom.com>
-
- * configure.in: remove streams option from branch
-
-2002-04-08 Bertrand Mansion <bmansion@mamasam.com>
-
- * pear/HTML/Common.php
- pear/HTML/Select.php:
- htmlentities > htmlspecialchars for charset compatibility as noticed by Wojciech Gdela.
-
-2002-04-08 Edin Kadribasic <edink@proventum.net>
-
- * win32/install.txt
- win32/php4ts_cli.dsp
- win32/pws-php4cgi.reg:
- Finished syncing win32 build and docs with the unix counterpart.
- Renamed the cli executable to php-cli.exe so somebody doesn't overwrite
- cgi by mistake.
-
-2002-04-08 Jani Taskinen <sniper@iki.fi>
-
- * main/main.c: upload_max_filesize can only be set in php.ini
-
- * NEWS: and the news entry..
-
- * ext/standard/config.m4
- ext/standard/reg.c
- acinclude.m4:
- There's really no point in allowing using the system regex library.
-
-2002-04-08 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * win32/php4.dsp
- win32/php4ts.dsp: Rename Win32 executable to php.exe.
-
-2002-04-08 Jani Taskinen <sniper@iki.fi>
-
- * ext/standard/config.m4:
- Using system regex lib seems not to work quite well when compiled with Apache.
-
-2002-04-08 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/dba/dba_db2.c: - MFH
-
- * ext/dba/dba_db2.c: - Fix wrong logic (Thanks to Alan for noticing it)
-
-2002-04-08 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/pgsql.c: Remove unneeded conversions from pg_convert.
-
-2002-04-08 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/package-db.xml: Continue the list of features for PEAR DB
- Release version is 2.0 (apiVersion)
-
-2002-04-08 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/pgsql.c: Make it compile with ZTS.
-
- * ext/pgsql/README: Update README
-
- * ext/pgsql/tests/10pg_convert.phpt
- ext/pgsql/tests/11pg_metadata.phpt
- ext/pgsql/tests/12pg_insert.phpt
- ext/pgsql/tests/13pg_select.phpt
- ext/pgsql/tests/14pg_update.phpt
- ext/pgsql/tests/15pg_delete.phpt
- ext/pgsql/tests/16pg_result_status.phpt
- ext/pgsql/tests/informational.inc
- ext/pgsql/tests/pg_convert.inc
- ext/pgsql/tests/pg_delete.inc
- ext/pgsql/tests/pg_insert.inc
- ext/pgsql/tests/pg_metadata.inc
- ext/pgsql/tests/pg_result_status.inc
- ext/pgsql/tests/pg_select.inc
- ext/pgsql/tests/pg_update.inc
- ext/pgsql/config.m4
- ext/pgsql/pgsql.c
- ext/pgsql/php_pgsql.h:
- Added pg_metadate(), pg_convert(), pg_insert(), pg_select(), pg_update()
- and pg_delete().
-
-2002-04-08 Jani Taskinen <sniper@iki.fi>
-
- * php.ini-dist
- php.ini-recommended: MFH
-
-2002-04-08 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/pgsql.c: Return proper result.
-
-2002-04-08 Jani Taskinen <sniper@iki.fi>
-
- * ext/ming/php_ming.h
- ext/ming/ming.c: Some ws fixes and general cleanup.
-
-2002-04-08 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/pgsql.c:
- Added 2nd parameter for pg_result_status(). PGSQL_STATUS_LONG is for LONG result status.
- PGSQL_STATUS_STRING is for SQL command name successfully executed for this result.
-
-2002-04-07 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/exif.c: correcting some more whitespace
-
-2002-04-07 Jani Taskinen <sniper@iki.fi>
-
- * ext/ming/ming.c: Fixed compile failure with ZTS build.
-
-2002-04-07 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Installer.php:
- * append "?uncompress=yes" to the package download url if zlib extension
- is not loaded
-
- * pear/package-db.xml: * package xml file for DB
-
-2002-04-07 Andi Gutmans <andi@zend.com>
-
- * ext/mysql/libmysql/strto.c
- ext/mysql/libmysql/strtoll.c
- ext/mysql/libmysql/strtoull.c:
- - Fix build with Visual Studio .NET. The MySQL team said they'll commit
- - their fix a long time ago and never did. One day they'll update the
- - whole MySQL client library.
-
-2002-04-07 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Common.php: Added PEAR_Common::getUserRoles() and a suggestion
-
-2002-04-07 Hartmut Holzgraefe <hartmut@six.de>
-
- * ext/standard/levenshtein.c
- ext/standard/tests/general_functions/003.phpt:
- fix and regression test for Bug #16473
-
-2002-04-07 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/exif.c
- ext/exif/tests/003.phpt
- ext/exif/tests/test3.jpg:
- -found userland solution to fix UNICODE comments (see tests/003.phpt)
-
-2002-04-07 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Command/Package.php
- pear/PEAR/Frontend/CLI.php
- pear/PEAR/Packager.php: * added "cvstag" command
-
-2002-04-07 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/exif.c: -fix warnings
- -fix layout
-
- * ext/mbstring/mbfilter.c
- ext/mbstring/mbregex.c
- ext/mbstring/mbstring.c: -fix warnings
-
-2002-04-07 Jani Taskinen <sniper@iki.fi>
-
- * php.ini-recommended
- php.ini-dist: Removed relics from PHP3.
-
-2002-04-07 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Packager.php:
- * give PEAR_Packager::package an option to disable compression and make
- plain .tar files
-
- * pear/PEAR/Command/Install.php: * remove empty fold
-
- * pear/scripts/pear.in: * use the UI's displayFatalError method
-
- * pear/PEAR/Frontend/CLI.php:
- * added displayError and displayFatalError methods
-
- * pear/PEAR/Command.php: * initialize _PEAR_Command_uiobject
-
-2002-04-07 Sterling Hughes <sterling@bumblebury.com>
-
- * configure.in:
- apply jan's configure check for apache2 and freebsd (relating to the use
- of tsrm-pth).
-
-2002-04-07 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Common.php: * leave error reporting to the validator
-
- * pear/PEAR/Packager.php: * more clear cvs tag hint
-
-2002-04-07 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Command/Install.php: Just some help cleanup
-
-2002-04-07 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Command/Package.php: * typo
-
- * pear/PEAR/Command/Package.php:
- * rename package-verify command to package-validate
-
-2002-04-07 Wez Furlong <wez.php@thebrainroom.com>
-
- * ext/standard/string.c: fix for #16469
-
-2002-04-07 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Command/Install.php
- pear/PEAR/Command/Package.php
- pear/PEAR/Packager.php
- pear/PEAR/Installer.php
- pear/PEAR/Common.php: * support for .tar files in PEAR_Installer
- * new command: package-verify
- * "package" command now sanity-checks the package information before
- making the tarball
- * -Z option to the install/update commands for downloading non-compressed
- packages
-
-2002-04-07 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * php.ini-dist
- php.ini-recommended:
- Added pgsql.ignore_notice and pgsql.log_notice ini entry.
-
- * ext/pgsql/pgsql.c: Nuke waring with ZTS build
-
- * ext/msession/msession.c: Fixed ZTS build
-
-2002-04-07 Jani Taskinen <sniper@iki.fi>
-
- * NEWS: Fixed bad entries.
-
-2002-04-06 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * main/php_globals.h
- php.ini-dist
- php.ini-recommended
- main/main.c:
- new feature ignoring repeated error messages (defaults to old behaviour)
-
-2002-04-06 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/zip/zip.c: - MFH zip_entry_read_bug
-
-2002-04-06 Wez Furlong <wez.php@thebrainroom.com>
-
- * ext/zlib/zlib_fopen_wrapper.c
- main/streams.c: Added BC support for old style zlib: wrapper.
- Added notice when a requested wrapper is not found.
-
-2002-04-06 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/zip/zip.c: - Fix zzip_entry_read
-
-2002-04-06 Richard Heyes <richard@phpguru.org>
-
- * pear/PEAR.php: * Added registerShutdownFunc() method
-
-2002-04-06 Wez Furlong <wez.php@thebrainroom.com>
-
- * NEWS:
- Inform the masses about where to get a 4.2 compatible mailparse package
-
-2002-04-06 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * sapi/apache/php4apache.dsp
- sapi/apache2filter/php4apache2.dsp
- sapi/fastcgi/fastcgi.dsp: MFH (.dsp fixes)
-
-2002-04-06 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/DB/tests/oci8/05sequences.phpt: Output adapted to the new tests
-
- * pear/DB/oci8.php:
- Rethrow errors in nextID() to be handled by the global error handler
-
- * pear/DB/tests/sequences.inc:
- Backends with real sequences may don't like DELETE FROM sequence
-
-2002-04-06 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * sapi/fastcgi/fastcgi.dsp
- sapi/apache2filter/php4apache2.dsp
- sapi/apache/php4apache.dsp: Fix output directory.
-
-2002-04-06 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/DB/tests/driver/05sequences.phpt
- pear/DB/tests/mysql/05sequences.phpt: Output adapted to the new tests
-
- * pear/DB/tests/sequences.inc: More hard tests
-
- * pear/DB/mysql.php: Work on nextID():
- - Use push/popErroHandling instead of "the hack"
- - Optimize the speed
- - Rethrow errors to be catched by the error handler when set
- - Move the backwards compatibilty sequence system to its own function
- - Fix a bug when the sequence table is empty
-
- * pear/DB/common.php:
- Fix fail when a error object is "rethrowed" and a class error handler
- is set
-
- * pear/PEAR.php:
- Fix bug in pushErrorHandling() (fail under very specific circumstances)
-
-2002-04-06 Sascha Schumann <sascha@schumann.cx>
-
- * acinclude.m4
- pear/pear.m4
- configure.in: Improve the life of external extension maintainers by
- not plaguing them with "./" in absolute paths.
-
- Requested by: Andrei, Wez
-
-2002-04-06 Jani Taskinen <sniper@iki.fi>
-
- * NEWS: minor fix..
-
-2002-04-06 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * sapi/apache2filter/php4apache2.dsp: Fix Debug_TS build.
-
-2002-04-06 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/tests/notice.inc
- ext/pgsql/php_pgsql.h: Chages for new pg_last_notice()
-
- * ext/pgsql/pgsql.c:
- Make pg_last_notice() work as it is designed. It returns last notice message for connection resource specified.
- Added "pgsql.ignore_notice" ini entry.
- Added "pgsql.log_notice" ini entry.
-
-2002-04-06 Andrei Zmievski <andrei@php.net>
-
- * ext/xmlrpc/config.m4
- ext/xmlrpc/xmlrpc-epi-php.c:
- - Fixed a leak in xml_decode().
- - Fixed it so it's possible to compile as a shared extension.
-
-2002-04-06 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/mbstring/mbstring.c:
- Use get_active_function_name() for error messages.
-
-2002-04-06 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Common.php: * forgot htmlspecialchars in release notes
-
-2002-04-05 Sterling Hughes <sterling@bumblebury.com>
-
- * sapi/apache2filter/sapi_apache2.c: MFH changes per doug's request
-
-2002-04-05 Joseph Tate <jtate@mi-corporation.com>
-
- * ext/domxml/tests/001.phpt
- ext/domxml/tests/domxml_test.inc: Added test suite for domxml extension.
-
- * ext/domxml/php_domxml.c: MFH added unlink_node alias
-
- * ext/domxml/php_domxml.c: Added unlink_node alias for consistency
-
-2002-04-05 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/tests/003.phpt
- ext/exif/tests/test3.jpg: -testing unicode user-comment
-
- * ext/exif/exif.c: -correct length for ASCII
- -global encoding variables
-
- * ext/mbstring/tests/016.inc
- ext/mbstring/tests/016.phpt:
- include comma separated encoding lists in test
-
- * ext/mbstring/mbstring.c: no space for comma separated encoding lists
-
- * ext/exif/exif.c: aligning #
-
-2002-04-05 Christian Stocker <chregu@phant.ch>
-
- * ext/domxml/php_domxml.c:
- oops. that was an error not detected in shared library mode ...
-
- * ext/domxml/php_domxml.c
- ext/domxml/php_domxml.h:
- added domxml_parser(), domxml_parser_add_chunk() and domxml_parser_end().
- It provides access to the PushParser interface of libxml2.
-
-2002-04-05 Zeev Suraski <zeev@zend.com>
-
- * ext/bz2/php_bz2.h: Fix build
-
-2002-04-05 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/DB/mysql.php:
- - Fix a problem in nextID() when the sequence table is empty
- - Use push/popErrorHanlding() instead of the "hack"
-
-2002-04-05 Stig Bakken <ssb@fast.no>
-
- * ext/zlib/php_zlib.h
- ext/zlib/zlib.c: Add zlib.output_compression_level option
-
-2002-04-05 Jani Taskinen <sniper@iki.fi>
-
- * NEWS: MFH the fixed entries
-
- * NEWS: Fixed some entries..
-
-2002-04-05 Zeev Suraski <zeev@zend.com>
-
- * ext/zlib/zlib.dsp
- ext/zlib/zlib.c
- ext/standard/file.c
- ext/standard/file.h
- ext/bz2/bz2.c
- ext/bz2/bz2.dsp
- ext/bz2/php_bz2.h: Fix gzip/bz2 builds for Windows
-
-2002-04-05 Wez Furlong <wez.php@thebrainroom.com>
-
- * NEWS: let people know about mailparse being pickled
-
- * pear/Makefile.in:
- MFH: add mbstring headers to those for pear/pecl extensions
-
-2002-04-05 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/tests/09notice.phpt: Add error message from _notice_handler()
-
- * NEWS: FMB. Fixed bug info.
-
- * NEWS: Forgot mention fixed bug that is reported by user.
-
- * ext/pgsql/pgsql.c: MFH.
- Fixed pg_last_notice() double free.
-
- * ext/pgsql/pgsql.c: Fix pg_last_notice() double free.
-
- * ext/pgsql/tests/09notice.phpt
- ext/pgsql/tests/notice.inc: Add notice message test
-
-2002-04-05 Sascha Schumann <sascha@schumann.cx>
-
- * ext/ircg/README.txt: update regarding version numbers
-
-2002-04-05 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/tests/escape.inc: Update message
-
- * ext/pgsql/tests/createdb.inc
- ext/pgsql/tests/large_object.inc
- ext/pgsql/tests/config.inc: Add bytea field to test table.
- Use table name variable.
-
- * ext/pgsql/tests/08escape.phpt
- ext/pgsql/tests/escape.inc
- ext/pgsql/tests/php.gif: Add real pg_escape_bytea() test.
-
- * ext/mbstring/mbstring.c
- ext/mbstring/mbstring.h:
- Fixed way of exporing functions. (Need PHPAPI for Win)
- Fixed if statement format. ("if () stmt;" should be "if () \n {stmt;}")
- Fixed error message so that appropriate function names are
- displayed.
-
-2002-04-05 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/DB/mysql.php: ws
-
-2002-04-05 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/exif.c:
- Unicode is now based on php_mb_convert_encoding if available
-
- * ext/mbstring/mbstring.c
- ext/mbstring/mbstring.h: new function php_mb_convert_encoding
-
-2002-04-05 Wez Furlong <wez.php@thebrainroom.com>
-
- * pear/Makefile.frag:
- add mbstring headers to those for pear/pecl extensions
-
-2002-04-04 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/exif.c: removed calls to wctomb, wcstombs
-
-2002-04-04 Sterling Hughes <sterling@bumblebury.com>
-
- * win32/grp.h
- win32/pwd.c
- win32/pwd.h
- win32/syslog.h: mfh
-
- * win32/grp.h
- win32/pwd.c
- win32/pwd.h
- win32/syslog.h: i of course am the brilliant author of these files
-
- * win32/pwd.c
- win32/pwd.h: replace with non-gpl implementation
-
-2002-04-04 Daniela Mariaschi <mariaschi@libero.it>
-
- * ext/interbase/interbase.c:
- Fixed sigfault in ibase_close (bug #15419-#15992)
-
-2002-04-04 Sterling Hughes <sterling@bumblebury.com>
-
- * win32/syslog.h: non gpl implementation
-
- * win32/grp.h: replace grp.h with a new implementation (non-GPL)
-
-2002-04-04 Sander Roobol <phy@wanadoo.nl>
-
- * ext/tokenizer/Makefile.frag
- ext/tokenizer/config.m4:
- Fixed build with multiple concurrent jobs (make -j)
-
- * README.UNIX-BUILD-SYSTEM: Fixed typo
-
-2002-04-04 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/pgsql.c
- ext/pgsql/tests/08escape.phpt
- ext/pgsql/tests/escape.inc: MFH
-
- * ext/pgsql/tests/08escape.phpt
- ext/pgsql/tests/escape.inc: Fix tests
-
-2002-04-04 Wez Furlong <wez.php@thebrainroom.com>
-
- * ext/bz2/php_bz2.h
- ext/bz2/bz2.c: Fix #16428 problems.
- Renamed the bz2 wrapper to bzip2://
-
-2002-04-04 Jani Taskinen <sniper@iki.fi>
-
- * ext/xml/tests/007.phpt: MFH
-
- * ext/xml/tests/007.phpt: Revert the bogus patch.
-
-2002-04-04 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/tests/08escape.phpt
- ext/pgsql/tests/escape.inc: Added pg_escape_*() test
-
-2002-04-04 Jani Taskinen <sniper@iki.fi>
-
- * ext/bz2/tests/with_files.phpt: MFH
-
- * ext/bz2/tests/with_files.phpt: added test case for file handling in bz2
-
-2002-04-04 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/pgsql.c: Clean up pg_escape_*()
-
-2002-04-04 Jani Taskinen <sniper@iki.fi>
-
- * ext/mbstring/tests/.cvsignore: missing .cvsignore
-
-2002-04-04 Christian Stocker <chregu@phant.ch>
-
- * ext/domxml/php_domxml.c:
- - fixed a lot of memory leaks (by Lukas Schroeder)
- - get_attribute() returns False instead of empty string, if attribute not found
-
-2002-04-04 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/pgsql.c: Fixed crash with pg_escape_*()
-
-2002-04-04 Sascha Schumann <sascha@schumann.cx>
-
- * acinclude.m4: Add deferred libs to DLIBS instead of LIBS.
-
- Noticed by: Jani Taskinen <sniper@iki.fi>
-
-2002-04-04 Daniela Mariaschi <mariaschi@libero.it>
-
- * ext/interbase/interbase.c:
- Fixed sigfault in ibase_close(). Bug #15419 #15992
-
-2002-04-04 Jani Taskinen <sniper@iki.fi>
-
- * NEWS: minor fixes
-
-2002-04-04 Marko Karppinen <karppinen@pobox.com>
-
- * NEWS: Added news on the Mac OS X changes and removed a duplicate line
-
-2002-04-04 Jani Taskinen <sniper@iki.fi>
-
- * ext/standard/dl.c
- configure.in:
- - OS X support for dynamically loaded extensions. (patch by Marko)
-
-2002-04-04 Sterling Hughes <sterling@bumblebury.com>
-
- * ext/curl/curl.c: MFH
-
-2002-04-03 Sterling Hughes <sterling@bumblebury.com>
-
- * ext/curl/curl.c: fix bug #15150, thanks to daniel at haxx.se for the fix
-
-2002-04-03 Jani Taskinen <sniper@iki.fi>
-
- * ext/openssl/tests/001.phpt: Fix the test..somehow got corrupted?
-
- * ext/mcal/config.m4: Partial MFH
-
- * .cvsignore: - Added the autom4te.cache to be cleaned too with cvsclean
-
-2002-04-03 Derick Rethans <d.rethans@jdimedia.nl>
-
- * configure.in
- main/php_version.h: - Swap back version numbers for development
-
- * ext/exif/exif.c: - Fix build (Patch by Marcus Boerger)
-
- * ext/exif/exif.c: - Fix as suggested my Marcus
-
- * main/php_version.h
- configure.in: - Fix version number
-
-2002-04-03 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * tests/func/007.phpt: Added ini_set()/ini_get()/ini_restore() test
-
-2002-04-03 Wez Furlong <wez.php@thebrainroom.com>
-
- * ext/standard/exec.c: fix TS build
-
- * ext/standard/exec.c
- ext/standard/exec.h
- ext/standard/basic_functions.c:
- Tidy up win32 implementation of proc_open.
- Respect safe_mode_exec_dir.
- Implement proc_close and return process return code under win32.
-
- * ext/mailparse/tests/006.phpt: add test for mailparse_extract_part_file
-
-2002-04-03 Stig Bakken <ssb@fast.no>
-
- * pear/DB/mysql.php: * work around a php segfault
-
-2002-04-02 Wez Furlong <wez.php@thebrainroom.com>
-
- * main/memory_streams.c
- main/streams.c
- ext/standard/exec.c
- ext/standard/exec.h
- ext/standard/basic_functions.c
- ext/mailparse/php_mailparse.h
- ext/mailparse/try.php
- ext/mailparse/mailparse.c: main/streams.c
-
- * sapi/cgi/cgi_main.c: fix quoting
-
-2002-04-02 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/tokenizer/config.m4: - Fix layout
-
-2002-04-02 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Command/Install.php
- pear/PEAR/Installer.php:
- * Added "-s" (soft update) option to install/upgrade. Will make installs
- fail silently.
-
- * pear/PEAR/Common.php: * add Frontend support to PEAR_Common::log()
-
- * pear/PEAR/Command/Registry.php:
- * Implemented "shell-test" command for writing shell scripts that check
- whether a package is installed. Example of use:
-
- if ! pear shell-test Net_Socket; then
- echo "You don't have the Net_Socket package installed!" >&2
- exit 1
- fi
-
- * pear/PEAR/Registry.php: * just renaming some comments
-
- * pear/PEAR/Frontend/CLI.php:
- * add type property telling what type of frontend this class implements
-
- * pear/scripts/pear.in:
- * remove "exit" at the end, it causes a "false" exit code always
-
- * pear/Makefile.frag:
- * comment out the php files that are not necessary for the installer
-
-2002-04-02 Kirill Maximov <kir@actimind.com>
-
- * ext/standard/quot_print.c:
-
-2002-04-02 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/standard/quot_print.c: - Whitespace
-
-2002-04-02 James Cox <james@wherewithal.com>
-
- * sapi/cgi/cgi_main.c: just did...
-
- * sapi/cgi/cgi_main.c:
- updated the alert sent to the browser. removed the verbosity, and linked to more info.
-
-2002-04-02 Jani Taskinen <sniper@iki.fi>
-
- * ext/imap/config.m4: Be a bit more verbose about what was not found.
-
-2002-04-01 Jani Taskinen <sniper@iki.fi>
-
- * main/rfc1867.c: MFH
-
- * configure.in: Fix for bug: #5499 (no need to MFH this one)
-
- * main/rfc1867.c: Prevent crashing with some bogus POSTs.
-
-2002-04-01 Richard Heyes <richard@phpguru.org>
-
- * pear/Mail/RFC822.php: * Fixed bug with new limit option
-
- * pear/Mail/RFC822.php: * Added optional limit to prevent runaway parsing
- * Changed recursive nature of _splitAddresses as it was barfing on
- large amounts of addresses (1000+)
- * Added approximateCount() function which will give an approximate count
- of how many addresses are in a string
-
-2002-04-01 Kirill Maximov <kir@actimind.com>
-
- * ext/standard/quot_print.c
- ext/standard/tests/general_functions/002.phpt:
- (PHP quoted_printable_decode) Fixed CR/LF processing for Windows/OS2
-
-2002-04-01 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Command/Install.php
- pear/PEAR/Packager.php: typo
-
- * pear/PEAR/Command/Config.php:
- Added layer checks and reorganize a little the code
-
- * pear/PEAR/Config.php:
- - Define the PEAR constants when they are not set (be nice
- with the "--wihout-pear" people who finally regrets)
- - Added method getLayers()
-
- * pear/PEAR/Command/Config.php:
- - Make "config-set" actually store the values
- - Help and error messages enhance
-
- * pear/PEAR/Command/Install.php:
- - Added "nodeps" option to install/upgrade/uninstall
- (pear install -n package.tgz)
- - Finish to document the install commands
-
-2002-04-01 Kirill Maximov <kir@actimind.com>
-
- * ext/standard/quot_print.c
- ext/standard/tests/general_functions/002.phpt
- ext/standard/tests/general_functions/006.phpt:
- (PHP quoted_printable_decode) Fixed CR/LF processing for Windows/OS2
-
-2002-04-01 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/scripts/pear.in:
- - Set some php.ini values needed by the installer
- - Removed unused present_array() and heading() functions
-
-2002-04-01 Stig Bakken <ssb@fast.no>
-
- * pear/Net/Socket.php: * moved to /pear
-
-2002-04-01 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Registry.php:
- People reported problems with flock(LOCK_SH) and fopen('w')
-
- * pear/PEAR/Command/Auth.php
- pear/PEAR/Command/Config.php
- pear/PEAR/Command/Registry.php: added help
-
- * pear/scripts/pear.in: Adaptation for the new help system
-
- * pear/PEAR/Command/Common.php
- pear/PEAR/Command/Install.php
- pear/PEAR/Command/Package.php
- pear/PEAR/Command.php: Go with the help system
-
-2002-04-01 Stig Bakken <ssb@fast.no>
-
- * pear/package.dtd: * typo
-
-2002-04-01 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/tests/001.phpt
- ext/exif/tests/002.phpt: MFH finding test files
-
-2002-04-01 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/config.m4: MFH.
- Forgot to commit this when I commit fix build with PostgreSQL 6.5.x
-
-2002-04-01 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/standard/math.c: - MFH for fix for bug #14966
-
- * ext/standard/math.c: - Fix for bug #14966
-
-2002-04-01 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/exif/exif.c: - Nuke *FETCH macros.
-
-2002-04-01 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/exif.c:
-2002-04-01 Mark L. Woodward <mlwmohawk@mohawksoft.com>
-
- * ext/msession/msession.c: PHP_SESSION_API not always defined.
-
-2002-03-31 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/exif/exif.c: - Fix compilation.
-
-2002-03-31 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Common.php: E_ALL fix
-
- * pear/PEAR/Packager.php: if (!function_exists('md5_file')) { ...
-
-2002-03-31 Jani Taskinen <sniper@iki.fi>
-
- * ext/java/.cvsignore
- ext/java/Makefile.frag
- ext/java/Makefile.in
- ext/java/config.m4: Fixed the build issues reported by Stas.
-
- * ext/pspell/tests/.cvsignore: missing .cvsignore
-
-2002-03-31 Stanislav Malyshev <stas@zend.com>
-
- * configure.in: Fix ZE2 builds
-
-2002-03-31 Mark L. Woodward <mlwmohawk@mohawksoft.com>
-
- * ext/msession/msession.c:
- Fixed conditional compilation based on macros changed in
- ext/session/php_session.h which changed.
-
-2002-03-31 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * ext/mbstring/mbregex.c
- ext/mbstring/unicode_table.h
- ext/mbstring/unicode_table_ja.h
- ext/mbstring/cp932_table.h
- ext/mbstring/mbfilter.c
- ext/mbstring/mbfilter_ja.c:
- moved static constant definitions for separeted files to fix compilation problem in Tru64.
-
-2002-03-31 Stig Bakken <ssb@fast.no>
-
- * pear/Schedule/At.php: * updated error handling
-
- * pear/PEAR/Common.php: * E_ALL fix
-
- * pear/PEAR/Command/Auth.php: * avoid object copying
-
- * pear/PEAR/Remote.php: * oops, config object was copied
- * call parameters were not passed on to xmlrpc_encode_request()
-
-2002-03-31 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/pgsql.c:
- Print multibyte and SSL support is compiled in libpq or not.
-
- * ext/pgsql/config.m4
- ext/pgsql/pgsql.c
- ext/pgsql/php_pgsql.h: Print PostgreSQL version number in phpinfo()
-
-2002-03-31 Stig Bakken <ssb@fast.no>
-
- * pear/Makefile.frag: * install PEAR/Command/Remote.php
-
-2002-03-31 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * ext/mbstring/mbfilter.c
- ext/mbstring/mbfilter_ja.c:
- revert Sascha's patch to fix compile error in Tru64.
-
- * ext/mbstring/mbstring.h: fixed crash bug in Tru64.
-
-2002-03-30 Stig Bakken <ssb@fast.no>
-
- * configure.in: * added sys/utsname.h test
-
-2002-03-30 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/pgsql.c: MFH. 6.5.3 libpq build fix.
-
-2002-03-30 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/tests/001.phpt: - corrected test-image
-
- * ext/exif/tests/test2.jpg: MFH - corrected test-image
-
- * ext/exif/exif.c: -memory leaks
-
-2002-03-30 Rasmus Lerdorf <rasmus@php.net>
-
- * README.EXT_SKEL:
- Looks like mawk can't handle create_stubs - if someone is keen it would be
- nice to fix that, but for now just make a note that gawk may be needed.
-
-2002-03-30 Sascha Schumann <sascha@schumann.cx>
-
- * ext/session/php_session.h
- ext/session/session.c:
- - Proper use of underscores (s/createsid/create_sid/)
- - Bump the API date and remove extra cpp macro
- - Pass TSRMLS appropiately to the create_sid function
-
-2002-03-30 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/exif.c: -compiler warnings
-
-2002-03-30 Jani Taskinen <sniper@iki.fi>
-
- * ext/pspell/tests/.cvsignore: New file.
-
- * ext/pspell/tests/.cvsignore: another missing .cvsignore
-
-2002-03-30 Marko Karppinen <karppinen@pobox.com>
-
- * sapi/apache/config.m4
- Makefile.global
- acinclude.m4:
- Enable --with-apxs build on Mac OS X. We build an MH_BUNDLE instead of
- an MH_DYLIB. As all PPC code is relocatable, we don't use the libtool
- based shared build but go a static route. Goodbye libtool!
-
-2002-03-30 Jani Taskinen <sniper@iki.fi>
-
- * ext/exif/tests/.cvsignore: missing .cvsignore
-
- * ext/xmlrpc/libxmlrpc/.cvsignore: missing entry (still needed here..)
-
- * ext/ming/config.m4: MFH
-
- * main/rfc1867.c:
- Fixed a bug with file_uploads=off -> normal post variables not set.
-
-2002-03-30 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/ftp/php_ftp.c: - MFH fix for #16348.
-
- * ext/ftp/php_ftp.c: - Fix #16348.
-
-2002-03-29 Marko Karppinen <karppinen@pobox.com>
-
- * .cvsignore:
- Mac's Find By Content indexing sprinkles these annoying files around
-
- * sapi/apache/config.m4: Prepare for MH_BUNDLE build on Mac OS X / Darwin
-
-2002-03-29 Sander Roobol <phy@wanadoo.nl>
-
- * tests/lang/002.phpt
- tests/lang/003.phpt
- tests/lang/004.phpt
- tests/lang/005.phpt
- tests/lang/006.phpt
- tests/lang/007.phpt
- tests/lang/008.phpt
- tests/lang/009.phpt
- tests/lang/010.phpt
- tests/lang/012.phpt
- tests/lang/013.phpt
- tests/lang/014.phpt
- tests/lang/015.phpt
- tests/lang/016.inc
- tests/lang/016.phpt
- tests/lang/017.phpt
- tests/lang/022.phpt
- tests/lang/025.phpt
- tests/lang/029.phpt
- tests/lang/030.phpt
- tests/lang/031.phpt
- tests/lang/033.phpt:
- Updating tests: remove alternative syntax in tests, added a special
- alternative-syntax testfile.
-
- * php.ini-dist
- php.ini-recommended: Added crack extension to php.ini-*
-
-2002-03-29 Mark L. Woodward <mlwmohawk@mohawksoft.com>
-
- * ext/session/session.c
- ext/session/php_session.h:
- Added field to ps_module structure to hold function pointer for the creation
- of the session ID string. Default PS_MOD() macro sets this to be the default
- creation routine. PS_MOD_SID() macro sets this to a handlers session ID
- creation routine.
-
-2002-03-29 Doug MacEachern <dougm@covalent.net>
-
- * sapi/apache2filter/sapi_apache2.c:
- adjust to recent apr bucket api changes
-
-2002-03-29 Jani Taskinen <sniper@iki.fi>
-
- * ext/bz2/bz2.c: MFH fix for some bug
-
- * ext/standard/tests/aggregation/aggregate.lib
- ext/standard/tests/aggregation/aggregate.lib.php
- ext/standard/tests/aggregation/aggregate.phpt
- ext/standard/tests/aggregation/aggregate_methods.phpt
- ext/standard/tests/aggregation/aggregate_methods_by_list.phpt
- ext/standard/tests/aggregation/aggregate_methods_by_regexp.phpt
- ext/standard/tests/aggregation/aggregate_properties.phpt
- ext/standard/tests/aggregation/aggregate_properties_by_list.phpt
- ext/standard/tests/aggregation/aggregate_properties_by_regexp.phpt
- ext/standard/tests/aggregation/aggregation_info.phpt
- ext/standard/tests/aggregation/deaggregate.phpt:
- - MFH fixes for these tests.
-
- * NEWS: - Added missing entry for mysql_info() and fixed some entries
-
- * ext/mysql/php_mysql.c: WS fix
-
-2002-03-29 Jan Lehnardt <jan@dasmoped.net>
-
- * ext/mysql/php_mysql.c
- ext/mysql/php_mysql.h: - add mysql_info function
-
-2002-03-29 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/config.m4
- ext/pgsql/pgsql.c: Fix build failure with PostgreSQL 6.5.x
-
-2002-03-29 Stig Bakken <ssb@fast.no>
-
- * ext/standard/info.c:
- (PHP php_uname) display runtime uname rather than compile-time uname, added
- an optional parameter to get single fields (like uname(1))
-
-2002-03-29 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * tests/lang/031.phpt: Trying to be more clear.
-
-2002-03-29 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Command/Remote.php:
- * implemented "pear list-upgrades", which will show you what releases
- are available on the server (shows newer releases with the same state)
-
- * pear/PEAR/Command/Package.php: * always require PEAR/Common.php
-
- * pear/PEAR/Config.php: * allow "any" as a preferred_state value
-
- * pear/PEAR/Remote.php: * pass on xmlrpc faults as pear errors
-
-2002-03-29 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * tests/lang/032.phpt:
- Added class method registration test. It does not test
- for multiple method definitions due to test script limitation.
-
- * tests/lang/031.phpt: Change title to reasonable one.
-
-2002-03-29 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/tests/001.phpt
- ext/exif/tests/test2.jpg: -fix test image
-
- * ext/exif/exif.c: -fix possible problem on low memory
- -fix problem on failure
-
-2002-03-29 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * main/user_streams.c: Fix ZE2 build.
-
-2002-03-29 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Common.php: * fix tempfile cleanup
-
-2002-03-28 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Command/Package.php: * per-command fold marks
-
- * pear/PEAR/Packager.php: * regenerate package.xml with file checksums
-
- * pear/package.dtd: * default dep rel attribute to 'has'
-
- * pear/PEAR/Common.php: * accept optional tmpdir arg in mkTempDir
- * handle changelog releases without filelist
-
-2002-03-28 Andrei Zmievski <andrei@php.net>
-
- * NEWS: Cleanup.
-
-2002-03-28 Joseph Tate <jtate@mi-corporation.com>
-
- * win32/php4ts.dsp: Fixed build of php4ts Release_TSDbg under Win32
-
- * ext/crack/crack.dsp
- ext/crack/CREDITS:
- -Crack extension now available for Win32 platforms. You will need to
- acquire the cracklib libraries from
- http://www.jtatesoftware.com/cracklib/.
-
-
-2002-03-28 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Config.php: * added preferred_state config keyword
-
- * pear/PEAR/Common.php: * added phpdoc
- * now ready to support multiple versions of the package format
- * don't parse dependencies in changelog
- * fix libfile parsing
- * default maintainer roles to 'lead'
- * added infoFromString() method
- * added xmlFromInfo() method to regenerate package.xml files
-
-2002-03-28 Yavor Shahpasov <yavo@itenasolutions.com>
-
- * pear/HTML/Select.php:
- Avoid warning message in toHtml() method when no default element specified
-
-2002-03-28 Stig Bakken <ssb@fast.no>
-
- * pear/package.dtd: * added "platform" and "md5sum" attributes to <file>
-
-2002-03-28 Derick Rethans <d.rethans@jdimedia.nl>
-
- * configure.in: - Back out broken patch
-
- * configure.in: - Backout Makefile patch, it caused problems
-
- * configure.in:
- - MFB for fix build for BSD: BSD_MAKEFILE and resolver functions. (Patch by
- Melvyn Sopacua <msopacua@idg.nl>)
-
- * configure.in:
- - Fix build for BSD: BSD_MAKEFILE and resolver functions. (Patch by Melvyn
- Sopacua <msopacua@idg.nl>)
-
- * ext/standard/string.c: - MFH for bug 16314
-
- * ext/sysvsem/sysvsem.c: - MFB
-
- * ext/sysvsem/sysvsem.c: - Fix build on BSDI
-
-2002-03-28 Wez Furlong <wez.php@thebrainroom.com>
-
- * ext/standard/tests/file/002.phpt: add test for file_get_contents
-
- * ext/openssl/tests/001.phpt
- ext/openssl/openssl.c: Add subject hash to parsed x509 data.
- Make the test use file_get_contents().
-
- * main/memory_streams.c
- main/network.c
- main/php_streams.h
- main/streams.c
- main/user_streams.c
- ext/standard/file.c
- ext/standard/ftp_fopen_wrapper.c
- ext/standard/http_fopen_wrapper.c
- ext/standard/php_fopen_wrapper.c
- ext/zlib/zlib_fopen_wrapper.c: Phase 3 of OO wrapper cleanup
-
- * ext/mailparse/tests/004.phpt
- ext/mailparse/tests/005.phpt
- ext/mailparse/mailparse.c:
- make quoted-printable encoding safe for use with digital signatures. Added some tests
-
-2002-03-27 Jani Taskinen <sniper@iki.fi>
-
- * ext/gmp/gmp.c: MFH: fixed bug: #16237
-
- * ext/gmp/gmp.c: Fixed bug: #16237
-
- * sapi/cli/php_cli.c: WS fix
-
-2002-03-27 Joseph Tate <jtate@mi-corporation.com>
-
- * ext/domxml/php_domxml.c: Fixing compile warning under Win32
-
-2002-03-27 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * sapi/cli/php_cli.c: recorrect las checkin
-
-2002-03-27 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/mailparse/rfc2045.c: - MFH for multiple To: lines
-
-2002-03-27 Hartmut Holzgraefe <hartmut@six.de>
-
- * ext/standard/string.c: fix for Bug #16314
-
-2002-03-27 Jani Taskinen <sniper@iki.fi>
-
- * .cvsignore: autoconf 2.53 uses this directory for some temporary stuff
-
- * ext/mcve/mcve_simple_test.php
- ext/mcve/mcve_test1.php
- ext/mcve/mcve_test2.php
- ext/mcve/tests/mcve_simple_test.php
- ext/mcve/tests/mcve_test1.php
- ext/mcve/tests/mcve_test2.php: Moved these example scripts out of tests.
-
- * ext/ming/config.m4: - Fixed bug: #16203
-
-2002-03-27 Wez Furlong <wez.php@thebrainroom.com>
-
- * ext/mailparse/tests/003.phpt: add test case for multiple To: lines
-
- * ext/mailparse/rfc2045.c: allow headers hash to handle multiple To: lines
-
-2002-03-27 Hartmut Holzgraefe <hartmut@six.de>
-
- * ext/mime_magic/config.m4: not enabled by default
-
- * ext/mime_magic/mime_magic.c
- ext/mime_magic/php_mime_magic.h:
- moved 'static' prototypes to prevent warnings
-
- * ext/mime_magic/mime_magic.c
- ext/mime_magic/php_mime_magic.h:
- preparing for Content-Encoding detection
-
-2002-03-27 Sascha Schumann <sascha@schumann.cx>
-
- * acinclude.m4: Factorize a few library/libpath-related functions
-
- * ext/mcal/config.m4:
- Defer linking against libmcal until we have built the extension,
- so that extension-supplied symbols are available.
-
- Also factorize the header file checks.
-
- Reported by: Brandon Knitter
- URL: http://news.php.net/article.php?group=php.dev&article=81833
-
- * ext/mailparse/libs.mk: Remove generated file
-
-2002-03-27 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/pgsql.c: MFH error message consistency changes
-
-2002-03-26 Jon Parise <jon@csh.rit.edu>
-
- * ext/mime_magic/.cvsignore: Ignore generated files.
-
-2002-03-26 Sean Bright <elixer@erols.com>
-
- * php.ini-dist: Fix typo.
-
-2002-03-26 Hartmut Holzgraefe <hartmut@six.de>
-
- * ext/mime_magic/mime_magic.c
- ext/mime_magic/php_mime_magic.h: build conflicts fixed
-
-2002-03-26 Sander Roobol <phy@wanadoo.nl>
-
- * ext/standard/tests/array/002.phpt
- ext/standard/tests/array/003.phpt
- ext/standard/tests/array/004.phpt
- ext/standard/tests/array/array_data.txt
- ext/standard/tests/array/data.inc
- ext/standard/tests/array/001.phpt: MFH
-
- * ext/standard/tests/array/001.phpt
- ext/standard/tests/array/002.phpt
- ext/standard/tests/array/003.phpt
- ext/standard/tests/array/004.phpt
- ext/standard/tests/array/array_data.txt
- ext/standard/tests/array/data.inc:
- Fixed the array-tests. Broke the test up into various smaller tests.
- Reduced the test data because it was unmanageable.
-
-2002-03-26 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Command/Config.php
- pear/PEAR/Frontend/CLI.php: E_ALL fixes
-
- * pear/PEAR/Registry.php:
- _lock() now returns PEAR Error or true for consistency
-
-2002-03-26 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * sapi/cli/php_cli.c: allow other modes to work with -- correct
-
- * sapi/cli/php_cli.c: fix behaviour on --
-
-2002-03-26 Sascha Schumann <sascha@schumann.cx>
-
- * ext/standard/config.m4:
- outcomment default linking against pam due to no feedback
- regarding its purpose
-
- * ext/standard/url_scanner_ex.c
- ext/standard/url_scanner_ex.re:
- If an argument (<tag val=argument..) was not quoted, leave it that way.
-
-2002-03-26 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/standard/string.c: - MFH for bug #11244
-
-2002-03-26 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/pgsql.c: Remove warnings
-
-2002-03-26 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/openssl/openssl.c: - No asserts in the branch
-
-2002-03-26 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/pgsql.c:
- Changed error messages to be consistent with other error messages
-
-2002-03-26 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/dbx/dbx.c: - MFB
-
- * ext/dbx/dbx.c: - Fix comments
-
-2002-03-26 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/standard/string.c:
- - Fix bug 11244 (patch by "Tal Peer" <hazgul99@hotmail.com>).
-
-2002-03-26 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/openssl/tests/.cvsignore
- ext/openssl/tests/001.phpt
- ext/openssl/tests/skipif.inc
- ext/openssl/openssl.c: - MFH for passphrase bug
-
-2002-03-26 Jani Taskinen <sniper@iki.fi>
-
- * ext/xmlrpc/libxmlrpc/encodings.c:
- MFH the use of correct header file -fix
-
- * ext/xmlrpc/config.m4
- ext/xslt/config.m4: MFH fixes for the iconv stuff
-
- * ext/xmlrpc/libxmlrpc/encodings.c: - Use correct header file.
-
- * acinclude.m4: MFB. (I must have been sleep-walking..)
-
-2002-03-26 Wez Furlong <wez.php@thebrainroom.com>
-
- * ext/openssl/tests/.cvsignore
- ext/openssl/tests/001.phpt
- ext/openssl/tests/skipif.inc
- ext/openssl/openssl.c:
- Fix regular openssl_pkey_get_private($content, $phrase) syntax and
- add test case.
- This stuff should be merged into the 4.2 branch.
-
-2002-03-25 Jani Taskinen <sniper@iki.fi>
-
- * ext/xmlrpc/php_config.h.in: Why was this here??
-
- * ext/standard/dl.c: MFH dl() error message fix
-
-2002-03-25 Sterling Hughes <sterling@bumblebury.com>
-
- * ext/xslt/sablot.c: Whitespace fixes
-
-2002-03-25 Edin Kadribasic <edink@proventum.net>
-
- * sapi/cli/EXPERIMENTAL
- sapi/cli/README
- sapi/cli/config.m4
- sapi/cli/php_cli.c: Hidden the existance of CLI SAPI by:
- - removing the NEWS entry
- - removing cli from make install chain
- - marking it EXPERIMENTAL
- - reverting installed name of cgi from php-cgi to php
-
- Marged max_execution_time override from head.
-
- * sapi/cli/EXPERIMENTAL: New file.
-
- * sapi/cgi/config.m4
- NEWS: Hidden the existance of CLI SAPI by:
- - removing the NEWS entry
- - removing cli from make install chain
- - marking it EXPERIMENTAL
- - reverting installed name of cgi from php-cgi to php
-
- Marged max_execution_time override from head.
-
-2002-03-25 Georg Richter <georg.richter@phpev.de>
-
- * ext/mysql/php_mysql.c:
- fixed prototype for mysql_ping
-
-2002-03-25 Sterling Hughes <sterling@bumblebury.com>
-
- * ext/mysql/php_mysql.c: more zend_parse_parameters fixup
-
- * ext/mysql/php_mysql.c: Fix-up the last fix a bit
- Clean up mysql_list_processes
-
-2002-03-25 Hartmut Holzgraefe <hartmut@six.de>
-
- * ext/exif/exif.c: pproto fix
-
-2002-03-25 Sterling Hughes <sterling@bumblebury.com>
-
- * ext/mysql/php_mysql.c: clean up mysql_real_escape_string() a bit
-
-
-2002-03-25 Hartmut Holzgraefe <hartmut@six.de>
-
- * ext/mime_magic/TODO: initial checkin
-
-2002-03-24 Zak Greant <zak@mysql.com>
-
- * ext/mysql/php_mysql.c:
- Added mysql_table_name() alias for mysql_tablename()
- Improved logic of parameter parsing code for mysql_ping
- - made test for no arguments more explicit
- - combined to if blocks into one if/else if block
-
-2002-03-24 Jan Lehnardt <jan@dasmoped.net>
-
- * tests/func/006.phpt: - MFH
-
- * tests/func/006.phpt: - added basic output buffering tests
-
-2002-03-24 Hartmut Holzgraefe <hartmut@six.de>
-
- * ext/mime_magic/CREDITS
- ext/mime_magic/EXPERIMENTAL
- ext/mime_magic/config.m4
- ext/mime_magic/mime_magic.c
- ext/mime_magic/php_mime_magic.h:
- 1st implementation of magic-file based mime_content_type(string filename)
-
-2002-03-24 Alex Waugh <alex@alexwaugh.com>
-
- * sapi/webjames/config.m4: MFH
-
- * sapi/webjames/config.m4:
- Backslashes caused the build to fail with autoconf 2.52
-
-2002-03-24 Sterling Hughes <sterling@bumblebury.com>
-
- * ext/dio/dio.c: fix freebsd compile
-
-2002-03-24 Sander Roobol <phy@wanadoo.nl>
-
- * ext/mysql/php_mysql.c:
- Fixed tiny mistake in proto (tnx to Egon for spotting it).
-
-2002-03-24 Wez Furlong <wez.php@thebrainroom.com>
-
- * main/streams.c
- main/user_streams.c
- main/php_streams.h
- ext/zlib/zlib_fopen_wrapper.c
- ext/zlib/zlib.c
- ext/zlib/php_zlib.h
- ext/standard/php_fopen_wrappers.h
- ext/standard/php_fopen_wrapper.c
- ext/standard/ftp_fopen_wrapper.c
- ext/standard/http_fopen_wrapper.c
- ext/bz2/php_bz2.h
- ext/bz2/bz2.c: Phase 1 of wrapper OO cleanup.
-
-2002-03-24 Sander Roobol <phy@wanadoo.nl>
-
- * ext/mysql/php_mysql.c: Fix typo in proto.
-
-2002-03-24 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/mysql/php_mysql.c: - Fix proto
-
-2002-03-24 Georg Richter <georg.richter@phpev.de>
-
- * ext/mysql/php_mysql.c:
- changed prototype for mysql_real_escape_string
-
-2002-03-24 Mark L. Woodward <mlwmohawk@mohawksoft.com>
-
- * ext/msession/msession.c:
- Added support for session manager ID creation, works with patch submitted earlier
-
-2002-03-24 Zak Greant <zak@mysql.com>
-
- * ext/mysql/php_mysql.c
- ext/mysql/php_mysql.h: Added mysql_ping() function.
-
-2002-03-24 Georg Richter <georg.richter@phpev.de>
-
- * ext/mysql/php_mysql.c
- ext/mysql/php_mysql.h:
- a) ws fixed
- b) changed mysql_list_processes, mysql_stat (zend_parse_parameters)
- c) New functions:
- 1) mysql_real_escape_string this function is similar to mysql_escape_string (deprecated).
- it needs a mysql-connection to escape a string according to the
- current character set
-
- 2) mysql_character_set_name returns the current character set for the connection
-
- 3) mysql_thread_id return the pid for the current connection. This function is usefull
- when using mysql_list_processes
-
-2002-03-24 Edin Kadribasic <edink@proventum.net>
-
- * sapi/cli/README
- sapi/cli/php_cli.c:
- Override max_execution_time, setting it to unlimited.
-
-2002-03-24 Wez Furlong <wez.php@thebrainroom.com>
-
- * NEWS: News updates.
-
-2002-03-24 Jan Lehnardt <jan@dasmoped.net>
-
- * ext/pspell/tests/01pspell_basic.phpt:
- - finally MFH. sorry for the inconveniance, especially Derick ;)
-
- * ext/pspell/tests/01pspell_basic.phpt
- ext/pspell/.cvsignore: - initial checkin of basic testcases for pspell
-
-2002-03-24 Zak Greant <zak@mysql.com>
-
- * ext/mysql/php_mysql.c
- ext/mysql/php_mysql.h:
- (PHP mysql_list_processes) Returns a pointer to a result set containing
- information on the processes running in the
- MySQL server.
- (PHP mysql_stat) Returns a string containing information on the status
- of the MySQL server.
-
-2002-03-24 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/curl/curl.c:
- - MFH for bug #16232 (Patch by Alan Knowles <alan@akbkhome.com>)
-
- * ext/curl/curl.c:
- - Fix for bug #16232 (Patch by Alan Knowles <alan@akbkhome.com>)
-
-2002-03-24 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Registry.php: * move logic to _assertStateDir
-
-2002-03-23 Sterling Hughes <sterling@bumblebury.com>
-
- * ext/dio/dio.c: revert out accidental code
-
-2002-03-23 Edin Kadribasic <edink@proventum.net>
-
- * sapi/cli/README
- sapi/cli/TODO: Documented -r and added TODO
-
-2002-03-23 Sterling Hughes <sterling@bumblebury.com>
-
- * ext/dio/dio.c
- ext/mcrypt/EXPERIMENTAL
- ext/xslt/EXPERIMENTAL: remove experimental status
-
- * ext/mcrypt/EXPERIMENTAL: the point can be made both ways :)
-
- * ext/xslt/sablot.c: make key identifiers case sensitive
-
-2002-03-23 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/xslt/EXPERIMENTAL: - Fix experimental notice
-
-2002-03-23 Jan Lehnardt <jan@dasmoped.net>
-
- * ext/xml/tests/007.phpt: - MFH
-
- * ext/xml/tests/007.phpt:
- - fix "xml_parse_into_struct/umlauts in tags" testcase. It never really
- - worked
-
-2002-03-23 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/standard/basic_functions.h
- ext/standard/basic_functions.c: - Remove read_uploaded_file
-
-2002-03-23 Edin Kadribasic <edink@proventum.net>
-
- * ext/bz2/tests/with_strings.phpt: MFH
-
- * ext/ncurses/tests/.cvsignore
- ext/xslt/tests/.cvsignore
- ext/mcve/tests/.cvsignore
- ext/mailparse/tests/.cvsignore
- ext/mbstring/tests/.cvsignore
- ext/dbplus/tests/.cvsignore
- ext/dio/tests/.cvsignore: .cvsignore in tests dirs cleanup
-
-2002-03-23 jim winstead <jimw@apache.org>
-
- * NEWS: MFH
-
- * NEWS: remove inappropriate article
-
- * NEWS: MFH.
-
- * NEWS: rewrite history a bit. there is no is_enum(), it was com_isenum().
-
-2002-03-23 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Registry.php:
- The System class was modified to always return true or false instead
- of PEAR Errors. Changed then assertStateDir() to check for false.
-
- * pear/PEAR/Command/Package.php:
- Show maintainers name in package-info and show more human friendly
- column table names
-
-2002-03-23 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * main/php_memory_streams.h
- main/streams.c: -defined php_stream_temp_new() for standard temp streams
-
-2002-03-23 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Command/Package.php: Yet another break; forgotten
-
- * pear/PEAR/Command/Package.php: Oops, forgot the break;
-
-2002-03-23 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * NEWS: -no german in NEWS
-
-2002-03-23 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Command/Package.php:
- - Show the real dir where files would be installed (using role & config)
- - Introduce column wrapping
-
-2002-03-23 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * NEWS: -removed -x
- -no german in NEWS
-
- * sapi/cli/php_cli.c: -removed -x
- -error handling for illegal switch combinations
- -corrected ws for one case block
-
-2002-03-23 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Frontend/CLI.php:
- - Use getenv('TERM') instead of $_ENV (empty for me in 4.1.1)
- - Added 'linux' as bold capable list of term types
- - Pass the col by reference for making the wrap take effect in tableRow
-
- * pear/PEAR/Command/Install.php: fix parse error
-
-2002-03-23 Hartmut Holzgraefe <hartmut@six.de>
-
- * ext/standard/dl.c: dl is now aware of modules compiled for php <4.1.0
- which have a slightly different module_entry structure
-
-2002-03-23 Edin Kadribasic <edink@proventum.net>
-
- * main/config.w32.h
- win32/crypt_win32.c
- win32/crypt_win32.h
- win32/php4dllts.dsp: MFH (crypt on win32)
-
-2002-03-23 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/standard/basic_functions.c
- ext/standard/basic_functions.h:
- - Added read_uploaded_file (patch by Andrew Sitnikov <sitnikov@infonet.ee>)
-
-2002-03-23 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * sapi/cli/php_cli.c: Nuke unused variables.
-
-2002-03-23 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Command/Package.php:
- * added package-list and package-info commands (for .tgz files)
-
- * pear/PEAR/Command/Install.php: * use switch/case for what it's worth :-)
-
- * pear/PEAR/Registry.php: * _lock() calls _assertStateDir()
-
- * pear/PEAR/Common.php:
- * support having a toplevel package.xml in tgz files
-
- * pear/PEAR/Frontend/CLI.php:
- * wordwrapping and multiline table cell support
-
-2002-03-23 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * ext/mbstring/mbstring.c: fixed some errors in regression tests.
-
- * ext/mbstring/php_mbregex.c: changed license from GPL2 to PHP License.
-
- * ext/mbstring/mbregex.c: fixed compile warnings.
-
-2002-03-23 James Cox <james@wherewithal.com>
-
- * pear/PEAR/Installer.php: "reverting" to 1.39 as per Tomas Cox's wishes.
-
-2002-03-23 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * tests/lang/031.phpt: Fix test :)
-
-2002-03-23 Hartmut Holzgraefe <hartmut@six.de>
-
- * ext/curl/curl.c: proto fix
-
-2002-03-23 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * tests/lang/031.phpt: Added while(list() = each()) test
-
-2002-03-23 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * ext/mbstring/mbregex.c
- ext/mbstring/mbstring.c: fixed some compilation warning.
-
- * ext/mbstring/tests/003.inc: fixed POST/GET argument handling.
-
-2002-03-22 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * sapi/cli/php_cli.c: -Add -x
-
-2002-03-22 Derick Rethans <d.rethans@jdimedia.nl>
-
- * configure.in: - Oops... I didn't mean to commit this
-
- * configure.in: MFH
-
-2002-03-22 Jani Taskinen <sniper@iki.fi>
-
- * ext/xmlrpc/config.m4
- ext/xslt/config.m4: fix the fix
-
- * ext/xslt/config.m4
- ext/xmlrpc/config.m4:
- - Fixed minor inconvenience with iconv detection when iconv is found in libc
-
- * configure.in: MFH
-
-2002-03-22 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Frontend/CLI.php:
- * don't start table cells with a space in borderless tables
-
- * pear/PEAR/Command/Registry.php: * typo fix
-
- * pear/PEAR/Command/Config.php:
- * use PEAR_Frontend tables in config-show command
-
-2002-03-22 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/informix/ifx.ec: - oops :)
-
- * ext/informix/ifx.ec: MFH for bug 14664
-
- * ext/informix/ifx.ec:
- - Fix for bug #14644 (patch by samuel_carriere@hotmail.com)
-
-2002-03-22 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Command/Registry.php: * now using PEAR_Frontend tables
-
- * pear/PEAR/Frontend/CLI.php: * ncurses note
-
- * pear/PEAR/Frontend/CLI.php: * table support working
- * added bold support for xterm/vt220/vt100 terminals
-
- * pear/scripts/pear.in: * setUIType -> setFrontendType
-
-2002-03-22 Hartmut Holzgraefe <hartmut@six.de>
-
- * configure.in:
- manual is fixed to have static anchors generated from ids for the faq part
-
-2002-03-22 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Command/Auth.php: * rename class/methods
-
- * pear/Makefile.frag: * temporarily added: nuke old files/dirs
-
-2002-03-22 Sascha Schumann <sascha@schumann.cx>
-
- * build/genif.sh: de-overquotation
-
- * acinclude.m4:
- A cli-specific extension should be named once only, not twice.
-
- Noticed by: Derick
-
-2002-03-22 Stig Bakken <ssb@fast.no>
-
- * pear/Makefile.frag: * one last CommandUI -> Frontend change
-
-2002-03-22 Derick Rethans <d.rethans@jdimedia.nl>
-
- * pear/XML/tests/003.phpt
- pear/DB/tests/db_error2.phpt
- pear/XML/tests/002.phpt
- pear/DB/tests/db_error.phpt: - Fix tests
-
-2002-03-22 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Frontend/CLI.php
- pear/PEAR/Command/Auth.php
- pear/PEAR/Command/Common.php
- pear/PEAR/Command/Install.php
- pear/PEAR/Command/List.php
- pear/PEAR/Command/Login.php
- pear/PEAR/Command/Package.php
- pear/PEAR/Command/Registry.php
- pear/PEAR/Remote.php
- pear/PEAR/Command.php
- pear/PEAR/Installer.php
- pear/Makefile.frag: * rename PEAR_CommandUI* to PEAR_Frontend*
- * rename PEAR/Command/Login.php to PEAR/Command/Auth.php
- * replace PEAR/Command/Info.php with PEAR/Command/Registry.php (will contain
- more commands related to the local registry)
- * started working on Frontend table output
-
-2002-03-22 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/dbx/dbx.c: MFH: Fix phpinfo() output
-
- * tests/strings/002.phpt: - Add test for sprintf()'s zero'th argument
-
- * ext/standard/formatted_print.c:
- - Fix handling of zero'th argument for sprintf()'s argument swapping code
- (Patch by Morten Poulsen <morten@afdelingp.dk>)
-
- * NEWS: - Add note about changed fopen wrappers
-
-2002-03-22 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Registry.php:
- * No point in creating the lock file directory if it does not exist (so many
- other things would fail anyway). Throw an error instead.
-
-2002-03-22 Jani Taskinen <sniper@iki.fi>
-
- * ext/standard/aggregation.c: MFH fix for bug #16182
-
-2002-03-22 Hartmut Holzgraefe <hartmut@six.de>
-
- * ext/standard/basic_functions.c
- ext/xslt/sablot.c
- main/php.h
- ext/pdf/pdf.c
- ext/readline/readline.c: getting rid of the warn_not_available alias
-
-2002-03-21 Markus Fischer <mfischer@guru.josefine.at>
-
- * configure.in: - Fix #16206.
-
- * main/streams.c
- ext/recode/recode.c
- ext/pgsql/pgsql.c
- ext/pdf/pdf.c
- ext/gd/gd.c
- ext/bz2/bz2.c
- ext/curl/curl.c: *** empty log message ***
-
-2002-03-21 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Command/Install.php
- pear/PEAR/Installer.php
- pear/PEAR/Registry.php
- pear/scripts/pear.in:
- - Make the rellocation of packages work as expected if the target
- dir doesn't exist
- - The "install -f" now replaces the info in the registry
-
-2002-03-21 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/standard/file.c:
- - Use proper macros for php_stream_cast() return values (fixes #16211).
-
-2002-03-21 Rasmus Lerdorf <rasmus@php.net>
-
- * ext/standard/http_fopen_wrapper.c:
- Just in case we do a 4.1.3, MFH the fix for #15667
-
- * ext/standard/http_fopen_wrapper.c: Fix for bug #15667
-
-2002-03-21 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/pgsql/pgsql.c: - Fix PGSql Compile
-
-2002-03-21 Jani Taskinen <sniper@iki.fi>
-
- * configure.in
- main/php_version.h:
- The changes to build system and the streams stuff alone are big enough
- reason to make next release 4.3.0
-
-2002-03-21 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/scripts/pear.in: - Added command level options
- - Fix error handling for Getopt (it doesn't use raiseError)
-
- * pear/PEAR/Command.php
- pear/PEAR/Command/Common.php
- pear/PEAR/Command/Config.php
- pear/PEAR/Command/Install.php
- pear/PEAR/Command/List.php
- pear/PEAR/Command/Login.php
- pear/PEAR/Command/Package.php
- pear/PEAR/Config.php
- pear/PEAR/Remote.php: - Implement command level options
- - Removed call pass by reference
- - Readd $options to command::run() params
-
-2002-03-21 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * main/memory_streams.c: -missing efree in close
-
-2002-03-21 Jani Taskinen <sniper@iki.fi>
-
- * ext/iconv/iconv.c
- acinclude.m4: - MFH iconv fixes.
-
- * ext/xmlrpc/libxmlrpc/libs.mk:
- This file is generated and not supposed to be in CVS
-
- * ext/xmlrpc/libxmlrpc/libs.mk:
- This file is generated, not supposed to be here.
-
- * ext/pgsql/tests/.cvsignore: missing file
-
- * acinclude.m4
- ext/iconv/iconv.c:
- - Fixed bug #16165 again. We check libc for iconv functions only if
- no path is given for --with-iconv.
-
-2002-03-21 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/exif.c: -removed old streams test code
-
-2002-03-21 Jani Taskinen <sniper@iki.fi>
-
- * ext/exif/tests/.cvsignore: This file was missing.
-
-2002-03-21 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/exif.c: -fixed memory handling
-
-2002-03-21 Hartmut Holzgraefe <hartmut@six.de>
-
- * ext/standard/file.h
- ext/standard/php_dir.h
- ext/standard/basic_functions.c
- ext/standard/config.m4
- ext/standard/dir.c
- ext/standard/file.c: added fnmatch() and glob() functions
- could someone please check if i got the virtual dir stuff right?
-
-2002-03-21 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Common.php: fix a problem handling nested directories
-
-2002-03-21 Sascha Schumann <sascha@schumann.cx>
-
- * configure.in:
- Support systems without NIS functions, but with non-working libnsl
-
-2002-03-21 Wez Furlong <wez.php@thebrainroom.com>
-
- * main/streams.c
- ext/standard/php_fopen_wrapper.c
- ext/zlib/zlib_fopen_wrapper.c
- ext/bz2/bz2.c: Require that wrappers use <protocol>://<path> to avoid
- ambiguities when filenames have ':' characters.
- This slightly breaks BC with the old style zlib: wrapper.
-
-2002-03-21 Daniela Mariaschi <mariaschi@libero.it>
-
- * ext/interbase/interbase.c: fixed numeric number incorrectly rendered
-
-2002-03-21 Sterling Hughes <sterling@bumblebury.com>
-
- * ext/bz2/bz2.c: NUL terminate
-
- * ext/bz2/CREDITS: its Bzip2 not bz2 :)
-
- * ext/bz2/bz2.c: 1) ws fixes
- 2) un-NUL terminate strings... Binary Data should not be NUL terminated,
- PHP *is* binary safe...
-
-2002-03-21 Hartmut Holzgraefe <hartmut@six.de>
-
- * ext/xml/xml.c: proto fixes
-
-2002-03-21 Jani Taskinen <sniper@iki.fi>
-
- * ext/xslt/config.m4: Minor detail fixed.
-
-2002-03-21 Andrei Zmievski <andrei@ispi.net>
-
- * ext/standard/aggregation.c
- ext/standard/basic_functions.c: Fix compilation when PCRE is disabled.
-
-2002-03-21 Ludovico Magnocavallo <ludo@sumatrasolutions.com>
-
- * ext/interbase/tests/001.phpt
- ext/interbase/tests/002.phpt
- ext/interbase/tests/003.phpt
- ext/interbase/tests/004.phpt
- ext/interbase/tests/005.phpt
- ext/interbase/tests/006.phpt:
- synched with HEAD, tests 1-2-3-6 pass, 5 fails but ok, 4 needs work
-
-2002-03-21 Sander Roobol <phy@wanadoo.nl>
-
- * ext/standard/tests/array/count_recursive.phpt
- ext/standard/tests/math/pow.phpt: MFH: more tests for pow() and count()
-
- * ext/standard/tests/math/pow.phpt
- ext/standard/tests/array/count_recursive.phpt:
- Added tests for pow()'ing with broken exponents and some additional test
- for count()'ing arrays.
-
-2002-03-21 Wez Furlong <wez.php@thebrainroom.com>
-
- * NEWS: NEWS updates
-
-2002-03-21 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * ext/mbstring/tests/003.inc: fixed POST/GET input processing.
-
-2002-03-21 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/exif.c
- main/memory_streams.c:
- * main/memory_streams.c: -fix missing efree
-
-2002-03-21 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Command/List.php: readd the "list" command
-
- * pear/PEAR/Command/Config.php
- pear/PEAR/Command/Login.php:
- Adapt this commands to the new config store mechanism and command params
-
- * pear/scripts/pear.in:
- Pass config to command factory and pass the correct command params
-
- * pear/PEAR/Command.php
- pear/PEAR/Command/Common.php
- pear/PEAR/Command/Install.php
- pear/PEAR/Command/Package.php:
- - The config object is stored by the factory method
- - Make install/unistall/package work again (didn't work for me)
-
- * pear/PEAR/Packager.php: Clean up unused stuff
-
-2002-03-21 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * php.ini-dist
- php.ini-recommended:
- MFH: ext/overload is a 'built-in' extension on Win32.
-
- * php.ini-dist
- php.ini-recommended: ext/overload is a 'built-in' extension on Win32.
-
-2002-03-21 Wez Furlong <wez.php@thebrainroom.com>
-
- * ext/bz2/bz2.c: Added fold markers.
-
- * ext/bz2/bz2.c
- ext/bz2/php_bz2.h
- ext/zlib/zlib_fopen_wrapper.c: Implement bz2 streams and bz2: wrapper.
- You can now do this:
- copy("zlib:src.gz", "bz2:dest.bz2");
- As with zlib, most of the functions with counterparts
- in file.c are now aliases to those functions.
-
- * ext/zlib/zlib.c: really nuke it...
-
- * ext/standard/file.c
- ext/zlib/php_zlib.h
- ext/zlib/zlib.c
- ext/zlib/zlib_fopen_wrapper.c
- main/php_streams.h
- main/streams.c:
- Convert the gzfile related functions into aliases for their equivalents
- in ext/standard/file.c, so a gzopen()ed file pointer can be used in
- fread, fseek etc.
- Improved behaviour of zlib stream.
- Moved passthru code into streams.c
- Nuked gzgetss_state as no longer needed.
-
-2002-03-21 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/pgsql.c: Show function name in error message.
-
-2002-03-20 Boian Bonev <boian@bonev.com>
-
- * ext/vpopmail/config.m4: MFH vpopmail 5.2 version compatibility fix
-
- * ext/vpopmail/php_vpopmail.c: ws fix
-
- * ext/vpopmail/config.m4:
- fix version checking - now handle 1.2.3 and 1.2 as well
-
-2002-03-20 Harald Radi <h.radi@nme.at>
-
- * main/memory_streams.c: fixed signed/unsigned comparison warnings
-
-2002-03-20 Jani Taskinen <sniper@iki.fi>
-
- * acinclude.m4: MFH
-
-2002-03-20 Derick Rethans <d.rethans@jdimedia.nl>
-
- * makedist: MFH makedist
-
- * makedist: - Fix makedist
-
-2002-03-20 Sander Roobol <phy@wanadoo.nl>
-
- * ext/dbx/dbx.c:
- Some PHP-info layout fixes (\n will automatically be converted into <br />)
- and a comment-related fix.
-
-2002-03-20 Boian Bonev <boian@bonev.com>
-
- * ext/vpopmail/config.m4: fix a missing [
-
-2002-03-20 Stefan Esser <s.esser@e-matters.de>
-
- * ext/filepro/filepro.c: MFH: filepro fixes
-
-2002-03-20 Jani Taskinen <sniper@iki.fi>
-
- * acinclude.m4: - Should work better now..
-
-2002-03-20 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/vpopmail/config.m4
- acinclude.m4: - MFH iconv fix
- - Configure Fix for vpopmail
-
-2002-03-20 Stefan Esser <s.esser@e-matters.de>
-
- * ext/standard/html.c: MFH of bufferoverflow fix
-
-2002-03-20 Wez Furlong <wez.php@thebrainroom.com>
-
- * ext/zlib/zlib.c
- main/php_streams.h
- ext/standard/file.h
- ext/standard/php_string.h
- ext/standard/string.c
- ext/standard/file.c:
- Make state parameter of php_strip_tags passed by reference.
- Move state tracking to stream structure.
-
- * main/php_streams.h
- main/streams.c
- main/user_streams.c
- ext/zlib/zlib.c
- ext/pgsql/pgsql.c
- ext/standard/exec.c
- ext/standard/file.c
- ext/standard/fsock.c
- ext/standard/image.c
- ext/exif/exif.c: Streams are all tracked as resources now.
- Add some logic that will help track down leaks
- when debug is enabled.
-
- * ext/zlib/zlib.c: Add parameter here too...
-
-2002-03-20 Sascha Schumann <sascha@schumann.cx>
-
- * Makefile.global
- acinclude.m4
- ext/iconv/iconv.c
- ext/iconv/php_iconv.h: Expand the variables in PHP_EXPAND_BUILD_VARS.
-
- Make HAVE_ICONV/HAVE_LIBICONV available through the more
- fine-grained approach using a single include file per
- directive. This will significantly reduce the price of
- full dependencies for developers, because basically each
- file today includes php.h which includes php_config.h.
-
- If PHP_ATOM_INC is defined, these include files can be used.
-
- For all PHP_DEFINEs, empty files are created upon configure start.
-
-2002-03-20 Wez Furlong <wez.php@thebrainroom.com>
-
- * ext/zlib/php_zlib.h
- ext/zlib/zlib_fopen_wrapper.c: add forgotten parameter
-
-2002-03-20 Sascha Schumann <sascha@schumann.cx>
-
- * ext/mysql/config.m4: Fix building mysql client library
- Run client lib specific checks only when clientlib is used
- Remove second invocation of MYSQL_SOCK
-
- * acinclude.m4:
- Avoid duplicate tests and make third parameter truly optional.
-
-2002-03-20 Jani Taskinen <sniper@iki.fi>
-
- * ext/mysql/config.m4: - Fixed (hope so :) like Sascha said.
-
-2002-03-20 Sascha Schumann <sascha@schumann.cx>
-
- * acinclude.m4: Fix and tweak iconv macro
-
- * acinclude.m4: Don't quote too much. Now autoconf-2.13 is happy again.
-
- * acinclude.m4: Remove autoconf-2.5x specific m4_default macro.
-
- It is pointless here, because we don't need any "void" statement.
- There already is a statement and all it will do in the worst case
- is generate an empty line
-
-2002-03-20 Stefan Esser <s.esser@e-matters.de>
-
- * main/safe_mode.c: MFH of safe_mode.c text fix
-
-2002-03-20 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/vpopmail/php_vpopmail.c: MFH Sascha's fix
-
-2002-03-20 Sascha Schumann <sascha@schumann.cx>
-
- * ext/vpopmail/php_vpopmail.c:
- There should not be any trailing data on an #endif line
-
- * README.UNIX-BUILD-SYSTEM: add info about build system macros
-
-2002-03-20 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/standard/metaphone.c: - MFH fix for #16176.
-
- * ext/standard/metaphone.c: - Fix for #16176.
-
- * ext/vpopmail/config.m4
- ext/vpopmail/php_vpopmail.c:
- - MFH fix for #16120 (this also MFHs the proto fix by Sebastion which
- I hope is ok).
-
-2002-03-20 Jon Parise <jon@csh.rit.edu>
-
- * acinclude.m4:
- This completely fixes the iconv library detection under FreeBSD (the
- previous fix was incomplete). We also set HAVE_ICONV and HAVE_LIBICONV
- based on the library that was detected.
-
-2002-03-20 Jani Taskinen <sniper@iki.fi>
-
- * tests/quicktester.inc
- ext/bz2/tests/with_strings.phpt:
- - Fixed the bz2 tests. (and changed the usage comment to be correct)
-
- * ext/gd/config.m4: - This is not needed here
-
- * ext/openssl/config.m4
- pear/pear.m4
- acinclude.m4
- configure.in:
- - Make it possible to build ext/openssl as shared extension
-
- * ext/mysql/config.m4:
- - Fixed bug: #14147 (partial MFH, the uncompress issue)
-
- * ext/mysql/php_mysql.c
- ext/mysql/config.m4:
- - Fixed bug: #16139 (compile failure with Mysql 4.0.1)
- - Some tests were only run when compiling with the bundled libs.
- (caused some compile warnings with external mysql libs)
- - Another try to fix the zlib issue..(uncompress)
-
- * ext/fdf/config.m4
- ext/fdf/php_fdf.h: MFH
-
- * ext/fdf/config.m4
- ext/fdf/php_fdf.h: - Fix this without breaking BC
-
-2002-03-19 Wez Furlong <wez.php@thebrainroom.com>
-
- * main/main.c
- main/memory_streams.c
- main/php_streams.h
- main/streams.c: Improve behaviour of the stream casting operation.
- Improve interaction with fopencookie.
-
-2002-03-19 Harald Radi <h.radi@nme.at>
-
- * ext/rpc/tests/test1.php
- ext/rpc/com/com.c
- ext/rpc/handler.h
- ext/rpc/rpc.c
- ext/rpc/rpc.h: pass function signature in zend_parse_parameters style
- lookup cache works now per signature (not only method name)
- reviewed resource management
-
-2002-03-19 Frank M. Kromann <frank@frontbase.com>
-
- * ext/mssql/php_mssql.c: Minor change to allocated lengths for dates
-
-2002-03-19 Jani Taskinen <sniper@iki.fi>
-
- * .cvsignore: missing entry
-
-2002-03-19 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/vpopmail/php_vpopmail.c
- ext/vpopmail/config.m4: - Support vpopmail 5.2 (fixes #16120).
-
-2002-03-19 Jani Taskinen <sniper@iki.fi>
-
- * acinclude.m4: - MFH iconv fix
-
- * acinclude.m4:
- - Fix the iconv detection when the functions are prefixed with lib.
- (e.g. in freebsd)
-
-2002-03-19 Frank M. Kromann <frank@frontbase.com>
-
- * ext/fbsql/php_fbsql.c: Oops.. This should make I64 work on WIn32 as well
-
- * ext/fbsql/php_fbsql.c:
- Changing the LongInteger to return 64 bit integers as string values with all 64 bit
-
-2002-03-19 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/ming/ming.c: - Fix bug spotted by Lukas Schroeder <lukas@edeal.de>.
-
-2002-03-19 Stig Bakken <ssb@fast.no>
-
- * pear/Makefile.frag: * install PEAR_Command_Package
-
- * pear/PEAR/Command/Package.php: * re-add "package" command
-
- * pear/PEAR/Command/Login.php: * "pear login" finally works
-
- * pear/PEAR/Remote.php: * fix http auth bug
-
- * pear/PEAR/CommandUI/CLI.php:
- * add optional default parameter to userDialog method
-
-2002-03-19 Zeev Suraski <zeev@zend.com>
-
- * main/memory_streams.c:
- Possibly fix a crash - Marcus, please take a look at it...
-
- * sapi/isapi/php4isapi.c
- win32/php4dllts.dsp
- main/memory_streams.c:
- - Fix whitespace (guys, please try to stick with the php4 tree style as far
- as indentation/newlines go, and also as far as using {} even on if's
- that have single statements)
- - Fix Windows build
-
-2002-03-19 Harald Radi <h.radi@nme.at>
-
- * ext/rpc/com/com.c
- ext/rpc/tests/test1.php
- ext/rpc/rpc.h
- ext/rpc/handler.h
- ext/rpc/rpc.c: fixed memleaks
- added method lookup caching
- pass function signature to hash function callback
-
-2002-03-19 Frank M. Kromann <frank@frontbase.com>
-
- * ext/fbsql/php_fbsql.c:
- Adding support for TinyInteger and LongInteger database types
-
-2002-03-19 Wez Furlong <wez.php@thebrainroom.com>
-
- * main/php_streams.h
- main/streams.c
- main/php_network.h
- main/main.c
- main/network.c
- ext/standard/file.c
- ext/standard/file.h: fix for bug #16168
-
-2002-03-19 Harald Radi <h.radi@nme.at>
-
- * win32/php4dllts.dsp: MFH
-
-2002-03-19 Wez Furlong <wez.php@thebrainroom.com>
-
- * main/user_streams.c: make buffer length warnings more verbose
-
-2002-03-19 Ludovico Magnocavallo <ludo@sumatrasolutions.com>
-
- * ext/interbase/tests/001.phpt
- ext/interbase/tests/002.phpt
- ext/interbase/tests/003.phpt
- ext/interbase/tests/004.phpt
- ext/interbase/tests/005.phpt
- ext/interbase/tests/006.phpt: Fixed include of interbase.inc
- Fixed test database path
- Changed v_date field in test table definition to timestamp type
- Reduced maximum length of double precision type to 18
-
- Tests 001 002 003 006 pass
- Test 004 (BLOB test) still needs to be fixed
- Test 005 (Transaction) gives the right output but issues a warning
-
-2002-03-19 Daniela Mariaschi <mariaschi@libero.it>
-
- * ext/interbase/interbase.c:
- fixed floating number incorrectly rendered (as mentioned by giancarlo@niccolai.ws in BUG #14755)
-
-2002-03-19 Wez Furlong <wez.php@thebrainroom.com>
-
- * main/php_streams.h
- main/streams.c
- main/user_streams.c
- ext/standard/basic_functions.c
- ext/standard/file.h: register some constants for user streams
-
-2002-03-19 Uwe Steinmann <Uwe.Steinmann@fernuni-hagen.de>
-
- * ext/fdf/php_fdf.h:
- - the fdf include file shipped with the FDF toolkit is spelled
- in lower case (at least in version 5.0)
-
-2002-03-19 Wez Furlong <wez.php@thebrainroom.com>
-
- * main/user_streams.c: correct copy/paste typo
-
- * main/user_streams.c:
- avoid possible buffer overruns when write returns a value larger than the buffer
-
- * main/streams.c
- main/user_streams.c:
- Make file_get_wrapper_data return the underlying PHP object for
- user-space streams.
-
- * ext/standard/file.c
- ext/standard/file.h
- ext/standard/basic_functions.c: s/fgetwrapperdata/file_get_wrapper_data/
-
-2002-03-19 Sascha Schumann <sascha@schumann.cx>
-
- * ext/standard/php_smart_str.h: Remove trailing ;
-
- The macro can now safely be used in constructs such as
-
- if (..) foo() else bar();
-
- * README.SUBMITTING_PATCH:
- some typo fixing, and following The Little Book, omitting needless words
-
- * Makefile.global:
- Somewhere along the build changes, -export-dynamic was lost.
-
- Readd it.
-
- Noticed by: Stanislav Malyshev
-
- * ext/standard/url_scanner_ex.c:
- touch file. Please commit first the .re file and afterwards the .c source. Otherwise, timestamps will be broken.
-
-2002-03-19 Thies C. Arntzen <thies@thieso.net>
-
- * ext/standard/php_smart_str.h
- ext/standard/var.c:
- fix #12793 - serialize will now spit a notice if the return value of __sleep is
- bogus.
-
-2002-03-19 Jani Taskinen <sniper@iki.fi>
-
- * sapi/cli/.cvsignore: added missing .libs entry
-
- * ext/iconv/Makefile.in: - Not needed anymore.
-
-2002-03-19 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * CODING_STANDARDS
- README.SUBMITTING_PATCH:
- Added README.SUBMITTING_PATCH file. Please fix/add/change.
- Added more description for use of assert().
-
-2002-03-19 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * win32/php4dll.dsp
- win32/php4dllts.dsp: Add streams.c/user_streams.c to MSVC projects.
-
-2002-03-19 Wez Furlong <wez.php@thebrainroom.com>
-
- * ext/standard/basic_functions.c
- ext/standard/file.h
- ext/standard/ftp_fopen_wrapper.c
- ext/standard/http_fopen_wrapper.c
- ext/standard/php_fopen_wrapper.c
- ext/standard/php_fopen_wrappers.h
- ext/zlib/zlib.c
- main/php_streams.h
- main/streams.c
- main/user_streams.c: Implement user-space streams.
- There's probably room for improvement,
- docs will following some time this week.
-
- * configure.in: add sys/poll.h header detection
-
- * main/network.c: make feof more useful on network streams
-
-2002-03-19 Harald Radi <h.radi@nme.at>
-
- * ext/rpc/com/com.c
- ext/rpc/handler.h
- ext/rpc/rpc.c
- ext/rpc/rpc.dsp
- ext/rpc/rpc.h
- ext/rpc/tests/test1.php:
- added lookup caching and now make use of the new thread
- safe hashtables (not in cvs right now)
-
-2002-03-19 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * run-tests.php: WS fix
-
-2002-03-19 Jon Parise <jon@csh.rit.edu>
-
- * configure.in: Give one last reference to pear-get.
-
-2002-03-19 Stig Bakken <ssb@fast.no>
-
- * pear/Makefile.frag: * pear-get gone
-
- * ext/xmlrpc/config.m4
- ext/xslt/config.m4
- ext/iconv/config.m4
- acinclude.m4: MFH: Jani's fix to my iconv fix
-
-2002-03-18 Vlad Krupin <phpdevel@echospace.com>
-
- * ext/ftp/ftp.c: MFH (rev. 1.49)
-
- * ext/ftp/ftp.c: Fix ftp_size() returning bogus results.
-
-2002-03-18 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * win32/crypt_win32.c
- win32/crypt_win32.h: Fugbix typo.
-
-2002-03-18 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/standard/fsock.c: MFH socket fix
-
- * ext/standard/fsock.c: - MFH for bugfix for bug #10001
-
-2002-03-18 Frank M. Kromann <frank@frontbase.com>
-
- * win32/crypt_win32.c
- win32/crypt_win32.h:
- Adding note about permission to distribute this code under the PHP license
-
- * main/config.w32.h:
- Adding HAVE_SHUTDOWN on win32. Needed for the sockets extension to compile
-
-2002-03-18 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/oci8/oci8.c:
- - Let OCIError() also return the sql statement which failed and the exact
- position into the statement where it failed (if applicable).
- Patch by Daniel Ceregatti <vi@sh.nu>.
-
-2002-03-18 Wez Furlong <wez.php@thebrainroom.com>
-
- * ext/standard/fsock.c:
- fix error message which appeared even if no ssl mode was selected
-
- * main/network.c:
- Fix for bug #10001: a timeout event prevents further reads.
- The Bug DB has a patch that should be applied to fsock.c on the
- 4.2 branch.
-
-2002-03-18 Zeev Suraski <zeev@zend.com>
-
- * main/php_streams.h
- main/streams.c: Fix build under Release_TS
- Maybe separating TSRMLS away wasn't such a good idea (sorry Wez :)
-
-2002-03-18 Wez Furlong <wez.php@thebrainroom.com>
-
- * main/network.c: Fix for bugs #16148, #11199, #10092:
- fread from socket will never free memory.
- This patch should also be applied to php_sockread_internal in
- fsock.c in the 4.2 branch.
-
- * main/streams.c: fix non-TS build...
-
- * main/php_globals.h: Shouldn't have made it into my last commit.
-
- * main/php_globals.h
- main/php_memory_streams.h
- main/php_network.h
- main/php_streams.h
- main/streams.c
- main/memory_streams.c
- main/network.c
- ext/zlib/zlib_fopen_wrapper.c
- main/main.c
- ext/zlib/php_zlib.h
- ext/zlib/zlib.c
- ext/standard/fsock.c
- ext/standard/ftp_fopen_wrapper.c
- ext/standard/http_fopen_wrapper.c
- ext/standard/image.c
- ext/standard/php_fopen_wrapper.c
- ext/standard/php_fopen_wrappers.h
- ext/standard/php_image.h
- ext/standard/file.h
- ext/standard/file.c
- ext/mailparse/mailparse.c
- ext/ftp/ftp.c
- ext/exif/exif.c: TSRMLS related work on streams, as discussed with Zeev.
-
-2002-03-18 Stig Bakken <ssb@fast.no>
-
- * pear/scripts/.cvsignore
- pear/scripts/pear-get.in
- pear/scripts/pearcmd-common.php
- pear/scripts/pearcmd-help.php
- pear/scripts/pearcmd-info.php
- pear/scripts/pearcmd-install.php
- pear/scripts/pearcmd-list.php
- pear/scripts/pearcmd-package.php
- pear/scripts/pearcmd-remote-list.php
- pear/scripts/pearcmd-show-config.php
- pear/scripts/pearcmd-uninstall.php: * get rid of this hack
-
-2002-03-18 Hartmut Holzgraefe <hartmut@six.de>
-
- * ext/curl/curl.c: proto fixes
-
-2002-03-18 Stig Bakken <ssb@fast.no>
-
- * pear/tests/pear_config.phpt
- pear/PEAR/CommandUI/CLI.php
- pear/scripts/pear.in
- pear/PEAR/Command/Common.php
- pear/PEAR/Command/Config.php
- pear/PEAR/Command/Install.php
- pear/PEAR/Command/Login.php
- pear/PEAR/Command.php
- pear/PEAR/Config.php
- pear/PEAR/Remote.php
- pear/DB/common.php
- pear/Makefile.frag
- pear/DB.php: * Refactoring of "pear" command internals. Highlights:
- - user interface abstraction, making a Gtk installer should only be
- a matter of implementing PEAR_CommandUI_Gtk plus a "pear-gtk" executable
- - separated code into command classes, able to specify one or more
- commands
- - no more "pear-get" :-)
- * fixed use of PEAR_Config::singleton to avoid object copying
-
-2002-03-18 Edin Kadribasic <edink@proventum.net>
-
- * NEWS: MFH
-
- * NEWS: -r is in the release branch.
-
-2002-03-18 Sascha Schumann <sascha@schumann.cx>
-
- * ext/ircg/config.m4: If --with-ircg=foo was specified, default to
- --with-ircg-config=foo/bin/ircg-config.
-
-2002-03-18 Derick Rethans <d.rethans@jdimedia.nl>
-
- * configure.in: - MFH: backing out requirement on C++ compiler
-
-2002-03-18 Sascha Schumann <sascha@schumann.cx>
-
- * regex/Makefile.in: unused makefile.in
-
-2002-03-18 Wez Furlong <wez.php@thebrainroom.com>
-
- * ext/zlib/zlib_fopen_wrapper.c: fix warning
-
- * main/memory_streams.c: fix TSRM build
-
- * ext/recode/php_recode.h
- ext/recode/recode.c: Fix build.
- Warning about TSRM testing still applies.
-
- * main/memory_streams.c
- main/php_memory_streams.h: tidyup use of STREAMS_DC macros
-
- * ext/standard/basic_functions.c: having streams is now the default
-
-2002-03-18 Zeev Suraski <zeev@zend.com>
-
- * win32/php4dllts.dsp: Move stream files into the right folders
-
-2002-03-18 Stanislav Malyshev <stas@zend.com>
-
- * ext/zlib/zlib.dsp: Update .dsp
-
- * ext/dotnet/dotnet.dsp: Fix build
-
- * ext/bz2/bz2.dsp: Update .dsp
-
-2002-03-18 Zeev Suraski <zeev@zend.com>
-
- * ext/standard/basic_functions.c: Fix build
-
- * main/streams.c: Make Sebastian happy
-
-2002-03-18 Sascha Schumann <sascha@schumann.cx>
-
- * ext/standard/basic_functions.c
- main/php.h: Rename HAVE_PHP_STREAM to PHP_HAVE_STREAMS, because
-
- 1.) a PHP-specific symbol should be in the php namespace, and
- 2.) there are multiple streams and the old configure parameter was plural, too.
-
- * ext/standard/var_unserializer.c: touch file
-
-2002-03-18 Zeev Suraski <zeev@zend.com>
-
- * ext/zlib/zlib.c
- main/main.c
- main/php_streams.h
- main/streams.c
- ext/standard/basic_functions.c
- ext/standard/file.c:
- Fix the build and all of the outstanding VC++ warnings
-
-2002-03-18 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * README.TESTING: -c option is for path.
-
- * ext/mbstring/tests/002.inc
- ext/mbstring/tests/003.inc
- ext/mbstring/tests/004.inc
- ext/mbstring/tests/005.inc
- ext/mbstring/tests/006.inc
- ext/mbstring/tests/008.inc
- ext/mbstring/tests/009.inc
- ext/mbstring/tests/010.inc
- ext/mbstring/tests/011.inc
- ext/mbstring/tests/012.inc
- ext/mbstring/tests/013.inc
- ext/mbstring/tests/014.inc
- ext/mbstring/tests/015.inc
- ext/mbstring/tests/016.inc
- ext/mbstring/tests/017.inc
- ext/mbstring/tests/018.inc
- ext/mbstring/tests/019.inc:
- Use common.inc instead of common.php for ease of use (rm -f *.php for failed
- test files)
-
-2002-03-18 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/exif.c: -streams are no longer an option
-
- * main/memory_streams.c
- main/php_memory_streams.h: -temp streams are now clean (Thanks to Wez)
-
-2002-03-18 Shane Caraveo <shane@caraveo.com>
-
- * php.ini-dist
- php.ini-recommended: add new ini item for fastcgi
-
- * sapi/cgi/cgi_main.c
- sapi/cgi/libfcgi/include/fcgios.h
- sapi/cgi/libfcgi/os_win32.c:
- add security impersonation feature for running under IIS security
-
- * sapi/fastcgi/fastcgi.c: Add impersonation feature for running under IIS
-
-2002-03-18 jim winstead <jimw@apache.org>
-
- * Makefile.global:
- make test: '-c' flag doesn't work like this expects (it takes a
- directory, not a file), and this isn't necessary.
-
- * ext/standard/string.c
- ext/standard/tests/strings/wordwrap.phpt: MFH
-
- * ext/standard/tests/strings/wordwrap.phpt
- ext/standard/string.c:
- Fix calculation of output buffer size in wordwrap(). (Thanks to Wez.)
-
-2002-03-18 Wez Furlong <wez.php@thebrainroom.com>
-
- * README.STREAMS: correct grammar
-
- * README.STREAMS: Add some rules for stream implementors.
-
-2002-03-18 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/exif.c: -use php_stream_make_seekable
-
-2002-03-17 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * main/memory_streams.c
- main/php_memory_streams.h: -added temporary streams
- -added stream debug code
-
-2002-03-17 Wez Furlong <wez.php@thebrainroom.com>
-
- * main/network.c
- main/php_network.h
- main/php_streams.h
- main/streams.c
- ext/zlib/php_zlib.h
- ext/zlib/zlib.c
- ext/zlib/zlib_fopen_wrapper.c
- main/main.c
- ext/standard/ftp_fopen_wrapper.c
- ext/standard/http_fopen_wrapper.c
- ext/standard/image.c
- ext/standard/php_fopen_wrapper.c
- ext/standard/php_fopen_wrappers.h
- ext/pgsql/pgsql.c
- ext/standard/basic_functions.c
- ext/ftp/php_ftp.c
- ext/gd/gd.c
- ext/mailparse/mailparse.c
- ext/ming/ming.c
- ext/exif/exif.c:
- Streams now make more use of the memory manager, so tracking down
- leaking streams should be easier.
-
-2002-03-17 Jani Taskinen <sniper@iki.fi>
-
- * ext/iconv/config.m4
- ext/xmlrpc/config.m4
- ext/xslt/config.m4
- acinclude.m4:
- - Made one test/setup macro for iconv and fixed it to check
- for libc first.
-
-2002-03-17 Stefan Esser <s.esser@e-matters.de>
-
- * main/safe_mode.c:
- SAFE_MODE restriction error message fixed if the file doesn't exist
-
- * ext/standard/basic_functions.c:
- move_uploaded_files checks open_basedir now
-
-2002-03-17 Jason Greene <jason@inetgurus.net>
-
- * ext/pcntl/pcntl.c: Remove already included file
-
-2002-03-17 Jani Taskinen <sniper@iki.fi>
-
- * configure.in: Fix build.
-
-2002-03-17 Sander Roobol <phy@wanadoo.nl>
-
- * ext/gd/php_gd.h:
- Fixed compile error about gdImageColorResolve (#14426, #15000).
-
-2002-03-17 Harald Radi <h.radi@nme.at>
-
- * ext/standard/var_unserializer.c
- ext/standard/var_unserializer.re: removed anoying warnings
-
- * win32/php4dllts.dsp: reduced warninglevel to remove the annoying
- warnings from the re2c generated code
-
-2002-03-17 James Cox <james@wherewithal.com>
-
- * NEWS: NEWS is my friend...
-
- * NEWS: s/-/ ./
-
- * NEWS: no, really update it
-
-2002-03-17 Jani Taskinen <sniper@iki.fi>
-
- * main/Makefile.in: - This is not used anymore.
-
-2002-03-17 James Cox <james@wherewithal.com>
-
- * NEWS: updated NEWS
-
-2002-03-17 Wez Furlong <wez.php@thebrainroom.com>
-
- * main/php_streams.h
- main/streams.c
- main/fopen_wrappers.h
- README.STREAMS:
- Fix for php_stream_gets when the implementation does not support it
- natively (Thanks Marcus).
-
- Implement php_stream_make_seekable() and add STREAM_MUST_SEEK as an
- option to php_stream_open_wrapper().
- See README.STREAMS for usage.
-
- * main/fopen_wrappers.h
- main/php_network.h: tidy up the headers (streams related)
-
- * main/network.c
- main/php_network.h
- ext/standard/fsock.c:
- Fix for Bug #16121: make unix socket names binary safe.
-
- * run-tests.php: fix problems with cgi/cli sapi when running tests
-
-2002-03-17 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/exif.c:
- * main/streams.c: -fix bug with wrappers
-
-2002-03-17 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/vpopmail/config.m4:
- - Let configure also detect installation in standard unix paths.
- - Properly format error message.
-
-2002-03-17 Shane Caraveo <shane@caraveo.com>
-
- * sapi/cgi/libfcgi/os_win32.c: fix closing pipes
- fix buffer overrun
-
-2002-03-17 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/pcntl/pcntl.c: - Fix some compiler warnings and errors.
-
-2002-03-17 Wez Furlong <wez.php@thebrainroom.com>
-
- * ext/ming/ming.c
- ext/standard/fsock.c: fix win32 warning and ming leak
-
-2002-03-16 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Config.php: * added optional layer parameter to get() method
- * added isDefinedLayer() method
-
-2002-03-16 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/pcntl/pcntl.c
- ext/pcntl/php_pcntl.h: - WS and code style fix.
-
-2002-03-16 Harald Radi <h.radi@nme.at>
-
- * win32/php4dllts.dsp: project file for ZendEngine2 migration
-
- * main/internal_functions_win32.c: no message
-
-2002-03-16 Jani Taskinen <sniper@iki.fi>
-
- * ext/ming/ming.c: - Fixed some typos.
-
-2002-03-16 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/mailparse/mailparse.c
- ext/pcntl/pcntl.c: - Some more TSRMLS fixes.
-
-2002-03-16 Harald Radi <h.radi@nme.at>
-
- * ext/standard/fsock.c: fixed TSRM build
-
-2002-03-16 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/exif.c: -quick hack to bug in streams....but where?
-
- * ext/exif/exif.c: -disabling debug
-
- * ext/standard/image.c: -formatting
-
- * ext/exif/exif.c: -fix bug for not correct terminated comments
- -switch to streams
-
- * main/Makefile.in
- main/memory_streams.c
- main/php.h
- main/php_memory_streams.h: -added memory streams
-
- * main/streams.c:
- -copy_stream_to_stream returns size if maxlen == PHP_STREAM_COPY_ALL
-
- * ext/exif/exif.c: -fix bug with not correctly terminated comments
-
-2002-03-16 Wez Furlong <wez.php@thebrainroom.com>
-
- * main/streams.c: fix ftell/fseek in stdio streams
-
- * ext/interbase/interbase.c: fix build problem for interbase
-
- * ext/zlib/zlib_fopen_wrapper.c
- ext/zlib/zlib.c
- ext/standard/fsock.c: Fix some issues with gzFile and fsockopen.
-
-2002-03-16 Andi Gutmans <andi@zend.com>
-
- * main/streams.c: - Indentation fix.
- Never do:
- if (expr) {
- }
- else
-
- It should be:
- if (expr) {
- } else {
-
-2002-03-16 Wez Furlong <wez.php@thebrainroom.com>
-
- * main/php.h:
- add HAVE_PHP_STREAM macro for extensions to test which fileio functions to use
-
- * ext/standard/basic_functions.c
- ext/standard/file.c
- ext/standard/file.h: s/get_file_contents/file_get_contents/
-
-2002-03-16 Harald Radi <h.radi@nme.at>
-
- * ext/rpc/RPC_HOWTO
- ext/rpc/com/com.c
- ext/rpc/com/com.h
- ext/rpc/handler.h
- ext/rpc/php_rpc.h
- ext/rpc/rpc.c
- ext/rpc/rpc.h
- ext/rpc/tests/test1.php: blah
-
-2002-03-16 Wez Furlong <wez.php@thebrainroom.com>
-
- * ext/standard/file.c
- ext/standard/file.h: Ooops.
-
- * main/streams.c
- ext/standard/file.c
- ext/standard/basic_functions.c:
- Implement get_file_contents() as discussed (briefly!) by myself, Derick
- and Sterling on php-dev some months ago.
- It returns the file contents as a string, and uses mmap if possible.
-
-2002-03-16 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/standard/mail.c: - WS fix.
-
- * ext/standard/mail.c: - Don't forget to close the handle.
-
-2002-03-16 Wez Furlong <wez.php@thebrainroom.com>
-
- * ext/ming/ming.c: correct some problems with ming
-
- * ext/zlib/zlib_fopen_wrapper.c
- main/main.c
- main/network.c
- main/php_streams.h
- main/streams.c:
- Hopefully fix resource usage so that we have no leaks and don't segfault.
-
- * README.STREAMS: fix typo
-
- * main/main.c: work around apache segfault for the moment
-
- * ext/gd/gd.c
- ext/hyperwave/hw.c
- main/php_streams.h
- main/streams.c
- README.STREAMS
- TODO: Tweak the API to be more consistent.
- Update docs.
-
-2002-03-16 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/standard/mail.c
- ext/standard/php_mail.h
- ext/standard/basic_functions.c
- ext/mbstring/mbstring.c:
- - Raise warning when trying to execute non-executeable shell
- for mail delivery binary.
-
-2002-03-16 Harald Radi <h.radi@nme.at>
-
- * ext/rpc/rpc.c: TSRM fix
-
-2002-03-16 Wez Furlong <wez.php@thebrainroom.com>
-
- * main/network.c: fsock.c did it this way, so it must be OK...
-
- * main/network.c: bring back ptrdiff_t
-
- * main/streams.c: Hopefully fix probs with apache.
-
- * NEWS: update NEWS
-
-2002-03-16 Sander Roobol <phy@wanadoo.nl>
-
- * Makefile.frag:
- Fixed build with multiple concurrent jobs: zend_indent.c, zend_highlight.c
- and zend_compile.c require zend_language_parser.h
-
-2002-03-16 Stefan Esser <s.esser@e-matters.de>
-
- * ext/standard/html.c: fixed possible bufferoverflow in get_next_char
- malformed input to htmlentities/htmlspecialchars
- with utf-8 encoding crashed the server
-
- ex: htmlentities("\xfd...(30times)", ENT_NOQUOTES, "utf-8");
-
-2002-03-16 Andi Gutmans <andi@zend.com>
-
- * win32/php4dllts.dsp: - Add streams.c and php_streams.h to project.
-
-2002-03-16 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * ext/mbstring/tests/002.inc
- ext/mbstring/tests/003.inc
- ext/mbstring/tests/004.inc
- ext/mbstring/tests/005.inc
- ext/mbstring/tests/006.inc
- ext/mbstring/tests/006.phpt
- ext/mbstring/tests/008.inc
- ext/mbstring/tests/009.inc
- ext/mbstring/tests/010.inc
- ext/mbstring/tests/010.phpt
- ext/mbstring/tests/011.inc
- ext/mbstring/tests/012.inc
- ext/mbstring/tests/013.inc
- ext/mbstring/tests/014.inc
- ext/mbstring/tests/014.phpt
- ext/mbstring/tests/015.inc
- ext/mbstring/tests/016.inc
- ext/mbstring/tests/017.inc
- ext/mbstring/tests/018.inc
- ext/mbstring/tests/019.inc
- ext/mbstring/tests/019.phpt:
- fixed some errors of mbstring in regression tests.
-
- * ext/mbstring/mbstring.c
- ext/mbstring/php_mbregex.c
- ext/mbstring/tests/005.inc
- ext/mbstring/tests/006.inc
- ext/mbstring/tests/006.phpt
- ext/mbstring/tests/007.phpt
- ext/mbstring/tests/009.inc
- ext/mbstring/tests/010.inc
- ext/mbstring/tests/010.phpt
- ext/mbstring/tests/014.inc
- ext/mbstring/tests/014.phpt
- ext/mbstring/tests/016.inc:
- fixed errors of mbstring in regression tests.
-
-2002-03-16 Jani Taskinen <sniper@iki.fi>
-
- * NEWS:
- - Do not use @ when you're merging the fixes to the release branch.
- Instead, edit the NEWS file manually.
-
-2002-03-16 Wez Furlong <wez.php@thebrainroom.com>
-
- * main/php_streams.h
- main/streams.c: some minor docu-in-header changes
-
-2002-03-16 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * main/network.c:
- Quick fix build error when ptrdiff_t is not defined in types.h or sys/types.h
-
- * main/streams.c: ZTS build fix
-
-2002-03-16 Wez Furlong <wez.php@thebrainroom.com>
-
- * ext/ftp/php_ftp.c
- ext/standard/file.c
- main/php_streams.h
- main/streams.c:
- Allow php_stream_copy_to_stream to do nothing when used with code
- that calculates a max length of zero. (Thanks again Marcus).
-
-2002-03-16 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/standard/image.c: -use of corrected stream seek
-
-2002-03-16 Wez Furlong <wez.php@thebrainroom.com>
-
- * main/streams.c:
- some tweaks for seek/read used in image.c (thanks Marcus)
-
- * ext/standard/fsock.c
- ext/standard/html.c
- main/php_network.h
- ext/ftp/php_ftp.c
- ext/standard/file.c:
- This should help with some build problems/warnings under win32.
- Someone still needs to add the streams.c file to the MSVC
- project/workspace though (there are so many that I don't really know
- what I am doing :-).
-
-2002-03-16 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/standard/image.c: -new streams
-
-2002-03-16 Wez Furlong <wez.php@thebrainroom.com>
-
- * main/main.c
- main/network.c
- main/php_network.h
- main/php_streams.h
- main/streams.c: more *'s
-
- * ext/zlib/php_zlib.h
- ext/zlib/zlib.c
- ext/zlib/zlib_fopen_wrapper.c: change * formatting
-
- * ext/standard/file.c
- ext/standard/file.h
- ext/standard/fsock.c
- ext/standard/ftp_fopen_wrapper.c
- ext/standard/html.c
- ext/standard/html.h
- ext/standard/http_fopen_wrapper.c
- ext/standard/php_fopen_wrappers.h
- ext/standard/php_image.h:
- * formatting, plus remove some old fopen wrappers
-
- * ext/standard/exec.c
- ext/standard/basic_functions.c
- ext/recode/recode.c
- ext/pgsql/pgsql.c
- ext/pdf/pdf.c
- ext/ming/ming.c
- ext/mailparse/mailparse.c
- ext/hyperwave/hw.c
- ext/gd/gd.c
- ext/ftp/ftp.c
- ext/ftp/ftp.h: change * formatting
-
-2002-03-16 jim winstead <jimw@apache.org>
-
- * ext/zlib/setup.stub
- ext/yaz/setup.stub
- ext/yp/setup.stub
- ext/sysvsem/setup.stub
- ext/sysvshm/setup.stub
- ext/shmop/setup.stub
- ext/sybase/setup.stub
- ext/sybase_ct/setup.stub
- ext/recode/setup.stub
- ext/session/setup.stub
- ext/readline/setup.stub
- ext/pdf/setup.stub
- ext/pgsql/setup.stub
- ext/pcre/setup.stub
- ext/oracle/setup.stub
- ext/ovrimos/setup.stub
- ext/odbc/setup.stub
- ext/mysql/setup.stub
- ext/oci8/setup.stub
- ext/mnogosearch/setup.stub
- ext/msql/setup.stub
- ext/mcrypt/setup.stub
- ext/mhash/setup.stub
- ext/ldap/setup.stub
- ext/imap/setup.stub
- ext/informix/setup.stub
- ext/hyperwave/setup.stub
- ext/gd/setup.stub
- ext/gettext/setup.stub
- ext/filepro/setup.stub
- ext/fdf/setup.stub
- ext/dbase/setup.stub
- ext/bcmath/setup.stub
- ext/dba/setup.stub
- ext/interbase/setup.stub:
- the 'setup' script was removed more than two years ago.
- these can be safely removed from the 4.2 branch, too.
-
-2002-03-16 Andi Gutmans <andi@zend.com>
-
- * main/php_streams.h:
- - More whitespace. I really can't do the other files though...
-
- * main/streams.c: - Change one strncpy() to strlcpy().
- - Big indentation patch. I don't have strength to do all of the changed
- - files but here's a good example. Please try and keep to the coding
- - standards even if you think they suck :)
- - Things to keep in mind:
- - void *foo and not void * foo;
- - if() { and not if()<TAB>{
- - } else { and not {\nelse
- -
- - The streams stuff looks very cool though! :)
-
-2002-03-15 Harald Radi <h.radi@nme.at>
-
- * ext/rpc/com/com.c
- ext/rpc/rpc.dsp
- ext/rpc/rpc.h
- ext/rpc/tests/test1.php
- ext/rpc/handler.h
- ext/rpc/php_rpc.h
- ext/rpc/rpc.c: ongoing development ...
-
-2002-03-15 Jani Taskinen <sniper@iki.fi>
-
- * NEWS: MFH
-
- * NEWS: This entry belongs under 4.2.0.
-
-2002-03-15 Harald Radi <h.radi@nme.at>
-
- * NEWS: MFH
-
-2002-03-15 Wez Furlong <wez.php@thebrainroom.com>
-
- * main/php_network.h
- main/php_streams.h
- main/streams.c
- tests/strings/003.phpt
- main/fopen_wrappers.c
- main/fopen_wrappers.h
- main/internal_functions.c.in
- main/main.c
- main/network.c
- ext/zlib/zlib_fopen_wrapper.c
- ext/standard/http_fopen_wrapper.c
- ext/standard/image.c
- ext/standard/info.c
- ext/standard/php_fopen_wrapper.c
- ext/standard/php_fopen_wrappers.h
- ext/standard/php_image.h
- ext/zlib/php_zlib.h
- ext/zlib/zlib.c
- ext/standard/exec.c
- ext/standard/file.c
- ext/standard/file.h
- ext/standard/fsock.c
- ext/standard/fsock.h
- ext/standard/ftp_fopen_wrapper.c
- ext/standard/html.c
- ext/standard/html.h
- ext/standard/basic_functions.c
- ext/pgsql/pgsql.c
- ext/recode/recode.c
- ext/ming/ming.c
- ext/pdf/pdf.c
- ext/mailparse/mailparse.c
- ext/hyperwave/hw.c
- ext/interbase/interbase.c
- ext/ftp/ftp.c
- ext/ftp/ftp.h
- ext/ftp/php_ftp.c
- ext/gd/gd.c
- ext/exif/exif.c
- ext/bz2/bz2.c
- ext/curl/curl.c
- configure.in: New PHP streams...
-
-2002-03-15 Harald Radi <h.radi@nme.at>
-
- * ext/com/COM.c: MFH
-
- * ext/com/COM.c:
- fixed a bug that caused php to crash in php_COM_get_ids_of_names() (Harald, Paul)
-
-2002-03-15 Jani Taskinen <sniper@iki.fi>
-
- * NEWS: MFH
-
- * NEWS: - Corrected these entries. (catched by Derick)
-
- * NEWS:
- - Fixed grammar, made some entries make more sense...etc. (proof read please :)
-
-2002-03-15 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/domxml/php_domxml.c: - Fix proto (again)
-
- * ext/domxml/php_domxml.c: - proto fixes
-
-2002-03-15 jim winstead <jimw@apache.org>
-
- * main/php.h: don't redefine NDEBUG if it is already defined. yeesh.
-
-2002-03-15 Daniela Mariaschi <mariaschi@libero.it>
-
- * ext/interbase/php_interbase.h
- ext/interbase/interbase.c: added new ibase_fetch_assoc() php function
-
-2002-03-15 Stig Bakken <ssb@fast.no>
-
- * ext/xmlrpc/config.m4
- ext/xslt/config.m4: * MFH: "new and improved" iconv test
-
- * ext/iconv/config.m4: * MFH: yet another iconv fix
-
- * ext/xslt/config.m4
- ext/xmlrpc/config.m4: * "new and improved" iconv test
-
-2002-03-15 Harald Radi <h.radi@nme.at>
-
- * ext/rpc/handler.h
- ext/rpc/php_rpc.h
- ext/rpc/rpc.c
- ext/rpc/rpc.h: fixed HashTable allocation
-
-2002-03-15 Stig Bakken <ssb@fast.no>
-
- * ext/dba/config.m4: * fix for db3 from ports on freebsd
-
-2002-03-15 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * sapi/cli/CREDITS:
-2002-03-15 Andi Gutmans <andi@zend.com>
-
- * main/php.h:
- - Revert assert fix until it becomes clear what was wrong with my previous
- - fix. I don't see any warnings when building with VC++ English.
-
-2002-03-15 Stig Bakken <ssb@fast.no>
-
- * ext/iconv/config.m4:
- * yet another iconv config fix, should be able to handle most or all
- configurations now (giconv/iconv, static libs only, iconv in libc etc.)
-
-2002-03-15 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * main/php.h: Avoid warnings under VC.
-
- * NEWS: Added some fix. Clean up a bit.
-
-2002-03-15 Wez Furlong <wez.php@thebrainroom.com>
-
- * ext/standard/var.c: it's late; no more commits from me tonight...
-
- * ext/standard/var.c: should have diffed first...
-
- * ext/standard/var.c: fix for ZE2 compile
-
-2002-03-15 Harald Radi <h.radi@nme.at>
-
- * ext/rpc/.cvsignore
- ext/rpc/CREDITS
- ext/rpc/EXPERIMENTAL
- ext/rpc/README
- ext/rpc/com/com.c
- ext/rpc/handler.h
- ext/rpc/layer.h
- ext/rpc/php_rpc.h
- ext/rpc/rpc.c
- ext/rpc/rpc.dsp
- ext/rpc/tests/test1.php: rpc apstraction module
- does only work with ZendEngine2
-
-2002-03-14 Rasmus Lerdorf <rasmus@php.net>
-
- * main/safe_mode.c: MFH of safe_mode.c typo
-
-2002-03-14 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/standard/var.c: - Fix bug #16078
-
-2002-03-14 Zeev Suraski <zeev@zend.com>
-
- * ext/standard/info.c: Change case for consistency
-
- * ext/standard/info.c: MFH
-
-2002-03-14 Stefan Esser <s.esser@e-matters.de>
-
- * main/safe_mode.c: fixed a typo within checkuid
-
-2002-03-14 Andi Gutmans <andi@zend.com>
-
- * main/config.w32.h:
- - Define HAVE_ASSERT_H under Windows. There was a macro redefinition before
- - this.
-
-2002-03-14 Zeev Suraski <zeev@zend.com>
-
- * main/php_version.h
- configure.in:
- Good suggestion, but I'm not sure we want to start receiving bug
- reports with that version
-
-2002-03-14 Wez Furlong <wez.php@thebrainroom.com>
-
- * ext/standard/var.c: fix buglet
-
-2002-03-14 Sterling Hughes <sterling@bumblebury.com>
-
- * main/php_version.h
- configure.in: update version
-
-2002-03-14 Zeev Suraski <zeev@zend.com>
-
- * configure.in
- main/php_version.h: Childish, are we?
-
-2002-03-14 Jani Taskinen <sniper@iki.fi>
-
- * configure.in
- main/php_version.h: - Fixed version
-
-2002-03-14 Zeev Suraski <zeev@zend.com>
-
- * ext/standard/info.c: Make it clearer what this entry means
-
- * configure.in
- main/php_version.h: Fix version number
-
-2002-03-14 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/xmlrpc/xmlrpc-epi-php.c: - Whitespace part 1
-
-2002-03-14 Stefan Esser <s.esser@e-matters.de>
-
- * ext/filepro/filepro.c: fixed: last commit had debug code in it
-
- * ext/filepro/filepro.c: fixed whitespace
- fixed lots of possible bufferoverflows
- fixed memoryleak
-
-2002-03-14 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * sapi/apache2filter/README
- sapi/apache2filter/sapi_apache2.c: MFH (Apache2Filter update).
-
-2002-03-14 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/standard/var.c: Fixed var_dump() crash when there is recursion.
-
-2002-03-14 Stefan Roehrich <sr@linux.de>
-
- * NEWS: Added NEWS entry for gzencode() change.
-
- * NEWS: Fixed NEWS entry, make it consistent with other entries.
-
-2002-03-14 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * sapi/apache2filter/README:
- Add note on which version of Apache 2 this SAPI module is compatible with.
-
-2002-03-14 Sean Bright <elixer@erols.com>
-
- * CODING_STANDARDS: Translate to English.
-
-2002-03-14 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * main/php.h
- CODING_STANDARDS
- configure.in: Include/enable assert.h/assert() when it is available
-
-2002-03-14 Jani Taskinen <sniper@iki.fi>
-
- * main/config.w32.h: MFH fix for the include_path issue
-
- * main/config.w32.h:
- - Fixed bug: #16047, #15865, and propably a few more..
-
-2002-03-13 Ludovico Magnocavallo <ludo@sumatrasolutions.com>
-
- * pear/DB/ibase.php: fixed typo in modifyLimitQuery()
- beginning of error code interpretation for tests compliance
-
-2002-03-13 Stefan Roehrich <sr@linux.de>
-
- * NEWS: Fixed NEWS entry.
-
- * ext/zlib/tests/003.phpt
- ext/zlib/zlib.c: Fix for #15930 in release branch.
-
- * ext/zlib/tests/001.phpt
- ext/zlib/zlib.c: Fix for #14939 in release branch.
-
-2002-03-13 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * sapi/cli/php_cli.c: -release merge
-
-2002-03-13 Jason Greene <jason@inetgurus.net>
-
- * ext/standard/credits_ext.h: Regenerate Credits for Release
-
- * scripts/credits
- ext/overload/CREDITS
- ext/w32api/CREDITS: Merge credits fixes
-
- * ext/overload/CREDITS
- ext/w32api/CREDITS: Fix CREDIT files, remove email address
-
- * scripts/credits: Ignore extensions/sapis named skeleton
-
-2002-03-13 Sascha Schumann <sascha@schumann.cx>
-
- * acinclude.m4: > might not sufficiently update a timestamp.
-
- echo > should be good enough and should be implemented by the shell.
-
-2002-03-13 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * ext/standard/credits_ext.h: Fix credits.
-
-2002-03-13 Jason Greene <jason@inetgurus.net>
-
- * ext/standard/credits_sapi.h: Update credits in release branch
-
- * ext/standard/credits_sapi.h: Update Credits
-
- * ext/standard/credits_ext.h: Update Credits in release branch
-
- * ext/standard/credits_ext.h: Update Credits
-
-2002-03-13 Sascha Schumann <sascha@schumann.cx>
-
- * ext/session/session.c:
- Because of the feature "don't try to send a cookie, if the sid
- was contained in get/post variables" (which I still am not convinced
- of completely), we need a separate variable which determines whether
- to define SID in the event that a cookie was not sent.
-
- Noticed by: Matt Allen
-
- * acinclude.m4: Some simplifications in PHP_ADD_SOURCES*
-
- * pear/pear.m4
- acinclude.m4
- configure.in:
- a bit of refactoring and making always_shared a nop in every day life
-
-2002-03-13 Stig Bakken <ssb@fast.no>
-
- * ext/xmlrpc/config.m4
- ext/xslt/config.m4: * MFH: another libconv->libiconv typo
-
- * ext/xmlrpc/config.m4
- ext/xslt/config.m4: * another libconv->libiconv typo
-
-2002-03-13 Sascha Schumann <sascha@schumann.cx>
-
- * pear/pear.m4
- acinclude.m4
- configure.in:
- Provide context-specific functions which yield the directories
- of extensions (PHP 4 configure vs. self-contained module)
-
- * ext/cpdf/config.m4
- ext/cybercash/config.m4:
- Fix leftovers from yesterday (s/PHP_EXTENSION/PHP_NEW_EXTENSION/).
-
-2002-03-13 Christian Stocker <chregu@phant.ch>
-
- * ext/domxml/php_domxml.c:
- Return attribute name in node_name(), if it's a XML_ATTRIBUTE_NODE
-
- * ext/domxml/php_domxml.c:
- Return #document in node_name(), if it's a XML_DOCUMENT_NODE
-
-2002-03-13 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * sapi/apache2filter/sapi_apache2.c: Sync with Apache2 Filter API change.
-
-2002-03-13 Boian Bonev <boian@bonev.com>
-
- * ext/vpopmail/php_vpopmail.c: fix all comments in protos
-
-2002-03-13 Wez Furlong <wez.php@thebrainroom.com>
-
- * ext/standard/aggregation.c:
- I've altered my diagnosis of segfault/leak problem
-
- * ext/standard/aggregation.c:
- Fix some issues with ZE2, but now have some leaks.
-
-2002-03-13 Tomas V.V.Cox <cox@idecnet.com>
-
- * pear/tests/pear_error.phpt: No more lines on this test
-
- * pear/PEAR.php: phpdoc update
-
- * pear/PEAR.php
- pear/tests/pear_error3.phpt:
- Fix error handling selection when both class and global are set
-
-2002-03-13 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/mbstring/mbfilter.c: Fixed a compiler warning
-
-2002-03-13 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/tests/001.phpt: -remove filetime from test
-
- * ext/exif/exif.c: -handling
-
- * ext/exif/tests/001.phpt: -remove filetime from test
-
-2002-03-12 Thomas V.V.Cox <cox@idecnet.com>
-
- * pear/DB/pgsql.php:
- Updated the regex of simpleQuery to support "(" and new lines
-
-2002-03-12 Andi Gutmans <andi@zend.com>
-
- * ext/standard/aggregation.c: - Compile fixes for Engine 2
-
- * ext/sybase_ct/php_sybase_ct.c
- ext/sybase/php_sybase_db.c
- ext/standard/var_unserializer.re
- ext/standard/browscap.c
- ext/standard/var_unserializer.c
- ext/pgsql/pgsql.c
- ext/odbc/php_odbc.c
- ext/mysql/php_mysql.c
- ext/mssql/php_mssql.c
- ext/msql/php_msql.c
- ext/fbsql/php_fbsql.c:
- - Allow duality between Engine 1 & 2 using ZEND_STANDARD_CLASS_DEF_PTR
-
-2002-03-12 Frank M. Kromann <frank@frontbase.com>
-
- * main/config.w32.h:
- Changed to PHP_CONFIG_FILE_PATH use the environment variable SystemRoot
-
-2002-03-12 Sascha Schumann <sascha@schumann.cx>
-
- * ext/zlib/config0.m4: missed zlib.c
-
- * ext/mysql/libmysql/Makefile.in
- ext/mysql/Makefile.in: nuke old makefiles
-
- * ext/aspell/Makefile.in
- ext/aspell/config.m4
- ext/cpdf/config.m4
- ext/cpdf/Makefile.in: php_new_extension
-
- * ext/xmlrpc/Makefile.in
- ext/xmlrpc/libxmlrpc/Makefile.in: old makefiles
-
- * ext/readline/Makefile.in
- ext/readline/config.m4: php_new_extension
-
- * ext/pcre/Makefile.in
- ext/pcre/pcrelib/Makefile.in: remove old makefiles
-
- * ext/odbc/Makefile.in
- ext/odbc/config.m4
- ext/pcntl/config.m4
- ext/pcntl/Makefile.in
- ext/ncurses/Makefile.in
- ext/ncurses/config.m4
- ext/hyperwave/config.m4
- ext/hyperwave/Makefile.in: php_new_extension
-
- * ext/db/config.m4: forgot to add _NEW_
-
- * ext/db/config.m4
- ext/db/Makefile.in
- ext/cybercash/config.m4
- ext/cybercash/Makefile.in: php_new_extension
-
- * ext/xml/expat/Makefile.in
- ext/xml/Makefile.in: Remove old Makefile templates
-
- * ext/ctype/Makefile.in
- ext/ctype/config.m4:
- extension converted automatically to PHP_NEW_EXTENSION. Manually confirmed
-
-2002-03-12 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/exif.c
- ext/exif/test.txt
- ext/exif/tests/001.phpt: -usability
- -tests
-
-2002-03-12 Sascha Schumann <sascha@schumann.cx>
-
- * ext/zlib/config0.m4
- ext/zlib/Makefile.in: php_new_extension
-
- * ext/zip/Makefile.in
- ext/zip/config.m4
- ext/yp/Makefile.in
- ext/yp/config.m4
- ext/yaz/Makefile.in
- ext/yaz/config.m4
- ext/xslt/Makefile.in
- ext/xslt/config.m4
- ext/wddx/Makefile.in
- ext/wddx/config.m4
- ext/vpopmail/Makefile.in
- ext/vpopmail/config.m4
- ext/tokenizer/Makefile.in
- ext/tokenizer/config.m4
- ext/sysvshm/Makefile.in
- ext/sysvshm/config.m4
- ext/sysvsem/Makefile.in
- ext/sysvsem/config.m4
- ext/sybase_ct/Makefile.in
- ext/sybase_ct/config.m4
- ext/sybase/Makefile.in
- ext/sybase/config.m4
- ext/swf/Makefile.in
- ext/swf/config.m4
- ext/sockets/Makefile.in
- ext/sockets/config.m4
- ext/snmp/Makefile.in
- ext/snmp/config.m4
- ext/shmop/Makefile.in
- ext/shmop/config.m4
- ext/recode/Makefile.in
- ext/recode/config.m4
- ext/qtdom/Makefile.in
- ext/qtdom/config.m4
- ext/pspell/Makefile.in
- ext/pspell/config.m4
- ext/posix/Makefile.in
- ext/posix/config.m4
- ext/pgsql/Makefile.in
- ext/pgsql/config.m4
- ext/pfpro/Makefile.in
- ext/pfpro/config.m4
- ext/pdf/Makefile.in
- ext/pdf/config.m4
- ext/ovrimos/Makefile.in
- ext/ovrimos/config.m4
- ext/overload/Makefile.in
- ext/overload/config.m4
- ext/oracle/Makefile.in
- ext/oracle/config.m4
- ext/openssl/Makefile.in
- ext/openssl/config.m4
- ext/oci8/Makefile.in
- ext/oci8/config.m4
- ext/muscat/Makefile.in
- ext/muscat/config.m4
- ext/msql/Makefile.in
- ext/msql/config.m4
- ext/msession/Makefile.in
- ext/msession/config.m4
- ext/mnogosearch/Makefile.in
- ext/mnogosearch/config.m4
- ext/ming/Makefile.in
- ext/ming/config.m4
- ext/mhash/Makefile.in
- ext/mhash/config.m4
- ext/mcve/Makefile.in
- ext/mcve/config.m4
- ext/mcrypt/Makefile.in
- ext/mcrypt/config.m4
- ext/mcal/Makefile.in
- ext/mcal/config.m4
- ext/mbstring/Makefile.in
- ext/mbstring/config.m4
- ext/mailparse/Makefile.in
- ext/mailparse/config.m4:
- extension converted automatically to PHP_NEW_EXTENSION. Manually confirmed
-
- * ext/ircg/config.m4: add makefile fragment manually
-
- * ext/ldap/Makefile.in
- ext/ldap/config.m4
- ext/ircg/Makefile.in
- ext/ircg/config.m4
- ext/interbase/Makefile.in
- ext/interbase/config.m4:
- extension converted automatically to PHP_NEW_EXTENSION. Manually confirmed
-
- * ext/informix/config.m4: add makefile fragment manually
-
- * ext/ingres_ii/Makefile.in
- ext/ingres_ii/config.m4
- ext/informix/Makefile.in
- ext/informix/config.m4
- ext/imap/Makefile.in
- ext/imap/config.m4
- ext/icap/Makefile.in
- ext/icap/config.m4
- ext/gmp/Makefile.in
- ext/gmp/config.m4
- ext/gettext/Makefile.in
- ext/gettext/config.m4
- ext/gd/Makefile.in
- ext/gd/config.m4
- ext/ftp/Makefile.in
- ext/ftp/config.m4
- ext/fribidi/Makefile.in
- ext/fribidi/config.m4
- ext/filepro/Makefile.in
- ext/filepro/config.m4
- ext/fdf/Makefile.in
- ext/fdf/config.m4
- ext/fbsql/Makefile.in
- ext/fbsql/config.m4
- ext/domxml/Makefile.in
- ext/domxml/config.m4
- ext/dio/Makefile.in
- ext/dio/config.m4
- ext/dbx/Makefile.in
- ext/dbx/config.m4
- ext/dbplus/Makefile.in
- ext/dbplus/config.m4
- ext/dbase/Makefile.in
- ext/dbase/config.m4
- ext/dba/Makefile.in
- ext/dba/config.m4
- ext/cyrus/Makefile.in
- ext/cyrus/config.m4
- ext/cybermut/Makefile.in
- ext/cybermut/config.m4
- ext/curl/Makefile.in
- ext/curl/config.m4
- ext/crack/Makefile.in
- ext/crack/config.m4
- ext/ccvs/Makefile.in
- ext/ccvs/config.m4
- ext/calendar/Makefile.in
- ext/calendar/config.m4
- ext/bz2/Makefile.in
- ext/bz2/config.m4
- ext/exif/Makefile.in
- ext/exif/config.m4:
- extension converted automatically to PHP_NEW_EXTENSION. Manually confirmed
-
- * ext/Makefile.in: unused file
-
-2002-03-12 Stig Bakken <ssb@fast.no>
-
- * ext/iconv/config.m4:
- * MFH: fix compile problem on platforms without iconv in libc
-
- * ext/iconv/config.m4:
- * fix compile problem on platforms without iconv in libc
-
-2002-03-12 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/exif.c: -return size of thumbnail even if it not read
-
-2002-03-12 Stefan Roehrich <sr@linux.de>
-
- * ext/zlib/tests/003.phpt
- ext/zlib/zlib.c:
- (PHP gzencode) Reimplementation of gzencode(). Now works as documented
- (gzencode(string data [, int level [, int encoding_mode]])),
- should fix #15930.
-
- * ext/zlib/tests/001.phpt
- ext/zlib/zlib.c:
- (PHP gzinflate) Workaround for bug #14939 (buffer error in gzinflate()).
- Fixed prototype and added test for #14939.
-
-
-2002-03-12 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/tests/001.phpt: -reflect changes
- -find image from run-tests.php
-
-2002-03-12 Christian Stocker <chregu@phant.ch>
-
- * ext/domxml/php_domxml.c: forgot SEPARATE_ZVAL, produced segfaults.
- segfaulted only in 4_2_0 (not in HEAD and 4_0_7, strange...)
-
-2002-03-12 Andreas Karajannis <Andreas.Karajannis@gmd.de>
-
- * ext/odbc/config.m4:
- Removed sqlrte from SAP DB liblist as it is not needed.
-
-2002-03-12 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * README.TESTING: Catch up with recent test scripts changes
-
-2002-03-12 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/domxml/php_domxml.c: - Remove *FETCH() statements.
- - Clean up WS and parenthesis indentation.
-
-2002-03-12 Christian Stocker <chregu@phant.ch>
-
- * ext/domxml/php_domxml.c:
- nicer (optional) formated output in dump_mem and dump_mem_file
-
-2002-03-12 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * ext/standard/array.c: Fix TSRMLS_CC.
-
-2002-03-12 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/standard/string.c: Change php_addslashes() a little.
- Since most users do not use magic_quote_sybase, be nicer to
- users not using magic_quote_sybase.
-
- * ext/standard/array.c: Make use of TSRMLS_C/D
-
- * tests/bin-info.inc
- run-tests.php:
- Fix PHP version and sapi printed so that it does not print bogus
- version and sapi name.
-
-2002-03-12 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * EXTENSIONS: -reflect new state of ext/exif
-
- * ext/exif/php_exif.h
- ext/exif/exif.c
- ext/exif/test.txt: -support for array tags
- -better memory handling
- -support for thumbnails in TIFF format
- -new functions exif_imagetype
-
- * ext/standard/image.c
- ext/standard/php_image.h: -fixed bug 15174
- -support for some broken jpegs: bug 13213
- -better memory handling
- -initial jpeg2000 support (only jpc not jp2,jb2,jpx)
-
-2002-03-12 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * pear/DB/tests/driver/setup.inc:
- Make pear tests find scripts needed at least.
-
-2002-03-12 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/standard/image.c: -merged a wrong line
- -one compiling issue
-
-2002-03-12 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/session/tests/skipif.inc: Add missing skipif.inc
-
- * run-tests.php:
- Do not search php binary in search path, since we are not testing older builds.
- Print SAPI used.
-
- * run-tests.php: Use CGI binary when CGI SAPI is there.
- Make "php run-tests.php" work with cli SAPI.
-
-2002-03-12 Jani Taskinen <sniper@iki.fi>
-
- * ext/odbc/php_odbc.h: MFH
-
- * ext/odbc/php_odbc.h: - Fix more possible bugs (bug #16008 related)
-
-2002-03-11 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/imap/php_imap.h: - MFH for bug #16008
-
- * ext/imap/php_imap.h: - fix bug #16008
-
-2002-03-11 Christian Stocker <chregu@phant.ch>
-
- * ext/domxml/php_domxml.c
- ext/domxml/php_domxml.h:
- implemented domxml_elem_get_elements_by_tagname
- new function domxml_doc_get_elements_by_tagname
- new function domxml_doc_get_element_by_id (chregu)
-
-2002-03-11 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/iconv/iconv.c: - Slightly unify error/warning messages.
- - Switch to zend_parse_parameters().
- - Fix whitespaces.
-
-2002-03-11 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * EXTENSIONS: -Change status of ext/exif
-
- * ext/standard/image.c
- ext/standard/php_image.h
- ext/exif/exif.c: -fixes: memory handling & corrupted files
-
-2002-03-11 Shane Caraveo <shane@caraveo.com>
-
- * win32/php4ts.dsp: fix on more build config
-
-2002-03-11 Sander Roobol <phy@wanadoo.nl>
-
- * ext/bz2/bz2.c
- ext/mcve/mcve.c: Maintain headers
-
-2002-03-11 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * sapi/cli/CREDITS
- sapi/cli/php_cli.c: -passing arguments to CLI, see: php -h
-
-2002-03-11 Stig Bakken <ssb@fast.no>
-
- * Makefile.global: * make "make test TESTS=..." work again
-
- * pear/PEAR/Registry.php: * added file locking
- * added file name to package map
-
-2002-03-11 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/pgsql.c: Print function names in error messages
-
-2002-03-11 Ben Mansell <ben@zeus.com>
-
- * sapi/fastcgi/README.Apache:
- Instructions for using FastCGI-PHP with Apache
-
- * sapi/fastcgi/README.FastCGI:
- Improved documentation for FastCGI SAPI. Documents the environment
- variable tunings and the new command line usage.
-
- * sapi/fastcgi/fastcgi.c:
- Add command line option to FastCGI SAPI to make it bind & listen to a
- socket. This makes setting up 'remote' fastcgi much easier.
-
-2002-03-11 Sascha Schumann <sascha@schumann.cx>
-
- * ext/xml/config.m4:
- Add global include path, so that other extensions can access
- the expat header.
-
- * pear/Makefile.frag
- configure.in: Invoke pear-related targets conditionally and
- rename install-data-local target to install-pear.
- Also remove PEAR_DIR, because it is unused.
-
- * configure.in: Use standard PHP shell check syntax
-
- * configure.in:
- You don't need a C++ compiler to build 100% of PHP (and the largest part of
- the extensions), so I don't see a reason why PHP should not build on
- a system without a C++ compiler.
-
- If your extension uses C++ objects, put PHP_REQUIRE_CXX into your
- config.m4.
-
- This should also be removed from the 4.2.0 branch, because it will
- cause portability problems otherwise.
-
- * sapi/thttpd/README: MFH: refining supported thttpd version
-
- * sapi/thttpd/README: Add a note regarding which version we support
-
-2002-03-11 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * sapi/cgi/libfcgi/os_win32.c: Fix warning, hope this is okay.
-
-2002-03-11 Shane Caraveo <shane@caraveo.com>
-
- * win32/php4ts.dsp: fix include paths for fcgi headers
-
-2002-03-11 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/pgsql.c: WS and indent
-
- * ext/pgsql/pgsql.c:
- Add comments for constants. Remove unneeded constants included by mistake.
-
- * ext/standard/reg.c: Small memory leak fix that does not matter much.
-
- * ext/pgsql/pgsql.c: Fix possible build error under Windows.
-
-2002-03-11 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * ext/standard/math.c: Fix thread-safe build.
-
-2002-03-11 Jason Greene <jason@inetgurus.net>
-
- * ext/sockets/sockets.c: Fix WS
-
-2002-03-10 jim winstead <jimw@apache.org>
-
- * ext/standard/math.c:
- handle numeric strings. this means we're less picky about the argument
- types, but the math functions aren't generally that picky.
-
-2002-03-10 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/standard/syslog.c: - Fix protos.
-
- * ext/iconv/iconv.c: - MFH fix for #15799.
-
-2002-03-10 Shane Caraveo <shane@caraveo.com>
-
- * win32/php4ts.dsp: fix output directory
-
- * sapi/cgi/cgi_main.c: woohoo, take some credit!
-
- * sapi/cgi/cgi_main.c:
- children should be zero by default, enable by setting PHP_FCGI_CHILDREN env var.
-
- * win32/php4ts.dsp:
- Update makefile for compiling with fastcgi under windows
-
- * sapi/cgi/libfcgi/LICENSE.TERMS
- sapi/cgi/libfcgi/fcgi_stdio.c
- sapi/cgi/libfcgi/fcgiapp.c
- sapi/cgi/libfcgi/include/fastcgi.h
- sapi/cgi/libfcgi/include/fcgi_config.h
- sapi/cgi/libfcgi/include/fcgi_config_x86.h
- sapi/cgi/libfcgi/include/fcgi_stdio.h
- sapi/cgi/libfcgi/include/fcgiapp.h
- sapi/cgi/libfcgi/include/fcgiappmisc.h
- sapi/cgi/libfcgi/include/fcgimisc.h
- sapi/cgi/libfcgi/include/fcgio.h
- sapi/cgi/libfcgi/include/fcgios.h
- sapi/cgi/libfcgi/os_unix.c
- sapi/cgi/libfcgi/os_win32.c
- sapi/cgi/libfcgi/strerror.c
- sapi/cgi/cgi_main.c: combine fastcgi capability with regular cgi binary
- include fastcgi library for ease of windows builds
- NOTE: included fastcgi library is modified for thread safety, but
- fastcgi support in cgi_main.c is only written for single
- threaded serving. This does not present any issue for using
- fastcgi.
-
-2002-03-10 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * ext/mbstring/tests/007.phpt: fixed wrong include file.
-
- * ext/mbstring/tests/skipif.inc: fixed module name iconv->mbstring.
-
-2002-03-10 Stefan Esser <s.esser@e-matters.de>
-
- * main/rfc1867.c: Fix: Now returns correct Content-Type for Opera 6.01
-
- * main/rfc1867.c: Fix: Now returns correct Content-Type with Opera 6.01
-
-2002-03-10 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/iconv/iconv.c: - Fix crash in iconv_set_encoding(). [Closes #15799]
-
-2002-03-10 Jani Taskinen <sniper@iki.fi>
-
- * ext/standard/tests/aggregation/aggregate.lib
- ext/standard/tests/aggregation/aggregate.lib.php
- ext/standard/tests/aggregation/aggregate.phpt
- ext/standard/tests/aggregation/aggregate_methods.phpt
- ext/standard/tests/aggregation/aggregate_methods_by_list.phpt
- ext/standard/tests/aggregation/aggregate_methods_by_regexp.phpt
- ext/standard/tests/aggregation/aggregate_properties.phpt
- ext/standard/tests/aggregation/aggregate_properties_by_list.phpt
- ext/standard/tests/aggregation/aggregate_properties_by_regexp.phpt
- ext/standard/tests/aggregation/aggregation_info.phpt
- ext/standard/tests/aggregation/deaggregate.phpt:
- - Renamed aggregate.lib.php -> aggregate.lib (.php files are always deleted bycvsclean)
-
-2002-03-09 Jani Taskinen <sniper@iki.fi>
-
- * Makefile.in
- build/rules.mk: - Fixed bug #15748 (fixed otherwise in 4.3.0-dev)
-
- * ext/domxml/config.m4: MFH fix for bug #15686 and some exslt fix.
-
- * ext/domxml/config.m4: - Fixed bug: #15686
-
- * ext/ming/config.m4: MFH fix for #15190
-
- * ext/ming/config.m4: - Fixed bug: #15190
-
-2002-03-09 Thomas V.V.Cox <cox@idecnet.com>
-
- * pear/DB/IDEAS: more wishes :-)
-
-2002-03-09 Ludovico Magnocavallo <ludo@sumatrasolutions.com>
-
- * pear/DB/STATUS: updated status for ibase with working tests
-
- * pear/DB/tests/ibase/05sequences.phpt: new test, passed
-
-2002-03-09 Sander Roobol <phy@wanadoo.nl>
-
- * ext/standard/datetime.c:
- Oops... 1 digit is allowed too! Reverting my fix.
-
-2002-03-09 Stig Bakken <ssb@fast.no>
-
- * pear/HTML/Form.php: * added addPlain() by Ted Shieh
-
-2002-03-09 Jason Greene <jason@inetgurus.net>
-
- * ext/sockets/sockets.c: MFH: Recent Bug Fixes
-
- * ext/sockets/sockets.c: Fix build on win32
-
- * ext/sockets/sockets.c:
- Fixed bug where NULL specified in sec was not waiting infinately as it should
- Fixed bug where socket_select was not producing an error message on error
- Fixed bug where -1 was getting returned instead of FALSE in socket_recv(),
- socket_send(), socket_sendto(), and socket_select()
-
-2002-03-09 Jani Taskinen <sniper@iki.fi>
-
- * main/main.c: MFH
-
- * ext/ctype/ctype.c: MFH the MacosX compile fix.
-
- * ext/session/session.c: whitespace..
-
- * main/main.c:
- - Commented out the space escaping. Works now as it did before.
-
-2002-03-08 Joseph Tate <jtate@mi-corporation.com>
-
- * ext/domxml/php_domxml.c:
- - Fixed a coredump involved in the domxml_unlink() function. Refer to bug #14522
- for more details.
-
-2002-03-08 Christian Stocker <chregu@phant.ch>
-
- * ext/domxml/php_domxml.c:
- implemented domxml_elem_get_attribute_node(attrname) (chregu)
-
-2002-03-08 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/exif.c: -support for out of section data
-
-2002-03-08 Sander Roobol <phy@wanadoo.nl>
-
- * tests/basic/003.phpt
- tests/basic/004.phpt
- tests/basic/005.phpt
- ext/session/tests/001.phpt
- ext/session/tests/002.phpt
- ext/session/tests/003.phpt
- ext/session/tests/004.phpt
- ext/session/tests/005.phpt
- ext/session/tests/006.phpt
- pear/tests/pear_error.phpt
- tests/basic/002.phpt
- ext/exif/tests/002.phpt
- ext/gmp/tests/002.phpt: Fixed many tests, mostly incorrect paths.
-
-2002-03-08 Joseph Tate <jtate@mi-corporation.com>
-
- * ext/domxml/config.m4:
- Added linking files to make build compatible with RH 7.2's updated libxslt
- packages. Should not break when compiling with older versions. This may
- fix bug #15942 as well.
- Configure was giving a Warning message without these lines when --with-xslt was
- specified.
-
-2002-03-08 Sander Roobol <phy@wanadoo.nl>
-
- * ext/standard/datetime.c:
- (php_date) Fixed 'r' modifier to always return two digits for the day
- value (see RFC 822) (#15952).
-
-2002-03-08 Sascha Schumann <sascha@schumann.cx>
-
- * ext/ircg/ircg.c:
- Add identifier which terminates a connection upon receiving a specific
- CTCP message. The message must come from the specified user or will
- be ignored. This can be used to disconnect a large number of users
- when an event adjourns.
-
- Improve error reporting by notifying the IRC server why a HTTP
- connection failed.
-
- Fix a prototype comment
-
- * ext/ircg/config.m4:
- Adding an existing fragment is implicitly done by PHP_EXTENSION
-
-2002-03-08 Ludovico Magnocavallo <ludo@sumatrasolutions.com>
-
- * pear/DB/TESTERS: added interbase tester (myself) =)
-
- * pear/DB/STATUS:
- changed status of ibase error mapping support to implemented, but without tests
-
- * pear/DB/tests/ibase/02fetch.phpt
- pear/DB/tests/ibase/03simplequery.phpt
- pear/DB/tests/ibase/04numcols.phpt
- pear/DB/tests/ibase/06prepexec.phpt
- pear/DB/tests/ibase/10errormap.phpt
- pear/DB/tests/ibase/connect.inc
- pear/DB/tests/ibase/mktable.inc
- pear/DB/tests/ibase/skipif.inc:
- all tests working except tests 6 and 10, still broken
-
- * pear/DB/ibase.php: beginning of error mapping support for Interbase
- added ibaseRaiseError() method and errorcode_map hash
-
-2002-03-08 Hartmut Holzgraefe <hartmut@six.de>
-
- * ext/ctype/ctype.c:
- reimplementation using macro instead of function pointer ( Bug #15951 )
-
-2002-03-08 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/test.txt
- ext/exif/example.php
- ext/exif/exif.c: -change IsColor from non zero to 1
- -new test and example for documentation
-
-2002-03-08 Christian Stocker <chregu@phant.ch>
-
- * ext/domxml/php_domxml.c:
- domxml_elem_remove_attribute(attibutename) is now implemented (chregu)
-
-2002-03-08 Edin Kadribasic <edink@proventum.net>
-
- * sapi/cli/php_cli.c: Cleaned up previous commit.
-
- * sapi/cli/php_cli.c:
- - Added -r option to the CLI version of PHP which executes a piece of PHP
- code directly from the commmand line.
-
-2002-03-08 Christian Stocker <chregu@phant.ch>
-
- * ext/domxml/php_domxml.c:
- added formatting option to domxml_dump_mem() (chregu)
-
-2002-03-08 Jani Taskinen <sniper@iki.fi>
-
- * main/main.c: - MFH (fix for the phpinfo() output)
-
-2002-03-08 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/tests/001.phpt: -Changes according to exif.c 1.55
-
- * ext/exif/exif.c: -Support for IFD Arrays
-
- * ext/exif/exif.c
- ext/standard/image.c: TIFF support for 'non' digicam files
-
-2002-03-07 Joseph Tate <jtate@mi-corporation.com>
-
- * ext/domxml/php_domxml.c:
- Commented out a few lines that were causing a segfault in the unlink code.
- This fixes bug #14522. I've tested that it does not cause a segfault under
- RH 7.2, and retains all functionality. I recommend that this patch be
- considered for the PHP_4_2_0 tree as well, as having a function that core
- dumps every time is a bad thing(TM).
-
-2002-03-07 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * ext/gd/config.m4: revert my patch to fix freetype2 related problem.
-
-2002-03-07 Jani Taskinen <sniper@iki.fi>
-
- * main/main.c:
- - Fixed the phpinfo() tables not to blow up when using very long
- configure line.
-
- * ext/exif/exif.c:
- - Fixed some compile warnings and removed bogus comments.
-
-2002-03-07 Sascha Schumann <sascha@schumann.cx>
-
- * ext/session/tests/001.phpt
- ext/session/tests/003.phpt
- ext/session/tests/004.phpt
- ext/session/tests/005.phpt
- ext/session/tests/006.phpt:
- These tests currently depend on register_globals=1
-
-2002-03-07 Jason Greene <jason@inetgurus.net>
-
- * NEWS: Merge News Entry
-
- * NEWS: News update
-
-2002-03-07 Sascha Schumann <sascha@schumann.cx>
-
- * Makefile.global: remove -module, it is added by configure.in
-
- * Makefile.global: Update test target from rules.mk
-
-2002-03-07 Jon Parise <jon@csh.rit.edu>
-
- * ext/ftp/ftp.c: MFH r1.45: header file correction
-
-2002-03-07 Jason Greene <jason@inetgurus.net>
-
- * ext/mysql/config.m4
- ext/mysql/libmysql/libmysql.c:
- Disallow mysql's 'LOAD LOCAL' when safe mode is enabled
-
-2002-03-07 Sascha Schumann <sascha@schumann.cx>
-
- * Makefile.global: Readd ZEND_EXTRA_LIBS (as in Makefile.in rev 1.106).
-
-2002-03-07 Jon Parise <jon@csh.rit.edu>
-
- * ext/ftp/ftp.c:
- Correct the header file ordering. From 'man 3 inet' (FreeBSD 4.5):
-
-
-2002-03-07 Derick Rethans <d.rethans@jdimedia.nl>
-
- * build/build2.mk: - Fix typo in warning suppressor
-
-2002-03-07 Frank M. Kromann <frank@frontbase.com>
-
- * main/config.w32.h: Revert uppercase directory name to lower case.
-
-2002-03-07 Sascha Schumann <sascha@schumann.cx>
-
- * configure.in: ze2 handling
-
-2002-03-07 Frank M. Kromann <frank@frontbase.com>
-
- * main/config.w32.h
- win32/crypt_win32.c
- win32/crypt_win32.h
- win32/php4dllts.dsp: Enabling crypt() on Win32
-
-2002-03-07 Sascha Schumann <sascha@schumann.cx>
-
- * configure.in: Build libphp4.la as a module which can be dlopened.
-
- This should not make a difference on common platforms,
- but maybe esoteric ones.
-
-2002-03-07 Joseph Tate <jtate@mi-corporation.com>
-
- * ext/domxml/php_domxml.c:
- Reverting the reverted patch. I hope this is the last time. No added functionality. Just a bug fix of #15918
-
- * ext/domxml/php_domxml.c:
- Reverting patch at Derick's request. Reverted to 1.118
-
-2002-03-07 Sascha Schumann <sascha@schumann.cx>
-
- * acinclude.m4: Fix typo
-
-2002-03-07 Frank M. Kromann <frank@frontbase.com>
-
- * ext/mbstring/unicode_table.h
- ext/mbstring/unicode_table_ja.h
- ext/mbstring/cp932_table.h
- ext/mbstring/mbfilter.c
- ext/mbstring/mbfilter_ja.c
- ext/mbstring/mbstring.dsp: Making mbstring compile under WIn32
-
-2002-03-07 Joseph Tate <jtate@mi-corporation.com>
-
- * ext/domxml/php_domxml.c:
- Added type attributes to XML_DTD_NODE and XML_ATTRIBUTE_NODE element types.
- Reported in bug #15918.
-
-2002-03-07 Sascha Schumann <sascha@schumann.cx>
-
- * NEWS: some more information
-
-2002-03-07 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * NEWS: Add NEWS entry for the new build system.
-
-2002-03-07 Joseph Tate <jtate@mi-corporation.com>
-
- * ext/domxml/php_domxml.c:
- Added type attribute wrappers to the remaining node types that did not have
- them. I.e. XML_ATTRIBUTE_NODE and XML_CDATA_SECTION_NODE. Mentioned in
- Bug #15918.
-
- * ext/domxml/TODO:
- Added TODO item to modify new_child so that more than just element nodes
- can be created.
-
-2002-03-07 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/standard/var_unserializer.c: - Remove CVS things
-
-2002-03-07 Sascha Schumann <sascha@schumann.cx>
-
- * ext/standard/var_unserializer.c: touch file
-
- * configure.in: From APR CVS.
-
- fitz 02/03/07 07:37:09
-
- Modified: build apr_hints.m4
- Log:
- update for Mac OS X. -traditional-cpp is no longer recommended.
-
-2002-03-07 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * ext/gd/config.m4: reverted my patch to fix freetype2 related problem.
-
-2002-03-07 Sascha Schumann <sascha@schumann.cx>
-
- * ext/dbplus/config.m4: Bad extension. Still using AC_ADD_INCLUDE!
-
- * sapi/webjames/.cvsignore
- sapi/servlet/.cvsignore
- sapi/thttpd/.cvsignore
- sapi/tux/.cvsignore
- sapi/pi3web/.cvsignore
- sapi/roxen/.cvsignore
- sapi/isapi/.cvsignore
- sapi/nsapi/.cvsignore
- sapi/phttpd/.cvsignore
- sapi/fastcgi/.cvsignore
- sapi/fhttpd/.cvsignore
- sapi/caudium/.cvsignore
- sapi/cgi/.cvsignore
- sapi/cli/.cvsignore
- sapi/aolserver/.cvsignore
- sapi/apache/.cvsignore
- sapi/apache2filter/.cvsignore
- main/.cvsignore
- regex/.cvsignore
- ext/zlib/.cvsignore
- ext/zip/.cvsignore
- ext/yp/.cvsignore
- ext/xslt/.cvsignore
- ext/yaz/.cvsignore
- ext/xmlrpc/.cvsignore
- ext/xmlrpc/libxmlrpc/.cvsignore
- ext/xml/.cvsignore
- ext/xml/expat/.cvsignore
- ext/wddx/.cvsignore
- ext/vpopmail/.cvsignore
- ext/w32api/.cvsignore
- ext/sysvshm/.cvsignore
- ext/tokenizer/.cvsignore
- ext/sybase_ct/.cvsignore
- ext/sysvsem/.cvsignore
- ext/swf/.cvsignore
- ext/sybase/.cvsignore
- ext/sockets/.cvsignore
- ext/standard/.cvsignore
- ext/snmp/.cvsignore
- ext/skeleton/.cvsignore
- ext/session/.cvsignore
- ext/shmop/.cvsignore
- ext/readline/.cvsignore
- ext/recode/.cvsignore
- ext/pspell/.cvsignore
- ext/qtdom/.cvsignore
- ext/posix/.cvsignore
- ext/pdf/.cvsignore
- ext/pfpro/.cvsignore
- ext/pgsql/.cvsignore
- ext/pcre/pcrelib/doc/.cvsignore
- ext/pcre/pcrelib/testdata/.cvsignore
- ext/pcre/.cvsignore
- ext/pcre/pcrelib/.cvsignore
- ext/ovrimos/.cvsignore
- ext/pcntl/.cvsignore
- ext/oracle/.cvsignore
- ext/overload/.cvsignore
- ext/oci8/.cvsignore
- ext/odbc/.cvsignore
- ext/openssl/.cvsignore
- ext/ncurses/.cvsignore
- ext/notes/.cvsignore
- ext/mysql/libmysql/.cvsignore
- ext/muscat/.cvsignore
- ext/mysql/.cvsignore
- ext/msql/.cvsignore
- ext/mssql/.cvsignore
- ext/mnogosearch/.cvsignore
- ext/msession/.cvsignore
- ext/mhash/.cvsignore
- ext/ming/.cvsignore
- ext/mcal/.cvsignore
- ext/mcrypt/.cvsignore
- ext/mailparse/tests/.cvsignore
- ext/mbstring/.cvsignore
- ext/java/.cvsignore
- ext/ldap/.cvsignore
- ext/mailparse/.cvsignore
- ext/interbase/.cvsignore
- ext/ircg/.cvsignore
- ext/imap/.cvsignore
- ext/informix/.cvsignore
- ext/ingres_ii/.cvsignore
- ext/hyperwave/.cvsignore
- ext/icap/.cvsignore
- ext/iconv/.cvsignore
- ext/gettext/.cvsignore
- ext/gmp/.cvsignore
- ext/fribidi/.cvsignore
- ext/ftp/.cvsignore
- ext/gd/.cvsignore
- ext/fdf/.cvsignore
- ext/filepro/.cvsignore
- ext/domxml/.cvsignore
- ext/exif/.cvsignore
- ext/fbsql/.cvsignore
- ext/dbx/.cvsignore
- ext/dio/.cvsignore
- ext/dbase/.cvsignore
- ext/dbplus/.cvsignore
- ext/cyrus/.cvsignore
- ext/db/.cvsignore
- ext/dba/.cvsignore
- ext/curl/.cvsignore
- ext/cybercash/.cvsignore
- ext/cybermut/.cvsignore
- ext/cpdf/.cvsignore
- ext/crack/.cvsignore
- ext/ctype/.cvsignore
- ext/ccvs/.cvsignore
- ext/com/.cvsignore
- ext/bcmath/libbcmath/src/.cvsignore
- ext/bz2/.cvsignore
- ext/calendar/.cvsignore
- ext/aspell/.cvsignore
- ext/bcmath/.cvsignore
- ext/bcmath/libbcmath/.cvsignore
- .cvsignore
- ext/ext_skel: Remove .libs from .cvsignores, except /.
-
- * TODO.BUILDv5: phpize is already working, remove from todo
-
- * sapi/webjames/.cvsignore
- sapi/webjames/Makefile.in
- sapi/webjames/config.m4
- sapi/thttpd/.cvsignore
- sapi/thttpd/Makefile.in
- sapi/thttpd/config.m4
- sapi/tux/.cvsignore
- sapi/tux/Makefile.in
- sapi/tux/config.m4
- sapi/servlet/Makefile.in
- sapi/servlet/config.m4
- sapi/roxen/config.m4
- sapi/servlet/.cvsignore
- sapi/servlet/Makefile.frag
- sapi/roxen/.cvsignore
- sapi/roxen/Makefile.in
- sapi/pi3web/.cvsignore
- sapi/pi3web/Makefile.in
- sapi/pi3web/config.m4
- sapi/nsapi/Makefile.in
- sapi/nsapi/config.m4
- sapi/phttpd/.cvsignore
- sapi/phttpd/Makefile.in
- sapi/phttpd/config.m4
- sapi/isapi/.cvsignore
- sapi/isapi/Makefile.in
- sapi/isapi/config.m4
- sapi/nsapi/.cvsignore
- sapi/cgi/Makefile.in
- sapi/cgi/config.m4
- sapi/cli/.cvsignore
- sapi/cli/Makefile.in
- sapi/cli/config.m4
- sapi/fastcgi/.cvsignore
- sapi/fastcgi/Makefile.in
- sapi/fastcgi/config.m4
- sapi/fhttpd/.cvsignore
- sapi/apache2filter/Makefile.in
- sapi/apache2filter/config.m4
- sapi/caudium/.cvsignore
- sapi/caudium/Makefile.in
- sapi/caudium/config.m4
- sapi/cgi/.cvsignore
- sapi/apache2filter/.cvsignore
- sapi/aolserver/.cvsignore
- sapi/aolserver/Makefile.in
- sapi/aolserver/config.m4
- sapi/apache/.cvsignore
- sapi/apache/Makefile.in
- sapi/apache/config.m4
- pear/scripts/phpize.in
- regex/.cvsignore
- sapi/.cvsignore
- sapi/Makefile.in
- sapi/README
- ext/zlib/.cvsignore
- pear/.cvsignore
- pear/Makefile.frag
- pear/Makefile.in
- pear/pear.m4
- ext/xslt/.cvsignore
- ext/yaz/.cvsignore
- ext/yp/.cvsignore
- ext/zip/.cvsignore
- ext/xmlrpc/.cvsignore
- ext/xmlrpc/config.m4
- ext/xmlrpc/libxmlrpc/xmlrpc.m4
- ext/xml/.cvsignore
- ext/xml/config.m4
- ext/xml/expat/.cvsignore
- ext/w32api/.cvsignore
- ext/wddx/.cvsignore
- ext/sybase_ct/.cvsignore
- ext/sysvsem/.cvsignore
- ext/sysvshm/.cvsignore
- ext/vpopmail/.cvsignore
- ext/swf/.cvsignore
- ext/sybase/.cvsignore
- ext/sockets/.cvsignore
- ext/standard/.cvsignore
- ext/standard/Makefile.frag
- ext/standard/Makefile.in
- ext/standard/config.m4
- ext/snmp/.cvsignore
- ext/session/config.m4
- ext/shmop/.cvsignore
- ext/skeleton/.cvsignore
- ext/readline/.cvsignore
- ext/recode/.cvsignore
- ext/session/.cvsignore
- ext/session/Makefile.in
- ext/pgsql/.cvsignore
- ext/posix/.cvsignore
- ext/pspell/.cvsignore
- ext/qtdom/.cvsignore
- ext/pdf/.cvsignore
- ext/pdf/config.m4
- ext/pfpro/.cvsignore
- ext/pcre/pcrelib/.cvsignore
- ext/pcre/pcrelib/doc/.cvsignore
- ext/pcre/pcrelib/testdata/.cvsignore
- ext/ovrimos/.cvsignore
- ext/pcntl/.cvsignore
- ext/pcre/.cvsignore
- ext/pcre/config.m4
- ext/openssl/.cvsignore
- ext/oracle/.cvsignore
- ext/overload/.cvsignore
- ext/mysql/libmysql/.cvsignore
- ext/mysql/libmysql/mysql.m4
- ext/ncurses/.cvsignore
- ext/notes/.cvsignore
- ext/oci8/.cvsignore
- ext/odbc/.cvsignore
- ext/mysql/.cvsignore
- ext/mysql/config.m4
- ext/muscat/.cvsignore
- ext/msql/.cvsignore
- ext/mssql/.cvsignore
- ext/msession/.cvsignore
- ext/mnogosearch/.cvsignore
- ext/ming/.cvsignore
- ext/mhash/.cvsignore
- ext/mcrypt/.cvsignore
- ext/mcal/.cvsignore
- ext/mbstring/.cvsignore
- ext/ldap/.cvsignore
- ext/java/.cvsignore
- ext/ircg/.cvsignore
- ext/ircg/Makefile.frag
- ext/ircg/config.m4
- ext/interbase/.cvsignore
- ext/informix/.cvsignore
- ext/informix/Makefile.frag
- ext/ingres_ii/.cvsignore
- ext/imap/.cvsignore
- ext/iconv/.cvsignore
- ext/icap/.cvsignore
- ext/hyperwave/.cvsignore
- ext/gmp/.cvsignore
- ext/gettext/.cvsignore
- ext/ftp/.cvsignore
- ext/gd/.cvsignore
- ext/fribidi/.cvsignore
- ext/filepro/.cvsignore
- ext/fdf/.cvsignore
- ext/fbsql/.cvsignore
- ext/exif/.cvsignore
- ext/domxml/.cvsignore
- ext/domxml/config.m4
- ext/dio/.cvsignore
- ext/dbx/.cvsignore
- ext/dbplus/.cvsignore
- ext/dbase/.cvsignore
- ext/db/.cvsignore
- ext/dba/.cvsignore
- ext/cyrus/.cvsignore
- ext/cybermut/.cvsignore
- ext/cybercash/.cvsignore
- ext/curl/.cvsignore
- ext/ctype/.cvsignore
- ext/crack/.cvsignore
- ext/cpdf/.cvsignore
- ext/com/.cvsignore
- ext/ccvs/.cvsignore
- ext/calendar/.cvsignore
- ext/bz2/.cvsignore
- ext/bcmath/libbcmath/src/Makefile.in
- ext/bcmath/libbcmath/src/.cvsignore
- ext/bcmath/libbcmath/.cvsignore
- ext/bcmath/libbcmath/Makefile.in
- ext/bcmath/config.m4
- ext/bcmath/.cvsignore
- ext/bcmath/Makefile.in
- ext/aspell/.cvsignore
- ext/ext_skel
- build/sysv_makefile
- build/shtool
- build/ltlib.mk
- build/fastgen.sh
- build/library.mk
- build/dynlib.mk
- build/bsd_makefile
- build/build2.mk
- scan_makefile_in.awk
- dynlib.m4
- configure.in
- TODO.BUILDv5
- acinclude.m4
- README.SELF-CONTAINED-EXTENSIONS
- Makefile.in
- .cvsignore
- Makefile.frag
- Makefile.global: Please welcome the new build system.
-
- If you encounter any problems, please make sure to email sas@php.net
- directly.
-
- An introduction can be found on
-
- http://schumann.cx/buildv5.txt
-
-2002-03-07 Derick Rethans <d.rethans@jdimedia.nl>
-
- * NEWS: - Update NEWS
-
-2002-03-07 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/mbstring/tests/002.inc
- ext/mbstring/tests/003.inc
- ext/mbstring/tests/004.inc
- ext/mbstring/tests/005.inc
- ext/mbstring/tests/006.inc
- ext/mbstring/tests/008.inc
- ext/mbstring/tests/009.inc
- ext/mbstring/tests/010.inc
- ext/mbstring/tests/011.inc
- ext/mbstring/tests/012.inc
- ext/mbstring/tests/013.inc
- ext/mbstring/tests/014.inc
- ext/mbstring/tests/015.inc
- ext/mbstring/tests/016.inc
- ext/mbstring/tests/017.inc
- ext/mbstring/tests/018.inc
- ext/mbstring/tests/019.inc
- ext/mbstring/tests/019.phpt
- ext/mbstring/tests/common.inc
- ext/mbstring/tests/common.php:
- Rename common.php to common.inc for easier deletion of garbages.
- e.g. "rm -f *.php"
-
-2002-03-07 Jason Greene <jason@inetgurus.net>
-
- * NEWS: MFH
-
-2002-03-07 Hartmut Holzgraefe <hartmut@six.de>
-
- * ext/mcve/mcve.c: more proto stuff
-
-2002-03-07 Jason Greene <jason@inetgurus.net>
-
- * NEWS: Add news entries representing the sockets rework.
-
-2002-03-07 Hartmut Holzgraefe <hartmut@six.de>
-
- * ext/mcve/mcve.c: proto fixes:
- - changed 'double' to 'float'
- - changed 'int' to 'resource' where appropriate
- - format change: proto has to be on a single line and description
- on the very next one, some tools still rely on this
-
-2002-03-06 Dan Kalowsky <dank@deadmime.org>
-
- * NEWS: iconv is back
-
-2002-03-06 Derick Rethans <d.rethans@jdimedia.nl>
-
- * main/php_version.h
- configure.in: - Bump version numbers on HEAD
-
-2002-03-06 Jani Taskinen <sniper@iki.fi>
-
- * NEWS:
- - Cleaned this abit (no such long stuff should be here if it can be found
- in Manual...and if it's not in manual yet, ADD IT!
- - Also moved some of the major changes in the beginning where people
- might even notice them. We should re-arrange this better btw.
-
-2002-03-06 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/tests/001.phpt
- ext/exif/tests/002.phpt
- ext/exif/tests/test1.jpg
- ext/exif/tests/test2.jpg: - standard test scripts for exif
-
- * ext/exif/exif.c: -comments
-
-2002-03-06 James Cox <james@awpimajes.com>
-
- * NEWS: fixed my foobarred news entry
-
-2002-03-06 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/exif.c: -comments
-
-2002-03-06 Jason Greene <jason@inetgurus.net>
-
- * ext/sockets/php_sockets.h
- ext/sockets/sockets.c: Sockets Rework Patch 3 of 3
- Nuked all fd code
- Rewrote socket_select to use arrays instead of the fd code
- (This has the side-effect of fixing quite a few bugs)
-
-2002-03-06 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/interbase/interbase.c:
- - Fix for bug #12383 and #14755: 105.05$ becomes 105.5$ (Patch by: Giancarlo
- Niccolai <giancarlo@niccolai.org>)
-
-2002-03-06 James E. Flemer <jflemer@acm.jhu.edu>
-
- * ext/standard/dir.c:
- (PHP opendir) Changed CHECKUID_ALLOW_ONLY_DIR to CHECKUID_ALLOW_ONLY_FILE
- so that relative paths (vs absolute) work correctly.
-
-2002-03-06 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/test.txt:
- -updated test to reflect third parameter of exif_read_data
-
- * ext/exif/exif.c: -missing efree
- -incorrect index/length computing: left from jhead
-
-2002-03-06 Dan Kalowsky <dank@deadmime.org>
-
- * ext/standard/html.c:
- quelling a warning, and ensuring now undefined behavior
-
- * ext/posix/posix.c:
- When #if BLAHING a section, ensure to make it's prototype included. Returns
- build capability to MacOSX.
-
-2002-03-06 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/sybase_ct/php_sybase_ct.c
- ext/sybase/php_sybase_db.c:
- - Add 'appname' parameter to sybase_connect. (Patch by Christophe Sollet
- <csollet@coleebris.com>)
-
- * sapi/cgi/cgi_main.c: - Put them back (and do it right)
-
-2002-03-06 Sascha Schumann <sascha@schumann.cx>
-
- * ext/session/session.c:
- Do the estrdups after checking for parameter constraints.
-
- No real memory leaks though, because they are catched by the
- memory manager.
-
- * ext/session/mod_mm.c: Did not revert back enough.
-
- This patch does not make sense, because it enforces the existence
- of a single directory.
-
- * ext/session/session.c:
- SID shall be defined to name=id, if the client did not supply
- a cookie.
-
- * ext/session/mod_files.c
- ext/session/mod_user.c
- ext/session/php_session.h
- ext/session/session.c:
- Merge in session API changes (carry around tsrm context)
-
- Now PHP_SESSION_API is defined to the date of the last change,
- so that externa source-code can handle changes more gracefully.
-
- * ext/session/session.c: Always initialize the track-vars
-
-2002-03-06 Derick Rethans <d.rethans@jdimedia.nl>
-
- * sapi/cgi/cgi_main.c: - Remove unused variables
-
- * ext/posix/posix.c: - More ZTS fixes
-
- * ext/iconv/iconv.c: - Fix build with ZTS
-
-2002-03-06 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/test.txt: -updated test
-
- * ext/exif/exif.c
- ext/exif/php_exif.h: -new working thumbnail code
- -everything uses new data structures
- -new function exif_thumbnail
-
-2002-03-06 Sascha Schumann <sascha@schumann.cx>
-
- * ext/session/mod_files.c
- ext/session/mod_mm.c
- ext/session/mod_user.c
- ext/session/php_session.h
- ext/session/session.c: Weep out all recent commits of Yasuo.
-
- I don't have time right now to leave in the good ones and remove
- only the bad ones.
-
- There are some semantical changes which I reject, because
- they aim at fixing a bug which is at a completely other location.
-
- Then SID does not gefined anymore properly. (This broken patch
- has not been sent to me at all.)
-
- Also, there were *so* many whitespace changes which already
- make these commits bogus.
-
-2002-03-06 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/session/mod_mm.c: Fixed typo :)
-
- * ext/session/mod_mm.c:
- Use static mm file save path. Now we can safely stop web server at start up when there is an error. Older mm uses static mm file path anyway.
-
- * ext/session/mod_files.c: Fix crash bug #14232
-
- * ext/session/mod_mm.c: Make php start even with wrong save_path.
-
-2002-03-06 Jason Greene <jason@inetgurus.net>
-
- * ext/sockets/php_sockets.h
- ext/sockets/sockets.c: Socket Rework Patch 2
- Redesigned socket_recv() as outlined on php-dev
- Modified socket_last_error() to no longer clear the error
- Added socket_clear_error()
- Fixed socket_set_nonblock()
- Added socket_set_block()
- Fixed a proto
- Saved 1 byte of RAM : )
-
-2002-03-06 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/session/session.c: Oops. Fix compile failure
-
- * ext/session/session.c:
- Using session_save_path() after starting session is obvious error.
- Riase E_NOTICE error instead of E_WARNING. Since it is valid if
- user uses session_save_path() with session_module_name().
-
- * ext/session/session.c:
- Return FALSE when session_module_name() failed. Fix a little leak.
-
- * ext/session/session.c:
- Raise error when session module failed to open or read
-
- * ext/session/mod_user.c
- ext/session/php_session.h: More TSRM work
-
- * ext/session/session.c
- ext/session/mod_user.c
- ext/session/mod_files.c: Remove TSRMLS_FETCH() and use TSRMLS_C/TSRMLS_D
-
-2002-03-05 Markus Fischer <mfischer@guru.josefine.at>
-
- * NEWS: - Added recent changes done in ext/posix
-
-2002-03-05 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/session/mod_mm.c: Fixed crash with mm save handler
-
- * ext/session/session.c: Fix bug #15322 and fix a little memory leak
-
-2002-03-05 Zeev Suraski <zeev@zend.com>
-
- * ext/session/session.c: MFH
-
- * ext/session/session.c:
- Make $_SESSION and $HTTP_SESSION_VARS links to each other
-
-2002-03-05 Stig Bakken <ssb@fast.no>
-
- * pear/tests/pear_config.phpt: * PEAR_Config test complete
-
-2002-03-05 James Cox <james@awpimajes.com>
-
- * win32/install.txt: adding installation comments for 4.1.2
-
-2002-03-05 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/exif.c: -fixes
- -changed internal data structures
-
-2002-03-05 Stig Bakken <ssb@fast.no>
-
- * pear/tests/merge.input
- pear/tests/pear_config.phpt
- pear/tests/toonew.conf
- pear/tests/user2.input: * update PEAR_Config test
-
- * pear/PEAR/Config.php: * fix singleton() so it actually works
- * insert file format version in written files
- * add getSetValues() method for listing the valid values for a set value
-
-2002-03-05 Dan Kalowsky <dank@deadmime.org>
-
- * ext/odbc/php_odbc.c:
- Breaking BC, but making odbc_fetch_into behavior more consistent
-
-2002-03-05 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/posix/php_posix.h
- ext/posix/posix.c:
- - Introduced posix_errno() (get error number from last error message) and
- posix_strerror() (convert error number into error string).
-
- - Do not output any error message if any of the function fails with FALSE
- return value. The proper way now is to call posix_errno() and
- posix_strerror() after encountering an error condition.
-
- - Function not support on a system no longer issue a 'not available' error
- but simply don't exist so we can safely use 'function_exists'.
-
- - Fixed protos.
-
- - Use new parameter parsing API.
-
- - posix_uname() may be aware of 'domainname' (GNU extension)
-
- - posix_getgrnam(), posix_getgrgid(): the returned information does no
- longer contains mixture of string and numbered keys (hash / array)
- but contains key 'member' with an array of all members in a list
- (or an empty array). This breaks BC but is the right thing IMHO.
-
-2002-03-05 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR.php:
- * fix PEAR::setErrorHandling() settings so they apply when using raiseError()
-
-2002-03-05 Derick Rethans <d.rethans@jdimedia.nl>
-
- * pear/DB/tests/driver/15quote.phpt
- pear/DB/tests/driver/02fetch.phpt
- pear/DB/tests/driver/03simplequery.phpt
- pear/DB/tests/driver/04numcols.phpt
- pear/DB/tests/driver/05sequences.phpt
- pear/DB/tests/driver/06prepexec.phpt
- pear/DB/tests/driver/08affectedrows.phpt
- pear/DB/tests/driver/09numrows.phpt
- pear/DB/tests/driver/10errormap.phpt
- pear/DB/tests/driver/13limit.phpt
- pear/DB/tests/driver/14fetchmode_object.phpt
- pear/DB/tests/driver/01connect.phpt
- pear/DB/tests/db_factory.phpt
- pear/DB/tests/db_ismanip.phpt
- pear/DB/tests/db_parsedsn.phpt
- ext/xml/tests/001.phpt
- ext/xml/tests/002.phpt
- ext/xml/tests/003.phpt
- ext/xml/tests/004.phpt
- pear/DB/tests/db_error.phpt
- tests/basic/002.phpt: - More test fixes
-
- * ext/standard/tests/array/array_search.phpt
- ext/standard/tests/file/001.phpt
- ext/standard/tests/general_functions/004.phpt
- ext/standard/tests/math/abs.phpt
- ext/standard/tests/math/pow.phpt
- ext/standard/tests/math/round.phpt
- ext/standard/tests/strings/trim.phpt
- ext/standard/tests/strings/wordwrap.phpt
- ext/standard/tests/array/001.phpt
- ext/standard/tests/aggregation/aggregate.phpt
- ext/standard/tests/aggregation/aggregate_methods.phpt
- ext/standard/tests/aggregation/aggregate_methods_by_list.phpt
- ext/standard/tests/aggregation/aggregate_methods_by_regexp.phpt
- ext/standard/tests/aggregation/aggregate_properties.phpt
- ext/standard/tests/aggregation/aggregate_properties_by_list.phpt
- ext/standard/tests/aggregation/aggregate_properties_by_regexp.phpt
- ext/standard/tests/aggregation/aggregation_info.phpt
- ext/standard/tests/aggregation/deaggregate.phpt:
- - Fix tests to work with CLI
-
- * ext/mcrypt/tests/001.phpt: - Fix mcrypt tests
-
-2002-03-05 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * README.TESTING: Fixed wrong description about CLI sapi usage.
- Currently "make test" is running test script as
-
- ./sapi/cli/php -c php.ini-dist run-tests.php
-
- "make test" does not work... I'm supposing this
- will be changed to use CGI sapi for now.
-
- * README.TESTING: Added README.TESTING
-
-2002-03-05 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * win32/pws-php4cgi.reg
- win32/install.txt: s/php.exe/php-cgi.exe/.
-
-2002-03-05 Dan Kalowsky <dank@deadmime.org>
-
- * ext/odbc/birdstep.c: Added a comment for future reference
-
-2002-03-05 Jason Greene <jason@inetgurus.net>
-
- * ext/sockets/sockets.c: Style Improvement
-
-2002-03-05 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Config.php
- pear/tests/pear_config.phpt:
- * fixed a couple of bugs in PEAR_Config revealed by test
-
-2002-03-05 Frank M. Kromann <frank@frontbase.com>
-
- * ext/dbase/dbase.c: Killing compiler warning
-
- * ext/dbase/dbf_rec.c: Making dbase compule under WIn32
-
- * main/php_ini.c: Killing compiler warning on Win32
-
-2002-03-04 Dan Kalowsky <dank@deadmime.org>
-
- * ext/iconv/config.m4
- ext/iconv/php_iconv.h:
- Fix for Bug 14423. Enables FreeBSD to use iconv functionality.
-
-2002-03-04 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/test.txt: - also test TIFF support in GetImageSize
-
- * ext/exif/exif.c: - Read IsColor for TIFF
-
-2002-03-04 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * win32/php4.dsp
- win32/php4ts.dsp: Rename Win32 SAPI/CGI binary to php-cgi.exe.
-
-2002-03-04 Jon Parise <jon@csh.rit.edu>
-
- * main/php_ticks.c:
- Silence a warning under Solaris 8 (WorkShop Compilers 5.0 98/12/15 C 5.0).
-
-2002-03-04 Derick Rethans <d.rethans@jdimedia.nl>
-
- * NEWS:
- - Update NEWS with changes by Shane for "fix force redirect crash under
- multithreaded compile". (This is only in the published Windows binaries)
-
- * php.ini-dist: - MFH for:
- add stuff here also.
-
- * sapi/cgi/cgi_main.c: - MFH for:
- add comment for IIS users
-
- * php.ini-recommended: - MFH for:
- document force-redirect in php.ini
-
- * sapi/cgi/cgi_main.c: - MFH for:
- This is much better. With FORCE_CGI_REDIRECT turned on by default for compilation,
- we can now define this in the ini file. So it can be turned on for apache, turned
- off for IIS which does not have a redirect issue. Alternately, a different 'REDIRECT_STATUS'
- environment var can be defined in case some web server out there needs it.
-
- new ini vars
- cgi.force_redirect 0|1
- cgi.redirect_status_env ENV_VAR_NAME
-
- * sapi/cgi/cgi_main.c: - MFH for:
- fix force redirect crash under multithreaded compile
-
- should be discused: fix redirect detection to only work with apache or netscape,
- where we know they set an environment variable regarding redirect. IIS has
- no security issue here. Don't know about other windows web servers.
-
-2002-03-04 Sascha Schumann <sascha@schumann.cx>
-
- * ext/standard/info.c: Add apparently missing include
-
-2002-03-04 Derick Rethans <d.rethans@jdimedia.nl>
-
- * main/config.w32.h
- main/php.h: - MFH for: turn on force redirect for windows
-
- * main/main.c: - Some more speed (and more consistency)
-
-2002-03-04 Sascha Schumann <sascha@schumann.cx>
-
- * main/php_ini.c
- main/php_main.h
- main/main.c
- ext/standard/info.c:
- Supply php_html_puts which escapes a whole string.. now fully works in ZTS
- mode, too.
-
-2002-03-04 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * ext/standard/image.c: Silence warning.
-
-2002-03-04 Sascha Schumann <sascha@schumann.cx>
-
- * ext/standard/info.c: revert last commit, puts does more through putc.
-
- * ext/standard/info.c:
- Use PHPWRITE to output data. Because this just outputs diagnostic
- information, a few spaces won't hurt (and multiple ones are rendered
- as one by browsers anyway). Micro-benchmarks which use phpinfo()
- as a mean to generate output will yield more through-put now
- (35 req/s vs. 83 req/s in tux).
-
-2002-03-04 Derick Rethans <d.rethans@jdimedia.nl>
-
- * sapi/apache/config.m4:
- - Fix for bug #15572 (Patch by Ralf Nyrén <ralf.nyren@educ.umu.se>)
-
-2002-03-04 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * EXTENSIONS:
- -expose the fact i am working on exif as discussed with Rasmus
-
- * ext/standard/image.c: - TIFF support for GetImageSize
- TIFF support for GetImageSize
-
- * ext/exif/exif.c: - disabled debug information
- - added missing width/height from primary ifd for TIFF
-
-2002-03-04 James Cox <james@awpimajes.com>
-
- * ext/odbc/php_birdstep.h
- ext/odbc/php_birstep.h: typos suck.
-
-2002-03-04 Jason Greene <jason@inetgurus.net>
-
- * ext/sockets/sockets.c: Style mismatch: Jon's catch
-
-2002-03-04 Stanislav Malyshev <stas@zend.com>
-
- * ext/standard/datetime.c: cygwin fix
-
-2002-03-04 Jon Parise <jon@csh.rit.edu>
-
- * ext/session/session.c
- main/output.c:
- Silence warning under Solaris 8 (WorkShop Compilers 5.0 98/12/15 C 5.0).
-
-2002-03-04 Derick Rethans <d.rethans@jdimedia.nl>
-
- * makerpm: - Fix a path and remove --with-imap
-
-2002-03-04 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Config.php: PEAR_Config rewrite:
-
- * Now supports (in theory) an arbitrary number of
- config "layers" (different sets of configuration data with a defined
- priority).
- * Specify the type of config values so different frontends can make
- user-friendly configuration interfaces. Valid types are currently
- "string", "integer", "file", "directory", "set" and "password". The
- set type lets you specify a limited set of values that the config
- values must be selected from. Password values are stored
- base64-encoded.
- * Added phpdoc comments and some docs for config values.
- * Added singleton method.
-
-2002-03-04 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/exif.c:
- -addition to last change: php_image.h must be included now
-
-2002-03-04 James Cox <james@awpimajes.com>
-
- * ext/odbc/php_velocis.h
- ext/odbc/setup.stub
- ext/odbc/velocis.c
- main/build-defs.h.in
- ext/odbc/birdstep.c
- ext/odbc/config.m4
- ext/odbc/php_birstep.h
- ext/odbc/php_odbc.c
- ext/odbc/php_odbc.h:
- Changing the Velocis extension to now be called Birdstep, due to a product/company change.
- added aliases for Velocis to the birdstep functions.
-
-2002-03-04 Sascha Schumann <sascha@schumann.cx>
-
- * ext/standard/url_scanner_ex.c
- ext/standard/url_scanner_ex.re: Restore use of inline
-
- * build/build2.mk
- build/buildcheck.sh: Remove note, suppress warning
-
- * sapi/tux/php_tux.c: Reduce operations in the ub_write loop.
-
- * sapi/tux/php_tux.c:
- Free status line, initialize number_vec, correctly account for
- the number of bytes in the document, avoid strcpy/strlen.
-
-2002-03-04 Rasmus Lerdorf <rasmus@php.net>
-
- * ext/standard/php_image.h
- ext/exif/exif.c:
- Let getimagesize() and read_exif_data() share the same constants to
- promote a little bit of code reuse here on two very similar problems.
-
-2002-03-04 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/test.php
- ext/exif/test.txt: -Updated test.txt and provided test.php
-
- * ext/exif/exif.c: -Added TIFF support
- -Changed parameters after checking bugdatabase and discussion with
- Rasmus: 1st=Filename, 2nd=NeededSections
-
-2002-03-04 Jason Greene <jason@inetgurus.net>
-
- * ext/sockets/sockets.c:
- Patch 1 of 3 (2 in 3 still in progress) of sockets rework
- Abstracted string -> ipv4 value conversion which unifies all functions
- Standardized Host Lookups
- Fixed Broken host error values
- Fixed error detection in sendmsg
- Added some safety struct zeroing
- Modified bind to consitentlyy use sockaddr_storage(not just for AF_UNIX)
-
-2002-03-03 Zak Greant <zak@mysql.com>
-
- * build/buildcheck.sh:
- Added message regarding expected error messages for ./buildconf
-
-2002-03-03 James E. Flemer <jflemer@acm.jhu.edu>
-
- * main/safe_mode.c:
- Added case for root directory when mode is not
- CHECKUID_ALLOW_ONLY_DIR.
-
- * main/safe_mode.c:
- Added case for root directory when mode is
- CHECKUID_ALLOW_ONLY_DIR.
-
- * ext/standard/dir.c: Added safe_mode checks on path.
-
-2002-03-03 Thomas V.V.Cox <cox@idecnet.com>
-
- * pear/DB/MAINTAINERS: Updated maintainers
-
-2002-03-03 Derick Rethans <d.rethans@jdimedia.nl>
-
- * NEWS: - Tidy up NEWS a little bit
-
-2002-03-03 Alex Waugh <alex@alexwaugh.com>
-
- * sapi/webjames/README
- sapi/webjames/config.m4: Updated build instructions
-
-2002-03-02 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/pgsql/pgsql.c:
- - Make the 2nd parameter to pgsql_fetch_* support NULL in case 3 parameters
- are supplied, but you do not want to provide a row number yourself.
- - Make the 2nd parameter to pgsql_fetch_* support NULL in case 3
- parameters are supplied, but you do not want to provide a row number
- yourself.
-
-2002-03-02 Hartmut Holzgraefe <hartmut@six.de>
-
- * ext/standard/math.c: php has no 'double', only 'float'
-
- * ext/mcve/mcve.c
- ext/mcve/php_mcve.h: tab/space mixture cleand up,
- editor config comments added,
- minor proto fixes
-
- * ext/standard/aggregation.c
- main/output.c: typo fix
-
-2002-03-02 Zeev Suraski <zeev@zend.com>
-
- * ext/session/session.c: MFH - crash bug fix
-
- * ext/session/session.c: Fix another crash bug
-
-2002-03-02 Hartmut Holzgraefe <hartmut@six.de>
-
- * ext/ctype/config.m4: enable ctype functions by default
-
-2002-03-02 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/exif.c:
- Wrong brackets by rasmus...but sorry the fault was mine because i missed them...
-
- i also decided to call the first working version 1.0a
-
- by the way: currently i am working on tiff files and it looks like it may work
-
-2002-03-02 Zeev Suraski <zeev@zend.com>
-
- * main/php_version.h
- configure.in: Bump those up too in case we ever release
-
- * configure.in
- main/php_version.h: Fix version number
-
- * ext/session/session.c: MFH - crash bug fix
-
- * ext/session/session.c: Fix a crash bug in the session module
-
-2002-03-02 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/standard/string.c: - Fix warning message for join().
-
- * ext/mcve/CREDITS
- ext/tokenizer/CREDITS
- ext/dbx/CREDITS: - Fix CREDITS files
-
- * ext/gd/gd.c:
- - Make GD functions only available if they really exist (Patch by
- matslin@orakel.ntnu.no)
-
-2002-03-02 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/mbstring/tests/001.phpt
- ext/mbstring/tests/002.inc
- ext/mbstring/tests/002.phpt
- ext/mbstring/tests/003.inc
- ext/mbstring/tests/003.phpt
- ext/mbstring/tests/004.inc
- ext/mbstring/tests/004.phpt
- ext/mbstring/tests/005.inc
- ext/mbstring/tests/005.phpt
- ext/mbstring/tests/006.inc
- ext/mbstring/tests/006.phpt
- ext/mbstring/tests/007.inc
- ext/mbstring/tests/007.phpt
- ext/mbstring/tests/008.inc
- ext/mbstring/tests/008.phpt
- ext/mbstring/tests/009.inc
- ext/mbstring/tests/009.phpt
- ext/mbstring/tests/010.inc
- ext/mbstring/tests/010.phpt
- ext/mbstring/tests/011.inc
- ext/mbstring/tests/011.phpt
- ext/mbstring/tests/012.inc
- ext/mbstring/tests/012.phpt
- ext/mbstring/tests/013.inc
- ext/mbstring/tests/013.phpt
- ext/mbstring/tests/014.inc
- ext/mbstring/tests/014.phpt
- ext/mbstring/tests/015.inc
- ext/mbstring/tests/015.phpt
- ext/mbstring/tests/016.inc
- ext/mbstring/tests/016.phpt
- ext/mbstring/tests/017.inc
- ext/mbstring/tests/017.phpt
- ext/mbstring/tests/018.inc
- ext/mbstring/tests/018.phpt
- ext/mbstring/tests/019.inc
- ext/mbstring/tests/019.phpt
- ext/mbstring/tests/common.php
- ext/mbstring/tests/skipif.inc: Add mbstring tests
-
- * build/rules.mk: Use php.ini-dist as default config file for testing.
-
-2002-03-02 Rasmus Lerdorf <rasmus@php.net>
-
- * ext/exif/exif.c: Fix a couple of warnings
-
-2002-03-02 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/iconv/iconv.c:
- Improved iconv usage with libc's iconv. No overrun. More efficient memory
- allocation.
- Hopefully, all bugs reported for iconv will be resolved when users are using
- libc iconv.
-
- * ext/iconv/tests/eucjp2iso2022jp.inc
- ext/iconv/tests/eucjp2iso2022jp.phpt
- ext/iconv/tests/eucjp2sjis.inc
- ext/iconv/tests/eucjp2sjis.phpt
- ext/iconv/tests/eucjp2utf8.inc
- ext/iconv/tests/eucjp2utf8.phpt
- ext/iconv/tests/002.phpt: Add more tests for iconv
-
-2002-03-02 Stig Bakken <ssb@fast.no>
-
- * pear/tests/pear_autoloader.phpt
- pear/tests/pear_config.phpt
- pear/tests/pear_error.phpt
- pear/tests/pear_error2.phpt
- pear/tests/pear_error3.phpt
- pear/tests/pear_error4.phpt
- pear/tests/pear_registry.phpt: * more cli test fixes
-
- * pear/DB/tests/db_error.phpt
- pear/DB/tests/db_error2.phpt
- pear/DB/tests/db_parsedsn.phpt
- pear/DB/tests/mysql/02fetch.phpt
- pear/DB/tests/mysql/03simplequery.phpt
- pear/DB/tests/mysql/04numcols.phpt
- pear/DB/tests/mysql/05sequences.phpt
- pear/DB/tests/mysql/06prepexec.phpt
- pear/DB/tests/mysql/09numrows.phpt
- pear/DB/tests/mysql/10errormap.phpt
- pear/DB/tests/mysql/12tableinfo.phpt
- pear/DB/tests/mysql/13limit.phpt
- pear/DB/tests/mysql/14fetchmode_object.phpt
- pear/tests/pear_config.phpt
- pear/tests/pear_error.phpt: * updated tests to work with cli
-
- * pear/tests/pear1.phpt: fix test
-
- * run-tests.php: * work with sapi/cli
-
-2002-03-01 Rasmus Lerdorf <rasmus@php.net>
-
- * ext/odbc/config.m4: In case we do a 4.1.3, add this trivial fix
-
-2002-03-01 Edin Kadribasic <edink@proventum.net>
-
- * main/main.c:
- Added PHP_SAPI constant which contains the name of running SAPI.
-
-2002-03-01 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/standard/url_scanner_ex.re
- ext/standard/url_scanner_ex.c:
- - Fix for Sun WorkShop 6 update 2 compiler (Bug #15812)
-
-2002-03-01 Andrei Zmievski <andrei@ispi.net>
-
- * TODO: *** empty log message ***
-
-2002-03-01 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/interbase/interbase.c:
- - Add support for returning NULL values from Interbase resultsets (Patch by
- Daniela Mariaschi <mariaschi@libero.it>)
-
-2002-03-01 Jani Taskinen <sniper@iki.fi>
-
- * NEWS: - We haven't got the branch yet..
- - Some typo fixes and correct grammar.
-
-2002-03-01 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/msession/msession.c: Fix compiler warnings and header file path.
-
-2002-03-01 Zeev Suraski <zeev@zend.com>
-
- * ext/standard/array.c: Fix php_splice() to work with large values
-
-2002-03-01 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/README: Update doc
-
- * TODO: Added todo item for Java extention documentation.
-
- * TODO-4.2.txt
- TODO: Merge TODO-4.2.txt into TODO.
-
-2002-03-01 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Command.php
- pear/PEAR/Command/Common.php
- pear/PEAR/Command/Install.php:
- * code for install/uninstall/upgrade complete, not yet tested
-
-2002-03-01 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * main/output.c: Do explicit test againt to FAILURE.
-
-2002-03-01 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Packager.php:
- * output a reminder to set CVS tags after packaging
-
- * build/rules.mk: * use cli sapi to run tests
-
-2002-03-01 Shane Caraveo <shane@caraveo.com>
-
- * php.ini-dist: add stuff here also.
-
- * sapi/cgi/cgi_main.c: add comment for IIS users
- fix some whitespace
-
-2002-03-01 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/php_exif.h
- ext/exif/test.txt
- ext/exif/.cvsignore
- ext/exif/exif.c:
- +Support for Photographer/Editor Copyright as associative array as this is a new feature the change (optionally being an array) has to be mentioned in documentation.
- +New function exif_headername can be used to read the internal Tag namelist (was mainly created for debugging purpose but maybe somone writes code to create/update exif headers here).
- +An internal version number is present.
- +A testpage is supplied test.txt describes how the test works.
- +The oldfunction read_exif_data has got an alias exif_read_data
-
- As the old version of this module is very buggy i decided to implement the testpage (test.txt) and to create the alias. The test script only works with the alias as the old version does not pass tests. By the way it seems a good way to prepend 'exif_' to all functions in the module.
-
-2002-03-01 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/snmp/snmp.c: Fix compiler warnings
-
- * ext/standard/var.c
- ext/zlib/zlib.c
- main/main.c
- main/output.c
- main/php_output.h
- ext/standard/basic_functions.c
- ext/session/session.c:
- Added ob_get_status() to get array of buffers and it's status.
- (DO NOT document this function yet)
-
- Fixed crash bug with ob_end_*() function. ob_end_*() will not delete
- buffers that may not be deleted.
-
- php_start_ob_buffer() and php_ob_set_internal_handler() takes parameter for
- if the buffer created may be deleted or not.
-
- Added 3rd parameter "bool erase" to ob_start(). If FALSE, buffer may not be
- deleted until script finshes.
-
- Changed ob_*() function that have void return type to bool. All ob_*()
- functions return TRUE for success, FALSE for failure.
-
-
-2002-03-01 Shane Caraveo <shane@caraveo.com>
-
- * php.ini-recommended: document force-redirect in php.ini
-
- * sapi/cgi/cgi_main.c:
- This is much better. With FORCE_CGI_REDIRECT turned on by default for compilation,
- we can now define this in the ini file. So it can be turned on for apache, turned
- off for IIS which does not have a redirect issue. Alternately, a different 'REDIRECT_STATUS'
- environment var can be defined in case some web server out there needs it.
-
- new ini vars
- cgi.force_redirect 0|1
- cgi.redirect_status_env ENV_VAR_NAME
-
- * sapi/cgi/cgi_main.c:
- fix force redirect crash under multithreaded compile
-
- should be discused: fix redirect detection to only work with apache or netscape,
- where we know they set an environment variable regarding redirect. IIS has
- no security issue here. Don't know about other windows web servers.
-
- * main/config.w32.h
- main/php.h: turn on force redirect for windows
-
-2002-02-28 Jani Taskinen <sniper@iki.fi>
-
- * ext/crack/config.m4: - Fixed a typo. (caught by jtate@php.net)
-
-2002-02-28 Rasmus Lerdorf <rasmus@php.net>
-
- * ext/gd/gd.c: Change fatal errors to warnings - fix bug #15797
-
-2002-02-28 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/standard/basic_functions.c
- ext/standard/var.c: - Make it a boolean
-
-2002-02-28 Brad House <brad@mainstreetsoftworks.com>
-
- * ext/mcve/mcve.c: Fix proto for mcve_initconn
-
-2002-02-28 Edin Kadribasic <edink@proventum.net>
-
- * NEWS: Inserted a note about CGI binary name change.
-
-2002-02-28 Marc Boeren <M.Boeren@guidance.nl>
-
- * ext/dbx/howto_extend_dbx.html: Updating docs (Mc)
-
-2002-02-28 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/exif.c:
- Changed file to match CODING_STANDARDS except function names that match jhead.c project. I think it is acceptable using naming conventions of other projects when borrowing code.
-
-2002-02-28 Edin Kadribasic <edink@proventum.net>
-
- * main/php_ini.c:
- Removed CWD from php_ini_search_path when using CLI SAPI.
-
-2002-02-28 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/sysvshm/sysvshm.c
- sapi/aolserver/aolserver.c
- sapi/apache2filter/php_functions.c
- ext/mcrypt/mcrypt.c
- ext/mhash/mhash.c: Use {NULL, NULL, NULL} to terminate function entry.
-
-2002-02-28 Edin Kadribasic <edink@proventum.net>
-
- * sapi/cgi/config.m4: Default name of CGI binary changed to php-cgi.
-
-2002-02-28 Marc Boeren <M.Boeren@guidance.nl>
-
- * NEWS: Added entry that I forgot when comitting the code (Mc)
-
-2002-02-28 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * win32/imap_sendmail.c
- scripts/conv_z_macros
- sapi/apache2filter/php_apache.h
- sapi/apache2filter/php_functions.c
- sapi/isapi/php4isapi.c
- sapi/apache/mod_php4.h
- sapi/apache/php_apache.c
- sapi/apache2filter/apache_config.c
- pear/XML/Parser.php
- pear/PEAR/Command/Install.php
- pear/Schedule/At.php
- pear/PEAR/Command/Common.php
- pear/PEAR/Dependency.php
- pear/PEAR/Installer.php
- pear/PEAR/Packager.php
- pear/PEAR/Registry.php
- pear/PEAR/Remote.php
- pear/PEAR/Uploader.php
- pear/Net/Dig.php
- pear/Net/SMTP.php
- pear/PEAR/Command.php
- pear/PEAR/CommandResponse.php
- pear/PEAR/Common.php
- pear/PEAR/Config.php
- pear/Mail/mail.php
- pear/Mail/sendmail.php
- pear/Mail/smtp.php
- pear/Net/Curl.php
- pear/File/SearchReplace.php
- pear/HTML/Common.php
- pear/HTML/IT.php
- pear/HTML/ITX.php
- pear/HTML/IT_Error.php
- pear/HTML/Menu_Browser.php
- pear/HTML/Page.php
- pear/HTML/Processor.php
- pear/HTML/Select.php
- pear/Experimental/Image/gbutton.php
- pear/Experimental/Image/gtext.php
- pear/File/Find.php
- pear/File/Passwd.php
- pear/DB/odbc.php
- pear/DB/storage.php
- pear/DB/sybase.php
- pear/Date/Human.php
- pear/Experimental/Image/color_helper.php
- pear/DB/msql.php
- pear/DB/mssql.php
- pear/DB/mysql.php
- pear/DB/oci8.php
- pear/DB/ifx.php
- pear/DB/dbase.php
- pear/DB/fbsql.php
- pear/DB/ibase.php
- pear/DB/common.php
- pear/Console/Getopt.php
- pear/Archive/Tar.php
- pear/CMD.php
- pear/HTTP.php
- pear/Mail.php
- pear/PEAR.php
- pear/System.php
- main/php_open_temporary_file.h
- main/php_output.h
- main/php_reentrancy.h
- main/php_sprintf.c
- main/php_streams.h
- main/php_ticks.c
- main/php_ticks.h
- main/reentrancy.c
- main/safe_mode.c
- main/snprintf.h
- main/streams.c
- main/build-defs.h.in
- main/fopen_wrappers.h
- main/network.c
- main/php_content_types.c
- main/php_globals.h
- main/php_logos.c
- main/php_network.h
- main/php_open_temporary_file.c
- ext/zlib/zlib_fopen_wrapper.c
- main/SAPI.h
- ext/xslt/xslt.c
- ext/yaz/php_yaz.c
- ext/yaz/php_yaz.h
- ext/zip/php_zip.h
- ext/zip/zip.c
- ext/xslt/php_xslt.h
- ext/xslt/sablot.c
- ext/xmlrpc/xmlrpc-epi-php.c
- ext/xslt/php_sablot.h
- ext/xmlrpc/php_xmlrpc.h
- ext/wddx/wddx.c
- ext/xml/xml.c
- ext/w32api/test_dll/test_dll.c
- ext/wddx/php_wddx.h
- ext/w32api/examples/uptime.php
- ext/w32api/test_dll/dll_test.h
- ext/w32api/w32api.c
- ext/w32api/php_w32api.h
- ext/sysvshm/sysvshm.c
- ext/tokenizer/php_tokenizer.h
- ext/tokenizer/tokenizer.c
- ext/vpopmail/php_vpopmail.c
- ext/sysvsem/sysvsem.c
- ext/sysvshm/php_sysvshm.h
- ext/sybase_ct/php_sybase_ct.h
- ext/sysvsem/php_sysvsem.h
- ext/standard/url_scanner_ex.h
- ext/standard/url_scanner_ex.re
- ext/standard/versioning.c
- ext/sybase/php_sybase_db.h
- ext/standard/reg.c
- ext/standard/reg.h
- ext/standard/scanf.c
- ext/standard/scanf.h
- ext/standard/syslog.c
- ext/standard/type.c
- ext/standard/uniqid.c
- ext/standard/uniqid.h
- ext/standard/url.c
- ext/standard/url.h
- ext/standard/url_scanner_ex.c
- ext/standard/php_metaphone.h
- ext/standard/php_parsedate.h
- ext/standard/php_rand.h
- ext/standard/php_smart_str.h
- ext/standard/php_smart_str_public.h
- ext/standard/php_standard.h
- ext/standard/php_string.h
- ext/standard/php_type.h
- ext/standard/php_var.h
- ext/standard/php_versioning.h
- ext/standard/quot_print.c
- ext/standard/quot_print.h
- ext/standard/rand.c
- ext/standard/php_image.h
- ext/standard/php_iptc.h
- ext/standard/php_lcg.h
- ext/standard/php_link.h
- ext/standard/php_mail.h
- ext/standard/php_math.h
- ext/standard/info.h
- ext/standard/iptc.c
- ext/standard/lcg.c
- ext/standard/link.c
- ext/standard/mail.c
- ext/standard/math.c
- ext/standard/md5.c
- ext/standard/md5.h
- ext/standard/metaphone.c
- ext/standard/microtime.c
- ext/standard/microtime.h
- ext/standard/pack.c
- ext/standard/pack.h
- ext/standard/pageinfo.c
- ext/standard/pageinfo.h
- ext/standard/php_assert.h
- ext/standard/php_browscap.h
- ext/standard/php_crypt.h
- ext/standard/php_dir.h
- ext/standard/php_ext_syslog.h
- ext/standard/php_fopen_wrapper.c
- ext/standard/php_fopen_wrappers.h
- ext/standard/php_ftok.h
- ext/standard/file.h
- ext/standard/filestat.c
- ext/standard/flock_compat.c
- ext/standard/flock_compat.h
- ext/standard/formatted_print.c
- ext/standard/fsock.h
- ext/standard/ftok.c
- ext/standard/ftp_fopen_wrapper.c
- ext/standard/head.c
- ext/standard/head.h
- ext/standard/html.c
- ext/standard/html.h
- ext/standard/http_fopen_wrapper.c
- ext/standard/image.c
- ext/standard/info.c
- ext/standard/aggregation.h
- ext/standard/assert.c
- ext/standard/base64.c
- ext/standard/base64.h
- ext/standard/browscap.c
- ext/standard/crc32.c
- ext/standard/crc32.h
- ext/standard/credits.c
- ext/standard/credits.h
- ext/standard/crypt.c
- ext/standard/cyr_convert.c
- ext/standard/cyr_convert.h
- ext/standard/dir.c
- ext/standard/dns.c
- ext/standard/dns.h
- ext/standard/exec.h
- ext/standard/file.c
- ext/snmp/snmp.c
- ext/standard/aggregation.c
- ext/snmp/php_snmp.h
- ext/shmop/php_shmop.h
- ext/shmop/shmop.c
- ext/session/mod_files.h
- ext/session/mod_mm.c
- ext/session/mod_mm.h
- ext/session/mod_user.c
- ext/session/mod_user.h
- ext/session/php_session.h
- ext/readline/readline.c
- ext/recode/php_recode.h
- ext/recode/recode.c
- ext/session/mod_files.c
- ext/qtdom/qtdom.h
- ext/readline/php_readline.h
- ext/posix/posix.c
- ext/pspell/php_pspell.h
- ext/pspell/pspell.c
- ext/qtdom/qtdom.c
- ext/posix/php_posix.h
- ext/pcntl/php_pcntl.h
- ext/pcntl/php_signal.c
- ext/pcntl/php_signal.h
- ext/pcre/php_pcre.c
- ext/pcre/php_pcre.h
- ext/pdf/php_pdf.h
- ext/pcntl/pcntl.c
- ext/overload/overload.c
- ext/overload/php_overload.h
- ext/ovrimos/ovrimos.c
- ext/oracle/oracle.c
- ext/odbc/php_odbc.h
- ext/odbc/php_velocis.h
- ext/odbc/velocis.c
- ext/openssl/openssl.c
- ext/odbc/php_odbc.c
- ext/notes/php_notes.h
- ext/oci8/oci8.c
- ext/ncurses/ncurses_fe.c
- ext/ncurses/ncurses_functions.c
- ext/ncurses/php_ncurses.h
- ext/ncurses/php_ncurses_fe.h
- ext/notes/php_notes.c
- ext/mysql/php_mysql.h
- ext/ncurses/ncurses.c
- ext/mssql/php_mssql.c
- ext/mssql/php_mssql.h
- ext/mysql/php_mysql.c
- ext/msql/php_msql.c
- ext/msql/php_msql.h
- ext/mnogosearch/php_mnogo.c
- ext/mnogosearch/php_mnogo.h
- ext/msession/php_msession.h
- ext/mhash/mhash.c
- ext/mbstring/mbstring.h
- ext/mcve/mcve.c
- ext/mailparse/php_mailparse.h
- ext/mailparse/rfc2045appendurl.c
- ext/mbstring/mbstring.c
- ext/mailparse/mailparse.c
- ext/ircg/ircg_scanner.c
- ext/ircg/ircg_scanner.re
- ext/ircg/php_ircg.h
- ext/ldap/ldap.c
- ext/imap/php_imap.h
- ext/ircg/ircg.c
- ext/imap/php_imap.c
- ext/hyperwave/hg_comm.h
- ext/hyperwave/hw.c
- ext/hyperwave/hw_error.h
- ext/hyperwave/php_hyperwave.h
- ext/icap/php_icap.c
- ext/gmp/php_gmp.h
- ext/hyperwave/hg_comm.c
- ext/gmp/gmp.c
- ext/gd/gdt1.c
- ext/gd/gdt1.h
- ext/gd/php_gd.h
- ext/ftp/ftp.h
- ext/ftp/php_ftp.c
- ext/ftp/php_ftp.h
- ext/gd/gd.c
- ext/fribidi/php_fribidi.h
- ext/ftp/ftp.c
- ext/filepro/php_filepro.h
- ext/fribidi/fribidi.c
- ext/fbsql/php_fbsql.h
- ext/fdf/php_fdf.h
- ext/filepro/filepro.c
- ext/domxml/php_domxml.h
- ext/fbsql/php_fbsql.c
- ext/dbplus/php_dbplus.h
- ext/dio/dio.c
- ext/dio/php_dio.h
- ext/domxml/php_domxml.c
- ext/dbplus/dbplus.c
- ext/dbplus/php_dbplus.c
- ext/dbase/dbase.c
- ext/dbase/php_dbase.h
- ext/dba/php_dba.h
- ext/dba/dba_dbm.c
- ext/dba/dba_gdbm.c
- ext/dba/dba_ndbm.c
- ext/dba/dba_cdb.c
- ext/dba/dba_db2.c
- ext/dba/dba_db3.c
- ext/dba/dba.c
- ext/db/db.c
- ext/db/php_db.h
- ext/cyrus/cyrus.c
- ext/cyrus/php_cyrus.h
- ext/cybermut/cybermut.c
- ext/cybermut/php_cybermut.h
- ext/cybercash/cybercash.h
- ext/ctype/ctype.c
- ext/ctype/php_ctype.h
- ext/crack/crack.c
- ext/crack/php_crack.h
- ext/cpdf/php_cpdf.h
- ext/cpdf/cpdf.c
- ext/ccvs/ccvs.c
- ext/ccvs/ccvs.h
- ext/bz2/bz2.c
- ext/bz2/php_bz2.h
- ext/bcmath/php_bcmath.h
- ext/bcmath/bcmath.c
- ext/aspell/php_aspell.h
- ext/aspell/aspell.c
- build/rules_pear.mk
- build/sysv_makefile
- build/rules.mk
- build/rules_common.mk
- build/mkdep.awk
- build/program.mk
- build/ltlib.mk
- build/fastgen.sh
- build/library.mk
- build/build2.mk
- build/dynlib.mk
- build/bsd_makefile
- build/build.mk
- dynlib.m4
- header
- run-tests.php: Maintain headers.
-
-2002-02-28 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * CODING_STANDARDS:
- Recommend ZEND_* macro over PHP_* macro as discussed in php-dev.
-
-2002-02-28 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * ext/exif/exif.c
- ext/exif/php_exif.h: Fix headers.
-
-2002-02-28 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * README.CVS-RULES: Added how to put bug ID in commit message.
-
-2002-02-28 Rasmus Lerdorf <rasmus@php.net>
-
- * main/rfc1867.c:
- That code made no sense - fix it to do what was originally intended
-
-2002-02-28 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/iconv/iconv.c: Fix iconv. Patch by (itai@siftology.com)
-
-2002-02-28 Marcus Börger <marcus.boerger@post.rwth-aachen.de>
-
- * ext/exif/php_exif.h
- ext/exif/exif.c
- ext/exif/CREDITS: +Added UNICODE support for Comments
- +Added Description,Artist
- +Added missing memory deallocation
- +Corrected error with multiple comments
- +Corrected handling of ExifVersion, Tag has 4 ASCII characters *WITHOUT* NUL
- +Corrected handling of Thumbnailsize if current source detects size < 0
- +Changed all fields to char* that do not have a maximum length in EXIF standard
- +Undocumented second Parameter ReadAll frees memory to early -> moved to third position default changed to false -> faster
- +New second Parameter [true|false] to specify whether or not to to read thumbnails -> reading is timeconsumpting suppose default should be false -> done so
-
-2002-02-27 Rasmus Lerdorf <rasmus@php.net>
-
- * php.ini-dist:
- Drop this default to 12 to avoid some of the .000000000000001 questions.
- I can't imagine much of a BC issue, and we aren't changing existing php.ini
- files anyway. If someone can think of a problem with this, please speak up
-
-2002-02-27 Brad House <brad@mainstreetsoftworks.com>
-
- * ext/mcve/CREDITS
- ext/mcve/Makefile.in
- ext/mcve/config.m4
- ext/mcve/mcve.c
- ext/mcve/mcve.php
- ext/mcve/php_mcve.h
- ext/mcve/tests/001.phpt
- ext/mcve/tests/mcve_simple_test.php
- ext/mcve/tests/mcve_test1.php
- ext/mcve/tests/mcve_test2.php:
- Initial MCVE extension added (Credit Card Processing)
-
-2002-02-27 Andrei Zmievski <andrei@ispi.net>
-
- * ext/overload/EXPERIMENTAL
- ext/overload/README: This has been scaring people off.
-
-2002-02-27 Jani Taskinen <sniper@iki.fi>
-
- * NEWS: - Missed this one..
-
-2002-02-27 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/standard/basic_functions.c: - Fix proto
-
-2002-02-27 Adam Dickmeiss <adam@indexdata.dk>
-
- * ext/yaz/php_yaz.c
- ext/yaz/php_yaz.h: Implemented yaz_schema. Cleanup. 1.8 YAZ required
-
-2002-02-27 Jani Taskinen <sniper@iki.fi>
-
- * configure.in
- main/php_version.h: Fixed minor typo.
-
-2002-02-27 Derick Rethans <d.rethans@jdimedia.nl>
-
- * main/php_version.h: - Oops... wishful thinking here :)
-
- * main/php_version.h
- configure.in: - Update version number
-
-2002-02-27 James Cox <james@awpimajes.com>
-
- * NEWS: correcting grammar so it's readable
-
-2002-02-27 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * NEWS: Add 4.1.2 NEWS entries to HEAD.
-
-2002-02-27 Zeev Suraski <zeev@zend.com>
-
- * main/php_version.h
- NEWS
- configure.in: Go with 4.1.2
-
-2002-02-27 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * sapi/servlet/servlet.java:
- URLEncoder.encode(string) is deprecated in the Java 2 SDK 1.4.
-
-2002-02-26 Andi Gutmans <andi@zend.com>
-
- * main/php_main.h
- main/main.c:
- - Hopefully fix the shutdown_memory_manager() stuff. Part of my previous
- - patch seems to have gotten lost
-
-2002-02-26 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/session/session.c: - Bring error message back
-
-2002-02-26 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * main/main.c: TSRM Cleanup.
-
-2002-02-26 Andi Gutmans <andi@zend.com>
-
- * main/main.c
- main/php_main.h: - Pass shutdown_memory_manager the TSRMLS context.
-
-2002-02-26 Rasmus Lerdorf <rasmus@php.net>
-
- * NEWS: There are no fdf changes in this branch as far as I can see. Not
- sure where this NEWS item came from.
-
- * NEWS: Remove gd NEWS item
-
- * ext/gd/config.m4: This line makes no sense to me
-
-2002-02-26 Zeev Suraski <zeev@zend.com>
-
- * NEWS: Beautify
-
-2002-02-26 Dan Kalowsky <dank@deadmime.org>
-
- * ext/odbc/php_odbc.c:
- Bug fix 15719 as submited by Joseph Southwell and allows NULL values in ODBC
-
-2002-02-26 Edin Kadribasic <edink@proventum.net>
-
- * ext/standard/dl.c:
- Allow use of dl() when CLI is compiled with ZTS (bug #15717).
-
-2002-02-25 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pspell/pspell.c: Fix pspell function entry
-
-2002-02-25 jim winstead <jimw@apache.org>
-
- * sapi/apache/config.m4:
- make it more clear that --with-apache and --with-apxs only work with apache 1.x.
-
-2002-02-25 Thomas V.V.Cox <cox@idecnet.com>
-
- * pear/DB/ibase.php:
- Experimental support for handling all the parameters accepted by
- ibase_connect().
-
-2002-02-25 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * NEWS:
- Add news for mm save handler and multiple SAPI start up problem fix
-
- * ext/session/mod_mm.c
- ext/session/session.c: MFH
- - Fixed CGI (or other SAPI) start up failure when mm save handler is used
-
-2002-02-24 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * pear/DB/pgsql.php:
- fixed error message handling with PostgreSQL 7.2
-
-2002-02-24 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/standard/var.c: - Fix the fix.. no need to escape " in single quotes
-
- * ext/standard/var.c: - Add slashes around string output
-
- * win32/install.txt: - Update with XP (Thanx to Jan for the patch)
-
-2002-02-24 Stig Bakken <ssb@fast.no>
-
- * pear/package.dtd: * fix broken dtd
-
-2002-02-24 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * ext/wddx/wddx.c: Make phpinfo() look nicer.
-
-2002-02-23 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/xslt/sablot.c:
- - Fix info output (Peter Neuman <neuman_peter@hotmail.com>).
-
-2002-02-23 Thomas V.V.Cox <cox@idecnet.com>
-
- * pear/package.dtd:
- DTD corrections (make it require minimal data for installer)
-
-2002-02-23 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Command/Common.php
- pear/PEAR/Command/Install.php
- pear/PEAR/Command.php
- pear/PEAR/CommandResponse.php
- pear/PEAR/Packager.php:
- * started implementing new "cross-environment" command API
-
-2002-02-23 Holger Zimmermann <zimpel@t-online.de>
-
- * sapi/pi3web/pi3web_sapi.h
- sapi/pi3web/pi3web_sapi.c:
- Fixed functionality to read in server variables.
-
-2002-02-23 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * pear/DB/MAINTAINERS
- pear/DB/pgsql.php: updated message format for PostgreSQL 7.2.
-
-2002-02-23 Thomas V.V.Cox <cox@idecnet.com>
-
- * pear/README: Point readers to pear web
-
- * pear/TODO: outdated TODO not needed for the moment
-
-2002-02-23 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * NEWS: NEWS updated.
-
- * ext/mbstring/mbstring.c
- ext/gd/config.m4
- ext/fdf/Makefile.in:
- - fixed configuration problem as shared extension for fdf.
- - fixed configuration problem as shared extension for gd with freetype1.
- - default output encoding of mbstring changed to pass to fix initialization problem.
-
- * ext/gd/config.m4: fixed configure error with freetype1.
-
- * ext/mbstring/mbstring.c
- ext/mbstring/php_mbregex.c:
- fixed a comment and default output encoding changed to pass.
-
- * ext/mbstring/mbfilter.c: php.h included.
-
-2002-02-22 Christian Stocker <chregu@phant.ch>
-
- * pear/HTML/ITX.php: E_ALL fix
-
-2002-02-22 Vincent Blavet <vincent@blavet.net>
-
- * pear/PEAR/Installer.php
- pear/PEAR/Packager.php:
- * Packager : Changing the order of the files in the package archive file.
- The package.xml file is now at the 'root' of the archive, the files tree are under a 'packagename'-'packageversion' folder
- * Installer : installing the knew archive format AND supporting the existing format
-
-2002-02-22 Frank M. Kromann <frank@frontbase.com>
-
- * ext/fbsql/php_fbsql.c: Return true on update success.
-
-2002-02-22 Rasmus Lerdorf <rasmus@php.net>
-
- * NEWS: Keep track of what has gone into 4.1.2 so far
-
-2002-02-22 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/session/session.c:
- Fix crash bug. 4th parameter is not incremental value, but it's assigned.
-
- * ext/pspell/pspell.c: Fix crash bug 15607
-
-2002-02-21 Stefan Esser <s.esser@e-matters.de>
-
- * main/rfc1867.c: fixing boundary check before someone other does it...
-
-2002-02-21 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/standard/math.c
- ext/standard/php_math.h
- ext/standard/basic_functions.c: Added fmod() function
-
-2002-02-21 Mika Tuupola <tuupola@appelsiini.net>
-
- * pear/File/Find.php:
- * Update PHPDoc.
-
-2002-02-21 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * win32/php4dllts.dsp
- win32/php4dll.dsp: Add aggregation to Win32 build.
-
-2002-02-21 Andrei Zmievski <andrei@ispi.net>
-
- * ext/standard/basic_functions.h
- ext/standard/php_standard.h
- ext/standard/tests/aggregation/.cvsignore
- ext/standard/tests/aggregation/aggregate.lib.php
- ext/standard/tests/aggregation/aggregate.phpt
- ext/standard/tests/aggregation/aggregate_methods.phpt
- ext/standard/tests/aggregation/aggregate_methods_by_list.phpt
- ext/standard/tests/aggregation/aggregate_methods_by_regexp.phpt
- ext/standard/tests/aggregation/aggregate_properties.phpt
- ext/standard/tests/aggregation/aggregate_properties_by_list.phpt
- ext/standard/tests/aggregation/aggregate_properties_by_regexp.phpt
- ext/standard/tests/aggregation/aggregation_info.phpt
- ext/standard/tests/aggregation/deaggregate.phpt
- ext/standard/aggregation.c
- ext/standard/aggregation.h
- ext/standard/basic_functions.c
- ext/standard/Makefile.in
- NEWS: Adding object aggregation capability along with tests.
-
-2002-02-21 Sean Bright <elixer@erols.com>
-
- * acinclude.m4: Fix for bug #15605
-
-2002-02-20 Christian Stocker <chregu@phant.ch>
-
- * ext/domxml/php_domxml.c: "o|a|b" is not valid ZE code. changed to "o|ab"
-
-2002-02-20 Vincent Blavet <vincent@blavet.net>
-
- * pear/scripts/pearwin.php:
- Config variables must be set between "" while using pear.bat windows script
-
- * pear/Archive/Tar.php:
- * Correct bug while using windows dir separator. It is now supported
-
-2002-02-20 Rasmus Lerdorf <rasmus@php.net>
-
- * ext/standard/crc32.c
- ext/standard/crc32.h:
- Split CRC32 table out into a header file so other code can use it
-
-2002-02-20 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/iconv/iconv.c: - Fix for bug #15628 (for real now :)
-
- * sapi/nsapi/nsapi-readme.txt: - Reformatting
-
- * ext/iconv/iconv.c: - Fix for bug #15638
-
-2002-02-19 David Hedbor <david@hedbor.org>
-
- * sapi/caudium/caudium.c: Fixed environment hashing again.
-
-2002-02-19 Derick Rethans <d.rethans@jdimedia.nl>
-
- * genfiles: - Fix removal of #line lines
-
- * EXTENSIONS: - Update to note that I'm the mcrypt extension maintainer
-
-2002-02-19 Marc Boeren <M.Boeren@guidance.nl>
-
- * EXTENSIONS: changed comment for dbx module
-
-2002-02-19 Dan Kalowsky <dank@deadmime.org>
-
- * EXTENSIONS:
-2002-02-18 Martin Jansen <mail@martin-jansen.de>
-
- * pear/PEAR.php: ='typo'
-
-2002-02-18 Marc Boeren <M.Boeren@guidance.nl>
-
- * ext/dbx/dbx.c
- ext/dbx/dbx_sybasect.h:
- Oops: source copy&paste should be done with care :) (Mc)
-
- * ext/dbx/CREDITS
- ext/dbx/Makefile.in
- ext/dbx/dbx.c
- ext/dbx/dbx.dsp
- ext/dbx/dbx_sybasect.c
- ext/dbx/dbx_sybasect.h
- ext/dbx/tests/002.phpt
- ext/dbx/tests/005.phpt
- ext/dbx/tests/006.phpt
- ext/dbx/tests/dbx_test.p:
- Added support for Sybase-CT to dbx module (Mc).
-
-2002-02-18 Ludovico Magnocavallo <ludo@sumatrasolutions.com>
-
- * pear/DB/ibase.php: fixed typo
-
-2002-02-17 Martin Jansen <mail@martin-jansen.de>
-
- * pear/scripts/pearcmd-info.php: * Fix for bug #15500
-
-2002-02-17 Stig Bakken <ssb@fast.no>
-
- * pear/package.dtd: * allow <license> in both <package> and <release>
- * added <changelog> element
- * added "data" role for files
- * allow nested <dir> elements
-
-2002-02-17 Alex Waugh <alex@alexwaugh.com>
-
- * sapi/webjames/webjames.c: Updated to new TSRM macros
-
-2002-02-17 Mika Tuupola <tuupola@appelsiini.net>
-
- * pear/File/Find.php:
- * added mapTreeMultiple() method.
-
-2002-02-17 Jon Parise <jon@csh.rit.edu>
-
- * pear/Makefile.in:
- Image/Remote.php and Mail/mime.php have moved to the pear/ repository.
-
-2002-02-15 Andrei Zmievski <andrei@ispi.net>
-
- * NEWS: Fix.
-
-2002-02-15 Jason Greene <jason@inetgurus.net>
-
- * ext/sockets/sockets.c: Fix parse string
- (Since arg6 is initialized at null this still catches the wrong param condition)
-
-2002-02-15 Dan Kalowsky <dank@deadmime.org>
-
- * ext/odbc/php_odbc.c:
- fix for bug 15516, patch submitted by torben@php.net
-
-2002-02-15 Derick Rethans <d.rethans@jdimedia.nl>
-
- * sapi/cgi/cgi_main.c
- sapi/cli/php_cli.c: - Make the errorcode 255. (Doing docs right away)
-
-2002-02-15 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/config.m4: Fix problem with sesssion_pgsql module
-
-2002-02-15 Sean Bright <elixer@erols.com>
-
- * ext/xslt/config.m4: Fix cosmetic bug. (#15142)
-
-2002-02-14 Derick Rethans <d.rethans@jdimedia.nl>
-
- * sapi/cgi/cgi_main.c
- sapi/cli/php_cli.c
- sapi/pi3web/pi3web_sapi.c
- main/main.c:
- - Let php_execute_script return 0 on failure and 1 on sucess, and change
- SAPIs accordingly. (Andrei, Derick)
-
-2002-02-14 Adam Daniel <adaniel2@cinci.rr.com>
-
- * pear/HTML/Page.php:
- changed html tags to lowercase and added Nils-Fredrik G. Kaland's
- suggested array support to toHtml
-
-2002-02-14 Edin Kadribasic <edink@proventum.net>
-
- * sapi/cli/php_cli.c: Turned implicit_flush on.
- Cleaned up help text.
-
- * sapi/cli/README: Added README file for CLI SAPI.
-
-2002-02-14 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/ncurses/ncurses.c: - Remove duplicate constant
-
-2002-02-13 Frank M. Kromann <frank@frontbase.com>
-
- * ext/sockets/sockets.dsp: Fixing release and debug build on Win32
-
-2002-02-13 Vincent Blavet <vincent@blavet.net>
-
- * pear/scripts/pearwin.php:
- * Synchronize pearwin script with pearcmd-xxx.php commands
- * Still work to do
-
- * pear/scripts/pearcmd-list.php:
- * user system/user config rather than default value
-
-2002-02-13 Yavor Shahpasov <yavo@itenasolutions.com>
-
- * pear/HTML/Select.php:
- Initialize $this->_values to avoid warrnings in case _values property is not set
-
- * pear/Schedule/At.php: White spaces.
-
-2002-02-13 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/dbx/dbx_pgsql.c: Fix memory leaks.
-
-2002-02-13 Marc Boeren <M.Boeren@guidance.nl>
-
- * ext/dbx/dbx_pgsql.c:
- Fixed bug where users with empty passwords could not connect. (Mc)
-
-2002-02-13 Vincent Blavet <vincent@blavet.net>
-
- * pear/scripts/pearwin.php:
- - Adding support for remote-list command (with XML-RPC installed)
- - Start support of show-config (still work to do ...)
-
-2002-02-13 Andrei Zmievski <andrei@ispi.net>
-
- * NEWS: Ack.
-
-2002-02-13 Stig Bakken <ssb@fast.no>
-
- * pear/PEAR/Installer.php: * "pear-get install Auth" works now
-
- * pear/PEAR/Remote.php: * don't use ext/overload yet
-
- * pear/scripts/pearcmd-remote-list.php: * print package name
-
-2002-02-12 Jason Greene <jason@inetgurus.net>
-
- * NEWS: Fix entry
-
-2002-02-12 Jan Lehnardt <jan@lehnardt.de>
-
- * pear/DB/mysql.php:
- - added default case for mysql_select_db error handling. It throws a
- - DB_ERROR (unknown error) in the default case.
-
- * pear/DB.php
- pear/DB/mysql.php:
- - added support for different error messages for the following cases:
- -
- - if a user with unsufficient permissions trys to select a database
- - PEAR::DB previously threw a "no database selected" error instead
- - of a more proper "insufficient permissions". This is fixed now.
- -
- - if a user selects a nonexistant database PEAR::DB threw a
- - "no database selected" error instead of "no such database".
- - This is fixed as well.
- -
- - I added two new constants to DB.php and a simple case construct to
- - DB/mysql.php which can be easily extended to achive the above. I
- - hope this is ok.
- - Thanks to Till Gerken for mentioning this.
-
-2002-02-12 Andrei Zmievski <andrei@ispi.net>
-
- * NEWS: Fix-up.
-
-2002-02-12 Sascha Schumann <sascha@schumann.cx>
-
- * main/network.c: Irix defines AF_INET6, but lacks IPv6 support, including
- struct sockaddr_in6.
-
-2002-02-12 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/pgsql.c: Initialize automatic persistent connection reset flag
-
-2002-02-12 Andrei Zmievski <andrei@ispi.net>
-
- * ext/pcre/php_pcre.h
- ext/pcre/php_pcre.c:
- Fix a long-standing infelicity that resulted in extra regex information
- not being passed to PCRE functions.
-
- * ext/pcre/php_pcre.h
- ext/pcre/php_pcre.c: Expose pcre_get_compiled_regex as an API function.
-
-2002-02-11 Mark L. Woodward <mlwmohawk@mohawksoft.com>
-
- * ext/msession/msession.c: Added one more tweak for 4.0.x compatibility.
- Used "#warning" to inform users of a hard dependency.
- (If #warning is unaccptable, let me know!)
-
-2002-02-11 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * sapi/servlet/README: Fugbix typo.
-
-2002-02-11 Martin Jansen <mail@martin-jansen.de>
-
- * pear/HTTP.php: * Fix bug #15423.
-
-2002-02-11 Richard Heyes <richard.heyes@heyes-computing.net>
-
- * pear/Mail/mime.php
- pear/Mail/mimeDecode.php
- pear/Mail/mimePart.php
- pear/Mail/xmail.dtd
- pear/Mail/xmail.xsl:
- * Removed these files as they're now in /pear/Mail_Mime
-
-2002-02-11 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/ldap/ldap.c: - Fix protos.
-
-2002-02-10 Sean Bright <elixer@erols.com>
-
- * ext/gmp/gmp.c:
- '0b' could be the beginning of a hex string (without leading '0x') so if
- the user specifies base 16, use that instead.
-
- * ext/gmp/tests/003.phpt: Add a new test for GMP base recognition.
-
- * ext/gmp/gmp.c: Fix for bugs #10133 and #15454.
-
- Bug #15454 results from a bug in GMP. If you pass in a string '0xABCD' and
- specify a base of 0, GMP figures out that it is hex and skips over the 0x
- characters. If you specify base 16, then it doesn't skip those chars.
- This was confirmed with the following test program:
-
-
- int main()
- {
- char *str_one, *str_two;
- mpz_t num_one, num_two;
-
- mpz_init_set_str (num_one, "0x45", 0);
- str_one = mpz_get_str(NULL, 10, num_one);
-
- mpz_init_set_str (num_two, "0x45", 16);
- str_two = mpz_get_str(NULL, 10, num_two);
-
- printf("%s / %s\n", str_one, str_two);
-
- mpz_clear (num_one);
- mpz_clear (num_two);
-
- return 0;
- }
-
- We now take anything that starts with 0[xX] as hexidecimal and anything
- that starts 0[bB] as binary (this is what GMP does internally). We also
- no longer force the base to 10 or 16, but instead let GMP decide what the
- best base is, be it hex, dec, or octal.
-
-2002-02-10 Jason Greene <jason@inetgurus.net>
-
- * ext/standard/basic_functions.c
- ext/standard/php_var.h
- ext/standard/var.c: Renamed zval_debug_dump() to debug_zval_dump()
-
-2002-02-10 Thomas V.V.Cox <cox@idecnet.com>
-
- * pear/PEAR/Common.php: Now System will return false on fail
-
- * pear/tests/pear_system.phpt: test suite for the System class
-
- * pear/System.php:
- - Now error will be triggered with trigger_error(). When a command
- fails the function will return false
- - In-line documentation update
-
-2002-02-10 Thies C. Arntzen <thies@thieso.net>
-
- * ext/oci8/oci8.c
- ext/oci8/php_oci8.h:
- only rollback at script end if there is something to rollback.
-
-2002-02-10 Stig Venaas <venaas@uninett.no>
-
- * ext/ftp/ftp.c
- main/network.c
- main/php_network.h:
- Added php_sockaddr_size() in network.c (and the header file). This is used
- in ftp.c to make sure connect() and bind() is called with size argument
- which is exactly the size of the relevant sockaddr_xx structure
-
-2002-02-10 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * pear/Mail/mime.php: Mail/mime/get has wrong parameter name.
-
-2002-02-10 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * ext/tokenizer/tokenizer.c: TSRM fixes.
-
-2002-02-10 Jason Greene <jason@inetgurus.net>
-
- * ext/standard/basic_functions.c
- ext/standard/php_var.h
- ext/standard/var.c: internal information such as refcounts, and the true type names (Jason)
-
-2002-02-10 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/mbstring/mbstring.c: Fix typo
-
-2002-02-09 Andrei Zmievski <andrei@ispi.net>
-
- * ext/tokenizer/php_tokenizer.h
- ext/tokenizer/tokenizer.c: *** empty log message ***
-
-2002-02-09 Stig Bakken <ssb@fast.no>
-
- * ext/tokenizer/tokenizer.c: * ZTS fix
-
-2002-02-08 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * ext/tokenizer/.cvsignore
- ext/tokenizer/tokenizer.dsp
- win32/php_modules.dsw
- php.ini-dist
- php.ini-recommended:
- Add MSVC workspace for tokenizer extension. Add php_tokenizer.dll entries to php.ini-*.
-
-2002-02-08 Thies C. Arntzen <thies@thieso.net>
-
- * ext/oci8/oci8.c
- ext/oci8/php_oci8.h:
- - got rid of unneded calls to OCIAttrGet when reexecuting the same query
- - only invalidate the define list after all rows from a REFCORSOR are read,
- "normal" corsors will now remember their column defines. this means that
- ocigetcolumn[name|type|..] will from now on work even after the result set
- has been read.
-
-2002-02-08 Stig Bakken <ssb@fast.no>
-
- * ext/tokenizer/.cvsignore
- ext/tokenizer/CREDITS
- ext/tokenizer/EXPERIMENTAL
- ext/tokenizer/Makefile.in
- ext/tokenizer/config.m4
- ext/tokenizer/php_tokenizer.h
- ext/tokenizer/tokenizer.c
- ext/tokenizer/tokenizer.php: Added Andrei's tokenizer extension
-
-2002-02-08 Mark L. Woodward <mlwmohawk@mohawksoft.com>
-
- * ext/msession/msession.c:
- Backward compatibility to 4.0.6 does not have "HAVE_PHP_SESSION" define
- Renamed PHP_4_x_API to PHP_4_x
-
-2002-02-07 Sterling Hughes <sterling@bumblebury.com>
-
- * ext/session/php_session.h
- ext/session/session.c:
- move to the ZEND_DECLARE_MODULE_GLOBALS() and ZEND_EXTERN_MODULE_GLOBALS
- macros
-
-2002-02-07 Martin Jansen <mail@martin-jansen.de>
-
- * pear/scripts/pearcmd-remote-list.php: * Better error handling.
-
- * pear/HTTP.php: * Partially fix bug #15423.
-
-2002-02-07 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * main/output.c: Legacy code removed.
- This line incorrectly removes buffer.
- This line was correct only when ouput.c does not support
- nested output buffers. Fixed bug #15178
-
-2002-02-07 Thomas V.V.Cox <cox@idecnet.com>
-
- * pear/DB/common.php
- pear/DB/oci8.php:
- Moved the array_change_key_case() PHP func definition to common
-
- * pear/DB/ibase.php: change column case to lower in compatibility mode
-
- * pear/DB/ibase.php: ws
-
-2002-02-06 Frank M. Kromann <frank@frontbase.com>
-
- * ext/fbsql/php_fbsql.c:
- Convert pLists to output character set before parsing the list
-
- * ext/fbsql/php_fbsql.c: Added order by clause in fbsql_list_tables().
- Table names will now be sorted.
-
- * ext/fbsql/php_fbsql.c
- ext/fbsql/php_fbsql.h:
- Adding fbsql_table_name() aliased fbsql_tablename() for compatibility with MySQL
-
-2002-02-06 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/odbc/config.m4: - Fix for bug 15404
-
-2002-02-06 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/mbstring/mbstring.c: Remove unused line
-
- * ext/mbstring/mbstring.c: Fixed crash with mb_output_handler()
- When mb_output_hanlder is applied muiltiple times, PHP does not output.
- This should be fixed also.
-
-2002-02-06 Thomas V.V.Cox <cox@idecnet.com>
-
- * pear/System.php:
- added 'System::type()' (show the full path of a command)
- Copied almost verbatim from Stig's PEAR_Dependency::checkProgram()
-
-2002-02-06 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/pgsql.c
- ext/pgsql/php_pgsql.h: Clean up code.
- Removed PHP_PGSQL_API macro.
- Define pgsql_globals_id
-
- * ext/pgsql/pgsql.c
- ext/pgsql/php_pgsql.h: Make module specified functions to static.
- Added TSRMLS_D/C, get rid of one TSRMLS_FETCH.
-
-2002-02-05 Andi Gutmans <andi@zend.com>
-
- * ext/wddx/wddx.c
- ext/standard/array.c:
- - Add TSRMLS_FETCH()'s needed for the new object overloading in ZE2.
-
-2002-02-05 Mark L. Woodward <mlwmohawk@mohawksoft.com>
-
- * ext/msession/msession.c:
- Sorry guys, PHP 4.0.6's ZEND_MODULE_API_NO is whacked, it has an extra
- zero, thus ZEND_MODULE_API_NO >= xxxx, will not work for about 18000 years.
- Added better checking, and cleaned up some of the #ifdef you seem to love
- so much.
-
-2002-02-05 Hartmut Holzgraefe <hartmut@six.de>
-
- * ext/msession/msession.c:
- removed the new-style parameter parser code for bc *and* readability
- reasons, changed the remaining #ifdefs to check the api version
- directly instead of using the not really related OLD_ZEND_PARAM macro
-
-2002-02-05 David Eriksson <david@2good.com>
-
- * ext/satellite/.cvsignore
- ext/satellite/Makefile.in
- ext/satellite/README
- ext/satellite/class.c
- ext/satellite/class.h
- ext/satellite/common.c
- ext/satellite/common.h
- ext/satellite/config.m4
- ext/satellite/corba.c
- ext/satellite/corba.h
- ext/satellite/enum.c
- ext/satellite/enum.h
- ext/satellite/findtype.c
- ext/satellite/findtype.h
- ext/satellite/hashtable.c
- ext/satellite/hashtable.h
- ext/satellite/multiple_components.patch
- ext/satellite/namedvalue_to_zval.c
- ext/satellite/namedvalue_to_zval.h
- ext/satellite/object.c
- ext/satellite/object.h
- ext/satellite/php_orbit.c
- ext/satellite/php_orbit.h
- ext/satellite/struct.c
- ext/satellite/struct.h
- ext/satellite/typecode.c
- ext/satellite/typecode.h
- ext/satellite/typemanager.c
- ext/satellite/typemanager.h
- ext/satellite/zval_to_namedvalue.c
- ext/satellite/zval_to_namedvalue.h:
- - Removed Satellite. It is now part of PEAR.
-
-2002-02-05 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * main/output.c: pval -> zval
- Check number of parameters
-
- * main/main.c
- php.ini-dist: register_globals=off is defualt for 4.2.0
-
-2002-02-05 Jani Taskinen <sniper@iki.fi>
-
- * ext/session/session.c: Let's be consistent and use zval instead of pval
-
- * ext/session/php_session.h
- ext/session/session.c: Export php_session_start().
-
- * configure.in:
- The extensions build as shared were installed into wrong place
- even as the layout was PHP.
-
-2002-02-04 Jaroslaw Kolakowski <J.Kolakowski@students.mimuw.edu.pl>
-
- * ext/domxml/php_domxml.c:
- Fixed compile error
-
-2002-02-04 Mark L. Woodward <mlwmohawk@mohawksoft.com>
-
- * ext/msession/msession.c: More 4.0.6 compatibility.
-
- * ext/msession/msession.c: Restored backward compatibility to PHP 4.0.6
-
-2002-02-04 Thomas V.V.Cox <cox@idecnet.com>
-
- * pear/DB/TESTERS: Added How To Run Tests
-
-2002-02-04 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/crack/crack.c
- ext/mailparse/mailparse.c: Fix ZTS startup crash
-
-2002-02-04 Thies C. Arntzen <thies@thieso.net>
-
- * ext/oracle/config.m4: add oracle 9 detection for oracle-module
-
-2002-02-04 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/mbstring/mbstring.c: Remove TSRMLS_FETCH() does not need
-
- * ext/msession/msession.c
- ext/domxml/php_domxml.c: Fix ZTS build
-
-2002-02-03 jim winstead <jimw@apache.org>
-
- * makedist: don't include old changelogs in distribution, either
-
-2002-02-03 Adam Dickmeiss <adam@indexdata.dk>
-
- * Makefile.in
- configure.in:
- Zend config sets ZEND_EXTRA_LIBS. Bugs 14452, 14602, 14616, 14824
-
-2002-02-03 Martin Jansen <mail@martin-jansen.de>
-
- * pear/DB/ibase.php:
- * nextID() and tableInfo() support by Lutz Brueckner <lb@lamuella.de>.
-
-2002-02-03 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/session/mod_files.c
- ext/session/session.c:
- Revert last commit. Last patch has problem for the 1st request.
-
- * ext/session/mod_files.c
- ext/session/session.c: Fixed crash when save_path is invalid.
- Fixed crash when user save handler is incorrectly used.
- Fixed crash when session read failed.
-
- * ext/iconv/tests/001.phpt
- ext/iconv/tests/002.inc
- ext/iconv/tests/002.phpt
- ext/iconv/tests/skipif.inc: Added UCS4 test
-
- * sapi/roxen/roxen.c: MFH
-
-2002-02-02 Shane Caraveo <shane@caraveo.com>
-
- * sapi/isapi/stresstest/getopt.c
- sapi/isapi/stresstest/getopt.h: now needs getopt
-
- * sapi/isapi/stresstest/stresstest.cpp
- sapi/isapi/stresstest/stresstest.dsp: an update to stresstest
-
-2002-02-02 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * sapi/cgi/cgi_main.c
- sapi/fastcgi/fastcgi.c
- sapi/pi3web/pi3web_sapi.c
- sapi/servlet/servlet.c:
- Remove obsolete CG(extended_info) = 0 calls, we already do this in zend_set_default_compile_time_values().
-
- * ext/calendar/french.c
- ext/calendar/julian.c: Consistency.
-
- * ext/calendar/gregor.c
- ext/calendar/jewish.c: Fix a warning.
-
-2002-02-02 Jon Parise <jon@csh.rit.edu>
-
- * configure.in: Revert revision 1.294.
-
- This commit broke things in interesting ways under FreeBSD. By adding these
- default header files to every header check, a number of subsequent checks
- failed (due to unsatisfied header file dependencies). This occured because
- <netinet/in.h>, for example, requires <sys/types.h>. In other words, these
- default includes are not autonomous and don't make workable defaults.
-
-2002-02-02 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * main/fopen_wrappers.c: Fix thread-safe build.
-
-2002-02-02 Stig Bakken <ssb@fast.no>
-
- * pear/DB/odbc.php: * use seqname_format option
-
- * pear/DB/common.php
- pear/DB/fbsql.php
- pear/DB/mssql.php
- pear/DB/mysql.php
- pear/DB/oci8.php
- pear/DB/odbc.php
- pear/DB/pgsql.php:
- * the actual name of the sequences or sequence emulation tables may
- now be configured with the "seqname_format" option
-
- * pear/package.dtd: * add some missing attributes
-
-2002-02-01 Andrei Zmievski <andrei@ispi.net>
-
- * ext/standard/array.c:
- Converted extract() to use smart_str for variable name manipulation. This
- sped it up a bit.
-
-2002-02-01 James E. Flemer <jflemer@acm.jhu.edu>
-
- * main/fopen_wrappers.c
- main/fopen_wrappers.h:
- Changed php.ini directive 'safe_mode_include_dir' to accept a
- (semi)colon separated path, rather than a single directory.
- Also moved checking of said path into a separate path for code
- readability.
-
-2002-02-01 Andrei Zmievski <andrei@ispi.net>
-
- * NEWS: Added is_a() function.
-
-2002-02-01 Adam Dickmeiss <adam@indexdata.dk>
-
- * ext/yaz/php_yaz.c: Fixes in MARC decoder (base adress, DANmarc case).
-
-2002-02-01 Thomas V.V.Cox <cox@idecnet.com>
-
- * pear/DB.php: Fix remote security risk, pointed out by Wolfram Kriesing
-
- * pear/DB/tests/db_parsedsn.phpt
- pear/DB.php:
- Added support for passing special backend params in DSN. Ex:
- ibase://user:pass@localhost/db?role=foo&dialect=bar
-
-2002-02-01 Thies C. Arntzen <thies@thieso.net>
-
- * ext/readline/readline.c: remove some crap
-
-2002-02-01 James Cox <james@awpimajes.com>
-
- * php.gif
- php4.gif
- php4.spec.in:
- 2 years is ages.... and no way temporary. changed the php4 logo to a versionless one.
-
-2002-02-01 Derick Rethans <derick@vl-srm.net>
-
- * ext/gd/gd.c:
- - Fix for bug 14899 (patch by Sander Roobol <sander@php.net>)
-
-2002-02-01 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/iconv/iconv.c:
- Fixed bug with encodings that has 0 byte in strings. Patch by <itai@siftology.com>
- Fixed possible problem with encodings that a char can be larger than
- 4 bytes.
-
-2002-01-31 James Cox <james@awpimajes.com>
-
- * LICENSE: updating license to 2002 (hasn't been done since 2000)
-
-2002-01-31 Boian Bonev <boian@bonev.com>
-
- * ext/vpopmail/php_vpopmail.c: fix comment
-
-2002-01-31 Martin Jansen <mail@martin-jansen.de>
-
- * pear/HTTP.php: * Fix bug #15313
-
-2002-01-31 Bertrand Mansion <bmansion@mamasam.com>
-
- * pear/HTML/Table.php: Thanks to Arnaud Limbourg:
- - phpDoc and cosmetic fixes
-
-2002-01-31 Derick Rethans <derick@vl-srm.net>
-
- * ext/standard/dl.c:
- - Fix for bug 15311 (type mismatch of php_dl when #ifndef HAVE_LIBDL)
-
-2002-01-31 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * sapi/roxen/roxen.c: A fix for the bug number 13231 & 11699.
- Makes the roxen support compile. Patch by Lars Wilhelmsen <lars@sral.org>
-
-2002-01-31 Derick Rethans <derick@vl-srm.net>
-
- * ext/openssl/openssl.c: - Fix for openssl_pkcs7_sign segfaults
- (patch by Christian Stocker <chregu@php.net>)
-
-2002-01-31 Stig Bakken <ssb@fast.no>
-
- * pear/scripts/pearize.in: * lowercase tags and attributes
-
- * pear/Makefile.in: * remove broken rule for rebuilding Makefile
-
-2002-01-31 Edin Kadribasic <edink@proventum.net>
-
- * main/main.c: Ignore register_globals for $argc and $argv under CLI SAPI.
-
-2002-01-30 Edin Kadribasic <edink@proventum.net>
-
- * acinclude.m4
- configure.in
- sapi/cli/Makefile.in:
- Enable extensions to specify that they are not supposed to be
- built with the CLI SAPI. This is done by passing "nocli" as the
- 3rd parameter to PHP_EXTENSION macro.
-
-2002-01-30 Dan Kalowsky <dank@deadmime.org>
-
- * ext/odbc/php_odbc.c: Fix for bug #14803
-
-2002-01-30 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * sapi/servlet/README: Fugbix typo. Update path to /lib/optional.
-
-2002-01-30 Stig Bakken <ssb@fast.no>
-
- * pear/Makefile.in: * don't make command libs executable
-
- * pear/scripts/pear-get.in
- pear/scripts/pear.in
- pear/scripts/pearcmd-common.php
- pear/scripts/pearcmd-help.php
- pear/scripts/pearcmd-info.php
- pear/scripts/pearcmd-install.php
- pear/scripts/pearcmd-list.php
- pear/scripts/pearcmd-package.php
- pear/scripts/pearcmd-remote-list.php
- pear/scripts/pearcmd-show-config.php
- pear/scripts/pearcmd-uninstall.php
- pear/Makefile.in:
- * modularize "pear" and "pear-get" commands somewhat. checking options
- etc. is done for both in pearcmd-common.php.
-
- * pear/PEAR/Common.php: * silence warning
-
- * pear/HTML/Form.php: * XHTML fixes by Hans Westerbeek
-
- * pear/package.dtd: * bring DTD up to date
-
-2002-01-30 Thies C. Arntzen <thies@thieso.net>
-
- * ext/oci8/oci8.c: enable "user-interrupts"
-
-2002-01-29 Chuck Hagenbuch <chuck@horde.org>
-
- * pear/DB/mysql.php:
- Fix errors caused by not checking for variables before using them.
-
-2002-01-29 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * win32/php_modules.dsw: Overload is built-in.
-
-2002-01-29 Stig Bakken <ssb@fast.no>
-
- * pear/DB/oci8.php: typo :)
-
-2002-01-28 Stig Bakken <ssb@fast.no>
-
- * pear/Net/Socket.php:
- * doc comments, add setTimeout() and getStatus(), thanks to
- Mads Mohr Christensen <mohr@slamkode.dk>
-
-2002-01-28 Sterling Hughes <sterling@designmultimedia.com>
-
- * EXTENSIONS: Commit for mr. torben:
- Add XSLT to extensions file, mark sablot obsolete
-
-2002-01-28 Jon Parise <jon@csh.rit.edu>
-
- * ext/standard/math.c: These are now defined in zend_config.w32.h.
-
-2002-01-28 Thomas V.V.Cox <cox@idecnet.com>
-
- * pear/DB/dbase.php:
- PEAR dbase driver. Supports, connect, fetch modes, row limit,
- numrows and numcols.
-
-2002-01-28 jim winstead <jimw@apache.org>
-
- * ext/interbase/Makefile.in: testing checkin
-
-2002-01-27 Jon Parise <jon@csh.rit.edu>
-
- * ext/standard/math.c:
- zend_isinf() is already defined in Zend/zend_config.w32.h for Win32.
-
-2002-01-27 Sterling Hughes <sterling@designmultimedia.com>
-
- * ext/bz2/bz2.c: fix proto's for Herr. Holzraefe. int -> resource
-
-2002-01-27 Chuck Hagenbuch <chuck@horde.org>
-
- * pear/Net/SMTP.php: command spacing
-
-2002-01-27 fabrice aeschbacher <fabrice.aeschbacher@laposte.net>
-
- * ext/interbase/php_interbase.h
- ext/interbase/interbase.c:
- add ibase_add_user(), ibase_modify_user(), ibase_delete_use()
-
-2002-01-27 Jon Parise <jon@csh.rit.edu>
-
- * ext/standard/math.c:
- Use the zend_* versions of finite(), isinf(), and isnan(), as defined
- in php_config.h. Redefine the zend_* versions in the case of Win32.
-
- This fixes the build on systems that don't provide a native version of,
- say, isinf() (e.g. Solaris).
-
- * sapi/cgi/getopt.c
- sapi/cli/getopt.c
- ext/xml/xml.c: Add a note that this statement will never be reached.
-
- * ext/standard/mail.c:
- Add a comment indicating that this return statement will never be reached.
-
-
- * ext/sockets/sockets.c: Use socklen_t (instead of int) where appropriate.
-
- * ext/sockets/sockets.c:
- Because php_network.h includes <sys/socket.h>, it must be included after
- _XPG4_2 is defined.
-
- This fixes the build under Solaris 8.
-
-2002-01-27 Sterling Hughes <sterling@designmultimedia.com>
-
- * ext/standard/pack.c: don't throw fatal errors, throw E_WARNING instead.
-
- * ext/curl/curl.c: hopefully fix --with-openssl issues
-
- * ext/bz2/bz2.c: Source code cleanup
-
- * ext/bz2/bz2.c:
- Update code to last working version to avoid recent breaks.
-
-
-2002-01-27 Marko Karppinen <karppinen@pobox.com>
-
- * acinclude.m4:
- Enable developers to use PHP_ARG_ENABLE and PHP_ARG_WITH silently
- to maintain legacy configure options without clutter in the
- configure help and checking output.
-
-2002-01-26 Marko Karppinen <karppinen@pobox.com>
-
- * configure.in:
- - Reorganized stuff in configure.in and added a few comments
- - Added a check for ApplicationServices/ApplicationServices.h (Mac OS X)
- - Added AC_PROG_CPP, AC_PROG_CXX and AC_PROG_CXXCPP
- - Improved the IPv6 check to fail on Mac OS X (there's no IPv6 there yet)
-
-2002-01-26 Vincent Blavet <vincent@blavet.net>
-
- * pear/PEAR/Packager.php: * Remove the use of a temp dir
- * Tar archive is now doing the same work with less overhead
-
-2002-01-25 Marko Karppinen <karppinen@pobox.com>
-
- * configure.in:
- Improve detection of resolv.h on versions of Darwin, FreeBSD and Solaris
- (this requires post-2.13 autoconf, but 2.13 ignores it gracefully)
-
- * configure.in: Relying only on host_alias is wrong
-
-2002-01-25 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/session/mod_mm.c: We need mm file for each user.
-
-2002-01-25 Derick Rethans <derick@vl-srm.net>
-
- * ext/xmlrpc/config.m4:
- - Fix for bug #15227: Compiling the CGI binary with xmlrpc fails to
- build/link expat
-
- * ext/standard/basic_functions.c:
- - Fixed highlight_* (make it more robust)
-
-2002-01-25 Hartmut Holzgraefe <hartmut@six.de>
-
- * ext/ctype/EXPERIMENTAL: no longer experimental
-
-2002-01-25 Derick Rethans <derick@vl-srm.net>
-
- * ext/standard/basic_functions.c:
- - Added optional parameter to highlight_string and highlight_file which
- makes these functions return a highlighted string instead of dumping
- to standard output. (Derick)
- - Added optional parameter to highlight_string and highlight_file which
- makes these functions return a highlighted string instead of dumping
- to standard output.
-
-2002-01-25 Rasmus Lerdorf <rasmus@php.net>
-
- * ext/standard/array.c:
- (extraxt) add EXTR_IF_EXISTS and EXTR_PREFIX_IF_EXISTS flags
-
-2002-01-25 Derick Rethans <derick@vl-srm.net>
-
- * ext/domxml/php_domxml.c:
- - Fix for bug #14934: type property not set in comment nodes (domxml)
-
-2002-01-25 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/session/mod_mm.c: Add sapi postfix for mm save path.
- cli/cgi would not complain about mm save handler with this.
-
-2002-01-25 Doug MacEachern <dougm@covalent.net>
-
- * sapi/apache2filter/sapi_apache2.c: adjust to ap_get_brigade() API change
-
-2002-01-25 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * php.ini-recommended
- php.ini-dist:
- Added "pgsql.auto_reset_persistent" ini entry to catch broken connection
- always with pg_pconnect(). (Default Off in source and php.ini-*)
- This option requires a little overhead for pg_pconnect().
-
- * ext/pgsql/pgsql.c
- ext/pgsql/php_pgsql.h: Added "auto_reset_presistent" ini entry.
-
-2002-01-24 Marko Karppinen <karppinen@pobox.com>
-
- * build/buildcheck.sh:
- Latest libtools output a multiline version info. Deal with that
-
- * ext/standard/parsedate.y:
- Ignore ordinal suffixes on numbers (bug #15210)
-
-2002-01-24 Edin Kadribasic <edink@proventum.net>
-
- * sapi/cli/config.m4: Added --disable-cli option.
-
- * NEWS: Made entry more consistent.
-
-2002-01-24 Sascha Schumann <sascha@schumann.cx>
-
- * configure.in: fix typo, found by edin
-
-2002-01-24 Andrei Zmievski <andrei@ispi.net>
-
- * ext/wddx/wddx.c: Revert back to using <char> element for newlines.
-
-2002-01-24 Thomas V.V.Cox <cox@idecnet.com>
-
- * pear/CODING_STANDARDS: correct url
-
-2002-01-24 Marko Karppinen <karppinen@pobox.com>
-
- * acinclude.m4:
- Added a case for Darwin / Mac OS X to PHP_SHLIB_SUFFIX_NAME
-
- * php.ini-dist
- php.ini-recommended: Corrected a confusing comment (see bug #14972)
-
-2002-01-24 Sascha Schumann <sascha@schumann.cx>
-
- * Makefile.in
- acinclude.m4
- configure.in
- ext/ircg/config.m4: Don't build CLI, if an extension requests that.
-
- In this case, the ircg extension refers to thttpd-specific symbols
- which causes the build of the cli sapi module to fail.
-
-2002-01-24 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * NEWS: Change NEWS entry according to pgsql source change.
-
- * ext/pgsql/pgsql.c:
- Revert last 2 commit. Instead, make php_pgsql_do_connect() to catch
- broken connection always.
-
-2002-01-24 Vincent Blavet <vincent@blavet.net>
-
- * pear/scripts/pearwin.php
- pear/PEAR/Installer.php:
- * Call the PEAR_Registry constructor with the optional parameter
-
- * pear/PEAR/Registry.php:
- * Adding the ability to set the PEAR_INSTALL_DIR while creating the Registry object (in the same way as Installer.php)
-
- * pear/Archive/Tar.php:
- * Adding support of extraction of remote archive http://www/archive.tgz
- * Correct bug while using Windows root path c:\xxx\yyy in extract fct
-
-2002-01-24 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * NEWS:
- Added pgsql connection reset feature. Add my name to --enable-safe-mode fix.
-
- * ext/pgsql/pgsql.c:
- Add a little more fault tolerance for pg_host, pg_tty and more.
-
- * ext/pgsql/pgsql.c:
- No more httpd restart is required when PostgreSQL is rebooted.
-
-2002-01-24 James Cox <james@awpimajes.com>
-
- * INSTALL:
- updated INSTALL to be more relevant.. more fixes coming (at some point)
-
-2002-01-23 Vincent Blavet <vincent@blavet.net>
-
- * pear/scripts/pearwin.php: * Add uninstall command
- * Add list-installed command
-
-2002-01-23 Thomas V.V.Cox <cox@idecnet.com>
-
- * pear/System.php:
- Return false when the directory can not be created in mkDir()
-
- * pear/DB/tests/driver/.cvsignore: cvsignore
-
-2002-01-23 Frank M. Kromann <frank@frontbase.com>
-
- * ext/fbsql/php_fbsql.c: Fixing spelling error in FrontBase section
- Changed som int to unsigned int to remove compiler warnings
-
- * php.ini-dist
- php.ini-recommended: Fixing spelling error in FrontBase section
-
-2002-01-23 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * win32/php4ts.dsw
- win32/php4ts_cli.dsp: Add workspace to build CLI SAPI Module on Win32.
-
- * sapi/cli/php_cli.c: Give Edin Kadribasic his due credits.
-
-2002-01-23 Edin Kadribasic <edink@proventum.net>
-
- * sapi/cli/php_cli.c:
- No need to dupe this string in cli sapi (Bug #15181).
-
-2002-01-23 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * EXTENSIONS: Added comment for pgsql module.
-
-2002-01-23 Hartmut Holzgraefe <hartmut@six.de>
-
- * EXTENSIONS: claiming maintainance ownership of ext/calendar
-
- * apidoc-zend.txt: added info about FETCH macros
- (written over a year ago but somehow never commited)
-
-2002-01-22 Jaroslaw Kolakowski <J.Kolakowski@students.mimuw.edu.pl>
-
- * ext/domxml/php_domxml.c:
- Simplified domxml_substitute_entities_default() function
-
-2002-01-22 Sterling Hughes <sterling@designmultimedia.com>
-
- * ext/curl/curl.c: just init CURL_GLOBAL_SSL
-
-2002-01-22 Thomas V.V.Cox <cox@idecnet.com>
-
- * pear/DB/ibase.php:
- - Fix a problem with the cast to array from ibase_fetch_object
- (reported by Ludovico Magnocavallo <ludo@sumatrasolutions.com>)
- - Removed old, unsupported, unused DB_ibase->fetchRow()
- (remember that fetchRow is a method from DB_result not DB_driver)
-
-2002-01-22 Jan Lehnardt <jan@lehnardt.de>
-
- * pear/File/Find.php: - whitespace fix
-
- * pear/File/Find.php:
- - initialize $matches to avoid error message on unset variable
- if no matches are found.
-
-2002-01-22 Christian Stocker <chregu@phant.ch>
-
- * ext/domxml/php_domxml.c:
- Getting rid of some compile warnings (thanks to markus for pointing me in the right direction :) )
-
-2002-01-22 Sean Bright <elixer@erols.com>
-
- * ext/standard/string.c:
- Fix for bug #15130. Way too much effort for this bug, but cleaned up code
- a bit, use zend_parse_parameters(), etc, etc. We only look for extensions
- in the basename, not the full path.
-
-2002-01-21 Jaroslaw Kolakowski <J.Kolakowski@students.mimuw.edu.pl>
-
- * ext/domxml/php_domxml.h
- ext/domxml/php_domxml.c:
- Added domxml_substitute_entities_default() function
-
-2002-01-21 Chris Jarecki <zenderx@ipro.pl>
-
- * ext/domxml/php_domxml.c:
- - fixed bug caused by libxml2 in xpath_register_ns()
- - registered namespaces are now persistent
-
-2002-01-21 Jon Parise <jon@csh.rit.edu>
-
- * pear/Archive/Tar.php
- pear/Makefile.in:
- Adding Archive/Tar.php to php4/pear/. This is needed in order for the
- phptar script (php4/pear/scripts/phptar) to be useful, so it makes sense
- to make Archive/Tar.php a standard component.
-
-2002-01-21 Martin Jansen <mail@martin-jansen.de>
-
- * pear/HTML/IT.php: * Add possibility to load external files in template.
- (Patch by Christian Dickmann <chrisdicki@gmx.de>.)
-
-2002-01-21 Hartmut Holzgraefe <hartmut@six.de>
-
- * acinclude.m4: removed check macros no longer needed due to CLI work
- (plus reverting last commit, was in wrong dir :( )
-
- * acinclude.m4: removed check macros no longer needed due to CLI work
-
-2002-01-21 Dan Kalowsky <dank@deadmime.org>
-
- * ext/odbc/php_odbc.c: this closes off a number of ODBC bugs.
-
-2002-01-21 Derick Rethans <derick@vl-srm.net>
-
- * main/network.c:
- - Fix for bug #15057: getimagesize() crashes when offline (on MacOSX)
-
-2002-01-21 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/pgsql.c: Fixed typo and proto
-
-2002-01-20 Edin Kadribasic <edink@proventum.net>
-
- * sapi/cgi/cgi_main.c:
- Fixed bug #9041 and others in the same class (patch by pete.lee@ubs.com)
-
-2002-01-20 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/standard/datetime.c:
- - Fix crash with invalid localtime on Win32 systems.
-
-2002-01-20 Doug MacEachern <dougm@covalent.net>
-
- * sapi/apache2filter/sapi_apache2.c:
- adjust to ap_get_brigade and input filter api changes
-
-2002-01-20 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * pear/Cache.php
- pear/Cache.xml
- pear/Makefile.in: Move Cache to /pear.
-
- * pear/Makefile.in: Move Payment_Verisign to /pear.
-
- * pear/Makefile.in
- pear/Log.php:
- Move Benchmark, Math, Numbers to /pear. Remove Log, it was already in /pear.
-
-2002-01-20 Hartmut Holzgraefe <hartmut@six.de>
-
- * ext/fbsql/php_fbsql.c: cut&paste errors in protos fixed
-
- * ext/domxml/php_domxml.c: proto fix
-
-2002-01-20 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * TODO: Fixed by Sean Bright's commit.
-
-2002-01-20 Sean Bright <elixer@erols.com>
-
- * ext/db/db.c: Forgot to remove the return from a void function
-
- * ext/db/db.c
- ext/db/php_db.h:
- These PHP3_* macros aren't defined in the code, so these haven't been doing
- anything for some time now (at least since 4.0 was released). So let's go
- ahead and remove those.
-
-2002-01-20 Edin Kadribasic <edink@proventum.net>
-
- * TODO-4.2.txt: Removed entry implemented in cli sapi.
-
- * main/.cvsignore
- main/Makefile.in
- sapi/cli/Makefile.in
- acinclude.m4
- configure.in
- ext/ncurses/config.m4
- ext/pcntl/config.m4
- ext/readline/config.m4:
- Modified the build system to make certain extensions (pcntl, ncurses,
- pcntl) only with cgi/cli sapi's. This was done by adding 3rd optional
- parameter to PHP_EXTENSION macro which should be set to "cli" if
- the extension only makes sense for that class of api's.
-
- * ext/readline/.cvsignore: Added missing entry to .cvsignore
-
-2002-01-20 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * header: Get rid of needless spaces
-
- * README.CVS-RULES: Revert my last commit
-
-2002-01-19 Edin Kadribasic <edink@proventum.net>
-
- * TODO: Removed two issues resolved by the introduction of sapi/cli.
-
- * sapi/cli/php_cli.c: Merged patch from sapi/cgi.
-
-2002-01-19 Jaroslaw Kolakowski <J.Kolakowski@students.mimuw.edu.pl>
-
- * ext/domxml/php_domxml.c:
- - Fixed passing parameters to domxml_xslt_process(). Now they can be either strings or XPath expressions.
- - Several minor fixes in domxml_xslt_process().
-
-2002-01-19 Martin Jansen <mail@martin-jansen.de>
-
- * pear/Crypt/HCEMD5.php: * Fix bug #13189.
-
-2002-01-19 Wez Furlong <wez.php@thebrainroom.com>
-
- * ext/mailparse/rfc2045cdecode.c:
- Make the decoder less strict to allow for brain-dead mailers that mark
- messages as 7bit but then include 8bit chars in the body.
- Thanks to Dan Fitzpatrick for bringing this to my attention.
-
-2002-01-19 Thomas V.V.Cox <cox@idecnet.com>
-
- * pear/DB/common.php
- pear/DB.php:
- Stores limit_from and limit_count as DB_result proporties instead
- of DB_common. Fixs bug when doing queries inside limitQuery results.
-
- * pear/DB/common.php: ws
-
- * pear/DB/oci8.php:
- Removed unecesary check and only change the case of the keys
- when data is returned (fetchInto())
-
-2002-01-19 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * main/main.c: Make --enable-safe-mode useful
-
-2002-01-18 Shane Caraveo <shane@caraveo.com>
-
- * sapi/cgi/cgi_main.c: reimplement extension listing
-
-2002-01-18 Thomas V.V.Cox <cox@idecnet.com>
-
- * pear/DB/tests/driver/02fetch.phpt
- pear/DB/tests/driver/03simplequery.phpt
- pear/DB/tests/driver/04numcols.phpt
- pear/DB/tests/driver/06prepexec.phpt
- pear/DB/tests/driver/08affectedrows.phpt
- pear/DB/tests/driver/15quote.phpt:
- removed unneeded require_once "DB.php";
-
- * pear/DB/odbc.php: - Fix fetch row by number (ODBC starts at 1)
- - New "navision" syntax (this driver doesn't support fetchs by
- number, so emulate row limit by skipping rows)
-
-2002-01-18 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/domxml/php_domxml.c: - More WS fixes
-
-2002-01-18 Christian Stocker <chregu@phant.ch>
-
- * ext/domxml/php_domxml.c:
- shite :) too much WS fixes. leave the licence as it was...
-
- * ext/domxml/php_domxml.c: - WS fixes (replaced " " by \t)
-
-2002-01-18 Thomas V.V.Cox <cox@idecnet.com>
-
- * pear/DB/STATUS
- pear/DB/odbc.php:
- added affectedRows() and test in numRows() if the backend
- is capable of not to return this info
-
-2002-01-18 Christian Stocker <chregu@phant.ch>
-
- * ext/domxml/php_domxml.c:
- - added optional parameters format and level for domxml_dump_node()
-
- * ext/domxml/php_domxml.c
- ext/domxml/php_domxml.h: - added macro DOMXML_PARAM_ONE
- - added function domxml_dump_node($doc,$node). Dumps a node plus all
- children into a string. (chregu)
-
- * ext/domxml/php_domxml.h
- ext/domxml/php_domxml.c:
- - Added function domxml_node_get_content() (chregu)
-
- * ext/domxml/config.m4
- ext/domxml/php_domxml.c
- ext/domxml/php_domxml.h: - added DOMXML_PARAM_THREE macro
- - renamed domxml_dumpmem to domxml_dump_mem, added alias for
- domxml_dumpmem
- - domxml_has_attributes was missing in in zend_function_entry
- - added function domxml_dump_file($filename,[$compression]). Dumps XML to
- a file and uses compression, if specified (chregu)
- - added exslt integration (see http://exslt.org for details). To be
- configured with --with-dom-exslt[=DIR] (and --with-dom-xslt) (chregu, jaroslaw)
-
-2002-01-18 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * README.CVS-RULES: Fix typo
-
-2002-01-17 Adam Dickmeiss <adam@indexdata.dk>
-
- * ext/yaz/php_yaz.c
- ext/yaz/php_yaz.h:
- New function yaz_es_result: Z395.0 Extended Services Result.
-
-2002-01-17 Ilia Alshanetsky <ilia@prohost.org>
-
- * ext/shmop/shmop.c:
- Fixed shmop_read to append \0 to returned string in shmop_read to eliminate Zend warnings
-
-2002-01-17 Thies C. Arntzen <thies@thieso.net>
-
- * ext/session/session.c:
- guys, shoot me if i'm wrong, but when we have set register_globals to off we
- should _not_ touch any global variables at any time, right? so all session
- register/unregister should only work on $HTTP_SESSION_VARS and $_SESSION. this
- patch fixes at least one spot where we were touching globals even with
- register_globals set to off.
-
- * ext/oci8/oci8.c:
- - Added 3 new optional parameters to OCIFetchStatement(). They control
- the number of rows to skip at the beginning of the cursor, the
- maximun numer of rows that should be fetched and the format of the
- returned array.
-
-2002-01-17 Sterling Hughes <sterling@designmultimedia.com>
-
- * NEWS: Fix attribution, its Petr's patch, not mine :)
-
- * NEWS: Little cleanup, add information about Sablotron 0.8
-
- * ext/xslt/config.m4: Update for Sablotron .8
-
-2002-01-17 Thomas V.V.Cox <cox@idecnet.com>
-
- * pear/DB/pgsql.php: Test for results in _pgFieldFlags (thanks Brian Abent
- <brian@onlineinfo.net>)
-
-2002-01-17 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/domxml/config.m4:
- Use libxml2 header if there are older version. Reported by <jwagoner@wlion.com>
-
-2002-01-17 Jaroslaw Kolakowski <J.Kolakowski@students.mimuw.edu.pl>
-
- * ext/domxml/php_domxml.c
- ext/domxml/php_domxml.h: Added XsltStylesheet class with methods:
- - domxml_xslt_stylesheet(string),
- - domxml_xslt_stylesheet_doc(DomDocument),
- - domxml_xslt_stylesheet_file(filename),
- - process(DomDocument,parameters array) - previously domxml_xslt_process().
-
-2002-01-16 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/session/session.c: Export php_session_register_module/serializer
-
-2002-01-16 Rasmus Lerdorf <rasmus@php.net>
-
- * ext/snmp/config.m4: Fix typo
-
-2002-01-16 Marc Boeren <M.Boeren@guidance.nl>
-
- * ext/dbx/dbx_mysql.c:
- mysql_db_query is deprecated, fixed by using mysql_select_db and
- mysql_query (Mc).
-
-2002-01-16 Bertrand Mansion <bmansion@mamasam.com>
-
- * pear/HTML/Table.php: Changes by ReneÌ Jensen :
- - Remove duplicate test
- - Nicer html output for nested table level comment.
-
-2002-01-16 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/session/php_session.h:
- Export php_session_register_module/serializer.
-
-2002-01-16 Thomas V.V.Cox <cox@idecnet.com>
-
- * pear/DB/tests/driver/15quote.phpt: add quote data test
-
-2002-01-15 Andrei Zmievski <andrei@ispi.net>
-
- * ext/pcre/php_pcre.c
- NEWS: - Fixed a bug with matching string containing null bytes.
-
-2002-01-14 Chris Jarecki <zenderx@ipro.pl>
-
- * ext/domxml/php_domxml.c: - using macro in xpath_register_ns()
- - fixed protos in xpath functions
-
-2002-01-14 Martin Jansen <mail@martin-jansen.de>
-
- * pear/Date/Calc.php: * Fix for bug #15032.
-
-2002-01-14 Stefan Esser <s.esser@e-matters.de>
-
- * main/SAPI.c: MFH: fix for bug #14776
-
- * main/SAPI.c: fix for bug #14776
-
-2002-01-14 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * ext/mbstring/mbregex.c:
- fixed an error in mbstring caused by confliction with regex.
-
-2002-01-13 Edin Kadribasic <edink@proventum.net>
-
- * acinclude.m4
- sapi/cli/Makefile.in:
- Fixed build in the directory other than $top_srcdir.
-
-2002-01-13 Thomas V.V.Cox <cox@idecnet.com>
-
- * pear/DB/ibase.php:
- Added modifyLimitQuery(). Only avaible for the Firebird syntax
- (ibase(firebird)://user:pass@host/db)
- (contributed by Ludovico Magnocavallo <ludo@sumatrasolutions.com>)
-
- * pear/DB/tests/db_parsedsn.phpt: Two tests more
-
- * pear/DB/mysql.php:
- Added support for socket and port options in connect()
-
- * pear/DB/pgsql.php: better DSN handling
-
- * pear/DB/tests/db_parsedsn.phpt: Test update
-
- * pear/DB.php: New DSN "protcocol(protocol_opts)" format support:
- phptype://user:pass@protocol(proto_opts)/database
- ex:
- pgsql://user@unix()/pear
- mysql://user@unix(/path/to/socket)/pear
- pgsql://user:pass@word@tcp(somehost:7777)/pear
-
-2002-01-13 Rasmus Lerdorf <rasmus@php.net>
-
- * NEWS: 4.1.1 NEWS entry block was missing from the HEAD tree
-
-2002-01-13 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * ext/gd/config.m4: fixed some link error of gd's configure.
-
-2002-01-13 Edin Kadribasic <edink@proventum.net>
-
- * sapi/cli/Makefile.in
- Makefile.in:
- This should fix cli build when running 'make install' directly.
-
-2002-01-13 Chris Jarecki <zenderx@ipro.pl>
-
- * ext/domxml/php_domxml.c
- ext/domxml/php_domxml.h: - Added xpath_register_ns() function.
-
-2002-01-12 Edin Kadribasic <edink@proventum.net>
-
- * sapi/cli/Makefile.in:
- Fixed CLI build when the main SAPI is built as a shered library.
-
- * Makefile.in
- acinclude.m4
- configure.in
- sapi/cli/.cvsignore
- sapi/cli/Makefile.in
- sapi/cli/config.m4: Modified the build system to always build CLI SAPI.
-
-2002-01-12 Gavin Sherry <swm@linuxworld.com.au>
-
- * ext/dba/dba_db2.c:
- My bad. Left some stray debugging code in previous commit.
-
- * ext/dba/dba_db2.c: See the update to dba_db3.c
-
- * ext/dba/dba_db3.c:
- This fixes the notorious "mode 'c' fails" bug (see bugs - 10380, 10798, 11732). The bug originates from the fact that mode "c" for db3 sets 'type' to DB_UNKNOWN and mode DB_CREATE when the database already exists. The underlying library raises an error at this logical discrepancy: obviously one cannot create a database of unknown type.
-
-2002-01-12 Vlad Krupin <phpdevel@echospace.com>
-
- * ext/imap/php_imap.c:
- Fixed segfault in imap_bodystruct() when called with an invalid message
- number. Now it fails with a warning instead.
-
-2002-01-11 Jaroslaw Kolakowski <J.Kolakowski@students.mimuw.edu.pl>
-
- * ext/domxml/php_domxml.c
- ext/domxml/php_domxml.h: Added domxml_node_replace_node() function.
-
-2002-01-11 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * ext/mbstring/Makefile.in
- ext/mbstring/config.m4
- ext/mbstring/mbregex.c
- ext/mbstring/mbregex.h
- ext/mbstring/mbstring.c
- ext/mbstring/mbstring.h
- ext/mbstring/php_mbregex.c:
- Added multi-byte enabled regex functions.
-
-2002-01-11 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/standard/file.c:
- - mkdir(): made second (mode) parameter optional, default to 0777
- switched to zend_parse_parameters().
-
-2002-01-11 Thomas V.V.Cox <cox@idecnet.com>
-
- * pear/HTTP.php:
- - Added HTTP::head($url) which sends a "HEAD" HTTP command to a server
- and returns the headers as an associative array
- - Call-time pass-by-reference fixes
-
- * pear/tests/pear1.phpt:
- submit a test that will fail due to php bug #14744
-
-2002-01-10 Frank M. Kromann <frank@frontbase.com>
-
- * ext/fbsql/php_fbsql.c
- ext/fbsql/php_fbsql.h:
- Adding functions to get BLOB/CLOB size from a lob_handle.
- Added descriptions on most protos
-
-2002-01-10 Andrei Zmievski <andrei@ispi.net>
-
- * NEWS
- ext/standard/array.c:
- Fix the recursive counting, it was broken for associative or non-sequential
- arrays. Also update NEWS file.
-
-2002-01-10 Derick Rethans <d.rethans@jdimedia.nl>
-
- * main/main.c:
- - Make an E_NOTICE error type show 'Notice' instead of 'Warning'.
-
-2002-01-10 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/session/mod_mm.c: Fix startup crash
-
-2002-01-10 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/dio/dio.c: - Unified error messages.
- - Improved argument handling in dio_fcntl().
-
-2002-01-10 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/session/mod_mm.c: Revert last commit
-
-2002-01-10 Sascha Schumann <sascha@schumann.cx>
-
- * ext/session/mod_mm.c: Improved code for handling PS(save_path)
-
- Don't MFH before further testing
-
- * ext/session/mod_mm.c: Ws fix
-
- * ext/standard/filestat.c:
- (PHP touch) Operate on a stack buffer.. no need for allocating newtime
- on the heap.
-
- * ext/standard/filestat.c:
- Add three-parameter touch() which enables users to set
- mtime/atime to different values.
-
-2002-01-10 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/pgsql/tests/dropdb.inc: Fix bug in test script
-
- * ext/session/mod_mm.c: MFH
-
- * ext/session/mod_mm.c: Make use of save_path for mm file.
- Patch by Henning Schmiedehausen <hps@intermeta.de>
- Closes bug 14808
-
-2002-01-10 Sascha Schumann <sascha@schumann.cx>
-
- * ext/session/tests/003.phpt
- ext/session/tests/004.phpt
- ext/session/tests/005.phpt
- ext/session/tests/006.phpt:
- Make these tests succeed with non-standard settings
-
-2002-01-10 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/domxml/php_domxml.h: - Fix compilation. (Christian Stocker)
-
-2002-01-10 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * header: Year update
-
- * EXTENSIONS: shmop got a new maintainer
-
-2002-01-09 jim winstead <jimw@apache.org>
-
- * ext/standard/tests/math/pow.phpt
- NEWS
- ext/standard/basic_functions.c
- ext/standard/math.c
- ext/standard/php_math.h:
- Rename finite/isinf/isnan to more standard is_*() names.
-
- * ext/standard/type.h
- ext/standard/php_type.h
- ext/standard/type.c
- ext/standard/basic_functions.h
- ext/standard/php_standard.h
- ext/standard/basic_functions.c
- main/rfc1867.c:
- Move type-handling functions into ext/standard/type.c (which had
- a few otherwise unused functions in it).
-
-2002-01-09 Martin Jansen <mail@martin-jansen.de>
-
- * pear/XML/Parser.php: * Whitespace.
-
-2002-01-09 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/sockets/sockets.c: - Correct some protos.
-
-2002-01-09 Derick Rethans <d.rethans@jdimedia.nl>
-
- * ext/standard/tests/array/count_recursive.phpt
- ext/standard/array.c: - Fix bug introduced in earlier patch
-
-2002-01-09 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/shmop/README
- ext/shmop/php_shmop.h
- ext/shmop/shmop.c: MFH.
- Bugs 10530,10656,14784
-
-2002-01-09 Uwe Steinmann <Uwe.Steinmann@fernuni-hagen.de>
-
- * ext/pgsql/pgsql.c: - fixed typo in deprecated functionname
-
-2002-01-09 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/shmop/README
- ext/shmop/config.m4
- ext/shmop/php_shmop.h
- ext/shmop/shmop.c:
- - shmop_open has a new flag for read/write access, 'w'
- - eliminated a segfault when trying to write to a SHM_RDONLY segment
- - eliminated a segfault when an invalid flag which starts with 'a' or 'c' is passed
- - updated creators' email addresses
- - changed error messages to say shmop_* instead of shm* to correspond with new shmop_* function names
- Patch by Ilia Alshanetsky (ilia@prohost.org)
-
-2002-01-09 Jani Taskinen <sniper@iki.fi>
-
- * ext/domxml/php_domxml.h: - Fixed compile with older libxml.
-
- * configure.in: - Fixed the creation of pear-get script.
-
- * acinclude.m4
- configure.in:
- Reverted Hartmut's patch as it caused more trouble than it solved.
-
- * ext/readline/config.m4: whitespace
-
-2002-01-08 Jan Lehnardt <jan@lehnardt.de>
-
- * pear/HTML/Form.php
- pear/HTML/Page.php:
- fix two warnings, thanks to Erik Hjortsberg <erik@hysteriskt.nu>
-
-2002-01-08 Jaroslaw Kolakowski <J.Kolakowski@students.mimuw.edu.pl>
-
- * ext/domxml/php_domxml.c
- ext/domxml/php_domxml.h: A
- Changed names of functions:
- - htmldoc() to html_doc(),
- - htmldocfile() to html_doc_file(),
- - domxml_htmldumpmem() to domxml_html_dump_mem(),
- - htmldumpmem() to html_dump_mem().
-
-2002-01-08 Jani Taskinen <sniper@iki.fi>
-
- * ext/ext_skel:
- Some whitespace fixes (naugthy me :) and make use of PHP_CHECK_LIBRARY
- macro instead of AC_CHECK_LIB.
-
-
-2002-01-08 Sterling Hughes <sterling@designmultimedia.com>
-
- * ext/sockets/sockets.c: Changed proto via Georg Richter's request.
-
-2002-01-08 Jaroslaw Kolakowski <J.Kolakowski@students.mimuw.edu.pl>
-
- * ext/domxml/php_domxml.h
- ext/domxml/php_domxml.c
- ext/domxml/config.m4:
- - Added functions: htmldoc(), htmldocfile(), domxml_htmldumpmem().
- - Added error handling for the libxml library.
- - Added preliminary DOM XSLT support:
- -- uses the libxslt library,
- -- operates on DOM objects, not strings,
- -- functions: domxml_xslt_process(), domxml_xslt_version().
-
-2002-01-07 James Cox <james@awpimajes.com>
-
- * win32/install.txt:
- browscap url fix, plus removed ^M references. it should look nice on any os.
-
- * win32/install.txt:
- changed the instructions for php with win32 + apache. Recommending using sapi
- over cgi binary, since cgi binary and apache don't mix well security wise.
-
-2002-01-07 Yasuo Ohgaki <yohgaki@dd.iij4u.or.jp>
-
- * ext/session/session.c: MFH
-
- * NEWS: New PostgreSQL functions
-
-2002-01-07 Egon Schmid <eschmid@s.netic.de>
-
- * ext/mbstring/mbstring.c: Fixed some protos.
-
-2002-01-07 Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
-
- * ext/mbstring/mbstring.c
- ext/mbstring/mbstring.h:
- added mb_get_info() to get internal settings of mbstring.
-
-2002-01-07 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/domxml/php_domxml.c:
- - Fix domxml_node_unlink_node() proto and return value.
-
-2002-01-07 Thomas V.V.Cox <cox@idecnet.com>
-
- * pear/HTTP.php: ws
-
-2002-01-06 Stig Venaas <venaas@uninett.no>
-
- * ext/ftp/ftp.c
- ext/ftp/ftp.h: Added IPv6 support
-
- * main/network.c
- main/php_network.h:
- hostconnect now divides the timeout with no. of addresses. If a connection
- attempt times out, it goes on to the next. Unless each timeout would be
- <5s. Added php_any_addr() that fills out the any address for IPv6 and IPv4.
-
-2002-01-06 Thomas V.V.Cox <cox@idecnet.com>
-
- * pear/scripts/pear-get.in
- pear/scripts/pear.in:
- use the new Console_Getopt::readPHPArgv() function to read args
-
- * pear/Console/Getopt.php:
- Added readPHPArgv() function that will safely read the $argv PHP array
- across different PHP configurations. Will take care on register_globals
- and register_argc_argv ini directives and the new $_SERVER vars
-
-2002-01-06 Edin Kadribasic <edink@proventum.net>
-
- * sapi/cli/.cvsignore
- sapi/cli/CREDITS
- sapi/cli/Makefile.in
- sapi/cli/config.m4
- sapi/cli/getopt.c
- sapi/cli/php_cli.c
- sapi/cli/php_getopt.h: Added CLI (command line intrerface) sapi.
-
- * main/SAPI.h
- main/main.c:
- Added argc and argv in request_info needed for the new cli sapi.
- Modified registering $argc and $argv to support cli sapi.
-
-2002-01-06 Stig Venaas <venaas@uninett.no>
-
- * ext/sockets/php_sockets.h
- ext/sockets/sockets.c
- main/network.c
- main/php_network.h
- configure.in:
- Added some consts for arguments in network.c declarations. Moved
- php_sockaddr_storage to php_network.h and added check for struct
- sockaddr_storage
-
-2002-01-06 Thomas V.V.Cox <cox@idecnet.com>
-
- * pear/DB/tests/driver/setup.inc: pgsql->mysql
-
-2002-01-06 Stig Bakken <ssb@fast.no>
-
- * ChangeLog.2001.gz: * archive the 2001 changelog
-
-2002-01-06 Thomas V.V.Cox <cox@idecnet.com>
-
- * pear/DB/tests/pgsql/09numrows.phpt
- pear/DB/tests/mysql/09numrows.phpt: this test is no longer here
-
- * pear/DB/tests/driver/01connect.phpt
- pear/DB/tests/driver/02fetch.phpt
- pear/DB/tests/driver/03simplequery.phpt
- pear/DB/tests/driver/04numcols.phpt
- pear/DB/tests/driver/05sequences.phpt
- pear/DB/tests/driver/06prepexec.phpt
- pear/DB/tests/driver/08affectedrows.phpt
- pear/DB/tests/driver/09numrows.phpt
- pear/DB/tests/driver/10errormap.phpt
- pear/DB/tests/driver/13limit.phpt
- pear/DB/tests/driver/14fetchmode_object.phpt
- pear/DB/tests/driver/README
- pear/DB/tests/driver/connect.inc
- pear/DB/tests/driver/mktable.inc
- pear/DB/tests/driver/setup.inc
- pear/DB/tests/driver/skipif.inc: Multi-Driver portability test
-
- * pear/DB/tests/errors.inc
- pear/DB/tests/limit.inc
- pear/DB/tests/numrows.inc
- pear/DB/tests/tableinfo.inc: test updates
-
- * pear/DB/oci8.php: - use count(*) instead of count(a, b)
- - preserve the error handler when testing the sequence
- - missing E_ALL fixes
-
- * pear/DB/oci8.php: - change the case of column names to lower case when
- "optimize=portability" (use a slow php array_change_key_case() until
- PHP get its C native version avaible. Please do it!)
- - Improved error reporting in connection
-
-2002-01-05 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/domxml/php_domxml.c:
- - Refuse attribute nodes on add_child() and add list destructor for PI
- nodes. (Christian Stocker)
- - Fix append_child() according to add_child().
- - Fix some protos, minor code and warning message cosmetics.
-
-2002-01-05 jim winstead <jimw@apache.org>
-
- * ext/standard/tests/strings/wordwrap.phpt
- ext/standard/string.c:
- More tweaking of wordwrap() with the cut parameter set. It was being a
- little too aggressive and cutting words without breaking at spaces
- first. (A couple of tests were incorrect.)
-
- * ext/standard/tests/strings/wordwrap.phpt
- ext/standard/string.c:
- New memcpy()-based wordwrap() implementation. The simple case
- (single-character break, no forced break) appears to be about 60%
- faster, and there's simply no comparison for non-simple cases with
- non-trivial amounts of text. The old algorithm was O(n^2) (with an
- unfortunately large constant factor) because of the use of strncat(),
- the new one is O(n). Added some more tests, too.
-
-2002-01-05 Thomas V.V.Cox <cox@idecnet.com>
-
- * pear/scripts/pear-get.in
- pear/scripts/pear.in: Added check for $argv avaible
- (thanks Michael Härtl <mhaertl@pressline.de>)
-
-2002-01-05 jim winstead <jimw@apache.org>
-
- * ext/standard/math.c: Fix the Win32 compile.
-
-2002-01-05 Egon Schmid <eschmid@s.netic.de>
-
- * ext/standard/math.c
- ext/standard/basic_functions.c: Fixed some protos.
-
-2002-01-05 jim winstead <jimw@apache.org>
-
- * ext/standard/math.c:
- Apparently multi_convert_to_double_ex() didn't quite do what I
- thought. Still need to handle numeric strings.
-
- * ext/standard/tests/math/pow.phpt
- ext/standard/basic_functions.c
- ext/standard/math.c
- ext/standard/php_math.h:
- Fixed pow(), and added finite(), isinf(), and isnan(). Also fixed
- pow() tests.
-
- * ext/standard/tests/math/pow.phpt:
- good grief, positive powers of 0 are well-defined. (code fix coming.)
-
- * ext/standard/reg.c:
- Be more aggressive in making sure that substring matches are valid in
- ereg_replace before trying to use them.
-
-2002-01-05 Zak Greant <zak@jobvillage.com>
-
- * ext/standard/tests/array/array_data.txt:
- Surprising how tests can fail when they don't have any supporting data :) Thanks for the catch Jan and Jim
-
-2002-01-04 Jon Parise <jon@csh.rit.edu>
-
- * main/rfc1867.c: Nuke unused variable warning (end_arr).
-
-2002-01-04 Stig Venaas <venaas@uninett.no>
-
- * ext/ldap/ldap.c
- ext/ldap/php_ldap.h:
- Made ldap_modify() an alias for ldap_mod_replace(). The two were identical.
-
-2002-01-04 jim winstead <jimw@apache.org>
-
- * ext/standard/tests/strings/wordwrap.phpt
- ext/standard/string.c:
- Fixed segfault in wordwrap() when wrapping to zero width and using
- multi-character break or trying to force cut (bug #12768, now fails
- and issues a warning because forcing a zero-width cut doesn't make
- sense). Also converted to new paramater-passing API and avoid making
- an extra copy of the return values.
-
-2002-01-04 Sterling Hughes <sterling@designmultimedia.com>
-
- * ext/dio/dio.c: Added the O_NOCTTY option, for terminal i/o.
-
-2002-01-04 Hartmut Holzgraefe <hartmut@six.de>
-
- * configure.in: first PHP_EXTENSION_LIBS casualty :(
-
-2002-01-04 Ben Mansell <ben@zeus.com>
-
- * sapi/fastcgi/fastcgi.c:
- Added log_message function to the FastCGI sapi, so you can see error
- output from scripts
-
-2002-01-04 Hartmut Holzgraefe <hartmut@six.de>
-
- * ext/ncurses/config.m4: ncurses is useless in webserver modules
-
- * ext/xmlrpc/config.m4
- ext/xslt/config.m4: more unquoted messages with kommas fixed
-
- * ext/mcrypt/config.m4:
- always quote messages with [...], *especialy* when using kommas in the text
-
- * ext/domxml/php_domxml.c: proto fixes
-
- * ext/pcntl/config.m4: use predefined function instead of hardcoded test
-
- * ext/pcntl/pcntl.c
- ext/odbc/velocis.c: proto fix
-
- * CODING_STANDARDS: small clarification
-
-2002-01-04 Sascha Schumann <sascha@schumann.cx>
-
- * genfiles: Remove #line's from var_unserializer.c
-
-2002-01-04 Hartmut Holzgraefe <hartmut@six.de>
-
- * ext/readline/config.m4: check for library existance before adding them
-
- * acinclude.m4: two new check functions for use in config.m4 file
-
-2002-01-04 Sebastian Bergmann <sb@sebastian-bergmann.de>
-
- * ext/mssql/.cvsignore: Update .cvsignore.
-
-2002-01-03 Frank M. Kromann <frank@frontbase.com>
-
- * ext/mssql/php_mssql.c:
- Making error handling thread safe. Thanks to Paco Ortiz <fjortiz@comunet.es>
-
-2002-01-03 Hartmut Holzgraefe <hartmut@six.de>
-
- * acinclude.m4
- configure.in:
- make configure more robust if extensions add libraries without
- checking for their existance first
-
- old behaviour was to fail on the next library check with misleading
- messages, now configure will work but make will fail with a
- 'lib not found' message
-
- * ext/standard/string.c:
- fix for bug #14832: basename with 2nd parm corrupts source string
-
-2002-01-03 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/ftp/php_ftp.c: - Now use ZE's builtin zend_zval_type_name().
-
- * ext/domxml/php_domxml.c:
- - domxml_node_add_child(): Perform deep copy before adding child to prevent
- double memory freeing.
-
- * ext/ftp/php_ftp.c: - FTP_BINARY is more common instead of FTP_IMAGE.
-
-2002-01-03 Thies C. Arntzen <thies@thieso.net>
-
- * ext/standard/dir.c: protos fixes by Wolfgang Drews
-
-2002-01-03 Egon Schmid <eschmid@s.netic.de>
-
- * ext/ftp/php_ftp.c:
- Please, no punctuation mark at the end of the description.
-
-2002-01-02 Zak Greant <zak@jobvillage.com>
-
- * ext/standard/basic_functions.c:
- Adding key_exists alias for array_key_exists, at the request of One-Who-Shall-Not-Be-Named-Because-He-Is-On-Vacation
-
-2002-01-02 Stig Bakken <ssb@fast.no>
-
- * pear/DB/tests/db_error.phpt
- pear/DB/tests/db_error2.phpt
- pear/tests/pear_error.phpt: * PEAR.php line number changes again
-
- * pear/tests/pear_registry.phpt:
- * registry files renamed from .inf to .reg, update test
-
- * pear/PEAR/Installer.php: * support "pear-get install XML_RPC"
-
- * pear/Makefile.in
- pear/scripts/.cvsignore
- pear/scripts/pear-get.in
- pear/scripts/pear.in:
- * start splitting "pear" command into "pear" and "pear-get"
-
- * pear/PEAR/Remote.php: * use new overloading API properly
-
-2002-01-02 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/ftp/php_ftp.c:
- - Corrected proto for ftp_connect() (new optional parameter for initial
- custom timeout).
-
- * ext/ftp/ftp.c
- ext/ftp/ftp.h
- ext/ftp/php_ftp.c
- ext/ftp/php_ftp.h:
- - Added ftp_set_option(), ftp_get_option() and support for setting a
- custom timeout.
-
-2002-01-02 jim winstead <jimw@apache.org>
-
- * ext/gd/gd.c:
- jpeg2wbmp,png2wbmp: fix prototypes; _php_image_convert: simplify argument count checking
-
-2002-01-02 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/ftp/php_ftp.c: - Fixed ftp_fget() and ftp_mkdir() protos.
-
- * ext/ftp/php_ftp.c: - Corrected proto for ftp_fget().
-
-2002-01-01 Markus Fischer <mfischer@guru.josefine.at>
-
- * ext/ftp/php_ftp.c
- ext/ftp/php_ftp.h:
- - Switched to zend_parse_parameters(), unified error/warning messages,
- use real resources instead of integers, adjusted prototypes (hope I got
- them all).
-
- * NEWS: - Summarize dbase fixes.
-
-2002-01-01 Adam Dickmeiss <adam@indexdata.dk>
-
- * ext/yaz/php_yaz.c:
- Removal of non-essential parameters for non-piggyback search.
diff --git a/ChangeLog.1999.gz b/ChangeLog.1999.gz
deleted file mode 100644
index 9d92dda73f..0000000000
--- a/ChangeLog.1999.gz
+++ /dev/null
Binary files differ
diff --git a/ChangeLog.2000.gz b/ChangeLog.2000.gz
deleted file mode 100644
index 91cd3b2425..0000000000
--- a/ChangeLog.2000.gz
+++ /dev/null
Binary files differ
diff --git a/ChangeLog.2001.gz b/ChangeLog.2001.gz
deleted file mode 100644
index 4f0a6f8241..0000000000
--- a/ChangeLog.2001.gz
+++ /dev/null
Binary files differ
diff --git a/EXTENSIONS b/EXTENSIONS
deleted file mode 100644
index c9a0b03789..0000000000
--- a/EXTENSIONS
+++ /dev/null
@@ -1,473 +0,0 @@
- List of PHP maintainers
- =======================
-
-Maintenance legend
-------------------
- Supported: Someone is actually paid to look after this.
- Maintained: Someone actually looks after it.
- Odd Fixes: It has a maintainer but they don't have time to do
- much other than throw the odd patch in. See below.
- Orphan: No current maintainer [but maybe you could take the
- role as you write your new code].
- Obsolete: Old code. Something tagged obsolete generally means
- it has been replaced by a better system and you
- should be using that.
- Unknown: Not known at this time.
-
-Status legend
--------------
- Working: Working under both Windows and Unix.
- Windows: Working only under Windows.
- Unix: Working only under Unix.
- Experimental: Under development or initial release.
- Not Working: Not working.
- Unknown: Status unknown.
-
-
-== Server APIs ==
-
--------------------------------------------------------------------------------
-EXTENSION: aolserver
-MAINTENANCE: Unknown
-STATUS: Unknown
--------------------------------------------------------------------------------
-EXTENSION: apache
-PRIMARY MAINTAINER: Rasmus Lerdorf <rasmus@php.net>
-MAINTENANCE: Maintained
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: apache2
-PRIMARY MAINTAINER: Aaron Bannert <aaron@php.net>
-MAINTENANCE: Maintained
-STATUS: Experimental
--------------------------------------------------------------------------------
-EXTENSION: cgi
-MAINTENANCE: Unknown
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: fhttpd
-MAINTENANCE: Unknown
-STATUS: Unknown
--------------------------------------------------------------------------------
-EXTENSION: isapi
-MAINTENANCE: Unknown
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: nsapi
-MAINTENANCE: Unknown
-STATUS: Unknown
--------------------------------------------------------------------------------
-EXTENSION: phttpd
-MAINTENANCE: Unknown
-STATUS: Unknown
--------------------------------------------------------------------------------
-EXTENSION: pi3web
-MAINTENANCE: Unknown
-STATUS: Unknown
--------------------------------------------------------------------------------
-EXTENSION: roxen
-MAINTENANCE: Unknown
-STATUS: Unknown
--------------------------------------------------------------------------------
-EXTENSION: servlet
-PRIMARY MAINTAINER: Sam Ruby <rubys@us.ibm.com>
-MAINTENANCE: Maintained
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: thttpd
-MAINTENANCE: Unknown
-STATUS: Unknown
--------------------------------------------------------------------------------
-EXTENSION: webjames
-PRIMARY MAINTAINER: Alex Waugh <alex@alexwaugh.com>
-MAINTENANCE: Maintained
-STATUS: Experimental
--------------------------------------------------------------------------------
-
-
-== Database extensions ==
-
--------------------------------------------------------------------------------
-EXTENSION: dba
-PRIMARY MAINTAINER: Sascha Schumann <sascha@schumann.cx>
-MAINTENANCE: Maintained
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: dbase
-PRIMARY MAINTAINER: Jim Winstead <jimw@php.net>
-MAINTENANCE: Odd Fixes
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: dbx
-PRIMARY MAINTAINER: Marc Boeren <M.Boeren@guidance.nl>
-MAINTENANCE: Maintained
-STATUS: Working
-SINCE: 4.0.6
-COMMENT: DB abstraction for odbc, mysql, pgsql, mssql, fbsql and more, see documentation
--------------------------------------------------------------------------------
-EXTENSION: filepro
-MAINTENANCE: Unknown
-STATUS: Unknown
--------------------------------------------------------------------------------
-EXTENSION: hyperwave
-PRIMARY MAINTAINER: Uwe Steinmann <steinm@php.net>
-MAINTENANCE: Maintained
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: informix
-PRIMARY MAINTAINER: Danny Heijl <Danny.Heijl@cevi.be>
-MAINTENANCE: Maintained
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: ingres_ii
-PRIMARY MAINTAINER: David Hénot <henot@php.net>
-MAINTENANCE: Maintained
-STATUS: Experimental
-SINCE: 4.0.2
--------------------------------------------------------------------------------
-EXTENSION: interbase
-PRIMARY MAINTAINER: Jouni Ahto <jouni.ahto@exdec.fi>
-MAINTENANCE: Odd Fixes
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: msql
-MAINTENANCE: Unknown
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: msession
-PRIMARY MAINTAINER Mark L. Woodward mlwmohawk@mohawksoft.com
-MAINTENANCE: Maintained
-STATUS: Working/Experimental
-COMMENT: Tested on Linux, should work on other UNIX platforms. Backend server code can compile under Windows.
--------------------------------------------------------------------------------
-EXTENSION: mssql
-PRIMARY MAINTAINER: Frank M. Kromann <fmk@swwwing.com>
-MAINTENANCE: Maintained
-STATUS: Working
-COMMENT: Tested on phpts and isapi versions
--------------------------------------------------------------------------------
-EXTENSION: mysql
-MAINTENANCE: Unknown
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: pgsql
-PRIMARY MAINTAINER: Yasuo Ohgaki <yohgaki@php.net>
-MAINTENANCE: Maintained
-STATUS: Working
-COMMENT: Use PostgreSQL 7.0.x or later. PostgreSQL 6.5.3 or less have fatal bug.
--------------------------------------------------------------------------------
-EXTENSION: sybase
-MAINTENANCE: Unknown
-STATUS: Not Working
--------------------------------------------------------------------------------
-EXTENSION: sybase_ct
-MAINTENANCE: Unknown
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: oci8
-PRIMARY MAINTAINER: Thies C. Arntzen <thies@thieso.net>
-MAINTENANCE: Maintained
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: odbc
-PRIMARY MAINTAINER: Daniel R. Kalowsky <kalowsky@php.net>
-MAINTENANCE: Maintained
-STATUS: Working
-COMMENT: Working except for persistent connections
--------------------------------------------------------------------------------
-EXTENSION: oracle
-PRIMARY MAINTAINER: Thies C. Arntzen <thies@thieso.net>
-MAINTENANCE: Maintained
-STATUS: Working
-COMMENT: Using the new OCI8 driver is encouraged where possible.
--------------------------------------------------------------------------------
-
-
-== Other extensions ==
-
--------------------------------------------------------------------------------
-EXTENSION: aspell
-MAINTENANCE: Unknown
-STATUS: Working
-COMMENT: For aspell .27 and greater, check out the pspell extension
--------------------------------------------------------------------------------
-EXTENSION: bcmath
-MAINTENANCE: Unknown
-STATUS: Unknown
--------------------------------------------------------------------------------
-EXTENSION: bz2
-PRIMARY MAINTAINER: Sterling Hughes <sterling@php.net>
-MAINTENANCE: Maintained
-STATUS: Working
-SINCE: 4.0.3
--------------------------------------------------------------------------------
-EXTENSION: calendar
-PRIMARY MAINTAINER: Hartmut Holzgraefe <hartmut@six.de>
-MAINTENANCE: Odd Fixes
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: com
-PRIMARY MAINTAINER: Harald Radi <h.radi@nme.at>
-MAINTENANCE: Maintained
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: cpdf
-PRIMARY MAINTAINER: Uwe Steinmann <steinm@php.net>
-MAINTENANCE: Maintained
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: crack
-MAINTENANCE: Unknown
-STATUS: Experimental
-SINCE: 4.0.5
--------------------------------------------------------------------------------
-EXTENSION: ctype
-PRIMARY MAINTAINER: Hartmut Holzgraefe <hartmut@six.de>
-MAINTENANCE: Maintained
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: curl
-PRIMARY MAINTAINER: Sterling Hughes <sterling@php.net>
-MAINTENANCE: Maintained
-STATUS: Working
-SINCE: 4.0.2
--------------------------------------------------------------------------------
-EXTENSION: cybercash
-PRIMARY MAINTAINER: Evan Klinger <evan715@sirius.com>
-MAINTENANCE: Maintained
-STATUS: Unknown
--------------------------------------------------------------------------------
-EXTENSION: domxml
-PRIMARY MAINTAINER: Uwe Steinmann <steinm@php.net>
-MAINTENANCE: Maintained
-STATUS: Experimental
--------------------------------------------------------------------------------
-EXTENSION: dotnet
-PRIMARY MAINTAINER: Sam Ruby <rubys@us.ibm.com>
-MAINTENANCE: Maintained
-STATUS: Experimental
--------------------------------------------------------------------------------
-EXTENSION: exif
-PRIMARY MAINTAINER: Marcus Boerger <helly@php.net>
-MAINTENANCE: Maintained
-STATUS: Working
-SINCE: 4.2
--------------------------------------------------------------------------------
-EXTENSION: fdf
-PRIMARY MAINTAINER: Uwe Steinmann <steinm@php.net>
-MAINTENANCE: Maintained
-STATUS: Unknown
--------------------------------------------------------------------------------
-EXTENSION: ftp
-MAINTENANCE: Unknown
-STATUS: Unknown
--------------------------------------------------------------------------------
-EXTENSION: gd
-PRIMARY MAINTAINER: Rasmus Lerdorf <rasmus@php.net>
-MAINTENANCE: Maintained
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: gettext
-MAINTENANCE: Unknown
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: gmp
-MAINTENANCE: Unknown
-STATUS: Unknown
-SINCE: 4.0.4
--------------------------------------------------------------------------------
-EXTENSION: icap
-MAINTENANCE: Unknown
-STATUS: Obsolete
--------------------------------------------------------------------------------
-EXTENSION: imap
-PRIMARY MAINTAINER: Chuck Hagenbuch <chuck@horde.org>
-MAINTENANCE: Odd Fixes
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: java
-PRIMARY MAINTAINER: Sam Ruby <rubys@us.ibm.com>
-MAINTENANCE: Maintained
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: ldap
-PRIMARY MAINTAINER: Stig Venaas <venaas@php.net>
-MAINTENANCE: Maintained
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: mbstring
-PRIMARY MAINTAINER: Rui Hirokawa <hirokawa@php.net>
-MAINTENANCE: Maintained
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: mcal
-PRIMARY MAINTAINER: Chuck Hagenbuch <chuck@horde.org>
-MAINTENANCE: Odd Fixes
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: mcrypt
-PRIMARY MAINTAINER: Derick Rethans <d.rethans@jdimedia.nl>
-MAINTENANCE: Maintained
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: mhash
-PRIMARY MAINTAINER: Sascha Schumann <sascha@schumann.cx>
-MAINTENANCE: Maintained
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: muscat
-PRIMARY MAINTAINER: Sam Liddicott <sam@ananova.com>
-MAINTENANCE: Maintained
-STATUS: Working
-SINCE: 4.0.5
-COMMENT: Not tested against windows, only core API completed, rest under development
--------------------------------------------------------------------------------
-EXTENSION: openssl
-PRIMARY MAINTAINER: Wez Furlong <wez@php.net>
-MAINTENANCE: Maintained
-STATUS: Experimental
-SINCE: 4.0.4
--------------------------------------------------------------------------------
-EXTENSION: overload
-PRIMARY MAINTAINER: Andrei Zmievski <andrei@php.net>
-MAINTENANCE: Maintained
-STATUS: Experimental
--------------------------------------------------------------------------------
-EXTENSION: pcre
-PRIMARY MAINTAINER: Andrei Zmievski <andrei@php.net>
-MAINTENANCE: Maintained
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: pdf
-PRIMARY MAINTAINER: Uwe Steinmann <steinm@php.net>
-MAINTENANCE: Maintained
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: pfpro
-PRIMARY MAINTAINER: David Croft <david@infotrek.co.uk>
-MAINTENANCE: Maintained
-STATUS: Working
-SINCE: 4.0.2
--------------------------------------------------------------------------------
-EXTENSION: posix
-PRIMARY MAINTAINER: Kristian Köhntopp <kris@koehntopp.de>
-MAINTENANCE: Maintained
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: printer
-PRIMARY MAINTAINER: Daniel Beulshausen <daniel@php4win.de>
-MAINTENANCE: Maintained
-STATUS: Working
-SINCE: 4.0.4
-COMMENT: Only for Win32
--------------------------------------------------------------------------------
-EXTENSION: pspell
-PRIMARY MAINTAINER: Vlad Krupin <phpdevel@echospace.com>
-MAINTENANCE: Unknown
-STATUS: Unknown
-SINCE: 4.0.2
--------------------------------------------------------------------------------
-EXTENSION: qtdom
-MAINTENANCE: Unknown
-STATUS: Experimental
-SINCE: 4.0.4
--------------------------------------------------------------------------------
-EXTENSION: readline
-MAINTENANCE: Unknown
-STATUS: Unknown
--------------------------------------------------------------------------------
-EXTENSION: recode
-PRIMARY MAINTAINER: Kristian Köhntopp <kris@koehntopp.de>
-MAINTENANCE: Maintained
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: sablot
-PRIMARY MAINTAINER: Sterling Hughes <sterling@php.net>
-MAINTENANCE: Obsolete
-STATUS: Experimental
-SINCE: 4.0.3
--------------------------------------------------------------------------------
-EXTENSION: satellite
-PRIMARY MAINTAINER: David Eriksson <eriksson@php.net>
-MAINTENANCE: Odd Fixes
-STATUS: Experimental
-SINCE: 4.0.3
--------------------------------------------------------------------------------
-EXTENSION: session
-PRIMARY MAINTAINER: Sascha Schumann <sascha@schumann.cx>
-MAINTENANCE: Maintained
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: shmop
-PRIMARY MAINTAINER: Ilia Alshanetsky <iliaa@php.net>
-MAINTENANCE: Maintained
-STATUS: Experimental
-SINCE: 4.0.3
--------------------------------------------------------------------------------
-EXTENSION: snmp
-PRIMARY MAINTAINER: Rasmus Lerdorf <rasmus@php.net>
-MAINTENANCE: Odd Fixes
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: sockets
-PRIMARY MAINTAINER: Chris Vandomelen <chrisv@b0rked.dhs.org>
-MAINTENANCE: Maintained
-STATUS: Experimental
-SINCE: 4.0.2
--------------------------------------------------------------------------------
-EXTENSION: swf
-PRIMARY MAINTAINER: Sterling Hughes <sterling@php.net>
-MAINTENANCE: Maintained
-STATUS: Depreciated (Use the ming swf extension instead)
-COMMENT: Only for Unix (won't change)
--------------------------------------------------------------------------------
-EXTENSION: sysvsem
-MAINTENANCE: Unknown
-STATUS: Unknown
--------------------------------------------------------------------------------
-EXTENSION: sysvshm
-MAINTENANCE: Unknown
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: vpopmail
-MAINTENANCE: Unknown
-STATUS: Experimental
-SINCE: 4.0.5
--------------------------------------------------------------------------------
-EXTENSION: wddx
-PRIMARY MAINTAINER: Andrei Zmievski <andrei@php.net>
-MAINTENANCE: Maintained
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: xml
-PRIMARY MAINTAINER: Thies C. Arntzen <thies@thieso.net>
-MAINTENANCE: Maintained
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: xslt
-PRIMARY MAINTAINER: Sterling Hughes <sterling@php.net>
-MAINTENANC: Maintained
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: yaz
-PRIMARY MAINTAINER: Adam Dickmeiss <adam@indexdata.dk>
-MAINTENANCE: Maintained
-STATUS: Unknown
-SINCE: 4.0.1
--------------------------------------------------------------------------------
-EXTENSION: yp
-MAINTENANCE: Unknown
-STATUS: Unknown
--------------------------------------------------------------------------------
-EXTENSION: zlib
-PRIMARY MAINTAINER: Stefan Roehrich <sr@linux.de>
-MAINTENANCE: Maintained
-STATUS: Working
--------------------------------------------------------------------------------
-EXTENSION: zziplib
-PRIMARY MAINTAINER: Sterling Hughes <sterling@php.net>
-MAINTENANCE: Maintained
-STATUS: Experimental
-SINCE: 4.0.5
--------------------------------------------------------------------------------
-# iptc?
diff --git a/INSTALL b/INSTALL
deleted file mode 100644
index 867660cdc0..0000000000
--- a/INSTALL
+++ /dev/null
@@ -1,411 +0,0 @@
-Installation Instructions for PHP 4
------------------------------------
-
-STOP!
-
-Before going any further, please remember you are going to find more
-up to date instructions in the online manual, located here:
-
-http://www.php.net/manual/en/install.apache.php
-
-It is strongly recommended that you read the manual page before going
-further. However, for the impatient, here is a quick set of steps that
-will build PHP as (first) a dynamic Apache module (DSO) for Apache 1.3.x
-with MySQL support and then a static module. A more verbose explanation follows.
-
-For installing PHP on other web servers, refer to one of the following
-files:
-
- sapi/aolserver/README
- sapi/pi3web/README
- sapi/servlet/README
- sapi/thttpd/README
- README.Zeus
-
-Some notes:
-
-1: Only install either the static module or the dynamic one. Do not
- install both.
-
-2: If you are recompiling PHP to add new extensions or upgrading
- something like GD, remove the config.cache file before you re-run
- configure.
-
-3: If you are on Linux and have installed shared libraries, make
- sure the location of these shared libraries are listed in your
- /etc/ld.so.conf file. For example, if you have:
-
- /usr/local/lib/mysql/libmysqlclient.so
-
- Make sure /etc/ld.so.conf contains:
-
- /usr/local/lib/mysql
-
- Then run ldconfig.
-
-If you want both PHP 3 and 4 modules in the same Apache server, check the
-bottom of this file for instructions.
-
-INSTALLATION WITH THE ZEUS WEB SERVER:
---Please see the 'README.Zeus' file included in this distribution
-
-
-QUICK INSTALL (DSO)
-
-For this to work your Apache httpd must have mod_so enabled.
-Check using httpd -l. You should see something like:
-
-Compiled-in modules:
- http_core.c
- mod_so.c
-
-Chances are you will see a lot more modules than these two. That's ok,
-as long as mod_so.c shows up you can proceed with the following steps:
-
-$ gunzip -c php-4.x.y.tar.gz | tar xf -
-$ cd php-4.x.y
-$ ./configure --with-mysql --with-apxs
-$ make
-$ make install
-
-If you get an error telling you that the apxs script could not be found,
-look for it on your system and if you find it, provide the full path to it
-as: --with-apxs=/path/to/apxs
-
-Next you must copy php.ini-dist to the appropriate place (normally
-/usr/local/lib/php.ini) and edit it as necessary to set PHP options.
-
-The only thing left to do is to edit your httpd.conf file and make sure the
-PHP 4 mime type is there and uncommented. You need a line that looks like
-this:
-
- AddType application/x-httpd-php .php
-
-Then restart your server (apachectl restart) and you should be able to
-serve up PHP files now. Make a test file called test.php and put some
-PHP tags in it. Like <?phpinfo()?>, for example.
-
-
-QUICK INSTALL (Static)
-
-$ gunzip -c apache_1.3.x.tar.gz | tar xf -
-$ cd apache_1.3.x
-$ ./configure
-$ cd ..
-
-$ gunzip -c php-4.x.y.tar.gz | tar xf -
-$ cd php-4.x.y
-$ ./configure --with-mysql --with-apache=../apache_1.3.x
-$ make
-$ make install
-
-$ cd ../apache_1.3.x
-$ ./configure --prefix=/www --activate-module=src/modules/php4/libphp4.a
- (The above line is correct! Yes, we know libphp4.a does not exist at this
- stage. It isn't supposed to. It will be created.)
-$ make
- (you should now have an httpd binary which you can copy to your Apache bin dir if
- is is your first install then you need to "make install" as well)
-$ cd ../php-4.x.y
-$ cp php.ini-dist /usr/local/lib/php.ini
-You can edit /usr/local/lib/php.ini file to set PHP options.
-Edit your httpd.conf or srm.conf file and add:
- AddType application/x-httpd-php .php
-
-
-VERBOSE INSTALL
-
-Chances are you are reading this because the quick install steps above
-did not work for you. If this is the case, congratulations, you are
-among the elite few that actually reads documentation. It really is
-not a difficult install and once you have done it once you will fly
-through it.
-
-Installing PHP can be done in four simple steps:
-
-1. Unpack your distribution file.
-
- You will have downloaded a file named something like php-4.x.y.tar.gz.
- Unzip this file with a command like: gunzip php-4.x.y.tar.gz
-
- Next you have to untar it with: tar -xvf php-4.x.y.tar
-
- This will create a php-4.x.y directory. cd into this new directory.
-
-2a. Configure PHP (Dynamic Module) - Skip to 2b if you wish to build
- a static module
-
- You now have to choose the options you would like. There are quite
- a few of them. To see a list, type: ./configure --help
-
- The only options that you are likely to want to use are the ones in
- the last section entitled, "--enable and --with options recognized:"
-
- A popular choice is to build the Apache module version. In order to
- build PHP as a dynamic module for Apache-1.3.x you have to first have
- Apache installed. Assuming Apache is already installed, make sure
- the shared object module is enabled. To check this, type: httpd -l
- You should see something like:
-
- Compiled-in modules:
- http_core.c
- mod_so.c
-
- You will most likely have a lot more modules than what is shown here.
- As long as mod_so.c shows up in the list, PHP should be happy.
-
- Now, type: ./configure --with-mysql --with-apxs
-
- If you get an error telling you that the apxs script could not be found,
- look for it on your system and if you find it, provide the full path to it
- as: --with-apxs=/path/to/apxs
-
- You might also want other flags on this configure line. --with-mysql
- is just an example.
-
- There are a few things that can go wrong during this configure step.
- The most common is that you have asked for an option and that the
- configure script can not find the files required to enable this
- option in PHP. Chances are you can provide the full path to the
- base directory under which the related files were installed. For
- example, if you have installed the GD library in /opt/gd which means
- that /opt/gd/include has your GD header files and /opt/gd/lib contains
- your GD library files, you would use --with-gd=/opt/gd
-
- Skip to step 3 for compilation and installation instructions.
-
-2b. Configure PHP (Static Module) - Skip if you performed 2a
-
- You now have to choose the options you would like. There are quite
- a few of them. To see a list, type: ./configure --help
-
- The only options that you are likely to want to use are the ones in
- the last section entitled, "--enable and --with options recognized:"
-
- A popular choice is to build the Apache module version. You need
- to know where the source code directory for your Apache server is
- located. Then use an option like: --with-apache=/usr/local/src/apache
- if that is your Apache source code directory. If you only specify
- --with-apache, then it will default to look for your Apache source
- in /usr/local/etc/httpd.
-
- NOTE: The directory you specify should be the top-level of the
- unpacked Apache (or Stronghold) distribution. The configure program
- will automatically look for httpd.h in different directories under that
- location depending on which version of Apache, including Stronghold,
- you are running.
-
- For MySQL support, since newer versions of MySQL installs its various
- components under /usr/local, this is the default. If you have
- changed the location you can specify it with: --with-mysql=/opt/local
- for example. Otherwise just use: --with-mysql
-
- *NOTE* If you are using Apache 1.3b6 or later, you should run the
- Apache Configure script at least once before compiling PHP. It
- doesn't matter how you have Apache configured at this point.
-
- Skip to step 3b at this point.
-
-3. Compile and install the files. Simply type: make install
-
-3a. Dynamic Module Installation
-
- Nothing else is needed here. Proceed to step 4a.
-
-3b. Static Module Installation
-
- For the Apache module version this will copy the appropriate files
- to the src/modules/php4 directory in your Apache distribution if
- you are using Apache 1.3.x. If you are still running Apache 1.2.x
- these files will be copied directly to the main src directory.
-
- For Apache 1.3b6 and later, you can use the new APACI configuration
- mechanism. To automatically build Apache with PHP support, use:
-
- cd apache_1.3.x
- ./configure --prefix=/<path>/apache \
- --activate-module=src/modules/php4/libphp4.a
- make
- make install
-
- If you do not wish to use this new configuration tool, the old
- install procedure (src/Configure) will work fine.
-
- If you are using the old Apache ./Configure script, you will have to
- edit the Apache src/Configuration file manually. If you do not have
- this file, copy Configuration.tmpl to Configuration.
-
- For Apache 1.3.x add:
-
- AddModule modules/php4/libphp4.a
-
- For Apache 1.3.x don't do anything else. Just add this line and then
- run "./Configure" followed by "make".
-
- For Apache 1.2.x add:
-
- Module php4_module mod_php4.o
-
- For Apache 1.2.x you will also have to look in the libphp4.module file,
- which was copied to the src directory. The EXTRA_LIBS line in the Apache
- Configuration file needs to be set to use the same libs as specified on
- the LIBS line in libphp4.module. You also need to make sure to add
- "-L." to the beginning of the EXTRA_LIBS line.
-
- So, as an example, your EXTRA_LIBS line might look like:
-
- EXTRA_LIBS=-L. -lphp4 -lgdbm -ldb -L/usr/local/mysql/lib -lmysqlclient
-
- NOTE: You should not enclose the EXTRA_LIBS line in double-quotes, as it
- is in the libphp4.module file.
-
- Also, look at the RULE_WANTHSREGEX setting in the libphp4.module file
- and set the WANTHSREGEX directive accordingly in your Configuration file.
- This last step applies to versions of Apache prior to 1.3b3.
-
- This is a bit of a hassle, but should serve as incentive to move to
- Apache 1.3.x where this step has been eliminated.
-
- Once you are satisfied with your Configuration settings, type: ./Configure
- If you get errors, chances are that you forgot a library or made a typo
- somewhere. Re-edit Configuration and try again. If it goes well,
- type: make
-
- Assuming it compiles without errors, proceed to step 4b.
-
-4a. Setting up the server. (Dynamic Module)
-
- The make install command in step 3 should have done most of your
- work for you. It actually edits your httpd.conf file and tries to
- enable the dynamic PHP module. To verify this, look for a line that
- looks like this:
-
- LoadModule php4_module libexec/libphp4.so
-
- The actual path before the libphp4.so part might differ slightly. This
- is likely fine. If you are paranoid you can examine the output from the
- make install step to see where the libphp4.so file was actually put and
- place the full path to this file on this LoadModule line.
-
- If somewhere in your httpd.conf file you have a ClearModuleList line
- then you also need this line:
-
- AddModule mod_php4.c
-
- And finally you need to tell Apache which file extension should trigger
- PHP. You do this by creating a special mime type and associating it
- with an extension. We suggest using:
-
- AddType application/x-httpd-php .php
-
- You are however free to use any extension you wish, including .html.
-
- Note! If a line has a # at the beginning, then it is commented out
- and you need to remove the # for that line to take effect.
-
- Finally you need to copy php.ini-dist to the appropriate place
- (normally /usr/local/lib/php.ini) and edit if necessary.
-
- Once you have made these changes you should be ready to restart your
- server and try it out. Type: apachectl restart
-
-4b. Setting up the server. (Static Module)
-
- You should now have a new httpd binary. Shut down your existing server,
- if you have one, and copy this new binary overtop of it. Perhaps make
- a backup of your previous one first. Then edit your conf/httpd.conf file
- and add the line:
-
- AddType application/x-httpd-php .php
-
- There is also an interesting feature which can be quite instructive and
- helpful while debugging. That is the option of having colour syntax
- highlighting. To enable this, add the following line:
-
- AddType application/x-httpd-php-source .phps
-
- Any file ending in .phps will now be displayed with full colour syntax
- highlighting instead of being executed.
-
- Note that on some older server setups, the AddType lines are in the
- conf/srm.conf file instead of conf/httpd.conf.
-
- Note! If a line has a # at the beginning, then it is commented out
- and you need to remove the # for that line to take effect.
-
- When you are finished making changes to your httpd.conf file, you need
- to copy php.ini-dist to the appropriate place (normally
- /usr/local/lib/php.ini) and edit if necessary. You can then
- start up your server.
-
-5. Testing it all worked
-
- Create a test file named test.php in your web tree somewhere and
- put some test PHP tags in it. <?phpinfo()?> is a good first test.
- This tag tells PHP to do a braindump and tells you all sorts of things
- about itself.
-
-
-WHY DISABLING -fPIC WORKS ON LINUX
-
- From: Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>
- To: glibc-linux@ricardo.ecn.wfu.edu
- Subject: Re: Shared library -shared vs. -fpic
-
- [In reply to Kaz Kylheku <kaz@ashi.footprints.net>]
-
- > PIC stands for Position-Independent Code.
-
- Correct.
-
- > Code isn't position-independent (or ``relocatable'') cannot be
- > loaded at an arbitrary address;
-
- Wrong.
-
- > it requires some references to be patched at load time.
-
- Correct.
-
- > Shared libraries need to be relocatable because it's not known
- > beforehand what address they will be loaded at
-
- Correct, depending on the meaning of "relocatable". PIC code typically
- does not contain relocations; that's why its position-independent.
-
- > Just because you don't specify -fPIC doesn't mean that the compiler
- > won't emit position-independent code; the option prevents it from
- > emitting position-dependent code in situations where it otherwise
- > would.
-
- Correct. However, a non-trivial shared library typically won't be
- position-independent unless explicitly compiled with
- -fPIC. Linux/glibc indeed does not require a shared library to be
- position-independent; instead, it will perform the relocations in the
- binary, even if they refer to code pages. As a result, those relocated
- pages won't be shared across processes, anymore.
-
- Regards,
- Martin
-
-USING PHP 3 AND PHP 4 AS CONCURRENT APACHE MODULES
-
- With some (newer) installations of Apache, it's possible to compile both
- PHP 3 and PHP 4, and run them concurrently.
-
- Note, it's only really wise to do this if you need to use the PHP 3 engine
- to maintain backwards compatibility.
-
- To enable it, configure PHP 3 and PHP 4 to use APXS (--with-apxs) and the
- necessary link extensions (--enable-versioning). Otherwise, all standard
- installations instructions apply. For example:
-
- $ ./configure \
- --with-apxs=/apache/bin/apxs \
- --enable-versioning \
- --with-mysql \
-
-
-
-
-
diff --git a/LICENSE b/LICENSE
deleted file mode 100644
index 9f57f3deb9..0000000000
--- a/LICENSE
+++ /dev/null
@@ -1,64 +0,0 @@
---------------------------------------------------------------------
- The PHP License, version 3.0a1
-Copyright (c) 1999 - 2002 The PHP Group. All rights reserved.
---------------------------------------------------------------------
-
-Redistribution and use in source and binary forms, with or without
-modification, is permitted provided that the following conditions
-are met:
-
- 1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- 2. Redistributions in binary form must reproduce the above
- copyright notice, this list of conditions and the following
- disclaimer in the documentation and/or other materials provided
- with the distribution.
-
- 3. The name "PHP" must not be used to endorse or promote products
- derived from this software without prior permission from the
- PHP Group. This does not apply to add-on libraries or tools
- that work in conjunction with PHP. In such a case the PHP
- name may be used to indicate that the product supports PHP.
-
- 4. The PHP Group may publish revised and/or new versions of the
- license from time to time. Each version will be given a
- distinguishing version number.
- Once covered code has been published under a particular version
- of the license, you may always continue to use it under the
- terms of that version. You may also choose to use such covered
- code under the terms of any subsequent version of the license
- published by the PHP Group. No one other than the PHP Group has
- the right to modify the terms applicable to covered code created
- under this License.
-
- 5. Redistributions of any form whatsoever must retain the following
- acknowledgment:
- "This product includes PHP, freely available from
- http://www.php.net/".
-
-THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND
-ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
-THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP
-DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
-STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
-OF THE POSSIBILITY OF SUCH DAMAGE.
-
---------------------------------------------------------------------
-
-This software consists of voluntary contributions made by many
-individuals on behalf of the PHP Group.
-
-The PHP Group can be contacted via Email at group@php.net.
-
-For more information on the PHP Group and the PHP project,
-please see <http://www.php.net>.
-
-This product includes the Zend Engine, freely available at
-<http://www.zend.com>.
diff --git a/Makefile.frag b/Makefile.frag
deleted file mode 100644
index ff6bf06234..0000000000
--- a/Makefile.frag
+++ /dev/null
@@ -1,18 +0,0 @@
-$(builddir)/zend_language_scanner.lo: $(builddir)/zend_language_parser.h
-$(builddir)/zend_ini_scanner.lo: $(builddir)/zend_ini_parser.h
-
-$(builddir)/zend_language_scanner.c: $(srcdir)/zend_language_scanner.l
- $(LEX) -Pzend -S$(srcdir)/flex.skl -o$@ -i $(srcdir)/zend_language_scanner.l
-
-$(builddir)/zend_language_parser.h: $(builddir)/zend_language_parser.c
-$(builddir)/zend_language_parser.c: $(srcdir)/zend_language_parser.y
- $(YACC) -p zend -v -d $(srcdir)/zend_language_parser.y -o $@
-
-$(builddir)/zend_ini_parser.h: $(builddir)/zend_ini_parser.c
-$(builddir)/zend_ini_parser.c: $(srcdir)/zend_ini_parser.y
- $(YACC) -p ini_ -v -d $(srcdir)/zend_ini_parser.y -o $@
-
-$(builddir)/zend_ini_scanner.c: $(srcdir)/zend_ini_scanner.l
- $(LEX) -Pini_ -S$(srcdir)/flex.skl -o$@ -i $(srcdir)/zend_ini_scanner.l
-
-$(builddir)/zend_indent.lo $(builddir)/zend_highlight.lo $(builddir)/zend_compile.lo: $(builddir)/zend_language_parser.h
diff --git a/Makefile.global b/Makefile.global
deleted file mode 100644
index 00f8c5f0ee..0000000000
--- a/Makefile.global
+++ /dev/null
@@ -1,72 +0,0 @@
-mkinstalldirs = $(top_srcdir)/build/shtool mkdir -p
-INSTALL = $(top_srcdir)/build/shtool install -c
-INSTALL_DATA = $(INSTALL) -m 644
-
-DEFS = -DPHP_ATOM_INC -I$(top_builddir)/include -I$(top_builddir)/main -I$(top_srcdir)
-COMMON_FLAGS = $(DEFS) $(INCLUDES) $(EXTRA_INCLUDES) $(CPPFLAGS)
-
-
-all: $(all_targets)
-
-build-modules: $(PHP_MODULES)
-
-libphp4.la: $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS)
- $(LIBTOOL) --mode=link $(CC) $(COMMON_FLAGS) $(CFLAGS) $(EXTRA_CFLAGS) -rpath $(phptempdir) $(EXTRA_LDFLAGS) $(LDFLAGS) $(PHP_RPATHS) $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS) $(EXTRA_LIBS) $(ZEND_EXTRA_LIBS) -o $@
-
-libs/libphp4.bundle: $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS)
- $(CC) $(MH_BUNDLE_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(PHP_GLOBAL_OBJS:.lo=.o) $(PHP_SAPI_OBJS:.lo=.o) $(EXTRA_LIBS) $(ZEND_EXTRA_LIBS) -o $@ && cp $@ libs/libphp4.so
-
-php: $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS)
- $(LIBTOOL) --mode=link $(CC) -export-dynamic $(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) $(EXTRA_LDFLAGS) $(LDFLAGS) $(PHP_RPATHS) $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS) $(EXTRA_LIBS) $(ZEND_EXTRA_LIBS) -o $@
-
-sapi/cli/php: $(PHP_GLOBAL_OBJS) $(PHP_CLI_OBJS)
- $(LIBTOOL) --mode=link $(CC) -export-dynamic $(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) $(EXTRA_LDFLAGS) $(LDFLAGS) $(PHP_RPATHS) $(PHP_GLOBAL_OBJS) $(PHP_CLI_OBJS) $(EXTRA_LIBS) $(ZEND_EXTRA_LIBS) -o $@
-
-install: $(install_targets)
-
-
-install-cli: sapi/cli/php
- $(INSTALL_CLI)
-
-install-sapi: libphp4.la
- -@$(LIBTOOL) --silent --mode=install cp libphp4.la $(phptempdir)/libphp4.la >/dev/null 2>&1
- -@$(mkinstalldirs) $(INSTALL_ROOT)$(bindir)
- -@if test ! -r $(phptempdir)/libphp4.$(SHLIB_SUFFIX_NAME); then \
- for i in 0.0.0 0.0 0; do \
- if test -r $(phptempdir)/libphp4.$(SHLIB_SUFFIX_NAME).$$i; then \
- $(LN_S) $(phptempdir)/libphp4.$(SHLIB_SUFFIX_NAME).$$i $(phptempdir)/libphp4.$(SHLIB_SUFFIX_NAME); \
- break; \
- fi; \
- done; \
- fi
- $(INSTALL_IT)
-
-install-modules: build-modules
- @test -d modules && \
- $(mkinstalldirs) $(INSTALL_ROOT)$(EXTENSION_DIR) && \
- echo "installing shared modules into $(EXTENSION_DIR)" && \
- rm -f modules/*.la && \
- cp modules/* $(INSTALL_ROOT)$(EXTENSION_DIR) >/dev/null 2>&1 || true
-
-install-tester:
- @echo "Installing regression tester"
- @$(mkinstalldirs) $(PEAR_INSTALLDIR)
- @$(INSTALL) -m 755 $(top_srcdir)/run-tests.php $(INSTALL_ROOT)$(PEAR_INSTALLDIR)
-
-install-su: install-pear install-tester
-
-test: sapi/cli/php
- @TEST_PHP_EXECUTABLE=$(top_builddir)/sapi/cli/php \
- $(top_builddir)/sapi/cli/php -c php.ini-dist $(top_srcdir)/run-tests.php
-
-clean:
- find . -follow -name \*.lo -o -name \*.o -o -name \*.la -o -name \*.a| xargs rm -f
- find . -follow -name .libs -a -type d|xargs rm -rf
- rm -f libphp4.la php sapi/cli/php modules/* libs/*
-
-distclean: clean
- rm -f config.cache config.log config.status Makefile.objects Makefile.fragments libtool main/php_config.h stamp-h php4.spec sapi/apache/libphp4.module buildmk.stamp
- find . -name Makefile | xargs rm -f
-
-.PHONY: all clean install distclean test
-.NOEXPORT:
diff --git a/NEWS b/NEWS
deleted file mode 100644
index ca74bbdead..0000000000
--- a/NEWS
+++ /dev/null
@@ -1,2072 +0,0 @@
-PHP 4 NEWS
-|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-?? ??? 2002, Version 4.3.0
-- GetImageSize now allways set fields unknown to 0 and new Imagetype
- iff. (Marcus)
-- Add runtime Apache2 thread check to ensure we don't run a non-threaded
- PHP inside a threaded Apache2 MPM. (Rasmus)
-- Turn off ZTS if Apache2 is using the prefork MPM. (Rasmus)
-- Made getimagesize() and exif_read_data() to return also the mime-type and
- exif_thumbnail() to return also the image-type. (Marcus)
-- Added image_type_to_mime_type() which converts image-types to mime-types.
- (Marcus)
-- Made GD functions only exist if they are available. This means that for
- example your GD build has no JPG support, none of the JPG functions would
- actually exist, so you can safely test that with function_exists(). (Derick)
-- Added an optional parameter to the header() function which overrides the HTTP
- response code. (Derick)
-- Changed the order of which modules are unloaded to the reverse order of
- which they were loaded. (Derick, Zend Engine)
-- Fixed a crash in ereg_replace() when backreference number was greater
- than the number of subpatterns. (oliver@billix.franken.de)
-- Added preliminary SAX-Input support. It's now possible to build a DomDocument
- with SAX-Events. (chregu)
-- Bundled GD library 2.0.1 with php (ext/gd/libgd) (Rasmus, Jani, Markus, Edin)
-- Fixed bug with Apache which let PHP_AUTH_* variables to be set when
- external basic auth mechanism was used. (Jani)
-- Fixed bzopen() crash in thread-safe mode. (Andrei)
-- Added better error-messages (3rd parameter) and validating of DTDs (2nd
- parameter) to domxml_open_mem() and domxml_open_file(). (Christian)
-- Added domxml_doc_validate() for validating existing DomDocuments with a DTD.
- (Christian)
-- Added ability to capture string offsets in preg_match_*() results.
- (David Brown, Andrei)
-- Fixed set_error_handler() to accept methods as callbacks and also report
- invalid callbacks. (Andrei)
-- Fixed a memory corruption bug in overload extension. (Andrei)
-- Fixed error handling in fsockopen() on win32. (Jason)
-- Added win32 support for the timeout parameter of fsockopen(). (Jason)
-- Fixed shuffle() to provide equal distribution of values. (Andrei)
-- Added --with-mysql-sock configure option which can be used to override
- the unix socket location. (e.g. NFS compiles, etc.) (James Cox)
-- Fixed is_a() to properly work on extension registered classes. (Andrei)
-- Added new constants: PHP_PREFIX and PHP_SHLIB_SUFFIX. (Stig)
-- Added STDIN, STDOUT and STDERR constants for CLI sapi reflecting opened
- streams to their respective I/O counterparts. (Edin)
-- Added pctnl_alarm() function. (Edin)
-- Fixed array_rand() on thread-safe platforms such as Windows. (Edin)
-- If zlib.output_compression is enabled and a page is compressed
- a "Vary: Accept-Encoding" header is now added. (Stefan)
-- Renamed getallheaders() to apache_request_headers() and kept getallheaders()
- as an alias to it. Also added apache_response_headers() which returns the
- current response headers from Apache. (Rasmus)
-- Added missing AddRef() calls in the COM extension. This should fix weird
- behaviour (in particular with ADODB). (Harald)
-- Fixed segfault in version_compare(). (Stig)
-- Added compressed Flash MX files support to getimagesize(). (Derick)
-- Added ability to capture string offsets in preg_split() results.
- (David Brown, Andrei)
-- Fixed a crash bug in token_get_all(). (Andrei)
-- Implemented glob() for Unix/Win32. (Hartmut, Edin, Markus)
-- Added domxml_doc_set_root() to change the root node. (Lukas Schroeder)
-- Fixed a crash bug in stripslashes() when working in sybase mode. (Rasmus)
-- Added experimental support for Simplified Chinese, Traditional Chinese and
- Korean encodings into mbstring. (Rui)
-- Misc. Win32 mail() enhancements: support 'From:' header (msisolak@yahoo.com),
- support Bcc header, case-insensitive headers, enhanced error reporting,
- automatic proper line ending conversion, fixed crash with Cc, fixed buffer
- overflows with $header. (Markus)
-- Improved IMAP extension performance. (adam.kauffman@mindspring.com,
- rjs3@andrew.cmu.edu, Jon)
-- Added optional 5th parameter to domxml_xslt_process(). When set, profiling
- information is saved to the specified file. (chregu)
-- Added MD5 support for crypt() on Windows. (Edin)
-- Fixed resource bug in LDAP extension. (Stig Venaas)
-- Fixed crash in output buffering when buffer is overwritten in a callback.
- (Yasuo)
-- Added output_add_rewrite_var() and output_remove_rewrite_var() to inject
- and remove variables from the URL-Rewriter. (Thies)
-- The Windows build can now be configured more comfortably, for example
- when dealing with built-in extensions. (Sebastian)
-- Added optional 3rd parameter to mysql_select_db() which makes it return
- the previously selected database name. (Jani)
-- Added large OID value (2^31 to 2^32) support for pg_lo_import(),
- pg_lo_unlink(), pg_lo_open() and pg_lo_export(). (Yasuo)
-- Changed the mbstring extension to be enabled by default. (Yasuo)
-- Fixed mixing OCIPlogon() and OCINLogon() to not leak Oracle-Sessions. (Thies)
-- Added php.ini options for EXIF extension to encode and decode Unicode/JIS
- user comments. (Marcus)
-- Changed the "-c" CLI/CGI option to allow both 'filename' and
- 'path to php.ini'. (Yasuo)
-- Added version information to the .dll and .exe files created under Windows.
- (jtate)
-- Added __FUNCTION__ and __CLASS__ constants. (Jani, Zend Engine)
-- Added pg_metadate(), pg_convert(), pg_insert(), pg_select(), pg_update()
- and pg_delete(). (Yasuo)
-- Added optional 2nd parameter for pg_result_status() to specify return type.
- (Yasuo)
-- Added "log_errors_max_len" php.ini option which controls maximum length for
- error messages. (Marcus)
-- Added "ignore_repeated_errors" and "ignore_repeated_source" php.ini options
- which can be used to disable logging of repeated error messages. (Marcus)
-- Made pg_last_notice() work correctly. (Yasuo)
-- Added "pgsql.ignore_notice" and "pgsql.log_notice" php.ini options. (Yasuo)
-- Added "zlib.output_compression_level" php.ini option. (Stig)
-- Added support for --with-apxs build on Mac OS X / Darwin. (markonen)
-- Added support for dynamically loaded extensions on OS X / Darwin.
- NOTE: This requires Apache 1.3.25 or later. (kalowsky, markonen)
-- Fixed CR/LF processing in quoted_printable_decode() on Win32. (kir)
-- Made crack extension available on Win32. Cracklib libraries for Win32 are
- available at http://www.jtatesoftware.com/cracklib/. (jtate)
-- Added mysql_info() function. (Jan)
-- Added mysql_list_processes() and mysql_stat() functions. (Georg)
-- Added file_get_contents() which returns the contents of a file as a string.
- This function also supports the URL wrappers. (Wez)
-- Changed 'zlib:' fopen wrapper to 'compress.zlib://' to avoid ambiguities
- when filenames have ':' characters. (Wez)
-- Added URL-wrapper support to exif. (Marcus)
-- PHP now has a new stream system that allows it to do some clever stuff with
- fopen() and fsockopen(). As a result:
- . URL wrappers natively supports https:// URLs
- . fsockopen() adds support for ssl:// and tls:// connections via TCP/IP
- . copy($srcfilename, $destfilename) can now be used with URL wrappers
- . zlib wrappers/streams can be used even on systems without fopencookie()
- . Added 'compress.bzip2://' stream and wrapper support.
- . Added user-space streams - it is now possible to define a class in PHP
- code and register it as a URL wrapper.
- . Most extensions now support streams when passing files, which means
- that those extensions will support URL wrappers. (Wez)
- . Added memory stream support. (Marcus)
-- Fixed memory allocation problem on systems that have iconv() support in libc.
- (Yasuo)
-- Made var_dump() handle recursive structures better. (Yasuo, Derick)
-- Added exif_imagetype() function. (Marcus)
-- New improved build system. Among other improvements, replaces the slow
- recursive make with one global Makefile and eases the integration of proper
- dependencies. Automake is only needed for its aclocal tool. The build
- process is now more portable and less resource-consuming. (Sascha)
-
-13 May 2002, Version 4.2.1
-- Added safe-mode checks to show_source(), parse_ini_file() and rmdir(). Also
- fixed security problems with safe_mode_include_dir directive. (Rasmus)
-- Changed HTTP upload code to accept 0 byte file uploads. (Zeev)
-- Major update of domxml. New functions, better DOM compliance and bug fixes:
- * Changed the old $node->append_child() to $node->append_sibling() since
- the new append_child() behaves correctly (= W3C standard).
- * Added domxml functions:
- . domxml_elem_get_elements_by_tagname()
- . domxml_doc_get_elements_by_tagname()
- . domxml_doc_get_element_by_id()
- . domxml_elem_remove_attribute()
- . domxml_elem_get_attribute_node()
- * Fixed a segfault in domxml_unlink().
- * Added formatting option to domxml_dump_mem().
- (Uwe, jtate, Chregu)
-- Fixed a bug in socket_select() that could cause unexpected behavior when
- using a statement like $w = $e = array($sock); This change unfortunately
- prevents the use of constant values (e.g. NULL) for the socket array
- paramaters. Instead, use a temporary variable or an expression with the
- leftmost member being a temporary variable. ex.:
- socket_select($w, $r, $e = NULL, 10); (Jason)
-- Fixed crashes in the session serializer. (Stas)
-- Fixed malformed atime/mtime with touch(). (Yasuo)
-- Fixed a couple of bugs in array_sum() and array_merge(). (Andrei)
-- Fixed SJIS directory name handling under Windows. (Rui)
-- Fixed empty mb_output_handler() output when Content-Type is specified.
- (Yasuo)
-- Fixed the false logic in ext/session which made SID constant not to be
- defined when cookies are disabled. (Sascha)
-- Fixed possible crash bug in HTTP uploads. (Patch: Lucas Schroeder)
-- Fixed possible NULL-pointer dereferencing in the COM extension which
- caused 'Error in php_OLECHAR_to_char()' warnings on various places.
- Also modified the API to consistently return NULL in case of an error.
- (Alan, Harald)
-- Fixed a bug in the COM extension that caused outproc servers to 'hang'
- because of a missing Release() call. (Alan, Harald)
-
-22 Apr 2002, Version 4.2.0
-- ATTENTION!! register_globals defaults to 'off' now !!!
-- Note: Apache2 support is EXPERIMENTAL.
-- PostgreSQL functions are renamed, but all old function names are available.
- Old function names will be available long enough. User can safely use old
- function names. (Yasuo)
-- Moved ext/mailparse to PECL. See http://thebrainroom.com/opensource/php/
- for more information and to download the extension. (Wez/Jim)
-- Fixed pg_last_notice() crash. (Yasuo)
-- Modified the mysql extension to disable 'LOAD LOCAL' when safe mode is
- enabled. (Jason)
-- Added CLI (command line interface) sapi which is more suitable for writing
- shell scripts. Some of the differences to CGI sapi are: no HTTP headers,
- plain text error messages, does not change working directory, have a new -r
- option which executes a piece of PHP code directly from the commmand line, etc.
- "make install" will install CLI SAPI version of php in {PREFIX}/bin/php while
- CGI is renamed and installed as {PREFIX}/bin/php-cgi. (Edin)
-- Fixed HTTP file upload support to handle big files better. (Jani)
-- Major modifications to the Sockets Extension and its API (Jason):
- . Fixed numerous bugs.
- . Added automatic host lookup capability to all functions that take addr's.
- example: socket_connect($sock, 'www.yahoo.com', 80);
- . Corrected and standardized host lookup errors
- . Modified socket_recv() behavior. [$r=socket_recv($sock, $buf, $len, $flags)]
- . Added socket_set_block() which changes a socket into blocking IO mode
- . Modified socket_last_error() to not clear the last error
- . Added socket_clear_error() which clears the last error on a socket
- . Removed all code pertaining to fd_sets (socket_fd_*)
- . Modified/Improved socket_select() to accept array of resources instead of
- fd_sets. example:
- <?php
- $wfds=$rfds=array($sock1, $sock2, $sock3, $sock7);
- $r=socket_select($rfds, $wfds, NULL, 1);
- print "Ready to read:\n"; var_dump($rfds);
- ?>
-- Fixed segfault in ibase_close() if user does not free the resultset.
- Bugs #15419, #15992. (daniela)
-- Added optional 3rd parameter "int encoding_mode" to gzencode() and fixed
- parameters to conform documentation. (Stefan)
-- Changed read_exif_data() to be an alias of exif_read_data(). (Marcus)
-- Added exif_tagname() function which returns the names of tags and
- exif_thumbnail() function to extract embedded thumbnails. (Marcus)
-- Fixed iconv support with FreeBSD. (kalowsky)
-- Cleaned up the posix extension: (Markus)
- . Removed unwanted warning messages
- . Added posix_errno() and posix_strerror() for fetching error messages
- . Changed the way posix_getgrnam() and posix_getgrgid() return their values
- (breaks BC but makes more sense)
- . Does not include functions in symbol table which aren't supported on host
- system.
-- Added TIFF support for getimagesize() and read_exif_data(). (Marcus)
-- Changed the Velocis extension namespace to Birdstep to reflect new product
- name. Added aliases for BC. (James)
-- Added safe_mode checks for opendir(). (jflemer)
-- Changed the 2nd parameter in pgsql_fetch_*() functions to support NULL if
- all 3 parameters are supplied, but you do not want to provide a row number.
- (Derick)
-- Improved iconv() when using libc's iconv. (Yasuo)
-- Added PHP_SAPI constant which contains the name of running SAPI. (Edin)
-- Added ob_get_status() which returns an array of buffers with their status.
- (Yasuo)
-- Fixed a crash bug in ob_end_*() functions. ob_end_*() will not delete
- buffers that may not be deleted. (Yasuo)
-- Added 3rd parameter "bool erase" to ob_start(). If FALSE, the buffer may not
- be deleted until script finishes. (Yasuo)
-- Changed ob_*() functions to return TRUE for success, FALSE for failure.
- (Yasuo)
-- Added sybase_ct support to dbx module. (Marc)
-- Fixed error message handling with PostgreSQL 7.2. (Rui)
-- Added object aggregation capability, see aggregation_*() functions. (Andrei)
-- Added debug_zval_dump() which works similarly to var_dump, but displays
- extra internal information such as refcounts and true type names. (Jason)
-- Added Andrei's tokenizer extension. (Stig)
-- Fixed a bug in the COM extension which caused php to crash in
- php_COM_get_ids_of_names(). (Paul, Harald)
-- Removed ext/satellite. It is now part of PEAR. (eriksson)
-- Changed php.ini directive 'safe_mode_include_dir' to accept a (semi)colon
- separated path (like 'include_path') rather than a single directory.
- (jflemer)
-- Added is_a() function that can be used to test whether object is of a certain
- class or is derived from it. (Andrei, Zend Engine)
-- Added optional parameter to highlight_string() and highlight_file() which
- makes these functions to return a highlighted string instead of dumping
- it to standard output. (Derick)
-- Added EXTR_IF_EXISTS and EXTR_PREFIX_IF_EXISTS flags to extract(). (Rasmus)
-- Fixed a segfault in pg_pconnect(). If PostgreSQL server is restarted, broken
- connection is detected and reconnected. (Yasuo)
-- Fixed --enable-safe-mode configure option. (Yasuo)
-- Added function domxml_dump_node($doc,$node). Dumps a node plus all children
- into a string. (chregu)
-- Added function domxml_node_get_content(). (chregu)
-- Added function domxml_dump_file($filename,[$compression]). Dumps XML to
- a file and uses compression, if specified. (chregu)
-- Added exslt integration to domxml extension (http://exslt.org for details).
- Configure with --with-dom-exslt[=DIR] (and --with-dom-xslt).
- (chregu,jaroslaw)
-- Fixed session_unset() to not touch any globals if register_globals is off.
- (Thies)
-- Added 3 new optional parameters to OCIFetchStatement(). They control
- the number of rows to skip at the beginning of the cursor, the
- maximun numer of rows that should be fetched and the format of the
- returned array. (Thies)
-- Updated the XSLT extension to support Sablotron 0.8. (Petr Cimprich)
-- Fixed a bug in preg_match() and preg_match_all() when matching strings
- contain null bytes. (Andrei)
-- Added xpath_register_ns() function. This makes it possible to issue XPath
- queries with namespaces like for example: "//namespace:sampletag".
- (Chris Jarecki)
-- Added multi-byte enabled regular expression functions. (Rui)
-- Added optional second parameter to count() which can be used to specify
- either normal or recursive counting. (patch by Vlad Bosinceanu <glipy@fx.ro>)
-- Added mb_get_info() to get internal settings of mbstring. (Rui)
-- Added async query functions to PostgreSQL module. (Yasuo)
-- Added pg_copy_to()/pg_copy_from() for PostgreSQL module. (Youichi, Yasuo)
-- Added IPv6 support for FTP extension. (Stig Venaas)
-- Improved the speed of wordwrap() significantly. (Jim)
-- Fixed pow()'s incorrect behaviour when dealing with powers of 0. (Jim)
-- Added is_finite(), is_infinite() and is_nan(). (Jim)
-- Fixed segfault in wordwrap() when wrapping to zero width and using
- multi-character break or trying to force cut (bug #12768). (Jim)
-- Fixed several bugs in dbase extension (dbase_pack() truncate file to right
- size, fix 6852 #1 and 6852 #2). (Vlad)
-- Fixed bug in krsort() where an extra character was being compared. (Andi)
-- Fixed bug that made pspell include pspell.h from a wrong location. (Vlad)
-- Added function overload in mbstring to add multibyte support for
- string and mail functions. (Rui)
-- Added flags parameter to preg_grep(). The only flag currently is
- PREG_GREP_INVERT that will make the function return entries that
- did not match. (Andrei)
-- Fixed several crash bugs in the xslt extension. (Markus, Derick)
-- Fixed problem with dbase not returning very large (larger than long)
- integers properly. (Vlad)
-- Added concepts to IRCG: bailout-on-trivial issue, write output to
- files, fetch a resource upon connection end. (Sascha)
-- Fixed POST-related bugs in thttpd, added QUERY_STRING, HTTP_HOST,
- HTTP_ACCEPT_LANGUAGE to the script environment, improved patch
- to send correct MIME types, and added support for /nocache/. (Sascha)
-- Fixed several bugs and memleaks in the domxml extension. (Markus)
-- Added var_export() which outputs a representation of a variable as reusable
- PHP code. (Derick)
-- Added -w option to the CGI-version to strip all comments and whitespace
- from the script. (Thies)
-- Added support for SO_RCVTIMEO and SO_SNDTIMEO to ext/sockets. (Jason)
-- Added ob_get_level() which returns the nesting level of the output buffering
- mechanism. (Yasuo, Derick)
-- Added ob_flush() and ob_clean() functions which flush and clean an output
- buffer without destroying the buffer. (Derick)
-- Added new optional parameter to mysql_connect() which forces a new database
- link to be created. (Markus, Derick)
-- Added ldap_sort() function. (Stig Venaas)
-- Added md5_file() function which calculates the MD5 sum of a file.
- Patch by Alessandro Astarita <aleast@capri.it> (Derick)
-- Added support for parsing recordsets contained in WDDX packets. (Andrei)
-- Renamed key_exists() to array_key_exists(). (Derick)
-- Fixed ImageColorsForIndex() and ImageColorAt() to work for TrueColor
- images. (Rasmus)
-- Added support for bind_textdomain_codeset(). (rudib@email.si)
-- Added generic Win 32 API extension. (jmoore)
-- Removed warning message about NONEXISTENT character set from mysql_connect()
- when the server's default character set != latin1. (Mysql Team)
-- Added Direct I/O extension for lowlevel access to the POSIX layer. (Sterling)
-- Added SAPI module for the WebJames server on RISC OS. (Alex Waugh)
-- Fixed ldap_add() and ldap_modify() functions to throw a warning with illegal
- value arrays. Previously segfaulted or added wrong value. (Stig Venaas)
-- Added udm_check_charset() function into mnoGoSearch extension. (gluke)
-- Fixed mnoGoSearch extension to support mnogosearch-3.2.x. (gluke)
-- Made fbsql_num_rows() to return the correct value on all select statements.
- (Frank)
-- Added array_chunk() function which splits an array into chunks of specified
- size. (Andrei)
-- Fixed $HTTP_RAW_POST_DATA to be populated on a missing content-type when
- always_populate_raw_post_data is on. (Rasmus)
-- Added session_cache_expire() function. (patch by anuradha@gnu.org) (Andrei)
-- Added array_fill() function. (Rasmus)
-- Made Authorization header to be hidden from phpinfo() output in safe_mode.
- (Rasmus)
-- Re-instated safe-mode realm mangling. (Rasmus)
-- Fixed a bug in preg_replace() that would change the type of the replacement
- array entries to string. (Andrei)
-- Added user-space object overloading extension. (Andrei)
-- Added ldap_start_tls() function. (Stig Venaas, patch by kuenne@rentec.com)
-- Changed rand() and mt_rand() to be seed automatically if srand() or
- mt_srand() has not been called. (Sterling)
-- Changed the seed options to srand() and mt_srand() to be optional. If the
- seed is not specified the most random seed possible is generated. (Sterling)
-- Added array_change_key_case() function which returns an array with all
- string keys lowercased or uppercased. (Edin)
-- Added parameter to ircg_pconnect to suppress treating non-fatal errors
- as fatal, and added conversion of Windows quotes to &quot;. (Sascha)
-- Added pcntl_exec() function which behaves similar to the system execve.
- (Jason)
-- Fixed segfault and check for truecolor image in ImageColorAt(). (Rasmus)
-- Fixed nl2br() to handle all styles of line-endings in one string.
- (Boian, Derick)
-- Added mcrypt_generic_deinit() to replace mcrypt_generic_end(). (Derick)
-- Added apache_setenv() function for injecting variables into Apache's
- subprocess_env table. (Rasmus)
-- Added support for 'int', 'bool', 'float' and 'null' in settype(). (Jeroen)
-- Added IPv6 support to gethostbyaddr().
- (Patch by Matthias Wimmer <matthias@charente.de> and venaas)
-- Fixed LONG_VARCHAR type crashing in ODBC extension. Patch by Walter Franzini.
- (kalowsky)
-- Changed in_array() and search_array() to allow the needle to be an array
- in itself. (Andrei)
-- Added ini_get_all() function which returns all registered ini entries
- or entries for the specified extension. (Jani)
-- Added mailparse_uudecode_all() which extracts all uuencoded attachments.
- (Wez)
-- Added support for chinese encodings in htmlentities() and htmlspecialchars().
- (Patch by Alan Knowles <alan_k@hklc.com> and Wez)
-- Improved support for autoconf-2.50+/libtool 1.4b+. (Jan Kneschke, Sascha)
-
-27 Feb 2002, Version 4.1.2
-- Fixed start up failure when mm save handler is used and there are multiple
- SAPIs working at the same time. (Yasuo)
-- Fixed the Roxen SAPI. (Yasuo)
-- Fixed a buffer overflow in the RFC-1867 file upload code. (Stefan)
-- Fixed a crash bug in the session module. (Yasuo)
-- Fixed a crash bug in the pspell module. (Yasuo)
-- Changed the default output encoding of mbstring 'pass' to fix
- initialization problem. (Rui)
-
-26 Dec 2001, Version 4.1.1
-- Fixed incompatibility with Windows .NET / IIS 6 - may improve stability
- under other versions of IIS. (Zeev)
-- Fixed bug that caused crashes or error notices on shutdown on threaded
- platforms. (Zeev)
-- Fixed several crash bugs in the xslt extension. (Markus, Derick)
-- Fixed problem with dbase not returning very large (larger than long)
- integers properly. (Vlad)
-- Fixed several bugs and memleaks in the domxml extension. (Markus)
-- Fixed bug in gmmktime() which was one hour off during standard time -
- bug #9878. Patch by bfoddy@mediaone.net. (jmoore)
-- Fixed bug in gmdate() timezone handling on Windows - bug #13885. (jmoore)
-- Fixed several crash bugs in the mcrypt extension. (Derick)
-- Made the mcrypt extension compile with the libmcrypt 2.2 series again.
- (Sterling)
-- Fixed a bug where the is_file() family of functions would in-correctly give
- an error when they were given filenames that didn't exist. (Sterling)
-- Fixed a bug in the strtotime() function where it was incorrectly recognizing
- GMT +0100 and GMT -0100. (Derick)
-
-10 Dec 2001, Version 4.1.0
-- Worked around a bug in the MySQL client library that could cause PHP to hang
- when using unbuffered queries. (Zeev)
-- Fixed a bug which caused set_time_limit() to affect all subsequent requests
- to running Apache child process. (Zeev)
-- Removed the sablotron extension in favor of the new XSLT extension.
- (Sterling)
-- Fixed a bug in WDDX deserialization that would sometimes corrupt the root
- element if it was a scalar one. (Andrei)
-- Make ImageColorAt() and ImageColorsForIndex() work with TrueColor images.
- (Rasmus)
-- Fixed a bug in preg_match_all() that would return results under improper
- indices in certain cases. (Andrei)
-- Fixed a crash in str_replace() that would happen if search parameter was an
- array and one of the replacements resulted in subject string being empty.
- (Andrei)
-- Fixed MySQL extension to work with MySQL 4.0. (Jani)
-- Fixed a crash bug within Cobalt systems. Patch by tomc@tripac.com. (Jani)
-- Bundled Dan Libby's xmlrpc-epi extension.
-- Introduced extension version numbers. (Stig)
-- Added version_compare() function. (Stig)
-- Fixed pg_last_notice() (could cause random crashes in PostgreSQL
- applications, even if they didn't use pg_last_notice()). (Zeev)
-- Fixed DOM-XML's error reporting, so E_WARNING errors are given instead of
- E_ERROR error's, this allows you to trap errors thrown by DOMXML functions.
- (Sterling)
-- Fixed a bug in the mcrypt extension, where list destructors were not
- properly being allocated. (Sterling)
-- Better Interbase blob, null and error handling. (Patch by Jeremy Bettis)
-- Fixed a crash bug in array_map() if the input arrays had string or
- non-sequential keys. Also modified it so that if a single array is passed,
- its keys are preserved in the resulting array. (Andrei)
-- Fixed a crash in dbase_replace_record. (Patch by robin.marlow@dps-int.com)
-- Fixed a crash in msql_result(). (Zeev)
-- Added support for single dimensional SafeArrays and Enumerations.
- Added com_isenum() function to check if a component implements an
- enumeration. (Alan, Harald)
-- Fixed a bug in dbase_get_record() and dbase_get_record_with_names().
- boolean fields are now returned correctly.
- Patch by Lawrence E. Widman <widman@cardiothink.com> (Jani)
-- Added --version option to php-config. (Stig)
-- Improved support for thttpd-2.21b by incorporating patches for all known
- bugs. (Sascha)
-- Added ircg_get_username, a roomkey argument to ircg_join, error fetching
- infrastructure, a tokenizer to speed up message processing, and fixed
- a lot of bugs in the IRCG extension. (Sascha)
-- Improved speed of the serializer/deserializer. (Thies, Sascha)
-- Floating point numbers are better detected when converting from strings.
- (Zeev, Zend Engine)
-- Replaced php.ini-optimized with php.ini-recommended. As the name implies,
- it's warmly recommended to use this file as the basis for your PHP
- configuration, rather than php.ini-dist. (Zeev)
-- Restore xpath_eval() and php_xpathptr_eval() for 4.0.7. There
- are still some known leaks. (Joey)
-- Added import_request_variables(), to allow users to safely import form
- variables to the global scope (Zeev)
-- Introduced a new $_REQUEST array, which includes any GET, POST or COOKIE
- variables. Like the other new variables, this variable is also available
- regardless of the context. (Andi & Zeev)
-- Introduced $_GET, $_POST, $_COOKIE, $_SERVER and $_ENV variables, which
- deprecate the old $HTTP_*_VARS arrays. In addition to be much shorter to
- type - these variables are also available regardless of the scope, and
- there's no need to import them using the 'global' statement. (Andi & Zeev)
-- Added vprintf() and vsprintf() functions that allow passing all arguments
- after format as an array. (Andrei)
-- Added support for GD2 image type for ImageCreateFromString() (Jani)
-- Added ImageCreateFromGD(), ImageCreateFromGD2(), ImageCreateFromGD2part(),
- ImageGD() and ImageGD2() functions (Jani)
-- addcslashes now warns when charlist is invalid. The returned string
- remained the same (Jeroen)
-- Added optional extra argument to gmp_init(). The extra argument
- indicates which number base gmp should use when converting a
- string to the gmp-number. (Troels)
-- Added the Cyrus-IMAP extension, which allows a direct interface to Cyrus'
- more advanced capabilities. (Sterling)
-- Enhanced read_exif_data() to support multiple comment tags. (Rasmus)
-- Fixed a crash bug in array_map() when NULL callback was passed in. (Andrei)
-- Change from E_ERROR to E_WARNING in the exif extension (Rasmus)
-- New pow() implementation, which returns an integer when possible,
- and warnings on wrong input (jeroen)
-- Added optional second parameter to trim, chop and ltrim. You can
- now specify which characters to trim (jeroen)
-- Hugely improved the performance of the thread-safe version of PHP, especially
- under Windows (Andi & Zeev)
-- Improved request-shutdown performance significantly (Andi & Zeev, Zend
- Engine)
-- Added a few new math functions. (Jesus)
-- Bump bundled expat to 1.95.2 (Thies)
-- Improved the stability of OCIPlogon() after a database restart. (Thies)
-- Fixed __FILE__ in the CGI & Java servlet modes when used in the main script.
- It only worked correctly in included files before this fix (Andi)
-- Improved the Zend hash table implementation to be much faster (Andi, Zend
- Engine)
-- Updated PHP's file open function (used by include()) to check in the calling
- script's directory in case the file can't be found in the include_path (Andi)
-- Fixed a corruption bug that could cause constants to become corrupted, and
- possibly prevent resources from properly being cleaned up at the end of
- a request (Zeev)
-- Added optional use of Boyer-Moore algorithm to str_replace() (Sascha)
-- Fixed and improved shared-memory session storage module (Sascha)
-- Add config option (always_populate_raw_post_data) which when enabled
- will always populate $HTTP_RAW_POST_DATA regardless of the post mime
- type (Rasmus)
-- Added support for socket and popen file types to ftp_fput (Jason)
-- Fixed various memory leaks in the LDAP extension (Stig Venaas)
-- Improved interactive mode - it is now available in all builds of PHP, without
- any significant slowdown (Zeev, Zend Engine)
-- Fixed crash in iptcparse() if the supplied data was bogus. (Thies)
-- Fixed return value for a failed snmpset() - now returns false (Rasmus)
-- Added hostname:port support to snmp functions (nbougues@axialys.net, Rasmus)
-- Added fdf_set_encoding() function (Masaki YATSU, Rasmus)
-- Reversed the destruction-order of resources. This fixes the reported OCI8
- "failed to rollback outstanding transactions!" message (Thies, Zend Engine)
-- Added option for returning XMLRPC fault packets. (Matt Allen, Sascha
- Schumann)
-- Improved range() function to support range('a','z') and range(9,0) types of
- ranges. (Rasmus)
-- Added getmygid() and safe_mode_gid ini directive to allow safe mode to do
- a gid check instead of a uid check. (James E. Flemer, Rasmus)
-- Made assert() accept the array(&$obj, 'methodname') syntax. (Thies)
-- Made sure that OCI8 outbound variables are always zero-terminated. (Thies)
-- Fixed a bug that allowed users to spawn processes while using the 5th
- parameter to mail(). (Derick)
-- Added nl_langinfo() (when OS provides it) that returns locale.
-- Fixed a major memory corruption bug in the thread safe version. (Zeev)
-- Fixed a crash when using the CURLOPT_WRITEHEADER option. (Sterling)
-- Added optional suffix removal parameter to basename(). (Hartmut)
-- Added new parameter UDM_PARAM_VARDIR ha in Udm_Set_Agent_Param() function to
- support alternative search data directory. This requires mnogoSearch 3.1.13
- or later.
-- Fixed references in sessions. This doesn't work when using the WDDX
- session-serializer. Also improved speed of sessions. (Thies)
-- Added new experimental module pcntl (Process Control). (Jason)
-- Fixed a bug when com.allow_dcom is set to false. (phanto)
-- Added a further parameter to the constructor to load typelibs from file when
- instantiating components (e.g. DCOM Components without local registration).
- (phanto)
-- Added the possibility to specify typelibs by full name in the typelib file
- (Alan Brown)
-- Renamed the ZZiplib extension to the Zip extension, function names have also
- changed accordingly, functionality, has stayed constant. (Sterling)
-- Made the length argument (argument 2) to pg_loread() optional, if not
- specified data will be read in 1kb chunks. (Sterling)
-- Added a third argument to pg_lowrite() which is the length of the data to
- write. (Sterling)
-- Added the CONNECTION_ABORTED, CONNECTION_TIMEOUT and CONNECTION_NORMAL
- constants. (Zak)
-- Assigning to a string offset beyond the end of the string now automatically
- increases the string length by padding it with spaces, and performs the
- assignment. (Zeev, Zend Engine)
-- Added warnings in case an uninitialized string offset is read. (Zeev, Zend
- Engine)
-- Fixed a couple of overflow bugs in case of very large negative integer
- numbers. (Zeev, Zend Engine)
-- Fixed a crash bug in the string-offsets implementation (Zeev, Zend Engine)
-- Improved the implementation of parent::method_name() for classes which use
- run-time inheritance. (Zeev, Zend Engine)
-- Added 'W' flag to date() function to return week number of year using ISO
- 8601 standard. (Colin)
-- Made the PostgreSQL driver do internal row counting when iterating through
- result sets. (gvz@2scale.net)
-- Updated ext/mysql/libmysql to version 3.23.39; Portability fixes, minor
- bug fixes. (tim@mysql.com)
-- Added get_defined_constants() function to return an associative array of
- constants mapped to their values. (Sean)
-- New mailparse extension for parsing and manipulating MIME mail. (Wez)
-- Define HAVE_CONFIG_H when building standalone DSO extensions. (Stig)
-- Added the 'u' modifier to printf/sprintf which prints unsigned longs.
- (Derick)
-- Improved IRIX compatibility. (Sascha)
-- Fixed crash bug in bzopen() when specifying an invalid file. (Andi)
-- Fixed bugs in the mcrypt extension that caused crashes. (Derick)
-- Added the IMG_ARC_ROUNDED option for the ImageFilledArc() function, which
- specified that the drawn curve should be rounded. (Sterling)
-- Updated the sockets extension to use resources instead of longs for the
- socket descriptors. The socket functions have been renamed to conform with
- the PHP standard instead of their C counterparts. The sockets extension is
- now usable under Win32. (Daniel)
-- Added disk_total_space() to return the total size of a filesystem.
- (Patch from Steven Bower)
-- Renamed diskfreespace() to disk_free_space() to conform to established
- naming conventions. (Jon)
-- Fixed #2181. Now zero is returned instead of an unset value for
- 7-bit encoding and plain text body type. (Vlad)
-- Fixed a bug in call_user_*() functions that would not allow calling
- functions/methods that accepted parameters by reference. (Andrei)
-- Added com_release($obj) and com_addref($obj) functions and the related class
- members $obj->Release() and $obj->AddRef() to gain more control over the used
- COM components. (phanto)
-- Added an additional parameter to dotnet_load to specify the codepage (phanto)
-- Added peak memory logging. Use --enable-memory-limit to create a new Apache
- 1.x logging directive "{mod_php_memory_usage}n" which will log the peak
- amount of memory used by the script. (Thies)
-- Made fstat() and stat() provide identical output by returning a numerical and
- string indexed array. (Jason)
-- Fixed memory leak upon re-registering constants. (Sascha, Zend Engine)
-
-23 Jun 2001, Version 4.0.6
-- Fixed memory fragmention problem which could lead to web server processes
- growing much more than they should. (Andi, Zend Engine)
-- Made $HTTP_SESSION_VARS['foo'] and $foo be references to the same value
- when register_globals is on. (Andrei)
-- Fixed disk_free_space() and disk_total_space() under FreeBSD. (Jon)
-- Fixed readfile/passthru losing resources during connection abort (Sascha)
-- Fixed bug in the mcrypt extension that caused segfaults when using a key
- that is too large for the used algorithm, and a bug that caused
- mcrypt_generic() to segfault PHP (Derick)
-- Fixed getopt so that it accepts command line arguments in the form
- -<opt><arg> and -<opt> <arg>. (Jmoore)
-- Fixed race in writing session files (Sascha)
-- Fixed a possible crash in the PHP CGI when no input file is
- specified (Zeev)
-- Added is_callable() function that can be used to find out whether
- its argument is a valid callable construct. (Andrei)
-- Fixed a rare possible crash when generating extended information. (Dmitri
- Dmitrienko, Zend Engine)
-- Improved virtual() to support PHP-enabled URIs. (Zeev)
-- Fixed undefined behavior when using floating point keys in array()
- expressions. (Zeev, Zend Engine)
-- Fixed a possible crash in case of parse errors in include files or eval
- statements. (Zeev, Zend Engine)
-- Added --with-layout configure option. (Stig)
-- Improved interactive mode - supports function calls, and works in
- multithreaded builds. (Zeev, Zend Engine)
-- Fixed a crash bug in interactive mode. (Zeev, Zend Engine)
-- Added pg_last_notice() function. (Rasmus from suggestion by Dirk@rackspace.com)
-- Fixed a bug in preg_split() that would incorrectly limit the number of
- results when used along with PREG_SPLIT_NO_EMPTY flag. (Andrei)
-- Added connection error support to mysql_error() and mysql_errno(). (Jason)
-- Added support to getimagesize to return dimensions of BMP and PSD
- files. (Derick)
-- Added heuristic to kill stale IRC connections, message scanner caching, and
- nickname escaping to IRCG, suppress option to ircg_msg(), and statistics to
- IRCG phpinfo() output. (Sascha)
-- Added Japanese multibyte string functions support. (Rui)
-- Added Mac OS X "\r" line ending support. (Andi, Zend Engine)
-- Fixed a bug regarding the $PHP_SELF being incorrectly registered when
- force-cgi-redirect was not enabled. (Sterling)
-- pfpro extension now supports version 3 of the Verisign SDK. (John Donagher)
-- Udm_Cat_List and Udm_Cat_Path functions has been added.
-- Added key_exists() to check if a given key or index exists in an
- array or object. (David Croft)
-- Modify the cURL extension to compile only with the latest cURL release.
- Backwards compatibility with regards to the extension api has not been
- broken. (Sterling)
-- Added the ability to use user-defined callbacks with cURL. (Sterling)
-- Added the SSL_VERIFYPEER, CAINFO, MAXREDIRS, FILETIME, RANDOM_FILE, EGDSOCKET
- and CONNECTTIMEOUT options to curl_setopt(). (Sterling)
-- Added support for persistent connections with cURL. (Sterling)
-- Fixed a problem in cURL with file descriptors being allocated, but never
- closed. (Sterling)
-- Fixed interactive mode (-a). It works again with the same limitations it
- has always had. (Andi, Zend Engine)
-- Improved memory manager to use less memory and provide better memory overflow
- detection abilities in debug mode. (Andi, Zend Engine)
-- Fixed resource leaks when resources were being cast to numbers. (Zeev, Zend
- Engine)
-- Fixed foreach() to not crash when being sent an invalid argument. (Andi, Zend
- Engine)
-- Fixed a bug in opendir() under Windows when trying to open a non-exisiting
- directory. (Andi)
-- Fixed popen() and the exec family under Win32 (Unable to fork issue). (Daniel)
-- Make the printf family of functions binary clean. (Rasmus)
-- Fixed WDDX serialization to HTML-escape key/variable names so as not to
- break the XML packet. (Andrei)
-- Made WDDX extension enabled by default. (Andrei)
-- Added -C command-line option to avoid chdir to the script's directory. (Stig)
-- Fixed a bug with /e modifier in preg_replace(), that would not correctly
- replace two-digit references if single digit references were present
- before them. This fixed bug #10218. (Andrei)
-- Added temporary LOB support in OCI8. (Patch by David Benson)
-- Fixed crash in pathinfo()
-- OCI8 now supports binding of collections. (Patch by Andy Sautins
- <asautins@veripost.net>)
-- Added GD 2.0.1 support for truecolor and alpha channels, plus some other gd
- functions, both old and new - see docs for more info. (Wez)
-- Added S/MIME sign/verify encrypt/decrypt functions to openssl extension,
- along with some other certificate manipulation and interrogation functions.
- See docs for more info. (Wez)
-- printf argnum (parameter swapping) support. (Morten Poulsen, Rasmus)
-- Add DIRECTORY_SEPARATOR constant ('/' on UNIX, '\' on Windows). (Stig)
-- Added small change to php_odbc module, to check for failed SQLDisconnects
- and to close any outstanding transactions if the call fails, then disconnect
- again. (lurcher)
-- Modified get_parent_class() and get_class_methods() to accept a class name as
- well as a class instance. (Andrei, Zend Engine)
-- Added support for UNC style paths. (\\server\share\file,
- //server/share/file). (Daniel, TSRM)
-- Added dbx module (database abstraction) to the repository. (Marc)
-- Using ITypeInfo instead of IDispatch if possible. This makes DCOM calls
- and even COM calls much faster.
- All ini settings are now prefixed by 'com.'.
- Now you need not provide a path to the file containing the typelib, you can
- also provide the GUID of the TypeLib - entry or an IID for preloading
- type - information. (Harald)
-- Rewrite of domxml. It's now mostly DOM Level 2 conform. (Uwe)
-- Added array_map() function that applies a callback to the elements
- of given arrays and returns the result. It can also be used with a
- null callback to transpose arrays. (Andrei)
-- Added array_filter(), which allows filtering of array elements via
- the specified callback. (Andrei)
-- Fixed all relevant array functions to avoid moving the internal array
- pointer during operations. (Andrei)
-- Added mysql_unbuffered_query(), which is useful for very large result sets.
- (Zeev)
-
-30 Apr 2001, Version 4.0.5
-- Added new php.ini directive: arg_separator.input which is used to tell
- PHP which characters are considered as argument separators in URLs.
- Renamed php.ini directive: arg_separator -> arg_separator.output (Jani)
-- Added FastCGI SAPI module. (Ben Mansell)
-- Added array_reduce(), which allows iterative reduction of an array
- to a single value via a callback function. (Andrei)
-- The imageloadfont function of the gd extension should be not platform
- dependent after this fix. (alex@zend.com)
-- Fixed a compatibility problem in some file functions (fgets, fputs, fread,
- fwrite). The ANSI standard says that if a file is opened in read/write
- mode, fseek() should be called before switching from reading to writing
- and vice versa. (alex@zend.com)
-- Fixed argument checking for call_user_func* functions and allowed
- specifying array($obj, 'method') syntax for call_user_func_array. (Andrei)
-- Fixed parent::method() to also work with runtime bindings.
- (Zeev, Zend Engine)
-- Implemented high-performance zlib-based output compression - see
- zlib.output_compression INI directive. (Zeev)
-- Improved ob_gzhandler() to support chunked output buffering - it's
- recommended to use it with 4KB chunks. (Zeev)
-- Fixed chunked output buffering. (Zeev)
-- Forced call_user_method() and call_user_method_array() to take the
- object argument by reference. (Andrei)
-- Fixed binding of ROWIDs in OCI8. (Thies)
-- Added PEAR/Cache as a generic Caching System. (Sebastian, PEAR/Cache)
-- Added IMAP quota support (imap_set_quota, imap_get_quota), enabled/added via
- c-client2000. (kalowsky)
-- Upgraded PCRE to version 3.4. (Andrei)
-- Added array_search which works similar to in_array but returns
- the key instead of a boolean. (jason@php.net)
-- Fixed pgsql transaction support. (Stig, PEAR/DB)
-- Added new object VARIANT() to encapsulate values for use with
- the COM and DOTNET module. Therefore it is now possible to pass
- values by reference, convert php values to extended variant types (currency,
- date, idispatch, iunknown, ...) and define the codepage that should
- be used for unicode - conversion.
-- Improved overall speed of IRCG, added URL handling to message scanner.
- (Sascha)
-- Fixed some modules to allow using output-buffering. (Thies)
-- Added the chroot() function. (Derick)
-- PostgreSQL now does a rollback at the end of a request on every
- persistent connection. This is done by doing an "empty" transaction
- on the connection. This was advised by someone from the PostgreSQL
- core-team. (Thies)
-- Fixed PostgeSQL pg_connect() bug. We would sometimes close the default
- link by accident. (Patch by: aja@nlgroup.ca)
-- Improved OCI8 dead-session detection. (Patch by: George Schlossnagle)
-- Fixed get_meta_tags() multiline bug #4556. (Sean)
-- Prefer random() over *rand48(). (JimJag)
-- Sped up WDDX serialization 2x. (Andrei)
-- Added a new parameter to mail() which appends aditional command line
- parameters to the mail program. (Derick)
-- Added Udm_Clear_Search_Limits mnoGoSearch extension function. (gluke)
-- Fixed mnogosearch protos. Fixed mnogosearch functions return values.
- A bug with capital letters break search has been fixed. (gluke)
-- Static methods can now be called via call_user_method_* functions, e.g.
- call_user_method('method', 'class'), and also array('class', 'method')
- constructs (for array_walk(), for example). (Andrei, Zend Engine)
-- microtime() under Windows now returns accurate values. (James)
-- Added PREG_SPLIT_DELIM_CAPTURE flag to preg_split() that allows for Perl-like
- functionality of capturing parenthesized delimiter expression. (Andrei)
-- Fixed strip_tags() to not strip a lone > character. (Rasmus)
-- When using the ob_gzhandler() PHP now automagically also sets the
- Content-Lengh correctly which enables browsers to use the HTTP
- Keep-Alive feature. (Thies)
-- Improved handling of preg_replace() /F modifier so that it's possible to
- specify array($obj, 'method') construct as a replacement function. (Andrei)
-- Added mysql_get_client_info(), mysql_get_server_info(),
- mysql_get_proto_info(), and mysql_get_host_info() functions. (Sean)
-- Major change of the php pdf api. It could break some functions though
- backwards compatibility was tried to maintain. Adding some still
- missing functions as well. (Uwe)
-- Added mnoGoSearch extension - http://search.mnogo.ru. (Sergey K)
-- Allow URL encoding in DB usernames and passwords. (Stig, PEAR)
-- Added raiseError and setErrorHandling methods to PEAR class. (Stig, PEAR)
-- Added support for converting images from JPG/PNG on the fly with the GD
- extension, which is usefull for creating dynamic WAP-sites. (Derick)
-- Updated ext/mysql/libmysql to version 3.23.32; bug fixes. (tim@mysql.com)
-- Fixed possible crash in all (non-pcre) regex functions. (Thies)
-- Improved str_replace() to accept an array for any parameter - similar
- to preg_replace(). (Andrei)
-- Fixed extract() to properly prefix numeric keys when EXTR_PREFIX_ALL is
- used. (Andrei)
-- Added EXTR_PREFIX_INVALID flag to extract() to automatically prefix
- string keys that do not constitute valid variable names. (Andrei)
-- BeOS patch from svanegmond@bang.dhs.org, modified somewhat by Rasmus.
-- Fixed the Apache module to overwrite PATH_TRANSLATED with SCRIPT_FILENAME,
- only if PATH_TRANSLATED is not previously set. (Zeev)
-- Fixed crash bug in highlight_string(). (Rasmus)
-- Added URL support for getimagesize() function. (Jani)
-- Added xslt_set_scheme_handler() function. (carmelo@akooe.com)
-- Added the pg_lolseek and pg_lotell functions. (Derick)
-- Fixed wrong breaking with the wordwrap function. (Derick)
-- Fixed 'O' and 'r' flags of date() to have correct sign for timezone
- offset. (Andrei)
-- Changed 'Z' flag to date() to always return timezone offset with
- negative sign if it's west of UTC. (Andrei)
-- Added the HTML_Processor class which provides common functions for
- processing HTML. (Sterling)
-- Added localeconv() and strcoll() functions for localization. (Sean)
-- Added the xslt_set_base function. (Sterling)
-- Added support for Zeus 3.3.8.
-- Added odbc_error() and odbc_errormsg() functions. (Stig)
-- New extension for vpopmail - http://www.inter7.com/vpopmail,
- give it a try, but keep in mind that it is not ready for production
- environments. (David Croft, Boian Bonev)
-- Added sybase_get_last_message() to the Sybase CT module. (Jan Fedak)
-- Made ldap_list(), ldap_read() and ldap_search() do parallel search when
- first parameter is an array of link identifiers. (Stig Venaas)
-- Made fopen() of HTTP URL follow redirects, $http_response_header will
- contain all headers with empty string as delimiter. (Stig Venaas)
-- Added Console_Getopt class for parsing command-line args. (Andrei, PEAR)
-- Added an experimental version of the ZZipLib extension which provides the
- ability to read zip files. (Sterling)
-- Allow access to uploaded files in safe_mode. Beware that you can only
- read the file. If you copy it to new location the copy will not have the
- right UID and you script won't be able to access that copy. (Thies)
-- Changed extract() to check that prefixed name is a valid one. (Andrei)
-- Changed extract() to return the number of variables extracted. (Andrei)
-- Added ldap_rename() function. (Stig Venaas)
-- Made ldap_set_option() support controls. (Stig Venaas)
-- Changed ldap_search() and added functions ldap_parse_result(),
- ldap_first_reference(), ldap_next_reference() and ldap_parse_reference()
- to cope with LDAPv3 stuff like referrals and references. (Stig Venaas)
-- Fixed date('r') overflow.
-- Made the php.ini path reported in phpinfo() always point to the absolute
- path that was opened. (Zeev)
-- Made the INI mechanism thread safe. (Zeev, Zend Engine)
-- Changed setlocale() to use LC_* constants. (Jani)
-- ctype functions now follow the extension naming conventions. (Hartmut)
-- Added iconv() function (using libc or libiconv). (Stig)
-- Added ODBC_TYPE constant. (Stig)
-- Added the call_user_method_array function which allows you to call a method
- with an arbitrary number of parameters. (Sterling)
-- ext/odbc: IBM DB2 patch by Walter Franzini. <walter@sys-net.it>
-- Added extension for the cracklib library. (Alexander Feldman)
-
-19 Dec. 2000, Version 4.0.4
-- Allow assigning a newly created object by reference. This is needed only if
- your constructor makes other data structures reference the $this object (for
- example, $GLOBALS["foobar"] =& $this;)
- The new syntax is $obj =& new MyClass(); (Andi, Zend Engine)
-- Allow for three expression types to be sent to functions which are requesting
- the function argument to be passed by reference (only c. was previously
- supported):
- a. func(new myclass());
- b. func(func2()); where func2() returns a reference, i.e. is defined as
- function &func2(...)
- {
- ...
- }
- c. func($var); where func() is defined as function func(&$var) {...}
- You CAN'T count on any other expressions to be passable by reference.
- (Andi, Zend Engine)
-- Made ldap_get_entries() return an array even if there are no entries
- in search result. (Jani)
-- Fixed bad mod_perl interaction which caused segfaults when using LFS (Sascha)
-- const CONSTNAME now gets recognized. Before the patch only @const CONSTNAME
- description was recognized.
-- Added the is_null() function that will return true if a variable is of
- type null. (Sterling)
-- Fixed a bug which made readdir() unusable in some systems. (Jani)
-- Added the get_defined_functions() function which returns a list of all
- currently defined functions. (Sterling)
-- Added the get_defined_vars() function which returns an associative array
- of all variables defined in the current scope and their subsequent values.
- (Sterling)
-- Added the call_user_func_array() function which gives you the ability to
- call a user function by passing an array of parameters as the second
- argument. (Sterling)
-- Added the constant() function which returns the value of a constant given
- the constant's name. (Sterling)
-- Implemented support for Perl-style matching regexp delimiters in PCRE.
- You can use <{[( and )]}> to delimit your expressions now. (Andrei)
-- Introduced new 'F' modifier in PCRE that lets you specify a function
- name in the replacement argument to preg_replace() that will be called
- at run-time to provide the replacement string. It is passed an array of
- matched pattern and subpatterns. (Andrei)
-- Put an end to BUG#4615 (kalowsky & Eric Veldhuyzen)
-- Added the IRCG extension (Sascha)
-- Fixed realpath() in Virtual Directory mode (Daniel)
-- Integrated the Phil Nelson's bc math library routines into PHP, now that
- the license allows it (Phil Nelson <phil@cs.wwu.edu>)
-- Added the xslt_set_error_handler() function to the Sablotron extension.
- (Sterling)
-- Improved Sablotron's error handling system allowing you to catch all
- errors before they are outputted to the screen. (Sterling)
-- Added OpenSSL extension (Stig Venaas)
-- Fixed/created support for Solid 3.0 databases (kalowsky)
-- Fixed support for Solid 2.3 databases (kalowsky)
-- quoted_printable_decode() function is made RFC-2045 compliant. (Kir)
-- Modified preg_grep() to always return the results with keys from the original
- array. (Andrei)
-- Modified preg_replace() to accept Perl-style $n backreferences in addition
- to \\n ones. (Andrei)
-- Modified preg_replace() to ignore backreferences that refer to
- non-existing subpatterns. (Andrei)
-- Fixed column-title buffer-overflow in OCIFetchStatement(). (Thies)
-- Added 'output_handler' INI directive (Zeev)
-- Fixed some buglets in the output buffering mechanism (Zeev)
-- Added transparent gzip compression support (Jade Nicoletti, Zeev)
-- Major overhaul of domxml. Added basic XPath support as well (Uwe)
-- Added 'r' flag to date() which generates an RFC822 formatted date, e.g.
- "Thu, 9 Nov 2000 16:33:01 -0500" (Colin)
-- In CGI mode, $HTTP_SERVER_VARS now includes all of the environment variables
- as well (Zeev)
-- Allow user to use mysql_use_result in mysql queries (Stas)
-- Fixed a memory leak that would occur when restarting Apache often
- (mookid@sigent.ru)
-- Fixed a bug that prevented $argv and $argc from being defined in the command
- line version of PHP (Stas)
-- Fixed a bug that prevented a changed compile-time extension_dir from
- affecting modules that were loaded via php.ini (Zeev)
-- Fixed a bug in ftp_mkdir() when used on ftp server which doesn't return
- the full path (Jani)
-- Added ImageCreateFromString() which creates an image stream out of
- e.g. a MySQL blob. (Mathieu)
-- Fixed a crash bug in imagewbmp() (Jani)
-- Changed the sablot configuration file so that if you use any version of
- Sablotron below 0.44 you must use Sablotron's built-in Expat libraries.
- (Sterling)
-- Added basic authentication support to thttpd (Sascha)
-- Added support for the Caudium webserver (http://caudium.net/). It's based
- on the Roxen SAPI module. Many bugs have been identified and fixed. (David)
-- Fixed mysql_close(), pg_close(), msql_close() and sybase_close() - they
- weren't properly closing the SQL connections (Zeev)
-- Fixed crypt() to supply random seed if none is given (Andi)
-- Made print_r() support recursive data structures, e.g. $GLOBALS. (Zeev)
-- Fixed a bug that caused PHP not to properly flush its output buffer, if more
- than one output buffer was used. (Zeev)
-- Fixed a bug that could draw the shutdown sequence of the PHP Apache module
- into an endless loop, under certain circumstances. It could cause Apache
- processes under Solaris to get stuck, especially when using output
- buffering. (Zeev)
-- Added support for serializing references (Stas)
-- Fixed conflict with OpenLDAP and Oracle 8.1.x (Jani)
-- parse_ini_file() supports a new optional 2nd argument that instructs it
- to divide the directives to arrays according to the sections in which they
- reside (Zeev)
-- parse_ini_file() is now thread-safe, and supported under Windows (Zeev)
-- Unified aborted-connection semantics of all SAPI modules (Sascha)
-- URL-opened files now store the HTTP response header in $http_response_header
- (Zeev)
-- Fixed array_rand() to shuffle results when the number of requested
- elements is the same as the number of elements in the array. (Andrei)
-- Added replace parameter to header() (Sascha)
-- Fixed handling of single quotes in transparent session-id mode (Sascha)
-- Fixed "php://*" fopen handler (Sascha)
-- Made rename work in threadsafe enviroments (Daniel)
-- Made session_destroy() close files before unlinking (Daniel)
-- Added array_sum() function. (Andrei)
-- Fixed a bug in session.c. The php_session_save_current_state did not check
- if mod_data is NULL and such situation is possible if the user calls
- session_module_name with a parameter. (alex@zend.com)
-- Added IIS Admin extension. (Frank)
-- OCIBindByName() now does better parameter-checking. (Thies)
-- Made read() binary-safe in sockets.c (Chris Vandomelen)
-- Made array_intersect() and array_diff() not alter order (Stig Venaas)
-- Made ldap_connect() accept URL in host parameter when using OpenLDAP
- 2.x. To use SSL, use ldaps://host/ as URL. (Stig Venaas)
-- Made resource type names visible, e.g. var_dump() and
- get_resource_type() display "file" for file resources. (Andrei)
-- Added the curl_getinfo() function to find out information about a CURL
- transfer. This function requires cURL 7.4.0 or above. (Sterling)
-- Added the CURLOPT_KRB4, CURLOPT_INTERFACE, CURLOPT_QUOTE, CURLOPT_POSTQUOTE,
- CURLOPT_QUOTE and CURLOPT_HTTPPROXYTUNNELL options. (Sterling)
-- Renamed the shm_* functions to shmop_* (Derick)
-- Updated ext/mysql/libmysql to version 3.23 (tim@mysql.com)
-- Added ldap_get_option() and ldap_set_option() functions (Stig Venaas)
-- Fixed a crash in CGI mode, in case no file was provided
- (Daniel Beulshausen& Zeev)
-- Fixed possible crash bug in imap_fetchstructure() (Jani)
-- Fixed possible crash bug in imap_open() (Jani & Mark Musone)
-- Added url_rewriter.tags configuration directive (Sascha)
-- Added CORBA client extension, ready for use (eriksson@php.net)
-- Fixed memory leak in x-httpd-source mode (Jason Greene)
-- Changed ext/gd not to be enabled by default (Jani)
-- Make increment of empty string ("") behave like in PHP 3 and result in "1"
- (Andi, Zend Engine)
-- Added POST handler for Adobe FDF format (Hartmut)
-- Added transparent read and write .gz-files on glibc based systems
- using the 'zlib:' fopen wrapper (Hartmut)
-- Fixed a problem in the configuration parser (two null bytes were added
- to each ENCAPSULATED TC_STRING) (alex@zend.com)
-- Added HMAC support in the mhash module (nmav@altera.gr)
-- Added module for Ovrimos sql server (nmav@altera.gr)
-
-11 Oct 2000, Version 4.0.3
-- Fixed a possible crash in -a interactive mode (Zeev, Zend Engine)
-- Added mysql_escape_string() (Peter A. Savitch and & Brian Wang)
-- Fixed many possible crash bugs with improper use of the printf() family of
- functions (Andi)
-- Fixed a problem that allowed users to override admin_value's and admin_flag's
- (Zeev)
-- Fixed PostgreSQL module to work when the link handle is omitted (Zeev)
-- Fixed returning of empty LOB fields in OCI8. (Thies)
-- Added Calendar module to default Win32 build (Andi)
-- Added FTP module to default Win32 build (Andi)
-- Fixed crash in the POSIX getrlimit() function (alex@zend.com)
-- Fixed dirname() under certain conditions (Andi)
-- Added --with-imap-ssl to support SSL'ized imap library in RH7 and others
- (Rasmus)
-- Fixed possible crash bug in parse_url() (Andi)
-- Added support for trans sid under Win32 (Daniel)
-- Added IPv6 support in fopen (Stig Venaas)
-- Added the shmop extension. It allows more general ways of shared memory
- access. (thanks to Ilia Alshanestky <iliaa@home.com> and Slava Poliakov
- <slavapl@mailandnews.com> (Derick)
-- Added the ability for CURLOPT_POSTFIELDS to accept an associative array of
- HTTP POST variables and values. (Sterling)
-- Added the CURLOPT_HTTPHEADER option to curl_setopt(). (Sterling)
-- Added the curl_error() and curl_errno() functions. (Sterling)
-- Changed ext/db not to be enabled by default (Jani)
-- Fixed building Apache SAPI module on SCO UnixWare (Sascha)
-- Fixed writing empty session sets to shared memory (tcarroll@chc-chimes.com)
-- Added support for BSD/OS make (Sascha)
-- Added improved URL rewriter (Sascha)
-- Fixed readdir_r() use on Solaris (Sascha)
-- Improved HTTP headers for private-caching (jon@csh.rit.edu, Sascha)
-- Added new function session_cache_limiter (jon@csh.rit.edu, Sascha)
-- Added ftp_exec to the ftp functions (thanks to <jhennebicq@i-d.net>)
- (Derick)
-- PEAR: add last executed query as debug info in DB errors (Stig)
-- PEAR: allow multiple modes in PEAR_Error (Stig)
-- Made the Sybase CT module thread safe (Zeev)
-- Added second argument to array_reverse() that indicatese whether
- the original array keys should be preserved. (Andrei)
-- Clean up htmlspecialchars/htmlentities inconsistencies. (Rasmus)
-- PEAR: renamed DB_GETMODE_* to DB_FETCHMODE_*, added setFetchMode()
- in DB_common to set the default mode, added some MySQL tests (Stig)
-- Made eval() and several other runtime-evaluated code portions report the
- nature and location of errors more accurately (Stas)
-- Added an optional parameter to wordwrap that cuts a string if the length of a
- word is longer than the maximum allowed. (Derick)
-- Added functions pg_put_line and pg_end_copy (Dirk Elmendorf)
-- Added second parameter for parse_str to save result (John Bafford)
-- Fixed bug with curl places extra data in the output. (medvitz@medvitz.net)
-- Added the pathinfo() function. (Sterling)
-- Updated sybase_ct module and its sybase_query to use high performance API.
- (Joey)
-- Added a more configurable error reporting interface to DB. (Stig)
-- Added is_uploaded_file() and move_uploaded_file() (Zeev)
-- Added several directives to php.ini - post_max_size, file_uploads,
- display_startup_errors - see php.ini-dist for further information (Zeev)
-- Worked around a bug in the libc5 implementation of readdir() (Stas)
-- Fixed some potential OpenBSD and NetBSD crash bugs when opening files. (Andi)
-- Added EscapeShellArg() function (Rasmus)
-- Added a php.ini option session.use_trans_sid to enable/disable trans-sid.
- (Sterling)
-- Added the Sablotron extension for XSL parsing. (Sterling)
-- Fixed a bug in checkdate() which caused < 1 years to be valid (Jani)
-- Added support for an optional output handler function for output
- buffering. This enables transparent rendering of XML through XSL,
- transparent compression, etc. (Zeev)
-- Added support for user defined 'tick' callback functions. This helps
- emulate background processing. (Andrei)
-- Fixed problem with having $this as the XML parser object. (Andrei)
-- Internal opened_path variable now uses the Zend memory manager so that full
- paths of files won't leak on unclean shutdown (Andi)
-- Removed support of print $obj automatically calling the __string_value()
- method. Instead define yourself a method such as toString() and use
- print $obj->toString() (Andi, Zend Engine)
-
-29 Aug 2000, Version 4.0.2
-- Added PHP API for Zend's ticks. (Stig)
-- PHP 3 regression testing framework re-born (Stig)
-- Added php_uname() function (Stig)
-- Made a minor change to allow building with OpenLDAP 2.0 (Stig Venaas)
-- Fixed a bug in preg_replace() that would truncate subject string if the
- first argument was en empty array. (Andrei)
-- Added ob_get_length function (Stig)
-- Fixed a bug that did not respect limit parameter in preg_replace() when
- using /e modifier. (Andrei)
-- Added ability for each xml_set_*_handler() function to take the
- array($obj, 'method') syntax for the handler argument as well
- as the normal function name. (Andrei)
-- Updated array_walk() to be able to accept array($obj, 'method')
- syntax for the walk function. (Andrei)
-- Fixed segfault with fgets(), fgetcsv(), fgetss(), and fread() when
- called with negative length argument. (Torben)
-- Fixed by-reference parameters passing for xml_ functions and for scanf
- functions (Stas)
-- Added experimental Oracle LDAP SDK support. 8.1.6 or later needed. Configure
- with something like --with-ldap=/usr/local/oracle/product/8.1.6 (Stig Venaas)
-- Fixed memory leaks in eval(); A script that used eval() extensively, could
- end up consuming very large amounts of memory during execution (Zeev, Zend
- Engine)
-- Fixed memory_limit feature, which did not work properly in previous versions
- (Zeev, Zend Engine)
-- Fixed stdout support with the swf extension. (Sterling)
-- Fixed byte order for ip2long and long2ip (Stas)
-- Fixed dbase_add_record. (Sterling)
-- Added support for libmcrypt 2.4.4 (Derick)
-- Added strncasecmp function (Andi, Zend Engine)
-- Fixed FTP module to accept multiline server replies (Jani)
-- Fixed switch which only has a single default rule. (Andi, Zend Engine)
-- Fixed problem with nested foreach()'s. (Andi, Zend Engine)
-- The CCVS module is now stable and compiling. It compiles as a CGI and into
- Apache cleanly without warnings. (Brendan W. McAdams)
-- Fixed mSQL_close(). (nick@loman.net)
-- Made return() in a require()'d file work like return() in an include()'d
- file (Andi & Zeev, Zend Engine)
-- Changed require_once() to work using the same table as include_once()
- (Andi & Zeev, Zend Engine)
-- Fixed PostgreSQL module to work when the link handle is omitted (Zeev)
-- Fixed the Sybase modules to work properly with PHP 4.0 (Zeev)
-- Fixed CLOB handling in OCI8 driver when using variable-width
- character sets. (Thies)
-- Added 4th optional parameter to sybase_[p]connect to specify the charset
- for the connection (alf@alpha.ulatina.ac.cr)
-- Fixed support for current thttpd releases. (Sascha)
-- Added support for kerberized IMAP library using --with-kerberos
- (Rasmus, Sascha)
-- Virtualize realpath, chmod, chown and utime (Stas)
-- Support content-encoding headers in file upload MIME parts
- (Ragnar Kjørstad)
-- Fixed warning when shutting down OCINLogon() connections. (Thies)
-- Fixed \n in session variables bug on Win32 (Stas)
-- OCIError() would sometimes not report failed connections. (Thies)
-- Fixed HEAD request bug on an Apache ErrorDocument redirect and preserve
- the status code across the redirect as well. (Rasmus)
-- Added Olympus-specific tags to read_exif_data() (Rasmus)
-- Fixed bug in imap_fetchheader() where using FT_PREFETCHTEXT didn't return
- the body. Bug #4447. (Jani)
-- Fixed exec() returning "\0" when output is empty
-- Added XML_Parser class in PEAR (Stig)
-- Added "make test" target in pear/ and added some regression tests (Stig)
-- Fixed bug in strip_tags function as per bug #5857 (Rasmus)
-- Fixed reading of IPTC via GetImageInfo() for certain JPEG files. (Thies)
-- Improved the output-buffering functions to be re-entrant (Zeev)
-- Made ldap_add(), ldap_modify(), ldap_mod_add(), ldap_mod_replace()
- binary-safe. Original patch: Terrence Miao <terrence_miao@email.com> (Jani)
-- CGI aka. command line version has now an option '-l' for syntax check
- without execution (Hartmut)
-- Fixed bug in ldap_get_values_len() which makes it NULL-safe. (Jani)
-- Bug-report and fix submitted by Michel Alexeline <alexel@dr15.cnrs.fr>
-- Make ext_skel create a Makefile.in set up to handle shared extension
- support automatically (Rasmus)
-- Fixed php_realpath not to die on non-existing files (needed for touch())
- (Stas and china@thewrittenword.com)
-- Fixed get_browser() function (Stas)
-- Fixed symbol clash which caused a DSO problem on OpenBSD (Rob Black and
- anil@recoil.org)
-- Added new function: ldap_compare(). (Jani)
-- Fixed a bug in ldap_get_entries() and ldap_get_attributes(). (Jani)
-- Ported DB to new error reporting scheme in PEAR. (Stig)
-- Added sybase and ibase DB backends in PEAR. (Sterling)
-- New PEAR package Payment_Verisign for use with the Payflow Pro
- (pfpro) extension. (David Croft)
-- Added CURL support. (Sterling)
-- Catch users trying to set "compatibility" parameter in PDF, which is not
- supported from user-land. (Joey)
-- Fixed dbase_add_record. (Sterling)
-- Added new function wordwrap() to wordwrap long strings from Chris
- Russel <russel@yorku.ca> (David Croft)
-- Added four additional arguments: attrsonly, sizelimit, timelimit, deref which
- were missing in ldap_search(), ldap_list() and ldap_read() functions (Jani)
-- Fixed a bug in ldap_search/list/read() which prevented returning the partial
- results when 'Sizelimit exceeded' error occurred. (Jani Taskinen)
-- Fixed preg_replace() to automatically escape quotes in matched
- strings when using /e modifier. (Andrei)
-- Itanium patch (Steve Robb)
-- Set default include_path so PEAR files can be reached (Stig)
-- Added "pear" executable, requires CGI version installed (Stig)
-- Added extension ii for Ingres II native support. See README in ext/ingres_ii
- directory. (David H)
-- Added Win32 project for the Interbase module (Zeev)
-- Added ability to perform calls to the parent class without explicitly
- specifying its name, using parent::func_name(...) (Zeev, Zend Engine)
-- You can now call Ora_Error() without prameters to get the reason
- for a failed connection attempt. (Kirill Maximov)
-- New extension "pfpro" for interface with Verisign Payflow Pro (David Croft)
-- Added IMG_GIF, IMG_JPG, IMG_JPEG, IMG_PNG and IMG_WBMP constants for
- imagetypes() function (Rasmus)
-- Added ImageTypes() function which returns a bitfield with the supported
- image formats. 1=gif, 2=jpeg, 4=png and 8=wbmp (Rasmus)
-- Make it possible to specify an empty string as a thousands-seperator
- in number_format() (Rasmus)
-- Shared module support for LDAP extension (Troels Arvin)
-- Fixed a bug with imap_mail where apache would segfault if the rpath
- parameter was specified.
-- Use dashes and short day name in cookies since some browsers seem picky
- about this (Rasmus)
-- Added pspell module. (Vlad)
-- Added 3 additional arguments to the user-defined error handler - the file
- name and line number in which the error occured, and the context (local
- variables) of the code in which the error occured (Zeev, Zend Engine)
-- Improved the error handling code to handle an error in a user-defined error
- handling function (Zeev, Zend Engine)
-- Fixed leak when using string offsets in the array() construct.
- (Andi, Zend Engine)
-- Fixed corruption problem when changing deeply nested values in objects.
- (Andi & Zeev, Zend Engine)
-- Improved array_multisort() to be able to specify sort type as well sort
- order. Incidentally, it can be used to sort multi-dimensional arrays
- as well. (Andrei)
-- Fixed a possible data corruption in case of a huge amount of aborted requests
- (Zeev)
-- Apache module would sometimes close a wrong file-descriptor. (Sascha)
-- Fixed use of alternative storage handlers in the session module. (Sascha)
-- Updated str_pad() to be able to pad on left/right/both sides. (Andrei)
-- Fixed crash in gzopen(). (Thies)
-- Multiple character set support in gdttf.c (Rob Goodwin)
-- When using HTTP auth from PHP, fill in the %u custom log field so the
- authenticated used id will get logged in the Apache access_log (Rasmus)
-- Support for pdflib 3.01. (Uwe)
-- FDF Data is handled properly and can be accessed by reading
- HTTP_RAW_POST_DATA. (Uwe)
-- Added new 'O' format modifier that will output the GMT offset as "[+-]HHMM"
- (eg: Pacific time is -0700). This is useful for things such as Date: mail
- headers. (Mike W)
-- Fixed crash on OCI?Logon() failure. (Thies)
-- Make the special Header("http/...") response be case insensitive like 3.0
- (Rasmus)
-- Allow cybercash to compile as a DL module. (Sterling)
-- Fixed the dbase_create function. (Sterling)
-- Fixed a problem under some versions of Windows that could cause PHP to hang
- on startup if errors occured, e.g. in the php.ini file (Zeev)
-- Fixed opendir() again. It should actually work well continuously now (Zeev)
-- Added three additional arguments to be sent to a user-defined error handler -
- the filename and line number in which the error occured, and the context
- (the local variables) of the error (Zeev, Zend Engine)
-- Improved the error handling code to handle an error in a user-defined error
- handling function (Zeev, Zend Engine)
-- Added an optional parameter to preg_replace() that can be used to
- specify how many replacements to make. (Andrei)
-
-28 Jun 2000, Version 4.0.1
-- Fixed a possible crash in the LDAP modify code. (Eric Kilfoil)
-- Fixed a bug in opendir(), which prevented readdir() from working properly if
- the $dir argument wasn't explicitly specified (Zeev)
-- Made --enable-discard-path work again. (Andi)
-- Removed 8KB limit on line length of the file() function (Zeev)
-- Disabled dl() when PHP is being used as a module inside a multithreaded web
- server - it didn't work before, and caused weird results (Zeev)
-- Added the ImageColorClosestHWB(), ImageCopyMerge() and ImagePaletteCopy()
- functions. (Sterling)
-- Added ImageCreateFromWBMP() function. (Jouni)
-- Fixed problems with POST requests under the NSAPI module. (Roberto Biancardi)
-- Added spliti() function. (Thies)
-- Fixed serializer behaviour with regards to serializing objects whose class
- definition was not available in the deserializing context. (Sascha)
-- Improve memory cache performance and increase cache size. (Stas, Zend Engine)
-- Added a crc32 checksum function - used by the UdmSearch search engine
- and currently run through a system call. This will speed up the UdmSearch
- php frontend significantly. (Rasmus)
-- Modified in_array() to not touch array pointer. (Andrei)
-- Added restore_error_handler(). (Zeev, Zend Engine)
-- Fixed erroneous file names and line numbers in error situations under the
- multithreaded version of PHP - most noticeably Win32 (Zeev, Zend Engine)
-- Fixed problem with CGI crashing on certain servers especially Windows Apache
- & O'Reilly website (Andi)
-- Added Pi3Web SAPI module; run ./configure --with-pi3web to enable this.
- (Holger; zimpel@t-online.de)
-- Enhanced WDDX functions to call __sleep() and __wakeup() when working on
- objects. (Andrei)
-- Changed WDDX to serialize arrays as structs only if needed. (Thies)
-- Implemented max_execution_time under Win32 (Zeev)
-- Updated strtotime() to handle many more formats. It now has complete
- feature parity with GNU date command. (Andrei)
-- Added support for multiple arguments in unset(). (Faisal, Zend Engine)
-- Functions that expect a resource but are passed something else now return
- NULL instead of FALSE. (Thies, Zend Engine)
-- Fixed gmmktime(), on certain systems it incorrectly adjusted for the timezone
- offset and daylight savings time. (Andrei)
-- Moved VC++ Win32 project and workspace files to the win32 directory
- (Zeev)
-- Fixed checkdate() to not return true on non-numeric arguments (Rasmus)
-- Added --enable-c9x-inline option for compilers which support the new C9x
- standard. If you encounter undefined references to i_zend_is_true and
- other symbols, you should enable this. (Sascha, Zend Library)
-- Fixed a problem in ldap_add() and ldap_modify(), sometimes added trailing
- garbage to the values (Stig Venaas)
-- Fixed a problem with dbmopen() not handing 'c' correctly with dbm/db/ndbm
- databases. (JimJag)
-- Fixed a crash in number_format() when used with locales. (Andrei)
-- Fixed an initialization problem in the MS-SQL problem that could cause
- a crash in mssql_query() (Zeev)
-- Upgraded PCRE to version 3.2 and fixed a bug when anchored pattern
- matched an empty string. (Andrei)
-- Fixed a bug that prevented PHP from paying attention to the extension_dir
- directive with extensions that were loaded from the php.ini file (Zeev)
-- Changed set_error_handler() to return the name of the previously defined
- error handler, if any (Zeev, Zend Engine)
-- Declared <?php_track_vars?> officially dead. It didn't work in PHP 4.0.0
- either, but now it's gone for good (Zeev)
-- Make convert_cyr_string() binary safe and stop it from corrupting other
- PHP variables. (Andi)
-- Added functions array_unique, array_intersect and array_diff (Stig Venaas)
-- Fixed problem when using uninitialized values in comparisons with strings.
- They behave as empty strings again just like in PHP 3.
- (Andi & Zeev, Zend Engine)
-- Fixed 'Z' flag in date() to adjust for daylight savings time. (Andrei)
-- Fixed var_dump() not to modify the internal order of array elements (Zeev)
-- Fixed stripcslashes() to remove to strip \ in unknown escapes instead of
- leaving it. (Andrei)
-- Changed WDDX to always serialize arrays as structs. (Andrei)
-- Fixed include_once() to issue a warning in case the supplied file name is
- not found (Zeev, Zend Engine)
-- Fixed a bug in get_declared_classes() which could return the same class
- multiple times under certain circumstances (Zeev, Zend Engine)
-- Fixed a bug in rawurldecode() that would cause in rawurldecode() corrupting
- its argument (Zeev)
-- Parse errors (or other errors) in the php.ini files under Windows will no
- longer mess up the HTTP headers in CGI mode and are now displayed in a
- message box (Zeev)
-- Fixed a crash in OCIFetchStatement() when trying to read after all data
- has already been read. (Thies)
-- fopen_wrappers() are now extensible via modules (Hartmut Holzgraefe)
-- Make trim strip \0 to match php 3 (Rasmus)
-- Added function imagecreatefromxbm(). (Jouni)
-- Added function imagewbmp(). (Jouni, based on patch from Rune Nordbøe
- Skillingstad)
-- Added str_pad() for padding a string with an arbitrary string on left or
- right. (Andrei)
-- Made the short_tags, asp_tags and allow_call_time_pass_reference INI
- directives work on a per-directory basis as well, e.g. from .htaccess
- files. (Zeev)
-- Added fflush() function. (Eric Huss)
-- Fixed a problem with static variables, default function arguments and class
- member variables, that contained array values. (Andi & Zeev, Zend Engine)
-- Fixed virtual() when used with output buffering (Marc Pohl)
-- Clean up constants in flock() function and add optional 3rd arg which
- is set to true on EWOULDBLOCK (Rasmus)
-- Added functions pg_loimport(), pg_loexport(). (Jouni)
-- Added SWF support to getimagesize() function (Derick Rethans)
-- Added support for both indexed and non-indexed arrays of file uploads
- eg. name="file[]" type="file" (Rasmus)
-- Added create_function(), which gives the ability to create functions
- on-the-fly (Zeev, Zend Engine)
-- Added support for comparisons of arrays (with arrays) and objects (with
- objects); The equality operator (==) performs an unordered comparison,
- whereas the identity operator (===) performs an ordered comparison (Zeev,
- Zend Engine)
-- Allow all functions that receive user-defined function callbacks to accept
- an array that contains an object and a method name, in place of a function
- name, e.g. usort($array, array($obj, "ObjSort")) (Zeev, Zend Engine)
-- Added set_error_handler() to allow custom error handling functions,
- instead of the built-in error handling code (Zeev, Zend Engine)
-- Renamed user_error() to trigger_error(); user_error() remains
- defined for compatibility (Zeev, Zend Engine)
-- Fixed the global/static statements to require a trailing terminating
- semi-colon ';'. (Andi, Zend Engine)
-- Cleaned up PCRE extension and made it binary-safe. (Andrei)
-- Added third argument to in_array(). If it's true, then in_array()
- will use strict comparison instead of the default one. (Andrei)
-- Added pg_trace() and pg_untrace (Dominic J. Eidson & Zeev)
-- ignore_user_abort=Off is now default. (Thies)
-- Added array_merge_recursive() that will recursively merge values
- under the same keys. (Andrei)
-- fixed crash in OCIParse when parsing invalid SQL. (Thies)
-- Fixed a bug in mysql_connect() that made it ignore the socket argument, in
- case of non-persistent connects (Zeev)
-- Added disable_functions php.ini directive, to allow administrators to disable
- certain functions for security reasons (Zeev)
-- Fixed sessions on Win32. When setting the directory depth parameter in
- save_path you need to now delimit it with a ';' instead of ':', e.g
- "5;/tmp" instead of "5:/tmp" (Andi)
-- Changed the Apache handler's return status to 'Declined' when a requested
- PHP file could not be found. Returning 'Not Found' caused problems
- in the ErrorDocument handler stage in that $REDIRECT_REDIRECT_ERROR_NOTES
- was not getting set at all. Moving to 'Declined' should fix this and I
- can't see any other side effects. (Rasmus)
-- Fixed scanning decimal numbers in internationalized environments. They should
- always be in standard US format e.g. 23.3. (Andi, Zend Engine)
-- Added second argument to preg_quote() which allows quoting of
- one additional character, usually the regex delimiter. (Andrei)
-- Uncommitted outstanding OCI8 transactions are now rolled back
- before the connection is closed. (Thies)
-- ignore_user_abort() & friends should now work in CGI mode as well.
- (Patch by daniel.braun@ercom.fr)
-- Added extension YAZ (dickmeiss).
-- Fixed a crash bug triggered by certain cases of class redeclarations
- (Stas & Zeev, Zend Engine)
-- Fixed min()/max() segfault. (Andrei)
-- New module for reading EXIF header data from JPEG files. Most digital
- cameras will embed all sorts of information about a picture inside the
- jpeg images it generates. (Rasmus)
-- Fixed basename() bug where "file.ext///" would not return the same
- as "/path/file.ext///" (Rasmus)
-- Added the swf_ortho function. (Sterling)
-- Moved to virtual current working directory support. This highly improves the
- functionality and stability of multi-threaded versions of PHP (Andi, Sascha)
-
-22 May 2000, Version 4.0.0 Release
-- Allow the writing of flash files to stdout.
-- Fixed a crash bug in .phps syntax-highlighted files (Andi)
-- Improved round() to allow specification of rounding precision.
- (Andrei, Todd Kirby <kirbyt@yahoo.com>)
-- Added SORT_REGULAR, SORT_NUMERIC, SORT_STRING flags that can be used with
- non-user sort functions for precise sorting behavior. (Andrei)
-- Fixed two 64-bit issues (startup crash, gethostbyaddr). (Sascha)
-- NULL values are now preserved in the return value of mysql_fetch_array()
- and mysql_fetch_object(). (Andrei)
-- Ported InterBase module finally from PHP 3 to PHP 4. Full support for
- InterBase 6. (Jouni)
-- Added swf_definepoly for drawing polygons to the SWF functions. (Sterling)
-- Ported imagegammacorrect from PHP3 to PHP4. (Sterling)
-- Added array_rand() function. (Andrei)
-
-8 May 2000, Version 4.0 Release Candidate 2
-- NSAPI WIN32 Module compilable, untested (Shane)
-- Apache WIN32 Module compilable and lightly tested. (Shane)
-- Enabled assert() by default in php.ini-dist. (Andrei)
-- Put in safeguards in case dynamic code evaluation in assert() and
- preg_replace() with /e modifier fails. (Andrei)
-- Fixed infinite recursion when serializing $GLOBALS[] in WDDX. (Andrei)
-- Made WDDX serialization properly escape <, >, and &. Also speeded up
- the serialization in general. (Andrei)
-- Moved install-local to install-sapi for clarity. (Joey)
-- Improved extension build framework. Refer to README.SELF-CONTAINED-EXTENSIONS
- for an introduction. (Sascha)
-- ImagePolygon() is no longer limited by a maximum number of polygons.
- (Marc Pohl)
-- Added configure time checking for bcmath package. (Joey, Sascha)
-- Added get_declared_classes(). (Andrei, Zend Engine)
-- Added initial NSAPI module from Jayakumar Muthukumarasamy. (Rasmus)
-- Added the SWF module which allows you to create Macromedia Flash files via
- libswf. (Sterling)
-- Improved UNIX build system to support more vendor make tools (Sascha)
-- Updated natural comparison/sorting algorithm by Martin Pool
- <mbp@humbug.org.au>. (Andrei)
-- Fixed a crash in array_multisort() that happened when empty arrays
- were passed to it. (Andrei)
-- Added substr_count() from Peter Kovacs. (Andrei)
-- Added an optional third argument to fseek to indicate where to seek from.
- (Andrei)
-- OCIBindByName() will no longer complain about bindlength beeing zero. (Thies)
-- Converted the IMAP module to the high performance API (Zeev)
-- The fgetcsv() function now handles embedded end-of-line in a quoted field
- (Nick Talbott)
-- Added user_error(), to allow explicitly generate error messages from scripts
- (Zeev, Zend Engine)
-- Fixed a problem in long2ip() that occasionally returned incorrect IP address.
- (Evan, Andrei)
-- Fixed many memory leaks in the IMAP module (Stas, Andi, Zeev)
-- Fixed bug in number_format (Jon Forsberg)
-- Make error_prepend_string and error_append_string work (Rasmus)
-- array_walk() now automatically resets the array. (Andrei)
-- Added natural comparison/sorting routines strnatcmp(), strnatcasecmp(),
- natsort(), and natcasesort(). These are useful for comparing and sorting
- strings that contain numbers. Based on the code from Martin Pool
- <mbp@humbug.org.au>. See http://www.linuxcare.com.au/projects/natsort/
- for more info on natural sorting. (Andrei)
-- Zeus Webserver support (version 3.3.6+) for ISAPI (Ben Mansell)
-- Fixed several problems with the PATH_TRANSLATED and PHP_SELF under Apache
- (Paul Gregg & Zeev)
-- Ported ldap_get_values_len() function from PHP3 to PHP4. (Sterling)
-- Fixed a problem in include_once() with non constant arguments (Andi & Zeev,
- Zend Engine)
-- Added php.ini-optimized (Zeev)
-- Ported ldap_errno(), ldap_err2str() and ldap_error() from PHP3 to PHP4.
- (Sterling)
-- WDDX now defaults to ISO-8859-1. (Thies)
-- Fixed crash resulting from IMAP's error handling (Stas)
-- Added $HTTP_POST_FILES[filename][tmp_name] - it was previously impossible to
- retrieve the temporary name of an uploaded file using $HTTP_POST_FILES[]
- (Zeev)
-- Made the IMAP and LDAP modules compilable under Windows and thread-safe
- (Zeev)
-- Fixed a problem when dealing with large POST blocks in CGI mode (Zeev)
-- Added session_get_cookie_params() function. (Sterling)
-- Fixed return of stristr() to no longer always be lowercased. (Andrei)
-- Changed the Windows version of PHP so that a php.ini file is no
- longer mandatory (Zeev)
-- session_start() is now more verbose if headers cannot be send. (Thies)
-- Fixed a memory leak when using assign-op bitwise operators on strings (Zeev,
- Zend Engine)
-- Added support for reading properties that require arguments in the COM
- module - writing to them will only be supported in PHP 4.1 (Zeev)
-- Fixed a very old legacy memory leak in the COM module (Zeev)
-- Fixed problems with object-overloading support - noteably, COM and Java
- (Zeev, Zend Engine)
-- Fixed an overrun in WDDX. (Thies)
-- Fixed a crash bug with modules loaded through dl() not properly freeing their
- resources (Zeev, Zend Engine)
-- Added localtime() function. (Sterling)
-- Added the 'I' format option for the date function, this option will return
- true or false depending on whether or not daylight savings time is in effect.
-(Sterling)
-- Added gmstrftime() function. (Sterling)
-- snmp_walkoid is now an alias for snmp_realwalk. (Sterling)
-- Fixed a bug that could cause a crash when using 'global' inside large include
- files (Stas, Zend Engine)
-- Added --enable-libgcc switch to force linking against libgcc (Sascha)
-- Fixed dynamic loading where extension_dir had no trailing slash (Sascha)
-- Fixed dynamic loading on OpenBSD (Sascha)
-- Improved POSIX threads check. ZTS works now on at least Linux, Solaris,
- FreeBSD and OpenBSD (Sascha, TSRM)
-- Added !== operator support. (Torben, Zend Engine)
-
-27 March 2000, Version 4.0 Release Candidate 1
-- Added support for UCD-SNMP 4.1.x (Sascha)
-- Fixed a data corruption bug in mysql_result(), if used in table.fieldname
- mode (Zeev)
-- Fixed a crash problem in func_num_args(), func_get_arg() and func_get_args()
- when used as function arguments (Andi, Zend Engine)
-- Added get_class_methods(string classname) function. (Andrei)
-- Added 'I' switch to test whether or not DST is active. (Sterling)
-- Fixed a data corruption bug in mysql_result(), if used in table.fieldname
- mode (Zeev)
-- Modified the registry INI entry reader (Win32) to work with drive letters.
- For example, if you wish to wish to specify INI entries for C:\foo\bar, you
- should create HKLM\PHP\Per Directory Values\C\foo\bar in the registry, and add
- string values for each directive you want to override in this directory (Zeev)
-- Fixed extract() for EXTR_PREFIX_SAME and EXTR_SKIP cases. (Andrei)
-- stristr() no longer modifies it's arguments. (Thies)
-- Don't default to iso-8859-1 since this confuses some browsers. (Rasmus)
-- Make it possible to specify both a port and a socket
- in mysql_[p]connect. (Rasmus)
-- Added --disable-pic for disabling generating PIC for shared objects
- on platforms which support it (i.e. Linux) (Sascha)
-- serialize()/unserialize() now call __sleep() and __wakeup() when
- working on objects. (Thies)
-- renamed to_string() method to __string_value() for consistency.
- (Thies, Zend Engine)
-- Fixed a bug in the third argument to define()
-- Added is_numeric() that returns true if the argument is a number
- or a numeric string. (Andrei)
-- domxml now supports libxml 2.0 Beta and drops support for older versions,
- due to massive changes in libxml
-- fixed possible crash in unserialize() if serialized data was
- corrupted. (Thies)
-- Changed $HTTP_STATE_VARS to $HTTP_SESSION_VARS. Use only the latter
- version now! (Andrei)
-- Added GD-JPEG Support (Rasmus)
-- Prevent from loading dynamic PHP modules which were compiled with different
- debug and thread safety modes than PHP, which resulted in a crash (Andi)
-- connection_aborted() and friends work again (Thies)
-- Upgraded to libtool 1.3.4 (Sascha)
-- UNIX configure creates config.nice in the build directory now which allows
- easy reuse of configuration options (Sascha)
-- Added support for embedded MySQL client library. Unless you specify a path
- to --with-mysql, the bundled MySQL client library will be used (Sascha)
-- Added include_once() and require_once() functionality (Andi, Zend Engine)
-- Removed support for pdflib < 3.0 (Uwe)
-- Added auto-registration of everything in $HTTP_SESSION_VARS[] if
- register_globals is turned off. (Andrei)
-- Cleaned up extension namespace (Stig)
-- OCINLogon() sessions are now closed again. (Thies)
-- Added ip2long() and long2ip(),
- courtesy of Faisal Nasim <faisal@nasim.org> (Andrei)
-- Added ftruncate() and fstat(),
- courtesy of Faisal Nasim <faisal@nasim.org> (Andrei)
-- Added parse_ini_file(). Currently implemented in non thread safe version
- of PHP, and currently lacks section support (Zeev)
-- "none" is now equivalent with "" in Apache config directives (Stig)
-- OCINLogon no longer crashes. (Thies)
-- Fixed comparisons of (string) "nan" with (string) "nan". (Thies, Zend Engine)
-- Switched back to the old $HTTP_*_VARS[] behavior - $HTTP_GET_VARS["foo"]
- and $foo are no longer references to each other, but separate variables
- like they were prior to PHP 4.0 Beta 4 (Zeev)
-- Fixed Sybase-DB compilation (Zeev)
-- Fixed a (fairly common) situation where error_reporting values would not be
- properly restored after a call to error_reporting(), in between requests
- (Zeev)
-- The various $HTTP_*_VARS[] are now protected, and cannot be manipulated by
- user input (Zeev)
-- Added ini_set() as an alias to ini_alter() (Zeev)
-- The string None is now recognized as a keyword by the php.ini processor, and
- can be used to denote an empty string (Zeev)
-- Added get_class_vars(string class_name) and get_object_vars(object obj)
- functions. (Andrei, Zend Engine)
-- Added pdf_set_parameter(), pdf_skew(), pdf_show_boxed() (Uwe)
-- Fixed comparison of (string) "inf" with (string) "inf", which was erroneously
- returning false (Zeev)
-- Implemented default_charset and default_mimetype config directives (Stig)
-- Ported T1lib support from PHP3. (Jouni)
-- Fixed -DEAPI inheritance from APXS. (Sascha)
-- Fixed possible crash in module-shutdown. (Thies)
-- Fixed safe_mode_protected_env_vars INI directive (Zeev)
-- Fixed getrusage() (Sascha)
-- Fixed OCI8 crash when returning cursors from stored-procedures. (Thies)
-
-21 February 2000 Version 4.0 Beta 4 patch level 1
-- Fixed crash when magic_quotes were switched off. (Thies)
-- Support for pdflib 2.30 (Uwe)
-
-20 February 2000, Version 4.0 Beta 4
-- Introduced $HTTP_POST_FILES[], that contains information about files uploaded
- through HTTP upload (Zeev)
-- Made PHP work under Microsoft Personal Web Server, under both Windows NT
- workstation and Windows 95 (Zeev)
-- Made multipart/form-data content obey to the variables_order directive (Zeev)
-- Updated the browscap module to work with PHP 4.0 (Zeev)
-- Recover gracefully in ISAPI after the client prematurely presses STOP (Andi)
-- Fixed bug in unset() on array offsets which are referenced more than once
- (Andi, Zend Engine)
-- Improved ISAPI module - it should no longer be necessary to set PHP as
- an ISAPI filter, only as an ISAPI extension, unless you wish to perform
- authentication using PHP. This didn't yet get enough testing, but it
- should work (Zeev)
-- Fixed RFC1867 file upload under Windows (Zeev)
-- Initital support for pdflib 2.20 (Uwe)
-- Added PostgreSQL support for DB (Rui Hirokawa <louis@cityfujisawa.ne.jp>)
-- Re-introduced "none" for disabling auto_prepend/append_file (Stig)
-- Added DB/storage (Stig, PEAR)
-- Introduced DB warnings (Stig, PEAR)
-- Fixed overrun in strip_tags (Stas)
-- Fixed crash in strip_tags() and related functions. (Thies)
-- Workaround for bogus POST-Data from IE/Mac. (Thies)
- Patch by Alain Malek <alain@virtua.ch>
-- Finished the server abstraction layer; All of the PHP code is now shared
- across different servers (Apache, CGI, IIS, etc.), except for thin
- interface modules (Zeev)
-- Added NULL-support in gettype(). (Thies)
-- base64_decode() will decode POST data correct. (Thies)
- Patch submitted by: Turadg Aleahmad <turadg@wise.berkeley.edu>
-- Much more work on domxml. Build xml tree, create xml doc works (Uwe)
-- Made foreach() work on objects. (Thies, Zend Engine)
-- Added domxml extension based on libxml, still little functionality (Uwe)
-- Fixed memory corruption in fgetss(), strip_tags() and gzgetss() (Zeev)
-- Updated calendar dynamic library to work with PHP 4. (Evan)
-- Added strncmp() function, courtesy of Walter. (Andrei)
-- Made the output of var_dump() more informative. (Thies)
-- Fixed some OCIBindByName() problems. (Thies)
-- Protect the ISAPI module against exceptions. Stack overflows in scripts are
- now nicely detected and handled (Zeev)
-- Fixed possible buffer-overflow in base64_decode. (Thies)
-- Fixed possible buffer-overflow in setcookie(). (Thies)
-- Fixed signal() bug that could cause the Apache master process to
- die. (Thies)
-- Added session_set_cookie_params() function. (Andrei)
-- If header information is sent after output has already been sent, the warning
- message will now state the filename and line number at which the first output
- was made (Zeev)
-- Added the XML Expat library to the standard PHP source distribution thanks
- to its author James Clark (Andi & Zeev)
-- Added XML support to the default Win32 build (Andi & Zeev)
-- Added socket_get_status() function. Renamed:
- set_socket_timeout() -> socket_set_timeout()
- set_socket_blocking() -> socket_set_blocking(). (Andrei)
-- Added realpath() function. (Andrei)
-- mktime interprets years in the range 0-70 now as 2000-2070. You can
- continue to specify the complete year (i.e. 1920) (Sascha)
-- Added the ability to control the environment variables the user is allowed
- to change in Safe Mode, using INI directives (Zeev)
-- Fixed a crash bug in strtr() working on large input strings (Zeev)
-- Ora_GetColumn()/Ora_FetchInto() now return NULL for NULL-Columns. (Thies)
-- OCI8 now supports binding of NULL-values. Module cleanups. (Thies)
-- Added ability to set timeout on socket read operations through
- set_socket_timeout() function. (Andrei)
-- Added implicit_flush INI directive (Zeev)
-- Added implicit_flush() to control whether flush() should be called
- implicitly after any output (Zeev)
-- Fixed a crash in pfsockopen() (Zeev)
-- Fixed a possible crash in phpinfo() (Zeev)
-- Added register_argc_argv INI directive, to allow to selectively disable
- the declaration of the $argv and $argc variables for increased
- performance (Zeev)
-- Added $HTTP_ENV_VARS[] and $HTTP_SERVER_VARS[] support, which similarly
- to $HTTP_GET_VARS[], contain environment and server variables. Setting
- register_globals to Off will now also prevent registration of the
- environment and server variables into the global scope (Zeev)
-- Renamed gpc_globals INI directive to register_globals (Zeev)
-- Introduced variables_order that deprecates gpc_order, and allows control
- over the server and environment variables, in addition to GET/POST/Cookies
- (Zeev)
-- new function cpdf_set_document_limits() (Uwe)
-- Applied safe-mode patch to popen(). (Patch by Kristian Köhntopp)
-- str_repeat() now returns correct length. (Thies)
-- Don't assume libz and libpng are installed for the GD checks (Rasmus)
-- Implemented support for <boolean> and <null> types according
- to WDDX version 1.0 (Andrei)
-- Made var_dump()/serialize()/unserialize() NULL aware. (Thies)
-- Added new NULL constant (Zeev, Zend Engine)
-- Fixed -c support in the standalone CGI binary (Zeev)
-- Increased PHP's performance by 5-15% using a new memory cache (Andi & Zeev,
- Zend Engine)
-- Improved the php.ini reader to support constants and bitwise operators (Zeev)
-- Fixed strrev() to no longer modify arg1. (Thies)
-- Fixed buffer overruns in iptcembed(). (Thies)
-- Fixed a bug in ODBC error reporting (Zeev)
-- Added PHP_Logo_GUID() and Zend_Logo_GUID() functions, that return the GUIDs
- of the PHP and Zend logos used in phpinfo() (Zeev)
-- Added GNU Pth support (Sascha, TSRM library)
-- Removed select(), fd_set() and fd_isset() - will be reimplemented soon! (Thies)
-- Improved Win32 performance significantly by using different mutexes (Zeev,
- TSRM library)
-- Made quotemeta() and preg_quote() binary-safe. (Andrei)
-- Added UDP support in fsockopen(). (Evan)
-- Added --disable-pear option (Andrei)
-- Renamed libzend repository to Zend (Zeev)
-- Added support for thttpd (Sascha)
-- Added session.cache_limiter and cache_expire options (Sascha)
-- Restored the PHP_VERSION and PHP_OS constants (Zeev)
-- Added get_loaded_extensions(), extension_loaded(), and
- get_extension_funcs() functions. (Andrei)
-- Added date/time stamping to PHP error log file. (Andrei, Joey)
-- Added is_subclass_of() function (Andrei, Zend Engine)
-- Implemented count_chars(). (Thies)
-- Added class_exists() function (Andrei, Zend Engine)
-- Made strspn() and strcspn() binary-safe. (Andrei)
-- Added array_multisort() function. (Andrei)
-- Made pageinfo.c thread-safe (Sascha)
-- Made implode() binary-safe (Andrei)
-- Made strstr(), stristr(), and ucwords() binary-safe() (Andrei)
-- Made strtoupper(), strtolower(), substr_replace() binary-safe. (Andrei)
-- Fixed a crash in the Apache syntax highlighting mode (Zeev)
-- Report all ODBC error's not just the one on the top of the stack (lurcher)
-- OCI8 now returns NULL values in LONG columns correct. (Thies)
-- Added support for a C-like assert() function. (Thies)
-- Added CyberCash support. (Evan)
-- Made explode() binary-safe. (Thies)
-- Made strpos() binary-safe. (Thies)
-- Added XML_Set_Object() function, now you can use the XML-Parser from
- within an object. (Thies)
-- Session vars are now decoded into $HTTP_STATE_VARS[] array and the
- globals, depending on track_vars and gpc_globals settings (Andrei)
-- Added get_used_files() function - returns a hash mapping the use()'d files
- to their full path (Zeev)
-- PHP 4 scripts will now obey the max_execution_time setting and actually
- time out (Rasmus)
-- Added configure command to phpinfo() output (Stig)
-- Added optional socket path to the mysql_?connect() functions (Rasmus)
-- Made mysql and gd work as shared extensions again (Stig)
-- Make the global GET/POST/Cookie variables and their $HTTP_*_VARS[] counterparts
- be references to each other (Zeev)
-- Added support for the 'use' keyword - behaves like 'require', but will not
- use the same file more than once (Andi & Zeev, Zend Engine)
-- Added check to see if a persistent connection is still valid with the
- ODBC interface before reusing (nick@easysoft.com)
-- Added DBMaker support (patch by Pax Tsai <paxtsai@lion.syscom.com.tw>)
-- Renamed "PECL" to "PEAR" (PHP Extension and Add-on Repository) (Stig)
-- buildconf now uses build.mk (Stig)
-- Disable symlinks to urls (Rasmus)
-- Informix driver now reflects version of ESQL/C used (Danny)
-- Modified session_register() to take variable number of arguments (Andrei)
-- Fixed file descriptor leak in thread safe mode (Zeev, Zend Engine)
-- Added select(), fd_set() and fd_isset() (Evan)
-- cpdf support has been ported from php3, needs ClibPDF 2.x (Uwe)
-- Fixed a leak when using automatic output buffering (Zeev)
-- Introduced PECL - PHP Extension and Code Library
- (prounounced "pickle") (Stig)
-- Fixed inconsistencies in the implementation of here-docs (Andi & Zeev, Zend
- library)
-- Fixed a problem with constant class-member initializations (Andi & Zeev,
- Zend Engine)
-- Fixed float-compare in min(),max(),a[r]sort(),[r]sort() (Thies)
-- Implemented get_html_translation_table() function (Thies)
-- Implemented array_flip() function. Returns input-array with key, value
- flipped (Thies)
-- Added Berkeley DB3 support in DBA (Sascha)
-- Implemented 2-Arg version of strtr($str,$translation_array). This can be used
- to revert what htmlspecialchars() did (Thies)
-- Fixed mem-overwrite in XML_Parse_Into_Struct (Thies)
-- Added substr_replace() function (Andrei)
-
-November 16 1999, Version 4.0 Beta 3
-- ucfirst()/ucwords() no longer modify arg1 (Thies)
-- Fixed strtr() not to modify arg1 (Thies)
-- Added Win32 build files for Informix driver and make it
- compile with ZTS (danny)
-- Added tmpfile() function (Stig)
-- Upgraded regex library to alpha3.8 (Sascha)
-- Fixed selecting nested-tables in OCI8. (Thies)
-- RFC-854 fix for internal FTP-Code. Commands have to end in "\r\n" (Thies)
-- Fixed OpenLink ODBC support (Stig)
-- min(),max(),a[r]sort(),[r]sort(),k[r]sort() now work consistent with the
- language-core. (Thies)
-- tempnam() now uses mkstemp() if available (Stig)
-- serialize() and var_dump() now honor the precision as set in php.ini
- for doubles. (Thies)
-- Improved the Win32 COM module to support [out] parameters (Boris Wedl)
-- Fixed garbage returned at the end of certain Sybase-Columns (Thies)
- Patch submitted by: neal@wanlink.com
-- Added Microsoft SQL Server module for Win32 (Frank)
-- Added support for forcing a variable number of internal function arguments
- by reference. (Andi & Zeev, Zend Engine)
-- Implemented getprotoby{name,number} (Evan)
-- Added array_pad() function. (Andrei)
-- Added new getservby{name,port} functions. (Evan)
-- Added session.cookie_path and session.cookie_domain (Sascha)
-- Continue processing PHP_INI_SYSTEM knownDirectives after extension=
- (Sam Ruby)
-- Enable IBM DB2 support - Tested against DB2 6.1 UDB on Linux (Rasmus)
-- Added new str_repeat() function. (Andrei)
-- Output-Buffering system is now Thread-Safe. (Thies)
-- implemented OCI8 $lob->WriteToFile() function - very useful for streaming
- large amounts of LOB-Data without to need of a huge buffer. (Thies)
-- Added session.use_cookies option (Sascha)
-- Added getcwd() function. (Thies)
-- XML_Parse_Into_Struct no longer eats data. (Thies)
-- Fixed parse_url('-') crash. (Thies)
-- added === operator support. (Andi & Thies, Zend Engine)
-- unserialize() now gives a notice when passed invalid data. (Thies)
-- Fixed shuffle() so that it no longer breaks on Solaris. (Andrei)
-- Added is_resource(), is_bool() functions. (Thies)
-- Cleaned up File-Module (Thies)
-- Upgraded math-funtions to use new Zend function API (Thies)
-- Fixed zombie problem in shell_exec() and $a = `some_command`
- constructs. (Thies)
-- Thies introduced ZEND_FETCH_RESOURCE2 (Danny).
-- Added Informix driver to list of maintained extensions. (Danny).
-- Informix driver : Changed ifx.ec to use the new high-performance
- ZEND API. (Danny)
-- IXF_LIBDIR environment variable specifies alternate Informix library
- path for configure (Danny).
-- Fixed gmmktime() so that the following should always be true:
- gmmktime([args]) == mktime([args]) + date('Z', mktime([args])) (Jouni)
-- setlocale doesn't anymore screw up things if you forgot to change it back
- to the original settings. (Jouni)
-- Switched to new system where ChangeLog is automagically updated from commit
- messages. NEWS file is now the place for public announcements. (Andrei)
-- Fixed refcount problem in XML module. (Thies)
-- Fixed crash in HTTP_RAW_POST_DATA handling (Thies)
-- You can use resources as array-indices again (Thies, Zend Engine)
-- Fixed pg_fetch_array() with three arguments (Sascha)
- Patch submitted by: brian@soda.berkeley.edu
-- Upgraded a lot internal functions to use new Zend function API (Thies)
-- fdf support ported; not completely tested with latest version 4.0 for
- glibc (Uwe)
-- OCI8 connections are now kept open as long as they are referenced (Thies)
-- Cleaned up Directory-Module (Thies)
-- Small fix in Ora_Close (Thies)
-- Ported range() and shuffle() from PHP 3 to PHP 4 (Andrei)
-- Fixed header("HTTP/..."); behaviour (Sascha)
-- Improved UNIX build system. Now utilizes libtool (Sascha)
-- Upgrade some more internal functions to use new Zend function API. (Thies,
- Zend Engine)
-- Fixed backwards incompatibility with ereg() (Thies)
-- Updated Zend garbage collection with a much more thorough method.
- (Andi, Zend Engine)
-- Added the ability to use variable references in the array() construct.
- For example, array("foo" => &$foo). (Andi, Zend Engine)
-- Added array_reverse() function (Andrei)
-- Some more XML fixes/cleanups (Thies)
-- Updated preg_replace() so that if any argument passed in is an array
- it will make a copy of each entry before converting it to string so that
- the original is intact. If the subject is an array then it will preserve
- the keys in the output as well (Andrei)
-- Updated OCI8 to use the new high-performance Zend function API. (Thies)
-- Configure speedup (Stig)
-- Fixed LOB/Persistent-Connection related OCI8-Crash (Thies)
-- Generalized server-API build procedure on UNIX (Stig)
-- Added '--disable-rpath' option (Sascha)
-- Added AOLserver SAPI module (Sascha)
-- Fixed XML Callbacks. (Thies)
-- Updated ODBC to use the new high-performance Zend function API (kara)
-- Updated zlib to use the new high-performance Zend function API. (Stefan)
-- Updated preg_split() to allow returning only non-empty pieces (Andrei)
-- Updated PCRE to use the new high-performance Zend function API (Andrei)
-- Updated session, dba, mhash, mcrypt, sysvshm, sysvsem, gettext modules to use
- the new high-performance Zend function API (Sascha)
-- Extended var_dump to handle resource type somewhat (Andrei)
-- Updated WDDX to use the new high-performance Zend function API (Andrei)
-- Updated XML to use the new high-performance Zend function API. (Thies)
-- Updated Oracle to use the new high-performance Zend function API. (Thies)
-- Improved the performance of the MySQL module significantly by using the new
- high-performance Zend function API. (Zeev)
-- Added support for the Easysoft ODBC-ODCB Bridge (martin@easysoft.com)
-- Fixed bug in odbc_setoption, getParameter call incorrect (martin@easysoft.com)
-- Ora_Fetch_Into now resets the returned array in all cases (Thies)
-- Fixed NULL-Column problem in Oracle-Driver (Thies)
-- Added extra metadata functions to ODBC, SQLTables etc (nick@easysoft.com)
-- Fixed SEGV in mcal make_event_object() and
- typo in mcal_list_alarms() (Andrew Skalski)
-- Fixed Ora_PLogon (Thies)
-- Resourcified Oracle (Thies)
-- Implemented object serialization/deserialization in WDDX (Andrei)
-- Added krsort() function (Thies)
-- Added func_num_args(), func_get_arg() and func_get_args() for standard
- access to variable number of arguments functions (Zeev)
-- Added FTP support (Andrew Skalski)
-- Added optional allowable_tags arguments to strip_tags(), gzgetss() and
- fgetss() to allow you to specify a string of tags that are not to be
- stripped (Rasmus)
-- Upgraded var_dump() to take multiple arguments (Andrei)
-- Resourcified XML (Thies)
-- Fixed a memory leak in the Apache per-directory directives handler (Zeev)
-- Added array_count_values() function. (Thies)
-- snmp, pgsql, mysql and gd modules can be built as dynamically loaded
- modules (Greg)
-- OCI8 fix for fetching empty LOBs (Thies)
-- Added user-level callbacks for session module (Sascha)
-- Added support for unknown POST content types (Zeev)
-- Added "wddx" serialization handler for session module (Sascha)
- (automatically enabled, if you compile with --with-wddx)
-- Fixed unserializing objects (Thies)
-- PHP 4.0 now serializes Objects as 'O' (not understood by PHP 3.0), but
- unserializes PHP 3.0 serialized objects as expected. (Thies)
-- Made serialize/unserialize work on classes. If the class is known at
- unserialize() time, you'll get back a fully working object! (Thies)
-- Reworked preg_* functions according to the new PCRE API, which also made
- them behave much more like Perl ones (Andrei)
-- Made it possible to specify external location of PCRE library (Andrei)
-- Updated bundled PCRE library to version 2.08 (Andrei)
-- count()/is_array/is_object... speedups. (Thies)
-- OCI8 supports appending and positioning when saving LOBs (Thies)
-- Added metaphone support (Thies)
-- OCI8 doesn't use define callbacks any longer. (Thies)
-- OCI8 Driver now supports LOBs like PHP 3.0. (Thies)
-- var_dump now dumps the properties of an object (Thies)
-- Rewrote the GET/POST/Cookie data reader to support multi-dimensional
- arrays! (Zeev)
-- Renamed allow_builtin_links to expose_php (defaults to On). This directive
- tells PHP whether it may expose its existence to the outside world, e.g.
- by adding itself to the Web server header (Zeev)
-- Added support for transparent session id propagation (Sascha)
-- Made WDDX serialize object properties properly (Andrei)
-- Fixed WDDX mem leak when undefined variable is passed in
- for serialization (Andrei)
-- Added session_unset() function (Andrei)
-- Fixed double session globals shutdown crash (Andrei)
-- Fixed crash related to ignore_user_abort ini entry (Andrei)
-- Added support for external entropy sources for session id creation
- (on Unices /dev/random and /dev/urandom) (Sascha)
-- Added gpc_globals variable directive to php.ini. By default it is On, but
- if it is set to Off, GET, POST and Cookie variables will not be inserted
- to the global scope. Mostly makes sense when coupled with track_vars (Zeev)
-- Added versioning support for shared library (Sascha)
- This allows concurrent use of PHP 3.0 and PHP 4.0 as Apache modules. See
- the end of the INSTALL file for more information.
-- Added second parameter to array_keys which specifies search value
- for which the key should be returned (Andrei)
-- Resourcified Informix driver (Danny)
-- New resource handling for odbc, renamed to php_odbc.[ch]
-- Make set_time_limit() work on Unix (Rasmus)
-- Added connection handling support (Rasmus)
-- Improved the Sybase-CT module to make use of resources (Zeev)
-- Improved the mSQL module to make use of resources (Zeev)
-- Changed mysql_query() and mysql_db_query() to return false in case of saving
- the result set data fails (Zeev)
-- Improved the resource mechanism - resources were not getting freed as soon
- as they could (Zeev)
-- Added shared memory module for session data storage (Sascha)
-- Fixed session.auto_start (Sascha)
-- Fixed several problems with output buffering and HEAD requests (Zeev)
-- Fixed HTTP Status code issue with ISAPI module (Zeev)
-- Fixed a problem that prevented $GLOBALS from working properly (Zeev, Zend
- library)
-- Ported newest GetImageSize (Thies)
-- Added session compile support in Win32 (Andi)
-- Added -d switch to the CGI binary that allows overriding php.ini values
- from the command line (Zeev)
-- Fixed a crash that would occur if wddx_deserialize did not receive
- a valid packet (Andrei)
-- Fixed a bugglet when redefining a class at run-time (Andi, Zend Engine)
-- Fixed sem_get() on AIX (Sascha)
-- Fixed fopen() to work with URL's in Win32 (Andi & Zeev)
-- Fixed include_path for Win32 (Andi, Zend Engine)
-- Fixed bug in ISAPI header sending function (Charles)
-- Fixed memory leak when using undefined values (Andi & Zeev, Zend Engine)
-- Added output_buffering directive to php.ini, to enable output buffering
- for all PHP scripts - default is off (Zeev).
-- Fixed some more class inheritance issues (Zeev, Zend Engine)
-- Fixed Apache build wrt to shared modules on FreeBSD/Linux (Sascha)
-- Added session.extern_referer_chk which checks whether session ids were
- referred to by an external site and eliminates them (Sascha)
-- Improved session id generation (Sascha)
-- Improved speed of uniqid() by using the combined LCG and removing
- the extra usleep() (Sascha)
-- Introduced general combined linear congruential generator (Sascha)
-- Made ldap_close back into an alias for ldap_unbind (Andrei)
-- OciFetchInto now resets the returned array in all cases (Thies)
-- Fixed mysql_errno() to work with recent versions of MySQL (Zeev)
-- Fixed a problem with define() and boolean values (Zeev)
-- Fixed inclusion of gd/freetype functions (Sascha)
-- Fixed persistency of MHASH_* constants (Sascha)
-- Oracle is now ZTS-Safe (Thies)
-- Fixed flushing of cached information to disk in DBA's DB2 module (Sascha)
-- OCI8 is now ZTS-Safe (Thies)
-- Fixed is_writeable/is_writable problem; they are both defined now (Andrei)
-- Imported PHP 3.0 diskfreespace() function (Thies)
-- Fixed thread-safety issues in the MySQL module (Zeev)
-- Fixed thread-safe support for dynamic modules (Zeev)
-- Fixed Sybase CT build process (Zeev)
-
-August 9 1999, Version 4.0 Beta 2
-- Fixed a problem when sending HTTP/1.x header lines using header() (Zeev)
-- Win32 builds now include the ODBC module built-in (Zeev)
-- Fixed SYSV-SHM interface (Thies).
-- Updated hyperwave module, made it thread safe
-- Updated pdflib module, version 0.6 of pdflib no longer supported
-- Updated fdf module
-- Built-in phpinfo() links are now turned off by default. They can be turned
- on using the allow_builtin_links INI directive (Zeev)
-- Changed phpinfo() to list modules that have no info function (Zeev)
-- Modified array_walk() function so that the userland callback is passed
- a key and possible user data in addition to the value (Andrei)
-- Fixed ldap_search(), ldap_read() and ldap_list() (Zeev)
-- Fixed Apache information in phpinfo() (sam@breakfree.com)
-- Improved register_shutdown_function() - you may now supply arguments that
- will be passed to the shutdown function (Zeev)
-- Improved call_user_func() and call_user_method() - they now support passing
- arguments by reference (Zeev)
-- Fixed usort() and uksort() (Zeev)
-- Fixed md5() in the Apache module (Thies)
-- Introduced build process for dynamic modules (Stig)
-- Improved ISAPI module to supprt large server variables (Zeev)
-- Imported PHP 3.0 fixes for problem with PHP as a dynamic module and Redhat
- libc2.1 in zlib module (Stefan)
-- Fixed sybase_fetch_object() (Zeev)
-- Made the IMAP module work with PHP 4.0 (Zeev)
-- Fixed a problem with include()/require() of URLs (Sascha, Zeev)
-- Fixed a bug in implode() that caused it to corrupt its arguments (Zeev)
-- Added get_class($obj), get_parent_class($obj) and method_exists($obj,"name")
- (Andi & Zeev)
-- Fixed various inheritance problems (Andi & Zeev, Zend Engine)
-- Children now inherit their parent's constructor, if they do not supply a
- constructor of their own.
-- Fixed runtime inheritance of classes (parent methods/properties were
- overriding their children) (Zeev, Zend Engine)
-- Fixed backwards incompatibility with the "new" operator (Andi, Zend Engine)
-- Fixed bugs in uksort() and ksort() sort ordering (Andrei)
-- Fixed a memory leak when using assignment-op operators with lvalue of type
- string (Zeev, Zend Engine)
-- Fixed a problem in inheritance from classes that are defined in include()d
- files (Zeev, Zend Engine)
-- Fixed a problem with the PHP error handler that could result in a crash
- on certain operating systems (Zeev)
-- Apache php_flag values only recognized 'On' (case sensitive) - changed
- to case insensitive (Zeev)
-- Fixed a memory leak with switch statement containing return statements
- (Andi & Zeev, Zend Engine)
-- Fixed a crash problem in switch statements that had a string offset
- as a conditional (Andi & Zeev, Zend Engine)
-- Imported PHP 3.0 fixes for rand() and mt_rand() (Rasmus)
-- Added function entries for strip_tags() and similar_text() (Andrei)
-- Fixed a bug in WDDX that would cause a crash if a number was passed in
- instead of a variable name (Andrei)
-- Ported strtotime() function from PHP 3.0 (Andrei)
-- Merged in gdttf stuff from PHP 3.0 (Sascha)
-- buildconf now checks your installation (Stig)
-- XML module now built dynamically with --with-xml=shared (Stig)
-- Added a check for freetype.h - fixed build on RedHat 6.0 (Zeev)
-- Fixed array_walk() to work in PHP 4.0 (Andrei)
-- Ported all remaining date() format options from PHP 3.0 (Andrei)
-- $php_errormsg now works (Andrei)
-- Added locale support for Perl Compatible Regexp functions (Andrei)
-- Informix module ported (Danny)
-- Removed --with-shared-apache (Sascha)
-- Added patch for reverse lookup table in base64_decode (Sascha)
- Submitted by bfranklin@dct.com
-- Merged in PHP 3.0 version of str_replace (Sascha)
-- Added DBA module (Sascha)
-- Added session id detection within REQUEST_URI (Sascha)
-- Merged in HP-UX/ANSI compatibility switch from PHP 3.0 (Sascha)
-- Fixed rpath handling for utilitites built during Apache build (Sascha)
-- Added missing E_ error level constants (Zeev, Zend Engine)
-- Fixed a bug in sending multiple HTTP Cookies under Apache (Zeev)
-- Fixed implicit connect on the MySQL, mSQL, PostgreSQL and Sybase
- modules (Zeev)
-- Gave PHP 4.0's SNMP extension all the functionality of PHP 3.0.12 (SteveL)
-
-July 19 1999, Version 4.0 Beta 1
-- First public beta of PHP 4.0
diff --git a/README.CVS-RULES b/README.CVS-RULES
deleted file mode 100644
index 1a8c33a28a..0000000000
--- a/README.CVS-RULES
+++ /dev/null
@@ -1,115 +0,0 @@
-This is the first file you should be reading after you get your CVS account.
-We'll assume you're basically familiar with CVS, but feel free to post
-your questions on the mailing list. Please have a look at
-http://cvsbook.red-bean.com/ for more detailed information on CVS.
-
-PHP is developed through the efforts of a large number of people.
-Collaboration is a Good Thing(tm), and CVS lets us do this. Thus, following
-some basic rules with regards to CVS usage will:
-
- a. Make everybody happier, especially those responsible for maintaining
- the CVS itself.
- b. Keep the changes consistently well documented and easily trackable.
- c. Prevent some of those 'Oops' moments.
- d. Increase the general level of good will on planet Earth.
-
-
-Having said that, here are the organizational rules:
-
- 1. Respect other people working on the project.
-
- 2. Discuss any significant changes on the list before committing.
-
- 3. Look at EXTENSIONS file to see who is the primary maintainer of
- the code you want to contribute to.
-
- 4. If you "strongly disagree" about something another person did, don't
- start fighting publicly - take it up in private email.
-
- 5. If you don't know how to do something, ask first!
-
- 6. Test your changes before committing them. We mean it. Really.
-
-
-The next few rules are more of a technical nature.
-
- 1. DO NOT TOUCH ChangeLog! It is automagically updated from the commit
- messages every day. Woe be to those who attempt to mess with it.
-
- 2. All news updates intended for public viewing, such as new features,
- bug fixes, improvements, etc., should go into the NEWS file. Also see
- the note below about automatically updating NEWS in your commit message.
-
- 3. Do not commit multiple file and dump all messages in one commit. If you
- modified several unrelated files, commit each group separately and
- provide a nice commit message for each one. See example below.
-
- 4. Do write your commit message in such a way that it makes sense even
- without the corresponding diff. One should be able to look at it, and
- immediately know what was modified. Definitely include the function name
- in the message as shown below.
-
- 5. In your commit messages, keep each line shorter than 80 characters. And
- try to align your lines vertically, if they wrap. It looks bad otherwise.
-
- 6. If you modified a function that is callable from PHP, prepend PHP to
- the function name as shown below.
-
-
-The format of the commit messages is pretty simple.
-
-If a line begins with #, it is taken to be a comment and will not appear
-in the ChangeLog. If the line begins with @, it will be redirected to the
-NEWS file. Everything else goes into the ChangeLog.
-
-It is important to note that if your comment or news logline spans multiple
-lines, you have to put # or @ at the beginning of _every_ such line. Every
-entry in NEWS has to have a name after it, so if you did it with someone's
-help, put both your names there. Your name WILL NOT be automatically put
-at the end of the NEWS entry - so, please provide it yourself.
-
-Example. Say you modified two files, datetime.c and string.c. In datetime.c
-you added a new format option for date() function, and in string.c you fixed
-a memory leak in php_trim(). Don't commit both of these at once. Commit them
-separately and try to make sure your commit messages look something like the
-following.
-
-For datetime.c:
-
-(PHP date) Added new 'K' format modifier for printing out number of
- days until New Year's Eve.
-@- Added new 'K' format modifier that will output the number of days
-@ until New Year's Eve. (Bob)
-
-For string.c:
-(php_trim) Fixed a memory leak resulting from improper use of zval_dtor().
-# Man, that thing was leaking all over the place!
-@- Memory leak in trim() function has finally been fixed. (Bob)
-
-The lines above marked with @ will go into NEWS file automagically, and the
-# lines will be omitted from the ChangeLog. Alternatively, you might want
-to modify NEWS file directly and not use the @ lines.
-
-If you fix some bugs, you should note the bug ID numbers in your
-commit message. Bug ID should be prefixed by "#" for easier access to
-bug report when developers are browsing CVS via. LXR or Bonsai.
-
-Example:
-
-Fixed pgsql notice handler double free crash bug. Bug #14016
-@ Fixed pgsql notice handler double free crash bug. Bug #14016
-
-If you don't see your messages in ChangeLog and NEWS right away, don't worry!
-These files are updated once a day, so your stuff will not show up until
-somewhat later. Don't go adding stuff to NEWS by hand if you already put @
-lines in the commit message.
-
-You can use LXR (http://lxr.php.net/) and Bonsai (http://bonsai.php.net/)
-to look at PHP CVS repository in various ways.
-
-To receive daily updates to ChangeLog and NEWS, send an empty message to
-php-cvs-daily-subscribe@lists.php.net.
-
-Happy hacking,
-
-PHP Team
diff --git a/README.EXTENSIONS b/README.EXTENSIONS
deleted file mode 100644
index 51e3b730e7..0000000000
--- a/README.EXTENSIONS
+++ /dev/null
@@ -1,39 +0,0 @@
-Between PHP 4.0.6 and 4.1.0, the Zend module struct changed in a way
-that broke both source and binary compatibility. If you are
-maintaining a third party extension, here's how to update it:
-
-If this was your old module entry:
-
-zend_module_entry foo_module_entry = {
- "foo", /* extension name */
- foo_functions, /* extension function list */
- NULL, /* extension-wide startup function */
- NULL, /* extension-wide shutdown function */
- PHP_RINIT(foo), /* per-request startup function */
- PHP_RSHUTDOWN(foo), /* per-request shutdown function */
- PHP_MINFO(foo), /* information function */
- STANDARD_MODULE_PROPERTIES
-};
-
-Here's how it should look if you want your code to build with PHP
-4.1.0 and up:
-
-zend_module_entry foo_module_entry = {
-#if ZEND_MODULE_API_NO >= 20010901
- STANDARD_MODULE_HEADER,
-#endif
- "foo", /* extension name */
- foo_functions, /* extension function list */
- NULL, /* extension-wide startup function */
- NULL, /* extension-wide shutdown function */
- PHP_RINIT(foo), /* per-request startup function */
- PHP_RSHUTDOWN(foo), /* per-request shutdown function */
- PHP_MINFO(foo), /* information function */
-#if ZEND_MODULE_API_NO >= 20010901
- FOO_VERSION, /* extension version number (string) */
-#endif
- STANDARD_MODULE_PROPERTIES
-};
-
-If you don't care about source compatibility with earlier PHP releases
-than 4.1.0, you can drop the #if/#endif lines.
diff --git a/README.EXT_SKEL b/README.EXT_SKEL
deleted file mode 100644
index 95cf422ed0..0000000000
--- a/README.EXT_SKEL
+++ /dev/null
@@ -1,189 +0,0 @@
-
-WHAT IT IS
-
- It's a tool for automatically creating the basic framework for a PHP module
- and writing C code handling arguments passed to your functions from a simple
- configuration file. See an example at the end of this file.
-
-HOW TO USE IT
-
- Very simple. First, cd do directory ext/ in PHP 4 sources. If you just need
- the basic framework and will be writing all the code in your functions
- yourself, you can now do
-
- ./ext_skel --extname=module_name
-
- and everything you need is placed in directory module_name.
-
- [ Note that GNU awk is likely required for this script to work. Debian
- systems seem to default to using mawk, so you may need to change the
- #! line in skeleton/create_stubs to use gawk explicitly. ]
-
- If you don't need to test the existence of any external header files,
- libraries or functions in them, the module is already almost ready to be
- compiled in PHP. Just remove 3 comments in your_module_name/config.m4,
- cd back up to PHP sources top directory, and do
-
- ./buildconf; ./configure --enable-module_name; make
-
- But if you already have planned the overall scheme of your module, what
- functions it will contain, their return types and the arguments they take
- (a very good idea) and don't want to bother yourself with creating function
- definitions and handling arguments passed yourself, it's time to create a
- function definitions file, which you will give as an argument to ext_skel
- with option
-
- --proto=filename.
-
-FORMAT OF FUNCTION DEFINITIONS FILE
-
- All the definitions must be on one line. In it's simplest form, it's just
- the function name, ie.
-
- my_function
-
- but then you'll be left with an almost empty function body without any
- argument handling.
-
- Arguments are given in parenthesis after the function name, and are of
- the form 'argument_type argument_name'. Arguments are separated from each
- other with a comma and optional space. Argument_type can be one of int,
- bool, double, float, string, array, object or mixed.
-
- An optional argument is separated from the previous by an optional space,
- then '[' and of course comma and optional space, like all the other
- arguments. You should close a row of optional arguments with same amount of
- ']'s as there where '['s. Currently, it does not harm if you forget to do it
- or there is a wrong amount of ']'s, but this may change in the future.
-
- An additional short description may be added after the parameters.
- If present it will be filled into the 'proto' header comments in the stubs
- code and the <refpurpose> tag in the XML documentation.
-
- An example:
-
- my_function(int arg1, int arg2 [, int arg3 [, int arg4]]) this is my 1st
-
- Arguments arg3 and arg4 are optional.
-
- If possible, the function definition should also contain it's return type
- in front of the definition. It's not actually used for any C code generating
- purposes but PHP in-source documentation instead, and as such, very useful.
- It can be any of int, double, string, bool, array, object, resource, mixed
- or void.
-
- The file must contain nothing else but function definitions, no comments or
- empty lines.
-
-OTHER OPTIONS
-
- --no-help
-
- By default, ext_skel creates both comments in the source code and a test
- function to help first time module writers to get started and testing
- configuring and compiling their module. This option turns off all such things
- which may just annoy experienced PHP module coders. Especially useful with
-
- --stubs=file
-
- which will leave out also all module specific stuff and write just function
- stubs with function value declarations and passed argument handling, and
- function entries and definitions at the end of the file, for copying and
- pasting into an already existing module.
-
- --assign-params
- --string-lens
-
- By default, function proto 'void foo(string bar)' creates the following:
- ...
- zval **bar;
- ... (zend_get_parameters_ex() called in the middle...)
- convert_to_string_ex(bar);
-
- Specifying both of these options changes the generated code to:
- ...
- zval **bar_arg;
- int bar_len;
- char *bar = NULL;
- ... (zend_get_parameters_ex() called in the middle...)
- convert_to_string_ex(bar_arg);
- bar = Z_STRVAL_PP(bar_arg);
- bar_len = Z_STRLEN_PP(bar_arg);
-
- You shouldn't have to ask what happens if you leave --string-lens out. If you
- have to, it's questionable whether you should be reading this document.
-
- --with-xml[=file]
-
- Creates the basics for phpdoc .xml file.
-
- --full-xml
-
- Not implemented yet. When or if there will ever be created a framework for
- self-contained extensions to use phpdoc system for their documentation, this
- option enables it on the created xml file.
-
-CURRENT LIMITATIONS, BUGS AND OTHER ODDITIES
-
- Only arguments of types int, bool, double, float, string and array are
- handled. For other types you must write the code yourself. And for type
- mixed, it wouldn't even be possible to write anything, because only you
- know what to expect.
-
- It can't handle correctly, and probably never will, variable list of
- of arguments. (void foo(int bar [, ...])
-
- Don't trust the generated code too much. It tries to be useful in most of
- the situations you might encounter, but automatic code generation will never
- beat a programmer who knows the real situation at hand. ext_skel is generally
- best suited for quickly generating a wrapper for c-library functions you
- might want to have available in PHP too.
-
- This program doesn't have a --help option. It has --no-help instead.
-
-EXAMPLE
-
- The following _one_ line
-
- bool my_drawtext(resource image, string text, resource font, int x, int y [, int color])
-
- will create this function definition for you (note that there are a few
- question marks to be replaced by you, and you must of course add your own
- value definitions too):
-
-/* {{{ proto bool my_drawtext(resource image, string text, resource font, int x, int y[, int color])
- */
-PHP_FUNCTION(my_drawtext)
-{
- zval **image, **text, **font, **x, **y, **color;
- int argc;
- int image_id = -1;
- int font_id = -1;
-
- argc = ZEND_NUM_ARGS();
- if (argc < 5 || argc > 6 || zend_get_parameters_ex(argc, &image, &text, &font, &x, &y, &color) == FAILURE) {
- WRONG_PARAM_COUNT;
- }
-
- ZEND_FETCH_RESOURCE(???, ???, image, image_id, "???", ???_rsrc_id);
- ZEND_FETCH_RESOURCE(???, ???, font, font_id, "???", ???_rsrc_id);
-
- switch (argc) {
- case 6:
- convert_to_long_ex(color);
- /* Fall-through. */
- case 5:
- convert_to_long_ex(y);
- convert_to_long_ex(x);
- /* font: fetching resources already handled. */
- convert_to_string_ex(text);
- /* image: fetching resources already handled. */
- break;
- default:
- WRONG_PARAM_COUNT;
- }
-
- php_error(E_WARNING, "my_drawtext: not yet implemented");
-}
-/* }}} */
-
diff --git a/README.PARAMETER_PARSING_API b/README.PARAMETER_PARSING_API
deleted file mode 100644
index 1c6eea5200..0000000000
--- a/README.PARAMETER_PARSING_API
+++ /dev/null
@@ -1,118 +0,0 @@
-New parameter parsing functions
-===============================
-
-It should be easier to parse input parameters to an extension function.
-Hence, borrowing from Python's example, there are now a set of functions
-that given the string of type specifiers, can parse the input parameters
-and store the results in the user specified variables. This avoids most
-of the IS_* checks and convert_to_* conversions. The functions also
-check for the appropriate number of parameters, and try to output
-meaningful error messages.
-
-
-Prototypes
-----------
-/* Implemented. */
-int zend_parse_parameters(int num_args TSRMLS_DC, char *type_spec, ...);
-int zend_parse_parameters_ex(int flags, int num_args TSRMLS_DC, char *type_spec, ...);
-
-The zend_parse_parameters() function takes the number of parameters
-passed to the extension function, the type specifier string, and the
-list of pointers to variables to store the results in. The _ex() version
-also takes 'flags' argument -- current only ZEND_PARSE_PARAMS_QUIET can
-be used as 'flags' to specify that the function should operate quietly
-and not output any error messages.
-
-Both functions return SUCCESS or FAILURE depending on the result.
-
-The auto-conversions are performed as necessary. Arrays, objects, and
-resources cannot be autoconverted.
-
-
-Type specifiers
----------------
- l - long
- d - double
- s - string (with possible null bytes) and its length
- b - boolean, stored in zend_bool
- r - resource (stored in zval)
- a - array
- o - object (of any type)
- O - object (of specific type, specified by class entry)
- z - the actual zval
-
- The following characters also have a meaning in the specifier string:
- | - indicates that the remaining parameters are optional, they
- should be initialized to default values by the extension since they
- will not be touched by the parsing function if they are not
- passed to it.
- / - use SEPARATE_ZVAL_IF_NOT_REF() on the parameter it follows
- ! - the parameter it follows can be of specified type or NULL (only applies
- to 'a', 'o', 'O', 'r', and 'z'). If NULL is passed, the results
- pointer is set to NULL as well.
-
-Examples
---------
-/* Gets a long, a string and its length, and a zval */
-long l;
-char *s;
-int s_len;
-zval *param;
-if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lsz",
- &l, &s, &s_len, &param) == FAILURE) {
- return;
-}
-
-
-/* Gets an object of class specified by my_ce, and an optional double. */
-zval *obj;
-double d = 0.5;
-zend_class_entry my_ce;
-if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O|d",
- &obj, my_ce, &d) == FAILURE) {
- return;
-}
-
-
-/* Gets an object or null, and an array.
- If null is passed for object, obj will be set to NULL. */
-zval *obj;
-zval *arr;
-if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o!a",
- &obj, &arr) == FAILURE) {
- return;
-}
-
-
-/* Gets a separated array which can also be null. */
-zval *arr;
-if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a/!",
- &arr) == FAILURE) {
- return;
-}
-
-
-/* Get only the first three parameters (useful for varargs functions). */
-zval *z;
-zend_bool b;
-zval *r;
-if (zend_parse_parameters(3 TSRMLS_CC, "zbr!",
- &z, &b, &r) == FAILURE) {
- return;
-}
-
-
-/* Get either a set of 3 longs or a string. */
-long l1, l2, l3;
-char *s;
-if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC,
- "lll", &l1, &l2, &l3) == SUCCESS) {
- /* manipulate longs */
-} else if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC,
- "s", &s) == SUCCESS) {
- /* manipulate string */
-} else {
- /* output error */
-
- return;
-}
diff --git a/README.QNX b/README.QNX
deleted file mode 100644
index d70d2e5d8b..0000000000
--- a/README.QNX
+++ /dev/null
@@ -1,57 +0,0 @@
-QNX4 Installation Notes
------------------------
-
-NOTE: General installation instructions are in the INSTALL file
-
-
-1. To compile and test PHP3 you have to grab, compile and install:
- - GNU dbm library or another db library;
- - GNU bison (1.25 or later; 1.25 tested);
- - GNU flex (any version supporting -o and -P options; 2.5.4 tested);
- - GNU diffutils (any version supporting -w option; 2.7 tested);
-
-2. To use CVS version you may need also:
- - GNU CVS (1.9 tested);
- - GNU autoconf (2.12 tested);
- - GNU m4 (1.3 or later preferable; 1.4 tested);
-
-3. To run configure define -lunix in command line:
- LDFLAGS=-lunix ./configure
-
-4. To use Sybase SQL Anywhere define ODBC_QNX and CUSTOM_ODBC_LIBS in
- command line and run configure with --with-custom-odbc:
- CFLAGS=-DODBC_QNX LDFLAGS=-lunix CUSTOM_ODBC_LIBS="-ldblib -lodbc" ./configure --with-custom-odbc=/usr/lib/sqlany50
- If you have SQL Anywhere version 5.5.00, then you have to add
- CFLAGS=-DSQLANY_BUG
- to workaround its SQLFreeEnv() bug. Other versions has not been tested,
- so try without this flag first.
-
-5. To build the Apache module, you may have to hardcode an include path for
- alloc.h in your Apache base directory:
- - APACHE_DIRECTORY/src/httpd.h:
- change #include "alloc.h"
- to #include "APACHE_DIRECTORY/src/alloc.h"
- Unless you want to use system regex library, you have to hardcode also
- a path to regex.h:
- - APACHE_DIRECTORY/src/conf.h:
- change #include <regex.h>
- to #include "APACHE_DIRECTORY/src/regex/regex.h"
- I don't know so far why this required for QNX, may be it is Watcom
- compiler problem.
-
- If you building Apache module with SQL Anywhere support, you'll get
- symbol conflict with BOOL. It is defined in Apache (httpd.h) and in
- SQL Anywhere (odbc.h). This has nothing to do with PHP, so you have to
- fix it yourself someway.
-
-6. With above precautions, it should compile as is and pass regression
- tests completely:
- make
- make check
- make install
-
- Don't bother me unless you really sure you made that all but it
- still doesn't work.
-
-June 28, 1998
-Igor Kovalenko -- owl@infomarket.ru
diff --git a/README.SELF-CONTAINED-EXTENSIONS b/README.SELF-CONTAINED-EXTENSIONS
deleted file mode 100644
index bff6c80726..0000000000
--- a/README.SELF-CONTAINED-EXTENSIONS
+++ /dev/null
@@ -1,154 +0,0 @@
-$Id$
-=============================================================================
-
-HOW TO CREATE A SELF-CONTAINED PHP EXTENSION
-
- A self-contained extension can be distributed independently of
- the PHP source. To create such an extension, three things are
- required:
-
- - Configuration file (config.m4)
- - Source code for your module
-
- We will describe now how to create these and how to put things
- together.
-
-PREPARING YOUR SYSTEM
-
- While the result will run on any system, a developer's setup needs these
- tools:
-
- GNU autoconf
- GNU automake
- GNU libtool
- GNU m4
-
- All of these are available from
-
- ftp://ftp.gnu.org/pub/gnu/
-
-CONVERTING AN EXISTING EXTENSION
-
- Just to show you how easy it is to create a self-contained
- extension, we will convert an embedded extension into a
- self-contained one. Install PHP and execute the following
- commands.
-
- $ mkdir /tmp/newext
- $ cd /tmp/newext
-
- You now have an empty directory. We will copy the files from
- the mysql extension:
-
- $ cp -rp php-4.0.X/ext/mysql/* .
-
- It is time to finish the module. Run:
-
- $ phpize
-
- You can now ship the contents of the directory - the extension
- can live completely on its own.
-
- The user instructions boil down to
-
- $ ./configure \
- [--with-php-config=/path/to/php-config] \
- [--with-mysql=MYSQL-DIR]
- $ make install
-
- The MySQL module will either use the embedded MySQL client
- library or the MySQL installation in MYSQL-DIR.
-
-
-DEFINING THE NEW EXTENSION
-
- Our demo extension is called "foobar".
-
- It consists of two source files "foo.c" and "bar.c"
- (and any arbitrary amount of header files, but that is not
- important here).
-
- The demo extension does not reference any external
- libraries (that is important, because the user does not
- need to specify anything).
-
-
- LTLIBRARY_SOURCES specifies the names of the sources files. You can
- name an arbitrary number of source files here.
-
-CREATING THE M4 CONFIGURATION FILE
-
- The m4 configuration can perform additional checks. For a
- self-contained extension, you do not need more than a few
- macro calls.
-
-------------------------------------------------------------------------------
-PHP_ARG_ENABLE(foobar,whether to enable foobar,
-[ --enable-foobar Enable foobar])
-
-if test "$PHP_FOOBAR" != "no"; then
- PHP_NEW_EXTENSION(foobar, foo.c bar.c, $ext_shared)
-fi
-------------------------------------------------------------------------------
-
- PHP_ARG_ENABLE will automatically set the correct variables, so
- that the extension will be enabled by PHP_NEW_EXTENSION in shared mode.
-
- The first argument of PHP_NEW_EXTENSION describes the name of the
- extension. The second names the source-code files. The third passes
- $ext_shared which is set by PHP_ARG_ENABLE/WITH to PHP_NEW_EXTENSION.
-
- Please use always PHP_ARG_ENABLE or PHP_ARG_WITH. Even if you do not
- plan to distribute your module with PHP, these facilities allow you
- to integrate your module easily into the main PHP module framework.
-
-CREATING SOURCE FILES
-
- ext_skel can be of great help when creating the common code for all modules
- in PHP for you and also writing basic function definitions and C code for
- handling arguments passed to your functions. See README.EXT_SKEL for further
- information.
-
- As for the rest, you are currently alone here. There are a lot of existing
- modules, use a simple module as a starting point and add your own code.
-
-
-CREATING THE SELF-CONTAINED EXTENSION
-
- Put config.m4 and the source files into one directory. Afterwards,
- run phpize (this is installed during make install by PHP 4.0).
- For example, if you configured PHP with --prefix=/php, you would run
-
- $ /php/bin/phpize
-
- This will automatically copy the necessary build files and create
- configure from your config.m4.
-
- And that's it. You now have a self-contained extension.
-
-INSTALLING A SELF-CONTAINED EXTENSION
-
- An extension can be installed by running:
-
- $ ./configure \
- [--with-php-config=/path/to/php-config]
- $ make install
-
-ADDING SHARED MODULE SUPPORT TO A MODULE
-
- In order to be useful, a self-contained extension must be loadable
- as a shared module. I will explain now how you can add shared module
- support to an existing module called foo.
-
- 1. In config.m4, use PHP_ARG_WITH/PHP_ARG_ENABLE. Then you will
- automatically be able to use --with-foo=shared[,..] or
- --enable-foo=shared[,..].
-
- 2. In config.m4, use PHP_NEW_EXTENSION(foo,.., $ext_shared) to enable
- building the extension.
-
- 3. Add the following lines to your C source file:
-
- #ifdef COMPILE_DL_FOO
- ZEND_GET_MODULE(foo)
- #endif
diff --git a/README.STREAMS b/README.STREAMS
deleted file mode 100644
index 870888a6bc..0000000000
--- a/README.STREAMS
+++ /dev/null
@@ -1,367 +0,0 @@
-An Overview of the PHP Streams abstraction
-==========================================
-$Id$
-
-Please send comments to: Wez Furlong <wez@thebrainroom.com>
-
-Why Streams?
-============
-You may have noticed a shed-load of issock parameters flying around the PHP
-code; we don't want them - they are ugly and cumbersome and force you to
-special case sockets and files everytime you need to work with a "user-level"
-PHP file pointer.
-Streams take care of that and present the PHP extension coder with an ANSI
-stdio-alike API that looks much nicer and can be extended to support non file
-based data sources.
-
-Using Streams
-=============
-Streams use a php_stream* parameter just as ANSI stdio (fread etc.) use a
-FILE* parameter.
-
-The main functions are:
-
-PHPAPI size_t php_stream_read(php_stream * stream, char * buf, size_t count);
-PHPAPI size_t php_stream_write(php_stream * stream, const char * buf, size_t
- count);
-PHPAPI int php_stream_eof(php_stream * stream);
-PHPAPI int php_stream_getc(php_stream * stream);
-PHPAPI char *php_stream_gets(php_stream * stream, char *buf, size_t maxlen);
-PHPAPI int php_stream_close(php_stream * stream);
-PHPAPI int php_stream_flush(php_stream * stream);
-PHPAPI int php_stream_seek(php_stream * stream, off_t offset, int whence);
-PHPAPI off_t php_stream_tell(php_stream * stream);
-
-These (should) behave in the same way as the ANSI stdio functions with similar
-names: fread, fwrite, feof, fgetc, fgets, fclose, fflush, fseek, ftell.
-
-Opening Streams
-===============
-In most cases, you should use this API:
-
-PHPAPI php_stream *php_stream_open_wrapper(char *path, char *mode,
- int options, char **opened_path TSRMLS_DC);
-
-Where:
- path is the file or resource to open.
- mode is the stdio compatible mode eg: "wb", "rb" etc.
- options is a combination of the following values:
- IGNORE_PATH (default) - don't use include path to search for the file
- USE_PATH - use include path to search for the file
- IGNORE_URL - do not use plugin wrappers
- REPORT_ERRORS - show errors in a standard format if something
- goes wrong.
- STREAM_MUST_SEEK - If you really need to be able to seek the stream
- and don't need to be able to write to the original
- file/URL, use this option to arrange for the stream
- to be copied (if needed) into a stream that can
- be seek()ed.
-
- opened_path is used to return the path of the actual file opened,
- but if you used STREAM_MUST_SEEK, may not be valid. You are
- responsible for efree()ing opened_path. opened_path may be (and usually
- is) NULL.
-
-If you need to open a specific stream, or convert standard resources into
-streams there are a range of functions to do this defined in php_streams.h.
-A brief list of the most commonly used functions:
-
-PHPAPI php_stream *php_stream_fopen_from_file(FILE *file, const char *mode);
- Convert a FILE * into a stream.
-
-PHPAPI php_stream *php_stream_fopen_tmpfile(void);
- Open a FILE * with tmpfile() and convert into a stream.
-
-PHPAPI php_stream *php_stream_fopen_temporary_file(const char *dir,
- const char *pfx, char **opened_path TSRMLS_DC);
- Generate a temporary file name and open it.
-
-There are some network enabled relatives in php_network.h:
-
-PHPAPI php_stream *php_stream_sock_open_from_socket(int socket, int persistent);
- Convert a socket into a stream.
-
-PHPAPI php_stream *php_stream_sock_open_host(const char *host, unsigned short port,
- int socktype, int timeout, int persistent);
- Open a connection to a host and return a stream.
-
-PHPAPI php_stream *php_stream_sock_open_unix(const char *path, int persistent,
- struct timeval *timeout);
- Open a UNIX domain socket.
-
-
-Stream Utilities
-================
-
-If you need to copy some data from one stream to another, you will be please
-to know that the streams API provides a standard way to do this:
-
-PHPAPI size_t php_stream_copy_to_stream(php_stream *src,
- php_stream *dest, size_t maxlen);
-
-If you want to copy all remaining data from the src stream, pass
-PHP_STREAM_COPY_ALL as the maxlen parameter, otherwise maxlen indicates the
-number of bytes to copy.
-This function will try to use mmap where available to make the copying more
-efficient.
-
-If you want to read the contents of a stream into an allocated memory buffer,
-you should use:
-
-PHPAPI size_t php_stream_copy_to_mem(php_stream *src, char **buf,
- size_t maxlen, int persistent);
-
-This function will set buf to the address of the buffer that it allocated,
-which will be maxlen bytes in length, or will be the entire length of the
-data remaining on the stream if you set maxlen to PHP_STREAM_COPY_ALL.
-The buffer is allocated using pemalloc(); you need to call pefree() to
-release the memory when you are done.
-As with copy_to_stream, this function will try use mmap where it can.
-
-If you have an existing stream and need to be able to seek() it, you
-can use this function to copy the contents into a new stream that can
-be seek()ed:
-
-PHPAPI int php_stream_make_seekable(php_stream *origstream, php_stream **newstream);
-
-It returns one of the following values:
-#define PHP_STREAM_UNCHANGED 0 /* orig stream was seekable anyway */
-#define PHP_STREAM_RELEASED 1 /* newstream should be used; origstream is no longer valid */
-#define PHP_STREAM_FAILED 2 /* an error occurred while attempting conversion */
-#define PHP_STREAM_CRITICAL 3 /* an error occurred; origstream is in an unknown state; you should close origstream */
-
-make_seekable will always set newstream to be the stream that is valid
-if the function succeeds.
-When you have finished, remember to close the stream.
-
-NOTE: If you only need to seek forwards, there is no need to call this
-function, as the php_stream_seek can emulate forward seeking when the
-whence parameter is SEEK_CUR.
-
-NOTE: Writing to the stream may not affect the original source, so it
-only makes sense to use this for read-only use.
-
-NOTE: If the origstream is network based, this function will block
-until the whole contents have been downloaded.
-
-NOTE: Never call this function with an origstream that is referenced
-as a resource! It will close the origstream on success, and this
-can lead to a crash when the resource is later used/released.
-
-NOTE: If you are opening a stream and need it to be seekable, use the
-STREAM_MUST_SEEK option to php_stream_open_wrapper();
-
-Casting Streams
-===============
-What if your extension needs to access the FILE* of a user level file pointer?
-You need to "cast" the stream into a FILE*, and this is how you do it:
-
-FILE * fp;
-php_stream * stream; /* already opened */
-
-if (php_stream_cast(stream, PHP_STREAM_AS_STDIO, (void*)&fp, REPORT_ERRORS) == FAILURE) {
- RETURN_FALSE;
-}
-
-The prototype is:
-
-PHPAPI int php_stream_cast(php_stream * stream, int castas, void ** ret, int
- show_err);
-
-The show_err parameter, if non-zero, will cause the function to display an
-appropriate error message of type E_WARNING if the cast fails.
-
-castas can be one of the following values:
-PHP_STREAM_AS_STDIO - a stdio FILE*
-PHP_STREAM_AS_FD - a generic file descriptor
-PHP_STREAM_AS_SOCKETD - a socket descriptor
-
-If you ask a socket stream for a FILE*, the abstraction will use fdopen to
-create it for you. Be warned that doing so may cause buffered data to be lost
-if you mix ANSI stdio calls on the FILE* with php stream calls on the stream.
-
-If your system has the fopencookie function, php streams can synthesize a
-FILE* on top of any stream, which is useful for SSL sockets, memory based
-streams, data base streams etc. etc.
-
-In situations where this is not desireable, you should query the stream
-to see if it naturally supports FILE *. You can use this code snippet
-for this purpose:
-
- if (php_stream_is(stream, PHP_STREAM_IS_STDIO)) {
- /* can safely cast to FILE* with no adverse side effects */
- }
-
-You can use:
-
-PHPAPI int php_stream_can_cast(php_stream * stream, int castas)
-
-to find out if a stream can be cast, without actually performing the cast, so
-to check if a stream is a socket you might use:
-
-if (php_stream_can_cast(stream, PHP_STREAM_AS_SOCKETD) == SUCCESS) {
- /* it can be a socket */
-}
-
-Please note the difference between php_stream_is and php_stream_can_cast;
-stream_is tells you if the stream is a particular type of stream, whereas
-can_cast tells you if the stream can be forced into the form you request.
-The former doesn't change anything, while the later *might* change some
-state in the stream.
-
-Stream Internals
-================
-
-There are two main structures associated with a stream - the php_stream
-itself, which holds some state information (and possibly a buffer) and a
-php_stream_ops structure, which holds the "virtual method table" for the
-underlying implementation.
-
-The php_streams ops struct consists of pointers to methods that implement
-read, write, close, flush, seek, gets and cast operations. Of these, an
-implementation need only implement write, read, close and flush. The gets
-method is intended to be used for streams if there is an underlying method
-that can efficiently behave as fgets. The ops struct also contains a label
-for the implementation that will be used when printing error messages - the
-stdio implementation has a label of "STDIO" for example.
-
-The idea is that a stream implementation defines a php_stream_ops struct, and
-associates it with a php_stream using php_stream_alloc.
-
-As an example, the php_stream_fopen() function looks like this:
-
-PHPAPI php_stream * php_stream_fopen(const char * filename, const char * mode)
-{
- FILE * fp = fopen(filename, mode);
- php_stream * ret;
-
- if (fp) {
- ret = php_stream_alloc(&php_stream_stdio_ops, fp, 0, 0, mode);
- if (ret)
- return ret;
-
- fclose(fp);
- }
- return NULL;
-}
-
-php_stream_stdio_ops is a php_stream_ops structure that can be used to handle
-FILE* based streams.
-
-A socket based stream would use code similar to that above to create a stream
-to be passed back to fopen_wrapper (or it's yet to be implemented successor).
-
-The prototype for php_stream_alloc is this:
-
-PHPAPI php_stream * php_stream_alloc(php_stream_ops * ops, void * abstract,
- size_t bufsize, int persistent, const char * mode)
-
-ops is a pointer to the implementation,
-abstract holds implementation specific data that is relevant to this instance
-of the stream,
-bufsize is the size of the buffer to use - if 0, then buffering at the stream
-level will be disabled (recommended for underlying sources that implement
-their own buffering - such a FILE*),
-persistent controls how the memory is to be allocated - persistently so that
-it lasts across requests, or non-persistently so that it is freed at the end
-of a request (it uses pemalloc),
-mode is the stdio-like mode of operation - php streams places no real meaning
-in the mode parameter, except that it checks for a 'w' in the string when
-attempting to write (this may change).
-
-The mode parameter is passed on to fdopen/fopencookie when the stream is cast
-into a FILE*, so it should be compatible with the mode parameter of fopen().
-
-Writing your own stream implementation
-======================================
-
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-RULE #1: when writing your own streams: make sure you have configured PHP with
---enable-debug.
-I've taken some great pains to hook into the zend memory manager to help track
-down allocation problems. It will also help you spot incorrect use of the
-STREAMS_DC, STREAMS_CC and the semi-private STREAMS_REL_CC macros for function
-definitions.
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-
-RULE #2: Please use the stdio stream as a reference; it will help you
-understand the semantics of the stream operations, and it will always
-be more up to date than these docs :-)
-
-First, you need to figure out what data you need to associate with the
-php_stream. For example, you might need a pointer to some memory for memory
-based streams, or if you were making a stream to read data from an RDBMS like
-mysql, you might want to store the connection and rowset handles.
-
-The stream has a field called abstract that you can use to hold this data.
-If you need to store more than a single field of data, define a structure to
-hold it, allocate it (use pemalloc with the persistent flag set
-appropriately), and use the abstract pointer to refer to it.
-
-For structured state you might have this:
-
-struct my_state {
- MYSQL conn;
- MYSQL_RES * result;
-};
-
-struct my_state * state = pemalloc(sizeof(struct my_state), persistent);
-
-/* initialize the connection, and run a query, using the fields in state to
- * hold the results */
-
-state->result = mysql_use_result(&state->conn);
-
-/* now allocate the stream itself */
-stream = php_stream_alloc(&my_ops, state, 0, persistent, "r");
-
-/* now stream->abstract == state */
-
-Once you have that part figured out, you can write your implementation and
-define the your own php_stream_ops struct (we called it my_ops in the above
-example).
-
-For example, for reading from this wierd mysql stream:
-
-static size_t php_mysqlop_read(php_stream * stream, char * buf, size_t count)
-{
- struct my_state * state = (struct my_state*)stream->abstract;
-
- if (buf == NULL && count == 0) {
- /* in this special case, php_streams is asking if we have reached the
- * end of file */
- if (... at end of file ...)
- return EOF;
- else
- return 0;
- }
-
- /* pull out some data from the stream and put it in buf */
- ... mysql_fetch_row(state->result) ...
- /* we could do something strange, like format the data as XML here,
- and place that in the buf, but that brings in some complexities,
- such as coping with a buffer size too small to hold the data,
- so I won't even go in to how to do that here */
-}
-
-Implement the other operations - remember that write, read, close and flush
-are all mandatory. The rest are optional. Declare your stream ops struct:
-
-php_stream_ops my_ops = {
- php_mysqlop_write, php_mysqlop_read, php_mysqlop_close,
- php_mysqlop_flush, NULL, NULL, NULL,
- "Strange mySQL example"
-}
-
-Thats it!
-
-Take a look at the STDIO implementation in streams.c for more information
-about how these operations work.
-The main thing to remember is that in your close operation you need to release
-and free the resources you allocated for the abstract field. In the case of
-the example above, you need to use mysql_free_result on the rowset, close the
-connection and then use pefree to dispose of the struct you allocated.
-You may read the stream->persistent field to determine if your struct was
-allocated in persistent mode or not.
-
-vim:tw=78:et
diff --git a/README.SUBMITTING_PATCH b/README.SUBMITTING_PATCH
deleted file mode 100644
index 3b30d8b928..0000000000
--- a/README.SUBMITTING_PATCH
+++ /dev/null
@@ -1,121 +0,0 @@
-Submitting Patch for PHP
-========================
-
-This document describes how to submit a patch for PHP. Since you are
-reading this document, you are willing to submit a patch for PHP.
-Please keep reading! Submitting a patch for PHP is easy. The hard
-part is making it acceptable for inclusion into our repository. :-)
-
-How to create patch?
---------------------
-We are working with CVS. You need to get CVS source to create a patch
-that we accept. Visit http://www.php.net/anoncvs.php to get CVS
-source. You can check out older versions, but make sure you get
-the default branch (i.e. Do not use -r option when you check out the
-CVS source)
-
-Read CODING_STANDARDS file before you start working.
-
-Now you are ready to create a patch. Modify source to fix a bug in PHP or
-add a new feature to PHP. After you finished editing, please test your
-patch. Read README.TESTING for testing.
-
-After you finish testing your patch, take diff file using
-"cvs diff > your.patch" command.
-
-Read README.TESTING for submitting a test script for your patch. This is
-not strictly required, but it is preferred to submit a test script along
-with your patch. Making new test script is very easy. It also helps us
-to understand what you have been fixed or added to PHP.
-
-
-Tips for creating patch
------------------------
-If you would like to fix multiple bugs. It is easier for us if you
-could create 1 patch for 1 bug, but this is not strictly required.
-Note though that you might get little response, if your patch is
-too hard to review.
-
-If you would like change/add many lines, it is better to ask module
-maintainer and/or php-dev@lists.php.net, or pear-dev@lists.php.net if
-you are patching PEAR. Official module maintainers can be found in
-EXTENSIONS file in PHP source.
-
-If you are new to CVS (Concurrent Versions System), visit
-http://cvshome.org/ for details.
-
-
-Recommended CVS client settings for creating patch file
-------------------------------------------------------
-Recommended ~/.cvsrc file setting is:
-------
-cvs -z3
-update -d -P
-checkout -P
-diff -u
-
-------
-diff -u means:
- -u Use the unified output format.
-
-With this CVS setting, you don't have to worry about adding/deleting
-newlines and spaces.
-
-
-Check list for submitting patch
--------------------------------
- - Did you run "make test" to check if your patch didn't break
- other features?
- - Did you compile PHP with --enable-debug and check php/webserver
- error logs when you test your patch?
- - Did you build PHP for multi-threaded web servers. (Optional)
- - Did you create test script for "make test"? (Recommended)
- - Did you check your patch is unified format and it does not
- contain white space changes? (If you are not using recommended
- cvs setting)
- - Did you update CVS source before you take final patch?
- - Did you read the patch again?
-
-
-Where to send your patch?
--------------------------
-If you are patching C source, send the patch to php-dev@lists.php.net.
-If you are patching a module, you should also send the patch to the
-maintainer. Official module maintainers are listed in EXTENSION file
-in source.
-
-If you are patching PEAR, send the patch to pear-dev@lists.php.net.
-
-Please add the prefix "[PATCH]" to your email subject and make sure
-to include the patch as a MIME attachment even if it is short.
-Test scripts should be included in the same email.
-Explain what has been fixed/added/changed by your patch.
-
-Finally, add the bug Id(s) which can be closed by your patch, if any.
-
-
-What happens after you submit your patch
---------------------------------------
-If your patch is easy to review and has obviously no side-effects,
-it might take up to a few hours until someone commits it.
-
-Because this is a volunteer-driven effort, more complex patches will
-require more patience on your side.
-
-If you did not receive any feedback in a few days, please consider
-resubmitting the description of your patch, along-side with
-these questions:
-
-- Is my patch too hard to review? Because of which factors?
-- Should I split it up in multiple parts?
-- Are there any unwanted whitespace changes?
-
-
-What happens when your patch is applied?
-----------------------------------------
-Your name will be included together with your email address in the CVS
-commit log. If your patch affects end-users, a brief description
-and your name might be added to the NEWS file.
-
-
-Thank you for submitting patch for PHP!
diff --git a/README.TESTING b/README.TESTING
deleted file mode 100644
index b4b2d5c02c..0000000000
--- a/README.TESTING
+++ /dev/null
@@ -1,175 +0,0 @@
-[IMPORTANT NOTICE]
-------------------
- Do _not_ ask to developers why some or all tests are failed under
-your environment! Let us know if you find why it fails. Thank you.
-
-
-[Testing Basics]
-----------------
- To execute test scripts, you must build PHP with some SAPI, then you
-type "make test" to execute all or some test scripts saved under
-"tests" directory under source root directory.
-
-Usage:
-make test
-
- "make test" basically executes "run-tests.php" script
-under source root. Therefore you can execute the script
-as follows
-
-./sapi/cli/php -c /path/to/php.ini/ run-tests.php [ext/some_extension_name]
-
-
-
-[Which "php" executable "make test" look for]
----------------------------------------------
- "make test" executes "run-tests.php" script with "php" binary. Some
-test scripts such as session must be executed by CGI SAPI. Therefore,
-you must build PHP with CGI SAPI to perform all tests.
-
- If PHP is not build with CGI SAPI, "run-tests.php" script uses CLI
-SAPI. Tests that may not executed by CLI SAPI will be skipped.
-
-NOTE: PHP binary executing "run-tests.php" and php binary used for
-executing test scripts may differ. If you use different PHP binary for
-executing "run-tests.php" script, you may get errors.
-
-
-[Which php.ini is used]
------------------------
- "make test" force to use php.ini-dist as default config file. If
-you would like to test with other configuration file, user
-"run-tests.php" script.
-
-Example:
-./sapi/cli/php -c /path/to/php.ini/ ext/standard
-
-If you use php.ini other than php.ini-dist, you may see more failed
-tests.
-
-
-[Which test scripts are executed]
----------------------------------
- "run-tests.php" ("make test") executes all test scripts by default
-by looking all directory named "tests". If there are files have "phpt"
-extension, "run-tests.php" takes test php code from the file and
-executes it.
-
- Tester can easily executes tests selectively with as follows.
-
-Example:
-./sapi/cli/php -c /path/to/php.ini/ run-tests.php ext/mbstring
-
-
-[Test results]
---------------
- Test results are printed to standard output. If there is a failed test,
-"run-tests.php" script saves the result, expected result and code
-executed to the test script directory. For example, if
-ext/myext/tests/myext.phpt is failed to pass, following files are
-created:
-
-ext/myext/tests/myext.out - output from test script
-ext/myext/tests/myext.exp - expected output
-ext/myext/tests/myext.php - test script executed
-
- Tester can verify these files, if failed test is actually a bug
-or not.
-
-
-[Creating new test files]
--------------------------
- Writing test file is very easy if you are used to PHP. Test file
-has following format. Here is a actual test file from iconv module.
-
-===== ext/iconv/002.phpt =======
---TEST--
-UCS4BE to ASCII
---SKIPIF--
-<?php include('skipif.inc'); ?>
---POST--
---GET--
---FILE--
-<?php include('002.inc'); ?>
---EXPECT--
-&#97;&#98;&#99;&#100;
-abcd
-===== end of ext/iconv/002.phpt =======
-
-"--TEST--" is title of the test.
-"--SKIPIF--" is condition when to skip this test.
-"--POST--" is POST variable passed to test script.
-"--GET--" is GET variable passed to test script.
-"--FILE--" is the test script.
-"--EXPECT--" is the expected output from the test script.
-
-ext/iconv/002.phpt uses 2 files. "skipif.inc" is used to skip
-test when test cannot be performed such as iconv module is not
-compiled or loaded.
-
-==== ext/iconv/skipif.inc ====
-<?php
-// This script prints "skip" if condition does not meet.
-
-if (!extension_loaded("iconv") && ini_get("enable_dl")) {
- $dlext = (substr(PHP_OS, 0, 3) == "WIN") ? ".dll" : ".so";
- @dl("iconv$dlext");
-}
-if (!extension_loaded("iconv")) {
- die("skip\n");
-}
-?>
-==== end of ext/iconv/skipif.inc ====
-
-ext/inconv/002.inc is the test script. "run-tests.php" script
-executes test script with CGI executable.
-
-==== ext/iconv/002.inc ===
-<?php
-/*
-Expected output:
-&#97;&#98;&#99;&#100;
-abcd
-*/
-
- $s = unpack("V*", iconv("ascii","UCS-4LE", "abcd"));
- foreach($s as $c) { print "&#$c;"; } print "\n";
-
- $s = pack("NNNN", 97, 98, 99, 100);
- $q = iconv("UCS-4BE", "ascii", $s);
- print $q; print "\n";
-?>
-=== end of ext/iconv/002.inc ===
-
-Test script and skipif code may be directly write into *.phpt.
-However, it is recommended to use other files for ease of writing
-test script. For instance, you can execute test script under
-ext/iconv as follows:
-
-./sapi/cli/php -c /path/to/php.ini/ ext/iconv
-
-
-[How to help us]
-----------------
- If you find bug in PHP, you can submit bug report AND test script
-for us. You don't have to write complete script, just give us test
-script with following format. Please test the script and make sure
-you write the correct ACTUAL OUTPUT and EXPECTED OUTPUT before you
-submit.
-
-<?php
-/*
-Bug #12345
-substr() bug. Do not return expected string.
-
-ACTUAL OUTPUT
-XYXA
-
-EXPECTED OUTPUT
-ABCD
-*/
-
-$str = "XYZABCD";
-echo substr($str,3,7);
-
-?>
diff --git a/README.UNIX-BUILD-SYSTEM b/README.UNIX-BUILD-SYSTEM
deleted file mode 100644
index 038c07cafc..0000000000
--- a/README.UNIX-BUILD-SYSTEM
+++ /dev/null
@@ -1,123 +0,0 @@
-PHP Build System V5 Overview
-
-- supports Makefile.ins during transition phase
-- not-really-portable Makefile includes have been eliminated
-- supports seperate build directories without VPATH by using
- explicit rules only
-- does not waste disk-space/CPU-time for building temporary libraries
- => especially noticeable on slower systems
-- slow recursive make replaced with one global Makefile
-- eases integration of proper dependencies
-- adds PHP_DEFINE(what[, value]) which creates a single include-file
- per what. This will allow more fine-grained dependencies.
-- abandoning the "one library per directory" concept
-- improved integration of the CLI
-- several new targets
- build-modules: builds and copies dynamic modules into modules/
- install-cli: installs the CLI only, so that the install-sapi
- target does only what its name says
-- finally abandoned automake (still requires aclocal at this time)
-- changed some configure-time constructs to run at buildconf-time
-- upgraded shtool to 1.5.4
-- removed $(moduledir) (use EXTENSION_DIR)
-
-The Reason For a New System
-
-It became more and more apparent that there is a severe need
-for addressing the portability concerns and improving the chance
-that your build is correct (how often have you been told to
-"make clean"? When this is done, you won't need to anymore).
-
-
-If You Build PHP on a Unix System
-
-
-You, as a user of PHP, will notice no changes. Of course, the build
-system will be faster, look better and work smarter.
-
-
-
-If You Are Developing PHP
-
-
-
-
-Extension developers:
-
-Makefile.ins are abandoned. The files which are to be compiled
-are specified in the config.m4 now using the following macro:
-
-PHP_NEW_EXTENSION(foo, foo.c bar.c baz.cpp, $ext_shared)
-
-E.g. this enables the extension foo which consists of three source-code
-modules, two in C and one in C++. And dependending on the user's
-wishes, the extension will even be built as a dynamic module.
-
-The full syntax:
-
-PHP_NEW_EXTENSION(extname, sources [, shared [,sapi_class[, extra-cflags]]])
-
-Please have a look at acinclude.m4 for the gory details and meanings
-of the other parameters.
-
-And that's basically it for the extension side.
-
-If you previously built sub-libraries for this module, add
-the source-code files here as well. If you need to specify
-separate include directories, do it this way:
-
-PHP_NEW_EXTENSION(foo, foo.c mylib/bar.c mylib/gregor.c,,,-I@ext_srcdir@/lib)
-
-E.g. this builds the three files which are located relative to the
-extension source directory and compiles all three files with the
-special include directive (@ext_srcdir@ is automatically replaced).
-
-Now, you need to tell the build system that you want to build files
-in a directory called $ext_builddir/lib:
-
-PHP_ADD_BUILD_DIR($ext_builddir/lib)
-
-Make sure to call this after PHP_NEW_EXTENSION, because $ext_builddir
-is only set by the latter.
-
-If you have a complex extension, you might to need add special
-Make rules. You can do this by calling PHP_ADD_MAKEFILE_FRAGMENT
-in your config.m4 after PHP_NEW_EXTENSION.
-
-This will read a file in the source-dir of your extension called
-Makefile.frag. In this file, $(builddir) and $(srcdir) will be
-replaced by the values which are correct for your extension
-and which are again determined by the PHP_NEW_EXTENSION macro.
-
-Make sure to prefix *all* relative paths correctly with either
-$(builddir) or $(srcdir). Because the build system does not
-change the working directory anymore, we must use either
-absolute paths or relative ones to the top build-directory.
-Correct prefixing ensures that.
-
-
-SAPI developers:
-
-Instead of using PHP_SAPI=foo/PHP_BUILD_XYZ, you will need to type
-
-PHP_SELECT_SAPI(name, type, sources.c)
-
-I.e. specify the source-code files as above and also pass the
-information regarding how PHP is supposed to be built (shared
-module, program, etc).
-
-For example for APXS:
-
-PHP_SELECT_SAPI(apache, shared, sapi_apache.c mod_php4.c php_apache.c)
-
-
-
-General info
-
-The foundation for the new system is the flexible handling of
-sources and their contexts. With the help of macros you
-can define special flags for each source-file, where it is
-located, in which target context it can work, etc.
-
-Have a look at the well documented macros
-PHP_ADD_SOURCES(_X) in acinclude.m4.
diff --git a/README.Zeus b/README.Zeus
deleted file mode 100644
index 0a2803c842..0000000000
--- a/README.Zeus
+++ /dev/null
@@ -1,126 +0,0 @@
-Using PHP4 with the Zeus Web Server
------------------------------------
-
-Zeus fully supports running PHP in combination with our
-webserver. There are three different interfaces that can be used to
-enable PHP:
-
-* CGI
-* ISAPI
-* FastCGI
-
-Of the three, we recommend using FastCGI, which has been tested and
-benchmarked as providing the best performance and reliability.
-
-Full details of how to install PHP are available from our
-website, at:
-
-http://support.zeus.com/products/php.html
-
-If you have any problems, please check the support site for more
-up-to-date information and advice.
-
-
-Quick guide to installing FastCGI with Zeus
--------------------------------------------
-
-Step 1 - obtain and install FastCGI development kit.
-
-Grab the package from:
-http://www.fastcgi.com/dist/devkit_2.2.0.tar.gz
-
-Extract the package and follow the instructions:
- ./configure
- make
- make export
-(run the last as root)
-
-This will install to /usr/local/lib/libfcgi.a
- and /usr/local/include/*fcgi*
-
-
-
-Step 2 - Compile PHP as FastCGI.
-
-Compile as follows:
- ./configure --with-fastcgi
- make
-
-Note that PHP has many options to the configure script -
-e.g. --with-mysql. You will probably want to select your usual options
-before compiling; the above is just a bare minimum, for illustration.
-
-After compilation finishes, you will be left with an executable
-program called 'php'. Copy this into your document root, under a
-dedicated FastCGI directory (e.g. $DOCROOT/fcgi-bin/php)
-
-
-Step 3 - configure Zeus
-
-Four stages:
- - enable FastCGI
- - configure FastCGI
- - setup alias for FastCGI
- - setup alias for PHP
-
-1) Using the admin server, go to the 'module configuration' page for
-your virtual server, and ensure that 'fastcgi' is enabled (select the
-tickbox to the left).
-
-2) While we can run FastCGI's locally, there are known problems with
-some OS's (specifically, the communication between web server and
-FastCGI happens over a unix domain socket, and some OS's have trouble
-sustaining high connection rates over these sockets). So instead, we
-are going to set up the PHP FastCGI to run 'remotely' over localhost
-(this uses TCP sockets, which do not suffer this problem). Go to the
-'fastcgi configuration' page, and under 'add remote fastcgi':
- Add Remote FastCGI
- Docroot path /fcgi-bin/php
- Remote machine localhost:8002
-The first entry is where you saved PHP, above.
-The second entry is localhost:<any unused port>
-We will start the FastCGI listening on this port shortly.
-Click 'update' to commit these changes.
-
-3) Go to the path mapping module and add an alias for FastCGI:
- Add Alias
- Docroot path /fcgi-bin
- Filesystem directory /path/to/docroot/fcgi-bin
- Alias type fastcgi
-Click 'update' to commit these changes
-
-4) Also on the path mapping module, add a handler for PHP:
- Add handler
- File extension php
- Handler /fcgi-bin/php
-Click 'update' to commit these changes
-
-Finally restart your virtual server for these changes to take effect.
-
-
-Step 4 - start PHP as a FastCGI runner
-
-When you start PHP, it will pre-fork a given number of child processes
-to handle incoming PHP requests. Each process will handle a given
-number of requests before exiting (and being replaced by a newly
-forked process). You can control these two parameters by setting the
-following environment variables BEFORE starting the FastCGI runner:
-
-PHP_FCGI_CHILDREN - the number of child processes to pre-fork. If not
-set, defaults to 8.
-
-PHP_FCGI_MAX_REQUESTS - the number of requests each PHP child process
-handles before exiting. If not set, defaults to 500.
-
-To start the FastCGI runner, execute '$ZEUSHOME/web/bin/fcgirunner
-8002 $DOCROOT/fcgi-bin/php'. Substitute the appropriate values for
-$ZEUSHOME and $DOCROOT; also substitute for 8002 the port you chose,
-above.
-
-To stop the runner (e.g. to experiment with the above environment
-variables) you will need to manually stop and running PHP
-processes. (Use 'ps' and 'kill'). As it is PHP which is forking lots
-of children and not the runner, Zeus unfortunately cannot keep track
-of what processes are running, sorry. A typical command line may look
-like 'ps -efl | grep $DOCROOT/fcgi-bin/php | grep -v grep | awk
-'{print $4}' | xargs kill'
diff --git a/TODO b/TODO
deleted file mode 100644
index 47ba9ededb..0000000000
--- a/TODO
+++ /dev/null
@@ -1,170 +0,0 @@
-Things to do or at least think about doing in the future. Name in
-parenthesis means that person has taken on this project.
-
-Zend
-----
- For PHP 4.3.0:
- * Allow foreach ($array as $k => &$val) syntax. right now we cannot
- traverse an array without copying each element.
- * Allow foreach ($array as $k => list($a, $b)) syntax for multi
- dimensional arrays.
- * Look at replacing c-lib call tolower().
- * Make hash API functions work with HASH_OF() to save time.
- * Allow to set a default value for call-by-reference-parameters.
- eg: function hello (&$pallo = NULL) {}
- * Disallow function(method) redefinition in class.
- * Add configure test to determine if dlsym() requires underscore and set
- DLSYM_NEEDS_UNDERSCORE accordingly. Perl and zsh have it in configure,
- for example. (DONE?)
-
- For PHP 5.0.0:
- * Native large number support (probably with GNU GMP)
- * Const'ify APIs. Right now, many functions leave parameters untouched,
- but don't declare those as const. This makes interaction with other
- interfaces difficult which pass const parameters to us.
-
-
-global
-------
- For PHP 4.3.0:
- * Add aliases to functions to conform to new naming conventions, e.g.
- str_to_upper().
- * Make all extensions thread-safe.
- * Make everything on the language-level independent of your locale
- settings.
- * Change PHP error messages, so that they point to pages or sections
- in the PHP Manual.
- * Make sure that all ZTS globals get destructed. Most ts_allocate_id()
- calls should have a dtor entry.
- * Activate all extensions by default that don't rely on external
- dependencies. (eg ftp) (DONE?)
- * on some platforms unimplemented function will just do nothing
- (e.g. symlink) they should print a warning or not even be defined!
- (DONE ?)
- * Use arg_separator.input to implode args in the CGI sapi extension
- and arg_separator.input to explode in php_build_argv(). (DONE?)
- * Change the odbc_fetch_into() function to require ALWAYS the first two
- parameters ($conn_id and $array), and make the third (row) be optional.
- * Remove --with-openlink configure option (--with-iodbc replaces it).
- * Implement flush feature suitable for nested output buffers.
-
- For PHP 5.0.0
- * bundle and use curl lib for fopen wrapper.
- * --enable-all in configure. (--enable-shared=max ...)
- * make configure print out a summary when it's done (like XEmacs)
- * replace standard functions which work on static data with
- reentrancy-safe functions (DONE?).
- * make SAPI conform to CGI/1.1. Currently, all SAPI modules
- define REMOTE_ADDR etc. themselves and reach only various level
- of compliance.
- * see what functions might need to be changed to use HashPosition, so
- that the internal array pointer is not affected.
- * Move most extensions and PEAR packages out of the PHP CVS tree,
- include them again during release packaging.
-
-
- Other
- * use thread-safe resolver functions (either require BIND 8 or adns).
- * implement javadoc based function docs template system.
- * provide optional IPv6 support.
- * find a better way to implement script timeouts. SIGVTALRM is used
- by some POSIX threads implementations (i.e. OpenBSD) and is not
- available in ZTS mode.
-
-
-documentation
--------------
- * Add remarks in the documentation which functions are not implemented
- on win32.
- * Add remarks in the documentation which functions are not binary-safe.
- * Update curl documentation (DONE?)
- * Add developer documentation.
- * Add detailed documentation for Java extension.
-
-ext/bz2
--------
- * Add ini setting for decompression buffer size. The default 4k is to small
- for big files and takes ages to decompress. However, 40k which perform
- quite good with big files may be to much under certain environments as
- default setting. There should be consideren different default sizes for
- different SAPIS (e.g. apache and cli).
-
-ext/curl
---------
- * Have a warning scheme for when people use unsupported features.
-
-ext/oci8
---------
- * All OCIFetch*() functions should return 0 for no more data and false on
- error.
- * Have a flag that trims trailing spaces from CHAR fields on retrieval.
- * Make allow_call_time_pass_reference=Off working.
- * For additional todo information, see oci8.c, in ext/oci8
-
-ext/pcre
---------
- * Allow user to set PCRE_NOTEMPTY, PCRE_ANCHORED at execution time, maybe
-
-ext/pcntl
----------
- * Change internal callback handler to use TICKS
- * Remove all zend_extension code
- * Add object callback support to pcntl_signal()
-
-ext/pgsql
----------
- For PHP 4.3.0:
- * Add pg_metadata() with metadata cache feature.
- * Add pg_convert() to check and convert array value for query.
- * Add pg_insert/pg_update/pg_delete/pg_select for simple query.
-
-ext/session
------------
- For PHP 4.3.0:
- * session_abort() to abort session. ie: Do not save session data.
- * Allow unset($_SESSION) or unset($HTTP_SESSION_VARS) to unset
- session vars regardless of register_globals setting.
-
- Other:
- * Maybe implement finer-grained session variables that could be
- locked individually.
- * Write a network-transparent storage back-end with fallover
- facilities
- * Provide a callback facility which is executed upon encountering
- an unknown class name during deserialization
-
-ext/sockets
------------
- * Implement IPv6
- * Review/Fix vectors
-
-ext/standard
-------------
- * Add a version number to data serialized via serialize().
- * Possibly modify parsing of GPC data to automatically create arrays if
- variable name is seen more than once.
- * Implement regex-cache for url-functions.
- * stri_replace(). (Andrei)
- * Move socket related functions to fsock.c.
- * NOT binary safe:
- strtok()
- basename()
- dirname()
- strrpos()
- strrchr()
- strip_tags()
-
-ext/wddx
---------
- * See if we can support the remaining data types:
- dateTime
- binary
-
- http://www.wddx.org/WDDX_SDK_10a/7__References/WDDX_DTD.htm
- (Andrei)
-
- * implement wddx_packet_as_javascript(). (Andrei)
-
-other cool stuff
-----------------
- * PVM extension
diff --git a/TODO.BUILDv5 b/TODO.BUILDv5
deleted file mode 100644
index 28237ea4d1..0000000000
--- a/TODO.BUILDv5
+++ /dev/null
@@ -1,3 +0,0 @@
-- clean up .cvsignores
-- purge Makefile.ins and replace PHP_EXTENSION in config.m4s
- with appropiate calls to PHP_NEW_EXTENSION
diff --git a/acconfig.h.in b/acconfig.h.in
deleted file mode 100644
index f87979c2fd..0000000000
--- a/acconfig.h.in
+++ /dev/null
@@ -1 +0,0 @@
-/* Leave this file alone */
diff --git a/acinclude.m4 b/acinclude.m4
deleted file mode 100644
index 1ab99126bf..0000000000
--- a/acinclude.m4
+++ /dev/null
@@ -1,1473 +0,0 @@
-dnl $Id$
-dnl
-dnl This file contains local autoconf functions.
-
-dnl PHP_ADD_MAKEFILE_FRAGMENT([srcfile[, ext_srcdir[, ext_builddir]]])
-dnl
-dnl Processes a file called Makefile.frag in the source directory
-dnl of the most recently added extension. $(srcdir) and $(builddir)
-dnl are substituted with the proper paths. Can be used to supply
-dnl custom rules and/or additional targets.
-dnl
-AC_DEFUN(PHP_ADD_MAKEFILE_FRAGMENT,[
- ifelse($1,,src=$ext_srcdir/Makefile.frag,src=$1)
- ifelse($2,,ac_srcdir=$ext_srcdir,ac_srcdir=$2)
- ifelse($3,,ac_builddir=$ext_builddir,ac_builddir=$3)
- sed -e "s#\$(srcdir)#$ac_srcdir#g" -e "s#\$(builddir)#$ac_builddir#g" $src >> Makefile.fragments
-])
-
-
-dnl PHP_DEFINE(WHAT[, value])
-dnl
-dnl Creates builddir/include/what.h and in there #define WHAT value
-dnl
-AC_DEFUN(PHP_DEFINE,[
- [echo "#define ]$1[]ifelse([$2],,[ 1],[ $2])[" > include/php_]translit($1,A-Z,a-z)[.h]
-])
-
-dnl PHP_INIT_BUILD_SYSTEM
-dnl
-AC_DEFUN(PHP_INIT_BUILD_SYSTEM,[
-mkdir include >/dev/null 2>&1
-> Makefile.objects
-> Makefile.fragments
-dnl We need to play tricks here to avoid matching the egrep line itself
-pattern=define
-egrep $pattern'.*include/php' $srcdir/configure|sed 's/.*>//'|xargs touch 2>/dev/null
-])
-
-dnl PHP_GEN_GLOBAL_MAKEFILE
-dnl
-dnl Generates the global makefile.
-dnl
-AC_DEFUN(PHP_GEN_GLOBAL_MAKEFILE,[
- cat >Makefile <<EOF
-srcdir = $abs_srcdir
-builddir = $abs_builddir
-top_srcdir = $abs_srcdir
-top_builddir = $abs_builddir
-EOF
- for i in $PHP_VAR_SUBST; do
- eval echo "$i = \$$i" >> Makefile
- done
-
- cat $abs_srcdir/Makefile.global Makefile.fragments Makefile.objects >> Makefile
-])
-
-dnl PHP_ADD_SOURCES(source-path, sources[, special-flags[, type]])
-dnl
-dnl Adds sources which are located relative to source-path to the
-dnl array of type type. Sources are processed with optional
-dnl special-flags which are passed to the compiler. Sources
-dnl can be either written in C or C++ (filenames shall end in .c
-dnl or .cpp, respectively).
-dnl
-dnl Note: If source-path begins with a "/", the "/" is removed and
-dnl the path is interpreted relative to the top build-directory.
-dnl
-dnl which array to append to?
-AC_DEFUN(PHP_ADD_SOURCES,[
- PHP_ADD_SOURCES_X($1, $2, $3, ifelse($4,cli,PHP_CLI_OBJS,ifelse($4,sapi,PHP_SAPI_OBJS,PHP_GLOBAL_OBJS)))
-])
-dnl
-dnl PHP_ASSIGN_BUILD_VARS(type)
-dnl internal, don't use
-AC_DEFUN(PHP_ASSIGN_BUILD_VARS,[
-ifelse($1,shared,[
- b_c_pre=$shared_c_pre
- b_cxx_pre=$shared_cxx_pre
- b_c_meta=$shared_c_meta
- b_cxx_meta=$shared_cxx_meta
- b_c_post=$shared_c_post
- b_cxx_post=$shared_cxx_post
-],[
- b_c_pre=$php_c_pre
- b_cxx_pre=$php_cxx_pre
- b_c_meta=$php_c_meta
- b_cxx_meta=$php_cxx_meta
- b_c_post=$php_c_post
- b_cxx_post=$php_cxx_post
-])dnl
- b_lo=[$]$1_lo
-])
-
-dnl PHP_ADD_SOURCES_X(source-path, sources[, special-flags[, target-var[, shared[, special-post-flags]]]])
-dnl
-dnl Additional to PHP_ADD_SOURCES (see above), this lets you set the
-dnl name of the array target-var directly, as well as whether
-dnl shared objects will be built from the sources. Should not be
-dnl used directly.
-dnl
-AC_DEFUN(PHP_ADD_SOURCES_X,[
-dnl relative to source- or build-directory?
-dnl ac_srcdir/ac_bdir include trailing slash
- case $1 in
- ""[)] ac_srcdir="$abs_srcdir/"; unset ac_bdir; ac_inc="-I. -I$abs_srcdir" ;;
- /*[)] ac_srcdir=`echo $ac_n "$1$ac_c"|cut -c 2-`"/"; ac_bdir=$ac_srcdir; ac_inc="-I$ac_bdir -I$abs_srcdir/$ac_bdir" ;;
- *[)] ac_srcdir="$abs_srcdir/$1/"; ac_bdir="$1/"; ac_inc="-I$ac_bdir -I$ac_srcdir" ;;
- esac
-
-dnl how to build .. shared or static?
- ifelse($5,yes,PHP_ASSIGN_BUILD_VARS(shared),PHP_ASSIGN_BUILD_VARS(php))
-
-dnl iterate over the sources
- old_IFS=[$]IFS
- for ac_src in $2; do
-
-dnl remove the suffix
- IFS=.
- set $ac_src
- ac_obj=[$]1
- IFS=$old_IFS
-
-dnl append to the array which has been dynamically chosen at m4 time
- $4="[$]$4 [$]ac_bdir[$]ac_obj.lo"
-
-dnl choose the right compiler/flags/etc. for the source-file
- case $ac_src in
- *.c[)] ac_comp="$b_c_pre $3 $ac_inc $b_c_meta -c $ac_srcdir$ac_src -o $ac_bdir$ac_obj.$b_lo $6$b_c_post" ;;
- *.cpp[)] ac_comp="$b_cxx_pre $3 $ac_inc $b_cxx_meta -c $ac_srcdir$ac_src -o $ac_bdir$ac_obj.$b_lo $6$b_cxx_post" ;;
- esac
-
-dnl create a rule for the object/source combo
- cat >>Makefile.objects<<EOF
-$ac_bdir[$]ac_obj.lo: $ac_srcdir[$]ac_src
- $ac_comp
-EOF
- done
-])
-
-dnl
-dnl Disable building CLI
-dnl
-AC_DEFUN(PHP_DISABLE_CLI,[
- disable_cli=1
-])
-
-dnl
-dnl Separator into the configure --help display.
-dnl
-AC_DEFUN(PHP_HELP_SEPARATOR,[
-AC_ARG_ENABLE([],[
-$1
-],[])
-])
-
-dnl
-dnl PHP_TARGET_RDYNAMIC
-dnl
-dnl Checks whether -rdynamic is supported by the compiler. This
-dnl is necessary for some targets to populate the global symbol
-dnl table. Otherwise, dynamic modules would not be able to resolve
-dnl PHP-related symbols.
-dnl
-dnl If successful, adds -rdynamic to PHP_LDFLAGS.
-dnl
-AC_DEFUN(PHP_TARGET_RDYNAMIC,[
- if test -n "$GCC"; then
- dnl we should use a PHP-specific macro here
- TSRM_CHECK_GCC_ARG(-rdynamic, gcc_rdynamic=yes)
- if test "$gcc_rdynamic" = "yes"; then
- PHP_LDFLAGS="$PHP_LDFLAGS -rdynamic"
- fi
- fi
-])
-
-AC_DEFUN(PHP_REMOVE_USR_LIB,[
- unset ac_new_flags
- for i in [$]$1; do
- case [$]i in
- -L/usr/lib|-L/usr/lib/) ;;
- *) ac_new_flags="[$]ac_new_flags [$]i" ;;
- esac
- done
- $1=[$]ac_new_flags
-])
-
-AC_DEFUN(PHP_SETUP_OPENSSL,[
- if test "$PHP_OPENSSL" = "yes"; then
- PHP_OPENSSL="/usr/local/ssl /usr/local /usr /usr/local/openssl"
- fi
-
- for i in $PHP_OPENSSL; do
- if test -r $i/include/openssl/evp.h; then
- OPENSSL_INCDIR=$i/include
- fi
- if test -r $i/lib/libssl.a -o -r $i/lib/libssl.$SHLIB_SUFFIX_NAME; then
- OPENSSL_LIBDIR=$i/lib
- fi
- done
-
- if test -z "$OPENSSL_INCDIR"; then
- AC_MSG_ERROR([Cannot find OpenSSL's <evp.h>])
- fi
-
- if test -z "$OPENSSL_LIBDIR"; then
- AC_MSG_ERROR([Cannot find OpenSSL's libraries])
- fi
-
- old_CPPFLAGS=$CPPFLAGS
- CPPFLAGS=-I$OPENSSL_INCDIR
- AC_MSG_CHECKING([for OpenSSL version])
- AC_EGREP_CPP(yes,[
-#include <openssl/opensslv.h>
-#if OPENSSL_VERSION_NUMBER >= 0x0090500fL
- yes
-#endif
- ],[
- AC_MSG_RESULT([>= 0.9.5])
- ],[
- AC_MSG_ERROR([OpenSSL version 0.9.5 or greater required.])
- ])
- CPPFLAGS=$old_CPPFLAGS
-
- PHP_ADD_INCLUDE($OPENSSL_INCDIR)
- PHP_ADD_LIBPATH($OPENSSL_LIBDIR)
-
- PHP_CHECK_LIBRARY(crypto, CRYPTO_free, [
- PHP_ADD_LIBRARY(crypto)
- ],[
- AC_MSG_ERROR([libcrypto not found!])
- ],[
- -L$OPENSSL_LIBDIR
- ])
-
- PHP_CHECK_LIBRARY(ssl, SSL_CTX_set_ssl_version, [
- PHP_ADD_LIBRARY(ssl)
- ],[
- AC_MSG_ERROR([libssl not found!])
- ],[
- -L$OPENSSL_LIBDIR
- ])
-
- OPENSSL_INCDIR_OPT=-I$OPENSSL_INCDIR
- AC_SUBST(OPENSSL_INCDIR_OPT)
-])
-
-dnl PHP_EVAL_LIBLINE(LINE, SHARED-LIBADD)
-dnl
-dnl Use this macro, if you need to add libraries and or library search
-dnl paths to the PHP build system which are only given in compiler
-dnl notation.
-dnl
-AC_DEFUN(PHP_EVAL_LIBLINE,[
- for ac_i in $1; do
- case $ac_i in
- -l*)
- ac_ii=`echo $ac_i|cut -c 3-`
- PHP_ADD_LIBRARY($ac_ii,,$2)
- ;;
- -L*)
- ac_ii=`echo $ac_i|cut -c 3-`
- PHP_ADD_LIBPATH($ac_ii,$2)
- ;;
- esac
- done
-])
-
-dnl PHP_EVAL_INCLINE(LINE)
-dnl
-dnl Use this macro, if you need to add header search paths to the PHP
-dnl build system which are only given in compiler notation.
-dnl
-AC_DEFUN(PHP_EVAL_INCLINE,[
- for ac_i in $1; do
- case $ac_i in
- -I*)
- ac_ii=`echo $ac_i|cut -c 3-`
- PHP_ADD_INCLUDE($ac_ii)
- ;;
- esac
- done
-])
-
-AC_DEFUN(PHP_READDIR_R_TYPE,[
- dnl HAVE_READDIR_R is also defined by libmysql
- AC_CHECK_FUNC(readdir_r,ac_cv_func_readdir_r=yes,ac_cv_func_readdir=no)
- if test "$ac_cv_func_readdir_r" = "yes"; then
- AC_CACHE_CHECK(for type of readdir_r, ac_cv_what_readdir_r,[
- AC_TRY_RUN([
-#define _REENTRANT
-#include <sys/types.h>
-#include <dirent.h>
-
-#ifndef PATH_MAX
-#define PATH_MAX 1024
-#endif
-
-main() {
- DIR *dir;
- char entry[sizeof(struct dirent)+PATH_MAX];
- struct dirent *pentry = (struct dirent *) &entry;
-
- dir = opendir("/");
- if (!dir)
- exit(1);
- if (readdir_r(dir, (struct dirent *) entry, &pentry) == 0)
- exit(0);
- exit(1);
-}
- ],[
- ac_cv_what_readdir_r=POSIX
- ],[
- AC_TRY_CPP([
-#define _REENTRANT
-#include <sys/types.h>
-#include <dirent.h>
-int readdir_r(DIR *, struct dirent *);
- ],[
- ac_cv_what_readdir_r=old-style
- ],[
- ac_cv_what_readdir_r=none
- ])
- ],[
- ac_cv_what_readdir_r=none
- ])
- ])
- case $ac_cv_what_readdir_r in
- POSIX)
- AC_DEFINE(HAVE_POSIX_READDIR_R,1,[whether you have POSIX readdir_r]);;
- old-style)
- AC_DEFINE(HAVE_OLD_READDIR_R,1,[whether you have old-style readdir_r]);;
- esac
- fi
-])
-
-AC_DEFUN(PHP_SHLIB_SUFFIX_NAME,[
- PHP_SUBST(SHLIB_SUFFIX_NAME)
- SHLIB_SUFFIX_NAME=so
- case $host_alias in
- *hpux*)
- SHLIB_SUFFIX_NAME=sl
- ;;
- *darwin*)
- SHLIB_SUFFIX_NAME=dylib
- ;;
- esac
-])
-
-AC_DEFUN(PHP_DEBUG_MACRO,[
- DEBUG_LOG=$1
- cat >$1 <<X
-CONFIGURE: $CONFIGURE_COMMAND
-CC: $CC
-CFLAGS: $CFLAGS
-CPPFLAGS: $CPPFLAGS
-CXX: $CXX
-CXXFLAGS: $CXXFLAGS
-INCLUDES: $INCLUDES
-LDFLAGS: $LDFLAGS
-LIBS: $LIBS
-DLIBS: $DLIBS
-SAPI: $PHP_SAPI
-PHP_RPATHS: $PHP_RPATHS
-uname -a: `uname -a`
-
-X
- cat >conftest.$ac_ext <<X
-main()
-{
- exit(0);
-}
-X
- (eval echo \"$ac_link\"; eval $ac_link && ./conftest) >>$1 2>&1
- rm -fr conftest*
-])
-
-AC_DEFUN(PHP_MISSING_PREAD_DECL,[
- AC_CACHE_CHECK(whether pread works without custom declaration,ac_cv_pread,[
- AC_TRY_COMPILE([#include <unistd.h>],[size_t (*func)() = pread],[
- ac_cv_pread=yes
- ],[
- echo test > conftest_in
- AC_TRY_RUN([
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
- main() { char buf[3]; return !(pread(open("conftest_in", O_RDONLY), buf, 2, 0) == 2); }
- ],[
- ac_cv_pread=yes
- ],[
- echo test > conftest_in
- AC_TRY_RUN([
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-#include <unistd.h>
- ssize_t pread(int, void *, size_t, off64_t);
- main() { char buf[3]; return !(pread(open("conftest_in", O_RDONLY), buf, 2, 0) == 2); }
- ],[
- ac_cv_pread=64
- ],[
- ac_cv_pread=no
- ])
- ],[
- ac_cv_pread=no
- ])
- ])
- ])
- case $ac_cv_pread in
- no) ac_cv_func_pread=no;;
- 64) AC_DEFINE(PHP_PREAD_64, 1, [whether pread64 is default]);;
- esac
-])
-
-AC_DEFUN(PHP_MISSING_PWRITE_DECL,[
- AC_CACHE_CHECK(whether pwrite works without custom declaration,ac_cv_pwrite,[
- AC_TRY_COMPILE([#include <unistd.h>],[size_t (*func)() = pwrite],[
- ac_cv_pwrite=yes
- ],[
- AC_TRY_RUN([
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
- main() { return !(pwrite(open("conftest_out", O_WRONLY|O_CREAT, 0600), "Ok", 2, 0) == 2); }
- ],[
- ac_cv_pwrite=yes
- ],[
- AC_TRY_RUN([
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-#include <unistd.h>
- ssize_t pwrite(int, void *, size_t, off64_t);
- main() { return !(pwrite(open("conftest_out", O_WRONLY|O_CREAT, 0600), "Ok", 2, 0) == 2); }
- ],[
- ac_cv_pwrite=64
- ],[
- ac_cv_pwrite=no
- ])
- ],[
- ac_cv_pwrite=no
- ])
- ])
- ])
- case $ac_cv_pwrite in
- no) ac_cv_func_pwrite=no;;
- 64) AC_DEFINE(PHP_PWRITE_64, 1, [whether pwrite64 is default]);;
- esac
-])
-
-AC_DEFUN(PHP_MISSING_TIME_R_DECL,[
- AC_MSG_CHECKING([for missing declarations of reentrant functions])
- AC_TRY_COMPILE([#include <time.h>],[struct tm *(*func)() = localtime_r],[
- :
- ],[
- AC_DEFINE(MISSING_LOCALTIME_R_DECL,1,[Whether localtime_r is declared])
- ])
- AC_TRY_COMPILE([#include <time.h>],[struct tm *(*func)() = gmtime_r],[
- :
- ],[
- AC_DEFINE(MISSING_GMTIME_R_DECL,1,[Whether gmtime_r is declared])
- ])
- AC_TRY_COMPILE([#include <time.h>],[char *(*func)() = asctime_r],[
- :
- ],[
- AC_DEFINE(MISSING_ASCTIME_R_DECL,1,[Whether asctime_r is declared])
- ])
- AC_TRY_COMPILE([#include <time.h>],[char *(*func)() = ctime_r],[
- :
- ],[
- AC_DEFINE(MISSING_CTIME_R_DECL,1,[Whether ctime_r is declared])
- ])
- AC_TRY_COMPILE([#include <string.h>],[char *(*func)() = strtok_r],[
- :
- ],[
- AC_DEFINE(MISSING_STRTOK_R_DECL,1,[Whether strtok_r is declared])
- ])
- AC_MSG_RESULT([done])
-])
-
-dnl
-dnl PHP_LIBGCC_LIBPATH(gcc)
-dnl Stores the location of libgcc in libgcc_libpath
-dnl
-AC_DEFUN(PHP_LIBGCC_LIBPATH,[
- changequote({,})
- libgcc_libpath=`$1 --print-libgcc-file-name|sed 's%/*[^/][^/]*$%%'`
- changequote([,])
-])
-
-AC_DEFUN(PHP_ARG_ANALYZE_EX,[
-ext_output="yes, shared"
-ext_shared=yes
-case [$]$1 in
-shared,*)
- $1=`echo "[$]$1"|sed 's/^shared,//'`
- ;;
-shared)
- $1=yes
- ;;
-no)
- ext_output=no
- ext_shared=no
- ;;
-*)
- ext_output=yes
- ext_shared=no
- ;;
-esac
-
-PHP_ALWAYS_SHARED([$1])
-])
-
-AC_DEFUN(PHP_ARG_ANALYZE,[
-PHP_ARG_ANALYZE_EX([$1])
-ifelse([$2],,,[AC_MSG_RESULT([$ext_output])])
-])
-
-dnl
-dnl PHP_ARG_WITH(arg-name, check message, help text[, default-val])
-dnl Sets PHP_ARG_NAME either to the user value or to the default value.
-dnl default-val defaults to no. This will also set the variable ext_shared,
-dnl and will overwrite any previous variable of that name.
-dnl
-AC_DEFUN(PHP_ARG_WITH,[
-PHP_REAL_ARG_WITH([$1],[$2],[$3],[$4],PHP_[]translit($1,a-z0-9-,A-Z0-9_))
-])
-
-AC_DEFUN(PHP_REAL_ARG_WITH,[
-ifelse([$2],,,[AC_MSG_CHECKING([$2])])
-AC_ARG_WITH($1,[$3],$5=[$]withval,$5=ifelse($4,,no,$4))
-PHP_ARG_ANALYZE($5,[$2])
-])
-
-dnl
-dnl PHP_ARG_ENABLE(arg-name, check message, help text[, default-val])
-dnl Sets PHP_ARG_NAME either to the user value or to the default value.
-dnl default-val defaults to no. This will also set the variable ext_shared,
-dnl and will overwrite any previous variable of that name.
-dnl
-AC_DEFUN(PHP_ARG_ENABLE,[
-PHP_REAL_ARG_ENABLE([$1],[$2],[$3],[$4],PHP_[]translit($1,a-z-,A-Z_))
-])
-
-AC_DEFUN(PHP_REAL_ARG_ENABLE,[
-ifelse([$2],,,[AC_MSG_CHECKING([$2])])
-AC_ARG_ENABLE($1,[$3],$5=[$]enableval,$5=ifelse($4,,no,$4))
-PHP_ARG_ANALYZE($5,[$2])
-])
-
-AC_DEFUN(PHP_MODULE_PTR,[
- EXTRA_MODULE_PTRS="$EXTRA_MODULE_PTRS $1,"
-])
-
-AC_DEFUN(PHP_CONFIG_NICE,[
- rm -f $1
- cat >$1<<EOF
-#! /bin/sh
-#
-# Created by configure
-
-EOF
-
- for var in CFLAGS CXXFLAGS CPPFLAGS LDFLAGS LIBS CC CXX; do
- eval val=\$$var
- if test -n "$val"; then
- echo "$var='$val' \\" >> $1
- fi
- done
-
- for arg in [$]0 "[$]@"; do
- echo "'[$]arg' \\" >> $1
- done
- echo '"[$]@"' >> $1
- chmod +x $1
-])
-
-AC_DEFUN(PHP_TIME_R_TYPE,[
-AC_CACHE_CHECK(for type of reentrant time-related functions, ac_cv_time_r_type,[
-AC_TRY_RUN([
-#include <time.h>
-
-main() {
-char buf[27];
-struct tm t;
-time_t old = 0;
-int r, s;
-
-s = gmtime_r(&old, &t);
-r = (int) asctime_r(&t, buf, 26);
-if (r == s && s == 0) return (0);
-return (1);
-}
-],[
- ac_cv_time_r_type=hpux
-],[
- AC_TRY_RUN([
-#include <time.h>
-main() {
- struct tm t, *s;
- time_t old = 0;
- char buf[27], *p;
-
- s = gmtime_r(&old, &t);
- p = asctime_r(&t, buf, 26);
- if (p == buf && s == &t) return (0);
- return (1);
-}
- ],[
- ac_cv_time_r_type=irix
- ],[
- ac_cv_time_r_type=POSIX
- ])
-],[
- ac_cv_time_r_type=POSIX
-])
-])
- case $ac_cv_time_r_type in
- hpux) AC_DEFINE(PHP_HPUX_TIME_R,1,[Whether you have HP-UX 10.x]) ;;
- irix) AC_DEFINE(PHP_IRIX_TIME_R,1,[Whether you have IRIX-style functions]) ;;
- esac
-])
-
-AC_DEFUN(PHP_SUBST,[
- PHP_VAR_SUBST="$PHP_VAR_SUBST $1"
-])
-
-AC_DEFUN(PHP_SUBST_OLD,[
- PHP_SUBST($1)
- AC_SUBST($1)
-])
-
-AC_DEFUN(PHP_MKDIR_P_CHECK,[
- AC_CACHE_CHECK(for working mkdir -p, ac_cv_mkdir_p,[
- test -d conftestdir && rm -rf conftestdir
- mkdir -p conftestdir/somedir >/dev/null 2>&1
-dnl `mkdir -p' must be quiet about creating existing directories
- mkdir -p conftestdir/somedir >/dev/null 2>&1
- if test "$?" = "0" && test -d conftestdir/somedir; then
- ac_cv_mkdir_p=yes
- else
- ac_cv_mkdir_p=no
- fi
- rm -rf conftestdir
- ])
-])
-
-AC_DEFUN(PHP_TM_GMTOFF,[
-AC_CACHE_CHECK([for tm_gmtoff in struct tm], ac_cv_struct_tm_gmtoff,
-[AC_TRY_COMPILE([#include <sys/types.h>
-#include <$ac_cv_struct_tm>], [struct tm tm; tm.tm_gmtoff;],
- ac_cv_struct_tm_gmtoff=yes, ac_cv_struct_tm_gmtoff=no)])
-
-if test "$ac_cv_struct_tm_gmtoff" = yes; then
- AC_DEFINE(HAVE_TM_GMTOFF,1,[whether you have tm_gmtoff in struct tm])
-fi
-])
-
-dnl PHP_CONFIGURE_PART(MESSAGE)
-dnl Idea borrowed from mm
-AC_DEFUN(PHP_CONFIGURE_PART,[
- AC_MSG_RESULT()
- AC_MSG_RESULT([${T_MD}$1${T_ME}])
-])
-
-AC_DEFUN(PHP_PROG_SENDMAIL,[
-AC_PATH_PROG(PROG_SENDMAIL, sendmail,[], $PATH:/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib)
-if test -n "$PROG_SENDMAIL"; then
- AC_DEFINE(HAVE_SENDMAIL,1,[whether you have sendmail])
-fi
-])
-
-AC_DEFUN(PHP_RUNPATH_SWITCH,[
-dnl check for -R, etc. switch
-AC_MSG_CHECKING([if compiler supports -R])
-AC_CACHE_VAL(php_cv_cc_dashr,[
- SAVE_LIBS=$LIBS
- LIBS="-R /usr/lib $LIBS"
- AC_TRY_LINK([], [], php_cv_cc_dashr=yes, php_cv_cc_dashr=no)
- LIBS=$SAVE_LIBS])
-AC_MSG_RESULT([$php_cv_cc_dashr])
-if test $php_cv_cc_dashr = "yes"; then
- ld_runpath_switch=-R
-else
- AC_MSG_CHECKING([if compiler supports -Wl,-rpath,])
- AC_CACHE_VAL(php_cv_cc_rpath,[
- SAVE_LIBS=$LIBS
- LIBS="-Wl,-rpath,/usr/lib $LIBS"
- AC_TRY_LINK([], [], php_cv_cc_rpath=yes, php_cv_cc_rpath=no)
- LIBS=$SAVE_LIBS])
- AC_MSG_RESULT([$php_cv_cc_rpath])
- if test $php_cv_cc_rpath = "yes"; then
- ld_runpath_switch=-Wl,-rpath,
- else
- dnl something innocuous
- ld_runpath_switch=-L
- fi
-fi
-])
-
-AC_DEFUN(PHP_STRUCT_FLOCK,[
-AC_CACHE_CHECK(for struct flock,ac_cv_struct_flock,
- AC_TRY_COMPILE([
-#include <unistd.h>
-#include <fcntl.h>
- ],
- [struct flock x;],
- [
- ac_cv_struct_flock=yes
- ],[
- ac_cv_struct_flock=no
- ])
-)
-if test "$ac_cv_struct_flock" = "yes" ; then
- AC_DEFINE(HAVE_STRUCT_FLOCK, 1,[whether you have struct flock])
-fi
-])
-
-AC_DEFUN(PHP_SOCKLEN_T,[
-AC_CACHE_CHECK(for socklen_t,ac_cv_socklen_t,
- AC_TRY_COMPILE([
-#include <sys/types.h>
-#include <sys/socket.h>
-],[
-socklen_t x;
-],[
- ac_cv_socklen_t=yes
-],[
- ac_cv_socklen_t=no
-]))
-if test "$ac_cv_socklen_t" = "yes"; then
- AC_DEFINE(HAVE_SOCKLEN_T, 1, [Whether you have socklen_t])
-fi
-])
-
-dnl
-dnl PHP_SET_SYM_FILE(path)
-dnl
-dnl set the path of the file which contains the symbol export list
-dnl
-AC_DEFUN(PHP_SET_SYM_FILE,
-[
- PHP_SYM_FILE=$1
-])
-
-dnl
-dnl PHP_BUILD_THREAD_SAFE
-dnl
-AC_DEFUN(PHP_BUILD_THREAD_SAFE,[
- enable_experimental_zts=yes
- if test "$pthreads_working" != "yes"; then
- AC_MSG_ERROR([ZTS currently requires working POSIX threads. We were unable to verify that your system supports Pthreads.])
- fi
-])
-
-AC_DEFUN(PHP_REQUIRE_CXX,[
- if test -z "$php_cxx_done"; then
- AC_PROG_CXX
- AC_PROG_CXXCPP
- php_cxx_done=yes
- fi
-])
-
-dnl
-dnl PHP_BUILD_SHARED
-dnl
-AC_DEFUN(PHP_BUILD_SHARED,[
- PHP_BUILD_PROGRAM
- OVERALL_TARGET=libphp4.la
- php_build_target=shared
-
- php_c_pre=$shared_c_pre
- php_c_meta=$shared_c_meta
- php_c_post=$shared_c_post
- php_cxx_pre=$shared_cxx_pre
- php_cxx_meta=$shared_cxx_meta
- php_cxx_post=$shared_cxx_post
- php_lo=$shared_lo
-])
-
-dnl
-dnl PHP_BUILD_STATIC
-dnl
-AC_DEFUN(PHP_BUILD_STATIC,[
- PHP_BUILD_PROGRAM
- OVERALL_TARGET=libphp4.la
- php_build_target=static
-])
-
-dnl
-dnl PHP_BUILD_BUNDLE
-dnl
-AC_DEFUN(PHP_BUILD_BUNDLE,[
- PHP_BUILD_PROGRAM
- OVERALL_TARGET=libs/libphp4.bundle
- php_build_target=static
-])
-
-dnl
-dnl PHP_BUILD_PROGRAM
-dnl
-AC_DEFUN(PHP_BUILD_PROGRAM,[
- OVERALL_TARGET=php
- php_c_pre='$(CC)'
- php_c_meta='$(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS)'
- php_c_post=' && echo > $[@]'
- php_cxx_pre='$(CXX)'
- php_cxx_meta='$(COMMON_FLAGS) $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS)'
- php_cxx_post=' && echo > $[@]'
- php_lo=o
-
- shared_c_pre='$(LIBTOOL) --mode=compile $(CC)'
- shared_c_meta='$(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) -prefer-pic'
- shared_c_post=
- shared_cxx_pre='$(LIBTOOL) --mode=compile $(CXX)'
- shared_cxx_meta='$(COMMON_FLAGS) $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS) -prefer-pic'
- shared_cxx_post=
- shared_lo=lo
-
- php_build_target=program
-])
-
-dnl
-dnl AC_PHP_ONCE(namespace, variable, code)
-dnl
-dnl execute code, if variable is not set in namespace
-dnl
-AC_DEFUN(AC_PHP_ONCE,[
- changequote({,})
- unique=`echo $2|sed 's/[^a-zA-Z0-9]/_/g'`
- changequote([,])
- cmd="echo $ac_n \"\$$1$unique$ac_c\""
- if test -n "$unique" && test "`eval $cmd`" = "" ; then
- eval "$1$unique=set"
- $3
- fi
-])
-
-dnl
-dnl PHP_EXPAND_PATH(path, variable)
-dnl
-dnl expands path to an absolute path and assigns it to variable
-dnl
-AC_DEFUN(PHP_EXPAND_PATH,[
- if test -z "$1" || echo "$1" | grep '^/' >/dev/null ; then
- $2=$1
- else
- changequote({,})
- ep_dir="`echo $1|sed 's%/*[^/][^/]*/*$%%'`"
- changequote([,])
- ep_realdir="`(cd \"$ep_dir\" && pwd)`"
- $2="$ep_realdir/`basename \"$1\"`"
- fi
-])
-dnl
-dnl internal, don't use
-AC_DEFUN(PHP_ADD_LIBPATH_GLOBAL,[
- AC_PHP_ONCE(LIBPATH, $1, [
- test -n "$ld_runpath_switch" && LDFLAGS="$LDFLAGS $ld_runpath_switch$1"
- LDFLAGS="$LDFLAGS -L$1"
- PHP_RPATHS="$PHP_RPATHS $1"
- ])
-])dnl
-dnl
-dnl
-dnl
-dnl PHP_ADD_LIBPATH(path[, shared-libadd])
-dnl
-dnl add a library to linkpath/runpath
-dnl
-AC_DEFUN(PHP_ADD_LIBPATH,[
- if test "$1" != "/usr/lib"; then
- PHP_EXPAND_PATH($1, ai_p)
- ifelse([$2],,[
- PHP_ADD_LIBPATH_GLOBAL([$ai_p])
- ],[
- if test "$ext_shared" = "yes"; then
- $2="-R$ai_p -L$ai_p [$]$2"
- else
- PHP_ADD_LIBPATH_GLOBAL([$ai_p])
- fi
- ])
- fi
-])
-
-dnl
-dnl PHP_BUILD_RPATH()
-dnl
-dnl builds RPATH from PHP_RPATHS
-dnl
-AC_DEFUN(PHP_BUILD_RPATH,[
- if test "$PHP_RPATH" = "yes" && test -n "$PHP_RPATHS"; then
- OLD_RPATHS=$PHP_RPATHS
- unset PHP_RPATHS
- for i in $OLD_RPATHS; do
- PHP_LDFLAGS="$PHP_LDFLAGS -L$i"
- PHP_RPATHS="$PHP_RPATHS -R $i"
- NATIVE_RPATHS="$NATIVE_RPATHS $ld_runpath_switch$i"
- done
- fi
-])
-
-dnl
-dnl PHP_ADD_INCLUDE(path [,before])
-dnl
-dnl add an include path.
-dnl if before is 1, add in the beginning of INCLUDES.
-dnl
-AC_DEFUN(PHP_ADD_INCLUDE,[
- if test "$1" != "/usr/include"; then
- PHP_EXPAND_PATH($1, ai_p)
- AC_PHP_ONCE(INCLUDEPATH, $ai_p, [
- if test "$2"; then
- INCLUDES="-I$ai_p $INCLUDES"
- else
- INCLUDES="$INCLUDES -I$ai_p"
- fi
- ])
- fi
-])
-dnl
-dnl internal, don't use
-AC_DEFUN(PHP_X_ADD_LIBRARY,[dnl
- ifelse([$2],,$3="-l$1 [$]$3", $3="[$]$3 -l$1") dnl
-])dnl
-dnl
-dnl internal, don't use
-AC_DEFUN(PHP_ADD_LIBRARY_SKELETON,[
- case $1 in
- c|c_r|pthread*) ;;
- *) ifelse($3,,[
- PHP_X_ADD_LIBRARY($1,$2,$5)
- ],[
- if test "$ext_shared" = "yes"; then
- PHP_X_ADD_LIBRARY($1,$2,$3)
- else
- $4($1,$2)
- fi
- ]) ;;
- esac
-])dnl
-dnl
-dnl
-dnl
-dnl PHP_ADD_LIBRARY(library[, append[, shared-libadd]])
-dnl
-dnl add a library to the link line
-dnl
-AC_DEFUN(PHP_ADD_LIBRARY,[
- PHP_ADD_LIBRARY_SKELETON([$1],[$2],[$3],[PHP_ADD_LIBRARY],[LIBS])
-])
-
-dnl
-dnl PHP_ADD_LIBRARY_DEFER(library[, append[, shared-libadd]])
-dnl
-dnl add a library to the link line (deferred)
-dnl
-AC_DEFUN(PHP_ADD_LIBRARY_DEFER,[
- PHP_ADD_LIBRARY_SKELETON([$1],[$2],[$3],[PHP_ADD_LIBRARY_DEFER],[DLIBS])
-])
-
-dnl
-dnl PHP_ADD_LIBRARY_WITH_PATH(library, path[, shared-libadd])
-dnl
-dnl add a library to the link line and path to linkpath/runpath.
-dnl if shared-libadd is not empty and $ext_shared is yes,
-dnl shared-libadd will be assigned the library information
-dnl
-AC_DEFUN(PHP_ADD_LIBRARY_WITH_PATH,[
-ifelse($3,,[
- if test -n "$2"; then
- PHP_ADD_LIBPATH($2)
- fi
- PHP_ADD_LIBRARY($1)
-],[
- if test "$ext_shared" = "yes"; then
- $3="-l$1 [$]$3"
- if test -n "$2"; then
- PHP_ADD_LIBPATH($2,$3)
- fi
- else
- PHP_ADD_LIBRARY_WITH_PATH($1,$2)
- fi
-])
-])
-
-dnl
-dnl PHP_ADD_LIBRARY_DEFER_WITH_PATH(library, path[, shared-libadd])
-dnl
-dnl add a library to the link line (deferred)
-dnl and path to linkpath/runpath (not deferred)
-dnl if shared-libadd is not empty and $ext_shared is yes,
-dnl shared-libadd will be assigned the library information
-dnl
-AC_DEFUN(PHP_ADD_LIBRARY_DEFER_WITH_PATH,[
-ifelse($3,,[
- if test -n "$2"; then
- PHP_ADD_LIBPATH($2)
- fi
- PHP_ADD_LIBRARY_DEFER($1)
-],[
- if test "$ext_shared" = "yes"; then
- $3="-l$1 [$]$3"
- if test -n "$2"; then
- PHP_ADD_LIBPATH($2,$3)
- fi
- else
- PHP_ADD_LIBRARY_DEFER_WITH_PATH($1,$2)
- fi
-])
-])
-
-dnl
-dnl Set libtool variable
-dnl
-AC_DEFUN(PHP_SET_LIBTOOL_VARIABLE,[
- LIBTOOL='$(SHELL) libtool $1'
-])
-
-dnl
-dnl Check for cc option
-dnl
-AC_DEFUN(PHP_CHECK_CC_OPTION,[
- echo "main(){return 0;}" > conftest.$ac_ext
- opt=$1
- changequote({,})
- var=`echo $opt|sed 's/[^a-zA-Z0-9]/_/g'`
- changequote([,])
- AC_MSG_CHECKING([if compiler supports -$1 really])
- ac_php_compile="${CC-cc} -$opt -o conftest $CFLAGS $CPPFLAGS conftest.$ac_ext 2>&1"
- if eval $ac_php_compile 2>&1 | egrep "$opt" > /dev/null 2>&1 ; then
- eval php_cc_$var=no
- AC_MSG_RESULT([no])
- else
- if eval ./conftest 2>/dev/null ; then
- eval php_cc_$var=yes
- AC_MSG_RESULT([yes])
- else
- eval php_cc_$var=no
- AC_MSG_RESULT([no])
- fi
- fi
-])
-
-AC_DEFUN(PHP_REGEX,[
-
-if test "$REGEX_TYPE" = "php"; then
- AC_DEFINE(HSREGEX,1,[ ])
- AC_DEFINE(REGEX,1,[ ])
- PHP_ADD_SOURCES(regex, regcomp.c regexec.c regerror.c regfree.c)
-elif test "$REGEX_TYPE" = "system"; then
- AC_DEFINE(REGEX,0,[ ])
-fi
-
-AC_MSG_CHECKING([which regex library to use])
-AC_MSG_RESULT([$REGEX_TYPE])
-])
-
-dnl
-dnl See if we have broken header files like SunOS has.
-dnl
-AC_DEFUN(PHP_MISSING_FCLOSE_DECL,[
- AC_MSG_CHECKING([for fclose declaration])
- AC_TRY_COMPILE([#include <stdio.h>],[int (*func)() = fclose],[
- AC_DEFINE(MISSING_FCLOSE_DECL,0,[ ])
- AC_MSG_RESULT([ok])
- ],[
- AC_DEFINE(MISSING_FCLOSE_DECL,1,[ ])
- AC_MSG_RESULT([missing])
- ])
-])
-
-dnl
-dnl Check for broken sprintf()
-dnl
-AC_DEFUN(PHP_AC_BROKEN_SPRINTF,[
- AC_CACHE_CHECK(whether sprintf is broken, ac_cv_broken_sprintf,[
- AC_TRY_RUN([main() {char buf[20];exit(sprintf(buf,"testing 123")!=11); }],[
- ac_cv_broken_sprintf=no
- ],[
- ac_cv_broken_sprintf=yes
- ],[
- ac_cv_broken_sprintf=no
- ])
- ])
- if test "$ac_cv_broken_sprintf" = "yes"; then
- AC_DEFINE(PHP_BROKEN_SPRINTF, 1, [ ])
- else
- AC_DEFINE(PHP_BROKEN_SPRINTF, 0, [ ])
- fi
-])
-
-dnl PHP_SHARED_MODULE(module-name, object-var, build-dir)
-dnl
-dnl Basically sets up the link-stage for building module-name
-dnl from object_var in build-dir.
-dnl
-AC_DEFUN(PHP_SHARED_MODULE,[
- PHP_MODULES="$PHP_MODULES \$(phplibdir)/$1.la"
- PHP_SUBST($2)
- cat >>Makefile.objects<<EOF
-\$(phplibdir)/$1.la: $3/$1.la
- \$(LIBTOOL) --mode=install cp $3/$1.la \$(phplibdir)
-
-$3/$1.la: \$($2) \$(translit($1,a-z-,A-Z_)_SHARED_DEPENDENCIES)
- \$(LIBTOOL) --mode=link \$(CC) \$(COMMON_FLAGS) \$(CFLAGS_CLEAN) \$(EXTRA_CFLAGS) \$(LDFLAGS) -o \[$]@ -export-dynamic -avoid-version -prefer-pic -module -rpath \$(phplibdir) \$(EXTRA_LDFLAGS) \$($2) \$(translit($1,a-z-,A-Z_)_SHARED_LIBADD)
-
-EOF
-])
-
-dnl
-dnl PHP_SELECT_SAPI(name, type[, sources [, extra-cflags]])
-dnl
-dnl Selects the SAPI name and type (static, shared, programm)
-dnl and optionally also the source-files for the SAPI-specific
-dnl objects.
-dnl
-AC_DEFUN(PHP_SELECT_SAPI,[
- PHP_SAPI=$1
-
- case "$2" in
- static) PHP_BUILD_STATIC;;
- shared) PHP_BUILD_SHARED;;
- bundle) PHP_BUILD_BUNDLE;;
- program) PHP_BUILD_PROGRAM;;
- esac
-
- ifelse($3,,,[PHP_ADD_SOURCES([sapi/$1],[$3],[$4],[sapi])])
-])
-
-dnl deprecated
-AC_DEFUN(PHP_EXTENSION,[
- sources=`awk -f $abs_srcdir/scan_makefile_in.awk < []PHP_EXT_SRCDIR($1)[]/Makefile.in`
-
- PHP_NEW_EXTENSION($1, $sources, $2, $3)
-
- if test -r "$ext_srcdir/Makefile.frag"; then
- PHP_ADD_MAKEFILE_FRAGMENT
- fi
-])
-
-AC_DEFUN(PHP_ADD_BUILD_DIR,[
- BUILD_DIR="$BUILD_DIR $1"
-])
-
-AC_DEFUN(PHP_GEN_BUILD_DIRS,[
- PHP_MKDIR_P_CHECK
- if test "$ac_cv_mkdir_p" = "yes"; then
- mkdir -p $BUILD_DIR
- fi
-])
-
-dnl
-dnl PHP_NEW_EXTENSION(extname, sources [, shared [,sapi_class[, extra-cflags]]])
-dnl
-dnl Includes an extension in the build.
-dnl
-dnl "extname" is the name of the ext/ subdir where the extension resides.
-dnl "sources" is a list of files relative to the subdir which are used
-dnl to build the extension.
-dnl "shared" can be set to "shared" or "yes" to build the extension as
-dnl a dynamically loadable library. Optional parameter "sapi_class" can
-dnl be set to "cli" to mark extension build only with CLI or CGI sapi's.
-dnl extra-cflags are passed to the compiler, with @ext_srcdir@ being
-dnl substituted.
-AC_DEFUN(PHP_NEW_EXTENSION,[
- ext_builddir=[]PHP_EXT_BUILDDIR($1)
- ext_srcdir=[]PHP_EXT_SRCDIR($1)
-
- ifelse($5,,ac_extra=,[ac_extra=`echo $ac_n "$5$ac_c"|sed s#@ext_srcdir@#$ext_srcdir#g`])
-
- if test "$3" != "shared" && test "$3" != "yes" && test "$4" != "cli"; then
-dnl ---------------------------------------------- Static module
-
- PHP_ADD_SOURCES(PHP_EXT_DIR($1),$2,$ac_extra,)
- EXT_STATIC="$EXT_STATIC $1"
- if test "$3" != "nocli"; then
- EXT_CLI_LTLIBS="$EXT_CLI_LTLIBS $abs_builddir/$ext_builddir/lib$1.la"
- EXT_CLI_STATIC="$EXT_CLI_STATIC $1"
- fi
- else
- if test "$3" = "shared" || test "$3" = "yes"; then
-dnl ---------------------------------------------- Shared module
- PHP_ADD_SOURCES_X(PHP_EXT_DIR($1),$2,$ac_extra,shared_objects_$1,yes)
- PHP_SHARED_MODULE($1,shared_objects_$1, $ext_builddir)
- AC_DEFINE_UNQUOTED([COMPILE_DL_]translit($1,a-z_-,A-Z_-), 1, Whether to build $1 as dynamic module)
- fi
- fi
-
- if test "$3" != "shared" && test "$3" != "yes" && test "$4" = "cli"; then
-dnl ---------------------------------------------- CLI static module
- if test "$PHP_SAPI" = "cgi"; then
- PHP_ADD_SOURCES(PHP_EXT_DIR($1),$2,$ac_extra,)
- EXT_STATIC="$EXT_STATIC $1"
- else
- PHP_ADD_SOURCES(PHP_EXT_DIR($1),$2,$ac_extra,cli)
- fi
- EXT_CLI_LTLIBS="$EXT_CLI_LTLIBS $abs_builddir/$ext_builddir/lib$1.la"
- EXT_CLI_STATIC="$EXT_CLI_STATIC $1"
- fi
- PHP_ADD_BUILD_DIR($ext_builddir)
-])
-
-dnl
-dnl Solaris requires main code to be position independent in order
-dnl to let shared objects find symbols. Weird. Ugly.
-dnl
-dnl Must be run after all --with-NN options that let the user
-dnl choose dynamic extensions, and after the gcc test.
-dnl
-AC_DEFUN(PHP_SOLARIS_PIC_WEIRDNESS,[
- AC_MSG_CHECKING([whether -fPIC is required])
- if test -n "$EXT_SHARED"; then
- os=`uname -sr 2>/dev/null`
- case $os in
- "SunOS 5.6"|"SunOS 5.7")
- case $CC in
- gcc*|egcs*) CFLAGS="$CFLAGS -fPIC";;
- *) CFLAGS="$CFLAGS -fpic";;
- esac
- AC_MSG_RESULT([yes]);;
- *)
- AC_MSG_RESULT([no]);;
- esac
- else
- AC_MSG_RESULT([no])
- fi
-])
-
-dnl
-dnl Checks whether $withval is "shared" or starts with "shared,XXX"
-dnl and sets $shared to "yes" or "no", and removes "shared,?" stuff
-dnl from $withval.
-dnl
-AC_DEFUN(PHP_WITH_SHARED,[
- PHP_ARG_ANALYZE_EX(withval)
- shared=$ext_shared
- unset ext_shared ext_output
-])
-
-dnl The problem is that the default compilation flags in Solaris 2.6 won't
-dnl let programs access large files; you need to tell the compiler that
-dnl you actually want your programs to work on large files. For more
-dnl details about this brain damage please see:
-dnl http://www.sas.com/standards/large.file/x_open.20Mar96.html
-
-dnl Written by Paul Eggert <eggert@twinsun.com>.
-
-AC_DEFUN(PHP_SYS_LFS,
-[dnl
- # If available, prefer support for large files unless the user specified
- # one of the CPPFLAGS, LDFLAGS, or LIBS variables.
- AC_MSG_CHECKING([whether large file support needs explicit enabling])
- ac_getconfs=''
- ac_result=yes
- ac_set=''
- ac_shellvars='CPPFLAGS LDFLAGS LIBS'
- for ac_shellvar in $ac_shellvars; do
- case $ac_shellvar in
- CPPFLAGS) ac_lfsvar=LFS_CFLAGS ;;
- *) ac_lfsvar=LFS_$ac_shellvar ;;
- esac
- eval test '"${'$ac_shellvar'+set}"' = set && ac_set=$ac_shellvar
- (getconf $ac_lfsvar) >/dev/null 2>&1 || { ac_result=no; break; }
- ac_getconf=`getconf $ac_lfsvar`
- ac_getconfs=$ac_getconfs$ac_getconf
- eval ac_test_$ac_shellvar=\$ac_getconf
- done
- case "$ac_result$ac_getconfs" in
- yes) ac_result=no ;;
- esac
- case "$ac_result$ac_set" in
- yes?*) ac_result="yes, but $ac_set is already set, so use its settings"
- esac
- AC_MSG_RESULT([$ac_result])
- case $ac_result in
- yes)
- for ac_shellvar in $ac_shellvars; do
- eval $ac_shellvar=\$ac_test_$ac_shellvar
- done ;;
- esac
-])
-
-AC_DEFUN(PHP_SOCKADDR_SA_LEN,[
- AC_CACHE_CHECK([for field sa_len in struct sockaddr],ac_cv_sockaddr_sa_len,[
- AC_TRY_COMPILE([#include <sys/types.h>
-#include <sys/socket.h>],
- [struct sockaddr s; s.sa_len;],
- [ac_cv_sockaddr_sa_len=yes
- AC_DEFINE(HAVE_SOCKADDR_SA_LEN,1,[ ])],
- [ac_cv_sockaddr_sa_len=no])
- ])
-])
-
-
-dnl ## PHP_OUTPUT(file)
-dnl ## adds "file" to the list of files generated by AC_OUTPUT
-dnl ## This macro can be used several times.
-AC_DEFUN(PHP_OUTPUT,[
- PHP_OUTPUT_FILES="$PHP_OUTPUT_FILES $1"
-])
-
-AC_DEFUN(PHP_DECLARED_TIMEZONE,[
- AC_CACHE_CHECK(for declared timezone, ac_cv_declared_timezone,[
- AC_TRY_COMPILE([
-#include <sys/types.h>
-#include <time.h>
-#ifdef HAVE_SYS_TIME_H
-#include <sys/time.h>
-#endif
-],[
- time_t foo = (time_t) timezone;
-],[
- ac_cv_declared_timezone=yes
-],[
- ac_cv_declared_timezone=no
-])])
- if test "$ac_cv_declared_timezone" = "yes"; then
- AC_DEFINE(HAVE_DECLARED_TIMEZONE, 1, [Whether system headers declare timezone])
- fi
-])
-
-AC_DEFUN(PHP_EBCDIC,[
- AC_CACHE_CHECK([whether system uses EBCDIC],ac_cv_ebcdic,[
- AC_TRY_RUN( [
-int main(void) {
- return (unsigned char)'A' != (unsigned char)0xC1;
-}
-],[
- ac_cv_ebcdic=yes
-],[
- ac_cv_ebcdic=no
-],[
- ac_cv_ebcdic=no
-])])
- if test "$ac_cv_ebcdic" = "yes"; then
- AC_DEFINE(CHARSET_EBCDIC,1, [Define if system uses EBCDIC])
- fi
-])
-
-AC_DEFUN(PHP_FOPENCOOKIE,[
- AC_CHECK_FUNC(fopencookie, [ have_glibc_fopencookie=yes ])
-
- if test "$have_glibc_fopencookie" = "yes" ; then
- dnl this comes in two flavors:
- dnl newer glibcs (since 2.1.2 ? )
- dnl have a type called cookie_io_functions_t
- AC_TRY_COMPILE([ #define _GNU_SOURCE
- #include <stdio.h>
- ],
- [ cookie_io_functions_t cookie; ],
- [ have_cookie_io_functions_t=yes ],
- [] )
-
- if test "$have_cookie_io_functions_t" = "yes" ; then
- cookie_io_functions_t=cookie_io_functions_t
- have_fopen_cookie=yes
- else
- dnl older glibc versions (up to 2.1.2 ?)
- dnl call it _IO_cookie_io_functions_t
- AC_TRY_COMPILE([ #define _GNU_SOURCE
- #include <stdio.h>
- ],
- [ _IO_cookie_io_functions_t cookie; ],
- [ have_IO_cookie_io_functions_t=yes ],
- [] )
- if test "$have_cookie_io_functions_t" = "yes" ; then
- cookie_io_functions_t=_IO_cookie_io_functions_t
- have_fopen_cookie=yes
- fi
- fi
-
- if test "$have_fopen_cookie" = "yes" ; then
- AC_DEFINE(HAVE_FOPENCOOKIE, 1, [ ])
- AC_DEFINE_UNQUOTED(COOKIE_IO_FUNCTIONS_T, $cookie_io_functions_t, [ ])
- fi
-
- fi
-])
-
-
-dnl
-dnl PHP_CHECK_LIBRARY(library, function [, action-found [, action-not-found [, extra-libs]]])
-dnl
-dnl Wrapper for AC_CHECK_LIB
-dnl
-AC_DEFUN(PHP_CHECK_LIBRARY, [
- save_old_LDFLAGS=$LDFLAGS
- LDFLAGS="$5 $LDFLAGS"
- AC_CHECK_LIB([$1],[$2],[
- LDFLAGS=$save_old_LDFLAGS
- $3
- ],[
- LDFLAGS=$save_old_LDFLAGS
- $4
- ])dnl
-])
-
-dnl
-dnl PHP_SETUP_ICONV(shared-add [, action-found [, action-not-found]])
-dnl
-dnl Common setup macro for iconv
-dnl
-AC_DEFUN(PHP_SETUP_ICONV, [
- found_iconv=no
- unset ICONV_DIR
-
- dnl
- dnl Check libc first if no path is provided in --with-iconv
- dnl
- if test "$PHP_ICONV" = "yes"; then
- AC_CHECK_FUNC(iconv, [
- PHP_DEFINE(HAVE_ICONV)
- found_iconv=yes
- ],[
- AC_CHECK_FUNC(libiconv,[
- PHP_DEFINE(HAVE_LIBICONV)
- found_iconv=yes
- ])
- ])
- fi
-
- dnl
- dnl Check external libs for iconv funcs
- dnl
- if test "$found_iconv" = "no"; then
-
- for i in $PHP_ICONV /usr/local /usr; do
- if test -r $i/include/giconv.h; then
- AC_DEFINE(HAVE_GICONV_H, 1, [ ])
- ICONV_DIR=$i
- iconv_lib_name=giconv
- break
- elif test -r $i/include/iconv.h; then
- ICONV_DIR=$i
- iconv_lib_name=iconv
- break
- fi
- done
-
- if test -z "$ICONV_DIR"; then
- AC_MSG_ERROR([Please specify the install prefix of iconv with --with-iconv=<DIR>])
- fi
-
- if test -f $ICONV_DIR/lib/lib$iconv_lib_name.a ||
- test -f $ICONV_DIR/lib/lib$iconv_lib_name.$SHLIB_SUFFIX_NAME
- then
- PHP_CHECK_LIBRARY($iconv_lib_name, libiconv, [
- found_iconv=yes
- PHP_DEFINE(HAVE_LIBICONV)
- ], [
- PHP_CHECK_LIBRARY($iconv_lib_name, iconv, [
- found_iconv=yes
- PHP_DEFINE(HAVE_ICONV)
- ], [], [
- -L$ICONV_DIR/lib
- ])
- ], [
- -L$ICONV_DIR/lib
- ])
- fi
- fi
-
- if test "$found_iconv" = "yes"; then
- if test -n "$ICONV_DIR"; then
- AC_DEFINE(HAVE_ICONV, 1, [ ])
- PHP_ADD_LIBRARY_WITH_PATH($iconv_lib_name, $ICONV_DIR/lib, $1)
- PHP_ADD_INCLUDE($ICONV_DIR/include)
- fi
- $2
-ifelse([$3],[],,[else $3])
- fi
-])
diff --git a/apidoc-zend.txt b/apidoc-zend.txt
deleted file mode 100644
index 0add45301b..0000000000
--- a/apidoc-zend.txt
+++ /dev/null
@@ -1,280 +0,0 @@
-Following is a merge of two letters I sent to php4beta@lists.php.net,
-describing the changes in API between PHP 3.0 and PHP 4.0 (Zend).
-This file is by no means thorough documentation of the PHP API,
-and is intended for developers who are familiar with the PHP 3.0 API,
-and want to port their code to PHP 4.0, or take advantage of its new
-features. For highlights about the PHP 3.0 API, consult apidoc.txt.
-
-Zeev
-
---------------------------------------------------------------------------
-
-I'm going to try to list the important changes in API and programming
-techniques that are involved in developing modules for PHP4/Zend, as
-opposed to PHP3. Listing the whole PHP4 API is way beyond my scope here,
-it's mostly a 'diff' from the apidoc.txt, which you're all pretty familiar
-with.
-An important note that I neglected to mention yesterday - the php4 tree is
-based on the php 3.0.5 tree, plus all 3.0.6 patches hand-patched into it.
-Notably, it does NOT include any 3.0.7 patches. All of those have to be
-reapplied, with extreme care - modules should be safe to patch (mostly),
-but anything that touches the core or main.c will almost definitely require
-changes in order to work properly.
-
-[1] Symbol Tables
-
-One of the major changes in Zend involves changing the way symbols tables
-work. Zend enforces reference counting on all values and resources. This
-required changes in the semantics of the hash tables that implement symbol
-tables. Instead of storing pval in the hashes, we now store pval *. All
-of the API functions in Zend were changed in a way that this change is
-completely transparent. However, if you've used 'low level' hash functions
-to access or update elements in symbol tables, your code will require
-changes. Following are two simple examples, one demonstrates the
-difference between PHP3 and Zend when reading a symbol's value, and the
-other demonstrates the difference when writing a value.
-
-php3_read()
-{
- pval *foo;
-
- _php3_hash_find(ht, "foo", sizeof("foo"), &foo);
- /* foo->type is the type and foo->value is the value */
-}
-
-
-php4_read()
-{
- pval **foo;
-
- _php3_hash_find(ht, "foo", sizeof("foo"), &foo);
- /* (*foo)->type is the type and (*foo)->value is the value */
-}
-
----
-
-php3_write()
-{
- pval newval;
-
- newval.type = ...;
- newval.value = ...;
- _php3_hash_update(ht, "bar", sizeof("bar"), &newval, sizeof(pval), NULL);
-}
-
-php4_write()
-{
- pval *newval = ALLOC_ZVAL();
-
- newval->refcount=1;
- newval->is_ref=0;
- newval->type = ...;
- newval->value = ...;
- _php3_hash_update(ht, "bar", sizeof("bar"), &newval, sizeof(pval *), NULL);
-}
-
-
-[2] Resources
-
-One of the 'cute' things about the reference counting support is that it
-completely eliminates the problem of resource leaking. A simple loop that
-included '$result = mysql_query(...)' in PHP leaked unless the user
-remembered to run mysql_free($result) at the end of the loop body, and
-nobody really did. In order to take advantage of the automatic resource
-deallocation upon destruction, there's virtually one small change you need
-to conduct. Change the result type of a resource that you want to destroy
-itself as soon as its no longer referenced (just about any resource I can
-think of) as IS_RESOURCE, instead of as IS_LONG. The rest is magic.
-
-A special treatment is required for SQL modules that follow MySQL's
-approach for having the link handle as an optional argument. Modules that
-follow the MySQL module model, store the last opened link in a global
-variable, that they use in case the user neglects to explicitly specify a
-link handle. Due to the way referenec counting works, this global
-reference is just like any other reference, and must increase that SQL link
-resource's reference count (otherwise, it will be closed prematurely).
-Simply, when you set the default link to a certain link, increase that
-link's reference count by calling zend_list_addref().
-As always, the MySQL module is the one used to demonstrate 'new
-technology'. You can look around it and look for IS_RESOURCE, as well as
-zend_list_addref(), to see a clear example of how the new API should be used.
-
-
-[3] Thread safety issues
-
-I'm not going to say that Zend was designed with thread safety in mind, but
-from some point, we've decided upon several guidelines that would make the
-move to thread safety much, much easier. Generally, we've followed the PHP
-3.1 approach of moving global variables to a structure, and encapsulating
-all global variable references within macros. There are three main
-differences:
-1. We grouped related globals in a single structure, instead of grouping
-all globals in one structure.
-2. We've used much, much shorter macro names to increase the readability
-of the source code.
-3. Regardless of whether we're compiling in thread safe mode or not, all
-global variables are *always* stored in a structure. For example, you
-would never have a global variable 'foo', instead, it'll be a property of a
-global structure, for example, compiler_globals.foo. That makes
-development much, much easier, since your code will simply not compile
-unless you remember to put the necessary macro around foo.
-
-To write code that'll be thread safe in the future (when we release our
-thread safe memory manager and work on integrating it), you can take a look
-at zend_globals.h. Essentially, two sets of macros are defined, one for
-thread safe mode, and one for thread unsafe mode. All global references
-are encapsulated within ???G(varname), where ??? is the appropriate prefix
-for your structure (for example, so far we have CG(), EG() and AG(), which
-stand for the compiler, executor and memory allocator, respectively).
-When compiling with thread safety enabled, each function that makes use of
-a ???G() macro, must obtain the pointer to its copy of the structure. It
-can do so in one of two forms:
-1. It can receive it as an argument.
-2. It can fetch it.
-
-Obviously, the first method is preferable since it's much quicker.
-However, it's not always possible to send the structure all the way to a
-particular function, or it may simply bloat the code too much in some
-cases. Functions that receive the globals as an argument, should look like
-this:
-
-rettype functioname(???LS_D) <-- a function with no arguments
-rettype functioname(type arg1, ..., type argn ???LS_DC) <-- a funciton with
-arguments
-
-Calls to such functions should look like this:
-functionname(???LS_C) <-- a function with no arguments
-functionname(arg1, ..., argn ???LS_CC) <-- a function with arguments
-
-LS stands for 'Local Storage', _C stands for Call and _CC stands for Call
-Comma, _D stands for Declaration and _DC stands for Declaration Comma.
-Note that there's NO comma between the last argument and ???LS_DC or ???LS_CC.
-
-If you do not pass the structure as an argument you can always fetch it by
-using the appropriate ???LS_FETCH() macros within a functions variable
-declarations.
-
-In general, every module that makes use of globals should use this approach
-if it plans to be thread safe.
-
-
-[4] Generalized INI support
-
-The code comes to solve several issues:
-
-a. The ugly long block of code in main.c that reads values from the
-cfg_hash into php3_ini.
-b. Get rid of php3_ini. The performance penalty of copying it around all
-the time in the Apache module probably wasn't too high, but
-psychologically, it annoyed me :)
-c. Get rid of the ugly code in mod_php4.c, that also reads values from
-Apache directives and puts them into the php3_ini structure.
-d. Generalize all the code so that you only have to add an entry in one
-single place and get it automatically supported in php3.ini, Apache, Win32
-registry, runtime function ini_get() and ini_alter() and any future method
-we might have.
-e. Allow users to easily override *ANY* php3.ini value, except for ones
-they're not supposed to, of course.
-
-I'm happy to say that I think I pretty much reached all goals. php_ini.c
-implements a mechanism that lets you add your INI entry in a single place,
-with a default value in case there's no php3.ini value. What you get by
-using this mechanism:
-
-1. Automatic initialization from php3.ini if available, or from the
-default value if not.
-2. Automatic support in ini_alter(). That means a user can change the
-value for this INI entry at runtime, without you having to add in a single
-line of code, and definitely no additional function (for example, in PHP3,
-we had to add in special dedicated functions, like
-set_magic_quotes_runtime() or the likes - no need for that anymore).
-3. Automatic support in Apache .conf files.
-4. No need for a global php3_ini-like variable that'll store all that
-info. You can directly access each INI entry by name, in runtime. 'Sure,
-that's not revolutionary, it's just slow' is probably what some of you
-think - which is true, but, you can also register a callback function that
-is called each time your INI entry is changed, if you wish to store it in a
-cached location for intensive use.
-5. Ability to access the current active value for a given INI entry, and
-the 'master' value.
-
-Of course, (2) and (3) are only applicable in some cases. Some entries
-shouldn't be overriden by users in runtime or through Apache .conf files -
-you can, of course, mark them as such.
-
-
-So, enough hype, how does it work.
-
-Essentially:
-
-static PHP_INI_MH(OnChangeBar); /* declare a message handler for a change
-in "bar" */
-
-PHP_INI_BEGIN()
- PHP_INI_ENTRY("foo", "1", PHP_INI_ALL, NULL, NULL)
- PHP_INI_ENTRY("bar", "bah", PHP_INI_SYSTEM, OnChangeBar, NULL)
-PHP_INI_END()
-
-static PHP_INI_MH(OnChangeBar)
-{
- a_global_var_for_bar = new_value;
- return SUCCESS;
-}
-
-int whatever_minit(INIT_FUNC_ARGS)
-{
- ...
- REGISTER_INI_ENTRIES();
- ...
-}
-
-
-int whatever_mshutdown(SHUTDOWN_FUNC_ARGS)
-{
- ...
- UNREGISTER_INI_ENTRIES();
- ...
-}
-
-
-and that's it. Here's what it does. As you can probably guess, this code
-registers two INI entries - "foo" and "bar". They're given defaults "1"
-and "bah" respectively - note that all defaults are always given as
-strings. That doesn't reduce your ability to use integer values, simply
-specify them as strings. "foo" is marked so that it can be changed by
-anyone at any time (PHP_INI_ALL), whereas "bar" is marked so it can be
-changed only at startup in the php3.ini only, presumably, by the system
-administrator (PHP_INI_SYSTEM).
-When "foo" changes, no function is called. Access to it is done using the
-macros INI_INT("foo"), INI_FLT("foo") or INI_STR("foo"), which return a
-long, double or char * respectively (strings that are returned aren't
-duplicated - if they're manipulated, you must duplicate them first). You
-can also access the original value (the 'master' value, in case one of them
-was overriden by a user) using another pair of macros:
-INI_ORIG_INT("foo"), INI_ORIG_FLT("foo") and INI_ORIG_STR("foo").
-
-When "bar" changes, a special message handler is called, OnBarChange().
-Always declare those message handlers using PHP_INI_MH(), as they might
-change in the future. Message handlers are called as soon as an ini entry
-initializes or changes, and allow you to cache a certain INI value in a
-quick C structure. In this example, whenever "bar" changes, the new value
-is stored in a_global_var_for_bar, which is a global char * pointer,
-quickly accessible from other functions. Things get a bit more complicated
-when you want to implement a thread-safe module, but it's doable as well.
-Message handlers may return SUCCESS to acknowledge the new value, or
-FAILURE to reject it. That enables you to reject invalid values for some
-INI entries if you want. Finally, you can have a pointer passed to your
-message handler - that's the fifth argument to PHP_INI_ENTRY(). It is
-passed as mh_arg to the message handler.
-
-Remember that for certain values, there's really no reason to mess with a
-callback function. A perfect example for this are the syntax highlight
-colors, which no longer have a dedicated global C slot that stores them,
-but instead, are fetched from the php_ini hash on demand.
-
-"As always", for a perfect working example of this mechanism, consult
-functions/mysql.c. This module uses the new INI entry mechanism, and was
-also converted to be thread safe in general, and in its php_ini support in
-particular. Converting your modules to look like this for thread safety
-isn't a bad idea (not necessarily now, but in the long run).
-
diff --git a/apidoc.txt b/apidoc.txt
deleted file mode 100644
index 34eac2896c..0000000000
--- a/apidoc.txt
+++ /dev/null
@@ -1,492 +0,0 @@
-PHP Version 3.0 API Documentation
-
-Table of Contents
------------------
- 1. Function Prototype
- 2. Function Arguments
- 3. Variable number of function arguments
- 4. Using the function arguments
- 5. Memory management in functions
- 6. Setting variables in the symbol table
- 7. Returning values from functions
- 8. Returning 'complex' values from functions (arrays or objects)
- 9. Using the resource list
-10. Using the persistent resource table
-11. Adding runtime configuration directives
------------------
-
-1. Function Prototype
-
- All functions look like this:
-
- PHP_FUNCTION(foo) {
-
- }
-
- Even if your function doesn't take any arguments, this is how it is
- called.
-
------------------
-
-2. Function Arguments
-
- Arguments are always of type pval. This type contains a union which
- has the actual type of the argument. So, if your function takes two
- arguments, you would do something like the following at the top of your
- function:
-
- pval *arg1, *arg2;
- if (ARG_COUNT(ht) != 2 || getParameters(ht,2,&arg1,&arg2)==FAILURE) {
- WRONG_PARAM_COUNT;
- }
-
- NOTE: Arguments can be passed either by value or by reference. In both
- cases you will need to pass &(pval *) to getParameters. If you want to
- check if the n'th parameter was sent to you by reference or not, you can
- use the function, ParameterPassedByReference(ht,n). It will return either
- 1 or 0.
-
- When you change any of the passed parameters, whether they are sent by
- reference or by value, you can either start over with the parameter by
- calling pval_destructor on it, or if it's an ARRAY you want to add to,
- you can use functions similar to the ones in internal_functions.h which
- manipulate return_value as an ARRAY.
-
- Also if you change a parameter to IS_STRING make sure you first assign
- the new estrdup'ed string and the string length, and only later change the
- type to IS_STRING. If you change the string of a parameter which already
- IS_STRING or IS_ARRAY you should run pval_destructor on it first.
-
------------------
-
-3. Variable number of function arguments
-
- A function can take a variable number of arguments. If your function can
- take either 2 or 3 arguments, use the following:
-
- pval *arg1, *arg2, *arg3;
- int arg_count = ARG_COUNT(ht);
-
- if (arg_count<2 || arg_count>3 ||
- getParameters(ht,arg_count,&arg1,&arg2,&arg3)==FAILURE) {
- WRONG_PARAM_COUNT;
- }
-
-------------------
-
-4. Using the function arguments
-
- The type of each argument is stored in the pval type field:
-
-
- This type can be any of the following:
-
- IS_STRING String
- IS_DOUBLE Double-precision floating point
- IS_LONG Long
- IS_ARRAY Array
-
- IS_EMPTY ??
- IS_USER_FUNCTION ??
- IS_INTERNAL_FUNCTION ?? (if some of these cannot be passed to a
- function - delete)
- IS_CLASS ??
- IS_OBJECT ??
-
- If you get an argument of one type and would like to use it as another,
- or if you just want to force the argument to be of a certain type, you
- can use one of the following conversion functions:
-
- convert_to_long(arg1);
- convert_to_double(arg1);
- convert_to_string(arg1);
- convert_to_boolean_long(arg1); If the string is "" or "0" it
- becomes 0, 1 otherwise
- convert_string_to_number(arg1); Converts string to either LONG or
- DOUBLE depending on string
-
- These function all do in-place conversion. They do not return anything.
-
- The actual argument is stored in a union.
-
- For type IS_STRING, use arg1->value.str.val
- IS_LONG arg1->value.lval
- IS_DOUBLE arg1->value.dval
-
--------------------
-
-5. Memory management in functions
-
- Any memory needed by a function should be allocated with either emalloc()
- or estrdup(). These are memory handling abstraction functions that look
- and smell like the normal malloc() and strdup() functions. Memory should
- be freed with efree().
-
- There are two kinds of memory in this program. Memory which is returned
- to the parser in a variable and memory which you need for temporary
- storage in your internal function. When you assign a string to a
- variable which is returned to the parser you need to make sure you first
- allocate the memory with either emalloc or estrdup. This memory
- should NEVER be freed by you, unless you later, in the same function
- overwrite your original assignment (this kind of programming practice is
- not good though).
-
- For any temporary/permanent memory you need in your functions/library you
- should use the three emalloc(), estrdup(), and efree() functions. They
- behave EXACTLY like their counterpart functions. Anything you emalloc()
- or estrdup() you have to efree() at some point or another, unless it's
- supposed to stick around until the end of the program, otherwise there
- will be a memory leak. The meaning of "the functions behave exactly like
- their counterparts" is if you efree() something which was not
- emalloc()'ed nor estrdup()'ed you might get a segmentation fault. So
- please take care and free all of your wasted memory. One of the biggest
- improvements in PHP 3.0 will hopefully be the memory management.
-
- If you compile with "-DDEBUG", PHP3 will print out a list of all
- memory that was allocated using emalloc() and estrdup() but never
- freed with efree() when it is done running the specified script.
-
--------------------
-
-6. Setting variables in the symbol table
-
- A number of macros are available which make it easier to set a variable
- in the symbol table:
-
- SET_VAR_STRING(name,value) **
- SET_VAR_DOUBLE(name,value)
- SET_VAR_LONG(name,value)
-
- ** Be careful here. The value part must be malloc'ed manually because
- the memory management code will try to free this pointer later. Do
- not pass statically allocated memory into a SET_VAR_STRING
-
- Symbol tables in PHP 3.0 are implemented as hash tables. At any given time,
- &symbol_table is a pointer to the 'main' symbol table, and active_symbol_table
- points to the currently active symbol table (these may be identical like in
- startup, or different, if you're inside a function).
-
- The following examples use 'active_symbol_table'. You should replace it with
- &symbol_table if you specifically want to work with the 'main' symbol table.
- Also, the same funcions may be applied to arrays, as explained below.
-
- * To check whether a variable named $foo already exists in a symbol table:
- if (hash_exists(active_symbol_table,"foo",sizeof("foo"))) { exists... }
- else { doesn't exist }
-
- * If you also need to get the type of the variable, you can use:
- hash_find(active_symbol_table,"foo",sizeof("foo"),&pvalue);
- check(pvalue.type);
-
- Arrays in PHP 3.0 are implemented using the same hashtables as symbol tables.
- This means the two above functions can also be used to check variables
- inside arrays.
-
- If you want to define a new array in a symbol table, you should do this:
-
- 1. Possibly check it exists and abort, using hash_exists()
- or hash_find().
- 2. Code:
-
- pval arr;
-
- if (array_init(&arr) == FAILURE) { failed... };
- hash_update(active_symbol_table,"foo",sizeof("foo"),&arr,sizeof(pval),NULL);
-
- This code declares a new array, named $foo, in the active symbol table.
- This array is empty.
-
- Here's how to add new entries to it:
-
- pval entry;
-
- entry.type = IS_LONG;
- entry.value.lval = 5;
-
- hash_update(arr.value.ht,"bar",sizeof("bar"),&entry,sizeof(pval),NULL); /* defines $foo["bar"] = 5 */
- hash_index_update(arr.value.ht,7,&entry,sizeof(pval),NULL); /* defines $foo[7] = 5 */
- hash_next_index_insert(arr.value.ht,&entry,sizeof(pval),NULL); /* defines the next free place in $foo[],
- * $foo[8], to be 5 (works like php2)
- */
-
- If you'd like to modify a value that you inserted to a hash, you must first retreive it from the hash. To
- prevent that overhead, you can supply a pval ** to the hash add function, and it'll be updated with the
- pval * address of the inserted element inside the hash. If that value is NULL (like in all of the
- above examples) - that parameter is ignored.
-
- hash_next_index_insert() works more or less using the same logic
- "$foo[] = bar;" works in PHP 2.0.
-
- If you are building an array to return from a function, you can initialize
- the array just like above by doing:
-
- if (array_init(return_value) == FAILURE) { failed...; }
-
- and then adding values with the helper functions:
-
- add_next_index_long(return_value,long_value);
- add_next_index_double(return_value,double_value);
- add_next_index_string(return_value,estrdup(string_value));
-
- Of course, if the adding isn't done right after the array
- initialization, you'd probably have to look for the array first:
-
- pval *arr;
-
- if (hash_find(active_symbol_table,"foo",sizeof("foo"),(void **)&arr)==FAILURE) { can't find... }
- else { use arr->value.ht... }
-
- Note that hash_find receives a pointer to a pval pointer, and
- not a pval pointer.
-
- Just about any hash function returns SUCCESS or FAILURE (except for
- hash_exists() that returns a boolean truth value).
-
--------------------
-
-7. Returning 'simple' values from functions (integers, floats or strings)
-
- A number of macros are available to make it easier to return things from
- functions:
-
- These set the return value and return from the function:
-
- RETURN_FALSE
- RETURN_TRUE
- RETURN_LONG(l)
- RETURN_STRING(s,dup) If dup is true, duplicates the string
- RETURN_STRINGL(s,l,dup) Return string (s) specifying length (l).
- RETURN_DOUBLE(d)
-
- These only set the return value:
-
- RETVAL_FALSE
- RETVAL_TRUE
- RETVAL_LONG(l)
- RETVAL_STRING(s,dup) If dup is true, duplicates the string
- RETVAL_STRINGL(s,l,dup) Return string (s) specifying length (l).
- RETVAL_DOUBLE(d)
-
- The string macros above will all estrdup() the passed 's' argument,
- so you can safely free the argument after calling the macro, or
- alternatively use statically allocated memory.
-
- If your function returns boolean success/error responses, always use
- RETURN_TRUE and RETURN_FALSE respectively.
-
--------------------
-
-8. Returning 'complex' values from functions (arrays or objects)
-
- Your function can also return a complex data type such as an object
- or an array.
-
- Returning an object:
-
- 1. Call object_init(return_value).
- 2. Fill it up with values:
-
- add_property_long(return_value,property_name,l) Add a property named 'property_name', of type long, equals to 'l'
- add_property_double(return_value,property_name,d) Same, only a double
- add_property_string(return_value,property_name,str) Same, only a string
- add_property_stringl(return_value,property_name,str,l) Add a property named 'property_name', of type string, string is 'str' with length 'l'
-
- 3. Possibly, register functions for this object. In order to
- obtain values from the object, the function would have to fetch
- "this" from the active_symbol_table. Its type should be IS_OBJECT,
- and it's basically a regular hash table (i.e., you can use regular
- hash functions on .value.ht). The actual registration of the
- function can be done using:
-
- add_method(return_value,function_name,function_ptr)
-
-
- Returning an array:
-
- 1. Call array_init(return_value).
- 2. Fill it up with values:
-
- add_assoc_long(return_value,key,l) add associative entry with key 'key' and long value 'l'
- add_assoc_double(return_value,key,d)
- add_assoc_string(return_value,key,str)
- add_assoc_stringl(return_value,key,str,length) specify the string length
-
- add_index_long(return_value,index,l) add entry in index 'index' with long value 'l'
- add_index_double(return_value,index,d)
- add_index_string(return_value,index,str)
- add_index_stringl(return_value,index,str,length) specify the string length
-
- add_next_index_long(return_value,l) add an array entry in the next free offset with long value 'l'
- add_next_index_double(return_value,d)
- add_next_index_string(return_value,str)
- add_next_index_stringl(return_value,str,length) specify the string length
-
--------------------
-
-9. Using the resource list
-
- PHP 3.0 has a standard way of dealing with various types of resources,
- that replaces all of the local linked lists in PHP 2.0.
-
- Available functions:
-
- php3_list_insert(ptr, type) returns the 'id' of the newly inserted resource
- php3_list_delete(id) delete the resource with the specified id
- php3_list_find(id,*type) returns the pointer of the resource with the specified id, updates 'type' to the resource's type
-
- Typically, these functions are used for SQL drivers but they can be
- used for anything else, and are used, for instance, for maintaining
- file descriptors.
-
- Typical list code would look like this:
-
- Adding a new resource:
-
- RESOURCE *resource;
-
- ...allocate memory for resource and acquire resource...
- /* add a new resource to the list */
- return_value->value.lval = php3_list_insert((void *) resource, LE_RESOURCE_TYPE);
- return_value->type = IS_LONG;
-
- Using an existing resource:
-
- pval *resource_id;
- RESOURCE *resource;
- int type;
-
- convert_to_long(resource_id);
- resource = php3_list_find(resource_id->value.lval, &type);
- if (type != LE_RESOURCE_TYPE) {
- php3_error(E_WARNING,"resource index %d has the wrong type",resource_id->value.lval);
- RETURN_FALSE;
- }
- ...use resource...
-
- Deleting an existing resource:
-
- pval *resource_id;
- RESOURCE *resource;
- int type;
-
- convert_to_long(resource_id);
- php3_list_delete(resource_id->value.lval);
-
-
- The resource types should be registered in php3_list.h, in enum
- list_entry_type. In addition, one should add shutdown code for any
- new resource type defined, in list.c's list_entry_destructor() (even if
- you don't have anything to do on shutdown, you must add an empty case).
-
--------------------
-
-10. Using the persistent resource table
-
- PHP 3.0 has a standard way of storing persistent resources (i.e.,
- resources that are kept in between hits). The first module to use
- this feature was the MySQL module, and mSQL followed it, so one can
- get the general impression of how a persistent resource should be
- used by reading mysql.c. The functions you should look at are:
- php3_mysql_do_connect()
- php3_mysql_connect()
- php3_mysql_pconnect()
-
- The general idea of persistence modules is this:
- 1. Code all of your module to work with the regular resource list
- mentioned in section (9).
- 2. Code extra connect functions that check if the resource already
- exists in the persistent resource list. If it does, register it
- as in the regular resource list as a pointer to the persistent
- resource list (because of 1., the rest of the code
- should work immediately). If it doesn't, then create it, add it
- to the persistent resource list AND add a pointer to it from the
- regular resource list, so all of the code would work since it's
- in the regular resource list, but on the next connect, the
- resource would be found in the persistent resource list and be
- used without having to recreate it.
- You should register these resources with a different type (e.g.
- LE_MYSQL_LINK for non-persistent link and LE_MYSQL_PLINK for
- a persistent link).
-
- If you read mysql.c, you'll notice that except for the more complex
- connect function, nothing in the rest of the module has to be changed.
-
- The very same interface exists for the regular resource list and the
- persistent resource list, only 'list' is replaced with 'plist':
-
- php3_plist_insert(ptr, type) returns the 'id' of the newly inserted resource
- php3_plist_delete(id) delete the resource with the specified id
- php3_plist_find(id,*type) returns the pointer of the resource with the specified id, updates 'type' to the resource's type
-
- However, it's more than likely that these functions would prove
- to be useless for you when trying to implement a persistent module.
- Typically, one would want to use the fact that the persistent resource
- list is really a hash table. For instance, in the MySQL/mSQL modules,
- when there's a pconnect() call (persistent connect), the function
- builds a string out of the host/user/passwd that were passed to the
- function, and hashes the SQL link with this string as a key. The next
- time someone calls a pconnect() with the same host/user/passwd, the
- same key would be generated, and the function would find the SQL link
- in the persistent list.
-
- Until further documented, you should look at mysql.c or msql.c to
- see how one should use the plist's hash table abilities.
-
- One important thing to note: resources going into the persistent
- resource list must *NOT* be allocated with PHP's memory manager, i.e.,
- they should NOT be created with emalloc(), estrdup(), etc. Rather,
- one should use the regular malloc(), strdup(), etc. The reason for
- this is simple - at the end of the request (end of the hit), every
- memory chunk that was allocated using PHP's memory manager is deleted.
- Since the persistent list isn't supposed to be erased at the end
- of a request, one mustn't use PHP's memory manager for allocating
- resources that go to it.
-
- Shutting down persistent resources:
-
- When you register resource that's going to be in the persistent list,
- you should add destructors to it both in the non-persistent list
- and in the persistent list.
- The destructor in the non-persistent list destructor shouldn't do anything.
- The one in the persistent list destructor should properly free any
- resources obtained by that type (e.g. memory, SQL links, etc). Just like
- with the non-persistent resources, you *MUST* add destructors for every
- resource, even it requires no destructotion and the destructor would
- be empty.
- Remember, since emalloc() and friends aren't to be used in conjunction
- with the persistent list, you mustn't use efree() here either.
-
--------------------
-
-11. Adding runtime configuration directives
-
-Many of the features of PHP3 can be configured at runtime. These
-configuration directives can appear in either the designated php3.ini
-file, or in the case of the Apache module version in the Apache .conf
-files. The advantage of having them in the Apache .conf files is that
-they can be configured on a per-directory basis. This means that one
-directory may have a certain safemodeexecdir for example, while another
-directory may have another. This configuration granularity is especially
-handy when a server supports multiple virtual hosts.
-
-The steps required to add a new directive:
-
- 1. Add directive to php3_ini_structure struct in mod_php4.h.
-
- 2. In main.c, edit the php3_module_startup function and add the
- appropriate cfg_get_string() or cfg_get_long() call.
-
- 3. Add the directive, restrictions and a comment to the php3_commands
- structure in mod_php4.c. Note the restrictions part. RSRC_CONF are
- directives that can only be present in the actual Apache .conf files.
- Any OR_OPTIONS directives can be present anywhere, include normal
- .htaccess files.
-
- 4. In either php3take1handler() or php3flaghandler() add the appropriate
- entry for your directive.
-
- 5. In the configuration section of the _php3_info() function in
- functions/info.c you need to add your new directive.
-
- 6. And last, you of course have to use your new directive somewhere.
- It will be addressable as php3_ini.directive
diff --git a/buildconf b/buildconf
deleted file mode 100755
index fafd5dcc22..0000000000
--- a/buildconf
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh
-# $Id$
-
-while test $# -gt 0; do
- if test "$1" = "--copy"; then
- automake_flags=--copy
- fi
-
- if test "$1" = "--ZendEngine2"; then
- ZENDDIR=ZendEngine2
- echo "Using Zend Engine 2 code"
- fi
-
- shift
-done
-
-if test -z "$ZENDDIR"; then
- ZENDDIR=Zend
- echo "using default Zend directory"
-fi
-
-## build.mk does not check aclocal exit status yet
-##
-#mv aclocal.m4 aclocal.m4.old 2>/dev/null
-#aclocal
-#if test "$?" != "0" -a "$am_prefix" != "$lt_prefix"; then
-# echo "buildconf: ERROR: aclocal failed, probably because automake and"
-# echo " libtool are installed with different prefixes;"
-# echo " automake is installed in $am_prefix, but libtool in $lt_prefix."
-# echo " Please re-install automake and/or libtool with a common prefix"
-# echo " and try again."
-# exit 1
-#fi
-
-rm -f generated_lists
-
-${MAKE:-make} -s -f build/build.mk AMFLAGS="$automake_flags" ZENDDIR="$ZENDDIR"
diff --git a/config.guess b/config.guess
deleted file mode 100644
index 28fcc5e22c..0000000000
--- a/config.guess
+++ /dev/null
@@ -1,1308 +0,0 @@
-#! /bin/sh
-# Attempt to guess a canonical system name.
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
-# Free Software Foundation, Inc.
-
-timestamp='2001-11-08'
-
-# This file is free software; you can redistribute it and/or modify it
-# under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-#
-# As a special exception to the GNU General Public License, if you
-# distribute this file as part of a program that contains a
-# configuration script generated by Autoconf, you may include it under
-# the same distribution terms that you use for the rest of that program.
-
-# Originally written by Per Bothner <bothner@cygnus.com>.
-# Please send patches to <config-patches@gnu.org>. Submit a context
-# diff and a properly formatted ChangeLog entry.
-#
-# This script attempts to guess a canonical system name similar to
-# config.sub. If it succeeds, it prints the system name on stdout, and
-# exits with 0. Otherwise, it exits with 1.
-#
-# The plan is that this can be called by configure scripts if you
-# don't specify an explicit build system type.
-
-me=`echo "$0" | sed -e 's,.*/,,'`
-
-usage="\
-Usage: $0 [OPTION]
-
-Output the configuration name of the system \`$me' is run on.
-
-Operation modes:
- -h, --help print this help, then exit
- -t, --time-stamp print date of last modification, then exit
- -v, --version print version number, then exit
-
-Report bugs and patches to <config-patches@gnu.org>."
-
-version="\
-GNU config.guess ($timestamp)
-
-Originally written by Per Bothner.
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
-Free Software Foundation, Inc.
-
-This is free software; see the source for copying conditions. There is NO
-warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
-
-help="
-Try \`$me --help' for more information."
-
-# Parse command line
-while test $# -gt 0 ; do
- case $1 in
- --time-stamp | --time* | -t )
- echo "$timestamp" ; exit 0 ;;
- --version | -v )
- echo "$version" ; exit 0 ;;
- --help | --h* | -h )
- echo "$usage"; exit 0 ;;
- -- ) # Stop option processing
- shift; break ;;
- - ) # Use stdin as input.
- break ;;
- -* )
- echo "$me: invalid option $1$help" >&2
- exit 1 ;;
- * )
- break ;;
- esac
-done
-
-if test $# != 0; then
- echo "$me: too many arguments$help" >&2
- exit 1
-fi
-
-
-dummy=dummy-$$
-trap 'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1' 1 2 15
-
-# CC_FOR_BUILD -- compiler used by this script.
-# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
-# use `HOST_CC' if defined, but it is deprecated.
-
-set_cc_for_build='case $CC_FOR_BUILD,$HOST_CC,$CC in
- ,,) echo "int dummy(){}" > $dummy.c ;
- for c in cc gcc c89 ; do
- ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ;
- if test $? = 0 ; then
- CC_FOR_BUILD="$c"; break ;
- fi ;
- done ;
- rm -f $dummy.c $dummy.o $dummy.rel ;
- if test x"$CC_FOR_BUILD" = x ; then
- CC_FOR_BUILD=no_compiler_found ;
- fi
- ;;
- ,,*) CC_FOR_BUILD=$CC ;;
- ,*,*) CC_FOR_BUILD=$HOST_CC ;;
-esac'
-
-# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
-# (ghazi@noc.rutgers.edu 1994-08-24)
-if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
- PATH=$PATH:/.attbin ; export PATH
-fi
-
-UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
-UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
-UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
-UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
-
-# Note: order is significant - the case branches are not exclusive.
-
-case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
- *:NetBSD:*:*)
- # NetBSD (nbsd) targets should (where applicable) match one or
- # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
- # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
- # switched to ELF, *-*-netbsd* would select the old
- # object file format. This provides both forward
- # compatibility and a consistent mechanism for selecting the
- # object file format.
- # Determine the machine/vendor (is the vendor relevant).
- case "${UNAME_MACHINE}" in
- amiga) machine=m68k-unknown ;;
- arm32) machine=arm-unknown ;;
- atari*) machine=m68k-atari ;;
- sun3*) machine=m68k-sun ;;
- mac68k) machine=m68k-apple ;;
- macppc) machine=powerpc-apple ;;
- hp3[0-9][05]) machine=m68k-hp ;;
- ibmrt|romp-ibm) machine=romp-ibm ;;
- sparc*) machine=`uname -p`-unknown ;;
- *) machine=${UNAME_MACHINE}-unknown ;;
- esac
- # The Operating System including object format, if it has switched
- # to ELF recently, or will in the future.
- case "${UNAME_MACHINE}" in
- i386|sparc|amiga|arm*|hp300|mvme68k|vax|atari|luna68k|mac68k|news68k|next68k|pc532|sun3*|x68k)
- eval $set_cc_for_build
- if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
- | grep __ELF__ >/dev/null
- then
- # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
- # Return netbsd for either. FIX?
- os=netbsd
- else
- os=netbsdelf
- fi
- ;;
- *)
- os=netbsd
- ;;
- esac
- # The OS release
- release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
- # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
- # contains redundant information, the shorter form:
- # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
- echo "${machine}-${os}${release}"
- exit 0 ;;
- amiga:OpenBSD:*:*)
- echo m68k-unknown-openbsd${UNAME_RELEASE}
- exit 0 ;;
- arc:OpenBSD:*:*)
- echo mipsel-unknown-openbsd${UNAME_RELEASE}
- exit 0 ;;
- hp300:OpenBSD:*:*)
- echo m68k-unknown-openbsd${UNAME_RELEASE}
- exit 0 ;;
- mac68k:OpenBSD:*:*)
- echo m68k-unknown-openbsd${UNAME_RELEASE}
- exit 0 ;;
- macppc:OpenBSD:*:*)
- echo powerpc-unknown-openbsd${UNAME_RELEASE}
- exit 0 ;;
- mvme68k:OpenBSD:*:*)
- echo m68k-unknown-openbsd${UNAME_RELEASE}
- exit 0 ;;
- mvme88k:OpenBSD:*:*)
- echo m88k-unknown-openbsd${UNAME_RELEASE}
- exit 0 ;;
- mvmeppc:OpenBSD:*:*)
- echo powerpc-unknown-openbsd${UNAME_RELEASE}
- exit 0 ;;
- pmax:OpenBSD:*:*)
- echo mipsel-unknown-openbsd${UNAME_RELEASE}
- exit 0 ;;
- sgi:OpenBSD:*:*)
- echo mipseb-unknown-openbsd${UNAME_RELEASE}
- exit 0 ;;
- sun3:OpenBSD:*:*)
- echo m68k-unknown-openbsd${UNAME_RELEASE}
- exit 0 ;;
- wgrisc:OpenBSD:*:*)
- echo mipsel-unknown-openbsd${UNAME_RELEASE}
- exit 0 ;;
- *:OpenBSD:*:*)
- echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
- exit 0 ;;
- alpha:OSF1:*:*)
- if test $UNAME_RELEASE = "V4.0"; then
- UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
- fi
- # A Vn.n version is a released version.
- # A Tn.n version is a released field test version.
- # A Xn.n version is an unreleased experimental baselevel.
- # 1.2 uses "1.2" for uname -r.
- cat <<EOF >$dummy.s
- .data
-\$Lformat:
- .byte 37,100,45,37,120,10,0 # "%d-%x\n"
-
- .text
- .globl main
- .align 4
- .ent main
-main:
- .frame \$30,16,\$26,0
- ldgp \$29,0(\$27)
- .prologue 1
- .long 0x47e03d80 # implver \$0
- lda \$2,-1
- .long 0x47e20c21 # amask \$2,\$1
- lda \$16,\$Lformat
- mov \$0,\$17
- not \$1,\$18
- jsr \$26,printf
- ldgp \$29,0(\$26)
- mov 0,\$16
- jsr \$26,exit
- .end main
-EOF
- eval $set_cc_for_build
- $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
- if test "$?" = 0 ; then
- case `./$dummy` in
- 0-0)
- UNAME_MACHINE="alpha"
- ;;
- 1-0)
- UNAME_MACHINE="alphaev5"
- ;;
- 1-1)
- UNAME_MACHINE="alphaev56"
- ;;
- 1-101)
- UNAME_MACHINE="alphapca56"
- ;;
- 2-303)
- UNAME_MACHINE="alphaev6"
- ;;
- 2-307)
- UNAME_MACHINE="alphaev67"
- ;;
- 2-1307)
- UNAME_MACHINE="alphaev68"
- ;;
- esac
- fi
- rm -f $dummy.s $dummy
- echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
- exit 0 ;;
- Alpha\ *:Windows_NT*:*)
- # How do we know it's Interix rather than the generic POSIX subsystem?
- # Should we change UNAME_MACHINE based on the output of uname instead
- # of the specific Alpha model?
- echo alpha-pc-interix
- exit 0 ;;
- 21064:Windows_NT:50:3)
- echo alpha-dec-winnt3.5
- exit 0 ;;
- Amiga*:UNIX_System_V:4.0:*)
- echo m68k-unknown-sysv4
- exit 0;;
- *:[Aa]miga[Oo][Ss]:*:*)
- echo ${UNAME_MACHINE}-unknown-amigaos
- exit 0 ;;
- *:OS/390:*:*)
- echo i370-ibm-openedition
- exit 0 ;;
- arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
- echo arm-acorn-riscix${UNAME_RELEASE}
- exit 0;;
- SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
- echo hppa1.1-hitachi-hiuxmpp
- exit 0;;
- Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
- # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
- if test "`(/bin/universe) 2>/dev/null`" = att ; then
- echo pyramid-pyramid-sysv3
- else
- echo pyramid-pyramid-bsd
- fi
- exit 0 ;;
- NILE*:*:*:dcosx)
- echo pyramid-pyramid-svr4
- exit 0 ;;
- sun4H:SunOS:5.*:*)
- echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
- exit 0 ;;
- sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
- echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
- exit 0 ;;
- i86pc:SunOS:5.*:*)
- echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
- exit 0 ;;
- sun4*:SunOS:6*:*)
- # According to config.sub, this is the proper way to canonicalize
- # SunOS6. Hard to guess exactly what SunOS6 will be like, but
- # it's likely to be more like Solaris than SunOS4.
- echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
- exit 0 ;;
- sun4*:SunOS:*:*)
- case "`/usr/bin/arch -k`" in
- Series*|S4*)
- UNAME_RELEASE=`uname -v`
- ;;
- esac
- # Japanese Language versions have a version number like `4.1.3-JL'.
- echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
- exit 0 ;;
- sun3*:SunOS:*:*)
- echo m68k-sun-sunos${UNAME_RELEASE}
- exit 0 ;;
- sun*:*:4.2BSD:*)
- UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
- test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
- case "`/bin/arch`" in
- sun3)
- echo m68k-sun-sunos${UNAME_RELEASE}
- ;;
- sun4)
- echo sparc-sun-sunos${UNAME_RELEASE}
- ;;
- esac
- exit 0 ;;
- aushp:SunOS:*:*)
- echo sparc-auspex-sunos${UNAME_RELEASE}
- exit 0 ;;
- # The situation for MiNT is a little confusing. The machine name
- # can be virtually everything (everything which is not
- # "atarist" or "atariste" at least should have a processor
- # > m68000). The system name ranges from "MiNT" over "FreeMiNT"
- # to the lowercase version "mint" (or "freemint"). Finally
- # the system name "TOS" denotes a system which is actually not
- # MiNT. But MiNT is downward compatible to TOS, so this should
- # be no problem.
- atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
- echo m68k-atari-mint${UNAME_RELEASE}
- exit 0 ;;
- atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
- echo m68k-atari-mint${UNAME_RELEASE}
- exit 0 ;;
- *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
- echo m68k-atari-mint${UNAME_RELEASE}
- exit 0 ;;
- milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
- echo m68k-milan-mint${UNAME_RELEASE}
- exit 0 ;;
- hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
- echo m68k-hades-mint${UNAME_RELEASE}
- exit 0 ;;
- *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
- echo m68k-unknown-mint${UNAME_RELEASE}
- exit 0 ;;
- powerpc:machten:*:*)
- echo powerpc-apple-machten${UNAME_RELEASE}
- exit 0 ;;
- RISC*:Mach:*:*)
- echo mips-dec-mach_bsd4.3
- exit 0 ;;
- RISC*:ULTRIX:*:*)
- echo mips-dec-ultrix${UNAME_RELEASE}
- exit 0 ;;
- VAX*:ULTRIX*:*:*)
- echo vax-dec-ultrix${UNAME_RELEASE}
- exit 0 ;;
- 2020:CLIX:*:* | 2430:CLIX:*:*)
- echo clipper-intergraph-clix${UNAME_RELEASE}
- exit 0 ;;
- mips:*:*:UMIPS | mips:*:*:RISCos)
- eval $set_cc_for_build
- sed 's/^ //' << EOF >$dummy.c
-#ifdef __cplusplus
-#include <stdio.h> /* for printf() prototype */
- int main (int argc, char *argv[]) {
-#else
- int main (argc, argv) int argc; char *argv[]; {
-#endif
- #if defined (host_mips) && defined (MIPSEB)
- #if defined (SYSTYPE_SYSV)
- printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
- #endif
- #if defined (SYSTYPE_SVR4)
- printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
- #endif
- #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
- printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
- #endif
- #endif
- exit (-1);
- }
-EOF
- $CC_FOR_BUILD $dummy.c -o $dummy \
- && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
- && rm -f $dummy.c $dummy && exit 0
- rm -f $dummy.c $dummy
- echo mips-mips-riscos${UNAME_RELEASE}
- exit 0 ;;
- Motorola:PowerMAX_OS:*:*)
- echo powerpc-motorola-powermax
- exit 0 ;;
- Night_Hawk:Power_UNIX:*:*)
- echo powerpc-harris-powerunix
- exit 0 ;;
- m88k:CX/UX:7*:*)
- echo m88k-harris-cxux7
- exit 0 ;;
- m88k:*:4*:R4*)
- echo m88k-motorola-sysv4
- exit 0 ;;
- m88k:*:3*:R3*)
- echo m88k-motorola-sysv3
- exit 0 ;;
- AViiON:dgux:*:*)
- # DG/UX returns AViiON for all architectures
- UNAME_PROCESSOR=`/usr/bin/uname -p`
- if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
- then
- if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
- [ ${TARGET_BINARY_INTERFACE}x = x ]
- then
- echo m88k-dg-dgux${UNAME_RELEASE}
- else
- echo m88k-dg-dguxbcs${UNAME_RELEASE}
- fi
- else
- echo i586-dg-dgux${UNAME_RELEASE}
- fi
- exit 0 ;;
- M88*:DolphinOS:*:*) # DolphinOS (SVR3)
- echo m88k-dolphin-sysv3
- exit 0 ;;
- M88*:*:R3*:*)
- # Delta 88k system running SVR3
- echo m88k-motorola-sysv3
- exit 0 ;;
- XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
- echo m88k-tektronix-sysv3
- exit 0 ;;
- Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
- echo m68k-tektronix-bsd
- exit 0 ;;
- *:IRIX*:*:*)
- echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
- exit 0 ;;
- ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
- echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
- exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX '
- i*86:AIX:*:*)
- echo i386-ibm-aix
- exit 0 ;;
- ia64:AIX:*:*)
- if [ -x /usr/bin/oslevel ] ; then
- IBM_REV=`/usr/bin/oslevel`
- else
- IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
- fi
- echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
- exit 0 ;;
- *:AIX:2:3)
- if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
- eval $set_cc_for_build
- sed 's/^ //' << EOF >$dummy.c
- #include <sys/systemcfg.h>
-
- main()
- {
- if (!__power_pc())
- exit(1);
- puts("powerpc-ibm-aix3.2.5");
- exit(0);
- }
-EOF
- $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
- rm -f $dummy.c $dummy
- echo rs6000-ibm-aix3.2.5
- elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
- echo rs6000-ibm-aix3.2.4
- else
- echo rs6000-ibm-aix3.2
- fi
- exit 0 ;;
- *:AIX:*:[45])
- IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'`
- if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
- IBM_ARCH=rs6000
- else
- IBM_ARCH=powerpc
- fi
- if [ -x /usr/bin/oslevel ] ; then
- IBM_REV=`/usr/bin/oslevel`
- else
- IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
- fi
- echo ${IBM_ARCH}-ibm-aix${IBM_REV}
- exit 0 ;;
- *:AIX:*:*)
- echo rs6000-ibm-aix
- exit 0 ;;
- ibmrt:4.4BSD:*|romp-ibm:BSD:*)
- echo romp-ibm-bsd4.4
- exit 0 ;;
- ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
- echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
- exit 0 ;; # report: romp-ibm BSD 4.3
- *:BOSX:*:*)
- echo rs6000-bull-bosx
- exit 0 ;;
- DPX/2?00:B.O.S.:*:*)
- echo m68k-bull-sysv3
- exit 0 ;;
- 9000/[34]??:4.3bsd:1.*:*)
- echo m68k-hp-bsd
- exit 0 ;;
- hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
- echo m68k-hp-bsd4.4
- exit 0 ;;
- 9000/[34678]??:HP-UX:*:*)
- HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
- case "${UNAME_MACHINE}" in
- 9000/31? ) HP_ARCH=m68000 ;;
- 9000/[34]?? ) HP_ARCH=m68k ;;
- 9000/[678][0-9][0-9])
- if [ -x /usr/bin/getconf ]; then
- sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
- sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
- case "${sc_cpu_version}" in
- 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
- 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
- 532) # CPU_PA_RISC2_0
- case "${sc_kernel_bits}" in
- 32) HP_ARCH="hppa2.0n" ;;
- 64) HP_ARCH="hppa2.0w" ;;
- '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
- esac ;;
- esac
- fi
- if [ "${HP_ARCH}" = "" ]; then
- eval $set_cc_for_build
- sed 's/^ //' << EOF >$dummy.c
-
- #define _HPUX_SOURCE
- #include <stdlib.h>
- #include <unistd.h>
-
- int main ()
- {
- #if defined(_SC_KERNEL_BITS)
- long bits = sysconf(_SC_KERNEL_BITS);
- #endif
- long cpu = sysconf (_SC_CPU_VERSION);
-
- switch (cpu)
- {
- case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
- case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
- case CPU_PA_RISC2_0:
- #if defined(_SC_KERNEL_BITS)
- switch (bits)
- {
- case 64: puts ("hppa2.0w"); break;
- case 32: puts ("hppa2.0n"); break;
- default: puts ("hppa2.0"); break;
- } break;
- #else /* !defined(_SC_KERNEL_BITS) */
- puts ("hppa2.0"); break;
- #endif
- default: puts ("hppa1.0"); break;
- }
- exit (0);
- }
-EOF
- (CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null) && HP_ARCH=`./$dummy`
- if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
- rm -f $dummy.c $dummy
- fi ;;
- esac
- echo ${HP_ARCH}-hp-hpux${HPUX_REV}
- exit 0 ;;
- ia64:HP-UX:*:*)
- HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
- echo ia64-hp-hpux${HPUX_REV}
- exit 0 ;;
- 3050*:HI-UX:*:*)
- eval $set_cc_for_build
- sed 's/^ //' << EOF >$dummy.c
- #include <unistd.h>
- int
- main ()
- {
- long cpu = sysconf (_SC_CPU_VERSION);
- /* The order matters, because CPU_IS_HP_MC68K erroneously returns
- true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
- results, however. */
- if (CPU_IS_PA_RISC (cpu))
- {
- switch (cpu)
- {
- case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
- case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
- case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
- default: puts ("hppa-hitachi-hiuxwe2"); break;
- }
- }
- else if (CPU_IS_HP_MC68K (cpu))
- puts ("m68k-hitachi-hiuxwe2");
- else puts ("unknown-hitachi-hiuxwe2");
- exit (0);
- }
-EOF
- $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
- rm -f $dummy.c $dummy
- echo unknown-hitachi-hiuxwe2
- exit 0 ;;
- 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
- echo hppa1.1-hp-bsd
- exit 0 ;;
- 9000/8??:4.3bsd:*:*)
- echo hppa1.0-hp-bsd
- exit 0 ;;
- *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
- echo hppa1.0-hp-mpeix
- exit 0 ;;
- hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
- echo hppa1.1-hp-osf
- exit 0 ;;
- hp8??:OSF1:*:*)
- echo hppa1.0-hp-osf
- exit 0 ;;
- i*86:OSF1:*:*)
- if [ -x /usr/sbin/sysversion ] ; then
- echo ${UNAME_MACHINE}-unknown-osf1mk
- else
- echo ${UNAME_MACHINE}-unknown-osf1
- fi
- exit 0 ;;
- parisc*:Lites*:*:*)
- echo hppa1.1-hp-lites
- exit 0 ;;
- C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
- echo c1-convex-bsd
- exit 0 ;;
- C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
- if getsysinfo -f scalar_acc
- then echo c32-convex-bsd
- else echo c2-convex-bsd
- fi
- exit 0 ;;
- C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
- echo c34-convex-bsd
- exit 0 ;;
- C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
- echo c38-convex-bsd
- exit 0 ;;
- C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
- echo c4-convex-bsd
- exit 0 ;;
- CRAY*X-MP:*:*:*)
- echo xmp-cray-unicos
- exit 0 ;;
- CRAY*Y-MP:*:*:*)
- echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
- exit 0 ;;
- CRAY*[A-Z]90:*:*:*)
- echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
- | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
- -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
- -e 's/\.[^.]*$/.X/'
- exit 0 ;;
- CRAY*TS:*:*:*)
- echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
- exit 0 ;;
- CRAY*T3D:*:*:*)
- echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
- exit 0 ;;
- CRAY*T3E:*:*:*)
- echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
- exit 0 ;;
- CRAY*SV1:*:*:*)
- echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
- exit 0 ;;
- CRAY-2:*:*:*)
- echo cray2-cray-unicos
- exit 0 ;;
- F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
- FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
- FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
- FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
- echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
- exit 0 ;;
- i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
- echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
- exit 0 ;;
- sparc*:BSD/OS:*:*)
- echo sparc-unknown-bsdi${UNAME_RELEASE}
- exit 0 ;;
- *:BSD/OS:*:*)
- echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
- exit 0 ;;
- *:FreeBSD:*:*)
- echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
- exit 0 ;;
- i*:CYGWIN*:*)
- echo ${UNAME_MACHINE}-pc-cygwin
- exit 0 ;;
- i*:MINGW*:*)
- echo ${UNAME_MACHINE}-pc-mingw32
- exit 0 ;;
- i*:PW*:*)
- echo ${UNAME_MACHINE}-pc-pw32
- exit 0 ;;
- i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
- # How do we know it's Interix rather than the generic POSIX subsystem?
- # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
- # UNAME_MACHINE based on the output of uname instead of i386?
- echo i386-pc-interix
- exit 0 ;;
- i*:UWIN*:*)
- echo ${UNAME_MACHINE}-pc-uwin
- exit 0 ;;
- p*:CYGWIN*:*)
- echo powerpcle-unknown-cygwin
- exit 0 ;;
- prep*:SunOS:5.*:*)
- echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
- exit 0 ;;
- *:GNU:*:*)
- echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
- exit 0 ;;
- i*86:Minix:*:*)
- echo ${UNAME_MACHINE}-pc-minix
- exit 0 ;;
- arm*:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
- exit 0 ;;
- ia64:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux
- exit 0 ;;
- m68*:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
- exit 0 ;;
- mips:Linux:*:*)
- case `sed -n '/^byte/s/^.*: \(.*\) endian/\1/p' < /proc/cpuinfo` in
- big) echo mips-unknown-linux-gnu && exit 0 ;;
- little) echo mipsel-unknown-linux-gnu && exit 0 ;;
- esac
- ;;
- ppc:Linux:*:*)
- echo powerpc-unknown-linux-gnu
- exit 0 ;;
- ppc64:Linux:*:*)
- echo powerpc64-unknown-linux-gnu
- exit 0 ;;
- alpha:Linux:*:*)
- case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
- EV5) UNAME_MACHINE=alphaev5 ;;
- EV56) UNAME_MACHINE=alphaev56 ;;
- PCA56) UNAME_MACHINE=alphapca56 ;;
- PCA57) UNAME_MACHINE=alphapca56 ;;
- EV6) UNAME_MACHINE=alphaev6 ;;
- EV67) UNAME_MACHINE=alphaev67 ;;
- EV68*) UNAME_MACHINE=alphaev68 ;;
- esac
- objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
- if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
- echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
- exit 0 ;;
- parisc:Linux:*:* | hppa:Linux:*:*)
- # Look for CPU level
- case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
- PA7*) echo hppa1.1-unknown-linux-gnu ;;
- PA8*) echo hppa2.0-unknown-linux-gnu ;;
- *) echo hppa-unknown-linux-gnu ;;
- esac
- exit 0 ;;
- parisc64:Linux:*:* | hppa64:Linux:*:*)
- echo hppa64-unknown-linux-gnu
- exit 0 ;;
- s390:Linux:*:* | s390x:Linux:*:*)
- echo ${UNAME_MACHINE}-ibm-linux
- exit 0 ;;
- sh*:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
- exit 0 ;;
- sparc:Linux:*:* | sparc64:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
- exit 0 ;;
- x86_64:Linux:*:*)
- echo x86_64-unknown-linux-gnu
- exit 0 ;;
- i*86:Linux:*:*)
- # The BFD linker knows what the default object file format is, so
- # first see if it will tell us. cd to the root directory to prevent
- # problems with other programs or directories called `ld' in the path.
- ld_supported_targets=`cd /; ld --help 2>&1 \
- | sed -ne '/supported targets:/!d
- s/[ ][ ]*/ /g
- s/.*supported targets: *//
- s/ .*//
- p'`
- case "$ld_supported_targets" in
- elf32-i386)
- TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
- ;;
- a.out-i386-linux)
- echo "${UNAME_MACHINE}-pc-linux-gnuaout"
- exit 0 ;;
- coff-i386)
- echo "${UNAME_MACHINE}-pc-linux-gnucoff"
- exit 0 ;;
- "")
- # Either a pre-BFD a.out linker (linux-gnuoldld) or
- # one that does not give us useful --help.
- echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
- exit 0 ;;
- esac
- # Determine whether the default compiler is a.out or elf
- eval $set_cc_for_build
- cat >$dummy.c <<EOF
-#include <features.h>
-#ifdef __cplusplus
-#include <stdio.h> /* for printf() prototype */
- int main (int argc, char *argv[]) {
-#else
- int main (argc, argv) int argc; char *argv[]; {
-#endif
-#ifdef __ELF__
-# ifdef __GLIBC__
-# if __GLIBC__ >= 2
- printf ("%s-pc-linux-gnu\n", argv[1]);
-# else
- printf ("%s-pc-linux-gnulibc1\n", argv[1]);
-# endif
-# else
- printf ("%s-pc-linux-gnulibc1\n", argv[1]);
-# endif
-#else
- printf ("%s-pc-linux-gnuaout\n", argv[1]);
-#endif
- return 0;
-}
-EOF
- $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm -f $dummy.c $dummy && exit 0
- rm -f $dummy.c $dummy
- test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
- ;;
- i*86:DYNIX/ptx:4*:*)
- # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
- # earlier versions are messed up and put the nodename in both
- # sysname and nodename.
- echo i386-sequent-sysv4
- exit 0 ;;
- i*86:UNIX_SV:4.2MP:2.*)
- # Unixware is an offshoot of SVR4, but it has its own version
- # number series starting with 2...
- # I am not positive that other SVR4 systems won't match this,
- # I just have to hope. -- rms.
- # Use sysv4.2uw... so that sysv4* matches it.
- echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
- exit 0 ;;
- i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
- UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
- if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
- echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
- else
- echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
- fi
- exit 0 ;;
- i*86:*:5:[78]*)
- case `/bin/uname -X | grep "^Machine"` in
- *486*) UNAME_MACHINE=i486 ;;
- *Pentium) UNAME_MACHINE=i586 ;;
- *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
- esac
- echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
- exit 0 ;;
- i*86:*:3.2:*)
- if test -f /usr/options/cb.name; then
- UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
- echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
- elif /bin/uname -X 2>/dev/null >/dev/null ; then
- UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
- (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
- (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
- && UNAME_MACHINE=i586
- (/bin/uname -X|egrep '^Machine.*Pent ?II' >/dev/null) \
- && UNAME_MACHINE=i686
- (/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) \
- && UNAME_MACHINE=i686
- echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
- else
- echo ${UNAME_MACHINE}-pc-sysv32
- fi
- exit 0 ;;
- i*86:*DOS:*:*)
- echo ${UNAME_MACHINE}-pc-msdosdjgpp
- exit 0 ;;
- pc:*:*:*)
- # Left here for compatibility:
- # uname -m prints for DJGPP always 'pc', but it prints nothing about
- # the processor, so we play safe by assuming i386.
- echo i386-pc-msdosdjgpp
- exit 0 ;;
- Intel:Mach:3*:*)
- echo i386-pc-mach3
- exit 0 ;;
- paragon:*:*:*)
- echo i860-intel-osf1
- exit 0 ;;
- i860:*:4.*:*) # i860-SVR4
- if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
- echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
- else # Add other i860-SVR4 vendors below as they are discovered.
- echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
- fi
- exit 0 ;;
- mini*:CTIX:SYS*5:*)
- # "miniframe"
- echo m68010-convergent-sysv
- exit 0 ;;
- M68*:*:R3V[567]*:*)
- test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
- 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0)
- OS_REL=''
- test -r /etc/.relid \
- && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
- /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
- && echo i486-ncr-sysv4.3${OS_REL} && exit 0
- /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
- && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;;
- 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
- /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
- && echo i486-ncr-sysv4 && exit 0 ;;
- m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
- echo m68k-unknown-lynxos${UNAME_RELEASE}
- exit 0 ;;
- mc68030:UNIX_System_V:4.*:*)
- echo m68k-atari-sysv4
- exit 0 ;;
- i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
- echo i386-unknown-lynxos${UNAME_RELEASE}
- exit 0 ;;
- TSUNAMI:LynxOS:2.*:*)
- echo sparc-unknown-lynxos${UNAME_RELEASE}
- exit 0 ;;
- rs6000:LynxOS:2.*:*)
- echo rs6000-unknown-lynxos${UNAME_RELEASE}
- exit 0 ;;
- PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
- echo powerpc-unknown-lynxos${UNAME_RELEASE}
- exit 0 ;;
- SM[BE]S:UNIX_SV:*:*)
- echo mips-dde-sysv${UNAME_RELEASE}
- exit 0 ;;
- RM*:ReliantUNIX-*:*:*)
- echo mips-sni-sysv4
- exit 0 ;;
- RM*:SINIX-*:*:*)
- echo mips-sni-sysv4
- exit 0 ;;
- *:SINIX-*:*:*)
- if uname -p 2>/dev/null >/dev/null ; then
- UNAME_MACHINE=`(uname -p) 2>/dev/null`
- echo ${UNAME_MACHINE}-sni-sysv4
- else
- echo ns32k-sni-sysv
- fi
- exit 0 ;;
- PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
- # says <Richard.M.Bartel@ccMail.Census.GOV>
- echo i586-unisys-sysv4
- exit 0 ;;
- *:UNIX_System_V:4*:FTX*)
- # From Gerald Hewes <hewes@openmarket.com>.
- # How about differentiating between stratus architectures? -djm
- echo hppa1.1-stratus-sysv4
- exit 0 ;;
- *:*:*:FTX*)
- # From seanf@swdc.stratus.com.
- echo i860-stratus-sysv4
- exit 0 ;;
- *:VOS:*:*)
- # From Paul.Green@stratus.com.
- echo hppa1.1-stratus-vos
- exit 0 ;;
- mc68*:A/UX:*:*)
- echo m68k-apple-aux${UNAME_RELEASE}
- exit 0 ;;
- news*:NEWS-OS:6*:*)
- echo mips-sony-newsos6
- exit 0 ;;
- R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
- if [ -d /usr/nec ]; then
- echo mips-nec-sysv${UNAME_RELEASE}
- else
- echo mips-unknown-sysv${UNAME_RELEASE}
- fi
- exit 0 ;;
- BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
- echo powerpc-be-beos
- exit 0 ;;
- BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
- echo powerpc-apple-beos
- exit 0 ;;
- BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
- echo i586-pc-beos
- exit 0 ;;
- SX-4:SUPER-UX:*:*)
- echo sx4-nec-superux${UNAME_RELEASE}
- exit 0 ;;
- SX-5:SUPER-UX:*:*)
- echo sx5-nec-superux${UNAME_RELEASE}
- exit 0 ;;
- Power*:Rhapsody:*:*)
- echo powerpc-apple-rhapsody${UNAME_RELEASE}
- exit 0 ;;
- *:Rhapsody:*:*)
- echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
- exit 0 ;;
- *:Darwin:*:*)
- echo `uname -p`-apple-darwin${UNAME_RELEASE}
- exit 0 ;;
- *:procnto*:*:* | *:QNX:[0123456789]*:*)
- if test "${UNAME_MACHINE}" = "x86pc"; then
- UNAME_MACHINE=pc
- fi
- echo `uname -p`-${UNAME_MACHINE}-nto-qnx
- exit 0 ;;
- *:QNX:*:4*)
- echo i386-pc-qnx
- exit 0 ;;
- NSR-[KW]:NONSTOP_KERNEL:*:*)
- echo nsr-tandem-nsk${UNAME_RELEASE}
- exit 0 ;;
- *:NonStop-UX:*:*)
- echo mips-compaq-nonstopux
- exit 0 ;;
- BS2000:POSIX*:*:*)
- echo bs2000-siemens-sysv
- exit 0 ;;
- DS/*:UNIX_System_V:*:*)
- echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
- exit 0 ;;
- *:Plan9:*:*)
- # "uname -m" is not consistent, so use $cputype instead. 386
- # is converted to i386 for consistency with other x86
- # operating systems.
- if test "$cputype" = "386"; then
- UNAME_MACHINE=i386
- else
- UNAME_MACHINE="$cputype"
- fi
- echo ${UNAME_MACHINE}-unknown-plan9
- exit 0 ;;
- i*86:OS/2:*:*)
- # If we were able to find `uname', then EMX Unix compatibility
- # is probably installed.
- echo ${UNAME_MACHINE}-pc-os2-emx
- exit 0 ;;
- *:TOPS-10:*:*)
- echo pdp10-unknown-tops10
- exit 0 ;;
- *:TENEX:*:*)
- echo pdp10-unknown-tenex
- exit 0 ;;
- KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
- echo pdp10-dec-tops20
- exit 0 ;;
- XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
- echo pdp10-xkl-tops20
- exit 0 ;;
- *:TOPS-20:*:*)
- echo pdp10-unknown-tops20
- exit 0 ;;
- *:ITS:*:*)
- echo pdp10-unknown-its
- exit 0 ;;
- i*86:XTS-300:*:STOP)
- echo ${UNAME_MACHINE}-unknown-stop
- exit 0 ;;
- i*86:atheos:*:*)
- echo ${UNAME_MACHINE}-unknown-atheos
- exit 0 ;;
-esac
-
-#echo '(No uname command or uname output not recognized.)' 1>&2
-#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
-
-eval $set_cc_for_build
-cat >$dummy.c <<EOF
-#ifdef _SEQUENT_
-# include <sys/types.h>
-# include <sys/utsname.h>
-#endif
-main ()
-{
-#if defined (sony)
-#if defined (MIPSEB)
- /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
- I don't know.... */
- printf ("mips-sony-bsd\n"); exit (0);
-#else
-#include <sys/param.h>
- printf ("m68k-sony-newsos%s\n",
-#ifdef NEWSOS4
- "4"
-#else
- ""
-#endif
- ); exit (0);
-#endif
-#endif
-
-#if defined (__arm) && defined (__acorn) && defined (__unix)
- printf ("arm-acorn-riscix"); exit (0);
-#endif
-
-#if defined (hp300) && !defined (hpux)
- printf ("m68k-hp-bsd\n"); exit (0);
-#endif
-
-#if defined (NeXT)
-#if !defined (__ARCHITECTURE__)
-#define __ARCHITECTURE__ "m68k"
-#endif
- int version;
- version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
- if (version < 4)
- printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
- else
- printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
- exit (0);
-#endif
-
-#if defined (MULTIMAX) || defined (n16)
-#if defined (UMAXV)
- printf ("ns32k-encore-sysv\n"); exit (0);
-#else
-#if defined (CMU)
- printf ("ns32k-encore-mach\n"); exit (0);
-#else
- printf ("ns32k-encore-bsd\n"); exit (0);
-#endif
-#endif
-#endif
-
-#if defined (__386BSD__)
- printf ("i386-pc-bsd\n"); exit (0);
-#endif
-
-#if defined (sequent)
-#if defined (i386)
- printf ("i386-sequent-dynix\n"); exit (0);
-#endif
-#if defined (ns32000)
- printf ("ns32k-sequent-dynix\n"); exit (0);
-#endif
-#endif
-
-#if defined (_SEQUENT_)
- struct utsname un;
-
- uname(&un);
-
- if (strncmp(un.version, "V2", 2) == 0) {
- printf ("i386-sequent-ptx2\n"); exit (0);
- }
- if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
- printf ("i386-sequent-ptx1\n"); exit (0);
- }
- printf ("i386-sequent-ptx\n"); exit (0);
-
-#endif
-
-#if defined (vax)
-# if !defined (ultrix)
-# include <sys/param.h>
-# if defined (BSD)
-# if BSD == 43
- printf ("vax-dec-bsd4.3\n"); exit (0);
-# else
-# if BSD == 199006
- printf ("vax-dec-bsd4.3reno\n"); exit (0);
-# else
- printf ("vax-dec-bsd\n"); exit (0);
-# endif
-# endif
-# else
- printf ("vax-dec-bsd\n"); exit (0);
-# endif
-# else
- printf ("vax-dec-ultrix\n"); exit (0);
-# endif
-#endif
-
-#if defined (alliant) && defined (i860)
- printf ("i860-alliant-bsd\n"); exit (0);
-#endif
-
- exit (1);
-}
-EOF
-
-$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0
-rm -f $dummy.c $dummy
-
-# Apollos put the system type in the environment.
-
-test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; }
-
-# Convex versions that predate uname can use getsysinfo(1)
-
-if [ -x /usr/convex/getsysinfo ]
-then
- case `getsysinfo -f cpu_type` in
- c1*)
- echo c1-convex-bsd
- exit 0 ;;
- c2*)
- if getsysinfo -f scalar_acc
- then echo c32-convex-bsd
- else echo c2-convex-bsd
- fi
- exit 0 ;;
- c34*)
- echo c34-convex-bsd
- exit 0 ;;
- c38*)
- echo c38-convex-bsd
- exit 0 ;;
- c4*)
- echo c4-convex-bsd
- exit 0 ;;
- esac
-fi
-
-cat >&2 <<EOF
-$0: unable to guess system type
-
-This script, last modified $timestamp, has failed to recognize
-the operating system you are using. It is advised that you
-download the most up to date version of the config scripts from
-
- ftp://ftp.gnu.org/pub/gnu/config/
-
-If the version you run ($0) is already up to date, please
-send the following data and any information you think might be
-pertinent to <config-patches@gnu.org> in order to provide the needed
-information to handle your system.
-
-config.guess timestamp = $timestamp
-
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null`
-
-hostinfo = `(hostinfo) 2>/dev/null`
-/bin/universe = `(/bin/universe) 2>/dev/null`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
-/bin/arch = `(/bin/arch) 2>/dev/null`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
-
-UNAME_MACHINE = ${UNAME_MACHINE}
-UNAME_RELEASE = ${UNAME_RELEASE}
-UNAME_SYSTEM = ${UNAME_SYSTEM}
-UNAME_VERSION = ${UNAME_VERSION}
-EOF
-
-exit 1
-
-# Local variables:
-# eval: (add-hook 'write-file-hooks 'time-stamp)
-# time-stamp-start: "timestamp='"
-# time-stamp-format: "%:y-%02m-%02d"
-# time-stamp-end: "'"
-# End:
diff --git a/config.sub b/config.sub
deleted file mode 100644
index 24794696d3..0000000000
--- a/config.sub
+++ /dev/null
@@ -1,1417 +0,0 @@
-#! /bin/sh
-# Configuration validation subroutine script.
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
-# Free Software Foundation, Inc.
-
-timestamp='2001-11-08'
-
-# This file is (in principle) common to ALL GNU software.
-# The presence of a machine in this file suggests that SOME GNU software
-# can handle that machine. It does not imply ALL GNU software can.
-#
-# This file is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330,
-# Boston, MA 02111-1307, USA.
-
-# As a special exception to the GNU General Public License, if you
-# distribute this file as part of a program that contains a
-# configuration script generated by Autoconf, you may include it under
-# the same distribution terms that you use for the rest of that program.
-
-# Please send patches to <config-patches@gnu.org>. Submit a context
-# diff and a properly formatted ChangeLog entry.
-#
-# Configuration subroutine to validate and canonicalize a configuration type.
-# Supply the specified configuration type as an argument.
-# If it is invalid, we print an error message on stderr and exit with code 1.
-# Otherwise, we print the canonical config type on stdout and succeed.
-
-# This file is supposed to be the same for all GNU packages
-# and recognize all the CPU types, system types and aliases
-# that are meaningful with *any* GNU software.
-# Each package is responsible for reporting which valid configurations
-# it does not support. The user should be able to distinguish
-# a failure to support a valid configuration from a meaningless
-# configuration.
-
-# The goal of this file is to map all the various variations of a given
-# machine specification into a single specification in the form:
-# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
-# or in some cases, the newer four-part form:
-# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
-# It is wrong to echo any other type of specification.
-
-me=`echo "$0" | sed -e 's,.*/,,'`
-
-usage="\
-Usage: $0 [OPTION] CPU-MFR-OPSYS
- $0 [OPTION] ALIAS
-
-Canonicalize a configuration name.
-
-Operation modes:
- -h, --help print this help, then exit
- -t, --time-stamp print date of last modification, then exit
- -v, --version print version number, then exit
-
-Report bugs and patches to <config-patches@gnu.org>."
-
-version="\
-GNU config.sub ($timestamp)
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
-Free Software Foundation, Inc.
-
-This is free software; see the source for copying conditions. There is NO
-warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
-
-help="
-Try \`$me --help' for more information."
-
-# Parse command line
-while test $# -gt 0 ; do
- case $1 in
- --time-stamp | --time* | -t )
- echo "$timestamp" ; exit 0 ;;
- --version | -v )
- echo "$version" ; exit 0 ;;
- --help | --h* | -h )
- echo "$usage"; exit 0 ;;
- -- ) # Stop option processing
- shift; break ;;
- - ) # Use stdin as input.
- break ;;
- -* )
- echo "$me: invalid option $1$help"
- exit 1 ;;
-
- *local*)
- # First pass through any local machine types.
- echo $1
- exit 0;;
-
- * )
- break ;;
- esac
-done
-
-case $# in
- 0) echo "$me: missing argument$help" >&2
- exit 1;;
- 1) ;;
- *) echo "$me: too many arguments$help" >&2
- exit 1;;
-esac
-
-# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
-# Here we must recognize all the valid KERNEL-OS combinations.
-maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
-case $maybe_os in
- nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-*)
- os=-$maybe_os
- basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
- ;;
- *)
- basic_machine=`echo $1 | sed 's/-[^-]*$//'`
- if [ $basic_machine != $1 ]
- then os=`echo $1 | sed 's/.*-/-/'`
- else os=; fi
- ;;
-esac
-
-### Let's recognize common machines as not being operating systems so
-### that things like config.sub decstation-3100 work. We also
-### recognize some manufacturers as not being operating systems, so we
-### can provide default operating systems below.
-case $os in
- -sun*os*)
- # Prevent following clause from handling this invalid input.
- ;;
- -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
- -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
- -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
- -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
- -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
- -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
- -apple | -axis)
- os=
- basic_machine=$1
- ;;
- -sim | -cisco | -oki | -wec | -winbond)
- os=
- basic_machine=$1
- ;;
- -scout)
- ;;
- -wrs)
- os=-vxworks
- basic_machine=$1
- ;;
- -chorusos*)
- os=-chorusos
- basic_machine=$1
- ;;
- -chorusrdb)
- os=-chorusrdb
- basic_machine=$1
- ;;
- -hiux*)
- os=-hiuxwe2
- ;;
- -sco5)
- os=-sco3.2v5
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- -sco4)
- os=-sco3.2v4
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- -sco3.2.[4-9]*)
- os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- -sco3.2v[4-9]*)
- # Don't forget version if it is 3.2v4 or newer.
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- -sco*)
- os=-sco3.2v2
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- -udk*)
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- -isc)
- os=-isc2.2
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- -clix*)
- basic_machine=clipper-intergraph
- ;;
- -isc*)
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- -lynx*)
- os=-lynxos
- ;;
- -ptx*)
- basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
- ;;
- -windowsnt*)
- os=`echo $os | sed -e 's/windowsnt/winnt/'`
- ;;
- -psos*)
- os=-psos
- ;;
- -mint | -mint[0-9]*)
- basic_machine=m68k-atari
- os=-mint
- ;;
-esac
-
-# Decode aliases for certain CPU-COMPANY combinations.
-case $basic_machine in
- # Recognize the basic CPU types without company name.
- # Some are omitted here because they have special meanings below.
- 1750a | 580 \
- | a29k \
- | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
- | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
- | c4x | clipper \
- | d10v | d30v | dsp16xx \
- | fr30 \
- | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
- | i370 | i860 | i960 | ia64 \
- | m32r | m68000 | m68k | m88k | mcore \
- | mips16 | mips64 | mips64el | mips64orion | mips64orionel \
- | mips64vr4100 | mips64vr4100el | mips64vr4300 \
- | mips64vr4300el | mips64vr5000 | mips64vr5000el \
- | mipsbe | mipseb | mipsel | mipsle | mipstx39 | mipstx39el \
- | mipsisa32 \
- | mn10200 | mn10300 \
- | ns16k | ns32k \
- | openrisc \
- | pdp10 | pdp11 | pj | pjl \
- | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
- | pyramid \
- | sh | sh[34] | sh[34]eb | shbe | shle \
- | sparc | sparc64 | sparclet | sparclite | sparcv9 | sparcv9b \
- | strongarm \
- | tahoe | thumb | tic80 | tron \
- | v850 \
- | we32k \
- | x86 | xscale | xstormy16 \
- | z8k)
- basic_machine=$basic_machine-unknown
- ;;
- m6811 | m68hc11 | m6812 | m68hc12)
- # Motorola 68HC11/12.
- basic_machine=$basic_machine-unknown
- os=-none
- ;;
- m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
- ;;
-
- # We use `pc' rather than `unknown'
- # because (1) that's what they normally are, and
- # (2) the word "unknown" tends to confuse beginning users.
- i*86 | x86_64)
- basic_machine=$basic_machine-pc
- ;;
- # Object if more than one company name word.
- *-*-*)
- echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
- exit 1
- ;;
- # Recognize the basic CPU types with company name.
- 580-* \
- | a29k-* \
- | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
- | alphapca5[67]-* | arc-* \
- | arm-* | armbe-* | armle-* | armv*-* \
- | avr-* \
- | bs2000-* \
- | c[123]* | c30-* | [cjt]90-* | c54x-* \
- | clipper-* | cray2-* | cydra-* \
- | d10v-* | d30v-* \
- | elxsi-* \
- | f30[01]-* | f700-* | fr30-* | fx80-* \
- | h8300-* | h8500-* \
- | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
- | i*86-* | i860-* | i960-* | ia64-* \
- | m32r-* \
- | m68000-* | m680[01234]0-* | m68360-* | m683?2-* | m68k-* \
- | m88110-* | m88k-* | mcore-* \
- | mips-* | mips16-* | mips64-* | mips64el-* | mips64orion-* \
- | mips64orionel-* | mips64vr4100-* | mips64vr4100el-* \
- | mips64vr4300-* | mips64vr4300el-* | mipsbe-* | mipseb-* \
- | mipsle-* | mipsel-* | mipstx39-* | mipstx39el-* \
- | none-* | np1-* | ns16k-* | ns32k-* \
- | orion-* \
- | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
- | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
- | pyramid-* \
- | romp-* | rs6000-* \
- | sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* \
- | sparc-* | sparc64-* | sparc86x-* | sparclite-* \
- | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* \
- | t3e-* | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \
- | v850-* | vax-* \
- | we32k-* \
- | x86-* | x86_64-* | xmp-* | xps100-* | xscale-* | xstormy16-* \
- | ymp-* \
- | z8k-*)
- ;;
- # Recognize the various machine names and aliases which stand
- # for a CPU type and a company and sometimes even an OS.
- 386bsd)
- basic_machine=i386-unknown
- os=-bsd
- ;;
- 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
- basic_machine=m68000-att
- ;;
- 3b*)
- basic_machine=we32k-att
- ;;
- a29khif)
- basic_machine=a29k-amd
- os=-udi
- ;;
- adobe68k)
- basic_machine=m68010-adobe
- os=-scout
- ;;
- alliant | fx80)
- basic_machine=fx80-alliant
- ;;
- altos | altos3068)
- basic_machine=m68k-altos
- ;;
- am29k)
- basic_machine=a29k-none
- os=-bsd
- ;;
- amdahl)
- basic_machine=580-amdahl
- os=-sysv
- ;;
- amiga | amiga-*)
- basic_machine=m68k-unknown
- ;;
- amigaos | amigados)
- basic_machine=m68k-unknown
- os=-amigaos
- ;;
- amigaunix | amix)
- basic_machine=m68k-unknown
- os=-sysv4
- ;;
- apollo68)
- basic_machine=m68k-apollo
- os=-sysv
- ;;
- apollo68bsd)
- basic_machine=m68k-apollo
- os=-bsd
- ;;
- aux)
- basic_machine=m68k-apple
- os=-aux
- ;;
- balance)
- basic_machine=ns32k-sequent
- os=-dynix
- ;;
- convex-c1)
- basic_machine=c1-convex
- os=-bsd
- ;;
- convex-c2)
- basic_machine=c2-convex
- os=-bsd
- ;;
- convex-c32)
- basic_machine=c32-convex
- os=-bsd
- ;;
- convex-c34)
- basic_machine=c34-convex
- os=-bsd
- ;;
- convex-c38)
- basic_machine=c38-convex
- os=-bsd
- ;;
- cray | ymp)
- basic_machine=ymp-cray
- os=-unicos
- ;;
- cray2)
- basic_machine=cray2-cray
- os=-unicos
- ;;
- [cjt]90)
- basic_machine=${basic_machine}-cray
- os=-unicos
- ;;
- crds | unos)
- basic_machine=m68k-crds
- ;;
- cris | cris-* | etrax*)
- basic_machine=cris-axis
- ;;
- da30 | da30-*)
- basic_machine=m68k-da30
- ;;
- decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
- basic_machine=mips-dec
- ;;
- delta | 3300 | motorola-3300 | motorola-delta \
- | 3300-motorola | delta-motorola)
- basic_machine=m68k-motorola
- ;;
- delta88)
- basic_machine=m88k-motorola
- os=-sysv3
- ;;
- dpx20 | dpx20-*)
- basic_machine=rs6000-bull
- os=-bosx
- ;;
- dpx2* | dpx2*-bull)
- basic_machine=m68k-bull
- os=-sysv3
- ;;
- ebmon29k)
- basic_machine=a29k-amd
- os=-ebmon
- ;;
- elxsi)
- basic_machine=elxsi-elxsi
- os=-bsd
- ;;
- encore | umax | mmax)
- basic_machine=ns32k-encore
- ;;
- es1800 | OSE68k | ose68k | ose | OSE)
- basic_machine=m68k-ericsson
- os=-ose
- ;;
- fx2800)
- basic_machine=i860-alliant
- ;;
- genix)
- basic_machine=ns32k-ns
- ;;
- gmicro)
- basic_machine=tron-gmicro
- os=-sysv
- ;;
- go32)
- basic_machine=i386-pc
- os=-go32
- ;;
- h3050r* | hiux*)
- basic_machine=hppa1.1-hitachi
- os=-hiuxwe2
- ;;
- h8300hms)
- basic_machine=h8300-hitachi
- os=-hms
- ;;
- h8300xray)
- basic_machine=h8300-hitachi
- os=-xray
- ;;
- h8500hms)
- basic_machine=h8500-hitachi
- os=-hms
- ;;
- harris)
- basic_machine=m88k-harris
- os=-sysv3
- ;;
- hp300-*)
- basic_machine=m68k-hp
- ;;
- hp300bsd)
- basic_machine=m68k-hp
- os=-bsd
- ;;
- hp300hpux)
- basic_machine=m68k-hp
- os=-hpux
- ;;
- hp3k9[0-9][0-9] | hp9[0-9][0-9])
- basic_machine=hppa1.0-hp
- ;;
- hp9k2[0-9][0-9] | hp9k31[0-9])
- basic_machine=m68000-hp
- ;;
- hp9k3[2-9][0-9])
- basic_machine=m68k-hp
- ;;
- hp9k6[0-9][0-9] | hp6[0-9][0-9])
- basic_machine=hppa1.0-hp
- ;;
- hp9k7[0-79][0-9] | hp7[0-79][0-9])
- basic_machine=hppa1.1-hp
- ;;
- hp9k78[0-9] | hp78[0-9])
- # FIXME: really hppa2.0-hp
- basic_machine=hppa1.1-hp
- ;;
- hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
- # FIXME: really hppa2.0-hp
- basic_machine=hppa1.1-hp
- ;;
- hp9k8[0-9][13679] | hp8[0-9][13679])
- basic_machine=hppa1.1-hp
- ;;
- hp9k8[0-9][0-9] | hp8[0-9][0-9])
- basic_machine=hppa1.0-hp
- ;;
- hppa-next)
- os=-nextstep3
- ;;
- hppaosf)
- basic_machine=hppa1.1-hp
- os=-osf
- ;;
- hppro)
- basic_machine=hppa1.1-hp
- os=-proelf
- ;;
- i370-ibm* | ibm*)
- basic_machine=i370-ibm
- ;;
-# I'm not sure what "Sysv32" means. Should this be sysv3.2?
- i*86v32)
- basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
- os=-sysv32
- ;;
- i*86v4*)
- basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
- os=-sysv4
- ;;
- i*86v)
- basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
- os=-sysv
- ;;
- i*86sol2)
- basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
- os=-solaris2
- ;;
- i386mach)
- basic_machine=i386-mach
- os=-mach
- ;;
- i386-vsta | vsta)
- basic_machine=i386-unknown
- os=-vsta
- ;;
- iris | iris4d)
- basic_machine=mips-sgi
- case $os in
- -irix*)
- ;;
- *)
- os=-irix4
- ;;
- esac
- ;;
- isi68 | isi)
- basic_machine=m68k-isi
- os=-sysv
- ;;
- m88k-omron*)
- basic_machine=m88k-omron
- ;;
- magnum | m3230)
- basic_machine=mips-mips
- os=-sysv
- ;;
- merlin)
- basic_machine=ns32k-utek
- os=-sysv
- ;;
- mingw32)
- basic_machine=i386-pc
- os=-mingw32
- ;;
- miniframe)
- basic_machine=m68000-convergent
- ;;
- *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
- basic_machine=m68k-atari
- os=-mint
- ;;
- mipsel*-linux*)
- basic_machine=mipsel-unknown
- os=-linux-gnu
- ;;
- mips*-linux*)
- basic_machine=mips-unknown
- os=-linux-gnu
- ;;
- mips3*-*)
- basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
- ;;
- mips3*)
- basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
- ;;
- mmix*)
- basic_machine=mmix-knuth
- os=-mmixware
- ;;
- monitor)
- basic_machine=m68k-rom68k
- os=-coff
- ;;
- msdos)
- basic_machine=i386-pc
- os=-msdos
- ;;
- mvs)
- basic_machine=i370-ibm
- os=-mvs
- ;;
- ncr3000)
- basic_machine=i486-ncr
- os=-sysv4
- ;;
- netbsd386)
- basic_machine=i386-unknown
- os=-netbsd
- ;;
- netwinder)
- basic_machine=armv4l-rebel
- os=-linux
- ;;
- news | news700 | news800 | news900)
- basic_machine=m68k-sony
- os=-newsos
- ;;
- news1000)
- basic_machine=m68030-sony
- os=-newsos
- ;;
- news-3600 | risc-news)
- basic_machine=mips-sony
- os=-newsos
- ;;
- necv70)
- basic_machine=v70-nec
- os=-sysv
- ;;
- next | m*-next )
- basic_machine=m68k-next
- case $os in
- -nextstep* )
- ;;
- -ns2*)
- os=-nextstep2
- ;;
- *)
- os=-nextstep3
- ;;
- esac
- ;;
- nh3000)
- basic_machine=m68k-harris
- os=-cxux
- ;;
- nh[45]000)
- basic_machine=m88k-harris
- os=-cxux
- ;;
- nindy960)
- basic_machine=i960-intel
- os=-nindy
- ;;
- mon960)
- basic_machine=i960-intel
- os=-mon960
- ;;
- nonstopux)
- basic_machine=mips-compaq
- os=-nonstopux
- ;;
- np1)
- basic_machine=np1-gould
- ;;
- nsr-tandem)
- basic_machine=nsr-tandem
- ;;
- op50n-* | op60c-*)
- basic_machine=hppa1.1-oki
- os=-proelf
- ;;
- OSE68000 | ose68000)
- basic_machine=m68000-ericsson
- os=-ose
- ;;
- os68k)
- basic_machine=m68k-none
- os=-os68k
- ;;
- pa-hitachi)
- basic_machine=hppa1.1-hitachi
- os=-hiuxwe2
- ;;
- paragon)
- basic_machine=i860-intel
- os=-osf
- ;;
- pbd)
- basic_machine=sparc-tti
- ;;
- pbb)
- basic_machine=m68k-tti
- ;;
- pc532 | pc532-*)
- basic_machine=ns32k-pc532
- ;;
- pentium | p5 | k5 | k6 | nexgen | viac3)
- basic_machine=i586-pc
- ;;
- pentiumpro | p6 | 6x86 | athlon)
- basic_machine=i686-pc
- ;;
- pentiumii | pentium2)
- basic_machine=i686-pc
- ;;
- pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
- basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- pentiumpro-* | p6-* | 6x86-* | athlon-*)
- basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- pentiumii-* | pentium2-*)
- basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- pn)
- basic_machine=pn-gould
- ;;
- power) basic_machine=power-ibm
- ;;
- ppc) basic_machine=powerpc-unknown
- ;;
- ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- ppcle | powerpclittle | ppc-le | powerpc-little)
- basic_machine=powerpcle-unknown
- ;;
- ppcle-* | powerpclittle-*)
- basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- ppc64) basic_machine=powerpc64-unknown
- ;;
- ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- ppc64le | powerpc64little | ppc64-le | powerpc64-little)
- basic_machine=powerpc64le-unknown
- ;;
- ppc64le-* | powerpc64little-*)
- basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- ps2)
- basic_machine=i386-ibm
- ;;
- pw32)
- basic_machine=i586-unknown
- os=-pw32
- ;;
- rom68k)
- basic_machine=m68k-rom68k
- os=-coff
- ;;
- rm[46]00)
- basic_machine=mips-siemens
- ;;
- rtpc | rtpc-*)
- basic_machine=romp-ibm
- ;;
- s390 | s390-*)
- basic_machine=s390-ibm
- ;;
- s390x | s390x-*)
- basic_machine=s390x-ibm
- ;;
- sa29200)
- basic_machine=a29k-amd
- os=-udi
- ;;
- sequent)
- basic_machine=i386-sequent
- ;;
- sh)
- basic_machine=sh-hitachi
- os=-hms
- ;;
- sparclite-wrs | simso-wrs)
- basic_machine=sparclite-wrs
- os=-vxworks
- ;;
- sps7)
- basic_machine=m68k-bull
- os=-sysv2
- ;;
- spur)
- basic_machine=spur-unknown
- ;;
- st2000)
- basic_machine=m68k-tandem
- ;;
- stratus)
- basic_machine=i860-stratus
- os=-sysv4
- ;;
- sun2)
- basic_machine=m68000-sun
- ;;
- sun2os3)
- basic_machine=m68000-sun
- os=-sunos3
- ;;
- sun2os4)
- basic_machine=m68000-sun
- os=-sunos4
- ;;
- sun3os3)
- basic_machine=m68k-sun
- os=-sunos3
- ;;
- sun3os4)
- basic_machine=m68k-sun
- os=-sunos4
- ;;
- sun4os3)
- basic_machine=sparc-sun
- os=-sunos3
- ;;
- sun4os4)
- basic_machine=sparc-sun
- os=-sunos4
- ;;
- sun4sol2)
- basic_machine=sparc-sun
- os=-solaris2
- ;;
- sun3 | sun3-*)
- basic_machine=m68k-sun
- ;;
- sun4)
- basic_machine=sparc-sun
- ;;
- sun386 | sun386i | roadrunner)
- basic_machine=i386-sun
- ;;
- sv1)
- basic_machine=sv1-cray
- os=-unicos
- ;;
- symmetry)
- basic_machine=i386-sequent
- os=-dynix
- ;;
- t3e)
- basic_machine=t3e-cray
- os=-unicos
- ;;
- tic54x | c54x*)
- basic_machine=tic54x-unknown
- os=-coff
- ;;
- tx39)
- basic_machine=mipstx39-unknown
- ;;
- tx39el)
- basic_machine=mipstx39el-unknown
- ;;
- tower | tower-32)
- basic_machine=m68k-ncr
- ;;
- udi29k)
- basic_machine=a29k-amd
- os=-udi
- ;;
- ultra3)
- basic_machine=a29k-nyu
- os=-sym1
- ;;
- v810 | necv810)
- basic_machine=v810-nec
- os=-none
- ;;
- vaxv)
- basic_machine=vax-dec
- os=-sysv
- ;;
- vms)
- basic_machine=vax-dec
- os=-vms
- ;;
- vpp*|vx|vx-*)
- basic_machine=f301-fujitsu
- ;;
- vxworks960)
- basic_machine=i960-wrs
- os=-vxworks
- ;;
- vxworks68)
- basic_machine=m68k-wrs
- os=-vxworks
- ;;
- vxworks29k)
- basic_machine=a29k-wrs
- os=-vxworks
- ;;
- w65*)
- basic_machine=w65-wdc
- os=-none
- ;;
- w89k-*)
- basic_machine=hppa1.1-winbond
- os=-proelf
- ;;
- windows32)
- basic_machine=i386-pc
- os=-windows32-msvcrt
- ;;
- xmp)
- basic_machine=xmp-cray
- os=-unicos
- ;;
- xps | xps100)
- basic_machine=xps100-honeywell
- ;;
- z8k-*-coff)
- basic_machine=z8k-unknown
- os=-sim
- ;;
- none)
- basic_machine=none-none
- os=-none
- ;;
-
-# Here we handle the default manufacturer of certain CPU types. It is in
-# some cases the only manufacturer, in others, it is the most popular.
- w89k)
- basic_machine=hppa1.1-winbond
- ;;
- op50n)
- basic_machine=hppa1.1-oki
- ;;
- op60c)
- basic_machine=hppa1.1-oki
- ;;
- mips)
- if [ x$os = x-linux-gnu ]; then
- basic_machine=mips-unknown
- else
- basic_machine=mips-mips
- fi
- ;;
- romp)
- basic_machine=romp-ibm
- ;;
- rs6000)
- basic_machine=rs6000-ibm
- ;;
- vax)
- basic_machine=vax-dec
- ;;
- pdp10)
- # there are many clones, so DEC is not a safe bet
- basic_machine=pdp10-unknown
- ;;
- pdp11)
- basic_machine=pdp11-dec
- ;;
- we32k)
- basic_machine=we32k-att
- ;;
- sh3 | sh4 | sh3eb | sh4eb)
- basic_machine=sh-unknown
- ;;
- sparc | sparcv9 | sparcv9b)
- basic_machine=sparc-sun
- ;;
- cydra)
- basic_machine=cydra-cydrome
- ;;
- orion)
- basic_machine=orion-highlevel
- ;;
- orion105)
- basic_machine=clipper-highlevel
- ;;
- mac | mpw | mac-mpw)
- basic_machine=m68k-apple
- ;;
- pmac | pmac-mpw)
- basic_machine=powerpc-apple
- ;;
- c4x*)
- basic_machine=c4x-none
- os=-coff
- ;;
- *-unknown)
- # Make sure to match an already-canonicalized machine name.
- ;;
- *)
- echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
- exit 1
- ;;
-esac
-
-# Here we canonicalize certain aliases for manufacturers.
-case $basic_machine in
- *-digital*)
- basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
- ;;
- *-commodore*)
- basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
- ;;
- *)
- ;;
-esac
-
-# Decode manufacturer-specific aliases for certain operating systems.
-
-if [ x"$os" != x"" ]
-then
-case $os in
- # First match some system type aliases
- # that might get confused with valid system types.
- # -solaris* is a basic system type, with this one exception.
- -solaris1 | -solaris1.*)
- os=`echo $os | sed -e 's|solaris1|sunos4|'`
- ;;
- -solaris)
- os=-solaris2
- ;;
- -svr4*)
- os=-sysv4
- ;;
- -unixware*)
- os=-sysv4.2uw
- ;;
- -gnu/linux*)
- os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
- ;;
- # First accept the basic system types.
- # The portable systems comes first.
- # Each alternative MUST END IN A *, to match a version number.
- # -sysv* is not here because it comes later, after sysvr4.
- -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
- | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
- | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
- | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
- | -aos* \
- | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
- | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
- | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
- | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
- | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
- | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
- | -chorusos* | -chorusrdb* \
- | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
- | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
- | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
- | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
- | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
- | -os2* | -vos* | -palmos* | -uclinux*)
- # Remember, each alternative MUST END IN *, to match a version number.
- ;;
- -qnx*)
- case $basic_machine in
- x86-* | i*86-*)
- ;;
- *)
- os=-nto$os
- ;;
- esac
- ;;
- -nto*)
- os=-nto-qnx
- ;;
- -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
- | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
- | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
- ;;
- -mac*)
- os=`echo $os | sed -e 's|mac|macos|'`
- ;;
- -linux*)
- os=`echo $os | sed -e 's|linux|linux-gnu|'`
- ;;
- -sunos5*)
- os=`echo $os | sed -e 's|sunos5|solaris2|'`
- ;;
- -sunos6*)
- os=`echo $os | sed -e 's|sunos6|solaris3|'`
- ;;
- -opened*)
- os=-openedition
- ;;
- -wince*)
- os=-wince
- ;;
- -osfrose*)
- os=-osfrose
- ;;
- -osf*)
- os=-osf
- ;;
- -utek*)
- os=-bsd
- ;;
- -dynix*)
- os=-bsd
- ;;
- -acis*)
- os=-aos
- ;;
- -386bsd)
- os=-bsd
- ;;
- -ctix* | -uts*)
- os=-sysv
- ;;
- -ns2 )
- os=-nextstep2
- ;;
- -nsk*)
- os=-nsk
- ;;
- # Preserve the version number of sinix5.
- -sinix5.*)
- os=`echo $os | sed -e 's|sinix|sysv|'`
- ;;
- -sinix*)
- os=-sysv4
- ;;
- -triton*)
- os=-sysv3
- ;;
- -oss*)
- os=-sysv3
- ;;
- -svr4)
- os=-sysv4
- ;;
- -svr3)
- os=-sysv3
- ;;
- -sysvr4)
- os=-sysv4
- ;;
- # This must come after -sysvr4.
- -sysv*)
- ;;
- -ose*)
- os=-ose
- ;;
- -es1800*)
- os=-ose
- ;;
- -xenix)
- os=-xenix
- ;;
- -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
- os=-mint
- ;;
- -none)
- ;;
- *)
- # Get rid of the `-' at the beginning of $os.
- os=`echo $os | sed 's/[^-]*-//'`
- echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
- exit 1
- ;;
-esac
-else
-
-# Here we handle the default operating systems that come with various machines.
-# The value should be what the vendor currently ships out the door with their
-# machine or put another way, the most popular os provided with the machine.
-
-# Note that if you're going to try to match "-MANUFACTURER" here (say,
-# "-sun"), then you have to tell the case statement up towards the top
-# that MANUFACTURER isn't an operating system. Otherwise, code above
-# will signal an error saying that MANUFACTURER isn't an operating
-# system, and we'll never get to this point.
-
-case $basic_machine in
- *-acorn)
- os=-riscix1.2
- ;;
- arm*-rebel)
- os=-linux
- ;;
- arm*-semi)
- os=-aout
- ;;
- pdp10-*)
- os=-tops20
- ;;
- pdp11-*)
- os=-none
- ;;
- *-dec | vax-*)
- os=-ultrix4.2
- ;;
- m68*-apollo)
- os=-domain
- ;;
- i386-sun)
- os=-sunos4.0.2
- ;;
- m68000-sun)
- os=-sunos3
- # This also exists in the configure program, but was not the
- # default.
- # os=-sunos4
- ;;
- m68*-cisco)
- os=-aout
- ;;
- mips*-cisco)
- os=-elf
- ;;
- mips*-*)
- os=-elf
- ;;
- *-tti) # must be before sparc entry or we get the wrong os.
- os=-sysv3
- ;;
- sparc-* | *-sun)
- os=-sunos4.1.1
- ;;
- *-be)
- os=-beos
- ;;
- *-ibm)
- os=-aix
- ;;
- *-wec)
- os=-proelf
- ;;
- *-winbond)
- os=-proelf
- ;;
- *-oki)
- os=-proelf
- ;;
- *-hp)
- os=-hpux
- ;;
- *-hitachi)
- os=-hiux
- ;;
- i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
- os=-sysv
- ;;
- *-cbm)
- os=-amigaos
- ;;
- *-dg)
- os=-dgux
- ;;
- *-dolphin)
- os=-sysv3
- ;;
- m68k-ccur)
- os=-rtu
- ;;
- m88k-omron*)
- os=-luna
- ;;
- *-next )
- os=-nextstep
- ;;
- *-sequent)
- os=-ptx
- ;;
- *-crds)
- os=-unos
- ;;
- *-ns)
- os=-genix
- ;;
- i370-*)
- os=-mvs
- ;;
- *-next)
- os=-nextstep3
- ;;
- *-gould)
- os=-sysv
- ;;
- *-highlevel)
- os=-bsd
- ;;
- *-encore)
- os=-bsd
- ;;
- *-sgi)
- os=-irix
- ;;
- *-siemens)
- os=-sysv4
- ;;
- *-masscomp)
- os=-rtu
- ;;
- f30[01]-fujitsu | f700-fujitsu)
- os=-uxpv
- ;;
- *-rom68k)
- os=-coff
- ;;
- *-*bug)
- os=-coff
- ;;
- *-apple)
- os=-macos
- ;;
- *-atari*)
- os=-mint
- ;;
- *)
- os=-none
- ;;
-esac
-fi
-
-# Here we handle the case where we know the os, and the CPU type, but not the
-# manufacturer. We pick the logical manufacturer.
-vendor=unknown
-case $basic_machine in
- *-unknown)
- case $os in
- -riscix*)
- vendor=acorn
- ;;
- -sunos*)
- vendor=sun
- ;;
- -aix*)
- vendor=ibm
- ;;
- -beos*)
- vendor=be
- ;;
- -hpux*)
- vendor=hp
- ;;
- -mpeix*)
- vendor=hp
- ;;
- -hiux*)
- vendor=hitachi
- ;;
- -unos*)
- vendor=crds
- ;;
- -dgux*)
- vendor=dg
- ;;
- -luna*)
- vendor=omron
- ;;
- -genix*)
- vendor=ns
- ;;
- -mvs* | -opened*)
- vendor=ibm
- ;;
- -ptx*)
- vendor=sequent
- ;;
- -vxsim* | -vxworks*)
- vendor=wrs
- ;;
- -aux*)
- vendor=apple
- ;;
- -hms*)
- vendor=hitachi
- ;;
- -mpw* | -macos*)
- vendor=apple
- ;;
- -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
- vendor=atari
- ;;
- -vos*)
- vendor=stratus
- ;;
- esac
- basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
- ;;
-esac
-
-echo $basic_machine$os
-exit 0
-
-# Local variables:
-# eval: (add-hook 'write-file-hooks 'time-stamp)
-# time-stamp-start: "timestamp='"
-# time-stamp-format: "%:y-%02m-%02d"
-# time-stamp-end: "'"
-# End:
diff --git a/configure.in b/configure.in
deleted file mode 100644
index 77946cc74f..0000000000
--- a/configure.in
+++ /dev/null
@@ -1,1315 +0,0 @@
-dnl ## $Id$ -*- sh -*-
-dnl ## Process this file with autoconf to produce a configure script.
-
-divert(1)
-
-dnl ## Diversion 1 is the autoconf + automake setup phase. We also
-dnl ## set the PHP version, deal with platform-specific compile
-dnl ## options and check for the basic compile tools.
-
-dnl ## Diversion 2 is the initial checking of OS features, programs,
-dnl ## libraries and so on.
-
-dnl ## In diversion 3 we check for compile-time options to the PHP
-dnl ## core and how to deal with different system dependencies. This
-dnl ## includes what regex library is used and whether debugging or short
-dnl ## tags are enabled, and the default behaviour of php.ini options.
-dnl ## This is also where an SAPI interface is selected (choosing between
-dnl ## Apache module, CGI etc.)
-
-dnl ## In diversion 4 we check user-configurable general settings.
-
-dnl ## In diversion 5 we check which extensions should be compiled.
-dnl ## All of these are normally in the extension directories.
-dnl ## Diversion 5 is the last one. Here we generate files and clean up.
-
-
-dnl Basic autoconf + automake initialization, generation of config.nice.
-dnl -------------------------------------------------------------------------
-
-AC_INIT(README.CVS-RULES)
-
-PHP_CONFIG_NICE(config.nice)
-for arg in $0 "$@"; do
- CONFIGURE_COMMAND="$CONFIGURE_COMMAND '$arg'"
-done
-
-AC_CANONICAL_HOST
-AC_CONFIG_HEADER(main/php_config.h)
-
-MAJOR_VERSION=4
-MINOR_VERSION=3
-RELEASE_VERSION=0
-EXTRA_VERSION="-dev"
-VERSION="$MAJOR_VERSION.$MINOR_VERSION.$RELEASE_VERSION$EXTRA_VERSION"
-
-dnl Define where extension directories are located in the configure context
-AC_DEFUN(PHP_EXT_BUILDDIR,[ext/$1])dnl
-AC_DEFUN(PHP_EXT_DIR,[ext/$1])dnl
-AC_DEFUN(PHP_EXT_SRCDIR,[$abs_srcdir/ext/$1])dnl
-AC_DEFUN(PHP_ALWAYS_SHARED,[])dnl
-
-dnl Setting up the PHP version based on the information above.
-dnl -------------------------------------------------------------------------
-
-PHP_VERSION=$VERSION
-echo "/* automatically generated by configure */" > php_version.h.new
-echo "/* edit configure.in to change version number */" >> php_version.h.new
-echo "#define PHP_MAJOR_VERSION $MAJOR_VERSION" >> php_version.h.new
-echo "#define PHP_MINOR_VERSION $MINOR_VERSION" >> php_version.h.new
-echo "#define PHP_RELEASE_VERSION $RELEASE_VERSION" >> php_version.h.new
-echo "#define PHP_EXTRA_VERSION \"$EXTRA_VERSION\"" >> php_version.h.new
-echo "#define PHP_VERSION \"$PHP_VERSION\"" >> php_version.h.new
-cmp php_version.h.new php_version.h >/dev/null 2>&1
-if test $? -ne 0 ; then
- rm -f php_version.h && mv php_version.h.new php_version.h && \
- echo 'Updated php_version.h'
-else
- rm -f php_version.h.new
-fi
-
-
-
-dnl Catch common errors here to save a few seconds of our users' time
-dnl -------------------------------------------------------------------------
-
-if test "$with_shared_apache" != "no" && test -n "$with_shared_apache" ; then
- AC_MSG_ERROR([--with-shared-apache is not supported. Please refer to the documentation for using APXS])
-fi
-
-if test -n "$with_apache" && test -n "$with_apxs"; then
- AC_MSG_ERROR([--with-apache and --with-apxs cannot be used together])
-fi
-
-
-
-dnl Platform-specific compile settings.
-dnl -------------------------------------------------------------------------
-
-dnl if host_alias is empty, ac_cv_host_alias may still have the info
-if test -z "$host_alias"; then
- host_alias=$ac_cv_host_alias
-fi
-
-BSD_MAKEFILE=no
-
-case $host_alias in
-*solaris*)
- CPPFLAGS="$CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS"
- if test "${enable_libgcc+set}" != "set" && test "$GCC" = "yes"; then
- enable_libgcc=yes
- fi
- ;;
-*dgux*)
- CPPFLAGS="$CPPFLAGS -D_BSD_TIMEOFDAY_FLAVOR";;
-*darwin*|*rhapsody*)
- CPPFLAGS="$CPPFLAGS -no-cpp-precomp";;
-*bsdi*)
- BSD_MAKEFILE=yes;;
-*beos*)
- beos_threads=1
- LIBS="$LIBS -lbe -lroot";;
-*mips*)
- CPPFLAGS="$CPPFLAGS -D_XPG_IV";;
-esac
-
-
-
-dnl Settings we want to make before the checks.
-dnl -------------------------------------------------------------------------
-
-cwd=`pwd`
-
-PHP_INIT_BUILD_SYSTEM
-
-php_shtool=$srcdir/build/shtool
-T_MD=`$php_shtool echo -n -e %B`
-T_ME=`$php_shtool echo -n -e %b`
-
-dnl We want this one before the checks, so the checks can modify CFLAGS.
-test -z "$CFLAGS" && auto_cflags=1
-
-dnl AC_AIX needs to be before any macros that run the C compiler.
-AC_AIX
-
-abs_srcdir=`(cd $srcdir; pwd)`
-abs_builddir=`pwd`
-
-php_abs_top_srcdir=$abs_srcdir
-php_abs_top_builddir=$abs_builddir
-
-dnl Because ``make install'' is often performed by the superuser,
-dnl we create the libs subdirectory as the user who configures PHP.
-dnl Otherwise, the current user will not be able to delete libs
-dnl or the contents of libs.
-
-$php_shtool mkdir -p libs
-rm -f libs/*
-
-dnl Checks for programs.
-dnl -------------------------------------------------------------------------
-
-AC_PROG_CC
-AC_PROG_CC_C_O
-dnl Change to AC_PROG_CC_STDC when we start requiring a post-2.13 autoconf
-dnl AC_PROG_CC_STDC
-AC_PROG_CPP
-dnl AC_PROG_CXX
-dnl AC_PROG_CXXCPP
-dnl check for -R, etc. switch
-AC_MSG_CHECKING([whether compiler supports -R])
-AC_CACHE_VAL(php_cv_cc_dashr,[
- SAVE_LIBS=$LIBS
- LIBS="-R /usr/lib $LIBS"
- AC_TRY_LINK([], [], php_cv_cc_dashr=yes, php_cv_cc_dashr=no)
- LIBS=$SAVE_LIBS
-])
-AC_MSG_RESULT([$php_cv_cc_dashr])
-if test $php_cv_cc_dashr = "yes"; then
- ld_runpath_switch=-R
-else
- AC_MSG_CHECKING([whether compiler supports -Wl,-rpath,])
- AC_CACHE_VAL(php_cv_cc_rpath, [
- SAVE_LIBS=$LIBS
- LIBS="-Wl,-rpath,/usr/lib $LIBS"
- AC_TRY_LINK([], [], php_cv_cc_rpath=yes, php_cv_cc_rpath=no)
- LIBS=$SAVE_LIBS
- ])
- AC_MSG_RESULT([$php_cv_cc_rpath])
- if test $php_cv_cc_rpath = "yes"; then
- ld_runpath_switch=-Wl,-rpath,
- else
- dnl something innocuous
- ld_runpath_switch=-L
- fi
-fi
-AC_PROG_RANLIB
-AC_PROG_LN_S
-AC_PROG_AWK
-AC_PROG_YACC
-if test "$YACC" != "bison -y"; then
- AC_MSG_WARN([You will need bison if you want to regenerate the PHP parsers.])
-else
- AC_MSG_CHECKING([bison version])
- set `bison --version| grep 'GNU Bison' | cut -d ' ' -f 4 | sed -e 's/\./ /'`
- if test "${1}" = "1" -a "${2}" -lt "28"; then
- AC_MSG_WARN(You will need bison 1.28 if you want to regenerate the Zend parser (found ${1}.${2}).)
- fi
- AC_MSG_RESULT(${1}.${2} (ok))
-fi
-AC_PROG_LEX
-if test -n "$LEX"; then
- AC_DECL_YYTEXT
- :
-fi
-dnl ## Make flex scanners use const if they can, even if __STDC__ is not
-dnl ## true, for compilers like Sun's that only set __STDC__ true in
-dnl ## "limit-to-ANSI-standard" mode, not in "ANSI-compatible" mode
-AC_C_CONST
-if test "$ac_cv_c_const" = "yes" ; then
- LEX_CFLAGS="-DYY_USE_CONST"
-fi
-
-
-
-dnl Include Zend and TSRM configurations.
-dnl -------------------------------------------------------------------------
-
-sinclude(Zend/acinclude.m4)
-sinclude(Zend/Zend.m4)
-sinclude(TSRM/tsrm.m4)
-
-
-
-divert(2)
-
-dnl ## Diversion 2 is where we set PHP-specific options and come up
-dnl ## with reasonable default values for them. We check for pthreads here
-dnl ## because the information is needed by the SAPI configuration.
-dnl ## This is also where an SAPI interface is selected (choosing between
-dnl ## Apache module, CGI etc.)
-
-dnl .
-dnl -------------------------------------------------------------------------
-
-PTHREADS_CHECK
-PHP_HELP_SEPARATOR([SAPI modules:])
-PHP_SHLIB_SUFFIX_NAME
-PHP_SAPI=default
-PHP_BUILD_PROGRAM
-
-
-
-dnl SAPI configuration.
-dnl -------------------------------------------------------------------------
-
-dnl paths to the targets are relative to the build directory
-SAPI_PROGRAM=php
-SAPI_SHARED=libs/libphp4.$SHLIB_SUFFIX_NAME
-SAPI_STATIC=libs/libphp4.a
-SAPI_LIBTOOL=libphp4.la
-
-PHP_CONFIGURE_PART(Configuring SAPI modules)
-
-esyscmd(./scripts/config-stubs sapi)
-
-if test "$PHP_SAPI" = "default"; then
- PHP_SELECT_SAPI(cgi, program, cgi_main.c getopt.c)
-fi
-
-AC_MSG_CHECKING([for chosen SAPI module])
-AC_MSG_RESULT([$PHP_SAPI])
-
-if test "$enable_experimental_zts" = "yes"; then
- PTHREADS_ASSIGN_VARS
- PTHREADS_FLAGS
-fi
-
-
-divert(3)
-
-dnl ## In diversion 3 we check for compile-time options to the PHP
-dnl ## core and how to deal with different system dependencies. This
-dnl ## includes what regex library is used and whether debugging or short
-dnl ## tags are enabled, and the default behaviour of php.ini options.
-
-
-
-dnl Starting system checks.
-dnl -------------------------------------------------------------------------
-
-PHP_CONFIGURE_PART(Running system checks)
-
-PHP_MISSING_TIME_R_DECL
-PHP_PROG_SENDMAIL
-dnl Check whether the system uses EBCDIC (not ASCII) as its native codeset
-PHP_EBCDIC
-dnl Check for /usr/pkg/{lib,include} which is where NetBSD puts binary
-dnl and source packages. This should be harmless on other OSs.
-if test -d /usr/pkg/include -a -d /usr/pkg/lib ; then
- CPPFLAGS="$CPPFLAGS -I/usr/pkg/include"
- LDFLAGS="$LDFLAGS -L/usr/pkg/lib"
-fi
-INCLUDES="$INCLUDES -I\$(top_builddir)/Zend"
-test -d /usr/ucblib && PHP_ADD_LIBPATH(/usr/ucblib)
-
-
-dnl First, library checks.
-dnl -------------------------------------------------------------------------
-
-AC_CHECK_LIB(socket, socket, [
- PHP_ADD_LIBRARY(socket)
- AC_DEFINE(HAVE_LIBSOCKET,1,[ ]) ], [
- AC_CHECK_LIB(socket, htonl, [
- PHP_ADD_LIBRARY(socket)
- ])])
-
-dnl Some systems (OpenServer 5) dislike -lsocket -lnsl, so we try
-dnl to avoid -lnsl checks, if we already have the functions which
-dnl are usually in libnsl
-dnl Also, uClibc will bark at linking with glibc's libnsl.
-unset ac_cv_func_gethostname
-unset ac_cv_func_yp_get_default_domain
-case $host_alias in
- *unixware* | *sco*)
- AC_CHECK_FUNC(gethostname, [
- php_no_nsl_checks=yes
- ])
- ;;
-esac
-
-AC_CHECK_FUNC(yp_get_default_domain, [
- php_no_nsl_checks=yes
-])
-unset ac_cv_func_gethostname
-unset ac_cv_func_yp_get_default_domain
-
-if test "$php_no_nsl_checks" != "yes"; then
-
-AC_CHECK_LIB(nsl, gethostname, [
- PHP_ADD_LIBRARY(nsl)
- AC_DEFINE(HAVE_LIBNSL,1,[ ]) ],[
- AC_CHECK_LIB(nsl, gethostbyaddr, [
- PHP_ADD_LIBRARY(nsl)
- AC_DEFINE(HAVE_LIBNSL,1,[ ]) ], [])
-])
-
-fi
-
-AC_CHECK_LIB(dl, dlopen,[PHP_ADD_LIBRARY(dl)])
-
-dnl The sin may be in a library which need not be specifed
-dnl as well as res_search resides in libsocket
-AC_CHECK_LIB(m, sin)
-
-dnl Only include libbind if inet_aton is not found in
-dnl libresolv.
-AC_CHECK_LIB(resolv, inet_aton, [], [
- AC_CHECK_LIB(bind, inet_aton, [], [
- AC_CHECK_LIB(bind, __inet_aton)
- ])
-])
-
-dnl The res_search may be in libsocket as well, and if it is
-dnl make sure to check for dn_skipname in libresolv, or if res_search
-dnl is in neither of these libs, still check for dn_skipname in libresolv
-AC_CHECK_LIB(socket, res_search, [
- AC_CHECK_LIB(resolv, dn_skipname)
- AC_CHECK_LIB(resolv, __dn_skipname)
- LIBS="$LIBS -lsocket"
- AC_DEFINE(HAVE_LIBSOCKET,1,[ ]) ], [
- AC_CHECK_LIB(resolv, res_search, [
- LIBS="$LIBS -lresolv"
- AC_DEFINE(HAVE_LIBRESOLV,1,[ ])
- ], [
- AC_CHECK_LIB(resolv, dn_skipname)
- AC_CHECK_LIB(resolv, __dn_skipname)
- ])
-])
-
-
-
-dnl Then headers.
-dnl -------------------------------------------------------------------------
-
-dnl Checks for header files.
-AC_HEADER_STDC
-
-dnl In QNX opendir resides in libc but dirent.h is still required
-if test "`uname -s 2>/dev/null`" != "QNX"; then
- AC_HEADER_DIRENT
-else
- AC_CHECK_HEADERS(dirent.h)
-fi
-PHP_MISSING_FCLOSE_DECL
-dnl QNX requires unix.h to allow functions in libunix to work properly
-AC_CHECK_HEADERS(
-ApplicationServices/ApplicationServices.h \
-alloca.h \
-arpa/inet.h \
-arpa/nameser.h \
-assert.h \
-crypt.h \
-fcntl.h \
-grp.h \
-ieeefp.h \
-langinfo.h \
-limits.h \
-locale.h \
-mach-o/dyld.h \
-netinet/in.h \
-pwd.h \
-resolv.h \
-signal.h \
-stdarg.h \
-stdlib.h \
-string.h \
-syslog.h \
-sysexits.h \
-sys/file.h \
-sys/mman.h \
-sys/mount.h \
-sys/poll.h \
-sys/resource.h \
-sys/select.h \
-sys/socket.h \
-sys/statfs.h \
-sys/statvfs.h \
-sys/vfs.h \
-sys/sysexits.h \
-sys/time.h \
-sys/types.h \
-sys/varargs.h \
-sys/wait.h \
-unistd.h \
-unix.h \
-utime.h \
-sys/utsname.h \
-)
-
-
-
-dnl Checks for typedefs, structures, and compiler characteristics.
-dnl -------------------------------------------------------------------------
-
-AC_STRUCT_TM
-AC_STRUCT_TIMEZONE
-
-PHP_TM_GMTOFF
-PHP_STRUCT_FLOCK
-PHP_SOCKLEN_T
-
-AC_CHECK_SIZEOF(long, 8)
-AC_CHECK_SIZEOF(int, 4)
-
-dnl Check for members of the stat structure
-AC_STRUCT_ST_BLKSIZE
-dnl AC_STRUCT_ST_BLOCKS will screw QNX because fileblocks.o does not exists
-dnl The WARNING_LEVEL required because cc in QNX hates -w option without an argument
-if test "`uname -s 2>/dev/null`" != "QNX"; then
- AC_STRUCT_ST_BLOCKS
-else
- AC_MSG_WARN([warnings level for cc set to 0])
- WARNING_LEVEL=0
-fi
-AC_STRUCT_ST_RDEV
-
-dnl Checks for types
-AC_TYPE_SIZE_T
-AC_TYPE_UID_T
-
-dnl Check for struct sockaddr_storage
-AC_CACHE_CHECK([for struct sockaddr_storage], ac_cv_sockaddr_storage,
-[AC_TRY_COMPILE([ #include <sys/types.h>
-#include <sys/socket.h>], [struct sockaddr_storage s; s],
- ac_cv_sockaddr_storage=yes, ac_cv_sockaddr_storage=no)])
-if test "$ac_cv_sockaddr_storage" = yes; then
- AC_DEFINE(HAVE_SOCKADDR_STORAGE,1,[Whether you have struct sockaddr_storage])
-fi
-
-dnl Check for IPv6 support
-AC_CACHE_CHECK([for IPv6 support], ac_cv_ipv6_support,
-[AC_TRY_LINK([ #include <sys/types.h>
-#include <sys/socket.h>
-#include <netinet/in.h>], [struct sockaddr_in6 s; struct in6_addr t=in6addr_any; int i=AF_INET6; s; t.s6_addr[0] = 0;],
- [ac_cv_ipv6_support=yes], [ac_cv_ipv6_support=no])])
-if test "$ac_cv_ipv6_support" = yes; then
- AC_DEFINE(HAVE_IPV6,1,[Whether you have IPv6 support])
-fi
-
-
-
-dnl Checks for library functions.
-dnl -------------------------------------------------------------------------
-
-AC_FUNC_VPRINTF
-AC_CHECK_FUNCS(
-asctime_r \
-chroot \
-ctime_r \
-cuserid \
-crypt \
-flock \
-gai_strerror \
-gcvt \
-getlogin \
-gethostbyaddr \
-getprotobyname \
-getprotobynumber \
-getservbyname \
-getservbyport \
-getrusage \
-gettimeofday \
-gmtime_r \
-inet_aton \
-isascii \
-link \
-localtime_r \
-lockf \
-lrand48 \
-memcpy \
-memmove \
-mkstemp \
-mmap \
-nl_langinfo \
-putenv \
-realpath \
-random \
-rand_r \
-regcomp \
-res_search \
-setitimer \
-setlocale \
-localeconv \
-setsockopt \
-setvbuf \
-shutdown \
-sin \
-snprintf \
-srand48 \
-srandom \
-statfs \
-statvfs \
-std_syslog \
-strcasecmp \
-strcoll \
-strdup \
-strerror \
-strftime \
-strstr \
-strtok_r \
-symlink \
-tempnam \
-tzset \
-unsetenv \
-usleep \
-utime \
-vsnprintf \
-)
-
-dnl Check for getaddrinfo, should be a better way, but...
-AC_CACHE_CHECK([for getaddrinfo], ac_cv_func_getaddrinfo,
-[AC_TRY_COMPILE([#include <netdb.h>],
- [struct addrinfo *g,h;g=&h;getaddrinfo("","",g,&g);],
- ac_cv_func_getaddrinfo=yes, ac_cv_func_getaddrinfo=no)])
-if test "$ac_cv_func_getaddrinfo" = yes; then
- AC_DEFINE(HAVE_GETADDRINFO,1,[Define if you have the getaddrinfo function])
-fi
-
-AC_REPLACE_FUNCS(strlcat strlcpy getopt)
-AC_FUNC_UTIME_NULL
-AC_FUNC_ALLOCA
-PHP_AC_BROKEN_SPRINTF
-PHP_DECLARED_TIMEZONE
-PHP_TIME_R_TYPE
-PHP_READDIR_R_TYPE
-
-dnl AIX keeps in_addr_t in /usr/include/netinet/in.h
-dnl AC_MSG_CHECKING([for in_addr_t])
-AC_CACHE_VAL(ac_cv_type_$1,
-[AC_EGREP_CPP(dnl
-changequote(<<,>>)dnl
-<<in_addr_t[^a-zA-Z_0-9]>>dnl
-changequote([,]), [#include <sys/types.h>
-#if STDC_HEADERS
-#include <stdlib.h>
-#include <stddef.h>
-#endif
-#ifdef HAVE_NETINET_IN_H
-#include <netinet/in.h>
-#endif], ac_cv_type_in_addr_t=yes, ac_cv_type_in_addr_t=no)])dnl
-
-dnl AC_MSG_RESULT([$ac_cv_type_in_addr_t])
-if test $ac_cv_type_in_addr_t = no; then
- AC_DEFINE(in_addr_t, u_int, [ ])
-fi
-
-
-
-divert(4)
-
-dnl ## In diversion 4 we check user-configurable general settings.
-
-dnl General settings.
-dnl -------------------------------------------------------------------------
-
-
-PHP_HELP_SEPARATOR([General settings:])
-
-PHP_ARG_ENABLE(debug, whether to include debugging symbols,
-[ --enable-debug Compile with debugging symbols.], no)
-
-if test "$PHP_DEBUG" = "yes"; then
- PHP_DEBUG=1
- ZEND_DEBUG=yes
-else
- PHP_DEBUG=0
- ZEND_DEBUG=no
-fi
-
-PHP_ARG_WITH(layout,[layout of installed files],
-[ --with-layout=TYPE Sets how installed files will be laid out. Type is
- one of "PHP" (default) or "GNU"], PHP)
-
-case $PHP_LAYOUT in
- GNU)
- oldstyleextdir=no
- ;;
- *)
- oldstyleextdir=yes
- ;;
-esac
-
-PHP_ARG_WITH(config-file-path,[path to configuration file],
-[ --with-config-file-path=PATH
- Sets the path in which to look for php.ini,
- defaults to PREFIX/lib], DEFAULT)
-
-if test "$PHP_CONFIG_FILE_PATH" = "DEFAULT"; then
- case $PHP_LAYOUT in
- GNU)
- PHP_CONFIG_FILE_PATH=$sysconfdir
- ;;
- *)
- PHP_CONFIG_FILE_PATH=$libdir
- ;;
- esac
-fi
-
-# compatibility
-if test -z "$with_pear" && test "$enable_pear" = "no"; then
- with_pear=no
-fi
-
-PHP_ARG_WITH(pear, [whether to install PEAR, and where],
-[ --with-pear=DIR Install PEAR in DIR (default PREFIX/lib/php)
- --without-pear Do not install PEAR], DEFAULT)
-
-if test "$PHP_PEAR" != "no" && test "$disable_cli" != "1"; then
- install_pear="install-pear install-build install-headers install-programs"
- PEAR_INSTALLDIR=$PHP_PEAR
-fi
-
-if test "$PHP_PEAR" = "DEFAULT" || test "$PHP_PEAR" = "yes"; then
- case $PHP_LAYOUT in
- GNU) PEAR_INSTALLDIR=$datadir/pear;;
- *) PEAR_INSTALLDIR=$libdir/php;;
- esac
-fi
-
-test -n "$DEBUG_CFLAGS" && CFLAGS="$CFLAGS $DEBUG_CFLAGS"
-
-PHP_ARG_ENABLE(safe-mode, whether to enable safe mode by default,
-[ --enable-safe-mode Enable safe mode by default.])
-
-if test "$PHP_SAFE_MODE" = "yes"; then
- AC_DEFINE(PHP_SAFE_MODE,1,[ ])
-else
- AC_DEFINE(PHP_SAFE_MODE,0,[ ])
-fi
-
-AC_MSG_CHECKING([for safe mode exec dir])
-AC_ARG_WITH(exec-dir,
-[ --with-exec-dir[=DIR] Only allow executables in DIR when in safe mode
- defaults to /usr/local/php/bin],
-[
- if test "$withval" != "no"; then
- if test "$withval" = "yes"; then
- AC_DEFINE(PHP_SAFE_MODE_EXEC_DIR,"/usr/local/php/bin", [ ])
- AC_MSG_RESULT([/usr/local/php/bin])
- else
- AC_DEFINE_UNQUOTED(PHP_SAFE_MODE_EXEC_DIR,"$withval", [ ])
- AC_MSG_RESULT([$withval])
- fi
- else
- AC_DEFINE(PHP_SAFE_MODE_EXEC_DIR,"/usr/local/php/bin", [ ])
- AC_MSG_RESULT([/usr/local/php/bin])
- fi
-],[
- AC_DEFINE(PHP_SAFE_MODE_EXEC_DIR,"/usr/local/php/bin", [ ])
- AC_MSG_RESULT([/usr/local/php/bin])
-])
-
-PHP_ARG_WITH(openssl,for OpenSSL support,
-[ --with-openssl[=DIR] Include OpenSSL support (requires OpenSSL >= 0.9.5) ])
-
-if test "$PHP_OPENSSL" != "no"; then
- ext_openssl_shared=$ext_shared
- PHP_SETUP_OPENSSL
-fi
-
-PHP_ARG_ENABLE(sigchild,whether to enable PHP's own SIGCHLD handler,
-[ --enable-sigchild Enable PHP's own SIGCHLD handler.],no)
-
-if test "$PHP_SIGCHILD" = "yes"; then
- AC_DEFINE(PHP_SIGCHILD, 1, [ ])
-else
- AC_DEFINE(PHP_SIGCHILD, 0, [ ])
-fi
-
-PHP_ARG_ENABLE(magic-quotes,whether to enable magic quotes by default,
-[ --enable-magic-quotes Enable magic quotes by default.])
-
-if test "$PHP_MAGIC_QUOTES" = "yes"; then
- AC_DEFINE(MAGIC_QUOTES, 1, [ ])
-else
- AC_DEFINE(MAGIC_QUOTES, 0, [ ])
-fi
-
-PHP_ARG_ENABLE(rpath, whether to enable runpaths,
-[ --disable-rpath Disable passing additional runtime library
- search paths], yes)
-
-PHP_ARG_ENABLE(libgcc, whether to explicitly link against libgcc,
-[ --enable-libgcc Enable explicitly linking against libgcc])
-
-if test "$PHP_LIBGCC" = "yes"; then
- PHP_LIBGCC_LIBPATH(gcc)
- if test -z "$libgcc_libpath"; then
- AC_MSG_ERROR([Cannot locate libgcc. Make sure that gcc is in your path])
- fi
- PHP_ADD_LIBPATH($libgcc_libpath)
- PHP_ADD_LIBRARY(gcc, yes)
-fi
-
-PHP_ARG_ENABLE(short-tags,whether to enable short tags by default,
-[ --disable-short-tags Disable the short-form <? start tag by default.],yes)
-
-if test "$PHP_SHORT_TAGS" = "yes"; then
- AC_DEFINE(DEFAULT_SHORT_OPEN_TAG,"1",[ ])
-else
- AC_DEFINE(DEFAULT_SHORT_OPEN_TAG,"0",[ ])
-fi
-
-
-PHP_ARG_ENABLE(dmalloc,whether to enable dmalloc,
-[ --enable-dmalloc Enable dmalloc])
-
-if test "$PHP_DMALLOC" = "yes"; then
-
- AC_CHECK_LIB(dmalloc, dmalloc_error, [
- PHP_ADD_LIBRARY(dmalloc)
- AC_DEFINE(HAVE_DMALLOC,1,[Whether you have dmalloc])
- CPPFLAGS="$CPPFLAGS -DDMALLOC_FUNC_CHECK"
- ], [
- AC_MSG_ERROR([Problem with enabling dmalloc. Please check config.log for details.])
- ])
-fi
-
-AC_CHECK_LIB(crypt, crypt, [
- PHP_ADD_LIBRARY(crypt)
- PHP_ADD_LIBRARY(crypt, 1)
- AC_DEFINE(HAVE_CRYPT,1,[ ])
-])
-
-
-
-divert(5)
-
-dnl ## In diversion 5 we check which extensions should be compiled.
-dnl ## All of these are normally in the extension directories.
-
-
-
-dnl Extension configuration.
-dnl -------------------------------------------------------------------------
-
-PHP_HELP_SEPARATOR([Extensions:
-
- --with-EXTENSION=[shared[,PATH]]
-
- NOTE: Not all extensions can be build as 'shared'.
-
- Example: --with-foobar=shared,/usr/local/foobar/
-
- o Builds the foobar extension as shared extension.
- o foobar package install prefix is /usr/local/foobar/
-])
-
-PHP_CONFIGURE_PART(Configuring extensions)
-
-# reading config stubs
-esyscmd(./scripts/config-stubs ext)
-
-
-dnl Other settings.
-dnl -------------------------------------------------------------------------
-
-PHP_HELP_SEPARATOR([Other settings:])
-
-AC_MSG_CHECKING([whether to enable versioning])
-AC_ARG_ENABLE(versioning,
-[ --enable-versioning Export only required symbols.
- See INSTALL for more information],[
- PHP_VERSIONING=$enableval
-],[
- PHP_VERSIONING=no
-])
-AC_MSG_RESULT([$PHP_VERSIONING])
-
-if test "$PHP_VERSIONING" = "yes"; then
- test -z "$PHP_SYM_FILE" && PHP_SYM_FILE="$abs_srcdir/sapi/$PHP_SAPI/php.sym"
- if test -f "$PHP_SYM_FILE"; then
- EXTRA_LDFLAGS="-export-symbols $PHP_SYM_FILE"
- fi
-fi
-
-enable_shared=yes
-enable_static=yes
-unset with_pic
-
-case $php_build_target in
-program|static)
- standard_libtool_flag='-prefer-non-pic -static'
- if test -z "$PHP_MODULES"; then
- enable_shared=no
- fi
-;;
-shared)
- enable_static=no
- standard_libtool_flag=-prefer-pic
- EXTRA_LDFLAGS="$EXTRA_LDFLAGS -avoid-version -module"
-;;
-esac
-
-PHP_REGEX
-
-EXTRA_LIBS="$EXTRA_LIBS $DLIBS $LIBS"
-unset LIBS LDFLAGS
-
-dnl Configuring Zend and TSRM.
-dnl -------------------------------------------------------------------------
-
-PHP_CONFIGURE_PART(Configuring Zend)
-LIBZEND_BASIC_CHECKS
-LIBZEND_OTHER_CHECKS
-
-TSRM_LIB='TSRM/libtsrm.la'
-TSRM_DIR=TSRM
-CPPFLAGS="$CPPFLAGS -I\$(top_builddir)/TSRM"
-
-if test "$ZEND_EXPERIMENTAL_ZTS" = "yes"; then
- AC_DEFINE(ZTS,1,[ ])
- PHP_THREAD_SAFETY=yes
-else
- PHP_THREAD_SAFETY=no
-fi
-
-if test "$abs_srcdir" != "$abs_builddir"; then
- INCLUDES="$INCLUDES -I\$(top_srcdir)/main -I\$(top_srcdir)/Zend"
- INCLUDES="$INCLUDES -I\$(top_srcdir)/TSRM"
-fi
-
-ZEND_EXTRA_LIBS="$LIBS"
-unset LIBS LDFLAGS
-
-PHP_CONFIGURE_PART(Configuring TSRM)
-TSRM_BASIC_CHECKS
-if test "$PHP_THREAD_SAFETY" = "yes"; then
- TSRM_THREADS_CHECKS
-fi
-EXTRA_LDFLAGS="$EXTRA_LDFLAGS $LDFLAGS"
-EXTRA_LIBS="$EXTRA_LIBS $LIBS"
-unset LIBS LDFLAGS
-
-test "$prefix" = "NONE" && prefix=/usr/local
-test "$exec_prefix" = "NONE" && exec_prefix='${prefix}'
-
-case $libdir in
- '${exec_prefix}/lib')
- libdir=$libdir/php
- ;;
-esac
-case $datadir in
- '${prefix}/share')
- datadir=$datadir/php
- ;;
- *) ;;
-esac
-
-phplibdir=`pwd`/modules
-$php_shtool mkdir -p $phplibdir
-phptempdir=`pwd`/libs
-
-old_exec_prefix=$exec_prefix
-old_libdir=$libdir
-old_datadir=$datadir
-exec_prefix=`eval echo $exec_prefix`
-libdir=`eval echo $libdir`
-datadir=`eval echo $datadir`
-
-dnl Build extension directory path
-
-ZEND_MODULE_API_NO=`egrep '#define ZEND_MODULE_API_NO ' $srcdir/Zend/zend_modules.h|sed 's/#define ZEND_MODULE_API_NO //'`
-
-if test -z "$EXTENSION_DIR"; then
- extbasedir=$ZEND_MODULE_API_NO
- if test "$oldstyleextdir" = "yes"; then
- if test "$PHP_DEBUG" = "1"; then
- part1=debug
- else
- part1=no-debug
- fi
- if test "$enable_experimental_zts" = "yes"; then
- part2=zts
- else
- part2=non-zts
- fi
- extbasedir=$part1-$part2-$extbasedir
- EXTENSION_DIR=$libdir/extensions/$extbasedir
- else
- if test "$enable_experimental_zts" = "yes"; then
- extbasedir=$extbasedir-zts
- fi
-
- if test "$PHP_DEBUG" = "1"; then
- extbasedir=$extbasedir-debug
- fi
- EXTENSION_DIR=$libdir/$extbasedir
- fi
-fi
-
-dnl Expand all directory names for use in macros/constants
-EXPANDED_PEAR_INSTALLDIR=`eval echo $PEAR_INSTALLDIR`
-EXPANDED_EXTENSION_DIR=`eval echo $EXTENSION_DIR`
-EXPANDED_LOCALSTATEDIR=`eval echo $localstatedir`
-EXPANDED_BINDIR=`eval echo $bindir`
-EXPANDED_LIBDIR=$libdir
-EXPANDED_SYSCONFDIR=`eval echo $sysconfdir`
-EXPANDED_DATADIR=$datadir
-EXPANDED_PHP_CONFIG_FILE_PATH=`eval echo "$PHP_CONFIG_FILE_PATH"`
-INCLUDE_PATH=.:$EXPANDED_PEAR_INSTALLDIR
-
-exec_prefix=$old_exec_prefix
-libdir=$old_libdir
-datadir=$old_datadir
-
-AC_SUBST(INCLUDE_PATH)
-AC_SUBST(EXPANDED_PEAR_INSTALLDIR)
-AC_SUBST(EXPANDED_EXTENSION_DIR)
-AC_SUBST(EXPANDED_BINDIR)
-AC_SUBST(EXPANDED_LIBDIR)
-AC_SUBST(EXPANDED_DATADIR)
-AC_SUBST(EXPANDED_SYSCONFDIR)
-AC_SUBST(EXPANDED_LOCALSTATEDIR)
-AC_SUBST(EXPANDED_PHP_CONFIG_FILE_PATH)
-
-PHP_BUILD_RPATH
-
-PHP_REMOVE_USR_LIB(PHP_LDFLAGS)
-PHP_REMOVE_USR_LIB(LDFLAGS)
-
-EXTRA_LDFLAGS="$EXTRA_LDFLAGS $PHP_LDFLAGS"
-
-PHP_BUILD_DATE=`date '+%Y-%m-%d'`
-AC_DEFINE_UNQUOTED(PHP_BUILD_DATE,"$PHP_BUILD_DATE",[PHP build date])
-PHP_UNAME=`uname -a`
-AC_DEFINE_UNQUOTED(PHP_UNAME,"$PHP_UNAME",[uname -a output])
-PHP_OS=`uname`
-AC_DEFINE_UNQUOTED(PHP_OS,"$PHP_OS",[uname output])
-
-if test "$disable_cli" != "1"; then
- PHP_CLI_TARGET=sapi/cli/php
- PHP_INSTALL_CLI_TARGET="install-cli"
- PHP_ADD_SOURCES(sapi/cli, php_cli.c getopt.c,, cli)
-fi
-
-PHP_SUBST(PHP_CLI_TARGET)
-PHP_SUBST(PHP_SAPI_OBJS)
-PHP_SUBST(PHP_CLI_OBJS)
-PHP_SUBST(PHP_GLOBAL_OBJS)
-
-PHP_SUBST(PHP_MODULES)
-
-PHP_SUBST(EXT_LIBS)
-
-PHP_SUBST_OLD(abs_builddir)
-PHP_SUBST_OLD(abs_srcdir)
-PHP_SUBST_OLD(php_abs_top_builddir)
-PHP_SUBST_OLD(php_abs_top_srcdir)
-
-PHP_SUBST(bindir)
-PHP_SUBST(exec_prefix)
-PHP_SUBST(includedir)
-PHP_SUBST(libdir)
-PHP_SUBST(phplibdir)
-PHP_SUBST(phptempdir)
-PHP_SUBST(prefix)
-PHP_SUBST(localstatedir)
-PHP_SUBST(datadir)
-PHP_SUBST(sysconfdir)
-
-PHP_SUBST(AWK)
-PHP_SUBST(CC)
-PHP_SUBST(CFLAGS)
-PHP_SUBST(CFLAGS_CLEAN)
-PHP_SUBST_OLD(CONFIGURE_COMMAND)
-PHP_SUBST(CPP)
-PHP_SUBST(CPPFLAGS)
-PHP_SUBST(CXX)
-PHP_SUBST(CXXFLAGS)
-PHP_SUBST(CXXFLAGS_CLEAN)
-PHP_SUBST(CXX_PHP_COMPILE)
-PHP_SUBST_OLD(DEBUG_CFLAGS)
-PHP_SUBST(DEFS)
-PHP_SUBST_OLD(EXTENSION_DIR)
-PHP_SUBST(EXTRA_LDFLAGS)
-PHP_SUBST_OLD(EXTRA_LIBS)
-PHP_SUBST_OLD(ZEND_EXTRA_LIBS)
-PHP_SUBST_OLD(INCLUDES)
-PHP_SUBST_OLD(EXTRA_INCLUDES)
-PHP_SUBST_OLD(INCLUDE_PATH)
-PHP_SUBST_OLD(INSTALL_IT)
-PHP_SUBST(LEX)
-PHP_SUBST(LEX_OUTPUT_ROOT)
-PHP_SUBST(LFLAGS)
-PHP_SUBST(LIBTOOL)
-PHP_SUBST(LN_S)
-PHP_SUBST_OLD(NATIVE_RPATHS)
-PHP_SUBST_OLD(PEAR_INSTALLDIR)
-PHP_SUBST(PHP_BUILD_DATE)
-PHP_SUBST(PHP_COMPILE)
-PHP_SUBST_OLD(PHP_LDFLAGS)
-PHP_SUBST_OLD(PHP_LIBS)
-PHP_SUBST(OVERALL_TARGET)
-PHP_SUBST(PHP_RPATHS)
-PHP_SUBST(PHP_SAPI)
-PHP_SUBST_OLD(PHP_VERSION)
-PHP_SUBST(PROG_SENDMAIL)
-PHP_SUBST(SHELL)
-PHP_SUBST(SHARED_LIBTOOL)
-PHP_SUBST(TSRM_DIR)
-PHP_SUBST(TSRM_LIB)
-PHP_SUBST(WARNING_LEVEL)
-PHP_SUBST_OLD(YACC)
-PHP_SUBST_OLD(SHLIB_SUFFIX_NAME)
-
-old_CC=$CC
-
-if test "$PHP_THREAD_SAFETY" = "yes" && test -n "$ac_cv_pthreads_cflags"; then
- CXXFLAGS="$CXXFLAGS $ac_cv_pthreads_cflags"
- INLINE_CFLAGS="$INLINE_CFLAGS $ac_cv_pthreads_cflags"
- cat >meta_ccld<<EOF
-#! /bin/sh
-exec $CC $ac_cv_pthreads_cflags \$@
-EOF
- CC="$abs_builddir/meta_ccld"
- chmod +x meta_ccld
-fi
-
-dnl This will go away, if we have a facility to run per-extension code
-dnl after the thread_safety decision was done
-if test "$PHP_THREAD_SAFETY" = "yes" && test "$PHP_MYSQL" = "yes"; then
- CPPFLAGS="$CPPFLAGS -DTHREAD=1"
-fi
-
-AC_PROG_LIBTOOL
-if test "$enable_debug" != "yes"; then
- PHP_SET_LIBTOOL_VARIABLE([--silent])
-fi
-
-
-test -z "$PHP_COMPILE" && PHP_COMPILE='$(LIBTOOL) --mode=compile $(COMPILE) -c $<'
-test -z "$CXX_PHP_COMPILE" && CXX_PHP_COMPILE='$(LIBTOOL) --mode=compile $(CXX_COMPILE) -c $<'
-SHARED_LIBTOOL='$(LIBTOOL)'
-
-CC=$old_CC
-
-PHP_CONFIGURE_PART(Generating files)
-
-CXXFLAGS_CLEAN=$CXXFLAGS
-CFLAGS_CLEAN=$CFLAGS
-CFLAGS="\$(CFLAGS_CLEAN) $standard_libtool_flag"
-INLINE_CFLAGS="$INLINE_CFLAGS $standard_libtool_flag"
-CXXFLAGS="$CXXFLAGS $standard_libtool_flag"
-
-all_targets='$(OVERALL_TARGET) $(PHP_MODULES) $(PHP_CLI_TARGET)'
-install_targets="install-sapi install-modules $PHP_INSTALL_CLI_TARGET $install_pear"
-PHP_SUBST(all_targets)
-PHP_SUBST(install_targets)
-
-PHP_ADD_SOURCES(TSRM, TSRM.c tsrm_strtok_r.c tsrm_virtual_cwd.c)
-
-PHP_ADD_SOURCES(main, main.c snprintf.c spprintf.c php_sprintf.c \
- safe_mode.c fopen_wrappers.c alloca.c \
- php_ini.c SAPI.c rfc1867.c php_content_types.c strlcpy.c \
- strlcat.c mergesort.c reentrancy.c php_variables.c php_ticks.c \
- streams.c network.c php_open_temporary_file.c php_logos.c \
- output.c memory_streams.c user_streams.c)
-PHP_ADD_SOURCES(/main, internal_functions.c,, sapi)
-PHP_ADD_SOURCES(/main, internal_functions_cli.c,, cli)
-
-PHP_ADD_SOURCES(/Zend, zend_language_parser.c zend_language_scanner.c \
- zend_ini_parser.c zend_ini_scanner.c)
-
-PHP_ADD_SOURCES(Zend, \
- zend_alloc.c zend_compile.c zend_constants.c zend_dynamic_array.c \
- zend_execute_API.c zend_highlight.c zend_llist.c \
- zend_opcode.c zend_operators.c zend_ptr_stack.c zend_stack.c \
- zend_variables.c zend.c zend_API.c zend_extensions.c zend_hash.c \
- zend_list.c zend_indent.c zend_builtin_functions.c zend_sprintf.c \
- zend_ini.c zend_qsort.c zend_multibyte.c)
-
-if test -r "$abs_srcdir/Zend/zend_objects.c"; then
- PHP_ADD_SOURCES(Zend, zend_objects.c zend_object_handlers.c zend_objects_API.c zend_mm.c)
-fi
-
-dnl Selectively disable optimization due to high RAM usage during
-dnl compiling the executor.
-if test -n "$GCC" && test "$ZEND_INLINE_OPTIMIZATION" != "yes"; then
- flag=-O0
-else
- flag=
-fi
-
-PHP_ADD_SOURCES_X(Zend, zend_execute.c,,PHP_GLOBAL_OBJS,,$flag)
-
-PHP_ADD_BUILD_DIR(main)
-PHP_ADD_BUILD_DIR(regex)
-PHP_ADD_BUILD_DIR(sapi/$PHP_SAPI sapi/cli)
-PHP_ADD_BUILD_DIR(TSRM)
-PHP_ADD_BUILD_DIR(Zend)
-
-
-PHP_ADD_MAKEFILE_FRAGMENT($abs_srcdir/pear/Makefile.frag,$abs_srcdir/pear,pear)
-PHP_ADD_MAKEFILE_FRAGMENT($abs_srcdir/Makefile.frag,$abs_srcdir/Zend,Zend)
-
-PHP_GEN_BUILD_DIRS
-PHP_GEN_GLOBAL_MAKEFILE
-
-$php_shtool mkdir -p pear/scripts
-ALL_OUTPUT_FILES="php4.spec main/build-defs.h \
-pear/scripts/phpize pear/scripts/php-config \
-$PHP_OUTPUT_FILES"
-
-AC_OUTPUT($ALL_OUTPUT_FILES, [], [
-
-if test "\$CONFIG_FILES" = "$ALL_OUTPUT_FILES" || test "\$CONFIG_FILES" = " $ALL_OUTPUT_FILES" || test -z "\$CONFIG_FILES"; then
- REDO_ALL=yes
-fi
-
-if test ! -f $srcdir/ext/bcmath/number.c; then
- echo "creating number.c"
- echo "/* Dummy File */" > $srcdir/ext/bcmath/number.c
- echo "creating number.h"
- echo "/* Dummy File */" > $srcdir/ext/bcmath/number.h
-fi
-
-################################################################
-# Create configuration headers
-#
-
-test -d TSRM || mkdir TSRM
-echo '#include "../main/php_config.h"' > TSRM/tsrm_config.h
-
-test -d Zend || mkdir Zend
-
-cat >Zend/zend_config.h <<FEO
-#include "../main/php_config.h"
-#if defined(APACHE) && defined(PHP_API_VERSION)
-#undef HAVE_DLFCN_H
-#endif
-FEO
-
-# run this only when generating all the files?
-if test -n "\$REDO_ALL"; then
- # Hacking while airborne considered harmful.
- #
- echo "creating main/internal_functions.c"
- extensions="$EXT_STATIC"
-dnl mv -f main/internal_functions.c main/internal_functions.c.old 2>/dev/null
- sh $srcdir/build/genif.sh $srcdir/main/internal_functions.c.in $srcdir "$EXTRA_MODULE_PTRS" $AWK \$extensions > main/internal_functions.c
-
- echo "creating main/internal_functions_cli.c"
- cli_extensions="$EXT_CLI_STATIC"
- sh $srcdir/build/genif.sh $srcdir/main/internal_functions.c.in $srcdir "$EXTRA_MODULE_PTRS" $AWK \$cli_extensions > main/internal_functions_cli.c
-
-dnl if cmp main/internal_functions.c.old main/internal_functions.c > /dev/null 2>&1; then
-dnl echo "main/internal_functions.c is unchanged"
-dnl mv main/internal_functions.c.old main/internal_functions.c
-dnl else
-dnl rm -f main/internal_functions.c.old
-dnl fi
-
- if test $UNAME = "FreeBSD" && test $PHP_SAPI = "apache2filter" && test $TSRM_PTH != "pth-config" ; then
- echo "+--------------------------------------------------------------------+"
- echo "| *** WARNING *** |"
- echo "| |"
- echo "| In order to build PHP as a Apache2 module on FreeBSD, you have to |"
- echo "| add --with-tsrm-pth to your ./configure line. Therefore you need |"
- echo "| to install gnu-pth from /usr/ports/devel/pth. |"
- fi
-
- if test -n "$PHP_APXS_BROKEN"; then
- echo "+--------------------------------------------------------------------+"
- echo "| WARNING: Your $APXS script is most likely broken."
- echo "| |"
- echo "| Please go read http://www.php.net/faq.build#faq.build.apxs |"
- echo "| and make the changes described there and try again. |"
- fi
-
- # Warn about CGI version with no extra security options.
- if test "$PHP_SAPI" = "cgi"; then
- if test "$REDIRECT" = "0"; then
- if test "$DISCARD_PATH" = "0"; then
- echo "+--------------------------------------------------------------------+"
- echo "| *** WARNING *** |"
- echo "| |"
- echo "| You will be compiling the CGI version of PHP without any |"
- echo "| redirection checking. By putting this cgi binary somewhere in |"
- echo "| your web space, users may be able to circumvent existing .htaccess |"
- echo "| security by loading files directly through the parser. See |"
- echo "| http://www.php.net/manual/security.php for more details. |"
- fi
- fi
- fi
-
-
- if test -n "$DEBUG_LOG"; then
- rm -f config.cache
-cat <<X
-+--------------------------------------------------------------------+
-| *** ATTENTION *** |
-| |
-| Something is likely to be messed up here, because the configure |
-| script was not able to detect a simple feature on your platform. |
-| This is often caused by incorrect configuration parameters. Please |
-| see the file debug.log for error messages. |
-| |
-| If you are unable to fix this, send the file debug.log to the |
-| php-install@lists.php.net mailing list and include appropiate |
-| information about your setup. |
-X
- fi
-
- if test "$MYSQL_MODULE_TYPE" = "builtin" && test "$PHP_SAPI" != "cgi" && test "$PHP_SAPI" != "cli"; then
-cat <<X
-+--------------------------------------------------------------------+
-| *** WARNING *** |
-| |
-| You chose to compile PHP with the built-in MySQL support. If you |
-| are compiling a server module, and intend to use other server |
-| modules that also use MySQL (e.g, mod_auth_mysql, PHP 3.0, |
-| mod_perl) you must NOT rely on PHP's built-in MySQL support, and |
-| instead build it with your local MySQL support files, by adding |
-| --with-mysql=/path/to/mysql to your configure line. |
-X
- fi
-
- # Warn about linking Apache with libpthread if oci8 extension is enabled on linux.
- if test "$PHP_OCI8" != "no" -o "$PHP_ORACLE" != "no"; then
- if test "$PHP_SAPI" = "apache"; then
- if test `uname` = "Linux"; then
-cat <<X
-+--------------------------------------------------------------------+
-| *** WARNING *** |
-| |
-| Please check that your Apache (httpd) is linked with libpthread. |
-| If not, you have to recompile Apache with pthread. For more |
-| details, see this page: http://www.php.net/manual/ref.oci8.php |
-X
- fi
- fi
-
- if test "$PHP_SIGCHILD" != "yes"; then
-cat <<X
-+--------------------------------------------------------------------+
-| Notice: |
-| If you encounter <defunc> processes when using a local Oracle-DB |
-| please recompile PHP and specify --enable-sigchild when configuring|
-| (This problem has been reported under Linux using Oracle >= 8.1.5) |
-X
- fi
- fi
-
-cat<<X
-+--------------------------------------------------------------------+
-| License: |
-| This software is subject to the PHP License, available in this |
-| distribution in the file LICENSE. By continuing this installation |
-| process, you are bound by the terms of this license agreement. |
-| If you do not agree with the terms of this license, you must abort |
-| the installation process at this point. |
-+--------------------------------------------------------------------+
-| *** NOTE *** |
-| The default for register_globals is now OFF! |
-| |
-| If your application relies on register_globals being ON, you |
-| should explicitly set it to on in your php.ini file. |
-| Note that you are strongly encouraged to read |
-| http://www.php.net/manual/en/security.registerglobals.php |
-| about the implications of having register_globals set to on, and |
-| avoid using it if possible. |
-+--------------------------------------------------------------------+
-
-
-Thank you for using PHP.
-
-X
-
-fi
-])
-
-dnl ## Local Variables:
-dnl ## tab-width: 4
-dnl ## End:
diff --git a/cvsclean b/cvsclean
deleted file mode 100755
index e98ec49b76..0000000000
--- a/cvsclean
+++ /dev/null
@@ -1,3 +0,0 @@
-#! /bin/sh
-
-${MAKE:-make} -f build/build.mk cvsclean
diff --git a/ext/imap/imap.h b/ext/imap/imap.h
deleted file mode 100644
index 914d128316..0000000000
--- a/ext/imap/imap.h
+++ /dev/null
@@ -1,103 +0,0 @@
-#ifndef _INCLUDED_IMAP_H
-#define _INCLUDED_IMAP_H
-
-#if COMPILE_DL
-#undef HAVE_IMAP
-#define HAVE_IMAP 1
-#endif
-
-#if HAVE_IMAP
-
-#ifndef PHP_WIN32
-#include "build-defs.h"
-#endif
-
-/* Functions accessable to PHP */
-extern zend_module_entry imap_module_entry;
-#define imap_module_ptr &imap_module_entry
-
-extern PHP_MINIT_FUNCTION(imap);
-extern PHP_RINIT_FUNCTION(imap);
-extern PHP_RSHUTDOWN_FUNCTION(imap);
-PHP_MINFO_FUNCTION(imap);
-PHP_FUNCTION(imap_open);
-PHP_FUNCTION(imap_popen);
-PHP_FUNCTION(imap_reopen);
-PHP_FUNCTION(imap_num_msg);
-PHP_FUNCTION(imap_num_recent);
-PHP_FUNCTION(imap_headers);
-PHP_FUNCTION(imap_headerinfo);
-PHP_FUNCTION(imap_rfc822_parse_headers);
-PHP_FUNCTION(imap_body);
-PHP_FUNCTION(imap_fetchstructure);
-PHP_FUNCTION(imap_fetchbody);
-PHP_FUNCTION(imap_expunge);
-PHP_FUNCTION(imap_delete);
-PHP_FUNCTION(imap_undelete);
-PHP_FUNCTION(imap_check);
-PHP_FUNCTION(imap_close);
-PHP_FUNCTION(imap_mail_copy);
-PHP_FUNCTION(imap_mail_move);
-PHP_FUNCTION(imap_createmailbox);
-PHP_FUNCTION(imap_renamemailbox);
-PHP_FUNCTION(imap_deletemailbox);
-PHP_FUNCTION(imap_listmailbox);
-PHP_FUNCTION(imap_scanmailbox);
-PHP_FUNCTION(imap_subscribe);
-PHP_FUNCTION(imap_unsubscribe);
-PHP_FUNCTION(imap_append);
-PHP_FUNCTION(imap_ping);
-PHP_FUNCTION(imap_base64);
-PHP_FUNCTION(imap_qprint);
-PHP_FUNCTION(imap_8bit);
-PHP_FUNCTION(imap_binary);
-PHP_FUNCTION(imap_mailboxmsginfo);
-PHP_FUNCTION(imap_rfc822_write_address);
-PHP_FUNCTION(imap_rfc822_parse_adrlist);
-PHP_FUNCTION(imap_setflag_full);
-PHP_FUNCTION(imap_clearflag_full);
-PHP_FUNCTION(imap_sort);
-PHP_FUNCTION(imap_fetchheader);
-PHP_FUNCTION(imap_fetchtext);
-PHP_FUNCTION(imap_uid);
-PHP_FUNCTION(imap_msgno);
-PHP_FUNCTION(imap_list);
-PHP_FUNCTION(imap_list_full);
-PHP_FUNCTION(imap_listscan);
-PHP_FUNCTION(imap_lsub);
-PHP_FUNCTION(imap_lsub_full);
-PHP_FUNCTION(imap_create);
-PHP_FUNCTION(imap_rename);
-PHP_FUNCTION(imap_status);
-PHP_FUNCTION(imap_bodystruct);
-PHP_FUNCTION(imap_fetch_overview);
-PHP_FUNCTION(imap_mail_compose);
-PHP_FUNCTION(imap_alerts);
-PHP_FUNCTION(imap_errors);
-PHP_FUNCTION(imap_last_error);
-PHP_FUNCTION(imap_mail);
-PHP_FUNCTION(imap_search);
-PHP_FUNCTION(imap_utf8);
-PHP_FUNCTION(imap_utf7_decode);
-PHP_FUNCTION(imap_utf7_encode);
-PHP_FUNCTION(imap_mime_header_decode);
-#else
-#define imap_module_ptr NULL
-#endif /* HAVE_IMAP */
-
-#endif
-
-
-
-
-
-
-#define phpext_imap_ptr imap_module_ptr
-
-
-
-
-
-
-
-
diff --git a/ext/pcre/config0.m4 b/ext/pcre/config0.m4
deleted file mode 100644
index 7f03ddd3df..0000000000
--- a/ext/pcre/config0.m4
+++ /dev/null
@@ -1,55 +0,0 @@
-dnl
-dnl $Id$
-dnl
-
-dnl By default we'll compile and link against the bundled PCRE library
-dnl if DIR is supplied, we'll use that for linking
-
-PHP_ARG_WITH(pcre-regex,for PCRE support,
-[ --without-pcre-regex Do not include Perl Compatible Regular Expressions
- support. Use --with-pcre-regex=DIR to specify DIR
- where PCRE's include and library files are located,
- if not using bundled library.],yes)
-
-if test "$PHP_PCRE_REGEX" != "no"; then
- if test "$PHP_PCRE_REGEX" = "yes"; then
- PHP_NEW_EXTENSION(pcre, pcrelib/maketables.c pcrelib/get.c pcrelib/study.c pcrelib/pcre.c php_pcre.c, $ext_shared,,-DSUPPORT_UTF8 -I@ext_srcdir@/pcrelib)
- PHP_ADD_BUILD_DIR($ext_builddir/pcrelib)
- AC_DEFINE(HAVE_BUNDLED_PCRE, 1, [ ])
- else
- test -f $PHP_PCRE_REGEX/pcre.h && PCRE_INCDIR=$PHP_PCRE_REGEX
- test -f $PHP_PCRE_REGEX/include/pcre.h && PCRE_INCDIR=$PHP_PCRE_REGEX/include
-
- if test -z "$PCRE_INCDIR"; then
- AC_MSG_RESULT(Could not find pcre.h in $PHP_PCRE_REGEX)
- fi
-
- changequote({,})
- pcre_major=`grep PCRE_MAJOR $PCRE_INCDIR/pcre.h | sed -e 's/[^0-9]//g'`
- pcre_minor=`grep PCRE_MINOR $PCRE_INCDIR/pcre.h | sed -e 's/[^0-9]//g'`
- changequote([,])
- pcre_minor_length=`echo "$pcre_minor" | wc -c | sed -e 's/[^0-9]//g'`
- if test "$pcre_minor_length" -eq 2 ; then
- pcre_minor="$pcre_minor"0
- fi
- pcre_version=$pcre_major$pcre_minor
- if test "$pcre_version" -lt 208; then
- AC_MSG_ERROR(The PCRE extension requires PCRE library version >= 2.08)
- fi
-
- test -f $PHP_PCRE_REGEX/libpcre.a && PCRE_LIBDIR=$PHP_PCRE_REGEX
- test -f $PHP_PCRE_REGEX/lib/libpcre.a && PCRE_LIBDIR=$PHP_PCRE_REGEX/lib
-
- if test -z "$PCRE_LIBDIR" ; then
- AC_MSG_ERROR(Could not find libpcre.a in $PHP_PCRE_REGEX)
- fi
-
- PHP_ADD_LIBRARY_WITH_PATH(pcre, $PCRE_LIBDIR, PCRE_SHARED_LIBADD)
-
- AC_DEFINE(HAVE_PCRE, 1, [ ])
- PHP_NEW_EXTENSION(pcre, php_pcre.c, $ext_shared,,-DSUPPORT_UTF8 -I$PCRE_INCDIR)
- fi
-fi
-PHP_SUBST(PCRE_SHARED_LIBADD)
-
-AC_CHECK_FUNC(memmove, [], [AC_DEFINE(USE_BCOPY, 1, [ ])])
diff --git a/footer b/footer
deleted file mode 100644
index 6513b56b0b..0000000000
--- a/footer
+++ /dev/null
@@ -1,8 +0,0 @@
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * indent-tabs-mode: t
- * End:
- */
diff --git a/genfiles b/genfiles
deleted file mode 100755
index c20115f2eb..0000000000
--- a/genfiles
+++ /dev/null
@@ -1,14 +0,0 @@
-#! /bin/sh
-
-STD='make -f Makefile.frag LEX="flex -L" YACC="bison -y -l" srcdir=Zend builddir=Zend'
-
-(eval "$STD Zend/zend_language_parser.c Zend/zend_language_scanner.c Zend/zend_ini_parser.c Zend/zend_ini_scanner.c")
-
-set -x
-bison -d -y -l ext/standard/parsedate.y -o ext/standard/parsedate.c
-
-for f in ext/standard/url_scanner_ex.c ext/standard/var_unserializer.c; do
- cp $f $f.orig
- grep -v '#line ' $f.orig > $f
-done
-
diff --git a/header b/header
deleted file mode 100644
index 2ed55ff4e8..0000000000
--- a/header
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- +----------------------------------------------------------------------+
- | PHP Version 4 |
- +----------------------------------------------------------------------+
- | Copyright (c) 1997-2002 The PHP Group |
- +----------------------------------------------------------------------+
- | This source file is subject to version 2.02 of the PHP license, |
- | that is bundled with this package in the file LICENSE, and is |
- | available at through the world-wide-web at |
- | http://www.php.net/license/2_02.txt. |
- | If you did not receive a copy of the PHP license and are unable to |
- | obtain it through the world-wide-web, please send a note to |
- | license@php.net so we can mail you a copy immediately. |
- +----------------------------------------------------------------------+
- | Author: |
- +----------------------------------------------------------------------+
-
- $Id$
-*/
diff --git a/ltmain.sh b/ltmain.sh
deleted file mode 100644
index 5959c479b0..0000000000
--- a/ltmain.sh
+++ /dev/null
@@ -1,4946 +0,0 @@
-# ltmain.sh - Provide generalized library-building support services.
-# NOTE: Changing this file will not affect anything until you rerun configure.
-#
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
-# Free Software Foundation, Inc.
-# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-#
-# As a special exception to the GNU General Public License, if you
-# distribute this file as part of a program that contains a
-# configuration script generated by Autoconf, you may include it under
-# the same distribution terms that you use for the rest of that program.
-
-# Check that we have a working $echo.
-if test "X$1" = X--no-reexec; then
- # Discard the --no-reexec flag, and continue.
- shift
-elif test "X$1" = X--fallback-echo; then
- # Avoid inline document here, it may be left over
- :
-elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
- # Yippee, $echo works!
- :
-else
- # Restart under the correct shell, and then maybe $echo will work.
- exec $SHELL "$0" --no-reexec ${1+"$@"}
-fi
-
-if test "X$1" = X--fallback-echo; then
- # used as fallback echo
- shift
- cat <<EOF
-$*
-EOF
- exit 0
-fi
-
-# The name of this program.
-progname=`$echo "$0" | sed 's%^.*/%%'`
-modename="$progname"
-
-# Constants.
-PROGRAM=ltmain.sh
-PACKAGE=libtool
-VERSION=1.4
-TIMESTAMP=" (1.920 2001/04/24 23:26:18)"
-
-default_mode=
-help="Try \`$progname --help' for more information."
-magic="%%%MAGIC variable%%%"
-mkdir="mkdir"
-mv="mv -f"
-rm="rm -f"
-
-# Sed substitution that helps us do robust quoting. It backslashifies
-# metacharacters that are still active within double-quoted strings.
-Xsed='sed -e 1s/^X//'
-sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
-SP2NL='tr \040 \012'
-NL2SP='tr \015\012 \040\040'
-
-# NLS nuisances.
-# Only set LANG and LC_ALL to C if already set.
-# These must not be set unconditionally because not all systems understand
-# e.g. LANG=C (notably SCO).
-# We save the old values to restore during execute mode.
-if test "${LC_ALL+set}" = set; then
- save_LC_ALL="$LC_ALL"; LC_ALL=C; export LC_ALL
-fi
-if test "${LANG+set}" = set; then
- save_LANG="$LANG"; LANG=C; export LANG
-fi
-
-if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
- echo "$modename: not configured to build any kind of library" 1>&2
- echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
- exit 1
-fi
-
-# Global variables.
-mode=$default_mode
-nonopt=
-prev=
-prevopt=
-run=
-show="$echo"
-show_help=
-execute_dlfiles=
-lo2o="s/\\.lo\$/.${objext}/"
-o2lo="s/\\.${objext}\$/.lo/"
-
-# Parse our command line options once, thoroughly.
-while test $# -gt 0
-do
- arg="$1"
- shift
-
- case $arg in
- -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;;
- *) optarg= ;;
- esac
-
- # If the previous option needs an argument, assign it.
- if test -n "$prev"; then
- case $prev in
- execute_dlfiles)
- execute_dlfiles="$execute_dlfiles $arg"
- ;;
- *)
- eval "$prev=\$arg"
- ;;
- esac
-
- prev=
- prevopt=
- continue
- fi
-
- # Have we seen a non-optional argument yet?
- case $arg in
- --help)
- show_help=yes
- ;;
-
- --version)
- echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
- exit 0
- ;;
-
- --config)
- sed -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $0
- exit 0
- ;;
-
- --debug)
- echo "$progname: enabling shell trace mode"
- set -x
- ;;
-
- --dry-run | -n)
- run=:
- ;;
-
- --features)
- echo "host: $host"
- if test "$build_libtool_libs" = yes; then
- echo "enable shared libraries"
- else
- echo "disable shared libraries"
- fi
- if test "$build_old_libs" = yes; then
- echo "enable static libraries"
- else
- echo "disable static libraries"
- fi
- exit 0
- ;;
-
- --finish) mode="finish" ;;
-
- --mode) prevopt="--mode" prev=mode ;;
- --mode=*) mode="$optarg" ;;
-
- --quiet | --silent)
- show=:
- ;;
-
- -dlopen)
- prevopt="-dlopen"
- prev=execute_dlfiles
- ;;
-
- -*)
- $echo "$modename: unrecognized option \`$arg'" 1>&2
- $echo "$help" 1>&2
- exit 1
- ;;
-
- *)
- nonopt="$arg"
- break
- ;;
- esac
-done
-
-if test -n "$prevopt"; then
- $echo "$modename: option \`$prevopt' requires an argument" 1>&2
- $echo "$help" 1>&2
- exit 1
-fi
-
-if test -z "$show_help"; then
-
- # Infer the operation mode.
- if test -z "$mode"; then
- case $nonopt in
- *cc | *++ | gcc* | *-gcc*)
- mode=link
- for arg
- do
- case $arg in
- -c)
- mode=compile
- break
- ;;
- esac
- done
- ;;
- *db | *dbx | *strace | *truss)
- mode=execute
- ;;
- *install*|cp|mv)
- mode=install
- ;;
- *rm)
- mode=uninstall
- ;;
- *)
- # If we have no mode, but dlfiles were specified, then do execute mode.
- test -n "$execute_dlfiles" && mode=execute
-
- # Just use the default operation mode.
- if test -z "$mode"; then
- if test -n "$nonopt"; then
- $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2
- else
- $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2
- fi
- fi
- ;;
- esac
- fi
-
- # Only execute mode is allowed to have -dlopen flags.
- if test -n "$execute_dlfiles" && test "$mode" != execute; then
- $echo "$modename: unrecognized option \`-dlopen'" 1>&2
- $echo "$help" 1>&2
- exit 1
- fi
-
- # Change the help message to a mode-specific one.
- generic_help="$help"
- help="Try \`$modename --help --mode=$mode' for more information."
-
- # These modes are in order of execution frequency so that they run quickly.
- case $mode in
- # libtool compile mode
- compile)
- modename="$modename: compile"
- # Get the compilation command and the source file.
- base_compile=
- prev=
- lastarg=
- srcfile="$nonopt"
- suppress_output=
-
- user_target=no
- for arg
- do
- case $prev in
- "") ;;
- xcompiler)
- # Aesthetically quote the previous argument.
- prev=
- lastarg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
-
- case $arg in
- # Double-quote args containing other shell metacharacters.
- # Many Bourne shells cannot handle close brackets correctly
- # in scan sets, so we specify it separately.
- *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
- arg="\"$arg\""
- ;;
- esac
-
- # Add the previous argument to base_compile.
- if test -z "$base_compile"; then
- base_compile="$lastarg"
- else
- base_compile="$base_compile $lastarg"
- fi
- continue
- ;;
- esac
-
- # Accept any command-line options.
- case $arg in
- -o)
- if test "$user_target" != "no"; then
- $echo "$modename: you cannot specify \`-o' more than once" 1>&2
- exit 1
- fi
- user_target=next
- ;;
-
- -static)
- build_old_libs=yes
- continue
- ;;
-
- -prefer-pic)
- pic_mode=yes
- continue
- ;;
-
- -prefer-non-pic)
- pic_mode=no
- continue
- ;;
-
- -Xcompiler)
- prev=xcompiler
- continue
- ;;
-
- -Wc,*)
- args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
- lastarg=
- IFS="${IFS= }"; save_ifs="$IFS"; IFS=','
- for arg in $args; do
- IFS="$save_ifs"
-
- # Double-quote args containing other shell metacharacters.
- # Many Bourne shells cannot handle close brackets correctly
- # in scan sets, so we specify it separately.
- case $arg in
- *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
- arg="\"$arg\""
- ;;
- esac
- lastarg="$lastarg $arg"
- done
- IFS="$save_ifs"
- lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"`
-
- # Add the arguments to base_compile.
- if test -z "$base_compile"; then
- base_compile="$lastarg"
- else
- base_compile="$base_compile $lastarg"
- fi
- continue
- ;;
- esac
-
- case $user_target in
- next)
- # The next one is the -o target name
- user_target=yes
- continue
- ;;
- yes)
- # We got the output file
- user_target=set
- libobj="$arg"
- continue
- ;;
- esac
-
- # Accept the current argument as the source file.
- lastarg="$srcfile"
- srcfile="$arg"
-
- # Aesthetically quote the previous argument.
-
- # Backslashify any backslashes, double quotes, and dollar signs.
- # These are the only characters that are still specially
- # interpreted inside of double-quoted scrings.
- lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"`
-
- # Double-quote args containing other shell metacharacters.
- # Many Bourne shells cannot handle close brackets correctly
- # in scan sets, so we specify it separately.
- case $lastarg in
- *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
- lastarg="\"$lastarg\""
- ;;
- esac
-
- # Add the previous argument to base_compile.
- if test -z "$base_compile"; then
- base_compile="$lastarg"
- else
- base_compile="$base_compile $lastarg"
- fi
- done
-
- case $user_target in
- set)
- ;;
- no)
- # Get the name of the library object.
- libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'`
- ;;
- *)
- $echo "$modename: you must specify a target with \`-o'" 1>&2
- exit 1
- ;;
- esac
-
- # Recognize several different file suffixes.
- # If the user specifies -o file.o, it is replaced with file.lo
- xform='[cCFSfmso]'
- case $libobj in
- *.ada) xform=ada ;;
- *.adb) xform=adb ;;
- *.ads) xform=ads ;;
- *.asm) xform=asm ;;
- *.c++) xform=c++ ;;
- *.cc) xform=cc ;;
- *.cpp) xform=cpp ;;
- *.cxx) xform=cxx ;;
- *.f90) xform=f90 ;;
- *.for) xform=for ;;
- esac
-
- libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
-
- case $libobj in
- *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;;
- *)
- $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2
- exit 1
- ;;
- esac
-
- if test -z "$base_compile"; then
- $echo "$modename: you must specify a compilation command" 1>&2
- $echo "$help" 1>&2
- exit 1
- fi
-
- # Delete any leftover library objects.
- if test "$build_old_libs" = yes; then
- removelist="$obj $libobj"
- else
- removelist="$libobj"
- fi
-
- $run $rm $removelist
- trap "$run $rm $removelist; exit 1" 1 2 15
-
- # On Cygwin there's no "real" PIC flag so we must build both object types
- case $host_os in
- cygwin* | mingw* | pw32* | os2*)
- pic_mode=default
- ;;
- esac
- if test $pic_mode = no && test "$deplibs_check_method" != pass_all; then
- # non-PIC code in shared libraries is not supported
- pic_mode=default
- fi
-
- # Calculate the filename of the output object if compiler does
- # not support -o with -c
- if test "$compiler_c_o" = no; then
- output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
- lockfile="$output_obj.lock"
- removelist="$removelist $output_obj $lockfile"
- trap "$run $rm $removelist; exit 1" 1 2 15
- else
- need_locks=no
- lockfile=
- fi
-
- # Lock this critical section if it is needed
- # We use this script file to make the link, it avoids creating a new file
- if test "$need_locks" = yes; then
- until $run ln "$0" "$lockfile" 2>/dev/null; do
- $show "Waiting for $lockfile to be removed"
- sleep 2
- done
- elif test "$need_locks" = warn; then
- if test -f "$lockfile"; then
- echo "\
-*** ERROR, $lockfile exists and contains:
-`cat $lockfile 2>/dev/null`
-
-This indicates that another process is trying to use the same
-temporary object file, and libtool could not work around it because
-your compiler does not support \`-c' and \`-o' together. If you
-repeat this compilation, it may succeed, by chance, but you had better
-avoid parallel builds (make -j) in this platform, or get a better
-compiler."
-
- $run $rm $removelist
- exit 1
- fi
- echo $srcfile > "$lockfile"
- fi
-
- if test -n "$fix_srcfile_path"; then
- eval srcfile=\"$fix_srcfile_path\"
- fi
-
- # Only build a PIC object if we are building libtool libraries.
- if test "$build_libtool_libs" = yes; then
- # Without this assignment, base_compile gets emptied.
- fbsd_hideous_sh_bug=$base_compile
-
- if test "$pic_mode" != no; then
- # All platforms use -DPIC, to notify preprocessed assembler code.
- command="$base_compile $srcfile $pic_flag -DPIC"
- else
- # Don't build PIC code
- command="$base_compile $srcfile"
- fi
- if test "$build_old_libs" = yes; then
- lo_libobj="$libobj"
- dir=`$echo "X$libobj" | $Xsed -e 's%/[^/]*$%%'`
- if test "X$dir" = "X$libobj"; then
- dir="$objdir"
- else
- dir="$dir/$objdir"
- fi
- libobj="$dir/"`$echo "X$libobj" | $Xsed -e 's%^.*/%%'`
-
- if test -d "$dir"; then
- $show "$rm $libobj"
- $run $rm $libobj
- else
- $show "$mkdir $dir"
- $run $mkdir $dir
- status=$?
- if test $status -ne 0 && test ! -d $dir; then
- exit $status
- fi
- fi
- fi
- if test "$compiler_o_lo" = yes; then
- output_obj="$libobj"
- command="$command -o $output_obj"
- elif test "$compiler_c_o" = yes; then
- output_obj="$obj"
- command="$command -o $output_obj"
- fi
-
- $run $rm "$output_obj"
- $show "$command"
- if $run eval "$command"; then :
- else
- test -n "$output_obj" && $run $rm $removelist
- exit 1
- fi
-
- if test "$need_locks" = warn &&
- test x"`cat $lockfile 2>/dev/null`" != x"$srcfile"; then
- echo "\
-*** ERROR, $lockfile contains:
-`cat $lockfile 2>/dev/null`
-
-but it should contain:
-$srcfile
-
-This indicates that another process is trying to use the same
-temporary object file, and libtool could not work around it because
-your compiler does not support \`-c' and \`-o' together. If you
-repeat this compilation, it may succeed, by chance, but you had better
-avoid parallel builds (make -j) in this platform, or get a better
-compiler."
-
- $run $rm $removelist
- exit 1
- fi
-
- # Just move the object if needed, then go on to compile the next one
- if test x"$output_obj" != x"$libobj"; then
- $show "$mv $output_obj $libobj"
- if $run $mv $output_obj $libobj; then :
- else
- error=$?
- $run $rm $removelist
- exit $error
- fi
- fi
-
- # If we have no pic_flag, then copy the object into place and finish.
- if (test -z "$pic_flag" || test "$pic_mode" != default) &&
- test "$build_old_libs" = yes; then
- # Rename the .lo from within objdir to obj
- if test -f $obj; then
- $show $rm $obj
- $run $rm $obj
- fi
-
- $show "$mv $libobj $obj"
- if $run $mv $libobj $obj; then :
- else
- error=$?
- $run $rm $removelist
- exit $error
- fi
-
- xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
- if test "X$xdir" = "X$obj"; then
- xdir="."
- else
- xdir="$xdir"
- fi
- baseobj=`$echo "X$obj" | $Xsed -e "s%.*/%%"`
- libobj=`$echo "X$baseobj" | $Xsed -e "$o2lo"`
- # Now arrange that obj and lo_libobj become the same file
- $show "(cd $xdir && $LN_S $baseobj $libobj)"
- if $run eval '(cd $xdir && $LN_S $baseobj $libobj)'; then
- exit 0
- else
- error=$?
- $run $rm $removelist
- exit $error
- fi
- fi
-
- # Allow error messages only from the first compilation.
- suppress_output=' >/dev/null 2>&1'
- fi
-
- # Only build a position-dependent object if we build old libraries.
- if test "$build_old_libs" = yes; then
- if test "$pic_mode" != yes; then
- # Don't build PIC code
- command="$base_compile $srcfile"
- else
- # All platforms use -DPIC, to notify preprocessed assembler code.
- command="$base_compile $srcfile $pic_flag -DPIC"
- fi
- if test "$compiler_c_o" = yes; then
- command="$command -o $obj"
- output_obj="$obj"
- fi
-
- # Suppress compiler output if we already did a PIC compilation.
- command="$command$suppress_output"
- $run $rm "$output_obj"
- $show "$command"
- if $run eval "$command"; then :
- else
- $run $rm $removelist
- exit 1
- fi
-
- if test "$need_locks" = warn &&
- test x"`cat $lockfile 2>/dev/null`" != x"$srcfile"; then
- echo "\
-*** ERROR, $lockfile contains:
-`cat $lockfile 2>/dev/null`
-
-but it should contain:
-$srcfile
-
-This indicates that another process is trying to use the same
-temporary object file, and libtool could not work around it because
-your compiler does not support \`-c' and \`-o' together. If you
-repeat this compilation, it may succeed, by chance, but you had better
-avoid parallel builds (make -j) in this platform, or get a better
-compiler."
-
- $run $rm $removelist
- exit 1
- fi
-
- # Just move the object if needed
- if test x"$output_obj" != x"$obj"; then
- $show "$mv $output_obj $obj"
- if $run $mv $output_obj $obj; then :
- else
- error=$?
- $run $rm $removelist
- exit $error
- fi
- fi
-
- # Create an invalid libtool object if no PIC, so that we do not
- # accidentally link it into a program.
- if test "$build_libtool_libs" != yes; then
- $show "echo timestamp > $libobj"
- $run eval "echo timestamp > \$libobj" || exit $?
- else
- # Move the .lo from within objdir
- $show "$mv $libobj $lo_libobj"
- if $run $mv $libobj $lo_libobj; then :
- else
- error=$?
- $run $rm $removelist
- exit $error
- fi
- fi
- fi
-
- # Unlock the critical section if it was locked
- if test "$need_locks" != no; then
- $run $rm "$lockfile"
- fi
-
- exit 0
- ;;
-
- # libtool link mode
- link | relink)
- modename="$modename: link"
- case $host in
- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
- # It is impossible to link a dll without this setting, and
- # we shouldn't force the makefile maintainer to figure out
- # which system we are compiling for in order to pass an extra
- # flag for every libtool invokation.
- # allow_undefined=no
-
- # FIXME: Unfortunately, there are problems with the above when trying
- # to make a dll which has undefined symbols, in which case not
- # even a static library is built. For now, we need to specify
- # -no-undefined on the libtool link line when we can be certain
- # that all symbols are satisfied, otherwise we get a static library.
- allow_undefined=yes
- ;;
- *)
- allow_undefined=yes
- ;;
- esac
- libtool_args="$nonopt"
- compile_command="$nonopt"
- finalize_command="$nonopt"
-
- compile_rpath=
- finalize_rpath=
- compile_shlibpath=
- finalize_shlibpath=
- convenience=
- old_convenience=
- deplibs=
- old_deplibs=
- compiler_flags=
- linker_flags=
- dllsearchpath=
- lib_search_path=`pwd`
-
- avoid_version=no
- dlfiles=
- dlprefiles=
- dlself=no
- export_dynamic=no
- export_symbols=
- export_symbols_regex=
- generated=
- libobjs=
- ltlibs=
- module=no
- no_install=no
- objs=
- prefer_static_libs=no
- preload=no
- prev=
- prevarg=
- release=
- rpath=
- xrpath=
- perm_rpath=
- temp_rpath=
- thread_safe=no
- vinfo=
-
- # We need to know -static, to get the right output filenames.
- for arg
- do
- case $arg in
- -all-static | -static)
- if test "X$arg" = "X-all-static"; then
- if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
- $echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2
- fi
- if test -n "$link_static_flag"; then
- dlopen_self=$dlopen_self_static
- fi
- else
- if test -z "$pic_flag" && test -n "$link_static_flag"; then
- dlopen_self=$dlopen_self_static
- fi
- fi
- build_libtool_libs=no
- build_old_libs=yes
- prefer_static_libs=yes
- break
- ;;
- esac
- done
-
- # See if our shared archives depend on static archives.
- test -n "$old_archive_from_new_cmds" && build_old_libs=yes
-
- # Go through the arguments, transforming them on the way.
- while test $# -gt 0; do
- arg="$1"
- shift
- case $arg in
- *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
- qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test
- ;;
- *) qarg=$arg ;;
- esac
- libtool_args="$libtool_args $qarg"
-
- # If the previous option needs an argument, assign it.
- if test -n "$prev"; then
- case $prev in
- output)
- compile_command="$compile_command @OUTPUT@"
- finalize_command="$finalize_command @OUTPUT@"
- ;;
- esac
-
- case $prev in
- dlfiles|dlprefiles)
- if test "$preload" = no; then
- # Add the symbol object into the linking commands.
- compile_command="$compile_command @SYMFILE@"
- finalize_command="$finalize_command @SYMFILE@"
- preload=yes
- fi
- case $arg in
- *.la | *.lo) ;; # We handle these cases below.
- force)
- if test "$dlself" = no; then
- dlself=needless
- export_dynamic=yes
- fi
- prev=
- continue
- ;;
- self)
- if test "$prev" = dlprefiles; then
- dlself=yes
- elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then
- dlself=yes
- else
- dlself=needless
- export_dynamic=yes
- fi
- prev=
- continue
- ;;
- *)
- if test "$prev" = dlfiles; then
- dlfiles="$dlfiles $arg"
- else
- dlprefiles="$dlprefiles $arg"
- fi
- prev=
- continue
- ;;
- esac
- ;;
- expsyms)
- export_symbols="$arg"
- if test ! -f "$arg"; then
- $echo "$modename: symbol file \`$arg' does not exist"
- exit 1
- fi
- prev=
- continue
- ;;
- expsyms_regex)
- export_symbols_regex="$arg"
- prev=
- continue
- ;;
- release)
- release="-$arg"
- prev=
- continue
- ;;
- rpath | xrpath)
- # We need an absolute path.
- case $arg in
- [\\/]* | [A-Za-z]:[\\/]*) ;;
- *)
- $echo "$modename: only absolute run-paths are allowed" 1>&2
- exit 1
- ;;
- esac
- if test "$prev" = rpath; then
- case "$rpath " in
- *" $arg "*) ;;
- *) rpath="$rpath $arg" ;;
- esac
- else
- case "$xrpath " in
- *" $arg "*) ;;
- *) xrpath="$xrpath $arg" ;;
- esac
- fi
- prev=
- continue
- ;;
- xcompiler)
- compiler_flags="$compiler_flags $qarg"
- prev=
- compile_command="$compile_command $qarg"
- finalize_command="$finalize_command $qarg"
- continue
- ;;
- xlinker)
- linker_flags="$linker_flags $qarg"
- compiler_flags="$compiler_flags $wl$qarg"
- prev=
- compile_command="$compile_command $wl$qarg"
- finalize_command="$finalize_command $wl$qarg"
- continue
- ;;
- *)
- eval "$prev=\"\$arg\""
- prev=
- continue
- ;;
- esac
- fi # test -n $prev
-
- prevarg="$arg"
-
- case $arg in
- -all-static)
- if test -n "$link_static_flag"; then
- compile_command="$compile_command $link_static_flag"
- finalize_command="$finalize_command $link_static_flag"
- fi
- continue
- ;;
-
- -allow-undefined)
- # FIXME: remove this flag sometime in the future.
- $echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2
- continue
- ;;
-
- -avoid-version)
- avoid_version=yes
- continue
- ;;
-
- -dlopen)
- prev=dlfiles
- continue
- ;;
-
- -dlpreopen)
- prev=dlprefiles
- continue
- ;;
-
- -export-dynamic)
- export_dynamic=yes
- continue
- ;;
-
- -export-symbols | -export-symbols-regex)
- if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
- $echo "$modename: more than one -exported-symbols argument is not allowed"
- exit 1
- fi
- if test "X$arg" = "X-export-symbols"; then
- prev=expsyms
- else
- prev=expsyms_regex
- fi
- continue
- ;;
-
- # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
- # so, if we see these flags be careful not to treat them like -L
- -L[A-Z][A-Z]*:*)
- case $with_gcc/$host in
- no/*-*-irix*)
- compile_command="$compile_command $arg"
- finalize_command="$finalize_command $arg"
- ;;
- esac
- continue
- ;;
-
- -L*)
- dir=`$echo "X$arg" | $Xsed -e 's/^-L//'`
- # We need an absolute path.
- case $dir in
- [\\/]* | [A-Za-z]:[\\/]*) ;;
- *)
- absdir=`cd "$dir" && pwd`
- if test -z "$absdir"; then
- $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
- exit 1
- fi
- dir="$absdir"
- ;;
- esac
- case "$deplibs " in
- *" -L$dir "*) ;;
- *)
- deplibs="$deplibs -L$dir"
- lib_search_path="$lib_search_path $dir"
- ;;
- esac
- case $host in
- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
- case :$dllsearchpath: in
- *":$dir:"*) ;;
- *) dllsearchpath="$dllsearchpath:$dir";;
- esac
- ;;
- esac
- continue
- ;;
-
- -l*)
- if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
- case $host in
- *-*-cygwin* | *-*-pw32* | *-*-beos*)
- # These systems don't actually have a C or math library (as such)
- continue
- ;;
- *-*-mingw* | *-*-os2*)
- # These systems don't actually have a C library (as such)
- test "X$arg" = "X-lc" && continue
- ;;
- esac
- fi
- deplibs="$deplibs $arg"
- continue
- ;;
-
- -module)
- module=yes
- continue
- ;;
-
- -no-fast-install)
- fast_install=no
- continue
- ;;
-
- -no-install)
- case $host in
- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
- # The PATH hackery in wrapper scripts is required on Windows
- # in order for the loader to find any dlls it needs.
- $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
- $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
- fast_install=no
- ;;
- *) no_install=yes ;;
- esac
- continue
- ;;
-
- -no-undefined)
- allow_undefined=no
- continue
- ;;
-
- -o) prev=output ;;
-
- -release)
- prev=release
- continue
- ;;
-
- -rpath)
- prev=rpath
- continue
- ;;
-
- -R)
- prev=xrpath
- continue
- ;;
-
- -R*)
- dir=`$echo "X$arg" | $Xsed -e 's/^-R//'`
- # We need an absolute path.
- case $dir in
- [\\/]* | [A-Za-z]:[\\/]*) ;;
- *)
- $echo "$modename: only absolute run-paths are allowed" 1>&2
- exit 1
- ;;
- esac
- case "$xrpath " in
- *" $dir "*) ;;
- *) xrpath="$xrpath $dir" ;;
- esac
- continue
- ;;
-
- -static)
- # The effects of -static are defined in a previous loop.
- # We used to do the same as -all-static on platforms that
- # didn't have a PIC flag, but the assumption that the effects
- # would be equivalent was wrong. It would break on at least
- # Digital Unix and AIX.
- continue
- ;;
-
- -thread-safe)
- thread_safe=yes
- continue
- ;;
-
- -version-info)
- prev=vinfo
- continue
- ;;
-
- -Wc,*)
- args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`
- arg=
- IFS="${IFS= }"; save_ifs="$IFS"; IFS=','
- for flag in $args; do
- IFS="$save_ifs"
- case $flag in
- *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
- flag="\"$flag\""
- ;;
- esac
- arg="$arg $wl$flag"
- compiler_flags="$compiler_flags $flag"
- done
- IFS="$save_ifs"
- arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
- ;;
-
- -Wl,*)
- args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
- arg=
- IFS="${IFS= }"; save_ifs="$IFS"; IFS=','
- for flag in $args; do
- IFS="$save_ifs"
- case $flag in
- *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
- flag="\"$flag\""
- ;;
- esac
- arg="$arg $wl$flag"
- compiler_flags="$compiler_flags $wl$flag"
- linker_flags="$linker_flags $flag"
- done
- IFS="$save_ifs"
- arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
- ;;
-
- -Xcompiler)
- prev=xcompiler
- continue
- ;;
-
- -Xlinker)
- prev=xlinker
- continue
- ;;
-
- # Some other compiler flag.
- -* | +*)
- # Unknown arguments in both finalize_command and compile_command need
- # to be aesthetically quoted because they are evaled later.
- arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
- case $arg in
- *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
- arg="\"$arg\""
- ;;
- esac
- ;;
-
- *.lo | *.$objext)
- # A library or standard object.
- if test "$prev" = dlfiles; then
- # This file was specified with -dlopen.
- if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
- dlfiles="$dlfiles $arg"
- prev=
- continue
- else
- # If libtool objects are unsupported, then we need to preload.
- prev=dlprefiles
- fi
- fi
-
- if test "$prev" = dlprefiles; then
- # Preload the old-style object.
- dlprefiles="$dlprefiles "`$echo "X$arg" | $Xsed -e "$lo2o"`
- prev=
- else
- case $arg in
- *.lo) libobjs="$libobjs $arg" ;;
- *) objs="$objs $arg" ;;
- esac
- fi
- ;;
-
- *.$libext)
- # An archive.
- deplibs="$deplibs $arg"
- old_deplibs="$old_deplibs $arg"
- continue
- ;;
-
- *.la)
- # A libtool-controlled library.
-
- if test "$prev" = dlfiles; then
- # This library was specified with -dlopen.
- dlfiles="$dlfiles $arg"
- prev=
- elif test "$prev" = dlprefiles; then
- # The library was specified with -dlpreopen.
- dlprefiles="$dlprefiles $arg"
- prev=
- else
- deplibs="$deplibs $arg"
- fi
- continue
- ;;
-
- # Some other compiler argument.
- *)
- # Unknown arguments in both finalize_command and compile_command need
- # to be aesthetically quoted because they are evaled later.
- arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
- case $arg in
- *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
- arg="\"$arg\""
- ;;
- esac
- ;;
- esac # arg
-
- # Now actually substitute the argument into the commands.
- if test -n "$arg"; then
- compile_command="$compile_command $arg"
- finalize_command="$finalize_command $arg"
- fi
- done # argument parsing loop
-
- if test -n "$prev"; then
- $echo "$modename: the \`$prevarg' option requires an argument" 1>&2
- $echo "$help" 1>&2
- exit 1
- fi
-
- if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
- eval arg=\"$export_dynamic_flag_spec\"
- compile_command="$compile_command $arg"
- finalize_command="$finalize_command $arg"
- fi
-
- # calculate the name of the file, without its directory
- outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'`
- libobjs_save="$libobjs"
-
- if test -n "$shlibpath_var"; then
- # get the directories listed in $shlibpath_var
- eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
- else
- shlib_search_path=
- fi
- eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
- eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
-
- output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'`
- if test "X$output_objdir" = "X$output"; then
- output_objdir="$objdir"
- else
- output_objdir="$output_objdir/$objdir"
- fi
- # Create the object directory.
- if test ! -d $output_objdir; then
- $show "$mkdir $output_objdir"
- $run $mkdir $output_objdir
- status=$?
- if test $status -ne 0 && test ! -d $output_objdir; then
- exit $status
- fi
- fi
-
- # Determine the type of output
- case $output in
- "")
- $echo "$modename: you must specify an output file" 1>&2
- $echo "$help" 1>&2
- exit 1
- ;;
- *.$libext) linkmode=oldlib ;;
- *.lo | *.$objext) linkmode=obj ;;
- *.la) linkmode=lib ;;
- *) linkmode=prog ;; # Anything else should be a program.
- esac
-
- specialdeplibs=
- libs=
- # Find all interdependent deplibs by searching for libraries
- # that are linked more than once (e.g. -la -lb -la)
- for deplib in $deplibs; do
- case "$libs " in
- *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
- esac
- libs="$libs $deplib"
- done
- deplibs=
- newdependency_libs=
- newlib_search_path=
- need_relink=no # whether we're linking any uninstalled libtool libraries
- notinst_deplibs= # not-installed libtool libraries
- notinst_path= # paths that contain not-installed libtool libraries
- case $linkmode in
- lib)
- passes="conv link"
- for file in $dlfiles $dlprefiles; do
- case $file in
- *.la) ;;
- *)
- $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2
- exit 1
- ;;
- esac
- done
- ;;
- prog)
- compile_deplibs=
- finalize_deplibs=
- alldeplibs=no
- newdlfiles=
- newdlprefiles=
- passes="conv scan dlopen dlpreopen link"
- ;;
- *) passes="conv"
- ;;
- esac
- for pass in $passes; do
- if test $linkmode = prog; then
- # Determine which files to process
- case $pass in
- dlopen)
- libs="$dlfiles"
- save_deplibs="$deplibs" # Collect dlpreopened libraries
- deplibs=
- ;;
- dlpreopen) libs="$dlprefiles" ;;
- link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
- esac
- fi
- for deplib in $libs; do
- lib=
- found=no
- case $deplib in
- -l*)
- if test $linkmode = oldlib && test $linkmode = obj; then
- $echo "$modename: warning: \`-l' is ignored for archives/objects: $deplib" 1>&2
- continue
- fi
- if test $pass = conv; then
- deplibs="$deplib $deplibs"
- continue
- fi
- name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
- for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
- # Search the libtool library
- lib="$searchdir/lib${name}.la"
- if test -f "$lib"; then
- found=yes
- break
- fi
- done
- if test "$found" != yes; then
- # deplib doesn't seem to be a libtool library
- if test "$linkmode,$pass" = "prog,link"; then
- compile_deplibs="$deplib $compile_deplibs"
- finalize_deplibs="$deplib $finalize_deplibs"
- else
- deplibs="$deplib $deplibs"
- test $linkmode = lib && newdependency_libs="$deplib $newdependency_libs"
- fi
- continue
- fi
- ;; # -l
- -L*)
- case $linkmode in
- lib)
- deplibs="$deplib $deplibs"
- test $pass = conv && continue
- newdependency_libs="$deplib $newdependency_libs"
- newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
- ;;
- prog)
- if test $pass = conv; then
- deplibs="$deplib $deplibs"
- continue
- fi
- if test $pass = scan; then
- deplibs="$deplib $deplibs"
- newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
- else
- compile_deplibs="$deplib $compile_deplibs"
- finalize_deplibs="$deplib $finalize_deplibs"
- fi
- ;;
- *)
- $echo "$modename: warning: \`-L' is ignored for archives/objects: $deplib" 1>&2
- ;;
- esac # linkmode
- continue
- ;; # -L
- -R*)
- if test $pass = link; then
- dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
- # Make sure the xrpath contains only unique directories.
- case "$xrpath " in
- *" $dir "*) ;;
- *) xrpath="$xrpath $dir" ;;
- esac
- fi
- deplibs="$deplib $deplibs"
- continue
- ;;
- *.la) lib="$deplib" ;;
- *.$libext)
- if test $pass = conv; then
- deplibs="$deplib $deplibs"
- continue
- fi
- case $linkmode in
- lib)
- if test "$deplibs_check_method" != pass_all; then
- echo
- echo "*** Warning: This library needs some functionality provided by $deplib."
- echo "*** I have the capability to make that library automatically link in when"
- echo "*** you link to this library. But I can only do this if you have a"
- echo "*** shared version of the library, which you do not appear to have."
- else
- echo
- echo "*** Warning: Linking the shared library $output against the"
- echo "*** static library $deplib is not portable!"
- deplibs="$deplib $deplibs"
- fi
- continue
- ;;
- prog)
- if test $pass != link; then
- deplibs="$deplib $deplibs"
- else
- compile_deplibs="$deplib $compile_deplibs"
- finalize_deplibs="$deplib $finalize_deplibs"
- fi
- continue
- ;;
- esac # linkmode
- ;; # *.$libext
- *.lo | *.$objext)
- if test $pass = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
- # If there is no dlopen support or we're linking statically,
- # we need to preload.
- newdlprefiles="$newdlprefiles $deplib"
- compile_deplibs="$deplib $compile_deplibs"
- finalize_deplibs="$deplib $finalize_deplibs"
- else
- newdlfiles="$newdlfiles $deplib"
- fi
- continue
- ;;
- %DEPLIBS%)
- alldeplibs=yes
- continue
- ;;
- esac # case $deplib
- if test $found = yes || test -f "$lib"; then :
- else
- $echo "$modename: cannot find the library \`$lib'" 1>&2
- exit 1
- fi
-
- # Check to see that this really is a libtool archive.
- if (sed -e '2q' $lib | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
- else
- $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
- exit 1
- fi
-
- ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
- test "X$ladir" = "X$lib" && ladir="."
-
- dlname=
- dlopen=
- dlpreopen=
- libdir=
- library_names=
- old_library=
- # If the library was installed with an old release of libtool,
- # it will not redefine variable installed.
- installed=yes
-
- # Read the .la file
- case $lib in
- */* | *\\*) . $lib ;;
- *) . ./$lib ;;
- esac
-
- if test "$linkmode,$pass" = "lib,link" ||
- test "$linkmode,$pass" = "prog,scan" ||
- { test $linkmode = oldlib && test $linkmode = obj; }; then
- # Add dl[pre]opened files of deplib
- test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
- test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
- fi
-
- if test $pass = conv; then
- # Only check for convenience libraries
- deplibs="$lib $deplibs"
- if test -z "$libdir"; then
- if test -z "$old_library"; then
- $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
- exit 1
- fi
- # It is a libtool convenience library, so add in its objects.
- convenience="$convenience $ladir/$objdir/$old_library"
- old_convenience="$old_convenience $ladir/$objdir/$old_library"
- tmp_libs=
- for deplib in $dependency_libs; do
- deplibs="$deplib $deplibs"
- case "$tmp_libs " in
- *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
- esac
- tmp_libs="$tmp_libs $deplib"
- done
- elif test $linkmode != prog && test $linkmode != lib; then
- $echo "$modename: \`$lib' is not a convenience library" 1>&2
- exit 1
- fi
- continue
- fi # $pass = conv
-
- # Get the name of the library we link against.
- linklib=
- for l in $old_library $library_names; do
- linklib="$l"
- done
- if test -z "$linklib"; then
- $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
- exit 1
- fi
-
- # This library was specified with -dlopen.
- if test $pass = dlopen; then
- if test -z "$libdir"; then
- $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2
- exit 1
- fi
- if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
- # If there is no dlname, no dlopen support or we're linking
- # statically, we need to preload.
- dlprefiles="$dlprefiles $lib"
- else
- newdlfiles="$newdlfiles $lib"
- fi
- continue
- fi # $pass = dlopen
-
- # We need an absolute path.
- case $ladir in
- [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
- *)
- abs_ladir=`cd "$ladir" && pwd`
- if test -z "$abs_ladir"; then
- $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2
- $echo "$modename: passing it literally to the linker, although it might fail" 1>&2
- abs_ladir="$ladir"
- fi
- ;;
- esac
- laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
-
- # Find the relevant object directory and library name.
- if test "X$installed" = Xyes; then
- if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
- $echo "$modename: warning: library \`$lib' was moved." 1>&2
- dir="$ladir"
- absdir="$abs_ladir"
- libdir="$abs_ladir"
- else
- dir="$libdir"
- absdir="$libdir"
- fi
- else
- dir="$ladir/$objdir"
- absdir="$abs_ladir/$objdir"
- # Remove this search path later
- notinst_path="$notinst_path $abs_ladir"
- fi # $installed = yes
- name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
-
- # This library was specified with -dlpreopen.
- if test $pass = dlpreopen; then
- if test -z "$libdir"; then
- $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2
- exit 1
- fi
- # Prefer using a static library (so that no silly _DYNAMIC symbols
- # are required to link).
- if test -n "$old_library"; then
- newdlprefiles="$newdlprefiles $dir/$old_library"
- # Otherwise, use the dlname, so that lt_dlopen finds it.
- elif test -n "$dlname"; then
- newdlprefiles="$newdlprefiles $dir/$dlname"
- else
- newdlprefiles="$newdlprefiles $dir/$linklib"
- fi
- fi # $pass = dlpreopen
-
- if test -z "$libdir"; then
- # Link the convenience library
- if test $linkmode = lib; then
- deplibs="$dir/$old_library $deplibs"
- elif test "$linkmode,$pass" = "prog,link"; then
- compile_deplibs="$dir/$old_library $compile_deplibs"
- finalize_deplibs="$dir/$old_library $finalize_deplibs"
- else
- deplibs="$lib $deplibs"
- fi
- continue
- fi
-
- if test $linkmode = prog && test $pass != link; then
- newlib_search_path="$newlib_search_path $ladir"
- deplibs="$lib $deplibs"
-
- linkalldeplibs=no
- if test "$link_all_deplibs" != no || test -z "$library_names" ||
- test "$build_libtool_libs" = no; then
- linkalldeplibs=yes
- fi
-
- tmp_libs=
- for deplib in $dependency_libs; do
- case $deplib in
- -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test
- esac
- # Need to link against all dependency_libs?
- if test $linkalldeplibs = yes; then
- deplibs="$deplib $deplibs"
- else
- # Need to hardcode shared library paths
- # or/and link against static libraries
- newdependency_libs="$deplib $newdependency_libs"
- fi
- case "$tmp_libs " in
- *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
- esac
- tmp_libs="$tmp_libs $deplib"
- done # for deplib
- continue
- fi # $linkmode = prog...
-
- link_static=no # Whether the deplib will be linked statically
- if test -n "$library_names" &&
- { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
- # Link against this shared library
-
- if test "$linkmode,$pass" = "prog,link" ||
- { test $linkmode = lib && test $hardcode_into_libs = yes; }; then
- # Hardcode the library path.
- # Skip directories that are in the system default run-time
- # search path.
- case " $sys_lib_dlsearch_path " in
- *" $absdir "*) ;;
- *)
- case "$compile_rpath " in
- *" $absdir "*) ;;
- *) compile_rpath="$compile_rpath $absdir"
- esac
- ;;
- esac
- case " $sys_lib_dlsearch_path " in
- *" $libdir "*) ;;
- *)
- case "$finalize_rpath " in
- *" $libdir "*) ;;
- *) finalize_rpath="$finalize_rpath $libdir"
- esac
- ;;
- esac
- if test $linkmode = prog; then
- # We need to hardcode the library path
- if test -n "$shlibpath_var"; then
- # Make sure the rpath contains only unique directories.
- case "$temp_rpath " in
- *" $dir "*) ;;
- *" $absdir "*) ;;
- *) temp_rpath="$temp_rpath $dir" ;;
- esac
- fi
- fi
- fi # $linkmode,$pass = prog,link...
-
- if test "$alldeplibs" = yes &&
- { test "$deplibs_check_method" = pass_all ||
- { test "$build_libtool_libs" = yes &&
- test -n "$library_names"; }; }; then
- # We only need to search for static libraries
- continue
- fi
-
- if test "$installed" = no; then
- notinst_deplibs="$notinst_deplibs $lib"
- need_relink=yes
- fi
-
- if test -n "$old_archive_from_expsyms_cmds"; then
- # figure out the soname
- set dummy $library_names
- realname="$2"
- shift; shift
- libname=`eval \\$echo \"$libname_spec\"`
- # use dlname if we got it. it's perfectly good, no?
- if test -n "$dlname"; then
- soname="$dlname"
- elif test -n "$soname_spec"; then
- # bleh windows
- case $host in
- *cygwin*)
- major=`expr $current - $age`
- versuffix="-$major"
- ;;
- esac
- eval soname=\"$soname_spec\"
- else
- soname="$realname"
- fi
-
- # Make a new name for the extract_expsyms_cmds to use
- soroot="$soname"
- soname=`echo $soroot | sed -e 's/^.*\///'`
- newlib="libimp-`echo $soname | sed 's/^lib//;s/\.dll$//'`.a"
-
- # If the library has no export list, then create one now
- if test -f "$output_objdir/$soname-def"; then :
- else
- $show "extracting exported symbol list from \`$soname'"
- IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
- eval cmds=\"$extract_expsyms_cmds\"
- for cmd in $cmds; do
- IFS="$save_ifs"
- $show "$cmd"
- $run eval "$cmd" || exit $?
- done
- IFS="$save_ifs"
- fi
-
- # Create $newlib
- if test -f "$output_objdir/$newlib"; then :; else
- $show "generating import library for \`$soname'"
- IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
- eval cmds=\"$old_archive_from_expsyms_cmds\"
- for cmd in $cmds; do
- IFS="$save_ifs"
- $show "$cmd"
- $run eval "$cmd" || exit $?
- done
- IFS="$save_ifs"
- fi
- # make sure the library variables are pointing to the new library
- dir=$output_objdir
- linklib=$newlib
- fi # test -n $old_archive_from_expsyms_cmds
-
- if test $linkmode = prog || test "$mode" != relink; then
- add_shlibpath=
- add_dir=
- add=
- lib_linked=yes
- case $hardcode_action in
- immediate | unsupported)
- if test "$hardcode_direct" = no; then
- add="$dir/$linklib"
- elif test "$hardcode_minus_L" = no; then
- case $host in
- *-*-sunos*) add_shlibpath="$dir" ;;
- esac
- add_dir="-L$dir"
- add="-l$name"
- elif test "$hardcode_shlibpath_var" = no; then
- add_shlibpath="$dir"
- add="-l$name"
- else
- lib_linked=no
- fi
- ;;
- relink)
- if test "$hardcode_direct" = yes; then
- add="$dir/$linklib"
- elif test "$hardcode_minus_L" = yes; then
- add_dir="-L$dir"
- add="-l$name"
- elif test "$hardcode_shlibpath_var" = yes; then
- add_shlibpath="$dir"
- add="-l$name"
- else
- lib_linked=no
- fi
- ;;
- *) lib_linked=no ;;
- esac
-
- if test "$lib_linked" != yes; then
- $echo "$modename: configuration error: unsupported hardcode properties"
- exit 1
- fi
-
- if test -n "$add_shlibpath"; then
- case :$compile_shlibpath: in
- *":$add_shlibpath:"*) ;;
- *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
- esac
- fi
- if test $linkmode = prog; then
- test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
- test -n "$add" && compile_deplibs="$add $compile_deplibs"
- else
- test -n "$add_dir" && deplibs="$add_dir $deplibs"
- test -n "$add" && deplibs="$add $deplibs"
- if test "$hardcode_direct" != yes && \
- test "$hardcode_minus_L" != yes && \
- test "$hardcode_shlibpath_var" = yes; then
- case :$finalize_shlibpath: in
- *":$libdir:"*) ;;
- *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
- esac
- fi
- fi
- fi
-
- if test $linkmode = prog || test "$mode" = relink; then
- add_shlibpath=
- add_dir=
- add=
- # Finalize command for both is simple: just hardcode it.
- if test "$hardcode_direct" = yes; then
- add="$libdir/$linklib"
- elif test "$hardcode_minus_L" = yes; then
- add_dir="-L$libdir"
- add="-l$name"
- elif test "$hardcode_shlibpath_var" = yes; then
- case :$finalize_shlibpath: in
- *":$libdir:"*) ;;
- *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
- esac
- add="-l$name"
- else
- # We cannot seem to hardcode it, guess we'll fake it.
- add_dir="-L$libdir"
- add="-l$name"
- fi
-
- if test $linkmode = prog; then
- test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
- test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
- else
- test -n "$add_dir" && deplibs="$add_dir $deplibs"
- test -n "$add" && deplibs="$add $deplibs"
- fi
- fi
- elif test $linkmode = prog; then
- if test "$alldeplibs" = yes &&
- { test "$deplibs_check_method" = pass_all ||
- { test "$build_libtool_libs" = yes &&
- test -n "$library_names"; }; }; then
- # We only need to search for static libraries
- continue
- fi
-
- # Try to link the static library
- # Here we assume that one of hardcode_direct or hardcode_minus_L
- # is not unsupported. This is valid on all known static and
- # shared platforms.
- if test "$hardcode_direct" != unsupported; then
- test -n "$old_library" && linklib="$old_library"
- compile_deplibs="$dir/$linklib $compile_deplibs"
- finalize_deplibs="$dir/$linklib $finalize_deplibs"
- else
- compile_deplibs="-l$name -L$dir $compile_deplibs"
- finalize_deplibs="-l$name -L$dir $finalize_deplibs"
- fi
- elif test "$build_libtool_libs" = yes; then
- # Not a shared library
- if test "$deplibs_check_method" != pass_all; then
- # We're trying link a shared library against a static one
- # but the system doesn't support it.
-
- # Just print a warning and add the library to dependency_libs so
- # that the program can be linked against the static library.
- echo
- echo "*** Warning: This library needs some functionality provided by $lib."
- echo "*** I have the capability to make that library automatically link in when"
- echo "*** you link to this library. But I can only do this if you have a"
- echo "*** shared version of the library, which you do not appear to have."
- if test "$module" = yes; then
- echo "*** Therefore, libtool will create a static module, that should work "
- echo "*** as long as the dlopening application is linked with the -dlopen flag."
- if test -z "$global_symbol_pipe"; then
- echo
- echo "*** However, this would only work if libtool was able to extract symbol"
- echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
- echo "*** not find such a program. So, this module is probably useless."
- echo "*** \`nm' from GNU binutils and a full rebuild may help."
- fi
- if test "$build_old_libs" = no; then
- build_libtool_libs=module
- build_old_libs=yes
- else
- build_libtool_libs=no
- fi
- fi
- else
- convenience="$convenience $dir/$old_library"
- old_convenience="$old_convenience $dir/$old_library"
- deplibs="$dir/$old_library $deplibs"
- link_static=yes
- fi
- fi # link shared/static library?
-
- if test $linkmode = lib; then
- if test -n "$dependency_libs" &&
- { test $hardcode_into_libs != yes || test $build_old_libs = yes ||
- test $link_static = yes; }; then
- # Extract -R from dependency_libs
- temp_deplibs=
- for libdir in $dependency_libs; do
- case $libdir in
- -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'`
- case " $xrpath " in
- *" $temp_xrpath "*) ;;
- *) xrpath="$xrpath $temp_xrpath";;
- esac;;
- *) temp_deplibs="$temp_deplibs $libdir";;
- esac
- done
- dependency_libs="$temp_deplibs"
- fi
-
- newlib_search_path="$newlib_search_path $absdir"
- # Link against this library
- test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
- # ... and its dependency_libs
- tmp_libs=
- for deplib in $dependency_libs; do
- newdependency_libs="$deplib $newdependency_libs"
- case "$tmp_libs " in
- *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
- esac
- tmp_libs="$tmp_libs $deplib"
- done
-
- if test $link_all_deplibs != no; then
- # Add the search paths of all dependency libraries
- for deplib in $dependency_libs; do
- case $deplib in
- -L*) path="$deplib" ;;
- *.la)
- dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'`
- test "X$dir" = "X$deplib" && dir="."
- # We need an absolute path.
- case $dir in
- [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
- *)
- absdir=`cd "$dir" && pwd`
- if test -z "$absdir"; then
- $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2
- absdir="$dir"
- fi
- ;;
- esac
- if grep "^installed=no" $deplib > /dev/null; then
- path="-L$absdir/$objdir"
- else
- eval libdir=`sed -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
- if test -z "$libdir"; then
- $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
- exit 1
- fi
- if test "$absdir" != "$libdir"; then
- $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
- fi
- path="-L$absdir"
- fi
- ;;
- *) continue ;;
- esac
- case " $deplibs " in
- *" $path "*) ;;
- *) deplibs="$deplibs $path" ;;
- esac
- done
- fi # link_all_deplibs != no
- fi # linkmode = lib
- done # for deplib in $libs
- if test $pass = dlpreopen; then
- # Link the dlpreopened libraries before other libraries
- for deplib in $save_deplibs; do
- deplibs="$deplib $deplibs"
- done
- fi
- if test $pass != dlopen; then
- test $pass != scan && dependency_libs="$newdependency_libs"
- if test $pass != conv; then
- # Make sure lib_search_path contains only unique directories.
- lib_search_path=
- for dir in $newlib_search_path; do
- case "$lib_search_path " in
- *" $dir "*) ;;
- *) lib_search_path="$lib_search_path $dir" ;;
- esac
- done
- newlib_search_path=
- fi
-
- if test "$linkmode,$pass" != "prog,link"; then
- vars="deplibs"
- else
- vars="compile_deplibs finalize_deplibs"
- fi
- for var in $vars dependency_libs; do
- # Add libraries to $var in reverse order
- eval tmp_libs=\"\$$var\"
- new_libs=
- for deplib in $tmp_libs; do
- case $deplib in
- -L*) new_libs="$deplib $new_libs" ;;
- *)
- case " $specialdeplibs " in
- *" $deplib "*) new_libs="$deplib $new_libs" ;;
- *)
- case " $new_libs " in
- *" $deplib "*) ;;
- *) new_libs="$deplib $new_libs" ;;
- esac
- ;;
- esac
- ;;
- esac
- done
- tmp_libs=
- for deplib in $new_libs; do
- case $deplib in
- -L*)
- case " $tmp_libs " in
- *" $deplib "*) ;;
- *) tmp_libs="$tmp_libs $deplib" ;;
- esac
- ;;
- *) tmp_libs="$tmp_libs $deplib" ;;
- esac
- done
- eval $var=\"$tmp_libs\"
- done # for var
- fi
- if test "$pass" = "conv" &&
- { test "$linkmode" = "lib" || test "$linkmode" = "prog"; }; then
- libs="$deplibs" # reset libs
- deplibs=
- fi
- done # for pass
- if test $linkmode = prog; then
- dlfiles="$newdlfiles"
- dlprefiles="$newdlprefiles"
- fi
-
- case $linkmode in
- oldlib)
- if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
- $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
- fi
-
- if test -n "$rpath"; then
- $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2
- fi
-
- if test -n "$xrpath"; then
- $echo "$modename: warning: \`-R' is ignored for archives" 1>&2
- fi
-
- if test -n "$vinfo"; then
- $echo "$modename: warning: \`-version-info' is ignored for archives" 1>&2
- fi
-
- if test -n "$release"; then
- $echo "$modename: warning: \`-release' is ignored for archives" 1>&2
- fi
-
- if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
- $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2
- fi
-
- # Now set the variables for building old libraries.
- build_libtool_libs=no
- oldlibs="$output"
- objs="$objs$old_deplibs"
- ;;
-
- lib)
- # Make sure we only generate libraries of the form `libNAME.la'.
- case $outputname in
- lib*)
- name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
- eval libname=\"$libname_spec\"
- ;;
- *)
- if test "$module" = no; then
- $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2
- $echo "$help" 1>&2
- exit 1
- fi
- if test "$need_lib_prefix" != no; then
- # Add the "lib" prefix for modules if required
- name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
- eval libname=\"$libname_spec\"
- else
- libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
- fi
- ;;
- esac
-
- if test -n "$objs"; then
- if test "$deplibs_check_method" != pass_all; then
- $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1
- exit 1
- else
- echo
- echo "*** Warning: Linking the shared library $output against the non-libtool"
- echo "*** objects $objs is not portable!"
- libobjs="$libobjs $objs"
- fi
- fi
-
- if test "$dlself" != no; then
- $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2
- fi
-
- set dummy $rpath
- if test $# -gt 2; then
- $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2
- fi
- install_libdir="$2"
-
- oldlibs=
- if test -z "$rpath"; then
- if test "$build_libtool_libs" = yes; then
- # Building a libtool convenience library.
- libext=al
- oldlibs="$output_objdir/$libname.$libext $oldlibs"
- build_libtool_libs=convenience
- build_old_libs=yes
- fi
-
- if test -n "$vinfo"; then
- $echo "$modename: warning: \`-version-info' is ignored for convenience libraries" 1>&2
- fi
-
- if test -n "$release"; then
- $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2
- fi
- else
-
- # Parse the version information argument.
- IFS="${IFS= }"; save_ifs="$IFS"; IFS=':'
- set dummy $vinfo 0 0 0
- IFS="$save_ifs"
-
- if test -n "$8"; then
- $echo "$modename: too many parameters to \`-version-info'" 1>&2
- $echo "$help" 1>&2
- exit 1
- fi
-
- current="$2"
- revision="$3"
- age="$4"
-
- # Check that each of the things are valid numbers.
- case $current in
- 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
- *)
- $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2
- $echo "$modename: \`$vinfo' is not valid version information" 1>&2
- exit 1
- ;;
- esac
-
- case $revision in
- 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
- *)
- $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2
- $echo "$modename: \`$vinfo' is not valid version information" 1>&2
- exit 1
- ;;
- esac
-
- case $age in
- 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
- *)
- $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2
- $echo "$modename: \`$vinfo' is not valid version information" 1>&2
- exit 1
- ;;
- esac
-
- if test $age -gt $current; then
- $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2
- $echo "$modename: \`$vinfo' is not valid version information" 1>&2
- exit 1
- fi
-
- # Calculate the version variables.
- major=
- versuffix=
- verstring=
- case $version_type in
- none) ;;
-
- darwin)
- # Like Linux, but with the current version available in
- # verstring for coding it into the library header
- major=.`expr $current - $age`
- versuffix="$major.$age.$revision"
- # Darwin ld doesn't like 0 for these options...
- minor_current=`expr $current + 1`
- verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
- ;;
-
- freebsd-aout)
- major=".$current"
- versuffix=".$current.$revision";
- ;;
-
- freebsd-elf)
- major=".$current"
- versuffix=".$current";
- ;;
-
- irix)
- major=`expr $current - $age + 1`
- verstring="sgi$major.$revision"
-
- # Add in all the interfaces that we are compatible with.
- loop=$revision
- while test $loop != 0; do
- iface=`expr $revision - $loop`
- loop=`expr $loop - 1`
- verstring="sgi$major.$iface:$verstring"
- done
-
- # Before this point, $major must not contain `.'.
- major=.$major
- versuffix="$major.$revision"
- ;;
-
- linux)
- major=.`expr $current - $age`
- versuffix="$major.$age.$revision"
- ;;
-
- osf)
- major=`expr $current - $age`
- versuffix=".$current.$age.$revision"
- verstring="$current.$age.$revision"
-
- # Add in all the interfaces that we are compatible with.
- loop=$age
- while test $loop != 0; do
- iface=`expr $current - $loop`
- loop=`expr $loop - 1`
- verstring="$verstring:${iface}.0"
- done
-
- # Make executables depend on our current version.
- verstring="$verstring:${current}.0"
- ;;
-
- sunos)
- major=".$current"
- versuffix=".$current.$revision"
- ;;
-
- windows)
- # Use '-' rather than '.', since we only want one
- # extension on DOS 8.3 filesystems.
- major=`expr $current - $age`
- versuffix="-$major"
- ;;
-
- *)
- $echo "$modename: unknown library version type \`$version_type'" 1>&2
- echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
- exit 1
- ;;
- esac
-
- # Clear the version info if we defaulted, and they specified a release.
- if test -z "$vinfo" && test -n "$release"; then
- major=
- verstring="0.0"
- if test "$need_version" = no; then
- versuffix=
- else
- versuffix=".0.0"
- fi
- fi
-
- # Remove version info from name if versioning should be avoided
- if test "$avoid_version" = yes && test "$need_version" = no; then
- major=
- versuffix=
- verstring=""
- fi
-
- # Check to see if the archive will have undefined symbols.
- if test "$allow_undefined" = yes; then
- if test "$allow_undefined_flag" = unsupported; then
- $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2
- build_libtool_libs=no
- build_old_libs=yes
- fi
- else
- # Don't allow undefined symbols.
- allow_undefined_flag="$no_undefined_flag"
- fi
- fi
-
- if test "$mode" != relink; then
- # Remove our outputs.
- $show "${rm}r $output_objdir/$outputname $output_objdir/$libname.* $output_objdir/${libname}${release}.*"
- $run ${rm}r $output_objdir/$outputname $output_objdir/$libname.* $output_objdir/${libname}${release}.*
- fi
-
- # Now set the variables for building old libraries.
- if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
- oldlibs="$oldlibs $output_objdir/$libname.$libext"
-
- # Transform .lo files to .o files.
- oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
- fi
-
- # Eliminate all temporary directories.
- for path in $notinst_path; do
- lib_search_path=`echo "$lib_search_path " | sed -e 's% $path % %g'`
- deplibs=`echo "$deplibs " | sed -e 's% -L$path % %g'`
- dependency_libs=`echo "$dependency_libs " | sed -e 's% -L$path % %g'`
- done
-
- if test -n "$xrpath"; then
- # If the user specified any rpath flags, then add them.
- temp_xrpath=
- for libdir in $xrpath; do
- temp_xrpath="$temp_xrpath -R$libdir"
- case "$finalize_rpath " in
- *" $libdir "*) ;;
- *) finalize_rpath="$finalize_rpath $libdir" ;;
- esac
- done
- if test $hardcode_into_libs != yes || test $build_old_libs = yes; then
- dependency_libs="$temp_xrpath $dependency_libs"
- fi
- fi
-
- # Make sure dlfiles contains only unique files that won't be dlpreopened
- old_dlfiles="$dlfiles"
- dlfiles=
- for lib in $old_dlfiles; do
- case " $dlprefiles $dlfiles " in
- *" $lib "*) ;;
- *) dlfiles="$dlfiles $lib" ;;
- esac
- done
-
- # Make sure dlprefiles contains only unique files
- old_dlprefiles="$dlprefiles"
- dlprefiles=
- for lib in $old_dlprefiles; do
- case "$dlprefiles " in
- *" $lib "*) ;;
- *) dlprefiles="$dlprefiles $lib" ;;
- esac
- done
-
- if test "$build_libtool_libs" = yes; then
- if test -n "$rpath"; then
- case $host in
- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*)
- # these systems don't actually have a c library (as such)!
- ;;
- *-*-rhapsody* | *-*-darwin1.[012])
- # Rhapsody C library is in the System framework
- deplibs="$deplibs -framework System"
- ;;
- *-*-netbsd*)
- # Don't link with libc until the a.out ld.so is fixed.
- ;;
- *)
- # Add libc to deplibs on all other systems if necessary.
- if test $build_libtool_need_lc = "yes"; then
- deplibs="$deplibs -lc"
- fi
- ;;
- esac
- fi
-
- # Transform deplibs into only deplibs that can be linked in shared.
- name_save=$name
- libname_save=$libname
- release_save=$release
- versuffix_save=$versuffix
- major_save=$major
- # I'm not sure if I'm treating the release correctly. I think
- # release should show up in the -l (ie -lgmp5) so we don't want to
- # add it in twice. Is that correct?
- release=""
- versuffix=""
- major=""
- newdeplibs=
- droppeddeps=no
- case $deplibs_check_method in
- pass_all)
- # Don't check for shared/static. Everything works.
- # This might be a little naive. We might want to check
- # whether the library exists or not. But this is on
- # osf3 & osf4 and I'm not really sure... Just
- # implementing what was already the behaviour.
- newdeplibs=$deplibs
- ;;
- test_compile)
- # This code stresses the "libraries are programs" paradigm to its
- # limits. Maybe even breaks it. We compile a program, linking it
- # against the deplibs as a proxy for the library. Then we can check
- # whether they linked in statically or dynamically with ldd.
- $rm conftest.c
- cat > conftest.c <<EOF
- int main() { return 0; }
-EOF
- $rm conftest
- $CC -o conftest conftest.c $deplibs
- if test $? -eq 0 ; then
- ldd_output=`ldd conftest`
- for i in $deplibs; do
- name="`expr $i : '-l\(.*\)'`"
- # If $name is empty we are operating on a -L argument.
- if test -n "$name" && test "$name" != "0"; then
- libname=`eval \\$echo \"$libname_spec\"`
- deplib_matches=`eval \\$echo \"$library_names_spec\"`
- set dummy $deplib_matches
- deplib_match=$2
- if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
- newdeplibs="$newdeplibs $i"
- else
- droppeddeps=yes
- echo
- echo "*** Warning: This library needs some functionality provided by $i."
- echo "*** I have the capability to make that library automatically link in when"
- echo "*** you link to this library. But I can only do this if you have a"
- echo "*** shared version of the library, which you do not appear to have."
- fi
- else
- newdeplibs="$newdeplibs $i"
- fi
- done
- else
- # Error occured in the first compile. Let's try to salvage the situation:
- # Compile a seperate program for each library.
- for i in $deplibs; do
- name="`expr $i : '-l\(.*\)'`"
- # If $name is empty we are operating on a -L argument.
- if test -n "$name" && test "$name" != "0"; then
- $rm conftest
- $CC -o conftest conftest.c $i
- # Did it work?
- if test $? -eq 0 ; then
- ldd_output=`ldd conftest`
- libname=`eval \\$echo \"$libname_spec\"`
- deplib_matches=`eval \\$echo \"$library_names_spec\"`
- set dummy $deplib_matches
- deplib_match=$2
- if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
- newdeplibs="$newdeplibs $i"
- else
- droppeddeps=yes
- echo
- echo "*** Warning: This library needs some functionality provided by $i."
- echo "*** I have the capability to make that library automatically link in when"
- echo "*** you link to this library. But I can only do this if you have a"
- echo "*** shared version of the library, which you do not appear to have."
- fi
- else
- droppeddeps=yes
- echo
- echo "*** Warning! Library $i is needed by this library but I was not able to"
- echo "*** make it link in! You will probably need to install it or some"
- echo "*** library that it depends on before this library will be fully"
- echo "*** functional. Installing it before continuing would be even better."
- fi
- else
- newdeplibs="$newdeplibs $i"
- fi
- done
- fi
- ;;
- file_magic*)
- set dummy $deplibs_check_method
- file_magic_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
- for a_deplib in $deplibs; do
- name="`expr $a_deplib : '-l\(.*\)'`"
- # If $name is empty we are operating on a -L argument.
- if test -n "$name" && test "$name" != "0"; then
- libname=`eval \\$echo \"$libname_spec\"`
- for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
- potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
- for potent_lib in $potential_libs; do
- # Follow soft links.
- if ls -lLd "$potent_lib" 2>/dev/null \
- | grep " -> " >/dev/null; then
- continue
- fi
- # The statement above tries to avoid entering an
- # endless loop below, in case of cyclic links.
- # We might still enter an endless loop, since a link
- # loop can be closed while we follow links,
- # but so what?
- potlib="$potent_lib"
- while test -h "$potlib" 2>/dev/null; do
- potliblink=`ls -ld $potlib | sed 's/.* -> //'`
- case $potliblink in
- [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
- *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
- esac
- done
- if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \
- | sed 10q \
- | egrep "$file_magic_regex" > /dev/null; then
- newdeplibs="$newdeplibs $a_deplib"
- a_deplib=""
- break 2
- fi
- done
- done
- if test -n "$a_deplib" ; then
- droppeddeps=yes
- echo
- echo "*** Warning: This library needs some functionality provided by $a_deplib."
- echo "*** I have the capability to make that library automatically link in when"
- echo "*** you link to this library. But I can only do this if you have a"
- echo "*** shared version of the library, which you do not appear to have."
- fi
- else
- # Add a -L argument.
- newdeplibs="$newdeplibs $a_deplib"
- fi
- done # Gone through all deplibs.
- ;;
- match_pattern*)
- set dummy $deplibs_check_method
- match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
- for a_deplib in $deplibs; do
- name="`expr $a_deplib : '-l\(.*\)'`"
- # If $name is empty we are operating on a -L argument.
- if test -n "$name" && test "$name" != "0"; then
- libname=`eval \\$echo \"$libname_spec\"`
- for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
- potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
- for potent_lib in $potential_libs; do
- if eval echo \"$potent_lib\" 2>/dev/null \
- | sed 10q \
- | egrep "$match_pattern_regex" > /dev/null; then
- newdeplibs="$newdeplibs $a_deplib"
- a_deplib=""
- break 2
- fi
- done
- done
- if test -n "$a_deplib" ; then
- droppeddeps=yes
- echo
- echo "*** Warning: This library needs some functionality provided by $a_deplib."
- echo "*** I have the capability to make that library automatically link in when"
- echo "*** you link to this library. But I can only do this if you have a"
- echo "*** shared version of the library, which you do not appear to have."
- fi
- else
- # Add a -L argument.
- newdeplibs="$newdeplibs $a_deplib"
- fi
- done # Gone through all deplibs.
- ;;
- none | unknown | *)
- newdeplibs=""
- if $echo "X $deplibs" | $Xsed -e 's/ -lc$//' \
- -e 's/ -[LR][^ ]*//g' -e 's/[ ]//g' |
- grep . >/dev/null; then
- echo
- if test "X$deplibs_check_method" = "Xnone"; then
- echo "*** Warning: inter-library dependencies are not supported in this platform."
- else
- echo "*** Warning: inter-library dependencies are not known to be supported."
- fi
- echo "*** All declared inter-library dependencies are being dropped."
- droppeddeps=yes
- fi
- ;;
- esac
- versuffix=$versuffix_save
- major=$major_save
- release=$release_save
- libname=$libname_save
- name=$name_save
-
- case $host in
- *-*-rhapsody* | *-*-darwin1.[012])
- # On Rhapsody replace the C library is the System framework
- newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'`
- ;;
- esac
-
- if test "$droppeddeps" = yes; then
- if test "$module" = yes; then
- echo
- echo "*** Warning: libtool could not satisfy all declared inter-library"
- echo "*** dependencies of module $libname. Therefore, libtool will create"
- echo "*** a static module, that should work as long as the dlopening"
- echo "*** application is linked with the -dlopen flag."
- if test -z "$global_symbol_pipe"; then
- echo
- echo "*** However, this would only work if libtool was able to extract symbol"
- echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
- echo "*** not find such a program. So, this module is probably useless."
- echo "*** \`nm' from GNU binutils and a full rebuild may help."
- fi
- if test "$build_old_libs" = no; then
- oldlibs="$output_objdir/$libname.$libext"
- build_libtool_libs=module
- build_old_libs=yes
- else
- build_libtool_libs=no
- fi
- else
- echo "*** The inter-library dependencies that have been dropped here will be"
- echo "*** automatically added whenever a program is linked with this library"
- echo "*** or is declared to -dlopen it."
-
- if test $allow_undefined = no; then
- echo
- echo "*** Since this library must not contain undefined symbols,"
- echo "*** because either the platform does not support them or"
- echo "*** it was explicitly requested with -no-undefined,"
- echo "*** libtool will only create a static version of it."
- if test "$build_old_libs" = no; then
- oldlibs="$output_objdir/$libname.$libext"
- build_libtool_libs=module
- build_old_libs=yes
- else
- build_libtool_libs=no
- fi
- fi
- fi
- fi
- # Done checking deplibs!
- deplibs=$newdeplibs
- fi
-
- # All the library-specific variables (install_libdir is set above).
- library_names=
- old_library=
- dlname=
-
- # Test again, we may have decided not to build it any more
- if test "$build_libtool_libs" = yes; then
- if test $hardcode_into_libs = yes; then
- # Hardcode the library paths
- hardcode_libdirs=
- dep_rpath=
- rpath="$finalize_rpath"
- test "$mode" != relink && rpath="$compile_rpath$rpath"
- for libdir in $rpath; do
- if test -n "$hardcode_libdir_flag_spec"; then
- if test -n "$hardcode_libdir_separator"; then
- if test -z "$hardcode_libdirs"; then
- hardcode_libdirs="$libdir"
- else
- # Just accumulate the unique libdirs.
- case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
- *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
- ;;
- *)
- hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
- ;;
- esac
- fi
- else
- eval flag=\"$hardcode_libdir_flag_spec\"
- dep_rpath="$dep_rpath $flag"
- fi
- elif test -n "$runpath_var"; then
- case "$perm_rpath " in
- *" $libdir "*) ;;
- *) perm_rpath="$perm_rpath $libdir" ;;
- esac
- fi
- done
- # Substitute the hardcoded libdirs into the rpath.
- if test -n "$hardcode_libdir_separator" &&
- test -n "$hardcode_libdirs"; then
- libdir="$hardcode_libdirs"
- eval dep_rpath=\"$hardcode_libdir_flag_spec\"
- fi
- if test -n "$runpath_var" && test -n "$perm_rpath"; then
- # We should set the runpath_var.
- rpath=
- for dir in $perm_rpath; do
- rpath="$rpath$dir:"
- done
- eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
- fi
- test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
- fi
-
- shlibpath="$finalize_shlibpath"
- test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
- if test -n "$shlibpath"; then
- eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
- fi
-
- # Get the real and link names of the library.
- eval library_names=\"$library_names_spec\"
- set dummy $library_names
- realname="$2"
- shift; shift
-
- if test -n "$soname_spec"; then
- eval soname=\"$soname_spec\"
- else
- soname="$realname"
- fi
- test -z "$dlname" && dlname=$soname
-
- lib="$output_objdir/$realname"
- for link
- do
- linknames="$linknames $link"
- done
-
- # Ensure that we have .o objects for linkers which dislike .lo
- # (e.g. aix) in case we are running --disable-static
- for obj in $libobjs; do
- xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
- if test "X$xdir" = "X$obj"; then
- xdir="."
- else
- xdir="$xdir"
- fi
- baseobj=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
- oldobj=`$echo "X$baseobj" | $Xsed -e "$lo2o"`
- if test ! -f $xdir/$oldobj; then
- $show "(cd $xdir && ${LN_S} $baseobj $oldobj)"
- $run eval '(cd $xdir && ${LN_S} $baseobj $oldobj)' || exit $?
- fi
- done
-
- # Use standard objects if they are pic
- test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
-
- # Prepare the list of exported symbols
- if test -z "$export_symbols"; then
- if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then
- $show "generating symbol list for \`$libname.la'"
- export_symbols="$output_objdir/$libname.exp"
- $run $rm $export_symbols
- eval cmds=\"$export_symbols_cmds\"
- IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
- for cmd in $cmds; do
- IFS="$save_ifs"
- $show "$cmd"
- $run eval "$cmd" || exit $?
- done
- IFS="$save_ifs"
- if test -n "$export_symbols_regex"; then
- $show "egrep -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\""
- $run eval 'egrep -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
- $show "$mv \"${export_symbols}T\" \"$export_symbols\""
- $run eval '$mv "${export_symbols}T" "$export_symbols"'
- fi
- fi
- fi
-
- if test -n "$export_symbols" && test -n "$include_expsyms"; then
- $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"'
- fi
-
- if test -n "$convenience"; then
- if test -n "$whole_archive_flag_spec"; then
- eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
- else
- gentop="$output_objdir/${outputname}x"
- $show "${rm}r $gentop"
- $run ${rm}r "$gentop"
- $show "mkdir $gentop"
- $run mkdir "$gentop"
- status=$?
- if test $status -ne 0 && test ! -d "$gentop"; then
- exit $status
- fi
- generated="$generated $gentop"
-
- for xlib in $convenience; do
- # Extract the objects.
- case $xlib in
- [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
- *) xabs=`pwd`"/$xlib" ;;
- esac
- xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
- xdir="$gentop/$xlib"
-
- $show "${rm}r $xdir"
- $run ${rm}r "$xdir"
- $show "mkdir $xdir"
- $run mkdir "$xdir"
- status=$?
- if test $status -ne 0 && test ! -d "$xdir"; then
- exit $status
- fi
- $show "(cd $xdir && $AR x $xabs)"
- $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
-
- libobjs="$libobjs "`find $xdir -name \*.o -print -o -name \*.lo -print | $NL2SP`
- done
- fi
- fi
-
- if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
- eval flag=\"$thread_safe_flag_spec\"
- linker_flags="$linker_flags $flag"
- fi
-
- # Make a backup of the uninstalled library when relinking
- if test "$mode" = relink; then
- $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $?
- fi
-
- # Do each of the archive commands.
- if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
- eval cmds=\"$archive_expsym_cmds\"
- else
- eval cmds=\"$archive_cmds\"
- fi
- IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
- for cmd in $cmds; do
- IFS="$save_ifs"
- $show "$cmd"
- $run eval "$cmd" || exit $?
- done
- IFS="$save_ifs"
-
- # Restore the uninstalled library and exit
- if test "$mode" = relink; then
- $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
- exit 0
- fi
-
- # Create links to the real library.
- for linkname in $linknames; do
- if test "$realname" != "$linkname"; then
- $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)"
- $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $?
- fi
- done
-
- # If -module or -export-dynamic was specified, set the dlname.
- if test "$module" = yes || test "$export_dynamic" = yes; then
- # On all known operating systems, these are identical.
- dlname="$soname"
- fi
- fi
- ;;
-
- obj)
- if test -n "$deplibs"; then
- $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2
- fi
-
- if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
- $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2
- fi
-
- if test -n "$rpath"; then
- $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2
- fi
-
- if test -n "$xrpath"; then
- $echo "$modename: warning: \`-R' is ignored for objects" 1>&2
- fi
-
- if test -n "$vinfo"; then
- $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2
- fi
-
- if test -n "$release"; then
- $echo "$modename: warning: \`-release' is ignored for objects" 1>&2
- fi
-
- case $output in
- *.lo)
- if test -n "$objs$old_deplibs"; then
- $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2
- exit 1
- fi
- libobj="$output"
- obj=`$echo "X$output" | $Xsed -e "$lo2o"`
- ;;
- *)
- libobj=
- obj="$output"
- ;;
- esac
-
- # Delete the old objects.
- $run $rm $obj $libobj
-
- # Objects from convenience libraries. This assumes
- # single-version convenience libraries. Whenever we create
- # different ones for PIC/non-PIC, this we'll have to duplicate
- # the extraction.
- reload_conv_objs=
- gentop=
- # reload_cmds runs $LD directly, so let us get rid of
- # -Wl from whole_archive_flag_spec
- wl=
-
- if test -n "$convenience"; then
- if test -n "$whole_archive_flag_spec"; then
- eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\"
- else
- gentop="$output_objdir/${obj}x"
- $show "${rm}r $gentop"
- $run ${rm}r "$gentop"
- $show "mkdir $gentop"
- $run mkdir "$gentop"
- status=$?
- if test $status -ne 0 && test ! -d "$gentop"; then
- exit $status
- fi
- generated="$generated $gentop"
-
- for xlib in $convenience; do
- # Extract the objects.
- case $xlib in
- [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
- *) xabs=`pwd`"/$xlib" ;;
- esac
- xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
- xdir="$gentop/$xlib"
-
- $show "${rm}r $xdir"
- $run ${rm}r "$xdir"
- $show "mkdir $xdir"
- $run mkdir "$xdir"
- status=$?
- if test $status -ne 0 && test ! -d "$xdir"; then
- exit $status
- fi
- $show "(cd $xdir && $AR x $xabs)"
- $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
-
- reload_conv_objs="$reload_objs "`find $xdir -name \*.o -print -o -name \*.lo -print | $NL2SP`
- done
- fi
- fi
-
- # Create the old-style object.
- reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
-
- output="$obj"
- eval cmds=\"$reload_cmds\"
- IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
- for cmd in $cmds; do
- IFS="$save_ifs"
- $show "$cmd"
- $run eval "$cmd" || exit $?
- done
- IFS="$save_ifs"
-
- # Exit if we aren't doing a library object file.
- if test -z "$libobj"; then
- if test -n "$gentop"; then
- $show "${rm}r $gentop"
- $run ${rm}r $gentop
- fi
-
- exit 0
- fi
-
- if test "$build_libtool_libs" != yes; then
- if test -n "$gentop"; then
- $show "${rm}r $gentop"
- $run ${rm}r $gentop
- fi
-
- # Create an invalid libtool object if no PIC, so that we don't
- # accidentally link it into a program.
- $show "echo timestamp > $libobj"
- $run eval "echo timestamp > $libobj" || exit $?
- exit 0
- fi
-
- if test -n "$pic_flag" || test "$pic_mode" != default; then
- # Only do commands if we really have different PIC objects.
- reload_objs="$libobjs $reload_conv_objs"
- output="$libobj"
- eval cmds=\"$reload_cmds\"
- IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
- for cmd in $cmds; do
- IFS="$save_ifs"
- $show "$cmd"
- $run eval "$cmd" || exit $?
- done
- IFS="$save_ifs"
- else
- # Just create a symlink.
- $show $rm $libobj
- $run $rm $libobj
- xdir=`$echo "X$libobj" | $Xsed -e 's%/[^/]*$%%'`
- if test "X$xdir" = "X$libobj"; then
- xdir="."
- else
- xdir="$xdir"
- fi
- baseobj=`$echo "X$libobj" | $Xsed -e 's%^.*/%%'`
- oldobj=`$echo "X$baseobj" | $Xsed -e "$lo2o"`
- $show "(cd $xdir && $LN_S $oldobj $baseobj)"
- $run eval '(cd $xdir && $LN_S $oldobj $baseobj)' || exit $?
- fi
-
- if test -n "$gentop"; then
- $show "${rm}r $gentop"
- $run ${rm}r $gentop
- fi
-
- exit 0
- ;;
-
- prog)
- case $host in
- *cygwin*) output=`echo $output | sed -e 's,.exe$,,;s,$,.exe,'` ;;
- esac
- if test -n "$vinfo"; then
- $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2
- fi
-
- if test -n "$release"; then
- $echo "$modename: warning: \`-release' is ignored for programs" 1>&2
- fi
-
- if test "$preload" = yes; then
- if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown &&
- test "$dlopen_self_static" = unknown; then
- $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support."
- fi
- fi
-
- case $host in
- *-*-rhapsody* | *-*-darwin1.[012])
- # On Rhapsody replace the C library is the System framework
- compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
- finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
- ;;
- esac
-
- compile_command="$compile_command $compile_deplibs"
- finalize_command="$finalize_command $finalize_deplibs"
-
- if test -n "$rpath$xrpath"; then
- # If the user specified any rpath flags, then add them.
- for libdir in $rpath $xrpath; do
- # This is the magic to use -rpath.
- case "$finalize_rpath " in
- *" $libdir "*) ;;
- *) finalize_rpath="$finalize_rpath $libdir" ;;
- esac
- done
- fi
-
- # Now hardcode the library paths
- rpath=
- hardcode_libdirs=
- for libdir in $compile_rpath $finalize_rpath; do
- if test -n "$hardcode_libdir_flag_spec"; then
- if test -n "$hardcode_libdir_separator"; then
- if test -z "$hardcode_libdirs"; then
- hardcode_libdirs="$libdir"
- else
- # Just accumulate the unique libdirs.
- case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
- *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
- ;;
- *)
- hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
- ;;
- esac
- fi
- else
- eval flag=\"$hardcode_libdir_flag_spec\"
- rpath="$rpath $flag"
- fi
- elif test -n "$runpath_var"; then
- case "$perm_rpath " in
- *" $libdir "*) ;;
- *) perm_rpath="$perm_rpath $libdir" ;;
- esac
- fi
- case $host in
- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
- case :$dllsearchpath: in
- *":$libdir:"*) ;;
- *) dllsearchpath="$dllsearchpath:$libdir";;
- esac
- ;;
- esac
- done
- # Substitute the hardcoded libdirs into the rpath.
- if test -n "$hardcode_libdir_separator" &&
- test -n "$hardcode_libdirs"; then
- libdir="$hardcode_libdirs"
- eval rpath=\" $hardcode_libdir_flag_spec\"
- fi
- compile_rpath="$rpath"
-
- rpath=
- hardcode_libdirs=
- for libdir in $finalize_rpath; do
- if test -n "$hardcode_libdir_flag_spec"; then
- if test -n "$hardcode_libdir_separator"; then
- if test -z "$hardcode_libdirs"; then
- hardcode_libdirs="$libdir"
- else
- # Just accumulate the unique libdirs.
- case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
- *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
- ;;
- *)
- hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
- ;;
- esac
- fi
- else
- eval flag=\"$hardcode_libdir_flag_spec\"
- rpath="$rpath $flag"
- fi
- elif test -n "$runpath_var"; then
- case "$finalize_perm_rpath " in
- *" $libdir "*) ;;
- *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;;
- esac
- fi
- done
- # Substitute the hardcoded libdirs into the rpath.
- if test -n "$hardcode_libdir_separator" &&
- test -n "$hardcode_libdirs"; then
- libdir="$hardcode_libdirs"
- eval rpath=\" $hardcode_libdir_flag_spec\"
- fi
- finalize_rpath="$rpath"
-
- if test -n "$libobjs" && test "$build_old_libs" = yes; then
- # Transform all the library objects into standard objects.
- compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
- finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
- fi
-
- dlsyms=
- if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
- if test -n "$NM" && test -n "$global_symbol_pipe"; then
- dlsyms="${outputname}S.c"
- else
- $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2
- fi
- fi
-
- if test -n "$dlsyms"; then
- case $dlsyms in
- "") ;;
- *.c)
- # Discover the nlist of each of the dlfiles.
- nlist="$output_objdir/${outputname}.nm"
-
- $show "$rm $nlist ${nlist}S ${nlist}T"
- $run $rm "$nlist" "${nlist}S" "${nlist}T"
-
- # Parse the name list into a source file.
- $show "creating $output_objdir/$dlsyms"
-
- test -z "$run" && $echo > "$output_objdir/$dlsyms" "\
-/* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */
-/* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */
-
-#ifdef __cplusplus
-extern \"C\" {
-#endif
-
-/* Prevent the only kind of declaration conflicts we can make. */
-#define lt_preloaded_symbols some_other_symbol
-
-/* External symbol declarations for the compiler. */\
-"
-
- if test "$dlself" = yes; then
- $show "generating symbol list for \`$output'"
-
- test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist"
-
- # Add our own program objects to the symbol list.
- progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
- for arg in $progfiles; do
- $show "extracting global C symbols from \`$arg'"
- $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
- done
-
- if test -n "$exclude_expsyms"; then
- $run eval 'egrep -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
- $run eval '$mv "$nlist"T "$nlist"'
- fi
-
- if test -n "$export_symbols_regex"; then
- $run eval 'egrep -e "$export_symbols_regex" "$nlist" > "$nlist"T'
- $run eval '$mv "$nlist"T "$nlist"'
- fi
-
- # Prepare the list of exported symbols
- if test -z "$export_symbols"; then
- export_symbols="$output_objdir/$output.exp"
- $run $rm $export_symbols
- $run eval "sed -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
- else
- $run eval "sed -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"'
- $run eval 'grep -f "$output_objdir/$output.exp" < "$nlist" > "$nlist"T'
- $run eval 'mv "$nlist"T "$nlist"'
- fi
- fi
-
- for arg in $dlprefiles; do
- $show "extracting global C symbols from \`$arg'"
- name=`echo "$arg" | sed -e 's%^.*/%%'`
- $run eval 'echo ": $name " >> "$nlist"'
- $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
- done
-
- if test -z "$run"; then
- # Make sure we have at least an empty file.
- test -f "$nlist" || : > "$nlist"
-
- if test -n "$exclude_expsyms"; then
- egrep -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
- $mv "$nlist"T "$nlist"
- fi
-
- # Try sorting and uniquifying the output.
- if grep -v "^: " < "$nlist" | sort +2 | uniq > "$nlist"S; then
- :
- else
- grep -v "^: " < "$nlist" > "$nlist"S
- fi
-
- if test -f "$nlist"S; then
- eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"'
- else
- echo '/* NONE */' >> "$output_objdir/$dlsyms"
- fi
-
- $echo >> "$output_objdir/$dlsyms" "\
-
-#undef lt_preloaded_symbols
-
-#if defined (__STDC__) && __STDC__
-# define lt_ptr_t void *
-#else
-# define lt_ptr_t char *
-# define const
-#endif
-
-/* The mapping between symbol names and symbols. */
-const struct {
- const char *name;
- lt_ptr_t address;
-}
-lt_preloaded_symbols[] =
-{\
-"
-
- sed -n -e 's/^: \([^ ]*\) $/ {\"\1\", (lt_ptr_t) 0},/p' \
- -e 's/^. \([^ ]*\) \([^ ]*\)$/ {"\2", (lt_ptr_t) \&\2},/p' \
- < "$nlist" >> "$output_objdir/$dlsyms"
-
- $echo >> "$output_objdir/$dlsyms" "\
- {0, (lt_ptr_t) 0}
-};
-
-/* This works around a problem in FreeBSD linker */
-#ifdef FREEBSD_WORKAROUND
-static const void *lt_preloaded_setup() {
- return lt_preloaded_symbols;
-}
-#endif
-
-#ifdef __cplusplus
-}
-#endif\
-"
- fi
-
- pic_flag_for_symtable=
- case $host in
- # compiling the symbol table file with pic_flag works around
- # a FreeBSD bug that causes programs to crash when -lm is
- # linked before any other PIC object. But we must not use
- # pic_flag when linking with -static. The problem exists in
- # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
- *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
- case "$compile_command " in
- *" -static "*) ;;
- *) pic_flag_for_symtable=" $pic_flag -DPIC -DFREEBSD_WORKAROUND";;
- esac;;
- *-*-hpux*)
- case "$compile_command " in
- *" -static "*) ;;
- *) pic_flag_for_symtable=" $pic_flag -DPIC";;
- esac
- esac
-
- # Now compile the dynamic symbol file.
- $show "(cd $output_objdir && $CC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
- $run eval '(cd $output_objdir && $CC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
-
- # Clean up the generated files.
- $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T"
- $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T"
-
- # Transform the symbol file into the correct name.
- compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
- finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
- ;;
- *)
- $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
- exit 1
- ;;
- esac
- else
- # We keep going just in case the user didn't refer to
- # lt_preloaded_symbols. The linker will fail if global_symbol_pipe
- # really was required.
-
- # Nullify the symbol file.
- compile_command=`$echo "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
- finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
- fi
-
- if test $need_relink = no || test "$build_libtool_libs" != yes; then
- # Replace the output file specification.
- compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
- link_command="$compile_command$compile_rpath"
-
- # We have no uninstalled library dependencies, so finalize right now.
- $show "$link_command"
- $run eval "$link_command"
- status=$?
-
- # Delete the generated files.
- if test -n "$dlsyms"; then
- $show "$rm $output_objdir/${outputname}S.${objext}"
- $run $rm "$output_objdir/${outputname}S.${objext}"
- fi
-
- exit $status
- fi
-
- if test -n "$shlibpath_var"; then
- # We should set the shlibpath_var
- rpath=
- for dir in $temp_rpath; do
- case $dir in
- [\\/]* | [A-Za-z]:[\\/]*)
- # Absolute path.
- rpath="$rpath$dir:"
- ;;
- *)
- # Relative path: add a thisdir entry.
- rpath="$rpath\$thisdir/$dir:"
- ;;
- esac
- done
- temp_rpath="$rpath"
- fi
-
- if test -n "$compile_shlibpath$finalize_shlibpath"; then
- compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
- fi
- if test -n "$finalize_shlibpath"; then
- finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command"
- fi
-
- compile_var=
- finalize_var=
- if test -n "$runpath_var"; then
- if test -n "$perm_rpath"; then
- # We should set the runpath_var.
- rpath=
- for dir in $perm_rpath; do
- rpath="$rpath$dir:"
- done
- compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
- fi
- if test -n "$finalize_perm_rpath"; then
- # We should set the runpath_var.
- rpath=
- for dir in $finalize_perm_rpath; do
- rpath="$rpath$dir:"
- done
- finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
- fi
- fi
-
- if test "$no_install" = yes; then
- # We don't need to create a wrapper script.
- link_command="$compile_var$compile_command$compile_rpath"
- # Replace the output file specification.
- link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
- # Delete the old output file.
- $run $rm $output
- # Link the executable and exit
- $show "$link_command"
- $run eval "$link_command" || exit $?
- exit 0
- fi
-
- if test "$hardcode_action" = relink; then
- # Fast installation is not supported
- link_command="$compile_var$compile_command$compile_rpath"
- relink_command="$finalize_var$finalize_command$finalize_rpath"
-
- $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2
- $echo "$modename: \`$output' will be relinked during installation" 1>&2
- else
- if test "$fast_install" != no; then
- link_command="$finalize_var$compile_command$finalize_rpath"
- if test "$fast_install" = yes; then
- relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
- else
- # fast_install is set to needless
- relink_command=
- fi
- else
- link_command="$compile_var$compile_command$compile_rpath"
- relink_command="$finalize_var$finalize_command$finalize_rpath"
- fi
- fi
-
- # Replace the output file specification.
- link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
-
- # Delete the old output files.
- $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname
-
- $show "$link_command"
- $run eval "$link_command" || exit $?
-
- # Now create the wrapper script.
- $show "creating $output"
-
- # Quote the relink command for shipping.
- if test -n "$relink_command"; then
- # Preserve any variables that may affect compiler behavior
- for var in $variables_saved_for_relink; do
- if eval test -z \"\${$var+set}\"; then
- relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
- elif eval var_value=\$$var; test -z "$var_value"; then
- relink_command="$var=; export $var; $relink_command"
- else
- var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
- relink_command="$var=\"$var_value\"; export $var; $relink_command"
- fi
- done
- relink_command="cd `pwd`; $relink_command"
- relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
- fi
-
- # Quote $echo for shipping.
- if test "X$echo" = "X$SHELL $0 --fallback-echo"; then
- case $0 in
- [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $0 --fallback-echo";;
- *) qecho="$SHELL `pwd`/$0 --fallback-echo";;
- esac
- qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"`
- else
- qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"`
- fi
-
- # Only actually do things if our run command is non-null.
- if test -z "$run"; then
- # win32 will think the script is a binary if it has
- # a .exe suffix, so we strip it off here.
- case $output in
- *.exe) output=`echo $output|sed 's,.exe$,,'` ;;
- esac
- # test for cygwin because mv fails w/o .exe extensions
- case $host in
- *cygwin*) exeext=.exe ;;
- *) exeext= ;;
- esac
- $rm $output
- trap "$rm $output; exit 1" 1 2 15
-
- $echo > $output "\
-#! $SHELL
-
-# $output - temporary wrapper script for $objdir/$outputname
-# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
-#
-# The $output program cannot be directly executed until all the libtool
-# libraries that it depends on are installed.
-#
-# This wrapper script should never be moved out of the build directory.
-# If it is, it will not operate correctly.
-
-# Sed substitution that helps us do robust quoting. It backslashifies
-# metacharacters that are still active within double-quoted strings.
-Xsed='sed -e 1s/^X//'
-sed_quote_subst='$sed_quote_subst'
-
-# The HP-UX ksh and POSIX shell print the target directory to stdout
-# if CDPATH is set.
-if test \"\${CDPATH+set}\" = set; then CDPATH=:; export CDPATH; fi
-
-relink_command=\"$relink_command\"
-
-# This environment variable determines our operation mode.
-if test \"\$libtool_install_magic\" = \"$magic\"; then
- # install mode needs the following variable:
- notinst_deplibs='$notinst_deplibs'
-else
- # When we are sourced in execute mode, \$file and \$echo are already set.
- if test \"\$libtool_execute_magic\" != \"$magic\"; then
- echo=\"$qecho\"
- file=\"\$0\"
- # Make sure echo works.
- if test \"X\$1\" = X--no-reexec; then
- # Discard the --no-reexec flag, and continue.
- shift
- elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then
- # Yippee, \$echo works!
- :
- else
- # Restart under the correct shell, and then maybe \$echo will work.
- exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
- fi
- fi\
-"
- $echo >> $output "\
-
- # Find the directory that this script lives in.
- thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
- test \"x\$thisdir\" = \"x\$file\" && thisdir=.
-
- # Follow symbolic links until we get to the real thisdir.
- file=\`ls -ld \"\$file\" | sed -n 's/.*-> //p'\`
- while test -n \"\$file\"; do
- destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
-
- # If there was a directory component, then change thisdir.
- if test \"x\$destdir\" != \"x\$file\"; then
- case \"\$destdir\" in
- [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
- *) thisdir=\"\$thisdir/\$destdir\" ;;
- esac
- fi
-
- file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
- file=\`ls -ld \"\$thisdir/\$file\" | sed -n 's/.*-> //p'\`
- done
-
- # Try to get the absolute directory name.
- absdir=\`cd \"\$thisdir\" && pwd\`
- test -n \"\$absdir\" && thisdir=\"\$absdir\"
-"
-
- if test "$fast_install" = yes; then
- echo >> $output "\
- program=lt-'$outputname'$exeext
- progdir=\"\$thisdir/$objdir\"
-
- if test ! -f \"\$progdir/\$program\" || \\
- { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | sed 1q\`; \\
- test \"X\$file\" != \"X\$progdir/\$program\"; }; then
-
- file=\"\$\$-\$program\"
-
- if test ! -d \"\$progdir\"; then
- $mkdir \"\$progdir\"
- else
- $rm \"\$progdir/\$file\"
- fi"
-
- echo >> $output "\
-
- # relink executable if necessary
- if test -n \"\$relink_command\"; then
- if (eval \$relink_command); then :
- else
- $rm \"\$progdir/\$file\"
- exit 1
- fi
- fi
-
- $mv \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
- { $rm \"\$progdir/\$program\";
- $mv \"\$progdir/\$file\" \"\$progdir/\$program\"; }
- $rm \"\$progdir/\$file\"
- fi"
- else
- echo >> $output "\
- program='$outputname'
- progdir=\"\$thisdir/$objdir\"
-"
- fi
-
- echo >> $output "\
-
- if test -f \"\$progdir/\$program\"; then"
-
- # Export our shlibpath_var if we have one.
- if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
- $echo >> $output "\
- # Add our own library path to $shlibpath_var
- $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
-
- # Some systems cannot cope with colon-terminated $shlibpath_var
- # The second colon is a workaround for a bug in BeOS R4 sed
- $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
-
- export $shlibpath_var
-"
- fi
-
- # fixup the dll searchpath if we need to.
- if test -n "$dllsearchpath"; then
- $echo >> $output "\
- # Add the dll search path components to the executable PATH
- PATH=$dllsearchpath:\$PATH
-"
- fi
-
- $echo >> $output "\
- if test \"\$libtool_execute_magic\" != \"$magic\"; then
- # Run the actual program with our arguments.
-"
- case $host in
- # win32 systems need to use the prog path for dll
- # lookup to work
- *-*-cygwin* | *-*-pw32*)
- $echo >> $output "\
- exec \$progdir/\$program \${1+\"\$@\"}
-"
- ;;
-
- # Backslashes separate directories on plain windows
- *-*-mingw | *-*-os2*)
- $echo >> $output "\
- exec \$progdir\\\\\$program \${1+\"\$@\"}
-"
- ;;
-
- *)
- $echo >> $output "\
- # Export the path to the program.
- PATH=\"\$progdir:\$PATH\"
- export PATH
-
- exec \$program \${1+\"\$@\"}
-"
- ;;
- esac
- $echo >> $output "\
- \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\"
- exit 1
- fi
- else
- # The program doesn't exist.
- \$echo \"\$0: error: \$progdir/\$program does not exist\" 1>&2
- \$echo \"This script is just a wrapper for \$program.\" 1>&2
- echo \"See the $PACKAGE documentation for more information.\" 1>&2
- exit 1
- fi
-fi\
-"
- chmod +x $output
- fi
- exit 0
- ;;
- esac
-
- # See if we need to build an old-fashioned archive.
- for oldlib in $oldlibs; do
-
- if test "$build_libtool_libs" = convenience; then
- oldobjs="$libobjs_save"
- addlibs="$convenience"
- build_libtool_libs=no
- else
- if test "$build_libtool_libs" = module; then
- oldobjs="$libobjs_save"
- build_libtool_libs=no
- else
- oldobjs="$objs$old_deplibs "`$echo "X$libobjs_save" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`
- fi
- addlibs="$old_convenience"
- fi
-
- if test -n "$addlibs"; then
- gentop="$output_objdir/${outputname}x"
- $show "${rm}r $gentop"
- $run ${rm}r "$gentop"
- $show "mkdir $gentop"
- $run mkdir "$gentop"
- status=$?
- if test $status -ne 0 && test ! -d "$gentop"; then
- exit $status
- fi
- generated="$generated $gentop"
-
- # Add in members from convenience archives.
- for xlib in $addlibs; do
- # Extract the objects.
- case $xlib in
- [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
- *) xabs=`pwd`"/$xlib" ;;
- esac
- xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
- xdir="$gentop/$xlib"
-
- $show "${rm}r $xdir"
- $run ${rm}r "$xdir"
- $show "mkdir $xdir"
- $run mkdir "$xdir"
- status=$?
- if test $status -ne 0 && test ! -d "$xdir"; then
- exit $status
- fi
- $show "(cd $xdir && $AR x $xabs)"
- $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
-
- oldobjs="$oldobjs "`find $xdir -name \*.${objext} -print -o -name \*.lo -print | $NL2SP`
- done
- fi
-
- # Do each command in the archive commands.
- if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
- eval cmds=\"$old_archive_from_new_cmds\"
- else
- # Ensure that we have .o objects in place in case we decided
- # not to build a shared library, and have fallen back to building
- # static libs even though --disable-static was passed!
- for oldobj in $oldobjs; do
- if test ! -f $oldobj; then
- xdir=`$echo "X$oldobj" | $Xsed -e 's%/[^/]*$%%'`
- if test "X$xdir" = "X$oldobj"; then
- xdir="."
- else
- xdir="$xdir"
- fi
- baseobj=`$echo "X$oldobj" | $Xsed -e 's%^.*/%%'`
- obj=`$echo "X$baseobj" | $Xsed -e "$o2lo"`
- $show "(cd $xdir && ${LN_S} $obj $baseobj)"
- $run eval '(cd $xdir && ${LN_S} $obj $baseobj)' || exit $?
- fi
- done
-
- eval cmds=\"$old_archive_cmds\"
- fi
- IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
- for cmd in $cmds; do
- IFS="$save_ifs"
- $show "$cmd"
- $run eval "$cmd" || exit $?
- done
- IFS="$save_ifs"
- done
-
- if test -n "$generated"; then
- $show "${rm}r$generated"
- $run ${rm}r$generated
- fi
-
- # Now create the libtool archive.
- case $output in
- *.la)
- old_library=
- test "$build_old_libs" = yes && old_library="$libname.$libext"
- $show "creating $output"
-
- # Preserve any variables that may affect compiler behavior
- for var in $variables_saved_for_relink; do
- if eval test -z \"\${$var+set}\"; then
- relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
- elif eval var_value=\$$var; test -z "$var_value"; then
- relink_command="$var=; export $var; $relink_command"
- else
- var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
- relink_command="$var=\"$var_value\"; export $var; $relink_command"
- fi
- done
- # Quote the link command for shipping.
- relink_command="cd `pwd`; $SHELL $0 --mode=relink $libtool_args"
- relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
-
- # Only create the output if not a dry run.
- if test -z "$run"; then
- for installed in no yes; do
- if test "$installed" = yes; then
- if test -z "$install_libdir"; then
- break
- fi
- output="$output_objdir/$outputname"i
- # Replace all uninstalled libtool libraries with the installed ones
- newdependency_libs=
- for deplib in $dependency_libs; do
- case $deplib in
- *.la)
- name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'`
- eval libdir=`sed -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
- if test -z "$libdir"; then
- $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
- exit 1
- fi
- newdependency_libs="$newdependency_libs $libdir/$name"
- ;;
- *) newdependency_libs="$newdependency_libs $deplib" ;;
- esac
- done
- dependency_libs="$newdependency_libs"
- newdlfiles=
- for lib in $dlfiles; do
- name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
- eval libdir=`sed -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
- if test -z "$libdir"; then
- $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
- exit 1
- fi
- newdlfiles="$newdlfiles $libdir/$name"
- done
- dlfiles="$newdlfiles"
- newdlprefiles=
- for lib in $dlprefiles; do
- name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
- eval libdir=`sed -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
- if test -z "$libdir"; then
- $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
- exit 1
- fi
- newdlprefiles="$newdlprefiles $libdir/$name"
- done
- dlprefiles="$newdlprefiles"
- fi
- $rm $output
- # place dlname in correct position for cygwin
- tdlname=$dlname
- case $host,$output,$installed,$module,$dlname in
- *cygwin*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
- esac
- $echo > $output "\
-# $outputname - a libtool library file
-# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
-#
-# Please DO NOT delete this file!
-# It is necessary for linking the library.
-
-# The name that we can dlopen(3).
-dlname='$tdlname'
-
-# Names of this library.
-library_names='$library_names'
-
-# The name of the static archive.
-old_library='$old_library'
-
-# Libraries that this one depends upon.
-dependency_libs='$dependency_libs'
-
-# Version information for $libname.
-current=$current
-age=$age
-revision=$revision
-
-# Is this an already installed library?
-installed=$installed
-
-# Files to dlopen/dlpreopen
-dlopen='$dlfiles'
-dlpreopen='$dlprefiles'
-
-# Directory that this library needs to be installed in:
-libdir='$install_libdir'"
- if test "$installed" = no && test $need_relink = yes; then
- $echo >> $output "\
-relink_command=\"$relink_command\""
- fi
- done
- fi
-
- # Do a symbolic link so that the libtool archive can be found in
- # LD_LIBRARY_PATH before the program is installed.
- $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)"
- $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $?
- ;;
- esac
- exit 0
- ;;
-
- # libtool install mode
- install)
- modename="$modename: install"
-
- # There may be an optional sh(1) argument at the beginning of
- # install_prog (especially on Windows NT).
- if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
- # Allow the use of GNU shtool's install command.
- $echo "X$nonopt" | $Xsed | grep shtool > /dev/null; then
- # Aesthetically quote it.
- arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"`
- case $arg in
- *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
- arg="\"$arg\""
- ;;
- esac
- install_prog="$arg "
- arg="$1"
- shift
- else
- install_prog=
- arg="$nonopt"
- fi
-
- # The real first argument should be the name of the installation program.
- # Aesthetically quote it.
- arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
- case $arg in
- *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
- arg="\"$arg\""
- ;;
- esac
- install_prog="$install_prog$arg"
-
- # We need to accept at least all the BSD install flags.
- dest=
- files=
- opts=
- prev=
- install_type=
- isdir=no
- stripme=
- for arg
- do
- if test -n "$dest"; then
- files="$files $dest"
- dest="$arg"
- continue
- fi
-
- case $arg in
- -d) isdir=yes ;;
- -f) prev="-f" ;;
- -g) prev="-g" ;;
- -m) prev="-m" ;;
- -o) prev="-o" ;;
- -s)
- stripme=" -s"
- continue
- ;;
- -*) ;;
-
- *)
- # If the previous option needed an argument, then skip it.
- if test -n "$prev"; then
- prev=
- else
- dest="$arg"
- continue
- fi
- ;;
- esac
-
- # Aesthetically quote the argument.
- arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
- case $arg in
- *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
- arg="\"$arg\""
- ;;
- esac
- install_prog="$install_prog $arg"
- done
-
- if test -z "$install_prog"; then
- $echo "$modename: you must specify an install program" 1>&2
- $echo "$help" 1>&2
- exit 1
- fi
-
- if test -n "$prev"; then
- $echo "$modename: the \`$prev' option requires an argument" 1>&2
- $echo "$help" 1>&2
- exit 1
- fi
-
- if test -z "$files"; then
- if test -z "$dest"; then
- $echo "$modename: no file or destination specified" 1>&2
- else
- $echo "$modename: you must specify a destination" 1>&2
- fi
- $echo "$help" 1>&2
- exit 1
- fi
-
- # Strip any trailing slash from the destination.
- dest=`$echo "X$dest" | $Xsed -e 's%/$%%'`
-
- # Check to see that the destination is a directory.
- test -d "$dest" && isdir=yes
- if test "$isdir" = yes; then
- destdir="$dest"
- destname=
- else
- destdir=`$echo "X$dest" | $Xsed -e 's%/[^/]*$%%'`
- test "X$destdir" = "X$dest" && destdir=.
- destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'`
-
- # Not a directory, so check to see that there is only one file specified.
- set dummy $files
- if test $# -gt 2; then
- $echo "$modename: \`$dest' is not a directory" 1>&2
- $echo "$help" 1>&2
- exit 1
- fi
- fi
- case $destdir in
- [\\/]* | [A-Za-z]:[\\/]*) ;;
- *)
- for file in $files; do
- case $file in
- *.lo) ;;
- *)
- $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2
- $echo "$help" 1>&2
- exit 1
- ;;
- esac
- done
- ;;
- esac
-
- # This variable tells wrapper scripts just to set variables rather
- # than running their programs.
- libtool_install_magic="$magic"
-
- staticlibs=
- future_libdirs=
- current_libdirs=
- for file in $files; do
-
- # Do each installation.
- case $file in
- *.$libext)
- # Do the static libraries later.
- staticlibs="$staticlibs $file"
- ;;
-
- *.la)
- # Check to see that this really is a libtool archive.
- if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
- else
- $echo "$modename: \`$file' is not a valid libtool archive" 1>&2
- $echo "$help" 1>&2
- exit 1
- fi
-
- library_names=
- old_library=
- relink_command=
- # If there is no directory component, then add one.
- case $file in
- */* | *\\*) . $file ;;
- *) . ./$file ;;
- esac
-
- # Add the libdir to current_libdirs if it is the destination.
- if test "X$destdir" = "X$libdir"; then
- case "$current_libdirs " in
- *" $libdir "*) ;;
- *) current_libdirs="$current_libdirs $libdir" ;;
- esac
- else
- # Note the libdir as a future libdir.
- case "$future_libdirs " in
- *" $libdir "*) ;;
- *) future_libdirs="$future_libdirs $libdir" ;;
- esac
- fi
-
- dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/
- test "X$dir" = "X$file/" && dir=
- dir="$dir$objdir"
-
- if test -n "$relink_command"; then
- $echo "$modename: warning: relinking \`$file'" 1>&2
- $show "$relink_command"
- if $run eval "$relink_command"; then :
- else
- $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
- continue
- fi
- fi
-
- # See the names of the shared library.
- set dummy $library_names
- if test -n "$2"; then
- realname="$2"
- shift
- shift
-
- srcname="$realname"
- test -n "$relink_command" && srcname="$realname"T
-
- # Install the shared library and build the symlinks.
- $show "$install_prog $dir/$srcname $destdir/$realname"
- $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $?
- if test -n "$stripme" && test -n "$striplib"; then
- $show "$striplib $destdir/$realname"
- $run eval "$striplib $destdir/$realname" || exit $?
- fi
-
- if test $# -gt 0; then
- # Delete the old symlinks, and create new ones.
- for linkname
- do
- if test "$linkname" != "$realname"; then
- $show "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
- $run eval "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
- fi
- done
- fi
-
- # Do each command in the postinstall commands.
- lib="$destdir/$realname"
- eval cmds=\"$postinstall_cmds\"
- IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
- for cmd in $cmds; do
- IFS="$save_ifs"
- $show "$cmd"
- $run eval "$cmd" || exit $?
- done
- IFS="$save_ifs"
- fi
-
- # Install the pseudo-library for information purposes.
- name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- instname="$dir/$name"i
- $show "$install_prog $instname $destdir/$name"
- $run eval "$install_prog $instname $destdir/$name" || exit $?
-
- # Maybe install the static library, too.
- test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
- ;;
-
- *.lo)
- # Install (i.e. copy) a libtool object.
-
- # Figure out destination file name, if it wasn't already specified.
- if test -n "$destname"; then
- destfile="$destdir/$destname"
- else
- destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- destfile="$destdir/$destfile"
- fi
-
- # Deduce the name of the destination old-style object file.
- case $destfile in
- *.lo)
- staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"`
- ;;
- *.$objext)
- staticdest="$destfile"
- destfile=
- ;;
- *)
- $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2
- $echo "$help" 1>&2
- exit 1
- ;;
- esac
-
- # Install the libtool object if requested.
- if test -n "$destfile"; then
- $show "$install_prog $file $destfile"
- $run eval "$install_prog $file $destfile" || exit $?
- fi
-
- # Install the old object if enabled.
- if test "$build_old_libs" = yes; then
- # Deduce the name of the old-style object file.
- staticobj=`$echo "X$file" | $Xsed -e "$lo2o"`
-
- $show "$install_prog $staticobj $staticdest"
- $run eval "$install_prog \$staticobj \$staticdest" || exit $?
- fi
- exit 0
- ;;
-
- *)
- # Figure out destination file name, if it wasn't already specified.
- if test -n "$destname"; then
- destfile="$destdir/$destname"
- else
- destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- destfile="$destdir/$destfile"
- fi
-
- # Do a test to see if this is really a libtool program.
- if (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
- notinst_deplibs=
- relink_command=
-
- # If there is no directory component, then add one.
- case $file in
- */* | *\\*) . $file ;;
- *) . ./$file ;;
- esac
-
- # Check the variables that should have been set.
- if test -z "$notinst_deplibs"; then
- $echo "$modename: invalid libtool wrapper script \`$file'" 1>&2
- exit 1
- fi
-
- finalize=yes
- for lib in $notinst_deplibs; do
- # Check to see that each library is installed.
- libdir=
- if test -f "$lib"; then
- # If there is no directory component, then add one.
- case $lib in
- */* | *\\*) . $lib ;;
- *) . ./$lib ;;
- esac
- fi
- libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
- if test -n "$libdir" && test ! -f "$libfile"; then
- $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2
- finalize=no
- fi
- done
-
- relink_command=
- # If there is no directory component, then add one.
- case $file in
- */* | *\\*) . $file ;;
- *) . ./$file ;;
- esac
-
- outputname=
- if test "$fast_install" = no && test -n "$relink_command"; then
- if test "$finalize" = yes && test -z "$run"; then
- tmpdir="/tmp"
- test -n "$TMPDIR" && tmpdir="$TMPDIR"
- tmpdir="$tmpdir/libtool-$$"
- if $mkdir -p "$tmpdir" && chmod 700 "$tmpdir"; then :
- else
- $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2
- continue
- fi
- file=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- outputname="$tmpdir/$file"
- # Replace the output file specification.
- relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
-
- $show "$relink_command"
- if $run eval "$relink_command"; then :
- else
- $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
- ${rm}r "$tmpdir"
- continue
- fi
- file="$outputname"
- else
- $echo "$modename: warning: cannot relink \`$file'" 1>&2
- fi
- else
- # Install the binary that we compiled earlier.
- file=`$echo "X$file" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
- fi
- fi
-
- # remove .exe since cygwin /usr/bin/install will append another
- # one anyways
- case $install_prog,$host in
- /usr/bin/install*,*cygwin*)
- case $file:$destfile in
- *.exe:*.exe)
- # this is ok
- ;;
- *.exe:*)
- destfile=$destfile.exe
- ;;
- *:*.exe)
- destfile=`echo $destfile | sed -e 's,.exe$,,'`
- ;;
- esac
- ;;
- esac
- $show "$install_prog$stripme $file $destfile"
- $run eval "$install_prog\$stripme \$file \$destfile" || exit $?
- test -n "$outputname" && ${rm}r "$tmpdir"
- ;;
- esac
- done
-
- for file in $staticlibs; do
- name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
-
- # Set up the ranlib parameters.
- oldlib="$destdir/$name"
-
- $show "$install_prog $file $oldlib"
- $run eval "$install_prog \$file \$oldlib" || exit $?
-
- if test -n "$stripme" && test -n "$striplib"; then
- $show "$old_striplib $oldlib"
- $run eval "$old_striplib $oldlib" || exit $?
- fi
-
- # Do each command in the postinstall commands.
- eval cmds=\"$old_postinstall_cmds\"
- IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
- for cmd in $cmds; do
- IFS="$save_ifs"
- $show "$cmd"
- $run eval "$cmd" || exit $?
- done
- IFS="$save_ifs"
- done
-
- if test -n "$future_libdirs"; then
- $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2
- fi
-
- if test -n "$current_libdirs"; then
- # Maybe just do a dry run.
- test -n "$run" && current_libdirs=" -n$current_libdirs"
- exec $SHELL $0 --finish$current_libdirs
- exit 1
- fi
-
- exit 0
- ;;
-
- # libtool finish mode
- finish)
- modename="$modename: finish"
- libdirs="$nonopt"
- admincmds=
-
- if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
- for dir
- do
- libdirs="$libdirs $dir"
- done
-
- for libdir in $libdirs; do
- if test -n "$finish_cmds"; then
- # Do each command in the finish commands.
- eval cmds=\"$finish_cmds\"
- IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
- for cmd in $cmds; do
- IFS="$save_ifs"
- $show "$cmd"
- $run eval "$cmd" || admincmds="$admincmds
- $cmd"
- done
- IFS="$save_ifs"
- fi
- if test -n "$finish_eval"; then
- # Do the single finish_eval.
- eval cmds=\"$finish_eval\"
- $run eval "$cmds" || admincmds="$admincmds
- $cmds"
- fi
- done
- fi
-
- # Exit here if they wanted silent mode.
- test "$show" = ":" && exit 0
-
- echo "----------------------------------------------------------------------"
- echo "Libraries have been installed in:"
- for libdir in $libdirs; do
- echo " $libdir"
- done
- echo
- echo "If you ever happen to want to link against installed libraries"
- echo "in a given directory, LIBDIR, you must either use libtool, and"
- echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
- echo "flag during linking and do at least one of the following:"
- if test -n "$shlibpath_var"; then
- echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
- echo " during execution"
- fi
- if test -n "$runpath_var"; then
- echo " - add LIBDIR to the \`$runpath_var' environment variable"
- echo " during linking"
- fi
- if test -n "$hardcode_libdir_flag_spec"; then
- libdir=LIBDIR
- eval flag=\"$hardcode_libdir_flag_spec\"
-
- echo " - use the \`$flag' linker flag"
- fi
- if test -n "$admincmds"; then
- echo " - have your system administrator run these commands:$admincmds"
- fi
- if test -f /etc/ld.so.conf; then
- echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
- fi
- echo
- echo "See any operating system documentation about shared libraries for"
- echo "more information, such as the ld(1) and ld.so(8) manual pages."
- echo "----------------------------------------------------------------------"
- exit 0
- ;;
-
- # libtool execute mode
- execute)
- modename="$modename: execute"
-
- # The first argument is the command name.
- cmd="$nonopt"
- if test -z "$cmd"; then
- $echo "$modename: you must specify a COMMAND" 1>&2
- $echo "$help"
- exit 1
- fi
-
- # Handle -dlopen flags immediately.
- for file in $execute_dlfiles; do
- if test ! -f "$file"; then
- $echo "$modename: \`$file' is not a file" 1>&2
- $echo "$help" 1>&2
- exit 1
- fi
-
- dir=
- case $file in
- *.la)
- # Check to see that this really is a libtool archive.
- if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
- else
- $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
- $echo "$help" 1>&2
- exit 1
- fi
-
- # Read the libtool library.
- dlname=
- library_names=
-
- # If there is no directory component, then add one.
- case $file in
- */* | *\\*) . $file ;;
- *) . ./$file ;;
- esac
-
- # Skip this library if it cannot be dlopened.
- if test -z "$dlname"; then
- # Warn if it was a shared library.
- test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'"
- continue
- fi
-
- dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
- test "X$dir" = "X$file" && dir=.
-
- if test -f "$dir/$objdir/$dlname"; then
- dir="$dir/$objdir"
- else
- $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
- exit 1
- fi
- ;;
-
- *.lo)
- # Just add the directory containing the .lo file.
- dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
- test "X$dir" = "X$file" && dir=.
- ;;
-
- *)
- $echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2
- continue
- ;;
- esac
-
- # Get the absolute pathname.
- absdir=`cd "$dir" && pwd`
- test -n "$absdir" && dir="$absdir"
-
- # Now add the directory to shlibpath_var.
- if eval "test -z \"\$$shlibpath_var\""; then
- eval "$shlibpath_var=\"\$dir\""
- else
- eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\""
- fi
- done
-
- # This variable tells wrapper scripts just to set shlibpath_var
- # rather than running their programs.
- libtool_execute_magic="$magic"
-
- # Check if any of the arguments is a wrapper script.
- args=
- for file
- do
- case $file in
- -*) ;;
- *)
- # Do a test to see if this is really a libtool program.
- if (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
- # If there is no directory component, then add one.
- case $file in
- */* | *\\*) . $file ;;
- *) . ./$file ;;
- esac
-
- # Transform arg to wrapped name.
- file="$progdir/$program"
- fi
- ;;
- esac
- # Quote arguments (to preserve shell metacharacters).
- file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"`
- args="$args \"$file\""
- done
-
- if test -z "$run"; then
- if test -n "$shlibpath_var"; then
- # Export the shlibpath_var.
- eval "export $shlibpath_var"
- fi
-
- # Restore saved enviroment variables
- if test "${save_LC_ALL+set}" = set; then
- LC_ALL="$save_LC_ALL"; export LC_ALL
- fi
- if test "${save_LANG+set}" = set; then
- LANG="$save_LANG"; export LANG
- fi
-
- # Now actually exec the command.
- eval "exec \$cmd$args"
-
- $echo "$modename: cannot exec \$cmd$args"
- exit 1
- else
- # Display what would be done.
- if test -n "$shlibpath_var"; then
- eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\""
- $echo "export $shlibpath_var"
- fi
- $echo "$cmd$args"
- exit 0
- fi
- ;;
-
- # libtool clean and uninstall mode
- clean | uninstall)
- modename="$modename: $mode"
- rm="$nonopt"
- files=
- rmforce=
- exit_status=0
-
- # This variable tells wrapper scripts just to set variables rather
- # than running their programs.
- libtool_install_magic="$magic"
-
- for arg
- do
- case $arg in
- -f) rm="$rm $arg"; rmforce=yes ;;
- -*) rm="$rm $arg" ;;
- *) files="$files $arg" ;;
- esac
- done
-
- if test -z "$rm"; then
- $echo "$modename: you must specify an RM program" 1>&2
- $echo "$help" 1>&2
- exit 1
- fi
-
- rmdirs=
-
- for file in $files; do
- dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
- if test "X$dir" = "X$file"; then
- dir=.
- objdir="$objdir"
- else
- objdir="$dir/$objdir"
- fi
- name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- test $mode = uninstall && objdir="$dir"
-
- # Remember objdir for removal later, being careful to avoid duplicates
- if test $mode = clean; then
- case " $rmdirs " in
- *" $objdir "*) ;;
- *) rmdirs="$rmdirs $objdir" ;;
- esac
- fi
-
- # Don't error if the file doesn't exist and rm -f was used.
- if (test -L "$file") >/dev/null 2>&1 \
- || (test -h "$file") >/dev/null 2>&1 \
- || test -f "$file"; then
- :
- elif test -d "$file"; then
- exit_status=1
- continue
- elif test "$rmforce" = yes; then
- continue
- fi
-
- rmfiles="$file"
-
- case $name in
- *.la)
- # Possibly a libtool archive, so verify it.
- if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
- . $dir/$name
-
- # Delete the libtool libraries and symlinks.
- for n in $library_names; do
- rmfiles="$rmfiles $objdir/$n"
- done
- test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
- test $mode = clean && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
-
- if test $mode = uninstall; then
- if test -n "$library_names"; then
- # Do each command in the postuninstall commands.
- eval cmds=\"$postuninstall_cmds\"
- IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
- for cmd in $cmds; do
- IFS="$save_ifs"
- $show "$cmd"
- $run eval "$cmd"
- if test $? != 0 && test "$rmforce" != yes; then
- exit_status=1
- fi
- done
- IFS="$save_ifs"
- fi
-
- if test -n "$old_library"; then
- # Do each command in the old_postuninstall commands.
- eval cmds=\"$old_postuninstall_cmds\"
- IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
- for cmd in $cmds; do
- IFS="$save_ifs"
- $show "$cmd"
- $run eval "$cmd"
- if test $? != 0 && test "$rmforce" != yes; then
- exit_status=1
- fi
- done
- IFS="$save_ifs"
- fi
- # FIXME: should reinstall the best remaining shared library.
- fi
- fi
- ;;
-
- *.lo)
- if test "$build_old_libs" = yes; then
- oldobj=`$echo "X$name" | $Xsed -e "$lo2o"`
- rmfiles="$rmfiles $dir/$oldobj"
- fi
- ;;
-
- *)
- # Do a test to see if this is a libtool program.
- if test $mode = clean &&
- (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
- relink_command=
- . $dir/$file
-
- rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}"
- if test "$fast_install" = yes && test -n "$relink_command"; then
- rmfiles="$rmfiles $objdir/lt-$name"
- fi
- fi
- ;;
- esac
- $show "$rm $rmfiles"
- $run $rm $rmfiles || exit_status=1
- done
-
- # Try to remove the ${objdir}s in the directories where we deleted files
- for dir in $rmdirs; do
- if test -d "$dir"; then
- $show "rmdir $dir"
- $run rmdir $dir >/dev/null 2>&1
- fi
- done
-
- exit $exit_status
- ;;
-
- "")
- $echo "$modename: you must specify a MODE" 1>&2
- $echo "$generic_help" 1>&2
- exit 1
- ;;
- esac
-
- $echo "$modename: invalid operation mode \`$mode'" 1>&2
- $echo "$generic_help" 1>&2
- exit 1
-fi # test -z "$show_help"
-
-# We need to display help for each of the modes.
-case $mode in
-"") $echo \
-"Usage: $modename [OPTION]... [MODE-ARG]...
-
-Provide generalized library-building support services.
-
- --config show all configuration variables
- --debug enable verbose shell tracing
--n, --dry-run display commands without modifying any files
- --features display basic configuration information and exit
- --finish same as \`--mode=finish'
- --help display this help message and exit
- --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS]
- --quiet same as \`--silent'
- --silent don't print informational messages
- --version print version information
-
-MODE must be one of the following:
-
- clean remove files from the build directory
- compile compile a source file into a libtool object
- execute automatically set library path, then run a program
- finish complete the installation of libtool libraries
- install install libraries or executables
- link create a library or an executable
- uninstall remove libraries from an installed directory
-
-MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for
-a more detailed description of MODE."
- exit 0
- ;;
-
-clean)
- $echo \
-"Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
-
-Remove files from the build directory.
-
-RM is the name of the program to use to delete files associated with each FILE
-(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
-to RM.
-
-If FILE is a libtool library, object or program, all the files associated
-with it are deleted. Otherwise, only FILE itself is deleted using RM."
- ;;
-
-compile)
- $echo \
-"Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
-
-Compile a source file into a libtool library object.
-
-This mode accepts the following additional options:
-
- -o OUTPUT-FILE set the output file name to OUTPUT-FILE
- -prefer-pic try to building PIC objects only
- -prefer-non-pic try to building non-PIC objects only
- -static always build a \`.o' file suitable for static linking
-
-COMPILE-COMMAND is a command to be used in creating a \`standard' object file
-from the given SOURCEFILE.
-
-The output file name is determined by removing the directory component from
-SOURCEFILE, then substituting the C source code suffix \`.c' with the
-library object suffix, \`.lo'."
- ;;
-
-execute)
- $echo \
-"Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]...
-
-Automatically set library path, then run a program.
-
-This mode accepts the following additional options:
-
- -dlopen FILE add the directory containing FILE to the library path
-
-This mode sets the library path environment variable according to \`-dlopen'
-flags.
-
-If any of the ARGS are libtool executable wrappers, then they are translated
-into their corresponding uninstalled binary, and any of their required library
-directories are added to the library path.
-
-Then, COMMAND is executed, with ARGS as arguments."
- ;;
-
-finish)
- $echo \
-"Usage: $modename [OPTION]... --mode=finish [LIBDIR]...
-
-Complete the installation of libtool libraries.
-
-Each LIBDIR is a directory that contains libtool libraries.
-
-The commands that this mode executes may require superuser privileges. Use
-the \`--dry-run' option if you just want to see what would be executed."
- ;;
-
-install)
- $echo \
-"Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND...
-
-Install executables or libraries.
-
-INSTALL-COMMAND is the installation command. The first component should be
-either the \`install' or \`cp' program.
-
-The rest of the components are interpreted as arguments to that command (only
-BSD-compatible install options are recognized)."
- ;;
-
-link)
- $echo \
-"Usage: $modename [OPTION]... --mode=link LINK-COMMAND...
-
-Link object files or libraries together to form another library, or to
-create an executable program.
-
-LINK-COMMAND is a command using the C compiler that you would use to create
-a program from several object files.
-
-The following components of LINK-COMMAND are treated specially:
-
- -all-static do not do any dynamic linking at all
- -avoid-version do not add a version suffix if possible
- -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime
- -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
- -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
- -export-symbols SYMFILE
- try to export only the symbols listed in SYMFILE
- -export-symbols-regex REGEX
- try to export only the symbols matching REGEX
- -LLIBDIR search LIBDIR for required installed libraries
- -lNAME OUTPUT-FILE requires the installed library libNAME
- -module build a library that can dlopened
- -no-fast-install disable the fast-install mode
- -no-install link a not-installable executable
- -no-undefined declare that a library does not refer to external symbols
- -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
- -release RELEASE specify package release information
- -rpath LIBDIR the created library will eventually be installed in LIBDIR
- -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
- -static do not do any dynamic linking of libtool libraries
- -version-info CURRENT[:REVISION[:AGE]]
- specify library version info [each variable defaults to 0]
-
-All other options (arguments beginning with \`-') are ignored.
-
-Every other argument is treated as a filename. Files ending in \`.la' are
-treated as uninstalled libtool libraries, other files are standard or library
-object files.
-
-If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
-only library objects (\`.lo' files) may be specified, and \`-rpath' is
-required, except when creating a convenience library.
-
-If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
-using \`ar' and \`ranlib', or on Windows using \`lib'.
-
-If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
-is created, otherwise an executable program is created."
- ;;
-
-uninstall)
- $echo \
-"Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
-
-Remove libraries from an installation directory.
-
-RM is the name of the program to use to delete files associated with each FILE
-(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
-to RM.
-
-If FILE is a libtool library, all the files associated with it are deleted.
-Otherwise, only FILE itself is deleted using RM."
- ;;
-
-*)
- $echo "$modename: invalid operation mode \`$mode'" 1>&2
- $echo "$help" 1>&2
- exit 1
- ;;
-esac
-
-echo
-$echo "Try \`$modename --help' for more information about other modes."
-
-exit 0
-
-# Local Variables:
-# mode:shell-script
-# sh-indentation:2
-# End:
diff --git a/main/php_realpath.c b/main/php_realpath.c
deleted file mode 100644
index 8c7cef5f86..0000000000
--- a/main/php_realpath.c
+++ /dev/null
@@ -1,283 +0,0 @@
-/*
- +----------------------------------------------------------------------+
- | PHP version 4.0 |
- +----------------------------------------------------------------------+
- | Copyright (c) 1997, 1998, 1999, 2000 The PHP Group |
- +----------------------------------------------------------------------+
- | This source file is subject to version 2.02 of the PHP license, |
- | that is bundled with this package in the file LICENSE, and is |
- | available at through the world-wide-web at |
- | http://www.php.net/license/2_02.txt. |
- | If you did not receive a copy of the PHP license and are unable to |
- | obtain it through the world-wide-web, please send a note to |
- | license@php.net so we can mail you a copy immediately. |
- +----------------------------------------------------------------------+
- | Author: Sander Steffann (sander@steffann.nl) |
- +----------------------------------------------------------------------+
- */
-
-#include "php.h"
-
-#if HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-#include <sys/stat.h>
-
-#ifndef MAXSYMLINKS
-#define MAXSYMLINKS 32
-#endif
-
-#ifndef S_ISDIR
-#define S_ISDIR(mode) (((mode)&S_IFMT) == S_IFDIR)
-#endif
-
-char *php_realpath(char *path, char resolved_path[]);
-
-#ifdef PHP_WIN32
-#define IS_SLASH(p) ((p) == '/' || (p) == '\\')
-#else
-#define IS_SLASH(p) ((p) == '/')
-#endif
-
-char *php_realpath(char *path, char resolved_path []) {
- char path_construction[MAXPATHLEN]; /* We build the result in here */
- char *writepos; /* Position to write next char */
-
- char path_copy[MAXPATHLEN]; /* A work-copy of the path */
- char *workpos; /* working position in *path */
-
-#if !defined(PHP_WIN32)
- char buf[MAXPATHLEN]; /* Buffer for readlink */
- int linklength; /* The result from readlink */
-#endif
- int linkcount = 0; /* Count symlinks to avoid loops */
-
- struct stat filestat; /* result from stat */
-
-#ifdef PHP_WIN32
- char *temppos; /* position while counting '.' */
- int dotcount; /* number of '.' */
- int t; /* counter */
-#endif
-
- /* Set the work-position to the beginning of the given path */
- strcpy(path_copy, path);
- workpos = path_copy;
-
-#ifdef PHP_WIN32
- /* Find out where we start - Windows version */
- if (IS_SLASH(*workpos)) {
- /* We start at the root of the current drive */
- /* Get the current directory */
- if (V_GETCWD(path_construction, MAXPATHLEN-1) == NULL) {
- /* Unable to get cwd */
- resolved_path[0] = 0;
- return NULL;
- }
- /* We only need the first three chars (for example "C:\") */
- path_construction[3] = 0;
- workpos++;
- } else if (workpos[1] == ':') {
- /* A drive-letter is specified, copy it */
- strncpy(path_construction, path, 2);
- strcat(path_construction, "\\");
- workpos++;
- workpos++;
- } else {
- /* Use the current directory */
- if (V_GETCWD(path_construction, MAXPATHLEN-1) == NULL) {
- /* Unable to get cwd */
- resolved_path[0] = 0;
- return NULL;
- }
- strcat(path_construction, "\\");
- }
-#else
- /* Find out where we start - Unix version */
- if (*workpos == '/') {
- /* We start at the root */
- strcpy(path_construction, "/");
- workpos++;
- } else {
- /* Use the current directory */
- if (V_GETCWD(path_construction, MAXPATHLEN-1) == NULL) {
- /* Unable to get cwd */
- resolved_path[0] = 0;
- return NULL;
- }
- strcat(path_construction, "/");
- }
-#endif
-
- /* Set the next-char-position */
- writepos = &path_construction[strlen(path_construction)];
-
- /* Go to the end, then stop */
- while(*workpos != 0) {
- /* Strip (back)slashes */
- while(IS_SLASH(*workpos)) workpos++;
-
-#ifdef PHP_WIN32
- /* reset dotcount */
- dotcount = 0;
-
- /* Look for .. */
- if ((workpos[0] == '.') && (workpos[1] != 0)) {
- /* Windows accepts \...\ as \..\..\, \....\ as \..\..\..\, etc */
- /* At least Win98 does */
-
- temppos = workpos;
- while(*temppos++ == '.') {
- dotcount++;
- if (!IS_SLASH(*temppos) && (*temppos != 0) && (*temppos != '.')) {
- /* This is not a /../ component, but a filename that starts with '.' */
- dotcount = 0;
- }
- }
-
- /* Go back dotcount-1 times */
- for (t=0 ; t<(dotcount-1) ; t++) {
- workpos++; /* move to next '.' */
-
- /* Can we still go back? */
- if ((writepos-3) <= path_construction) return NULL;
-
- /* Go back */
- writepos--; /* move to '\' */
- writepos--;
- while(!IS_SLASH(*writepos)) writepos--; /* skip until previous '\\' */
- }
- workpos++;
- }
-
- /* No special case */
- if (dotcount == 0) {
- /* Append */
- while(!IS_SLASH(*workpos) && (*workpos != 0)) {
- *writepos++ = *workpos++;
- }
- }
-
- /* Just one '.', go to next element */
- if (dotcount == 1) {
- while(!IS_SLASH(*workpos) && (*workpos != 0)) {
- *workpos++;
- }
-
- /* Avoid double \ in the result */
- writepos--;
- }
-
- /* If it was a directory, append a slash */
- if (IS_SLASH(*workpos)) {
- *writepos++ = *workpos++;
- }
- *writepos = 0;
-#else /* defined(PHP_WIN32) */
- /* Look for .. */
- if ((workpos[0] == '.') && (workpos[1] != 0)) {
- if ((workpos[1] == '.') && ((workpos[2] == '/') || (workpos[2] == 0))) {
- /* One directory back */
- /* Set pointers to right position */
- workpos++; /* move to second '.' */
- workpos++; /* move to '/' */
-
- /* Only apply .. if not in root */
- if ((writepos-1) > path_construction) {
- writepos--; /* move to '/' */
- while(*--writepos != '/') ; /* skip until previous '/' */
- }
- } else {
- if (workpos[1] == '/') {
- /* Found a /./ skip it */
- workpos++; /* move to '/' */
-
- /* Avoid double / in the result */
- writepos--;
- } else {
- /* No special case, the name just started with a . */
- /* Append */
- while((*workpos != '/') && (*workpos != 0)) {
- *writepos++ = *workpos++;
- }
- }
- }
- } else {
- /* No special case */
- /* Append */
- while((*workpos != '/') && (*workpos != 0)) {
- *writepos++ = *workpos++;
- }
- }
-
-#if HAVE_SYMLINK
- /* We are going to use path_construction, so close it */
- *writepos = 0;
-
- /* Check the current location to see if it is a symlink */
- if((linklength = readlink(path_construction, buf, MAXPATHLEN)) != -1) {
- /* Check linkcount */
- if (linkcount > MAXSYMLINKS) return NULL;
-
- /* Count this symlink */
- linkcount++;
-
- /* Set end of buf */
- buf[linklength] = 0;
-
- /* Check for overflow */
- if ((strlen(workpos) + strlen(buf) + 1) >= MAXPATHLEN) return NULL;
-
- /* Remove the symlink-component wrom path_construction */
- writepos--; /* move to '/' */
- while(*--writepos != '/') ; /* skip until previous '/' */
- *++writepos = 0; /* end of string after '/' */
-
- /* If the symlink starts with a '/', empty path_construction */
- if (*buf == '/') {
- *path_construction = 0;
- writepos = path_construction;
- }
-
- /* Insert symlink into path_copy */
- strcat(buf, workpos);
- strcpy(path_copy, buf);
- workpos = path_copy;
- }
-#endif /* HAVE_SYMLINK */
-
- /* If it was a directory, append a slash */
- if (*workpos == '/') {
- *writepos++ = *workpos++;
- }
- *writepos = 0;
-#endif /* defined(PHP_WIN32) */
- }
-
- /* Check if the resolved path is a directory */
- if (V_STAT(path_construction, &filestat) != 0) {
- if (errno != ENOENT) return NULL;
- } else {
- if (S_ISDIR(filestat.st_mode)) {
- /* It's a directory, append a / if needed */
- if (*(writepos-1) != '/') {
- /* Check for overflow */
- if ((strlen(workpos) + 2) >= MAXPATHLEN) {
- return NULL;
- }
- *writepos++ = '/';
- *writepos = 0;
- }
- }
- }
-
- strcpy(resolved_path, path_construction);
- return resolved_path;
-}
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- */
diff --git a/makedist b/makedist
deleted file mode 100755
index bd1956569a..0000000000
--- a/makedist
+++ /dev/null
@@ -1,148 +0,0 @@
-#!/bin/sh
-#
-# Distribution generator for CVS based packages.
-# To work, this script needs a consistent tagging of all releases.
-# Each release of a package should have a tag of the form
-#
-# <package>_<version>
-#
-# where <package> is the package name and the CVS module
-# and <version> s the version number with underscores instead of dots.
-#
-# For example: cvs tag php_3_0a1
-#
-# The distribution ends up in a .tar.gz file that contains the distribution
-# in a directory called <package>-<version>. The distribution contains all
-# directories from the CVS module except the one called "nodist", but only
-# the files INSTALL, README and config* are included.
-#
-# Since you can no longer set the CVS password via an env variable, you
-# need to have previously done a cvs login for the server and user id
-# this script uses so it will have an entry in your ~/.cvspasswd file.
-#
-# Usage: makedist <package> <version>
-#
-# Written by Stig Bakken <ssb@guardian.no> 1997-05-28.
-#
-# $Id$
-#
-
-if test "$#" != "2"; then
- echo "Usage: makedist <package> <version>" >&2
- exit 1
-fi
-
-PKG=$1 ; shift
-VER=$1 ; shift
-
-old_IFS="$IFS"
-IFS=.
-eval set `bison --version| grep 'GNU Bison' | cut -d ' ' -f 4 | sed -e 's/\./ /'`
-if test "${1}" = "1" -a "${2}" -lt "28"; then
- echo "You will need bison 1.28 if you want to regenerate the Zend parser (found ${1}.${2}).)"
- exit 10
-fi
-IFS="$old_IFS"
-
-PHPROOT=:pserver:cvsread@cvs.php.net:/repository
-ZENDROOT=:pserver:cvsread@cvs.php.net:/repository
-PHPMOD=php4
-ZENDMOD=Zend
-TSRMMOD=TSRM
-LT_TARGETS='ltconfig ltmain.sh config.guess config.sub'
-
-if echo '\c' | grep -s c >/dev/null 2>&1
-then
- ECHO_N="echo -n"
- ECHO_C=""
-else
- ECHO_N="echo"
- ECHO_C='\c'
-fi
-
-MY_OLDPWD=`pwd`
-
-# the destination .tar.gz file
-ARCHIVE=$MY_OLDPWD/$PKG-$VER.tar
-
-# temporary directory used to check out files from CVS
-DIR=$PKG-$VER
-DIRPATH=$MY_OLDPWD/$DIR
-
-if test -d "$DIRPATH"; then
- echo "The directory $DIR"
- echo "already exists, rename or remove it and run makedist again."
- exit 1
-fi
-
-# version part of the CVS release tag
-CVSVER=`echo $VER | sed -e 's/[\.\-]/_/g'`
-
-# CVS release tag
-CVSTAG=${PKG}_$CVSVER
-
-if test ! -d $DIRPATH; then
- mkdir -p $DIRPATH || exit 2
-fi
-
-#cd $DIRPATH || exit 3
-
-# Export PHP
-$ECHO_N "makedist: exporting tag '$CVSTAG' from '$PHPMOD'...$ECHO_C"
-cvs -z 9 -d $PHPROOT -Q export -d $DIR -r $CVSTAG $PHPMOD || exit 4
-echo ""
-
-# Export the other modules inside the PHP directory
-cd $DIR || exit 5
-
-# Export Zend
-$ECHO_N "makedist: exporting tag '$CVSTAG' from '$ZENDMOD'...$ECHO_C"
-cvs -z 9 -d $ZENDROOT -Q export -r $CVSTAG $ZENDMOD || exit 4
-echo ""
-
-# Export TSRM
-$ECHO_N "makedist: exporting tag '$CVSTAG' from '$TSRMMOD'...$ECHO_C"
-cvs -z 9 -d $ZENDROOT -Q export -r $CVSTAG $TSRMMOD || exit 4
-echo ""
-
-# remove CVS stuff...
-find . \( \( -name CVS -type d \) -o -name .cvsignore \) -exec rm -rf {} \;
-
-# The full ChangeLog is available separately from lxr.php.net
-rm ChangeLog*
-
-# hide away our own versions of libtool-generated files
-for i in $LT_TARGETS; do
- if test -f "$i"; then
- mv $i $i.bak
- cp $i.bak $i
- fi
-done
-
-# generate some files so people don't need bison, flex and autoconf
-# to install
-set -x
-./buildconf --copy
-
-# remove buildmk.stamp. Otherwise, buildcheck.sh might not be run,
-# when a user runs buildconf in the distribution.
-rm -f buildmk.stamp
-
-./genfiles
-
-# now restore our versions of libtool-generated files
-for i in $LT_TARGETS; do
- test -f "$i" && mv $i.bak $i
-done
-
-cd $MY_OLDPWD
-$ECHO_N "makedist: making gzipped tar archive...$ECHO_C"
-tar cf $ARCHIVE $PKG-$VER || exit 8
-gzip -9 $ARCHIVE || exit 9
-echo ""
-
-$ECHO_N "makedist: cleaning up...$ECHO_C"
-rm -rf $DIRPATH || exit 10
-echo ""
-
-exit 0
diff --git a/makedist.ZendEngine2 b/makedist.ZendEngine2
deleted file mode 100755
index 25cbf3ac8d..0000000000
--- a/makedist.ZendEngine2
+++ /dev/null
@@ -1,149 +0,0 @@
-#!/bin/sh
-#
-# Distribution generator for CVS based packages.
-# To work, this script needs a consistent tagging of all releases.
-# Each release of a package should have a tag of the form
-#
-# <package>_<version>
-#
-# where <package> is the package name and the CVS module
-# and <version> s the version number with underscores instead of dots.
-#
-# For example: cvs tag php_3_0a1
-#
-# The distribution ends up in a .tar.gz file that contains the distribution
-# in a directory called <package>-<version>. The distribution contains all
-# directories from the CVS module except the one called "nodist", but only
-# the files INSTALL, README and config* are included.
-#
-# Since you can no longer set the CVS password via an env variable, you
-# need to have previously done a cvs login for the server and user id
-# this script uses so it will have an entry in your ~/.cvspasswd file.
-#
-# Usage: makedist <package> <version>
-#
-# Written by Stig Bakken <ssb@guardian.no> 1997-05-28.
-#
-# $Id$
-#
-
-if test "$#" != "2"; then
- echo "Usage: makedist <package> <version>" >&2
- exit 1
-fi
-
-PKG=$1 ; shift
-VER=$1 ; shift
-
-old_IFS="$IFS"
-IFS=.
-eval set `bison --version| grep 'GNU Bison' | cut -d ' ' -f 4 | sed -e 's/\./ /'`
-if test "${1}" = "1" -a "${2}" -lt "28"; then
- echo "You will need bison 1.28 if you want to regenerate the Zend parser (found ${1}.${2}).)"
- exit 10
-fi
-IFS="$old_IFS"
-
-PHPROOT=:pserver:cvsread@cvs.php.net:/repository
-ZENDROOT=:pserver:cvsread@cvs.php.net:/repository
-PHPMOD=php4
-ZENDMOD=ZendEngine2
-TSRMMOD=TSRM
-LT_TARGETS='ltconfig ltmain.sh config.guess config.sub'
-
-if echo '\c' | grep -s c >/dev/null 2>&1
-then
- ECHO_N="echo -n"
- ECHO_C=""
-else
- ECHO_N="echo"
- ECHO_C='\c'
-fi
-
-MY_OLDPWD=`pwd`
-
-# the destination .tar.gz file
-ARCHIVE=$MY_OLDPWD/$PKG-$VER.tar
-
-# temporary directory used to check out files from CVS
-DIR=$PKG-$VER
-DIRPATH=$MY_OLDPWD/$DIR
-
-if test -d "$DIRPATH"; then
- echo "The directory $DIR"
- echo "already exists, rename or remove it and run makedist again."
- exit 1
-fi
-
-# version part of the CVS release tag
-CVSVER=`echo $VER | sed -e 's/[\.\-]/_/g'`
-
-# CVS release tag
-CVSTAG=${PKG}_$CVSVER
-
-if test ! -d $DIRPATH; then
- mkdir -p $DIRPATH || exit 2
-fi
-
-#cd $DIRPATH || exit 3
-
-# Export PHP
-$ECHO_N "makedist: exporting tag '$CVSTAG' from '$PHPMOD'...$ECHO_C"
-cvs -z 9 -d $PHPROOT -Q export -d $DIR -r $CVSTAG $PHPMOD || exit 4
-echo ""
-
-# Export the other modules inside the PHP directory
-cd $DIR || exit 5
-
-# Export Zend
-$ECHO_N "makedist: exporting tag '$CVSTAG' from '$ZENDMOD'...$ECHO_C"
-cvs -z 9 -d $ZENDROOT -Q export -r $CVSTAG $ZENDMOD || exit 4
-mv ZendEngine2 Zend
-echo ""
-
-# Export TSRM
-#$ECHO_N "makedist: exporting tag '$CVSTAG' from '$TSRMMOD'...$ECHO_C"
-#cvs -z 9 -d $ZENDROOT -Q export -r $CVSTAG $TSRMMOD || exit 4
-#echo ""
-
-# remove CVS stuff...
-find . \( \( -name CVS -type d \) -o -name .cvsignore \) -exec rm -rf {} \;
-
-# The full ChangeLog is available separately from lxr.php.net
-rm ChangeLog*
-
-# hide away our own versions of libtool-generated files
-for i in $LT_TARGETS; do
- if test -f "$i"; then
- mv $i $i.bak
- cp $i.bak $i
- fi
-done
-
-# generate some files so people don't need bison, flex and autoconf
-# to install
-set -x
-./buildconf --copy
-
-# remove buildmk.stamp. Otherwise, buildcheck.sh might not be run,
-# when a user runs buildconf in the distribution.
-rm -f buildmk.stamp
-
-./genfiles
-
-# now restore our versions of libtool-generated files
-for i in $LT_TARGETS; do
- test -f "$i" && mv $i.bak $i
-done
-
-cd $MY_OLDPWD
-$ECHO_N "makedist: making gzipped tar archive...$ECHO_C"
-tar cf $ARCHIVE $PKG-$VER || exit 8
-gzip -9 $ARCHIVE || exit 9
-echo ""
-
-$ECHO_N "makedist: cleaning up...$ECHO_C"
-rm -rf $DIRPATH || exit 10
-echo ""
-
-exit 0
diff --git a/makerpm b/makerpm
deleted file mode 100644
index 5c893c488d..0000000000
--- a/makerpm
+++ /dev/null
@@ -1,156 +0,0 @@
-#! /bin/sh
-
-# Based slightly on an original by John H Terpstra but not much left of his.
-# S Liddicott 1999 sam@campbellsci.co.uk
-
-PREFIX="php"
-TARDIR="`basename \`pwd\``"
-RELEASE=${1:-1}
-VERSION=${2:-`echo $TARDIR | sed "s/$PREFIX-//g"`}
-
-if [ "$VERSION" = "" ]
-then cat <<"EOH"
-$PREFIX source needs to be installed in a folder that contains the version
-number, e.g. ${PREFIX}4 or ${PREFIX}4b2
-EOH
-fi
-
-echo "Usage:"
-echo "$0 <release>"
-echo
-echo "e.g.:"
-echo "$0 2"
-echo -n "Building RPM version $VERSION, release: $RELEASE "
-sleep 1 ; echo -n . ; sleep 1 ; echo -n . ; sleep 1 ; echo -n .
-echo
-
-TAR=php-$VERSION.tar.gz
-SPEC=php-$VERSION.spec
-
-# write out the .spec file
-sed -e "s/PVERSION/$VERSION/g" \
- -e "s/PRELEASE/$RELEASE/g" \
- -e "s/TARDIR/$TARDIR/g" \
- > $SPEC <<'EOF'
-Summary: PHP 4 - A powerful scripting language
-Name: mod_php4
-Version: PVERSION
-Release: PRELEASE
-Group: Networking/Daemons
-Source0: http://www.php.net/distributions/php-%{PACKAGE_VERSION}.tar.gz
-Copyright: GPL
-BuildRoot: /tmp/php4-root
-Requires: webserver
-
-%description
-PHP4 is a powerful apache module that adds scripting and database connection
-capabilities to the apache server. This version includes the "php" binary
-for suExec and stand alone php scripts too.
-
-%prep
-%setup -q -n TARDIR
-#mkdir manual; cd manual && tar xzf $RPM_SOURCE_DIR/php3-manual.tar.gz
-chown -R root.root .
-./buildconf
-
-%build
-# first the standalone (why can't you build both at once?)
-# need to run this under sh or it breaks
-
-sh ./configure --prefix=/usr \
- --with-config-file-path=/usr/lib \
- --enable-force-cgi-redirect \
- --enable-safe-mode \
- --with-exec-dir=/usr/bin \
- --with-mysql=/usr \
- --with-pdflib=/usr \
- --with-zlib=/usr \
- --enable-xml \
- --enable-wddx
-
-make
-mv php php.keepme
-
-# then the apache module
-rm config.cache
-sh ./configure --prefix=/usr \
- --with-apxs=/usr/sbin/apxs \
- --enable-versioning \
- --with-config-file-path=/usr/lib \
- --enable-safe-mode \
- --with-exec-dir=/usr/bin \
- --with-mysql=/usr \
- --with-pdflib=/usr \
- --with-zlib=/usr \
- --enable-xml \
- --enable-wddx
-
-make clean
-make
-# restore cgi version
-mv php.keepme php
-
-%install
-rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT/usr/lib/apache
-install -m 755 .libs/libphp4.so $RPM_BUILD_ROOT/usr/lib/apache
-mkdir -p $RPM_BUILD_ROOT/usr/bin
-install -m 755 php $RPM_BUILD_ROOT/usr/bin
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%changelog
-* Mon Mar 04 2002 Arjen Lentz <agl@bitbike.com>
-- Fix path and remove --with-imap due to conflicts with kerberos.
-
-* Fri Jun 29 2001 Jani Taskinen <sniper@iki.fi>
-- Removed some useless configure options. Made the tar names correct.
-
-* Sun Apr 30 2000 Joey Smith <joey@samaritan.com>
-- Small fix: Description still referred to package as PHP3.
-
-* Wed Jul 21 1999 Sam Liddicott <sam@campbellsci.co.uk>
-- added php4b1 and modified cgi building rules so it doesn't break module
-
-* Wed Mar 17 1999 Sam Liddicott <sam@campbellsci.co.uk>
-- Stuffed in 3.0.7 source tar and added "php" as a build destination
-
-* Mon Oct 12 1998 Cristian Gafton <gafton@redhat.com>
-- rebuild for apache 1.3.3
-
-* Thu Oct 08 1998 Preston Brown <pbrown@redhat.com>
-- updated to 3.0.5, fixes nasty bugs in 3.0.4.
-
-* Sun Sep 27 1998 Cristian Gafton <gafton@redhat.com>
-- updated to 3.0.4 and recompiled for apache 1.3.2
-
-* Thu Sep 03 1998 Preston Brown <pbrown@redhat.com>
-- improvements; builds with apache-devel package installed.
-
-* Tue Sep 01 1998 Preston Brown <pbrown@redhat.com>
-- Made initial cut for PHP3.
-
-%files
-/usr/lib/apache/libphp4.so
-/usr/bin/php
-%doc TODO CODING_STANDARDS CREDITS ChangeLog LICENSE BUGS examples
-%doc manual/*
-EOF
-
-RPMDIR=/usr/src/redhat/RPMS
-SPECDIR=/usr/src/redhat/SPECS
-SRCDIR=/usr/src/redhat/SOURCES
-
-(
-make clean
-find . -name config.cache -exec rm -f '{}'
-cd ..
-tar czvf ${SRCDIR}/${TAR} $TARDIR )
-
-cp -a $SPEC $SPECDIR/${SPEC}
-#cp -a *.patch $SRCDIR
-cd $SRCDIR
-chown -R root.root ${TAR}
-cd $SPECDIR
-rpm -ba -v ${SPEC}
diff --git a/php.gif b/php.gif
deleted file mode 100644
index 7beda43fd4..0000000000
--- a/php.gif
+++ /dev/null
Binary files differ
diff --git a/php.ini-dist b/php.ini-dist
deleted file mode 100644
index 9e2e6fcb90..0000000000
--- a/php.ini-dist
+++ /dev/null
@@ -1,948 +0,0 @@
-[PHP]
-
-;;;;;;;;;;;
-; WARNING ;
-;;;;;;;;;;;
-; This is the default settings file for new PHP installations.
-; By default, PHP installs itself with a configuration suitable for
-; development purposes, and *NOT* for production purposes.
-; For several security-oriented considerations that should be taken
-; before going online with your site, please consult php.ini-recommended
-; and http://php.net/manual/en/security.php.
-
-
-;;;;;;;;;;;;;;;;;;;
-; About this file ;
-;;;;;;;;;;;;;;;;;;;
-; This file controls many aspects of PHP's behavior. In order for PHP to
-; read it, it must be named 'php.ini'. PHP looks for it in the current
-; working directory, in the path designated by the environment variable
-; PHPRC, and in the path that was defined in compile time (in that order).
-; Under Windows, the compile-time path is the Windows directory. The
-; path in which the php.ini file is looked for can be overridden using
-; the -c argument in command line mode.
-;
-; The syntax of the file is extremely simple. Whitespace and Lines
-; beginning with a semicolon are silently ignored (as you probably guessed).
-; Section headers (e.g. [Foo]) are also silently ignored, even though
-; they might mean something in the future.
-;
-; Directives are specified using the following syntax:
-; directive = value
-; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
-;
-; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
-; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
-; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo").
-;
-; Expressions in the INI file are limited to bitwise operators and parentheses:
-; | bitwise OR
-; & bitwise AND
-; ~ bitwise NOT
-; ! boolean NOT
-;
-; Boolean flags can be turned on using the values 1, On, True or Yes.
-; They can be turned off using the values 0, Off, False or No.
-;
-; An empty string can be denoted by simply not writing anything after the equal
-; sign, or by using the None keyword:
-;
-; foo = ; sets foo to an empty string
-; foo = none ; sets foo to an empty string
-; foo = "none" ; sets foo to the string 'none'
-;
-; If you use constants in your value, and these constants belong to a
-; dynamically loaded extension (either a PHP extension or a Zend extension),
-; you may only use these constants *after* the line that loads the extension.
-;
-; All the values in the php.ini-dist file correspond to the builtin
-; defaults (that is, if no php.ini is used, or if you delete these lines,
-; the builtin defaults will be identical).
-
-
-;;;;;;;;;;;;;;;;;;;;
-; Language Options ;
-;;;;;;;;;;;;;;;;;;;;
-
-; Enable the PHP scripting language engine under Apache.
-engine = On
-
-; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
-short_open_tag = On
-
-; Allow ASP-style <% %> tags.
-asp_tags = Off
-
-; The number of significant digits displayed in floating point numbers.
-precision = 12
-
-; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
-y2k_compliance = Off
-
-; Output buffering allows you to send header lines (including cookies) even
-; after you send body content, at the price of slowing PHP's output layer a
-; bit. You can enable output buffering during runtime by calling the output
-; buffering functions. You can also enable output buffering for all files by
-; setting this directive to On. If you wish to limit the size of the buffer
-; to a certain size - you can use a maximum number of bytes instead of 'On', as
-; a value for this directive (e.g., output_buffering=4096).
-output_buffering = Off
-
-; You can redirect all of the output of your scripts to a function. For
-; example, if you set output_handler to "ob_gzhandler", output will be
-; transparently compressed for browsers that support gzip or deflate encoding.
-; Setting an output handler automatically turns on output buffering.
-output_handler =
-
-; The unserialize callback function will called (with the undefind class'
-; name as parameter), if the unserializer finds an undefined class
-; which should be instanciated.
-; A warning appears if the specified function is not defined, or if the
-; function doesn't include/implement the missing class.
-; So only set this entry, if you really want to implement such a
-; callback-function.
-unserialize_callback_func=
-
-; Transparent output compression using the zlib library
-; Valid values for this option are 'off', 'on', or a specific buffer size
-; to be used for compression (default is 4KB)
-;
-; Note: output_handler must be empty if this is set 'On' !!!!
-;
-zlib.output_compression = Off
-
-; Implicit flush tells PHP to tell the output layer to flush itself
-; automatically after every output block. This is equivalent to calling the
-; PHP function flush() after each and every call to print() or echo() and each
-; and every HTML block. Turning this option on has serious performance
-; implications and is generally recommended for debugging purposes only.
-implicit_flush = Off
-
-; Whether to enable the ability to force arguments to be passed by reference
-; at function call time. This method is deprecated and is likely to be
-; unsupported in future versions of PHP/Zend. The encouraged method of
-; specifying which arguments should be passed by reference is in the function
-; declaration. You're encouraged to try and turn this option Off and make
-; sure your scripts work properly with it in order to ensure they will work
-; with future versions of the language (you will receive a warning each time
-; you use this feature, and the argument will be passed by value instead of by
-; reference).
-allow_call_time_pass_reference = On
-
-; Safe Mode
-;
-safe_mode = Off
-
-; By default, Safe Mode does a UID compare check when
-; opening files. If you want to relax this to a GID compare,
-; then turn on safe_mode_gid.
-safe_mode_gid = Off
-
-; When safe_mode is on, UID/GID checks are bypassed when
-; including files from this directory and its subdirectories.
-; (directory must also be in include_path or full path must
-; be used when including)
-safe_mode_include_dir =
-
-; When safe_mode is on, only executables located in the safe_mode_exec_dir
-; will be allowed to be executed via the exec family of functions.
-safe_mode_exec_dir =
-
-; open_basedir, if set, limits all file operations to the defined directory
-; and below. This directive makes most sense if used in a per-directory
-; or per-virtualhost web server configuration file.
-;
-;open_basedir =
-
-; Setting certain environment variables may be a potential security breach.
-; This directive contains a comma-delimited list of prefixes. In Safe Mode,
-; the user may only alter environment variables whose names begin with the
-; prefixes supplied here. By default, users will only be able to set
-; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
-;
-; Note: If this directive is empty, PHP will let the user modify ANY
-; environment variable!
-safe_mode_allowed_env_vars = PHP_
-
-; This directive contains a comma-delimited list of environment variables that
-; the end user won't be able to change using putenv(). These variables will be
-; protected even if safe_mode_allowed_env_vars is set to allow to change them.
-safe_mode_protected_env_vars = LD_LIBRARY_PATH
-
-; This directive allows you to disable certain functions for security reasons.
-; It receives a comma-delimited list of function names. This directive is
-; *NOT* affected by whether Safe Mode is turned On or Off.
-disable_functions =
-
-; Colors for Syntax Highlighting mode. Anything that's acceptable in
-; <font color="??????"> would work.
-highlight.string = #CC0000
-highlight.comment = #FF9900
-highlight.keyword = #006600
-highlight.bg = #FFFFFF
-highlight.default = #0000CC
-highlight.html = #000000
-
-
-;
-; Misc
-;
-; Decides whether PHP may expose the fact that it is installed on the server
-; (e.g. by adding its signature to the Web server header). It is no security
-; threat in any way, but it makes it possible to determine whether you use PHP
-; on your server or not.
-expose_php = On
-
-
-;;;;;;;;;;;;;;;;;;;
-; Resource Limits ;
-;;;;;;;;;;;;;;;;;;;
-
-max_execution_time = 30 ; Maximum execution time of each script, in seconds
-memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)
-
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-; Error handling and logging ;
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
-; error_reporting is a bit-field. Or each number up to get desired error
-; reporting level
-; E_ALL - All errors and warnings
-; E_ERROR - fatal run-time errors
-; E_WARNING - run-time warnings (non-fatal errors)
-; E_PARSE - compile-time parse errors
-; E_NOTICE - run-time notices (these are warnings which often result
-; from a bug in your code, but it's possible that it was
-; intentional (e.g., using an uninitialized variable and
-; relying on the fact it's automatically initialized to an
-; empty string)
-; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
-; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
-; initial startup
-; E_COMPILE_ERROR - fatal compile-time errors
-; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
-; E_USER_ERROR - user-generated error message
-; E_USER_WARNING - user-generated warning message
-; E_USER_NOTICE - user-generated notice message
-;
-; Examples:
-;
-; - Show all errors, except for notices
-;
-;error_reporting = E_ALL & ~E_NOTICE
-;
-; - Show only errors
-;
-;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
-;
-; - Show all errors except for notices
-;
-error_reporting = E_ALL & ~E_NOTICE
-
-; Print out errors (as a part of the output). For production web sites,
-; you're strongly encouraged to turn this feature off, and use error logging
-; instead (see below). Keeping display_errors enabled on a production web site
-; may reveal security information to end users, such as file paths on your Web
-; server, your database schema or other information.
-display_errors = On
-
-; Even when display_errors is on, errors that occur during PHP's startup
-; sequence are not displayed. It's strongly recommended to keep
-; display_startup_errors off, except for when debugging.
-display_startup_errors = Off
-
-; Log errors into a log file (server-specific log, stderr, or error_log (below))
-; As stated above, you're strongly advised to use error logging in place of
-; error displaying on production web sites.
-log_errors = Off
-
-; Set maximum length of log_errors. In error_log information about the source is
-; added. The default is 1024 and 0 allows to not apply any maximum length at all.
-log_errors_max_len = 1024
-
-; Do not log repeated messages. Repeated errors must occur in same file on same
-; line until ignore_repeated_source is set true.
-ignore_repeated_errors = Off
-
-; Ignore source of message when ignoring repeated messages. When this setting
-; is On you will not log errors with repeated messages from different files or
-; sourcelines.
-ignore_repeated_source = Off
-
-; If this parameter is set to Off, then memory leaks will not be shown (on
-; stdout or in the log). This has only effect in a debug compile, and if
-; error reporting includes E_WARNING in the allowed list
-report_memleaks = On
-
-; Store the last error/warning message in $php_errormsg (boolean).
-track_errors = Off
-
-; Disable the inclusion of HTML tags in error messages.
-;html_errors = Off
-
-; String to output before an error message.
-;error_prepend_string = "<font color=ff0000>"
-
-; String to output after an error message.
-;error_append_string = "</font>"
-
-; Log errors to specified file.
-;error_log = filename
-
-; Log errors to syslog (Event Log on NT, not valid in Windows 95).
-;error_log = syslog
-
-; Warn if the + operator is used with strings.
-warn_plus_overloading = Off
-
-
-;;;;;;;;;;;;;;;;;
-; Data Handling ;
-;;;;;;;;;;;;;;;;;
-;
-; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
-
-; The separator used in PHP generated URLs to separate arguments.
-; Default is "&".
-;arg_separator.output = "&amp;"
-
-; List of separator(s) used by PHP to parse input URLs into variables.
-; Default is "&".
-; NOTE: Every character in this directive is considered as separator!
-;arg_separator.input = ";&"
-
-; This directive describes the order in which PHP registers GET, POST, Cookie,
-; Environment and Built-in variables (G, P, C, E & S respectively, often
-; referred to as EGPCS or GPC). Registration is done from left to right, newer
-; values override older values.
-variables_order = "EGPCS"
-
-; Whether or not to register the EGPCS variables as global variables. You may
-; want to turn this off if you don't want to clutter your scripts' global scope
-; with user data. This makes most sense when coupled with track_vars - in which
-; case you can access all of the GPC variables through the $HTTP_*_VARS[],
-; variables.
-;
-; You should do your best to write your scripts so that they do not require
-; register_globals to be on; Using form variables as globals can easily lead
-; to possible security problems, if the code is not very well thought of.
-register_globals = Off
-
-; This directive tells PHP whether to declare the argv&argc variables (that
-; would contain the GET information). If you don't use these variables, you
-; should turn it off for increased performance.
-register_argc_argv = On
-
-; Maximum size of POST data that PHP will accept.
-post_max_size = 8M
-
-; This directive is deprecated. Use variables_order instead.
-gpc_order = "GPC"
-
-; Magic quotes
-;
-
-; Magic quotes for incoming GET/POST/Cookie data.
-magic_quotes_gpc = On
-
-; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
-magic_quotes_runtime = Off
-
-; Use Sybase-style magic quotes (escape ' with '' instead of \').
-magic_quotes_sybase = Off
-
-; Automatically add files before or after any PHP document.
-auto_prepend_file =
-auto_append_file =
-
-; As of 4.0b4, PHP always outputs a character encoding by default in
-; the Content-type: header. To disable sending of the charset, simply
-; set it to be empty.
-;
-; PHP's built-in default is text/html
-default_mimetype = "text/html"
-;default_charset = "iso-8859-1"
-
-; Always populate the $HTTP_RAW_POST_DATA variable.
-;always_populate_raw_post_data = On
-
-;;;;;;;;;;;;;;;;;;;;;;;;;
-; Paths and Directories ;
-;;;;;;;;;;;;;;;;;;;;;;;;;
-
-; UNIX: "/path1:/path2"
-;include_path = ".:/php/includes"
-;
-; Windows: "\path1;\path2"
-;include_path = ".;c:\php\includes"
-
-; The root of the PHP pages, used only if nonempty.
-; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
-; if you are running php as a CGI under any web server (other than IIS)
-; see documentation for security issues. The alternate is to use the
-; cgi.force_redirect configuration below
-doc_root =
-
-; The directory under which PHP opens the script using /~username used only
-; if nonempty.
-user_dir =
-
-; Directory in which the loadable extensions (modules) reside.
-extension_dir = ./
-
-; Whether or not to enable the dl() function. The dl() function does NOT work
-; properly in multithreaded servers, such as IIS or Zeus, and is automatically
-; disabled on them.
-enable_dl = On
-
-; cgi.force_redirect is necessary to provide security running PHP as a CGI under
-; most web servers. Left undefined, PHP turns this on by default. You can
-; turn it off here AT YOUR OWN RISK
-; **You CAN safely turn this off for IIS, in fact, you MUST.**
-; cgi.force_redirect = 1
-
-; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
-; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
-; will look for to know it is OK to continue execution. Setting this variable MAY
-; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
-; cgi.redirect_status_env = ;
-
-; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
-; security tokens of the calling client. This allows IIS to define the
-; security context that the request runs under. mod_fastcgi under Apache
-; does not currently support this feature (03/17/2002)
-; Set to 1 if running under IIS. Default is zero.
-; fastcgi.impersonate = 1;
-
-;;;;;;;;;;;;;;;;
-; File Uploads ;
-;;;;;;;;;;;;;;;;
-
-; Whether to allow HTTP file uploads.
-file_uploads = On
-
-; Temporary directory for HTTP uploaded files (will use system default if not
-; specified).
-;upload_tmp_dir =
-
-; Maximum allowed size for uploaded files.
-upload_max_filesize = 2M
-
-
-;;;;;;;;;;;;;;;;;;
-; Fopen wrappers ;
-;;;;;;;;;;;;;;;;;;
-
-; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
-allow_url_fopen = On
-
-; Define the anonymous ftp password (your email address)
-;from="john@doe.com"
-
-
-;;;;;;;;;;;;;;;;;;;;;;
-; Dynamic Extensions ;
-;;;;;;;;;;;;;;;;;;;;;;
-;
-; If you wish to have an extension loaded automatically, use the following
-; syntax:
-;
-; extension=modulename.extension
-;
-; For example, on Windows:
-;
-; extension=msql.dll
-;
-; ... or under UNIX:
-;
-; extension=msql.so
-;
-; Note that it should be the name of the module only; no directory information
-; needs to go here. Specify the location of the extension with the
-; extension_dir directive above.
-
-
-;Windows Extensions
-;Note that MySQL and ODBC support is now built in, so no dll is needed for it.
-;
-;extension=php_bz2.dll
-;extension=php_ctype.dll
-;extension=php_cpdf.dll
-;extension=php_crack.dll
-;extension=php_curl.dll
-;extension=php_cybercash.dll
-;extension=php_db.dll
-;extension=php_dba.dll
-;extension=php_dbase.dll
-;extension=php_dbx.dll
-;extension=php_domxml.dll
-;extension=php_dotnet.dll
-;extension=php_exif.dll
-;extension=php_fbsql.dll
-;extension=php_fdf.dll
-;extension=php_filepro.dll
-;extension=php_gd.dll
-;extension=php_gettext.dll
-;extension=php_hyperwave.dll
-;extension=php_iconv.dll
-;extension=php_ifx.dll
-;extension=php_iisfunc.dll
-;extension=php_imap.dll
-;extension=php_ingres.dll
-;extension=php_interbase.dll
-;extension=php_java.dll
-;extension=php_ldap.dll
-;extension=php_mbstring.dll
-;extension=php_mcrypt.dll
-;extension=php_mhash.dll
-;extension=php_ming.dll
-;extension=php_mssql.dll
-;extension=php_oci8.dll
-;extension=php_openssl.dll
-;extension=php_oracle.dll
-;extension=php_pdf.dll
-;extension=php_pgsql.dll
-;extension=php_printer.dll
-;extension=php_shmop.dll
-;extension=php_snmp.dll
-;extension=php_sockets.dll
-;extension=php_sybase_ct.dll
-;extension=php_tokenizer.dll
-;extension=php_w32api.dll
-;extension=php_xslt.dll
-;extension=php_yaz.dll
-;extension=php_zlib.dll
-
-
-;;;;;;;;;;;;;;;;;;;
-; Module Settings ;
-;;;;;;;;;;;;;;;;;;;
-
-[Syslog]
-; Whether or not to define the various syslog variables (e.g. $LOG_PID,
-; $LOG_CRON, etc.). Turning it off is a good idea performance-wise. In
-; runtime, you can define these variables by calling define_syslog_variables().
-define_syslog_variables = Off
-
-[mail function]
-; For Win32 only.
-SMTP = localhost
-
-; For Win32 only.
-sendmail_from = me@localhost.com
-
-; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
-;sendmail_path =
-
-[Java]
-;java.class.path = .\php_java.jar
-;java.home = c:\jdk
-;java.library = c:\jdk\jre\bin\hotspot\jvm.dll
-;java.library.path = .\
-
-[SQL]
-sql.safe_mode = Off
-
-[ODBC]
-;odbc.default_db = Not yet implemented
-;odbc.default_user = Not yet implemented
-;odbc.default_pw = Not yet implemented
-
-; Allow or prevent persistent links.
-odbc.allow_persistent = On
-
-; Check that a connection is still valid before reuse.
-odbc.check_persistent = On
-
-; Maximum number of persistent links. -1 means no limit.
-odbc.max_persistent = -1
-
-; Maximum number of links (persistent + non-persistent). -1 means no limit.
-odbc.max_links = -1
-
-; Handling of LONG fields. Returns number of bytes to variables. 0 means
-; passthru.
-odbc.defaultlrl = 4096
-
-; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char.
-; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
-; of uodbc.defaultlrl and uodbc.defaultbinmode
-odbc.defaultbinmode = 1
-
-[MySQL]
-; Allow or prevent persistent links.
-mysql.allow_persistent = On
-
-; Maximum number of persistent links. -1 means no limit.
-mysql.max_persistent = -1
-
-; Maximum number of links (persistent + non-persistent). -1 means no limit.
-mysql.max_links = -1
-
-; Default port number for mysql_connect(). If unset, mysql_connect() will use
-; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
-; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
-; at MYSQL_PORT.
-mysql.default_port =
-
-; Default socket name for local MySQL connects. If empty, uses the built-in
-; MySQL defaults.
-mysql.default_socket =
-
-; Default host for mysql_connect() (doesn't apply in safe mode).
-mysql.default_host =
-
-; Default user for mysql_connect() (doesn't apply in safe mode).
-mysql.default_user =
-
-; Default password for mysql_connect() (doesn't apply in safe mode).
-; Note that this is generally a *bad* idea to store passwords in this file.
-; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
-; and reveal this password! And of course, any users with read access to this
-; file will be able to reveal the password as well.
-mysql.default_password =
-
-[mSQL]
-; Allow or prevent persistent links.
-msql.allow_persistent = On
-
-; Maximum number of persistent links. -1 means no limit.
-msql.max_persistent = -1
-
-; Maximum number of links (persistent+non persistent). -1 means no limit.
-msql.max_links = -1
-
-[PostgresSQL]
-; Allow or prevent persistent links.
-pgsql.allow_persistent = On
-
-; Detect broken persistent links always with pg_pconnect(). Need a little overhead.
-pgsql.auto_reset_persistent = Off
-
-; Maximum number of persistent links. -1 means no limit.
-pgsql.max_persistent = -1
-
-; Maximum number of links (persistent+non persistent). -1 means no limit.
-pgsql.max_links = -1
-
-; Ignore PostgreSQL backends Notice message or not.
-pgsql.ignore_notice = 0
-
-; Log PostgreSQL backends Noitce message or not.
-; Unless pgsql.ignore_notice=0, module cannot log notice message.
-pgsql.log_notice = 0
-
-[Sybase]
-; Allow or prevent persistent links.
-sybase.allow_persistent = On
-
-; Maximum number of persistent links. -1 means no limit.
-sybase.max_persistent = -1
-
-; Maximum number of links (persistent + non-persistent). -1 means no limit.
-sybase.max_links = -1
-
-;sybase.interface_file = "/usr/sybase/interfaces"
-
-; Minimum error severity to display.
-sybase.min_error_severity = 10
-
-; Minimum message severity to display.
-sybase.min_message_severity = 10
-
-; Compatability mode with old versions of PHP 3.0.
-; If on, this will cause PHP to automatically assign types to results according
-; to their Sybase type, instead of treating them all as strings. This
-; compatability mode will probably not stay around forever, so try applying
-; whatever necessary changes to your code, and turn it off.
-sybase.compatability_mode = Off
-
-[Sybase-CT]
-; Allow or prevent persistent links.
-sybct.allow_persistent = On
-
-; Maximum number of persistent links. -1 means no limit.
-sybct.max_persistent = -1
-
-; Maximum number of links (persistent + non-persistent). -1 means no limit.
-sybct.max_links = -1
-
-; Minimum server message severity to display.
-sybct.min_server_severity = 10
-
-; Minimum client message severity to display.
-sybct.min_client_severity = 10
-
-[bcmath]
-; Number of decimal digits for all bcmath functions.
-bcmath.scale = 0
-
-[browscap]
-;browscap = extra/browscap.ini
-
-[Informix]
-; Default host for ifx_connect() (doesn't apply in safe mode).
-ifx.default_host =
-
-; Default user for ifx_connect() (doesn't apply in safe mode).
-ifx.default_user =
-
-; Default password for ifx_connect() (doesn't apply in safe mode).
-ifx.default_password =
-
-; Allow or prevent persistent links.
-ifx.allow_persistent = On
-
-; Maximum number of persistent links. -1 means no limit.
-ifx.max_persistent = -1
-
-; Maximum number of links (persistent + non-persistent). -1 means no limit.
-ifx.max_links = -1
-
-; If on, select statements return the contents of a text blob instead of its id.
-ifx.textasvarchar = 0
-
-; If on, select statements return the contents of a byte blob instead of its id.
-ifx.byteasvarchar = 0
-
-; Trailing blanks are stripped from fixed-length char columns. May help the
-; life of Informix SE users.
-ifx.charasvarchar = 0
-
-; If on, the contents of text and byte blobs are dumped to a file instead of
-; keeping them in memory.
-ifx.blobinfile = 0
-
-; NULL's are returned as empty strings, unless this is set to 1. In that case,
-; NULL's are returned as string 'NULL'.
-ifx.nullformat = 0
-
-[Session]
-; Handler used to store/retrieve data.
-session.save_handler = files
-
-; Argument passed to save_handler. In the case of files, this is the path
-; where data files are stored. Note: Windows users have to change this
-; variable in order to use PHP's session functions.
-session.save_path = /tmp
-
-; Whether to use cookies.
-session.use_cookies = 1
-
-; This option enables administrators to make their users invulnerable to
-; attacks which involve passing session ids in URLs; defaults to 0.
-; session.use_only_cookies = 1
-
-; Name of the session (used as cookie name).
-session.name = PHPSESSID
-
-; Initialize session on request startup.
-session.auto_start = 0
-
-; Lifetime in seconds of cookie or, if 0, until browser is restarted.
-session.cookie_lifetime = 0
-
-; The path for which the cookie is valid.
-session.cookie_path = /
-
-; The domain for which the cookie is valid.
-session.cookie_domain =
-
-; Handler used to serialize data. php is the standard serializer of PHP.
-session.serialize_handler = php
-
-; Percentual probability that the 'garbage collection' process is started
-; on every session initialization.
-session.gc_probability = 1
-
-; After this number of seconds, stored data will be seen as 'garbage' and
-; cleaned up by the garbage collection process.
-session.gc_maxlifetime = 1440
-
-; Check HTTP Referer to invalidate externally stored URLs containing ids.
-; HTTP_REFERER has to contain this substring for the session to be
-; considered as valid.
-session.referer_check =
-
-; How many bytes to read from the file.
-session.entropy_length = 0
-
-; Specified here to create the session id.
-session.entropy_file =
-
-;session.entropy_length = 16
-
-;session.entropy_file = /dev/urandom
-
-; Set to {nocache,private,public} to determine HTTP caching aspects.
-session.cache_limiter = nocache
-
-; Document expires after n minutes.
-session.cache_expire = 180
-
-; use transient sid support if enabled by compiling with --enable-trans-sid.
-session.use_trans_sid = 1
-
-url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
-
-[MSSQL]
-; Allow or prevent persistent links.
-mssql.allow_persistent = On
-
-; Maximum number of persistent links. -1 means no limit.
-mssql.max_persistent = -1
-
-; Maximum number of links (persistent+non persistent). -1 means no limit.
-mssql.max_links = -1
-
-; Minimum error severity to display.
-mssql.min_error_severity = 10
-
-; Minimum message severity to display.
-mssql.min_message_severity = 10
-
-; Compatability mode with old versions of PHP 3.0.
-mssql.compatability_mode = Off
-
-; Valid range 0 - 2147483647. Default = 4096.
-;mssql.textlimit = 4096
-
-; Valid range 0 - 2147483647. Default = 4096.
-;mssql.textsize = 4096
-
-; Limits the number of records in each batch. 0 = all records in one batch.
-;mssql.batchsize = 0
-
-; Use NT authentication when connecting to the server
-mssql.secure_connection = Off
-
-; Specify max number of processes. Default = 25
-;mssql.max_procs = 25
-
-[Assertion]
-; Assert(expr); active by default.
-;assert.active = On
-
-; Issue a PHP warning for each failed assertion.
-;assert.warning = On
-
-; Don't bail out by default.
-;assert.bail = Off
-
-; User-function to be called if an assertion fails.
-;assert.callback = 0
-
-; Eval the expression with current error_reporting(). Set to true if you want
-; error_reporting(0) around the eval().
-;assert.quiet_eval = 0
-
-[Ingres II]
-; Allow or prevent persistent links.
-ingres.allow_persistent = On
-
-; Maximum number of persistent links. -1 means no limit.
-ingres.max_persistent = -1
-
-; Maximum number of links, including persistents. -1 means no limit.
-ingres.max_links = -1
-
-; Default database (format: [node_id::]dbname[/srv_class]).
-ingres.default_database =
-
-; Default user.
-ingres.default_user =
-
-; Default password.
-ingres.default_password =
-
-[Verisign Payflow Pro]
-; Default Payflow Pro server.
-pfpro.defaulthost = "test-payflow.verisign.com"
-
-; Default port to connect to.
-pfpro.defaultport = 443
-
-; Default timeout in seconds.
-pfpro.defaulttimeout = 30
-
-; Default proxy IP address (if required).
-;pfpro.proxyaddress =
-
-; Default proxy port.
-;pfpro.proxyport =
-
-; Default proxy logon.
-;pfpro.proxylogon =
-
-; Default proxy password.
-;pfpro.proxypassword =
-
-[Sockets]
-; Use the system read() function instead of the php_read() wrapper.
-sockets.use_system_read = On
-
-[com]
-; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
-;com.typelib_file =
-; allow Distributed-COM calls
-;com.allow_dcom = true
-; autoregister constants of a components typlib on com_load()
-;com.autoregister_typelib = true
-; register constants casesensitive
-;com.autoregister_casesensitive = false
-; show warnings on duplicate constat registrations
-;com.autoregister_verbose = true
-
-[Printer]
-;printer.default_printer = ""
-
-[mbstring]
-; internal/script encoding.
-; Some encoding cannot work as internal encoding.
-; (e.g. SJIS, BIG5, ISO-2022-*)
-;mbstring.internal_encoding = EUC-JP
-
-; http input encoding.
-;mbstring.http_input = auto
-
-; http output encoding. mb_output_handler must be
-; registered as output buffer to function
-;mbstring.http_output = SJIS
-
-; automatic encoding detection order.
-; auto means
-;mbstring.detect_order = auto
-
-; substitute_character used when character cannot be converted
-; one from another
-;mbstring.substitute_character = none;
-
-; overload(replace) single byte functions by mbstring functions.
-; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
-; etc.
-;mbstring.func_overload = No
-
-[FrontBase]
-;fbsql.allow_persistent = On
-;fbsql.autocommit = On
-;fbsql.default_database =
-;fbsql.default_database_password =
-;fbsql.default_host =
-;fbsql.default_password =
-;fbsql.default_user = "_SYSTEM"
-;fbsql.generate_warnings = Off
-;fbsql.max_connections = 128
-;fbsql.max_links = 128
-;fbsql.max_persistent = -1
-;fbsql.max_results = 128
-;fbsql.batchSize = 1000
-
-[Crack]
-; Modify the setting below to match the directory location of the cracklib
-; dictionary files. Include the base filename, but not the file extension.
-; crack.default_dictionary = "c:\php\lib\cracklib_dict"
-
-; Local Variables:
-; tab-width: 4
-; End:
diff --git a/php.ini-recommended b/php.ini-recommended
deleted file mode 100644
index d695e57868..0000000000
--- a/php.ini-recommended
+++ /dev/null
@@ -1,955 +0,0 @@
-[PHP]
-
-;;;;;;;;;;;;;;;;;;;
-; About this file ;
-;;;;;;;;;;;;;;;;;;;
-;
-; This is the recommended, PHP 4-style version of the php.ini-dist file. It
-; sets some non standard settings, that make PHP more efficient, more secure,
-; and encourage cleaner coding.
-; The price is that with these settings, PHP may be incompatible with some
-; applications, and sometimes, more difficult to develop with. Using this
-; file is warmly recommended for production sites. As all of the changes from
-; the standard settings are thoroughly documented, you can go over each one,
-; and decide whether you want to use it or not.
-;
-; For general information about the php.ini file, please consult the php.ini-dist
-; file, included in your PHP distribution.
-;
-; This file is different from the php.ini-dist file in the fact that it features
-; different values for several directives, in order to improve performance, while
-; possibly breaking compatibility with the standard out-of-the-box behavior of
-; PHP 3. Please make sure you read what's different, and modify your scripts
-; accordingly, if you decide to use this file instead.
-;
-; - register_globals = Off [Security, Performance]
-; Global variables are no longer registered for input data (POST, GET, cookies,
-; environment and other server variables). Instead of using $foo, you must use
-; you can use $_REQUEST["foo"] (includes any variable that arrives through the
-; request, namely, POST, GET and cookie variables), or use one of the specific
-; $_GET["foo"], $_POST["foo"], $_COOKIE["foo"] or $_FILES["foo"], depending
-; on where the input originates. Also, you can look at the
-; import_request_variables() function.
-; Note that register_globals is going to be depracated (i.e., turned off by
-; default) in the next version of PHP, because it often leads to security bugs.
-; Read http://php.net/manual/en/security.registerglobals.php for further
-; information.
-; - display_errors = Off [Security]
-; With this directive set to off, errors that occur during the execution of
-; scripts will no longer be displayed as a part of the script output, and thus,
-; will no longer be exposed to remote users. With some errors, the error message
-; content may expose information about your script, web server, or database
-; server that may be exploitable for hacking. Production sites should have this
-; directive set to off.
-; - log_errors = On [Security]
-; This directive complements the above one. Any errors that occur during the
-; execution of your script will be logged (typically, to your server's error log,
-; but can be configured in several ways). Along with setting display_errors to off,
-; this setup gives you the ability to fully understand what may have gone wrong,
-; without exposing any sensitive information to remote users.
-; - output_buffering = 4096 [Performance]
-; Set a 4KB output buffer. Enabling output buffering typically results in less
-; writes, and sometimes less packets sent on the wire, which can often lead to
-; better performance. The gain this directive actually yields greatly depends
-; on which Web server you're working with, and what kind of scripts you're using.
-; - register_argc_argv = Off [Performance]
-; Disables registration of the somewhat redundant $argv and $argc global
-; variables.
-; - magic_quotes_gpc = Off [Performance]
-; Input data is no longer escaped with slashes so that it can be sent into
-; SQL databases without further manipulation. Instead, you should use the
-; function addslashes() on each input element you wish to send to a database.
-; - variables_order = "GPCS" [Performance]
-; The environment variables are not hashed into the $HTTP_ENV_VARS[]. To access
-; environment variables, you can use getenv() instead.
-; - error_reporting = E_ALL [Code Cleanliness, Security(?)]
-; By default, PHP surpresses errors of type E_NOTICE. These error messages
-; are emitted for non-critical errors, but that could be a symptom of a bigger
-; problem. Most notably, this will cause error messages about the use
-; of uninitialized variables to be displayed.
-; - allow_call_time_pass_reference = Off [Code cleanliness]
-; It's not possible to decide to force a variable to be passed by reference
-; when calling a function. The PHP 4 style to do this is by making the
-; function require the relevant argument by reference.
-
-
-;;;;;;;;;;;;;;;;;;;;
-; Language Options ;
-;;;;;;;;;;;;;;;;;;;;
-
-; Enable the PHP scripting language engine under Apache.
-engine = On
-
-; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
-short_open_tag = On
-
-; Allow ASP-style <% %> tags.
-asp_tags = Off
-
-; The number of significant digits displayed in floating point numbers.
-precision = 14
-
-; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
-y2k_compliance = Off
-
-; Output buffering allows you to send header lines (including cookies) even
-; after you send body content, at the price of slowing PHP's output layer a
-; bit. You can enable output buffering during runtime by calling the output
-; buffering functions. You can also enable output buffering for all files by
-; setting this directive to On. If you wish to limit the size of the buffer
-; to a certain size - you can use a maximum number of bytes instead of 'On', as
-; a value for this directive (e.g., output_buffering=4096).
-output_buffering = 4096
-
-; You can redirect all of the output of your scripts to a function. For
-; example, if you set output_handler to "ob_gzhandler", output will be
-; transparently compressed for browsers that support gzip or deflate encoding.
-; Setting an output handler automatically turns on output buffering.
-output_handler =
-
-; Transparent output compression using the zlib library
-; Valid values for this option are 'off', 'on', or a specific buffer size
-; to be used for compression (default is 4KB)
-;
-; Note: output_handler must be empty if this is set 'On' !!!!
-;
-zlib.output_compression = Off
-
-; Implicit flush tells PHP to tell the output layer to flush itself
-; automatically after every output block. This is equivalent to calling the
-; PHP function flush() after each and every call to print() or echo() and each
-; and every HTML block. Turning this option on has serious performance
-; implications and is generally recommended for debugging purposes only.
-implicit_flush = Off
-
-; Whether to enable the ability to force arguments to be passed by reference
-; at function call time. This method is deprecated and is likely to be
-; unsupported in future versions of PHP/Zend. The encouraged method of
-; specifying which arguments should be passed by reference is in the function
-; declaration. You're encouraged to try and turn this option Off and make
-; sure your scripts work properly with it in order to ensure they will work
-; with future versions of the language (you will receive a warning each time
-; you use this feature, and the argument will be passed by value instead of by
-; reference).
-allow_call_time_pass_reference = Off
-
-;
-; Safe Mode
-;
-safe_mode = Off
-
-; By default, Safe Mode does a UID compare check when
-; opening files. If you want to relax this to a GID compare,
-; then turn on safe_mode_gid.
-safe_mode_gid = Off
-
-; When safe_mode is on, UID/GID checks are bypassed when
-; including files from this directory and its subdirectories.
-; (directory must also be in include_path or full path must
-; be used when including)
-safe_mode_include_dir =
-
-; When safe_mode is on, only executables located in the safe_mode_exec_dir
-; will be allowed to be executed via the exec family of functions.
-safe_mode_exec_dir =
-
-; open_basedir, if set, limits all file operations to the defined directory
-; and below. This directive makes most sense if used in a per-directory
-; or per-virtualhost web server configuration file.
-;
-;open_basedir =
-
-; Setting certain environment variables may be a potential security breach.
-; This directive contains a comma-delimited list of prefixes. In Safe Mode,
-; the user may only alter environment variables whose names begin with the
-; prefixes supplied here. By default, users will only be able to set
-; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
-;
-; Note: If this directive is empty, PHP will let the user modify ANY
-; environment variable!
-safe_mode_allowed_env_vars = PHP_
-
-; This directive contains a comma-delimited list of environment variables that
-; the end user won't be able to change using putenv(). These variables will be
-; protected even if safe_mode_allowed_env_vars is set to allow to change them.
-safe_mode_protected_env_vars = LD_LIBRARY_PATH
-
-; This directive allows you to disable certain functions for security reasons.
-; It receives a comma-delimited list of function names. This directive is
-; *NOT* affected by whether Safe Mode is turned On or Off.
-disable_functions =
-
-; Colors for Syntax Highlighting mode. Anything that's acceptable in
-; <font color="??????"> would work.
-highlight.string = #CC0000
-highlight.comment = #FF9900
-highlight.keyword = #006600
-highlight.bg = #FFFFFF
-highlight.default = #0000CC
-highlight.html = #000000
-
-
-;
-; Misc
-;
-; Decides whether PHP may expose the fact that it is installed on the server
-; (e.g. by adding its signature to the Web server header). It is no security
-; threat in any way, but it makes it possible to determine whether you use PHP
-; on your server or not.
-expose_php = On
-
-
-;;;;;;;;;;;;;;;;;;;
-; Resource Limits ;
-;;;;;;;;;;;;;;;;;;;
-
-max_execution_time = 30 ; Maximum execution time of each script, in seconds
-memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)
-
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-; Error handling and logging ;
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
-; error_reporting is a bit-field. Or each number up to get desired error
-; reporting level
-; E_ALL - All errors and warnings
-; E_ERROR - fatal run-time errors
-; E_WARNING - run-time warnings (non-fatal errors)
-; E_PARSE - compile-time parse errors
-; E_NOTICE - run-time notices (these are warnings which often result
-; from a bug in your code, but it's possible that it was
-; intentional (e.g., using an uninitialized variable and
-; relying on the fact it's automatically initialized to an
-; empty string)
-; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
-; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
-; initial startup
-; E_COMPILE_ERROR - fatal compile-time errors
-; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
-; E_USER_ERROR - user-generated error message
-; E_USER_WARNING - user-generated warning message
-; E_USER_NOTICE - user-generated notice message
-;
-; Examples:
-;
-; - Show all errors, except for notices
-;
-;error_reporting = E_ALL & ~E_NOTICE
-;
-; - Show only errors
-;
-;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
-;
-; - Show all errors
-;
-error_reporting = E_ALL
-
-; Print out errors (as a part of the output). For production web sites,
-; you're strongly encouraged to turn this feature off, and use error logging
-; instead (see below). Keeping display_errors enabled on a production web site
-; may reveal security information to end users, such as file paths on your Web
-; server, your database schema or other information.
-display_errors = Off
-
-; Even when display_errors is on, errors that occur during PHP's startup
-; sequence are not displayed. It's strongly recommended to keep
-; display_startup_errors off, except for when debugging.
-display_startup_errors = Off
-
-; Log errors into a log file (server-specific log, stderr, or error_log (below))
-; As stated above, you're strongly advised to use error logging in place of
-; error displaying on production web sites.
-log_errors = On
-
-; Set maximum length of log_errors. In error_log information about the source is
-; added. The default is 1024 and 0 allows to not apply any maximum length at all.
-log_errors_max_len = 1024
-
-; Do not log repeated messages. Repeated errors must occur in same file on same
-; line until ignore_repeated_source is set true.
-ignore_repeated_errors = Off
-
-; Ignore source of message when ignoring repeated messages. When this setting
-; is On you will not log errors with repeated messages from different files or
-; sourcelines.
-ignore_repeated_source = Off
-
-; If this parameter is set to Off, then memory leaks will not be shown (on
-; stdout or in the log). This has only effect in a debug compile, and if
-; error reporting includes E_WARNING in the allowed list
-report_memleaks = On
-
-; Store the last error/warning message in $php_errormsg (boolean).
-track_errors = Off
-
-; Disable the inclusion of HTML tags in error messages.
-;html_errors = Off
-
-; String to output before an error message.
-;error_prepend_string = "<font color=ff0000>"
-
-; String to output after an error message.
-;error_append_string = "</font>"
-
-; Log errors to specified file.
-;error_log = filename
-
-; Log errors to syslog (Event Log on NT, not valid in Windows 95).
-;error_log = syslog
-
-; Warn if the + operator is used with strings.
-warn_plus_overloading = Off
-
-
-;;;;;;;;;;;;;;;;;
-; Data Handling ;
-;;;;;;;;;;;;;;;;;
-;
-; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
-
-; The separator used in PHP generated URLs to separate arguments.
-; Default is "&".
-;arg_separator.output = "&amp;"
-
-; List of separator(s) used by PHP to parse input URLs into variables.
-; Default is "&".
-; NOTE: Every character in this directive is considered as separator!
-;arg_separator.input = ";&"
-
-; This directive describes the order in which PHP registers GET, POST, Cookie,
-; Environment and Built-in variables (G, P, C, E & S respectively, often
-; referred to as EGPCS or GPC). Registration is done from left to right, newer
-; values override older values.
-variables_order = "GPCS"
-
-; Whether or not to register the EGPCS variables as global variables. You may
-; want to turn this off if you don't want to clutter your scripts' global scope
-; with user data. This makes most sense when coupled with track_vars - in which
-; case you can access all of the GPC variables through the $HTTP_*_VARS[],
-; variables.
-;
-; You should do your best to write your scripts so that they do not require
-; register_globals to be on; Using form variables as globals can easily lead
-; to possible security problems, if the code is not very well thought of.
-register_globals = Off
-
-; This directive tells PHP whether to declare the argv&argc variables (that
-; would contain the GET information). If you don't use these variables, you
-; should turn it off for increased performance.
-register_argc_argv = Off
-
-; Maximum size of POST data that PHP will accept.
-post_max_size = 8M
-
-; This directive is deprecated. Use variables_order instead.
-gpc_order = "GPC"
-
-; Magic quotes
-;
-
-; Magic quotes for incoming GET/POST/Cookie data.
-magic_quotes_gpc = Off
-
-; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
-magic_quotes_runtime = Off
-
-; Use Sybase-style magic quotes (escape ' with '' instead of \').
-magic_quotes_sybase = Off
-
-; Automatically add files before or after any PHP document.
-auto_prepend_file =
-auto_append_file =
-
-; As of 4.0b4, PHP always outputs a character encoding by default in
-; the Content-type: header. To disable sending of the charset, simply
-; set it to be empty.
-;
-; PHP's built-in default is text/html
-default_mimetype = "text/html"
-;default_charset = "iso-8859-1"
-
-; Always populate the $HTTP_RAW_POST_DATA variable.
-;always_populate_raw_post_data = On
-
-;;;;;;;;;;;;;;;;;;;;;;;;;
-; Paths and Directories ;
-;;;;;;;;;;;;;;;;;;;;;;;;;
-
-; UNIX: "/path1:/path2"
-;include_path = ".:/php/includes"
-;
-; Windows: "\path1;\path2"
-;include_path = ".;c:\php\includes"
-
-; The root of the PHP pages, used only if nonempty.
-; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
-; if you are running php as a CGI under any web server (other than IIS)
-; see documentation for security issues. The alternate is to use the
-; cgi.force_redirect configuration below
-doc_root =
-
-; The directory under which PHP opens the script using /~usernamem used only
-; if nonempty.
-user_dir =
-
-; Directory in which the loadable extensions (modules) reside.
-extension_dir = ./
-
-; Whether or not to enable the dl() function. The dl() function does NOT work
-; properly in multithreaded servers, such as IIS or Zeus, and is automatically
-; disabled on them.
-enable_dl = On
-
-; cgi.force_redirect is necessary to provide security running PHP as a CGI under
-; most web servers. Left undefined, PHP turns this on by default. You can
-; turn it off here AT YOUR OWN RISK
-; **You CAN safely turn this off for IIS, in fact, you MUST.**
-; cgi.force_redirect = 1
-
-; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
-; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
-; will look for to know it is OK to continue execution. Setting this variable MAY
-; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
-; cgi.redirect_status_env = ;
-
-; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
-; security tokens of the calling client. This allows IIS to define the
-; security context that the request runs under. mod_fastcgi under Apache
-; does not currently support this feature (03/17/2002)
-; Set to 1 if running under IIS. Default is zero.
-; fastcgi.impersonate = 1;
-
-;;;;;;;;;;;;;;;;
-; File Uploads ;
-;;;;;;;;;;;;;;;;
-
-; Whether to allow HTTP file uploads.
-file_uploads = On
-
-; Temporary directory for HTTP uploaded files (will use system default if not
-; specified).
-;upload_tmp_dir =
-
-; Maximum allowed size for uploaded files.
-upload_max_filesize = 2M
-
-
-;;;;;;;;;;;;;;;;;;
-; Fopen wrappers ;
-;;;;;;;;;;;;;;;;;;
-
-; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
-allow_url_fopen = On
-
-; Define the anonymous ftp password (your email address)
-;from="john@doe.com"
-
-
-;;;;;;;;;;;;;;;;;;;;;;
-; Dynamic Extensions ;
-;;;;;;;;;;;;;;;;;;;;;;
-;
-; If you wish to have an extension loaded automatically, use the following
-; syntax:
-;
-; extension=modulename.extension
-;
-; For example, on Windows:
-;
-; extension=msql.dll
-;
-; ... or under UNIX:
-;
-; extension=msql.so
-;
-; Note that it should be the name of the module only; no directory information
-; needs to go here. Specify the location of the extension with the
-; extension_dir directive above.
-
-
-;Windows Extensions
-;Note that MySQL and ODBC support is now built in, so no dll is needed for it.
-;
-;extension=php_bz2.dll
-;extension=php_ctype.dll
-;extension=php_cpdf.dll
-;extension=php_crack.dll
-;extension=php_curl.dll
-;extension=php_cybercash.dll
-;extension=php_db.dll
-;extension=php_dba.dll
-;extension=php_dbase.dll
-;extension=php_dbx.dll
-;extension=php_domxml.dll
-;extension=php_dotnet.dll
-;extension=php_exif.dll
-;extension=php_fbsql.dll
-;extension=php_fdf.dll
-;extension=php_filepro.dll
-;extension=php_gd.dll
-;extension=php_gettext.dll
-;extension=php_hyperwave.dll
-;extension=php_iconv.dll
-;extension=php_ifx.dll
-;extension=php_iisfunc.dll
-;extension=php_imap.dll
-;extension=php_ingres.dll
-;extension=php_interbase.dll
-;extension=php_java.dll
-;extension=php_ldap.dll
-;extension=php_mbstring.dll
-;extension=php_mcrypt.dll
-;extension=php_mhash.dll
-;extension=php_ming.dll
-;extension=php_mssql.dll
-;extension=php_oci8.dll
-;extension=php_openssl.dll
-;extension=php_oracle.dll
-;extension=php_pdf.dll
-;extension=php_pgsql.dll
-;extension=php_printer.dll
-;extension=php_shmop.dll
-;extension=php_snmp.dll
-;extension=php_sockets.dll
-;extension=php_sybase_ct.dll
-;extension=php_tokenizer.dll
-;extension=php_w32api.dll
-;extension=php_xslt.dll
-;extension=php_yaz.dll
-;extension=php_zlib.dll
-
-
-;;;;;;;;;;;;;;;;;;;
-; Module Settings ;
-;;;;;;;;;;;;;;;;;;;
-
-[Syslog]
-; Whether or not to define the various syslog variables (e.g. $LOG_PID,
-; $LOG_CRON, etc.). Turning it off is a good idea performance-wise. In
-; runtime, you can define these variables by calling define_syslog_variables().
-define_syslog_variables = Off
-
-[mail function]
-; For Win32 only.
-SMTP = localhost
-
-; For Win32 only.
-sendmail_from = me@localhost.com
-
-; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
-;sendmail_path =
-
-[Java]
-;java.class.path = .\php_java.jar
-;java.home = c:\jdk
-;java.library = c:\jdk\jre\bin\hotspot\jvm.dll
-;java.library.path = .\
-
-[SQL]
-sql.safe_mode = Off
-
-[ODBC]
-;odbc.default_db = Not yet implemented
-;odbc.default_user = Not yet implemented
-;odbc.default_pw = Not yet implemented
-
-; Allow or prevent persistent links.
-odbc.allow_persistent = On
-
-; Check that a connection is still valid before reuse.
-odbc.check_persistent = On
-
-; Maximum number of persistent links. -1 means no limit.
-odbc.max_persistent = -1
-
-; Maximum number of links (persistent + non-persistent). -1 means no limit.
-odbc.max_links = -1
-
-; Handling of LONG fields. Returns number of bytes to variables. 0 means
-; passthru.
-odbc.defaultlrl = 4096
-
-; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char.
-; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
-; of uodbc.defaultlrl and uodbc.defaultbinmode
-odbc.defaultbinmode = 1
-
-[MySQL]
-; Allow or prevent persistent links.
-mysql.allow_persistent = On
-
-; Maximum number of persistent links. -1 means no limit.
-mysql.max_persistent = -1
-
-; Maximum number of links (persistent + non-persistent). -1 means no limit.
-mysql.max_links = -1
-
-; Default port number for mysql_connect(). If unset, mysql_connect() will use
-; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
-; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
-; at MYSQL_PORT.
-mysql.default_port =
-
-; Default socket name for local MySQL connects. If empty, uses the built-in
-; MySQL defaults.
-mysql.default_socket =
-
-; Default host for mysql_connect() (doesn't apply in safe mode).
-mysql.default_host =
-
-; Default user for mysql_connect() (doesn't apply in safe mode).
-mysql.default_user =
-
-; Default password for mysql_connect() (doesn't apply in safe mode).
-; Note that this is generally a *bad* idea to store passwords in this file.
-; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
-; and reveal this password! And of course, any users with read access to this
-; file will be able to reveal the password as well.
-mysql.default_password =
-
-[mSQL]
-; Allow or prevent persistent links.
-msql.allow_persistent = On
-
-; Maximum number of persistent links. -1 means no limit.
-msql.max_persistent = -1
-
-; Maximum number of links (persistent+non persistent). -1 means no limit.
-msql.max_links = -1
-
-[PostgresSQL]
-; Allow or prevent persistent links.
-pgsql.allow_persistent = On
-
-; Detect broken persistent links always with pg_pconnect().
-; Auto reset feature requires a little overheads.
-pgsql.auto_reset_persistent = Off
-
-; Maximum number of persistent links. -1 means no limit.
-pgsql.max_persistent = -1
-
-; Maximum number of links (persistent+non persistent). -1 means no limit.
-pgsql.max_links = -1
-
-; Ignore PostgreSQL backends Notice message or not.
-; Notice message logging require a little overheads.
-pgsql.ignore_notice = 0
-
-; Log PostgreSQL backends Noitce message or not.
-; Unless pgsql.ignore_notice=0, module cannot log notice message.
-pgsql.log_notice = 0
-
-[Sybase]
-; Allow or prevent persistent links.
-sybase.allow_persistent = On
-
-; Maximum number of persistent links. -1 means no limit.
-sybase.max_persistent = -1
-
-; Maximum number of links (persistent + non-persistent). -1 means no limit.
-sybase.max_links = -1
-
-;sybase.interface_file = "/usr/sybase/interfaces"
-
-; Minimum error severity to display.
-sybase.min_error_severity = 10
-
-; Minimum message severity to display.
-sybase.min_message_severity = 10
-
-; Compatability mode with old versions of PHP 3.0.
-; If on, this will cause PHP to automatically assign types to results according
-; to their Sybase type, instead of treating them all as strings. This
-; compatability mode will probably not stay around forever, so try applying
-; whatever necessary changes to your code, and turn it off.
-sybase.compatability_mode = Off
-
-[Sybase-CT]
-; Allow or prevent persistent links.
-sybct.allow_persistent = On
-
-; Maximum number of persistent links. -1 means no limit.
-sybct.max_persistent = -1
-
-; Maximum number of links (persistent + non-persistent). -1 means no limit.
-sybct.max_links = -1
-
-; Minimum server message severity to display.
-sybct.min_server_severity = 10
-
-; Minimum client message severity to display.
-sybct.min_client_severity = 10
-
-[bcmath]
-; Number of decimal digits for all bcmath functions.
-bcmath.scale = 0
-
-[browscap]
-;browscap = extra/browscap.ini
-
-[Informix]
-; Default host for ifx_connect() (doesn't apply in safe mode).
-ifx.default_host =
-
-; Default user for ifx_connect() (doesn't apply in safe mode).
-ifx.default_user =
-
-; Default password for ifx_connect() (doesn't apply in safe mode).
-ifx.default_password =
-
-; Allow or prevent persistent links.
-ifx.allow_persistent = On
-
-; Maximum number of persistent links. -1 means no limit.
-ifx.max_persistent = -1
-
-; Maximum number of links (persistent + non-persistent). -1 means no limit.
-ifx.max_links = -1
-
-; If on, select statements return the contents of a text blob instead of its id.
-ifx.textasvarchar = 0
-
-; If on, select statements return the contents of a byte blob instead of its id.
-ifx.byteasvarchar = 0
-
-; Trailing blanks are stripped from fixed-length char columns. May help the
-; life of Informix SE users.
-ifx.charasvarchar = 0
-
-; If on, the contents of text and byte blobs are dumped to a file instead of
-; keeping them in memory.
-ifx.blobinfile = 0
-
-; NULL's are returned as empty strings, unless this is set to 1. In that case,
-; NULL's are returned as string 'NULL'.
-ifx.nullformat = 0
-
-[Session]
-; Handler used to store/retrieve data.
-session.save_handler = files
-
-; Argument passed to save_handler. In the case of files, this is the path
-; where data files are stored. Note: Windows users have to change this
-; variable in order to use PHP's session functions.
-session.save_path = /tmp
-
-; Whether to use cookies.
-session.use_cookies = 1
-
-; This option enables administrators to make their users invulnerable to
-; attacks which involve passing session ids in URLs; defaults to 0.
-; session.use_only_cookies = 1
-
-; Name of the session (used as cookie name).
-session.name = PHPSESSID
-
-; Initialize session on request startup.
-session.auto_start = 0
-
-; Lifetime in seconds of cookie or, if 0, until browser is restarted.
-session.cookie_lifetime = 0
-
-; The path for which the cookie is valid.
-session.cookie_path = /
-
-; The domain for which the cookie is valid.
-session.cookie_domain =
-
-; Handler used to serialize data. php is the standard serializer of PHP.
-session.serialize_handler = php
-
-; Percentual probability that the 'garbage collection' process is started
-; on every session initialization.
-session.gc_probability = 1
-
-; After this number of seconds, stored data will be seen as 'garbage' and
-; cleaned up by the garbage collection process.
-session.gc_maxlifetime = 1440
-
-; Check HTTP Referer to invalidate externally stored URLs containing ids.
-; HTTP_REFERER has to contain this substring for the session to be
-; considered as valid.
-session.referer_check =
-
-; How many bytes to read from the file.
-session.entropy_length = 0
-
-; Specified here to create the session id.
-session.entropy_file =
-
-;session.entropy_length = 16
-
-;session.entropy_file = /dev/urandom
-
-; Set to {nocache,private,public} to determine HTTP caching aspects.
-session.cache_limiter = nocache
-
-; Document expires after n minutes.
-session.cache_expire = 180
-
-; use transient sid support if enabled by compiling with --enable-trans-sid.
-session.use_trans_sid = 1
-
-url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
-
-[MSSQL]
-; Allow or prevent persistent links.
-mssql.allow_persistent = On
-
-; Maximum number of persistent links. -1 means no limit.
-mssql.max_persistent = -1
-
-; Maximum number of links (persistent+non persistent). -1 means no limit.
-mssql.max_links = -1
-
-; Minimum error severity to display.
-mssql.min_error_severity = 10
-
-; Minimum message severity to display.
-mssql.min_message_severity = 10
-
-; Compatability mode with old versions of PHP 3.0.
-mssql.compatability_mode = Off
-
-; Valid range 0 - 2147483647. Default = 4096.
-;mssql.textlimit = 4096
-
-; Valid range 0 - 2147483647. Default = 4096.
-;mssql.textsize = 4096
-
-; Limits the number of records in each batch. 0 = all records in one batch.
-;mssql.batchsize = 0
-
-; Use NT authentication when connecting to the server
-mssql.secure_connection = Off
-
-; Specify max number of processes. Default = 25
-;mssql.max_procs = 25
-
-[Assertion]
-; Assert(expr); active by default.
-;assert.active = On
-
-; Issue a PHP warning for each failed assertion.
-;assert.warning = On
-
-; Don't bail out by default.
-;assert.bail = Off
-
-; User-function to be called if an assertion fails.
-;assert.callback = 0
-
-; Eval the expression with current error_reporting(). Set to true if you want
-; error_reporting(0) around the eval().
-;assert.quiet_eval = 0
-
-[Ingres II]
-; Allow or prevent persistent links.
-ingres.allow_persistent = On
-
-; Maximum number of persistent links. -1 means no limit.
-ingres.max_persistent = -1
-
-; Maximum number of links, including persistents. -1 means no limit.
-ingres.max_links = -1
-
-; Default database (format: [node_id::]dbname[/srv_class]).
-ingres.default_database =
-
-; Default user.
-ingres.default_user =
-
-; Default password.
-ingres.default_password =
-
-[Verisign Payflow Pro]
-; Default Payflow Pro server.
-pfpro.defaulthost = "test-payflow.verisign.com"
-
-; Default port to connect to.
-pfpro.defaultport = 443
-
-; Default timeout in seconds.
-pfpro.defaulttimeout = 30
-
-; Default proxy IP address (if required).
-;pfpro.proxyaddress =
-
-; Default proxy port.
-;pfpro.proxyport =
-
-; Default proxy logon.
-;pfpro.proxylogon =
-
-; Default proxy password.
-;pfpro.proxypassword =
-
-[Sockets]
-; Use the system read() function instead of the php_read() wrapper.
-sockets.use_system_read = On
-
-[com]
-; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
-;com.typelib_file =
-; allow Distributed-COM calls
-;com.allow_dcom = true
-; autoregister constants of a components typlib on com_load()
-;com.autoregister_typelib = true
-; register constants casesensitive
-;com.autoregister_casesensitive = false
-; show warnings on duplicate constat registrations
-;com.autoregister_verbose = true
-
-[Printer]
-;printer.default_printer = ""
-
-[mbstring]
-; internal/script encoding.
-; Some encoding cannot work as internal encoding.
-; (e.g. SJIS, BIG5, ISO-2022-*)
-;mbstring.internal_encoding = EUC-JP
-
-; http input encoding.
-;mbstring.http_input = auto
-
-; http output encoding. mb_output_handler must be
-; registered as output buffer to function
-;mbstring.http_output = SJIS
-
-; automatic encoding detection order.
-; auto means
-;mbstring.detect_order = auto
-
-; substitute_character used when character cannot be converted
-; one from another
-;mbstring.substitute_character = none;
-
-; overload(replace) single byte functions by mbstring functions.
-; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
-; etc.
-;mbstring.func_overload = No
-
-[FrontBase]
-;fbsql.allow_persistent = On
-;fbsql.autocommit = On
-;fbsql.default_database =
-;fbsql.default_database_password =
-;fbsql.default_host =
-;fbsql.default_password =
-;fbsql.default_user = "_SYSTEM"
-;fbsql.generate_warnings = Off
-;fbsql.max_connections = 128
-;fbsql.max_links = 128
-;fbsql.max_persistent = -1
-;fbsql.max_results = 128
-;fbsql.batchSize = 1000
-
-[Crack]
-; Modify the setting below to match the directory location of the cracklib
-; dictionary files. Include the base filename, but not the file extension.
-; crack.default_dictionary = "c:\php\lib\cracklib_dict"
-
-; Local Variables:
-; tab-width: 4
-; End:
diff --git a/php4.spec.in b/php4.spec.in
deleted file mode 100644
index 67e4b7cf13..0000000000
--- a/php4.spec.in
+++ /dev/null
@@ -1,48 +0,0 @@
-%define version @VERSION@
-%define so_version 4
-%define release 1
-
-Name: php
-Summary: PHP: Hypertext Preprocessor
-Group: Development/Languages
-Version: %{version}
-Release: %{release}
-Copyright: The PHP license (see "LICENSE" file included in distribution)
-Source: http://www.php.net/version4/downloads/php-%{version}.tar.gz
-Icon: php.gif
-URL: http://www.php.net/
-Packager: PHP Group <group@php.net>
-
-BuildRoot: /var/tmp/php-%{version}
-
-%description
-PHP is an HTML-embedded scripting language. Much of its syntax is
-borrowed from C, Java and Perl with a couple of unique PHP-specific
-features thrown in. The goal of the language is to allow web
-developers to write dynamically generated pages quickly.
-
-%prep
-
-%setup
-
-%build
-set -x
-./buildconf
-./configure --prefix=/usr --with-apxs \
- --enable-track-vars --disable-debug \
- --with-xml=shared \
-
-# figure out configure options options based on what packages are installed
-# to override, use the OVERRIDE_OPTIONS environment variable. To add
-# extra options, use the OPTIONS environment variable.
-
-#test rpm -q MySQL-devel >&/dev/null && OPTIONS="$OPTIONS --with-mysql=shared"
-#test rpm -q solid-devel >&/dev/null && OPTIONS="$OPTIONS --with-solid=shared,/home/solid"
-#test rpm -q postgresql-devel >&/dev/null && OPTIONS="$OPTIONS --with-pgsql=shared"
-test rpm -q expat >&/dev/null && OPTIONS="$OPTIONS --with-xml=shared"
-
-if test "x$OVERRIDE_OPTIONS" = "x"; then
- ./configure --prefix=/usr --with-apxs=$APXS $OPTIONS
-else
- ./configure $OVERRIDE_OPTIONS
-fi
diff --git a/run-tests.php b/run-tests.php
deleted file mode 100755
index 8ec8252ae7..0000000000
--- a/run-tests.php
+++ /dev/null
@@ -1,426 +0,0 @@
-<?php
-/*
- +----------------------------------------------------------------------+
- | PHP Version 4 |
- +----------------------------------------------------------------------+
- | Copyright (c) 1997-2002 The PHP Group |
- +----------------------------------------------------------------------+
- | This source file is subject to version 2.02 of the PHP license, |
- | that is bundled with this package in the file LICENSE, and is |
- | available at through the world-wide-web at |
- | http://www.php.net/license/2_02.txt. |
- | If you did not receive a copy of the PHP license and are unable to |
- | obtain it through the world-wide-web, please send a note to |
- | license@php.net so we can mail you a copy immediately. |
- +----------------------------------------------------------------------+
- | Authors: Preston L. Bannister <pbannister@php.net> |
- | Sander Roobol <sander@php.net> |
- | (based on version by: Stig Bakken <ssb@fast.no>) |
- | (based on the PHP 3 test framework by Rasmus Lerdorf) |
- +----------------------------------------------------------------------+
- */
-
-/*
-
- Require exact specification of PHP executable to test (no guessing!).
-
- Die if any internal errors encountered in test script.
-
- Regularized output for simpler post-processing of output.
-
- Optionally output error lines indicating the failing test source and log
- for direct jump with MSVC or Emacs.
-
-*/
-
-/*
- * TODO:
- * - do not test PEAR components if base class and/or component class cannot be instanciated
- */
-
-set_time_limit(0);
-ob_implicit_flush();
-error_reporting(E_ALL);
-
-if (ini_get('safe_mode')) {
- echo <<<SAFE_MODE_WARNING
-
-+-----------------------------------------------------------+
-| ! WARNING ! |
-| You are running the test-suite with "safe_mode" ENABLED ! |
-| |
-| Chances are high that no test will work at all, |
-| depending on how you configured "safe_mode" ! |
-+-----------------------------------------------------------+
-
-
-SAFE_MODE_WARNING;
-}
-
-// Don't ever guess at the PHP executable location.
-// Require the explicit specification.
-// Otherwise we could end up testing the wrong file!
-
-if(isset($_ENV['TEST_PHP_EXECUTABLE'])) {
- $php = $_ENV['TEST_PHP_EXECUTABLE'];
-} else {
- error("environment variable TEST_PHP_EXECUTABLE must be set to specify PHP executable!");
-}
-
-if(!@is_executable($php)) {
- error("invalid PHP executable specified by TEST_PHP_EXECUTABLE = " . $php);
-}
-
-// Check whether a detailed log is wanted.
-
-if(isset($_ENV['TEST_PHP_DETAILED'])) {
- define('DETAILED', $_ENV['TEST_PHP_DETAILED']);
-} else {
- define('DETAILED', 0);
-}
-
-// Write test context information.
-
-echo "
-=====================================================================
-CWD : " . getcwd() . "
-PHP : $php
-PHP_SAPI : " . PHP_SAPI . "
-PHP_VERSION : " . PHP_VERSION . "
-PHP_OS : " . PHP_OS . "
-INI actual : " . realpath(get_cfg_var('cfg_file_path')) . "
-INI wanted : " . realpath('php.ini-dist') . "
-=====================================================================
-";
-
-// Make sure we are using the proper php.ini.
-
-$php_ini = realpath("php.ini-dist");
-if(realpath(get_cfg_var('cfg_file_path')) != $php_ini) {
- error("php.ini-dist was not used!");
-}
-$php .= " -c $php_ini";
-
-// Determine the tests to be run.
-
-$test_to_run = array();
-$test_files = array();
-$test_results = array();
-
-// If parameters given assume they represent selected tests to run.
-if (isset($argc) && $argc>1) {
- for ($i=1; $i<$argc; $i++) {
- $testfile = realpath($argv[$i]);
- $test_to_run[$testfile] = 1;
- }
-}
-
-// Compile a list of all test files (*.phpt).
-$test_files = array();
-$module_of_test = array();
-find_files(getcwd());
-
-function find_files($dir) {
- global $test_files, $module_of_test;
-
- /* FIXME: this messes up if you unpack PHP in /ext/pear :) */
- if (ereg('/ext/([^/]+)/',"$dir/",$r)) {
- $module = $r[1];
- } else if (ereg('/pear/',"$dir/")) {
- $module = 'pear';
- } else {
- $module = '';
- }
-
- $o = opendir($dir) or error("cannot open directory: $dir");
- while (($name = readdir($o))!==false) {
- if (is_dir("{$dir}/{$name}") && !in_array($name, array('.', '..', 'CVS'))) {
- find_files("{$dir}/{$name}");
- }
-
- // Cleanup any left-over tmp files from last run.
- if (substr($name, -4)=='.tmp') {
- @unlink("$dir/$name");
- continue;
- }
-
- // Otherwise we're only interested in *.phpt files.
- if (substr($name, -5)=='.phpt') {
- $testfile = realpath("{$dir}/{$name}");
- $test_files[] = $testfile;
-// $module_of_test[$testfile] = $module;
- }
- }
-
- closedir($o);
-}
-
-// Run only selected tests, if specified.
-if (count($test_to_run)) {
- echo "Running selected tests.\n";
- foreach($test_to_run AS $name=>$runnable) {
- echo "test: $name runnable: $runnable\n";
- if ($runnable) {
- $test_results[$name] = run_test($php,$name);
- }
- }
- exit(0);
-}
-
-sort($test_files);
-
-$start_time = time();
-
-echo "TIME START " . date('Y-m-d H:i:s', $start_time) . "
-=====================================================================
-";
-
-$path_current = '';
-foreach ($test_files as $name) {
-
- $path = dirname($name);
- if ($path_current != $path) {
- $path_current = $path;
- echo " entering directory $path\n";
- }
-
- $test_results[$name] = run_test($php,$name);
-}
-
-$end_time = time();
-
-// Summarize results
-
-if (0 == count($test_results)) {
- echo "No tests were run.\n";
- return;
-}
-
-$n_total = count($test_results);
-$sum_results = array('PASSED'=>0, 'SKIPPED'=>0, 'FAILED'=>0);
-foreach ($test_results as $v) {
- $sum_results[$v]++;
-}
-$percent_results = array();
-while (list($v,$n) = each($sum_results)) {
- $percent_results[$v] = (100.0 * $n) / $n_total;
-}
-
-echo "
-=====================================================================
-TIME END " . date('Y-m-d H:i:s', $end_time) . "
-=====================================================================
-TEST RESULT SUMMARY
----------------------------------------------------------------------
-Number of tests : " . sprintf("%4d",$n_total) . "
-Tests skipped : " . sprintf("%4d (%2.1f%%)",$sum_results['SKIPPED'],$percent_results['SKIPPED']) . "
-Tests failed : " . sprintf("%4d (%2.1f%%)",$sum_results['FAILED'],$percent_results['FAILED']) . "
-Tests passed : " . sprintf("%4d (%2.1f%%)",$sum_results['PASSED'],$percent_results['PASSED']) . "
-Time taken : " . sprintf("%4d seconds", $end_time - $start_time) . "
-=====================================================================
-";
-
-//
-// Write the given text to a temporary file, and return the filename.
-//
-
-function save_text($filename,$text) {
- $fp = @fopen($filename,'w')
- or error("Cannot open file '" . $filename . "' (save_text)");
- fwrite($fp,$text);
- fclose($fp);
- if (1 < DETAILED) echo "
-FILE $filename {{{
-$text
-}}}
-";
-}
-
-//
-// Write an error in a format recognizable to Emacs or MSVC.
-//
-
-function error_report($testname,$logname,$tested)
-{
- $testname = realpath($testname);
- $logname = realpath($logname);
- switch (strtoupper(getenv('TEST_PHP_ERROR_STYLE'))) {
- case 'MSVC':
- echo $testname . "(1) : $tested\n";
- echo $logname . "(1) : $tested\n";
- break;
- case 'EMACS':
- echo $testname . ":1: $tested\n";
- echo $logname . ":1: $tested\n";
- break;
- }
-}
-
-//
-// Run an individual test case.
-//
-
-function run_test($php,$file)
-{
- if (DETAILED) echo "
-=================
-TEST $file
-";
-
- // Load the sections of the test file.
-
- $section_text = array(
- 'TEST' => '(unnamed test)',
- 'SKIPIF' => '',
- 'GET' => '',
- );
-
- $fp = @fopen($file, "r")
- or error("Cannot open test file: $file");
-
- $section = '';
- while (!feof($fp)) {
- $line = fgets($fp);
-
- // Match the beginning of a section.
- if (ereg('^--([A-Z]+)--',$line,$r)) {
- $section = $r[1];
- $section_text[$section] = '';
- continue;
- }
-
- // Add to the section text.
- $section_text[$section] .= $line;
- }
- fclose($fp);
-
- $tested = trim($section_text['TEST']).' ('.basename($file).')';
-
- $tmp = realpath(dirname($file));
- $tmp_skipif = $tmp.uniqid('/phpt.');
- $tmp_file = $tmp.uniqid('/phpt.');
- $tmp_post = $tmp.uniqid('/phpt.');
-
- @unlink($tmp_skipif);
- @unlink($tmp_file);
- @unlink($tmp_post);
-
- // Reset environment from any previous test.
-
- putenv("REDIRECT_STATUS=");
- putenv("QUERY_STRING=");
- putenv("PATH_TRANSLATED=");
- putenv("SCRIPT_FILENAME=");
- putenv("REQUEST_METHOD=");
- putenv("CONTENT_TYPE=");
- putenv("CONTENT_LENGTH=");
-
- // Check if test should be skipped.
-
- if (trim($section_text['SKIPIF'])) {
- save_text($tmp_skipif, $section_text['SKIPIF']);
- $output = `$php $tmp_skipif`;
- @unlink($tmp_skipif);
- if(trim($output)=='skip') {
- echo "SKIP $tested\n";
- return 'SKIPPED';
- }
- }
-
- // We've satisfied the preconditions - run the test!
-
- save_text($tmp_file,$section_text['FILE']);
- $query_string = trim($section_text['GET']);
-
- putenv("REDIRECT_STATUS=1");
- putenv("QUERY_STRING=$query_string");
- putenv("PATH_TRANSLATED=$tmp_file");
- putenv("SCRIPT_FILENAME=$tmp_file");
-
- if (!empty($section_text['POST'])) {
-
- $post = trim($section_text['POST']);
- save_text($tmp_post,$post);
- $content_length = strlen($post);
-
- putenv("REQUEST_METHOD=POST");
- putenv("CONTENT_TYPE=application/x-www-form-urlencoded");
- putenv("CONTENT_LENGTH=$content_length");
-
- $cmd = "$php -f $tmp_file 2>&1 < $tmp_post";
-
- } else {
-
- putenv("REQUEST_METHOD=GET");
- putenv("CONTENT_TYPE=");
- putenv("CONTENT_LENGTH=");
-
- $cmd = "$php -f $tmp_file 2>&1";
-
- }
-
- if (DETAILED) echo "
-CONTENT_LENGTH = " . getenv("CONTENT_LENGTH") . "
-CONTENT_TYPE = " . getenv("CONTENT_TYPE") . "
-PATH_TRANSLATED = " . getenv("PATH_TRANSLATED") . "
-QUERY_STRING = " . getenv("QUERY_STRING") . "
-REDIRECT_STATUS = " . getenv("REDIRECT_STATUS") . "
-REQUEST_METHOD = " . getenv("REQUEST_METHOD") . "
-SCRIPT_FILENAME = " . getenv("SCRIPT_FILENAME") . "
-COMMAND $cmd
-";
-
- $out = `$cmd`;
-
- @unlink($tmp_post);
- @unlink($tmp_file);
-
- // Does the output match what is expected?
-
- $output = trim(preg_replace('/^(..+\n)+\n/','',$out));
- $wanted = trim($section_text['EXPECT']);
-
- $output = preg_replace('/\r\n/',"\n",$output);
- $wanted = preg_replace('/\r\n/',"\n",$wanted);
-
- $ok = (0 == strcmp($output,$wanted));
- if ($ok) {
- echo "PASS $tested\n";
- return 'PASSED';
- }
-
- // Test failed so we need to report details.
-
- echo "FAIL $tested\n";
-
- $logname = ereg_replace('\.phpt$','.log',$file);
- $log = fopen($logname,'w')
- or error("Cannot create test log - $logname");
-
- fwrite($log,"
----- EXPECTED OUTPUT
-$wanted
----- ACTUAL OUTPUT
-$output
----- FAILED
-");
- fclose($log);
-
- error_report($file,$logname,$tested);
-
- return 'FAILED';
-}
-
-function error($message) {
- echo "ERROR: {$message}\n";
- exit(1);
-}
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * indent-tabs-mode: t
- * End:
- */
-?>
diff --git a/scan_makefile_in.awk b/scan_makefile_in.awk
deleted file mode 100644
index 0c6d20398f..0000000000
--- a/scan_makefile_in.awk
+++ /dev/null
@@ -1,32 +0,0 @@
-BEGIN {
- mode=0
- sources=""
-}
-
-mode == 0 && /^LTLIBRARY_SOURCES.*\\$/ {
- if (match($0, "[^=]*$")) {
- sources=substr($0, RSTART, RLENGTH-1)
- }
- mode=1
- next
-}
-
-mode == 0 && /^LTLIBRARY_SOURCES.*/ {
- if (match($0, "[^=]*$")) {
- sources=substr($0, RSTART, RLENGTH)
- }
-}
-
-mode == 1 && /.*\\$/ {
- sources=sources substr($0, 0, length - 1)
- next
-}
-
-mode == 1 {
- sources=sources $0
- mode=0
-}
-
-END {
- print sources
-}
diff --git a/snapshot b/snapshot
deleted file mode 100755
index f8e13ef9d9..0000000000
--- a/snapshot
+++ /dev/null
@@ -1,7 +0,0 @@
-#! /bin/sh
-
-if test -n "$1"; then
- flags="DISTNAME=$1"
-fi
-
-${MAKE:-make} $flags -f build/build.mk snapshot
diff --git a/stamp-h.in b/stamp-h.in
deleted file mode 100644
index 9788f70238..0000000000
--- a/stamp-h.in
+++ /dev/null
@@ -1 +0,0 @@
-timestamp
diff --git a/strtok_r.c b/strtok_r.c
deleted file mode 100644
index fea43bdead..0000000000
--- a/strtok_r.c
+++ /dev/null
@@ -1,113 +0,0 @@
-#include "php.h"
-
-#ifndef HAVE_STRTOK_R
-
-/*
- * Copyright (c) 1998 Softweyr LLC. All rights reserved.
- *
- * strtok_r, from Berkeley strtok
- * Oct 13, 1998 by Wes Peters <wes@softweyr.com>
- *
- * Copyright (c) 1988, 1993
- * The Regents of the University of California. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notices, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notices, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- *
- * This product includes software developed by Softweyr LLC, the
- * University of California, Berkeley, and its contributors.
- *
- * 4. Neither the name of the University nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY SOFTWEYR LLC, THE REGENTS AND CONTRIBUTORS
- * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SOFTWEYR LLC, THE
- * REGENTS, OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
- * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include <stddef.h>
-#include <string.h>
-
-char *
-strtok_r(char *s, const char *delim, char **last)
-{
- char *spanp;
- int c, sc;
- char *tok;
-
- if (s == NULL && (s = *last) == NULL)
- {
- return NULL;
- }
-
- /*
- * Skip (span) leading delimiters (s += strspn(s, delim), sort of).
- */
-cont:
- c = *s++;
- for (spanp = (char *)delim; (sc = *spanp++) != 0; )
- {
- if (c == sc)
- {
- goto cont;
- }
- }
-
- if (c == 0) /* no non-delimiter characters */
- {
- *last = NULL;
- return NULL;
- }
- tok = s - 1;
-
- /*
- * Scan token (scan for delimiters: s += strcspn(s, delim), sort of).
- * Note that delim must have one NUL; we stop if we see that, too.
- */
- for (;;)
- {
- c = *s++;
- spanp = (char *)delim;
- do
- {
- if ((sc = *spanp++) == c)
- {
- if (c == 0)
- {
- s = NULL;
- }
- else
- {
- char *w = s - 1;
- *w = '\0';
- }
- *last = s;
- return tok;
- }
- }
- while (sc != 0);
- }
- /* NOTREACHED */
-}
-
-#endif
diff --git a/stub.c b/stub.c
deleted file mode 100644
index 8b13789179..0000000000
--- a/stub.c
+++ /dev/null
@@ -1 +0,0 @@
-