Page 1 of 2

Clipboard Access

Posted: Sat Sep 14, 2013 1:33 am
by Someguynamedpie
SDL_(S/G)etClipboardText. Is Love using SDL2.0? If not it should.

Please?
Pretty please? :vamp:

Re: Clipboard Access

Posted: Sat Sep 14, 2013 1:39 am
by Ranguna259
Coming soon in LÖVE 0.9.0

Re: Clipboard Access

Posted: Sat Sep 14, 2013 1:52 am
by Someguynamedpie
Define: "soon"

Re: Clipboard Access

Posted: Sat Sep 14, 2013 1:55 am
by Someguynamedpie
I see it in the repo. I'll build it myself I guess.

Re: Clipboard Access

Posted: Sat Sep 14, 2013 2:42 am
by slime
Yes, it's in 0.9.0 already, and 0.9.0 is coming soon. :)

love.system.setClipboardText
love.system.getClipboardText

Re: Clipboard Access

Posted: Sat Sep 14, 2013 3:07 am
by Someguynamedpie
There's so many dependencies to Love, it'd be nice if there was a CI setup. I might a love cross compiler vps on my free time

Re: Clipboard Access

Posted: Sat Sep 14, 2013 3:38 am
by slime
Normally for OS X and Windows you can get the dependencies from http://love2d.org/sdk/ , although those downloads haven't been updated yet for SDL 2.

You can download semi-nightly prebuilt Windows builds of 0.9.0 here: 32 bit or 64 bit.

Re: Clipboard Access

Posted: Sat Sep 14, 2013 2:27 pm
by Ranguna259
I'll just wait for the release (and for all the libs that I use to be updated)

Re: Clipboard Access

Posted: Sun Sep 15, 2013 5:20 pm
by DaedalusYoung
So, if I get this right, you get access to the clipboard, whether the user wants you to or not?

I was under the impression that ctrl-V sort of 'emulated' the necessary keystrokes, or otherwise was the system inputting clipboard data in the active application, on user's demand. I thought it'd be a useful way to circumvent keyloggers (if one is suspected), since I wouldn't actually type in passwords when pasting.

Is it just me, or is random clipboard access, for any application a huge security breach?

Re: Clipboard Access

Posted: Sun Sep 15, 2013 7:08 pm
by Robin
DaedalusYoung wrote:is random clipboard access, for any application a huge security breach?
As maintainer of SELÖVE and certified tinfoil hat: not really.