entangle:entangle.git
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>
8 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>
8 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>
8 years agoFix enablement of -Werror
Daniel P. Berrange [Wed, 8 May 2013 20:26:58 +0000 (21:26 +0100)]
Fix enablement of -Werror

8 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>
8 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

9 years agoFix deadlock unmounting camera at startup
Daniel P. Berrange [Thu, 22 Nov 2012 09:45:53 +0000 (09:45 +0000)]
Fix deadlock unmounting camera at startup

The startup code should be using gdk_threads_{enter,leave}
since we make use of threads. When umounting a camera we
entered a recursive main loop. This caused GDK to try to
unlock a mutex that was never locked, corrupting mutex
state. The result was a later hang next time GDK tried to
lock the mutex.

We can't acquire the mutex in the activate callback, since
that can be called from scenarios where the lock is already
held. Thus we move our code into the startup method instead
and just make activate do a window show.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
9 years agoFix mistake in function prototype name
Daniel P. Berrange [Wed, 21 Nov 2012 21:52:31 +0000 (21:52 +0000)]
Fix mistake in function prototype name

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
9 years agoRefresh translations
Daniel P. Berrange [Tue, 18 Sep 2012 13:29:13 +0000 (14:29 +0100)]
Refresh translations

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
9 years agoAdd preference to control use of embedded image preview for raw files
Daniel P. Berrange [Sun, 16 Sep 2012 15:16:51 +0000 (16:16 +0100)]
Add preference to control use of embedded image preview for raw files

9 years agoLoad raw files using LibRaw
Daniel P. Berrange [Sun, 16 Sep 2012 14:56:44 +0000 (15:56 +0100)]
Load raw files using LibRaw

Add support for using LibRaw to load raw files. Use the
embedded preview, rather than processing the entire RAW
data.

9 years agoAdd some more comments to thumbnail loader code
Daniel P. Berrange [Sun, 16 Sep 2012 11:39:47 +0000 (12:39 +0100)]
Add some more comments to thumbnail loader code

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
9 years agoFix typo in man page name
Daniel P. Berrange [Wed, 12 Sep 2012 10:47:57 +0000 (11:47 +0100)]
Fix typo in man page name

9 years agoUpdate NEWS for 0.4.1 release v0.4.1
Daniel P. Berrange [Thu, 6 Sep 2012 19:34:44 +0000 (20:34 +0100)]
Update NEWS for 0.4.1 release

9 years agoAllow camera to be NULL
Daniel P. Berrange [Thu, 6 Sep 2012 19:28:02 +0000 (20:28 +0100)]
Allow camera to be NULL

Re-add 9a977e23d9f399b8ae2afab98cddec0022e5a276 accidentally
reverted

9 years agoRemove bogus assertion check
Daniel P. Berrange [Thu, 6 Sep 2012 19:25:11 +0000 (20:25 +0100)]
Remove bogus assertion check

9 years agoControl histogram height to match default icon panel height
Daniel P. Berrange [Thu, 6 Sep 2012 19:19:50 +0000 (20:19 +0100)]
Control histogram height to match default icon panel height

9 years agoUse 'src' from finish callback, since priv->camera might be NULL
Daniel P. Berrange [Thu, 6 Sep 2012 19:11:13 +0000 (20:11 +0100)]
Use 'src' from finish callback, since priv->camera might be NULL

When saving camera controls using an async callback, make sure the
callback uses the passed in 'src' parameter instead of relying on
priv->camera which may now be NULL

9 years agoAllow camera to be NULL in control panel
Daniel P. Berrange [Thu, 6 Sep 2012 19:10:30 +0000 (20:10 +0100)]
Allow camera to be NULL in control panel

9 years agoAvoid GTK assertion if min=max
Daniel P. Berrange [Thu, 6 Sep 2012 19:09:22 +0000 (20:09 +0100)]
Avoid GTK assertion if min=max

The GTK range widgets can't cope with the (entirely reasonable)
scenario where the min value == max value. Hack a workaround for
this by increasing the max value by 1.0 and setting the control
readonly instead

9 years agoFix unref of cairo surface object in image display
Daniel P. Berrange [Sun, 2 Sep 2012 04:02:44 +0000 (21:02 -0700)]
Fix unref of cairo surface object in image display

9 years agoAdd accelerators for menu options
Daniel P. Berrange [Sun, 2 Sep 2012 03:54:49 +0000 (20:54 -0700)]
Add accelerators for menu options

9 years agoAdd further protection in API calls
Daniel P. Berrange [Sun, 2 Sep 2012 03:45:36 +0000 (20:45 -0700)]
Add further protection in API calls

9 years agoAdd man page and a few misc fixes
Daniel P. Berrange [Sat, 1 Sep 2012 22:18:51 +0000 (15:18 -0700)]
Add man page and a few misc fixes

Add a man page based on the one in bug 20061

9 years agoAdd g_return_if_fail checks to various methods in frontend code
Daniel P. Berrange [Sat, 1 Sep 2012 22:16:46 +0000 (15:16 -0700)]
Add g_return_if_fail checks to various methods in frontend code

9 years agoRemove tabs from previous commit
Daniel P. Berrange [Sat, 1 Sep 2012 22:16:32 +0000 (15:16 -0700)]
Remove tabs from previous commit

9 years agoCreate display of supported camera models
Daniel P. Berrange [Sat, 1 Sep 2012 16:46:42 +0000 (09:46 -0700)]
Create display of supported camera models

Use gphoto to object a list of supported cameras and introduce
a new dialog for showing them. Fixes bug #19953

9 years agoRemove obsolete GTK 2.x conditionals
Daniel P. Berrange [Sat, 1 Sep 2012 16:06:57 +0000 (09:06 -0700)]
Remove obsolete GTK 2.x conditionals

Since we require GTK >= 3.0, we can remove conditionals based
on GTK 2.x

9 years agoFix build on GTK < 3.4
Daniel P. Berrange [Sat, 1 Sep 2012 16:05:29 +0000 (09:05 -0700)]
Fix build on GTK < 3.4

The GDK_SCROLL_SMOOTH constant is only available in GTK >= 3.4
Bug #19918

9 years agoRename 'index' variable to 'idx' to avoid symbol clash
Daniel P. Berrange [Sat, 1 Sep 2012 16:03:58 +0000 (09:03 -0700)]
Rename 'index' variable to 'idx' to avoid symbol clash

There is a global function called 'index' in some headers, so
local variables should not use the same name. Bug #19918