/vsizip/ : fix bug that caused premature end of file condition with some read patterns (#5530)

git-svn-id: https://svn.osgeo.org/gdal/trunk@27509 f0d54148-0727-0410-94bb-9a71ac55c965
PDF: advertize LAYERS metadata domain

git-svn-id: https://svn.osgeo.org/gdal/trunk@27511 f0d54148-0727-0410-94bb-9a71ac55c965
Updated the way caching work so that caches can be set per dataset in a global way, this converts the cache size limit to per dataset
Added some code to ensure that the Raster Block Manager is cleaned up once the dataset is deleted.
Fixed issues with RasterBlockManager not existing in some situations with RasterBands that do not have a dataset.
Fixed the various issues surrounding the use of the global GDALGetCacheMax in various spots in the code. In many situations this should be pulling the size of the non global cache size in the situation where a dataset specific cache size was specified. Added methods to access the RBM from the Dataset and RasterBand as well.
Fixed the various issues surrounding the use of the global GDALGetCacheMax in various spots in the code. In many situations this should be pulling the size of the non global cache size in the situation where a dataset specific cache size was specified. Added methods to access the RBM from the Dataset and RasterBand as well.
Updated postgisraster driver with proper accessor rather then accessing protected object.
Renamed the cache functions in the Raster Block Manager to be with out the 64 option.
Resolved issues with proper destruction of global raster block manager during driver destruction.
Fix to issue where different datasets might have different sized caches during rasterio operations.
Merge branch 'trunk' of github.com:flippmoke/gdal into trunk