Sascha Schumann [Sat, 4 Dec 1999 19:19:57 +0000 (19:19 +0000)]
Clean up php3.*\.h files. The files itself are renamed, and references in all
.*\.[ch] files were changed. There is a slight chance that my script missed
a few changes, please correct them manually.
Andrei Zmievski [Sat, 4 Dec 1999 17:02:04 +0000 (17:02 +0000)]
Session variables now obey track_vars and gpc_globals settings.
If track_vars is on then decoded variables appear in $HTTP_STATE_VARS
array. If gpc_globals is on, then session vars are decoded into global
variables. If both are on, then globals and $HTTP_STATE_VARS contents
are references to each other.
The /decoder functions now just need to call php_set_session_var()
this behavior.
@ -Session vars are now decoded into $HTTP_STATE_VARS[] array and the
@ globals, depending on track_vars and gpc_globals settings (Andrei)
# Encoding source is currently only globals. We may want to change this
# in the future.
Zeev Suraski [Sat, 4 Dec 1999 13:26:57 +0000 (13:26 +0000)]
- Break the zend->PHP dependency introduced by the .php extension for use(),
by providing an API
- Enable Stig's patch for use() extensions (it wasn't refered to by the parser)
- Fix a memory leak in that code
Sascha Schumann [Sat, 4 Dec 1999 13:16:04 +0000 (13:16 +0000)]
Check for htonl in libsocket (sol251), and move inet_aton check in libbind to configure.in, so that our later AC_CHECK_FUNCS(inet_aton) will find inet_aton in libbind (if it is there).
Rasmus Lerdorf [Fri, 3 Dec 1999 15:52:22 +0000 (15:52 +0000)]
# I hate these * empty log message * notes that get added to the changelog
# telling us that nothing was added to the changelog. The very fact that
# this empty log message is added to the changelog makes the message
# invalid.
Sascha Schumann [Fri, 3 Dec 1999 15:28:51 +0000 (15:28 +0000)]
PHP_BUILD_* m4 macros are not intended to be used by extensions.
If you want to tell the user that the current choice of a specific SAPI
module is bad, check $php_build_target.
Rasmus Lerdorf [Fri, 3 Dec 1999 05:03:16 +0000 (05:03 +0000)]
@ PHP 4 scripts will now obey the max_execution_time setting and actually
@ time out (Rasmus)
# Note that Apache clears all signal handler including SIGPROF before
# calling the content handler, so even though we set our itimer before
# this in the PHP_INI stuff, Apache kicks sand in our face and we need
# to set the timer again just before we start parsing
php_fopen_wrapper_for_zend() does *NOT* insert the opened files into any list - the caller needs to fclose() the file. (not sure if this is desired)
fixed "Uninitialized memory read" when including URLs
Stig Bakken [Wed, 1 Dec 1999 22:59:45 +0000 (22:59 +0000)]
@Fix some warnings when compiling in maintainer-mode (Stig)
@Made mysql and gd work as shared extensions again (Stig)
- Fixed some warnings in maintainer-mode.
- Made mysql and gd work as shared extensions again by defining
COMPILE_DL if PIC is defined.
# We need a better solution for building .so extensions than this
# PIC/COMPILE_DL hack!
Andi Gutmans [Tue, 30 Nov 1999 20:18:11 +0000 (20:18 +0000)]
- Added opened_path to php_fopen_wrapper() and the URL fopen wrapper (it's not
always properly set, it's a TODO for all of us). This enables us to implement
true 'use' support.
@- Added support for the 'use' keyword - behaves like 'require', but will not
@ use the same file more than once (Andi & Zeev, Zend library)
Andi Gutmans [Tue, 30 Nov 1999 20:15:04 +0000 (20:15 +0000)]
- Add use support (behaves like require, but will not use the same file twice)
- Add import support (behaves like include, but requires parentheses; will not
use the same file twice; Currently, it is not yet properly implemented, and
only behaves like include)