Commit graph

1456 commits

Author SHA1 Message Date
Jaex
b6c2bd5098 JsonHelpers refactor 2020-09-29 16:59:33 +03:00
Jaex
3b9f5ed747 Improvements to JsonHelpers class, removed export/import buttons from image effects form 2020-09-29 16:42:46 +03:00
Jaex
31337563b7 #5072: Code refactor and fix wrong colors 2020-09-26 14:31:56 +03:00
Jake
ec92fae942 Update to make field names better, and to add variable precision rounding
See PR 5072 for the input that lead to this change.
2020-09-25 22:11:12 -07:00
Jake
8af8f470a5 Update color picker format options to include 0-1 colors
I used capital letters R, G, and B since they had not been used yet. This format of colors is used with a number of things, most notably Unity, and this will save me and hopefully others from having to convert normal colors to 0-1 range every so often, which I say is a win.
I have it set to round to 3 decimal places, but that's totally arbitrary and any precision will work, although some level of rounding seems sensible. I could probably make it so users can specify their own rounding precision, however this would be somewhat more effort to implement and would be a more significant deviation from the rest of the formatting rules, so I'll only add that if someone else says it'll actually be accepted. 
Also, why is banker rounding the default smh c # is is dumb
2020-09-24 16:40:23 -07:00
Jaex
2d2f7c026f By default context menu won't be transparent 2020-09-24 21:53:50 +03:00
Jaex
ed5a8c0765
Merge pull request #5069 from kanaxx/l10n_japanese
Adding Japanese Language Support
2020-09-24 20:36:01 +03:00
Jaex
5e9efa6fdb Removed unused resources 2020-09-24 10:21:15 +03:00
kanaxx
6ebb58ddee change translation of smart eraser 2020-09-23 23:56:24 +09:00
Jaex
4182c90775 Added clear button to gradient picker form 2020-09-22 18:44:24 +03:00
Jaex
f4f29f911a Added titles to hotkey info label 2020-09-21 12:00:32 +03:00
Jaex
9a92490f91 Change how hotkey tips looks in main window 2020-09-20 16:23:20 +03:00
Jaex
31c94623da In image editor show menu tooltips for task status 2020-09-20 02:26:53 +03:00
Jaex
dc523d477b Make sure theme colors can't be empty from property grid 2020-09-18 02:16:04 +03:00
kanaxx
b4128e3bad adding resources of Japanese translation 2020-09-18 00:31:16 +09:00
Jaex
6c060bb2df Disable menu close on click 2020-09-17 00:32:41 +03:00
Jaex
88541bb6df Added context menu font option to theme 2020-09-16 02:16:53 +03:00
Jaex
127030ce4c Added Duplicate button to edit menu 2020-09-15 20:54:38 +03:00
Jaex
ea695ab926 Code refactor 2020-09-15 03:36:49 +03:00
Michael Ryan
83c3dcedff * Added "Color depth" filter that remaps RGB pixel color to the nearest color at the specified color depth. For example, #E1CB96 will be remapped to #DDCC99 when "BitsPerChannel" is set to 4.
* Fixed the menu items order of "Drawing > Particles", "Adjustments > Color matrix", and "Filters > Convolution matrix", which were not alphabetized correctly.
2020-09-14 12:45:26 -07:00
Michael Ryan
46c8c4b778 Fixed the following compiler errors and warning.
* QuickTaskInfoEditForm.cs(57, 124): [CS8107] Feature 'enum generic type constraints' is not available in C# 7.0. Please use language version 7.3 or greater.

* VideoConverterForm.cs(177, 25): [CS0121] The call is ambiguous between the following methods or properties: 'Task.Run<TResult>(Func<TResult>)' and 'Task.Run(Func<Task>)'

