summaryrefslogtreecommitdiff
path: root/libcheese
AgeCommit message (Collapse)AuthorFilesLines
2015-07-10camera: avoid confusing error messageHEADmasterWim Taymans1-1/+1
Report about the name of the missing element instead of some other unrelated string.
2015-04-28Silence a gtk-doc undeclared symbol warningDavid King1-2/+4
Split the typedef of CheeseVideoFormat out, so that gtk-doc does not report an undeclared symbol.
2015-04-13Use G_DECLARE_FINAL_TYPE where possibleDavid King14-236/+63
2015-02-16Avoid warnings from -Wswitch-enumDavid King2-22/+10
Check switch statements where several cases are intentionally not handled by using an if instead.
2015-02-16Avoid a preprocessor warningDavid King1-0/+2
2015-02-16Fix const cast warningsDavid King1-2/+7
2015-02-16Fix signedness comparison errorDavid King1-1/+1
2015-02-16Fix shadowed variableDavid King1-3/+3
2015-02-16Remove old-style function definitionsDavid King2-2/+2
2015-01-07um-crop-area: Fix deprecated API usageRui Matos1-1/+2
https://bugzilla.gnome.org/show_bug.cgi?id=742530
2015-01-07um-crop-area: Enforce a minimum sizeRui Matos1-0/+13
Otherwise, if callers aren't careful, users could resize us so small that we'd crash inside gdk_pixbuf_scale() . https://bugzilla.gnome.org/show_bug.cgi?id=742530
2015-01-07um-crop-area: Fix background rendering around the pictureRui Matos1-35/+27
Instead of trying to fill the displayed pixbuf with the background color (and failing at that), just make the pixbuf be an aspect correct scaled size of the original picture and draw it at the correct offset on the draw vfunc. This allows us to get rid of deprecated gtk+ API usage and fixes the background around the picture ending up black despite de code's intent. https://bugzilla.gnome.org/show_bug.cgi?id=742530
2014-11-25Refactor crop area scaling codeOndrej Holy1-5/+7
Recently committed patch f9d576e was modified before applying it into the g-c-c to be more readable. This patch reflect those changes in cheese. https://bugzilla.gnome.org/show_bug.cgi?id=739870
2014-11-10Limit default size for avatar croppingOndrej Holy1-2/+5
Commit c605ad3578ff66452bd7b01d257f31c64e7905ef enlarged default size for cropping avatars thus crop rectangle could be easily bigger then image. The crop rectagle can't be modified and cc_crop_area_get_picture causes errors if the rectangle is bigger, because it has negative coordinates. Limit the default size to fit the image also. https://bugzilla.gnome.org/show_bug.cgi?id=739870
2014-10-14Use get_instance_private() instead of priv pointerDavid King20-202/+269
Use the generated macro rather than storing a pointer to the private struct within the object.
2014-10-14Drop some trailing semicolons after macrosDavid King3-3/+3
2014-10-14Use new-style private struct in CheeseCameraDeviceDavid King1-10/+7
2014-10-14Use _get_instance_private() consistently in cameraDavid King1-5/+3
Use the new cheese_camera_get_instance_private() instead of the old macro.
2014-10-13Refactor setup_camera() in CheeseWidgetDavid King1-48/+50
Remove superfluous prototype. Use GSettings convenience getters. Reduce scope of some variables.
2014-10-10Avoid using G_GNUC_CONST on _get_type()David King11-12/+12
As the g_type_ensure() documentation notes, it is incorrect to mark a _get_type() method with G_GNUC_CONST, as it as a side effect the first time it is called.
2014-08-18Use config.h instead of cheese-config.hDavid King8-8/+8
Use a standard filename for the genereated configuration header.
2014-07-20Track flash opacity explicitlyBenjamin Herr1-4/+24
Retrieving the opacity of the flash, reducing it by an exponentially small step, and setting it again does not always actually decrease the widget's opacity, and so the fading does not actually terminate. Incidentally, also unset the flash timeout tags to avoid calling g_source_remove() spuriously. https://bugzilla.gnome.org/show_bug.cgi?id=733433
2014-07-20Use a better fallback image locationDavid King1-33/+42
https://bugzilla.gnome.org/show_bug.cgi?id=731032
2014-04-24Use avatar chooser headerbar only when requestedIain Lane1-1/+17
Use headerbar in the avatar chooser dialog only when necessary according to the "gtk-shell-shows-menubar" setting. https://bugzilla.gnome.org/show_bug.cgi?id=728866
2014-03-26Fix untranslated strings in libcheeseYosef Or Boczko5-5/+5
https://bugzilla.gnome.org/show_bug.cgi?id=727082
2014-03-26Use suggested-action style for Select buttonDavid King1-0/+6
2014-03-26Remove the border from the chooser action areaDavid King1-2/+0
2014-03-26Use headerbar in the avatar chooser dialogYosef Or Boczko1-2/+2
Bump GTK+ requirement for the new GtkDialog property. https://bugzilla.gnome.org/show_bug.cgi?id=727076
2014-01-30Replace deprecated gtk_window_*_opacity()David King1-5/+5
Use gtk_widget_*_opacity() instead.
2014-01-08Update FSF AddressDominique Leuenberger3-4/+1
https://bugzilla.gnome.org/show_bug.cgi?id=721536
2013-11-17Use new G_DEFINE_TYPE_WITH_PRIVATE macroDavid King12-249/+215
2013-11-17Remove obsolete enum type filesDavid King2-66/+0
2013-11-15Add a finalize method to CheeseEffectDavid King1-0/+17
The data in CheeseEffectPrivate was not being freed, leading to memory leaks.
2013-11-15Fix memory leak in cheese_camera_set_tags()David King1-0/+1
2013-11-14Fix leaks in cheese_camera_set_video_recording()David King1-0/+4
2013-11-14Fix leak of GtkSizeGroup in CheeseAvatarWidgetDavid King1-4/+5
2013-11-14Chain up to finalize in UmCropAreaDavid King1-0/+2
2013-11-08Avoid using GtkStock, as it is deprecatedDavid King1-2/+2
https://bugzilla.gnome.org/show_bug.cgi?id=710217
2013-11-06Fix memory leak in cheese_camera_device_get_caps()David King1-0/+3
2013-11-06Fix memory leak when creating a new CheeseCameraDavid King1-6/+3
2013-11-06Fix some memory leaks in cheese_fileutil_init()David King1-6/+13
2013-11-06Make static string array constDavid King1-2/+4
2013-11-06Simplify looping over GStrvDavid King1-11/+6
2013-11-06Make cheese_camera_device_monitor_set_up_device staticDavid King1-3/+1
2013-10-30libcheese: Export cheese_avatar_widget_newJasper St. Pierre1-0/+1
2013-10-28Add CheeseAvatarWidgetBastien Nocera4-218/+459
A stand-alone widget for avatar capture, like the avatar chooser but without the precanned dialogue. https://bugzilla.gnome.org/show_bug.cgi?id=710874
2013-10-28Set a reasonable default size for avatar croppingBastien Nocera1-2/+6
The default is based on the minimum 48x48 size. Instead we should be cropping to nearly the maximum size of the image, which would still show the crop handles but would not discard most of the captured image. https://bugzilla.gnome.org/show_bug.cgi?id=710874
2013-10-28Add margins to CheeseAvatarChooserBastien Nocera1-0/+1
https://bugzilla.gnome.org/show_bug.cgi?id=710874
2013-10-28Rename the CheeseAvatarChooser buttonsBastien Nocera1-2/+10
As per mockups: https://raw.github.com/gnome-design-team/gnome-mockups/master/avatar-chooser/avatar-chooser.png https://bugzilla.gnome.org/show_bug.cgi?id=710874
2013-10-28Style the CheeseAvatarChooser button barBastien Nocera1-22/+16
Style the button bar underneath the video widget properly. As per mockups: https://raw.github.com/gnome-design-team/gnome-mockups/master/avatar-chooser/avatar-chooser.png https://bugzilla.gnome.org/show_bug.cgi?id=710874