Gabriel Caruso
ded3d984c6
Use EXPECT instead of EXPECTF when possible
...
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
2018-02-20 21:53:48 +01:00
Gabriel Caruso
ce1d69a1f6
Use int instead of integer in type errors
...
PHP requires integer typehints to be written "int" and does not
allow "integer" as an alias. This changes type error messages to
match the actual type name and avoids confusing messages like
"must be of the type integer, integer given".
2018-02-04 19:08:23 +01:00
Stanislav Malyshev
3616b6b935
Cleanup some tests - remove unnecessary sections
...
Also unify credits - all are under --CREDITS-- now.
2018-02-04 02:21:40 -08:00
Gabriel Caruso
6400264856
Trailing whitespaces
...
Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com >
2018-01-03 14:38:00 +01:00
Xinchen Hui
a6519d0514
year++
2018-01-02 12:57:58 +08:00
Dmitry Stogov
9e709e2fa0
Move constants into read-only data segment
2017-12-14 18:43:44 +03:00
Kalle Sommer Nielsen
b7a5e71a33
These functions are always available, exif can't be cross version compiled anyway
2017-10-31 08:50:30 +01:00
Kalle Sommer Nielsen
6b88b3bc25
Fix compiler warnings
2017-10-29 16:43:21 +01:00
Kalle Sommer Nielsen
85fa3aa4c0
We don't use a specific model for a MAKERNOTE so remove these checks that doesn't do anything anyway
2017-10-29 16:42:13 +01:00
Kalle Sommer Nielsen
09f829d996
Remove these old comments, as for the TODO, there is already a FR for this
2017-10-29 16:36:34 +01:00
Christoph M. Becker
9c006651c4
Test requires mbstring – skip if not available
2017-10-11 15:27:56 +02:00
Christoph M. Becker
cfbc93c88b
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Use PHP_VERSION for exif
2017-10-11 15:01:23 +02:00
Christoph M. Becker
50bd4996fd
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Use PHP_VERSION for exif
2017-10-11 14:44:43 +02:00
Christoph M. Becker
62098a10aa
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Use PHP_VERSION for exif
2017-10-11 14:43:51 +02:00
Peter Kokot
74124de048
Use PHP_VERSION for exif
2017-10-04 23:25:36 +02:00
Peter Kokot
f323636868
Remove exif PHP example files
...
The PHP documentation has all exif functions well documented so these
can be left out of php-src. The exif PHP tests also include all exif_*
functions.
2017-10-03 07:24:51 +01:00
Kalle Sommer Nielsen
c34ba92782
Get rid of all these old package[2].xml files, most of these had no had a release since PHP4, or any release at all in close to 10 years, some even did not have a package registered at pecl
...
OCI, PDO_OCI and zip are left as they are actively developed and released there
2017-08-17 22:09:29 +02:00
Anatol Belski
29ab1dc95a
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Test to cover the change in ce1a0d97
2017-08-01 12:51:56 +02:00
Anatol Belski
b8da481a2a
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Test to cover the change in ce1a0d97
2017-08-01 12:51:20 +02:00
Anatol Belski
d9d152b895
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Test to cover the change in ce1a0d97
2017-08-01 12:50:52 +02:00
Anatol Belski
a8e25fdbf8
Test to cover the change in ce1a0d97
2017-08-01 12:49:45 +02:00
Anatol Belski
f30506c8ff
Merge branch 'PHP-7.2'
...
* PHP-7.2:
fix test
fix NULL deref
2017-08-01 12:02:16 +02:00
Anatol Belski
2164e3a0b8
fix test
2017-08-01 11:56:23 +02:00
Anatol Belski
ce1a0d971b
fix NULL deref
2017-08-01 11:55:32 +02:00
Kalle Sommer Nielsen
c62e5eb0a9
Reduce EXIF test image sizes, there is still one large image left that I will look into reducing if possible (bug50845.jpg)
...
The changes in phpts are due to exiftool, I verified that all the images still remain relevant for testing
2017-07-30 21:59:55 +02:00
Kalle Sommer Nielsen
97ff7bbb36
Lowercase the file extension
2017-07-30 21:59:10 +02:00
Kalle Sommer Nielsen
a7484beea2
Reduce EXIF test image sizes, there is still one large image left that I will look into reducing if possible (bug50845.jpg)
...
The changes in phpts are due to exiftool, I verified that all the images still remain relevant for testing
2017-07-30 21:49:02 +02:00
Kalle Sommer Nielsen
f6ea75da12
Lowercase the file extension
2017-07-30 21:30:33 +02:00
Kalle Sommer Nielsen
b613392003
Test case for bug #64739
2017-07-21 21:55:11 +02:00
Kalle Sommer Nielsen
4d684a6cd7
WS
2017-07-14 03:42:15 +02:00
Kalle Sommer Nielsen
333c362178
Fix test title
2017-07-14 02:02:25 +02:00
Kalle Sommer Nielsen
997e2e5452
Ensure that the stream position is kept between reads
2017-07-14 01:59:23 +02:00
Kalle Sommer Nielsen
f7d9f6456c
Turn off EXIF_DEBUG so Travis don't complain at me
2017-07-14 01:18:58 +02:00
Kalle Sommer Nielsen
bf7f6f9078
Don't add a new line to undefined tags in EXIF_DEBUG mode
2017-07-14 01:17:34 +02:00
Kalle Sommer Nielsen
9cf586cdfb
Fix compile error with EXIF_DEBUG
2017-07-14 01:12:00 +02:00
Dmitry Stogov
2b7d3fb45f
Fixed compilation error
2017-07-12 09:46:22 +03:00
Kalle Sommer Nielsen
7845182edd
Remove debug code
2017-07-12 06:12:07 +02:00
Kalle Sommer Nielsen
363bb03b7e
We need to check for the length here too, or we crash and no one likes that! :(
2017-07-12 06:11:14 +02:00
Kalle Sommer Nielsen
969eb8345b
* Implemented #65187 (exif_read_data/thumbnail: add support for stream resource)
...
* ext/exif now uses FAST_ZPP
2017-07-12 05:43:50 +02:00
Kalle Sommer Nielsen
7bb696dc49
Silent compiler warning
2017-07-08 19:05:28 +02:00
Kalle Sommer Nielsen
38d019979e
Fix test
2017-07-08 18:01:51 +02:00
Kalle Sommer Nielsen
ba28d75c2c
Deprecated the read_exif_data() alias
2017-07-08 15:02:05 +02:00
Kalle Sommer Nielsen
106386dd98
Fixed file name for case sensitive file systems
2017-07-08 03:34:30 +02:00
Kalle Sommer Nielsen
469206c84e
Added test case for bug #73115 which was fixed by recently fixed bugs
2017-07-08 03:30:46 +02:00
Kalle Sommer Nielsen
134047dfde
We currently don't use the guessing code, so don't compile it
2017-07-07 12:23:24 +02:00
Kalle Sommer Nielsen
e6903d471e
* Fixed bug #72819 (EXIF thumbnails not read anymore)
...
* Fixed bug #62523 (php crashes with segfault when exif_read_data called)
* Fixed the poor test case for #62523 , which was a HTML document
Fixing #72819 had the side effect of fixing #62523 by supporting the format as seen in bug62523_1.phpt
2017-07-07 12:20:05 +02:00
Kalle Sommer Nielsen
babc3c522f
This should be EXPECT instead of EXPECTF
2017-07-07 11:31:31 +02:00
Kalle Sommer Nielsen
cd8d0aad7f
Fixed bug #50660 (exif_read_data(): Illegal IFD offset (works fine with other exif readers))
2017-07-07 11:29:23 +02:00
Kalle Sommer Nielsen
900ce92c9a
Fixed bug #74428 (exif_read_data(): "Illegal IFD size" warning occurs with correct exif format)
2017-07-07 10:20:02 +02:00
Tom Van Looy
04fb3f28ff
Remove superfluous semicolons
2017-06-26 00:23:25 +02:00