12 years agoUpdate for 0.2.0 release v0.2.0
Daniel P. Berrange [Fri, 17 Sep 2010 18:34:59 +0000 (19:34 +0100)]
Update for 0.2.0 release

* NEWS: Notes about major changes
* configure.ac: Update version number

12 years agoUpdate to require libpeas 0.5.5
Daniel P. Berrange [Fri, 17 Sep 2010 18:18:31 +0000 (19:18 +0100)]
Update to require libpeas 0.5.5

* configure.ac: Update to 0.5.5 peas, s/peas-ui/peas-gtk/
* entangle.spec.in: Require libpeas-devel >= 0.5.5
* src/backend/entangle-app.c,
  src/backend/entangle-app.c: API changes for libpeas 0.5.5

12 years agoEnsure filename extension is always lowercase
Daniel P. Berrange [Wed, 15 Sep 2010 21:07:35 +0000 (22:07 +0100)]
Ensure filename extension is always lowercase

Some cameras return an uppercase filename. Convert to lowercase
at all times

12 years agoAdd support for unmounting camera when connecting
Daniel P. Berrange [Wed, 15 Sep 2010 21:06:54 +0000 (22:06 +0100)]
Add support for unmounting camera when connecting

Use GIO to unmount the camera if it is in use by gvfs.

12 years agoRemove EntangleParams class that required GPhoto gir hack
Daniel P. Berrange [Tue, 14 Sep 2010 21:06:08 +0000 (22:06 +0100)]
Remove EntangleParams class that required GPhoto gir hack

The GPhoto-2.0.gir hack is required because EntangleParams
exposes some libgphoto2 typedefs in a public struct. By
removing this class and moving the objects into the private
impl, the GIR hack is no longer required

12 years agoPort over to use libpeas for plugins
Daniel P. Berrange [Tue, 14 Sep 2010 20:46:06 +0000 (21:46 +0100)]
Port over to use libpeas for plugins

Remove all custom plugin handling code. Replace with (optional)
use of libpeas.

12 years agoAdapt to cope with cameras which don't support events
Daniel P. Berrange [Thu, 22 Jul 2010 21:59:55 +0000 (22:59 +0100)]
Adapt to cope with cameras which don't support events

The non-PTP drivers do not support event notifications. Adapt the
event flush/wait code to avoid failing in these scenarios, since
capture still works fine

12 years agoUse GError APis for reporting capture failure
Daniel P. Berrange [Mon, 19 Jul 2010 21:55:14 +0000 (22:55 +0100)]
Use GError APis for reporting capture failure

Wire up GError for capture, preview, download, delete and event
wait operations. Display error to user if task fails. Log all
gphoto detailed error messages.

12 years agoFix infinite loop waiting for events
Daniel P. Berrange [Mon, 19 Jul 2010 20:14:45 +0000 (21:14 +0100)]
Fix infinite loop waiting for events

Fix an unknown event occurs the loop could potentially go on
forever. Track wallclock time to ensure an absolute upper
bound on waiting for events

12 years agoSet worker to NULL when exiting
Daniel P. Berrange [Mon, 19 Jul 2010 20:12:06 +0000 (21:12 +0100)]
Set worker to NULL when exiting

When the worker thread exits it is important to set priv->worker
to NULL to ensure other methods see it is not running

12 years agoMake a sane implementation of the preview function
Daniel P. Berrange [Sun, 13 Jun 2010 21:39:54 +0000 (22:39 +0100)]
Make a sane implementation of the preview function

Replace the 'cancelled' method on the progress interface, with
a GInterface. Add a 'confirmable' GInterface. Re-write the
preview task to use the confirmable interface to trigger
capture. Fixup exiting of live view when cancelling preview.

12 years agoDisable image hint when fullscreen mode
Daniel P. Berrange [Sun, 13 Jun 2010 17:33:42 +0000 (18:33 +0100)]
Disable image hint when fullscreen mode

12 years agoFix DESTDIR handling in install-data-local rule
Thilo Bangert [Mon, 7 Jun 2010 16:19:17 +0000 (17:19 +0100)]
Fix DESTDIR handling in install-data-local rule

