ChangeLog 196 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753
  1. 2012-06-15 Frank Warmerdam <warmerdam@google.com>
  2. * libtiff 4.0.2 released.
  3. * tools/tif2pdf.c, tools/tifdump.c: avoid unitialized variable
  4. warnings with clang.
  5. 2012-06-15 Tom Lane <tgl@sss.pgh.pa.us>
  6. * tools/tiff2pdf.c: Defend against integer overflows while
  7. calculating required buffer sizes (CVE-2012-2113).
  8. 2012-06-12 Frank Warmerdam <warmerdam@google.com>
  9. * libtiff/tif_print.c: Be careful about printing corrupt inknames.
  10. * libtiff/tif_fax3.c: Ensure runs array is initialized to zeros.
  11. 2012-06-07 Frank Warmerdam <warmerdam@google.com>
  12. * libtiff/tif_print.c: avoid pretty printing other fields when
  13. we don't have the proper amount and type of data or if the field
  14. is actually autodefined.
  15. 2012-06-05 Frank Warmerdam <warmerdam@google.com>
  16. * libtiff/tif_tile.c, libtiff/tif_strip.c: Ensure that illegal
  17. ycbcrsubsampling values result in a runtime error, not just an
  18. assertion.
  19. * tests/custom_dir.c: Add testing of EXIF and custom directory
  20. reading and writing.
  21. * libtiff/tif_dir.c, libtiff/tiffio.h: Add TIFFCreateCustomDirectory()
  22. and TIFFCreateEXIFDirectory() functions.
  23. * libtiff/tif_dir.c, tif_print.c : Remove FIELD_CUSTOM handling for
  24. PAGENUMBER, HALFTONEHINTS, and YCBCRSUBSAMPLING. Implement DOTRANGE
  25. differently. This is to avoid using special TIFFGetField/TIFFSetField
  26. rules for these fields in non-image directories (like EXIF).
  27. 2012-06-04 Frank Warmerdam <warmerdam@google.com>
  28. * libtiff/tif_jpeg.c: Remove code for fixing up h_sampling and v_sampling
  29. in JPEGPreDecode(). If a fixup will be done it needs to be done sooner
  30. in JPEGFixupTagsSubsampling() or else buffer sized may be wrong.
  31. 2012-06-01 Frank Warmerdam <warmerdam@google.com>
  32. * tools/tiffinfo.c: Do not try to read image data in EXIF directories.
  33. * libtiff/tif_getimage.c: added support for _SEPARATED CMYK images.
  34. http://bugzilla.maptools.org/show_bug.cgi?id=2379
  35. * libtiff/tif_unix.c: use strerror() to return a more specific error message
  36. on failed open.
  37. http://bugzilla.maptools.org/show_bug.cgi?id=2341
  38. * libtiff/tif_jpeg.c: Fix JPEGDecodeRaw() bugs.
  39. http://bugzilla.maptools.org/show_bug.cgi?id=2386
  40. * tests/decode_raw.c, tests/images/quad-tile.jpg.tiff: add limited support
  41. for testing jpeg in tiff image decoding including the "raw" decode interface.
  42. 2012-05-31 Frank Warmerdam <warmerdam@google.com>
  43. * libtiff/tif_jpeg.c: avoid overrunning the end of the output buffer in
  44. JPEGDecodeRaw() - mostly likely to occur when there is confusion about
  45. sampling values.
  46. * libtiff/tif_read.c: Make sure tif_rawdatasize is cleared when tif_rawdata is freed.
  47. * libtiff/tif_getimage.c: Add support for greyscale+alpha c/o Jérémie Laval.
  48. http://bugzilla.maptools.org/show_bug.cgi?id=2398
  49. 2012-05-29 Frank Warmerdam <warmerdam@google.com>
  50. * libtiff/tif_dir.c: avoid using specific set/get logic to process fields in custom directories,
  51. like EXIF directories. This fixes problems like a tag "320" existing in a custom directory getting
  52. processed as if it were a colormap when it isn't really. Damn the wide variety of argument formulations
  53. to get/set functions for different tags!
  54. * libtiff/tif_dir.c: Ensure that we keep track of when tif_rawdata
  55. is a pointer into an mmap()ed file via TIFF_BUFFERMMAP flag.
  56. 2012-05-24 Frank Warmerdam <warmerdam@google.com>
  57. * libtiff/tif_pixarlog.c: Allocate working buffer one word larger since we "forward
  58. accumulate" and overwrite the end by one word in at least some cases.
  59. 2012-05-23 Frank Warmerdam <warmerdam@google.com>
  60. * libtiff/tif_pixarlog.c: avoid accessing out of the lookup arrays for out of range inputs.
  61. * tools/tiffinfo.c: initialize h=0 to avoid undefined variable for degenerate files.
  62. * libtiff/tif_ojpeg.c: if OJPEGWriteHeader() fails once do not bother trying again on
  63. the same image.
  64. * libtiff/tif_ojpeg.c: make things more resilient in the face of files without
  65. stripbytecounts or stripoffsets or where loading these fails.
  66. * libtiff/tif_print.c: be careful about whether min/max values are singular
  67. or one per sample.
  68. * libtiff/tif_print.c: Avoid confusion about count size when printing custom fields.
  69. May affect things like ISOSpeedRatings.
  70. * libtiff/tif_dir.c: avoid one byte past end of ink names reading
  71. in some cases.
  72. 2012-05-19 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  73. * man/TIFFGetField.3tiff: Correct the 'count' field type in the
  74. example for how to retreive the value of unsupported tags.
  75. 2012-03-30 Frank Warmerdam <warmerdam@google.com>
  76. * tif_getimage.c: Fix size overflow (zdi-can-1221,CVE-2012-1173)
  77. care of Tom Lane @ Red Hat.
  78. 2012-02-18 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  79. * libtiff 4.0.1 released.
  80. * Update automake used to 1.11.3.
  81. * libtiff/tiffio.h: Use double-underbar syntax in GCC printf
  82. attribute specification to lessen the risk of accidental macro
  83. substitution. Patch from Vincent Torri.
  84. 2012-01-31 Frank Warmerdam <warmerdam@pobox.com>
  85. * libtiff/tif_dir.c, libtiff/tif_dirread.c: Extra caution around
  86. assumption tag fetching is always successful.
  87. * libtiff/tif_jpeg.c: Extra caution for case where sp is NULL.
  88. 2012-01-22 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  89. * configure.ac: Add support for using library symbol versioning on
  90. ELF systems with the GNU linker. Support is enabled via
  91. --enable-ld-version-script. Disabled by default for now until
  92. there is a decision for how to deploy a libtiff with versioned
  93. symbols after libtiff 4.0.0 was already released.
  94. 2011-12-22 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  95. * libtiff/tif_win32.c: Eliminate some minor 64-bit warnings in
  96. tif_win32.c. Patch by Edward Lam.
  97. * configure.ac: Add libtiff private dependency on -llzma for
  98. pkg-config. Patch by Mark Brand.
  99. Updated Automake to 1.11.2.
  100. 2011-12-21 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  101. * libtiff 4.0.0 released.
  102. 2011-12-08 Frank Warmerdam <warmerdam@pobox.com>
  103. * libtiff/tif_dirread.c, libtiff/tif_read.c: more cautious checking
  104. of _TIFFFillStriles() results (#gdal 4372)
  105. 2011-12-07 Frank Warmerdam <warmerdam@pobox.com>
  106. * libtiff/tif_dirread.c: fixes to deal with invalid files where
  107. _TIFFFillStriles() fails, and we try to chop up strips (gdal #4372)
  108. * libtiff/tif_dirread.c: fix error reporting when there is no
  109. tag information struct and name (gdal #4373)
  110. 2011-10-22 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  111. * Update GNU libtool to 2.4.2.
  112. * tools/tiffsplit.c (tiffcp): TIFFGetField count field should be
  113. uint32 type for TIFFTAG_JPEGTABLES. Patch by Christophe
  114. Deroulers.
  115. 2011-06-21 Frank Warmerdam <warmerdam@pobox.com>
  116. * libtiff/libtiff.def: Restore TIFFMergeFieldInfo.
  117. 2011-05-31 Jim Meyering <meyering@redhat.com>
  118. * libtiff/tif_dirread.c (TIFFFetchStripThing): Free "data" also
  119. upon failure to allocate "resizeddata".
  120. * tools/tiff2ps.c (PSDataBW): Zero buffer *after* checking for
  121. allocation failure, not before.
  122. * libtiff/tif_ojpeg.c: plug leaks on OJPEG read failure path
  123. * tools/rgb2ycbcr.c (cvtRaster): unchecked malloc
  124. * libtiff/tif_jpeg.c, tools/tiff2pdf.c, tools/tiff2ps.c: mark
  125. NULL-deref and possible overflow
  126. * tools/tiff2pdf.c: remove decl+set of set-but-not-used local, "written"
  127. * libtiff/tif_jpeg.c (JPEGInitializeLibJPEG): Remove declaration
  128. and set of otherwise unused local, data_is_empty.
  129. * libtiff/tif_jpeg.c (JPEGDecodeRaw) [JPEG_LIB_MK1_OR_12BIT]:
  130. Diagnose out-of-memory failure and return 0 rather than
  131. dereferencing NULL.
  132. 2011-05-24 Frank Warmerdam <warmerdam@pobox.com>
  133. * libtiff/tif_dirread.c: produce special error message for zero tag
  134. directories instead of error out on the malloc(0) failure.
  135. 2011-05-16 Frank Warmerdam <warmerdam@pobox.com>
  136. * libtiff/tif_dirinfo.c: Restore TIFFMergeFieldInfo() and
  137. related declarations as they are in active use by libraries
  138. such as libgeotiff, and work just fine. (#2315)
  139. 2011-04-20 Frank Warmerdam <warmerdam@pobox.com>
  140. * libtiff/tif_dirinfo.c,tiffio.h: Remove the obsolete
  141. TIFFMergeFieldInfo/TIFFFindFieldInfo/TIFFFindFieldInfoByName API.
  142. http://bugzilla.maptools.org/show_bug.cgi?id=2315
  143. * libtiff/libtiff.def: add some missing (64bit) APIs.
  144. http://bugzilla.maptools.org/show_bug.cgi?id=2316
  145. 2011-04-09 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  146. * libtiff 4.0.0beta7 released.
  147. 2011-04-09 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  148. * configure.ac: Should use AC_CANONICAL_HOST since host specifies
  149. the run-time target whereas target is used to specify the final
  150. output target if the package is a build tool (like a compiler),
  151. which libtiff is not. Resolves libtiff bug 2307 "Use
  152. AC_CANONICAL_HOST macro".
  153. 2011-04-02 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  154. * configure.ac: Support configuring TIFF_INT64_FORMAT and
  155. TIFF_UINT64_FORMAT appropriately for MinGW32.
  156. * tools/tiffdump.c (ReadDirectory): MinGW32 needs to use WIN32
  157. printf conventions for 64-bit types because it uses the WIN32 CRT.
  158. * libtiff/{tif_dumpmode.c,tif_luv.c,tif_lzw.c,tif_print.c,
  159. tif_read.c,tif_strip.c,tif_thunder.c}: MinGW32 needs to use WIN32
  160. printf conventions for 64-bit types because it uses the WIN32 CRT.
  161. * tools/tiff2pdf.c (t2p_write_pdf_string): Fix printf syntax not
  162. understood by WIN32 CRT.
  163. * libtiff/tif_ojpeg.c: Fixes to compile with MinGW32 GCC.
  164. * tools/fax2ps.c (main): Use tmpfile() rather than mkstemp() since
  165. it is much more portable. Tmpfile is included in ISO/IEC
  166. 9899:1990 and the WIN32 CRT.
  167. 2011-03-26 Frank Warmerdam <warmerdam@pobox.com>
  168. * tools/tiffset.c: add -d and -sd switches to allow operation on
  169. a particular directory, not just the first (jef).
  170. 2011-03-21 Frank Warmerdam <warmerdam@pobox.com>
  171. * libtiff/tif_thunder.c: Correct potential buffer overflow with
  172. thunder encoded files with wrong bitspersample set. The libtiff
  173. development team would like to thank Marin Barbella and TippingPoint's
  174. Zero Day Initiative for reporting this vulnerability (ZDI-CAN-1004,
  175. CVE-2011-1167).
  176. http://bugzilla.maptools.org/show_bug.cgi?id=2300
  177. 2011-03-10 Frank Warmerdam <warmerdam@pobox.com>
  178. * libtiff/tif_fax3.h: Fix to last change allowing zero length
  179. runs at the start of a scanline - needed for legal cases.
  180. 2011-03-02 Frank Warmerdam <warmerdam@pobox.com>
  181. * libtiff/tif_fax3.h: Protect against a fax VL(n) codeword commanding
  182. a move left. Without this, a malicious input file can generate an
  183. indefinitely large series of runs without a0 ever reaching the right
  184. margin, thus overrunning our buffer of run lengths. Per CVE-2011-0192.
  185. This is a modified version of a patch proposed by Drew Yao of Apple
  186. Product Security. It adds an unexpected() report, and disallows the
  187. equality case, since emitting a run without increasing a0 still allows
  188. buffer overrun.
  189. 2011-02-23 Frank Warmerdam <warmerdam@pobox.com>
  190. * libtiff/tif_jpeg.c: avoid divide by zero in degenerate case (#2296)
  191. * tools/tiff2rgba.c: close source file on error to make leak
  192. detection easier.
  193. * libtiff/tif_getimage.c: avoid leaks if TIFFRGBAImageBegin() fails.
  194. http://bugzilla.maptools.org/show_bug.cgi?id=2295
  195. 2011-02-22 Frank Warmerdam <warmerdam@pobox.com>
  196. * libtiff/tif_lzma.c: Maintain tif_rawcc/tif_rawcp (CHUNKY_STRING_READ
  197. _SUPPORT)
  198. 2011-02-18 Frank Warmerdam <warmerdam@pobox.com>
  199. * configure.ac, configure: Added support for --enable-chunky-strip-read
  200. configure option to enable the experimental feature from a couple
  201. months ago for reading big strips in chunks.
  202. * configure.ac, tif_read.c, tif_readdir.c, tif_dir.h, tiffiop.h,
  203. tif_write.c, tif_print.c, tif_jpeg.c, tif_dirwrite.c, tif_write.c:
  204. Implement optional support for deferring the load of strip/tile
  205. offset and size tags for optimized scanning of directories. Enabled
  206. with the --enable-defer-strile-load configure option (DEFER_STRILE_LOAD
  207. #define in tif_config.h).
  208. 2011-02-11 Frank Warmerdam <warmerdam@pobox.com>
  209. * libtiff/tif_print.c: remove unused variable.
  210. 2011-02-09 Frank Warmerdam <warmerdam@pobox.com>
  211. * libtiff/tif_win32.c: avoid error/warning buffer overrun problem
  212. with non-console (popup message) builds on win32.
  213. http://bugzilla.maptools.org/show_bug.cgi?id=2293
  214. 2011-01-24 Olivier Paquet <olivier.paquet@gmail.com>
  215. * libtiff/{tif_dir.{h,c}, tif_dirinfo.c, tif_dirread.c, tif_dirwrite.c,
  216. tif_print.c, tiff.h, tiffiop.h} : Added support for
  217. TIFFTAG_SMINSAMPLEVALUE and TIFFTAG_SMAXSAMPLEVALUE to have different
  218. values for each sample. Presents the min/max of all samples by default for
  219. compatibility. TIFFSetField/TIFFGetField can be made to handle those tags
  220. as arrays by changing the new TIFFTAG_PERSAMPLE pseudo tag.
  221. http://www.asmail.be/msg0055458208.html
  222. 2011-01-06 Frank Warmerdam <warmerdam@pobox.com>
  223. * libtiff/tif_pixarlog.c: Note that tif_rawcc/tif_rawcp are not
  224. maintained.
  225. * libtiff/tif_zip.c: Maintain tif_rawcc/tif_rawcp when decoding
  226. for CHUNKY_STRIP_READ_SUPPORT.
  227. * libtiff/tif_jpeg.c: ensure that rawcc and rawcp are maintained
  228. during JPEGPreDecode and JPEGDecode calls.
  229. * libtiff/tif_read.c: larger read ahead for CHUNKY_STRIP_READ_SUPPORT,
  230. as compression formats like JPEG keep 16 lines interleaved in a sense
  231. and might need to touch quite a bit of data.
  232. http://trac.osgeo.org/gdal/ticket/3894
  233. 2011-01-03 Lee Howard <faxguy@howardsilvan.com>
  234. * libtiff/tif_jpeg.c: Fix regressions with 2 and 3 band images
  235. caused by commit on 2010-12-14. Submitted by e-mail from
  236. Even Rouault <even.rouault@mines-paris.org>
  237. 2010-12-31 Olivier Paquet <olivier.paquet@gmail.com>
  238. * libtiff/tif_dirwrite.c: Fixed writing of TIFFTAG_REFERENCEBLACKWHITE.
  239. http://bugzilla.maptools.org/show_bug.cgi?id=2266
  240. 2010-12-23 Andrey Kiselev <dron@ak4719.spb.edu>
  241. * tools/tiffcp.c, man/tiffcp.1: Added support for specifying the
  242. compression level parameter (preset) for Deflate and LZMA encoders,
  243. e.g "-c lzma:p1" or "-c zip:p9".
  244. * libtiff/tif_lzma.c: Properly set the LZMA2 compression level
  245. (preset) in LZMAVSetField().
  246. 2010-12-18 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  247. * libtiff/Makefile.am (libtiff_la_SOURCES): Added tif_lzma.c to
  248. Makefile.
  249. 2010-12-14 Andrey Kiselev <dron@ak4719.spb.edu>
  250. * configure.ac, libtiff/{tif_codec.c, tif_config.h.in, tiff.h,
  251. tiffiop.h, tif_lzma.c}, tools/tiffcp.c, man/tiffcp.1: Implement a new
  252. TIFF compression scheme LZMA reserving a new value 34925 for
  253. Compression tag. As per
  254. bug http://bugzilla.maptools.org/show_bug.cgi?id=2221
  255. 2010-12-14 Lee Howard <faxguy@howardsilvan.com>
  256. * libtiff/tif_dirread.c: tolerate some cases where
  257. FIELD_COLORMAP is missing
  258. http://bugzilla.maptools.org/show_bug.cgi?id=2189
  259. 2010-12-14 Lee Howard <faxguy@howardsilvan.com>
  260. * libtiff/tif_read.c: change read_ahead to tmsize_t
  261. http://bugzilla.maptools.org/show_bug.cgi?id=2222
  262. 2010-12-14 Lee Howard <faxguy@howardsilvan.com>
  263. * configure.ac, libtiff/Makefile.am: Build tif_win32.c on
  264. Windows except on Cygwin
  265. http://bugzilla.maptools.org/show_bug.cgi?id=2224
  266. 2010-12-14 Lee Howard <faxguy@howardsilvan.com>
  267. * tools/gif2tiff.c: fix buffer overrun
  268. http://bugzilla.maptools.org/show_bug.cgi?id=2270
  269. 2010-12-14 Lee Howard <faxguy@howardsilvan.com>
  270. * libtiff/tif_jpeg.c: reduce usage of JCS_UNKNOWN in order
  271. to improve compatibility with various viewers
  272. submitted by e-mail from Dwight Kelly <dkelly@apago.com>
  273. 2010-12-13 Lee Howard <faxguy@howardsilvan.com>
  274. * tools/fax2ps.c: be consistent with page-numbering
  275. http://bugzilla.maptools.org/show_bug.cgi?id=2225
  276. 2010-12-13 Lee Howard <faxguy@howardsilvan.com>
  277. * libtiff/tif_color.c: prevent crash in handling bad TIFFs
  278. resolves CVE-2010-2595
  279. http://bugzilla.maptools.org/show_bug.cgi?id=2208
  280. 2010-12-13 Lee Howard <faxguy@howardsilvan.com>
  281. * tools/tiffcrop.c: new release by Richard Nolde
  282. http://bugzilla.maptools.org/show_bug.cgi?id=2004
  283. 2010-12-12 Lee Howard <faxguy@howardsilvan.com>
  284. * tools/tiff2pdf.c: fix colors for images with RGBA
  285. interleaved data
  286. http://bugzilla.maptools.org/show_bug.cgi?id=2250
  287. 2010-12-12 Lee Howard <faxguy@howardsilvan.com>
  288. * libtiff/tif_dirread.c: fix for Zeiss LSM and Canon CR2 files
  289. http://bugzilla.maptools.org/show_bug.cgi?id=2164
  290. 2010-12-11 Lee Howard <faxguy@howardsilvan.com>
  291. * tools/tiff2pdf.c: remove invalid duplication for Lab
  292. http://bugzilla.maptools.org/show_bug.cgi?id=2162
  293. 2010-12-11 Lee Howard <faxguy@howardsilvan.com>
  294. * libtiff/tif_jpeg.c: fix use of clumplines calculation
  295. http://bugzilla.maptools.org/show_bug.cgi?id=2149
  296. 2010-12-11 Lee Howard <faxguy@howardsilvan.com>
  297. * tools/fax2ps.c: replace unsafe tmpfile() with mkstemp()
  298. http://bugzilla.maptools.org/show_bug.cgi?id=2118
  299. 2010-12-11 Lee Howard <faxguy@howardsilvan.com>
  300. * libtiff/tif_ojpeg.c, libtiff/tif_pixarlog.c,
  301. libtiff/tif_zip.c: fix build errors for VC6
  302. http://bugzilla.maptools.org/show_bug.cgi?id=2105
  303. 2010-12-11 Lee Howard <faxguy@howardsilvan.com>
  304. * libtiff/tif_stream.cxx: warnings cleanup
  305. http://bugzilla.maptools.org/show_bug.cgi?id=2091
  306. * libtiff/tif_dirread.c: warnings cleanup
  307. http://bugzilla.maptools.org/show_bug.cgi?id=2092
  308. 2010-12-11 Lee Howard <faxguy@howardsilvan.com>
  309. * tools/tiff2pdf.c: add fill-page option
  310. http://bugzilla.maptools.org/show_bug.cgi?id=2051
  311. 2010-12-11 Lee Howard <faxguy@howardsilvan.com>
  312. * libtiff/tif_dirread.c: modify warnings
  313. http://bugzilla.maptools.org/show_bug.cgi?id=2016
  314. 2010-12-11 Lee Howard <faxguy@howardsilvan.com>
  315. * libtiff/tif_ojpeg.c: fix buffer overflow on problem data
  316. http://bugzilla.maptools.org/show_bug.cgi?id=1999
  317. 2010-12-11 Lee Howard <faxguy@howardsilvan.com>
  318. * tools/tiffinfoce.c: strip byte counts are uint64* now
  319. 2010-12-11 Lee Howard <faxguy@howardsilvan.com>
  320. * libtiff/tif_ojpeg.c: fix crash when reading a TIFF with a zero
  321. or missing byte-count tag
  322. * tools/tiffsplit.c: abort when reading a TIFF without a byte-count
  323. per http://bugzilla.maptools.org/show_bug.cgi?id=1996
  324. 2010-12-08 Lee Howard <faxguy@howardsilvan.com>
  325. * libtiff/tif_dirread.c: fix crash when reading a badly-constructed
  326. TIFF per http://bugzilla.maptools.org/show_bug.cgi?id=1994
  327. 2010-12-06 Lee Howard <faxguy@howardsilvan.com>
  328. * libtiff/tif_open.c: Fix mode check before opening a file.
  329. http://bugzilla.maptools.org/show_bug.cgi?id=1906
  330. 2010-11-27 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  331. * libtiff-4.pc.in: Added libtiff pkg-config .pc file support.
  332. Patch by Vincent Torri.
  333. 2010-10-21 Frank Warmerdam <warmerdam@pobox.com>
  334. * tools/tiffinfo.c: avoid direct reference to _TIFFerrorHandler.
  335. * libtiff/tif_config.vc.h: define snprintf to _snprintf for tiff2pdf.
  336. * libtiff/libtiff.def: export _TIFFCheckMalloc for tools.
  337. 2010-09-25 Lee Howard <faxguy@howardsilvan.com>
  338. * tools/tiff2ps.c: improvements and enhancements from Richard Nolde
  339. with additional command line options for Document Title,
  340. Document Creator, and Page Orientation
  341. 2010-07-13 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  342. * tools/tiffcrop.c: Patch from Richard Nolde to avoid a
  343. potentially unterminated buffer due to using an exceptionally long
  344. file name.
  345. 2010-07-08 Andrey Kiselev <dron@ak4719.spb.edu>
  346. * tools/tiff2pdf.c: Fixed ID buffer filling in
  347. t2p_write_pdf_trailer(), thanks to Dmitry V. Levin.
  348. 2010-07-07 Andrey Kiselev <dron@ak4719.spb.edu>
  349. * libtiff/tif_dirread.c: Really reset the tag count in CheckDirCount()
  350. to expected value as the warning message suggests. As per bug
  351. http://bugzilla.maptools.org/show_bug.cgi?id=1963
  352. 2010-07-06 Andrey Kiselev <dron@ak4719.spb.edu>
  353. * tools/tiffset.c: Properly handle TIFFTAG_PAGENUMBER,
  354. TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING, TIFFTAG_DOTRANGE
  355. which should be set by value.
  356. * libtiff/tif_dirinfo.c: Don't use assertions in _TIFFFieldWithTag()
  357. and _TIFFFieldWithName() if the tag is not found in the tag table.
  358. This should be normal situation and returned NULL value should be
  359. properly handled by the caller.
  360. 2010-07-02 Andrey Kiselev <dron@ak4719.spb.edu>
  361. * libtiff/tif_getimage.c: Avoid wrong math du to the signed/unsigned
  362. integer type conversions. As per bug
  363. http://bugzilla.maptools.org/show_bug.cgi?id=2207
  364. * tools/{tiff2bw.c, thumbnail.c, pal2rgb.c}: Fix the count for
  365. WhitePoint tag as per bug
  366. http://bugzilla.maptools.org/show_bug.cgi?id=2042
  367. * libtiff/tif_getimage.c: Check the number of samples per pixel when
  368. working with YCbCr image in PickContigCase(). As per bug
  369. http://bugzilla.maptools.org/show_bug.cgi?id=2216
  370. * libtiff/tif_dir.c: Set the bogus post-decoding hook when processing
  371. TIFFTAG_BITSPERSAMPLE in _TIFFVSetField() for the case of 8 bit when
  372. we don't need any post-processing. That helps to reset the hook if we
  373. previously set this field to some other value and the hook was
  374. initialized accordingly. As per bug
  375. http://bugzilla.maptools.org/show_bug.cgi?id=2035
  376. 2010-07-01 Andrey Kiselev <dron@ak4719.spb.edu>
  377. * tools/tiffgt.c: Properly check the raster buffer allocations for
  378. integer overflows. As per bug
  379. http://bugzilla.maptools.org/show_bug.cgi?id=2108
  380. * m4/acinclude.m4: Update GL/GLU/GLUt/Pthread macros from the
  381. upstream.
  382. * libtiff/{tif_aux.c, tif_strip.c, tif_tile.c, tiffiop.h}: Move
  383. multiply_32() and multiply_64() functions into tif_aux.c file and
  384. rename them into _TIFFMultiply32() and _TIFFMultiply64() respectively.
  385. 2010-06-30 Andrey Kiselev <dron@ak4719.spb.edu>
  386. * tools/tiff2pdf.c: Better generation of ID field in
  387. t2p_write_pdf_trailer(). Get rid of GCC aliasing warnings.
  388. * tools/tiff2pdf.c: Fixed computation of the tile buffer size when
  389. converting JPEG encoded tiles.
  390. * tools/tiff2pdf.c: Better handling of string fields, use static
  391. string buffers instead of dynamically allocated, use strncpy() instead
  392. of strcpy(), control the string lengths.
  393. 2010-06-25 Andrey Kiselev <dron@ak4719.spb.edu>
  394. * tools/tiffcp.c: Initialize buffer arrays with zero to avoid
  395. referencing to uninitialized memory in some cases (e.g. when tile size
  396. set bigger than the image size).
  397. 2010-06-15 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  398. * tools/tiffcrop.c: Patch from Richard Nolde. Reject YCbCr
  399. subsampled data since tiffcrop currently doesn't support it. Fix
  400. JPEG support.
  401. 2010-06-13 Frank Warmerdam <warmerdam@pobox.com>
  402. * libtiff/tif_dirinfo.c: Fix invocation of tag compare function (#2201)
  403. * tools/tiff2pdf.c: Fix assorted bugs in tiff2pdf: missing "return"
  404. in t2p_read_tiff_size() causes t2p->tiff_datasize to be set entirely
  405. wrong for COMPRESSION_JPEG case, resulting in memory stomp if actual
  406. size is larger. Also, there are a bunch of places that try to
  407. memset() a malloc'd buffer before checking for malloc failure, which
  408. would result in core dump if there actually were a failure. (#2211)
  409. 2010-06-11 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  410. * libtiff/tiffiop.h (TIFFSafeMultiply): Need more castings to
  411. avoid compiler warnings if parameter types are not sign
  412. consistent.
  413. * libtiff 4.0.0alpha6 released.
  414. * tools/tiffcrop.c: Applied patch from Richard Nolde: Corrected
  415. European page size dimensions. Added an option to allow the user
  416. to specify a custom page size on the command line. Fix the case
  417. where a page size specified with a fractional part was being
  418. coerced to an integer by retyping the variables that define the
  419. paper size.
  420. * html/index.html: Update for the 3.9.3 release.
  421. * tools/tiffcp.c (tiffcp): Applied Tom Lane's patch to reject
  422. YCbCr subsampled data since tiffcp currently doesn't support it.
  423. http://bugzilla.maptools.org/show_bug.cgi?id=2097
  424. * Update libtool to version 2.2.10.
  425. 2010-06-10 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  426. * libtiff/tiffiop.h (TIFFSafeMultiply): Work properly if
  427. multiplier is zero.
  428. 2010-06-09 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  429. * libtiff/tif_fax3.c (Fax3SetupState): Yesterday's fix for
  430. CVE-2010-1411 was not complete.
  431. * libtiff/tiffiop.h (TIFFSafeMultiply): New macro to safely
  432. multiply two integers. Returns zero if there is an integer
  433. overflow.
  434. * tools/tiffcp.c (main): tiffcp should not leak memory if an error
  435. is reported when reading the input file.
  436. 2010-06-08 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  437. * Update libtool to version 2.2.8.
  438. * libtiff/tif_fax3.c (Fax3SetupState): Avoid under-allocation of
  439. buffer due to integer overflow in TIFFroundup() and several other
  440. potential overflows. In conjunction with the fix to TIFFhowmany(),
  441. fixes CVE-2010-1411.
  442. * libtiff/tiffiop.h (TIFFhowmany): Return zero if parameters would
  443. result in an integer overflow. This causes TIFFroundup() to also
  444. return zero if there would be an integer overflow.
  445. * contrib: Add an emacs formatting mode footer to all source files
  446. so that emacs can be effectively used.
  447. 2010-06-03 Oliver Chen Feng <scip8183@gmail.com>
  448. * libtiff/tools/tiffcp.c: add a new option -x to force merged tiff
  449. file PAGENUMBER value in sequence for users who care the page
  450. sequence, this will also prevent tiff2pdf from creating pdf file from
  451. the merged tiff file with wrong page sequence.
  452. 2010-05-08 Olivier Paquet <olivier.paquet@gmail.com>
  453. * libtiff/tif_dirread.c: Restored TIFFReadDirEntryFloat function in order
  454. to add missing TIFF_SETGET_FLOAT case to TIFFFetchNormalTag.
  455. * libtiff/tif_dirinfo.c: Use correct set_field_type for
  456. TIFFTAG_PIXAR_FOVCOT so it is readable again (regression from 3.9.2).
  457. http://bugzilla.maptools.org/show_bug.cgi?id=2192
  458. 2010-05-07 Frank Warmerdam <warmerdam@pobox.com>
  459. * libtiff/tif_jpeg.c: Ensure that quality is always set in
  460. JPEGPreEncode(), not just when we want to output local tables.
  461. Otherwise the quality used during compression may not be right and
  462. might not match the tables in the tables tag. This bug only occurs
  463. when seeking between directories in the midst of writing blocks.
  464. http://trac.osgeo.org/gdal/ticket/3539
  465. 2010-05-06 Andrey Kiselev <dron@ak4719.spb.edu>
  466. * html/man/TIFFGetField.3tiff.html, html/man/TIFFSetField.3tiff.html:
  467. Regenerated from the source.
  468. 2010-05-05 Olivier Paquet <olivier.paquet@gmail.com>
  469. * libtiff/tif_print.c: Fixed printing of TIFFTAG_REFERENCEBLACKWHITE which
  470. had stopped working. Also made it always print 6 floats instead of
  471. 2*SamplesPerPixel.
  472. http://bugzilla.maptools.org/show_bug.cgi?id=2191
  473. http://bugzilla.maptools.org/show_bug.cgi?id=2186
  474. * man/TIFFGetField.3tiff, man/TIFFSetField.3tiff: Fixed doc to reflect the
  475. fact that libtiff considers TIFFTAG_REFERENCEBLACKWHITE to be 6 floats.
  476. 2010-05-05 Frank Warmerdam <warmerdam@pobox.com>
  477. * libtiff/tif_jpeg.c: Fix to use memcmp(), not memcpy() when checking
  478. if the jpeg table was written. This is a fix for the last fix on 04-21.
  479. 2010-04-21 Frank Warmerdam <warmerdam@pobox.com>
  480. * libtiff/tif_jpeg.c: avoid preparing jpeg tables everytime
  481. JPEGSetupEncode() is called if the tables already seem to be
  482. established. This prevents spurious updates and rewriting of
  483. directories with jpegtables when doing updates to existing images.
  484. http://trac.osgeo.org/gdal/ticket/3539
  485. 2010-04-20 Olivier Paquet <olivier.paquet@gmail.com>
  486. * libtiff/tif_dirinfo.c: Use correct set_field_type for
  487. TIFFTAG_PIXAR_IMAGEFULLWIDTH, TIFFTAG_PIXAR_IMAGEFULLLENGTH,
  488. TIFFTAG_PIXAR_MATRIX_WORLDTOSCREEN and TIFFTAG_PIXAR_MATRIX_WORLDTOCAMERA.
  489. They were unreadable with TIFF_SETGET_UNDEFINED, a regression from 3.9.2.
  490. http://bugzilla.maptools.org/show_bug.cgi?id=2139
  491. 2010-04-10 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  492. * libtiff/tif_dir.c (_TIFFVSetField): Add a special error case for
  493. when the tag count value is zero. Error handling is still a
  494. regression since in 3.9.2, empty tags are skipped (with a warning)
  495. rather than returning a hard error and refusing to read the file.
  496. * tools/ppm2tiff.c (main): While case for parsing comment line
  497. requires extra parenthesis to work as expected. Reported by
  498. Thomas Sinclair.
  499. 2010-04-02 Frank Warmerdam <warmerdam@pobox.com>
  500. * libtiff/tif_read.c (primarily): Add support for
  501. CHUNKY_STRIP_READ_SUPPORT where large strips are
  502. read in chunks for applications using TIFFReadScanline().
  503. This is intended to make it more practical work with very
  504. large compressed one-strip files. Feature is off by default.
  505. Enable by defining CHUNK_STRIP_READ_SUPPORT as a macro.
  506. http://trac.osgeo.org/gdal/ticket/3514
  507. 2010-03-31 Frank Warmerdam <warmerdam@pobox.com>
  508. * libtiff/tif_flush.c: Use TIFFRewriteDirectory() when flushing
  509. directories so previously placed directories will be migrated to
  510. the end of file if needed.
  511. 2010-03-30 Frank Warmerdam <warmerdam@pobox.com>
  512. * libtiff/tif_lzw.c: change type of dec_bitsleft field to uint64
  513. to support operating on strips/tiles of more than 256MB.
  514. http://trac.osgeo.org/gdal/ticket/3512
  515. 2010-03-10 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  516. * libtiff/tif_aux.c (_TIFFCheckRealloc): Improve error message so
  517. that it is clearly a memory allocation error message, and also
  518. includes the size of the allocation request.
  519. 2010-02-22 Lee Howard <faxguy@howardsilvan.com>
  520. * libtiff/tif_jpeg.c: Do not generate a JPEGTables tag when creating
  521. the JPEG TIFF as is is not required in order to prevent it from
  522. being unused and filled with invalid data. (Leave it to be
  523. generated by later activity.)
  524. http://bugzilla.maptools.org/show_bug.cgi?id=2135
  525. * tools/tiff2pdf.c: Write the JPEG SOI headers into the TIFF strip
  526. data rather than skipping them. This fixes the ability to view in
  527. Acrobat Reader, Evince, and Ghostscript.
  528. http://bugzilla.maptools.org/show_bug.cgi?id=2135
  529. * libtiff/tif_fax3.c: Don't return error on badly-terminated MMR
  530. strips.
  531. http://bugzilla.maptools.org/show_bug.cgi?id=2029
  532. 2009-12-03 Frank Warmerdam <warmerdam@pobox.com>
  533. * libtiff/tif_jpeg.c: Made JPEGDecodeRaw() check for buffer overruns.
  534. Made so that when working with downsampled images a stub function
  535. reporting an error is used for tif_decoderow. We cannot meaningfully
  536. support reading scanlines in this situation. (#1936)
  537. * libtiff/tif_jpeg.c: Ensure that tif_scanlinesize is computed after
  538. resetting of the upsampling values (gdal:#3259).
  539. http://bugzilla.maptools.org/show_bug.cgi?id=1936
  540. 2009-11-30 Frank Warmerdam <warmerdam@pobox.com>
  541. * contrib/dbs/tiff-grayscale.c, contrib/tif-palette.c,
  542. tools/ras2tiff.c: Fix resource leaks on error.
  543. http://bugzilla.maptools.org/show_bug.cgi?id=2121
  544. * libtiff/tif_{aux.c,dir.c,dir.h,dirinfo.c}: Return to handling
  545. TIFFTAG_REFERENCEBLACKWHITE as a field in the TIFF directory instead
  546. of as a custom(generic) field to avoid a potential reentrancy problem.
  547. http://bugzilla.maptools.org/show_bug.cgi?id=2125
  548. * libtiff/tif_color.c, libtiff/tif_getimage.c, libtiff/tiffio.h,
  549. man/TIFFcolor.3tiff: Make TIFFDisplay argument in TIFFCIELabToRGBInit
  550. const, and display_sRGB static and const.
  551. http://bugzilla.maptools.org/show_bug.cgi?id=2124
  552. 2009-11-04 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  553. * libtiff 4.0.0alpha5 released.
  554. 2009-11-03 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  555. * tools/tiffcrop.c: Updated tiffcrop from Richard Nolde. This
  556. version has undergone substantial testing with arbitrary sample
  557. bit depths. Also eliminates GCC compilation warnings.
  558. 2009-11-02 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  559. * port/libport.h: Add extern declarations for getopt standard
  560. globals.
  561. 2009-10-31 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  562. * libtiff/tif_lzw.c (LZWDecode, LZWDecodeCompat): Fix warnings
  563. noticed in 64-bit build of libtiff with Visual Studio 2005.
  564. Resolves "Bug 2067 - Visual Studio 2005 64-bit warnings in
  565. tif_lzw.c", http://bugzilla.maptools.org/show_bug.cgi?id=2067
  566. * libtiff/tif_pixarlog.c (PixarLogEncode): Fix non-important
  567. warning noticed in Visual Studio 2005 build. Resolves "Bug 2068 -
  568. Visual Studio 2005 64-bit warning in tif_pixarlog.c",
  569. http://bugzilla.maptools.org/show_bug.cgi?id=2068
  570. 2009-10-29 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  571. * libtiff/tif_dirread.c: Eliminate GCC "dereferencing type-punned
  572. pointer" warnings.
  573. 2009-10-28 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  574. * html/tools.html: Add manual page links, and a summary
  575. description of tiffcrop.
  576. 2009-10-07 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  577. * configure.ac: x86_64 should use the same fill order as i386.
  578. 2009-09-24 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  579. * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop from Richard
  580. Nolde. Major updates to add significant functionality for reading
  581. and writing tile based images with bit depths not a multiple of 8
  582. which cannot be handled by tiffcp.
  583. 2009-09-03 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  584. * libtiff/tif_ojpeg.c (OJPEGWriteHeaderInfo): IJG JPEG 7 needs
  585. do_fancy_upsampling=FALSE in order to read raw data. Resolves
  586. "Bug 2090 - OJPEG crash with libjpeg v7".
  587. http://bugzilla.maptools.org/show_bug.cgi?id=2090
  588. 2009-09-03 Frank Warmerdam <warmerdam@pobox.com>
  589. * libtiff/tif_getimage.c: Fixed error recognition handling in RGBA
  590. interface when stoponerror is set.
  591. http://bugzilla.maptools.org/show_bug.cgi?id=2071
  592. 2009-08-30 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  593. * tools/{tiffcrop.c,tiffgt.c}: Applied patch from Oden Eriksson to
  594. fix build with gcc when using the "-Wformat
  595. -Werror=format-security" flags.
  596. 2009-08-29 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  597. * test/{bmp2tiff_palette.sh, bmp2tiff_rgb.sh, gif2tiff.sh,
  598. ppm2tiff_pbm.sh, ppm2tiff_pgm.sh, ppm2tiff_ppm.sh}: Additional
  599. utilities tests.
  600. 2009-08-28 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  601. * tools/tiffinfo.c: tiffinfo should return error status to the
  602. caller. Register a private error callback to accomplish that.
  603. * test/Makefile.am (TIFFIMAGES): Add test images in BMP, GIF, and
  604. PNM formats so that we will be able to test more of the tools.
  605. While adding these test images I notice that bmp2tiff and gif2tiff
  606. only support ancient versions of their respective formats.
  607. 2009-08-27 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  608. * libtiff 4.0.0alpha4 released.
  609. * HOWTO-RELEASE: Improved release instructions.
  610. 2009-08-24 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  611. * man/{TIFFClose.3tiff,raw2tiff.1,tiffcmp.1,tiffsplit.1}: Applied
  612. fixes for "Bug 2023 - nroff errors in manual pages".
  613. http://bugzilla.maptools.org/show_bug.cgi?id=2023
  614. * tools/{rgb2ycbcr.c, tiff2rgba.c}: Applied fixes for "Bug 2079 -
  615. CVE-2009-2347 libtiff: integer overflows in various inter-color
  616. space conversion tools".
  617. http://bugzilla.maptools.org/show_bug.cgi?id=2079
  618. * libtiff/tif_print.c (TIFFPrintDirectory): Apply fix from Jay
  619. Berkenbilt for "Bug 2024 - possible null pointer dereference with
  620. one-line fix".
  621. http://bugzilla.maptools.org/show_bug.cgi?id=2024
  622. * libtiff/tif_dirread.c (TIFFReadCustomDirectory): Apply patch
  623. from Jay Berkenbilt for "Bug 1895 - logic error in tif_dirread.c:
  624. segfault after setting tdir_tag = IGNORE".
  625. http://bugzilla.maptools.org/show_bug.cgi?id=1895
  626. 2009-08-23 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  627. * test/Makefile.am, test/tiffcrop*.sh: Split previously existing
  628. tiffcrop.sh into a collection of many specific tests. Re-wrote
  629. all of the existing tests to be based on some simple shell
  630. functions. Make distcheck works again.
  631. Export certain variables (MAKE, MAKEFLAGS, MEMCHECK) to tests and
  632. added 'memcheck' and 'ptrcheck' targets to make it easy to run the
  633. tests under valgrind.
  634. 2009-08-21 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  635. * test/tiffcp-logluv.sh: Fix test so that it works with a VPATH
  636. build.
  637. * test/Makefile.am (AUTOMAKE_OPTIONS): Colorized tests was not
  638. actually activated since it needed to be enabled in this
  639. Makefile.am. Also activated parallel-tests mode since it offers
  640. useful features such as per-test .log files and a summary test
  641. report .log file.
  642. 2009-08-20 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  643. * configure.ac: Updated autotools. Autoconf 2.64, Automake 1.11,
  644. libtool 2.2.6. Enabled support for silent build rules
  645. (--enable-silent-rules or 'make V=0') and colorized tests.
  646. * html/{index.html, v3.9.0.html}: Update for 3.9.0 release.
  647. 2009-06-30 Frank Warmerdam <warmerdam@pobox.com>
  648. * tests/tiffcp-logluv.sh: minimal testing of sgilog compression.
  649. * tools/tiffcp.c: add -c sgilog support.
  650. * libtiff/tif_luv.c: correct return codes from encoderow to be
  651. 1 on success instead of zero.
  652. http://bugzilla.maptools.org/show_bug.cgi?id=2069
  653. * libtiff/tif_lzw.c: back out patch from #2065 and apply patch from
  654. #1085 for a better underflow fix that errors properly.
  655. http://bugzilla.maptools.org/show_bug.cgi?id=2065
  656. http://bugzilla.maptools.org/show_bug.cgi?id=1985
  657. 2009-06-26 Frank Warmerdam <warmerdam@pobox.com>
  658. * libtiff/tif_strip.c: Remove an inappropriate assertion that often
  659. fails on oddly sized 12bit jpeg compressed ycbcr images.
  660. 2009-06-22 Frank Warmerdam <warmerdam@pobox.com>
  661. * libtiff/tif_lzw.c: Fix buffer underflow bug.
  662. http://bugzilla.maptools.org/show_bug.cgi?id=2065
  663. 2009-06-21 Frank Warmerdam <warmerdam@pobox.com>
  664. * configure.ac, libtiff/tif_jpeg.c, libtiff/tif_jpeg_12.c: add support
  665. for dual mode 8/12 bit jpeg support.
  666. 2009-06-03 Frank Warmerdam <warmerdam@pobox.com>
  667. * libtiff/tif_write.c: do not override the planar configuration to be
  668. contig for one sample files if planar configuration is already set.
  669. http://bugzilla.maptools.org/show_bug.cgi?id=2057
  670. 2009-06-02 Frank Warmerdam <warmerdam@pobox.com>
  671. * libtiff/libtiff.def: Add TIFFUnsetField.
  672. 2009-05-03 Frank Warmerdam <warmerdam@pobox.com>
  673. * libtiff/{tif_jpeg.c,tif_ojpeg.c,tif_getimage.c}: Fixed various
  674. error reports to use "%s" as format string.
  675. http://trac.osgeo.org/gdal/ticket/2976
  676. 2009-03-12 Frank Warmerdam <warmerdam@pobox.com>
  677. * libtiff/{tif_fax3.c,tif_jpeg.c,tif_ojpeg.c}: Fix printdir chaining
  678. for some codecs (#2020).
  679. 2009-02-12 Frank Warmerdam <warmerdam@pobox.com>
  680. * libtiff/tif_luv.c: Fix handling of tiled logluv images.
  681. http://bugzilla.maptools.org/show_bug.cgi?id=2005
  682. 2009-02-09 Frank Warmerdam <warmerdam@pobox.com>
  683. * libtiff/tif_dirread.c: Improve allocation safety when allocated
  684. buffer for large tags. (#1998) Related to (#1993)
  685. 2009-02-06 Frank Warmerdam <warmerdam@pobox.com>
  686. * tools/tiffcrop.c: Don't default image->res_unit to INCH. Now the
  687. test suite should pass.
  688. 2009-02-05 Frank Warmerdam <warmerdam@pobox.com>
  689. * libtiff/tif_dirread.c: Re-incorporated a sanity check on tag size,
  690. but at the 2GB boundary to avoid overflow on 32bit systems.
  691. http://bugzilla.maptools.org/show_bug.cgi?id=1993
  692. * libtiff/tif_dirread.c: Remove some assertions that blow due to
  693. corrupt files rather than in response to library internal
  694. inconsistencies.
  695. http://bugzilla.maptools.org/show_bug.cgi?id=1995
  696. http://bugzilla.maptools.org/show_bug.cgi?id=1991
  697. * libtiff/tif_dirread.c: Fixed testing for failed result from
  698. TIFFReadDirectoryFindFieldInfo().
  699. http://bugzilla.maptools.org/show_bug.cgi?id=1992
  700. 2009-01-23 Frank Warmerdam <warmerdam@pobox.com>
  701. * libtiff/tif_predict.c: Add support for 32bit integer horz. predictors.
  702. http://bugzilla.maptools.org/show_bug.cgi?id=1911
  703. * libtiff/tif_dirwrite.c: Fix byte swapping of next directory offset.
  704. http://bugzilla.maptools.org/show_bug.cgi?id=1924
  705. * tools/tiffcrop.c: initialize xres/yres values.
  706. * test/*.sh - default ${srcdir} to local directory.
  707. * test/common.sh - start verbose mode after common settings.
  708. * libtiff/tif_dirinfo.c: Replace lfind() with local equivelent to
  709. avoid type mismatches on different platforms.
  710. http://bugzilla.maptools.org/show_bug.cgi?id=1889
  711. 2009-01-22 Frank Warmerdam <warmerdam@pobox.com>
  712. * tools/{fax2tiff.c,thumbnail.c,tiff2pdf.c,tiff2ps.c,tiffdump.c,
  713. tiffsplit.c}: avoid warnings, mostly 32bit/64bit casting issues.
  714. * port,tools: Introduce libport.h, and include in tools if NEED_LIBPORT
  715. defined, primarily to reduce prototype warnings on windows.
  716. * libtiff/tif_dirinfo.c,tif_dirread.c: Avoid warnings
  717. about unused parameters, and uninitialized variables.
  718. 2009-01-21 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  719. * test/common.sh: Execute tests like 'make VERBOSE=TRUE check' in
  720. order to trace full execution detail while executing the test suite.
  721. 2009-01-20 Frank Warmerdam <warmerdam@pobox.com>
  722. * tools/tiffsplit.c: fix sampleformat to be shortv instead of longv.
  723. 2009-01-20 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  724. * test/Makefile.am (CLEANFILES): Make sure that test output files
  725. are removed by 'make clean'
  726. * Update autotools for 4.0.0 beta3
  727. * 4.0.0 beta3 produced.
  728. 2009-01-12 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  729. * test/tiffcrop.sh: New test script for tiffcrop from Richard
  730. Nolde.
  731. * tools/tiff2ps.c: Remove spurious message to stderr.
  732. 2009-01-11 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  733. * tools/tiff2ps.c: Incorporated significant functionality update
  734. from Richard Nolde. In particular, support for rotating the image
  735. by 90, 180, 270, and 'auto' has been added.
  736. * man/tiffcrop.1: Incorporated documentation updates from Richard
  737. Nolde.
  738. * tools/tiffcrop.c: Incorporated significant functionality update
  739. from Richard Nolde.
  740. 2008-12-31 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  741. * libtiff/tiffio.h: GCC will now validate format specifications
  742. for TIFFError(), TIFFErrorExt(), TIFFWarning(), and
  743. TIFFWarningExt() in order to reveal bugs.
  744. * Many fixes throughout to work better as a 64-bit build.
  745. 2008-12-30 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  746. * tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length
  747. tags now require 64-bit parameter rather than 32-bit.
  748. * libtiff/tif_dirread.c: Fixed issues with unaligned access to
  749. 64-bit values.
  750. * tools/thumbnail.c: Eliminate crash noticed while running test
  751. suite.
  752. 2008-12-29 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  753. * libtiff/tif_ojpeg.c (OJPEGLibjpegJpegSourceMgrFillInputBuffer):
  754. Initialize stack variables to avoid compiler warning.
  755. * tools/tiffinfoce.c (main): Use toff_t for offset type when
  756. retrieving offset of EXIF IFD.
  757. * libtiff/tiffio.h: Undeprecate toff_t and restore its use in the
  758. TIFFClientOpen() callback and other external function definitions.
  759. * tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit
  760. type now. Fixes crash when dumping files containing an EXIF IFD.
  761. * m4/libtool.m4: Update to libtool 2.2.6.
  762. 2008-12-21 Frank Warmerdam <warmerdam@pobox.com>
  763. * libtiff/tif_dir.c, tiffio.h: Introduce TIFFUnsetField() function.
  764. * libtiff/tif_jpeg.c: Avoid errors if the application writes a full
  765. strip for the last partial strip in a jpeg compressed file.
  766. http://bugzilla.maptools.org/show_bug.cgi?id=1981
  767. 2008-10-29 Frank Warmerdam <warmerdam@pobox.com>
  768. * libtiff/tif_flush.c: Make sure that BEENWRITING is cleared when
  769. we take the shortcut to only update the strip/tile offsets in place.
  770. http://trac.osgeo.org/gdal/ticket/2621
  771. 2008-10-21 Andrey Kiselev <dron@ak4719.spb.edu>
  772. * libtiff/tif_jbig.c: Support the JBIG-KIT 2.0 (compatibility with
  773. the older versions retained).
  774. 2008-10-09 Frank Warmerdam <warmerdam@pobox.com>
  775. * libtiff/tif_jpeg.c: Add #ifdefs for changes needed if using
  776. IPP enabled version of libjpeg from Intel.
  777. http://bugzilla.maptools.org/show_bug.cgi?id=1951
  778. 2008-09-05 Andrey Kiselev <dron@ak4719.spb.edu>
  779. * tools/tiffsplit.c: Use byte counts of proper size (uint64).
  780. Required for libtiff 4.0.
  781. * tools/tiffsplit.c: Use dynamically allocated array instead of static
  782. when constructing output file names.
  783. 2008-09-03 Andrey Kiselev <dron@ak4719.spb.edu>
  784. * tools/tiffsplit.c: Get rid of unsafe strcpy()/strcat() calls when
  785. doing the filename/path construction.
  786. * tools/tiff2pdf.c: More appropriate format string in
  787. t2p_write_pdf_string(); avoid signed/unsigned mismatch.
  788. * libtiff/tif_lzw.c: Properly zero out the codetable. As per bug
  789. http://bugzilla.maptools.org/show_bug.cgi?id=1929
  790. * libtiff/tif_lzw.c: Properly zero out the string table. Fixes
  791. CVE-2008-2327 security issue.
  792. 2008-09-01 Frank Warmerdam <warmerdam@pobox.com>
  793. * libtiff/tif_dirread.c: Avoid unused TIFFReadDirEntryFloat() function.
  794. * libtiff/tif_dirwrite.c: modified to write IFDs as either IFD8 or IFD
  795. depending on whether the file is bigtiff or classic tiff.
  796. http://bugzilla.maptools.org/show_bug.cgi?id=1917
  797. 2008-08-12 Edward Lam <edward@sidefx.com>
  798. * tools/tiffdump.c: When compiling for Microsoft Windows, apply
  799. consistent (__int64) casting when testing if _lseeki64 has
  800. successfully seeked as requested. This is necessary for large
  801. file support to work since off_t is only 32-bit.
  802. 2008-07-29 Frank Warmerdam <warmerdam@pobox.com>
  803. * tif_strip.c: Replace assertions related to samplesperpixel != 3 or
  804. the subsampling values not being 1, 2 or 4 (for jpeg compressed images)
  805. with control logic to return runtime errors (c/o Even Rouault) (#1927).
  806. 2008-06-17 Frank Warmerdam <warmerdam@pobox.com>
  807. * tools/tiffcrop.c: Fix some portability problems.
  808. * libtiff/tif_ojpeg.c: Use same jpeg/win32 boolean/FAR hacks as are
  809. used in tif_jpeg.c.
  810. * libtiff/tif_win32.c: Ensure TIFFOpenW() uses same FILE_SHARE flags
  811. as TIFFOpen().
  812. 2008-06-01 Frank Warmerdam <warmerdam@pobox.com>
  813. * libtiff/tif_dirwrite.c: Fix alignment problems affecting architectures
  814. like Sparc/Solaris.
  815. http://bugzilla.maptools.org/show_bug.cgi?id=1892
  816. 2008-05-27 Frank Warmerdam <warmerdam@pobox.com>
  817. * libtiff.def: Add TIFFFindField
  818. http://bugzilla.maptools.org/show_bug.cgi?id=1891
  819. 2008-05-26 Frank Warmerdam <warmerdam@pobox.com>
  820. * tif_config.*.h, tiffconf.*.h: Remove SIZEOF_LONG definition, unused.
  821. * li2008-04-15 Andrey Kiselev <dron@ak4719.spb.edu>
  822. btiff/tif_win32.c: Replace custom Win32 memory api with generic
  823. POSIX one. No apparent value to use of GlobalAlloc() in the modern
  824. age. http://bugzilla.maptools.org/show_bug.cgi?id=1885
  825. * libtiff/tiffconf.vc.h: Added JBIG_SUPPORT and MDI_SUPPORT items
  826. in windows version (care of Edward Lam).
  827. 2008-05-24 Frank Warmerdam <warmerdam@pobox.com>
  828. * tif_codec.c: Avoid NULL pointer dereferencing for exotic
  829. compression codec codes.
  830. * tif_dirwrite.c: fix potential memory leak.
  831. * tif_dirread.c: Fix unchecked malloc result.
  832. 2008-05-24 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  833. * test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh
  834. tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh
  835. tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh
  836. tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh
  837. tiffdump.sh tiffinfo.sh}: Added more test scripts based on
  838. suggestions from Lee Howard posted to the tiff list on 13 Sep
  839. 2007.
  840. 2008-05-23 Frank Warmerdam <warmerdam@pobox.com>
  841. * libtiff/tif_fax3.c: Add an assert in an effort to detect a
  842. possible runtime problem reported by coverity.
  843. * contrib/iptcutil/iptcutil.c: Fixed memory leak of str.
  844. * tools/tiffcrop.c, man/tiffcrop.1: Major update from Richard Nolde.
  845. http://bugzilla.maptools.org/show_bug.cgi?id=1888
  846. * tools/tiffdither.c: remove dead onestrip code. avoid memory leak.
  847. * tools/rgb2ycbcr.c: fix memory leak of raster buffer.
  848. * tools/tiffcp.c: Simplify inknames code to avoid pointless test.
  849. Cleanup scanline allocation to avoid coverity warning.
  850. * tools/thumbnail.c: Check for TIFFOpen() failure.
  851. 2008-05-18 Frank Warmerdam <warmerdam@pobox.com>
  852. * libtiff/tif_dirinfo.c: Use TIFF_SETGET_ASCII for PIXAR_TEXTUREFORMAT
  853. and PIXAR_WRAPMODES instead of TIFF_SETGET_UNDEFINED. Not exactly clear
  854. why this is needed.
  855. 2008-05-09 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  856. * Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like
  857. "ACLOCAL_AMFLAGS=-I ./m4". It wants "ACLOCAL_AMFLAGS=-I m4".
  858. 2008-04-15 Andrey Kiselev <dron@ak4719.spb.edu>
  859. * test/: Test suite updated. Everything is passed now.
  860. * libtiff/tif_dirinfo.c: Fixed description of the
  861. TIFFTAG_NUMBEROFINKS tag.
  862. 2008-04-14 Andrey Kiselev <dron@ak4719.spb.edu>
  863. * libtiff/{tif_dirread.c, tif_dirwrite.c, tiffiop.h}:
  864. Get rid of some of "dereferencing type-punned" warnings by converting
  865. tdir_offset field of TIFFDirEntry structure into union.
  866. 2008-04-10 Andrey Kiselev <dron@ak4719.spb.edu>
  867. * libtiff/{tif_flush.c, tif_dirwrite.c, tiffio.h, tiffiop.h}:
  868. TIFFRewriteField() renamed into _TIFFRewriteField() and moved out
  869. from the public interface. Type of its 'count' parameter changed
  870. from uint32 to tmsize_t.
  871. * /libtiff/tiffiop.h: Make tif_nfields and tif_nfieldscompat fields
  872. of the tiff structure have the size_t type instead of uint32.
  873. 2008-04-09 Andrey Kiselev <dron@ak4719.spb.edu>
  874. * tools/tiffdump.c: Added support for MSVS 6.0.
  875. * libtiff/tif_dirread.c: Use custom functions _TIFFUInt64ToFloat()
  876. and _TIFFUInt64ToDouble() to convert 64-bit integers into floating
  877. point values on MSVS 6.0 platform.
  878. 2008-03-14 Frank Warmerdam <warmerdam@pobox.com>
  879. * tif_dirread.c: Removed sanity checks on tags larger than 4MB in
  880. TIFFReadDirEntryArray() since they are interfering with seemingly
  881. legitimate files. http://trac.osgeo.org/gdal/ticket/2005
  882. 2008-02-09 Joris Van Damme <joris.at.lebbeke@skynet.be>
  883. * tif_dirread.c: Added handling for the case of number of values for
  884. PageNumber tag different from 2 (previously resulted in an assert
  885. indicating lack of handling and was forgotten about)
  886. 2008-02-01 Frank Warmerdam <warmerdam@pobox.com>
  887. * libtiff/tif_jpeg.c: Do not try to fixup subsampling tags based on
  888. the actual jpeg data stream if the first strip/tile has zero size.
  889. This is the case when GDAL creates a new file with zero sizes, closes
  890. and reopens it.
  891. 2008-01-07 Frank Warmerdam <warmerdam@pobox.com>
  892. * tools/tiff2ps.c: fix up 64bit issues (from Edward Lam).
  893. 2008-01-01 Frank Warmerdam <warmerdam@pobox.com>
  894. * libtiff/tif_dirwrite.c: #ifdef out lots of unused functions.
  895. * Makefile.vc, libtiff/Makefile.vc, tools/Makefile.vc: Improve clean
  896. targets.
  897. * tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c
  898. tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005
  899. (x64).
  900. * tools/tiffset.c: Changes to reflect the fact that TIFFFieldWithTag()
  901. and TIFFFieldWithName() now return TIFFField pointers instead of
  902. TIFFFieldInfo pointers.
  903. * tools/tiffdump.c: Added ssize_t typedef on Windows since it doesn't
  904. exist. This makes it compile again on Windows
  905. * tif_aux.c, tif_getimage.c, tif_next.c, tif_predict.c, tif_win32.c,
  906. tiffconf.vc.h: Various 64bit fixes from Edward Lam identified on win64.
  907. * test/rewrite_tag.c: New test for TIFFRewriteField().
  908. 2007-12-31 Frank Warmerdam <warmerdam@pobox.com>
  909. * tif_dirwrite.c: Added TIFFRewriteField(). This new function
  910. rewrites one field "on disk" updating an existing directory
  911. entry. Lots of limitations still...
  912. * tiffiop.h, tif_write.c, tif_dirread.c, tif_flush.c: Keep track of
  913. TIFF_DIRTYSTRIP separately from TIFF_DIRTYDIRECT to indicate that
  914. the strip offset/size values are dirty but nothing else about the
  915. directory is dirty. In flush handle "just stripmaps dirty" as a
  916. special case that just rewrites these values without otherwise
  917. modifying the directory on disk using TIFFRewriteField().
  918. We also modify logic so that in update mode the directory is not
  919. marked dirty on read, but only when something is changed. This
  920. means we need to keep track of updates to the stripmap stuff in
  921. TIFFAppendToStrip().
  922. 2007-12-10 Frank Warmerdam <warmerdam@pobox.com>
  923. * tif_jpeg.c: Improve ability to switch between encoding and decoding
  924. in the jpeg code (gdal bug #2033).
  925. 2007-11-23 Frank Warmerdam <warmerdam@pobox.com>
  926. * tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_read.c, tif_write.c,
  927. tiffiop.h: Added TIFF_BUF4WRITE flag to indicate if contents of the
  928. rawcp/rawcc buffer are for writing and thus may require flushing.
  929. Necessary to distinguish whether they need to be written to disk when
  930. in mixed read/write mode and doing a mixture of writing followed by
  931. reading. http://trac.osgeo.org/gdal/ticket/1758
  932. 2007-11-23 Andrey Kiselev <dron@ak4719.spb.edu>
  933. * configure.com, libtiff/tif_vms.c: Better OpenVMS support. Patches
  934. from Alexey Chupahin.
  935. 2007-11-02 Frank Warmerdam <warmerdam@pobox.com>
  936. * tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for
  937. establishing if an existing tile can be rewritten to the same location
  938. by comparing the current size to all the other blocks in the same
  939. directory. This is dangerous in many situations and can easily
  940. corrupt a file. (observed in esoteric GDAL situation that's hard to
  941. document). This change involves leaving the stripbytecount[] values
  942. unaltered till TIFFAppendToStrip(). Now we only write a block back
  943. to the same location it used to be at if the new data is the same
  944. size or smaller - otherwise we move it to the end of file.
  945. * tif_dirwrite.c: Try to avoid writing out a full readbuffer of tile
  946. data when writing the directory just because we have BEENWRITING at
  947. some point in the past. This was causing odd junk to be written out
  948. in a tile of data when a single tile had an interleaving of reading
  949. and writing with reading last. (highlighted by gdal
  950. autotest/gcore/tif_write.py test 7.
  951. * tif_predict.c: use working buffer in PredictorEncodeTile to avoid
  952. modifying callers buffer.
  953. http://trac.osgeo.org/gdal/ticket/1965
  954. * tif_predict.c/h: more fixes related to last item, keeping a
  955. distinct pfunc for encode and decode cases as these were getting
  956. mixed up sometimes.
  957. http://trac.osgeo.org/gdal/ticket/1948
  958. 2007-11-01 Frank Warmerdam <warmerdam@pobox.com>
  959. * tif_predict.c/h, tif_lzw.c, tif_zip.c: Improvements so that
  960. predictor based encoding and decoding works in read-write update
  961. mode properly.
  962. http://trac.osgeo.org/gdal/ticket/1948
  963. 2007-10-24 Joris Van Damme <joris.at.lebbeke@skynet.be>
  964. * tif_dirread.c: Fixed problem with bogus file triggering
  965. assert(td->td_planarconfig == PLANARCONFIG_CONTIG) in
  966. ChopUpSingleUncompressedStrip
  967. 2007-10-22 Joris Van Damme <joris.at.lebbeke@skynet.be>
  968. * tif_jpeg.c: Resolved buffer incrementation bug that lead to faulty images
  969. at best, access violation at worst, when subsampled JPEG compressed imagery
  970. is decoded without the JPEG_COLORMODE feature
  971. 2007-10-11 Frank Warmerdam <warmerdam@pobox.com>
  972. * html/index.html: Update "people responsible" section.
  973. 2007-10-05 Frank Warmerdam <warmerdam@pobox.com>
  974. * tools/tiff2pdf.c: Fix problem with alpha setting in some cases
  975. as reported on the mailing list.
  976. 2007-10-01 Joris Van Damme <joris.at.lebbeke@skynet.be>
  977. * changed some more incorrect %lud printf flags to %lu
  978. 2007-09-29 Joris Van Damme <joris.at.lebbeke@skynet.be>
  979. * tif_dirread.c: Strip chopping interfered badly with uncompressed
  980. subsampled images because it tried to divide subsampled rowblocks,
  981. leading to all sorts of errors throughout the library for these
  982. images. Fixed by making strip chopping divide in row counts that
  983. are a multiple of vertical subsampling value.
  984. 2007-09-28 Joris Van Damme <joris.at.lebbeke@skynet.be>
  985. * tif_dirread.c: Logical cast working around compiler warning
  986. * tif_read.c: Correction of some error flags and parameter lists
  987. 2007-09-27 Joris Van Damme <joris.at.lebbeke@skynet.be>
  988. * tif_dirread.c: Made calculation of td_maxsamplevalue more robust
  989. when dealing with large bitspersample values, shutting up purification
  990. tools that warn about truncation, though it remains incorrect and
  991. indicates a conceptual problem there.
  992. * tif_open.c: Moved early exit in case of 'h' flag (to disable reading
  993. of first IFD) to proper place because it badly interfered with memory
  994. mapping, resulting in mapping flag even with dummy mapping functions
  995. that returned 0 whilst at the same time the mapping tif_size wasn't
  996. set, thus resulting in continuous incorrect beyond-eof errors.
  997. 2007-09-24 Joris Van Damme <joris.at.lebbeke@skynet.be>
  998. * tif_dirinfo.c: Fixed (MSVC) compiler reports about
  999. inconsistent use of const in tiffFields and exifFields definition
  1000. 2007-09-20 Frank Warmerdam <warmerdam@pobox.com>
  1001. * tif_dirwrite.c: Always write tile/strip offsets and sizes
  1002. using LONG8 type when output format is BigTIFF. The
  1003. TIFFWriteDirectoryTagLongLong8Array() function was restructured
  1004. accordingly.
  1005. * tif_dirread.c: Improvements to error reporting text in
  1006. TIFFFetchDirectory().
  1007. 2007-09-19 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  1008. * test/images: Added a small collection of test images for use by
  1009. test programs and scripts.
  1010. * test/tiffinfo.sh: A trivial example test script.
  1011. * test/common.sh: Added small script for setting the environment
  1012. used by script-based tests.
  1013. 2007-08-24 Frank Warmerdam <warmerdam@pobox.com>
  1014. * tif_dirwrite.c: Write the tif_nextdiroff value instead of a fixed
  1015. zero when writing directory contents to preserve the ability to
  1016. rewrite directories in place, even in the middle of a directory
  1017. chain.
  1018. * tif_dirinfo.c: _TIFFMergeFields() now only merges in field
  1019. definitions that are missing. Existing definitions are silently
  1020. ignored.
  1021. * tif_dirread.c: Add runtime error for fields for which no definition
  1022. is found (in addition to an assert for developers) in
  1023. TIFFFetchNormalTag(). Not sure if this is needed, but it seems
  1024. prudent.
  1025. 2007-08-10 Joris Van Damme <joris.at.lebbeke@skynet.be>
  1026. * libtiff/tif_getimage.c: removed SubsamplingHor and SubsamplingVer
  1027. from _TIFFRGBAImage structure to revert unwanted ABI change.
  1028. 2007-08-10 Joris Van Damme <joris.at.lebbeke@skynet.be>
  1029. * libtiff/tif_win32.c: use SetFilePointer instead of
  1030. SetFilePointerEx, as per bug
  1031. http://bugzilla.remotesensing.org/show_bug.cgi?id=1580
  1032. 2007-07-19 Andrey Kiselev <dron@ak4719.spb.edu>
  1033. * libtiff/tif_stream.cxx: Put all callback functions declarations
  1034. inside extern "C" block.
  1035. * libtiff/{tif_lzw.c, tif_luv.c, tif_dumpmode.c, tif_print.c,
  1036. tif_read.c, tif_strip.c, tif_thunder.c}: Use "%I64d" printf()
  1037. formatter instead of "%lld" with MSVC compiler.
  1038. * libtiff/{tiffiop.h, tif_aux.c}: Added _TIFFUInt64ToFloat() and
  1039. _TIFFUInt64ToDouble() functions.
  1040. 2007-07-18 Andrey Kiselev <dron@ak4719.spb.edu>
  1041. * libtiff/tif_dirread.c: Handle the case of MSVC 6 when using 64-bit
  1042. integer constants.
  1043. * libtiff/{Makefile.am, Makefile.v}: Do not distribute tiffconf.h,
  1044. remove tif_config.h/tiffconf.h during cleaning. As per bug
  1045. http://bugzilla.remotesensing.org/show_bug.cgi?id=1573
  1046. * libtiff/tif_unix.c: Do not use O_LARGEFILE. As per bug
  1047. http://bugzilla.remotesensing.org/show_bug.cgi?id=1577
  1048. 2007-07-13 Andrey Kiselev <dron@ak4719.spb.edu>
  1049. * libtiff 4.0.0alpha released.
  1050. 2007-07-12 Andrey Kiselev <dron@ak4719.spb.edu>
  1051. * tools/tiff2pdf.c: Added missed extern optind as per bug
  1052. http://bugzilla.remotesensing.org/show_bug.cgi?id=1567
  1053. * libtiff/{tif_close.c, tif_dirinfo.c, tiffiop.c, tif_dirread.c,
  1054. tif_dir.h, tif_dir.c, tiffio.h}: Transition to the new-style tag
  1055. extending scheme completed.
  1056. 2007-07-11 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  1057. * libtiff/tif_stream.cxx: Adapt to use toff_t again. Update to
  1058. use standard C++ library size types and attempt to detect overflow
  1059. cases.
  1060. 2007-07-08 Andrey Kiselev <dron@ak4719.spb.edu>
  1061. * libtiff/{tif_jpeg.c, tif_dir.h, tif_dir.c, tif_dirinfo.c, tiffio.h,
  1062. tif_ojpeg.c, tif_print.c, tif_fax3.c, tif_dirread.c}: More work on new
  1063. tag extending scheme. Use the new scheme everywhere.
  1064. * libtiff/{tif_zip.c, tif_predict.c, tif_pixarlog.c, tif_luv.c,
  1065. tif_fax3.c, tif_dirread.c, tif_dirwrite.c, tif_close.c, tif_ojpeg.c,
  1066. tif_jpeg.c, tif_dirinfo.c, tif_dir.h, tiffio.h, tiffiop.h}:
  1067. TIFFFIeldInfo structure replaced with TIFFField structure.
  1068. TIFFFieldInfo retained for the backward compatibility.
  1069. 2007-07-05 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  1070. * tools/tiff2pdf.c: Fix a compile problem when JPEG_SUPPORT is not
  1071. defined.
  1072. 2007-07-04 Andrey Kiselev <dron@ak4719.spb.edu>
  1073. * libtiff/{tif_dir.c, tiff.h, tiffio.h, libtiff.def}: Unused
  1074. TIFFReassignTagToIgnore() function and TIFFIgnoreSense enumeration
  1075. removed.
  1076. * libtiff/{tif_dirinfo.c, tif_fax3.c, tif_jbig.c, tif_jpeg.c}: Move
  1077. tags TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS,
  1078. TIFFTAG_FAXRECVTIME and TIFFTAG_FAXDCS to the common tag directory.
  1079. These tags are not codec-specific and relate to image content, so
  1080. process them as other normal tags.
  1081. * libtiff/{tiffio.h, tif_dir.h}: TIFFTagValue structure moved from the
  1082. public tiffio.h to private tif_dir.h.
  1083. * contrib/{acorn, mac-cw, mac-mpw}: Removed as unmaintained and
  1084. outdated.
  1085. 2007-07-03 Andrey Kiselev <dron@ak4719.spb.edu>
  1086. * libtiff{tif_acorn.c, tif_apple.c, tif_atari.c, tif_msdos.c,
  1087. tif_win3.c}: Obsoleted portability stuff removed.
  1088. * tools/tiff2ps.c: Added support 16-bit images as per bug
  1089. http://bugzilla.remotesensing.org/show_bug.cgi?id=1566
  1090. Patch from William Bader.
  1091. * tools/tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and
  1092. significant upgrade of the whole utility as per bug
  1093. http://bugzilla.remotesensing.org/show_bug.cgi?id=1560
  1094. Now we don't need tiffiop.h in tiff2pdf anymore and will open output
  1095. PDF file using TIFFClientOpen() machinery as it is implemented
  1096. by Leon Bottou.
  1097. 2007-06-26 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  1098. * configure.ac: Fix typo when substituting value for unsigned 8 bit type.
  1099. Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic.
  1100. Added support for a TIFF_SSIZE_T in order to return memory sizes but still
  1101. allow returning -1 for errors.
  1102. * libtiff/tiffconf.vc.h: Add porting type defintions for WIN32.
  1103. 2007-06-25 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  1104. * port/strtoull.c: New porting function in case strtoull() is not
  1105. available on the target system.
  1106. * configure.ac: Add configure support for determining sized types
  1107. in a portable way and performing necessary substitutions in
  1108. tif_config.h and tiffconf.h. Updated tiff.h to use the new
  1109. definitions.
  1110. 2007-04-27 Andrey Kiselev <dron@ak4719.spb.edu>
  1111. * tools/tiff2pdf.c: Check the tmpfile() return status as per bug
  1112. http://bugzilla.remotesensing.org/show_bug.cgi?id=154
  1113. 2007-04-07 Andrey Kiselev <dron@ak4719.spb.edu>
  1114. * libtiff/{tif_dir.h, tif_dirread.c, tif_dirinfo.c, tif_jpeg.c,
  1115. tif_fax3.c, tif_jbig.c, tif_luv.c, tif_ojpeg.c, tif_pixarlog.c,
  1116. tif_predict.c, tif_zip.c}: Finally fix bug
  1117. http://bugzilla.remotesensing.org/show_bug.cgi?id=1274
  1118. by introducing _TIFFMergeFieldInfo() returning integer error status
  1119. instead of void in case of problems with field merging (e.g., if the
  1120. field with such a tag already registered). TIFFMergeFieldInfo() in
  1121. public API remains void. Use _TIFFMergeFieldInfo() everywhere and
  1122. check returned value.
  1123. 2007-04-07 Frank Warmerdam <warmerdam@pobox.com>
  1124. * contrib/addtiffo/tif_overview.c: Fix problems with odd sized output
  1125. blocks in TIFF_DownSample_Subsampled() (bug 1542).
  1126. 2007-04-06 Frank Warmerdam <warmerdam@pobox.com>
  1127. * libtiff/tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it
  1128. will convert from decompressor to compressor or compress to decompress
  1129. if required by the force arguments. This works around a problem in
  1130. where the JPEGFixupTestSubsampling() may cause a decompressor to
  1131. be setup on a directory when later a compressor is required with the
  1132. force flag set. Occurs with the addtiffo program for instance.
  1133. 2007-04-06 Andrey Kiselev <dron@ak4719.spb.edu>
  1134. * tools/tiffcrop.c, man/tiffcrop.1: Significant update in
  1135. functionality from Richard Nolde. As per bug
  1136. http://bugzilla.remotesensing.org/show_bug.cgi?id=1525
  1137. 2007-03-28 Frank Warmerdam <warmerdam@pobox.com>
  1138. * libtiff/tif_fax3.c: "inline static" -> "static inline" for IRIC CC.
  1139. 2007-03-17 Joris Van Damme <joris.at.lebbeke@skynet.be>
  1140. * start of BigTIFF upgrade - CVS HEAD unstable until further notice
  1141. 2007-03-07 Joris Van Damme <joris.at.lebbeke@skynet.be>
  1142. * libtiff/tif_getimage.c: workaround for 'Fractional scanline' error reading
  1143. OJPEG images with rowsperstrip that is not a multiple of vertical subsampling
  1144. factor. This bug is mentioned in:
  1145. http://bugzilla.remotesensing.org/show_bug.cgi?id=1390
  1146. http://www.asmail.be/msg0054766825.html
  1147. 2007-03-07 Joris Van Damme <joris.at.lebbeke@skynet.be>
  1148. * libtiff/tif_win32.c: made inclusion of windows.h unconditional
  1149. * libtiff/tif_win32.c: replaced preprocessor indication for consiously
  1150. unused arguments by standard C indication for the same
  1151. 2007-02-27 Andrey Kiselev <dron@ak4719.spb.edu>
  1152. * libtiff/tif_dirread.c: Use uint32 type instead of tsize_t in byte
  1153. counters in TIFFFetchData(). Should finally fix the issue
  1154. http://bugzilla.remotesensing.org/show_bug.cgi?id=890
  1155. 2007-02-24 Andrey Kiselev <dron@ak4719.spb.edu>
  1156. * tools/tiffset.c: Properly handle tags with TIFF_VARIABLE writecount.
  1157. As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1350
  1158. * libtiff/tif_dirread.c: Added special function to handle
  1159. SubjectDistance EXIF tag as per bug
  1160. http://bugzilla.remotesensing.org/show_bug.cgi?id=1362
  1161. * tools/tiff2pdf.c: Do not assume inches when the resolution units
  1162. do not specified. As per bug
  1163. http://bugzilla.remotesensing.org/show_bug.cgi?id=1366
  1164. * tools/{tiffcp.c, tiffcrop.c}: Do not change RowsPerStrip value if
  1165. it was set as infinite. As per bug
  1166. http://bugzilla.remotesensing.org/show_bug.cgi?id=1368
  1167. * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop utility contributed
  1168. by Richard Nolde. As per bug
  1169. http://bugzilla.remotesensing.org/show_bug.cgi?id=1383
  1170. 2007-02-22 Andrey Kiselev <dron@ak4719.spb.edu>
  1171. * libtiff/tif_dir.c: Workaround for incorrect TIFFs with
  1172. ExtraSamples == 999 produced by Corel Draw. As per bug
  1173. http://bugzilla.remotesensing.org/show_bug.cgi?id=1490
  1174. * libtiff/{tif_dirread.c, tif_read.c}: Type of the byte counters
  1175. changed from tsize_t to uint32 to be able to work with data arrays
  1176. larger than 2GB. Fixes bug
  1177. http://bugzilla.remotesensing.org/show_bug.cgi?id=890
  1178. Idea submitted by Matt Hancher.
  1179. 2007-01-31 Andrey Kiselev <dron@ak4719.spb.edu>
  1180. * tools/tif2rgba.c: This utility does not work properly on big-endian
  1181. architectures. It was fixed including the bug
  1182. http://bugzilla.remotesensing.org/show_bug.cgi?id=1149
  1183. 2007-01-15 Mateusz Loskot <mateusz@loskot.net>
  1184. * Submitted libtiff port for Windows CE platform
  1185. * libtiff/tif_config.wince.h: Added configuration header for WinCE.
  1186. * libtiff/tiffconf.wince.h: Ported old configuration header for WinCE.
  1187. * libtiff/tif_wince.c: Added WinCE-specific implementation of some
  1188. functons from tif_win32.c.
  1189. * libtiff/tif_win32.c: Disabled some functions already reimplemented in tif_wince.c.
  1190. * libtiff/tiffiop.h, port/lfind.c: Added conditional include of some
  1191. standard header files for Windows CE build.
  1192. * tools/tiffinfoce.c: Ported tiffinfo utility for Windows CE.
  1193. 2006-11-19 Frank Warmerdam <warmerdam@pobox.com>
  1194. * libtiff/tif_write.c: TIFFAppendToStrip() - clear sorted flag if
  1195. we move a strip.
  1196. http://bugzilla.remotesensing.org/show_bug.cgi?id=1359
  1197. 2006-10-13 Andrey Kiselev <dron@ak4719.spb.edu>
  1198. * libtiff/tif_dir.c: More fixes for vulnerabilities, reported
  1199. in Gentoo bug ():
  1200. http://bugs.gentoo.org/show_bug.cgi?id=142383
  1201. * libtiff/contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable.
  1202. Though it is still far from the state of being working and useful.
  1203. 2006-10-12 Andrey Kiselev <dron@ak4719.spb.edu>
  1204. * libtiff/tif_fax3.c: Save the state of printdir codec dependent
  1205. method.
  1206. * libtiff/tif_jpeg.c: Save the state of printdir codec dependent method
  1207. as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1273
  1208. * libtiff/tif_win32.c: Fixed problem with offset value manipulation
  1209. as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1322
  1210. * libtiff/{tif_read.c, tif_jpeg.c, tif_dir.c}: More fixes for
  1211. vulnerabilities, reported in Gentoo bug ():
  1212. http://bugs.gentoo.org/show_bug.cgi?id=142383
  1213. 2006-09-28 Andrey Kiselev <dron@ak4719.spb.edu>
  1214. * libtiff/{tif_fax3.c, tif_next.c, tif_pixarlog.c}: Fixed multiple
  1215. vulnerabilities, as per Gentoo bug ():
  1216. http://bugs.gentoo.org/show_bug.cgi?id=142383
  1217. 2006-09-27 Frank Warmerdam <warmerdam@pobox.com>
  1218. * libtiff/tif_lzw.c, libtiff/tif_zip.c: Fixed problems with mixing
  1219. encoding and decoding on the same read-write TIFF handle. The LZW
  1220. code can now maintain encode and decode state at the same time. The
  1221. ZIP code will switch back and forth as needed.
  1222. http://bugzilla.remotesensing.org/show_bug.cgi?id=757
  1223. 2006-09-20 Frank Warmerdam <warmerdam@pobox.com>
  1224. * libtiff: Rename config.h.vc and tif_config.h.vc to config.vc.h and
  1225. tif_config.vc.h for easier identification by folks using an IDE.
  1226. 2006-07-25 Frank Warmerdam <warmerdam@pobox.com>
  1227. * tif_msdos.c: Avoid handle leak for failed opens. c/o Thierry Pierron
  1228. 2006-07-19 Frank Warmerdam <warmerdam@pobox.com>
  1229. * tif_dirwrite.c: take care not to flush out buffer of strip/tile
  1230. data in _TIFFWriteDirectory if TIFF_BEENWRITING not set. Relates
  1231. to bug report by Peng Gao with black strip at bottom of images.
  1232. 2006-07-12 Frank Warmerdam <warmerdam@pobox.com>
  1233. * tif_dirwrite.c: make sure to use uint32 for wordcount in
  1234. TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields.
  1235. It already seems to have been done for other field types. Needed
  1236. for "tiffset" on files with geotiff ascii text.
  1237. 2006-07-04 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  1238. * {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c}
  1239. (JBIGDecode): jbg_newlen is not available in older JBIG-KIT and
  1240. its use does not appear to be required, so use it only when it is
  1241. available.
  1242. 2006-06-24 Andrey Kiselev <dron@ak4719.spb.edu>
  1243. * libtiff/tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961).
  1244. * libtiff/tif_dirread.c: Move IFD fetching code in the separate
  1245. function TIFFFetchDirectory() avoiding code duplication in
  1246. TIFFReadDirectory() and TIFFReadCustomDirectory().
  1247. 2006-06-19 Frank Warmerdam <warmerdam@pobox.com>
  1248. * tools/tiff2pdf.c: Fix handling of -q values.
  1249. http://bugzilla.remotesensing.org/show_bug.cgi?id=587
  1250. 2006-06-17 Frank Warmerdam <warmerdam@pobox.com>
  1251. * tif_readdir.c: Added case in EstimateStripByteCounts() for tiled
  1252. files. Modified TIFFReadDirectory() to not invoke
  1253. EstimateStripByteCounts() for case where entry 0 and 1 are unequal
  1254. but one of them is zero.
  1255. http://bugzilla.remotesensing.org/show_bug.cgi?id=1204
  1256. 2006-06-08 Andrey Kiselev <dron@ak4719.spb.edu>
  1257. * libtiff/{tif_open.c, tif_dirread.c, tiffiop.h}: Move IFD looping
  1258. checking code in the separate function TIFFCheckDirOffset().
  1259. * libtiff/tif_aux.c: Added _TIFFCheckRealloc() function.
  1260. * tools/tiffcmp.c: Fixed floating point comparison logic as per bug
  1261. http://bugzilla.remotesensing.org/show_bug.cgi?id=1191
  1262. * libtiff/tif_fax3.c: Fixed problems in fax decoder as per bug
  1263. http://bugzilla.remotesensing.org/show_bug.cgi?id=1194
  1264. * tools/tiff2pdf.c: Fixed buffer overflow condition in
  1265. t2p_write_pdf_string() as per bug
  1266. http://bugzilla.remotesensing.org/show_bug.cgi?id=1196
  1267. 2006-06-07 Andrey Kiselev <dron@ak4719.spb.edu>
  1268. * {configure, configure.ac, libtiff/tif_jbig.c, tools/tiffcp.c}: Added
  1269. support for JBIG compression scheme (34661 code) contributed by Lee
  1270. Howard. As per bug
  1271. http://bugzilla.remotesensing.org/show_bug.cgi?id=896
  1272. * configure, configure.ac: OJPEG support enabled by default.
  1273. * contrib/ojpeg/: Removed. New OJPEG support does not need this patch.
  1274. 2006-06-03 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  1275. * libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in
  1276. TIFFPrintDirectory(). Joris Van Damme authored the fix.
  1277. 2006-04-21 Andrey Kiselev <dron@ak4719.spb.edu>
  1278. * tools/tiff2pdf.c: Unified line ending characters (always use '\n')
  1279. as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1163
  1280. * README.vms, Makefile.am, configure.com, libtiff/{Makefile.am,
  1281. tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}:
  1282. Added support for OpenVMS by Alexey Chupahin, elvis_75@mail.ru.
  1283. 2006-04-20 Andrey Kiselev <dron@ak4719.spb.edu>
  1284. * tools/{fax2ps.c, fax2tiff.c, ppm2tiff.c, ras2tiff.c, tiff2pdf.c}:
  1285. Properly set the binary mode for stdin stream as per bug
  1286. http://bugzilla.remotesensing.org/show_bug.cgi?id=1141
  1287. * man/{bmp2tiff.1, fax2ps.1, fax2tiff.1, gif2tiff.1, ras2tiff.1,
  1288. raw2tiff.1, rgb2ycbcr.1, sgi2tiff.1, tiff2bw.1, tiff2pdf.1, tiff2ps.1,
  1289. tiff2rgba.1, tiffcmp.1, tiffcp.1, tiffdither.1, tiffdump.1, tiffgt.1,
  1290. tiffset.1}: Improvements in page formatting as per bug
  1291. http://bugzilla.remotesensing.org/show_bug.cgi?id=1140
  1292. * html/tools.html, html/man/Makefile.am, tools/tiff2pdf.c: Fixed
  1293. typos as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1139
  1294. 2006-04-18 Frank Warmerdam <warmerdam@pobox.com>
  1295. * nmake.opt: use /EHsc for VS2005 compatibility. Also define
  1296. _CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005.
  1297. 2006-04-12 Joris Van Damme <joris.at.lebbeke@skynet.be>
  1298. * libtiff/tif_getimage.c: Added support for planarconfig separate
  1299. non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1])
  1300. 2006-04-11 Joris Van Damme <joris.at.lebbeke@skynet.be>
  1301. * libtiff/tif_getimage.c: Revision of all RGB(A) put routines
  1302. - Conversion of unassociated alpha to associated alpha now done with
  1303. more performant LUT, and calculation more correct
  1304. - Conversion of 16bit data to 8bit data now done with
  1305. more performant LUT, and calculation more correct
  1306. - Bugfix of handling of 16bit RGB with unassociated alpha
  1307. 2006-04-11 Joris Van Damme <joris.at.lebbeke@skynet.be>
  1308. * libtiff/tif_getimage.c:
  1309. - When there is no alpha, gtTileSeparate and gtStripSeparate allocated
  1310. buffer for alpha strile and filled it, only to never read it back.
  1311. Removed allocation and fill.
  1312. - Minor rename of vars in gtTileSeparate and gtStripSeparate
  1313. anticipating planned functionality extension
  1314. 2006-04-08 Joris Van Damme <joris.at.lebbeke@skynet.be>
  1315. * libtiff/tif_getimage.c: renamed pickTileContigCase to PickContigCase
  1316. and pickTileSeparateCase to PickSeparateCase as both work on strips as
  1317. well
  1318. * libtiff/tif_getimage.c: moved img->get selection from
  1319. TIFFRGBAImageBegin into PickContigCase and PickSeparateCase to create
  1320. logical hook for planned functionality extension
  1321. 2006-04-08 Joris Van Damme <joris.at.lebbeke@skynet.be>
  1322. * libtiff/tif_ojpeg.c: resolved memory leak that was a consequence
  1323. of inappropriate use of jpeg_abort instead of jpeg_destroy
  1324. 2006-04-07 Joris Van Damme <joris.at.lebbeke@skynet.be>
  1325. * libtiff/tif_getimage.c: replaced usage of TIFFScanlineSize in
  1326. gtStripContig with TIFFNewScanlineSize so as to fix buggy behaviour
  1327. on subsampled images - this ought to get sorted when we feel brave
  1328. enough to replace TIFFScanlineSize alltogether
  1329. * libtiff/tif_ojpeg.c: fixed bug in OJPEGReadSkip
  1330. 2006-04-04 Joris Van Damme <joris.at.lebbeke@skynet.be>
  1331. * libtiff/tiffio.h: added new type tstrile_t
  1332. * libtiff/tif_dir.h: changed types of td_stripsperimage and td_nstrips
  1333. to new tstrile_t, types of td_stripoffset and td_stripbytecount to
  1334. toff_t*
  1335. * libtiff/tif_ojpeg.c: totally new implementation
  1336. * libtiff/tif_dirread.c: added several hacks to suit new support of
  1337. OJPEG
  1338. * libtiff/tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling
  1339. of OJPEG images in favor of tif_getimage.c native handling of
  1340. YCbCr and desubsampling
  1341. 2006-03-29 Frank Warmerdam <warmerdam@pobox.com>
  1342. * libtiff/tif_jpeg.c: JPEGVSetField() so that altering the photometric
  1343. interpretation causes the "upsampled" flag to be recomputed. Fixes
  1344. peculiar bug where photometric flag had to be set before jpegcolormode
  1345. flag.
  1346. 2006-03-25 Joris Van Damme <joris.at.lebbeke@skynet.be>
  1347. * libtiff/tif_jpeg.c: strip size related bugfix in encode raw
  1348. * libtiff/tif_strip.c: temporarilly added two new versions of
  1349. TIFFScanlineSize
  1350. - TIFFNewScanlineSize: proposed new version, after all related
  1351. issues and side-effects are sorted out
  1352. - TIFFOldScanlineSize: old version, from prior to 2006-03-21 change
  1353. This needs further sorting out.
  1354. 2006-03-25 Joris Van Damme <joris.at.lebbeke@skynet.be>
  1355. * contrib/addtiffo/tif_ovrcache.c: bugfix to correctly pass size
  1356. of last truncated strip data to TIFFWriteEncodedStrip
  1357. 2006-03-25 Joris Van Damme <joris.at.lebbeke@skynet.be>
  1358. * libtiff/{tif_jpeg.c, tif_strip.c}: bugfix of tif_jpeg decode raw
  1359. 2006-03-25 Joris Van Damme <joris.at.lebbeke@skynet.be>
  1360. * libtiff/tif_getimage.c: bugfix/rewrite of putcontig8bitYCbCr22tile
  1361. * libtiff/tif_getimage.c: added putcontig8bitYCbCr12tile
  1362. * libtiff/tif_read.c: added support for new TIFF_NOREADRAW flag to
  1363. prepare the path for new tif_ojpeg.c
  1364. 2006-03-23 Andrey Kiselev <dron@ak4719.spb.edu>
  1365. * libtiff 3.8.2 released.
  1366. * tools/Makefile.am: Use runtime paths linker flags when rpath
  1367. option enabled.
  1368. 2006-03-21 Andrey Kiselev <dron@ak4719.spb.edu>
  1369. * libtiff/libtiff.def: Added missed exports as per bug
  1370. http://bugzilla.remotesensing.org/attachment.cgi?id=337
  1371. * contrib/addtiffo/Makefile.vc, libtiff/Makefile.vc, port/Makefile.vc,
  1372. tools/Makefile.vc: Makefiles improvements as per bug
  1373. http://bugzilla.remotesensing.org/show_bug.cgi?id=1128
  1374. * nmake.opt libtiff/{tif_config.h.vc, tif_unix.c, tiffio.h},
  1375. tools/{fax2ps.c, fax2tiff.c, tiff2pdf.c}: Fixed win32 I/O functions
  1376. usage as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1127
  1377. * libtiff/tif_strip.c: Take subsampling in account when calculating
  1378. TIFFScanlineSize().
  1379. * tools/tiffcp.c: Do not set RowsPerStrip bigger than image length.
  1380. 2006-03-17 Andrey Kiselev <dron@ak4719.spb.edu>
  1381. * tools/fax2tiff.c: Fixed wrong TIFFerror() invocations as per bug
  1382. http://bugzilla.remotesensing.org/show_bug.cgi?id=1125
  1383. * tools/fax2ps.c: Fixed reading the input stream from stdin as per bug
  1384. http://bugzilla.remotesensing.org/show_bug.cgi?id=1124
  1385. 2006-03-16 Andrey Kiselev <dron@ak4719.spb.edu>
  1386. * libtiff/tiffiop.h: Added decalration for
  1387. _TIFFSetDefaultCompressionState().
  1388. * libtiff/{tif_jpeg.c, tif_fax3.c, tif_zip.c, tif_pixarlog.c,
  1389. tif_lzw.c, tif_luv.c}: Use _TIFFSetDefaultCompressionState() in all
  1390. codec cleanup methods. As per bug
  1391. http://bugzilla.remotesensing.org/show_bug.cgi?id=1120
  1392. 2006-03-15 Andrey Kiselev <dron@ak4719.spb.edu>
  1393. * libtiff/tif_jpeg.c: Do not cleanup codec state in TIFFInitJPEG(). As
  1394. per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1119
  1395. * tools/raw2tiff.c: Do not set RowsPerStrip larger than ImageLength.
  1396. As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1110
  1397. * libtiff/tiffiop.h: dblparam_t typedef removed; GLOBALDATA macro
  1398. removed; move here the STRIP_SIZE_DEFAULT macro definition.
  1399. * libtiff/{tif_dirread.c, tif_strip.c}: Removed STRIP_SIZE_DEFAULT
  1400. macro definition.
  1401. * libtiff/tif_dir.c: Use double type instead of dblparam_t.
  1402. 2006-03-14 Andrey Kiselev <dron@ak4719.spb.edu>
  1403. * libtiff/tif_dirread.c: Do not check the PlanarConfig tag presence
  1404. in TIFFReadDirectory, because it is always set at the start of
  1405. function and we allow TIFFs without that tag set.
  1406. 2005-03-13 Andrey Kiselev <dron@ak4719.spb.edu>
  1407. * libtiff 3.8.1 released.
  1408. 2006-03-07 Andrey Kiselev <dron@ak4719.spb.edu>
  1409. * libtiff/tif_dirread.c: Fixed error reporting in TIFFFetchAnyArray()
  1410. function as per bug
  1411. http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
  1412. * libtiff/tif_dirread.c: More wise check for integer overflow
  1413. condition as per bug
  1414. http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
  1415. * libtiff/{tif_jpeg.c, tif_pixarlog.c, tif_fax3.c, tif_zip.c}:
  1416. Properly restore setfield/getfield methods in cleanup functions. As
  1417. per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
  1418. 2006-03-03 Andrey Kiselev <dron@ak4719.spb.edu>
  1419. * libtiff/{tif_predict.c, tif_predict.h}: Added new function
  1420. TIFFPredictorCleanup() to restore parent decode/encode/field methods.
  1421. * libtiff/{tif_lzw.c, tif_pixarlog.c, tif_zip.c}: Use
  1422. TIFFPredictorCleanup() in codec cleanup methods. As per bug
  1423. http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
  1424. * libtiff/tif_dirread.c: Fixed integer overflow condition in
  1425. TIFFFetchData() function. As per bug
  1426. http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
  1427. 2006-03-01 Andrey Kiselev <dron@ak4719.spb.edu>
  1428. * libtiff/tif_ojpeg.c: Set the ReferenceBlackWhite with the
  1429. TIFFSetField() method, not directly. As per bug
  1430. http://bugzilla.remotesensing.org/show_bug.cgi?id=1043
  1431. * tools/ppm2tiff.c: Added support for PBM files as per bug
  1432. http://bugzilla.remotesensing.org/show_bug.cgi?id=1044
  1433. 2006-02-27 Andrey Kiselev <dron@ak4719.spb.edu>
  1434. * libtiff/tif_write.c: Small code rearrangement in TIFFWriteScanline()
  1435. to avoid crash as per bug
  1436. http://bugzilla.remotesensing.org/show_bug.cgi?id=1081.
  1437. 2006-02-26 Andrey Kiselev <dron@ak4719.spb.edu>
  1438. * tools/tiff2pdf.c: Functions t2p_sample_rgbaa_to_rgb() and
  1439. t2p_sample_rgba_to_rgb() was used in place of each other, that was
  1440. resulted in problems with RGBA images with associated alpha.
  1441. As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1097
  1442. 2006-02-23 Andrey Kiselev <dron@ak4719.spb.edu>
  1443. * libtiff/tif_dirwrite.c: Properly write TIFFTAG_DOTRANGE tag as per
  1444. bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088.
  1445. * libtiff/tif_print.c: Properly read TIFFTAG_PAGENUMBER,
  1446. TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING and TIFFTAG_DOTRANGE
  1447. tags as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088.
  1448. * tools/tiff2ps.c: Properly scale all the pages when converting
  1449. multipage TIFF with /width/height/center options set. As per bug
  1450. http://bugzilla.remotesensing.org/show_bug.cgi?id=1080
  1451. 2006-02-15 Andrey Kiselev <dron@ak4719.spb.edu>
  1452. * tools/tiff2pdf.c: Do not create output file until all option checks
  1453. will be done. As per bug
  1454. http://bugzilla.remotesensing.org/show_bug.cgi?id=1072
  1455. * tools/bmp2tiff.c: Added ability to create multipage TIFFs from the
  1456. list of input files as per bug:
  1457. http://bugzilla.remotesensing.org/show_bug.cgi?id=1077
  1458. 2006-02-09 Andrey Kiselev <dron@ak4719.spb.edu>
  1459. * libtiff/tif_tile.c: Fix error reporting in TIFFCheckTile() as per
  1460. bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1063.
  1461. * tools/tiffgt.c: Avoid crashing in case of image unsupported by
  1462. TIFFRGBAImage interface.
  1463. * libtiff/tif_color.c: Avoid overflow in case of wrong input as per
  1464. bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1065.
  1465. 2006-02-07 Frank Warmerdam <warmerdam@pobox.com>
  1466. * tools/tiff2pdf.c: Fixed support for non-YCbCr encoded JPEG
  1467. compressed TIFF files, per submission from Dan Cobra.
  1468. 2006-02-07 Andrey Kiselev <dron@ak4719.spb.edu>
  1469. * libtiff/{tif_dirread.c, tif_packbits.c, tif_win32.c}: Properly
  1470. cast values to avoid warnings. As per bug
  1471. http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
  1472. * libtiff/tif_dirinfo.c: Use TIFF_NOTYPE instead of 0 when
  1473. appropriate. As per bug
  1474. http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
  1475. * libtiff/tif_aux.c: Fixed type of temporary variable in
  1476. _TIFFCheckMalloc() as per bug
  1477. http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
  1478. 2006-02-06 Andrey Kiselev <dron@ak4719.spb.edu>
  1479. * libtiff/tif_aux.c: Return static array when fetching default
  1480. YCbCrCoefficients (another problem, reported a the
  1481. http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 entry).
  1482. 2006-02-03 Andrey Kiselev <dron@ak4719.spb.edu>
  1483. * libtiff/tif_dir.c: Special handling for PageNumber, HalftoneHints,
  1484. YCbCrSubsampling and DotRange tags as per bugs
  1485. http://bugzilla.remotesensing.org/show_bug.cgi?id=1029
  1486. http://bugzilla.remotesensing.org/show_bug.cgi?id=1034
  1487. * libtiff/tif_dirread.c: Use _TIFFGetExifFieldInfo() instead of
  1488. _TIFFGetFieldInfo() in TIFFReadEXIFDirectory() call as per bug
  1489. http://bugzilla.remotesensing.org/show_bug.cgi?id=1026.
  1490. 2006-01-23 Andrey Kiselev <dron@ak4719.spb.edu>
  1491. * libtool related stuff updated from the 2.1a branch.
  1492. 2006-01-11 Frank Warmerdam <warmerdam@pobox.com>
  1493. * tools/bmp2tiff,pal2rgb,ppm2tiff,ras2tiff,raw2tiff,sgi2tiff,
  1494. tiff2bw,tiffcp: Fixed jpeg option processing so -c jpeg:r:50 works
  1495. properly as per bug:
  1496. http://bugzilla.remotesensing.org/show_bug.cgi?id=1025
  1497. 2006-01-09 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  1498. * configure.ac: Fix with_default_strip_size comparison as reported
  1499. by Norihiko Murase.
  1500. 2006-01-08 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  1501. * test/Makefile.am (LIBTIFF): Due to linking against libtiff
  1502. incorrectly, tests were not actually testing the uninstalled
  1503. libtiff. Now they are.
  1504. 2006-01-04 Andrey Kiselev <dron@ak4719.spb.edu>
  1505. * libtiff/tif_dirinfo.c: Change definitions for TIFFTAG_ICCPROFILE,
  1506. TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, TIFFTAG_XMLPACKET: readcount
  1507. should be uint32 value.
  1508. 2006-01-02 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  1509. * html/man/Makefile.am (htmldoc): Fix htmldoc rule so that it can
  1510. be used if build directory is not the same as source directory.
  1511. * man/{TIFFGetField.3tiff, TIFFSetField.3tiff}: Documented
  1512. TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, and TIFFTAG_XMLPACKET,
  1513. and re-sorted tag names in alphabetical order.
  1514. 2005-12-29 Andrey Kiselev <dron@ak4719.spb.edu>
  1515. * libtiff 3.8.0 released.
  1516. 2005-12-28 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  1517. * tools/bmp2tiff.c (main): Fixed warning regarding returning
  1518. inconsistent types from a condition.
  1519. * tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf
  1520. format.
  1521. * tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs.
  1522. 2005-12-28 Joris Van Damme <joris.at.lebbeke@skynet.be>
  1523. * html/{index.html, support.hml, libtiff.html}: Cleaned up HTML
  1524. 2005-12-27 Andrey Kiselev <dron@ak4719.spb.edu>
  1525. * libtiff/tiffio.h: Added VC_EXTRALEAN definition before including
  1526. windows.h, to reduce the compile time.
  1527. 2005-12-26 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  1528. * libtiff/tif_jpeg.c: Improve compilation under MinGW.
  1529. 2005-12-26 Andrey Kiselev <dron@ak4719.spb.edu>
  1530. * libtiff/{tif_dir.c, tif_dir.h, tif_dirread.c, tif_dirinfo.c}:
  1531. tiffFieldInfo and exifFieldInfo arrays definitions moved back to
  1532. tif_dirinfo.c; added _TIFFGetFieldInfo() and _TIFFGetExifFieldInfo()
  1533. private functions to retrieve FieldInfo arrays.
  1534. 2005-12-24 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  1535. * html/build.html: Added some additional instructions for when
  1536. building using MSVC under Windows. Also fixed two HTML syntax
  1537. errors and used HTML Tidy to tidy up the HTML syntax and
  1538. formatting.
  1539. 2005-12-24 Andrey Kiselev <dron@ak4719.spb.edu>
  1540. * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c,
  1541. tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and
  1542. StoNits tags custom.
  1543. 2005-12-23 Andrey Kiselev <dron@ak4719.spb.edu>
  1544. * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make
  1545. WhitePoint tag custom.
  1546. * libtiff/{tif_dir.h, tiff.h}: More EXIF tags added.
  1547. 2005-12-23 Joris Van Damme <joris.at.lebbeke@skynet.be>
  1548. * libtiff/tiffio.h: fixed typo that potentially resulted in
  1549. redefininition of USE_WIN32_FILEIO
  1550. * libtiff/*: Added more 'dual-mode' error handling: Done TIFFWarning
  1551. calls in core LibTiff.
  1552. 2005-12-21 Andrey Kiselev <dron@ak4719.spb.edu>
  1553. * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC,
  1554. Photoshop and ICCProfile tags custom.
  1555. 2005-12-21 Joris Van Damme <joris.at.lebbeke@skynet.be>
  1556. * libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling
  1557. newer code to get context indicator in error handler and still
  1558. remain compatible with older code: Done TIFFError calls everywhere
  1559. except in tools
  1560. 2005-12-20 Andrey Kiselev <dron@ak4719.spb.edu>
  1561. * tools/tiffcp.c: Added many error reporting messages; fixed integer
  1562. overflow as per bug
  1563. http://bugzilla.remotesensing.org/show_bug.cgi?id=789
  1564. 2005-12-16 Frank Warmerdam <warmerdam@pobox.com>
  1565. * contrib/addtiffo/*: Major upgrade by Joris to support subsampled
  1566. YCbCr images in jpeg compressed TIFF files.
  1567. 2005-12-14 Andrey Kiselev <dron@ak4719.spb.edu>
  1568. * tools/tiffcp.c: Return non-zero status when reading fails (again).
  1569. 2005-12-13 Andrey Kiselev <dron@ak4719.spb.edu>
  1570. * tools/tiffcp.c: Return non-zero status when reading fails.
  1571. 2005-12-12 Andrey Kiselev <dron@ak4719.spb.edu>
  1572. * libtiff/{tif_dir.h, tiff.h}: Added more EXIF tags.
  1573. 2005-12-09 Andrey Kiselev <dron@ak4719.spb.edu>
  1574. * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make XMLPacket tag
  1575. custom.
  1576. * tools/tiffinfo.c: Print EXIF directory contents if exist.
  1577. * libtiff/tiff.h: Few EXIF tag numbers added.
  1578. * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c,
  1579. tiffio.h}: Preliminary support to read custom directories. New
  1580. functions: TIFFReadCustomDirectory() and TIFFReadEXIFDirectory().
  1581. 2005-12-07 Andrey Kiselev <dron@ak4719.spb.edu>
  1582. * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}:
  1583. More work to implement custom directory read support.
  1584. * libtiff/{tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h,
  1585. tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite
  1586. tags custom.
  1587. 2005-12-05 Andrey Kiselev <dron@ak4719.spb.edu>
  1588. * libtiff/tif_dirread.c: One more workaround for broken
  1589. StripByteCounts tag. Handle the case when StripByteCounts array filled
  1590. with completely wrong values.
  1591. 2005-11-30 Andrey Kiselev <dron@ak4719.spb.edu>
  1592. * libtiff/tif_dirinfo.c: Release file descriptor in case of failure
  1593. in the TIFFOpenW() function as per bug
  1594. http://bugzilla.remotesensing.org/show_bug.cgi?id=1003
  1595. * libtiff/tif_dirinfo.c: Correctly yse bsearch() and lfind()
  1596. functions as per bug
  1597. http://bugzilla.remotesensing.org/show_bug.cgi?id=1008
  1598. 2005-11-20 Frank Warmerdam <warmerdam@pobox.com>
  1599. * tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support
  1600. for MS MDI format.
  1601. http://bugzilla.remotesensing.org/show_bug.cgi?id=1002
  1602. * .cvsignore: many files added, and a few update according
  1603. to suggestion of Brad HArds on tiff mailing list.
  1604. 2005-11-03 Frank Warmerdam <warmerdam@pobox.com>
  1605. * libtiff/libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory
  1606. public.
  1607. 2005-10-31 Andrey Kiselev <dron@ak4719.spb.edu>
  1608. * tools/fax2tiff.c: Properly calculate sizes of temporary arrays
  1609. as per bug
  1610. http://bugzilla.remotesensing.org/show_bug.cgi?id=943
  1611. * tools/fax2tiff.c: Added option '-r' to set RowsPerStrip parameter
  1612. as per bug
  1613. http://bugzilla.remotesensing.org/show_bug.cgi?id=944
  1614. * tools/tiffdump.c: Fixed typeshift and typemask arrays initialization
  1615. problem as per bug
  1616. http://bugzilla.remotesensing.org/show_bug.cgi?id=946
  1617. * tools/bmp2tiff.c: Fixed possible integer overflow error as per bug
  1618. http://bugzilla.remotesensing.org/show_bug.cgi?id=965
  1619. * libtiff/tif_dirinfo.c: Make XResolution, YResolution and
  1620. ResolutionUnit tags modifiable during write process. As per bug
  1621. http://bugzilla.remotesensing.org/show_bug.cgi?id=977
  1622. * tools/tiffsplit.c: Copy fax related fields over splitted parts
  1623. as per bug
  1624. http://bugzilla.remotesensing.org/show_bug.cgi?id=983
  1625. 2005-10-21 Frank Warmerdam <warmerdam@pobox.com>
  1626. * tif_dirread.c: Don't try and split single strips into "0" strips
  1627. in ChopUpSingleUncompressedStrip. This happens in some degenerate
  1628. cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff)
  1629. 2005-10-20 Joris Van Damme <joris.at.lebbeke@skynet.be>
  1630. * tif_fax3.c: changed 'at scanline ...' style warning/errors
  1631. with incorrect use of tif_row, to 'at line ... of
  1632. strip/tile ...' style
  1633. 2005-10-15 Frank Warmerdam <warmerdam@pobox.com>
  1634. * tif_write.c: fixed setting of planarconfig as per bug report
  1635. on the mailing list from Joris.
  1636. 2005-10-07 Andrey Kiselev <dron@ak4719.spb.edu>
  1637. * configure.ac, configure, nmake.opt, libtiff/{tif_config.h,
  1638. tif_dirread.c}: Make the default strip size configurable via the
  1639. --with-default-strip-size and STRIP_SIZE_DEFAULT options.
  1640. 2005-09-30 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  1641. * html/support.html: Fixed link to documentation on Greg Ward's
  1642. LogLuv TIFF format.
  1643. 2005-09-28 Andrey Kiselev <dron@ak4719.spb.edu>
  1644. * tools/tiffdump.c: Fixed crash when reading malformed tags.
  1645. 2005-09-20 Andrey Kiselev <dron@ak4719.spb.edu>
  1646. * tools/tiff2pdf.c: Added missed 'break' statement as per bug
  1647. http://bugzilla.remotesensing.org/show_bug.cgi?id=932
  1648. 2005-09-12 Andrey Kiselev <dron@ak4719.spb.edu>
  1649. * libtiff 3.7.4 released.
  1650. * {configure, configure.ac, Makefile.am, autogen.sh}: Applied patch
  1651. from Patrick Welche (all scripts moved in the 'config' and 'm4'
  1652. directories).
  1653. 2005-09-12 Frank Warmerdam <warmerdam@pobox.com>
  1654. * libtiff/tif_open.c: reintroduce seek to avoid problem on solaris.
  1655. 2005-09-05 Frank Warmerdam <warmerdam@pobox.com>
  1656. * libtiff/tif_dir.c: When prefreeing tv->value in TIFFSetFieldV
  1657. also set it to NULL to avoid double free when re-setting custom
  1658. string fields as per:
  1659. http://bugzilla.remotesensing.org/show_bug.cgi?id=922
  1660. 2005-08-12 Frank Warmerdam <warmerdam@pobox.com>
  1661. * libtiff/tif_print.c: avoid signed/unsigned warning.
  1662. * libtiff/tif_dirread.c: removed unused variable.
  1663. 2005-07-30 Frank Warmerdam <warmerdam@pobox.com>
  1664. * libtiff/tif_dir.c: Fixed up support for swapping "double complex"
  1665. values (128 bits as 2 64 bits doubles). GDAL gcore tests now
  1666. pass on bigendian (macosx) system.
  1667. 2005-07-28 Andrey Kiselev <dron@ak4719.spb.edu>
  1668. * libtiff/{tif_aux.c, tif_dirread.c, tif_fax3.c, tiffiop.h}: Rename
  1669. CheckMalloc() function to _TIFFCheckMalloc() and make it available
  1670. globally as an internal helper routine.
  1671. 2005-07-27 Andrey Kiselev <dron@ak4719.spb.edu>
  1672. * libtiff/tif_dir.c: More improvements in the "pass by value" part of
  1673. the custom tags handling code.
  1674. 2005-07-26 Andrey Kiselev <dron@ak4719.spb.edu>
  1675. * libtiff/{tif_dirread.c, tif_dirinfo.c}: Do not upcast BYTEs to
  1676. SHORTs in the TIFFFetchByteArray(). Remove TIFFFetchExtraSamples()
  1677. function, use TIFFFetchNormalTag() instead as per bug
  1678. http://bugzilla.remotesensing.org/show_bug.cgi?id=831
  1679. Remove TIFFFetchExtraSamples() function, use TIFFFetchNormalTag()
  1680. instead.
  1681. * libtiff/tiffconf.h.in: One more attempt to fix the AIX bug
  1682. http://bugzilla.remotesensing.org/show_bug.cgi?id=39
  1683. 2005-07-25 Andrey Kiselev <dron@ak4719.spb.edu>
  1684. * libtiff/tif_print.c: Fixed printing of the BYTE and SBYTE arrays.
  1685. * tools/tiffdump.c: Added support for TIFF_IFD datatype.
  1686. 2005-07-21 Andrey Kiselev <dron@ak4719.spb.edu>
  1687. * libtiff/tif_write.c: Do not check the PlanarConfiguration field in
  1688. the TIFFWriteCheck() function in case of single band images (as per
  1689. TIFF spec).
  1690. 2005-07-12 Andrey Kiselev <dron@ak4719.spb.edu>
  1691. * SConstruct, libtiff/SConstruct: Added the first very preliminary
  1692. support for SCons software building tool (http://www.scons.org/).
  1693. This is experimental infrastructure and it will exist along with the
  1694. autotools mechanics.
  1695. 2005-07-07 Andrey Kiselev <dron@ak4719.spb.edu>
  1696. * port/{getopt.c, strcasecmp.c, strtoul.c}: Update modules from
  1697. the NetBSD source tree (the old 4-clause BSD license changed to
  1698. the new 3-clause one).
  1699. * configure.ac, port/lfind.c, libtiff/tiffiop.h: Added lfind()
  1700. replacement module.
  1701. * port/dummy.c: Make the dummy function static.
  1702. 2005-07-06 Andrey Kiselev <dron@ak4719.spb.edu>
  1703. * tools/tiffcp.c: Fixed WhitePoint tag copying.
  1704. * libtiff/{tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_print.c}:
  1705. Make FieldOfViewCotangent, MatrixWorldToScreen, MatrixWorldToCamera,
  1706. ImageFullWidth, ImageFullLength and PrimaryChromaticities tags custom.
  1707. 2005-07-04 Andrey Kiselev <dron@ak4719.spb.edu>
  1708. * libtiff 3.7.3 released.
  1709. * configure, configure.ac: Do not use empty -R option when linking
  1710. with --enable-rpath.
  1711. 2005-07-01 Andrey Kiselev <dron@ak4719.spb.edu>
  1712. * libtiff/{tiffiop.h, tif_open.c}: Added open option 'h' to avoid
  1713. reading the first IFD when needed. As per bug
  1714. http://bugzilla.remotesensing.org/show_bug.cgi?id=875
  1715. * libtiff/tif_color.c: Better use of TIFFmin() macro to avoid side
  1716. effects.
  1717. 2005-06-23 Andrey Kiselev <dron@ak4719.spb.edu>
  1718. * tools/tiff2pdf.c: Print two characters per loop in the
  1719. t2p_write_pdf_trailer(). As per bug
  1720. http://bugzilla.remotesensing.org/show_bug.cgi?id=594
  1721. * tools/tiffgt.c: Use MacOS X OpenGL framework when appropriate. As
  1722. per bug
  1723. http://bugzilla.remotesensing.org/show_bug.cgi?id=844
  1724. * acinclude.m4: Updated to latest OpenGL test macros versions.
  1725. * libtiff/tiff.h: Use correct int size on Sparc 64bit/Sun compiler
  1726. platform. As per bug
  1727. http://bugzilla.remotesensing.org/show_bug.cgi?id=855
  1728. 2005-06-14 Andrey Kiselev <dron@ak4719.spb.edu>
  1729. * libtiff/tif_dirinfo.c: Added support for ClipPath, XClipPathUnits
  1730. and YClipPathUnits tags.
  1731. 2005-06-07 Andrey Kiselev <dron@ak4719.spb.edu>
  1732. * contrib/addtiffo/tif_ovrcache.c: Properly extract tile/strip size;
  1733. use pixel sized shift in contigous case.
  1734. 2005-06-06 Andrey Kiselev <dron@ak4719.spb.edu>
  1735. * contrib/addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}:
  1736. Make overviews working for contiguos images.
  1737. 2005-06-03 Andrey Kiselev <dron@ak4719.spb.edu>
  1738. * libtiff/tif_open.c: Replace runtime endianess check with the compile
  1739. time one.
  1740. * libtiff/tif_predict.c: Floating point predictor now works on
  1741. big-endian hosts.
  1742. 2005-06-01 Andrey Kiselev <dron@ak4719.spb.edu>
  1743. * libtiff/tif_dir.c: Use _TIFFsetString() function when read custom
  1744. ASCII values.
  1745. * libtiff/{tif_dirinfo.c, tif_dir.h, tif_dir.c, tif_print.c}: Make
  1746. DocumentName, Artist, HostComputer, ImageDescription, Make, Model,
  1747. Copyright, DateTime, PageName, TextureFormat, TextureWrapModes and
  1748. TargetPrinter tags custom.
  1749. * libtiff/tif_jpeg.c: Cleanup the codec state depending on
  1750. TIFF_CODERSETUP flag (to fix memry leaks).
  1751. * libtiff/tif_jpeg.c: Initialize JPEGTables array with zero after
  1752. allocating.
  1753. 2005-05-26 Andrey Kiselev <dron@ak4719.spb.edu>
  1754. * configure.ac, libtiff/Makefile.am: Added workaround for
  1755. OpenBSD/MirOS soname problem as per bug
  1756. http://bugzilla.remotesensing.org/show_bug.cgi?id=838
  1757. * libtiff/tif_dirwrite.c: Use tdir_count when calling
  1758. TIFFCvtNativeToIEEEDouble() in the TIFFWriteDoubleArray() function as
  1759. per bug
  1760. http://bugzilla.remotesensing.org/show_bug.cgi?id=845
  1761. 2005-05-25 Andrey Kiselev <dron@ak4719.spb.edu>
  1762. * tools/ppm2tiff.c: Fixed format string when read PPM file header with
  1763. the fscanf() function. As per bug
  1764. http://bugzilla.remotesensing.org/show_bug.cgi?id=861
  1765. * libtiff/{tif_dirinfo.c, tif_print.c}: TIFFFetchByteArray() returns
  1766. uint16 array when fetching the BYTE and SBYTE filds, so we should
  1767. consider result as pointer to uint16 array and not as array of chars.
  1768. As per bug
  1769. http://bugzilla.remotesensing.org/show_bug.cgi?id=831
  1770. * libtiff/tif_dir.c: More efficient custom tags retrieval as per bug
  1771. http://bugzilla.remotesensing.org/show_bug.cgi?id=830
  1772. * libtiff/tif_win32.c: Use FILE_SHARE_READ | FILE_SHARE_WRITE share
  1773. mode in CreateFile() call as per bug
  1774. http://bugzilla.remotesensing.org/show_bug.cgi?id=829
  1775. * libtiff/Makefile.am: Fixed parallel compilation of the libtiff and
  1776. libtiffxx libraries as per bug
  1777. http://bugzilla.remotesensing.org/show_bug.cgi?id=826
  1778. * contrib/addtiffo/{tif_overview.c, tif_ovrcache.h}: Sinchronized with
  1779. GDAL.
  1780. 2005-05-23 Frank Warmerdam <warmerdam@pobox.com>
  1781. * libtiff/tif_jpeg.c: Substantial fix for addtiffo problems with
  1782. JPEG encoded TIFF files. Pre-allocate lots of space for jpegtables
  1783. in directory.
  1784. 2005-05-22 Frank Warmerdam <warmerdam@pobox.com>
  1785. * libtiff/tif_dirread.c: Changed the code that computes
  1786. stripbytecount[0] if it appears bogus to ignore if stripoffset[0] is
  1787. zero. This is a common case with GDAL indicating a "null" tile/strip.
  1788. 2005-05-17 Andrey Kiselev <dron@ak4719.spb.edu>
  1789. * tools/tiffsplit.c: Check for JPEGTables tag presence before copying.
  1790. 2005-05-06 Frank Warmerdam <warmerdam@pobox.com>
  1791. * libtiff/tif_dirread.c: Applied similar change to
  1792. TIFFFetchPerSampleLongs and TIFFFetchPerSampleAnys.
  1793. http://bugzilla.remotesensing.org/show_bug.cgi?id=843
  1794. * libtiff/tif_jpeg.c: added LIB_JPEG_MK1 support in JPEGDecodeRaw().
  1795. 2005-05-06 Andrey Kiselev <dron@ak4719.spb.edu>
  1796. * tools/tiff2pdfr.c, man/tiff2pdf.1: Calculate the tile width properly;
  1797. added new option '-b' to use interpolation in output PDF files (Bruno
  1798. Ledoux).
  1799. 2005-05-05 Frank Warmerdam <warmerdam@pobox.com>
  1800. * libtiff/tif_dirread.c: Ensure that broken files with too many
  1801. values in PerSampleShorts work ok instead of crashing.
  1802. http://bugzilla.remotesensing.org/show_bug.cgi?id=843
  1803. 2005-04-27 Andrey Kiselev <dron@ak4719.spb.edu>
  1804. * tools/tiffdither.c: Copy the PhotometricInterpretation tag from the
  1805. input file.
  1806. 2005-04-15 Andrey Kiselev <dron@ak4719.spb.edu>
  1807. * libtiff/tif_predict.c: Added ability to encode floating point
  1808. predictor, as per TIFF Technical Note 3.
  1809. 2005-04-14 Andrey Kiselev <dron@ak4719.spb.edu>
  1810. * libtiff/{tif_predict.h, tif_predict.c}: Added ability to decode
  1811. floating point predictor, as per TIFF Technical Note 3.
  1812. 2005-04-13 Andrey Kiselev <dron@ak4719.spb.edu>
  1813. * libtiff/{tiffio.h, tiffiop.h, tif_dir.c, tif_read.c, tif_swab.c}:
  1814. Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to
  1815. swap 24-bit floating point values.
  1816. * libtiff/tiff.h: Added predictor constants.
  1817. 2005-04-08 Andrey Kiselev <dron@ak4719.spb.edu>
  1818. * libtiff/{tiffiop.h, tif_dir.c}: Use uint32 type for appropriate
  1819. values in _TIFFVSetField() function. Inspired by the bug
  1820. http://bugzilla.remotesensing.org/show_bug.cgi?id=816
  1821. * man/TIFFSetField.3tiff: Fixed definition of the TIFFTAG_INKNAMES tag
  1822. as per bug
  1823. http://bugzilla.remotesensing.org/show_bug.cgi?id=816
  1824. 2005-03-30 Andrey Kiselev <dron@ak4719.spb.edu>
  1825. * libtiff/tif_open.c: Do not read header in case the output file
  1826. should be truncated (Ron).
  1827. * libtiff/{tif_dirinfo.c, tif_config.h.vc}: Use lfind() instead
  1828. of bsearch() in _TIFFFindFieldInfoByName() function (Ron).
  1829. * libtiff/{tiff.h, tif_dirinfo.c}: Fixes in EXIF tag ordering (Ron).
  1830. 2005-03-22 Andrey Kiselev <dron@ak4719.spb.edu>
  1831. * configure.ac, libtiff/Makefile.am: Use libtool machinery to pass
  1832. rpath option.
  1833. 2005-03-21 Andrey Kiselev <dron@ak4719.spb.edu>
  1834. * libtiff/{tif_dir.c, tif_print.c}: Handle all data types in custom
  1835. tags.
  1836. 2005-03-18 Andrey Kiselev <dron@ak4719.spb.edu>
  1837. * libtiff/dirinfo.c: Added DNG tags.
  1838. * libtiff/{tif_dir.c, tif_print.c}: More improvements in custom tag
  1839. handling code.
  1840. * libtiff/tiff.h: More comments; added missed DNG tag (LensInfo);
  1841. added DNG 1.1.0.0 tags.
  1842. * tools/tif2pdf.c: Fixed problem with alpha channel handling as per
  1843. bug
  1844. http://bugzilla.remotesensing.org/show_bug.cgi?id=794
  1845. * man/TIFFGetField.3tiff: Add a note about autoregistered tags.
  1846. 2005-03-17 Andrey Kiselev <dron@ak4719.spb.edu>
  1847. * nmake.opt: Build with Win32 CRT library by default.
  1848. * tools/tiff2ps.c: Fixed typo in page size handling code.
  1849. * libtiff/{tif_dir.c, tif_print.c}: Support for custom tags, passed
  1850. by value.
  1851. * libtiff/{tiff.h, tif_dirinfo.c, tiffiop.h}: Added EXIF related tags.
  1852. 2005-03-15 Andrey Kiselev <dron@ak4719.spb.edu>
  1853. * libtiff 3.7.2 released.
  1854. 2005-03-09 Andrey Kiselev <dron@ak4719.spb.edu>
  1855. * tools/tiffcmp.c: Added ability to compare the 32-bit integer and
  1856. floating point data; complain on unsupported bit depths.
  1857. 2005-03-05 Andrey Kiselev <dron@ak4719.spb.edu>
  1858. * tif_stream.cxx: Use ios namespace instead of ios_base to support
  1859. GCC 2.95.
  1860. * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied correct patch from
  1861. Lee Howard for HylaFax DCS tag
  1862. (see http://bugzilla.remotesensing.org/show_bug.cgi?id=771)
  1863. 2005-03-04 Andrey Kiselev <dron@ak4719.spb.edu>
  1864. * configure, configure.ac: Use -rpath option instead of -R as per bug
  1865. http://bugzilla.remotesensing.org/show_bug.cgi?id=732
  1866. * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied patch from Lee
  1867. Howard to support a new tag TIFFTAG_FAXDCS (34911) used in HylaFax
  1868. software. As per bug
  1869. http://bugzilla.remotesensing.org/show_bug.cgi?id=771
  1870. * nmake.opt, html/build.html: Add more comments, change the config
  1871. file organization a bit as per bug
  1872. http://bugzilla.remotesensing.org/show_bug.cgi?id=764
  1873. * tools/tiffcmp.c: Use properly sized buffer in short arrays comparison
  1874. as per bug
  1875. http://bugzilla.remotesensing.org/show_bug.cgi?id=785
  1876. 2005-03-03 Andrey Kiselev <dron@ak4719.spb.edu>
  1877. * libtiff/tif_dirread.c: More logic to guess missed strip size as per
  1878. bug http://bugzilla.remotesensing.org/show_bug.cgi?id=705
  1879. * tools/fax2ps.c: Replace insecure mktemp() function with the
  1880. tmpfile() as per bug
  1881. http://bugzilla.remotesensing.org/show_bug.cgi?id=786
  1882. 2005-02-04 Andrey Kiselev <dron@ak4719.spb.edu>
  1883. * libtiff/tiff.h: Changed the int8 definition to be always signed char
  1884. as per bug
  1885. http://bugzilla.remotesensing.org/show_bug.cgi?id=727
  1886. * libtiff/tiffio.h: Move TIFFOpenW() function into the extern "C"{}
  1887. block as per bug
  1888. http://bugzilla.remotesensing.org/show_bug.cgi?id=763
  1889. 2005-02-03 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  1890. * tools/tiffgt.c: Fix problem on big-endian CPUs so that images
  1891. display more correctly. Images display brighter than they should
  1892. on a Sun workstation.
  1893. 2005-02-03 Andrey Kiselev <dron@ak4719.spb.edu>
  1894. * libtiff/tif_dirread.c: Estimate strip size in case of wrong or
  1895. suspicious values in the tags. As per bugs
  1896. http://bugzilla.remotesensing.org/show_bug.cgi?id=705
  1897. and
  1898. http://bugzilla.remotesensing.org/show_bug.cgi?id=320
  1899. * tools/tiff2ps.c: Fixed problem with page sizes as per bug
  1900. http://bugzilla.remotesensing.org/show_bug.cgi?id=742
  1901. 2005-01-31 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  1902. * libtiff/tiff.h (TIFFTAG_TILEWIDTH): Corrected description.
  1903. (TIFFTAG_TILELENGTH): Corrected description.
  1904. 2005-01-30 Andrey Kiselev <dron@ak4719.spb.edu>
  1905. * configure.ac: Fixes for --with-docdir option as per bug
  1906. http://bugzilla.remotesensing.org/show_bug.cgi?id=759
  1907. * libtiff/tif_open.c: Remove unnesessary TIFFSeekFile() call as per
  1908. bug
  1909. http://bugzilla.remotesensing.org/show_bug.cgi?id=756
  1910. * libtiff/tif_stream.cxx: Fixes for C++ stream interface from
  1911. Michael Rinne and Edward Lam.
  1912. 2005-01-15 Andrey Kiselev <dron@ak4719.spb.edu>
  1913. * configure.ac: Make the documentation directory location configurable
  1914. via the --with-docdir option (as suggested by Jeremy C. Reed).
  1915. * libtiff/tif_color.c: Use double as the second argument of pow()
  1916. function in TIFFCIELabToRGBInit(). As per bug
  1917. http://bugzilla.remotesensing.org/show_bug.cgi?id=741
  1918. * libtiff/tif_pixarlog.c: Avoid warnings when converting float to
  1919. integer as per bug
  1920. http://bugzilla.remotesensing.org/show_bug.cgi?id=740
  1921. * libtiff/tif_getimage.c: Always fill the error message buffer in
  1922. TIFFRGBAImageBegin() as per bug
  1923. http://bugzilla.remotesensing.org/show_bug.cgi?id=739
  1924. 2005-01-12 Andrey Kiselev <dron@ak4719.spb.edu>
  1925. * libtiff/tif_jpeg.c: Added ability to read/write the fax specific
  1926. TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS and TIFFTAG_FAXRECVTIME
  1927. tags as per bug
  1928. http://bugzilla.remotesensing.org/show_bug.cgi?id=736
  1929. * libtiff/tif_win32.c: Fixed message formatting in functions
  1930. Win32WarningHandler() and Win32ErrorHandler() as per bug
  1931. http://bugzilla.remotesensing.org/show_bug.cgi?id=735
  1932. * tools/tiff2ps.c: Interpret the -w and -h options independently. As
  1933. per bug
  1934. http://bugzilla.remotesensing.org/show_bug.cgi?id=689
  1935. 2005-01-11 Andrey Kiselev <dron@ak4719.spb.edu>
  1936. * libtiff/tiffio.h: Move the color conversion routines in the 'extern
  1937. "C"' section as per bug
  1938. http://bugzilla.remotesensing.org/show_bug.cgi?id=727
  1939. * libtiff/tiff.h: Restore back the workaround for AIX Visual Age C
  1940. compiler to avoid double definition of BSD types as per bug
  1941. http://bugzilla.remotesensing.org/show_bug.cgi?id=39
  1942. * libtiff/Makefile.am: Place the C++ stream API in the separate
  1943. library called libtiffxx to avoid unneeded dependencies. Probably
  1944. there will be more C++ API in the future. As per bugs
  1945. http://bugzilla.remotesensing.org/show_bug.cgi?id=733
  1946. and
  1947. http://bugzilla.remotesensing.org/show_bug.cgi?id=730
  1948. 2005-01-05 Andrey Kiselev <dron@ak4719.spb.edu>
  1949. * tools/tiffdump.c: Fixed problem when read broken TIFFs with the
  1950. wrong tag counts (Dmitry V. Levin, Martin Pitt).
  1951. * configure.ac: Replace --disable-c++ with the --disable-cxx option as
  1952. per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=730
  1953. 2004-12-25 Andrey Kiselev <dron@ak4719.spb.edu>
  1954. * libtiff/tif_getimage.c: More fixes for multiple-alpha-channelled
  1955. RGB-images as per bug
  1956. http://bugzilla.remotesensing.org/show_bug.cgi?id=713
  1957. * tools/tiffset.c: Convert character option to integer value as per
  1958. bug http://bugzilla.remotesensing.org/show_bug.cgi?id=725
  1959. 2004-12-20 Andrey Kiselev <dron@ak4719.spb.edu>
  1960. * libtiff 3.7.1 released.
  1961. * html/tiffset.1.html: Add missed manual page as per bug
  1962. http://bugzilla.remotesensing.org/show_bug.cgi?id=678
  1963. * libtiff/tiff.h: Revert back libtiff data type definitions as per
  1964. bug http://bugzilla.remotesensing.org/show_bug.cgi?id=687
  1965. 2004-12-19 Andrey Kiselev <dron@ak4719.spb.edu>
  1966. * libtiff/tif_dirread.c: Do not forget about TIFF_VARIABLE2 when
  1967. checking for tag count in TIFFReadDirectory() function. As per bug
  1968. http://bugzilla.remotesensing.org/show_bug.cgi?id=713
  1969. * libtiff/{tif_dirread.c, tif_fax3.c}: More argument checking in
  1970. CheckMallock() function.
  1971. * libtiff/tif_getimage.c: Support for multiple-alpha-channelled
  1972. RGB-images as per bug
  1973. http://bugzilla.remotesensing.org/show_bug.cgi?id=718
  1974. 2004-12-15 Frank Warmerdam <warmerdam@pobox.com>
  1975. * libtiff/tif_getimage.c: #define A1 bracketing for clean build on
  1976. SunPro compiler.
  1977. 2004-12-11 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  1978. * autogen.sh: aclocal and autoheader should be executed after
  1979. libtoolize. Also add '-I .' to aclocal invocation to check
  1980. current directory for macros.
  1981. 2004-12-10 Andrey Kiselev <dron@ak4719.spb.edu>
  1982. * libtiff/tif_dirwrite.c: Always write TIFFTAG_SUBIFD using LONG type
  1983. as per bugs
  1984. http://bugzilla.remotesensing.org/show_bug.cgi?id=703
  1985. and
  1986. http://bugzilla.remotesensing.org/show_bug.cgi?id=704
  1987. 2004-12-04 Andrey Kiselev <dron@ak4719.spb.edu>
  1988. * nmake.opt: Link with the user32.lib in windowed mode. As per bug
  1989. http://bugzilla.remotesensing.org/show_bug.cgi?id=697
  1990. * libtiff/tif_win32.c: Use char* strings instead of TCHAR in windowed
  1991. mode as per bug
  1992. http://bugzilla.remotesensing.org/show_bug.cgi?id=697
  1993. * libtiff/tif_config.in.vc: Removed unneded definitions for
  1994. read/open/close/lseek functions to fix the
  1995. http://bugzilla.remotesensing.org/show_bug.cgi?id=680
  1996. 2004-12-03 Andrey Kiselev <dron@ak4719.spb.edu>
  1997. * libtiff/{tif_dir.c, tif_dirread.c}: Remove TIFFReassignTagToIgnore()
  1998. call from the TIFFReadDirectory() function. TIFFReassignTagToIgnore
  1999. must be removed in the future, as it was never used properly. As per
  2000. bug
  2001. http://bugzilla.remotesensing.org/show_bug.cgi?id=692
  2002. 2004-11-30 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  2003. * libtiff/tif_jpeg.c: Added a work-around in order to allow
  2004. compilation with the heavily modified version of libjpeg delivered
  2005. with Cygwin.
  2006. 2004-11-29 Andrey Kiselev <dron@ak4719.spb.edu>
  2007. * libtiff/tif_dir.c: Properly handle tags, which have the uint32
  2008. counts. As per bug
  2009. http://bugzilla.remotesensing.org/show_bug.cgi?id=693
  2010. * tools/fax2ps.c: Be able to extract the first page (#0). As per bug
  2011. http://bugzilla.remotesensing.org/show_bug.cgi?id=690
  2012. 2004-11-28 Andrey Kiselev <dron@ak4719.spb.edu>
  2013. * libtiff/tif_unix.c: Make UNIX module compilable (and usable)
  2014. on Windows.
  2015. * nmake.opt: Add missed DLLNAME variable.
  2016. 2004-11-26 Frank Warmerdam <warmerdam@pobox.com>
  2017. * libtiff/makefile.vc: make it easier to rename the libtiff DLL.
  2018. 2004-11-24 Andrey Kiselev <dron@ak4719.spb.edu>
  2019. * man/libtiff.3tiff: Improvements in the "LIST OF ROUTINES" table as
  2020. per bug
  2021. http://bugzilla.remotesensing.org/show_bug.cgi?id=545
  2022. * man/tiffset.1: Added manual page for tiffset tool written by Jay
  2023. Berkenbilt. As per bug
  2024. http://bugzilla.remotesensing.org/show_bug.cgi?id=678
  2025. 2004-11-23 Frank Warmerdam <warmerdam@pobox.com>
  2026. * libtiff/tif_error.c: fixed TIFFerror call to be TIFFError.
  2027. 2004-11-21 Frank Warmerdam <warmerdam@pobox.com>
  2028. * html/document.html: Updated Adobe web links as per email from Joris.
  2029. 2004-11-21 Andrey Kiselev <dron@ak4719.spb.edu>
  2030. * libtiff/{tiffio.hxx, tiffio.h}: C++ stream interface moved to new
  2031. file tiffio.hxx. We don't have any C++ in tiffio.h, those who want to
  2032. use C++ streams should #include <tiffio.hxx>.
  2033. 2004-11-13 Andrey Kiselev <dron@ak4719.spb.edu>
  2034. * libtiff/tiff.h: Added Adobe DNG tags.
  2035. * libtiff/tif_win32.c: Typo fixed.
  2036. * libtiff/{tif_stream.cxx, tiffio.h}: C++ stream interface updated to
  2037. be compliant with the latest standard. Appropriate additions in
  2038. makefiles now completed.
  2039. 2004-11-11 Andrey Kiselev <dron@ak4719.spb.edu>
  2040. * tools/tiffset.c, libtiff/tif_dirinfo.c: Properly handle the
  2041. different tag types. As per bug
  2042. http://bugzilla.remotesensing.org/show_bug.cgi?id=600
  2043. 2004-11-10 Andrey Kiselev <dron@ak4719.spb.edu>
  2044. * libtiff/tif_aux.c: Set the appropriate ReferenceBlackWhite array for
  2045. YCbCr image which lacks that tag (noted by Hans Petter Selasky).
  2046. 2004-11-09 Andrey Kiselev <dron@ak4719.spb.edu>
  2047. * libtiff/tif_color.c: Division by zero fixed (Hans Petter Selasky).
  2048. 2004-11-07 Andrey Kiselev <dron@ak4719.spb.edu>
  2049. * libtiff/{tif_stream.cxx, tiffio.h}: Added C++ stream interface
  2050. contributed by Edward Lam (see
  2051. http://bugzilla.remotesensing.org/show_bug.cgi?id=654 for details).
  2052. Though no changes in any makefiles yet.
  2053. 2004-11-05 Frank Warmerdam <warmerdam@pobox.com>
  2054. * libtiff/tif_open.c: Removed close() in TIFFClientOpen() if file
  2055. is bad. This is the callers responsibility.
  2056. http://bugzilla.remotesensing.org/show_bug.cgi?id=651
  2057. 2004-11-05 Andrey Kiselev <dron@ak4719.spb.edu>
  2058. * libtiff/{tiffio.h, tif_win32.c, libtiff.def}: Added TIFFOpenW()
  2059. function to work with the double byte strings (used to represent
  2060. filenames in some locales). As per bug
  2061. http://bugzilla.remotesensing.org/show_bug.cgi?id=625
  2062. * libtiff/tif_dirread.c: Fixed problem when fetching BitsPerSample and
  2063. Compression tags of type LONG from broken TIFFS as per bug
  2064. http://bugzilla.remotesensing.org/show_bug.cgi?id=662
  2065. * libtiff/tif_dirinfo.c: Fixed definition for TIFFTAG_RICHTIFFIPTC,
  2066. the writecount should have uint32 type. As per bug
  2067. http://bugzilla.remotesensing.org/show_bug.cgi?id=662
  2068. * libtiff/tif_write.c: Fixed wrong if() statement in
  2069. TIFFAppendToStrip() function as per bug
  2070. http://bugzilla.remotesensing.org/show_bug.cgi?id=660
  2071. 2004-11-04 Andrey Kiselev <dron@ak4719.spb.edu>
  2072. * libtiff/tif_dirinfo.c: Change definition for TIFFTAG_EXTRASAMPLES
  2073. field. The caller should supply a count when setting this field. As
  2074. per bug
  2075. http://bugzilla.remotesensing.org/show_bug.cgi?id=648
  2076. * libtiff/{tif_jpeg.c, tif_ojpeg.c}: TIFFTAG_JPEGTABLES should have
  2077. uint32 count. Use this type everywhere.
  2078. 2004-11-03 Frank Warmerdam <warmerdam@pobox.com>
  2079. * libtiff/tif_next.c: avoid use of u_long and u_char types. Bug 653.
  2080. 2004-11-02 Frank Warmerdam <warmerdam@pobox.com>
  2081. * tools/tiff2rgba.c: removed extra newlines in usage message.
  2082. 2004-10-30 Andrey Kiselev <dron@ak4719.spb.edu>
  2083. * libtiff/tif_dirwrite.c: Improvements in tag writing code.
  2084. * tools/tiff2ps.c: Fixed wrong variable data type when read Position
  2085. tags (Tristan Hill).
  2086. 2004-10-30 Frank Warmerdam <warmerdam@pobox.com>
  2087. * libtiff/tiffiop.h: added fallback definition of assert() if we
  2088. don't have assert.h.
  2089. 2004-10-29 Andrey Kiselev <dron@ak4719.spb.edu>
  2090. * libtiff/tif_fax3.c: Fixed case with the wrong decode routines
  2091. choosing when the incorrect Group4Options tag set. As per bug
  2092. http://bugzilla.remotesensing.org/show_bug.cgi?id=323
  2093. * libtiff/tif_dirwrite.c: Fixed problem with passing count variable of
  2094. wrong type when writing the TIFF_BYTE/TIFF_SBYTE tags in
  2095. TIFFWriteNormalTag().
  2096. 2004-10-28 Andrey Kiselev <dron@ak4719.spb.edu>
  2097. * tools/tiff2ps.c: Fixed wrong variable data type when read Resolution
  2098. tags (Peter Fales).
  2099. * tools/{bmp2tiff.c, raw2tiff.c}: Get rid of stream I/O functions.
  2100. 2004-10-28 Frank Warmerdam <warmerdam@pobox.com>
  2101. * tools/tiff2pdf.c: added casts to avoid warnings.
  2102. * libtiff/libtiff.def: Added several more entry points required
  2103. to link fax2tiff.c against the DLL on windows.
  2104. 2004-10-27 Andrey Kiselev <dron@ak4719.spb.edu>
  2105. * configure, configure.ac: Added --enable-rpath option to embed linker
  2106. paths into library binary.
  2107. 2004-10-26 Andrey Kiselev <dron@ak4719.spb.edu>
  2108. * tools/tiffset.c: Check the malloc return value (Dmitry V. Levin).
  2109. * libtiff/{tif_strip.c, tif_tile.c}: Zero division problem fixed
  2110. (Vladimir Nadvornik, Dmitry V. Levin).
  2111. 2004-10-16 Andrey Kiselev <dron@ak4719.spb.edu>
  2112. * libtiff 3.7.0 released.
  2113. 2004-10-15 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  2114. * libtiff/tif_jpeg.c: There seems to be no need to include stdio.h
  2115. in this file so its inclusion is removed. Including stdio.h
  2116. sometimes incurs an INT32 typedef conflict between MinGW's
  2117. basetsd.h and libjpeg's jmorecfg.h.
  2118. 2004-10-15 Andrey Kiselev <dron@ak4719.spb.edu>
  2119. * man/bmp2tiff.1: Added manual page for bmp2tiff utility.
  2120. 2004-10-13 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  2121. * tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoid
  2122. conflict noticed under MinGW.
  2123. * ltmain.sh: Fix for MinGW compilation.
  2124. 2004-10-13 Frank Warmerdam <warmerdam@pobox.com>
  2125. * man/tiffsplit.1: Fixed to indicate using aaa-zzz, not aa-zz.
  2126. http://bugzilla.remotesensing.org/show_bug.cgi?id=635
  2127. 2004-10-12 Andrey Kiselev <dron@ak4719.spb.edu>
  2128. * libtiff/{tif_dirread.c, tif_jpeg.c, tif_luv.c, tif_ojpeg.c,
  2129. tif_pixarlog.c, tif_write.c}: Handle the zero strip/tile sizes
  2130. properly (Dmitry V. Levin, Marcus Meissner).
  2131. 2004-10-11 Andrey Kiselev <dron@ak4719.spb.edu>
  2132. * libtiff/tif_dirinfo.c: Type of the TIFFTAG_SUBIFD field changed
  2133. to TIFF_IFD.
  2134. 2004-10-10 Andrey Kiselev <dron@ak4719.spb.edu>
  2135. * tools/bmp2tif.c: Check the space allocation results.
  2136. 2004-10-09 Andrey Kiselev <dron@ak4719.spb.edu>
  2137. * libtiff/tif_dir.c: Initialize td_tilewidth and td_tilelength fields
  2138. of the TIFFDirectory structure with the 0 instead of -1 to avoid
  2139. confusing integer overflows in TIFFTileRowSize() for striped images.
  2140. * tools/tiff2pdf.c: Fixed TransferFunction tag handling reported
  2141. by Ross A. Finlayson.
  2142. * libtiff/tif_dir.c: Fixed custom tags handling as per bug
  2143. http://bugzilla.remotesensing.org/show_bug.cgi?id=629
  2144. 2004-10-08 Frank Warmerdam <warmerdam@pobox.com>
  2145. * libtiff/tif_dirinfo.c: Fix bug with tif_foundfield and reallocation
  2146. of tif_fieldinfo.
  2147. http://bugzilla.remotesensing.org/show_bug.cgi?id=630
  2148. 2004-10-04 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  2149. * contrib/iptcutil/README: Added the missing README which goes
  2150. along with iptcutil.
  2151. 2004-10-03 Andrey Kiselev <dron@ak4719.spb.edu>
  2152. * libtiff/tif_compress.c: Improved error reporting in
  2153. TIFFGetConfiguredCODECs() (Dmitry V. Levin).
  2154. 2004-10-02 Andrey Kiselev <dron@ak4719.spb.edu>
  2155. * libtiff 3.7.0beta2 released.
  2156. * libtiff/{tif_aux.c, tif_compress.c, tif_dirinfo.c, tif_dirwrite.c,
  2157. tif_extension.c, tif_fax3.c, tif_luv.c, tif_packbits.c,
  2158. tif_pixarlog.c, tif_write.c}: Added checks for failed memory
  2159. allocations and integer overflows (Dmitry V. Levin).
  2160. * libtiff/tiff.h: Missed TIFF_BIGTIFF_VERSION constant added.
  2161. 2004-10-01 Frank Warmerdam <warmerdam@pobox.com>
  2162. * libtiff/tif_open.c: added a more informative message if a BigTIFF
  2163. file is opened.
  2164. 2004-09-30 Frank Warmerdam <warmerdam@pobox.com>
  2165. * libtiff/tif_dirinfo.c: changed type of XMLPacket (tag 700) to
  2166. TIFFTAG_BYTE instead of TIFFTAG_UNDEFINED to comply with the info
  2167. in the Adobe XMP Specification.
  2168. 2004-09-29 Andrey Kiselev <dron@ak4719.spb.edu>
  2169. * libtiff/{tif_jpeg.c, tif_pixarlog.c}: Use _TIFFmemset() instead of
  2170. memset().
  2171. * libtiff/{tif_dirread.c, tif_strip.c, tif_tile.c}: Applied patches
  2172. from Dmitry V. Levin to fix possible integer overflow problems.
  2173. 2004-09-28 Andrey Kiselev <dron@ak4719.spb.edu>
  2174. * libtiff/tif_getimage.c: Check for allocated buffers before clearing
  2175. (Dmitry V. Levin).
  2176. 2004-09-26 Andrey Kiselev <dron@ak4719.spb.edu>
  2177. * libtiff/{tif_dir.h, tif_dir.c, tif_dirread.c, tif_write.c}:
  2178. Optimize checking for the strip bounds.
  2179. * libtiff/{tif_dirread.c, tif_strip.c}: TIFFScanlineSize() and
  2180. TIFFRasterScanlineSize() functions report zero in the case of integer
  2181. overflow now. Properly handle this case in TIFFReadDirectory()
  2182. (patches from Dmitry V. Levin).
  2183. 2004-09-25 Andrey Kiselev <dron@ak4719.spb.edu>
  2184. * libtiff/{tif_dirinfo.c, tif_strip.c, tif_tile.c}: Use TIFFhowmany8()
  2185. macro where appropriate.
  2186. * tools/tiff2bw.c: Write ImageWidth/Height tags to output file, as
  2187. noted by Gennady Khokhorin.
  2188. * libtiff/tif_dirread.c: Always check the return values, returned
  2189. by the _TIFFmalloc() (Dmitry V. Levin).
  2190. * libtiff/tif_dir.c: Fixed possible integer overflow _TIFFset*Array()
  2191. functions (Dmitry V. Levin).
  2192. * libtiff/{tif_dirread.c, tif_dir.c, tif_write.c}:
  2193. Potential memory leak fixed in TIFFReadDirectory(), _TIFFVSetField(),
  2194. TIFFGrowStrips() (found by Dmitry V. Levin).
  2195. 2004-09-24 Andrey Kiselev <dron@ak4719.spb.edu>
  2196. * libtiff/{tiffio.h, tif_compress.c}: Added TIFFGetConfiguredCODECs()
  2197. to get the list of configured codecs.
  2198. * libtiff/{tiffiop.h, tif_dirread.c}: More overflow fixes from
  2199. Dmitry V. Levin.
  2200. 2004-09-23 Andrey Kiselev <dron@ak4719.spb.edu>
  2201. * libtiff/tif_dirread.c: Applied patch from Dmitry V. Levin to fix
  2202. possible integer overflow in CheckMalloc() function.
  2203. 2004-09-22 Andrey Kiselev <dron@ak4719.spb.edu>
  2204. * libtiff/{tiffiop.h, tif_strip.c}: Use TIFFhowmany8() macro instead
  2205. of plain TIFFhowmany() where appropriate.
  2206. 2004-09-21 Andrey Kiselev <dron@ak4719.spb.edu>
  2207. * libtiff/tif_getimage.c: Initialize arrays after space allocation.
  2208. 2004-09-19 Andrey Kiselev <dron@ak4719.spb.edu>
  2209. * libtiff 3.7.0beta released.
  2210. * libtiff/{tif_luv.c, tif_next.c, tif_thunder.c}: Several buffer
  2211. overruns fixed, as noted by Chris Evans.
  2212. 2004-09-14 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  2213. * commit: Added a script to make it more convenient to commit
  2214. updates. The CVS commit message is extracted from this ChangeLog
  2215. file.
  2216. 2004-09-14 Andrey Kiselev <dron@ak4719.spb.edu>
  2217. * configure.ac, configure, aclocal.m4, libtiff/{mkspans.c, tif_fax3.c,
  2218. tif_getimage.c, tif_luv.c, tif_lzw.c, tif_ojpeg.c, tif_packbits.c,
  2219. tif_predict.c, tif_read.c, tif_swab.c, tif_thunder.c, tif_write.c,
  2220. tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_jpeg.c, tif_dirinfo.c,
  2221. tif_vms.c, tif_print.c, tif_strip.c, tif_tile.c, tif_dir.h,
  2222. tif_config.h.in, tiffiop.h}:
  2223. Get rid of BSD data types (u_char, u_short, u_int, u_long).
  2224. 2004-09-13 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  2225. * libtiff/tiff.h: Fix column tagging. Reference current Adobe XMP
  2226. specification. Reference libtiff bug tracking system to submit
  2227. private tag additions.
  2228. 2004-09-12 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  2229. * tools/tiffgt.c: Include "tif_config.h".
  2230. * configure.ac: Use AM_PROG_CC_C_O since it is now needed to build
  2231. tiffgt. This results in the 'compile' script being added to the
  2232. project.
  2233. * tools/Makefile.am (tiffgt_CFLAGS): Add extra build options
  2234. required to find OpenGL headers necessary to build tiffgt. Also
  2235. ensure that the libtiff that we built is used rather than some other
  2236. libtiff installed on the system.
  2237. 2004-09-12 Andrey Kiselev <dron@ak4719.spb.edu>
  2238. * configure.ac, acinclude.m4, aclocal.m4: New macros to detect GLUT
  2239. libraries.
  2240. 2004-09-11 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
  2241. * configure.ac: Pass library configuration defines via
  2242. tif_config.h rather than extending CPPFLAGS. Configure a
  2243. libtiff/tiffconf.h in order to satisfy application requirements
  2244. (not used by library build). Do not define _POSIX_C_SOURCE=2 since
  2245. this causes failure to build on systems which properly respect
  2246. this request.
  2247. * libtiff/tiffconf.h.in: New file to act as the template for the
  2248. configured tiffconf.h
  2249. * libtiff/files.lst (HDRS): Install the configured tiffconf.h.
  2250. 2004-09-10 Frank Warmerdam <warmerdam@pobox.com>
  2251. * html/internals.html: Split off a discussion of adding new tags
  2252. into addingtags.html.
  2253. 2004-09-10 Andrey Kiselev <dron@ak4719.spb.edu>
  2254. * test/{ascii_tag.c, long_tag.c}: Preliminary test suite added.
  2255. * tools/tiff2pdf.c: Fixed reading TransferFunction tag as per bug
  2256. http://bugzilla.remotesensing.org/show_bug.cgi?id=590
  2257. * libtiff/tif_print.c: Fixes in InkNames and NumberOfInks reporting.
  2258. * libtiff/tif_dirread.c: Don't reject to read tags of the
  2259. SamplesPerPixel size when the tag count is greater than number of
  2260. samples as per bug
  2261. http://bugzilla.remotesensing.org/show_bug.cgi?id=576
  2262. * libtiff/tiff.h: Use _TIFF_DATA_TYPEDEFS_ guardian to switch off
  2263. defining int8/uint8/... etc. types. As per bug
  2264. http://bugzilla.remotesensing.org/show_bug.cgi?id=607
  2265. 2004-09-09 Frank Warmerdam <warmerdam@pobox.com>
  2266. * tools/tiff2ps.c, tools/tiffmedian.c: fiddle with include files
  2267. to avoid compile warnings about getopt() and a few other things.
  2268. 2004-09-02 Andrey Kiselev <dron@ak4719.spb.edu>
  2269. * libtiff/tif_dirread.c: Use memcpy() function instead of pointer
  2270. assigning magic in TIFFFetchFloat().
  2271. 2004-09-01 Andrey Kiselev <dron@ak4719.spb.edu>
  2272. * libtiff/{tiffio.h, tif_open.c}: Applied patches from Joris Van Damme
  2273. to avoid requirement for tiffiop.h inclusion in some applications. See
  2274. here
  2275. http://www.asmail.be/msg0054799560.html
  2276. for details.
  2277. * tools/fax2tiff.c: Use the new functions in the code.
  2278. 2004-08-25 Andrey Kiselev <dron@ak4719.spb.edu>
  2279. * tools/tiff2pdf.c: Initialize arrays properly.
  2280. * tools/tiff2ps.c: Avoid zero division in setupPageState() function;
  2281. properly initialize array in PSDataBW().
  2282. 2004-08-24 Andrey Kiselev <dron@ak4719.spb.edu>
  2283. * tools/tiff2pdf.c: More fixes for bug
  2284. http://bugzilla.remotesensing.org/show_bug.cgi?id=590
  2285. from Ross Finlayson.
  2286. 2004-08-23 Andrey Kiselev <dron@ak4719.spb.edu>
  2287. * tools/tiff2ps.c: Fixed problem with uninitialized values.
  2288. * libtiff/tif_dir.c: Initialize tif_foundfield data member in the
  2289. TIFFDefaultDirectory() (in addition to 2004-08-19 fix).
  2290. * tools/tiff2pdf.c: Fixed a bunch of problems as per bug
  2291. http://bugzilla.remotesensing.org/show_bug.cgi?id=590
  2292. 2004-08-20 Andrey Kiselev <dron@ak4719.spb.edu>
  2293. * tools/tiff2pdf.c: Applied patch from Ross Finlayson that checks
  2294. that the input file has compression, photometric interpretation,
  2295. etcetra, tags or if not than a more descriptive error is returned.
  2296. * libtiff/tif_dirread.c: Fixed problem in TIFFReadDirectory() in the
  2297. code, responsible for tag data type checking.
  2298. 2004-08-19 Andrey Kiselev <dron@ak4719.spb.edu>
  2299. * libtiff/{tiffiop.h, tif_dirinfo.c}: Fixed problem with the static
  2300. variable as per bug
  2301. http://bugzilla.remotesensing.org/show_bug.cgi?id=593
  2302. 2004-08-16 Andrey Kiselev <dron@ak4719.spb.edu>
  2303. * tools/ras2tiff.c: Fixed issue with missed big-endian checks as per
  2304. bug http://bugzilla.remotesensing.org/show_bug.cgi?id=586
  2305. 2004-08-01 Andrey Kiselev <dron@ak4719.spb.edu>
  2306. * libtiff/{tif_config.h.in, tif_config.h.vc}: config.h.in and
  2307. config.h.vc files renamed in the tif_config.h.in and tif_config.h.vc.
  2308. 2004-07-24 Andrey Kiselev <dron@ak4719.spb.edu>
  2309. * libtiff/tif_lzw.c: LZW compression code is merged back from the
  2310. separate package. All libtiff tools are updated to not advertise an
  2311. abcence of LZW support.
  2312. 2004-07-12 Andrey Kiselev <dron@ak4719.spb.edu>
  2313. * libtiff/tiffio.h: Revert thandle_t back to void* type.
  2314. 2004-07-11 Andrey Kiselev <dron@ak4719.spb.edu>
  2315. * libtiff/{tif_read.c, tif_tile.c, tif_strip.c}: Fixes in error
  2316. messages, as suggested by Bernd Herd.
  2317. 2004-07-03 Andrey Kiselev <dron@ak4719.spb.edu>
  2318. * libtiff/tif_dir.c: Call TIFFError() instead of producing warnings
  2319. when setting custom tags by value. Reported by Eric Fieleke.
  2320. 2004-06-14 Andrey Kiselev <dron@ak4719.spb.edu>
  2321. * tools/bmp2tiff.c: Add missed RawsPerStrip setting.
  2322. 2004-06-08 Andrey Kiselev <dron@ak4719.spb.edu>
  2323. * tools/bmp2tiff.c: Added new utility to convert Windows BMP files
  2324. into TIFFs.
  2325. 2004-06-07 Andrey Kiselev <dron@ak4719.spb.edu>
  2326. * libtiff 3.7.0alpha released.
  2327. 2004-06-06 Andrey Kiselev <dron@ak4719.spb.edu>
  2328. * libtiff/{tiff.h, tif_dirwrite.c, tif_fax3.c, tif_packbits.c,}: Get rid
  2329. of ugly 64-bit hacks, replace them with the clever (autoconf based )
  2330. ones :-).
  2331. * libtiff/tiffio.h: Define thandle_t as int, not void* (may cause
  2332. problems in 64-bit environment).
  2333. 2004-06-05 Andrey Kiselev <dron@ak4719.spb.edu>
  2334. * tools/tiffset.c: tiffset now can set any libtiff supported tags.
  2335. Tags can be supplied by the mnemonic name or number.
  2336. * libtiff/{tiffio.h, tif_dir.h, tif_dirinfo.c,}: Added two new
  2337. functions TIFFFindFieldInfoByName() and TIFFFieldWithName().
  2338. 2004-05-27 Andrey Kiselev <dron@ak4719.spb.edu>
  2339. * libtiff/tif_ojpeg.c: Fixed problem with duplicated SOI and SOF
  2340. markers as per bug
  2341. http://bugzilla.remotesensing.org/show_bug.cgi?id=581
  2342. 2004-05-24 Andrey Kiselev <dron@ak4719.spb.edu>
  2343. * tools/tiffsplit.c: Don't forget to copy Photometric
  2344. Interpretation tag.
  2345. 2004-05-20 Andrey Kiselev <dron@ak4719.spb.edu>
  2346. * libtiff/{tif_open.c, tiffio.h}: New function added:
  2347. TIFFIsBigEndian(). Function returns nonzero if given was file written
  2348. in big-endian order.
  2349. * tools/tiffsplit.c: Fixed problem with unproperly written multibyte
  2350. files. Now output files will be written using the same byte order
  2351. flag as in the input image. See
  2352. http://bugzilla.remotesensing.org/show_bug.cgi?id=574
  2353. for details.
  2354. 2004-05-19 Frank Warmerdam <warmerdam@pobox.com>
  2355. * libtiff/tif_print.c: added (untested) support for printing
  2356. SSHORT, SLONG and SRATIONAL fields.
  2357. * tools/tiffcp.c: close output file on normal exit.
  2358. 2004-05-17 Andrey Kiselev <dron@ak4719.spb.edu>
  2359. * libtiff/tif_fax3.c: Avoid reading CCITT compression options
  2360. if compression type mismatches. See
  2361. http://bugzilla.remotesensing.org/show_bug.cgi?id=565
  2362. 2004-04-30 Andrey Kiselev <dron@ak4719.spb.edu>
  2363. * libtiff/tif_strip.c: Never return 0 from the
  2364. TIFFNumberOfStrips().
  2365. 2004-04-29 Andrey Kiselev <dron@ak4719.spb.edu>
  2366. * libtiff/tif_dirread.c: Workaround for broken TIFF writers which
  2367. store single SampleFormat value for multisampled images. See
  2368. http://bugzilla.remotesensing.org/show_bug.cgi?id=562
  2369. 2004-04-25 Andrey Kiselev <dron@ak4719.spb.edu>
  2370. * configure.ac, libtiff/{tiff.h, config.h.in}: Added tests for int8,
  2371. int16 and int32 types to avoid complains on some compilers. Details at
  2372. http://bugzilla.remotesensing.org/show_bug.cgi?id=39
  2373. 2004-04-20 Andrey Kiselev <dron@ak4719.spb.edu>
  2374. * tools/tiff2pdf.c: Fixed problem with unaligned access as per bug
  2375. http://bugzilla.remotesensing.org/show_bug.cgi?id=555
  2376. 2004-04-14 Andrey Kiselev <dron@ak4719.spb.edu>
  2377. * libtiff/tif_write.c: Allow in-place updating of the compressed
  2378. images (don't work properly with all codecs). For details see GDAL bug
  2379. http://bugzilla.remotesensing.org/show_bug.cgi?id=534
  2380. 2004-04-06 Andrey Kiselev <dron@ak4719.spb.edu>
  2381. * libtiff/tif_jpeg.c: Workaround for wrong sampling factors used
  2382. in the Intergarph JPEG compressed TIFF images as per bug:
  2383. http://bugzilla.remotesensing.org/show_bug.cgi?id=532
  2384. 2004-04-04 Frank Warmerdam <warmerdam@pobox.com>
  2385. * libtiff/tif_open.c: close clientdata if TIFFClientOpen() fails
  2386. via bad2.
  2387. 2004-03-26 Andrey Kiselev <dron@ak4719.spb.edu>
  2388. * tools/tiffcp.c: Properly set Photometric Interpretation in case of
  2389. JPEG compression of grayscale images.
  2390. * tools/tiffcp.c: Don't emit warnings when Orientation tag does not
  2391. present in the input image.
  2392. 2004-03-19 Andrey Kiselev <dron@ak4719.spb.edu>
  2393. * {many}: The first attempt to switch to autotools.
  2394. 2004-03-03 Andrey Kiselev <dron@ak4719.spb.edu>
  2395. * libtiff/tif_open.c: Use dummy mmap/munmap functions in
  2396. TIFFClientOpen() when the appropriate client functions was not
  2397. supplied by user.
  2398. 2004-03-02 Frank Warmerdam <warmerdam@pobox.com>
  2399. * tools/ycbcr.c: fixed main() declaration as per:
  2400. http://bugzilla.remotesensing.org/show_bug.cgi?id=513
  2401. 2004-02-26 Andrey Kiselev <dron@ak4719.spb.edu>
  2402. * tools/tiffsplit.c: Copy JPEGTables tag contents for JPEG compressed
  2403. images. Reported by Artem Mirolubov.
  2404. * libtiff/tif_dirread.c: Fixed problem with handling TIFF_UNDEFINED
  2405. tag type in TIFFFetchNormalTag() as per bug
  2406. http://bugzilla.remotesensing.org/show_bug.cgi?id=508
  2407. 2004-02-17 Frank Warmerdam <warmerdam@pobox.com>
  2408. * libtiff/tif_codec.c: Fixed typo in TIFFInitPackBits name as per:
  2409. http://bugzilla.remotesensing.org/show_bug.cgi?id=494
  2410. 2004-02-05 Andrey Kiselev <dron@ak4719.spb.edu>
  2411. * libtiff/tif_fax3.c: Fixed problem with CCITT encoding modes as per
  2412. bug
  2413. http://bugzilla.remotesensing.org/show_bug.cgi?id=483
  2414. But we need more work on fax codec to support update mode.
  2415. 2004-01-30 Frank Warmerdam <warmerdam@pobox.com>
  2416. * libtiff/libtiff.def: Added TIFFCurrentDirOffset, TIFFWriteCheck,
  2417. TIFFRGBAImageOK, and TIFFNumberOfDirectories as suggested by
  2418. Scott Reynolds.
  2419. 2004-01-29 Andrey Kiselev <dron@ak4719.spb.edu>
  2420. * libtiff/tiff.h: Fixed tag definitions for TIFFTAG_YCLIPPATHUNITS
  2421. and TIFFTAG_INDEXED as per bug
  2422. http://bugzilla.remotesensing.org/show_bug.cgi?id=475
  2423. * libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is
  2424. NULL before proceeding further as per bug
  2425. http://bugzilla.remotesensing.org/show_bug.cgi?id=474
  2426. Check results, returned by the TIFFFdOpen() before returning and close
  2427. file if TIFFFdOpen() failed as per bug
  2428. http://bugzilla.remotesensing.org/show_bug.cgi?id=468
  2429. * libtiff/tif_open.c: More fixes for
  2430. http://bugzilla.remotesensing.org/show_bug.cgi?id=468
  2431. 2004-01-28 Andrey Kiselev <dron@ak4719.spb.edu>
  2432. * libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}: Separate
  2433. TIFFCleanup() from the TIFFClose() in order to fix the bug
  2434. http://bugzilla.remotesensing.org/show_bug.cgi?id=468
  2435. * tools/tiffcp.c: Fixed problem with wrong interpretation of the
  2436. InkNames tag as per bug
  2437. http://bugzilla.remotesensing.org/show_bug.cgi?id=466
  2438. Memory leak fixed.
  2439. 2004-01-21 Frank Warmerdam <warmerdam@pobox.com>
  2440. * libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags that
  2441. are field_passcount=TRUE properly. Arguably anonymous custom tags
  2442. should be declared as passcount=FALSE, but I don't want to change
  2443. that without a careful review.
  2444. 2004-01-20 Andrey Kiselev <dron@ak4719.spb.edu>
  2445. * libtiff/tif_write.c: Fixed reporting size of the buffer in case of
  2446. stripped image in TIFFWriteBufferSetup(). As per bug
  2447. http://bugzilla.remotesensing.org/show_bug.cgi?id=460
  2448. 2004-01-11 Andrey Kiselev <dron@ak4719.spb.edu>
  2449. * libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(),
  2450. patch from Gerben Koopmans.
  2451. * libtiff/tif_dirread.c: Check field_passcount value before setting
  2452. the value of undefined type, patch from Gerben Koopmans.
  2453. 2004-01-02 Andrey Kiselev <dron@ak4719.spb.edu>
  2454. * tools/tiffcp.c: Fixed problem with wrong Photometric setting for
  2455. non-RGB images.
  2456. 2003-12-31 Andrey Kiselev <dron@ak4719.spb.edu>
  2457. * libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when the NULL
  2458. pointer passed. Patch supplied by Larry Grill.
  2459. * libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as
  2460. suggested by Jeremy C. Reed.
  2461. 2003-12-26 Andrey Kiselev <dron@ak4719.spb.edu>
  2462. * libtiff 3.6.1 released.
  2463. 2003-12-24 Andrey Kiselev <dron@ak4719.spb.edu>
  2464. * config.guess, config.sub: Updated from the recent upstream.
  2465. 2003-12-22 Andrey Kiselev <dron@ak4719.spb.edu>
  2466. * libtiff/{tif_color, tif_getimage.c, tiffio.h}, man/TIFFcolor.3t:
  2467. More cleanups in color conversion interface, added appropriate manual
  2468. page.
  2469. 2003-12-19 Andrey Kiselev <dron@ak4719.spb.edu>
  2470. * libtiff/{tif_extension.c, tif_dirinfo.c, tiff.h}: Warnings fixed as
  2471. per bug
  2472. http://bugzilla.remotesensing.org/show_bug.cgi?id=357
  2473. * tools/tiff2ps.c: Added support for alpha channel. Fixes
  2474. http://bugzilla.remotesensing.org/show_bug.cgi?id=428
  2475. * libtiff/{libtiff.def, tif_color.c, tif_getimage.c, tiffio.h}:
  2476. Interface for Lab->RGB color conversion is finally cleaned up.
  2477. Added support for ReferenceBlackWhite tag handling when converted from
  2478. YCbCr color space. The latter closes
  2479. http://bugzilla.remotesensing.org/show_bug.cgi?id=120
  2480. 2003-12-07 Andrey Kiselev <dron@ak4719.spb.edu>
  2481. * libtiff/{tif_getimage.c, tiffio.h}: Avoid warnings.
  2482. * libtiff/makefile.vc, tools/makefile.vc: Support for IJG JPEG
  2483. library.
  2484. 2003-12-06 Andrey Kiselev <dron@ak4719.spb.edu>
  2485. * libtiff/{tif_getimage.c, tif_aux.c}: Read WhitePoint tag from the
  2486. file and properly use it for CIE Lab->RGB transform.
  2487. 2003-12-04 Andrey Kiselev <dron@ak4719.spb.edu>
  2488. * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: YCbCr->RGB
  2489. conversion routines now in the tif_color.c module. New function
  2490. TIFFYCbCrtoRGB() available in TIFF API.
  2491. * libtiff/tif_dirwrite.c: Handle TIFF_IFD tag type correctly.
  2492. 2003-12-03 Andrey Kiselev <dron@ak4719.spb.edu>
  2493. * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: Improvements in
  2494. CIE Lab conversion code. Start moving YCbCr stuff to the tif_color.c
  2495. module.
  2496. * libtiff/{tif_getimage.c, tiffio.h}, man{TIFFReadRGBAImage.3t,
  2497. TIFFReadRGBAStrip.3t, TIFFReadRGBATile.3t, TIFFRGBAImage.3t}:
  2498. Finally resolved problems with orientation handling. TIFFRGBAImage
  2499. interface now properly supports all possible orientations, i.e. images
  2500. will be flipped both in horizontal and vertical directions if
  2501. required. 'Known bugs' section now removed from the appropriate manual
  2502. pages. Closed bug entry:
  2503. http://bugzilla.remotesensing.org/show_bug.cgi?id=322
  2504. 2003-12-02 Andrey Kiselev <dron@ak4719.spb.edu>
  2505. * libtiff/tif_dir.c: Fixed order of the parameters in TIFFError()
  2506. function calls as per bug
  2507. http://bugzilla.remotesensing.org/show_bug.cgi?id=440
  2508. 2003-11-28 Ross Finlayson <libtiff@apexinternetsoftware.com>
  2509. * tools/tiff2pdf.c: Some bugs fixed.
  2510. 2003-11-27 Andrey Kiselev <dron@ak4719.spb.edu>
  2511. * libtiff/tif_luv.c: Fixed bug in 48-bit to 24-bit conversion routine,
  2512. reported by Antonio Scuri.
  2513. * man/tiff2pdf.1: Few improvements in page layout.
  2514. * Makefile.in, /man/Makefile.in, /html/man/tiff2pdf.1.html:
  2515. Added support fpr tiff2pdf manual page.
  2516. 2003-11-26 Ross Finlayson <libtiff@apexinternetsoftware.com>
  2517. * /man/tiff2pdf.1: File added to repository.
  2518. 2003-11-26 Andrey Kiselev <dron@ak4719.spb.edu>
  2519. * Makefile.in, /tools/{Makefile.in, makefile.vc}:
  2520. Added support fpr tiff2pdf utility.
  2521. 2003-11-25 Ross Finlayson <libtiff@apexinternetsoftware.com>
  2522. * /tools/tiff2pdf.c: File added to repository.
  2523. 2003-11-22 Andrey Kiselev <dron@ak4719.spb.edu>
  2524. * /tools/raw2tiff.c: sqrtf() replaced with sqrt().
  2525. 2003-11-21 Andrey Kiselev <dron@ak4719.spb.edu>
  2526. * /tools/raw2tiff.c: #include <getopt.h> removed.
  2527. * tools/{Makefile.in, tiffgt.c}: Unmaintained and platform dependent
  2528. sgigt utility removed and replaced with the completely rewritten
  2529. portable tiffgt tool (depend on OpenGL and GLUT). Initial revision,
  2530. there is a lot of things to improve.
  2531. * libtiff/tif_ojpeg.c: TIFFVGetField() function now can properly
  2532. extract the fields from the OJPEG files. Patch supplied by Ross
  2533. Finlayson.
  2534. * libtiff/{tiffio.h, tif_codec.c}, man/{libtiff.3t, TIFFcodec.3t}:
  2535. Added new function TIFFIsCODECConfigured(), suggested by Ross
  2536. Finlayson.
  2537. 2003-11-18 Andrey Kiselev <dron@ak4719.spb.edu>
  2538. * libtiff/tif_dirinfo.c: Implemented binary search in
  2539. _TIFFMergeFieldInfo(). Patch supplied by Ross Finlayson.
  2540. * libtiff/tif_dir.h: _TIFFFindOrRegisterdInfo declaration replaced
  2541. with _TIFFFindOrRegisterFieldInfo as reported by Ross Finlayson.
  2542. 2003-11-17 Frank Warmerdam <warmerdam@pobox.com>
  2543. * tif_dirread.c: do not mark all anonymously defined tags to be
  2544. IGNOREd.
  2545. 2003-11-17 Andrey Kiselev <dron@ak4719.spb.edu>
  2546. * contrib/pds/{tif_pdsdirread.c, tif_pdsdirwrite.c}: Use
  2547. TIFFDataWidth() function insted of tiffDataWidth array.
  2548. 2003-11-16 Andrey Kiselev <dron@ak4719.spb.edu>
  2549. * libtiff/{tiff.h, tif_dirinfo.c}: Added support for IFD (13)
  2550. datatype, intruduced in "Adobe PageMaker TIFF Tech. Notes".
  2551. 2003-11-15 Frank Warmerdam <warmerdam@pobox.com>
  2552. * Makefile.in: fixed missing backslash for tif_color.c in list.
  2553. 2003-11-13 Andrey Kiselev <dron@ak4719.spb.edu>
  2554. * libtiff/{tif_color.c, tif_getimage.c, tiffio.h, Makefile.in}:
  2555. New color space conversion code: CIE L*a*b* 1976 images now supported
  2556. by the TIFFRGBAImage interface. All introduced routines go to new
  2557. module tif_color.c. Eventually all color conversion functions should
  2558. be moved there.
  2559. 2003-11-12 Andrey Kiselev <dron@ak4719.spb.edu>
  2560. * tools/{ras2tiff.c, rasterfile.h}: Properly determine SUN Rasterfiles
  2561. with the reverse byte order (it is reported by the magic header
  2562. field). Problem reported by Andreas Wiesmann.
  2563. * tools/raw2tiff.c, man/raw2tiff.1: Few improvements in correlation
  2564. calculation function. Guessing mechanics now documented in manual page.
  2565. 2003-11-11 Andrey Kiselev <dron@ak4719.spb.edu>
  2566. * tools/raw2tiff.c: Implemented image size guessing using
  2567. correlation coefficient calculation between two neighbour lines.
  2568. 2003-11-09 Frank Warmerdam <warmerdam@pobox.com>
  2569. * libtiff/tif_tile.c: remove spurious use of "s" (sample) in the
  2570. planarconfig_contig case in TIFFComputeTile().
  2571. http://bugzilla.remotesensing.org/show_bug.cgi?id=387
  2572. 2003-11-09 Andrey Kiselev <dron@ak4719.spb.edu>
  2573. * libtiff/tiffiop.h: New macros: TIFFmax, TIFFmin and TIFFrint.
  2574. 2003-11-07 Andrey Kiselev <dron@ak4719.spb.edu>
  2575. * libtiff/{tiffio.h, tif_strip.c}, man/{TIFFstrip.3t, libtiff.3t}:
  2576. Added TIFFRawStripSize() function as suggested by Chris Hanson.
  2577. 2003-11-03 Andrey Kiselev <dron@ak4719.spb.edu>
  2578. * libtiff/{tif_lzw.c, tif_fax3.c}: Proper support for update mode as
  2579. per bug
  2580. http://bugzilla.remotesensing.org/show_bug.cgi?id=424
  2581. 2003-10-29 Andrey Kiselev <dron@ak4719.spb.edu>
  2582. * libtiff/libtiff.def: Added TIFFReadRGBAImageOriented.
  2583. * html/build.html: Added note about GNU make requirement.
  2584. 2003-10-25 Andrey Kiselev <dron@ak4719.spb.edu>
  2585. * Makefile.in: Fixes in using MAKEFLAGS as per bug
  2586. http://bugzilla.remotesensing.org/show_bug.cgi?id=418
  2587. * port/install.sh.in: Option -p added to the mkdir command to create
  2588. all directory tree structure before installing.
  2589. 2003-10-18 Andrey Kiselev <dron@ak4719.spb.edu>
  2590. * /tools/tiff2ps.c: #include <strings.h> replaced with the
  2591. #include <string.h>.
  2592. 2003-10-16 Andrey Kiselev <dron@ak4719.spb.edu>
  2593. * Makefile.in: Add an absolute path to the test_pics.sh call.
  2594. 2003-10-12 Andrey Kiselev <dron@ak4719.spb.edu>
  2595. * libtiff/tiffcomp.h: #define _BSDTYPES_DEFINED when defining BSD
  2596. typedefs.
  2597. 2003-10-09 Andrey Kiselev <dron@ak4719.spb.edu>
  2598. * configure, libtiff/{Makefile.in, mkversion.c}:
  2599. Relative buildings fixed.
  2600. * tools/Makefile.in: Added "-I../libtiff" to the tiffset building
  2601. rule.
  2602. 2003-10-07 Andrey Kiselev <dron@ak4719.spb.edu>
  2603. * Makefile.in: Added missed v3.6.0.html.
  2604. * libtiff/tiffio.h: Typo fixed: ORIENTATION_BOTTOMLEFT replaced with
  2605. ORIENTATION_BOTLEFT.
  2606. 2003-10-04 Andrey Kiselev <dron@ak4719.spb.edu>
  2607. * 3.6.0 final release.
  2608. 2003-10-03 Andrey Kiselev <dron@ak4719.spb.edu>
  2609. * libtiff/{tif_getimage.c, tiffio.h}, man/TIFFReadRGBAImage.3t: New
  2610. function TIFFReadRGBAImageOriented() implemented to retrieve raster
  2611. array with user-specified origin position as suggested by Jason Frank.
  2612. See
  2613. http://bugzilla.remotesensing.org/show_bug.cgi?id=322
  2614. for details.
  2615. * tools/tiff2rgba.c: Switched to use TIFFReadRGBAImageOriented()
  2616. instead of TIFFReadRGBAImage().
  2617. * tools/tiff2ps.c: Fixed possible endless loop as per bug
  2618. http://bugzilla.remotesensing.org/show_bug.cgi?id=404
  2619. 2003-09-30 Andrey Kiselev <dron@ak4719.spb.edu>
  2620. * libtiff/tif_dirread.c: Check field counter against number of fields
  2621. in order to fix
  2622. http://bugzilla.remotesensing.org/show_bug.cgi?id=366
  2623. * libtiff/tif_fax3.c: Fix wrong line numbering as per bug
  2624. http://bugzilla.remotesensing.org/show_bug.cgi?id=342
  2625. 2003-09-25 Andrey Kiselev <dron@ak4719.spb.edu>
  2626. * libtiff/{tiffiop.h, tif_dirread.c, tif_dir.c, tif_open.c,
  2627. tif_close.c}: Store a list of opened IFD to prevent looping as per bug
  2628. http://bugzilla.remotesensing.org/show_bug.cgi?id=383
  2629. 2003-09-23 Andrey Kiselev <dron@ak4719.spb.edu>
  2630. * libtiff/tif_dirread.c: More fixes for EstimateStripByteCounts(). See
  2631. http://bugzilla.remotesensing.org/show_bug.cgi?id=358
  2632. 2003-08-21 Andrey Kiselev <dron@ak4719.spb.edu>
  2633. * tools/tiffmedian.c: int declaration replaced with the uint32 to
  2634. support large images as per bug
  2635. http://bugzilla.remotesensing.org/show_bug.cgi?id=382
  2636. 2003-08-12 Andrey Kiselev <dron@ak4719.spb.edu>
  2637. * libtiff/Makefile.in: Fixed problem with building in different
  2638. directory.
  2639. * tools/tiff2ps.c: Added missing #include <strings.h>.
  2640. * libtiff/tif_dirwrite.c: More fixes for custom tags code
  2641. from Ashley Dreier.
  2642. 2003-08-07 Andrey Kiselev <dron@ak4719.spb.edu>
  2643. * tools/tiff2ps.c: Added page size setting when creating PS Level 2.
  2644. Patch submitted by Balatoni Denes (with corrections from Tom
  2645. Kacvinsky).
  2646. * tools/tiff2ps.c: Fixed PS comment emitted when FlateDecode is
  2647. being used. Reported by Tom Kacvinsky.
  2648. * libtiff/tif_dirwrite.c: Fixed problem with custom tags writing,
  2649. reported by Ashley Dreier.
  2650. * libtiff/tif_print.c: Fixed problem with float tags reading, support
  2651. for printing RATIONAL and BYTE tags added.
  2652. 2003-08-05 Andrey Kiselev <dron@ak4719.spb.edu>
  2653. * libtiff/tif_lzw.c: Move LZW codec state block allocation back to
  2654. TIFFInitLZW(), because its initialization in LZWSetupDecode() cause
  2655. problems with predictor initialization. Remove O_RDONLY check during
  2656. state block allocation to be able open LZW compressed files in update
  2657. mode.
  2658. Problem exist for libtiff version of the tif_lzw.c module. One from
  2659. lzw-compression-kit hasn't such troubles.
  2660. 2003-08-04 Frank Warmerdam <warmerdam@pobox.com>
  2661. * libtiff/tif_write.c: modified tif_write.c so that the various
  2662. encoded write functions use tif_postdecode() to apply byte order
  2663. swapping (swab) to the application passed data buffer if the same
  2664. would be done when reading. This allows us to write pixel data with
  2665. more than 8 bits per sample to existing files of a non-native byte
  2666. order. One side effect of this change is the applications buffer
  2667. itself is altered in this case by the act of writing.
  2668. http://bugzilla.remotesensing.org/show_bug.cgi?id=171
  2669. 2003-07-25 Frank Warmerdam <warmerdam@pobox.com>
  2670. * libtiff/tif_open.c: avoid signed/unsigned casting warning
  2671. initializing typemask as per patch from J.A. Strother.
  2672. * tools/tiffcp.c: fixed signed/unsigned casting warning.
  2673. * libtiff/tif_print.c: dos2unix conversion.
  2674. * tools/tiffsplit.c: increased the maximum number of pages that
  2675. can be split. Patch provided by Andrew J. Montalenti.
  2676. 2003-07-11 Andrey Kiselev <dron@ak4719.spb.edu>
  2677. * tools/raw2tiff.c: Added option `-p' to explicitly select color
  2678. space of input image data. Closes
  2679. http://bugzilla.remotesensing.org/show_bug.cgi?id=364
  2680. 2003-07-08 Frank Warmerdam <warmerdam@pobox.com>
  2681. * tif_aux.c, tif_codec.c, tif_dir.c, tif_dirread.c, tif_extension.c,
  2682. tif_fax3.c, tif_getimage.c, tif_luv.c, tif_lzw.c, tif_next.c,
  2683. tif_packbits.c, tif_predict.c, tif_print.c, tif_swab.c, tif_thunder.c:
  2684. avoid casting warning at /W4.
  2685. 2003-07-03 Andrey Kiselev <dron@ak4719.spb.edu>
  2686. * tools/thumbnail.c: Memory leak fixed as reported by Robert S. Kissel.
  2687. 2003-06-30 Andrey Kiselev <dron@ak4719.spb.edu>
  2688. * libtiff/tif_pixarlog.c: Unused variables removed.
  2689. * libtiff/{tif_dirread.c, tif_dir.c}: Fixed problem with
  2690. EstimateStripByteCounts() as per bug
  2691. http://bugzilla.remotesensing.org/show_bug.cgi?id=358
  2692. * libtiff/{tif_dirwrite.c, tif_packbits.c}: Fixed compilation on
  2693. 64-bit architectures as per bug
  2694. http://bugzilla.remotesensing.org/show_bug.cgi?id=357
  2695. * libtiff/tif_dirinfo.c: TIFFDataWidth() returns 0 in case of
  2696. unknown data type.
  2697. 2003-06-19 Frank Warmerdam <warmerdam@pobox.com>
  2698. * libtiff/tif_print.c: fixed some serious bugs when printing
  2699. custom tags ... almost certain to crash.
  2700. * libtiff/tif_dirread.c: Don't ignore custom fields that are
  2701. autodefined. Not sure how this got to be like this.
  2702. 2003-06-18 Andrey Kiselev <dron@ak4719.spb.edu>
  2703. * 3.6.0 Beta2 released.
  2704. * tools/tiffcmp.c, man/tiffcmp.1: Fixed problem with unused data
  2705. comparing as per bug
  2706. http://bugzilla.remotesensing.org/show_bug.cgi?id=349
  2707. `-z' option now can be used to set the number of reported different
  2708. bytes.
  2709. 2003-06-09 Andrey Kiselev <dron@ak4719.spb.edu>
  2710. * tools/tiffcp.c, man/tiffcp.1: Added possibility to specify value -1
  2711. to -r option to get the entire image as one strip. See
  2712. http://bugzilla.remotesensing.org/show_bug.cgi?id=343
  2713. for details.
  2714. 2003-06-04 Andrey Kiselev <dron@ak4719.spb.edu>
  2715. * tools/tiffcp.c: Set the correct RowsPerStrip and PageNumber
  2716. values as per bug
  2717. http://bugzilla.remotesensing.org/show_bug.cgi?id=343
  2718. 2003-05-27 Frank Warmerdam <warmerdam@pobox.com>
  2719. * libtiff/tif_jpeg.c: modified segment_height calculation to always
  2720. be a full height tile for tiled images. Also changed error to just
  2721. be a warning.
  2722. 2003-05-25 Andrey Kiselev <dron@ak4719.spb.edu>
  2723. * tools/fax2tiff.c: Page numbering fixed, as per bug
  2724. http://bugzilla.remotesensing.org/show_bug.cgi?id=341
  2725. 2003-05-20 Andrey Kiselev <dron@ak4719.spb.edu>
  2726. * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README},
  2727. configure, Makefile.in: Switched back to the old behaviour. Likely
  2728. better solution should be found for OJPEG support.
  2729. 2003-05-11 Andrey Kiselev <dron@ak4719.spb.edu>
  2730. * libtiff/mkversion.c: Fixed problem with wrong string size when
  2731. reading RELEASE-DATE file.
  2732. 2003-05-07 Andrey Kiselev <dron@ak4719.spb.edu>
  2733. * tools/tiff2ps.c: Fixed bug in Ascii85EncodeBlock() function: array
  2734. index was out of range.
  2735. 2003-05-06 Andrey Kiselev <dron@ak4719.spb.edu>
  2736. * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README},
  2737. configure, Makefile.in: Improved libtiff compilation with OJPEG
  2738. support. Now no need for patching IJG JPEG library, hack requred by
  2739. libtiff will be compiled and used in-place. Implemented with
  2740. suggestion and help from Bill Allombert, Debian's libjpeg maintainer.
  2741. * libtiff/tif_aux.c: Properly handle TIFFTAG_PREDICTOR in
  2742. TIFFVGetFieldDefaulted() function.
  2743. 2003-05-05 Andrey Kiselev <dron@ak4719.spb.edu>
  2744. * tools/ppm2tiff.c: PPM header parser improved: now able to skip
  2745. comments.
  2746. * tools/tiffdither.c: Fixed problem with bit fill order tag setting:
  2747. was not copied from source image.
  2748. * libtiff/getimage.c: Workaround for some images without correct
  2749. info about alpha channel as per bug
  2750. http://bugzilla.remotesensing.org/show_bug.cgi?id=331
  2751. 2003-04-29 Andrey Kiselev <dron@ak4719.spb.edu>
  2752. * tools/tiff2ps.c, man/tiff2ps.1: Add ability to generate PS Level 3.
  2753. It basically allows one to use the /flateDecode filter for ZIP
  2754. compressed TIFF images. Patch supplied by Tom Kacvinsky. Fixes
  2755. http://bugzilla.remotesensing.org/show_bug.cgi?id=328
  2756. * tools/tiff2ps.c: Force deadzone printing when EPS output specified
  2757. as per bug
  2758. http://bugzilla.remotesensing.org/show_bug.cgi?id=325
  2759. 2003-04-17 Andrey Kiselev <dron@ak4719.spb.edu>
  2760. * libtiff/tif_dirread.c: Removed additional check for StripByteCounts
  2761. due to problems with multidirectory images. Quality of error messages
  2762. improved.
  2763. 2003-04-16 Andrey Kiselev <dron@ak4719.spb.edu>
  2764. * tools/tiffcp.c: Fixed problem with colorspace conversion for JPEG
  2765. encoded images. See bug entries
  2766. http://bugzilla.remotesensing.org/show_bug.cgi?id=275
  2767. and
  2768. http://bugzilla.remotesensing.org/show_bug.cgi?id=23
  2769. * libtiff/tif_dirread.c: Additional check for StripByteCounts
  2770. correctness. Fixes
  2771. http://bugzilla.remotesensing.org/show_bug.cgi?id=320
  2772. 2003-03-12 Andrey Kiselev <dron@ak4719.spb.edu>
  2773. * tools/{fax2ps.c, fax2tiff.c, gif2tiff.c, pal2rgb.c, ppm2tiff.c,
  2774. ras2tiff.c, raw2tiff.c, rgb2ycbcr.c, thumbnail.c, tiff2bw.c,
  2775. tiff2ps.c, tiff2rgba.c, tiffcp.c, tiffdither.c, tiffinfo.c,
  2776. tiffmedian.c}: Added library version reporting facility to all tools.
  2777. 2003-03-06 Frank Warmerdam <warmerdam@pobox.com>
  2778. * port/install.sh.in: Fixed problems with install producing paths
  2779. like ///usr/local/lib on cygwin.
  2780. 2003-02-27 Andrey Kiselev <dron@ak4719.spb.edu>
  2781. * tools/fax2tiff.c, man/fax2tiff.1: New switch (-X) to set width of
  2782. raw input page. Patch supplied by Julien Gaulmin. See
  2783. http://bugzilla.remotesensing.org/show_bug.cgi?id=293
  2784. for details.
  2785. 2003-02-26 Frank Warmerdam <warmerdam@pobox.com>
  2786. * libtiff/tif_dir.c: fixed up the tif_postdecode settings
  2787. responsible for byte swapping complex image data.
  2788. * libtiff/tif_lzw.c: fixed so that decoder state isn't allocated till
  2789. LZWSetupDecode(). Needed to read LZW files in "r+" mode.
  2790. 2003-02-07 Andrey Kiselev <dron@ak4719.spb.edu>
  2791. * tools/ppm2tiff.c: Fixed problem with too many arguments.
  2792. 2003-02-04 Andrey Kiselev <dron@ak4719.spb.edu>
  2793. * tools/raw2tiff.c: Memory leak fixed.
  2794. 2003-02-03 Andrey Kiselev <dron@ak4719.spb.edu>
  2795. * tools/fax2tiff.c, man/fax2tiff.1: Applied patch from Julien Gaulmin
  2796. (thanks, Julien!). More switches for fax2tiff tool for better control
  2797. of input and output. Details at
  2798. http://bugzilla.remotesensing.org/show_bug.cgi?id=272
  2799. 2003-02-03 Frank Warmerdam <warmerdam@pobox.com>
  2800. * libtiff/tif_jpeg.c: Modified to defer initialization of jpeg
  2801. library so that we can check if there is already any tile/strip data
  2802. before deciding between creating a compressor or a decompressor.
  2803. 2003-01-31 Frank Warmerdam <warmerdam@pobox.com>
  2804. * libtiff/tif_write.c: TIFFWriteCheck() now fails if the image is
  2805. a pre-existing compressed image. That is, image writing to
  2806. pre-existing compressed images is not allowed.
  2807. * libtiff/tif_open.c: Removed error if opening a compressed file
  2808. in update mode.
  2809. http://bugzilla.remotesensing.org/show_bug.cgi?id=198
  2810. 2003-01-31 Andrey Kiselev <dron@ak4719.spb.edu>
  2811. * config.guess, config.sub: Updated to recent upstream versions.
  2812. 2003-01-15 Frank Warmerdam <warmerdam@pobox.com>
  2813. * cut 3.6.0 Beta release.
  2814. 2002-12-20 Andrey Kiselev <dron@ak4719.spb.edu>
  2815. * tools/fax2ps.c, man/fax2ps.1: Page size was determined
  2816. in wrong way as per bug
  2817. http://bugzilla.remotesensing.org/show_bug.cgi?id=239
  2818. 2002-12-17 Frank Warmerdam <warmerdam@pobox.com>
  2819. * libtiff/tif_dirread.c: Allow wrong sized arrays in
  2820. TIFFFetchStripThing().
  2821. http://bugzilla.remotesensing.org/show_bug.cgi?id=49
  2822. 2002-12-02 Frank Warmerdam <warmerdam@pobox.com>
  2823. * libtiff/tif_dir.c: fix problem with test on td_customValueCount.
  2824. Was using realloc even first time. Fix by Igor Venevtsev.
  2825. 2002-11-30 Frank Warmerdam <warmerdam@pobox.com>
  2826. * libtiff/tif_dir.c: fixed bug with resetting an existing custom
  2827. field value.
  2828. * libtiff/tif_dir.c: Fixed potential problem with ascii "custom"
  2829. tags in TIFFVGetField() ... added missing break.
  2830. 2002-10-14 Frank Warmerdam <warmerdam@pobox.com>
  2831. * tools/tiff2ps.c: fixes a problem where "tiff2ps -1e" did not make
  2832. the scanline buffer long enough when writing rgb triplets.
  2833. The scanline needs to be 3 X the number of dots or else it will
  2834. contain an incomplete triplet and programs that try to separate
  2835. the eps by redefining the colorimage operator will get messed up.
  2836. Patch supplied by William Bader.
  2837. * Makefile.in: added tif_extension.c to file list as per
  2838. http://bugzilla.remotesensing.org/show_bug.cgi?id=218.
  2839. 2002-10-11 Andrey Kiselev <dron@ak4719.spb.edu>
  2840. * configure, config.site, libtiff/{tif_unix.c, Makefile.in}: Fix for
  2841. large files (>2GiB) supporting. New option in the config.site:
  2842. LARGEFILE="yes". Should be enough for I/O of the large files.
  2843. 2002-10-10 Frank Warmerdam <warmerdam@pobox.com>
  2844. * libtiff/html/v3.6.0.html: new release notes.
  2845. * libtiff/index.html: removed faq, cvs snapshot cruft. Added email
  2846. link for Andrey. Pointer to v3.6.0.html.
  2847. * libtiff/Makefile.in: added direct rule for tiffvers.h for release.
  2848. 2002-10-07 Andrey Kiselev <dron@ak4719.spb.edu>
  2849. * tools/tiff2ps.c, man/tiff2ps.1: Applied patch form Sebastian Eken
  2850. (thanks, Sebastian!). New switches:
  2851. -b # for a bottom margin of # inches
  2852. -c center image
  2853. -l # for a left margin of # inches
  2854. -r rotate the image by 180 degrees
  2855. New features merged with code for shrinking/overlapping.
  2856. Previously added -c and -n switches (for overriding PS units) renamed
  2857. in -x and -y respectively.
  2858. http://bugzilla.remotesensing.org/show_bug.cgi?id=200
  2859. * html/man/*.html: Updated from actual manual pages.
  2860. 2002-10-06 Frank Warmerdam <warmerdam@pobox.com>
  2861. * libtiff/tif_jpeg.c: fixed problem with boolean defined with wrong
  2862. size on windows. Use #define boolean hack.
  2863. http://bugzilla.remotesensing.org/show_bug.cgi?id=188
  2864. * libtiff/tiff.h: Don't do special type handling in tiff.h unless
  2865. USING_VISUALAGE is defined.
  2866. http://bugzilla.remotesensing.org/show_bug.cgi?id=39
  2867. 2002-10-03 Frank Warmerdam <warmerdam@pobox.com>
  2868. * libtiff/tiff.h: added COMPRESSION_JP2000.
  2869. 2002-10-02 Andrey Kiselev <dron@ak4719.spb.edu>
  2870. * libtiff/tif_dirread.c: Another fix for the fetching SBYTE arrays
  2871. by the TIFFFetchByteArray() function. Should finally resolve
  2872. http://bugzilla.remotesensing.org/show_bug.cgi?id=52
  2873. * configure: Set -DPIXARLOG_SUPPORT option along with -DZIP_SUPPORT
  2874. * html/Makefile.in: New targets added: html and groffhtml for
  2875. producing HTML representations of the manual pages automatically.
  2876. html target uses man2html tool, groffhtml uses groff tool.
  2877. 2002-09-29 Frank Warmerdam <warmerdam@pobox.com>
  2878. * configure, libtiff/Makefile.in: Added SCO OpenServer 5.0.6 support
  2879. from John H. DuBois III.
  2880. 2002-09-15 Andrey Kiselev <dron@ak4719.spb.edu>
  2881. * Makefile.in, /man/{raw2tiff.1, Makefile.in, libtiff.3}: Added
  2882. manual page for raw2tiff(1) tool.
  2883. 2002-09-12 Andrey Kiselev <dron@ak4719.spb.edu>
  2884. * /libtiff/{tiffio.h, tif_dir.h}: TIFFDataWidth() declaration moved to
  2885. the tiffio.h header file.
  2886. * Makefile.in, /man/{TIFFDataWidth.3t, Makefile.in, libtiff.3}: Added
  2887. manual page for TIFFDataWidth() function
  2888. 2002-09-08 Frank Warmerdam <warmerdam@pobox.com>
  2889. * libtiff/tif_dirread.c: Expand v[2] to v[4] in TIFFFetchShortPair()
  2890. as per http://bugzilla.remotesensing.org/show_bug.cgi?id=196.
  2891. * tools/tiff2ps.c: Don't emit BeginData/EndData DSC comments
  2892. since we are unable to properly include the amount to skip.
  2893. http://bugzilla.remotesensing.org/show_bug.cgi?id=80
  2894. 2002-09-02 Andrey Kiselev <dron@ak4719.spb.edu>
  2895. * /libtiff/tif_dirread.c: Fixed problem with SBYTE type data fetching
  2896. in TIFFFetchByteArray(). Problem described at
  2897. http://bugzilla.remotesensing.org/show_bug.cgi?id=52
  2898. 2002-08-22 Andrey Kiselev <dron@ak4719.spb.edu>
  2899. * /libtiff/tif_dirinfo.c: Further additions to free custom fields
  2900. in _TIFFSetupFieldInfo() function.
  2901. See http://bugzilla.remotesensing.org/show_bug.cgi?id=169 for details.
  2902. * /libtiff/tif_lzw.c: Additional consistency checking added in
  2903. LZWDecode() and LZWDecodeCompat().
  2904. Fixes http://bugzilla.remotesensing.org/show_bug.cgi?id=190
  2905. and http://bugzilla.remotesensing.org/show_bug.cgi?id=100
  2906. * /libtiff/tif_lzw.c:
  2907. Added check for valid code lengths in LZWDecode() and
  2908. LZWDecodeCompat(). Fixes
  2909. http://bugzilla.remotesensing.org/show_bug.cgi?id=115
  2910. 2002-08-16 Andrey Kiselev <dron@ak4719.spb.edu>
  2911. * /libtiff/{Makefile.vc, libtiff.def}:
  2912. Missed declarations added.
  2913. 2002-08-15 Frank Warmerdam <warmerdam@pobox.com>
  2914. * tif_getimage.c: Ensure that TIFFRGBAImageBegin() returns the
  2915. return code from the underlying pick function.
  2916. http://bugzilla.remotesensing.org/show_bug.cgi?id=177
  2917. * tif_dir.h: changed FIELD_CODEC to 66 from 64 to avoid overlap
  2918. with FIELD_CUSTOM as mentioned in bug 169.
  2919. * tif_close.c: added logic to free dynamically created anonymous
  2920. field definitions to correct a small memory leak.
  2921. http://bugzilla.remotesensing.org/show_bug.cgi?id=169
  2922. 2002-08-10 Andrey Kiselev <dron@ak4719.spb.edu>
  2923. * /tools/{raw2tiff.c, Makefile.in, Makefile.lcc, Makefile.vc}:
  2924. New tool: raw2tiff --- raw images to TIFF converter. No manual page yet.
  2925. 2002-07-31 Frank Warmerdam <warmerdam@pobox.com>
  2926. * libtiff/tif_jpeg.c: Fixed problem with setting of nrows in
  2927. JPEGDecode() as per bugzilla bug (issue 1):
  2928. http://bugzilla.remotesensing.org/show_bug.cgi?id=129
  2929. * libtiff/{tif_jpeg.c,tif_strip.c,tif_print.c}: Hacked tif_jpeg.c to
  2930. fetch TIFFTAG_YCBCRSUBSAMPLING from the jpeg data stream if it isn't
  2931. present in the tiff tags.
  2932. http://bugzilla.remotesensing.org/show_bug.cgi?id=168
  2933. * libtiff/tif_read.c, libtiff/tif_write.c: TIFFReadScanline() and
  2934. TIFFWriteScanline() now set tif_row explicitly in case the codec has
  2935. fooled with the value.
  2936. http://bugzilla.remotesensing.org/show_bug.cgi?id=129
  2937. 2002-06-22 Andrey Kiselev <dron@ak4719.spb.edu>
  2938. * /tools/tiff2ps.c: Added workaround for some software that may crash
  2939. when last strip of image contains fewer number of scanlines than
  2940. specified by the `/Height' variable. See
  2941. http://bugzilla.remotesensing.org/show_bug.cgi?id=164
  2942. for explanation.
  2943. 2002-06-21 Andrey Kiselev <dron@ak4719.spb.edu>
  2944. * tools/tiff2ps, man/tiff2ps.1: New functionality for tiff2ps utility:
  2945. splitting long images in several pages. See
  2946. http://bugzilla.remotesensing.org/show_bug.cgi?id=142 for explanation.
  2947. Patch granted by John Williams <williams@morinda.com>.
  2948. 2002-06-11 Frank Warmerdam <warmerdam@pobox.com>
  2949. * libtiff/contrib/win95: renamed to contrib/win_dib. Added new
  2950. Tiffile.cpp example of converting TIFF files into a DIB on Win32.
  2951. This one is described in:
  2952. http://bugzilla.remotesensing.org/show_bug.cgi?id=143
  2953. * libtiff/tif_ojpeg.c: Major upgrade from Scott. See details at:
  2954. http://bugzilla.remotesensing.org/show_bug.cgi?id=156
  2955. 2002-05-10 Andrey Kiselev <dron@ak4719.spb.edu>
  2956. * tools/tiff2ps: New commandline switches to override resolution
  2957. units obtained from the input file. Closes
  2958. http://bugzilla.remotesensing.org/show_bug.cgi?id=131
  2959. 2002-04-26 Andrey Kiselev <dron@ak4719.spb.edu>
  2960. * libtiff/libtiff.def: Added missed declaration.
  2961. 2002-04-22 Andrey Kiselev <dron@ak4719.spb.edu>
  2962. * tools/fax2tiff.c: Updated to reflect latest changes in libtiff.
  2963. Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=125
  2964. 2002-04-20 Andrey Kiselev <dron@ak4719.spb.edu>
  2965. * libtiff/tif_open.c: Pointers to custom procedures
  2966. in TIFFClientOpen() are checked to be not NULL-pointers.
  2967. 2002-04-18 Andrey Kiselev <dron@ak4719.spb.edu>
  2968. * libtiff/libtiff.def: Added missed declarations.
  2969. * libtiff/tif_pixarlog.c: Updated for using tif_tagmethods structure.
  2970. 2002-04-16 Andrey Kiselev <dron@ak4719.spb.edu>
  2971. * libtiff/tif_lzw.c: Additional checks for data integrity introduced.
  2972. Should finally close
  2973. http://bugzilla.remotesensing.org/show_bug.cgi?id=100
  2974. 2002-04-10 Andrey Kiselev <dron@ak4719.spb.edu>
  2975. * tools/tiff2ps: Division by zero fixed.
  2976. Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=88
  2977. 2002-04-09 Andrey Kiselev <dron@ak4719.spb.edu>
  2978. * libtiff/: tif_dirwrite.c, tif_write.c, tiffio.h:
  2979. TIFFCheckpointDirectory() routine added.
  2980. Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=124
  2981. * man/: TIFFWriteDirectory.3t, Makefile.in: Added description
  2982. for the new function.
  2983. 2002-04-08 Andrey Kiselev <dron@ak4719.spb.edu>
  2984. * libtiff/: tif_codec.c, tif_compress.c, tiffiop.h: Introduced
  2985. additional members tif->tif_decodestatus and tif->tif_encodestatus
  2986. for correct handling of unconfigured codecs (we should not try to read
  2987. data or to define data size without correct codecs).
  2988. * libtiff/tif_getimage.c: The way of codecs checking in TIFFRGBAImageOK
  2989. changed. Now it has used tif->tif_decodestatus and
  2990. tif->tif_encodestatus.
  2991. Should fix http://bugzilla.remotesensing.org/show_bug.cgi?id=119 (in
  2992. case of __cvs_8.tif test image).
  2993. * libtiff/: tif_dirinfo.c, tif_dirread.c: Somebody makes a bug in
  2994. tif_dirread.c when TIFFCreateAnonFieldInfo was introduced.
  2995. Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=119 in case
  2996. of _cvs_00000-00.tif, _cvs_00000-01.tif and _cvs_00000-02.tif.
  2997. 2002-04-04 Andrey Kiselev <dron@ak4719.spb.edu>
  2998. * libtiff/: tif_lzw.c: Assertions in LZWDecode and LZWDecodeCompat
  2999. replaced by warnings. Now libtiff should read corrupted LZW-compressed
  3000. files by skipping bad strips.
  3001. Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=100
  3002. 2002-04-03 Frank Warmerdam <warmerdam@pobox.com>
  3003. * libtiff/tif_dirwrite.c: Removed some dead code.
  3004. * libtiff/*: Cleanup some warnings.
  3005. * libtiff/tif_dir.c: Fixed bug with count returned by TIFFGetField()
  3006. for variable length FIELD_CUSTOM values. Was int * but should be
  3007. u_short *.
  3008. 2002-04-01 Andrey Kiselev <dron@ak4719.spb.edu>
  3009. * tools/: tifcp.c: Added support for 'Orientation' tag in tiffcp
  3010. utility (at cpStripToTile routine).
  3011. 2002-03-27 Frank Warmerdam <warmerdam@pobox.com>
  3012. * tif_dirread.c: avoid div-by-zero if rowbytes is zero in chop func.
  3013. http://bugzilla.remotesensing.org/show_bug.cgi?id=111
  3014. * tif_print.c: Fixed so that ASCII FIELD_CUSTOM values with
  3015. passcount set FALSE can be printed (such as TIFFTAG_SOFTWARE).
  3016. * libtiff/tif_dir.c,tif_dirinfo.c,tif_dir.h,tif_ojpeg.c: modified so
  3017. that TIFFTAG_SOFTWARE uses FIELD_CUSTOM as an example.
  3018. 2002-03-26 Dwight Kelly <dbmalloc@remotesensing.org>
  3019. * libtiff/: tiff.h, tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c,
  3020. tif_dirwrite.c: Added get/put code for new tag XMLPACKET as defined
  3021. in Adobe XMP Technote. Added missing INKSET tag value from TIFF 6.0 spec
  3022. INKSET_MULTIINK (=2). Added missing tags from Adobe TIFF technotes:
  3023. CLIPPATH, XCLIPPATHUNITS, YCLIPPATHUNITS, OPIIMAGEID, OPIPROXY and
  3024. INDEXED. Added PHOTOMETRIC tag value from TIFF technote 4 ICCLAB (=9).
  3025. 2002-03-26 Andrey Kiselev <dron@ak4719.spb.edu>
  3026. * libtiff/: tif_getimage.c: TIFFReadRGBAStrip and TIFFReadRGBATile
  3027. now also uses TIFFRGBAImageOK before reading. This is additional fix
  3028. for http://bugzilla.remotesensing.org/show_bug.cgi?id=110
  3029. 2002-03-25 Andrey Kiselev <dron@ak4719.spb.edu>
  3030. * libtiff/: tif_getimage.c: Additional check for supported
  3031. codecs added in TIFFRGBAImageOK and TIFFReadRGBAImage now uses
  3032. TIFFRGBAImageOK before reading.
  3033. Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=110
  3034. 2002-03-15 Andrey Kiselev <dron@ak4719.spb.edu>
  3035. * libtiff/: tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c,
  3036. tif_dirwrite.c: Added routine TIFFDataWidth for detrmining
  3037. TIFFDataType sizes instead of working with tiffDataWidth array
  3038. directly. Should prevent out-of-borders bugs in case of unknown or
  3039. broken data types. EstimateStripByteCounts routine modified, so it
  3040. won't work when tags with uknown sizes founded.
  3041. Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=109
  3042. 2002-03-13 Andrey Kiselev <dron@ak4719.spb.edu>
  3043. * libtiff/tif_getimage.c: Added support for correct handling
  3044. `Orientation' tag in gtTileContig. Should be added in other gt*
  3045. functions as well, but I have not images for testing yet. Partially
  3046. resolves http://bugzilla.remotesensing.org/show_bug.cgi?id=23
  3047. 2002-03-10 Andrey Kiselev <dron@ak4719.spb.edu>
  3048. * libtiff/: tif_dirinfo.c, tif_dirwrite.c: Added possibility to
  3049. read broken TIFFs with LONG type used for TIFFTAG_COMPRESSION,
  3050. TIFFTAG_BITSPERSAMPLE, TIFFTAG_PHOTOMETRIC. Closes
  3051. http://bugzilla.remotesensing.org/show_bug.cgi?id=99
  3052. 2002-03-08 Andrey Kiselev <dron@ak4719.spb.edu>
  3053. * libtiff/Makefile.in, tools/Makefile.in: Shared library will not
  3054. be stripped when installing, utility binaries will do. Closes
  3055. http://bugzilla.remotesensing.org/show_bug.cgi?id=93
  3056. 2002-02-28 Frank Warmerdam <warmerdam@pobox.com>
  3057. * man/TIFFGetField: fixed type of TIFFTAG_COPYRIGHT.
  3058. * man/libtiff.3t: added copyright tag info.
  3059. 2002-02-11 Frank Warmerdam <warmerdam@pobox.com>
  3060. * libtiff/{tiff.h,tif_fax3.c}: Add support for __arch64__.
  3061. http://bugzilla.remotesensing.org/show_bug.cgi?id=94
  3062. * man/Makefile.in: Patch DESTDIR handling
  3063. http://bugzilla.remotesensing.org/show_bug.cgi?id=95
  3064. * configure: OpenBSD changes for Sparc64 and DSO version.
  3065. http://bugzilla.remotesensing.org/show_bug.cgi?id=96
  3066. 2002-02-05 Frank Warmerdam <warmerdam@pobox.com>
  3067. * config.site/configure: added support for OJPEG=yes option to enable
  3068. OJPEG support from config.site.
  3069. 2002-01-27 Frank Warmerdam <warmerdam@pobox.com>
  3070. * html/document.html: fixed links for TIFf 6 docs.
  3071. 2002-01-18 Frank Warmerdam <warmerdam@pobox.com>
  3072. * config.guess, config.sub: Updated from ftp.gnu.org/pub/config.
  3073. * libtiff/tif_read.c: Fixed TIFFReadEncodedStrip() to fail if the
  3074. decodestrip function returns anything not greater than zero as per
  3075. http://bugzilla.remotesensing.org/show_bug.cgi?id=97
  3076. * configure: Modify CheckForBigEndian so it can work in a cross
  3077. compiled situation.
  3078. 2002-01-16 Frank Warmerdam <warmerdam@pobox.com>
  3079. * tools/tiffdump.c: include TIFFTAG_JPEGTABLES in tag list.
  3080. * tools/tiffset.c: fix bug in error reporting.
  3081. * tools/tiffcp.c: fix several warnings that show up with -Wall.
  3082. 2002-01-04 Frank Warmerdam <warmerdam@pobox.com>
  3083. * libtiff/tif_jpeg.c: fixed computation of segment_width for
  3084. tiles files to avoid error about it not matching the
  3085. cinfo.d.image_width values ("JPEGPreDecode: Improper JPEG strip/tile
  3086. size.") for ITIFF files. Apparently the problem was incorporated since
  3087. 3.5.5, presumably during the OJPEG/JPEG work recently.
  3088. 2001-12-15 Frank Warmerdam <warmerdam@pobox.com>
  3089. * configure, libtiff/Makefile.in: Changes for building on MacOS 10.1.
  3090. http://bugzilla.remotesensing.org/show_bug.cgi?id=94
  3091. * libtiff/tif_getimage.c: If DEFAULT_EXTRASAMPLE_AS_ALPHA is 1
  3092. (defined in tiffconf.h - 1 by default) then the RGBA interface
  3093. will assume that a fourth extra sample is ASSOCALPHA if the
  3094. EXTRASAMPLE value isn't set for it. This changes the behaviour of
  3095. the library, but makes it work better with RGBA files produced by
  3096. lots of applications that don't mark the alpha values properly.
  3097. http://bugzilla.remotesensing.org/show_bug.cgi?id=93
  3098. http://bugzilla.remotesensing.org/show_bug.cgi?id=65
  3099. 2001-12-12 Frank Warmerdam <warmerdam@pobox.com>
  3100. * libtiff/tif_jpeg.c: allow jpeg data stream sampling values to
  3101. override those from tiff directory. This makes this work with
  3102. ImageGear generated files.
  3103. 2001-12-07 Frank Warmerdam <warmerdam@pobox.com>
  3104. * html/Makefile.in: added missing images per bug 92.
  3105. * port/Makefile.in: fixed clean target per bug 92.
  3106. 2001-11-28 Frank Warmerdam <warmerdam@pobox.com>
  3107. * Reissue 3.5.7 release.
  3108. * libtiff/mkversion.c: Fix output of TIFF_VERSION to be
  3109. YYYYMMDD so that it is increasing over time.
  3110. * Makefile.in: Ensure that tiffvers.h is regenerated in the
  3111. make release target.
  3112. * Makefile.in: added libtiff/tiffvers.h to the release file list.
  3113. 2001-11-23 Frank Warmerdam <warmerdam@pobox.com>
  3114. * added html/v3.5.7.html, updated html/index.html.
  3115. * Makefile.in: added contrib/addtiffo/tif_ovrcache.{c,h}.
  3116. 2001-11-15 Frank Warmerdam <warmerdam@pobox.com>
  3117. * configure: fixed test for -lm.
  3118. 2001-11-02 Frank Warmerdam <warmerdam@pobox.com>
  3119. * Added PHOTOMETRIC_ITULAB as per bug 90.
  3120. http://bugzilla.remotesensing.org/show_bug.cgi?id=90
  3121. 2001-10-10 Frank Warmerdam <warmerdam@pobox.com>
  3122. * libtiff/tiff.h: I have created COMPRESSION_CCITT_T4,
  3123. COMPRESSION_CCITT_T6, TIFFTAG_T4OPTIONS and TIFFTAG_T6OPTIONS aliases
  3124. in keeping with TIFF 6.0 standard in tiff.h
  3125. http://bugzilla.remotesensing.org/show_bug.cgi?id=83
  3126. 2001-09-26 Frank Warmerdam <warmerdam@pobox.com>
  3127. * libtiff/tif_dirwrite.c: added TIFFRewriteDirectory() function.
  3128. Updated TIFFWriteDirectory man page to include TIFFRewriteDirectory.
  3129. 2001-09-24 Frank Warmerdam <warmerdam@pobox.com>
  3130. * libtiff/tif_lzw.c: Avoid MS VC++ 5.0 optimization bug.
  3131. http://bugzilla.remotesensing.org/show_bug.cgi?id=78
  3132. * libtiff/tif_lzw.c: added dummy LZWSetupEncode() to report an
  3133. error about LZW not being available.
  3134. * libtiff/tif_dir.c: propagate failure to initialize compression
  3135. back from TIFFSetField() as an error status, so applications can
  3136. detect failure.
  3137. * libtiff/tif_dir.c: removed the auto replacement of
  3138. COMPRESSION_LZW with COMPRESSION_NONE in _TIFFVSetField().
  3139. * Removed Makefile, tools/Makefile, port/install.sh, man/Makefile
  3140. from CVS as they are all supposed to be auto-generated by configure.
  3141. 2001-09-22 Frank Warmerdam <warmerdam@pobox.com>
  3142. * libtiff/tif_ojpeg.c: new update from Scott.
  3143. 2001-09-09 Frank Warmerdam <warmerdam@pobox.com>
  3144. * libtif/tif_fax3.c: Removed #ifdef PURIFY logic, and modified to
  3145. always use the "safe" version, even if there is a very slight
  3146. cost in performance.
  3147. http://bugzilla.remotesensing.org/show_bug.cgi?id=54
  3148. * libtiff/Makefile.in: Fixed @DSOSUB_VERSION to be @DSOSUF_VERSION@
  3149. in two places.
  3150. * libtiff/tif_getimage.c: Fixed problem with reading strips or
  3151. tiles that don't start on a tile boundary. Fix contributed by
  3152. Josep Vallverdu (from HP), and further described in bug 47.
  3153. http://bugzilla.remotesensing.org/show_bug.cgi?id=47
  3154. * tools/tiff2ps.c: added OJPEG YCbCr to RGB support.
  3155. * libtiff/tif_ojpeg.c: Applied substantial patch from Scott.
  3156. 2001-09-06 Frank Warmerdam <warmerdam@pobox.com>
  3157. * libtiff/tif_packbits.c: fixed memory overrun error.
  3158. http://bugzilla.remotesensing.org/show_bug.cgi?id=77
  3159. 2001-08-31 Frank Warmerdam <warmerdam@pobox.com>
  3160. * libtiff/tif_getimage.c: relax handling of contig case where
  3161. there are extra samples that are supposed to be ignored. This
  3162. should now work for 8bit greyscale or palletted images.
  3163. http://bugzilla.remotesensing.org/show_bug.cgi?id=75
  3164. 2001-08-28 Frank Warmerdam <warmerdam@pobox.com>
  3165. * libtiff/tif_getimage.c: Don't complain for CMYK (separated)
  3166. images with more than four samples per pixel. See:
  3167. http://bugzilla.remotesensing.org/show_bug.cgi?id=73
  3168. 2001-08-10 Frank Warmerdam <warmerdam@pobox.com>
  3169. * libtiff/tif_getimage.c: Use memmove() instead of TIFFmemcpy()
  3170. in TIFFReadRGBATile() to avoid issues in cases of overlapping
  3171. buffers. See Bug 69 in Bugzilla.
  3172. http://bugzilla.remotesensing.org/show_bug.cgi?id=69
  3173. * tools/tiff2rgba.c: fixed getopt() call so that -b works again.
  3174. 2001-08-09 Frank Warmerdam <warmerdam@pobox.com>
  3175. * libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__
  3176. when checking for 64 bit architectures as per bugzilla bug 67.
  3177. 2001-07-27 Frank Warmerdam <warmerdam@pobox.com>
  3178. * man/Makefile.in: add TIFFClientOpen link as per debian submitted
  3179. bug 66.
  3180. 2001-07-20 Frank Warmerdam <warmerdam@pobox.com>
  3181. * libtiff/tif_jpeg.c: Define HAVE_BOOLEAN on windows if RPCNDR.H
  3182. has been included.
  3183. 2001-07-19 Frank Warmerdam <warmerdam@pobox.com>
  3184. * libtiff/tif_open.c: Seek back to zero after failed read,
  3185. before writing header.
  3186. 2001-07-18 Frank Warmerdam <warmerdam@pobox.com>
  3187. * libtiff/tif_ojpeg.c: updates from Scott. Handles colors
  3188. much better. Now depends on having patched libjpeg as per
  3189. patch in contrib/ojpeg/*.
  3190. 2001-07-17 Frank Warmerdam <warmerdam@pobox.com>
  3191. * */Makefile.in: added DESTDIR support.
  3192. http://bugzilla.remotesensing.org/show_bug.cgi?id=60
  3193. 2001-07-16 Frank Warmerdam <warmerdam@pobox.com>
  3194. * configure, libtiff/Makefile.in: applied OpenBSD patches
  3195. as per:
  3196. http://bugzilla.remotesensing.org/show_bug.cgi?id=61
  3197. 2001-06-28 Frank Warmerdam <warmerdam@pobox.com>
  3198. * libtiff/tif_getimage.c: Fixed so that failure is properly
  3199. reported by gtTileContig, gtStripContig, gtTileSeparate and
  3200. gtStripSeparate.
  3201. See http://bugzilla.remotesensing.org/show_bug.cgi?id=51
  3202. * tiffcmp.c: Fixed multi samples per pixel support for ContigCompare.
  3203. Updated bug section of tiffcmp.1 to note tiled file issues.
  3204. See http://bugzilla.remotesensing.org/show_bug.cgi?id=53
  3205. 2001-06-22 Frank Warmerdam <warmerdam@pobox.com>
  3206. * configure: Changes for DSO generation on AIX provided by
  3207. John Marquart <jomarqua@indiana.edu>.
  3208. * configure, libtiff/Makeifle.in: Modified to build DSOs properly
  3209. on Darwin thanks to Robert Krajewski (rpk@alum.mit.edu) and
  3210. Keisuke Fujii (fujiik@jlcuxf.kek.jp).
  3211. 2001-06-13 Frank Warmerdam <warmerdam@pobox.com>
  3212. * tools/tiff2rgba.c: added -n flag to avoid emitting alpha component.
  3213. * man/tiff2rgba.1: new
  3214. 2001-05-22 Frank Warmerdam <warmerdam@pobox.com>
  3215. * Added tiffset and tif_ojpeg to the dist lists in Makefile.in.
  3216. 2001-05-13 Frank Warmerdam <warmerdam@pobox.com>
  3217. * libtiff/tools/thumbnail.c: changed default output compression
  3218. to packbits from LZW since LZW isn't generally available.
  3219. 2001-05-12 Frank Warmerdam <warmerdam@pobox.com>
  3220. * libtiff/tif_ojpeg.c: New.
  3221. libtiff/tif_jpeg.c, tiffconf.h, tif_getimage.c: changes related
  3222. to OJPEG support.
  3223. Scott Marovich <marovich@hpl.hp.com> supplied OJPEG support.
  3224. 2001-05-11 Frank Warmerdam <warmerdam@pobox.com>
  3225. * tiff.h: removed, it duplicates libtiff/tiff.h.
  3226. 2001-05-08 Frank Warmerdam <warmerdam@pobox.com>
  3227. * libtiff/tif_dirinfo.c: moved pixar and copyright flags to
  3228. ensure everything is in order.
  3229. * libtiff/libtiff.def: added TIFFCreateDirectory and
  3230. TIFFDefaultStripSize as per:
  3231. http://bugzilla.remotesensing.org/show_bug.cgi?id=46
  3232. 2001-05-02 Frank Warmerdam <warmerdam@pobox.com>
  3233. * libtiff/tif_dirinfo.c: Modified the TIFF_BYTE definition for
  3234. TIFFTAG_PHOTOSHOP to use a writecount of TIFF_VARIABLE2 (-3) to
  3235. force use of uint32 counts instead of short counts.
  3236. * libtiff/tif_dirwrite.c: Added support for TIFF_VARIABLE2 in the
  3237. case of writing TIFF_BYTE/TIFF_SBYTE fields.
  3238. http://bugzilla.remotesensing.org/show_bug.cgi?id=43
  3239. 2001-05-01 Frank Warmerdam <warmerdam@pobox.com>
  3240. * libtiff/tif_dirinfo.c: removed duplicate TIFFTAG_PHOTOSHOP as per
  3241. bug report http://bugzilla.remotesensing.org/show_bug.cgi?id=44
  3242. 2001-04-05 Frank Warmerdam <warmerdam@pobox.com>
  3243. * tiffio.h: removed C++ style comment.
  3244. * configure: fixed up SCRIPT_SH/SHELL handling.
  3245. * Makefile.in: Fixed SCRIPT_SH/SHELL handling.
  3246. * config.guess: documented more variables as per bug 40.
  3247. 2001-04-03 Frank Warmerdam <warmerdam@pobox.com>
  3248. * configure, *Makefile.in: Various changes to improve configuration
  3249. for HP/UX specifically, and also in general. They include:
  3250. - Try to handle /usr/bin/sh instead of /bin/sh where necessary.
  3251. - Upgrade to HP/UX 10.x+ compiler, linker and dso options.
  3252. - Fixed mmap() test to avoid MMAP_FIXED ... it isn't available on HP
  3253. - Use -${MAKEFLAGS} in sub makes from makefiles.
  3254. http://bugzilla.remotesensing.org/show_bug.cgi?id=40
  3255. 2001-04-02 Frank Warmerdam <warmerdam@pobox.com>
  3256. * libtiff/tiff.h: Applied hac to try and resolve the problem
  3257. with the inttypes.h include file on AIX.
  3258. See http://bugzilla.remotesensing.org/show_bug.cgi?id=39
  3259. * VERSION: update to 3.5.7 beta in preparation for release.
  3260. * configure/config.site: modified to check if -lm is needed for
  3261. MACHDEPLIBS if not supplied by config.site. Needed for Darwin.
  3262. * config.guess: updated wholesale to an FSF version apparently
  3263. from 1998 (as opposed to 1994). This is mainly inspired by
  3264. providing for MacOS X support.
  3265. 2001-03-29 Frank Warmerdam <warmerdam@pobox.com>
  3266. * configure, Makefile.in, etc: added support for OPTIMIZER being
  3267. set from config.site.
  3268. 2001-03-28 Frank Warmerdam <warmerdam@pobox.com>
  3269. * fax2ps.c: Helge (libtiff at oldach.net) submitted fix:
  3270. Here's a fix for fax2ps that corrects behaviour for non-Letter paper
  3271. sizes. It fixes two problems:
  3272. Without scaling (-S) the fax is now centered on the page size specified
  3273. with -H and/or -W. Before, fax2ps was using an obscure and practially
  3274. useless algorithm to allocate the image relative to Letter sized paper
  3275. which sometime sled to useless whitespace on the paper, while at the
  3276. same time cutting of the faxes printable area at the opposite border.
  3277. Second, scaling now preserves aspect ratio, which makes unusual faxes
  3278. (in particular short ones) print properly.
  3279. See http://bugzilla.remotesensing.org/show_bug.cgi?id=35
  3280. * tiff2ps.c/tiff2ps.1: Substantial changes to tiff2ps by
  3281. Bruce A. Mallett. See check message for detailed information
  3282. on all the changes, including a faster encoder, fixes for level
  3283. 2 PostScript, and support for the imagemask operator.
  3284. 2001-03-27 Frank Warmerdam <warmerdam@pobox.com>
  3285. * libtiff/tiffio.h: Changed "#if LOGLUV_PUBLIC" to
  3286. "#ifdef LOGLUV_PUBLIC" so it will work with VisualAge on AIX.
  3287. http://bugzilla.remotesensing.org/show_bug.cgi?id=39
  3288. 2001-03-16 Frank Warmerdam <warmerdam@pobox.com>
  3289. * tif_dirinfo.c: moved definition of copyright tag in field list.
  3290. Apparently they have to be in sorted order by tag id.
  3291. 2001-03-13 Frank Warmerdam <warmerdam@pobox.com>
  3292. * tif_getimage.c: Added support for 16bit minisblack/miniswhite
  3293. images in RGBA interface.
  3294. 2001-03-02 Frank Warmerdam <warmerdam@pobox.com>
  3295. * Added TIFFTAG_COPYRIGHT support.
  3296. 2001-02-19 Frank Warmerdam <warmerdam@pobox.com>
  3297. * Brent Roman contributed updated tiffcp utility (and tiffcp.1)
  3298. with support for extracting subimages with the ,n syntax, and also
  3299. adding the -b bias removal flag.
  3300. 2001-02-16 Frank Warmerdam <warmerdam@pobox.com>
  3301. * libtiff/libtiff.def: Brent Roman submitted new version adding
  3302. serveral missing entry points.
  3303. * libtiff/tif_dirinfo.c: don't declare tiffFieldInfo static on VMS.
  3304. Some sort of weird VMS thing.
  3305. http://bugzilla.remotesensing.org/show_bug.cgi?id=31
  3306. * tif_luv.c/tiff.h/tiffio.h:
  3307. New version of TIFF LogLuv (SGILOG) modules contributed by Greg Ward
  3308. (greg@shutterfly.com). He writes:
  3309. 1) I improved the gamut-mapping function in tif_luv.c for imaginary
  3310. colors, because some images were being super-saturated on the input
  3311. side and this resulted in some strange color shifts in the output.
  3312. 2) I added a psuedotag in tiff.h to control random dithering during
  3313. LogLuv encoding. This is turned off by default for 32-bit LogLuv and
  3314. on for 24-bit LogLuv output. Dithering improves the average color
  3315. accuracy over the image.
  3316. 3) I added a #define for LOG_LUV_PUBLIC, which is enabled by default in
  3317. tiffio.h, to expose internal routines for converting between LogLuv and
  3318. XYZ coordinates. This is helpful for writing more efficient,
  3319. specialized conversion routines, especially for reading LogLuv files.
  3320. Changes applied with minor edits.
  3321. 2001-01-23 Frank Warmerdam <warmerdam@pobox.com>
  3322. * tif_fax3.c: keep rw_mode flag internal to fax3 state to remember
  3323. whether we are encoding or decoding. This is to ensure graceful
  3324. recovery if TIFFClientOpen() discovers an attempt to open a compressed
  3325. file for "r+" access, and subsequently close it, as it resets the
  3326. tif_mode flag to O_RDONLY in this case to avoid writes, confusing the
  3327. compressor's concept of whether it is in encode or decode mode.
  3328. 2001-01-08 Mike Welles <mike@bangstate.com>
  3329. * Makefile.in: Now cleaning up after itself after creating the .tar.gz and .zip
  3330. 2001-01-07 Frank Warmerdam <warmerdam@pobox.com>
  3331. * html/libtiff.html: Fixed arguments in example for TIFFRGBAImageGet()
  3332. as per bug report by Patrick Connor.
  3333. 2000-12-28 Frank Warmerdam <warmerdam@pobox.com>
  3334. * Added RELEASE-DATE file to release file list.
  3335. * Fixed libtiff/makefile.vc to make tiffvers.h not version.h.
  3336. 2000-12-22 Mike Welles <mike@bangstate.com>
  3337. * added link to CVS mirror from index.html
  3338. * updated html/internals.html to note that LZW compression is
  3339. not supported by default.
  3340. 2000-12-22 Frank Warmerdam <warmerdam@pobox.com>
  3341. * updated html/libtiff.html to not point at Niles' old JPL web site
  3342. for the man pages, point at www.libtiff.org.
  3343. 2000-12-21 Frank Warmerdam <warmerdam@pobox.com>
  3344. * libtiff/tif_apple.c: Applied "Carbon" support patches supplied by
  3345. Leonard Rosenthol <leonardr@lazerware.com>. May interfere
  3346. with correct building on older systems. If so, please let me know.
  3347. 2000-12-19 Mike Welles <mike@bangsate.com>
  3348. * Took out LZW Encoding from tif_lzw.c
  3349. * Created HOWTO-RELEASE
  3350. * Created html/v3.5.6.html
  3351. * updated index.html
  3352. 2000-12-01 Frank Warmerdam <warmerdam@pobox.com>
  3353. * Added patches for EOFB support in tif_fax3.c and tif_fax3.h.
  3354. Patches supplied by Frank Cringle <fdc@cliwe.ping.de>
  3355. Example file at: ftp://ftp.remotesensing.org/pub/libtiff/eofb_396.tif
  3356. 2000-11-24 Frank Warmerdam <warmerdam@pobox.com>
  3357. * libtiff/Makefile.in: Added an installPrivateHdrs and install-private
  3358. target so that the private headers required by libgeotiff can be
  3359. installed with the others. They are not installed by default.
  3360. * libtiff/Makefile.in: Added @MACHLIBDEPS@ to LINUXdso and GNULDdso
  3361. targets so libtiff.so will be built with an explicit dependency
  3362. on libm.so.
  3363. * libtiff/Makefile.in: Use softlinks to link libtiff.so.3 to
  3364. libtiff.so.3.5.5.
  3365. * libtiff/Makefile.in & configure: Remove all references to the ALPHA
  3366. file, or ALPHA version logic. Added stuff about DIST_POINT in
  3367. place of DIST_TYPE and the alpha release number stuff.
  3368. 2000-11-22 Frank Warmerdam <warmerdam@pobox.com>
  3369. * I have applied a patch from Steffen Moeller <moeller@ebi.ac.uk> to
  3370. the configure script so that it now accepts the --prefix, and
  3371. --exec-prefix directives.
  3372. 2000-11-13 Frank Warmerdam <warmerda@cs46980-c>
  3373. * I have made a variety of modifications in an effort to ensure the
  3374. TIFFLIB_VERSION macro is automatically generated from the RELEASE-DATE
  3375. file which seems to be updated regularly.
  3376. o mkversion.c now reads RELEASE-DATE and emits TIFFLIB_VERSION in
  3377. version include file.
  3378. o renamed version.h to tiffvers.h because we now have to install it
  3379. with the public libtiff include files.
  3380. o include tiffvers.h in tiffio.h.
  3381. o updated tif_version.c to use tiffvers.h.
  3382. o Updated Makefile.in accordingly.
  3383. * As per http://bugzilla.remotesensing.org/show_bug.cgi?id=25
  3384. I have updated the win32 detection rules in tiffcomp.h.
  3385. 2000-10-20 Frank Warmerdam <warmerda@cs46980-c>
  3386. * tif_getimage.c: Fixed RGBA translation for YCbCr images for which
  3387. the strip/tile width and height aren't multiples of the sampling size.
  3388. See http://bugzilla.remotesensing.org/show_bug.cgi?id=20
  3389. Some patches from Rick LaMont of Dot C Software.
  3390. * Modified tif_packbits.c encoder to avoid compressing more
  3391. data than provided if rowsize doesn't factor into provided data
  3392. (such as occurs for YCbCr).
  3393. 2000-10-19 Frank Warmerdam <warmerda@cs46980-c>
  3394. * tools/rgb2ycbcr.c: fixed output strip size to account for vertical
  3395. roundup if rows_per_strip not a multiple of vertical sample size.
  3396. 2000-10-16 Frank Warmerdam <warmerda@cs46980-c>
  3397. * tif_dir.c: Clear TIFF_ISTILED flag in TIFFDefaultDirectory
  3398. as per http://bugzilla.remotesensing.org/show_bug.cgi?id=18
  3399. from vandrove@vc.cvut.cz.
  3400. * Modified tif_packbits.c decoding to avoid overrunning the
  3401. output buffer, and to issue a warning if data needs to be
  3402. discarded. See http://bugzilla.remotesensing.org/show_bug.cgi?id=18
  3403. 2000-10-12 Frank Warmerdam <warmerda@cs46980-c>
  3404. * Modified tiff2bw to ensure portions add to 100%, and that
  3405. white is properly recovered.
  3406. See bug http://bugzilla.remotesensing.org/show_bug.cgi?id=15
  3407. Patch c/o Stanislav Brabec <utx@penguin.cz>
  3408. 2000-09-30 Frank Warmerdam <warmerda@cs46980-c>
  3409. * Modified TIFFClientOpen() to emit an error on an attempt to
  3410. open a comperessed file for update (O_RDWR/r+) access. This is
  3411. because the compressor/decompressor code gets very confused when
  3412. the mode is O_RDWR, assuming this means writing only. See
  3413. bug http://bugzilla.remotesensing.org/show_bug.cgi?id=13
  3414. 2000-09-27 Frank Warmerdam <warmerda@cs46980-c>
  3415. * Added GNULDdso target an`d switched linux and freebsd to use it.
  3416. 2000-09-26 Frank Warmerdam <warmerda@cs46980-c>
  3417. * Applied patch for 0x0000 sequences in tif_fax3.h's definition
  3418. of EXPAND1D() as per bug 11 (from Roman).
  3419. 2000-09-25 Frank Warmerdam <warmerda@cs46980-c>
  3420. * Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve
  3421. cygwin compatibility.
  3422. * Applied patch from Roman Shpount to tif_fax3.c. This seems to
  3423. be a proper fix to the buffer sizing problem. See
  3424. http://bugzilla.remotesensing.org/show_bug.cgi?id=11
  3425. * Fixed tif_getimage.c to fix overrun bug with YCbCr images without
  3426. downsampling. http://bugzilla.remotesensing.org/show_bug.cgi?id=10
  3427. Thanks to Nick Lamb <njl98r@ecs.soton.ac.uk> for reporting the
  3428. bug and proving the patch.
  3429. 2000-09-18 Frank Warmerdam <warmerda@cs46980-c>
  3430. * Fixed tif_jpeg.c so avoid destroying the decompressor before
  3431. we are done access data thanks to bug report from:
  3432. Michael Eckstein <eckstein@gepro.cz>.
  3433. * Reverted tif_flush change.
  3434. 2000-09-14 Frank Warmerdam <warmerda@cs46980-c>
  3435. * tif_flush.c: Changed so that TIFFFlushData() doesn't return an
  3436. error when TIFF_BEENWRITING is not set. This ensures that the
  3437. directory contents can still be flushed by TIFFFlush().
  3438. 2000-08-14 Frank Warmerdam <warmerda@rommel.atlsci.com>
  3439. * tif_open.c: Don't set MMAP for O_RDWR files.
  3440. * tif_open.c: Set STRIPCHOP_DEFAULT for O_RDWR as well as O_RDONLY
  3441. so that files opened for update can be strip chopped too.
  3442. * tif_read.c: fixed up bug with files missing rowsperstrip and
  3443. the strips per separation fix done a few weeks ago.
  3444. 2000-07-17 Frank Warmerdam <warmerda@cs46980-c>
  3445. * Tentatively added support for SAMPLEFORMAT_COMPLEXIEEEFP, and
  3446. SAMPLEFORMAT_COMPLEXINT.
  3447. 2000-07-13 Mike Welles <mike@onshore.com>
  3448. * index.html, bugs.html: added bugzilla info.
  3449. 2000-07-12 Frank Warmerdam <warmerda@rommel.atlsci.com>
  3450. * tif_read.c: fix subtle bug with determining the number of
  3451. rows for strips that are the last strip in a separation but
  3452. not the last strip of all in TIFFReadEncodedStrip().
  3453. * Applied 16/32 bit fix to tif_fax3.c. Fix supplied by
  3454. Peter Skarpetis <peters@serendipity-software.com.au>
  3455. 2000-06-15 Frank Warmerdam <warmerda@rommel.atlsci.com>
  3456. * Modified tiffio.h logic with regard to including windows.h. It
  3457. won't include it when building with __CYGWIN__.
  3458. 2000-05-11 Frank Warmerdam <warmerda@cs46980-c>
  3459. * README: update to mention www.libtiff.org, don't list Sam's old
  3460. email address.
  3461. * configure: Fixed DSO test for Linux as per patch from
  3462. Jan Van Buggenhout <chipzz@Ace.ULYSSIS.Student.KULeuven.Ac.Be>.
  3463. 2000-04-21 Frank Warmerdam <warmerda@rommel.atlsci.com>
  3464. * libtiff/tif_dirread.c: Don't use estimate strip byte count for
  3465. one tile/strip images with an offset, and byte count of zero. These
  3466. could be "unpopulated" images.
  3467. 2000-04-18 Frank Warmerdam <warmerda@rommel.atlsci.com>
  3468. * contrib/addtiffo: Added "averaging" resampling option.
  3469. * tools/tiffsplit.c: Copy TIFFTAG_SAMPLEFORMAT.
  3470. Tue Apr 18 16:18:08 2000 Frank Warmerdam <warmerda@esabot.atlsci.com>
  3471. * tools/Makefile.in: Modified to install properly on SGI.
  3472. 2000-04-12 Mike Welles <mike@onshore.com>
  3473. * configure: Fixed stupid mistake in libc6 test on Linux
  3474. 2000-04-04 Mike Welles <mike@onshore.com>
  3475. * tif_win32.c: Applied patch to fix overreads and ovverwrites
  3476. caught by BoundsChecker. From Arvan Pritchard
  3477. <arvan.pritchard@infomatix.co.uk> (untested).
  3478. * tif_getimage.c: Applied patch to silence VC6 warnings. From
  3479. Arvan Pritchard <arvan.pritchard@informatix.co.uk>
  3480. * tif_lzw.c: Applied patch to silence VC6 warnings. From
  3481. Arvan Pritchard <arvan.pritchard@informatix.co.uk>
  3482. 2000-03-28 Frank Warmerdam <warmerda@cs46980-c>
  3483. * Added contrib/stream (stream io) code submitted by Avi Bleiweiss.
  3484. 2000-03-28 Frank Warmerdam <warmerda@cs46980-c> *** 3.5.5 release ***
  3485. * fax2ps: Fixed mixup of width and height in bounding box statement
  3486. as per submission by Nalin Dahyabhai <nalin@redhat.com>.
  3487. 2000-03-27 Mike Welles <mike@onshore.com>
  3488. * fax2ps: Modified printruns to take uint32 instead of uint16.
  3489. Patch courtesy of Bernt Herd <herd@herdsoft.com>
  3490. 2000-03-20 Mike Welles <mike@onshore.com>
  3491. * configure: added test for libc6 for linux targets. Bug reported by
  3492. Stanislav Brabec <utx@k332.feld.cvut.cz>
  3493. * Added 3.5 docs to html/Makefile.in.
  3494. Thanks to Stanislav Brabec <utx@k332.feld.cvut.cz>
  3495. * configure: fixed bugs in sed scripts
  3496. (applied sed script s:/@:s;@:;s:/s;;:;: to configure).
  3497. fix submitted to Stanislav Brabec <utx@k332.feld.cvut.cz>
  3498. * tools/iptcutil was not in files list, and wasn't being
  3499. added to tar archive. Updated Makefile.in.
  3500. 2000-03-17 Frank Warmerdam <warmerda@cs46980-c>
  3501. * tif_fax3.c: Fixed serious bug introduced during the uint16->uint32
  3502. conversion for the run arrays.
  3503. 2000-03-03 Frank Warmerdam <warmerda@cs46980-c.mtnk1.on.wave.home.com>
  3504. * Set td_sampleformat default to SAMPLEFORMAT_UINT instead of
  3505. SAMPLEFORMAT_VOID in TIFFDefaultDirectory() in tif_dir.c.
  3506. 2000-03-02 Frank Warmerdam <warmerda@cs46980-c.mtnk1.on.wave.home.com>
  3507. * Added "GetDefaulted" support for TIFFTAG_SAMPLEFORMAT in tif_aux.c.
  3508. * Patched tif_fax3.c so that dsp->runs is allocated a bit bigger
  3509. to avoid overruns encountered with frle_bug.tif.
  3510. Tue Feb 15 22:01:05 2000 Frank Warmerdam <warmerda@gdal.velocet.ca>
  3511. * Fixed tools/tiffcmp so that stopondiff testing works.
  3512. Patch care of Joseph Orost <joe@sanskrit.lz.att.com>.
  3513. 2000-01-28 <warmerda@CS46980-B>
  3514. * Modified tif_unix.c to support 2-4GB seeks if USE_64BIT_API is
  3515. set to 1, and added default (off) setting in tiffconf.h. This
  3516. should eventually be set by the configure script somehow.
  3517. The original work on all these 2-4GB changes was done by
  3518. Peter Smith (psmith@creo.com).
  3519. * Modified tif_win32.c to support 2-4GB seeks.
  3520. * tentatively changed toff_t to be unsigned instead of signed to
  3521. facilitate support for 2-4GB files.
  3522. * Updated a variety of files to use toff_t. Fixed some mixups
  3523. between toff_t and tsize_t.
  3524. Fri Jan 28 10:13:49 2000 Frank Warmerdam <warmerda@gdal.velocet.ca>
  3525. * Largely reimplemented contrib/addtiffo to avoid temp files,
  3526. updating the TIFF file in place. Fixed a few other bugs to.
  3527. * Set tif_rawdatasize to zero when freeing raw data buffer in
  3528. TIFFWriteDirectory().
  3529. * Enabled "REWRITE_HACK" in tif_write.c by default.
  3530. * Fix bug in tif_write.c when switching between reading one directory
  3531. and writing to another.
  3532. * Made TIFFWriteCheck() public, and added TIFFCreateDirectory()
  3533. Wed Jan 5 12:37:48 2000 Frank Warmerdam <warmerda@gdal.velocet.ca>
  3534. * Added TIFFmemory(3t) functions to libtiff.def.
  3535. Tue Jan 4 13:39:00 2000 Frank Warmerdam <warmerda@gdal.velocet.ca>
  3536. * Added libtiff/libtiff.def to TIFFILES distribution list.
  3537. Mon Dec 27 12:13:39 EST 1999 Mike Welles <mike@onshore.com>
  3538. * Created lzw compression kit, as a new module (libtiff-lzw-compression-kit).
  3539. * Altered descriptions in tools to reflect "by default" lzw not supported
  3540. * Updated index.html to note lzw compression kit.
  3541. Tue Dec 21 14:01:51 1999 Frank Warmerdam <warmerda@gdal.velocet.ca>
  3542. * Added fax3sm_winnt.c to distribution list in Makefile.in.
  3543. Tue Dec 21 11:04:45 EST 1999 Mike Welles <mike@onshore.com> *** 3.5.4 release ***
  3544. * Aadded Pixar tag support. Contributed by Phil Beffery <phil@pixar.com>
  3545. * Made one more change to tif_dir.c for removal of LZW compression. Also added notice
  3546. when LZW compression invoked.
  3547. * Changed default compression in tools to TIFF_PACKBITS, and changed usage descriptions
  3548. in tools to reflect removal of LZW compression
  3549. Mon Dec 20 18:39:02 EST 1999 Mike Welles <mike@onshore.com>
  3550. * Fixed bug that caused LZW (non) compression to segfault. Added
  3551. warning about LZW compression removed being removed, and why.
  3552. * Added nostrip to install in tools/Makefile.in so that debugging
  3553. symbols are kept.
  3554. Tue Dec 7 12:04:47 EST 1999 Mike Welles <mike@onshore.com>
  3555. * Added patch from Ivo Penzar <ivo.penzar@infolink-software.com>,
  3556. supporting Adobe ZIP deflate. Untested.
  3557. Sat Dec 4 15:47:11 1999 Frank Warmerdam <warmerda@gdal.velocet.ca>
  3558. * Made Packbits the default compression in tools/tiff2rgba.c instead
  3559. of LZW.
  3560. Tue Nov 30 14:41:43 1999 Frank Warmerdam <warmerda@gdal.velocet.ca> *** 3.5.3. release ***
  3561. * Added tif_luv to contrib/djgpp/Makefile.lib.
  3562. Tue Nov 30 14:15:32 EST 1999 Mike Welles <mike@onshore.com>
  3563. * Added zip creation to relase makefile target
  3564. * Added html for TIFFWriteTile.3t man page.
  3565. Tue Nov 30 09:20:16 1999 Frank Warmerdam <warmerda@gdal.velocet.ca>
  3566. * Added some changes to tif_write.c to support rewriting existing
  3567. fixed sized tiles and strips. Code mods disabled by default, only
  3568. enabled if REWRITE_HACK is defined for now.
  3569. Mon Nov 29 11:43:42 1999 Frank Warmerdam <warmerda@gdal.velocet.ca>
  3570. * Added TIFFWriteTile.3t man page.
  3571. Sun Nov 28 20:36:18 1999 Frank Warmerdam <warmerda@gdal.velocet.ca>
  3572. * Added notes on use of makefile.vc in build.html, and fixed
  3573. email subscription address.
  3574. 199-11-28 Mike Welles <mike@onshore.com>
  3575. * Fixed apocalypse-inducing y2k bug in contrib/ras/ras2tiff.c
  3576. * Did some casts cleaning up to reduce compiler warnings in tif_fax3.c,
  3577. from Bruce Carmeron <cameron@petris.com> -- modifications of
  3578. changes made by Frank (sun cc still complained on cast).
  3579. * Added tiffconf.h to install target per request from Bill
  3580. Radcliffe <billr@corbis.com>: "We need a way for ImageMagick to
  3581. know features have been compiled into the TIFF library in order to
  3582. handle things properly".
  3583. Sat Nov 27 16:49:21 1999 Frank Warmerdam <warmerda@gdal.velocet.ca>
  3584. * fixed various VC++ warnings as suggested by Gilles Vollant
  3585. <info@winimage.com>.
  3586. Wed Nov 24 12:08:16 1999 Frank Warmerdam <warmerda@gdal.velocet.ca>
  3587. * Modified TIFFquery.3t man pages info on TIFFIsByteSwapped() to
  3588. not imply applications are responsible for image data swapping.
  3589. 1999-11-22 Mike Welles <mike@onshore.com>
  3590. * HTML-ized the man pages, added to html/man
  3591. * Removed LZW Compression to comply with Unisys patent extortion.
  3592. 1999-09-29 Mike Welles <mike@onshore.com>
  3593. * Corrected one remaining 16 -> 32 bit value in tif_fax3.c,
  3594. From Ivo Penzar <ivo.penzar@infolink-software.com.
  3595. * Added patch from Ivo Penzar to have TiffAdvanceDirectory handle
  3596. memory mapped files. <ivo.penzar@infolink-software.com>
  3597. 1999-09-26 Mike Welles <mike@onshore.com> *** 3.5.2 release ***
  3598. * Corrected alpha versioning.
  3599. * Removed distinction between alpha and release targets in Makefile.in.
  3600. * added release.stamp target, which tags cvs tree, and updates
  3601. "RELEASE-DATE"
  3602. * added releasediff target, which diffs tree with source as of
  3603. date in "RELEASE-DATE"
  3604. * Ticked up version to 3.5.2 (alpha 01 -- but I think we'll moving
  3605. away from alpha/non-alpha distinctions).
  3606. * updated html to reflect release
  3607. 1999-09-23 <warmerda@CS46980-B>
  3608. * Set O_BINARY for tif_unix.c open() ... used on cygwin for instance.
  3609. * Added CYGWIN case in configure.
  3610. Fri Sep 17 00:13:51 CEST 1999 Mike Welles <mike@onshore.com>
  3611. * Applied Francois Dagand's patch to handle fax decompression bug.
  3612. (sizes >= 65536 were failing)
  3613. Tue Sep 14 21:31:43 1999 Frank Warmerdam <warmerda@gdal.velocet.ca>
  3614. * Applied "a" mode fix to tif_win32.c/TIFFOpen() as suggested
  3615. by Christopher Lawton <clawton@mathworks.com>
  3616. Wed Sep 8 08:19:18 1999 Frank Warmerdam <warmerda@gdal.velocet.ca>
  3617. * Added IRIX/gcc, and OSF/1 4.x support on behalf of
  3618. Albert Chin-A-Young <china@thewrittenword.com>
  3619. * Added TIFFReassignTagToIgnore() API on behalf of
  3620. Bruce Cameron <cameron@petris.com>. Man page still pending.
  3621. Wed Aug 25 11:39:07 1999 Frank Warmerdam <warmerda@gdal.velocet.ca>
  3622. * Added test target in Makefile, test_pics.sh script and pics/*.rpt
  3623. files to provide for a rudimentary testsuite.
  3624. * Added contrib/tags back from old distribution ... fixed up a bit.
  3625. 1999-08-16 <warmerda@CS46980-B>
  3626. * Added simple makefile.vc makefiles for building with MS VC++
  3627. on Windows NT/98/95 in console mode. Stuff in contrib/win* make give
  3628. better solutions for some users.
  3629. Mon Aug 16 21:52:11 1999 Frank Warmerdam <warmerda@gdal.velocet.ca>
  3630. * Added addtiffo (add overviews to a TIFF file) in contrib. Didn't
  3631. put it in tools since part of it is in C++.
  3632. 1999-08-16 Michael L. Welles <mike@kurtz.fake>
  3633. * Updated html/index.html with anon CVS instructions.
  3634. Mon Aug 16 13:18:41 1999 Frank Warmerdam <warmerda@gdal.velocet.ca>
  3635. * pre-remove so link before softlink in LINUXdso action in
  3636. libtiff/Makefile.in to avoid failure on LINUXdso builds other than
  3637. the first.
  3638. * Fixed problem with cvtcmap() in tif_getimage.c modifying the
  3639. colormaps owned by the TIFF handle itself when trying to fixup wrong
  3640. (eight bit) colormaps. Corrected by maintaining a private copy of
  3641. the colormap.
  3642. * Added TIFFReadRGBATile()/TIFFReadRGBAStrip() support in
  3643. tif_getimage.c.
  3644. * CVS Repository placed at remotesensing.org. ChangeLog added.