--- CV/Changes 2008/01/27 09:39:02 1.128 +++ CV/Changes 2023/11/30 00:25:41 1.272 @@ -1,11 +1,264 @@ -TODO/FIXME: .ogm support is a must TODO/FIXME: pixmap-bg-trick sometimes doesn't work (race?) TODO/FIXME: remove event does not recalculate schanuzer content size TODO: with manual placement, initial contents aren't displayed -TODO: rename, mass-rename TODO: update a file that has been removed etc. -TODO: cv file => rescan => 0 byte size if file no longer exists +TODO: note to self, the reason mplayer hangs during long copies is that execve hangs, because it closes an fd to the target file. +TODO: "mädhcne" utf-8 bug move to ERROR is a directory +TODO: up == select dir +TODO: CV_THUMBNAIL_SCALE +TODO: Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() at /opt/bin/cv line 224. +TODO: dir_is_movie in load_image bluray: ffmpeg etc. +TODO: cv 5/ 6/ (hla) bad icon label in schnauzere + +TODO: document configurable keymap +TODO: when starting a movie while the previous one hasn't errored out yet -> errror gets misattributed to the new file + - leave file autoloading up to the user config, do not override it anymore. + - switch to AnyEvent::MPV for video/audio displaying. + - do not use ffprobe to probe video formats, use mpv. + - for filenames ending in .iso, read more data when doing filetype + detection, to detect udf discs. + - schnauzer tries to ignore nfs-sillyrenamed files. + - work around a bunch of encodings bugs in perl and glib. + - implement [ and ] keys to change mpv playback speed. + - be more aggressive when reserving extra label height to work around + gtk+ not dealing reasonably with grids. + - mpv 0.36 doesn't seem to need fake configure events anymore. on the negative side, + it does flicker now, so make a hacky, unstable, flakey workaround for it :/ + - reduce concurrent "read" class jobs to 1 (from 2), to avoid trashing. + +2.0 Fri 26 Aug 2022 23:56:45 CEST + - support jpeg-xl files. + - mpv: do no autoload files, as this is very slow on large directories. + - work around bugs with newer gtk2 and/or xft + versions that cause the schnauzer window to shrink randomly. + - implement (mostly hiden) --sort argument that forces filename sort + even when cv normally wouldn't. + - implement animated gif detection using netscape app block, + whose presence will be assume to indicate an animated gif. this is not + foolproof, bit greatly reduces the number of mpv invocations for gifs. + - fix video/gif rotation, used mplayer metpod, switched to mpv's + --video-rotate. + - take Display matrix/rotation side data type into account + when calculating video size from ffprobe. + - mpv renamed the input file option once more, to input-ipc-client. + tedious. would be nice if they instead worked on being able to pass + filenames over the APIS, or some other real problem. oh yeah, + --list-options format was also changed. sigh. + - up version sort width to 8 digits, from 6. + - t/T now rotate video during playback. + - when thumbnailing, do not open archives, follow playlists, open + subtitles and so on. + - update mpv switches to mdoern format. + - set whole toplevel window to insensitive insteads of just the schnauzer, + to avoid gtk default signal handling to mess up navigation. + - preliminary and limited support to play bluray/dvd "directories". + - use mpv commands (as opposed to mplayer) for subtitle/audio track cycling. + - fix keysym for '#', which at some point seems to have been replaced + by 'numbersign' in gtk. + - implement hack to detect some iso files as bluray movies and play them. + - do not pass filenames directly to ffprobe, instead prefix them with + file:, to ensure they are not misinterpreted as urls. + - implement '#' (switch audio tracks) and "j" (switch subtitle tracks) + keybindings. + +1.9 Sun May 9 13:04:09 CEST 2021 + - INCOMPATIBLE CHANGE: .cvrc is now sourced much earlier, before loading + modules. cvrc_boot and cvrc_start functions are called later. + - INCOMPATIBLE CHANGE: mplayer support has been completely removed. + - INCOMPATIBLE CHANGE: viewer now defaults to "maxpect" (shift-M) mode. + - "invisible" cursor does not act weirdly when it is in position zero + (ctrl-u, space did not advance if cursor was on first item in schnauzer). + - support heif/avif now via pixbufloader (which seesm to not have + working autodetection, so we do our own). + - cv now uses mpv to generate video thumbnails - maybe slower, maybe overall + worse, but at least there is no dependency on mplayer anymore. + - cv now expects mpv to be in the CV_MPV, not CV_MPALYER, env variable. + - the Schnauzer now autoscales everything according to the first monitor's + DPI when the dpi is >= 110. This can be disabled by adding this to your .cvrc: + $Gtk2::CV::Schnauzer::DISPLAYSCALE = 1; + - redid "splash" image to be 16:9 (and also super-ugly, but nobody cares). + - support mpv's --input-ipc-file option, in addition to --input-file + (untested). + - rather brutally remove LC_ALL and override LC_NUMERIC, as perl and gtk2 + sometimes fail to format numbers correctly and fall back to the + locale-specific format (which perl should never do). + - added a "Subdir view", showing only subdirectories in the cluster view and + immediately entering them. + - add .cvrc changable variable $Gtk2::CV::Schnauzer::DISPLAYSCALE, + defaults to 1 - for use with hidpi displays. + - add .cvrc changable variable $Gtk2::CV::Schnauzer::ICONSCALE, + defaults to 1 - modifies actual icon file size. + - add .cvrc changable variable $Gtk2::CV::Schnauzer::FONTSCALE, + defaults to icon scale - modified icon font height. + - while CV is effectively single-threaded, it might need thread support + to be initialized in Gtk2/xcb. + - remove hyper scaling mode. + - "," is now the opposite (modulo rounding) from ".". + - do not duplicate filetype detection in schnauzer and CV.xs, always use + the xs code. + +1.8 Mon Apr 29 15:10:44 CEST 2019 + - work around newer versions of mpv no longer having a pause command. + - always use mpv to display gif images, because it's hard to detect whether a gif + is animated or not. + - use a better(?), more "sharp" method to detect keyboard accelerators and to decide + which keys to pass to the schnauzer from the image window. + - new selection method. Alt-A / select files i same directory, can be repeated. + - rename select by prefix to select by adjacent name. + - increase search range for adjacent name to 10000. + - change meta-mask to mod1-mask, as gtk+ has silently changed the meaning of meta + over the years (so much for api stability...). + - newer perl versions somehow manage to leak the prefetch file handle somehow, + try tro work aorund. + - implement (undocumented) filename_display_name hook in Gt2k::CV::Schnauer. + - use symbolic names for entry indices in Schnauzer, for sanity, as the design + is now stable enough. + - use loop-file=inf for mpv instead of -loop 0, which only works for mplayer. + - add metadata clustering plugin. + - use ffprobe also if libmagic cannot detect anything, to decide whether the + file is (maybe) an image or (maybe) a video. + - namecluster now respects default modifier mask. + +1.71 Tue Jul 31 00:57:03 CEST 2018 + - fix 'o' key osd level switching in mpv (similar to old mplayer mode). + - do not error out on incomplete JPEG files, generate fake EOI marker instead + to enable the decoder to output a partial file. + +1.7 Wed Dec 27 18:47:50 CET 2017 + - DEFAULT CHANGED: cv will now default to mpv instead of mplayer. + use CV_MPLAYER=mplayer to get the previous behaviour. + - new env variable, CV_MPLAYER, defaulting to mpv. + - make "mplayer" configurable via CV_MPLAYER, support mpv. + - support mpv ipc protocol for remote control. + - implement audio visualisation when playing audio streams, + remove support for CV_AUDIO_PLAYER. + - port to newer versions of gtk2, which require including gdkx.h. + - preliminary & optional webp load and thumbnail support. + - use mmap to "load" files and decode from memory buffers. + - use internal fileype function to detect filetype when generating + hthumbnails, instead of relaying on file extension (for speed). + - add internal magic_buffer/magic_buffer_mime functions. + - add more fallback extensions for audio when mimetype detection fails. + +1.61 Sat Jun 24 01:55:48 CEST 2017 + - work around parser bug in 5.18.1 (-a). + - very simple "better than nothing" jpeg cmyk/ycck format decoding. + - use ffprobe instead of mplayer to probe video size/type. + - switch to using AnyEvent::Fork as provider for the processpool, which ought + to save gobs of memory. + - much improved async communications with worker processes. + - batch expose events together, in an attempt to reduce the amount of + expose races in gtk+ (does not fix scrolling races). + - create #cpu + 1 worker jobs now, not 1.5 * #cpu + 1 as before. + - better shell-quoting: use ""-style for utf-8 filenames and paste as unicode, + use bash's $'' syntax for other filenames. + - no longer pass a-z from viewer to schnauzer. + - properly serialise jobs by priority, instead of executing + jobs in parallel on the same path *sometimes*. + - escape select-by-prefix menu item labels. + - work around more perl unicode bugs. + - slightly improved filetype detection. + - add "cp" job for external plugins. + - work around even more perl unicode bugs that the perl5-porters + don't want to fix because of backwards compatibility. + - do not stupidly load big video files into memory just + to make a thumbnail. + - don't modify global $_ in aio callbacks. + - make drag-rectangle more visible. + - do not enter the last directory on the commandline, if more + than one argument is specified. + - started using AnyEvent. + - space by default activates first file, or first directory, if no files + (as opposed to first file or last directory in previous versions). + - fix race condition where the schnauzer might stay non-sensitive + on fast directory changes. + - allow reversal of rotation via .cvrc $REVERSE_ROTATION = 1. + - delay initialisation of Gtk2::CV::Schnauzer until first use. + - fix a runtime error when starting namecluster with newer gtk's. + - do not rely on /dev/shm being world-writable, use + /run/shm, /dev/shm and /tmp, in this order. + - expect mplayer to sometimes generate more than 2 frames when 1 is + requested. + - tune video thumbnail generation a bit. + - more fixups for "file -i" failing. + - properly follows symlinks instead of bailing out. + - support perl multicore specification (http://perlmulticore.schmorp.de/) + for jpeg loading and image transformations, although nothing takes + advantage of this *yet*. + - ctrl-up/down in schnauzer tries to move name cluster cursor. + - ctrl-shift-T in image window now sets default rotation for + subsequent image loads. + - ctrl-shift-G in schnauzer now removes thumbnails. + - implement j (cycle subtitle) and # (cycle audio track) + in mplayer mode. + - respect load time (ctrl-shift-T) rotation setting for videos + (no clue how to do that at runtime). + - print jpeg error messages to stderr. + +1.56 Thu Oct 28 14:13:36 CEST 2010 + - try an ugly workaround against Gtk's CONTINUED brokenness + with regards to non-ascii filenames :(. + - REALLY hide paths that are in the process of being removed + from the Schnauzer. + - when selecting entries, stat them all and fine their total + size(s) + filesystem overhead after a delay. + - take advantage of the Guard module. + - work around mplayer grabbing the focus. + - improve mplayer window size bug workaround. *sigh*. + - try not to keep a handle to a guard file to avoid + running into rename races with nfs. + - work around perl bug #77798 in some parts. + - slight namecluster speed improvement. + - work around newer libmagic versions adding mime attributes. + +1.55 Tue Jan 26 03:18:45 CET 2010 + - schnauzer did usually not give the correct number for + "# entries selected". + - added new "renamer" plugin that is useful for mass renames + of very similar filenames. + - apply a heavy dose of common::sense. + - enable assert's (which perl disables...). + - take advantage of IO::AIO::aio_readdirx. + - speed up file move duplicate detection. + +1.54 Mon Apr 27 04:23:33 CEST 2009 + - implement automatic reloading on SIGUSR1, as per suggestions + by Trevor Cordes. + - remove -\d\d\d file ending first on move collision. + - ctrl-shift-d now deletes despite CV_TRASHCAN. + - very hacky video thumbnailing via mplayer. + - ctrl-d errornously worked like ctrl-shift-d (cost 50gb of data). + - work around glib/gtk's filename corruption bugs when saving thumbnails + by writing the file ourselves. + - work around some other glib/gtk string corruption bugs. + - really only warn about pipe close failures :/. + - add hide attribute to jobs that will remove the file and do not + show those files in the schnauzer (but in-progress jobs + will still be shown, unfortunately). + - work around some more unicode issues in perl. + - correctly parse .rm as file extension in the schnauzer. + - always pre-fork the maximum number of worker slaves, + as forking later can consume way too much memory. + - update glade to work around annoying warnings in newer gtk. + - work around changes in newer glade. *sigh*. + - document that we need libgtk2.0-dev, too. + - avoid endless loops in mv. + +1.53 Tue Jul 8 14:03:12 CEST 2008 + - only warn about pipe close failures in printdialog, do not die. + - do not try to handle filenames in unicode, instead, only + convert at display time. + - kill any media players on destroy and not in the finaliser, + as gtk+'s lazy finalisation and mplayers stubbornness to + continue running without control socket and output window + can be annoying. + - add recursive delete (lamely implemented using rm -rf). + - update progressbar after a timeout in addition to after + enough work has done to ensure it is being displayed + quickly for long jobs. + +1.51 Sun Jan 27 17:48:14 CET 2008 - run more stats in parallel in schnauzer scanning. - do not deselect cursor on scroll if a range is selected.