Daniel P. Berrange [Sun, 16 Dec 2012 22:42:33 +0000 (22:42 +0000)]
Update for 0.5.0 release
Daniel P. Berrange [Sun, 16 Dec 2012 22:29:30 +0000 (22:29 +0000)]
Fix man page target name
Daniel P. Berrange [Sun, 16 Dec 2012 22:29:13 +0000 (22:29 +0000)]
Fix docs generation
Daniel P. Berrange [Sun, 16 Dec 2012 22:09:22 +0000 (22:09 +0000)]
Add LibRaw to list of deps in README
Daniel P. Berrange [Sun, 16 Dec 2012 22:07:06 +0000 (22:07 +0000)]
Refresh translations
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
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
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.
Daniel P. Berrange [Sun, 9 Dec 2012 21:32:43 +0000 (21:32 +0000)]
Tweak debugging in event logging
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
Daniel P. Berrange [Wed, 5 Dec 2012 23:28:16 +0000 (23:28 +0000)]
Add support for onion skin preferences
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.
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.
Daniel P. Berrange [Wed, 5 Dec 2012 21:59:42 +0000 (21:59 +0000)]
Sort images by name instead of modified date
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.
Daniel P. Berrange [Wed, 28 Nov 2012 22:09:10 +0000 (22:09 +0000)]
Reindent to normalize whitespace
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>
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>
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>
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
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.
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>
Daniel P. Berrange [Wed, 12 Sep 2012 10:47:57 +0000 (11:47 +0100)]
Fix typo in man page name
Daniel P. Berrange [Thu, 6 Sep 2012 19:34:44 +0000 (20:34 +0100)]
Update NEWS for 0.4.1 release
Daniel P. Berrange [Thu, 6 Sep 2012 19:28:02 +0000 (20:28 +0100)]
Allow camera to be NULL
Re-add
9a977e23d9f399b8ae2afab98cddec0022e5a276 accidentally
reverted
Daniel P. Berrange [Thu, 6 Sep 2012 19:25:11 +0000 (20:25 +0100)]
Remove bogus assertion check
Daniel P. Berrange [Thu, 6 Sep 2012 19:19:50 +0000 (20:19 +0100)]
Control histogram height to match default icon panel height
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
Daniel P. Berrange [Thu, 6 Sep 2012 19:10:30 +0000 (20:10 +0100)]
Allow camera to be NULL in control panel
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
Daniel P. Berrange [Sun, 2 Sep 2012 04:02:44 +0000 (21:02 -0700)]
Fix unref of cairo surface object in image display
Daniel P. Berrange [Sun, 2 Sep 2012 03:54:49 +0000 (20:54 -0700)]
Add accelerators for menu options
Daniel P. Berrange [Sun, 2 Sep 2012 03:45:36 +0000 (20:45 -0700)]
Add further protection in API calls
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
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
Daniel P. Berrange [Sat, 1 Sep 2012 22:16:32 +0000 (15:16 -0700)]
Remove tabs from previous commit
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
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
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
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
Daniel P. Berrange [Sat, 1 Sep 2012 15:52:11 +0000 (08:52 -0700)]
Change gfloat to gdouble in image display
There is some inconsistent use of gfloat vs gdouble in files.
Switch to using gdouble in the image display to address this.
Bug #20122
Daniel P. Berrange [Sat, 1 Sep 2012 15:47:25 +0000 (08:47 -0700)]
Fix some data types to use the glib variants
Daniel P. Berrange [Sat, 1 Sep 2012 15:47:25 +0000 (08:47 -0700)]
Fix aspect ratio string->double conversion to be locale-indepedent
The strtod() function has variable meaning for '.' according to
the locale. This caused the aspect ratio conversions to go wrong.
Switch to using g_ascii_strtod() instead. Bug #19929
Daniel P. Berrange [Thu, 30 Aug 2012 23:43:39 +0000 (16:43 -0700)]
Add object type checking to all backend public APIs
Daniel P. Berrange [Thu, 30 Aug 2012 19:35:29 +0000 (12:35 -0700)]
Add missing include of locale.h
Daniel P. Berrange [Thu, 30 Aug 2012 19:35:17 +0000 (12:35 -0700)]
Fix memory handling when updating plugins
Daniel P. Berrange [Thu, 16 Aug 2012 12:05:24 +0000 (13:05 +0100)]
Maintain plugin list in preferences & load them on startup
Introduce a new preference which stores the list of plugins
which are loaded. Use the PeasGtkPluginEngine widget to allow
the user to enable/disable plugins
Daniel P. Berrange [Thu, 16 Aug 2012 11:17:51 +0000 (12:17 +0100)]
Load Peas introspection data
The Peas library requires that its GObject Introspection metadata
is loaded prior to searching for plugins
Daniel P. Berrange [Mon, 27 Jun 2011 22:38:58 +0000 (23:38 +0100)]
Add support for displaying an image histogram in the control panel
The control panel is changed to be always visible even when no
camera is connected. This is to allow it to display the histogram
for the selected image
Daniel P. Berrange [Sun, 12 Aug 2012 22:46:01 +0000 (23:46 +0100)]
Don't clear image pixbuf while a popup is still open
Daniel P. Berrange [Sun, 12 Aug 2012 22:45:43 +0000 (23:45 +0100)]
Ensure popup-close signal is always invoked in all code paths
Daniel P. Berrange [Sun, 12 Aug 2012 22:28:49 +0000 (23:28 +0100)]
Fix drag popup when image is already selected
If the image was already selected in the session browser, then
a drag would not be initialized.
Daniel P. Berrange [Sun, 12 Aug 2012 22:25:16 +0000 (23:25 +0100)]
Use key press handler in session browser
If the key release handler is used in session browser for
procesing keys, then some parent handler might take action
based on the key press event before we get a chance to
Daniel P. Berrange [Sun, 12 Aug 2012 22:03:13 +0000 (23:03 +0100)]
Fix widget leak when closing image popup
When the EntangleImagePopup class was unref'd the GtkWindow
still remained in existance. Fix this by destroying the window
in the popup finalize method
Daniel P. Berrange [Sun, 12 Aug 2012 21:52:03 +0000 (22:52 +0100)]
Fix memory leak when displaying image popup
If the image already has an active popup, attempting to display
it again will leak a reference count
Daniel P. Berrange [Sun, 12 Aug 2012 21:40:17 +0000 (22:40 +0100)]
Keep toolbar dir in sync with current session dir
Daniel P. Berrange [Sun, 12 Aug 2012 21:34:32 +0000 (22:34 +0100)]
Close all image popups when changing session
Daniel P. Berrange [Sun, 12 Aug 2012 21:25:13 +0000 (22:25 +0100)]
Clear cached image pixbuf when unselecting image
When the current image is selected, set its pixbuf to NULL
Daniel P. Berrange [Sun, 8 Jul 2012 16:53:22 +0000 (17:53 +0100)]
Ensure RPM builds are verbose
Daniel P. Berrange [Sun, 8 Jul 2012 16:52:58 +0000 (17:52 +0100)]
Add mouse scroll support to session browser widget
Daniel P. Berrange [Sun, 8 Jul 2012 16:39:39 +0000 (17:39 +0100)]
Fix return type of mouse press handler
Daniel P. Berrange [Sun, 8 Jul 2012 16:21:59 +0000 (17:21 +0100)]
Release 0.4.0
Daniel P. Berrange [Sun, 8 Jul 2012 16:21:33 +0000 (17:21 +0100)]
Add missing RPM BR on intltool. Remove duplicate image
Daniel P. Berrange [Sun, 8 Jul 2012 15:55:23 +0000 (16:55 +0100)]
Refresh translations
Daniel P. Berrange [Sun, 8 Jul 2012 15:51:36 +0000 (16:51 +0100)]
Fix syntax check errors
Daniel P. Berrange [Sun, 8 Jul 2012 15:31:30 +0000 (16:31 +0100)]
Add custom icons for capture/preview
Introduce custom icons for capture & preview buttons
Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Daniel P. Berrange [Sun, 8 Jul 2012 14:45:11 +0000 (15:45 +0100)]
Add ability to synchronize shooting between windows
Move the 'New window' menu item to a new "Windows" menu,
and introduce a "Synchronize windows" menu item to sync
capture and preview
Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Daniel P. Berrange [Sun, 8 Jul 2012 14:11:32 +0000 (15:11 +0100)]
Re-enable drag for popups
Re-enable code for D-N-D creation of image popups
Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Daniel P. Berrange [Sun, 8 Jul 2012 13:37:45 +0000 (14:37 +0100)]
Add popup menu in session browser
Add a popup menu in the session browser which can be used for
deleteing unwanted images, and opening images in external
applications
Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Daniel P. Berrange [Sun, 8 Jul 2012 10:46:24 +0000 (11:46 +0100)]
Merge 'new session' and 'open session' into 'select session'
Since the "Open Folder" widget is capable of creating folders,
there is no compelling reason for a separate "New folder"
widget. Merge them into one and use a popup menu in the
toolbar for selecting folder
Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Daniel P. Berrange [Sun, 8 Jul 2012 10:29:07 +0000 (11:29 +0100)]
Add grid lines mode quarters
Add another grid lines mode splitting the screen into quarters
Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Daniel P. Berrange [Sun, 8 Jul 2012 10:23:01 +0000 (11:23 +0100)]
Add missing property handling
Fix missing property handling for 'img-mask-enabled'
Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Daniel P. Berrange [Sun, 8 Jul 2012 10:13:56 +0000 (11:13 +0100)]
Enable rendering of focus point / grid lines during preview
Honour the preferences for focus point / grid lines during
preview mode
Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Daniel P. Berrange [Sun, 8 Jul 2012 10:07:13 +0000 (11:07 +0100)]
preferences for focus point / grid lines
Add preferences to control whether the focus point and grid
lines are displayed during preview mode
Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Daniel P. Berrange [Fri, 6 Jul 2012 21:11:38 +0000 (22:11 +0100)]
Add ability to draw grid lines in image display
Enhance EntangleImageDisplay to enable it to rendere a set
of grid liens, using various different policies
Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Daniel P. Berrange [Fri, 6 Jul 2012 19:36:41 +0000 (20:36 +0100)]
Add ability to draw a focus point in the image display
Enhance the EntangleImageDisplay widget to render a center
focus point square
Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Daniel P. Berrange [Mon, 2 Jul 2012 21:12:05 +0000 (22:12 +0100)]
Add ability to blank screen while capturing images
Add a new preference to control screen blanking. If enabled,
the screen will be blanked via DPMS Standby mode while the
image is captured, and unblanked afterwards. Any mouse or
keyboard movement will also unblank the screen early.
Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Daniel P. Berrange [Mon, 2 Jul 2012 20:53:10 +0000 (21:53 +0100)]
Add APIs for screen blanking via X11 DPMS extension
Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Daniel P. Berrange [Mon, 2 Jul 2012 19:56:03 +0000 (20:56 +0100)]
Fix two horrible memory leaks of EntangleImage
The preview code would leak every single frame captured during
preview.
The browser code would leak every single image in each folder
opened
Daniel P. Berrange [Sun, 1 Jul 2012 23:16:02 +0000 (00:16 +0100)]
Update RPM spec to add new images
Daniel P. Berrange [Sun, 1 Jul 2012 22:12:31 +0000 (23:12 +0100)]
Fix misc syntax-check problems
Daniel P. Berrange [Sun, 1 Jul 2012 22:00:36 +0000 (23:00 +0100)]
Add missing imageviewer icons
Daniel P. Berrange [Sun, 1 Jul 2012 21:58:51 +0000 (22:58 +0100)]
Rewrite session browser widget
Stop playing hacks with the GtkIconView class since it is
frequently breaking and does not render in the desired style
Replace with a custom written widget, derived from the
GtkIconView code, but set to only render everything in
one single row
Daniel P. Berrange [Sun, 1 Jul 2012 21:58:32 +0000 (22:58 +0100)]
Fix update of mask opacity property
Daniel P. Berrange [Sun, 1 Jul 2012 21:57:34 +0000 (22:57 +0100)]
Fix type of aspect ratio property
The aspect ratio property was mistakenly declared as an int
instead of a string.
Daniel P. Berrange [Sun, 1 Jul 2012 21:56:51 +0000 (22:56 +0100)]
Don't fill thumbnail edges with black
Set thumbnail edges to be transparent to allow widget
background colour to show
Daniel P. Berrange [Sun, 1 Jul 2012 16:00:09 +0000 (17:00 +0100)]
Ensure UI updates when aspect ratio preferences are changed
Daniel P. Berrange [Sun, 1 Jul 2012 15:37:09 +0000 (16:37 +0100)]
Allow aspect ratio mask to be toggled on/off more easily
Instead of overloading the 'aspect-ratio' preference to '' to
signify disabled mask, use an explicit 'mask-enabled' pref.
Also allow the key 'm' to toggle it on/off
Daniel P. Berrange [Sun, 1 Jul 2012 15:18:16 +0000 (16:18 +0100)]
Add some key shortcuts for common operations
Allow use of keys
- 's' - trigger the shutter
- 'p' - toggle 'live view' preview
- 'esc' - cancel the current operation
Signed-off-by: Daniel P. Berrange <dan@berrange.com>
Daniel P. Berrange [Thu, 21 Jun 2012 19:59:45 +0000 (20:59 +0100)]
Fix notification of preference changes
Daniel P. Berrange [Thu, 21 Jun 2012 19:46:27 +0000 (20:46 +0100)]
Add preferences for configuring image mask aspect ratio
Add preferences for setting aspect ratio for image mask,
and its opacity. Also add UI for controlling it
Daniel P. Berrange [Tue, 19 Jun 2012 21:29:49 +0000 (22:29 +0100)]
Extend EntangleImageDisplay to support aspect ratio masks
Allow the image display to mask off the borders of the displayed
image to simulate cropping to an alternate aspect ratio
Daniel P. Berrange [Mon, 30 Apr 2012 21:36:53 +0000 (22:36 +0100)]
Add preference for auto-connect of cameras
Allow automatic connection at startup to be disabled via
a preference. Also rename 'folders' to 'capture' in glade
Daniel P. Berrange [Mon, 30 Apr 2012 20:51:24 +0000 (21:51 +0100)]
Auto-connect to all cameras on startup
Daniel P. Berrange [Wed, 25 Apr 2012 22:20:45 +0000 (23:20 +0100)]
Add support for multiple windows
Daniel P. Berrange [Wed, 25 Apr 2012 21:53:47 +0000 (22:53 +0100)]
Rename EntangleContext to EntangleApplication
Nothing in the backend needs to the EntangleContext, so
rename it to EntangleApplication and make it subclass
GtkApplication
Daniel P. Berrange [Wed, 25 Apr 2012 21:19:06 +0000 (22:19 +0100)]
Move camera list population code out of EntangleContext
Daniel P. Berrange [Wed, 25 Apr 2012 20:50:16 +0000 (21:50 +0100)]
Update file header comments
Daniel P. Berrange [Wed, 25 Apr 2012 20:35:53 +0000 (21:35 +0100)]
Properly use GtkApplication by registering windows
Daniel P. Berrange [Wed, 25 Apr 2012 20:35:22 +0000 (21:35 +0100)]
Add missing impl of entangle_context_get_application