Commit graph

1499 commits

Author SHA1 Message Date
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
Charles Milette f6616e3358
Fix exception on program close 2020-04-26 00:21:20 -04:00
Jaex 96296c51eb Added RandomFast and RandomCrypto classes 2020-04-23 16:41:09 +03:00
Charles Milette e038a8ace7
Remove speech synthesis support, improve ApplicationInstanceManager 2020-04-22 12:26:56 -04:00
Charles Milette e1e67c3c9b
Remove blank line that CodeFactor complains about 2020-04-21 19:12:38 -04:00
Charles Milette fadc744799
Replace System.Remoting by named pipe, remove RIPEMD-160 support
This is a step towards full .NET Core API coverage. It makes ShareX.HelpersLib 100% covered by .NET Core + Platform Extensions, from a 99.41% previously
2020-04-21 19:03:18 -04:00
Jaex 2cf641b009 Code refactoring 2020-04-11 17:00:14 +03:00
Michael Delpach 39990a60d2 Invoke Completed only if implemented 2020-04-11 13:37:21 +08:00
Jaex 9bf2f26e25 fixed #4732: If theme checker size is lower than 1 then use solid color for backgrounds 2020-04-09 19:54:18 +03:00
Jaex d24963f74b Added hotkeys for image splitter, image thumbnailer and video converter 2020-04-05 20:57:10 +03:00
Jaex 936060c63d Added IsDarkTheme property 2020-03-31 10:26:18 +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 3866c1746b Use bitmap in adjustment image effects 2020-03-21 23:51:06 +03:00
Jaex b8c10a7067 Decrease unnecessary bitmap casts 2020-03-21 04:41:34 +03:00
mdmk 02e315b8e6 Update french translation
Complete missing strings
Correct end of string ponctuation
Plus a few adjustments for word consistency
2020-03-20 00:07:48 +01:00
Jaex 4f0234fe74 Added smart eraser annotation tool 2020-03-11 15:19:04 +03:00
Jaex f9a1366679 Made CloneSafe method generic 2020-03-11 09:43:24 +03:00
L1Q af7c0effcd Update russian translation 2020-02-14 23:37:05 +02:00
Jaex deb6b70178 Use IsDarkTheme in MainForm 2020-02-09 01:26:44 +03:00
Jaex d45fffe56d TabToTreeView refactor 2020-02-08 20:57:44 +03:00
Jaex a3174356a3 Fix uploaders config form tab navigation 2020-02-08 19:20:27 +03:00
Jaex efcca39ae6 Rename DarkTheme to CustomTheme 2020-02-08 18:07:17 +03:00
Jaex 36890b100d Make sure custom theme is dark before using immersive dark mode 2020-02-05 11:23:55 +03:00
Jaex acd262737b Rename UseDarkTheme to UseCustomTheme 2020-02-05 11:13: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 1331822677 Added AutoSelectChild option to TabToTreeView control 2020-02-04 15:43:16 +03:00
Jaex 4380d9fef6 Use treeview tab in uploaders config form 2020-02-04 14:46:52 +03:00
Олександр (6c6c6) ae475ce88a
Some ukrainian fixes and updates 2020-01-23 17:45:05 +02:00
Олександр (6c6c6) 977b845726
Ukrainian translation update
Almost completed Ukrainian localization. Anyone can join the translation [here](https://crowdin.com/project/sharex-unofficial/).
2020-01-21 17:48:12 +02:00
Jaex 0529a8af31 Code refactoring 2020-01-17 14:13:06 +03:00
Jaex e587a63d73 Fixed critical issue in animals list 2020-01-15 21:18:48 +03:00
Jaex 3b5da9cb9f Allow region capture color dialogs to have screen color picker support 2020-01-03 18:09:21 +03:00
Jaex 38e9aaba41 Limit context menu opacity minimum to 10 2020-01-03 16:14:56 +03:00
Jaex bbfd860795 Merge branch 'master' of github.com:ShareX/ShareX 2019-12-22 14:50:20 +03:00
Jaex 28b86ec2f2 Added context menu opacity option 2019-12-22 14:50:06 +03:00
Charles Milette 44051b7064
Fix dark titlebar for Windows 10 20H1 2019-12-21 15:32:01 -05: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 241a9f4eb3 Added image file caching for random images effect 2019-12-08 10:59:56 +03:00
Jaex 8e800ff315 Initial work for random images effect 2019-12-08 10:23:20 +03:00
Jaex f5e5c5c5b4 Moved ObjectListView to HelpersLib 2019-12-04 03:39:57 +03:00
Jaex 4da86839fa Refactor GetUniqueFilePath method 2019-11-26 17:17:43 +03:00
Jaex 1c5a44a40c fixed #4303: If load of image is failed then don't try to open image viewer 2019-11-22 12:21:26 +03:00
physanus a48588bee2
Update german translation for uploading log files in the debug protocol
The current translation could be misunderstanding since it more likely means to open the "upload protocol" and not to upload the protocol. 
This commit clarifies the "upload" of the protocol so the following popup about sensitive information actually makes sense.
2019-11-20 10:39:44 +01:00
Jaex ddbc49da0b Added track bar for video quality 2019-11-19 16:52:34 +03:00
Jaex 9f552ffabb Update NuGet 2019-11-19 04:05:41 +03:00
Jaex 8d51d7eec0 Removed redundant awaits 2019-11-19 04:02:51 +03:00
Jaex 1e3c20b582 Added encode button functionality 2019-11-17 04:03:54 +03:00
Jaex af92b14af3 fixed #4461: Automatically select correct extension in save as dialog 2019-11-05 13:33:12 +03:00
Jaex 43e4ebe2e7
Merge pull request #4472 from absay/master
Update translation: es-MX
2019-11-03 21:57:02 +03:00
Absay 53c5ec31bb Update translation: es-MX 2019-11-03 11:39:46 -06: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 f20fdd8002 Move week patterns to under month 2019-10-31 20:03:43 +03:00
Jaex f07aaab969 Added week of year pattern (%wy) for file naming 2019-10-31 19:56:48 +03:00
L1Q 1bbe31ebde Update russian translation 2019-10-28 06:28:55 +02:00
L1Q 6967863428 Move remoji to resx 2019-10-28 06:27:49 +02: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 705901703d Use invariant culture in debug timer 2019-10-21 10:07:06 +03:00
Jaex 7aa273919a Improve settings load debug messages 2019-10-16 23:49:10 +03:00
Jaex 916d07b99b Fixed window states not saving 2019-10-13 02:36:14 +03:00
Jaex c85f23cc96 Support special folder variables in Actions 2019-10-09 23:03:36 +03:00
Jaex 20602d2dd8 Respect panel selection order when using shift select 2019-10-06 13:41:50 +03:00
Jaex f95b3bdd1d #4280: Support shift click selection of thumbnail panels 2019-10-06 12:21:27 +03:00
Jaex a3573fd6c7 Added closest color name label to color picker form 2019-10-03 17:25:58 +03:00
Jaex a2f9e06871 Ignore click on checkbox 2019-10-02 10:07:18 +03:00
Fyers 20d219b264 german 2019-10-01 22:33:10 +02:00
thanhpd e0222c8a8d
Update Vietnamese translation 2019-10-01 23:21:33 +07: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 abac311ebd Removed old social buttons 2019-09-24 17:43:25 +03:00
Jaex 9a637bd55c Use theme separator color for listview columns 2019-09-24 17:01:00 +03:00
Jaex 44f80d4f3e Added social button actions 2019-09-24 16:44:41 +03:00
Jaex c26ab31a0b
Merge pull request #4387 from candela97/master
update zh-TW localization
2019-09-24 11:23:09 +03:00
candela97 5ba25517d4
update zh-TW localization 2019-09-24 05:19:35 +08:00
Jaex 57cfd5a56f Removed unused image 2019-09-23 13:20:22 +03:00
Jaex fbcea5a755 Respect extension filter while populating actions list 2019-09-21 10:51:11 +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 465b31844c fixed #2483: Added "Run actions" sub menu to task context menu 2019-09-20 13:58:47 +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 2b01313366
Merge pull request #4357 from pourmand1376/fix-translations
Add more Persian translations
2019-09-11 20:08:20 +03:00
Jaex cb17f12fed Added light preset theme, added reset button to theme tab to load presets 2019-09-11 19:51:40 +03:00
Jaex ee0ffd3eef Rename BackgroundColor2 to LightBackgroundColor, added DarkBackgroundColor for thumbnail back color, merge MenuButtonCheckedColor to MenuCheckBackgroundColor 2019-09-11 19:25:11 +03:00
AmirPourmand 39e855db8d Add more persian translations 2019-09-11 00:18:23 +04:30
Jaex 025db3b799 Support theming whole color table 2019-09-10 22:35:40 +03:00
Jaex 46c1beadb6 Update theme after checkbox states change 2019-09-10 21:34:18 +03:00
Jaex f82cabfab1 Theme list ui improvements 2019-09-07 14:39:58 +03:00
Jaex 2d92d9e338 Adding themes list 2019-09-07 13:41:38 +03:00
Jaex 94425455e3 Added theme tab to application settings 2019-09-06 18:11:08 +03:00
Jaex 229393b726 Added theme setting 2019-09-06 14:48:57 +03:00
Jaex 35fa16a659 Added ShareXTheme class for preparation of customizable theme colors 2019-09-06 11:18:30 +03:00
Jaex 4ab6a422a3 Added thumbnail title location option to right click menu 2019-09-03 10:54:29 +03:00
Jaex 29cfa84411 Replace emoji list 2019-09-01 21:11:50 +03:00
Jaex 491939865d Commented more problematic emojis 2019-09-01 19:04:15 +03:00