summaryrefslogtreecommitdiff
path: root/libgnome-desktop
Commit message (Collapse)AuthorAgeFilesLines
* gnome-rr: add a method to discover when underscanning is supportedCosimo Cecchi2015-07-032-0/+11
| | | | | | | So that the control center will be able to hide/show a checkbox accordingly when the hardware supports it. https://bugzilla.gnome.org/show_bug.cgi?id=751814
* gnome-rr: Add dpms-mode information in debugBastien Nocera2015-07-021-0/+30
| | | | When the DPMS mode changes, print the new value.
* gnome-rr: Add dpms-mode propertyBastien Nocera2015-07-022-0/+57
| | | | | | | | So that other parts of the desktop environment can monitor the state of the power saving mode, and disable their own power consuming tasks when the screens are off. https://bugzilla.gnome.org/show_bug.cgi?id=751794
* gnome-rr: Remove unused GNOME_RR_DPMS_DISABLEDBastien Nocera2015-07-021-1/+0
| | | | | | | | GNOME_RR_DPMS_DISABLED is one of the possible values of GnomeRRDpmsMode that's not currently used, and would trigger an assertion if passed to gnome_rr_screen_set_dpms_mode(). https://bugzilla.gnome.org/show_bug.cgi?id=751794
* gnome-xkb-info: Add method to get languages from layoutDaiki Ueno2015-07-022-0/+53
|
* gnome-rr: add tiled monitor supportDave Airlie2015-07-017-5/+476
| | | | | | | | | | | | | | | | | | This adds the interfaces to allow for tiled monitor support via gnome-desktop. 1) add output config get/set tiled geometry/rotation support These hide under the standard APIs, and just set the state for the tiled outputs by setting the primary tile up. 2) add output config API to get primary tile 3) add tile flags to modes - add gather function to create tiled modes for primary outputs. https://bugzilla.gnome.org/show_bug.cgi?id=750311
* GnomeRR: Add support for the underscan propertyTomeu Vizoso2015-04-276-3/+38
| | | | | | | To get and set whether overscan compensation is active in a given output. https://bugzilla.gnome.org/show_bug.cgi?id=748560
* Drop libgsystem submodule, stop using O_NOATIMEColin Walters2015-02-053-29/+7
| | | | | | | | | | | | | | | | | | The entire rationale for adding this _noatime function was fairly bogus. See https://bugzilla.gnome.org/show_bug.cgi?id=680326 But the Linux kernel doesn't permit non-root users to use it for root-owned files - which is the default for real world GNOME installations. We end up doing twice the syscall traffic with no benefit at all. The patch does work in jhbuild, but honestly the relatime handling is generally OK for this, and where it's not, change your system to mount O_NOATIME. https://bugzilla.gnome.org/show_bug.cgi?id=708453
* gnome-rr-config: Remove checks around g_strdupJasper St. Pierre2015-01-081-10/+6
| | | | g_strdup already handles NULLs just fine.
* gnome-rr-config: Make sure to copy over vendor/product/serialJasper St. Pierre2015-01-071-0/+6
| | | | | | | | | | | | | | | | | | | | When GnomeRROutputInfo is normally created, we strdup the vendor/product/serial strings that we read from EDID. When it's finalized, we free them as well. When we copy the output info, we actually copy the raw struct, and then selectively strdup members that we care about. When the copy is freed, we then free the pointer that we dup'd from. When the original output info is freed, this leads to a double-free. Due to coincidences, on x86, this doesn't lead to a crash, but on ARM, the heap is completely corrupted. To prevent this, when we copy the output infos, strdup them from the original output as well. We really should clean this API up so that it's not so awfully RandR-y in style, since it's obvious that the APIs we have aren't great and really aren't what we need. https://bugzilla.gnome.org/show_bug.cgi?id=742569
* languages: plug memory leaksCosimo Cecchi2014-12-301-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=742111
* GnomeRROutputInfo: plug some memory leaksCosimo Cecchi2014-12-301-0/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=742111
* thumbnail: Fix a code path where the mutex is never unlockedPhilip Withnall2014-12-101-4/+5
| | | | | | | | | | Fix one unusual code path where the GnomeDesktopThumbnailFactory’s mutex is not unlocked before the function returns. As well as the usual deadlock issues, this would lead to an abort on shutdown with recent GLib changes, as g_mutex_clear() would be called on the locked mutex, which GLib now (correctly) complains about. https://bugzilla.gnome.org/show_bug.cgi?id=740666
* thumbnail: Include the filename in the thumbnail pathSebastian Keller2014-12-051-0/+1
| | | | | | | | | | | thumbnail_path did not include the actual filename in its result after calculating it. This breaks things in save_thumbnail which assumes receiving a file path rather than a directory path. See original code before clean ups at: https://git.gnome.org/browse/gnome-desktop/tree/libgnome-desktop/gnome-desktop-thumbnail.c?id=f2d25fa7d6cdaba03679f0fc0921fc5f81bd3944#n1060 https://bugzilla.gnome.org/show_bug.cgi?id=684026
* thumbnail: Don't fail after successfully creating the cache directorySebastian Keller2014-12-051-1/+1
| | | | | | | | g_mkdir_with_parents returns 0 on success or if the directory already exists, which caused the code to go into the failure path rather than generating the thumbnail. https://bugzilla.gnome.org/show_bug.cgi?id=684026
* thumbnail: Move thumbnail generation/saving to a few helper functionsJasper St. Pierre2014-11-181-198/+116
| | | | | | Another cleanup in preparation for a new "simple" thumbnail API. https://bugzilla.gnome.org/show_bug.cgi?id=684026
* thumbnail: Clean up path generation codeJasper St. Pierre2014-11-181-99/+63
| | | | | | Put the path calculation code in one spot. https://bugzilla.gnome.org/show_bug.cgi?id=684026
* gnome-rr: Adding DSI as a builtin display connectorJan-Michael Brummer2014-11-181-1/+2
| | | | | | | | Add DSI to the output name in _gnome_rr_output_name_is_builtin_display() to enable screen rotation on Dell Venue 8 Pro. https://bugzilla.gnome.org/show_bug.cgi?id=740289
* bg-slide-show: Fix annotationFlorian Müllner2014-11-121-0/+1
|
* Revert "gnome-bg: drop unused APIs"Ray Strode2014-10-315-0/+3463
| | | | This reverts commit 786336cc7cfaa8e4a0acafe5b9868950e538b740.
* gnome-bg: drop unused APIsRay Strode2014-10-315-3463/+0
| | | | | | They aren't used, and don't work on wayland systems anyway. https://bugzilla.gnome.org/show_bug.cgi?id=739463
* gnome-rr: drop gdkx includeRay Strode2014-10-311-1/+0
| | | | it's not used.
* languages: Use a more broadly compatible locale codeset suffixRui Matos2014-10-291-21/+16
| | | | | | | | | | At least OpenBSD's libc doesn't accept 'utf8' as a locale codeset suffix but does accept 'UTF-8'. Since GNU libc accepts both suffixes let's use the one which works on a broader set of systems. Thanks to Stefan Sperling and Antoine Jacoutot. https://bugzilla.gnome.org/show_bug.cgi?id=710412
* whitespacePatrick Welche2014-09-111-1/+1
|
* thumbnail: don't call gs_file_read_noatime() on systems lacking openat()Patrick Welche2014-09-112-1/+10
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=735974
* build: fix automake warningsPatrick Welche2014-09-111-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=736482
* gnome-xkb-info: Fix adding layouts to language and country tablesRui Matos2014-08-281-3/+3
| | | | | | | | Layout->xkb_name isn't unique so we can't use it as a key in the hash table. Layout->id is the unique identifier that we should be using, otherwise some layouts would never get added. https://bugzilla.gnome.org/show_bug.cgi?id=729210
* gnome-rr: Drop non-existent gnome_rr_screen_create_clone_modesRico Tzschichholz2014-08-121-2/+0
|
* gnome-rr: Add some missing annotationsRico Tzschichholz2014-08-121-0/+40
|
* wall-clock: Export gnome_wall_clock_string_for_datetime()Bastien Nocera2014-05-302-31/+62
| | | | | gnome_wall_clock_string_for_datetime() will be used for debugging purposes.
* test-wall-clock: Fix compile-time warningBastien Nocera2014-05-301-1/+1
| | | | Innocuous, but annoying.
* wall-clock: Always use the ratio character for time stringsKalev Lember2014-05-301-15/+38
| | | | | | | Since the ratio character looks visually more pleasing in time strings, replace colons with the ratio characters whenever possible. https://bugzilla.gnome.org/show_bug.cgi?id=726232
* gnome-rr: Output the EDID vendor/product info as wellBastien Nocera2014-05-161-0/+8
|
* gnome-rr: Add backlight output in debugBastien Nocera2014-05-161-1/+7
|
* thumbnailer: Try harder to create a failed thumbnailJuan Antonio Marin2014-05-051-13/+10
| | | | | | | | | | If a failed thumbnail is created because the pixbuf fail to save (for instance if user is over quota) we should still try to rename the temporary file that might have been created. If not, the thumbnail will not be marked as failed, and thumbnailing will be reattempted. https://bugzilla.gnome.org/show_bug.cgi?id=728775
* gnome-rr: Better debug applicationBastien Nocera2014-04-251-19/+55
| | | | | | | | This change will make the debug application listen for changes and print them as they occur. Conflicts: libgnome-desktop/gnome-rr-debug.c
* build: unbreak on OpenBSDAntoine Jacoutot2014-04-191-1/+3
| | | | | On OpenBSD clock_gettime(2) is part of libc and there is not librt, so add an according check.
* gnome-rr: Actually define output_get_possible_crtcsDebarshi Ray2014-04-111-0/+8
| | | | | | Fallout from 817fd136603bf92294411345b2281b6ab0d37adf https://bugzilla.gnome.org/show_bug.cgi?id=727034
* gnome-rr: Initialize GnomeRROutputInfo:rotation to GNOME_RR_ROTATION_0Debarshi Ray2014-04-022-1/+1
| | | | | | | | | | | Otherwise, the GnomeRROutputInfos representing connected but inactive outputs (ie. without an assigned CRTC) had their rotations set to GNOME_RR_ROTATION_NEXT, which is not a valid value. This leads to gnome_rr_config_applicable returning FALSE, because it thinks that one of the outputs require a rotation that is not supported by any of the available CRTCs. https://bugzilla.gnome.org/show_bug.cgi?id=727023
* GnomeRR: remove unused variablesGiovanni Campagna2014-03-111-2/+0
| | | | I forgot to do it before pushing.
* GnomeRR: force the DPMS mode change to mutter alwaysGiovanni Campagna2014-03-111-7/+0
| | | | | | | | | | | Our cached DPMS mode value can be wrong in face of changes by other clients we haven't seen yet, so always send the change to mutter, and let it optimize away if needed (in practice, it should never optimize, because the only reliable source of DPMS state is the kernel driver, and several API calls can reset DPMS without any change notification) https://bugzilla.gnome.org/show_bug.cgi?id=726055
* gnome-xkb-info: Apply main layout locale metadata to variantsRui Matos2014-02-181-26/+74
| | | | | | | If a variant doesn't specify language/country metadata then we should file it under its main layout's language/country. https://bugzilla.gnome.org/show_bug.cgi?id=711291
* gnome-xkb-info: Remove xkbfile dependencyRui Matos2014-02-135-98/+2
| | | | | | | | | | | | | This code was originally from gnome-settings-daemon but got moved here so that we could be sure that all GnomeXkbInfo users were using the same xkb rules file by getting it from the X server. As we move towards wayland though, we find ourselves in a position to specify how and where xkb data resides so we can drop this dependency. Instead, for now, we'll just hardcode the path to the xkb data from the xkeyboard-config XKB_DATA compile time variable. https://bugzilla.gnome.org/show_bug.cgi?id=719942
* wall-clock: Replace ratio with colon on non-UTF-8 localesRui Matos2014-02-031-2/+25
| | | | | | | | | Some of our translations use the ratio symbol which isn't convertible to non-UTF-8 locale encodings which causes g_date_time_format() to fail. Work around it by replacing the ratio symbol with a plain colon. https://bugzilla.gnome.org/show_bug.cgi?id=722664
* Updated FSF's addressDaniel Mustieles2014-01-235-11/+5
|
* gnome-rr: add API to check whether rotation is supportedCosimo Cecchi2014-01-094-0/+10
| | | | | | | Export a method on GnomeRROutputInfo to check which rotation options are supported. https://bugzilla.gnome.org/show_bug.cgi?id=721672
* gnome-rr: don't forget to copy display nameCosimo Cecchi2014-01-081-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=719928
* Remove locarchive.hFlorian Weimer2014-01-072-98/+0
| | | | | | | This include file is no longer needed since the switch to "locale -a" for listing locales. https://bugzilla.gnome.org/show_bug.cgi?id=720815
* thumbnailer: Add documentation on thumbnailers and .thumbnailer filesPhilip Withnall2013-12-161-0/+102
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=711604
* Update libgsystem versionRyan Lortie2013-12-081-0/+0
|