ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/CV/Changes
Revision: 1.252
Committed: Mon Aug 2 08:15:46 2021 UTC (2 years, 9 months ago) by root
Branch: MAIN
Changes since 1.251: +2 -0 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.244 TODO: mkv
2     TODO/FIXME: pixmap-bg-trick sometimes doesn't work (race?)
3     TODO/FIXME: remove event does not recalculate schanuzer content size
4     TODO: with manual placement, initial contents aren't displayed
5     TODO: update a file that has been removed etc.
6     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    
8     TODO: "mädhcne" utf-8 bug move to ERROR is a directory
9     TODO: up == select dir
10     TODO: CV_THUMBNAIL_SCALE
11     TODO: Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() at /opt/bin/cv line 224.
12     TODO: dir_is_movie in load_image bluray: ffmpeg etc.
13    
14     TODO: "j" and "#" keys for movies
15     TODO: cv 5/ 6/ (hla) bad icon label in schnauzere
16 root 1.246 - work around bugs with newer gtk2 and/or xft
17     versions that cause the schnauzer window to shrink randomly.
18 root 1.245 - implement (mostly hiden) --sort argument that forces filename sort
19     even when cv normally wouldn't.
20 root 1.250 - implement animated gif detection using netscape app block,
21 root 1.251 whose presence will be assume to indicate an animated gif. this is not
22     foolproof, bit greatly reduces the number of mpv invocations for gifs.
23 root 1.250 - fix video/gif rotation, used mplayer metpod, switched to mpv's
24 root 1.244 --video-rotate.
25 root 1.250 - take Display matrix/rotation side data type into account
26     when calculating video size from ffprobe.
27 root 1.247 - mpv renamed the input file option once more, to input-ipc-client.
28     tedious. would be nice if they instead worked on being able to pass
29     filenames over the APIS, or some other real problem. oh yeah,
30     --list-options format was also changed. sigh.
31 root 1.244 - up version sort width to 8 digits, from 6.
32 root 1.248 - t/T now rotate video during playback.
33 root 1.252 - when thumbnailing, do not open archives, follow playlists, open
34     subtitles and so on.
35 root 1.244
36 root 1.243 1.9 Sun May 9 13:04:09 CEST 2021
37 root 1.231 - INCOMPATIBLE CHANGE: .cvrc is now sourced much earlier, before loading
38 root 1.230 modules. cvrc_boot and cvrc_start functions are called later.
39 root 1.235 - INCOMPATIBLE CHANGE: mplayer support has been completely removed.
40 root 1.237 - INCOMPATIBLE CHANGE: viewer now defaults to "maxpect" (shift-M) mode.
41 root 1.242 - "invisible" cursor does not act weirdly when it is in position zero
42     (ctrl-u, space did not advance if cursor was on first item in schnauzer).
43 root 1.239 - support heif/avif now via pixbufloader (which seesm to not have
44     working autodetection, so we do our own).
45 root 1.237 - cv now uses mpv to generate video thumbnails - maybe slower, maybe overall
46     worse, but at least there is no dependency on mplayer anymore.
47 root 1.236 - cv now expects mpv to be in the CV_MPV, not CV_MPALYER, env variable.
48 root 1.232 - the Schnauzer now autoscales everything according to the first monitor's
49 root 1.233 DPI when the dpi is >= 110. This can be disabled by adding this to your .cvrc:
50 root 1.232 $Gtk2::CV::Schnauzer::DISPLAYSCALE = 1;
51 root 1.234 - redid "splash" image to be 16:9 (and also super-ugly, but nobody cares).
52 root 1.237 - support mpv's --input-ipc-file option, in addition to --input-file
53     (untested).
54 root 1.226 - rather brutally remove LC_ALL and override LC_NUMERIC, as perl and gtk2
55 root 1.230 sometimes fail to format numbers correctly and fall back to the
56 root 1.226 locale-specific format (which perl should never do).
57 root 1.225 - added a "Subdir view", showing only subdirectories in the cluster view and
58     immediately entering them.
59 root 1.231 - add .cvrc changable variable $Gtk2::CV::Schnauzer::DISPLAYSCALE,
60     defaults to 1 - for use with hidpi displays.
61     - add .cvrc changable variable $Gtk2::CV::Schnauzer::ICONSCALE,
62     defaults to 1 - modifies actual icon file size.
63     - add .cvrc changable variable $Gtk2::CV::Schnauzer::FONTSCALE,
64     defaults to icon scale - modified icon font height.
65 root 1.238 - while CV is effectively single-threaded, it might need thread support
66     to be initialized in Gtk2/xcb.
67 root 1.240 - remove hyper scaling mode.
68 root 1.241 - "," is now the opposite (modulo rounding) from ".".
69     - do not duplicate filetype detection in schnauzer and CV.xs, always use
70     the xs code.
71 root 1.225
72 root 1.224 1.8 Mon Apr 29 15:10:44 CEST 2019
73     - work around newer versions of mpv no longer having a pause command.
74 root 1.220 - always use mpv to display gif images, because it's hard to detect whether a gif
75     is animated or not.
76 root 1.218 - use a better(?), more "sharp" method to detect keyboard accelerators and to decide
77     which keys to pass to the schnauzer from the image window.
78 root 1.217 - new selection method. Alt-A / select files i same directory, can be repeated.
79 root 1.219 - rename select by prefix to select by adjacent name.
80     - increase search range for adjacent name to 10000.
81 root 1.217 - change meta-mask to mod1-mask, as gtk+ has silently changed the meaning of meta
82     over the years (so much for api stability...).
83 root 1.216 - newer perl versions somehow manage to leak the prefetch file handle somehow,
84     try tro work aorund.
85 root 1.217 - implement (undocumented) filename_display_name hook in Gt2k::CV::Schnauer.
86     - use symbolic names for entry indices in Schnauzer, for sanity, as the design
87     is now stable enough.
88 root 1.220 - use loop-file=inf for mpv instead of -loop 0, which only works for mplayer.
89 root 1.221 - add metadata clustering plugin.
90 root 1.222 - use ffprobe also if libmagic cannot detect anything, to decide whether the
91     file is (maybe) an image or (maybe) a video.
92 root 1.223 - namecluster now respects default modifier mask.
93 root 1.216
94 root 1.215 1.71 Tue Jul 31 00:57:03 CEST 2018
95 root 1.213 - fix 'o' key osd level switching in mpv (similar to old mplayer mode).
96 root 1.214 - do not error out on incomplete JPEG files, generate fake EOI marker instead
97     to enable the decoder to output a partial file.
98 root 1.213
99 root 1.212 1.7 Wed Dec 27 18:47:50 CET 2017
100 root 1.207 - DEFAULT CHANGED: cv will now default to mpv instead of mplayer.
101     use CV_MPLAYER=mplayer to get the previous behaviour.
102 root 1.203 - new env variable, CV_MPLAYER, defaulting to mpv.
103     - make "mplayer" configurable via CV_MPLAYER, support mpv.
104     - support mpv ipc protocol for remote control.
105 root 1.210 - implement audio visualisation when playing audio streams,
106     remove support for CV_AUDIO_PLAYER.
107 root 1.205 - port to newer versions of gtk2, which require including gdkx.h.
108 root 1.206 - preliminary & optional webp load and thumbnail support.
109 root 1.209 - use mmap to "load" files and decode from memory buffers.
110     - use internal fileype function to detect filetype when generating
111     hthumbnails, instead of relaying on file extension (for speed).
112 root 1.208 - add internal magic_buffer/magic_buffer_mime functions.
113 root 1.211 - add more fallback extensions for audio when mimetype detection fails.
114 root 1.203
115     1.61 Sat Jun 24 01:55:48 CEST 2017
116 root 1.191 - work around parser bug in 5.18.1 (-a).
117 root 1.202 - very simple "better than nothing" jpeg cmyk/ycck format decoding.
118 root 1.190 - use ffprobe instead of mplayer to probe video size/type.
119 root 1.187 - switch to using AnyEvent::Fork as provider for the processpool, which ought
120     to save gobs of memory.
121 root 1.190 - much improved async communications with worker processes.
122 root 1.189 - batch expose events together, in an attempt to reduce the amount of
123     expose races in gtk+ (does not fix scrolling races).
124 root 1.187 - create #cpu + 1 worker jobs now, not 1.5 * #cpu + 1 as before.
125 root 1.185 - better shell-quoting: use ""-style for utf-8 filenames and paste as unicode,
126     use bash's $'' syntax for other filenames.
127 root 1.180 - no longer pass a-z from viewer to schnauzer.
128 root 1.175 - properly serialise jobs by priority, instead of executing
129     jobs in parallel on the same path *sometimes*.
130 root 1.171 - escape select-by-prefix menu item labels.
131 root 1.170 - work around more perl unicode bugs.
132 root 1.172 - slightly improved filetype detection.
133 root 1.173 - add "cp" job for external plugins.
134 root 1.174 - work around even more perl unicode bugs that the perl5-porters
135     don't want to fix because of backwards compatibility.
136 root 1.176 - do not stupidly load big video files into memory just
137     to make a thumbnail.
138 root 1.177 - don't modify global $_ in aio callbacks.
139 root 1.181 - make drag-rectangle more visible.
140 root 1.182 - do not enter the last directory on the commandline, if more
141     than one argument is specified.
142 root 1.180 - started using AnyEvent.
143 root 1.183 - space by default activates first file, or first directory, if no files
144     (as opposed to first file or last directory in previous versions).
145 root 1.184 - fix race condition where the schnauzer might stay non-sensitive
146     on fast directory changes.
147 root 1.186 - allow reversal of rotation via .cvrc $REVERSE_ROTATION = 1.
148 root 1.187 - delay initialisation of Gtk2::CV::Schnauzer until first use.
149 root 1.188 - fix a runtime error when starting namecluster with newer gtk's.
150 root 1.191 - do not rely on /dev/shm being world-writable, use
151     /run/shm, /dev/shm and /tmp, in this order.
152     - expect mplayer to sometimes generate more than 2 frames when 1 is
153     requested.
154     - tune video thumbnail generation a bit.
155     - more fixups for "file -i" failing.
156 root 1.192 - properly follows symlinks instead of bailing out.
157 root 1.193 - support perl multicore specification (http://perlmulticore.schmorp.de/)
158     for jpeg loading and image transformations, although nothing takes
159     advantage of this *yet*.
160 root 1.197 - ctrl-up/down in schnauzer tries to move name cluster cursor.
161 root 1.198 - ctrl-shift-T in image window now sets default rotation for
162     subsequent image loads.
163 root 1.200 - ctrl-shift-G in schnauzer now removes thumbnails.
164 root 1.199 - implement j (cycle subtitle) and # (cycle audio track)
165     in mplayer mode.
166 root 1.201 - respect load time (ctrl-shift-T) rotation setting for videos
167     (no clue how to do that at runtime).
168 root 1.202 - print jpeg error messages to stderr.
169 root 1.170
170 root 1.169 1.56 Thu Oct 28 14:13:36 CEST 2010
171 root 1.166 - try an ugly workaround against Gtk's CONTINUED brokenness
172     with regards to non-ascii filenames :(.
173 root 1.161 - REALLY hide paths that are in the process of being removed
174     from the Schnauzer.
175     - when selecting entries, stat them all and fine their total
176     size(s) + filesystem overhead after a delay.
177     - take advantage of the Guard module.
178 root 1.162 - work around mplayer grabbing the focus.
179 root 1.163 - improve mplayer window size bug workaround. *sigh*.
180 root 1.164 - try not to keep a handle to a guard file to avoid
181     running into rename races with nfs.
182 root 1.165 - work around perl bug #77798 in some parts.
183 root 1.167 - slight namecluster speed improvement.
184 root 1.168 - work around newer libmagic versions adding mime attributes.
185 root 1.161
186 root 1.160 1.55 Tue Jan 26 03:18:45 CET 2010
187 root 1.161 - schnauzer did usually not give the correct number for
188 root 1.160 "# entries selected".
189 root 1.159 - added new "renamer" plugin that is useful for mass renames
190     of very similar filenames.
191 root 1.158 - apply a heavy dose of common::sense.
192 root 1.155 - enable assert's (which perl disables...).
193 root 1.156 - take advantage of IO::AIO::aio_readdirx.
194 root 1.158 - speed up file move duplicate detection.
195 root 1.155
196 root 1.154 1.54 Mon Apr 27 04:23:33 CEST 2009
197 root 1.151 - implement automatic reloading on SIGUSR1, as per suggestions
198     by Trevor Cordes.
199 root 1.152 - remove -\d\d\d file ending first on move collision.
200 root 1.150 - ctrl-shift-d now deletes despite CV_TRASHCAN.
201 root 1.146 - very hacky video thumbnailing via mplayer.
202 root 1.143 - ctrl-d errornously worked like ctrl-shift-d (cost 50gb of data).
203 root 1.140 - work around glib/gtk's filename corruption bugs when saving thumbnails
204 root 1.141 by writing the file ourselves.
205     - work around some other glib/gtk string corruption bugs.
206 root 1.136 - really only warn about pipe close failures :/.
207 root 1.137 - add hide attribute to jobs that will remove the file and do not
208 root 1.138 show those files in the schnauzer (but in-progress jobs
209     will still be shown, unfortunately).
210 root 1.139 - work around some more unicode issues in perl.
211 root 1.142 - correctly parse .rm as file extension in the schnauzer.
212 root 1.147 - always pre-fork the maximum number of worker slaves,
213     as forking later can consume way too much memory.
214 root 1.148 - update glade to work around annoying warnings in newer gtk.
215     - work around changes in newer glade. *sigh*.
216 root 1.149 - document that we need libgtk2.0-dev, too.
217 root 1.153 - avoid endless loops in mv.
218 root 1.136
219 root 1.135 1.53 Tue Jul 8 14:03:12 CEST 2008
220 root 1.134 - only warn about pipe close failures in printdialog, do not die.
221 root 1.131 - do not try to handle filenames in unicode, instead, only
222     convert at display time.
223 root 1.130 - kill any media players on destroy and not in the finaliser,
224     as gtk+'s lazy finalisation and mplayers stubbornness to
225     continue running without control socket and output window
226     can be annoying.
227 root 1.132 - add recursive delete (lamely implemented using rm -rf).
228 root 1.133 - update progressbar after a timeout in addition to after
229     enough work has done to ensure it is being displayed
230     quickly for long jobs.
231 root 1.130
232 root 1.129 1.51 Sun Jan 27 17:48:14 CET 2008
233 root 1.127 - run more stats in parallel in schnauzer scanning.
234 root 1.128 - do not deselect cursor on scroll if a range is selected.
235 root 1.127
236 root 1.125 1.5 Sun Nov 25 15:15:27 CET 2007
237 root 1.122 - rudimentary support for audio.
238 root 1.123 - fix Gtk2::Ex::PodViewer rename (patch by Randy J. Ray).
239 root 1.122
240 root 1.121 1.4 Sat Mar 17 14:11:48 CET 2007
241 root 1.116 - upgraded to IO::AIO 2.1 features.
242 root 1.113 - errors in IO::AIO callback execution will be logged and will
243     not freeze AIO operations anymore.
244 root 1.120 - jpeg2000 support by running jasper externally (imageviewer only).
245 root 1.114 - directory scanning now asynchronous.
246 root 1.115 - increased progress update frequency and reduced delay.
247 root 1.117 - add/enable icons for mp2/mp3/ogm.
248     - better ogm support.
249     - use mplayer for just about anything as opposed to just for video/*.
250 root 1.118 - fix auto rotation in older perls.
251 root 1.112
252 root 1.110 1.3 Wed Sep 27 23:59:27 CEST 2006
253 root 1.111 - simplify redraw, avoid unnecessary schnauzer redraws.
254 root 1.107 - add rotate entries to the schnauzer menu, adapted
255     from a patch by Corris Randall.
256 root 1.108 - use new experimental (but much faster) clustering feature vector
257     based on moments and not on a histogram.
258 root 1.109 - reimplement file movement to use IO::AIO natively, thus much faster
259     and lower on resources.
260 root 1.107
261 root 1.106 1.2 Fri Mar 31 12:55:15 CEST 2006
262 root 1.94 - fix unnecessarily redraws on partial exposes (scrolling etc).
263 root 1.95 - fixed CV_TRASHCAN support.
264 root 1.96 - "a" calls exiftran to rotate the image on-disk.
265     - don't run jobs on the same file in parallel.
266 root 1.98 - filenames were sometiems encoded twice when loading xvpics.
267 root 1.99 - do not sort filenames given on the commandline.
268 root 1.100 - set dithering to 'max', as contrary to documentation 'normal'
269     doesn't dither on (my) 8-bit-displays.
270 root 1.101 - enable dithering for xvpics.
271 root 1.102 - use libmagic for filetype detection.
272 root 1.103 - set window roles.
273 root 1.104 - changed xor color from 0x8080 PC to 0x8000, as the former yields
274     useless results on gtk 2.8.
275 root 1.105 - fix p7 thumbnail reading.
276 root 1.94
277 root 1.93 1.1 Fri Oct 28 15:47:53 CEST 2005
278 root 1.91 - jobs for files currently shown in a schnauzer get prioritised.
279 root 1.72 - directories visited in a session are shown darker.
280 root 1.93 - unvisited directory with .xvpics in them are shown differently.
281     - add Remove Thumbnails menu entry.
282     - allow restricting image size to something less than the screen
283     (ctrl-shift-m).
284     - fix a bug where background processes stopped processing jobs.
285     - primary selection support for schnauzer selections.
286     - documented and implemented scorlling behaviour while drag-selecting.
287     - implemented Select=>By Prefix.
288     - background loading of .xvpics (and checking for symlinks-to-dirs).
289     - use overlays to differentiate between directories that
290     are empty, have .xvpics or are symlinks-to-directories.
291     - better/slower expose handling (we need double-refreshes due to
292     probable bugs in gtk+ or X11).
293     - implement a dirstack (statestack) and make use of it.
294     - don't forget cursor position on ctrl-g and similar commands.
295     - implemented keep_only_thumbnailed and remove_thumbnailed.
296     - implemented multiple-image-window support in cv.
297     - do some extra random resizes on the mplayer window to get it
298     to notice the damned window size.
299     - reap fork'ed job processes to avoid ressource leaks.
300     - fixed GNU R clustering.
301 root 1.44
302 root 1.70 1.0 Wed Sep 7 18:41:38 CEST 2005
303 root 1.65 - fix alpha handling: we now compose with a checkerboard,
304 root 1.93 but exposing hidden pixel data is also supported in the code.
305     - use jpg instead of P7 format for thumbnails and remove p7
306     write support: better quality, smaller filesize.
307     - evaluate _NET_FRAME_EXTENTS to get actual maximum screen size.
308     - better mplayer integration (resize handling, aspect handling).
309     - fix some bugs when a Schnauzer window was resized and got
310     the wrong offset.
311     - don't crash when trying to crop to a size of less than a pixel.
312     - schnauzer now has two modes: directors view or single-file view.
313     this changes it's behaviour on rescan and other occasions.
314     - reduce the amount of random dithering.
315     - load jpeg files ~20% faster, create jpeg thumbnails an order
316     of magnitude faster.
317     - improved bin/cv documentation.
318     - improve scanning performance further by usign the directory
319     link count and by stat'ing possible directories early.
320     - do file data prefetch after space or backspace and 0.3s.
321     - better and faster casefolding.
322     - use pango's ellipsise functionality and cut at the end.
323     - moved the R clustering algo to a separate plugin (and fix it).
324     - moved the filename clustering algo to a separate plugin.
325     - try very hard to get the window size correct befre first map.
326     - only load the default title image when necessary (saves mem & cpu).
327     - change drag xor colour to #808080, uglier, but visible on all
328     images.
329     - added icon for .tif files.
330     - updated icons for some file-extensions.
331     - created a job system and create thumbnails in parallel and
332     in the background.
333     - more careful handling of filename encodings.
334     - use gdk_pixbuf_rotate_simple instead of our own functions.
335 root 1.68 - played with resizing logic once more.
336 root 1.16
337 root 1.43 0.5 Mon Jul 11 05:48:13 CEST 2005
338 root 1.93 - image window resizing now works again.
339     - much improved resize/move handling (still not up to xv's level).
340     - every schnauzer now has an associated label/info field.
341     - better ^D performance.
342     - can now play videos if mplayer is in the path (and probably is
343     identical to my versions and your config file is empty etc. etc.
344     the usual caveats about embedding mplayer...)
345     (http://itdp.fh-biergarten.de/mplayer-dev-eng/2004-12/txt00028.txt fixes
346     the resize problems).
347     - remove gtk20-compatibility cruft.
348     - added progress window for lengthy operations.
349     - removed <parent> entry, use popup=>Up.
350     - change of contact address.
351     - updated icons for some file-extensions.
352     - make cv's info label wrap as not to change horizontal window width
353     (doesn't work, but that's general gtk2 brokenness).
354     - use set_absolute_size for the schnauzer font. doesn't result in an
355     absolute size, but at least results in the same height everywhere.
356     - implemented a primitive plugin system (see Gtk2::CV::Plugin and
357     eg/plugin-skeleton).
358     - removed bin/cvc's clusteriser.
359     - added a new clusteriser algorithm, use Popup=>"Filename clustering..."
360     - set _X_CWD to current dir in bin/cv (a rather special feature...).
361     - further directory scanning speed improvements.
362     - IO::AIO use for some speedups and more concurrency.
363 root 1.19
364 root 1.18 0.3 Sun Aug 1 21:59:49 CEST 2004
365 root 1.16 - cv * now correctly loads && selects the first image again.
366 root 1.93 - changed selection behaviour to select ranges not rectangles
367     (could be configurable at runtime).
368     - many small bugfixes.
369     - better display behaviour when viewing many images quickly.
370     - changed sort order to sth... strange (case insensitive,
371     numbers < 5 digits sorted in numerical order).
372 root 1.16
373 root 1.15 0.2 Thu Nov 20 07:49:55 CET 2003
374 root 1.14 - add DSC comments (except for %%page).
375 root 1.93 - implemented binary encoding for postscript printing.
376     - ctrl-s == rescan.
377     - less-latency resizes.
378     - after implementing filename_to_unicode maybe it is time to use it...
379 root 1.12
380     0.15 Wed Nov 12 21:33:32 CET 2003
381 root 1.7 - add nifty print dialog, using glade and GladeXML. GladeXML needs
382 root 1.93 some convinience functions, but is ok to use.
383     - improved schnauzer scrolling and geometry hints.
384     - bugfixes, as usual.
385     - implemented ctrl-u.
386     - implemented maxpect-always mode.
387 root 1.7
388     0.14 Mon Nov 10 20:11:15 CET 2003
389 root 1.3 - use subpixbufs for cropping.
390     - don't force redraws anymore, hopefully the result is the same.
391 root 1.93 - primitive printing with automaxpect (always to /tmp/x, watch out!).
392     - off-by-one error in flip code fixed.
393     - replaced nearest interpolation to tiles for thumbnail generation.
394     - much improved thumbnail dithering.
395     - applied drag_rect patch by muppet, together with some infrastructure
396     improvements.
397     - faster and less accurate text "autoscaling".
398 root 1.1
399     0.13 Sat Nov 8 14:13:24 CET 2003
400 root 1.2 - Applied patch by muppet to backport it to gtk2.0,
401 root 1.93 plus portabiity fixes.