Commit graph

456 commits

Author SHA1 Message Date
Michael Delpach
195c0f2f8a Revert "Merge branch 'master' into tweaks"
This reverts commit 162badae3b, reversing
changes made to e0f2812f3d.
2020-06-29 06:10:21 +08:00
Jaex
c737768e89 Improve enum value preview in image watermark 2020-06-28 15:26:09 +03:00
Jaex
af4060ac88 Added aspect ratio support to image watermark when 0 is used for width or height 2020-06-28 14:05:25 +03:00
Jaex
b16f93fda5 Added interpolation mode option to image watermark 2020-06-17 16:40:29 +03:00
Jaex
0a5d803255 Added custom path variable %ShareXImageEffects% 2020-06-16 07:27:32 +03:00
Jaex
cd052ea783 Rename create directory method 2020-06-15 07:17:46 +03:00
Jaex
14b9491664 Added extra measure to stop corrupting backup of setting files 2020-05-07 10:38:00 +03:00
Jaex
96296c51eb Added RandomFast and RandomCrypto classes 2020-04-23 16:41:09 +03:00
Jaex
2cf641b009 Code refactoring 2020-04-11 17:00:14 +03:00
Jaex
2066f0def0 fixed #4655: Added image alignment option to image combiner tool 2020-03-23 23:44:50 +03:00
Jaex
335972455a More Bitmap usage 2020-03-23 22:33:26 +03:00
Jaex
0137f60a0d All ImageHelpers methods return bitmap now instead of image 2020-03-22 02:22:43 +03:00
Jaex
c1bcb15d98 Use bitmap in manipulation image effects 2020-03-22 01:07:38 +03:00
Jaex
e419281240 Use bitmap in filter image effects 2020-03-22 00:41:08 +03:00
Jaex
cfdad2c27c Use bitmap in drawing image effects 2020-03-22 00:16:55 +03:00
Jaex
b8c10a7067 Decrease unnecessary bitmap casts 2020-03-21 04:41:34 +03:00
Jaex
deb6b70178 Use IsDarkTheme in MainForm 2020-02-09 01:26:44 +03:00
Jaex
36890b100d Make sure custom theme is dark before using immersive dark mode 2020-02-05 11:23:55 +03:00
Jaex
803a4e567c Update year 2020-02-05 10:19:48 +03:00
Jaex
55cf449be4 Handle image save exception 2020-02-04 17:23:53 +03:00
Jaex
65fb293512 Added GetFileDropList method to ClipboardHelpers 2019-12-12 16:06:57 +03:00
Jaex
4f617f594b fixed #4519: Handle clipboard exceptions when getting text 2019-12-12 15:03:22 +03:00
Jaex
9aa35dbc6b Added check contains image parameter 2019-12-12 12:59:00 +03:00
Jaex
8e800ff315 Initial work for random images effect 2019-12-08 10:23:20 +03:00
Jaex
4da86839fa Refactor GetUniqueFilePath method 2019-11-26 17:17:43 +03:00
Jaex
af92b14af3 fixed #4461: Automatically select correct extension in save as dialog 2019-11-05 13:33:12 +03:00
Jaex
9aef43c6e4 Added URLEncodeIgnoreEmoji option to application settings advanced tab, it is currently supported in S3, GCS and FTP/FTPS/SFTP 2019-11-03 08:30:07 +03:00
Jaex
82ad2deb94 Using JSON for history file now, XML history file gonna be automatically migrated to JSON history file on startup 2019-10-25 15:42:17 +03:00
Jaex
2400d529c8 Added HistoryManagerJSON 2019-10-21 14:18:23 +03:00
Jaex
c85f23cc96 Support special folder variables in Actions 2019-10-09 23:03:36 +03:00
Jaex
a3573fd6c7 Added closest color name label to color picker form 2019-10-03 17:25:58 +03:00
Jaex
03265e69be Initial work for image splitter tool 2019-09-28 18:55:26 +03:00
Jaex
251bbe2119 Use dark or light GitHub logo automatically depending on how dark is theme background color 2019-09-25 17:48:21 +03:00
Jaex
223b88aa4b Small code refactoring 2019-09-20 16:02:51 +03:00
Jaex
7bbe79218c Fixed software detection for actions 2019-09-20 15:01:33 +03:00
Jaex
20c83136a9 Fix PVS high issues 2019-09-20 10:48:45 +03:00
Ilya
4c73f3f332 Fixed problem with pixelization for png images 2019-09-16 15:47:09 +03:00
Jaex
3dfac10e82 Added multi color gradient support to background image effect 2019-09-15 10:51:05 +03:00
Jaex
4f2e058260 Added multi color gradient support to border image effect 2019-09-15 10:05:55 +03:00
Jaex
809283318f Ignore emojis while URL encoding S3 result URL 2019-09-01 17:26:58 +03:00
Jaex
ec610f32e0 Added random emoji support to file naming, example: %remoji{10} 2019-09-01 16:28:12 +03:00
Jaex
373f9de2af Added slice image effect 2019-06-25 18:33:29 +03:00
Jaex
ede06076a1 Added random non ambiguous alphanumeric character support for file naming 2019-06-08 20:52:22 +03:00
Jaex
0755698b08 Checker changes 2019-06-02 22:45:15 +03:00
Jaex
0d5284038a Support dark theme in notification form 2019-06-01 22:15:51 +03:00
Jaex
35d6f5aaed Support dark theme color in image editor background 2019-06-01 00:19:37 +03:00
Jaex
5e2290ee6a Support showing thumbnail even when image is not saved as file 2019-05-29 00:15:28 +03:00
Jaex
716a005220 Show task status with subtle glow top of task panels 2019-05-25 17:40:54 +03:00
Jaex
551b04bec5 Moved "Use dark theme" and "Use white ShareX icon" options to application settings general tab 2019-05-24 14:53:47 +03:00
Jaex
541b9e937b MathHelpers improvements 2019-05-23 23:45:11 +03:00
Jaex
132ebafa9c Rename Between extension to Clamp 2019-05-23 22:59:16 +03:00
Jaex
1b094a4725 Small changes 2019-05-23 13:59:20 +03:00
Charles Milette
71bfdd8ba4
Add dark theme titlebar 2019-05-22 13:04:53 -04:00
Jaex
4288b4d130 Support dark preview background checker pattern 2019-05-16 10:59:58 +03:00
Jaex
79bcce9623 Ignore desktop when checking for fullscreen 2019-04-20 23:23:30 +03:00
Jaex
29a8572f68 #2194 #4034: Removed alternative clipboard get/copy methods because not working perfectly and creating issues 2019-03-20 20:29:25 +03:00
Jaex
e2597a7234 Added option to disable notification windows if active window is fullscreen 2019-03-15 16:32:11 +03:00
Jaex
f9fc64c1ce Use OrdinalIgnoreCase for file path comparisons 2019-03-03 19:21:05 +03:00
Jaex
ae7e8d318e fixed #3104: Handle .tar.gz file extension 2019-03-03 18:35:39 +03:00
Jaex
babd07d7f4 Related to #2956, Added standard colors to color picker 2019-02-13 19:57:25 +03:00
Jaex
894348127f When custom uploader response type is headers it will output headers string same as how it is in raw response, without quotes around value 2019-01-19 12:24:52 +03:00
Jaex
efc3e0facc Added XML (application/xml) body support to custom uploader 2019-01-09 19:08:55 +03:00
Jaex
142c68197c Parse request URL 2019-01-08 17:35:17 +03:00
Jaex
cf8879cfb8 If URL already contains query string then don't add "?" again 2019-01-06 16:35:22 +03:00
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