Commit graph

342 commits

Author SHA1 Message Date
Jaex
014fd671f1 If there is no value in query string then don't add = after key 2019-01-06 15:00:15 +03:00
Jaex
b238357bcc If request URL contains query string then automatically convert it to parameters and remove query string from request URL 2019-01-06 14:47:37 +03:00
Jaex
09cd2e62fd Added quality option to image thumbnailer 2019-01-02 11:58:31 +03:00
Jaex
469fc29b87 Update year 2019-01-02 10:43:52 +03:00
Jaex
8c4b4d5c1e fixed #3838: If Windows in tablet mode then show close button in region capture toolbar 2018-12-29 11:17:44 +03:00
Jaex
1d4ac87748 Added DVD logo type easter egg 2018-12-24 19:57:32 +03:00
Jaex
a7290eab3b Added copy image dimensions option to main window context menu 2018-12-15 03:25:57 +03:00
Charles Milette
2a759eaf62
Initial gaussian blur reimplementation 2018-12-12 02:28:34 -05:00
Jaex
9a92cc7387 fixed #3791: Remember last save directory from image editor 2018-12-09 18:25:01 +03:00
Jaex
6d855e9ef0 Process usage refactor 2018-12-06 21:51:41 +03:00
Jaex
15cb8d3830 Added Amazon S3 signed payload option 2018-12-04 19:10:01 +03:00
Jaex
dd7ba07c60 Custom uploader request format will be set explicitly 2018-11-30 14:03:45 +03:00
Jaex
b285e8d8c5 URL encode syntax results in custom uploader request URL 2018-11-24 20:14:14 +03:00
Jaex
4e4281e93a Catch IsAdministrator just in case 2018-11-18 13:52:49 +03:00
Jaex
b21480fa69 fixed #3764: Create directory inside save image method 2018-11-17 10:37:16 +03:00
Jaex
1e0ec404a7 Include operating system bit in debug logs, Program.cs refactoring 2018-11-14 10:08:45 +03:00
L1Q
fb59adadfe Fix pixelate transparency 2018-10-19 00:27:01 +03:00
Jaex
575e92c18d Added UploadHelpers class 2018-10-17 19:06:06 +03:00
Jaex
745ba3aa32 Use type on declarations instead of var for consistency with rest of code 2018-10-17 15:32:03 +03:00
Jaex
ac14199044 Don't use _ prefix for variables 2018-10-06 22:09:15 +03:00
Jaex
ef338f119b
Merge pull request #3640 from tinybarks/add-crypto-rng
MathHelpers: add CryptoRandom()
2018-10-01 21:36:46 +03:00
tinybarks
ed40360491
MathHelpers: add CryptoRandom()
Random() is biased and generates predictable numbers (seeded with time by default), using RNGCryptoServiceProvider fixes this.
2018-10-01 15:11:59 +02:00
tinybarks
35a3cc0dd9
Add Helpers.IsSuccessfulResponse(HttpWebResponse res) 2018-09-27 07:43:16 +02:00
Jaex
7f84c812d4 fixed #3584: Handle invalid personal folder path in application settings 2018-08-25 15:51:37 +03:00
Jaex
93e077a691 Fix blur 2018-08-23 13:25:02 +03:00
Jaex
1cc41d3c42 Removed TaskEx class instead using async/await 2018-08-03 16:38:18 +03:00
Jaex
f270c59190 No need TaskEx.Run anymore 2018-08-03 14:01:12 +03:00
Jaex
3d56ae2f62 Improvements to backup system which allows creating weekly backups right after saving 2018-08-03 13:40:00 +03:00
Jaex
ce0b3a03c7 Don't duplicate replace characters 2018-07-14 09:10:06 +03:00
Jaex
55be475017 Remove bidirectional control characters from file name before upload 2018-07-14 04:13:16 +03:00
Jaex
1e1717a206 Support rectangle in blur method 2018-07-06 16:16:49 +03:00
Jaex
bf44d356eb URLEncode refactoring 2018-06-21 19:25:11 +03:00
Jaex
0546a31630 Proper URL encoding to support emotes etc. on URL 2018-06-21 18:58:28 +03:00
Jaex
599cfc2a0e Added sides option to auto crop image effect 2018-06-14 14:12:19 +03:00
Jaex
6c696fd034 No need these 2018-06-14 13:19:51 +03:00
Jaex
7e7f456ee3 When auto cropping if pixel alpha is 0 then ignore rest of color channels 2018-06-14 13:11:19 +03:00
Jaex
a93dec7326 Use system colors for checkers 2018-06-06 16:39:28 +03:00
Jaex
795822a7b2 Removed StyleCop.Analyzers 2018-05-16 17:29:34 +03:00
Jaex
cb3711632c Fix "Use of implied arithmetic operator precedence" 2018-05-16 16:27:11 +03:00
Jaex
dae4809133 Rename selective color value to threshold 2018-05-09 00:24:05 +03:00
Jaex
78652b7831 Added selective color image effect 2018-05-06 04:56:38 +03:00
Charles Milette
f251df7e36
Fix crash when opening screen capture form 2018-04-29 14:23:20 -04:00
Charles Milette
d50d3ca7b8
Move TryFixHandCursor to HelpersLib 2018-04-29 11:30:03 -04:00
SupSuper
0e632acdff Update OneDrive to use Microsoft Graph API 2018-04-16 21:55:19 +01:00
Jaex
8b9cd9cad4 Added canvas color option to image effect 2018-04-16 16:43:56 +03:00
Jaex
5bfbc07818 #3304: After move image if image is outside canvas then resize canvas to fit image 2018-04-13 14:56:35 +03:00
Jaex
9744dfc525 #2659: Fix startup check issue 2018-04-08 10:57:57 +03:00
Jaex
e369ee2863 https://blog.github.com/2018-03-20-removing-anonymous-gist-creation/ 2018-04-01 23:34:48 +03:00
Jaex
1ebb91c9e9 Added RegistryHive parameter to each registry methods 2018-03-31 17:00:16 +03:00
Jaex
a796eba0fc Use variable for make appx path 2018-03-23 09:27:21 +03:00
Jaex
6f29d7ee67 Check file path before get absolute path 2018-03-22 08:16:01 +03:00
Jaex
c33bc4844f CodeMaid cleanup 2018-03-01 01:52:11 +03:00
Jaex
40afd4a59f Round image resize values 2018-02-12 16:12:26 +03:00
Jaex
db98bf7321 Keep aspect ratio while resizing sticker 2018-02-08 11:16:19 +03:00
Jaex
026e2fa9c9 Added sticker tool 2018-02-06 11:25:15 +03:00
Jaex
246cde1fe5 Few %rf related changes 2018-02-01 20:04:24 +03:00
AtlasTheBot
4a5ee63fce Add error popup on error while reading file used with %rf
Instead of uploading with the error message as part of the filename

The task preview window will not produce a popup, instead displaying the error message in the name preview
2018-01-31 22:19:27 -05:00
AtlasTheBot
75be1df635 Add %rf for using a random line from a file to name files 2018-01-31 17:20:44 -05:00
Jaex
598e62e8f0 fixed #1403: Added random adjective and animal support for file naming similar to Gfycat naming 2018-01-31 00:35:17 +03:00
Jaex
f2f62e7ffd Added auto crop image effect 2018-01-21 14:32:15 +03:00
Jaex
b463a16567 Update year 2018-01-01 17:59:14 +03:00
Jaex
4971d98b45 Added step label use letters option 2017-12-27 17:48:51 +03:00
Jaex
08579e83bd Use form for ShowDialog 2017-12-26 16:54:10 +03:00
Jaex
aace649381 Added "Open image" button to editor image menu 2017-12-24 22:04:12 +03:00
Jaex
5d94a9a6dd Added "New" button to editor image menu 2017-12-24 21:02:08 +03:00
Jaex
b3c8201c8a Added RotateImageByExifOrientationData option to application settings advanced tab 2017-12-22 13:59:52 +03:00
Jaex
83827449df If jpeg exif contains orientation data then rotate image automatically 2017-12-22 12:47:12 +03:00
Jaex
4f1b2f16c0 Use darker button color for depth color instead of black 2017-12-17 08:56:58 +03:00
Jaex
b86a9d6bcc Added resampling option to image size dialog 2017-12-06 10:05:17 +03:00
Jaex
ec9f9e6bf2 If all pixels same color then return 2017-11-29 00:32:02 +03:00
Jaex
004b74b198 Auto crop improvements 2017-11-29 00:06:50 +03:00
Jaex
3215de1fda fixed #2757: Added auto crop image support to image editor 2017-11-28 22:10:45 +03:00
Jaex
3b9d2f7f16 Make sure wrong translation of string format to not cause updating to break 2017-11-01 14:38:07 +03:00
Jaex
380de4bec1 Added color methods 2017-10-29 09:52:56 +03:00
Jaex
da2c9844da Added canvas size form 2017-10-21 23:43:39 +03:00
Jaex
7fc5c51596 Additional tests to make sure watch folder uploads file which is not actively written 2017-10-08 03:49:55 +03:00
Jaex
ca0f389ab0 Use GetHostName method in CustomUploaderItem 2017-09-24 10:30:03 +03:00
Jaex
3d70b045c7 Move CreateQuery to URLHelpers 2017-09-24 10:14:27 +03:00
Jaex
5d274c822b fixed #2762: Added go as text file extension 2017-09-12 10:20:23 +03:00
Jaex
54de9909a2 Fix rounded corners one pixel off issue 2017-08-29 10:38:35 +03:00
Jaex
e207c181e0 Added cursor type option to cursor drawing tool 2017-08-20 21:10:47 +03:00
Jaex
898daf4cc5 Revert "Added cursor type option to cursor drawing tool"
This reverts commit 92ff416ab6.
2017-08-14 09:46:54 +03:00
Jaex
92ff416ab6 Added cursor type option to cursor drawing tool 2017-08-13 14:07:52 +03:00
Jaex
d75cf4dc7e Remove query from upload error request url 2017-08-06 19:18:30 +03:00
Jaex
5836230de1 Return if image and thumbnail size is same 2017-07-11 09:12:28 +03:00
Jaex
04985a6147 Added create thumbnail method 2017-07-10 10:03:05 +03:00
Jaex
14b0cd55cc Added PNG bit depth to task settings form 2017-06-20 19:00:07 +03:00
Jaex
2caec59a52 Avoid checking pixels if it is not 32 bpp already 2017-06-19 19:50:28 +03:00
Jaex
34da140789 Added automatic bit depth detection for PNG encoding 2017-06-18 13:47:37 +03:00
Jaex
e428ad0ebf In color picker don't copy fields on double click 2017-05-17 15:44:25 +03:00
Jaex
638aacf0b1 While opening color picker if clipboard contains rgb or hex color then automatically select it 2017-05-17 15:06:01 +03:00
Jaex
702bc0b066 Support hex colors which start with 0x 2017-05-17 11:51:50 +03:00
Jaex
742342b6b3 TornEdges refactoring 2017-05-15 11:20:32 +03:00
Jaex
cb840b932a TornEdges changes 2017-05-15 10:47:26 +03:00
Jaex
f2a3b80d60 Added curved edge support to torn edge effect 2017-05-15 09:50:14 +03:00
Jaex
895beeaba5 Torn edges effect improvements 2017-05-15 09:31:39 +03:00
Jaex
f538df8f58 fixed #2482: SFTP multi folder create was not working correctly with relative paths 2017-05-02 13:45:57 +03:00
Jaex
59397b8b98 Create Steam file on first time running 2017-04-24 19:29:19 +03:00
Jaex
e53275a3e9 URL related refactoring 2017-04-24 17:01:35 +03:00
Jaex
3da4ddde70 Added ShowError extension to Exception 2017-04-21 23:42:52 +03:00
Jaex
1170b77243 If error happen while creating shortcut, show error in message box 2017-04-21 21:52:14 +03:00
Jaex
c6ee8a11e7 Added animation under region capture toolbar 2017-04-02 00:56:53 +03:00
Jaex
f7c0a9f934 CodeMaid cleanup 2017-03-30 00:03:08 +03:00
Jaex
b3af07a951 Use dark background on editor mode and only draw checkers behind image 2017-03-25 00:16:44 +03:00
Jaex
a01ba41084 Moved helper methods from AmazonS3 2017-03-20 02:53:32 +03:00
Jaex
72c940e4e5 Use HttpRequestHeader.UserAgent 2017-03-12 00:35:18 +03:00
Jaex
94a7ecf22b UserAgent moved to ShareXResources, added user-agent to all requests 2017-03-11 23:54:42 +03:00
L1Q
24d99f1fef Actions toolbar can now be placed on other monitors. 2017-03-10 12:09:14 +02:00
Jaex
9cc59a1f8f Renamed ShareX.Chrome to ShareX.NativeMessagingHost because all browsers which support web extensions can use same host 2017-02-10 13:49:49 +03:00
Jaex
65f42de600 Moved helper methods to HelpersLib 2017-01-26 21:47:58 +03:00
Jaex
29bb8301e5 ShareX related methods moved from RegistryHelpers to IntegrationHelpers 2017-01-14 15:02:43 +03:00
Jaex
4d7006b359 Update year 2017-01-11 11:39:40 +03:00
Jaex
d64735ad8d .sxcu extension can add custom uploader now 2017-01-09 19:41:55 +03:00
Jaex
a07fc4f615 Adding custom uploader extension (.sxcu) support 2017-01-09 18:50:09 +03:00
Jaex
6ff0d09957 Save simple actions form position, option to run it at startup 2017-01-01 02:07:58 +03:00
gaelbenoit
2a6e66cf18 Update ImageHelpers.cs
Index Out Of Range when using Blur filter on a portrait picture
y maximum is 'y < h' so newColors array should be sized from h, not w
2016-12-20 14:07:03 +01:00
Jaex
1fb3231e9d fixed #2145: After screen recording if file name modified in after capture window then rename video file 2016-12-12 18:24:49 +03:00
Jaex
1f44d213a6 Pre calculate pixelate pixel count to increase performance 2016-11-28 16:24:27 +03:00
Jaex
3adc1de4e1 Change values of blur radius numeric up down to enforce odd numbers 2016-11-14 02:27:24 +03:00
Jaex
2c15b7f434 Added another box blur method 2016-11-14 02:00:55 +03:00
Jaex
3f2ed7f11b AnnotateImage method moved to ShareX project from HelpersLib project 2016-11-14 00:19:26 +03:00
Jaex
91714d3235 Remade TornEdges method 2016-11-14 00:04:13 +03:00
Jaex
56815698ec TrimTransparent methods moved to ImageHelpers class as AutoCropImage 2016-11-13 22:53:58 +03:00
Jaex
cab2ec0b2b Added fast box blur method 2016-11-13 19:33:53 +03:00
Jaex
1d9b1a07c8 Added faster pixelate method 2016-11-13 16:59:06 +03:00
Jaex
14cde29c05 ImageHelpers refactoring 2016-11-12 20:22:49 +03:00
Jaex
fc1e464e50 Remember menu state option also gonna remember collapsed state of menu 2016-10-13 11:47:26 +03:00
Jaex
8bdfdccbec #1950: Add "\" end of folder path to make sure folder is opening instead of file with same name 2016-09-30 12:24:08 +03:00
Jaex
17566b3b82 Code refactoring 2016-09-17 10:07:02 +03:00
Jaex
be5f57ef9a NuGet update 2016-09-13 00:46:06 +03:00
Jaex
557cd0e08e Added IsVideoFile method 2016-09-11 00:36:01 +03:00
Jaex
9726a35f4c fixed #1866: Don't allow all file types in image file dialog 2016-09-02 14:44:38 +03:00
Jaex
f432754b87 Added support to paste text with ctrl + v in region capture 2016-08-23 20:33:48 +03:00
Ray
6e26fc80c0 Dart language text support
Currently Google Dart source files are not treated as text files, meaning they're uploaded using the currently selected file uploader. This fixes the issues.
2016-08-19 18:45:33 -05:00
Jaex
5b077d4871 fixed #1714: Center resize nodes to cursor that way magnifier can show exact pixel 2016-08-09 19:16:48 +03:00
Jaex
36b460dfda Added AddRoundedRectangleProper extension 2016-08-08 21:59:09 +03:00
Jaex
24ada5cc9a Apply region path to image with anti aliasing 2016-08-02 11:29:17 +03:00
Jaex
a1a1c1ef17 Added rectangles combine extension 2016-08-02 09:56:26 +03:00
Jaex
760df15145 Show Download button only when file URL 2016-07-20 11:23:46 +03:00
Jaex
37c4749cd0 Added CreateCursor method 2016-07-04 13:27:31 +03:00
dannoe
102fac39d1 Files and folders are now opened in the default filemanager. 2016-06-28 22:24:22 +02:00
Jaex
db2a256a13 Get Windows product name from registry, variable name changes 2016-06-24 19:49:06 +03:00
Jaex
cb7a621b73 Replace all string.Empty with "" 2016-05-24 21:15:45 +03:00
Jaex
13bde6b875 Snap line to every 45 degrees 2016-05-24 01:30:23 +03:00
campbeb
2c35af0592 Merge Greenshot changes through 22 May 2016
Merge commits from Greenshot up through
bd71f47e95a46642fe6a83bdd76cc4d2a7eed7c2.

Some bug fixes, but mostly structural cleanup.
2016-05-22 11:17:02 -04:00
Jaex
cfcb879172 If text color not visible in white background then use dark gray background color 2016-05-20 17:48:01 +03:00
Jaex
27dede13ae In screen color picker added these copy buttons: All, RGB, Hex, HSB, CMYK, Decimal, Position 2016-05-20 14:43:13 +03:00
Jaex
7338a4b012 Added update panel control 2016-05-15 14:52:11 +03:00
Jaex
562d3192d3 Added highlight color option 2016-05-07 17:03:26 +03:00
Jaex
d7d65a3946 Added highlight drawing 2016-05-07 03:11:31 +03:00