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
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
7df4ad672f
Restrict extraction of image effect packages to 20mb to prevent zip bomb attacks
2020-06-27 01:04:43 +03:00
Jaex
893ef9bcea
More verbose command string
2020-06-19 19:30:24 +03:00
Jaex
d6872d7b9f
Improve ZipManager extract method
2020-06-19 17:41:00 +03:00
Jaex
6360690bda
Use filter func in zip extract method
2020-06-19 16:24:09 +03:00
Jaex
dea9c7daf2
Use split container in image effects form
2020-06-18 11:38:00 +03:00
Jaex
442391b272
Added dark theme compatible loading gif
2020-06-18 10:09:45 +03:00
Jaex
b16f93fda5
Added interpolation mode option to image watermark
2020-06-17 16:40:29 +03:00
Jaex
b3bcffbde0
Use linq in extract method
2020-06-17 09:53:24 +03:00
Jaex
2a2f42639f
Update image effect text in after capture tasks because it is not about watermark anymore
2020-06-17 02:38:38 +03:00
Jaex
3293de0703
Revert ApplicationInstanceManager for testing issue
2020-06-17 01:37:16 +03:00
Jaex
0a5d803255
Added custom path variable %ShareXImageEffects%
2020-06-16 07:27:32 +03:00
Jaex
28c7b91752
Support importing .sxie files
2020-06-16 05:29:07 +03:00
Jaex
5f10e99655
Improvements to ZipManager
2020-06-16 01:31:36 +03:00
Jaex
cd052ea783
Rename create directory method
2020-06-15 07:17:46 +03:00
Jaex
d5b66fede7
Create parent folders on startup
2020-06-15 07:02:39 +03:00
Jaex
c0015f0e8f
Fix image list color depth
2020-06-12 04:28:29 +03:00
Jaex
0b2f4840c4
Show colors as icon in gradient picker list
2020-06-12 02:17:07 +03:00
Jaex
ed23376247
Gradient picker form layout changes
2020-06-09 00:40:16 +03:00
Jaex
8c75b5e4ba
Added reverse button to gradient picker
2020-06-09 00:18:21 +03:00
Jaex
c7a4b7a010
Automatically sort gradient stops
2020-06-08 23:55:36 +03:00
Jaex
c94e40b4a3
Fix default gradient offset for add button
2020-06-08 22:53:46 +03:00
Jaex
0a106e28cd
Allow creating gradient even when start and end gradient stop is missing
2020-06-08 22:32:20 +03:00
Jaex
fa88bda766
Added SupportDPAPIEncryption option to SettingsBase
2020-06-01 14:13:18 +03:00
Jaex
7a1daca92f
Use DPAPIEncryptedStringPropertyResolver when saving/loading settings
2020-05-30 13:48:31 +03:00
Jaex
dfe387a113
Added backward compatibility support to encrypted string value provider
2020-05-30 13:08:05 +03:00
Jaex
4371884843
Added DPAPI json contract resolver
2020-05-29 19:13:37 +03:00
Jaex
cdd4fff59e
Added DPAPI class
2020-05-29 19:11:27 +03:00
Jaex
719e633fd3
Move setting related classes to Settings folder
2020-05-29 17:24:04 +03:00
Jaex
fc85ee45b7
If filePath not exists then use File.Move
2020-05-29 16:50:23 +03:00
Jaex
cf61535797
On setting load use last weekly backup as fallback
2020-05-25 10:41:01 +03:00
Jaex
0ace03d138
Added temp file fallback for setting load
2020-05-24 15:05:51 +03:00
Jaex
d6600df108
Removed ExperimentalCustomTheme option
2020-05-22 08:44:02 +03:00
Jaex
be7a104d9d
Support theme opacity in quick task menu
2020-05-20 06:26:46 +03:00
Jaex
c63c37fd19
#702 : Improvements to setting save integrity
2020-05-18 20:59:11 +03:00
Jaex
ca4e1f0ce6
Also support importing previous json format which contains namespace and assembly name
2020-05-15 02:19:32 +03:00
Jaex
5be913cb76
Don't include namespace and assembly in exported image effect json
2020-05-15 01:57:55 +03:00
Jaex
ee6d85cf1a
Use variable folder path for draw image effect
2020-05-14 00:18:27 +03:00
Jaex
5e59bf9cdf
Check file path
2020-05-12 15:45:32 +03:00
Jaex
cf2835eac3
#4796 : Cache actions menu icons
2020-05-12 14:55:44 +03:00
Jaex
b8d9a36a6b
#4774 : Added Portuguese to settings
2020-05-08 14:23:38 +03:00
Jaex
87d39b0ec6
Write setting file path to log
2020-05-07 11:47:12 +03:00
Jaex
14b9491664
Added extra measure to stop corrupting backup of setting files
2020-05-07 10:38:00 +03:00
Jaex
9c89c521d2
Include pt-PT.resx files
2020-05-07 08:47:10 +03:00
Jaex
922807529f
fixed #4795 : Show upload warning dialogs in taskbar
2020-05-07 07:40:17 +03:00
Jaex
eab81e297c
Added "Amazon S3 One Zone-Infrequent Access" and "Amazon S3 Intelligent-Tiering" Amazon S3 storage classes
2020-05-03 23:06:37 +03:00
Farewell Angelina
78fffd7834
Delete BACKUP.resx
2020-05-01 19:59:50 +01:00
Farewell Angelina
890cad3be5
Delete BACKUP_PT-PT.resx
2020-05-01 19:59:33 +01:00
Farewell Angelina
28c29feb18
PT-PT Language
2020-04-30 00:45:09 +01:00
Jaex
b6a138b663
Refactor CodeMenu, show CodeMenu at bottom in screenshots folder textbox
2020-04-28 04:44:37 +03:00
Jaex
b1b80ac84d
Merge pull request #4765 from sylveon/master
...
Fix exception on program close
2020-04-26 14:15:15 +03:00