entangle:entangle.git
7 years agoUpdates for 0.6.1 release v0.6.1
Daniel P. Berrange [Thu, 5 Feb 2015 21:26:50 +0000 (21:26 +0000)]
Updates for 0.6.1 release

7 years agoRefresh translations from transifex
Daniel P. Berrange [Thu, 5 Feb 2015 21:26:27 +0000 (21:26 +0000)]
Refresh translations from transifex

7 years agoAdd keywords to desktop & appdata files
Daniel P. Berrange [Thu, 5 Feb 2015 21:08:53 +0000 (21:08 +0000)]
Add keywords to desktop & appdata files

7 years agoRevert "Fix capture during live view"
Daniel P. Berrange [Thu, 5 Feb 2015 20:58:45 +0000 (20:58 +0000)]
Revert "Fix capture during live view"

This reverts commit 7af569be4ff35c4ca340c58878ee88a48beca910.

Revert to old behaviour, because disabling live view before capture
breaks ability to use manual focus :-(

7 years agoFix photobox plugin for recent widget name changes
Daniel P. Berrange [Thu, 27 Nov 2014 16:58:11 +0000 (10:58 -0600)]
Fix photobox plugin for recent widget name changes

7 years agoFix capture during live view
Daniel P. Berrange [Thu, 27 Nov 2014 16:53:17 +0000 (10:53 -0600)]
Fix capture during live view

When the capture target is set to "memory card" an "PTP busy" error
will be received when trying to capture an image while live view is
active. Workaround this by explicitly disabling live view when
capturing an image, instead of letting gphoto do this for us.

7 years agoWorkaround gphoto bug detecting changed value for viewfinder.
Daniel P. Berrange [Thu, 27 Nov 2014 16:45:21 +0000 (10:45 -0600)]
Workaround gphoto bug detecting changed value for viewfinder.

7 years agoAvoid memory leak when waiting for camera events
Daniel P. Berrange [Thu, 27 Nov 2014 16:43:37 +0000 (10:43 -0600)]
Avoid memory leak when waiting for camera events

7 years agoPrevent over exposure of raw files
Daniel P. Berrange [Tue, 28 Oct 2014 21:49:56 +0000 (21:49 +0000)]
Prevent over exposure of raw files

Disable libraw auto brightness feature which totally overexposes
dark images like deep sky shots.

7 years agoFix ordering of restoring controls to honour preferences
Daniel P. Berrange [Thu, 23 Oct 2014 20:49:54 +0000 (21:49 +0100)]
Fix ordering of restoring controls to honour preferences

7 years agoMake the control panel editable
Daniel P. Berrange [Thu, 23 Oct 2014 20:12:06 +0000 (21:12 +0100)]
Make the control panel editable

Add a button with a popup menu to allow the list of controls
to be changed.

7 years agoRip out layout cruft from session browser that confused GTK
Daniel P. Berrange [Thu, 23 Oct 2014 18:21:34 +0000 (19:21 +0100)]
Rip out layout cruft from session browser that confused GTK

The session browser re-layout code was causing problems with
rendering in GTK resulting in major UI problem. Rip it all
out since it didn't appear to have any beneficial purpose.

7 years agoAllow camera picker to show more than one line at a time.
Daniel P. Berrange [Thu, 23 Oct 2014 18:20:06 +0000 (19:20 +0100)]
Allow camera picker to show more than one line at a time.

7 years agoRemove use of GtkMisc APIs
Daniel P. Berrange [Wed, 22 Oct 2014 20:48:22 +0000 (21:48 +0100)]
Remove use of GtkMisc APIs

7 years agoRemove code to disable double buffering
Daniel P. Berrange [Wed, 22 Oct 2014 20:47:39 +0000 (21:47 +0100)]
Remove code to disable double buffering

GTK3 basically needs to have double buffering turned on all the
time, so don't disable it.

7 years agoConvert float to double
Daniel P. Berrange [Wed, 22 Oct 2014 20:44:30 +0000 (21:44 +0100)]
Convert float to double

Floats are promoted to doubles when passed to var-args, so remove
the explicit casts to float in favour of double.

7 years agoRewrite condition to avoid gcc signed overflow warnings
Daniel P. Berrange [Wed, 22 Oct 2014 20:41:15 +0000 (21:41 +0100)]
Rewrite condition to avoid gcc signed overflow warnings

7 years agoImport new manywarnings.m4 module from gnulib
Daniel P. Berrange [Wed, 22 Oct 2014 20:41:04 +0000 (21:41 +0100)]
Import new manywarnings.m4 module from gnulib

7 years agoSkip -Wbad-function-cast warning
Daniel P. Berrange [Wed, 22 Oct 2014 20:31:55 +0000 (21:31 +0100)]
Skip -Wbad-function-cast warning

GLib triggers warning

warn.c: In function ‘foo’:
warn.c:7:385: warning: cast from function call of type ‘long unsigned int’ to non-matching type ‘void *’ [-Wbad-function-cast]
 if (g_once_init_enter (&initialization_value))

but this cast is entirely expected and harmless so we should not
warning on this.

7 years agoFix some syntax check errors with tabs and for loops
Daniel P. Berrange [Thu, 23 Oct 2014 20:15:02 +0000 (21:15 +0100)]
Fix some syntax check errors with tabs and for loops

7 years agoIntroduce per-camera model preferences to record control UI
Daniel P. Berrange [Sat, 4 Oct 2014 17:23:39 +0000 (18:23 +0100)]
Introduce per-camera model preferences to record control UI

To prepare for customizable control panels, introduce a camera
preferences object that will be created once per model name.

7 years agoRewrite control panel to not suck so much
Daniel P. Berrange [Fri, 3 Oct 2014 22:36:37 +0000 (23:36 +0100)]
Rewrite control panel to not suck so much

Instead of adding all camera controls by default, only add a
small useful set (aperture, shutter, iso, white balance, quality
and image size).

Require GTK 3.4

7 years agoStrip trailing '2' from widget labels
Daniel P. Berrange [Fri, 3 Oct 2014 22:35:38 +0000 (23:35 +0100)]
Strip trailing '2' from widget labels

Some settings have multiple widgets and gphoto adds a trailing '2'
so strip this off.

7 years agoMake entangle_control_group_get_by_path recursive
Daniel P. Berrange [Fri, 3 Oct 2014 22:34:36 +0000 (23:34 +0100)]
Make entangle_control_group_get_by_path recursive

Ensure that entangle_control_group_get_by_path can find child
widgets to arbitrary depth by making it recursive

7 years agoSet a more sensible min height for histogram
Daniel P. Berrange [Fri, 3 Oct 2014 22:34:01 +0000 (23:34 +0100)]
Set a more sensible min height for histogram

7 years agoMove preferences object into the frontend
Daniel P. Berrange [Fri, 3 Oct 2014 20:59:04 +0000 (21:59 +0100)]
Move preferences object into the frontend

The preferences are inherantly related to the user interface so
should be part of the frontend codebase.

7 years agoAvoid adding the same plugin to preferences multiple times
Daniel P. Berrange [Sat, 4 Oct 2014 17:27:17 +0000 (18:27 +0100)]
Avoid adding the same plugin to preferences multiple times

7 years agoRefactor camera operation out into a new automata object
Daniel P. Berrange [Tue, 30 Sep 2014 20:46:15 +0000 (21:46 +0100)]
Refactor camera operation out into a new automata object

To facilitate its use in scripts, pull the code for controlling
camera capture/preview out into a separate automata object.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
7 years agoSupport of freedesktop's Thumbnail Management Standard.
Jehan [Tue, 23 Sep 2014 01:17:53 +0000 (03:17 +0200)]
Support of freedesktop's Thumbnail Management Standard.

7 years agoAdd electronic shutter sub-option to continuous preview mode.
Jehan [Sat, 27 Sep 2014 15:12:54 +0000 (17:12 +0200)]
Add electronic shutter sub-option to continuous preview mode.

7 years agoMinor configure bug on gio dependency check.
Jehan [Sat, 27 Sep 2014 14:17:35 +0000 (16:17 +0200)]
Minor configure bug on gio dependency check.

7 years agoAdd missing capture icons to Makefile.am
Daniel P. Berrange [Sun, 21 Sep 2014 20:27:44 +0000 (21:27 +0100)]
Add missing capture icons to Makefile.am

7 years agoFix support for VPATH builds
Jehan [Fri, 19 Sep 2014 18:44:06 +0000 (19:44 +0100)]
Fix support for VPATH builds

8 years agoUpdates for 0.6.0 release v0.6.0
Daniel P. Berrange [Fri, 2 May 2014 18:07:42 +0000 (19:07 +0100)]
Updates for 0.6.0 release

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoRefresh translations from transifex
Daniel P. Berrange [Fri, 2 May 2014 18:01:44 +0000 (19:01 +0100)]
Refresh translations from transifex

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoUpdate to comply with latest appdata specs
Daniel P. Berrange [Fri, 2 May 2014 17:57:14 +0000 (18:57 +0100)]
Update to comply with latest appdata specs

See

http://blogs.gnome.org/hughsie/2014/05/02/appdata-meet-spdx-spdx-meet-appdata/

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoThe plugin schemas can be shipped pre-compiled in the RPM
Daniel P. Berrange [Thu, 1 May 2014 22:48:40 +0000 (23:48 +0100)]
The plugin schemas can be shipped pre-compiled in the RPM

Since the plugin schemas are in a private directory they
are ok to ship pre-compiled

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoAdd a BR in RPM for the symbolic icon theme
Daniel P. Berrange [Thu, 1 May 2014 22:48:19 +0000 (23:48 +0100)]
Add a BR in RPM for the symbolic icon theme

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoFix typos in docs
Daniel P. Berrange [Thu, 1 May 2014 22:25:31 +0000 (23:25 +0100)]
Fix typos in docs

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoAdjust pkg-config check for symbolic icon theme
Daniel P. Berrange [Thu, 1 May 2014 21:58:47 +0000 (22:58 +0100)]
Adjust pkg-config check for symbolic icon theme

Older versions of the GNOME symbolic icon theme don't include
a pkg-config file, so make the configure check fall back to
looking for a specific file

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoDisable progress display in preview mode
Daniel P. Berrange [Sun, 24 Nov 2013 21:04:06 +0000 (21:04 +0000)]
Disable progress display in preview mode

The PTP driver for Canon EOS activates the progress meter when
downloading preview images. This causes the display to flicker
madly during preview.

Try to ignore progress updates when preview mode is active, but
still display when downloading the final captured image

Fixes bug #21246

8 years agoFinish off the rest of the API docs
Daniel P. Berrange [Thu, 1 May 2014 21:24:07 +0000 (22:24 +0100)]
Finish off the rest of the API docs

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoIgnore more non-version controlled files
Daniel P. Berrange [Tue, 29 Apr 2014 20:21:58 +0000 (21:21 +0100)]
Ignore more non-version controlled files

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoTemporarily disable syncing camera clock
Daniel P. Berrange [Tue, 29 Apr 2014 20:20:06 +0000 (21:20 +0100)]
Temporarily disable syncing camera clock

Due to unresolved problems relating to timezone handling,
disable the feature for syncing the camera clock from the
computer.

Related bug #20430

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoMake manual focus work with Canon cameras
Daniel P. Berrange [Wed, 23 Apr 2014 21:14:41 +0000 (22:14 +0100)]
Make manual focus work with Canon cameras

Canon cameras don't have an arbitrary delta for manual focus,
just 3 discrete step sizes. Change the internal API to use
discrete step sizes for both Canon and Nikon to give a consistent
approach.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoInclude port/model in debug when adding cameras
Daniel P. Berrange [Wed, 23 Apr 2014 20:35:35 +0000 (21:35 +0100)]
Include port/model in debug when adding cameras

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoFix bug opening extra window at startup
Daniel P. Berrange [Wed, 23 Apr 2014 20:35:17 +0000 (21:35 +0100)]
Fix bug opening extra window at startup

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoUse install-data-hook instead of install-data-local
Daniel P. Berrange [Wed, 23 Apr 2014 19:53:54 +0000 (20:53 +0100)]
Use install-data-hook instead of install-data-local

The schema must only be compiled after it is installed, so
we must use install-data-hook which runs after install-data-am

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoFix install of schemas for plugin
Daniel P. Berrange [Wed, 23 Apr 2014 09:46:02 +0000 (10:46 +0100)]
Fix install of schemas for plugin

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoPort over to use lcms2 instead of lcms
Daniel P. Berrange [Wed, 23 Apr 2014 09:22:19 +0000 (10:22 +0100)]
Port over to use lcms2 instead of lcms

Support for lcms 1.x is dropped entirely since lcms2 has
been around for long enough now - as long as GTK3 which
we also require.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoRemove duplicated plugin files in RPM spec
Daniel P. Berrange [Mon, 14 Apr 2014 22:50:55 +0000 (23:50 +0100)]
Remove duplicated plugin files in RPM spec

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoMove icons into standard directory location
Daniel P. Berrange [Mon, 14 Apr 2014 22:46:04 +0000 (23:46 +0100)]
Move icons into standard directory location

For GNOME software center, the icon listed in desktop file must
be in a standard directory location

  https://github.com/hughsie/createrepo_as/blob/master/README.md#guidelines-for-applications

Move all the icons into the standard "hicolor" icon theme so we
can remove custom code for loading them too.

Fixes bug #21904

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoFix incorrect whitespace around brackets
Daniel P. Berrange [Mon, 14 Apr 2014 21:35:19 +0000 (22:35 +0100)]
Fix incorrect whitespace around brackets

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoRemove capture/preview icons no longer required
Daniel P. Berrange [Mon, 14 Apr 2014 21:30:54 +0000 (22:30 +0100)]
Remove capture/preview icons no longer required

Since switching to the symbolic icon theme, the custom
capture/preview icons are no longer needed.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoUse the GNOME symbolic icon theme
Bastien Nocera [Fri, 11 Apr 2014 10:53:47 +0000 (12:53 +0200)]
Use the GNOME symbolic icon theme

The symbolic icons look better in combination with the
dark style theme.

8 years agoUse a dark theme
Bastien Nocera [Fri, 11 Apr 2014 10:41:48 +0000 (12:41 +0200)]
Use a dark theme

The dark theme is for media applications, such as photo and video
apps. We're one of those.

8 years agoAdd API docs for pixbuf classes
Daniel P. Berrange [Mon, 7 Apr 2014 19:23:58 +0000 (20:23 +0100)]
Add API docs for pixbuf classes

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoAdd explicit method for setting capture target
Daniel P. Berrange [Sun, 6 Apr 2014 16:11:16 +0000 (18:11 +0200)]
Add explicit method for setting capture target

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoSet automake subdir-objects declaration
Daniel P. Berrange [Mon, 7 Apr 2014 19:47:49 +0000 (20:47 +0100)]
Set automake subdir-objects declaration

Make newer automake shut up about subdir-objects

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoRemove auto-generation of gitignore files
Daniel P. Berrange [Mon, 7 Apr 2014 19:42:20 +0000 (20:42 +0100)]
Remove auto-generation of gitignore files

The git ignore file generator is not entirely reliable
so not worth the trouble of using it.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoFix name of menubar widget
Daniel P. Berrange [Mon, 7 Apr 2014 19:35:30 +0000 (20:35 +0100)]
Fix name of menubar widget

Then menubar was just renamed to 'win-menubar' and the code
was not updated.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoBlank out source ID after removing it
Daniel P. Berrange [Mon, 7 Apr 2014 19:34:30 +0000 (20:34 +0100)]
Blank out source ID after removing it

Avoid removing the same source twice in the auto drawer by
blanking out the source ID.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoUpdate to deal with changed GExiv2 GIR version
Daniel P. Berrange [Mon, 7 Apr 2014 19:19:08 +0000 (20:19 +0100)]
Update to deal with changed GExiv2 GIR version

GExiv2 0.10 changed the GIR version from 0.4 to 0.10

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoFix override of GtkApplication startup method
Daniel P. Berrange [Mon, 7 Apr 2014 19:08:21 +0000 (20:08 +0100)]
Fix override of GtkApplication startup method

When overriding the startup method the parent impl must be
the first thing invoked.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoDon't auto connect to cameras without capture capability
Daniel P. Berrange [Sat, 5 Apr 2014 22:22:00 +0000 (00:22 +0200)]
Don't auto connect to cameras without capture capability

Only auto connect to cameras with the capture capability so
that we don't connect to simple drivers doing only MTP / disk
filesystem access.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoCreate a sample plugin for setting up a photobox captive UI
Daniel P. Berrange [Sat, 5 Apr 2014 15:37:57 +0000 (17:37 +0200)]
Create a sample plugin for setting up a photobox captive UI

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoRemove use of deprecated libpeas APIs
Daniel P. Berrange [Sat, 5 Apr 2014 15:29:44 +0000 (17:29 +0200)]
Remove use of deprecated libpeas APIs

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoAdd local source dir to plugin search path
Daniel P. Berrange [Sat, 5 Apr 2014 15:33:42 +0000 (17:33 +0200)]
Add local source dir to plugin search path

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoChange to use python3 for plugin language
Daniel P. Berrange [Fri, 4 Apr 2014 19:28:27 +0000 (21:28 +0200)]
Change to use python3 for plugin language

Change the peas plugin loader to use python for the language
instead of gjs. This is to open up possibility to use the
general python library ecosystem which is broader than the
gjs compatible javascript ecosystem. Python3 is chosen instead
of Python2 so we can avoid introducing a problem of having to
switch python versions later.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoAdd entangle_window_get_builder method
Daniel P. Berrange [Sat, 5 Apr 2014 13:29:31 +0000 (15:29 +0200)]
Add entangle_window_get_builder method

Add an accessor for getting the GtkBuilder instance associated
with a window, to allow plugins to get access to widgets in a
fast manner.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoAdd names for more widgets in camera manager
Daniel P. Berrange [Sat, 5 Apr 2014 13:28:54 +0000 (15:28 +0200)]
Add names for more widgets in camera manager

To make life easier for plugin authors, give names to the key
layout widgets i nthe camera manager.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoSet parent on camera error dialog
Daniel P. Berrange [Sat, 5 Apr 2014 13:27:24 +0000 (15:27 +0200)]
Set parent on camera error dialog

Ensure that the camera error dialog is associated with the main
manager window by setting its parent.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoFilter list of supported cameras to only those supporting capture/preview
Daniel P. Berrange [Fri, 4 Apr 2014 11:41:38 +0000 (13:41 +0200)]
Filter list of supported cameras to only those supporting capture/preview

Instead of reporting all cameras known to gphoto2, only report those
that support capture or preview capabilities. This removes all those
which only support download, since there's not much of interest you
can do with those in the application.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoRemove camera manual/about/driver help windows
Daniel P. Berrange [Fri, 4 Apr 2014 10:27:18 +0000 (12:27 +0200)]
Remove camera manual/about/driver help windows

The camera manual/about/driver information reported by libgphoto2
isn't really in any kind of user friendly format. It mostly has
info that's developer targetted. Remove the UI for showing this
information to simplify the UI.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoDon't let preferences popup hold reference to the application
Daniel P. Berrange [Thu, 3 Apr 2014 19:31:05 +0000 (21:31 +0200)]
Don't let preferences popup hold reference to the application

When closing the main manager window, delete the prefs widget
so it then allows the application to close.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoRevert "Don't let preferences popup hold reference to the application"
Daniel P. Berrange [Thu, 3 Apr 2014 19:31:35 +0000 (21:31 +0200)]
Revert "Don't let preferences popup hold reference to the application"

This reverts commit 5f98d9694827d35c2d85f0b01329c56c3d1fd8dd.

8 years agoFix incorrect object type test in camera info popup
Daniel P. Berrange [Wed, 2 Apr 2014 21:50:41 +0000 (23:50 +0200)]
Fix incorrect object type test in camera info popup

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoDon't let preferences popup hold reference to the application
Daniel P. Berrange [Wed, 2 Apr 2014 21:17:34 +0000 (23:17 +0200)]
Don't let preferences popup hold reference to the application

If we register the preferences popup window with GtkApplication
then the main loop will never exit, since we don't ever destroy
the prefs window, merely hide / show it.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoFix whitespace in for() statement
Daniel P. Berrange [Wed, 2 Apr 2014 21:17:10 +0000 (23:17 +0200)]
Fix whitespace in for() statement

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoAdd customizable image background/highlight
Jesper Pedersen [Wed, 2 Apr 2014 21:15:40 +0000 (23:15 +0200)]
Add customizable image background/highlight

The use-case is that you want an "opposite" background color against
what you are shooting, e.g. white background when shooting using a
black backdrop.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoUpdate copyright date in about dialog
Daniel P. Berrange [Wed, 2 Apr 2014 20:38:47 +0000 (22:38 +0200)]
Update copyright date in about dialog

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoWorkaround for Nikon D5100 camera serial number
Daniel P. Berrange [Fri, 28 Mar 2014 20:54:22 +0000 (20:54 +0000)]
Workaround for Nikon D5100 camera serial number

At least one D5100 has been seen to append 25 zero characters
to the serial number, so strip them off.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoAvoid circular updating of controls
Daniel P. Berrange [Fri, 28 Mar 2014 20:52:46 +0000 (20:52 +0000)]
Avoid circular updating of controls

When loading config from the camera be careful not to trigger
a change in the UI which in turn triggers a save to the
camera again. Do this by comparing old / new values in the
controls. Also avoiding calling save if no controls have been
marked dirty. Finally also refresh the list of combo box
choices to avoid confusing the UI into triggering an update.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoRemove bogus calls to gp_widget_set_changed
Daniel P. Berrange [Fri, 28 Mar 2014 20:32:52 +0000 (20:32 +0000)]
Remove bogus calls to gp_widget_set_changed

The gp_widget_set_value method sets the changed flag
on our behalf.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoFix repeated expose events due to auto-drawer
Daniel P. Berrange [Wed, 26 Mar 2014 21:40:58 +0000 (21:40 +0000)]
Fix repeated expose events due to auto-drawer

Every time  entangle_auto_drawer_set_pinned is called it
triggers an expose event. Check whether it is on the right
setting before calling it, since we do this in every mouse
move event. This reduces CPU usage dramatically.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoAdd further debug in various camera operations
Daniel P. Berrange [Wed, 26 Mar 2014 21:40:32 +0000 (21:40 +0000)]
Add further debug in various camera operations

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoFix inverted test in range widget updates
Daniel P. Berrange [Wed, 26 Mar 2014 19:59:45 +0000 (19:59 +0000)]
Fix inverted test in range widget updates

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoAdd further debug logs in camera control code
Daniel P. Berrange [Wed, 26 Mar 2014 19:59:25 +0000 (19:59 +0000)]
Add further debug logs in camera control code

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoAdd API docs for image and session classes
Daniel P. Berrange [Fri, 14 Mar 2014 22:32:14 +0000 (22:32 +0000)]
Add API docs for image and session classes

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoREADME: Fix an inadvertent typos
Kashyap Chamarthy [Sun, 23 Feb 2014 17:35:55 +0000 (17:35 +0000)]
README: Fix an inadvertent typos

Correct copy+paste mitsake s/libvirt-sandbox/Entangle/ in several
places in the README file

8 years agoRefresh translations from transifex
Daniel P. Berrange [Sun, 16 Feb 2014 21:49:14 +0000 (21:49 +0000)]
Refresh translations from transifex

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoSetup appdata and desktop files for translation
Cristian Marchi [Sun, 16 Feb 2014 21:33:51 +0000 (21:33 +0000)]
Setup appdata and desktop files for translation

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoAdd GExiv2 package to g-ir-scanner
Daniel P. Berrange [Wed, 5 Feb 2014 19:06:30 +0000 (19:06 +0000)]
Add GExiv2 package to g-ir-scanner

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoFix off-by-1 in image histogram tables
Daniel P. Berrange [Tue, 4 Feb 2014 22:17:09 +0000 (22:17 +0000)]
Fix off-by-1 in image histogram tables

A guchar has 256 possible levels, not 255. The short
tables resulted in a buffer overflow which in turn
scrambled the linear/logarithmic setting.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoDon't reset basic camera capabilities on disconnect
Daniel P. Berrange [Tue, 4 Feb 2014 22:16:23 +0000 (22:16 +0000)]
Don't reset basic camera capabilities on disconnect

The capture/preview/controls capabilities are populated
when we detect the camera ports, so must not be reset
when disconnecting from the camera.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoAdd ability to auto-sync camera time on connect
Daniel P. Berrange [Tue, 4 Feb 2014 21:30:09 +0000 (21:30 +0000)]
Add ability to auto-sync camera time on connect

Add a preference to control whether the camera time
will be automatically synchronized with the computer
at time of connection

Fixes bug #20430

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoAdd menu option to sync camera clock with PC
Daniel P. Berrange [Tue, 4 Feb 2014 20:22:44 +0000 (20:22 +0000)]
Add menu option to sync camera clock with PC

Fixes bug #20430

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8 years agoConditionalize use of gtk_drag_begin_with_coordinates
Daniel P. Berrange [Sun, 26 Jan 2014 15:41:00 +0000 (15:41 +0000)]
Conditionalize use of gtk_drag_begin_with_coordinates

The gtk_drag_begin_with_coordinates method is only available
from GTK 3.10 onwards. Revert to use of gtk_drag_begin for
earlier GTK versions.

Signed-off-by: Daniel P. Berrange <dan@berrange.com>
8 years agoRemove version number from about dialog
Daniel P. Berrange [Tue, 14 Jan 2014 22:13:02 +0000 (22:13 +0000)]
Remove version number from about dialog

Fixes bug #21362

Signed-off-by: Daniel P. Berrange <dan@berrange.com>
8 years agoAdd API docs across many frontend classes
Daniel P. Berrange [Tue, 14 Jan 2014 22:06:06 +0000 (22:06 +0000)]
Add API docs across many frontend classes

Signed-off-by: Daniel P. Berrange <dan@berrange.com>