12 years agoFix assumption about some udev parameters always being present
Daniel P. Berrange [Mon, 7 Jun 2010 14:45:08 +0000 (15:45 +0100)]
Fix assumption about some udev parameters always being present

If certain udev parameters were missing (aka NULL) then the
device monitor code would crash with a NULL pointer dereference.
Ignore any events where one of our desired parameters is NULL
to avoid crashing

12 years agoUpdate RPM spec with feedback from Fedora review
Daniel P. Berrange [Mon, 7 Jun 2010 12:16:44 +0000 (13:16 +0100)]
Update RPM spec with feedback from Fedora review

12 years agoAdd link to download area v0.1.0
Daniel Berrange [Wed, 7 Apr 2010 23:23:59 +0000 (00:23 +0100)]
Add link to download area

12 years agoBump release to 0.1.0 & other release prep work
Daniel Berrange [Wed, 7 Apr 2010 23:17:59 +0000 (00:17 +0100)]
Bump release to 0.1.0 & other release prep work

* AUTHORS, NEWS: Fill out basic info.
* Makefile.am, gitlog-to-changelog: Setup ChangeLog to be
  autogenerated from GIT logs.
* configure.ac Bump release to 0.1.0

12 years agoFix tagline in about dialog
Daniel Berrange [Wed, 7 Apr 2010 23:04:27 +0000 (00:04 +0100)]
Fix tagline in about dialog

12 years agoFix bug in thread locking upon error scenarios
Daniel Berrange [Wed, 7 Apr 2010 23:03:59 +0000 (00:03 +0100)]
Fix bug in thread locking upon error scenarios

When breaking out of the task loop it is neccesary to reacquire the

12 years agoFix hang when changing configuration values
Daniel Berrange [Wed, 7 Apr 2010 22:32:04 +0000 (23:32 +0100)]
Fix hang when changing configuration values

The camera schedular thread runs continuously in the background
waiting for events. It is thus neccessary to pause this background
thread whenever updating a control value in the foreground thread.

12 years agoAdd filename labels in session browser & image info popup
Daniel Berrange [Mon, 5 Apr 2010 20:07:14 +0000 (21:07 +0100)]
Add filename labels in session browser & image info popup

12 years agoFix thumbnail orientation
Daniel Berrange [Mon, 5 Apr 2010 14:56:46 +0000 (15:56 +0100)]
Fix thumbnail orientation

12 years agoFix logic bug that broke thumbnail resizing
Daniel Berrange [Mon, 5 Apr 2010 14:30:54 +0000 (15:30 +0100)]
Fix logic bug that broke thumbnail resizing

12 years agoSet widget readonly state on camera controls
Daniel Berrange [Sun, 4 Apr 2010 23:03:52 +0000 (00:03 +0100)]
Set widget readonly state on camera controls

GPhoto now has an API for discovering whether a camera control
is readonly. This can be used to set the GTK widget to be non

12 years agoRewrite filename generation code to preserve original extension
Daniel Berrange [Sun, 4 Apr 2010 22:48:14 +0000 (23:48 +0100)]
Rewrite filename generation code to preserve original extension

Rewrite the session filename generation code to preserve the
original filename extension as provided by the camera/gphoto.
ie stop giving raw files a .jpeg extension !

12 years agoAdd & ignore GP_EVENT_CAPTURE_COMPLETE to prevent bogus failures
Daniel Berrange [Sun, 4 Apr 2010 22:47:44 +0000 (23:47 +0100)]
Add & ignore GP_EVENT_CAPTURE_COMPLETE to prevent bogus failures

12 years agoAllow presentation mode to set monitor to diplay on
Daniel Berrange [Fri, 2 Apr 2010 20:37:00 +0000 (21:37 +0100)]
Allow presentation mode to set monitor to diplay on

The view menu gets popupulated with a list of named monitors in
the screen. The presentation mode can be switched between the
different monitors. Fullscreen also now hides the menubar

