wiki.techinc.nl/includes/media
Tim Starling f5d86ec75e Replace usage of custom File properties
Some MediaHandler subclasses were setting custom properties on the File
object in order to cache file-associated state. So:

* Add File::getHandlerState() and File::setHandlerState().
* Put them in an interface, which will be used in a subsequent commit in
  MediaHandler::getSizeAndMetadata().
* Use them in DjvuHandler.
* Provide a trivial implementation of the interface, for use in testing
  and in the subsequent commit.

Change-Id: Ic365384ff13f7898c1203da38c4405abf03d7563
2021-05-27 18:48:06 +10:00
..
Hook
BitmapHandler.php
BitmapHandler_ClientOnly.php
BitmapMetadataHandler.php
BmpHandler.php
DjVuHandler.php Replace usage of custom File properties 2021-05-27 18:48:06 +10:00
DjVuImage.php Fix replacement of control chars in DJVU text output 2021-03-29 06:03:34 +00:00
Exif.php Use more neutral or alternative language 2021-03-20 19:47:18 +00:00
ExifBitmapHandler.php
FormatMetadata.php Avoid double escape of exif message in FormatMetadata 2021-04-12 23:24:33 +02:00
GIFHandler.php
GIFMetadataExtractor.php
ImageHandler.php
IPTC.php
Jpeg2000Handler.php Basic JPEG2000 handler 2021-05-19 12:42:08 -07:00
JpegHandler.php
JpegMetadataExtractor.php
MediaHandler.php
MediaHandlerFactory.php Basic JPEG2000 handler 2021-05-19 12:42:08 -07:00
MediaHandlerState.php Replace usage of custom File properties 2021-05-27 18:48:06 +10:00
MediaTransformError.php
MediaTransformInvalidParametersException.php
MediaTransformOutput.php
PNGHandler.php
PNGMetadataExtractor.php
SvgHandler.php Use static closures where safe to use 2021-02-11 00:13:52 +00:00
SVGReader.php Remove unused default values from class properties 2021-05-12 13:44:28 +02:00
ThumbnailImage.php
TiffHandler.php
tinyrgb.icc
TransformationalImageHandler.php Use static closures where safe to use 2021-02-11 00:13:52 +00:00
TransformParameterError.php
TransformTooBigImageAreaError.php
TrivialMediaHandlerState.php Replace usage of custom File properties 2021-05-27 18:48:06 +10:00
WebPHandler.php
XCFHandler.php