History log of /php-src/main/streams/plain_wrapper.c (Results 251 – 275 of 280)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# dbfe6211 02-Dec-2003 Sara Golemon

CS

# 681d18ef 01-Dec-2003 Sara Golemon

Move safemode/basedir checks for url_stat to plain_wrapper.

# 026d4c9e 28-Nov-2003 Sara Golemon

Route php_stat() via streams/url_stat API (php_stream_stat_path).
This enables fopen-wrappers support on stat() and related family calls.

Revision tags: php-4.3.4, php-4.3.4RC3, php-5.0.0b2, RELEASE_2_0_0RC1, php-5.0.0b2RC1, php-4.3.4RC2, RELEASE_1_3b3
# 3a6ff32e 19-Oct-2003 Shane Caraveo

finish file uri support, this stuff was unecessary.

# 2a414294 19-Oct-2003 Shane Caraveo

A simpler patch to add file uri support

# 0029a457 19-Oct-2003 Shane Caraveo

revert file: support in preparation for simpler patch

# e5103d76 19-Oct-2003 Shane Caraveo

make file uri's work with streams

# 590b3ccc 08-Oct-2003 Wez Furlong

Set the EOF indicator after each read attempt.
This prevents it getting stuck in the on position.

Revision tags: BEFORE_HANDLERS_RESHUFFLE, RELEASE_1_3b2, php-4.3.4RC1, RELEASE_0_7
# f940b0fe 13-Sep-2003 Ard Biesheuvel

Pointer size fix

# a326bde2 27-Aug-2003 Ilia Alshanetsky

Prevent a crash when expand_filepath() fails.

Revision tags: php-4.3.3, php-4.3.3RC4, RELEASE_0_5_3, php-4.3.3RC3, RELEASE_0_5_2, RELEASE_1_2b5, BEFORE_ARG_INFO, php-4.3.3RC2
# fa342d24 05-Jul-2003 Wez Furlong

MFB: binary mode by default under win32.

Revision tags: php-5.0.0b1
# 5ecc91c2 28-Jun-2003 Wez Furlong

Merge selectable descriptor casting from PHP_4_3 branch.

Revision tags: php-4.3.3RC1
# f68c7ff2 10-Jun-2003 James Cox

updating license information in the headers.

Revision tags: BEFORE_FD_REAPPLY, php-4.3.2, php-4.3.2RC4
# 2d1a6e5d 21-May-2003 Wez Furlong

MFB context refcounting and text-mode fopen fixes

Revision tags: BEFORE_FD_REVERT
# f10a7b90 19-May-2003 Marcus Boerger

Fix warning

# 1b0fdbf6 19-May-2003 Marcus Boerger

Fix memleaks

Revision tags: php-4.3.2RC3
# 65d359d7 14-May-2003 Sara Golemon

Fold 'options' parameter into wops->unlink method

Revision tags: RELEASE_0_9b
# 5126fbe5 14-May-2003 Sara Golemon

Setup unlink() method in wrapper_ops structure, implement unlink in plainfiles wrapper, explicitly set method NULL in other wrappers (for now), and rewrite unlink userland function to call into wrapp

Setup unlink() method in wrapper_ops structure, implement unlink in plainfiles wrapper, explicitly set method NULL in other wrappers (for now), and rewrite unlink userland function to call into wrapper_ops

show more ...

Revision tags: SPL_ALPHA, php-4.3.2RC2, RELEASE_0_6, RELEASE_0_5, init
# 86fb577d 18-Mar-2003 Wez Furlong

Implement persistent plain file streams.

Usage:

php_stream *stream = php_stream_fopen("/path/to/file", "r+b", NULL,
STREAM_OPEN_PERSISTENT | ENFORCE_SAFE_MODE | REPORT_E

Implement persistent plain file streams.

Usage:

php_stream *stream = php_stream_fopen("/path/to/file", "r+b", NULL,
STREAM_OPEN_PERSISTENT | ENFORCE_SAFE_MODE | REPORT_ERRORS);

the filename and mode are combined to form the hash key for the persistent
list; they must be identical for this same stream to be returned again in the
next request.

Calling php_stream_close() on a persistent stream *will* close it, as is
usual with all persistent resources in PHP/ZE.

This is deliberately *not* exposed to user-space PHP at this time.

show more ...

# ce01fd95 18-Mar-2003 Wez Furlong

Avoid using FILE* where possible.
Tidy up handling of potential error situations for the php:// wrapper.

# 16e705a5 15-Mar-2003 Wez Furlong

64bit fixes

Revision tags: php-4.3.2RC1
# c3e6bcd3 01-Mar-2003 Wez Furlong

Ensure that all fields are initialized to NULL.

# cd98ed7b 28-Feb-2003 Wez Furlong

Implement memory mapping for win32.
Could do with some rigorous testing; simple readfile() tests here appear to work.

# fd61f690 27-Feb-2003 Wez Furlong

Another big commit (tm).

Main Changes:
- Implement a socket transport layer for use by all code that needs to open
some kind of "special" socket for network or IPC.
- Extension

Another big commit (tm).

Main Changes:
- Implement a socket transport layer for use by all code that needs to open
some kind of "special" socket for network or IPC.
- Extensions can register (and override) transports.
- Implement ftruncate() on streams via the ioctl-alike option interface.
- Implement mmap() on streams via the ioctl-alike option interface.
- Implement generic crypto API via the ioctl-alike option interface.
(currently only supports OpenSSL, but could support other SSL toolkits,
and other crypto transport protocols).

Impact:
- tcp sockets can be overloaded by the openssl capable sockets at runtime,
removing the link-time requirement for ssl:// and https:// sockets and
streams.
- checking stream types using PHP_STREAM_IS_SOCKET is deprecated, since
there are now a range of possible socket-type streams.

Working towards:
- socket servers using the new transport layer
- mmap support under win32
- Cleaner code.

# I will be updating the win32 build to add the new files shortly
# after this commit.

show more ...

# 5e118977 25-Feb-2003 Ilia Alshanetsky

Fixed various compiler warnings.

1...<<1112