Commit Graph

22191 Commits

Author SHA1 Message Date
Greg Beaver
415a37bfae stupid cvs added this as text 2008-10-12 06:41:01 +00:00
Greg Beaver
0182bbf76b fix files for advanced include_path test 2008-10-12 06:40:36 +00:00
Greg Beaver
53e1428b06 increase code coverage 2008-10-12 05:41:22 +00:00
Greg Beaver
60969b5385 fix links for fseek as well 2008-10-11 22:20:57 +00:00
Greg Beaver
59379244ad fix reading links from streams (works with PharFileInfo->getContent()) 2008-10-11 22:12:07 +00:00
Greg Beaver
bf268a68f9 cosmetics/maintainability: reduce code redundancy on error conditions 2008-10-11 21:22:58 +00:00
Greg Beaver
eb41e0d64f work around crap stream filter implementation, update tests for compressed aliases in zip-based phar so they actually test the compression 2008-10-11 20:57:08 +00:00
Greg Beaver
59e52885a1 fix Bug #46026: bz2.decompress/zlib.inflate filter tries to decompress after end of stream
[DOC] add concatenation option to bz2.decompress stream filter
2008-10-11 19:14:08 +00:00
Felipe Pena
9552f1a573 - Fixed bug #46249 (pdo_pgsql always fill in NULL for empty BLOB)
- Fixed bug #46274 (pdo_pgsql - Segfault when using PDO::ATTR_STRINGIFY_FETCHES and blob)
2008-10-11 19:03:23 +00:00
Kalle Sommer Nielsen
0c183be27f MFH:
Add missing zend_parse_paramters_none() in pdo_drivers()
2008-10-10 23:38:14 +00:00
Stanislav Malyshev
f2ada381bb improve OCI detection 2008-10-10 20:05:05 +00:00
Felipe Pena
6f81d12eb1 - Added skipif 2008-10-10 19:53:20 +00:00
Felipe Pena
cefe0f3c22 - New test 2008-10-10 19:49:42 +00:00
Felipe Pena
86f0b45ef8 - MFH: Static'fication 2008-10-10 19:35:34 +00:00
Felipe Pena
8a5ee4b33a - Fixed tests 2008-10-10 16:51:43 +00:00
Felipe Pena
a3c8772fd1 MFH:
- Fixed bug #46139 (PDOStatement->setFetchMode() forgets FETCH_PROPS_LATE)
  Initial patch by: chsc at peytz dot dk
2008-10-10 16:47:15 +00:00
Felipe Pena
1f54af9245 MFH:
- Fixed bug #44251 (Question mark and an escaped singel quote lead to an exception)
- Fixed bug #41125 (PDO mysql + quote() + prepare() can result in seg fault)
  Patch by: tsteiner at nerdclub dot net
2008-10-10 12:10:41 +00:00
Kalle Sommer Nielsen
d77277c0e2 MFH:
* Fix gcov warnings about parameters not initialized (Thanks for noticing Felipe!)
* Changed int to be long in mssql_num_fields
2008-10-09 18:34:20 +00:00
Felipe Pena
8d03c0de19 - MFH: Fixed bug pecl#9641 (Unable to add driver specific methods to PDOStatement) (patch by Christopher Jones) 2008-10-09 13:00:58 +00:00
Felipe Pena
62d2239964 - Fix typo 2008-10-09 01:08:55 +00:00
Greg Beaver
fffdf661c9 fix bug #45907: undefined reference to PHP_SHA512Init 2008-10-09 00:50:47 +00:00
Ilia Alshanetsky
529105427e use proper macro 2008-10-08 23:04:38 +00:00
Derick Rethans
bac72c6052 - MFH: Fixed mime-type generation.
#- Charset markers need to be prepended with ; -- the tests were also wrong.
2008-10-08 09:44:24 +00:00
Felipe Pena
e8f25c5b98 - MFH: Fixed bug #45575 (Segfault with invalid non-string as event handler callback)
patch by Christian seiler
2008-10-07 18:18:45 +00:00
Felipe Pena
d0ad1517f5 - MFH: Fixed bug #46247 (ibase_set_event_handler() is allowing to pass callback without event) 2008-10-07 15:28:45 +00:00
Felipe Pena
8a24cfc98c - MFH: Fixed code ("Division by zero" anymore) 2008-10-07 12:51:21 +00:00
Kalle Sommer Nielsen
1b34fa1675 MFH:
* is_output and is_null parameters are now booleans instead of int in mssql_bind
* Added missing conditional from old parameter parsing
2008-10-06 21:50:48 +00:00
Ilia Alshanetsky
96d199d1b1 Removed deprecated usage of zend_get_parameters_ex() 2008-10-06 17:57:32 +00:00
Felipe Pena
1f150fa10c - MFH: Fixed compiler warning 2008-10-06 15:13:53 +00:00
Felipe Pena
0af1239a82 - MFH: Fixed bug #45373 (php crash on query with errors in params) 2008-10-06 14:33:34 +00:00
Derick Rethans
642f5cffd4 - Updated to version 2008.7 (2008g) 2008-10-06 14:27:41 +00:00
Ilia Alshanetsky
5bb68042b8 Fixed a few signedness warnings 2008-10-06 01:18:54 +00:00
Etienne Kneuss
0d7d9b0540 Fix #46222 (Allow indirect modifications of Arrays inside ArrayObject + fix EG(uninitialized_zval_ptr) overwrite) 2008-10-05 14:20:55 +00:00
Kalle Sommer Nielsen
b5661c4e0c MFH: New parameter parsing API (with lots of help from Felipe) 2008-10-05 04:55:49 +00:00
Felipe Pena
e0327fcc4e - MFH: Initialize variable 2008-10-05 04:38:01 +00:00
Arnaud Le Blanc
8ad19e1801 MFH: Fixed #46164 (stream_filter_remove() closes the stream) 2008-10-05 01:40:19 +00:00
Felipe Pena
e1443682af - MFH: Fixed bug #44991 (Compile Failure With freetds0.82) (patch by jklowden at freetds dot org) 2008-10-04 12:55:21 +00:00
Felipe Pena
892fb867c8 - MFH: Fixed bug #44991 (Compile Failure With freetds0.82) (patch by matthias at dsx dot at) 2008-10-04 12:52:58 +00:00
Felipe Pena
a547b2589b MFH:
- Fixed:
 - Some segfaults when no connection is open
 - Warning about cfg_get_long (Kalle)
