Commit Graph

156 Commits

Author SHA1 Message Date
ArsenArsen 7802f0e9fb Reformat again sigh 2017-06-14 23:34:58 +02:00
ArsenArsen 15d7897b9c Fix another logic error
Hooray for late night coding
2017-06-13 18:58:24 +02:00
ArsenArsen dde6fc0786 This is why I needed bug testing
Fix a race condition and logic error
2017-06-13 18:23:33 +02:00
ArsenArsen 394ae45187 Clear up the dependencies 2017-06-13 17:19:09 +02:00
ArsenArsen 40d9edd7a8 Make sure we don't upload empty images 2017-06-13 17:02:35 +02:00
ArsenArsen f04aa81b9f Error handling now there 2017-06-13 14:15:37 +02:00
ArsenArsen e71ecfec34 Remove useless #includes 2017-06-13 12:59:58 +02:00
ArsenArsen 3044bb6690 Grep told me I left it here too 2017-06-13 12:34:17 +02:00
ArsenArsen 798c5351fe Remove gif-h from qmake files 2017-06-13 12:33:41 +02:00
ArsenArsen 076f2383fd Remove gif-h 2017-06-13 12:32:55 +02:00
ArsenArsen 9913af5a41 Merge branch 'master' into feature/recording 2017-06-13 12:11:03 +02:00
ArsenArsen b5b2b1255f Fix some file cleanup issues
find /tmp/KShareTemp-*/ -type d | wc -l

53
2017-06-13 11:17:12 +02:00
ArsenArsen 26826b02c2 Recording mostly completed. Who's excited?
Left to do: Error handling. Yep.
2017-06-13 10:56:08 +02:00
ArsenArsen a53af2eeb2 While at it, add MP4. Gif fixed tommorow 2017-06-13 01:18:18 +02:00
ArsenArsen c6caa2c422 Fix a mem leak and custom upl. mime handling error 2017-06-13 01:15:57 +02:00
ArsenArsen 22ab688a79 Yay encoding works!!!!
Implemented a universal encoder based on FFMpeg. I'll get it to work with gif too.
Adding other formats should be easy. In fact, recordingformats can be made into something much shorter. Soon™️
2017-06-13 00:38:32 +02:00
ArsenArsen 630e9492ec Oops forgot to remove that from the list 2017-06-12 11:21:03 +02:00
ArsenArsen dde3d63d2e I'd be lying if I said this works but it's close!! 2017-06-11 23:56:06 +02:00
ArsenArsen 3015b9547c Cleanup of window flags 2017-06-07 10:37:40 +02:00
ArsenArsen 20d5314d6d Fix a math error which stopped cursor from drawing 2017-06-07 10:25:00 +02:00
ArsenArsen cc9e8ccfbf Fix from feature/recording: Closing automatically
Moved the fix for closing in the background after taking a screenshot [originally on feature/recording]

Qt why does that default to true?
2017-06-07 10:14:12 +02:00
ArsenArsen 35aafa0dea Fix images not being saved when passed as bytes 2017-06-06 23:58:02 +02:00
ArsenArsen 806f918f49 Fix one more thing in custom uploaders 2017-06-06 22:12:22 +02:00
ArsenArsen dbc8063f66 Thanks to Ponce I have discovered and fixed a bug
Hopefully
2017-06-06 21:26:46 +02:00
ArsenArsen 0b09000729 Rewrite in order to support user-selected formats 2017-06-06 17:05:34 +02:00
ArsenArsen 1d059cc08a Finalize recording.
Yet to fix GIFs and implement WebP/WebM/MP4
I wouldn't mind help
2017-06-06 13:38:15 +02:00
ArsenArsen aa0764aac5 Silly me! 2017-06-06 13:06:41 +02:00
ArsenArsen c523af9927 Implement GIF support [read more]
So, it works. Yay! Only one frame though. What could be the issue? Hrm. I'll look around. And open an issue in ginsweater/gif-h to try and work it out.

I am amazed.
2017-06-06 12:51:16 +02:00
ArsenArsen 6e36691f6c Forgot to save changes 2017-06-06 01:28:19 +02:00
ArsenArsen f2b2a7eb4a Implement recording [!tested] [prob. broken] [1AM]
Implement the basic barebone structure of GIF recording.
While it is likely broken (probably black frames and similar issues) it's a good start.
Good night.
2017-06-06 01:26:26 +02:00
ArsenArsen 4e928325da Ponce found a bug 2017-06-05 13:14:35 +02:00
ArsenArsen 080d5be40f Forgot to change these few changes. 2017-06-04 23:04:35 +02:00
ArsenArsen 34624e5762 Redesigned uploaders a bit to support more stuff.
Added a functionality of uploading byte arrays and even files. Created RecordingFormat, which allows me to create states, I guess??, for RecordingContex's. Needed for, eg. gifs, which are horrible and I strongly suggest against, which will actually be stored as files per frame which are QImages encoded with QImage::Format_RGB888 (confirmation needed).
2017-06-04 22:58:29 +02:00
ArsenArsen 8f5197b826 Hey it only took me two days to fix a segfault!!!! 2017-06-04 01:04:42 +02:00
ArsenArsen 6128ac40b5 When you don't actually stage 2017-05-31 23:46:27 +02:00
ArsenArsen b064f795ff Add a size hint
Noone saw the typo. Right?
2017-05-31 22:30:18 +02:00
ArsenArsen 09e670bf23 Area selection dialog 2017-05-31 17:24:17 +02:00
ArsenArsen 869c2d0031 Gracefully shut down the worker 2017-05-30 15:51:25 +02:00
ArsenArsen 3a388aa43e OOps 2017-05-30 13:22:20 +02:00
ArsenArsen ebb99beeff Offload more work 2017-05-29 23:02:06 +02:00
ArsenArsen dd8683b9e8 Yeah that would've blown up. 2017-05-29 23:00:08 +02:00
ArsenArsen 8def91b0a8 This may blow up. 2017-05-29 22:54:09 +02:00
ArsenArsen dcd8e5e34c Implement the format conversion worker
Ignore the format file edit. Reformat after merge
2017-05-29 22:42:10 +02:00
ArsenArsen 24e186e73b Fix application auto close bug. This happens on Windows and i3wm (no
other are known). But why only them? God knows..
2017-05-24 16:51:14 +02:00
ArsenArsen 4150551d78 I just killed a few hours in the future by making alot of merge conflicts 2017-05-22 19:34:29 +02:00
ArsenArsen c15594cd57 clang format again 2017-05-22 19:33:52 +02:00
ArsenArsen 1e5a5c2485 Why was this the other thing
School is over next week yay freedom. I'll be able to come back and do actual and active development.
2017-05-22 18:23:45 +02:00
ArsenArsen 91aa7badc6 Im stupid 2017-05-22 15:56:47 +02:00
ArsenArsen 7a27a0c6f4 Update README.md 2017-05-21 22:29:04 +02:00
ArsenArsen 22769c8815 Update CNAME 2017-05-21 19:55:39 +02:00