12 years agoAdd a real presentation mode
Daniel Berrange [Wed, 31 Mar 2010 22:14:06 +0000 (23:14 +0100)]
Add a real presentation mode

Add a real presentation mode where the only thing visible is the image
display window, in fullscreen.

12 years agoUse proper glib API for finding user pictures directory
Daniel Berrange [Wed, 31 Mar 2010 21:32:40 +0000 (22:32 +0100)]
Use proper glib API for finding user pictures directory

12 years agoPort to gudev library
Daniel Berrange [Wed, 31 Mar 2010 21:13:54 +0000 (22:13 +0100)]
Port to gudev library

Use the gudev library for monitoring devices in preference to
HAL, where available

12 years agoFix 100% cpu loop on camera disconnect & potential crash
Daniel Berrange [Wed, 31 Mar 2010 20:19:24 +0000 (21:19 +0100)]
Fix 100% cpu loop on camera disconnect & potential crash

When the camera disconnects care must be taken that all camera
functions return false and not try to access a NULL gphoto camera
object. The background event loop must also check for a disconnected
camera and not spin 100% cpu waiting for events that will never

12 years agoFix thread safety in task-end callback & disconnect camera
Daniel Berrange [Wed, 31 Mar 2010 20:18:06 +0000 (21:18 +0100)]
Fix thread safety in task-end callback & disconnect camera

The task-end callback invokes GTK functions and is emitted from
a background thread, thus it must be protected by the GDK threads

When the camera is removed from the camera manager, the camera
must be switched to disconnected state

12 years agoRename Capa -> Entangle
Daniel Berrange [Tue, 30 Mar 2010 20:59:57 +0000 (21:59 +0100)]
Rename Capa -> Entangle

Renaming the project from "Capa" to "Entangle". This renames all
files with 'capa' in the name, and changes all source code symbols
and strings to match.

12 years agoAdd cast from gsize to int to avoid printf warning
Daniel P. Berrange [Thu, 18 Mar 2010 01:03:28 +0000 (01:03 +0000)]
Add cast from gsize to int to avoid printf warning

12 years agoReadd port property mistakenly removed
Daniel P. Berrange [Mon, 15 Mar 2010 22:51:29 +0000 (22:51 +0000)]
Readd port property mistakenly removed

12 years agoAdd initial impl of gconf configuration store
Daniel P. Berrange [Sun, 14 Mar 2010 13:01:24 +0000 (13:01 +0000)]
Add initial impl of gconf configuration store

12 years agoAdd setters/getters for control panel, session browser & camera manager objects
Daniel P. Berrange [Sat, 13 Mar 2010 11:27:55 +0000 (11:27 +0000)]
Add setters/getters for control panel, session browser & camera manager objects

12 years agoRemove all unneccessary G_OBJECT casts
Daniel P. Berrange [Fri, 12 Mar 2010 22:44:51 +0000 (22:44 +0000)]
Remove all unneccessary G_OBJECT casts

12 years agoAdd getter/setters for image display object properties
Daniel P. Berrange [Fri, 12 Mar 2010 22:18:15 +0000 (22:18 +0000)]
Add getter/setters for image display object properties

12 years agoAdd setter for camera file mimetype
Daniel P. Berrange [Fri, 12 Mar 2010 21:46:41 +0000 (21:46 +0000)]
Add setter for camera file mimetype

12 years agoAdd setters/getters for camera info object
Daniel P. Berrange [Fri, 12 Mar 2010 21:24:55 +0000 (21:24 +0000)]
Add setters/getters for camera info object

12 years agoAdd setters/getters to pixbuf loader object
Daniel P. Berrange [Fri, 12 Mar 2010 21:12:09 +0000 (21:12 +0000)]
Add setters/getters to pixbuf loader object

12 years agoAdd getter & setter for camera progress property
Daniel P. Berrange [Fri, 12 Mar 2010 19:37:53 +0000 (19:37 +0000)]
Add getter & setter for camera progress property