* HashCheck.cs(65, 55): [CS0168] The variable 'e' is declared but never used
2020-09-14 12:22:56 -07:00
Jaex
be385c28a1 Select first format automatically 2020-09-13 21:47:05 +03:00
Jaex
ea69c42047 Made form localizable 2020-09-13 21:13:45 +03:00
Jaex
09967e91b4 Use MyPictureBox control 2020-09-13 21:12:41 +03:00
Jaex
0ebcd6bf60 Added clipboard viewer tool 2020-09-13 21:00:49 +03:00
Jaex
32c4aa50fa Added DIBV5ToBitmap method 2020-09-13 07:52:56 +03:00
Jaex
374245b7fa Convert BackgroundWorker to task in FileDownloader 2020-09-13 07:09:39 +03:00
Jaex
6e2b241bb1 Support ctrl + a when target textbox is read only 2020-09-13 06:40:30 +03:00
Jaex
f435470c2c UI changes 2020-09-13 06:24:57 +03:00
Jaex
03b2490858 Support comparing two files 2020-09-13 06:17:14 +03:00
Jaex
ced2b1253a Convert BackgroundWorker to async task 2020-09-13 06:04:03 +03:00
Jaex
fded529e72 UI update for comparing two files 2020-09-13 03:45:40 +03:00
Jaex
a19439ef33 Code refactor 2020-09-10 13:18:00 +03:00
Michael Delpach
d72c4751e7 Autoscale Region Capture toolbar based on DPI 2020-09-09 08:12:50 +08:00
Jaex
b39126cfb1 Set Dev true 2020-09-08 10:18:00 +03:00
Jaex
50c352054a NuGet update 2020-09-07 08:45:27 +03:00
Jaex
b432383ef1 Added debug log for download URL 2020-09-06 13:35:32 +03:00
Jaex
a277389f61 Project cleanup 2020-09-06 12:30:29 +03:00
RieL
cfb241ad7e Updated missing Korean translations and more
Screenshot delay -> 스크린샷 지연
and added some other missing translations & ':'s.
2020-09-03 03:49:17 +09:00
Jaex
b23357d1f8 Code refactor 2020-09-02 12:49:59 +03:00
Jaex
bc7c7adf26 Use ShareX/FFmpeg repo for FFmpeg download 2020-09-02 12:19:20 +03:00
simonporte
bdf4db16d3 Update french translation 2020-09-01 18:54:25 +02:00
L1Q
69e8c22479 Update russian translation 2020-08-31 12:30:29 +01:00
Jaex
74d57ccc12 CodeFactor refactors 2020-08-31 12:53:04 +03:00
Jaex
f7db2733a2 Code refactor 2020-08-30 04:30:41 +03:00
Jaex
10f4d202c5 Workaround for action file name overwrite issue 2020-08-30 04:07:45 +03:00
Jaex
42a30742d8 Fixed IsFileLocked method 2020-08-30 00:17:18 +03:00
Jaex
041db0deaa Apply color matrix while drawing the image 2020-08-29 21:06:29 +03:00
Jaex
4e512a83d9 If DPAPI decrypt fails then assign text null 2020-08-20 17:07:24 +03:00
Jaex
cb6171ed42 Add html fragment with file name to clipboard 2020-08-16 23:45:17 +03:00
Jaex
ab0f5d4934 Include white background bitmap in clipboard 2020-08-16 19:43:16 +03:00
Jaex
a540905b4c Workaround for clipboard copy transparency issues 2020-08-16 17:58:28 +03:00
Jaex
f0e91c6017 fixed #4390: Added UseAlternativeClipboardCopyImage option 2020-08-16 17:54:43 +03:00
Jaex
eef832d12a Added ClipboardHelpersEx class 2020-08-16 17:24:01 +03:00
Michael Delpach
159861bc3a More DPI fixes 2020-08-15 20:43:04 +08:00
Jaex
f88ed0f7f8 Export unencrypted settings so user can import them in another pc 2020-08-14 12:47:52 +03:00
Jaex
ec342d7594 Add image effect config from memory 2020-08-13 16:52:42 +03:00
Jaex
c2c8855ee5 Added ZipEntryInfo class to support adding both source path and stream 2020-08-13 16:00:38 +03:00
Jaex
3c4af9efaa Move ZipManager to Zip folder 2020-08-13 15:23:25 +03:00
Jaex
fba38a4005 Added CreateEntryFromStream extension method 2020-08-11 20:24:44 +03:00
Jaex
e589293637 Added draw method with image parameter 2020-08-09 05:46:36 +03:00
Jaex
ab2ff517fb Added border and checkers parameter 2020-08-09 05:37:04 +03:00
Jaex
00dd733e76 Use built in method to create gradient preview 2020-08-09 05:11:15 +03:00
Jaex
3d4e1c952a Refactor clipboard upload form codes 2020-08-08 05:04:59 +03:00
Jaex
300819b5b9 Moved ClipboardContentViewer form to ShareX project, renamed it to ClipboardUploadForm, changed form title and button text 2020-08-05 20:37:13 +03:00
Jaex
282b1425ec GetPosition improvement 2020-08-04 19:44:26 +03:00
Jaex
f1d5c0ef68 fixed #4957: Fix torn edge exception 2020-08-02 14:59:30 +03:00
Jaex
8de52c9737 Check is control disposed 2020-07-29 19:28:08 +03:00
Jaex
0024facb16 Added clipboard status label to color picker form 2020-07-29 09:59:51 +03:00
Jaex
6fc7ad2812 Round gradient stop positions 2020-07-28 15:55:35 +03:00
Jaex
90d85a7432 Added more gradient presets 2020-07-28 15:28:01 +03:00
Jaex
242616bacb Added "Pick color from clipboard" button to color picker 2020-07-28 15:00:48 +03:00
Jaex
a883f2bf63 Color picker form now by default checks clipboard for color text 2020-07-28 14:52:12 +03:00
Jaex
be0cc6c97f Create gradient info from color array 2020-07-28 14:14:40 +03:00
Jaex
cdfb60b34d Update gradient type of presets 2020-07-27 19:40:41 +03:00
Jaex
d1614950ae Added gradient presets list to gradient picker form 2020-07-27 18:45:34 +03:00
Jaex
67c638dc1d Disable deselect gradient points 2020-07-27 15:40:37 +03:00
Jaex
c56943e999 Restrict slice height to minimum 1 2020-07-20 22:31:03 +03:00
Jaex
fc4087049c Check is gradient visible 2020-07-20 06:25:38 +03:00
Jaex
2a89a63baf fixed #4918: Added hotkey for QR code decode from screen 2020-07-19 17:30:21 +03:00
Jaex
8d7e1f0744 Improve outline image effect 2020-07-16 02:41:25 +03:00
Michael Delpach
421ffb83e4 DPI fixes 2020-07-11 19:01:01 +08:00
Jaex
eacc903588 Added drag n drop support to presets 2020-07-09 11:50:40 +03:00
Jaex
11ce1f0fad Use reflection to apply theme to form components 2020-07-09 11:15:43 +03:00
Jaex
9a13d82af4 Apply custom theme to form components 2020-07-09 10:20:06 +03:00
Jaex
7abc41aac6 Ensure selected preset is visible 2020-07-08 16:54:29 +03:00
Jaex
c5b5744cb9 Ensure selected item is visible 2020-07-08 15:32:43 +03:00
Jaex
92076f0e5f Apply custom theme to picture box menu 2020-07-08 15:12:49 +03:00
Jaex
1d649e2617 Image effects form design change 2020-07-08 14:14:24 +03:00
Michael Delpach
06b028dc26 Delete LoadingSmall.gif 2020-07-06 08:57:02 +08:00
Michael Delpach
f0a982fdf3 Rebase to 0c039b9ee0
0c039b9ee0
2020-07-06 07:23:59 +08:00
Michael Delpach
50f86ee79a Revert "Revert "Merge branch 'master' of https://github.com/ShareX/ShareX""
This reverts commit 85fdab3c56.
2020-07-06 06:37:56 +08:00
Michael Delpach
85fdab3c56 Revert "Merge branch 'master' of https://github.com/ShareX/ShareX"
This reverts commit 2903ca1082, reversing
changes made to 195c0f2f8a.
2020-07-06 06:27:50 +08:00
Michael Delpach
2903ca1082 Merge branch 'master' of https://github.com/ShareX/ShareX 2020-07-06 06:26:47 +08:00
Jaex
0c039b9ee0 Added palette size option to SelectiveColor effect 2020-07-05 17:27:31 +03:00
Jaex
7577bdd0a4 Keep aspect ratio using watermark image instead of canvas 2020-07-05 11:05:43 +03:00
Jaex
4a444ca164 Added area and perimeter info to ruler tool 2020-07-05 08:12:55 +03:00
Jaex
5e5e2d9b31 Set initial directory in image file name editor 2020-07-03 02:12:25 +03:00
Jaex
169c7c2347 Improve zip extract error message 2020-07-02 05:31:39 +03:00
Michael Delpach
b5d68b721e .NET Framework upgrade to 4.7.2 to fix multi-DPI issues
Starting with the .NET Framework 4.7, Windows Forms includes enhancements for common high DPI and dynamic DPI scenarios - See https://docs.microsoft.com/en-us/dotnet/framework/winforms/high-dpi-support-in-windows-forms
2020-06-29 07:36:48 +08:00