Commit graph

420 commits

Author SHA1 Message Date
Jaex da2b593d00 NuGet update 2016-03-20 17:37:40 +02:00
Jaex 75d59c5a8c Few small ApplicationInstanceManager changes 2016-03-20 12:44:20 +02:00
Jaex ef6eb94e28 Moved ApplicationInstanceManager outside folder 2016-03-20 12:27:47 +02:00
Jaex f7cb8228a6 All window titles starts with "ShareX - " now, Turkish translation 100% 2016-03-19 17:40:59 +02:00
Jaex a04d10c05c fixed #1416: Added raw URL support to GitHub Gist 2016-03-18 14:08:24 +02:00
Jaex e5788da81e fixed #1399: Added "runas" back to updater 2016-03-18 11:04:48 +02:00
Jaex b6e25d7e07 Few ApplicationInstanceManager changes 2016-03-18 02:10:56 +02:00
Jaex f23202d7ff Single instance code moved to ApplicationInstanceManager class 2016-03-17 11:03:08 +02:00
Jaex 6a992a0857 fixed #1400: Added AcceptInvalidSSLCertificates option to Application settings -> Advanced tab which can be used by people who using self signed certificates 2016-03-14 03:10:19 +02:00
Jaex ee151f466e Merge pull request #1406 from campbeb/greenshot_update
Update Greenshot to latest version
2016-03-13 20:45:12 +02:00
Brian ee88e25b2f Update Greenshot to latest version
Greenshot updated from 1.2 branch at commit
e9ab99c5acc99785cc5045b4b5493c9b6504d016

This solves #1341 and #1079 for allowing support high DPI monitors.
Additionally, the following were implemented:
- #748 - Objects can be saved to file and loaded from file via menu
- #676 - Keyboard shortcuts added for 'Save and close' (Alt+S), 'Close'
(Alt+W), and 'Close and cancel tasks' (Alt+C)
- #1189 - Editor opens sized to image. Can be disabled via Greenshot ini
with `MatchSizeToCapture=False`
2016-03-13 12:07:53 -04:00
Jaex 6fbe9b5913 Use custom GetFilename method because otherwise "Illegal characters" error can happen 2016-03-12 00:34:56 +02:00
Brian 29e8e739e3 Proper Single Instance Implementation
Reworked single instance code to better handle being launched with
context menu.

Previously:
- On launch, process would try to open an `EventWaitHandle`. If it
didn't exist, then process assumed it was first and created it
- Multiple processes launching at same time would all see the
`EventWaitHandle` did not exist before any process could create it
- This led to multiple instances of program running

Now a mutex is used:
- Processes will all try to open the mutex. Only first one will succeed
- Process that opens the mutex will setup the `EventWaitHandle`
- Other processes won't get the mutex and will be directed to use the
`EventWaitHandle` to pass their command line args to the running
instance
2016-03-10 16:29:01 -05:00
Jaex 3455590ea5 fixed #1388: Added ForceActivate to AfterCapture and BeforeUpload forms shown event 2016-03-09 18:37:54 +02:00
Jaex 6c6ab39cf1 Don't show www. in chevereto or pomf list 2016-03-05 18:23:53 +02:00
Brian d81558291e Handle multiple context menu selections - Move semaphore release
Current process is as follows:
1. Invoked .exe gets the semaphore
2. Invoked .exe sets `InstanceProxy` values in running exe
3. Invoked .exe causes thread to spawn in running exe
4. New thread in running .exe reads values from `InstanceProxy`
4. Invoked .exe release the semaphore

