ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/CV/Changes
Revision: 1.209
Committed: Sat Dec 23 05:27:04 2017 UTC (6 years, 7 months ago) by root
Branch: MAIN
Changes since 1.208: +3 -0 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.170 TODO: mkv
2 root 1.38 TODO/FIXME: pixmap-bg-trick sometimes doesn't work (race?)
3 root 1.95 TODO/FIXME: remove event does not recalculate schanuzer content size
4 root 1.101 TODO: with manual placement, initial contents aren't displayed
5 root 1.95 TODO: update a file that has been removed etc.
6 root 1.189 TODO: note to self, the reason mplayer hangs during long copies is that execve hangs, because it closes an fd to the target file.
7 root 1.72
8 root 1.189 TODO: metacluster
9 root 1.194 TODO: "mädhcne" utf-8 bug move to ERROR is a directory
10 root 1.198 TODO: up == select dir
11 root 1.200 TODO: turbojpeg
12     TODO: CV_THUMBNAIL_SCALE
13 root 1.203 TODO: Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() at /opt/bin/cv line 224.
14    
15 root 1.204 TODO: dir_is_movie in load_image bluray: ffmpeg etc.
16 root 1.207 - DEFAULT CHANGED: cv will now default to mpv instead of mplayer.
17     use CV_MPLAYER=mplayer to get the previous behaviour.
18 root 1.203 - new env variable, CV_MPLAYER, defaulting to mpv.
19     - make "mplayer" configurable via CV_MPLAYER, support mpv.
20     - support mpv ipc protocol for remote control.
21 root 1.205 - port to newer versions of gtk2, which require including gdkx.h.
22 root 1.206 - preliminary & optional webp load and thumbnail support.
23 root 1.209 - use mmap to "load" files and decode from memory buffers.
24     - use internal fileype function to detect filetype when generating
25     hthumbnails, instead of relaying on file extension (for speed).
26 root 1.208 - add internal magic_buffer/magic_buffer_mime functions.
27 root 1.203
28     1.61 Sat Jun 24 01:55:48 CEST 2017
29 root 1.191 - work around parser bug in 5.18.1 (-a).
30 root 1.202 - very simple "better than nothing" jpeg cmyk/ycck format decoding.
31 root 1.190 - use ffprobe instead of mplayer to probe video size/type.
32 root 1.187 - switch to using AnyEvent::Fork as provider for the processpool, which ought
33     to save gobs of memory.
34 root 1.190 - much improved async communications with worker processes.
35 root 1.189 - batch expose events together, in an attempt to reduce the amount of
36     expose races in gtk+ (does not fix scrolling races).
37 root 1.187 - create #cpu + 1 worker jobs now, not 1.5 * #cpu + 1 as before.
38 root 1.185 - better shell-quoting: use ""-style for utf-8 filenames and paste as unicode,
39     use bash's $'' syntax for other filenames.
40 root 1.180 - no longer pass a-z from viewer to schnauzer.
41 root 1.175 - properly serialise jobs by priority, instead of executing
42     jobs in parallel on the same path *sometimes*.
43 root 1.171 - escape select-by-prefix menu item labels.
44 root 1.170 - work around more perl unicode bugs.
45 root 1.172 - slightly improved filetype detection.
46 root 1.173 - add "cp" job for external plugins.
47 root 1.174 - work around even more perl unicode bugs that the perl5-porters
48     don't want to fix because of backwards compatibility.
49 root 1.176 - do not stupidly load big video files into memory just
50     to make a thumbnail.
51 root 1.177 - don't modify global $_ in aio callbacks.
52 root 1.181 - make drag-rectangle more visible.
53 root 1.182 - do not enter the last directory on the commandline, if more
54     than one argument is specified.
55 root 1.180 - started using AnyEvent.
56 root 1.183 - space by default activates first file, or first directory, if no files
57     (as opposed to first file or last directory in previous versions).
58 root 1.184 - fix race condition where the schnauzer might stay non-sensitive
59     on fast directory changes.
60 root 1.186 - allow reversal of rotation via .cvrc $REVERSE_ROTATION = 1.
61 root 1.187 - delay initialisation of Gtk2::CV::Schnauzer until first use.
62 root 1.188 - fix a runtime error when starting namecluster with newer gtk's.
63 root 1.191 - do not rely on /dev/shm being world-writable, use
64     /run/shm, /dev/shm and /tmp, in this order.
65     - expect mplayer to sometimes generate more than 2 frames when 1 is
66     requested.
67     - tune video thumbnail generation a bit.
68     - more fixups for "file -i" failing.
69 root 1.192 - properly follows symlinks instead of bailing out.
70 root 1.193 - support perl multicore specification (http://perlmulticore.schmorp.de/)
71     for jpeg loading and image transformations, although nothing takes
72     advantage of this *yet*.
73 root 1.197 - ctrl-up/down in schnauzer tries to move name cluster cursor.
74 root 1.198 - ctrl-shift-T in image window now sets default rotation for
75     subsequent image loads.
76 root 1.200 - ctrl-shift-G in schnauzer now removes thumbnails.
77 root 1.199 - implement j (cycle subtitle) and # (cycle audio track)
78     in mplayer mode.
79 root 1.201 - respect load time (ctrl-shift-T) rotation setting for videos
80     (no clue how to do that at runtime).
81 root 1.202 - print jpeg error messages to stderr.
82 root 1.170
83 root 1.169 1.56 Thu Oct 28 14:13:36 CEST 2010
84 root 1.166 - try an ugly workaround against Gtk's CONTINUED brokenness
85     with regards to non-ascii filenames :(.
86 root 1.161 - REALLY hide paths that are in the process of being removed
87     from the Schnauzer.
88     - when selecting entries, stat them all and fine their total
89     size(s) + filesystem overhead after a delay.
90     - take advantage of the Guard module.
91 root 1.162 - work around mplayer grabbing the focus.
92 root 1.163 - improve mplayer window size bug workaround. *sigh*.
93 root 1.164 - try not to keep a handle to a guard file to avoid
94     running into rename races with nfs.
95 root 1.165 - work around perl bug #77798 in some parts.
96 root 1.167 - slight namecluster speed improvement.
97 root 1.168 - work around newer libmagic versions adding mime attributes.
98 root 1.161
99 root 1.160 1.55 Tue Jan 26 03:18:45 CET 2010
100 root 1.161 - schnauzer did usually not give the correct number for
101 root 1.160 "# entries selected".
102 root 1.159 - added new "renamer" plugin that is useful for mass renames
103     of very similar filenames.
104 root 1.158 - apply a heavy dose of common::sense.
105 root 1.155 - enable assert's (which perl disables...).
106 root 1.156 - take advantage of IO::AIO::aio_readdirx.
107 root 1.158 - speed up file move duplicate detection.
108 root 1.155
109 root 1.154 1.54 Mon Apr 27 04:23:33 CEST 2009
110 root 1.151 - implement automatic reloading on SIGUSR1, as per suggestions
111     by Trevor Cordes.
112 root 1.152 - remove -\d\d\d file ending first on move collision.
113 root 1.150 - ctrl-shift-d now deletes despite CV_TRASHCAN.
114 root 1.146 - very hacky video thumbnailing via mplayer.
115 root 1.143 - ctrl-d errornously worked like ctrl-shift-d (cost 50gb of data).
116 root 1.140 - work around glib/gtk's filename corruption bugs when saving thumbnails
117 root 1.141 by writing the file ourselves.
118     - work around some other glib/gtk string corruption bugs.
119 root 1.136 - really only warn about pipe close failures :/.
120 root 1.137 - add hide attribute to jobs that will remove the file and do not
121 root 1.138 show those files in the schnauzer (but in-progress jobs
122     will still be shown, unfortunately).
123 root 1.139 - work around some more unicode issues in perl.
124 root 1.142 - correctly parse .rm as file extension in the schnauzer.
125 root 1.147 - always pre-fork the maximum number of worker slaves,
126     as forking later can consume way too much memory.
127 root 1.148 - update glade to work around annoying warnings in newer gtk.
128     - work around changes in newer glade. *sigh*.
129 root 1.149 - document that we need libgtk2.0-dev, too.
130 root 1.153 - avoid endless loops in mv.
131 root 1.136
132 root 1.135 1.53 Tue Jul 8 14:03:12 CEST 2008
133 root 1.134 - only warn about pipe close failures in printdialog, do not die.
134 root 1.131 - do not try to handle filenames in unicode, instead, only
135     convert at display time.
136 root 1.130 - kill any media players on destroy and not in the finaliser,
137     as gtk+'s lazy finalisation and mplayers stubbornness to
138     continue running without control socket and output window
139     can be annoying.
140 root 1.132 - add recursive delete (lamely implemented using rm -rf).
141 root 1.133 - update progressbar after a timeout in addition to after
142     enough work has done to ensure it is being displayed
143     quickly for long jobs.
144 root 1.130
145 root 1.129 1.51 Sun Jan 27 17:48:14 CET 2008
146 root 1.127 - run more stats in parallel in schnauzer scanning.
147 root 1.128 - do not deselect cursor on scroll if a range is selected.
148 root 1.127
149 root 1.125 1.5 Sun Nov 25 15:15:27 CET 2007
150 root 1.122 - rudimentary support for audio.
151 root 1.123 - fix Gtk2::Ex::PodViewer rename (patch by Randy J. Ray).
152 root 1.122
153 root 1.121 1.4 Sat Mar 17 14:11:48 CET 2007
154 root 1.116 - upgraded to IO::AIO 2.1 features.
155 root 1.113 - errors in IO::AIO callback execution will be logged and will
156     not freeze AIO operations anymore.
157 root 1.120 - jpeg2000 support by running jasper externally (imageviewer only).
158 root 1.114 - directory scanning now asynchronous.
159 root 1.115 - increased progress update frequency and reduced delay.
160 root 1.117 - add/enable icons for mp2/mp3/ogm.
161     - better ogm support.
162     - use mplayer for just about anything as opposed to just for video/*.
163 root 1.118 - fix auto rotation in older perls.
164 root 1.112
165 root 1.110 1.3 Wed Sep 27 23:59:27 CEST 2006
166 root 1.111 - simplify redraw, avoid unnecessary schnauzer redraws.
167 root 1.107 - add rotate entries to the schnauzer menu, adapted
168     from a patch by Corris Randall.
169 root 1.108 - use new experimental (but much faster) clustering feature vector
170     based on moments and not on a histogram.
171 root 1.109 - reimplement file movement to use IO::AIO natively, thus much faster
172     and lower on resources.
173 root 1.107
174 root 1.106 1.2 Fri Mar 31 12:55:15 CEST 2006
175 root 1.94 - fix unnecessarily redraws on partial exposes (scrolling etc).
176 root 1.95 - fixed CV_TRASHCAN support.
177 root 1.96 - "a" calls exiftran to rotate the image on-disk.
178     - don't run jobs on the same file in parallel.
179 root 1.98 - filenames were sometiems encoded twice when loading xvpics.
180 root 1.99 - do not sort filenames given on the commandline.
181 root 1.100 - set dithering to 'max', as contrary to documentation 'normal'
182     doesn't dither on (my) 8-bit-displays.
183 root 1.101 - enable dithering for xvpics.
184 root 1.102 - use libmagic for filetype detection.
185 root 1.103 - set window roles.
186 root 1.104 - changed xor color from 0x8080 PC to 0x8000, as the former yields
187     useless results on gtk 2.8.
188 root 1.105 - fix p7 thumbnail reading.
189 root 1.94
190 root 1.93 1.1 Fri Oct 28 15:47:53 CEST 2005
191 root 1.91 - jobs for files currently shown in a schnauzer get prioritised.
192 root 1.72 - directories visited in a session are shown darker.
193 root 1.93 - unvisited directory with .xvpics in them are shown differently.
194     - add Remove Thumbnails menu entry.
195     - allow restricting image size to something less than the screen
196     (ctrl-shift-m).
197     - fix a bug where background processes stopped processing jobs.
198     - primary selection support for schnauzer selections.
199     - documented and implemented scorlling behaviour while drag-selecting.
200     - implemented Select=>By Prefix.
201     - background loading of .xvpics (and checking for symlinks-to-dirs).
202     - use overlays to differentiate between directories that
203     are empty, have .xvpics or are symlinks-to-directories.
204     - better/slower expose handling (we need double-refreshes due to
205     probable bugs in gtk+ or X11).
206     - implement a dirstack (statestack) and make use of it.
207     - don't forget cursor position on ctrl-g and similar commands.
208     - implemented keep_only_thumbnailed and remove_thumbnailed.
209     - implemented multiple-image-window support in cv.
210     - do some extra random resizes on the mplayer window to get it
211     to notice the damned window size.
212     - reap fork'ed job processes to avoid ressource leaks.
213     - fixed GNU R clustering.
214 root 1.44
215 root 1.70 1.0 Wed Sep 7 18:41:38 CEST 2005
216 root 1.65 - fix alpha handling: we now compose with a checkerboard,
217 root 1.93 but exposing hidden pixel data is also supported in the code.
218     - use jpg instead of P7 format for thumbnails and remove p7
219     write support: better quality, smaller filesize.
220     - evaluate _NET_FRAME_EXTENTS to get actual maximum screen size.
221     - better mplayer integration (resize handling, aspect handling).
222     - fix some bugs when a Schnauzer window was resized and got
223     the wrong offset.
224     - don't crash when trying to crop to a size of less than a pixel.
225     - schnauzer now has two modes: directors view or single-file view.
226     this changes it's behaviour on rescan and other occasions.
227     - reduce the amount of random dithering.
228     - load jpeg files ~20% faster, create jpeg thumbnails an order
229     of magnitude faster.
230     - improved bin/cv documentation.
231     - improve scanning performance further by usign the directory
232     link count and by stat'ing possible directories early.
233     - do file data prefetch after space or backspace and 0.3s.
234     - better and faster casefolding.
235     - use pango's ellipsise functionality and cut at the end.
236     - moved the R clustering algo to a separate plugin (and fix it).
237     - moved the filename clustering algo to a separate plugin.
238     - try very hard to get the window size correct befre first map.
239     - only load the default title image when necessary (saves mem & cpu).
240     - change drag xor colour to #808080, uglier, but visible on all
241     images.
242     - added icon for .tif files.
243     - updated icons for some file-extensions.
244     - created a job system and create thumbnails in parallel and
245     in the background.
246     - more careful handling of filename encodings.
247     - use gdk_pixbuf_rotate_simple instead of our own functions.
248 root 1.68 - played with resizing logic once more.
249 root 1.16
250 root 1.43 0.5 Mon Jul 11 05:48:13 CEST 2005
251 root 1.93 - image window resizing now works again.
252     - much improved resize/move handling (still not up to xv's level).
253     - every schnauzer now has an associated label/info field.
254     - better ^D performance.
255     - can now play videos if mplayer is in the path (and probably is
256     identical to my versions and your config file is empty etc. etc.
257     the usual caveats about embedding mplayer...)
258     (http://itdp.fh-biergarten.de/mplayer-dev-eng/2004-12/txt00028.txt fixes
259     the resize problems).
260     - remove gtk20-compatibility cruft.
261     - added progress window for lengthy operations.
262     - removed <parent> entry, use popup=>Up.
263     - change of contact address.
264     - updated icons for some file-extensions.
265     - make cv's info label wrap as not to change horizontal window width
266     (doesn't work, but that's general gtk2 brokenness).
267     - use set_absolute_size for the schnauzer font. doesn't result in an
268     absolute size, but at least results in the same height everywhere.
269     - implemented a primitive plugin system (see Gtk2::CV::Plugin and
270     eg/plugin-skeleton).
271     - removed bin/cvc's clusteriser.
272     - added a new clusteriser algorithm, use Popup=>"Filename clustering..."
273     - set _X_CWD to current dir in bin/cv (a rather special feature...).
274     - further directory scanning speed improvements.
275     - IO::AIO use for some speedups and more concurrency.
276 root 1.19
277 root 1.18 0.3 Sun Aug 1 21:59:49 CEST 2004
278 root 1.16 - cv * now correctly loads && selects the first image again.
279 root 1.93 - changed selection behaviour to select ranges not rectangles
280     (could be configurable at runtime).
281     - many small bugfixes.
282     - better display behaviour when viewing many images quickly.
283     - changed sort order to sth... strange (case insensitive,
284     numbers < 5 digits sorted in numerical order).
285 root 1.16
286 root 1.15 0.2 Thu Nov 20 07:49:55 CET 2003
287 root 1.14 - add DSC comments (except for %%page).
288 root 1.93 - implemented binary encoding for postscript printing.
289     - ctrl-s == rescan.
290     - less-latency resizes.
291     - after implementing filename_to_unicode maybe it is time to use it...
292 root 1.12
293     0.15 Wed Nov 12 21:33:32 CET 2003
294 root 1.7 - add nifty print dialog, using glade and GladeXML. GladeXML needs
295 root 1.93 some convinience functions, but is ok to use.
296     - improved schnauzer scrolling and geometry hints.
297     - bugfixes, as usual.
298     - implemented ctrl-u.
299     - implemented maxpect-always mode.
300 root 1.7
301     0.14 Mon Nov 10 20:11:15 CET 2003
302 root 1.3 - use subpixbufs for cropping.
303     - don't force redraws anymore, hopefully the result is the same.
304 root 1.93 - primitive printing with automaxpect (always to /tmp/x, watch out!).
305     - off-by-one error in flip code fixed.
306     - replaced nearest interpolation to tiles for thumbnail generation.
307     - much improved thumbnail dithering.
308     - applied drag_rect patch by muppet, together with some infrastructure
309     improvements.
310     - faster and less accurate text "autoscaling".
311 root 1.1
312     0.13 Sat Nov 8 14:13:24 CET 2003
313 root 1.2 - Applied patch by muppet to backport it to gtk2.0,
314 root 1.93 plus portabiity fixes.