- New parameter parsing API
2008-10-03 17:21:50 +00:00
Pierre Joye
86a352afda - Declarations MUST BE done in the beginning of a context 2008-10-03 16:19:49 +00:00
Mikko Koppanen
e3c65a369f Adds signal handling around popen/pclose in mail.c.
Related information on bugs #8992 and #14032
Original patch by D. Parthey
2008-10-03 13:32:41 +00:00
Zoe Slattery
e72b3afeb5 Committting tests for Olafur Waage 2008-10-02 20:09:54 +00:00
Antony Dovgal
97e667d250 MFH: use HashPosition to prevent race condition in multithreaded env 2008-10-02 08:46:16 +00:00
Felipe Pena
3ecc545018 - New test 2008-10-02 03:36:52 +00:00
Felipe Pena
604c7f6ad2 - MFH: Fixed bug #46215 (json_encode mutates its parameter and has some class-specific state) 2008-10-02 03:36:20 +00:00
Johannes Schlüter
80720205c0 MFH: Improve order in MINFO output 2008-10-01 21:36:43 +00:00
Ilia Alshanetsky
fdcdf8c02b Fixed bug #46206 (pg_query_params/pg_execute convert passed values to
strings).
2008-10-01 20:30:23 +00:00
Johannes Schlüter
3c335a3b5e MFH: Handle failed connections right 2008-10-01 19:47:17 +00:00
Johannes Schlüter
5db154d49e MFH: Fix test 2008-10-01 19:45:22 +00:00
Dmitry Stogov
8d610e79ac Added ability to send user defined HTTP headers with SOAP request. 2008-10-01 13:13:34 +00:00
Scott MacVicar
f37e905b8c MFH: Fix bug #46209 - Remove license condition that is no longer required. 2008-10-01 11:03:15 +00:00
Dmitry Stogov
71aad5da4a Fixed bug #43045 (SOAP encoding violation on "INF" for type double/float) 2008-10-01 08:42:48 +00:00
Dmitry Stogov
f656c6fc70 Fixed bug #46205 (Closure - Memory leaks when ReflectionException is thrown) 2008-10-01 07:30:31 +00:00
Rob Richards
2e4989cc50 MFH: initialize keyresource 2008-09-30 14:41:49 +00:00
Greg Beaver
41c95a030d fix test (thanks Tony) 2008-09-30 13:25:48 +00:00
Scott MacVicar
14982115cd MFH: SQLite3::escapeString can be static as it doesn't rely on an instance of SQLite 2008-09-30 11:14:48 +00:00
Greg Beaver
dcc919c449 fix Bug #46194: SIGSEGV when requested file is not found 2008-09-30 02:40:17 +00:00
Etienne Kneuss
f0cf9b4c88 MFH: Fix #46192 (Serialization of ArrayObject with objects as storage) 2008-09-29 22:45:28 +00:00
Johannes Schlüter
45c04bb67d MFH: Free persistent cache and improve MINFO output 2008-09-29 21:20:50 +00:00
Johannes Schlüter
3540da5344 MFH: No mysqli stuff in ext/mysql 2008-09-29 21:18:31 +00:00
Rob Richards
641347202b MFH: fix bug #46185 (importNode changes the namespace of an XML element)
add test
2008-09-29 16:52:45 +00:00
Rob Richards
84bfd4040e MFH: fix bug #46191 (BC break: DOMDocument saveXML() doesn't accept null) 2008-09-28 12:00:37 +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
1847779210 fix bug #46178: memory leak in ext/phar 2008-09-26 16:29:44 +00:00
Sanjay Mantoor
55039a95fd New testcases for array_diff_uassoc() function 2008-09-26 11:53:48 +00:00
Greg Beaver
f2ad965863 fix another memory leak 2008-09-26 04:54:08 +00:00
Greg Beaver
7a62dcaa5e fix obvious memory leak 2008-09-26 04:41:22 +00:00
Felipe Pena
6bc9869ad9 - MFH: Fixed bug #46157 (PDOStatement::fetchObject prototype error) 2008-09-23 23:07:52 +00:00
Nuno Lopes
8a77e55566 clean some dead code (with static analysis help) 2008-09-23 15:18:26 +00:00
Felipe Pena
54231ab577 - MFH: Fixed bug #46160 (SPL - Memory leak when exception is throwed in offsetSet method) 2008-09-23 12:06:01 +00:00
Rob Richards
169e68ed1a MFH: fix hints causing phpdoc crash 2008-09-22 15:09:46 +00:00
Felipe Pena
fa592702a7 - New test 2008-09-22 13:09:50 +00:00
Felipe Pena
084124fb37 - MFH: Fixed bug #46088 (RegexIterator::accept - segfault) 2008-09-22 13:09:09 +00:00
Greg Beaver
498ffbc84f workaround for Bug #46147 for PHP < 5.2.7 2008-09-22 01:39:11 +00:00
Pierre Joye
f6b2e89ea6 - fix VC6 build 2008-09-20 23:10:16 +00:00
Arnaud Le Blanc
a7279c4457 MFH: Fixed #46059 (Compile failure under IRIX 6.5.30 building posix.c) 2008-09-20 22:12:43 +00:00
Dmitry Stogov
b6a4094c03 Fixed bug #46115 (Memory leak when calling a method using Reflection) 2008-09-19 12:48:33 +00:00
Andrey Hristov
bf20aa12c7 MFH:Fix for bug#46019 MySQLi::init() leaks memory 2008-09-19 11:38:46 +00:00
Scott MacVicar
ba2f507871 MFH: Show the library version currently loaded as well as the version the extension was compiled with. Useful for checking PHP is using the latest version. 2008-09-18 16:09:19 +00:00
Antony Dovgal
eaec817e1b update tests 2008-09-18 12:16:15 +00:00
Scott MacVicar
d875c9f889 MFH: mhash algorithm parameter was modified when it was a zval, also update a test. 2008-09-18 11:59:13 +00:00
Rob Richards
24e9b91193 MFH: fix bug #46099 (Xsltprocessor::setProfiling - memory leak) 2008-09-18 11:47:59 +00:00
Antony Dovgal
46ab8303e1 fix test 2008-09-18 08:40:02 +00:00
Ilia Alshanetsky
4732ab390c Fixed bug #46110 (XMLWriter - openmemory() and openuri() leak memory on
multiple calls).
2008-09-17 23:27:53 +00:00
Johannes Schlüter
2c98da2d17 MFH Fix #44425 (Extending PDO/MySQL class with a __call() function doesn't work) 2008-09-16 23:35:50 +00:00
Felipe Pena
516ac7e726 - MFH: Fixed bug #46071 (finfo_open() segfaults with wrong file name on BSD) 2008-09-16 22:25:52 +00:00
Antony Dovgal
86660c69b7 MFH 2008-09-16 14:36:27 +00:00
Andrey Hristov
b429a84c2b MFH:
Fix a crash introduced yesterday in mysqlnd, non-zts mode - missing if () for
STAT_LAST was accessing wrong memory thus overwritting method pointers.

