ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/CV/Changes
Revision: 1.231
Committed: Wed Jan 8 19:58:44 2020 UTC (4 years, 4 months ago) by root
Branch: MAIN
Changes since 1.230: +7 -5 lines
Log Message:
*** empty log message ***

File Contents

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