ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/CV/Changes
Revision: 1.256
Committed: Fri Oct 8 15:13:43 2021 UTC (2 years, 7 months ago) by root
Branch: MAIN
Changes since 1.255: +2 -0 lines
Log Message:
*** empty log message ***

File Contents

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