Piotr Caban
1b6eee3069
msvcrt: Don't depend on how __lc_time_data was allocated in _Gettnames.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 16:47:22 +01:00
Piotr Caban
9571b36241
msvcrt: Don't depend on how __lc_time_data was allocated in _W_Getmonths.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 16:47:17 +01:00
Piotr Caban
e4f3dea2e8
msvcrt: Don't depend on how __lc_time_data was allocated in _Getmonths.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 16:47:13 +01:00
Piotr Caban
2d23512da1
msvcrt: Don't depend on how __lc_time_data was allocated in _W_Getdays.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 16:47:08 +01:00
Piotr Caban
66d702668a
msvcrt: Don't depend on how __lc_time_data was allocated in _Getdays.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 16:47:04 +01:00
Jeff Smith
dba7dac458
msvcrt: Factor out code for creating lc_time_data structure.
...
Signed-off-by: Jeff Smith <whydoubt@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 16:46:53 +01:00
Jeff Smith
a1ce35cfda
ucrtbase: Improve strftime special test cases for %c %r formats.
...
Signed-off-by: Jeff Smith <whydoubt@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 16:46:44 +01:00
Nikolay Sivov
37c3810557
comctl32/listview: Fix LVM_GETITEM for out-of-range iSubItem case.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=44842
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 16:44:24 +01:00
Nikolay Sivov
8f9e1ae705
comctl32/tests: Merge header items test with existing function.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 16:44:18 +01:00
Gijs Vermeulen
e44d935cc6
msvcrt: Optimize _strlwr implementation in C locale.
...
Tests by Ambrož Bizjak.
Signed-off-by: Gijs Vermeulen <gijsvrm@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 16:44:06 +01:00
Alexandre Julliard
aa82739331
user32: Forward string calls to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 16:03:48 +01:00
Alexandre Julliard
331947c993
kernel32: Move some initialization code to ntdll.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 16:03:48 +01:00
Alexandre Julliard
74eaa34147
kernel32: Initialize argv from the dll entry point.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 16:03:48 +01:00
Alexandre Julliard
d33504b9bb
kernel32: Use the Rtl UTF8 conversion functions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 16:03:48 +01:00
Alexandre Julliard
f46fa9c92d
ntdll: Use the Rtl UTF8 conversion functions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 16:03:48 +01:00
Alexandre Julliard
27f0426b6f
ntdll: Implement RtlUTF8ToUnicodeN.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 16:03:48 +01:00
Alexandre Julliard
0b39344ef0
ntdll: Reimplement RtlUnicodeToUTF8N.
...
This avoids relying on wine_utf8_wcstombs().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 16:03:48 +01:00
Alexandre Julliard
0d0b7a1451
jscript: Always check for errors in UTF8 conversions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 16:03:48 +01:00
Alexandre Julliard
b828424612
kernelbase: Verify that the file can be opened when looking for an executable.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48211
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 10:55:15 +01:00
João Diogo Ferreira
7b1b0ce506
kernelbase: Update GeoID when locale has changed.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46196
Signed-off-by: João Diogo Craveiro Ferreira <devilj@outlook.pt>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 10:55:15 +01:00
João Diogo Ferreira
a31dec5fa9
kernel32: Make GetUserGeoID() always succeed if geoclass is valid.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46196
Signed-off-by: João Diogo Craveiro Ferreira <devilj@outlook.pt>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 09:37:43 +01:00
João Diogo Ferreira
c93aa1095e
kernel32: Properly handle GEO_NATION and GEO_ID in GetGeoInfoW().
...
Signed-off-by: João Diogo Craveiro Ferreira <devilj@outlook.pt>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 09:36:44 +01:00
Zebediah Figura
3ee43f85b0
qedit/samplegrabber: Use BaseFilterImpl_JoinFilterGraph().
...
Manual testing shows that adding or removing the filter does not affect whether
it is in one-shot mode.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 09:36:26 +01:00
Zebediah Figura
ab57793f2c
wineqtdecoder: Don't expose IMediaSeeking from the filter.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 09:36:23 +01:00
Zebediah Figura
7843dc36b0
wineqtdecoder: Don't expose IMediaSeeking from the sink pin.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 09:36:21 +01:00
Zebediah Figura
498179b448
wineqtdecoder: Use strmbase filter state change methods.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 09:36:19 +01:00
Zebediah Figura
60680651d7
winegstreamer: Fix the timeout passed to gst_element_get_state().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 09:36:15 +01:00
Michael Stefaniuc
badea4cae0
dmime/tests: Add GetParam/SetParam tests for unsupported types.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 09:35:55 +01:00
Michael Stefaniuc
ca060d45e3
dmime: Tempo track supports only GUID_TempoParam in GetParam().
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 09:35:52 +01:00
Michael Stefaniuc
dc96d1b155
dmime: Partial implementation of the Tempo track SetParam().
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 09:35:48 +01:00
Michael Stefaniuc
2ff339f9ad
dmime: Partial implementation of the TimeSig track Get/SetParam.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 09:35:44 +01:00
Michael Stefaniuc
d423339960
dmime: Partial implementation of the Wave track Get/SetParam.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 09:35:40 +01:00
Michael Stefaniuc
d827b65204
dmime: Partial implementation of the Marker track Get/SetParam.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 09:35:36 +01:00
Michael Stefaniuc
d08bce15bc
dmime: Implement the SegTrigger track Get/SetParam.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 09:35:30 +01:00
Michael Stefaniuc
c88fd286f3
dmime: Implement the ParamControl track param methods.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 09:35:20 +01:00
Michael Stefaniuc
85b966250a
dmime: Implement the Lyrics track param methods.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 09:35:17 +01:00
Zhiyi Zhang
11065839f5
user32/tests: Use a higher resolution in test_ChangeDisplaySettingsEx().
...
640x480 is not supported on some Windows 10 versions.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 09:35:06 +01:00
Zhiyi Zhang
dbab697da8
user32/tests: Test cursor clip rectangles in per-monitor aware context.
...
So the tests don't fail in HiDPI environment.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 09:34:59 +01:00
Zhiyi Zhang
4fc651db92
user32/tests: Import functions if possible.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 09:34:40 +01:00
Chip Davis
5cf64084fb
winemac.drv: Also stop dragging if we receive a mouse up event.
...
We rely on AppKit-internal events to know when a window is being
dragged. In Catalina, AppKit stopped sending the "drag ended" event when
no drag actually took place, though it still sends "drag started" events
when the title bar is clicked. Ironically, this caused us to think the
window was still being dragged. In that case, waiting for the mouse
button to come back up should allow us to determine when the drag should
end.
Signed-off-by: Chip Davis <cdavis@codeweavers.com>
Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-03 23:11:46 +01:00
Henri Verbeet
153db6a757
wined3d: Do not download textures to WINED3D_LOCATION_BUFFER in wined3d_texture_gl_unload().
...
Since we remove any potential PBO a few lines later.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-03 21:27:14 +01:00
Henri Verbeet
b941665b42
wined3d: Destroy PBOs in wined3d_texture_gl_destroy_object().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-03 21:27:14 +01:00
Henri Verbeet
7930553efc
wined3d: Store texture sub-resource buffer objects as uintptr_t.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-03 21:27:14 +01:00
Henri Verbeet
2b01830f74
wined3d: Do not set depth/stencil sizes on colour formats.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-03 21:27:14 +01:00
Henri Verbeet
82088bc6b3
wined3d: Finish the CS before removing the context in adapter_vk_uninit_3d().
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-03 21:27:14 +01:00
Zebediah Figura
90ebc7e33b
winegstreamer: Use strmbase state change methods.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-03 21:27:14 +01:00
Zebediah Figura
078ac0f764
winegstreamer: Also wait for the no-more-pads signal when pausing the filter.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-03 21:27:14 +01:00
Zebediah Figura
7a0d963df3
winegstreamer: Don't hold the filter lock from the pad-added or pad-removed callbacks.
...
These may be called from the streaming thread, so it's not safe to do so.
Nor does it seem necessary. We expect that no streaming thread should ever
call methods on our pad or pin, and as long as we hold the filter lock and
wait for the no-more-pads signal when connecting or starting the stream, we
cannot race with application threads.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-03 21:27:14 +01:00
Zebediah Figura
4008aba453
strmbase: Use a separate critical section for the SourceSeeking structure.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-03 21:27:14 +01:00
Andrey Gusev
3b2a705b06
mshtml/tests: Fix a typo in ok() message.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-03 21:27:14 +01:00