1. 13 Feb, 2018 1 commit
    • Ernestas Kulik's avatar
      rr-config: cast mode id to uint32_t · c8db18bd
      Ernestas Kulik authored
      In some places it’s used as an unsigned int, in other cases it’s signed,
      so this just casts the -1 in a ternary expression to uint32_t, which
      makes no difference.
      c8db18bd
  2. 12 Feb, 2018 2 commits
  3. 21 Aug, 2017 1 commit
  4. 06 Jul, 2015 1 commit
  5. 01 Jul, 2015 1 commit
    • Dave Airlie's avatar
      gnome-rr: add tiled monitor support · 40a5b4c9
      Dave Airlie authored
      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
      40a5b4c9
  6. 27 Apr, 2015 1 commit
  7. 08 Jan, 2015 2 commits
    • Jasper St. Pierre's avatar
      gnome-rr-config: Remove checks around g_strdup · d0673a1c
      Jasper St. Pierre authored
      g_strdup already handles NULLs just fine.
      d0673a1c
    • Jasper St. Pierre's avatar
      gnome-rr-config: Make sure to copy over vendor/product/serial · 7fdf9210
      Jasper St. Pierre authored
      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
      7fdf9210
  8. 02 Apr, 2014 1 commit
  9. 09 Jan, 2014 1 commit
  10. 20 Aug, 2013 1 commit
  11. 19 Aug, 2013 2 commits
  12. 04 Mar, 2013 1 commit
  13. 14 Feb, 2013 1 commit
  14. 15 Aug, 2012 1 commit
  15. 20 Jun, 2012 1 commit
  16. 07 Jun, 2012 1 commit
  17. 29 May, 2012 1 commit
  18. 10 Nov, 2011 1 commit
  19. 07 Jun, 2011 1 commit
  20. 04 Apr, 2011 1 commit
  21. 12 Jan, 2011 1 commit
  22. 05 Jan, 2011 1 commit
  23. 28 Nov, 2010 4 commits
    • Giovanni Campagna's avatar
      Update GnomeRRConfig · 7436f759
      Giovanni Campagna authored
      Added two public methods, gnome_rr_config_load_current and
      gnome_rr_config_load_filename, that allow initialization of the
      config (creating a new one with g_object_new results in an empty
      one).
      As a result, GnomeRRConfig is no more a GInitable and the :current
      property is gone.
      7436f759
    • Giovanni Campagna's avatar
      Turn GnomeRRConfig and GnomeOutputInfo into GObjects · 1d1f8ef6
      Giovanni Campagna authored
      For easier binding and introspectability, rework GnomeRRConfig and
      GnomeOutputInfo to be GObjects (GInitables, actually) instead of
      boxed types. This commit *does* break API, as previous API just
      accessed fields in the public structs, while now everything has been
      moved to private structures and accessors must be used.
      Also, rework GnomeRRLabeler to use both a public and a private structure,
      so that gobject-introspection can find instance/class sizes.
      Modifications to gnome-control-center and gnome-settings-daemon will
      follow.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=630913
      1d1f8ef6
    • Giovanni Campagna's avatar
      Add support for GObjectIntrospection · d135dd1e
      Giovanni Campagna authored
      Turned all GnomeRR structures into boxed types, then added the needed
      annotations and the Makefile.am bits.
      Does not yet include API changes, but should bind (awfully) all of
      libgnome-desktop.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=630913
      d135dd1e
    • Giovanni Campagna's avatar
      Turn GnomeRRScreen into a GObject · a080477b
      Giovanni Campagna authored
      Rework GnomeRRScreen so that it is a full GObject, and all its data
      is moved to GnomeRRScreenPrivate.
      GObject's are more supported when it comes to introspection and bindings,
      in particular wrt constructors. Therefore, this is a necessary step
      for useful introspection generation.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=630913
      a080477b
  24. 23 Nov, 2010 2 commits
  25. 09 Nov, 2010 7 commits
  26. 11 Jun, 2010 2 commits