Commit Graph

16 Commits

Author SHA1 Message Date
Oleksii Samorukov cfcf38e119 plug-ins/screenshot: fix compilation on macOS 2020-01-17 11:40:35 +01:00
Jehan 9f0dbb5759 plug-ins: port screenshot to GimpImage/GimpDrawable. 2019-08-22 15:54:36 +02:00
Michael Natterer 5f700549e7 Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
Jehan 80490a2c07 plug-ins: add a SCREENSHOT_CAN_SHOOT_WINDOW capability.
And add the relevant option for when such capability is absent. Right
now it is absent only from the new Freedesktop API.
2017-12-16 21:54:49 +01:00
Jehan dbf97dbcce plug-ins: macOS screenshot has both window pick and delay-after-pick...
... capabilities.
This is untested, just reading the docs of "screencapture" tool we use
for macOS support. Hopefully it's all fine! :-)
2017-12-10 02:23:21 +01:00
Jehan 24c2bdf61c Bug 784890 - Being able to take a screenshot of a single window and...
... include mouse pointer.
This is working find and tested under GNOME which already had the code
for it (was only missing the GUI). I added the feature in OSX and X11,
though it is untested. Windows does not seem to have the capability (at
least according to screenshot_win32_get_capabilities() in our code).
2017-07-18 15:04:09 +02:00
Michael Natterer e518b9753d Bug 723498 - Gimp changes contrast and color of images
Add color management options to the screenshot plug-in:

By default, it tries to tag the image with the monitor profile;
alternatively, there is an option to convert the image to sRGB.

This works mostly fine on *one* monitor given its profile is
configured correctly. With more than one monitor, funny things happen
depending on the platform and on what we are shooting (window, screen,
area). There are some FIXMEs left in the code.
2017-01-31 21:26:44 +01:00
Richard Kreckel dd9b0fc55b Bug 768044 - Fix many typos
This fixes many typos in comments and one in a user-visible string (msgid
"center abscisse" changed to "center abscissa" in affected po files. too).
2016-06-26 00:35:24 +02:00
Michael Natterer bb9b899f37 plug-ins: set SCREENSHOT_CAN_SHOOT_REGION on backends that support it 2016-05-31 01:19:12 +02:00
Michael Natterer cb76253c67 Bug 764450 - Crash in screenshot's gnome-shell backend
Add error reporting to all screenshot backends, but only really use it
in the gnome-shell backend: check all DBus calls for errors instead of
crashing.

Also fix detection if gnome-shell is running: just creating the
GDBusProxy always succeeds, so call org.freedesktop.DBus.Peer.Ping
on the newly created proxy.
2016-04-02 01:28:34 +02:00
Michael Natterer 0ff6777e2c plug-ins: screenshot: minor fix for the OS X screencapture command line
Add the "show cursor" option only in "shot whole screen" mode.
2016-04-02 00:04:36 +02:00
Michael Natterer 3559097c80 plug-ins: screenshot: quote the filename passed to OS X' screencapture 2016-03-31 22:15:02 +02:00
Michael Natterer fac99b6a18 plug-ins: cleanups in screenshot
- only open the temp PNG if the screenshot didn't fail
- remove the temp file
2016-03-30 21:03:00 +02:00
Michael Natterer a1785e9823 Bug 757687 - Screenshot functionality broken under Wayland
Some more abstraction in the screenshot plug-in, now allows for
runtime backend selection. Add stubs for the gnome-shell backend,
registers itself as unavailable because it's still unimplemented.
2016-03-29 22:08:27 +02:00
Michael Natterer 3f2efc5719 plug-ins: fix the build in screenshot-osx.c 2015-11-08 00:17:38 +01:00
Michael Natterer e4ff6b40da Bug 757687 - Screenshot functionality broken under Wayland
Move OS X and X11 specific code to its own files, to prepare for more
shooting backends being added. Also remove unimplemented G_OS_WIN32
stubs, if anyone feels like implementing a Windows backend, by all
means go ahead.
2015-11-07 22:39:32 +01:00