The problem is that there is no guarantee on how fast new threads in
running .exe will spawn and read values from `InstanceProxy`. This PR
addresses that by moving the semaphore release from the invoked .exe to
the thread spawned in running .exe.
2016-03-04 08:45:03 -05:00
Brian c21036aa0e Handle multiple context menu selections - Fixes #770
The problem is that multiple context menu selections spawn multiple .exe
(invoked). Each invoked .exe sets the InstanceProxy variables in the
running .exe and tells it to start a thread to process. But, there is no
waiting, so the InstanceProxy variables get clobbered before they can
get used.
This fix uses a semaphore to control the invoked .exe. There is only one
entry allowed forcing invoked .exe to wait until any other invoked .exe
is finished running and releases the semaphore.
2016-03-03 18:57:21 -05:00
Jaex 93a42d1617 Added open image history hotkey 2016-03-03 12:05:59 +02:00
Jaex 323f7ac7e8 Image history performance improvements 2016-03-02 02:02:08 +02:00
Jaex f21ed81ad3 Resx updates 2016-03-01 12:18:00 +02:00
Jaex 7e957014bd History form layout changes and improvements 2016-03-01 11:03:19 +02:00
Jaex 944fb121f5 fixed #1350: Added checks for every single numeric up down value assigns 2016-02-29 23:09:22 +02:00
Shadorc 92b1e61246 Update French Translation 2016-02-27 16:11:10 +01:00
Jaex 225b7fe3a7 Recent max count changes to fix loading incorrect amount of recent items in main window 2016-02-27 08:37:11 +02:00
Jaex fa3c84d68c Removed BaseForm.cs because it was causing bug with vs designer resx 2016-02-25 22:55:54 +02:00
Jaex 369be4e154 Fix color picker form color init issue 2016-02-25 02:40:43 +02:00
Jaex 2696430203 Marked some fields as invariant 2016-02-22 18:02:17 +02:00
Michael Delpach 0f17aeeec2 CreateDirectoryFromFilePath
and CreateDirectoryFromDirectoryPath
2016-02-22 07:15:23 +08:00
Jaex 8d34f380ff Revert "CreateDirectoryIfNotExist detects user error"
This reverts commit 29d87cff1a.
2016-02-22 00:30:19 +02:00
Michael Delpach 29d87cff1a CreateDirectoryIfNotExist detects user error 2016-02-22 06:23:44 +08:00
Jaex 5b494bf436 Added open history hotkey 2016-02-21 21:50:49 +02:00
Jaex 8c74b42efc Added lightpics.net 2016-02-21 13:22:36 +02:00
Michael Delpach a4409c1582 Remove underlining to increase readability 2016-02-21 09:38:14 +08:00
Jaex 86389c63a4 Using link label that way startup folder can be opened 2016-02-20 15:25:11 +02:00
Michael Delpach 98699b0e2a Debug Log shows executable path to avoid scrolling 2016-02-20 16:36:38 +08:00
Jaex 638c9caefa Added open log file button to debug form 2016-02-19 19:33:15 +02:00
Jaex 930f75ea57 Fix clipboard get image problem 2016-02-16 08:22:55 +02:00
Jaex 2963a5f9ef SomeImage fixes 2016-02-15 08:53:30 +02:00
Michael Delpach 90f5accde2 Special folder support for FFmpeg path 2016-02-15 06:16:23 +08:00
Jaex 577fac0ad6 fixed #1267: Removed run as admin from updater 2016-02-12 20:24:24 +02:00
Jaex cf38ce1b93 Save all settings before export, Load all settings and update controls after import 2016-02-10 23:14:23 +02:00
Jaex 6b6f3fdb7c Added Import function 2016-02-10 21:55:57 +02:00
Jaex ca8d2aad47 Don't use StartupPath because it will be wrong in some cases 2016-02-10 01:09:56 +02:00
Jaex 5e02df215f Changed quick task info defaults, removed one easter egg 2016-02-06 22:56:48 +02:00
Jaex 7ff74dcdb3 Added quick task menu editor 2016-02-06 20:10:01 +02:00
Jaex 0e36ec75b5 Quick task menu system works now 2016-02-06 18:41:05 +02:00
Alexandre Oliveira aacb766790 Update Brazilian Portuguese translation 2016-02-05 16:13:14 -02:00
dannoe 4ad0fe3a31 Fixed/Added german translations 2016-02-04 16:12:59 +01:00
Jaex 03c4b68b60 Added directory indexer form 2016-02-02 14:58:34 +02:00
Jaex c06409ac66 SettingsSaved parameter changes, moved SettingsChanged to TreeGUI project 2016-02-01 16:53:32 +02:00