lyx_mirror/development
Georg Baum 5ed606f9c5 Add a cache for converted image files. This needs to be enabled in the
preferences file with \use_converter_cache true. It is disabled by default,
and no GUI support for changing the preferences is yet implemented.

	* src/insets/insetgraphics.C
	(InsetGraphics::prepareFile): Use image file cache

	* src/insets/ExternalSupport.C
	(updateExternal): Use image file cache

	* src/exporter.C
	(Exporter::Export): Do not use image file cache

	* src/graphics/GraphicsCacheItem.C

	(CacheItem::Impl::imageConverted): Add the converted file to the
	image file cache
	(CacheItem::Impl::convertToDisplayFo): Use image file cache

	* src/converter.C
	(Converters::convert): Use image file cache if the caller allowed that

	* src/converter.h
	(Converters::convert): Adjust arguments

	* src/Makefile.am: Add new files

	* src/support/lyxlib.h
	(chmod): new function
	(copy): add mode argument

	* src/support/copy.C
	(chmod): new function
	(copy): implement mode argument

	* src/support/mkdir.C
	(lyx::support::mkdir): Add warning if permissions are ignored

	* src/lyxrc.[Ch]: Add new settings \converter_cache_maxage and
	\use_converter_cache

	* src/ConverterCache.[Ch]: New image file cache

	* src/importer.C
	(Importer::Import): Do nut use the image file cache

	* src/lyx_main.C
	(LyX::init): Initialize the image file cache

	* src/mover.[Ch]
	(Mover::do_copy): Add mode argument
	(SpecialisedMover::do_copy): ditto

	* configure.ac: Check for chmod

	* development/cmake/ConfigureChecks.cmake: ditto

	* development/cmake/config.h.cmake: ditto

	* development/scons/SConstruct: ditto

	* development/scons/scons_manifest.py: Add new files


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15897 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 10:27:57 +00:00
..
cmake Add a cache for converted image files. This needs to be enabled in the 2006-11-13 10:27:57 +00:00
Code_rules Whitespace, only whitespace. Part II. 2004-10-28 14:35:53 +00:00
lyx3 major cleanup of this totally outdated file 2006-07-14 08:30:26 +00:00
lyxserver Whitespace, only whitespace. Part II. 2004-10-28 14:35:53 +00:00
MacOSX/LyX.app/Contents 2006-08-08 Bennett Helm <bennett.helm@fandm.edu> 2006-08-08 10:03:09 +00:00
misc some scripts I fouind usefule when working on LyX 2006-10-21 07:05:52 +00:00
scons Add a cache for converted image files. This needs to be enabled in the 2006-11-13 10:27:57 +00:00
tools * development/tools/mkdoclinks.sh: 2006-08-13 10:21:06 +00:00
Win32 move compressor setting to lyx.nsi because it should not apply to scripts that include the settings file 2006-11-06 22:15:04 +00:00
boostworkaround.txt
ChangeLog Michael's installer patch 2006-03-13 10:55:56 +00:00
FORMAT New nomenclature inset from Ugras 2006-11-04 17:55:36 +00:00
gettext.patch
lazy_lyxtext.txt Ensure that the last line of text files ends with a newline. 2006-01-19 00:40:38 +00:00
lyx.rpm.README * lyx.rpm.README: remove mentioning of qt3 2006-10-21 08:55:17 +00:00
lyx.spec.in * development/lyx.spec.in: remove not unneeded sourcing of /etc/profile 2006-05-13 13:09:46 +00:00
Makefile.am Distribute INSTALL.scons and development/scons with autotools 2006-06-08 16:36:38 +00:00
Seminar.txt Ensure that the last line of text files ends with a newline. 2006-01-19 00:40:38 +00:00
TodoPlan-1.3 remove references to Qt3/Gtk 2006-10-30 21:45:37 +00:00