History log of /php-src/ext/phar/util.c (Results 201 – 225 of 241)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 2bf5042d 25-Apr-2008 Greg Beaver

finish code coverage testing of phar_object.c (except for iterator building, which Steph is doing) and fix segfault in error message for directory getcontent if it is a temp directory

# 28459132 24-Apr-2008 Steph Fox

- Fix Windows build

# 3d858f4a 21-Apr-2008 Greg Beaver

implement symbolic link support within a tar-based phar archive
this also resulted in a major fix for mounted directories, which were recycling the 'link' field which
could cause stupid confl

implement symbolic link support within a tar-based phar archive
this also resulted in a major fix for mounted directories, which were recycling the 'link' field which
could cause stupid conflicts with actual links, so move that to new 'tmp' field.

show more ...

# c4f502fa 18-Apr-2008 Greg Beaver

COMPLETELY rework filename extension detection. Now the only requirements are:
1 - executable phars must contain '.phar' in the filename
2 - non-executable phars must not contain '.phar' and

COMPLETELY rework filename extension detection. Now the only requirements are:
1 - executable phars must contain '.phar' in the filename
2 - non-executable phars must not contain '.phar' and must have an extension of at least 1 character

In addition, phar filenames must exist if opened for read, and the directory containing the phar must exist if opened for creation
if opened for creation, the file must not already exist
[DOC]

show more ...

# 26e10f8c 16-Apr-2008 Greg Beaver

fix compression zip tests

Revision tags: RELEASE_1_0_2
# eb252c5c 14-Apr-2008 Greg Beaver

fix potential segfault if some idiot tries to remove the root directory of a phar, add creation of root directory to test

# 2277396f 14-Apr-2008 Greg Beaver

fix edge case where a new phar is created via mkdir(), add to dir.phpt test

Revision tags: php-5.2.6RC5
# abfc228f 09-Apr-2008 Greg Beaver

add addFile/addFromString/addEmptyDir. API is identical to ext/zip
[DOC]

Revision tags: php-5.2.6RC4, php-5.2.6RC3, RELEASE_2_0_0a2, RELEASE_2_0_0a1
# 2e9fca4f 24-Mar-2008 Greg Beaver

fix read/write for PharData object, update tests to current API

# 95eeee91 23-Mar-2008 Greg Beaver

not all tests have been converted over to the new API, but it works

conversion is now split into 3 separate methods
1\) convertToZip\(\) convertToTar\(\) and convertToPhar\(\) exclusivel

not all tests have been converted over to the new API, but it works

conversion is now split into 3 separate methods
1\) convertToZip\(\) convertToTar\(\) and convertToPhar\(\) exclusively change file format
2\) compress\(\) sets compression, accepting Phar::GZ, Phar::BZ2, or Phar::NONE
3\) convertToExecutable\(\) allows stub creation in tar/zip, convertToData\(\) prevents it

all methods return either Phar or PharData objects, allowing fluent interface.

only 1 test has been converted to the new format, but the API works

show more ...

# 6cef8da2 22-Mar-2008 Greg Beaver

move all blah++ to ++blah where possible for those with crapass compilers

# 01e5bbba 22-Mar-2008 Greg Beaver

fix memleak in php 5.2, simplify code slightly

# f022bca1 22-Mar-2008 Marcus Boerger

- Fix build for PHP < 5.3

# 891067c9 21-Mar-2008 Greg Beaver

fix the memleak - but this breaks the \*compressAllFiles\*() methods because of fatal flaw
in renaming implementation - see pecl-dev email for details

# d02dff13 20-Mar-2008 Greg Beaver

save work - sandbox is completely f**ed up, have to rm -rf and start again

This *SHOULD* fix issues, but I can't get run-tests to work reliably to be absolutely sure

# 0262e844 12-Mar-2008 Greg Beaver

implement full support and usage of phar stream in include_path, for both 5.2 and 5.3.
5.3 code expects the proposed patch for stream wrapper in include_path to be committed
5.2 code only sup

implement full support and usage of phar stream in include_path, for both 5.2 and 5.3.
5.3 code expects the proposed patch for stream wrapper in include_path to be committed
5.2 code only supports phar stream wrapper in include_path.
this is a 2-step process. After this, more magic, particularly in funcinterceptors.c will be
converted to use phar_resolve_path, which is far safer than the current implementation.

this needs windows and 5.2 testing unix/windows

show more ...

# 70e30449 12-Mar-2008 Greg Beaver

fix leaked var, fixes all tests for me

# 3ee08069 09-Mar-2008 Steph Fox

Rename archive during compressAllFiles*()
Note: this only works for tar archives at present pending a fix for bug #13352

Revision tags: php-5.2.6RC2
# 66d3abac 01-Mar-2008 Steph Fox

Untested. Killing remaining warnings under MacOSX (thanks again Philip).

# 15fefd36 01-Mar-2008 Steph Fox

All tests pass here now. Thanks Philip for reporting compiler errors that don't show on my setup.

# 9e61358e 28-Feb-2008 Steph Fox

Allow alias for phar.tar/phar.zip

Revision tags: php-5.2.6RC1
# 001ffec1 27-Feb-2008 Steph Fox

Initial support for PharData object.
Note: two tests currently fail. IMHO we should be throwing E_ERROR on encountering a corrupted archive, not trying to throw a trail of exceptions...
New t

Initial support for PharData object.
Note: two tests currently fail. IMHO we should be throwing E_ERROR on encountering a corrupted archive, not trying to throw a trail of exceptions...
New tests still to be written, not all functionality is in place yet.

show more ...

# 1a3bf361 25-Feb-2008 Steph Fox

Leftover from experimenting with zend_hash_del...

# 05031402 25-Feb-2008 Greg Beaver

add little fix to phar_mount_entry to ensure path separators are unix-based on windows

# ec7f89fe 25-Feb-2008 Greg Beaver

implement Phar::mount() for directories, add test

# opendir not yet implemented for mounted directories

12345678910