Fri Aug  9 11:14:54 CDT 2002 Terry Gliedt <tpg@hps.com>

	* cthumb.in:
	  - shorten long titles and descriptions to 50 chars.
	  - join lines that end in '\'
	  - parse_option loop optimizations
	  - add HtmlExtension variable
	  - add -H option for listing all variables available and
	    where they apply
	  - cut down long commentaries
	  - fix InlineFiles bug, should work now.
	  - fix diff issue for solaris

Fri Aug  9 10:38:41 CDT 2002 Artur Kedzierski <artur@kedzierski.org>

	* themes/{ithumb,spotlight}.theme/theme.conf: link color fix

Fri Aug  9 02:31:17 CDT 2002 Artur Kedzierski <artur@kedzierski.org>

	* themes/oak.theme/theme.conf: change default color from white
	  to visited link.

Fri Aug  2 17:47:18 CDT 2002 Artur Kedzierski <artur@kedzierski.org>

	* cthumb.in: fix for the AutoSlideTime. changed it to default
	  to 2 seconds. The previous default was actually 0. It was the
	  multiplier that got changed from 1000 to 1500. That of course
	  didn't affect the time that it would take to load a page.

Sat Mar 16 18:06:56 CST 2002 Artur Kedzierski <artur@kedzierski.org>

	* cthumb.in: correct wrong capitalization of doctype tag.

Version 4.1 - Sat Dec 15 12:46:28 CST 2001 Carlos Puchol <cpg+cthumb@puchol.com>

	* cthumb.in:
	  - _finally_. clean up the back arrows, and position them
	    properly in the output html. i think i got it right this
	    time. gleeful rejoice.
	  - consolidated all references to 1.gif.
	  - made an attempt to move all the pixel images from 1.gif to 1.png,
	    but failed.  neither ie nor netscape seem to render them
	    transparently and a little dot shows up in them (at least in
	    black-background themes).
	* oak.theme: add original back arrow.
	* ithumb.theme: add new back arrow
	* *.theme: add back arrows to CVS
	* TO-DO: add note on passing info to/from albums.
	* VERSION: 4.1

Wed Dec 12 12:26:44 CST 2001 Carlos Puchol <cpg+cthumb@puchol.com>

	* cthumb.in: add a space in the recognition of new pictures.
	  this could cause some issues with people that don't have
	  spaces after their - or > or <. this is to help it parse
	  comments that start with html ...  have many that start
	  with <b>.

Tue Dec 11 18:00:01 CST 2001 Carlos Puchol <cpg+cthumb@puchol.com>

	* cthumb.in:
	  - change <!doctype ...> to make mozilla not strict.
	  - add settings to the generation of albums.
	  - remove an extra <br> that broke title layout
	  - output more meaningful things with cthumb -c. we do this by
	    extending the semantics of column index 5 in the so that "t"
	    means ouput commented out, noting it is really only for use in
	    themes, "c" output commented out, "x" means is not output at
	    all, and the " " is output, with the default.
	  - rearrange the order of the array so that the Theme setting is
	    place early in the output of -c.
	* VERSION: 4.0.1

Version 4.0 - Sat Dec  8 03:50:48 CST 2001 Carlos Puchol <cpg+cthumb@puchol.com>
	
	* two new themes (oak, ithumb), improved docs, really stable, more
	  configurable, ImageMagick support, Exif support, better support
	  for FreeBSD and other unices, support for long stories for
	  pictures, support for redhat 7.2, use locale for dates/times,
	  etc.

Sat Dec  8 10:55:39 CST 2001 Michael Banck <mbanck@gmx.net>

	* cthumb.1.in: typo correction

Sat Dec  8 02:57:16 CST 2001 Carlos Puchol <cpg+cthumb@puchol.com>

	* AUTHORS, README, VERSION, cthumbrc.sample: varios changes
	  for the upcoming release (sorry christian, forgot you :-)
	* index.html: new file with the home page

