--- parser3/src/classes/image.C 2008/08/26 11:34:33 1.118 +++ parser3/src/classes/image.C 2009/04/22 21:28:52 1.121 @@ -1,11 +1,11 @@ /** @file Parser: @b image parser class. - Copyright(c) 2001-2005 ArtLebedev Group (http://www.artlebedev.com) + Copyright(c) 2001-2009 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char * const IDENT_IMAGE_C="$Date: 2008/08/26 11:34:33 $"; +static const char * const IDENT_IMAGE_C="$Date: 2009/04/22 21:28:52 $"; /* jpegsize: gets the width and height (in pixels) of a jpeg file @@ -453,9 +453,9 @@ static Value* parse_IFD_entry_formatted_ } /* case 11: // single float - todo + @todo case 12: // double float - todo + @todo */ }; @@ -535,7 +535,7 @@ static Value* parse_IFD_entry_value( // You can get the total data byte length by multiplies // a 'bytes/components' value (see above chart) by number of components stored 'NNNNNNNN' area uint components_count=endian_to_uint(is_big, entry.components_count); - size_t value_size=component_size*components_count; + uint value_size=component_size*components_count; // If its size is over 4bytes, 'DDDDDDDD' contains the offset to data stored address Value* result; @@ -962,7 +962,7 @@ static void _replace(Request& r, MethodP Table* table=params.as_no_junction(2, COORDINATES_MUST_NOT_BE_CODE).get_table(); if(!table) - throw Exception(0, + throw Exception(PARSER_RUNTIME, 0, "coordinates must be table"); @@ -979,7 +979,7 @@ static void _polyline(Request& r, Method Table* table=params.as_no_junction(1, COORDINATES_MUST_NOT_BE_CODE).get_table(); if(!table) - throw Exception(0, + throw Exception(PARSER_RUNTIME, 0, "coordinates must be table"); @@ -996,7 +996,7 @@ static void _polygon(Request& r, MethodP Table* table=params.as_no_junction(1, COORDINATES_MUST_NOT_BE_CODE).get_table(); if(!table) - throw Exception(0, + throw Exception(PARSER_RUNTIME, 0, "coordinates must be table");