[darktable-devel] mipmap cache

2013-11-13 Thread Pascal Obry

Hi,

With the recent invalidation of the mipmap cache I need to regenerate
something like 37000 thumbnail.

Is there a way to ask dt to do that and go to sleep?

Currently dt only update the thumbnail of visible images on the
lighttable, and I cannot fit 37000 thumbnail on screen :)

Thanks,

Pascal.

-- 
  Pascal Obry /  Magny Les Hameaux (78)

  The best way to travel is by means of imagination

  http://v2p.fr.eu.org
  http://www.obry.net

  gpg --keyserver keys.gnupg.net --recv-key F949BD3B

--
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
___
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel


Re: [darktable-devel] mipmap cache

2013-11-13 Thread johannes hanika
hey,

sorry about that, it only regenerates if you are using compressed
thumbnails. on the bright side you won't have those border artifacts any
more..

there's no way to regenerate all those currently.

-jo


On Thu, Nov 14, 2013 at 7:50 AM, Pascal Obry  wrote:

>
> Hi,
>
> With the recent invalidation of the mipmap cache I need to regenerate
> something like 37000 thumbnail.
>
> Is there a way to ask dt to do that and go to sleep?
>
> Currently dt only update the thumbnail of visible images on the
> lighttable, and I cannot fit 37000 thumbnail on screen :)
>
> Thanks,
>
> Pascal.
>
> --
>   Pascal Obry /  Magny Les Hameaux (78)
>
>   The best way to travel is by means of imagination
>
>   http://v2p.fr.eu.org
>   http://www.obry.net
>
>   gpg --keyserver keys.gnupg.net --recv-key F949BD3B
>
>
> --
> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> Free app hosting. Or install the open source package on any LAMP server.
> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
> ___
> darktable-devel mailing list
> darktable-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/darktable-devel
>
--
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk___
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel


Re: [darktable-devel] mipmap cache

2013-11-13 Thread Pascal Obry

Johannes,

> sorry about that,

Don't be sorry!

> it only regenerates if you are using compressed
> thumbnails. on the bright side you won't have those border artifacts any
> more..

That's indeed a nice enhancement!

> there's no way to regenerate all those currently.

Ok. No problem. Next time ping me and I could work on proposing
something to regenerate all the thumbnails.

-- 
  Pascal Obry /  Magny Les Hameaux (78)

  The best way to travel is by means of imagination

  http://v2p.fr.eu.org
  http://www.obry.net

  gpg --keyserver keys.gnupg.net --recv-key F949BD3B

--
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
___
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel


Re: [darktable-devel] mipmap cache

2013-11-13 Thread Tobias Ellinghaus
Am Mittwoch, 13. November 2013, 20:51:01 schrieb Pascal Obry:

[...]

> > there's no way to regenerate all those currently.
> 
> Ok. No problem. Next time ping me and I could work on proposing
> something to regenerate all the thumbnails.

