annotate TODO @ 6:3021deef1599

Encoding related fixes * chomp encoding string * reformat else (seems someone hacked it in) * debug print encoding * do not use :utf8 binmode ("re-encode") on written file if the input is _already_ UTF-8
author Peter Gervai <grin@grin.hu>
date Thu, 16 Oct 2008 00:02:14 +0200
parents a84c32f131df
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
1 TODO file for BINS (in no particular order)
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
2 ------------------
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
3
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
4 - fix date encoding
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
5
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
6 - use chmod() and symlink() instead of system()
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
7
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
8 - add author email in default templates.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
9
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
10 - include bins_cleanupgallery in bins program.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
11
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
12 - copy the origninal image to the destination album, with a link in
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
13 the HTML, if it is not already there (same source & destination size,
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
14 scaleIfSameSize=0 and no rotation).
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
15
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
16 - link .avi files to .thm when possible.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
17
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
18 - rotate JPEG images with a size that is not multiple of the iMCU with
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
19 mogrify instead of jpegtran (and perhaps remove border on scaled
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
20 images to avoid such size problems).
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
21
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
22 - display numbers of images for each album in tree page.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
23
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
24 - don't process empty dirs.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
25
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
26 - possibilty to have images and sub-album in top level album
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
27 (currently, the thumbnail of the top level album is not displayed).
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
28
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
29 - possibility to put XML files in another location (so images from
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
30 CD-ROM can be used).
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
31
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
32 - more sophisticated install procedure to not erase HTML templates
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
33 and config files
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
34
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
35 - command line option to select XML encoding.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
36
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
37 - handle correctly date/time format using plxgettext from Mandrake
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
38 package: lacks -k option for now.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
39
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
40 - add long option names with getopt
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
41
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
42 - select images to include in album by using contents of desc fields
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
43 (eg: album with all images where 'people' contains 'joe').
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
44
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
45 - add possibility to exclude directory (like CVS ones).
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
46
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
47 - generic description tag in the album.xml, to be used with all image
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
48 in this album missing this tag.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
49
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
50 - blue bar on the left is too long if lot of thumbs pages
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
51
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
52 - possibility to have albums in different langages
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
53
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
54 - gzip .xml files (controlled by an option)
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
55
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
56 - use of CSS
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
57
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
58 - possibility to have parameter by album (in the album.xml) or by
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
59 image (in its .xml file) to permit different image sizes, for
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
60 example?: almost done for some parameters
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
61
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
62 - use of the JIT compiler for HTML:Template: impossible for now, due
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
63 to bugs in HTML::Template:JIT. Some characters ($, \, %, @) must be
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
64 escaped (see http://rt.cpan.org/NoAuth/Bug.html?id=349 for bug
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
65 report).
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
66
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
67 ****************************************************************************
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
68
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
69 - hotkeys : DONE
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
70
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
71 - don't overwrite .htaccess file if it exists, but edit it : DONE
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
72
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
73 - preserve timestamp on files using cp -p when possible : DONE
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
74
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
75 - possiblity to have different number of scaled images in a album: DONE.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
76
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
77 - width and height are not inversed on rotation with -o copied: CORRECTED
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
78
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
79 - parameter to choose to rotate the original or the destination image: DONE
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
80
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
81 - <tag> attribute (in exif section) to tell BINS to not read EXIF
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
82 fields in picture but only in desc file: DONE
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
83
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
84 - use the previous attibute to set the new orientation when bins
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
85 rotate the original image and get rid of the BinsRotated parameter in
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
86 Exif section: DONE
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
87
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
88 - use of TITLE attibute on some links or image to give help as
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
89 tooltips (for image title, sizes, etc...): DONE
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
90
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
91 - thumb of current album (if any) in subalbum page: DONE.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
92
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
93 - add date of generation in the HTML code: DONE.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
94
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
95 - use of a config file to store parameters (instead of putting them
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
96 directly at the beginning og the code): DONE
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
97
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
98 - chmod u+w on destination image after a cp: done
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
99
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
100 - guess local encoding from locales setting: done
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
101
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
102 - correct bug with grayscales jpeg: done
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
103
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
104 - use of color styles (to select a set of colors): done
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
105
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
106 - process .tiff files, as well as other formats: done
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
107
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
108 - screenshot of bins-edit-gui: done
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
109
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
110 - strip any . in the short size name when creating file names
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
111
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
112 - handle broken jpegtran
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
113
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
114 - use of javascript to preload images of next thumnails page when
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
115 current one is loaded.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
116