Commit Graph

93 Commits

Author SHA1 Message Date
Mike Blumenkrantz 5a61d5f733 when azy is enabled, shot module now uses it (successfully!) for uploading 2013-03-15 13:35:46 +00:00
Mike Blumenkrantz bf9933a336 E_FN_DEL macro renamed to E_FREE_FUNC with param order swapped for consistency 2013-02-22 13:18:30 +00:00
ChunEon Park 2eab902bc1 e/shot - removed unnecessary line
SVN revision: 83129
2013-01-23 09:07:02 +00:00
Maxime Villard 4a52c46268 From: Maxime Villard <rustyBSD@gmx.fr>
Subject: [E-devel] [e][PATCH] Optimizations v2
Date: Fri, 21 Dec 2012 22:17:32 +0100

Hi,
same patch as before: removed useless nullchecks and
switched some free()'s to E_FREE().



SVN revision: 81592
2012-12-21 21:31:13 +00:00
Carsten Haitzler 30fe9349c4 fix window screenshotting at least on nvidia... :/
SVN revision: 81466
2012-12-20 15:10:50 +00:00
Carsten Haitzler 1f745881d9 series of dialogs that were not resizable but should be, are now.
SVN revision: 81434
2012-12-20 10:07:30 +00:00
Massimo Maiurana 9f1d6e067e Store and handle action names correctly. (patch from Igor Murzov)
SVN revision: 81049
2012-12-16 16:58:17 +00:00
Mike Blumenkrantz 90659a081c "share" button on screenshot now has a confirm dialog because apparently "share" is too vague and we need users to explicitly waive their privacy rights
ticket #1985


SVN revision: 80959
2012-12-14 16:02:03 +00:00
Mike Blumenkrantz 8f0efbf740 fix possible crash in shot module
SVN revision: 80875
2012-12-13 14:56:53 +00:00
Carsten Haitzler b3b09ae9e0 actually us fdopen and hex, and random numbers for tmp shot file.
SVN revision: 80571
2012-12-10 07:13:55 +00:00
Mike Blumenkrantz 68e6b07cd7 all dialogs are no longer resizable
SVN revision: 80032
2012-12-03 09:24:12 +00:00
Mike Blumenkrantz c6a9c34e7f giant header overhaul which removes all the stupid one line function prototype headers and e_mod_main.h headers that contain nothing but unnecessary module api prototypes
SVN revision: 79908
2012-11-30 14:38:34 +00:00
Sebastian Dransfeld 2723076d62 e/shot: use mkstemps when template has ext
SVN revision: 79247
2012-11-13 21:35:40 +00:00
Mike Blumenkrantz 5231b6c6aa shot module improvements:
* no longer init curl every time a shot is uploaded
* disable share dialog's Cancel button once upload is complete


SVN revision: 79147
2012-11-12 10:28:00 +00:00
Mike Blumenkrantz cd4c26b0f5 use list handler macro
SVN revision: 79143
2012-11-12 10:00:08 +00:00
Mike Blumenkrantz 03b8d16952 clamp shots to correct geometry to prevent SIGFPE which hopefully nobody noticed
SVN revision: 78521
2012-10-26 10:45:24 +00:00
Mike Blumenkrantz b17f560116 fix taking window shots when window is partially offscreen by clamping shot to screen geometry
ticket #1667


SVN revision: 78519
2012-10-26 10:33:22 +00:00
Daniel Juyung Seo cbdffbc06b e17 shot: now escape closes screenshot window.
SVN revision: 77018
2012-09-22 14:13:31 +00:00
Gustavo Sverzut Barbieri 9022690ed6 shot: be loud about saving errors.
everytime I type "/tmp/bla.png" as save file I get errors and it's silent.



SVN revision: 76480
2012-09-11 23:01:32 +00:00
Mike Blumenkrantz 765c24f6c6 account for vertical multi-monitor layouts with screenshots
ticket #1157


SVN revision: 76192
2012-09-05 11:55:12 +00:00
Vincent Torri f17997b7cc E17: free the string after copying, not before
reported by Maxime Villard

