ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/CV/Changes
(Generate patch)

Comparing CV/Changes (file contents):
Revision 1.88 by root, Tue Oct 4 05:06:39 2005 UTC vs.
Revision 1.229 by root, Thu Jan 2 19:15:50 2020 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines