Commit graph

41482 commits

Author SHA1 Message Date
Felipe Pena
67901963ba Merged into 5_3 2008-03-28 23:59:37 +00:00
Greg Beaver
54cfa7437c correct last commit (comparison of "nu" in wrong order) 2008-03-28 21:03:29 +00:00
Nuno Lopes
89c0fbe46e ignore generated files 2008-03-28 17:48:59 +00:00
Felipe Pena
a9bdd4d456 MFB: Fixed bug #44557 (Crash in imap_setacl when supplied integer as username) 2008-03-28 16:45:59 +00:00
3d212b4c7f ChangeLog update 2008-03-28 01:31:44 +00:00
Greg Beaver
6ff19e08f4 fix Bug #13518: comparision of a char* pointer with a string literal 2008-03-27 21:31:27 +00:00
George Wang
c8ca9d2275 follow PHP coding standard 2008-03-27 19:24:14 +00:00
Jani Taskinen
366581789f MFB: fix test 2008-03-27 15:06:16 +00:00
Antony Dovgal
e25929bac2 don't ignore pre-generated files 2008-03-27 13:43:37 +00:00
Marcus Boerger
5b3560f069 - Ifdef out code that has if(0) and doesn't compile anyway 2008-03-27 12:54:23 +00:00
Dmitry Stogov
977cc79398 Added ability to use stream wrappers in include_path 2008-03-27 10:33:52 +00:00
Antony Dovgal
8f7910f92e add missing EOL and fix build 2008-03-27 08:32:48 +00:00
Greg Beaver
a090d45251 fix build on PHP 5.2, prepare release of 2.0.0a2 2008-03-27 06:38:53 +00:00
ad972cf68c ChangeLog update 2008-03-27 01:31:39 +00:00
Felipe Pena
7d6e5d6b84 This was done in 5.1 2008-03-27 00:11:22 +00:00
Steve Seear
d08d2d7ee4 Adding tests for gethostbyaddr() and gethostbynamel() 2008-03-26 18:16:55 +00:00
Scott MacVicar
b44449e60b - Add files generated by re2c 2008-03-26 15:10:24 +00:00
Jani Taskinen
80550cbd10 MFB53: genfiles update 2008-03-26 15:05:39 +00:00
Scott MacVicar
56352d1a2f MFB 5.3: Rest of the changes for re2c merge 2008-03-26 14:46:17 +00:00
Scott MacVicar
e55a0de496 MFB 5.3: Rewrite scanner to be based on re2c instead of flex
There are still changes in regards to parsing of Unicode encoded scripts to come.
2008-03-26 14:23:02 +00:00
Antony Dovgal
f2ca4aaf6a allow NULL argument to be passed where binary string expected 2008-03-26 09:09:08 +00:00
Greg Beaver
0084937b10 turns out it is now tomorrow, so update package.xml 2008-03-26 05:20:43 +00:00
Greg Beaver
085bb5cdd6 prepare release of 2.0.0a1 2008-03-26 03:55:37 +00:00
fd44ea24e2 ChangeLog update 2008-03-26 01:31:44 +00:00
Marcus Boerger
97781b818b - Fix memory leak found by Osman
- Merge strlen to sizof change from CLI
2008-03-25 22:04:58 +00:00
Marcus Boerger
bd366b66da - Use sizeof rather than strlen and cleanup 2008-03-25 21:58:03 +00:00
Andrey Hristov
1bf96fdf5c MFB : Fix for Bug #43832 mysqi_get_charset() doesn't expose charset comment 2008-03-25 18:28:13 +00:00
Johannes Schlüter
870ddcdb3e - New egg 2008-03-25 17:17:42 +00:00
Dmitry Stogov
ad40998e8a Optimized detection of "__call" and "__callstatic" methods. 2008-03-25 13:04:22 +00:00
Christopher Jones
7060c9574c oci8: Sync with 5.3 - version macro updates and DRCP tweaks 2008-03-25 02:25:03 +00:00
5d953954a2 ChangeLog update 2008-03-25 01:32:15 +00:00
Ilia Alshanetsky
1ad9e6e1d0 MFB: Fixed test on systems where . and .. order not guaranteed 2008-03-24 18:34:44 +00:00
Antony Dovgal
4c7b5a89ba Change streams to not use mmap() when reading files (aka copying to memory).
There are two problems with mmap() in this case:
1) there is no performance gain since we allocate the memory anyways;
2) memcpy() may crash if somebody truncates this file at the same moment
(see http://dev.daylessday.org/diff/mmap.phps for example);

It seems to work fine with fpassthru(), though why it is so should be investigated.

Thanks to Andrey Vasilishin for the report and Anight for pressing this through =)
2008-03-24 16:28:08 +00:00
Derick Rethans
38ffd11722 - Updated to version 2008.2 (2008b) 2008-03-24 13:00:24 +00:00
Marcus Boerger
7202434956 - Add documentation 2008-03-24 12:53:28 +00:00
Dmitry Stogov
cee56e2022 Fixed ws and comment 2008-03-24 09:30:54 +00:00
Dmitry Stogov
824fa7ad54 Fixed tests (file order is undefined, so we need to sort() them) 2008-03-24 09:00:41 +00:00
Greg Beaver
1bda8cf708 a subtle plea for help to Marcus... 2008-03-24 03:05:24 +00:00
Greg Beaver
2e9fca4f0b fix read/write for PharData object, update tests to current API 2008-03-24 03:01:31 +00:00
Greg Beaver
b4b890cb8f check for invalid aliases, add tests for this and direct setting of stub/alias 2008-03-24 01:33:30 +00:00
27826add0f ChangeLog update 2008-03-24 01:31:45 +00:00
Greg Beaver
cea3169ca6 prevent direct setting of stub or alias in tar/zip 2008-03-24 01:18:50 +00:00
Greg Beaver
7493b9dfb6 update TODO 2008-03-23 22:51:00 +00:00
Greg Beaver
95eeee9156 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
2008-03-23 22:42:45 +00:00
Greg Beaver
cac70206f2 add Phar->getPath() for retrieving the full path to the phar archive.
this is useful for renaming and also always returns the realpath()
2008-03-23 19:03:15 +00:00
Greg Beaver
ca92928b48 fix param parsing for Phar::running() to be optional
# this is the last bug for ZF app - it now works!
2008-03-23 17:36:57 +00:00
Marcus Boerger
69c71f703e - Add .cvsignore 2008-03-23 16:51:52 +00:00
Ilia Alshanetsky
4743186f27 MFB: removed unused var 2008-03-23 15:49:51 +00:00
Marcus Boerger
e8ef82bc6f - MFH Add tests 2008-03-23 13:38:20 +00:00
Greg Beaver
27ca45f898 don't disallow opening .tar/.zip files as Phar object if readonly is disabled, the whole idea is to be able to
add crap including an automatic stub or explicit stub
2008-03-23 06:59:59 +00:00