SVN revision: 75717
2012-08-26 21:34:25 +00:00
Vincent Torri 837d3fa390 E17: fix FIXME's
patch by Maxime Villard

SVN revision: 75716
2012-08-26 19:41:34 +00:00
Mike Blumenkrantz 028e9e0380 fix dialog cleanups to work properly
SVN revision: 75665
2012-08-24 14:19:55 +00:00
Mike Blumenkrantz 3ca3ba9215 escape now triggers shot save cancel
SVN revision: 74804
2012-08-02 12:19:11 +00:00
Mike Blumenkrantz e40eb173bb canceling shot save no longer closes the shot dialog
SVN revision: 74803
2012-08-02 12:17:20 +00:00
Chidambar Zinnoury f852ae99ef e module shot: use correct icon.
SVN revision: 74548
2012-07-29 18:49:31 +00:00
Carsten Haitzler 644a1c39f4 patch from PrinceAMD to use date+time for shot filename.
SVN revision: 74306
2012-07-23 07:18:52 +00:00
Mike Blumenkrantz c2ac400f8c ecore-x changes for shot module "because devilhorns said so"
SVN revision: 74185
2012-07-19 13:00:50 +00:00
Mike Blumenkrantz 5467c60cf6 fix window shots to work correctly all the time
SVN revision: 74183
2012-07-19 12:45:05 +00:00
Mike Blumenkrantz 1d6199f9d7 add space handling, also make enter key actually save shots
SVN revision: 74178
2012-07-19 10:31:34 +00:00
Mike Blumenkrantz 141acd2ae4 long-awaited, much-requested feature: shot module now takes shots of windows
*available from border menu
*binding action also available


SVN revision: 74177
2012-07-19 10:02:26 +00:00
Mike Blumenkrantz d723c78228 better handling for invalid file extensions (we only support jpg and png) when specified in shot module's save dialog
ticket #1160


SVN revision: 73972
2012-07-17 10:48:30 +00:00
Chidambar Zinnoury 116f994126 e: use standard units for file sizes and use helpers instead of duplicating code.
SVN revision: 73858
2012-07-14 20:50:21 +00:00
Chidambar Zinnoury 1e3423ccd7 e shot: have hide and cancel button work properly (they were inverted before).
Also change to more user-friendly button labels.

 TODO: Have a popup present the url after completion when hidden.


SVN revision: 72842
2012-06-26 06:43:22 +00:00
Carsten Haitzler b0b7bea223 use http 1.0 for posts!
SVN revision: 67760
2012-02-08 13:26:08 +00:00
Carsten Haitzler b566de4bf8 fix naming of shot file on save to corrrect png/jpg - also save to
desktop by default.



SVN revision: 67306
2012-01-18 23:59:12 +00:00
Mike Blumenkrantz 839b515b43 even MORE unused vars
SVN revision: 64912
2011-11-07 23:37:54 +00:00
Carsten Haitzler d6f5442a51 seed fsel with filename (shot.jpg)
SVN revision: 62979
2011-08-30 00:30:48 +00:00
Carsten Haitzler 95cea2f982 fix click-preview-select to properly update radio buttons when preview
is clicked.



SVN revision: 59792
2011-05-29 23:45:40 +00:00
Carsten Haitzler 70fa361dd3 allow clicking on preview to set screen to shot.
SVN revision: 59778
2011-05-29 09:45:19 +00:00
Carsten Haitzler 7418b3cc92 print server error # right.
SVN revision: 59768
2011-05-28 07:40:15 +00:00
Carsten Haitzler e06af83603 make dimming darker.
SVN revision: 59767
2011-05-28 07:03:42 +00:00
Carsten Haitzler 8e26efcc48 screenshot module built in now. this is a redo as it actuallly has a
full file upload ability on e.org for sharing shot url's, as well as
selecting local file tyo save to, selecting which screen to screenshot
etc.



SVN revision: 59766
2011-05-28 06:53:44 +00:00