[PATCH setup 4/4] Add double-click for a 'default action' to ListView

2019-03-21 Thread Jon Turney
Add support for a double-click in the ListView to invoke a 'default action'. Because we receive both NM_CLICK and then NM_DBCLK, reduce the area of a pop-up column which is sensitive to a click to the drop-down button (which opens a focus-stealing pop-up menu), so the rest of the area can receive

[PATCH setup 3/4] Don't propagate actions down category tree into obsolete categories

2019-03-21 Thread Jon Turney
Choosing the 'Install' action on the 'All' category shouldn't propagate down into the '_obsolete' category, because that will just result in dependency conflicts due to trying to install both obsolete packages and their replacements. Signed-off-by: Jon Turney --- PickView.h | 5 - 1 file cha

[PATCH setup 0/4] setup fixes

2019-03-21 Thread Jon Turney
[2/4] Addresses: https://cygwin.com/ml/cygwin/2019-02/msg00153.html [3/4] Addresses: https://cygwin.com/ml/cygwin/2019-01/msg00132.html [4/4] Addresses: https://cygwin.com/ml/cygwin/2018-12/msg00123.html Jon Turney (4): Use 'kill -W' when killing processes Don't show FTP 550 'file not found' e

[PATCH setup 2/4] Don't show FTP 550 'file not found' errors in a MessageBox

2019-03-21 Thread Jon Turney
Don't show FTP 550 'file not found' errors in a MessageBox. Also log InternetGetLastResponseInfo() when fetching a URL. WinInet documentation seems to indicate this kind of extended error information only exists when WinInet has an FTP error code to report. Log this error (and the associated URL)

[PATCH setup 1/4] Use 'kill -W' when killing processes

2019-03-21 Thread Jon Turney
We only have access to the Windows PID, which (since Cygwin 3.0.0) are completely decoupled from Cygwin PIDs. Use the new '-W' flag to indicate to kill that we are providing a Windows PID. (If the Cygwin install is too old to support kill -W, kill will fail, and we'll fall back to using Terminate