Andi Gutmans
719d995a9d
- On UNIX support popen() which works with current working directory
- when in VIRTUAL_DIR mode.
26 years ago
Andi Gutmans
02c42362ff
- Start of popen() fix for UNIX. Still unclear what we'll do on Windows.
26 years ago
Sascha Schumann
d180634e07
Add PHP_BROKEN_SPRINTF check here.
Also remove unnecessary #ifdef's for PACKAGE and VERSION.
26 years ago
Stanislav Malyshev
5af7dff758
add opendir to VIRTUAL_DIR
26 years ago
Zeev Suraski
06388f5181
Use the new error code
@- 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)
26 years ago
Hartmut Holzgraefe
ae1043ba0d
warn_not_available() will be used by other modules besides
ext/standard in the (very near) future
26 years ago
Zeev Suraski
949574d027
Remove stale reference to .h file
26 years ago
Hartmut Holzgraefe
fb39eda0d8
a second (cleaner?) try on warnings about unsupported functions
26 years ago
Andi Gutmans
afccb58612
- I'm not sure if PHP_NOT_IN_THIS_BUILD is the way to handle these
- functions but in any case I have changed it to PHP_NOT_IN_THIS_BUILD()
26 years ago
Hartmut Holzgraefe
69d1e788c0
if a module provides a function it should also do so if the function
is not functional due to configure findings
the function should offer a meaningful warning if it is not supported
instead of just beeing undefined
i had already changed this in 'gd', now this is doing it for 'standard'
26 years ago
Andi Gutmans
617266e33e
- Virtual current working directory is now enabled
- Added support for mkdir()/rmdir() and more
26 years ago
Andi Gutmans
521f03c184
- Support virtual unlink()
26 years ago
Zeev Suraski
0f82e6de23
Minor output mods
26 years ago
Zeev Suraski
e043439ff6
Update the license with the new clause 6
26 years ago
Andi Gutmans
e13285ded7
- Take Sascha's advice and create on V_OPEN() which replaces open().
- Unlike the other macros its argument has to have braces around it, for
- example, open(filename, flags) becomse V_OPEN((filename, flags))
- Made small conversion to new Zend macros. The ugly (*foo)->value.str.val
- now becomes Z_STRVAL_PP(foo). PP means pointer pointer, there also exist
- single P's for example foo->value.str.val becomes Z_STRVAL_P(foo).
26 years ago
Andi Gutmans
f1d5167ae3
- Implement V_OPEN() V_OPEN_CREAT() and V_CREAT().
Next step is to substitute all open()'s and creat()'s in the PHP tree
26 years ago
Zeev Suraski
1a8683f976
- Never mind. Seems like we're still missing the open() functionality
26 years ago
Zeev Suraski
aecae7c3af
- Give VIRTUAL_DIR another try after testing it extensively on our web site
26 years ago
Zeev Suraski
39aa59bdec
More error handling work (still completely disabled)
26 years ago
Andi Gutmans
c0919bbd41
- virtual_lstat() doesn't exist on Windows.
26 years ago
Andi Gutmans
503bb3bedb
- Export strlcat()/strcpy() for Frank.
- Windows doesn't have lstat().
26 years ago
Zeev Suraski
883bd2b1de
- Fix virtual cwd bug
- Add more V_STAT() V_LSTAT() changes
26 years ago
Andi Gutmans
e40268d07c
- Add missing V_STAT()
26 years ago
Andi Gutmans
1665cba750
- Change PHP_ to V_ (directory & file functions)
26 years ago
Andi Gutmans
7f54318897
- Turn off VIRTUAL_DIR by default
26 years ago
Andi Gutmans
c981be0bca
- Don't need to extern functions
- Use virtual_file_ex() in expand_filepath()
26 years ago
Andi Gutmans
95f45d6c50
- Make all CVS users use the new virtual dir support.
Will probably disable this for the release.
26 years ago
Andi Gutmans
f118d94783
- This slipped in. Enable VIRTUAL_DIR when we're in ZTS. Eventually it
should always be enabled.
26 years ago
Andi Gutmans
89f99967b8
- Add wddx support to the default build
26 years ago
Andi Gutmans
d8e64d623e
- This version of chdir_file should be compatible with the Apache one.
26 years ago
Andi Gutmans
6a2da70f94
- Virtual cwd compiles now (need to uncomment #define in php.h for it to
be enbaled right now).
It seems to work very basic stuff
26 years ago
Andi Gutmans
9c3d6304dd
- Hopefully got most of them. We also need a chdir_file function like
for Apache.
26 years ago
Andi Gutmans
f9547241d5
- Fix another bug in session.c
- Start using the new PHP_GETCWD() and co. macros
26 years ago
Zeev Suraski
863e6fd242
- Update dsp
- Remove unnecessary includes
26 years ago
Sascha Schumann
bb09ee9505
Use sprintf everywhere and define sprintf to php_sprintf, if sprintf is broken.
26 years ago
Sascha Schumann
caeaaf4d98
Fix build on systems which lack snprintf or vsnprintf.
PR: #3786
26 years ago
Andi Gutmans
9dca788ca0
- Don't define DEBUG anymore. Everyone should use PHP_DEBUG.
There are 2-3 third-party libs in PHP which use DEBUG and I left them
this way (primary example is pcrelib).
- Please test things and Andrei, can you check that pcrelib stopped
printing the warning messages?
26 years ago
Stig Bakken
99e0b36321
@Cleaned up extension namespace (Stig)
Cleaned up extension namespace, and changed ext/standard into one single
extension.
26 years ago
Andi Gutmans
0a092b6226
- Fix Win32 build
26 years ago
Sascha Schumann
315999da94
Prefix some symbols with php_
^(pcre|Xml|XML).*
26 years ago
Zeev Suraski
9b621d1c8f
Get the license right... (this won't make it to RC1 of B4)
26 years ago
Zeev Suraski
1c4532dcbf
*** empty log message ***
26 years ago
Sascha Schumann
02d647b5f9
Fix warnings when compiling static Apache module
26 years ago
Zeev Suraski
80bdd19e03
Fine tune Andi's patch
26 years ago
Zeev Suraski
49e98c3ddd
request_info.c is dead! long live SAPI
@- 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)
26 years ago
Zeev Suraski
6d0ab6166c
SAPIfication, Episode VI: Return of the SAPI
Remove mostly all references to APACHE and CGI_BINARY from the code.
- Apache include files are no longer included by any PHP code, except for the Apache SAPI module.
- No server specific code is in any of the base PHP code.
Still left to be done:
- Eliminate any references to APACHE from the few remaining modules.
- Move request_info.c's logic to SAPI
- Modify the regex function names, and globals, so that we can always
include them, without having to fear any interference with Apache;
Always use the bundled regex library
26 years ago
Andi Gutmans
ec0e2d7312
- Little fix
26 years ago
Andi Gutmans
f452c7762f
- Introduce PHP_WIN32
26 years ago
Zeev Suraski
2dea694ab4
Remove the post-startup callback support. Modules are now started only after
the entire engine is started. People - please make sure that the session module
works properly for you.
26 years ago
Thies C. Arntzen
3ff75e5b8b
- don't set php_errormsg on errors that will cause a zend_bailout().
using zend_hash_update() can make things worse in this situation.
- new function php_register_pre_request_shutdown(). this way modules
can register callbacks that will be called as soon as execution of
the script is done but *before* any cleanup (global symbol_table etc)
has taken place.
26 years ago