12 years agoStandard naming convention for "getters" on camera class
Daniel P. Berrange [Fri, 12 Mar 2010 19:24:19 +0000 (19:24 +0000)]
Standard naming convention for "getters" on camera class

12 years agoCache camera docs to avoid possible thread race condition
Daniel P. Berrange [Fri, 12 Mar 2010 19:16:08 +0000 (19:16 +0000)]
Cache camera docs to avoid possible thread race condition

The gphoto library must only be used from one thread at once for
absolute safety, so camera driver/manual/summary strings should
be cached just in case

12 years agoFix session changing code
Daniel P. Berrange [Fri, 12 Mar 2010 19:02:51 +0000 (19:02 +0000)]
Fix session changing code

The session changing code was setting a property which no longer
exists on the camera class

12 years agoFix printf format specifier
Daniel P. Berrange [Sat, 6 Mar 2010 10:58:36 +0000 (10:58 +0000)]
Fix printf format specifier

12 years agoBasic framework for new config management system
Daniel P. Berrange [Sat, 6 Mar 2010 10:57:23 +0000 (10:57 +0000)]
Basic framework for new config management system

* backend/capa-config-entry.h, backend/capa-config-entry.c: Object
  for a single configuration value
* backend/capa-config-set.h, backend/capa-config-set.c: Object for
  a group of configuration values
* backend/capa-config-store.c, backend/capa-config-store.c: Backing
  store for all configuration values

12 years agoSwitch capture/preview/monitor over to scheduler task & rip out old code
Daniel P. Berrange [Mon, 15 Feb 2010 00:54:27 +0000 (00:54 +0000)]
Switch capture/preview/monitor over to scheduler task & rip out old code

The old threads code from the camera class is ripped out. The camera
manager frontend now triggers all operations via the new camera
scheduler object.

12 years agoAdd progress debug logging on control building process
Daniel P. Berrange [Mon, 15 Feb 2010 00:48:14 +0000 (00:48 +0000)]
Add progress debug logging on control building process

12 years agoFix typo in object class name
Daniel P. Berrange [Mon, 15 Feb 2010 00:47:45 +0000 (00:47 +0000)]
Fix typo in object class name

12 years agoCamera execution script and task system
Daniel P. Berrange [Sat, 16 Jan 2010 22:32:53 +0000 (22:32 +0000)]
Camera execution script and task system

To make the capture process more flexible, the hardcoded preview,
monitor & capture threads need to be moved out of the camera
class. This commit introduces a general purpose camera scheduler
that runs in a background thread monitoring for events. It then
accepts queuing of tasks to execute. Tasks are provided for the
basic operations.

12 years agoRefactor camera capture routines to prepare for scripts
Daniel P. Berrange [Thu, 14 Jan 2010 20:34:24 +0000 (20:34 +0000)]
Refactor camera capture routines to prepare for scripts

Introduce an explicit object for representing a file on the camera.
Separate out methods for capturing, downloading & deleting files
from the camera. Rewrite existing background threads to use the
new APIs.

13 years agoDon't abort monitoring when getting an unexpected event
Daniel P. Berrange [Tue, 12 Jan 2010 23:28:42 +0000 (23:28 +0000)]
Don't abort monitoring when getting an unexpected event

13 years agoIgnore Makefile.am file
berrange [Tue, 12 Jan 2010 20:02:14 +0000 (20:02 +0000)]
Ignore Makefile.am file

13 years agoMerge CapaPluginBase into CapaPlugin inteface
Daniel P. Berrange [Sun, 10 Jan 2010 21:50:13 +0000 (21:50 +0000)]
Merge CapaPluginBase into CapaPlugin inteface

The CapaPlugin interface was not serving any useful purpose. This
change merges the CapaPluginBase abstract class into CapaPlugin
removing the interface

13 years agoFix gint64 printf format specifier for x86_64
Daniel P. Berrange [Mon, 11 Jan 2010 23:31:27 +0000 (18:31 -0500)]
Fix gint64 printf format specifier for x86_64

Can't assume that gint64 format specific is %llu on x86_64. GLib
provides a portable macro G_GUINT64_FORMAT so use that instead.

13 years agoRename all source files added 'capa-' prefix
Daniel P. Berrange [Sun, 10 Jan 2010 19:37:56 +0000 (19:37 +0000)]
Rename all source files added 'capa-' prefix

Avoid potential include file namespace problems by adding a 'capa-'
prefix to all source files

13 years agoIntegrate with gtk-doc for API reference generation
Daniel P. Berrange [Sun, 10 Jan 2010 16:35:19 +0000 (16:35 +0000)]
Integrate with gtk-doc for API reference generation

13 years agoRemove auto-generated INSTALL file
Daniel P. Berrange [Sun, 10 Jan 2010 15:36:21 +0000 (15:36 +0000)]
Remove auto-generated INSTALL file

13 years agoMove debug variables out of main.c into separate debug.c
Daniel P. Berrange [Sun, 10 Jan 2010 15:35:24 +0000 (15:35 +0000)]
Move debug variables out of main.c into separate debug.c

In order for gtk-doc to link to the library for scanning, it is
neccessary to move the debug flags into a separate file.

13 years agoRename some methods in CapaApp and annotate for introspection data
Daniel P. Berrange [Sun, 10 Jan 2010 14:46:13 +0000 (14:46 +0000)]
Rename some methods in CapaApp and annotate for introspection data

The introspection transfer mode was incorrect for methods in
CapaApp, so they had to be annotated. The getters are also renamed
to add 'get_' prefix.

13 years agoTurn off colour profile debugging
Daniel P. Berrange [Sat, 9 Jan 2010 16:51:57 +0000 (16:51 +0000)]
Turn off colour profile debugging

13 years agoPass the 'CapaPlugin' instance to the plugin activate methods
Daniel P. Berrange [Sun, 3 Jan 2010 20:07:36 +0000 (20:07 +0000)]
Pass the 'CapaPlugin' instance to the plugin activate methods

The plugin may need to know its base directory in order to load
other assets such as images. To allow for this, it is neccessary
to pass the CapaPlugin instance into the plugin's activate/deactive

13 years agoSwitch UI out of operation mode when camera is removed
Daniel P. Berrange [Sun, 3 Jan 2010 19:52:53 +0000 (19:52 +0000)]
Switch UI out of operation mode when camera is removed

The current camera may be removed from the manager window while an
operation is in progress (particularly when monitoring for new images
in the background). In this case it is neccessary to toggle the
'inOperation' flag to update the UI

13 years agoRemove obsolete, unused 'camera-progress' window definition
Daniel P. Berrange [Sun, 3 Jan 2010 19:49:54 +0000 (19:49 +0000)]
Remove obsolete, unused 'camera-progress' window definition

The camera progress window was removed in a previous commit, the
progress display being incorporated into the main manager window.
The glade definition of the 'camera-progress' window is thus
obsolete & unused.

13 years agoFix crash in background thread when progress monitor is removed
Daniel P. Berrange [Sun, 3 Jan 2010 19:41:27 +0000 (19:41 +0000)]
Fix crash in background thread when progress monitor is removed

When disconnecting the UI from a camera, there may still be a
background job active using the progress monitor. Therefore it
is neccessary to include checks for NULL on the progress object

13 years agoDisconnect camera from display when camera is removed
Daniel P. Berrange [Sun, 3 Jan 2010 18:26:22 +0000 (18:26 +0000)]
Disconnect camera from display when camera is removed

When a camera is removed, and it matches the camera currently opened
in the display, it must be removed, disabling the UI.

13 years agoMake 'CapaAppDisplay' inherit from 'CapaApp'
Daniel P. Berrange [Sun, 3 Jan 2010 18:19:46 +0000 (18:19 +0000)]
Make 'CapaAppDisplay' inherit from 'CapaApp'

The plugins get given a handle to a 'CapaApp' instance. By making
the CapaAppDisplay type inherit from 'CapaApp', they can get access
to the UI objects

13 years agoClarify warning text when camera cannot be connected to
Daniel P. Berrange [Sun, 3 Jan 2010 18:13:43 +0000 (18:13 +0000)]
Clarify warning text when camera cannot be connected to