Thu Dec  6 13:36:27 CST 2001 Carlos Puchol <cpg+cthumb@puchol.com>

	* cthumb.in: use themedir, but for that, we need to instantiate
	  some prefix first.
	* configure.in: typo - no one found this??? ;-)

Thu Dec  6 12:50:36 CST 2001 Carlos Puchol <cpg+cthumb@puchol.com>

	* cthumb.in, Makefile.in, configure.in: check for rsync and subst CPR.

Thu Dec  6 04:37:28 CST 2001 Terry Gliedt <tpg@hps.com>

	* cthumb.in: allow customization of the RecursiveCP (what to use to
	  copy theme directories) and the ImageDir (where the themes are).

Thu Dec  6 06:48:26 CET 2001 Christian Maegaard <cc@chaos.dk>

	* cthumb.in: don't be so silent when using mogrify.

Tue Dec  4 00:41:48 CST 2001 Artur Kedzierski <artur@kedzierski.org>

	* cthumb.in: eliminate the problem that the same picture
	  appears in different pages in the same album. we consider the case
	  when the same picture appears more than once in the same page
	  in the same album a user mistake. we do not abort on that, though.

Mon Nov 26 23:59:05 CET 2001 Christian Maegaard <cc@chaos.dk>

	* cthumb.in: fix a bug in option printing in do_album. No options after the first, 
	  which was not allowed were printed (missing $i++).
	* cthumb.in: fix a bug in exif display. Display was done in html_footer. This meant 
	  that display occured even on album pages not containing pictures.
	* cthumb.in: added options for rotating pictures using '<' and '>' in place of '-'
	  on lines with image files in album.
	* cthumb.in: added option of using mogrify "UseMogrify" for scaling and rotating.
	* cthumb.in: added display of exif file date in captions rather than file time 
	  stamp, when insert exif is used.

Tue Nov 27 19:55:26 CST 2001 Carlos Puchol <cpg+cthumb@puchol.com>

	* cthumb.in: PicturesPerRow allowed in themes, of course.

Tue Nov 27 15:09:24 CST 2001 Carlos Puchol <cpg+cthumb@puchol.com>

	* cthumb.in: fix bug in reading themes, by Terry Gliedt
	  <tpg@hps.com>, make pnmscale shut up (version in redhat 7.2
	  spits out stuff to stderr, even without -verbose, arggh)
	* AUTHORS: add Terry.
	* configure.in: add --with-themedir option, suggested by Michael Banck

Tue Nov 27 12:22:11 CST 2001 Carlos Puchol <cpg+cthumb@puchol.com>

	* README: typo
	* cthumb.spec.in: spec file for rpms under redhat 7.2
	  (require netpbm-progs instead of libgr-progrs).
	* cthumb-rh6.spec.in: spec file for rpms under redhat 6.X.
	* Makefile.in: a little cleanup never hurt anyone. thanks to
	  Michael Banck for the push. should work better on debian.
	* AUTHORS: forgot to include Michael Banck. shame on me!
	* VERSION: up

Fri Nov 23 00:16:18 CST 2001 Carlos Puchol <cpg+cthumb@puchol.com>

	* cthumb.in: new setting: LocaleFileDate: use locale for file date in the comments.
	  patch contributed by Eric Veldhuyzen <eric@terra.nu>.
	* cthumb.in: fix a bug in the exif setting, where = was used instead of ==
	* AUTHORS: add a couple of people (Bastiaan, Eric). i am sure i forget some from
	  way back. if your name is not in AUTHORS, please contact me!
	* VERSION: up the version to 3.7.2.
	* Makefile.in: tweak to build rpm with just make rpm, without building the examples
	  (which at the moment are hosed in cvs).
	* README: provide pointers for cvs, sourceforge.

