History log of /PHP-8.2/ext/phar/phar_internal.h (Results 126 – 150 of 234)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: RELEASE_2_0_0b1
# f134a909 07-May-2008 Greg Beaver

optimize phar filename extension detection to first search through known phars. This eliminates several stat/realpath calls for archives with lots of files

# 549bf83b 07-May-2008 Greg Beaver

[DOC]
remove phar.extract_list
remove Phar::getExtractList()

# 5ba8ca70 06-May-2008 Greg Beaver

fix alias overloading handling for archives that are not in use

Revision tags: php-5.2.6
# ab1d8adb 23-Apr-2008 Greg Beaver

fix default format conversion, increase code coverage

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

# 027180d6 20-Apr-2008 Greg Beaver

new test for bad checksum, fix tar.c to catch tar archives with a corrupted first entry, fix memleak on bad checksum

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

Revision tags: RELEASE_1_0_2
# dc837b5f 16-Apr-2008 Greg Beaver

rename is_zip parameter of phar_parse_metadata to more accurately reflect what it is

# 859bd13d 15-Apr-2008 Greg Beaver

add interception for readfile [DOC]

# b8865a63 14-Apr-2008 Greg Beaver

another attempt at fixing mac OS X compile, remove unused obsolete code

# c0d82e96 11-Apr-2008 Greg Beaver

refactor compress/convertToTar/convertToPhar/convertToZip/convertToExecutable/convertToData
into 2 methods:
convertToExecutable/convertToData. Both methods accept 3 optional parameters
1

refactor compress/convertToTar/convertToPhar/convertToZip/convertToExecutable/convertToData
into 2 methods:
convertToExecutable/convertToData. Both methods accept 3 optional parameters
1 archive type, Phar::PHAR, Phar::TAR, or Phar::ZIP
2 compression Phar::NONE, Phar::GZ, or Phar::BZ2
3 file extension. Default is <format>.<compression> where .phar.tar is executable .tar
convertToExecutable always returns a Phar object
convertToData always returns a PharData object
also added Phar::PHAR, Phar::TAR, and Phar::ZIP class constants
[DOC]

show more ...

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

check for invalid aliases, add tests for this and direct setting of stub/alias

# 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

# 1feb9b58 22-Mar-2008 Steph Fox

Satisfy Greg's inertia

# c0619c65 22-Mar-2008 Steph Fox

Make versioning more standard

# e08556eb 22-Mar-2008 Marcus Boerger

- Constify

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

# 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
# 8343d7c1 03-Mar-2008 Steph Fox

- A bit more work on PharData creation/conversion.
- If readonly=0, why not $phardata->convertToPhar()?
- Known issue with directories creating 'as-file' copies within the archive (all format

- A bit more work on PharData creation/conversion.
- If readonly=0, why not $phardata->convertToPhar()?
- Known issue with directories creating 'as-file' copies within the archive (all formats)
@Greg/Marcus/Tony: This passes all tests on my box, 5.2/5.3/release_ts/debug_ts, and I can't find any more memleaks. Obviously this is too good to be true, so if conversion is still messy elsewhere please feel free to fix, or bug and assign to me.

show more ...

# 1cdade80 02-Mar-2008 Steph Fox

Going back to square one ("it works on Scott's box" - OSX 10.5, gcc version 4.0.1 (Apple Inc. build 5465)). Thanks ScottMac, David C and Philip for testing...
Possibly a gcc version issue?

# 5c2be955 01-Mar-2008 Steph Fox

Should work on all platforms now. (Testing.)

# d4cf7e47 01-Mar-2008 Steph Fox

Right problem, wrong solution. Also missed an '= 1' , thanks Marcus

# f96cd8fb 01-Mar-2008 Steph Fox

Tested this time. All's fine here, MacOSX still complaining @ present.

12345678910