Windows doesn't have atoll(), which is C99, C89 has only atoi() + atol().
Win has _atoi64, so use it.
2008-09-16 14:35:01 +00:00
Antony Dovgal
bbbb0f1ae5 fix test 2008-09-16 13:41:34 +00:00
Antony Dovgal
02022c766c MFH: fix compile warning 2008-09-16 09:48:17 +00:00
Scott MacVicar
3940782c25 MFH: Fix memory leak in a few cases 2008-09-16 09:46:24 +00:00
Ilia Alshanetsky
e39d08794e Fixed bug #46087 (DOMXPath - segfault on destruction of a cloned object). 2008-09-16 00:38:45 +00:00
Scott MacVicar
b845244370 Missed variable declaration. 2008-09-15 22:16:25 +00:00
Scott MacVicar
db907e5bc3 Fixed bug #46086 (Segfault when accessing fileinfo class property) 2008-09-15 22:13:25 +00:00
Andrey Hristov
8bb2465a51 MFH:
Add float conversions too. Float users should understand how float works!!!
2008-09-15 18:09:20 +00:00
Felipe Pena
2fced40b76 MFH: - Added E_ERROR in constructors 2008-09-15 18:07:16 +00:00
Derick Rethans
77ba4c0e07 - Updated to version 2008.6 (2008f) 2008-09-15 18:02:58 +00:00
Andrey Hristov
5f7bd521f0 MFH:Compile-in a string-to-int conversion for INT columns by default,
controlled by a ini setting.
2008-09-15 14:07:44 +00:00
Dmitry Stogov
1474d9dfad Fixed bug #43053 (Regression: some numbers shown in scientific notation). (int-e at gmx dot de)
some 64bit test files may need to be fixed
2008-09-15 11:47:16 +00:00
Etienne Kneuss
6ebc3a8b9b MFH: Fix #45656 (new Class silenting exceptions in autoloaders) 2008-09-15 10:19:53 +00:00
Felix De Vliegher
7251de9eb8 MFH: More fileinfo tests. 2008-09-15 08:51:43 +00:00
Scott MacVicar
52695ff939 MFH: Sync libsqlite to 3.6.2 with some VC6 patches 2008-09-15 01:22:06 +00:00
Scott MacVicar
8b912cc49c Fixed bug #46033 (Segfault when instantiating SQLite3Stmt and SQLite3Result) 2008-09-15 00:55:37 +00:00
Pierre Joye
6c7f41d482 - fix build (declaration must be fist in a given contex) 2008-09-14 22:10:24 +00:00
Greg Beaver
1799136925 fix compile on IRIX with MIPSPro (Bug #46072) 2008-09-14 06:47:08 +00:00
Greg Beaver
dd51a607e2 increase code coverage, fix bzip2-compressed alias in zip 2008-09-14 06:31:20 +00:00
Greg Beaver
9eb83b6ae9 fix minor issues found by ICC (unused variables and the like) 2008-09-13 22:30:55 +00:00
Antony Dovgal
8209f891a4 MFH 2008-09-13 21:32:21 +00:00
Greg Beaver
760172fcee fix Bug #46060: addEmptyDir() breaks 2008-09-13 20:57:09 +00:00
Moriyoshi Koizumi
111d815b41 - MFH: Reenable ini_set("mbstring.internal_encoding", VALUE) to work on runtime.
(noticed by Antony. Thanks!)
2008-09-13 19:53:01 +00:00
Moriyoshi Koizumi
8fe2cb8ced - MFH: Properly initialize/finalize the library. This plugs the leaks caused by
onig_new().
2008-09-13 02:33:15 +00:00
Moriyoshi Koizumi
b8e81fd0a7 - MFH: mb_list_*() issue settlements 2008-09-13 00:30:51 +00:00
Moriyoshi Koizumi
a4cb898283 - MFH: WS 2008-09-13 00:23:48 +00:00
Moriyoshi Koizumi
e47bf9fbf5 - MFH: Add missing =DIR 2008-09-13 00:14:31 +00:00
Moriyoshi Koizumi
6c8d64f6b4 - MFH: use memcmp() for binary safety. 2008-09-12 23:35:01 +00:00
Arnaud Le Blanc
41201c78b2 Add tests for pcntl 2008-09-12 19:49:46 +00:00
Arnaud Le Blanc
52f5ee8805 MFH: initialize optional args 2008-09-12 19:49:18 +00:00
Arnaud Le Blanc
28c49938d3 MFH: make pharcommand.inc works without ereg 2008-09-12 16:09:01 +00:00
Andrey Hristov
99ea8068df MFH:
- More statistics
- Fixed endless loop - mysqlnd_stmt_next_result() returned FAIL but as it
  is defined to be 1 (and PASS is 0), checking for mysqlnd_stmt_more_result()
  was successful although we were expecting a FAIL.
2008-09-12 15:08:41 +00:00
Arnaud Le Blanc
b08615c675 MFH Fix test 2008-09-12 12:17:07 +00:00
Felipe Pena
b861898fc7 - MFH: Fixed unexpected zval changes 2008-09-12 01:14:14 +00:00
Ilia Alshanetsky
4c6db91b87 Fixed bug #45382 (timeout bug in stream_socket_enable_crypto). 2008-09-11 23:56:43 +00:00
Lars Strojny
fc9c3a17c6 MFH: prev()-tests by Iain Lewis <ilewis@uk.ibm.com> 2008-09-11 18:21:37 +00:00
Arnaud Le Blanc
c238cb8f84 MFH: Fixed #46053 (SplFileObject::seek - Endless loop) 2008-09-11 15:31:58 +00:00
Arnaud Le Blanc
7f5079ab3a MFH: Fixed #46051 (SplFileInfo::openFile - memory overlap) 2008-09-11 15:22:49 +00:00
Rob Richards
dea7f49f70 MFH: fix bug #46047 (SimpleXML converts empty nodes into object with nested array)
add test
2008-09-11 14:21:33 +00:00
Rob Richards
94fd10cd79 MFH: fix bug #45901 (wddx_serialize_value crash with SimpleXMLElement object)
add test
2008-09-11 14:17:31 +00:00
Antony Dovgal
f2d766b917 fix test 2008-09-11 13:38:15 +00:00
Sanjay Mantoor
49eba8cb23 Fixed expected output 2008-09-11 11:21:53 +00:00
Sanjay Mantoor
313728200d New testcases for array_intersect_key() function 2008-09-11 10:48:12 +00:00
Greg Beaver
e7b6fe1b45 fix Bug #46032: PharData::__construct wrong memory read 2008-09-11 03:29:15 +00:00
Stanislav Malyshev
530ffde4fd add some windows-style INI entries to tests 2008-09-11 00:34:48 +00:00
Ilia Alshanetsky
66ec2ac601 Fixed bug #46042 (memory leaks with reflection of mb_convert_encoding()) 2008-09-10 23:19:38 +00:00
Rob Richards
dcda8d83dd MFH: fix bug #46003 (isset on nonexisting node return unexpected results)
add test
2008-09-10 16:28:53 +00:00
Rob Richards
e19c053adf MFH: fix bug #46029 (Segfault in DOMText when using with Reflection) 2008-09-10 15:40:11 +00:00
Felipe Pena
39a0c5f4e6 - Fixed mem. leak 2008-09-10 13:47:29 +00:00
Rob Richards
6d59a6d6b5 MFH: fix bug #45553 (Using XPath for attributes with a namespace does not work)
add test
2008-09-10 11:21:12 +00:00
Ilia Alshanetsky
b3bbaf7d06 Fixed unused var warning 2008-09-10 01:39:35 +00:00
Felipe Pena
c818d0d013 MFH:
- Merged fix from SF project (Import Jeff Lawsons patches for XML datetime bug fixes)
  Fixed bugs:
  #45226 (xmlrpc_set_type() segfaults with valid ISO8601 date string)
  #18916 (xmlrpc_set_type() "not working")
2008-09-10 00:07:45 +00:00
Arnaud Le Blanc
506e49c6e1 MFH: Fixed bug #46031 (Segfault in AppendIterator::next) 2008-09-09 19:44:15 +00:00
Nuno Lopes
c778b3eb19 upgrade to PCRE 7.8. this includes a security improvement. I'll upgrade HEAD later (not urgent..) 2008-09-09 07:55:10 +00:00
Ilia Alshanetsky
6a2729ed4d Fixed a compiler warning 2008-09-09 01:21:07 +00:00
Stanislav Malyshev
f77aa102ea fix tests to work both in ICU 3.6 and 3.8 2008-09-08 20:49:10 +00:00
Felipe Pena
c3cda40f8f - MFH: Changed error level E_ERROR into E_WARNING in parameter validation 2008-09-08 19:41:42 +00:00
Alexey Zakhlestin
2955943a78 pcntl_sigwaitinfo() and pcntl_sigtimedwait() functions are conditionally enabled, so, test should verify if they are present 2008-09-08 12:08:41 +00:00
Felipe Pena
0c745885ca - Fixed some wrong format parameters 2008-09-08 01:33:08 +00:00
Felipe Pena
49fc9c9e13 - MFH: Fixed bug #46010 (warnings incorrectly generated for iv in ecb mode) 2008-09-07 22:57:37 +00:00
Jani Taskinen
6495909d16 - Revert idiotic patch (hint: Windows IS NOT the most important OS!) 2008-09-07 17:59:24 +00:00
Arnaud Le Blanc
dd956381e2 MFH: Fixed #45911 (Cannot disable ext/hash) 2008-09-07 13:15:59 +00:00
Felipe Pena
166ea7073a - MFH: Removed the doubled error message (the error level is no longer E_ERROR) 2008-09-07 02:58:50 +00:00
Kalle Sommer Nielsen
1a1df46be2 MFH: Fix test on Windows 2008-09-07 00:42:40 +00:00
Felix De Vliegher
d411698211 Tests for get_browser() 2008-09-06 23:20:15 +00:00
Ilia Alshanetsky
a6860ce964 Removed unused variables 2008-09-06 21:31:01 +00:00
Alexey Zakhlestin
8a2461af4c Fixed bug #45405 (snmp extension memory leak) 2008-09-06 07:57:22 +00:00
Stanislav Malyshev
29a57b1ddd fix formatter tests for ICU 3.8 2008-09-04 19:59:37 +00:00
Pierre Joye
5ec35396e0 - MFH: #45985, touch on opened file raises a warning 2008-09-04 08:05:27 +00:00
Stanislav Malyshev
9bb39338db fix tests 2008-09-04 00:16:58 +00:00
Stanislav Malyshev
d8c0c2203b fix formatting/parsing 2008-09-04 00:15:25 +00:00
Stanislav Malyshev
95d9565902 ws cleanup 2008-09-04 00:08:17 +00:00
Stanislav Malyshev
74c83ca209 revert last change 2008-09-03 19:21:11 +00:00
Stanislav Malyshev
47980ee785 better detection for client libraries 2008-09-03 18:42:12 +00:00
Felipe Pena
11319aa113 - New test 2008-09-02 19:28:21 +00:00
Nuno Lopes
1e3ebc2373 kill dead variables. found by LLVM's clang static analyzer 2008-09-02 19:10:38 +00:00
Felipe Pena
5b0e87618b - Silent valgrind 2008-09-02 12:43:24 +00:00
Pierre Joye
ed4db08f69 - fix test (file or path not found) (Thanks Dmitry for the notice) 2008-09-02 10:28:11 +00:00
Pierre Joye
c8a0c3b0f5 - don't close caller streams in libmagic (prevent leak and zombie stream)
- string returned by magic_* are freed on magic_close, duplicate before
  calling magic_close (set return value)
- if stat failed, don't try to call magic_* (when FILEINFO_MODE_FILE)
2008-09-02 10:15:54 +00:00
Felipe Pena
d13b704d25 - Fixed mime_content_type() behavior when a string is given
- Fixed check for "empty file name"
- MFH: New test
2008-09-01 23:44:00 +00:00
Pierre Joye
99041160df - use php's stream in libmagic
- remove duplicate code (like mime_content_type() compatibility function
  now use the same base as finfo_file())
- make it portable (works now on windows too, belongs other OSes)

- ([20:28]  <lsmith> Pierre: ok please commit)
2008-09-01 18:56:06 +00:00
Steph Fox
8e972fcd7e I hate not being able to test. 2008-09-01 16:32:55 +00:00
Steph Fox
94dcaa27fb - Fix the fix (sorry, missed this until now) 2008-09-01 16:29:38 +00:00
Steph Fox
e36c24fc50 - Remove pre-made phar.phar 2008-09-01 15:44:48 +00:00
Dmitry Stogov
41840d59a5 Disabled warning messages in SoapClient constructor 2008-09-01 14:55:30 +00:00
Steph Fox
318d5f98ff - unnecessary ;
We are now 100% synched - let's keep it that way!
2008-08-31 21:02: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
Greg Beaver
2f2b08a286 move to 2.0.0-dev 2008-08-31 20:50:09 +00:00
Greg Beaver
cabf4c481e use TAR_FILE instead of '0' and '\0' instead of 0 2008-08-31 20:24:04 +00:00
Greg Beaver
4b81bd61d8 temp bandaid on broken build system, revert when snapshot build is fixed in win32 2008-08-31 19:51:49 +00:00
Greg Beaver
b597a9c781 hadn't saved tar.c, use '\0' instead of 0 for char values, removes warning in intel compiler 2008-08-31 19:47:31 +00:00
Greg Beaver
28689c9c01 use '\0' instead of 0 for chars, removes intel warning 2008-08-31 19:46:35 +00:00
Greg Beaver
9397c4a5d1 remove unnecessary double variable declarations 2008-08-31 19:42:16 +00:00
Greg Beaver
b2efb50cfd remove unnecessary ; 2008-08-31 19:38:40 +00:00
Steph Fox
e8be4d93c5 - Ensure that we're always checking for OpenSSL support, rather than just for ext/openssl being loaded 2008-08-31 19:18:35 +00:00
Nuno Lopes
426a1251f6 remove unicode skipif, as the test doesnt require such support 2008-08-31 15:28:35 +00:00
Alexey Zakhlestin
c9fab63584 remove special treatment of /tmp path 2008-08-31 14:49:58 +00:00
Greg Beaver
270964c193 use safer strlcpy, patch by Tony Dovgal 2008-08-31 07:15:25 +00:00
Greg Beaver
678db15b51 commit missing files for tests 2008-08-31 07:03:26 +00:00
Greg Beaver
513cec31d3 fix compile warning in PHP < 6.0 2008-08-31 06:58:04 +00:00
Greg Beaver
c73badb3fd remove superfluous variable declarations, merge WS from pecl/phar 2008-08-31 06:51:49 +00:00
Greg Beaver
eec1cf5f0a merge from pecl/phar strlen optimizations 2008-08-31 06:47:38 +00:00
Greg Beaver
e30bf5af3b remove superfluous return statements, merge from pecl/phar 2008-08-31 06:42:46 +00:00
Greg Beaver
1c66670ee8 merge minor optimization removing strlen from pecl/phar 2008-08-31 06:38:09 +00:00
Greg Beaver
6dcdb77f7b remove unused variables, merge from pecl/phar 2008-08-31 06:31:53 +00:00
Greg Beaver
642f6aa673 remove superfluous double variable declaration, merge from pecl/phar 2008-08-31 06:28:01 +00:00
Greg Beaver
27cf27568d use %u instead of %d, merge from pecl/phar 2008-08-31 06:26:19 +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
a7da5249e2 WS merge from pecl/phar 2008-08-31 06:04:38 +00:00
Greg Beaver
6ac2c92ede 2 fixes, merge minor fixes from pecl/phar. Merge in corrected fix from pecl/phar for is_tar setting of tar_type 2008-08-31 02:14:03 +00:00
Jani Taskinen
80f8ad97fb MFH:- Fixed bug #45956 (parse_ini_file() does not return false with syntax errors in parsed file) 2008-08-31 00:19:50 +00:00
Jani Taskinen
59aac03d5b update credits 2008-08-31 00:02:31 +00:00
Pierre Joye
10d0029dce - MFH: file will exist only on error (thx tony for the headup) 2008-08-30 23:55:04 +00:00
Greg Beaver
046f8dba55 sync with pecl/phar, missed one line change 2008-08-30 23:50:31 +00:00
Greg Beaver
3ebb94f6a2 sync with pecl/phar, this does not change any functionality in PHP 5.3, but makes syncing easier. This commit is only functional changes, WS will be next 2008-08-30 23:47:55 +00:00
Jani Taskinen
5bdff73b26 MFH: - Move tests to the correct dir 2008-08-30 23:22:27 +00:00
Greg Beaver
61b09ab834 fix OS-dependent order in test 2008-08-30 23:12:56 +00:00
Pierre Joye
820c2002e4 - fix tests (clean on exit) 2008-08-30 16:24:33 +00:00
Patrick van Kleef
905269f056 - MFH: Added odbc.default_cursortype to control the ODBC cursormodel
(bug #43668)
#[DOC]
2008-08-29 19:16:58 +00:00
Patrick van Kleef
1401532e97 - MFH: Fixed code to use ODBC 3.52 datatypes for 64bit systems (bug #43666) 2008-08-29 16:44:29 +00:00
Felipe Pena
9566ebabcb - Fixed tests (Disable COMPRESS support for now) 2008-08-29 15:28:45 +00:00
Dmitry Stogov
78d28494ca Fixed bug #45706 (Unserialization of classes derived from ArrayIterator fails) 2008-08-29 14:59:20 +00:00
Antony Dovgal
740ba5ac0a MFH: fix get_browser() (broken in the process of param API conversion) 2008-08-29 14:14:09 +00:00
Felipe Pena
b8541928cb - Fixed tests 2008-08-29 14:10:38 +00:00
Antony Dovgal
fa978e8595 MFH: check for \0 to be consistent with other functions 2008-08-29 13:48:38 +00:00
Derick Rethans
057b2401bf - Disable COMPRESS support for now, as it requires forking.
# @DOC [DOC] "DOC"
2008-08-29 13:39:01 +00:00
Derick Rethans
36f20d1730 - Remove ext/mime_magic, it was deprecated and it's only function is now part of
ext/fileinfo.
2008-08-29 13:31:44 +00:00
Derick Rethans
4ca7e129a7 - MFH: Adding back in mime_content_type(). 2008-08-29 13:29:42 +00:00
Marcus Boerger
42eb47d500 - MFH preg_filter()
# As discussed with Lukas
# [DOC] check out the test
2008-08-29 12:13:54 +00:00
Derick Rethans
6fbf14c544 - MFH: Some more cleanups, and fixed some warnings. 2008-08-29 12:05:46 +00:00
Derick Rethans
e3cd394979 - MFH: Support for "back of <hour>" and "front of <hour>" phrases that are used
in Scotland.
2008-08-29 12:01:57 +00:00
Pierre Joye
587b679363 - MFH: move ming to pecl 2008-08-29 11:19:37 +00:00
Pierre Joye
6b35a5df0a - MFH: fix warning 2008-08-29 11:09:28 +00:00
Antony Dovgal
c7c4d96c73 fix invalid read 2008-08-29 10:53:13 +00:00
Felix De Vliegher
ef8ae4dfc5 Some fileinfo tests 2008-08-29 10:29:55 +00:00
Antony Dovgal
f6e15a25da fix ZTS build 2008-08-29 10:12:29 +00:00
Scott MacVicar
907c24fd81 Test for fileinfo to check mime types. 2008-08-29 09:52:13 +00:00
Scott MacVicar
4690692519 Replace ereg code with pcre, fix duplicate macro names and segfault. Patch by Mikko 2008-08-29 09:49:01 +00:00
Felipe Pena
42feeddd40 MFH:
- Removed the undocumented object support in the leftover array functions [DOC]
  (natcasesort, natsort, array_walk, array_walk_recursive, array_unique, array_key_exists)
- Changed HASH_OF() to Z_ARRVAL_P()
- Fixed bug #45937 (array_walk and array_walk_recursive can alter private/protected object variable)
2008-08-29 03:05:43 +00:00
Christopher Jones
02b2bcd94b MFH: Bug #45888 (Refcounting in ZTS mode) 2008-08-28 06:33:24 +00:00
Christopher Jones
c5aa4a138e MFH: Bug #45458 (OCI8: Numeric keys for associative arrays are not handled properly) 2008-08-28 06:19:45 +00:00
Christopher Jones
38b404fcb6 MHF: Test initialization cleanup 2008-08-28 05:35:26 +00:00
Antony Dovgal
3bd40d9000 fix file check and avoid segfault 2008-08-27 07:40:44 +00:00
Felipe Pena
7208556ca4 - MFH: Fixed check for empty file name 2008-08-27 01:04:23 +00:00
Felipe Pena
1ef7dfce3d - MFH: Fixed crash in file_error_core() 2008-08-27 00:17:27 +00:00
Alexey Zakhlestin
97e26d95b7 this test depends on session.hash_bits_per_character, but it was not explicitly set 2008-08-26 16:46:26 +00:00
Felipe Pena
d8c43bde79 - MFH: Improved fix 2008-08-26 16:22:27 +00:00
Felipe Pena
727990f432 - MFH: Added check for empty file name 2008-08-26 15:06:28 +00:00
Ilia Alshanetsky
b805c7f8b7 Upgraded the lib to use PHP memory allocation routines.
Fixed a crash caused by analysis of DEADJOE files
A little bit of CS inside libmagic
2008-08-26 12:23:29 +00:00
Antony Dovgal
f10dd24e79 cleanup garbage 2008-08-26 11:06:09 +00:00
Antony Dovgal
838ac5fdaa fix typo 2008-08-26 10:59:10 +00:00
Rob Richards
895ba9afc7 MFH: fix warning 2008-08-25 21:04:30 +00:00
Felipe Pena
9dda408624 - New test 2008-08-25 19:38:37 +00:00
Rob Richards
0bbb07cff6 no zstr in 5_3 2008-08-25 19:38:04 +00:00
Jani Taskinen
1081c6ce1e MFH 2008-08-25 19:07:20 +00:00
Etienne Kneuss
efd817bf13 MFH: Fix #45826 (Custom serialization) 2008-08-25 18:40:44 +00:00
Pierre Joye
d161d4b3b3 - and the last part of the fix, inline on win 2008-08-25 14:37:07 +00:00
Jani Taskinen
3b714ee113 MFH: fix build on win32 2008-08-25 14:10:38 +00:00
Jani Taskinen
505ad55773 MFH 2008-08-25 13:42:55 +00:00
Jani Taskinen
f1e4ae0867 MFH 2008-08-25 12:15:05 +00:00
Felipe Pena
f8330b9ccc MFH:
- New parameter parsing API
- CS
2008-08-24 20:50:41 +00:00
Marcus Boerger
0edbdd7680 - Add new test 2008-08-24 16:46:30 +00:00