commit 72b07bc2757908dff120f10786b3a328c0b800a6
Author: Philip Withnall <
[email protected]>
Date: Mon Oct 14 11:22:35 2013 +0100
build: Switch to .tar.xz distribution tarballs
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit bc5af749d5ee551af46e2a41280eacce3601c12a
Author: Philip Withnall <
[email protected]>
Date: Fri Oct 11 15:13:15 2013 +0100
build: Relicence to LGPLv2.1+
Let’s be a little more permissive. I’m the only author so far,
so no
permission needed to be sought from other contributors.
COPYING | 1144
++++++++++++++++++++++++++----------------------------------
README | 2 +-
src/main.c | 16 +-
3 files changed, 495 insertions(+), 667 deletions(-)
commit fd2d8fcac99634773ff31e9dd40e9a378caa76dd
Author: Philip Withnall <
[email protected]>
Date: Fri Oct 11 13:29:24 2013 +0100
build: Fix ChangeLog generation
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 148d5ff7ea43191ade10567319be9c4f8410cfc4
Author: Philip Withnall <
[email protected]>
Date: Fri Oct 11 13:29:03 2013 +0100
build: Ensure .thumbnailer file is distributed
This fixes `make distcheck`.
Makefile.am | 1 +
1 file changed, 1 insertion(+)
commit df139257a4e7625fce9249378746cc97dce9c27a
Author: Philip Withnall <
[email protected]>
Date: Fri Oct 11 13:20:54 2013 +0100
heuristics: Favour image files over other types of file
This fixes the situation where one of the album-art-less MP3s in
an album
folder gets chosen over the album art image file.
src/main.c | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
commit 7e90c9c9ecd9c9a32deb9e8222eecc709ee6eaa0
Author: Philip Withnall <
[email protected]>
Date: Fri Oct 11 13:07:13 2013 +0100
core: Implement a hard limit on recursion via subprocesses
If a chain of subdirectories exist, each of which are the most
interesting
child of their parent directory, GnomeDesktopThumbnailFactory will
unavoidably spawn a series of gnome-directory-thumbnailer
subprocesses. It’s
possible to encounter a directory loop (e.g. via a bind mount to
a parent
directory), so this commit implements a hard limit on the recursion
depth to
avoid infinite loops of subprocesses.
This is implemented using a
GNOME_DIRECTORY_THUMBNAILER_RECURSION_LIMIT
environment variable which is decremented for each subprocess.
src/main.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++------
1 file changed, 46 insertions(+), 6 deletions(-)
commit a980c8617bbfd2787d940b13460a18d9a5c8eb21
Author: Philip Withnall <
[email protected]>
Date: Fri Oct 11 11:35:47 2013 +0100
core: Tidy up memory handling and fix a double-unref
This makes the memory handling a little cleaner.
src/main.c | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
commit 022514a14c97a546312d6c3c79322c25f517d341
Author: Philip Withnall <
[email protected]>
Date: Fri Oct 11 09:25:49 2013 +0100
heuristics: Weight files with a valid failed thumbnail a lot less
This should prevent us picking an un-thumbnailable file to represent
its
directory.
src/main.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
commit aebb4acf5a4d9080802546e564b34a0dff16f14a
Author: Philip Withnall <
[email protected]>
Date: Fri Oct 11 09:22:06 2013 +0100
docs: Add a note about commit messages for heuristic changes
HACKING | 2 ++
1 file changed, 2 insertions(+)
commit 8102fff5102e6f7eb09ca0260e8db64588737722
Author: Philip Withnall <
[email protected]>
Date: Fri Oct 11 09:20:51 2013 +0100
heuristics: Weight subdirectories much lower than files
This should fix the situation where a hidden image file is less
interesting
than an empty subdirectory.
src/main.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
commit b6061d7787d175934af1121dcc8833934dbf0edf
Author: Philip Withnall <
[email protected]>
Date: Fri Oct 11 09:20:20 2013 +0100
core: Fix behaviour of MAX_FILE_INTERESTINGNESS
Its maximum wasn’t set correctly, and wasn’t being compared to
correctly either.
src/main.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
commit 628d9d62f5b10250ee06838b3df8d67cffc075e2
Author: Philip Withnall <
[email protected]>
Date: Thu Oct 10 15:47:42 2013 +0100
core: Initial commit
This implements the thumbnailer, complete with documentation and a
basic set
of heuristics which should work on generic directories.
More work can be done on:
• Adding a test suite.
• Improving the heuristics to choose better files to represent
their
directory.
AUTHORS | 1 +
COPYING | 674
++++++++++++++++++++++++++++
HACKING | 71 +++
MAINTAINERS | 3 +
Makefile.am | 88 ++++
NEWS | 5 +
README | 35 ++
autogen.sh | 19 +
configure.ac | 61 +++
git.mk | 311 +++++++++++++
gnome-directory-thumbnailer.doap | 16 +
po/LINGUAS | 1 +
po/POTFILES.in | 1 +
src/gnome-directory-thumbnailer.thumbnailer | 4 +
src/main.c | 507 +++++++++++++++++++++
15 files changed, 1797 insertions(+)