Marcus Boerger
19117cf9c9
- Fix bug #36287
2006-02-05 11:43:28 +00:00
Derick Rethans
8440dc27db
- Test commit to see if mail works.
2006-02-04 15:36:35 +00:00
Pierre Joye
ccaa5eaab2
- remove libjpeg direct output and wrap them in php warnings
2006-02-04 14:56:58 +00:00
Rob Richards
1e2a3e8b7c
MFB51: Fixed bug #34272 (empty array onto COM object blows up)
...
fix mem leaks
WS fixes
add test
2006-02-04 10:59:18 +00:00
Andrei Zmievski
589d28e429
Implement Traversable instead of Iterator.
2006-02-04 00:41:42 +00:00
Andrei Zmievski
fe5aac2f41
Add code unit ops.
2006-02-04 00:35:37 +00:00
Andrei Zmievski
4a3bf22b81
Abstract the iterator interface so that we can add new types.
2006-02-04 00:23:52 +00:00
Andrei Zmievski
94e3087be7
Gah. In order to avoid memory corruption when using references in
...
foreach() this code is necessary. But it makes iterator 6x slower. We
should keep thinking about how to optimize it.
2006-02-03 23:50:42 +00:00
Andrei Zmievski
aa7ed0788c
Guard against assign-by-ref.
2006-02-03 21:53:05 +00:00
Antony Dovgal
760d8cda46
MF51: fix #36010 (Segfault when re-creating and re-executing statements with bound parameters)
2006-02-03 14:48:24 +00:00
Andrei Zmievski
682ec6e25e
Rewrite to use C-level iterators for performance. Also, cache the string
...
in the iterator object for immutability.
2006-02-03 00:09:19 +00:00
Marcus Boerger
aa55f8731a
- Fix ArrayIterator::seek() edge cases
2006-02-02 22:11:49 +00:00
Antony Dovgal
098a1c98ff
MF51: nuke unused variable
2006-02-02 21:43:40 +00:00
Pierre Joye
bc436e2fd3
- add a weak/tolerant mode to the jpeg loader
...
* new INI option to enable it (off by default)
gd.jpeg_ignore_warning (0|1)
* The default mode is the current behavior
* if the warning mode is enabled, the image may be loaded succesfully
but the jpeg warnings will be raise as notices
2006-02-02 20:30:54 +00:00
Marcus Boerger
9f628d10f6
- Fix oversight
2006-02-02 19:02:05 +00:00
Ilia Alshanetsky
555cfd0146
MFB51: Only use win32 directory separators on win32 or netware.
2006-02-02 15:10:23 +00:00
Antony Dovgal
2c508bc1f0
fix tests
2006-02-02 15:04:22 +00:00
Antony Dovgal
d63e26191a
fix win32 snapshots
2006-02-02 14:45:54 +00:00
Antony Dovgal
c4daf2fffa
add test for bug #36258
2006-02-02 13:57:04 +00:00
Antony Dovgal
6f1ccba730
add missing folding tags
...
nuke unnecessary semicolons
2006-02-02 12:40:07 +00:00
Antony Dovgal
fc2f82751a
MF51: fix #36258 (SplFileObject::getPath() may lead to segfault)
2006-02-02 12:20:26 +00:00
Dmitry Stogov
edbb459290
Bug #36226 Inconsistent handling when passing potential arrays
2006-02-02 11:42:12 +00:00
Omar Kilani
690859c1fd
Fix encoding of empty strings.
...
Add empty string value test case.
2006-02-02 10:54:32 +00:00
Sebastian Bergmann
f3ddda4229
Fix Andrei.
2006-02-02 06:01:27 +00:00
Andrei Zmievski
d887f2238b
Remove debug message.
2006-02-02 00:05:21 +00:00
Andrei Zmievski
2b763aa305
Check for intern->text before destroying it.
2006-02-01 23:53:53 +00:00
Andrei Zmievski
d4c929764a
Proof-of-concept for TextIterator. Much more work to be done here.
2006-02-01 23:50:50 +00:00
Dmitry Stogov
d4a61bb8de
Fixed encoding of inhereted objects
2006-02-01 17:18:38 +00:00
Antony Dovgal
8416426488
fix #36242 (Possible memory corruption in stream_select())
2006-02-01 10:31:26 +00:00
Antony Dovgal
d7393d2d02
fix build
2006-02-01 09:10:23 +00:00
Derick Rethans
8a05386f7d
- Implemented PECL req #6641 : negative values for hexadecimal and octal numbers
...
are not supported.
2006-01-31 19:12:29 +00:00
Derick Rethans
e3f84aafc8
- Fixed tests.
2006-01-31 19:09:07 +00:00
Derick Rethans
d96c1d0895
- Fixed PECL bug #6639 : uppercase hexadecimal digits are not supported.
2006-01-31 18:51:49 +00:00
Derick Rethans
6715bb38bd
- Fixed bug #36224 : date(DATE_ATOM) gives wrong results
2006-01-31 18:41:45 +00:00
Antony Dovgal
048c5843f4
merge from 5.1 forgotten patch
2006-01-31 18:41:38 +00:00
Antony Dovgal
617242e6fa
fix test
2006-01-31 18:39:50 +00:00
Antony Dovgal
2697320c20
fix #36235 (ocicolumnname delivers empty results before a succesfull ocifetch)
2006-01-31 18:36:59 +00:00
Derick Rethans
87726add5f
- Upgraded timezonedb to 2006a.
2006-01-31 18:07:24 +00:00
Ilia Alshanetsky
c064a9e243
MFB51: Fixed bug #36222 (errorInfo in PDOException is always NULL).
2006-01-31 17:21:25 +00:00
Omar Kilani
7da29196d3
Add some documentation to the JSON extension.
2006-01-31 09:00:47 +00:00
Omar Kilani
73cead23a5
Add tests for JSON based on tests found on json.org:
...
http://www.crockford.com/JSON/JSON_checker/test/
2006-01-31 09:00:14 +00:00
Omar Kilani
94a140214c
- Rewritten for better performance. 3-8x faster encodes, 2-4x faster decodes.
...
- No longer uses json-c, implements it's own JSON parser and encoder.
- JSON parser based on Douglas Crockford's JSON_checker.
2006-01-31 08:59:06 +00:00
Omar Kilani
933ce50838
Remove json_c.
2006-01-31 08:54:55 +00:00
Derick Rethans
d54967b956
- Moved msession to PECL.
2006-01-31 08:13:31 +00:00
Mark L. Woodward
8b24460752
MSession now works with the new MCache server
2006-01-30 16:18:40 +00:00
Ilia Alshanetsky
b90245d90a
MFB51: Fixed bug #36176 (PDO_PGSQL - PDO::exec() does not return number of
...
rows affected by the operation).
2006-01-29 17:36:12 +00:00
Derick Rethans
3bed27f4a6
- An empty string is still a valid string, so there is no reason to return
...
NULL here.
2006-01-29 16:37:42 +00:00
Michael Wallner
ec942cb2a6
MF51: use free()
2006-01-28 08:08:48 +00:00
Frank M. Kromann
921498e38b
MFB51 Export symbols that will allow building WDDX as shared object
2006-01-28 06:18:18 +00:00
Frank M. Kromann
f9484965f2
MFB51 Add header so WDDX builds as shared
2006-01-28 06:17:09 +00:00
Pierre Joye
d10b1290b2
- #36185 str_rot13(NULL) crash
2006-01-28 00:13:13 +00:00
Michael Wallner
64d4c588ad
MF5_1: include png.h prior php.h
2006-01-27 20:48:42 +00:00
Michael Wallner
ea5c551162
MF_5_1
2006-01-27 20:22:48 +00:00
Michael Wallner
a04e63543d
- add imap_savebody()
2006-01-27 19:44:40 +00:00
Pierre Joye
2901af230c
- add PNG filter constants
2006-01-27 18:05:26 +00:00
Pierre Joye
64d07968de
- add filter mode support for imagepng
...
imagepng("file", $comp_mode, $filter_mode);
The filters are defined in the libpng docs for png_set_filter
allow to divide the size of png images by more than 2. Constants
will be added later
BC kept, by default no filter are set
Fine to MFH? With the constants?
2006-01-27 01:59:26 +00:00
Ilia Alshanetsky
b031ac3fe4
MFB51: Fixed bug #36148 (unpack("H*hex", $data) is adding an extra
...
character to the end of the string).
2006-01-26 15:48:15 +00:00
Michael Wallner
98ca921fb2
- fix bug #36152 problems with curl+ssl and pgsql+ssl in same PHP
2006-01-26 13:20:56 +00:00
Rob Richards
078ca4ffb2
MFB51: Fix bug #35954 (Fatal com_exception casting object)
2006-01-26 11:18:09 +00:00
Rob Richards
b8ded17f81
fix possible crash in textContent
2006-01-25 17:33:24 +00:00
Ilia Alshanetsky
da2b91d1e1
MFB51: Properly rewrite queries where a bound parameter appears more then
...
once.
2006-01-25 16:35:46 +00:00
Andrei Zmievski
e7752216f4
Use zend_codepoint_to_uchar() macro.
2006-01-25 00:02:23 +00:00
Andrei Zmievski
0fe1845267
eurealloc() should not be used with UBYTES()
2006-01-24 23:09:43 +00:00
Marcus Boerger
0e42375ded
- Implemented #36141 Add ReflectionClass::newInstanceArgs($args)
2006-01-24 20:19:49 +00:00
Antony Dovgal
6dcebfd904
fix #36113 (Reading records of unsupported type causes segfault)
2006-01-23 22:40:39 +00:00
Greg Beaver
d536cb4139
update copyright year, and add credits for Davey Shafik/info on where Phar came from
2006-01-23 19:30:14 +00:00
Ilia Alshanetsky
9201fa6918
MFB51: Fixed bug #36134 (DirectoryIterator constructor failed to detect
...
empty directory names).
2006-01-23 15:24:41 +00:00
Derick Rethans
655d2824d4
- Go with 0.9.4.
2006-01-23 09:04:50 +00:00
Marcus Boerger
2a2eae219c
- Fix error message
2006-01-23 02:26:15 +00:00
Marcus Boerger
2d24ebbe16
- WS
2006-01-22 23:53:53 +00:00
Marcus Boerger
7c8de803d0
- Fix memory leaks
2006-01-22 23:48:02 +00:00
Marcus Boerger
86162f7a38
- WS
2006-01-22 23:46:50 +00:00
Marcus Boerger
693c5ad27f
- Update test
2006-01-22 22:06:02 +00:00
Derick Rethans
c839665f10
- Fixed constant names in tests.
2006-01-21 15:57:43 +00:00
Derick Rethans
a0bff6f8d6
- namespace protect constants
2006-01-21 12:48:46 +00:00
Omar Kilani
428bce101a
Change license from LGPL to PHP.
2006-01-21 01:14:14 +00:00
foobar
644ca88100
- Fixed bug #Â36110 (missing sanity checks for external build)
2006-01-20 21:58:17 +00:00
Antony Dovgal
9a69aa32e9
fix typo
2006-01-20 16:58:33 +00:00
Antony Dovgal
f32c1b7c2b
add new test
2006-01-20 11:07:51 +00:00
Antony Dovgal
f14d1152fe
fix #36096 (oci_result() returns garbage after oci_fetch() failed)
2006-01-20 11:01:36 +00:00
Ilia Alshanetsky
dd68ac4c8c
MFB51: Allow get_headers() to return header information even for non-200
...
responses.
2006-01-20 01:40:48 +00:00
Antony Dovgal
04ad1d1462
fix test
2006-01-19 21:27:15 +00:00
Antony Dovgal
cc0fae3702
fix tests
2006-01-19 20:52:45 +00:00
Antony Dovgal
c83190514f
couple of pedantic fixes: "static" should be first
2006-01-18 23:55:27 +00:00
Antony Dovgal
4f07cff61c
fix typo (and possible segfault)
2006-01-18 23:39:00 +00:00
Ilia Alshanetsky
f0b0e2cd19
MFB51: Make get_headers() use the default context.
2006-01-18 14:05:28 +00:00
Antony Dovgal
9e03537d90
reorganize resource destruction.
...
- use one helper function for all resource types
- destroy all resources when connections are still available
2006-01-18 10:11:12 +00:00
Antony Dovgal
7bf63ad49b
improve open_basedir checks in GD
2006-01-17 23:49:14 +00:00
Antony Dovgal
38beafe629
fix #36055 (possible OCI8 crash in multithreaded environment)
2006-01-17 23:44:11 +00:00
Pierre Joye
2179e33f14
- MFB: imagecolorallocate* returns false on error
2006-01-17 16:34:58 +00:00
Dmitry Stogov
227295a4f1
Unicode stuff is changed according to decision maden on PDM.
...
Now IS_BINRAY data type is removed and IS_STRING starts behave as IS_BINARY in unicode mode. IS_STRING is incompatible with IS_UNICODE, so ALL functions should be improved to support unicode mode.
2006-01-17 12:18:53 +00:00
Antony Dovgal
f0a32f0127
fix #36038 (ext/hash compile failure on Mac OSX)
2006-01-16 23:03:41 +00:00
Antony Dovgal
38b7befa2e
fix typo
2006-01-16 20:41:00 +00:00
Ilia Alshanetsky
0de9cf1e73
MFB51: Added a check for special characters in the session name.
2006-01-15 16:51:34 +00:00
Antony Dovgal
8f86b6d145
avoid segfaults
2006-01-15 16:05:49 +00:00
Marcus Boerger
2d3dc44908
- Fix issue found by nuno
2006-01-15 00:17:08 +00:00
Antony Dovgal
e99778562d
add test for bug #36010
2006-01-14 22:22:48 +00:00
Marcus Boerger
d91dd0a0bb
- Update
2006-01-14 20:20:53 +00:00
Marcus Boerger
2fe859febb
- Fixed bug #36011
2006-01-14 15:22:19 +00:00
foobar
61a80cf37b
ws fix
2006-01-14 15:10:54 +00:00
foobar
56c182d41c
- Install header file
2006-01-14 15:04:12 +00:00
foobar
4b4d6e54c9
- Fixed headers
2006-01-14 14:58:35 +00:00
Marcus Boerger
f22c929561
- Fix #35998 (getPathname() method always returns unix style filenames)
2006-01-13 19:35:27 +00:00
Sascha Schumann
dacf083328
- WS
2006-01-13 14:30:34 +00:00
Sascha Schumann
a820f8da4c
- lower valgrind error count to zero.
2006-01-13 14:23:35 +00:00
Antony Dovgal
b5fd1c0ec3
add missing ifdefs
2006-01-13 13:04:01 +00:00
Pierre Joye
d7772d5203
- MFB: add php_mkdir_ex
2006-01-13 04:10:32 +00:00
Marcus Boerger
42e3644d5b
- Add bzip2 decompression support
2006-01-12 21:16:29 +00:00
Marcus Boerger
679fa69575
- Add stream filter 'consumed' which can restore the stream position when
...
a stream was read or written through a size changing filter.
2006-01-12 19:23:24 +00:00
Hartmut Holzgraefe
f1ffdfdbb3
typo fix
2006-01-12 15:37:56 +00:00
Omar Kilani
a5cfcdd276
Don't leak a json_object on a decode error.
2006-01-12 03:50:22 +00:00
Marcus Boerger
566f8b136a
- Use consumed filter to check number of compressed bytes read
...
# This fixes all tests again
2006-01-12 02:33:28 +00:00
Marcus Boerger
8166072ea3
- Change to use streams filters which simplifies decompression a lot and
...
easily allows to use other compression algos too
2006-01-11 23:55:57 +00:00
Marcus Boerger
ae81cb9a1c
- Add new test
2006-01-11 23:54:30 +00:00
Marcus Boerger
cd24188fad
- Fix test
2006-01-11 21:34:48 +00:00
Marcus Boerger
b4e19230f9
- Split fname/phar-data mapping and alias/phar-data mapping
...
- Add test
2006-01-11 21:19:46 +00:00
Marcus Boerger
9222435376
- WS
2006-01-11 20:32:56 +00:00
Marcus Boerger
5b62ceebb2
- Fix more errors (by the way the phars are found)
...
- Cleanup code
2006-01-11 01:51:47 +00:00
Marcus Boerger
fa5831e7b5
- Fix a bunch of tests (not all done yet though)
2006-01-11 00:50:33 +00:00
Marcus Boerger
23d81c4630
- Fix a few error checks
2006-01-11 00:50:07 +00:00
Ilia Alshanetsky
d2397a9301
MFB51: Fixed bug #35916 (Duplicate calls to stream_bucket_append() lead to
...
a crash).
2006-01-10 16:14:45 +00:00
Antony Dovgal
8d4db4f24c
fix #35959 (Cannot build with Solid 2.3)
2006-01-10 14:15:12 +00:00
Antony Dovgal
2e43670647
fix memory corruption (HEAD only)
2006-01-10 10:51:39 +00:00
Antony Dovgal
c9d6bb5b9f
silence compile warning in non-ZTS mode
2006-01-10 08:32:49 +00:00
Antony Dovgal
9bd3c360ba
destroy regular connections in RSHUTDOWN if ZTS is used
...
this fixes problem with Oracle9 (not Oracle10) and Apache2/worker - connections are not being closed correctly
see #35205 and similar issues
2006-01-10 08:29:19 +00:00
Greg Beaver
2ca31fa63c
tests need updating, but this works with a valid 0.8.0 phar now. Additions include alias/apiversion/per-file flags in the manifest
2006-01-10 06:46:17 +00:00
Ilia Alshanetsky
0618bc66e8
MFB51: Fixed test
2006-01-10 03:18:52 +00:00
Greg Beaver
106463c474
need PHP 5.1.2 because of bug in temp memory streams
2006-01-07 18:37:44 +00:00
Antony Dovgal
0b9213d82b
fix tests
2006-01-06 21:21:09 +00:00
Marcus Boerger
57c39d214d
- WS
2006-01-06 20:43:19 +00:00
Marcus Boerger
cc242b6afa
- Fix potential crash (const' type is not initialized in case of error)
2006-01-06 20:34:31 +00:00
Marcus Boerger
9f0f9bc958
- Update
2006-01-06 19:57:49 +00:00
Marcus Boerger
a4e0ddc67b
- I was missing here
2006-01-06 19:23:58 +00:00
Marcus Boerger
27dbc1d969
- Prevent overloading aliases
...
- Detect already loaded files and reuse them instead of reloading them
- Add a test for the above
2006-01-06 19:20:21 +00:00
Marcus Boerger
2de7a49fae
- No ini setting needed
2006-01-06 17:34:47 +00:00
Marcus Boerger
1431022aae
- Correct test name
2006-01-06 17:33:03 +00:00
Marcus Boerger
2490f087b4
- Fix typo and change to sizeof usage
2006-01-06 17:32:34 +00:00
Marcus Boerger
685fa28235
- Rewind stream when transferring ownership
...
- Add Phar::loadPhar + test
2006-01-06 17:23:42 +00:00
Marcus Boerger
e267d2c2d0
- And another test
2006-01-06 16:27:15 +00:00
Marcus Boerger
a4d469836d
- Add new tests
2006-01-06 16:11:54 +00:00
Marcus Boerger
fbdb432847
- Typo
2006-01-06 15:31:42 +00:00
foobar
f8bda52627
- Fix configure on Solaris
2006-01-06 14:03:28 +00:00
Antony Dovgal
623b5de1b2
fix #35907 (PDO_OCI uses hardcoded lib path $ORACLE_HOME/lib)
2006-01-06 11:48:03 +00:00
Marcus Boerger
abd2aeb1cd
- Use temp streams internally instead of memory to reduce memory usage
...
# Internally we try to use only one temp stream if possible by stoing
# the temp stream in the manifest entry and transferring ownership upon
# usage/close. If a particular file gets opened twice in parallel we open
# a second temp stream nonetheless.
2006-01-05 22:24:41 +00:00
foobar
1afd9d6ea0
- Fixed bug #35911 (HAVE_PG_CONFIG_H set incorrectly)
2006-01-05 21:53:07 +00:00
Antony Dovgal
16be5ff45b
fix typo
2006-01-05 20:49:28 +00:00
Hartmut Holzgraefe
e66929c8b3
ncurses goes sibiria^Wpecl
2006-01-05 20:10:10 +00:00
Marcus Boerger
4c5fb5fc50
- Fix docu
2006-01-05 19:00:01 +00:00
Ilia Alshanetsky
6213faa402
MFB4: Fixed bug #35908 (curl extension uses undefined GCRY_THREAD_OPTIONS_USER).
2006-01-05 18:06:15 +00:00
Antony Dovgal
1e3efec941
delete descriptor from the hash and avoid crashes on commit/rollback
2006-01-05 13:40:10 +00:00