Commit 2c8fa7c2 authored by Robert Sprowson's avatar Robert Sprowson Committed by ROOL
Browse files

Fallback to replying to Message_DataRequest with native type

When the preferred list of types is exhausted, Clipboard Manager should at least respond with the native type (per DnD spec 5.3.1). Since only text is supported, this translates to always replying.

Version 5.78. Tagged as 'Wimp-5_78'
parent 85171512
......@@ -9,12 +9,12 @@
GBLS Module_ApplicationDate
GBLS Module_HelpVersion
GBLS Module_ComponentName
Module_MajorVersion SETS "5.77"
Module_Version SETA 577
Module_MajorVersion SETS "5.78"
Module_Version SETA 578
Module_MinorVersion SETS ""
Module_Date SETS "20 Jul 2020"
Module_ApplicationDate SETS "20-Jul-20"
Module_Date SETS "26 Aug 2020"
Module_ApplicationDate SETS "26-Aug-20"
Module_ComponentName SETS "Wimp"
Module_FullVersion SETS "5.77"
Module_HelpVersion SETS "5.77 (20 Jul 2020)"
Module_FullVersion SETS "5.78"
Module_HelpVersion SETS "5.78 (26 Aug 2020)"
END
/* (5.77)
/* (5.78)
*
* This file is automatically maintained by srccommit, do not edit manually.
*
*/
#define Module_MajorVersion_CMHG 5.77
#define Module_MajorVersion_CMHG 5.78
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 20 Jul 2020
#define Module_Date_CMHG 26 Aug 2020
#define Module_MajorVersion "5.77"
#define Module_Version 577
#define Module_MajorVersion "5.78"
#define Module_Version 578
#define Module_MinorVersion ""
#define Module_Date "20 Jul 2020"
#define Module_Date "26 Aug 2020"
#define Module_ApplicationDate "20-Jul-20"
#define Module_ApplicationDate "26-Aug-20"
#define Module_ComponentName "Wimp"
#define Module_FullVersion "5.77"
#define Module_HelpVersion "5.77 (20 Jul 2020)"
#define Module_LibraryVersionInfo "5:77"
#define Module_FullVersion "5.78"
#define Module_HelpVersion "5.78 (26 Aug 2020)"
#define Module_LibraryVersionInfo "5:78"
......@@ -283,7 +283,8 @@ cbtask_datarequest_rx
TEQ R0,#4
BNE cbtask_poll ; no, ignore
; can we service this request? We only export text (&FFF)
; can we service this request? We only export text
[ {FALSE}
ADD R0,R1,#msDataRequest_filetypes
ADD R2,R1,#256
LDR R4,=FileType_Text
......@@ -294,8 +295,12 @@ cbtask_datarequest_rx
TEQ R0,R2
CMPNE R3,#msDataRequest_filetypes_end
BEQ cbtask_poll ; reached end of the list, so abort
B %BT01 ; look at the next entry
|
; whether it's in the list or not, or the list is null, we
; offer back the native type (text) by default
LDR R3,=FileType_Text
]
02
; requesting task can handle text files
; set up datarequest reply
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment