entangle:entangle.git
8 years agoKeep the progress/cancel toolbar permanently visible
Daniel P. Berrange [Sun, 15 Dec 2013 21:24:33 +0000 (21:24 +0000)]
Keep the progress/cancel toolbar permanently visible

The preview API for Canon cameras triggers progress bar
updates. Since previews are taken many times a second this
causes the progress bar to show/hide very frequently which
is unusable. Instead of showing/hiding toolbar controls
just keep them visible all the time and tweak sensitivity
when required

Fixes bug: #21246

Signed-off-by: Daniel P. Berrange <dan@berrange.com>
8 years agoAdd some API docs with gir annotations
Daniel P. Berrange [Sun, 15 Dec 2013 21:13:45 +0000 (21:13 +0000)]
Add some API docs with gir annotations

Signed-off-by: Daniel P. Berrange <dan@berrange.com>
8 years agoFix leak of image when exiting preview mode
Daniel P. Berrange [Sun, 15 Dec 2013 21:13:14 +0000 (21:13 +0000)]
Fix leak of image when exiting preview mode

Signed-off-by: Daniel P. Berrange <dan@berrange.com>
8 years agoFix bracket whitespace usage
Daniel P. Berrange [Wed, 27 Nov 2013 21:59:08 +0000 (21:59 +0000)]
Fix bracket whitespace usage

Import bracket-spacing.pl script from libvirt for
validating the whitespace around brackets and semicolons

Signed-off-by: Daniel P. Berrange <dan@berrange.com>
8 years agoRemove GTK2 compat code
Daniel P. Berrange [Sun, 24 Nov 2013 22:03:14 +0000 (22:03 +0000)]
Remove GTK2 compat code

Entangle is GTK3 only so we can remove the GTK2 compat code
from the auto-drawer related classes.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoMove and rename auto-drawer classes
Daniel P. Berrange [Fri, 1 Nov 2013 10:54:51 +0000 (10:54 +0000)]
Move and rename auto-drawer classes

Move the auto-drawer classes into the main directory. Change the
naming convention to follow normal GTK practice.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoImprove ability to control manual focus
Daniel P. Berrange [Sun, 24 Nov 2013 18:26:14 +0000 (18:26 +0000)]
Improve ability to control manual focus

Make the , and . key accelerators to very fine grained
focus control (64 steps), and allow < and > to do coarse
grained focus control (512 steps)

Fixes bug #21101

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoFix missing break in focus key accelerators
Daniel P. Berrange [Sun, 24 Nov 2013 18:21:47 +0000 (18:21 +0000)]
Fix missing break in focus key accelerators

The switch block handling key accelerators was missing
break statements in the focus code. This focus out was
always cancelled out by a focus in.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoReduce intermediate layer opacity to 30%
Daniel P. Berrange [Sun, 24 Nov 2013 17:35:03 +0000 (17:35 +0000)]
Reduce intermediate layer opacity to 30%

To prevent previous images being washed out too quickly
reduce the opacity of intermediate layers to 30% instead
of 50%.

Fixes bug #21288

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoIncrease opacity of top level image when onion skinning
Daniel P. Berrange [Sun, 24 Nov 2013 17:20:01 +0000 (17:20 +0000)]
Increase opacity of top level image when onion skinning

Make the top level image stand out more by increasing the
opacity to 65% instead of 50%.

Fixes bug #21288

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoRemove unused variable in key release handler
Daniel P. Berrange [Sun, 24 Nov 2013 17:12:53 +0000 (17:12 +0000)]
Remove unused variable in key release handler

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoIntroduce menu items for capture/preview
Daniel P. Berrange [Sat, 23 Nov 2013 19:44:20 +0000 (19:44 +0000)]
Introduce menu items for capture/preview

Add menu items for the capture/preview operations with visible
key shortcut accelerators. Remove the hand-crafted shortcut
code.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoFix onion skinning in preview mode.
Jehan [Tue, 5 Nov 2013 12:25:50 +0000 (01:25 +1300)]
Fix onion skinning in preview mode.

The dimension of a preview are usually smaller than actual images.
We take care of this case by scaling buffers to the same size before
display.

Fixes bug #21254

8 years agoDo not ever set empty tooltips on capture and preview buttons.
Jehan [Mon, 4 Nov 2013 06:31:46 +0000 (19:31 +1300)]
Do not ever set empty tooltips on capture and preview buttons.

Fixes bug #21249

8 years agoDisplay the currently selected image when cancelling preview.
Jehan [Tue, 5 Nov 2013 10:45:54 +0000 (23:45 +1300)]
Display the currently selected image when cancelling preview.

Currently on preview cancel, the last preview image would keep displayed
until you select a thumbnail. Instead let's redisplay the currently
selected image directly.

Also prevent any race condition by not displaying a preview image if the
preview mode is already cancelled.

Fixes bug #21253

8 years agoOnion skinning in preview mode should show start at the selected image.
Jehan [Tue, 5 Nov 2013 12:52:00 +0000 (01:52 +1300)]
Onion skinning in preview mode should show start at the selected image.

Currently onion skinning adds the images *before* the selected one. But
in preview mode, it does not make sense. You want to start to layer from
the selected one, included.

Fixes bug #21255

8 years agoSwitch gexiv2 include to use gexiv2/gexiv2.h
Jehan [Wed, 6 Nov 2013 11:18:00 +0000 (00:18 +1300)]
Switch gexiv2 include to use gexiv2/gexiv2.h

The current pkg-config file for gexiv2 adds a cflag
of -I$prefix/gexiv2 but this is already broken, since
the gexiv2/gexiv2.h file includes other files using
a gexiv2/gexiv2-xxxx.h path. As such current releases
can only be used if installed in /usr which means the
default include path works. Future releases of gexiv2
fix the pkg-config file and will require use of
gexiv2/gexiv2.h

Fixes bug #21260

8 years agoMove connect/disconnect item to dedicated menu
Daniel P. Berrange [Sun, 15 Sep 2013 17:43:01 +0000 (18:43 +0100)]
Move connect/disconnect item to dedicated menu

Create a top level "Camera" menu and move the "Connect
and "Disconnect" items to the new menu.

Signed-off-by: Daniel P. Berrange <dan@berrange.com>
8 years agoRename all .xml files to .ui
Daniel P. Berrange [Sun, 15 Sep 2013 17:27:32 +0000 (18:27 +0100)]
Rename all .xml files to .ui

Signed-off-by: Daniel P. Berrange <dan@berrange.com>
8 years agoMake all window classes inherit Gtk classes
Daniel P. Berrange [Sun, 25 Aug 2013 20:54:13 +0000 (21:54 +0100)]
Make all window classes inherit Gtk classes

Instead of having all the entangle window classes inherit
from GObject, make them inherit from the Gtk class that
corresponds to the type of window in the Gtk Builder file.

Use a hack whereby the Gtk Builder file primary window
class name is replaced by the entangle class name before
being loaded. Introduce a EntangleWindow class to handle
passing of the GtkBUilder object into the class for init
purposes.

Signed-off-by: Daniel P. Berrange <dan@berrange.com>
8 years agoAdd an appdata XML file for gnome software center
Daniel P. Berrange [Fri, 30 Aug 2013 20:05:14 +0000 (21:05 +0100)]
Add an appdata XML file for gnome software center

http://people.freedesktop.org/~hughsient/appdata/

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoDon't use ::PACKAGE:: in desktop file
Daniel P. Berrange [Fri, 30 Aug 2013 19:11:08 +0000 (20:11 +0100)]
Don't use ::PACKAGE:: in desktop file

The executable name is not required to be the same as the autoconf
package name, so just hardcode 'entangle' in the desktop file.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoFix memory leak in generating image thumbnals
Daniel P. Berrange [Fri, 30 Aug 2013 18:51:21 +0000 (19:51 +0100)]
Fix memory leak in generating image thumbnals

Fix code for generating thumbnails from raw files to not leak
reference count on pixbuf.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoEnsure thumbnail directory exists
Daniel P. Berrange [Fri, 30 Aug 2013 18:25:13 +0000 (19:25 +0100)]
Ensure thumbnail directory exists

