ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/CV/Changes
Revision: 1.269
Committed: Mon Oct 2 09:59:38 2023 UTC (7 months, 2 weeks ago) by root
Branch: MAIN
Changes since 1.268: +2 -0 lines
Log Message:
*** empty log message ***

File Contents

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