Wed Nov 21 18:11:54 CST 2001 Carlos Puchol <cpg+cthumb@puchol.com>

	* themes/ithumb.theme/*: new theme "ithumb."
	  kinda largish.. but good looking.

Wed Nov 21 17:36:22 CST 2001 Carlos Puchol <cpg+cthumb@puchol.com>

	* CVSROOT/loginfo: tweak email info for updates

Wed Nov 21 16:54:25 CST 2001 Carlos Puchol <cpg+cthumb@puchol.com>

	* themes/oak.theme/*: new theme, and very nice! by
	  Bastiaan N. Veelo, Bastiaan.N.Veelo@immtek.ntnu.no.
	* cthumb.in: cleanup of an extra </a> in the title of headers of pages.
	* slides-big.theme/theme.conf: add PicturesPerRow default.

Version 3.7.1 - Fri Oct 12 12:35:40 CDT 2001 Carlos Puchol <cpg+cthumb@nospam.puchol.com>
	
	- InsertExif: insert exif info automatically.

Version 3.7 - Fri Oct 12 02:35:40 CDT 2001 Carlos Puchol <cpg+cthumb@nospam.puchol.com>

	- newly re-done processing of variables. patch by thomas hammer.

Version 3.6 - Mon Oct  8 02:46:35 CDT 2001 Carlos Puchol <cpg+cthumb@nospam.puchol.com>

	- release 3.6, delete 3.5.2 and 3.5.3.

Version 3.5.3 - Sun Oct  7 12:01:28 CDT 2001 Carlos Puchol <cpg+cthumb@nospam.puchol.com>

	- some encoding of urls were missing in the bulding of the slide pages

	Sun Oct  7 04:17:24 CDT 2001 Carlos Puchol <cpg+cthumb@nospam.puchol.com>

	- forgot to add the spotlight theme to the rpm spec
	- found a bug in the slide generation, where the alt field for the image
	  wasn't cleaned enough from html and other possible debris.

Version 3.5.2 - Sat Oct  6 14:36:31 CDT 2001 Carlos Puchol <cpg+cthumb@nospam.puchol.com>

	- automatic slide shows! (turned off by default, $AutoSlideShow=1 to turn it on)
	  yet another very nice patch by Artur Kedzierski <artur@kedzierski.org>. 
	- fix font in the individual pages to print at the same color/size as
	  the picture title.
	- new theme "spotlight"
	- added patch for inlining headers and footers if they exist,
	  instead of server includes, by Thomas Hammer <thomas.hammer@gmx.de>
	- change cp -a to rsync -av, this has the added benefit of being efficient
	  when copying only what is necessary and also copying new files.
	- move 1x1 spacer to each of the theme directories. oh well, same file everywhere.

	Fri Sep 21 14:36:35 CDT 2001 Carlos Puchol <cpg+cthumb@nospam.puchol.com>

	- do not generate/update html files if they don't change!
	  by Artur Kedzierski <artur@kedzierski.org>

Version 3.5.1 - Thu Sep 13 23:18:25 CDT 2001 Carlos Puchol <cpg+cthumb@nospam.puchol.com>

	- the slides for the second+ languages will now work, fix by
	  Artur Kedzierski <artur@kedzierski.org>
	- fix encoding or urls, by Artur Kedzierski <artur@kedzierski.org>
	- remove examples from tar file by request, yell if you want them back
	  (makes the distribution 75% smaller), put them in the web as a tarball,
	  requested by Michael Banck.
	- he also mentioned that debian packages are available at:
	  http://packages.debian.org/cthumb
	- new theme: flaps, inspired from some frame spotted in the wild
	- remember to delete theme directories so that the 
	- cleanup the TO-DO file a bit

Version 3.5 - Mon Sep 10 09:59:57 CDT 2001

	- slides! each picture is displayed in a page of its own
	- each slide has title, previous, next and album buttons.
	- print empty space in place of empty pictures/frames
	  for the pages where the last row had empty space.
	  in some browsers (notably mozilla) it (correctly) displayed
	  a background-colored rectangle for each space, which looked awful.

	Many thanks to Brent Schwan for contrinbuting the slides patch!!

	Changelog notes from a patch from Brent (brentcschwan@yahoo.com):

	New Features
	------------
	
	Added "ThumbSmoothing" attribute for overriding thumbnail smoothing level.
	This is also useful for generalizing the scale_image method for both
	thumbnails and slide pictures. I did not add this to the output of `cthumb -c`,
	because it is low level enough not to warrant that.
	
	Added attributes "SlidePictureGeometry", "DefaultSlidePictureGeometry", and
	"SlidePictureSmoothing" for configuring slide show generation. The first two
	are generated, but commented out, via `cthumb -c`. The smoothing attribute
	is not generated via `cthumb -c`, to be symmetric with "ThumbSmoothing".
	While "ThumbSmoothing" defaults to 20, "SlidePictureSmoothing" defaults to 0.
	
	A slide page is generated for each image. The slide page has left and right
	links for rapidly browsing full images in an album.
	
	If a header or footer is in the directory in which slide pages are being
	generated, they will be included.
	
	Overriding the "SlidePictureGeometry" attribute can be useful when extremely
	large images are being served, and a slightly more reasonable slide picture
	size is required. cthumb will generate scaled images, if necessary, and put
	them in the current directory, or in the thumb directory if it exists. This
	follows the same convention as thumbnails. We may consider also looking for a
	cthumb directory instead, since thumb is somewhat overloaded now that we put
	slides in it.
	
	Multiple geometries may be listed under "SlidePictureGeometry" to autogenerate
	multiple resolution slide shows. If multiple geometries are requested, a
	list of geometry links will be generated under each slide picture. Subsequent
	next and previous traversals will use the new geometry. The
	"DefaultSlidePictureGeometry" attribute can be set to choose which geometry a
	thumbnail will link to. If this is undefined, the first geometry in the list
	will be picked.
	
	Listing a geometry of 0x0 indicates that the original image should be used;
	no autoscaling is required. The default for "SlidePictureGeometry" is "0x0",
	so auto-scaling is off by default. 0x0 may be an element of the
	"SlidePictureGeometry" as well as the "DefaultSlidePictureGeometry".
	
	
	Code Changes
	------------
	
	Most of the new implementation was contained to generate_slide_show(). A few
	other functions were changed to provide generality for both thumbnails and
	slide shows, others were modified to link in the slide show generation. A list
	of these changes follow below:
	
	The $fname album filename calculation was moved up into create_page_html() from
	update_html_one() to eliminate redundant code with calculating back links to
	from the slideshow pages.
	
	The image description array indices pictureNumber and language were reversed
	to make it easier to pass to methods that work on a single language at a time.
	
	Added code to create_page_html() to call the new function
	generate_slide_show(). This function generates slide show pages and scaled
	down slide images if necessary.
	
	thumbnails() now takes generalized picture, link, and link picture arrays
	where it used to only take picture arrays. This is a generalization that allows
	the method to reflect on the original pictures for naming and date/time
	purposes, to link to the generated html, and to reflect on the link picture
	to grab size information in cases that the original images have been reduced
	in the slide show.
	
	I believe that we can clean up and speed up the thumbnail generation code
	considerably by having it leverage the precalculated arrays that the slide
	show code builds. We could either promote the array building or generalize
	the slide show code to handle thumbnails as well. On this first pass, I wanted
	to leave the original code alone as much as possible. A second more
	collaborative pass may be beneficial.
	
	generate_slide_show() is about 4 times longer than I usually make functions.
	I was loath to break it up until we tried folding in the thumbnail code or
	explored some other options.
	
	generate_slide_show() will create slide pages in the current directory, unless
	the thumb/ directory already exists. I did not feel that the slide images and
	pages really belonged in the thumb/ directory, but I felt even less
	enthusiastic about generating output into the same directories as the source
	images. I would prefer a solution that took source in the form of a hiearchy
	of albums, images, headers, and footers and generated a completely seperate
	web directory. Another option is to rename thumb/ to cthumb/ or let it be
	user defined. We can discuss this sometime, if you'd like.
	
	generate_slide() creates the html for the slide page, but does not scale down
	the slide image. That allows generate_slide_show() to vary the image link,
	which is useful when raw image or scaled down images can be supplied.
	
	Headers and footers are no longer surrounded by <center> and </center>. This
	allows the included html to determine whether it wishes to be centered or not
	centered.
	
	calculate_relative_path() is a complex function that can probably be
	replaced with a standard library method, only I didn't know of one at the time
	I wrote it. It helps create all the relative URL paths that begin to show up
	when .shtml is placed in subdirectories with links back and forth.
	
	generate_thumbnail() was renamed to scale_image() to indicate a general
	purpose image scaling routine. The slide show generator leverages this code
	now, not just the thumbnail generator. Along with that name change came
	$thumbcreate -> $pictcreate and get_thumb_size() -> get_image_size().
	scale_image() also takes width, height, and smoothing strength parameters
	to handle additional use cases.
	
	themed_header() and themed_footer() were added to ensure that the themed
	slide and thumbnail pages are consistent. The index page seems to follow
	different theme criteria so I did not play with it.
	
	For symmetry with get_image_size(), get_geometry() was renamed to get_image_geometry(). 
	
	html_pic_film() now takes a linkURL and a linkPictureURL in order to generate
	thumbnails and ALT text as described in the thumbnails() section above.
	
	cthumb -c *.jpg now adds default settings for "SlidePictureGeometry" and
	"DefaultSlidePictureGeometry". I left out the smoothing attributes
	because they are more advanced, but they could easily be added. No new command
	line parameters were added for these new attributes.


Version 3.4.1 - Sun Jun 17 18:34:11 CDT 2001

	- album generation obeys -l (number of languages) again (it was broken a while ago)
	- album generation re-touched to generate multiple-language captions

Version 3.4 - Fri Jun 15 22:03:42 CDT 2001

	- added some html to make the no-empty-thumbnail feature work for
	  internet explorer as well as netscape (IE was displaying a big ugly black
	  hole instead of the background color)
	- added (per Ying Zhang <ying@zippydesign.com> contrib, thanks!):
	  TitleFont, TitleFontSize, TitleFontColor, CaptionFont, CaptionFontSize,
	  self explanatory, all of them themable! cool!
	- added contrib directory. two scripts there to manage _large_ directory
	  trees of pictures and make albums out of them.
	- if the index file does not change, then don't overwrite it
	  (better http caching)
	- handle recursive albums more precisely
	- introduced CPR variable in Makefile.in for recursive cp, for BSD folks and others

Version 3.3.1 - Wed Jun 13 10:59:03 CDT 2001

	- do not encode text for titles - HTML now allowed in titles!
	  (it was always allowed in the comments, btw)
	- remove cruft from alt tags - they should look much better now.
	- do not generate empty frames (thanks to Ben Elliston  <bje@redhat.com> !)

Version 3.3 - Sun May 20 15:27:09 CDT 2001

	- new themes: float-medium, crosshair
	- minor other tweaks

Version 3.2.2 - Sun May 13 01:50:29 CDT 2001

	- new themes: tv-large, tv, classic, classic-clips

Version 3.2 - Mon May 7 11:41:12 CDT 2001

	- Recursive albums seems to work. All you have to do is specify the album file
	  in the Page entry int an album file,e.g.:

		Page (Nov 8, 1965): path-to-the/new.album
			Title of the New Album

	  then cthumb will be invoked to run on that album. This has several implications:

		- no settings from the current album "export" to the new one.
		- no information is passed back to the caller cthumb as to
			- how many pictures the recursive album has
			- what the title of that album is

		- don't forget to add a title following the "Page" item.

	  If the sub-album has only one page, you may want to skip the
	  index by specifying (again, in the _sub-album_) that the index
	  not be created and the page be index.shtml which is what the
	  caller cthumb expects to be there:

		NoMainIndex: 1
		Page: index

	  it even works for multiple-language situations. note that it assumes the
	  main file is called index.shtml.

	- Remove command line option -b and rename variable to DisplayKbytes.
	  WARNING - you need to change DisplaySize -> DisplayKbytes in your albums!!

	- Remove command line option -k (for TextCaptions).

	- Add the following new variables (thanks to Niels Bakker!):

		DisplayGeometry (default 0): display the X x Y geometry in the alt comments
		DisplayFileDate (default 0): display the file date in the comments

	  ok, the time format was a bit lame :-) ...
	  so i changed to be a bit less lame :-)

	- add new variable ThemeDir, e.g.:

		ThemeDir: ..

	  will find the themes in the directory ../

	  the last '/' is optional. this was useful for recursive albums to keep all themes
	  in the same place (it is also a bit more efficient for displaying so that no
	  images are loaded more than once).

	- One more theme: slides-clean
	
Version 3.1.1

	Version 3.1 went out with a bug in page-generation mode (-c did not work!).

Version 3.1

	More Themes! ... 7 of them: shiny-tube, blue-steel, float, float-more,
	float-thick, postcard, slides-clean 

	Lotsa little fixes. 

Version 3.0	Mon Feb 26 14:51:54 CST 2001

	Themes!

	header.html and footer.html are autodetected. this is done via
	server-size includes. if at the time you run cthumb you have any
	of those files, an "include" of them is rendered in the
	index. will do all the pages later. note that in order for this to
	work on apache, i had to call the index as index.shtml, not
	index.html (or whatever.shtml, it has to have a ".shtml"
	extension. anyone know why?). for this you use: MainIndexName:
	index.shtml in the album.

	The comments in Page (<comments>) are passed to the page itself.
	Typically, this is for the date.

Version 2.5	Mon Feb 19 16:24:00 CST 2001

	Fixed a bug where DisplaySize and CheckThumbnails were not parsed
	if present in album files.

	Added option -t to turn on checking of the thumbnail width and
	height so that rendering is much faster on very large pages, but
	makes cthumb slow. Spent some time optimizing this.

	Keep a cache of thumbnail sizes - this provides a nice speedup when several
	languages are done.

	Man page.

	Minor bug in album-building mode, setting the default title for pages.

Version 2.4

	Added new "LinkSize" attribute for albums. Determines the size
	of the link surrounding the thumbnails. The new variable
	$LinkSize, determines that too, by default.

	Added an option -k, to do text captions under the thumbnails,
	suggested by Steve Beach <asb4@psu.edu>. There is also the
	option "TextCaptions" to be used in the album file, and also
	you can put $textcaptions=1 in your ~/.cthumbrc as usual.

	Fixed a bug so that when NoMainIndex is true, no back arrows
	are generated.

	Changed defaults so that all variables in the album file match
	the program variable names, so they can be assigned in
	~/.cthumbrc. See the included cthumbrc.sample.

	Fixed a couple of minor mismatches in the alink and vlink colors.


Version 2.3.3:

	Bugfix for background color with in no-film-strip mode (thanks
	for Irving Wolfe for pointing it out).

	A couple of other minor bug fixes and code cleanup. 

Version 2.3.0:

	Several new commands allowed in the album file: MainIndex to
	provide the name of the index file generated, NoMainIndex to
	prevent cthumb from generating an index file.

	Major cleanup of HTML code. 

	Introduced a little back button in each page that takes you to
	the index file. This is helpful, and in anticipation to
	provide previous-top-next set of buttons.

	Other: midly incorrect HTML tables, fonts, other minor typos and HTML typos. 

Version 2.1.2:

	You can now put your defaults in a ~/.cthumbrc. 

	If there is a thumb/ directory, the thumbnails are put there
	to avoid clutter (initial patch submited by Irving Wolfe).

	Supports tiff files now (patch submited by Irving Wolfe).  Can
	create (-c) default albums in multiple languages now.

	A couple of minor bugs.

Vercion 2.0.0:

	New really nifty "film" mode (becomes default).

	Maximum configurability: use of CSS (cascading style sheets)
	in the output HTML makes for extremely configurable picture
	albums.

	Multiple languages (one or more, not just one or two).

	Better 1-language output.

	New option (-c)to create an album out of a series of pictures
	to get you going. Very useful to get started very quickly!

	Names of the pictures now in the alt tag of the image for more
	compact and more user-friendly albums.

	Thumbnail size, background colors, and all sorts of
	configuration via command line or album file.  Optional
	generation of main index of all pages generated in all
	different languages.