Before trying to save a thumbnail, ensure the cache directory
exists.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoUpdate for 0.5.3 release v0.5.3
Daniel P. Berrange [Wed, 28 Aug 2013 18:20:26 +0000 (19:20 +0100)]
Update for 0.5.3 release

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoAdd note about release naming scheme
Daniel P. Berrange [Wed, 28 Aug 2013 18:19:07 +0000 (19:19 +0100)]
Add note about release naming scheme

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoHookup to readonly control state changes
Daniel P. Berrange [Wed, 28 Aug 2013 18:03:28 +0000 (19:03 +0100)]
Hookup to readonly control state changes

Connect the frontend controls to the notify::readonly signal
to ensure that readonly state changes are propagated to the
UI controls

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoFix thread safety of control update
Daniel P. Berrange [Tue, 27 Aug 2013 20:46:27 +0000 (21:46 +0100)]
Fix thread safety of control update

The refresh of values for controls often runs in background
threads. This causes thread safety issues for the GTK controls
which connect to signals in this controls.

Signed-off-by: Daniel P. Berrange <dan@berrange.com>
8 years agoFix variable names in EntangleImage class
Daniel P. Berrange [Mon, 26 Aug 2013 21:09:14 +0000 (22:09 +0100)]
Fix variable names in EntangleImage class

s/picker/image/ in several methods

Signed-off-by: Daniel P. Berrange <dan@berrange.com>
8 years agoFix memory leak in pixbuf loader
Daniel P. Berrange [Mon, 26 Aug 2013 21:10:43 +0000 (22:10 +0100)]
Fix memory leak in pixbuf loader

Previous commit fad10008099e015aba3bacc383345a210519bdbd
fixed a double unref in one scenario, but introduced a
memory leak in another scenario. The unref must be moved
inside the 'if (dest == src)' block to fix both problems.

Signed-off-by: Daniel P. Berrange <dan@berrange.com>
8 years agoRemove Encoding key from desktop file
Daniel P. Berrange [Sat, 24 Aug 2013 14:12:28 +0000 (15:12 +0100)]
Remove Encoding key from desktop file

The Encoding key is no longer required in desktop files, since
they are mandated to all use UTF-8

Fixes bug #20419

Signed-off-by: Daniel P. Berrange <dan@berrange.com>
8 years agoSwitch to use gsettings autoconf rule
Daniel P. Berrange [Sat, 24 Aug 2013 14:09:43 +0000 (15:09 +0100)]
Switch to use gsettings autoconf rule

Switch to using the GLIB_GSETTINGS autoconf rule to create
the make rules. This adds a '--disable-schemas-compile'
arg to configure, which distro packagers should utilize.

Fixes bug #20223

Signed-off-by: Daniel P. Berrange <dan@berrange.com>
8 years agoRe-position tooltip over items
Daniel P. Berrange [Thu, 22 Aug 2013 22:52:02 +0000 (23:52 +0100)]
Re-position tooltip over items

Ensure the tooltip positions itself over the item that it
is related to

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoRemove unused adjust_wrap_width method
Jesper Pedersen [Thu, 22 Aug 2013 22:31:20 +0000 (23:31 +0100)]
Remove unused adjust_wrap_width method

The adjust_wrap_width method in the session browser no
longer does anything useful, since the filename was
removed. Delete the code.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoMove file name to tooltip
Jesper Pedersen [Thu, 22 Aug 2013 22:30:17 +0000 (23:30 +0100)]
Move file name to tooltip

To allow more room for the image, remove the filename from
the session browser and use a tooltip instead.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoUpdate to 0.5.2 release v0.5.2
Daniel P. Berrange [Sat, 17 Aug 2013 18:01:49 +0000 (19:01 +0100)]
Update to 0.5.2 release

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoRemove use of 'document_mode' field in raw file generation
Daniel P. Berrange [Sat, 17 Aug 2013 18:26:56 +0000 (19:26 +0100)]
Remove use of 'document_mode' field in raw file generation

