gimp r22138 - in trunk: . app/file plug-ins/common



Author: mitch
Date: 2007-03-17 19:44:55 +0000 (Sat, 17 Mar 2007)
New Revision: 22138
ViewCVS link: http://svn.gnome.org/viewcvs/gimp?rev=22138&view=rev

Modified:
   trunk/ChangeLog
   trunk/app/file/file-utils.c
   trunk/plug-ins/common/tga.c
Log:
2007-03-17  Michael Natterer  <mitch gimp org>

	* app/file/file-utils.c (file_check_single_magic): alow negative
	offsets in magics and interpret them as relative to the end of the
	file.

	(file_utils_find_proc)
	(file_check_magic_list): some cleanup.

	* plug-ins/common/tga.c (query): register the magic string
	"TRUEVISION-XFILE.\0" 18 bytes before the end of the file.
	This way, "new style" TGA files are detected regardless of
	their filename. "old style" TGA files still need the right
	extension to be treated as TGA. Added "vda", "icb" and "vst"
	to the list of extensions. Fixes bug #133798.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]