13 years agoFix missing word in camera picker warning message
Daniel P. Berrange [Sun, 3 Jan 2010 18:12:33 +0000 (18:12 +0000)]
Fix missing word in camera picker warning message

* src/capa.glade: Add missing 'when' in warning message

13 years agoInclude a relative timestamp in log messages
Daniel P. Berrange [Tue, 29 Dec 2009 18:25:58 +0000 (18:25 +0000)]
Include a relative timestamp in log messages

13 years agoBasic UI for plugin preferences / management
Daniel P. Berrange [Tue, 29 Dec 2009 18:25:15 +0000 (18:25 +0000)]
Basic UI for plugin preferences / management

13 years agoJavascript plugins based on GJS runtime
Daniel P. Berrange [Mon, 28 Dec 2009 15:38:50 +0000 (15:38 +0000)]
Javascript plugins based on GJS runtime

13 years agoRename GIR data to use initial caps as per GObject standards
Daniel P. Berrange [Mon, 28 Dec 2009 15:40:24 +0000 (15:40 +0000)]
Rename GIR data to use initial caps as per GObject standards

13 years agoPreliminary plugin script with dlopen()
Daniel P. Berrange [Sun, 27 Dec 2009 19:33:24 +0000 (19:33 +0000)]
Preliminary plugin script with dlopen()

13 years agoUpdate screenshots to reflect current UI design
Daniel P. Berrange [Sat, 12 Dec 2009 18:56:15 +0000 (18:56 +0000)]
Update screenshots to reflect current UI design

13 years agoUpdate the website content to match current reality
Daniel P. Berrange [Sun, 6 Dec 2009 18:36:14 +0000 (18:36 +0000)]
Update the website content to match current reality

13 years agoRe-order buttons on toolbar to move important ones to the left
Daniel P. Berrange [Sun, 6 Dec 2009 16:15:07 +0000 (16:15 +0000)]
Re-order buttons on toolbar to move important ones to the left

13 years agoMerge capture/preview/monitor tool buttons into one
Daniel P. Berrange [Sun, 6 Dec 2009 16:11:39 +0000 (16:11 +0000)]
Merge capture/preview/monitor tool buttons into one

Declutter the toolbar slightly by merging the separate buttons for
capture/preview/montior into one button with a drop down menu. This
will also allow scripts to populate the menu with other options
like timed/sequenced shooting

13 years agoPull the progress display into the toolbar instead of popup window
Daniel P. Berrange [Sun, 6 Dec 2009 15:36:49 +0000 (15:36 +0000)]
Pull the progress display into the toolbar instead of popup window

13 years agoMisc enhancements to colour management
Daniel P. Berrange [Sat, 5 Dec 2009 18:20:58 +0000 (18:20 +0000)]
Misc enhancements to colour management

* Auto-rebuild colour transform when preferences change
* Fix crash when a profile is NULL
* Honour requested rendering intent

13 years agoAuto apply any orientation info when displaying images/thumbnails
Daniel P. Berrange [Sat, 5 Dec 2009 17:42:22 +0000 (17:42 +0000)]
Auto apply any orientation info when displaying images/thumbnails

13 years agoFix build ordering dependancy for generated enums
Daniel P. Berrange [Fri, 4 Dec 2009 17:27:19 +0000 (17:27 +0000)]
Fix build ordering dependancy for generated enums

13 years agoRemove obsolete comment and class variable
Daniel P. Berrange [Fri, 4 Dec 2009 17:12:50 +0000 (17:12 +0000)]
Remove obsolete comment and class variable

13 years agoIntroduce an async thumbnail loader
Daniel P. Berrange [Fri, 4 Dec 2009 17:10:32 +0000 (17:10 +0000)]
Introduce an async thumbnail loader

Subclass pixbuf loader to provide a thumbnail loader. Attempts to
following the thumbnail spec for caching thumbnails