LibRaw >= 0.15 has removed the 'document_mode' field, so we must
stop using it in Entangle. Fortunately it wasn't doing anything
important for us.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoRemove trailing whitespace
Daniel P. Berrange [Sat, 17 Aug 2013 18:13:51 +0000 (19:13 +0100)]
Remove trailing whitespace

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoSwitch to automatically generated AUTHORS file
Daniel P. Berrange [Sat, 17 Aug 2013 18:09:51 +0000 (19:09 +0100)]
Switch to automatically generated AUTHORS file

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoRefresh translations from transifex
Daniel P. Berrange [Sat, 17 Aug 2013 18:01:17 +0000 (19:01 +0100)]
Refresh translations from transifex

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoMake metadata query robust to missing metadata
Daniel P. Berrange [Tue, 13 Aug 2013 22:46:57 +0000 (23:46 +0100)]
Make metadata query robust to missing metadata

To avoid displaying garbage when exif data is unset, change to
explicitly query whether the metadata tag is set before asking
for the value.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoEnsure camera progress functions run in main thread
Daniel P. Berrange [Tue, 13 Aug 2013 22:29:12 +0000 (23:29 +0100)]
Ensure camera progress functions run in main thread

GTK APIs must only be used from the main thread, so the
camera progress functions must use an idle callback to
switch to the main thread.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoSkip redraw of items without size allocated
Daniel P. Berrange [Tue, 13 Aug 2013 21:39:30 +0000 (22:39 +0100)]
Skip redraw of items without size allocated

In the session browser, it is possible for the item draw
routine to be invoked before a width/height has been set.
This makes pixman rather unhappy, so skip the drawing
operation in this case

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoPreserve scrollbar offsets when switching images
Daniel P. Berrange [Tue, 13 Aug 2013 20:14:40 +0000 (21:14 +0100)]
Preserve scrollbar offsets when switching images

When cycling back & forth between images when auto-scale is
not set, preserve the scrollbar offsets.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoFix double unref of pixbuf when rotating
Daniel P. Berrange [Tue, 13 Aug 2013 20:14:22 +0000 (21:14 +0100)]
Fix double unref of pixbuf when rotating

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoRe-arrange nesting of image display
Daniel P. Berrange [Tue, 13 Aug 2013 19:31:22 +0000 (20:31 +0100)]
Re-arrange nesting of image display

To prevent the image statusbar being resized to fit in the image
scrolled window, re-arrange the nesting of image display. This
puts the statusbar outside the scrolled window.

Bug #20429

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoFix args to gtk_grid_attach
Daniel P. Berrange [Tue, 13 Aug 2013 20:52:44 +0000 (21:52 +0100)]
Fix args to gtk_grid_attach

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
9 years agoUse GtkGrid instead of GtkTable if available
Daniel P. Berrange [Fri, 9 Aug 2013 19:35:59 +0000 (20:35 +0100)]
Use GtkGrid instead of GtkTable if available

For GTK >= 3.2.0 we can use GtkGrid for layout instead
of the deprecated GtkTable

Signed-off-by: Daniel P. Berrange <dan@berrange.com>
9 years agoRemove use of deprecated GStaticMutex
Daniel P. Berrange [Fri, 9 Aug 2013 19:34:52 +0000 (20:34 +0100)]
Remove use of deprecated GStaticMutex

The entangle_camera_is_mounted method can only be called
from the main thread now, so does not need mutex protection.

Signed-off-by: Daniel P. Berrange <dan@berrange.com>
9 years agoFix enablement of -Werror
Daniel P. Berrange [Wed, 8 May 2013 20:26:58 +0000 (21:26 +0100)]
Fix enablement of -Werror

9 years agoAdd README for translators
Daniel P. Berrange [Tue, 9 Jul 2013 20:21:52 +0000 (21:21 +0100)]
Add README for translators

Direct translators towards Transifex

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
9 years agoRefresh translations from transifex
Daniel P. Berrange [Mon, 8 Jul 2013 19:42:14 +0000 (20:42 +0100)]
Refresh translations from transifex

9 years agoEnsure every event is emitted in main thread
Daniel P. Berrange [Wed, 24 Apr 2013 19:20:16 +0000 (20:20 +0100)]
Ensure every event is emitted in main thread

Ensure that the pixbuf loader emits events in the main
thread, allowing all calls to gdk threads enter/leave
to be removed

Signed-off-by: Daniel P. Berrange <dan@berrange.com>
9 years agoAdd note about 'h' key for histrogram mode toggle
Daniel P. Berrange [Wed, 24 Apr 2013 19:19:57 +0000 (20:19 +0100)]
Add note about 'h' key for histrogram mode toggle

Signed-off-by: Daniel P. Berrange <dan@berrange.com>
9 years agoRefresh translations from transifex
Daniel P. Berrange [Wed, 24 Apr 2013 18:45:17 +0000 (19:45 +0100)]
Refresh translations from transifex

Signed-off-by: Daniel P. Berrange <dan@berrange.com>
9 years agoAdd support for linear histogram
Jesper Pedersen [Wed, 24 Apr 2013 18:41:23 +0000 (19:41 +0100)]
Add support for linear histogram

Add a config option to allow switching between liner and
logarithmic histrogram rendering

Signed-off-by: Daniel P. Berrange <dan@berrange.com>
9 years agoDisable static libraries build
Daniel P. Berrange [Tue, 9 Apr 2013 20:08:26 +0000 (21:08 +0100)]
Disable static libraries build

Signed-off-by: Daniel P. Berrange <dan@berrange.com>
9 years agoremove several unused variables. Fix variables initialised twice.
Simon Booth [Tue, 9 Apr 2013 12:37:12 +0000 (13:37 +0100)]
remove several unused variables. Fix variables initialised twice.

9 years agoRemove leftover g_printerr statements
Daniel P. Berrange [Tue, 2 Apr 2013 11:32:14 +0000 (12:32 +0100)]
Remove leftover g_printerr statements

9 years agoRefresh translations from transifex
Daniel P. Berrange [Mon, 1 Apr 2013 16:07:30 +0000 (17:07 +0100)]
Refresh translations from transifex

9 years agoApply orientation from EXIF data to images
Daniel P. Berrange [Mon, 1 Apr 2013 16:04:52 +0000 (17:04 +0100)]
Apply orientation from EXIF data to images

If GTK fails to apply any orientation data from the image file,
then fallback to applying orientation data from the exif
metadata block

9 years agoSet prefs before loading session
Daniel P. Berrange [Mon, 1 Apr 2013 15:09:53 +0000 (16:09 +0100)]
Set prefs before loading session

Starting up the session was loaded before the preferences were
applied. Thus, the first image loaded would be processed using
the wrong settings.

9 years agoTry to extract preview/thumbnail from raw files
Jesper Pedersen [Mon, 1 Apr 2013 14:40:28 +0000 (15:40 +0100)]
Try to extract preview/thumbnail from raw files

The exiv2 data stream doesn't always contain good thumbnails for
raw files. Try to extract a preview/thumbnail from the raw file
first, then try exiv2, and finally fallback to resizing the main
image

9 years agoSet sane default values for processing raw files
Jesper Pedersen [Mon, 1 Apr 2013 14:38:39 +0000 (15:38 +0100)]
Set sane default values for processing raw files

Set some default parameters for libraw so that it processes files
using the typical camera defaults. This should give better results,
particularly with Canon raw files.

9 years agoEnsure check for raw files is case insensitive
Jesper Pedersen [Mon, 1 Apr 2013 14:22:24 +0000 (15:22 +0100)]
Ensure check for raw files is case insensitive

When checking the filename extension to identify raw files, convert
the filename to lowercase first, to ensure the check is case
insensitive

9 years agoOnly import known image extension in the session
Jesper Pedersen [Mon, 1 Apr 2013 14:19:03 +0000 (15:19 +0100)]
Only import known image extension in the session

Instead of importing all files to a session, only import files
whose extension is found in a whitelist. This ensures we only
get image files loaded

9 years agoFix aperture and shutter speed metadata in status bar
Jesper Pedersen [Mon, 1 Apr 2013 14:13:30 +0000 (15:13 +0100)]
Fix aperture and shutter speed metadata in status bar

9 years agoSplit histogram into RGB colour channels
Jesper Pedersen [Mon, 1 Apr 2013 14:09:43 +0000 (15:09 +0100)]
Split histogram into RGB colour channels

Instead of drawing a single histogram for the overall intensity,
draw separate graphs for each RGB colour channel. Also draw a
small 4x4 grid overlay.

9 years agoUpdate for 0.5.1 release v0.5.1
Daniel P. Berrange [Tue, 12 Mar 2013 20:59:57 +0000 (20:59 +0000)]
Update for 0.5.1 release

9 years agoRefresh translations from transifex
Daniel P. Berrange [Tue, 12 Mar 2013 20:29:26 +0000 (20:29 +0000)]
Refresh translations from transifex

9 years agoRefresh translations from transifex
Daniel P. Berrange [Sat, 2 Mar 2013 20:14:59 +0000 (20:14 +0000)]
Refresh translations from transifex

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
9 years agoAdd initial Italian translation
Cristian Marchi [Sat, 2 Mar 2013 20:11:29 +0000 (20:11 +0000)]
Add initial Italian translation

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
9 years agoAdd missing translation markers on some strings
Cristian Marchi [Sat, 2 Mar 2013 20:10:49 +0000 (20:10 +0000)]
Add missing translation markers on some strings

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
9 years agoAdd support for manual focus control during preview
Daniel P. Berrange [Fri, 22 Feb 2013 21:10:55 +0000 (21:10 +0000)]
Add support for manual focus control during preview

9 years agoAdd support for autofocus during preview
Daniel P. Berrange [Fri, 22 Feb 2013 21:02:38 +0000 (21:02 +0000)]
Add support for autofocus during preview

9 years agoEnd preview by toggling viewfinder action
Daniel P. Berrange [Fri, 22 Feb 2013 20:49:15 +0000 (20:49 +0000)]
End preview by toggling viewfinder action

If possible, use the view finder control to turn off preview
mode, otherwise fallback to cpaturing an image

9 years agoRemove left over variable from gphoto 2.5 compat fix
Daniel P. Berrange [Fri, 22 Feb 2013 20:48:57 +0000 (20:48 +0000)]
Remove left over variable from gphoto 2.5 compat fix

9 years agoRemove debug line
Daniel P. Berrange [Fri, 22 Feb 2013 20:48:38 +0000 (20:48 +0000)]
Remove debug line

9 years agoAdd method to query if viewfinder control is possible
Daniel P. Berrange [Fri, 22 Feb 2013 20:48:04 +0000 (20:48 +0000)]
Add method to query if viewfinder control is possible

9 years agoFix previous methods for autofocus/manualfocus/viewfinder control
Daniel P. Berrange [Fri, 22 Feb 2013 20:47:39 +0000 (20:47 +0000)]
Fix previous methods for autofocus/manualfocus/viewfinder control

9 years agoFilter control sections when loading instead of displaying
Daniel P. Berrange [Fri, 22 Feb 2013 20:03:55 +0000 (20:03 +0000)]
Filter control sections when loading instead of displaying

Make EntangleCamera filter the sections, instead of the
EntangleControlPanel, since some sections are getting formal
APIs in the camera class

9 years agoAdd APIs for viewfinder/autofocus/manualfocus control
Daniel P. Berrange [Fri, 22 Feb 2013 19:07:37 +0000 (19:07 +0000)]
Add APIs for viewfinder/autofocus/manualfocus control

9 years agoAvoid warnings about deprecated mutex/condition var functions
Daniel P. Berrange [Thu, 21 Feb 2013 20:08:58 +0000 (20:08 +0000)]
Avoid warnings about deprecated mutex/condition var functions

In recent glib2 releases several mutex/condition var functions
are deprecated. Add some macro wrappers to avoid the warnings

9 years agoConditionally use new style gphoto callbacks
Daniel P. Berrange [Thu, 21 Feb 2013 20:08:15 +0000 (20:08 +0000)]
Conditionally use new style gphoto callbacks

In gphoto >= 2.5 many callbacks changed from 'char *fmt, va_args *'
to just 'char *msg'. Conditionally use the right signature based
on version

9 years agoUpdate for 0.5.0 release v0.5.0
Daniel P. Berrange [Sun, 16 Dec 2012 22:42:33 +0000 (22:42 +0000)]
Update for 0.5.0 release

9 years agoFix man page target name
Daniel P. Berrange [Sun, 16 Dec 2012 22:29:30 +0000 (22:29 +0000)]
Fix man page target name

9 years agoFix docs generation
Daniel P. Berrange [Sun, 16 Dec 2012 22:29:13 +0000 (22:29 +0000)]
Fix docs generation

9 years agoAdd LibRaw to list of deps in README
Daniel P. Berrange [Sun, 16 Dec 2012 22:09:22 +0000 (22:09 +0000)]
Add LibRaw to list of deps in README

9 years agoRefresh translations
Daniel P. Berrange [Sun, 16 Dec 2012 22:07:06 +0000 (22:07 +0000)]
Refresh translations

9 years agoAdd hack to delete both images when exiting preview
Daniel P. Berrange [Sun, 16 Dec 2012 18:28:02 +0000 (18:28 +0000)]
Add hack to delete both images when exiting preview

Since there is no way to exit preview mode, we must take a
shot and then delete it. If the capture mode is raw+jpeg
we must take care to delete both images that are captured

9 years agoFix session filename generation to cope with dual-format capture
Daniel P. Berrange [Sun, 16 Dec 2012 18:05:05 +0000 (18:05 +0000)]
Fix session filename generation to cope with dual-format capture

When the camera captures raw+jpeg formats at the same time, both
images must be saved with the same filename prefix

9 years agoRewrite overlay display to be more efficient
Daniel P. Berrange [Sun, 16 Dec 2012 17:39:45 +0000 (17:39 +0000)]
Rewrite overlay display to be more efficient

Instead of creating one cairo surface per image and overlaying
them during the draw event, overlay the images directly into a
single cairo surface.

9 years agoTweak debugging in event logging
Daniel P. Berrange [Sun, 9 Dec 2012 21:32:43 +0000 (21:32 +0000)]
Tweak debugging in event logging

9 years agoFix updating of range controls
Daniel P. Berrange [Sun, 9 Dec 2012 21:32:14 +0000 (21:32 +0000)]
Fix updating of range controls

Fix typo which continually reset range controls back to their
original value

9 years agoAdd support for onion skin preferences
Daniel P. Berrange [Wed, 5 Dec 2012 23:28:16 +0000 (23:28 +0000)]
Add support for onion skin preferences

9 years agoAdd ability to render an "onion skin" from a list of images
Daniel P. Berrange [Wed, 5 Dec 2012 22:35:19 +0000 (22:35 +0000)]
Add ability to render an "onion skin" from a list of images

Extend the image display widget to take a list of images. Then
render an "onion skin" overlay with partial opacity. In the
case of a list with 1 entry, the behaviour is as before.

9 years agoChange way image pixbufs are cleared
Daniel P. Berrange [Wed, 5 Dec 2012 22:32:24 +0000 (22:32 +0000)]
Change way image pixbufs are cleared

Instead of trying to track which image is used in popups,
just make use of the ref counting in the image loader. Add
"unload" signals to the image loader to enable detection
of when last use is released.

9 years agoSort images by name instead of modified date
Daniel P. Berrange [Wed, 5 Dec 2012 21:59:42 +0000 (21:59 +0000)]
Sort images by name instead of modified date

9 years agoEnsure camera is disconnected on window close/app exit
Daniel P. Berrange [Wed, 5 Dec 2012 21:57:22 +0000 (21:57 +0000)]
Ensure camera is disconnected on window close/app exit

When hiding a camera manager window, disassociate the
camera, so it gets closed cleanly, otherwise some Canon
cameras will hang.

9 years agoReindent to normalize whitespace
Daniel P. Berrange [Wed, 28 Nov 2012 22:09:10 +0000 (22:09 +0000)]
Reindent to normalize whitespace