Please keep merge requests small and each commit atomic, ~5 patches or so for an MR would be best. Each MR should ideally have its corresponding tests. That will help with the reviewing. Note that there are CI build failures. You will need to address that as well.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6766#note_86591
The implementation is backed by a smaller `IWinePropertySetImpl` interface for core operations (insertion, lookup, removal, iteration), which currently uses an `rb_tree` to store `HSTRING`-`IInspectable *` value pairs.
If needed, the \``IWinePropertySetImpl`\` implementation can be later swapped out with a hash table for performance reasons, as `PropertySet` does not have an enumeration order guarantee, at least according to the MSDN docs.
--
v8: dlls/wintypes: Implement IMapView methods get_Size, HasKey, Lookup, Split for PropertySet.
dlls/wintypes: Invoke MapChanged event handlers from PropertSet on entry removal and Clear().
dlls/wintypes: Invoke MapChanged event handlers from PropertySet on insertion.
dlls/wintypes: Implement get_Current() for the IIterator implementation obtained from PropertySet.
dlls/wintypes: Implement IIterator methods MoveNext() and get_HasCurrent() for PropertySet.
dlls/wintypes: Implement IMap method GetView() for PropertySet.
dlls/wintypes: Implement IMap methods HasKey, get_Count and Remove for PropertySet.
dlls/wintypes: Implement IMap method Clear() for PropertySet.
dlls/wintypes: Implement IMap methods Insert() and Lookup() for PropertySet.
dlls/wintypes: Implement adding/removing IMapChangedEventHandlers for IObservableMap<HSTRING, IInspectable *>.
dlls/wintypes: Add stubs for IKeyValuePair<HSTRING, IInspectable *>.
dlls/wintypes: Add stubs for IIterator<IKeyValuePair<HSTRING, IInspectable *>>.
dlls/wintypes: Add stubs for IMapView<HSTRING, IInspectable *>.
dlls/wintypes: Add IIterable<IKeyValuePair<HSTRING, IInspectable *>> stubs to PropertySet implementation.
dlls/wintypes: Add IObservableMap<HSTRING, IInspectable *> stubs to PropertySet implementation.
This merge request has too many patches to be relayed via email.
Please visit the URL below to see the contents of the merge request.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6766
Use the unicode interface by default and return the same value
as before this change.
There are a few locations, that called W->A. It will return the
same value as before for the Ansi version but the unicode one will
now report an error.
--
v2: dplayx: Merge IDirectPlayLobby3A into IDirectPlayLobby3
https://gitlab.winehq.org/wine/wine/-/merge_requests/6481
This MR is the first of multiples MRs adding support for the Bluetooth stack API in Wine:
1. The winebth.sys driver, which talks to BlueZ and implements several key IOCTLs for communicating with Bluetooth devices and radios.
2. A bthserv service, which is responsible for keeping track of the authentication agent, and relaying authentication requests and responses to and from the driver.
3. Userspace APIs (bluetoothapis.dll, bthprops.cpl, Windows.Devices.Bluetooth, etc).
winebth.sys is split into two "sub" drivers:
`winebth.sys`: The main entrypoint, loaded by winedevice. It listens for changes to Bluetooth devices and radios and authentication events on BlueZ, passing them on the bthenum. It also handles most IOCTL operations on Bluetooth radio PDOs.
`bthenum`: Responsible for creating nodes for discovered Bluetooth devices and associated services. It also tries to validate any IOCTLs relating to bluetooth devices before passing them to winebth.sys. (Not in this MR, likely in part 2)
The unix code is split between dbus.c, unixlib.c and winebluetooth.c, where winebluetooth is a simple wrapper around unixlib for the sake of organization.
--
v32: dlls/winebth.sys: Register and enable BTHPORT_DEVICE and BLUETOOTH_RADIO interfaces for radio PDOs.
dlls/winebth.sys: Derive a unique hardware ID for radio PDOs from their corresponding BlueZ object path.
dlls/winebth.sys: Create radio PDOs from the list of org.bluez.Adapter1 objects on BlueZ.
dlls/winebth.sys: Add a basic unixlib stub using DBus.
dlls/winebth.sys: Add base winebth.sys driver.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6621