1. 15 Feb, 2019 10 commits
    • Carlos Garnacho's avatar
      Make MetaSelection, MetaSelectionSource and MetaMemorySelectionSource public · 1007d4ce
      Carlos Garnacho authored
      This exposes the base so that we can reimplement StClipboard on top. Some
      gtk-docs have been added for documentation and introspection purposes.
    • Carlos Garnacho's avatar
      wayland: Reduce MetaXWaylandSelection to just DnD · 4e98cbe7
      Carlos Garnacho authored
      All the actual selection management functionality is superseded by
      MetaSelection. Reduce it to just handling the XDND messaging and leave
      selections to MetaSelection.
    • Carlos Garnacho's avatar
      wayland: Integrate with MetaSelection · fa295fa0
      Carlos Garnacho authored
      Make MetaWaylandDataDevice use MetaSelection and MetaSelectionSource to
      handle primary/clipboard/dnd.
    • Carlos Garnacho's avatar
      core: Add clipboard manager · 121e8433
      Carlos Garnacho authored
      This is a simple clipboard manager implementation on top of MetaSelection.
      It will inspect the clipboard content for UTF-8 text and image data whenever
      any other selection source claims ownership, and claim it for itself
      whenever the clipboard goes unowned.
      The stored text has a maximum size of 4MB and images 200MB, to prevent the
      compositor from allocating indefinite amounts of memory.
      This is not quite a X11 clipboard manager, but also works there.
    • Carlos Garnacho's avatar
      core: Add memory-based selection source · 23faa8d0
      Carlos Garnacho authored
      This is a simple implementation of a MetaSelectionSource, able to hold a
      single mimetype, provided as GBytes.
    • Carlos Garnacho's avatar
      x11: Add X11 selection management · 6fabff54
      Carlos Garnacho authored
      This code takes care of both setting up X11 selection sources whenever
      X11 clients claim selection ownership, and claiming selection ownership
      on a mutter X11 window whenever other selection sources claim ownership.
    • Carlos Garnacho's avatar
    • Carlos Garnacho's avatar
      wayland: Add wayland MetaSelectionSource implementation · cc46f420
      Carlos Garnacho authored
      This object represents a Wayland selection owner. In order to invert the
      FD direction (we hand an output fd, but want an inpu fd), create an
      intermediate pipe so we can then create a GInputStream on top of it.
    • Carlos Garnacho's avatar
      x11: Add X11 MetaSelectionSource implementation · 82b7e33d
      Carlos Garnacho authored
      This object represents the selection ownership from an X11 client. The
      list of supported targets is queried upfront, so its initialization is
      asynchronous. Requests to read contents from the selection will hand
      a MetaX11SelectionInputStream.
    • Carlos Garnacho's avatar
      core: Add MetaSelection and MetaSelectionSource · 06852062
      Carlos Garnacho authored
      MetaSelectionSource represents a primary/clipboard/dnd selection owner,
      it is an abstract type so wayland/x11/etc implementations can be provided.
      These 3 selections are managed by the MetaSelection object, the current
      selection owners will be set there, and signals will be emitted so the
      previous selection owner can clean itself up.
      The actual data transfer is done through the meta_selection_transfer_async()
      call, which will take a GOutputStream and create a corresponding
      GInputStream from the MetaSelectionSource in order to splice them.
  2. 14 Feb, 2019 4 commits
  3. 13 Feb, 2019 6 commits
  4. 12 Feb, 2019 3 commits
    • Marek Cernocky's avatar
      Updated Czech translation · fdd531f3
      Marek Cernocky authored
    • Matej Urbančič's avatar
      Updated Slovenian translation · 70c45f89
      Matej Urbančič authored
    • Niels De Graef's avatar
      meta-launcher: g_propagate_*_error takes ownership · b82fa2c6
      Niels De Graef authored
      This means we need to make sure we don't accidentally free the provided
      source GError (which automatically happens with `g_autoptr`), so use
      This fixes an issue where, when launched in a bubblewrap environment
      (such as the one provided by Buildstream), mutter would give the
      following warning message:
      mutter-WARNING **: 8:31:35:069: Can't initialize KMS backend: (null)
      ... which isn't that useful when trying to debug the actual issue.
  5. 11 Feb, 2019 3 commits
  6. 09 Feb, 2019 7 commits
  7. 07 Feb, 2019 1 commit
  8. 06 Feb, 2019 6 commits