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