Chip Davis
42e932e63f
wined3d: Remove WINED3D_RS_EDGEANTIALIAS.
...
Handle this render state similarly to D3DRS_ZFUNC, by mapping it in the
client DLLs.
As far as I can tell, save for the fact that it's only supposed to apply
to lines forming a convex outline, it's roughly equivalent to
D3DRS_ANTIALIASEDLINEENABLE. We definitely handled it the same way.
Curiously, even though we supported the render state, we didn't set the
corresponding capability bit. Do that now.
Signed-off-by: Chip Davis <cdavis@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 19:40:26 +02:00
Paul Gofman
c24551cae8
ddraw/tests: Test system memory surface with lost device for ddraw1.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 19:40:21 +02:00
Paul Gofman
47e777d6ea
ddraw/tests: Test system memory surface with lost device for ddraw2.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 19:40:19 +02:00
Paul Gofman
f2ba4d78d3
ddraw/tests: Test system memory surface with lost device for ddraw4.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 19:40:14 +02:00
Paul Gofman
3acc26dc22
ddraw: Check surface flags when marking surface as lost.
...
Fixes a regression triggered by 530a3d94de
.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48923
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 19:40:04 +02:00
Paul Gofman
e1a79d4d7c
ddraw: Convert BOOL flags to bitfields in ddraw_surface.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 19:40:01 +02:00
Alistair Leslie-Hughes
ccce5f769d
ntdll: Correct compile error under macos.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 14:15:13 +02:00
Dmitry Timoshkov
e521fe0327
adsldp/tests: Fix memory leaks (Valgrind).
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 14:15:12 +02:00
Dmitry Timoshkov
2ff5eb7f13
adsldp: Fix memory leaks (Valgrind).
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 14:15:12 +02:00
Dmitry Timoshkov
213404da80
adsldp: Add support for paged search.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 14:15:12 +02:00
Dmitry Timoshkov
75f27dbe6e
wldap32: Implement ldap_get_next_page_s.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 14:15:12 +02:00
Dmitry Timoshkov
df46f513cb
wldap32: Implement ldap_get_paged_count.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 14:15:12 +02:00
Dmitry Timoshkov
35b7856d50
wldap32: Implement ldap_search_abandon_page.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 14:15:12 +02:00
Dmitry Timoshkov
6e459129e7
wldap32: Implement ldap_search_init_pageW.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 14:15:12 +02:00
Nikolay Sivov
06d36b1adf
ole32: Fix spy callback arguments for IMalloc::GetSize().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 14:15:12 +02:00
Nikolay Sivov
1e3bc9f3a6
ole32: Improve thread safety in DidAlloc().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 14:15:12 +02:00
Nikolay Sivov
08f4b6ee0a
ole32: Fix IMalloc::DidAlloc() return value to reflect block validity.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 14:15:12 +02:00
Alexandre Julliard
c56e5695a7
libport: Remove the Windows libwine stubs.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 14:15:12 +02:00
Alexandre Julliard
77bb698b32
mountmgr.sys: Avoid using wine_get_config_dir().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 13:57:35 +02:00
Alexandre Julliard
a094f5173a
winevdm: Avoid using wine_get_config_dir().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 13:57:35 +02:00
Alexandre Julliard
43e80d235e
winemenubuilder: Avoid using wine_get_config_dir().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 13:57:35 +02:00
Alexandre Julliard
0a12f25869
gdi32: Use Windows paths to read Wine font directories.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 13:57:35 +02:00
Alexandre Julliard
da604dce34
gdi32: Use Windows paths in add/remove_font_resource().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 13:57:35 +02:00
Alexandre Julliard
6d582ed530
winecfg: Get rid of drive autodetection.
...
The dynamic device support works well enough now.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 13:57:35 +02:00
Alexandre Julliard
cca5b4a150
winecfg: Use Windows paths to load the library list.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 13:57:35 +02:00
Owen Rudge
2f5a3fa16f
winecfg: Add /? parameter to print help and valid versions.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=41559
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 13:57:35 +02:00
Owen Rudge
90c0123533
winecfg: Add support for '/v' parameter allowing Windows version to be changed.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=41559
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 13:57:35 +02:00
Francois Gouget
6eb05dab7c
winex11: Set res_class to the program name for Crostini.
...
GNOME implements the startup notification protocol correctly which
means it checks StartupWMClass against both WM name (res_name) and
WM class (res_class). Thus it does not need this patch.
The situation is different for desktop environments that thunk to
Wayland such as Crostini. Wayland does not have separate concepts
that WM name and WM class can be mapped to. So Crostini decided to
only use res_class resulting in it trying to match 'Wine' to the
program name stored in StartupWMClass.
While Crostini's choice is unfortunate for Wine, most other
applications (e.g. all GTK applications) already store the same value
in both WM name and class. So in the interest of compatiblity it makes
sense for Wine to do the same.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 11:51:10 +02:00
Zebediah Figura
6bdb22108c
devenum: Implement IMoniker::BindToObject() for DMO devices.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 11:50:35 +02:00
Zebediah Figura
7133ed2569
devenum: Access the IPropertyBag interface directly in IMoniker::BindToObject().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 11:50:33 +02:00
Zebediah Figura
6cfd0924aa
devenum: Ignore the "left" parameter to IMoniker::BindToObject().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 11:50:31 +02:00
Zebediah Figura
561a84ec91
wineboot: Install wineusb as a root-enumerated PnP service.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 11:50:19 +02:00
Zebediah Figura
dc62d84828
wineusb.inf: Add new INF file.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 11:50:17 +02:00
Zebediah Figura
2710aa1766
wineusb.sys: Return compatible IDs.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 11:50:14 +02:00
Zebediah Figura
01315d5286
wineusb.sys: Implement hardware IDs.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 11:50:12 +02:00
Zebediah Figura
a66d44b96e
wineusb.sys: Implement device and instance IDs.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 11:50:10 +02:00
Michael Stefaniuc
4ffc5e66ea
d3d10: Remove superfluous TRUE : FALSE conditional expression.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 11:46:35 +02:00
Zebediah Figura
53e6b328f6
d3dcompiler: Avoid using the lookahead token for location.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 11:46:31 +02:00
Zebediah Figura
2573e698ff
d3dcompiler: Make printed IR a bit more readable.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 11:46:28 +02:00
Brendan Shanks
c181526303
winedbg: Use RtlGetVersion to fix displayed Windows version on Win8.1 or 10 prefix.
...
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-16 22:10:04 +02:00
Brendan Shanks
e8f16fcbcc
cmd: Use RtlGetVersion to fix displayed Windows version on Win8.1 or 10 prefix.
...
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-16 22:10:04 +02:00
Zebediah Figura
5b47a2db6c
wineusb.sys: Implement IRP_MN_QUERY_DEVICE_RELATIONS.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-16 22:10:04 +02:00
Zebediah Figura
b0c2e5c6ce
wineusb.sys: Create USB devices.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-16 22:10:04 +02:00
Zebediah Figura
eb8cb9e0cf
wineusb.sys: Start an event handler thread.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-16 22:10:04 +02:00
Zebediah Figura
ff9645b215
wineusb.sys: Implement basic IRP_MJ_PNP requests for the bus FDO.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-16 22:10:04 +02:00
Zebediah Figura
1a5e531838
wineusb.sys: Implement AddDevice().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-16 22:10:04 +02:00
Zebediah Figura
3c39209444
wineusb.sys: New stub driver.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-16 22:10:04 +02:00
Jacek Caban
234fa118d4
server: Get rid of separate thread suspend_context.
...
It's always the same as context now.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-16 22:10:04 +02:00
Jacek Caban
7f9eb22af8
ntdll: Use server_select to pass context to server in send_debug_event.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-16 22:10:04 +02:00
Jacek Caban
137fd7d3a0
ntdll: Block signals in send_debug_event.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-16 22:10:04 +02:00