Feature freeze ... :(

I wonder if Lua could iterate over all images and request the thumbnail? That 
sounds like a trivial script (provided there is an API to trigger the 
thumbnail creation).

Tobias

signature.asc
Description: This is a digitally signed message part.
--
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk___
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel


Re: [darktable-devel] mipmap cache

2013-11-13 Thread johannes hanika
On Thu, Nov 14, 2013 at 9:02 AM, Tobias Ellinghaus  wrote:

> Am Mittwoch, 13. November 2013, 20:51:01 schrieb Pascal Obry:
>
> [...]
>
> > > there's no way to regenerate all those currently.
> >
> > Ok. No problem. Next time ping me and I could work on proposing
> > something to regenerate all the thumbnails.
>
> Feature freeze ... :(
>
> I wonder if Lua could iterate over all images and request the thumbnail?
> That
> sounds like a trivial script (provided there is an API to trigger the
> thumbnail creation).
>

you just need to request it once via mipmap cache. if it's not there, it'll
be recreated. but you'll need to do that for every size you want, or just
the one size you're interested in (smallest?).

also it will probably overflow the job queue and the scheduler things
thumbnail jobs are not very important and just drops them if you push like
37k of them at the same time..

so at this point it would require some coding (one job that iterates over
all images in one go and requests the smallest thumbs? maybe even just
using prefetch?), even if it's probably not much.

-jo


>
> Tobias
>
> --
> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> Free app hosting. Or install the open source package on any LAMP server.
> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
> ___
> darktable-devel mailing list
> darktable-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/darktable-devel
>
>
--
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk___
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel


[darktable-devel] darktable git master crash

2013-11-13 Thread Togan Muftuoglu

As the subject says, darktable from git 1.3_1366_g9f49dcb has crashed as I was
going through the "more modules"

this is darktable 1.3_1366_g9f49dcb reporting a segfault:

#0  0x7f549cf22de7 in waitpid () from /lib64/libpthread.so.0
#1  0x7f549d1a9a3b in _dt_sigsegv_handler (param=11) at 
/usr/src/debug/darktable-1.3_1366_g9f49dcb_git/src/common/darktable.c:162
#2  
#3  0x in ?? ()
#4  0x7f53aed8dfd2 in text_renderer_function (col=, 
renderer=0x559a2b0, model=, iter=, 
user_data=) at 
/usr/src/debug/darktable-1.3_1366_g9f49dcb_git/src/libs/modulelist.c:144
#5  0x7f549bf7aca1 in gtk_tree_view_column_cell_set_cell_data () from 
/usr/lib64/libgtk-x11-2.0.so.0
#6  0x7f549bf67069 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#7  0x7f549bf68985 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#8  0x7f549be71059 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#9  0x7f549c62ea30 in g_closure_invoke () from 
/usr/lib64/libgobject-2.0.so.0
#10 0x7f549c63fbc0 in ?? () from /usr/lib64/libgobject-2.0.so.0
#11 0x7f549c647a73 in g_signal_emit_valist () from 
/usr/lib64/libgobject-2.0.so.0
#12 0x7f549c647f82 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0
#13 0x7f549bf893be in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#14 0x7f549be6fa40 in gtk_main_do_event () from 
/usr/lib64/libgtk-x11-2.0.so.0
#15 0x7f549c3af68c in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#16 0x7f549c3af633 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#17 0x7f549c3af633 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#18 0x7f549c3af633 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#19 0x7f549c3aa63c in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#20 0x7f549c3ac9af in gdk_window_process_updates () from 
/usr/lib64/libgdk-x11-2.0.so.0
#21 0x7f549bf6dda5 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#22 0x7f549c62ea30 in g_closure_invoke () from 
/usr/lib64/libgobject-2.0.so.0
#23 0x7f549c63fe40 in ?? () from /usr/lib64/libgobject-2.0.so.0
#24 0x7f549c647de5 in g_signal_emit_valist () from 
/usr/lib64/libgobject-2.0.so.0
#25 0x7f549c647f82 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0
#26 0x7f549bdb485a in gtk_adjustment_value_changed () from 
/usr/lib64/libgtk-x11-2.0.so.0
#27 0x7f549beafffd in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#28 0x7f549be7143d in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#29 0x7f549c62ea30 in g_closure_invoke () from 
/usr/lib64/libgobject-2.0.so.0
#30 0x7f549c63fbc0 in ?? () from /usr/lib64/libgobject-2.0.so.0
#31 0x7f549c647a73 in g_signal_emit_valist () from 
/usr/lib64/libgobject-2.0.so.0
#32 0x7f549c647f82 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0
#33 0x7f549beaf3cf in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#34 0x7f549beb0901 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#35 0x7f549beb0a74 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#36 0x7f549beb19fd in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#37 0x7f549be71059 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#38 0x7f549c62ea30 in g_closure_invoke () from 
/usr/lib64/libgobject-2.0.so.0
#39 0x7f549c63fbc0 in ?? () from /usr/lib64/libgobject-2.0.so.0
#40 0x7f549c647a73 in g_signal_emit_valist () from 
/usr/lib64/libgobject-2.0.so.0
#41 0x7f549c647f82 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0
#42 0x7f549bf893be in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#43 0x7f549be6f3c4 in gtk_propagate_event () from 
/usr/lib64/libgtk-x11-2.0.so.0
#44 0x7f549be6f72b in gtk_main_do_event () from 
/usr/lib64/libgtk-x11-2.0.so.0
#45 0x7f549c3c837c in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#46 0x7f549c8b77d5 in g_main_context_dispatch () from 
/usr/lib64/libglib-2.0.so.0
#47 0x7f549c8b7b08 in ?? () from /usr/lib64/libglib-2.0.so.0
#48 0x7f549c8b7f02 in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
#49 0x7f549be6e727 in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0
#50 0x7f549d270dac in dt_gui_gtk_run (gui=) at 
/usr/src/debug/darktable-1.3_1366_g9f49dcb_git/src/gui/gtk.c:1045
#51 0x00400888 in main (argc=, argv=) at 
/usr/src/debug/darktable-1.3_1366_g9f49dcb_git/src/main.c:25

Thread 50 (Thread 0x7f54904cb700 (LWP 23641)):
#0  0x7f549cf1f964 in pthread_cond_wait@@GLIBC_2.3.2 () from 
/lib64/libpthread.so.0
No symbol table info available.
#1  0x7f549d1f6db2 in dt_control_work (ptr=0x250b6d0) at 
/usr/src/debug/darktable-1.3_1366_g9f49dcb_git/src/control/control.c:1311
s = 0x250b6d0
#2  0x7f549cf1be0f in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#3  0x7f549cc4f44d in clone () from /lib64/libc.so.6
No symbol table info available.

Thread 49 (Thread 0x7f548fcca700 (LWP 23642)):
#0  0x7f549cf1f964 in pthread_cond_wait@@GLIBC_2.3.2 () from 
/lib64/libpthread.so.0
No symbol table info available.
#1  0x7f549d1f6db2 in dt_control_work (ptr=0x250b6d0) at 
/usr/src/debug/da

Re: [darktable-devel] Collections Iso filtering confusion

2013-11-13 Thread Roumano
Hi,

Yes thanks, it's a really improvement to search picture on darktable,
it's working well for me


But i have 2 (small) remark about it : 


1) Most of the time, i'm search on ISO with "greater than" not "equal"

