Pierre Joye
eeba0b5681
- fix build, ansi c requires constant value, no expresion, even constant var
2011-11-19 23:09:12 +00:00
Stanislav Malyshev
449907fb76
fix bug #60164 (Stubs of a specific length break phar_open_from_fp scanning for __HALT_COMPILER)
2011-11-19 04:59:56 +00:00
Stanislav Malyshev
22cbdd5cc5
fix bug #60164 (Stubs of a specific length break phar_open_from_fp scanning for __HALT_COMPILER)
2011-11-19 04:59:56 +00:00
Dmitry Stogov
4a25a7740d
Fixed ZE specific compile warnings (Bug #55629 )
2011-09-13 13:29:35 +00:00
Hannes Magnusson
8a83fee12a
Fixed bug#52013 (Unable to decompress files in a compressed phar)
2011-08-29 14:19:54 +00:00
Hannes Magnusson
9e20746611
Fixed bug#52013 (Unable to decompress files in a compressed phar)
2011-08-29 14:19:54 +00:00
Xinchen Hui
4c2e6c1cf6
Initialize variable with fixed value for avoiding compile warnings
2011-08-07 11:13:27 +00:00
Xinchen Hui
cc42ac9d9b
Initialize variable with fixed value for avoiding compile warnings
2011-08-07 11:13:27 +00:00
Felipe Pena
997f323e3a
- Added ZEND_MOD_END macro to use in the end of zend_module_dep[]
2011-08-06 14:47:44 +00:00
Felipe Pena
707a8f70b8
- Added ZEND_MOD_END macro to use in the end of zend_module_dep[]
2011-08-06 14:47:44 +00:00
Felipe Pena
23e438594d
- Make usage of new PHP_FE_END macro
2011-07-25 11:42:53 +00:00
Felipe Pena
4b30846b50
- Make usage of new PHP_FE_END macro
2011-07-25 11:35:02 +00:00
Ilia Alshanetsky
baf5d66614
Fixed bug #53898 (PHAR reports invalid error message, when the directory does not exist).
2011-02-01 14:01:00 +00:00
Ilia Alshanetsky
0927309852
Fixed bug #53898 (PHAR reports invalid error message, when the directory does not exist).
2011-02-01 14:01:00 +00:00
Felipe Pena
12d2104277
- Year++
2011-01-01 02:48:19 +00:00
Felipe Pena
d90a33d51c
- Year++
2011-01-01 02:46:03 +00:00
Kalle Sommer Nielsen
701bfaa2fa
Added second fix from #50987 that wasn't apart of Ilia's commit
2010-11-20 20:59:28 +00:00
Kalle Sommer Nielsen
78f10489ca
Added second fix from #50987 that wasn't apart of Ilia's commit
2010-11-20 20:59:28 +00:00
Ilia Alshanetsky
3016ad46ae
Fixed bug #50987 (unaligned memory access in phar.c)
2010-11-20 19:27:31 +00:00
Ilia Alshanetsky
5f1b91a6bf
Fixed bug #50987 (unaligned memory access in phar.c)
2010-11-20 19:27:31 +00:00
Ilia Alshanetsky
676a8338a1
Fixed bug #51690 (Phar::setStub looks for case-sensitive __HALT_COMPILER())
2010-05-03 14:41:40 +00:00
Ilia Alshanetsky
813e3cf14d
Fixed bug #51690 (Phar::setStub looks for case-sensitive __HALT_COMPILER())
2010-05-03 14:41:40 +00:00
Hannes Magnusson
3283b811eb
- Unifiy that message
...
- Mention php.ini
2010-04-27 08:23:25 +00:00
Hannes Magnusson
8ba86768e7
- Unifiy that message
...
- Mention php.ini
2010-04-27 08:23:25 +00:00
Kalle Sommer Nielsen
cb30330800
Merge safe_mode changes into extensions that are in sync in both branches
2010-04-26 23:55:03 +00:00
Kalle Sommer Nielsen
dd8e59da8f
Removed safe_mode
...
* Removed ini options, safe_mode*
* Removed --enable-safe-mode --with-exec-dir configure options on Unix
* Updated extensions, SAPI's and core
* php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
2010-04-26 23:53:30 +00:00
Hannes Magnusson
267b5cea14
mention which setting!
2010-04-25 18:55:06 +00:00
Hannes Magnusson
b25baf178d
mention which setting!
2010-04-25 18:55:06 +00:00
Dmitry Stogov
dd5c478be6
Added concept of interned strings. All strings constants known at compile time are allocated in a single copy and never changed.
2010-04-20 11:05:54 +00:00
Johannes Schlüter
26b08f9857
Remove main/php3_compat.h, for that a few references to function_entry
have
...
to be replaced by `zend_function_entry`.
2010-03-30 23:03:02 +00:00
Rasmus Lerdorf
c06ac0ac8e
Fix bug #50129
2009-11-09 17:21:15 +00:00
Rasmus Lerdorf
315b9956b6
Fix bug #50129
2009-11-09 17:21:15 +00:00
Jani Taskinen
6b85ff3057
- It is not const in PHP_5_2 but it is in HEAD and PHP_5_3
2009-10-19 15:34:50 +00:00
Jani Taskinen
fc4352e2d8
- It is not const in PHP_5_2 but it is in HEAD and PHP_5_3
2009-10-19 15:34:50 +00:00
Greg Beaver
732f4af082
re-organize slightly, fix more php6-only compile warnings in php_stream_copy_to_mem
2009-07-26 01:03:47 +00:00
Greg Beaver
9a677532db
re-organize slightly, fix more php6-only compile warnings in php_stream_copy_to_mem
2009-07-26 01:03:47 +00:00
Greg Beaver
d39fda5ff7
begin work on making phar php6-ready
2009-07-24 23:53:24 +00:00
Greg Beaver
e8756a3c3c
begin work on making phar php6-ready
2009-07-24 23:53:24 +00:00
Greg Beaver
c92396a82c
merge unmerged changes between branches, remove unnecessary test for zip signature failure in badparameters.phpt
2009-07-24 17:07:05 +00:00
Greg Beaver
651f5c0cef
fix PHP bug #48791 : open office files always reported as corrupted
2009-07-23 16:30:27 +00:00
Greg Beaver
1723b16898
fix PHP bug #48791 : open office files always reported as corrupted
2009-07-23 16:30:27 +00:00
Greg Beaver
5af0cbef65
MFB: fix Bug #48257 : PharData throws exception with non-phar tar
2009-05-13 20:26:18 +00:00
Greg Beaver
475cf4d288
fix Bug #48257 : PharData throws exception with non-phar tar
2009-05-13 20:25:43 +00:00
Antony Dovgal
d3438bf9f5
initialize ext_len
2009-05-01 09:22:16 +00:00
Antony Dovgal
4838847f5d
initialize ext_len
2009-05-01 09:22:02 +00:00
Greg Beaver
6289c323d3
MFPECL fix PECL Bug #14646 : phar error message unclear with php stream wrappers (note: is there a standard way to list PECL bugs in NEWS?)
2009-04-30 04:43:10 +00:00
Greg Beaver
db7dc95d15
MFPECL: fixed PECL Bug #14646 : phar error message unclear with php stream wrappers
2009-04-30 04:40:31 +00:00
Greg Beaver
f21744809e
MFPECL: fix PECL bug #16338 , php_stream_copy_to_stream{,_ex}()
2009-04-29 03:24:27 +00:00
Greg Beaver
31f3c2ad47
MFPECL: fix PECL bug #16338 , php_stream_copy_to_stream{,_ex}()
2009-04-29 03:24:09 +00:00
Greg Beaver
6a9197f1ad
MFB: fix zip access to work in all compilers, present and future, and on all arches without potential for bus errors. This removes PHAR_ZIP_PACK in favor of a safer approach
2009-02-20 05:06:52 +00:00
Greg Beaver
2344d80015
fix zip access to work in all compilers, present and future, and on all arches without potential for bus errors. This removes PHAR_ZIP_PACK in favor of a safer approach
2009-02-20 05:06:37 +00:00
Greg Beaver
5b9430b5d4
MFB: fix all remaining big-endian issues
2009-02-15 20:29:26 +00:00
Greg Beaver
625eb9e0ec
fix remaining big-endian issues with phar
2009-02-15 20:29:13 +00:00
Ilia Alshanetsky
e62d29d851
MFB: Fixed a possible crash when phar_create_signature() fails
2009-01-02 20:43:58 +00:00
Ilia Alshanetsky
6ca15bfe0f
Fixed a possible crash when phar_create_signature() fails
2009-01-02 20:43:41 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Sebastian Bergmann
7f4dc8702a
Bump copyright year, 3 of 3.
2008-12-31 11:12:40 +00:00
Marcus Boerger
6ca3ad3f41
- MFH We only rely on hash if it is built-in
2008-11-04 14:04:29 +00:00
Marcus Boerger
582cdf9a27
- MFH Add hash dependency at module source level
2008-11-04 13:33:15 +00:00
Greg Beaver
1699efd72b
last commit was an old patch, revert faulty line
2008-10-26 05:51:04 +00:00
Greg Beaver
329229071f
MFB: fix several errors found by valgrind
...
1 - entry metadata not properly processed or retrieved from cached phars
2 - copy on write was using a void return value instead of int, a dangerous oversight in phar_update_cached_entry
3 - metadata creation in entries for cached phars was causing an invalid read
2008-10-26 05:49:24 +00:00
Greg Beaver
86f8d0a8e9
fix several errors found by valgrind
...
1 - entry metadata not properly processed or retrieved from cached phars
2 - copy on write was using a void return value instead of int, a dangerous oversight in phar_update_cached_entry
3 - metadata creation in entries for cached phars was causing an invalid read
2008-10-26 05:49:09 +00:00
Antony Dovgal
8b793f4274
MFH: fix ZTS build
2008-10-12 21:09:22 +00:00
Antony Dovgal
79ec5dc2b9
fix ZTS build
2008-10-12 21:09:10 +00:00
Greg Beaver
c448cb165c
MFB: add tests for copy-on-write support
...
- fix metadata handling with cached phars
- fix virtual_dirs with rmdir
- ensure that after copy-on-write, all existing Phar objects link to the newly copied phar data
2008-10-12 19:40:30 +00:00
Greg Beaver
e16636f069
add tests for copy-on-write support
...
- fix metadata handling with cached phars
- fix virtual_dirs with rmdir
- ensure that after copy-on-write, all existing Phar objects link to the newly copied phar data
2008-10-12 19:40:11 +00:00
Greg Beaver
a4f39f7fa4
MFB: fix bug #45907 : undefined reference to PHP_SHA512Init
2008-10-09 00:51:27 +00:00
Greg Beaver
fffdf661c9
fix bug #45907 : undefined reference to PHP_SHA512Init
2008-10-09 00:50:47 +00:00
Greg Beaver
d86427434a
MFB: fix Bug #46194 : SIGSEGV when requested file is not found
2008-09-30 02:40:37 +00:00
Greg Beaver
dcc919c449
fix Bug #46194 : SIGSEGV when requested file is not found
2008-09-30 02:40:17 +00:00
Greg Beaver
ae98beaf02
MFB: fix 017.phpt in streams.c, and very dangerous intercepting of file functions in all cases introduced in multi-threaded fix
2008-09-26 23:35:11 +00:00
Greg Beaver
e1d0a964da
fix 017.phpt in streams.c, and very dangerous intercepting of file functions in all cases introduced in multi-threaded fix
2008-09-26 23:34:57 +00:00
Greg Beaver
08139f40b3
MFB: fix bug #46178 : memory leak in ext/phar
2008-09-26 16:30:10 +00:00
Greg Beaver
1847779210
fix bug #46178 : memory leak in ext/phar
2008-09-26 16:29:44 +00:00
Greg Beaver
8db86ad19e
MFB: fix minor issues found by ICC (unused variables and the like)
2008-09-13 22:31:18 +00:00
Greg Beaver
9eb83b6ae9
fix minor issues found by ICC (unused variables and the like)
2008-09-13 22:30:55 +00:00
Steph Fox
7b74a7711c
- cs, update package files following RC1 (just to keep it all in sync)
2008-08-31 21:01:12 +00:00
Steph Fox
cd011d1e9a
- MFB
2008-08-31 20:54:28 +00:00
Greg Beaver
642f6aa673
remove superfluous double variable declaration, merge from pecl/phar
2008-08-31 06:28:01 +00:00
Greg Beaver
f679e900dd
remove orphaned code, merge from pecl/phar
2008-08-31 06:13:42 +00:00
Greg Beaver
5c3749021a
remove unused variables, merge from pecl/phar
2008-08-31 06:09:37 +00:00
Greg Beaver
c3e8485971
fix bug #45792 : bz2 compressed files in zip failure
2008-08-21 05:17:28 +00:00
Dmitry Stogov
a256e06404
Fixed bug #45613 Segfault when using is_file() on Apache-2.2.8
2008-08-14 13:02:13 +00:00
Dmitry Stogov
878946a34f
Fixed bug #45613 Segfault when using is_file() on Apache-2.2.8
2008-08-14 13:01:28 +00:00
Steph Fox
4e5280a7a2
- ws/cs, macros, code that only affects other branches
...
- some unsynced changes need valgrind testing before they can go into this branch, see PECL/HEAD
2008-08-01 13:48:45 +00:00
Steph Fox
c6aa379d74
- This is as good as it gets in HEAD at present (~30% tests fail here)
2008-08-01 13:45:06 +00:00
Antony Dovgal
b53da9cd80
fix folding
2008-07-29 10:52:08 +00:00
Dmitry Stogov
c48c63f5e6
Improved webPhar speed (frontcontroller11.phar.phpt is disabled, should be removed)
2008-07-22 07:03:00 +00:00
Dmitry Stogov
68537af530
Fixed directory reanming/deletion
2008-07-20 14:42:34 +00:00
Dmitry Stogov
67b77b06e5
Fixed search on uninitialized data
2008-07-17 14:05:07 +00:00
Dmitry Stogov
5c631e8765
Fixed wrong arguments order
2008-07-17 13:22:32 +00:00
Dmitry Stogov
53bbf1238c
Extensions MUST NOT manipulate with internal functions from EG(function_table) in run-time. It may cause problems with opcode caches and in multi-threaded environment. Now the same functions are overriden at MINIT and call original functions or PHAR ones dependent on flag setting.
2008-07-10 11:36:50 +00:00
Antony Dovgal
ae7eff10e8
add zero-terminator to the delimiter (and make valgrind happy)
2008-07-09 14:15:41 +00:00
Greg Beaver
37c684ab3d
in preparation for a performance optimization that involves
...
eliminating phar's interception of zend_compile in favor of a new to-be-added hook in PHP 5.3+,
allow "include 'phar:///path/to/my.phar';" to work as equivalent to
php /path/to/my.phar
this slight change in scripting still allows inclusion and execution of phar stub, but removes the need to
check and modify path in zend_compile, which allows us to play much nicer with external tools like
debuggers/opcode caches
2008-06-27 01:21:12 +00:00
Steph Fox
b9e8695e75
- One solution for the openssl issues
...
- config.m4 needs bringing into line with config.w32, there may be broken behaviour under *nix until this is done
2008-06-23 19:18:01 +00:00
Greg Beaver
3a8b14f83f
fix inode calculation, we need fname to be set for phar/tar formats prior to manifest parsing
2008-06-22 00:50:32 +00:00
Steph Fox
b964ec6e5d
- ws
2008-06-21 18:57:53 +00:00
Greg Beaver
eb0a98939a
PHP 5.2 fixes to direct include of compressed archives
2008-06-21 17:05:18 +00:00
Steph Fox
fc08a7cc2f
The only reason that particular 'real solution' wasn't applied in the first place was that it also breaks the shared build
...
Maybe we don't need to call a non-existent dtor if we're going to physically apply zend_hash_graceful_reverse_destroy()?
- This works on my box, please test under *nix/OSX
2008-06-20 12:21:32 +00:00
Greg Beaver
7cc6b9f3f5
making progress - up to 42/phar vs. 48/disk with these optimizations
2008-06-20 05:42:58 +00:00