13 years agoPull most of image loader out into a abstract pixbuf loader base
Daniel P. Berrange [Fri, 4 Dec 2009 14:37:22 +0000 (14:37 +0000)]
Pull most of image loader out into a abstract pixbuf loader base

Introduce a CapaPixbufLoader base class which does most of the
image loading work. This will allow a subclass for doing thumbnail
generation/loading to reuse most functionality.

13 years agoIntegrate with libunique to ensure we're always a single-instance app
Daniel P. Berrange [Wed, 2 Dec 2009 21:57:41 +0000 (21:57 +0000)]
Integrate with libunique to ensure we're always a single-instance app

13 years agoIntegrate with startup notification library
Daniel P. Berrange [Wed, 2 Dec 2009 21:44:16 +0000 (21:44 +0000)]
Integrate with startup notification library

13 years agoTurn camera manager window into a singleton
Daniel P. Berrange [Wed, 2 Dec 2009 21:19:03 +0000 (21:19 +0000)]
Turn camera manager window into a singleton

Always display the camera manager window, even if no camera is
present. Fix bugs in disconnecting from camera.

13 years agoAutomatically connect to the camera if exactly one is found
Daniel P. Berrange [Wed, 2 Dec 2009 20:17:02 +0000 (20:17 +0000)]
Automatically connect to the camera if exactly one is found

If there is only a choice of one single camera, then we will
automatically connect to it when starting up,instead of showing
the camera picker dialog.

13 years agoIntroduce a background image loader for main image display
Daniel P. Berrange [Sun, 29 Nov 2009 18:13:34 +0000 (18:13 +0000)]
Introduce a background image loader for main image display

Use a thread pool to load images in the background without blocking
the main UI. Wire the thread loader into the main image display

13 years agoWire up preferences to GConf for persistent storage
Daniel P. Berrange [Sat, 28 Nov 2009 20:11:56 +0000 (20:11 +0000)]
Wire up preferences to GConf for persistent storage

13 years agoApply changes to preferences from editor form
Daniel P. Berrange [Sat, 28 Nov 2009 18:28:12 +0000 (18:28 +0000)]
Apply changes to preferences from editor form

13 years agoAdd missing ref count in previous commit
Daniel P. Berrange [Sat, 28 Nov 2009 17:48:50 +0000 (17:48 +0000)]
Add missing ref count in previous commit

13 years agoApply colour profile transform according to configured preferences
Daniel P. Berrange [Sat, 28 Nov 2009 17:08:27 +0000 (17:08 +0000)]
Apply colour profile transform according to configured preferences

13 years agoTiny whitespace tweak
Daniel P. Berrange [Fri, 27 Nov 2009 19:14:35 +0000 (19:14 +0000)]
Tiny whitespace tweak

13 years agoCreate a preferences dialog
Daniel P. Berrange [Fri, 27 Nov 2009 19:12:00 +0000 (19:12 +0000)]
Create a preferences dialog

13 years agoInitial support for ICC profile conversion of images when displayed
Daniel P. Berrange [Mon, 9 Nov 2009 22:35:06 +0000 (22:35 +0000)]
Initial support for ICC profile conversion of images when displayed

Adds basic support for applying ICC profiles to captured images
when displayed in the main image viewer. Needs to be hooked up
to preferences to control rendering intent and ICC filenames

* capa.spec.in: Add BuildRequires: lcms-devel
* configure.ac: Add pkgconfig check for lcms
* src/Makefile.am: Add lcms linker/cflags
* src/backend/colour-profile.c, src/backend/colour-profile.h: Add
  an object for representing a colour profile
* src/frontend/camera-manager.c: Quick nasty hack to apply a profile

13 years agoReally fix threading issues
Daniel P. Berrange [Mon, 19 Oct 2009 23:18:04 +0000 (00:18 +0100)]
Really fix threading issues

* src/backend/camera.h, src/backend/camera.c: Add thread funcs
  to be registered, and call when emitting signals froma thread.
  Remove idle func hack which was useless
* src/frontend/camera-manager.c: Register gdk thread funcs with
  camera class.
* src/main.c: Enter threads before running main loop