Not sure if most of people will agree 

if most of developer agree, it's can be the default search

2) Novice user don't known about this new feature
They will known it, only if they test it
Maybe add a "=" (or ">" if 1) is valided) on the combobox to show user
how to use it.

3) if the 2) is not valided, maybe it's a good idea to update the help
information on the combobox (actualy it's "type your query, use '%s' as
wildcard)
With something like "type your query, use '%s' as wildcard \n You can
use > of <= or = for arithemic test)

Regards

Le mardi 12 novembre 2013 à 22:40 +0100, Ulrich Pegelow a écrit :
> Hi,
> 
> I just pushed a fix according to the principles I layed out earlier, 
> both for ISO and aperture properties.
> 
> Please have a look.
> 
> Ulrich
> 
> Am 11.11.2013 23:57, schrieb Matze:
> > Hi,
> >
> > recently I noticed, that something goes wrong with collections ISO
> > filtering, so I made some testshoots with the following ISO values: 100,
> > 200, 320, 1000, 2000 and 3200.
> >
> > It turns out that when I filter for ISO 100 it shows the pics with 100
> > and 1000, if I filter for 200 I get the pics 200, 2000 and 3200,
> > filtering for 320 gives 320 and 3200, whereas filtering for 1000, 2000
> > or 3200 only give the corresponding pic.
> >
> > Is this intended behaviour?
> >
> > Greetings
> > Matthias
> >
> 
> 



--
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
___
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel


[darktable-devel] Join the bug squashing fun!

2013-11-13 Thread Tobias Ellinghaus
Dear list,

as we are getting closer to the proposed release dates (rc1 was planned for 
Dec 1st) I would like to ask everyone calling himself [0] a developer or 
contributor and who can spare a little time to go through the open tickets in 
redmine [1].

Everything looking remotely like a feature can be ignored for now, we are in 
feature freeze after all. But open bug reports really need to be handled. Try 
to reproduce the bug, if it's sure that it is closed: mark the ticket 
appropriately (also non-coders can do that). Otherwise try to come up with a 
fix, either by coding yourself or discussing it in IRC or on this list. Your 
help would be greatly appreciated. After all it would be awesome to have a 
solid release coming along, wouldn't it?

So long and thanks in advance for your help
Tobias

[0] do we have any women in the coding crew? If yes: I mean you, too ...
[1] http://darktable.org/redmine/issues?query_id=1

signature.asc
Description: This is a digitally signed message part.
--
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk___
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel


[darktable-devel] Lens not found, even though it is supposedly in lensfun

2013-11-13 Thread johan nilsson
Hi Guys

First of all. I really like darktable. Impressive!

I have a Panasonic GF-1 and have two lenses. The Lumix G20/F1.7 and  LUMIX
G VARIO 14-140/F4.0-5.8. Bot are on the list of supported lenses
http://lensfun.berlios.de/lenslist/

The G20 is found by darktable, wheras the 14-140mm is not. I am getting
camera/lens not found

I am running arch linux, and have the almost latest version of
 lensfun-0.2.7-1, and the version 1.2.3 of darktable.

I am not sure if the lens is not detected correctly, or not in the lensfun
database.  Does anyone have an idea of how to check this?

Cheers
Johan
--
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk___
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel


Re: [darktable-devel] Collections Iso filtering confusion

2013-11-13 Thread Ulrich Pegelow
Hi,

I agree to most of your suggestions. However, as these changes should be 
part of bigger revision of that module we won't see these changes in 1.4 
as this would clearly break feature freeze. All this will happen after 
1.4 is there.

Ulrich

Am 13.11.2013 22:19, schrieb Roumano:
> Hi,
>
> Yes thanks, it's a really improvement to search picture on darktable,
> it's working well for me
>
>
> But i have 2 (small) remark about it :
>
>
> 1) Most of the time, i'm search on ISO with "greater than" not "equal"
>
>   Not sure if most of people will agree 
>
> if most of developer agree, it's can be the default search
>
> 2) Novice user don't known about this new feature
>   They will known it, only if they test it
>   Maybe add a "=" (or ">" if 1) is valided) on the combobox to show user
> how to use it.
>
> 3) if the 2) is not valided, maybe it's a good idea to update the help
> information on the combobox (actualy it's "type your query, use '%s' as
> wildcard)
> With something like "type your query, use '%s' as wildcard \n You can
> use > of <= or = for arithemic test)
>
> Regards

--
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
___
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel


Re: [darktable-devel] Lens not found, even though it is supposedly in lensfun

2013-11-13 Thread Torsten Bronger
Hallöchen!

johan nilsson writes:

> [...]
>
> I have a Panasonic GF-1 and have two lenses. The Lumix G20/F1.7
> and LUMIX G VARIO 14-140/F4.0-5.8. Bot are on the list of
> supported lenses http://lensfun.berlios.de/lenslist/
>
> The G20 is found by darktable, wheras the 14-140mm is not. I am
> getting camera/lens not found

Could you please upload one RAW file at
http://wilson.bronger.org/calibration (image content does not matter
for this purpose).

Tschö,
Torsten.

-- 
Torsten BrongerJabber ID: torsten.bron...@jabber.rwth-aachen.de
  or http://bronger-jmp.appspot.com


--
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
___
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel