History log of /php-src/main/streams/plain_wrapper.c (Results 251 – 275 of 282)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: php-5.0.0b3, php-5.0.0b3RC2, php-5.0.0b3RC1
# c5664783 13-Dec-2003 Sara Golemon

Route mkdir()/rmdir() via wrapper ops.
Move current rmdir()/rmdir() code to plain_wrappers.c
Implement mkdir()/rmdir() in ftp:// wrapper

# b1f8236b 12-Dec-2003 Sara Golemon

Route rename() via wrapper ops.
Move current rename() code to main/streams/plain_wrapper.c
Implement ftp/rename()
Implement userstreams/rename()

# 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.

1...<<1112