winehq.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2025
February
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
January
2003
December
November
October
September
August
July
June
May
April
March
February
January
2002
December
November
October
September
August
July
June
May
April
March
February
January
2001
December
November
October
September
August
July
June
May
April
March
February
List overview
wine-commits
October 2021
----- 2025 -----
February 2025
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
----- 2003 -----
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003
----- 2002 -----
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002
----- 2001 -----
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
wine-commits@winehq.org
2 participants
1165 discussions
Start a n
N
ew thread
Rémi Bernon : dinput: Check for mouse warping in the poll callback.
by Alexandre Julliard
20 Oct '21
20 Oct '21
Module: wine Branch: master Commit: 59fad29102875842519ef5cbc19cd37c99460291 URL:
https://source.winehq.org/git/wine.git/?a=commit;h=59fad29102875842519ef5cb…
Author: Rémi Bernon <rbernon(a)codeweavers.com> Date: Wed Oct 20 11:29:31 2021 +0200 dinput: Check for mouse warping in the poll callback. Signed-off-by: Rémi Bernon <rbernon(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/dinput/mouse.c | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/dlls/dinput/mouse.c b/dlls/dinput/mouse.c index 5933d7e5f0f..7b8402b2bf5 100644 --- a/dlls/dinput/mouse.c +++ b/dlls/dinput/mouse.c @@ -472,27 +472,14 @@ static HRESULT WINAPI SysMouseWImpl_GetDeviceState(LPDIRECTINPUTDEVICE8W iface, } LeaveCriticalSection(&This->base.crit); - warp_check( This, FALSE ); return DI_OK; } -/****************************************************************************** - * GetDeviceData : gets buffered input data. - */ -static HRESULT WINAPI SysMouseWImpl_GetDeviceData(LPDIRECTINPUTDEVICE8W iface, - DWORD dodsize, LPDIDEVICEOBJECTDATA dod, LPDWORD entries, DWORD flags) -{ - SysMouseImpl *This = impl_from_IDirectInputDevice8W(iface); - HRESULT res; - - res = IDirectInputDevice2WImpl_GetDeviceData(iface, dodsize, dod, entries, flags); - if (SUCCEEDED(res)) warp_check( This, FALSE ); - return res; -} - static HRESULT mouse_internal_poll( IDirectInputDevice8W *iface ) { + SysMouseImpl *impl = impl_from_IDirectInputDevice8W( iface ); check_dinput_events(); + warp_check( impl, FALSE ); return DI_OK; } @@ -710,7 +697,7 @@ static const IDirectInputDevice8WVtbl SysMouseWvt = IDirectInputDevice2WImpl_Acquire, IDirectInputDevice2WImpl_Unacquire, SysMouseWImpl_GetDeviceState, - SysMouseWImpl_GetDeviceData, + IDirectInputDevice2WImpl_GetDeviceData, IDirectInputDevice2WImpl_SetDataFormat, IDirectInputDevice2WImpl_SetEventNotification, IDirectInputDevice2WImpl_SetCooperativeLevel,
1
0
0
0
Rémi Bernon : dinput: Factor all Poll implementations together.
by Alexandre Julliard
20 Oct '21
20 Oct '21
Module: wine Branch: master Commit: aebd03f07087fdff5cd83b1c4d9ecc930658b61c URL:
https://source.winehq.org/git/wine.git/?a=commit;h=aebd03f07087fdff5cd83b1c…
Author: Rémi Bernon <rbernon(a)codeweavers.com> Date: Wed Oct 20 11:29:30 2021 +0200 dinput: Factor all Poll implementations together. With a new internal poll callback for mouse and keyboard Wine-specific message peeking behavior. Signed-off-by: Rémi Bernon <rbernon(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/dinput/device.c | 12 ++++++++---- dlls/dinput/device_private.h | 1 + dlls/dinput/joystick_hid.c | 15 ++------------- dlls/dinput/keyboard.c | 7 +++++++ dlls/dinput/mouse.c | 7 +++++++ 5 files changed, 25 insertions(+), 17 deletions(-) diff --git a/dlls/dinput/device.c b/dlls/dinput/device.c index 2b2c4646e31..c31166b8248 100644 --- a/dlls/dinput/device.c +++ b/dlls/dinput/device.c @@ -1661,13 +1661,17 @@ HRESULT WINAPI IDirectInputDevice2WImpl_Escape(LPDIRECTINPUTDEVICE8W iface, LPDI return DI_OK; } -HRESULT WINAPI IDirectInputDevice2WImpl_Poll(LPDIRECTINPUTDEVICE8W iface) +HRESULT WINAPI IDirectInputDevice2WImpl_Poll( IDirectInputDevice8W *iface ) { - IDirectInputDeviceImpl *This = impl_from_IDirectInputDevice8W(iface); + IDirectInputDeviceImpl *impl = impl_from_IDirectInputDevice8W( iface ); + HRESULT hr = DI_NOEFFECT; - if (!This->acquired) return DIERR_NOTACQUIRED; + EnterCriticalSection( &impl->crit ); + if (!impl->acquired) hr = DIERR_NOTACQUIRED; + LeaveCriticalSection( &impl->crit ); + if (hr != DI_OK) return hr; - check_dinput_events(); + if (impl->vtbl->poll) return impl->vtbl->poll( iface ); return DI_OK; } diff --git a/dlls/dinput/device_private.h b/dlls/dinput/device_private.h index da1a90fda42..92b0320520b 100644 --- a/dlls/dinput/device_private.h +++ b/dlls/dinput/device_private.h @@ -57,6 +57,7 @@ typedef HRESULT dinput_device_read_state( IDirectInputDevice8W *iface ); struct dinput_device_vtbl { + HRESULT (*poll)( IDirectInputDevice8W *iface ); HRESULT (*read)( IDirectInputDevice8W *iface ); HRESULT (*acquire)( IDirectInputDevice8W *iface ); HRESULT (*unacquire)( IDirectInputDevice8W *iface ); diff --git a/dlls/dinput/joystick_hid.c b/dlls/dinput/joystick_hid.c index 5718f02bf47..59e5e4a719f 100644 --- a/dlls/dinput/joystick_hid.c +++ b/dlls/dinput/joystick_hid.c @@ -1162,18 +1162,6 @@ static HRESULT WINAPI hid_joystick_EnumCreatedEffectObjects( IDirectInputDevice8 return DI_OK; } -static HRESULT WINAPI hid_joystick_Poll( IDirectInputDevice8W *iface ) -{ - struct hid_joystick *impl = impl_from_IDirectInputDevice8W( iface ); - HRESULT hr = DI_NOEFFECT; - - EnterCriticalSection( &impl->base.crit ); - if (!impl->base.acquired) hr = DIERR_NOTACQUIRED; - LeaveCriticalSection( &impl->base.crit ); - - return hr; -} - static const IDirectInputDevice8WVtbl hid_joystick_vtbl = { /*** IUnknown methods ***/ @@ -1204,7 +1192,7 @@ static const IDirectInputDevice8WVtbl hid_joystick_vtbl = hid_joystick_SendForceFeedbackCommand, hid_joystick_EnumCreatedEffectObjects, IDirectInputDevice2WImpl_Escape, - hid_joystick_Poll, + IDirectInputDevice2WImpl_Poll, IDirectInputDevice2WImpl_SendDeviceData, /*** IDirectInputDevice7 methods ***/ IDirectInputDevice7WImpl_EnumEffectsInFile, @@ -1432,6 +1420,7 @@ static HRESULT hid_joystick_internal_enum_objects( IDirectInputDevice8W *iface, static const struct dinput_device_vtbl hid_joystick_internal_vtbl = { + NULL, hid_joystick_internal_read, hid_joystick_internal_acquire, hid_joystick_internal_unacquire, diff --git a/dlls/dinput/keyboard.c b/dlls/dinput/keyboard.c index ad91c948fbc..a8f831e7597 100644 --- a/dlls/dinput/keyboard.c +++ b/dlls/dinput/keyboard.c @@ -270,6 +270,12 @@ static HRESULT WINAPI SysKeyboardWImpl_GetDeviceState(LPDIRECTINPUTDEVICE8W ifac return DI_OK; } +static HRESULT keyboard_internal_poll( IDirectInputDevice8W *iface ) +{ + check_dinput_events(); + return DI_OK; +} + static HRESULT keyboard_internal_acquire( IDirectInputDevice8W *iface ) { return DI_OK; @@ -353,6 +359,7 @@ static HRESULT keyboard_internal_set_property( IDirectInputDevice8W *iface, DWOR static const struct dinput_device_vtbl keyboard_internal_vtbl = { + keyboard_internal_poll, NULL, keyboard_internal_acquire, keyboard_internal_unacquire, diff --git a/dlls/dinput/mouse.c b/dlls/dinput/mouse.c index 5b3ec2d1f20..5933d7e5f0f 100644 --- a/dlls/dinput/mouse.c +++ b/dlls/dinput/mouse.c @@ -490,6 +490,12 @@ static HRESULT WINAPI SysMouseWImpl_GetDeviceData(LPDIRECTINPUTDEVICE8W iface, return res; } +static HRESULT mouse_internal_poll( IDirectInputDevice8W *iface ) +{ + check_dinput_events(); + return DI_OK; +} + static HRESULT mouse_internal_acquire( IDirectInputDevice8W *iface ) { SysMouseImpl *impl = impl_from_IDirectInputDevice8W( iface ); @@ -683,6 +689,7 @@ static HRESULT mouse_internal_set_property( IDirectInputDevice8W *iface, DWORD p static const struct dinput_device_vtbl mouse_internal_vtbl = { + mouse_internal_poll, NULL, mouse_internal_acquire, mouse_internal_unacquire,
1
0
0
0
Rémi Bernon : dinput: Factor object enumeration checks and offset mapping.
by Alexandre Julliard
20 Oct '21
20 Oct '21
Module: wine Branch: master Commit: ec3e51bb10365e8081661531a2bd84ff2f10866a URL:
https://source.winehq.org/git/wine.git/?a=commit;h=ec3e51bb10365e8081661531…
Author: Rémi Bernon <rbernon(a)codeweavers.com> Date: Wed Oct 20 11:29:29 2021 +0200 dinput: Factor object enumeration checks and offset mapping. Signed-off-by: Rémi Bernon <rbernon(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/dinput/device.c | 39 +++++++++++++++++++++++++++++++++------ dlls/dinput/joystick_hid.c | 26 +++++++------------------- dlls/dinput/keyboard.c | 19 ++----------------- dlls/dinput/mouse.c | 20 ++------------------ 4 files changed, 44 insertions(+), 60 deletions(-) Diff:
https://source.winehq.org/git/wine.git/?a=commitdiff;h=ec3e51bb10365e808166…
1
0
0
0
Alexandre Julliard : wow64win: Add missing syscall entry for NtUserGetObjectInformation().
by Alexandre Julliard
20 Oct '21
20 Oct '21
Module: wine Branch: master Commit: 90a0b7c7061b514b4796f26f5679d89e867ac11a URL:
https://source.winehq.org/git/wine.git/?a=commit;h=90a0b7c7061b514b4796f26f…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Wed Oct 20 13:18:16 2021 +0200 wow64win: Add missing syscall entry for NtUserGetObjectInformation(). Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/wow64win/syscall.h | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/wow64win/syscall.h b/dlls/wow64win/syscall.h index 18435b993f0..8cf27d47aad 100644 --- a/dlls/wow64win/syscall.h +++ b/dlls/wow64win/syscall.h @@ -92,6 +92,7 @@ SYSCALL_ENTRY( NtUserCloseWindowStation ) \ SYSCALL_ENTRY( NtUserCreateDesktopEx ) \ SYSCALL_ENTRY( NtUserCreateWindowStation ) \ + SYSCALL_ENTRY( NtUserGetObjectInformation ) \ SYSCALL_ENTRY( NtUserGetProcessWindowStation ) \ SYSCALL_ENTRY( NtUserGetThreadDesktop ) \ SYSCALL_ENTRY( NtUserOpenDesktop ) \
1
0
0
0
Alexandre Julliard : msgsm32.acm: Use the bundled gsm codec and build with msvcrt.
by Alexandre Julliard
20 Oct '21
20 Oct '21
Module: wine Branch: master Commit: 0e7fd41af953b2a9fa23cf6920fac229f2dd2e44 URL:
https://source.winehq.org/git/wine.git/?a=commit;h=0e7fd41af953b2a9fa23cf69…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Wed Oct 20 11:46:12 2021 +0200 msgsm32.acm: Use the bundled gsm codec and build with msvcrt. Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- configure | 78 -------------------------------- configure.ac | 12 ----- dlls/msgsm32.acm/Makefile.in | 5 +-- dlls/msgsm32.acm/msgsm32.c | 105 ++++++------------------------------------- include/config.h.in | 9 ---- 5 files changed, 16 insertions(+), 193 deletions(-) Diff:
https://source.winehq.org/git/wine.git/?a=commitdiff;h=0e7fd41af953b2a9fa23…
1
0
0
0
Alexandre Julliard : libs: Import upstream code from gsm 1.0.19.
by Alexandre Julliard
20 Oct '21
20 Oct '21
Module: wine Branch: master Commit: 116ea9cec442ce66df2d4b94e34f81ff466bd91c URL:
https://source.winehq.org/git/wine.git/?a=commit;h=116ea9cec442ce66df2d4b94…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Wed Oct 20 11:45:59 2021 +0200 libs: Import upstream code from gsm 1.0.19. Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- configure | 24 ++ configure.ac | 2 + libs/gsm/COPYRIGHT | 35 ++ libs/gsm/Makefile.in | 19 + libs/gsm/inc/gsm.h | 79 ++++ libs/gsm/inc/private.h | 277 +++++++++++++ libs/gsm/inc/proto.h | 65 ++++ libs/gsm/inc/unproto.h | 23 ++ libs/gsm/src/add.c | 235 +++++++++++ libs/gsm/src/code.c | 89 +++++ libs/gsm/src/decode.c | 63 +++ libs/gsm/src/gsm_create.c | 28 ++ libs/gsm/src/gsm_decode.c | 361 +++++++++++++++++ libs/gsm/src/gsm_destroy.c | 16 + libs/gsm/src/gsm_encode.c | 451 +++++++++++++++++++++ libs/gsm/src/gsm_option.c | 69 ++++ libs/gsm/src/gsm_print.c | 167 ++++++++ libs/gsm/src/long_term.c | 949 +++++++++++++++++++++++++++++++++++++++++++++ libs/gsm/src/lpc.c | 341 ++++++++++++++++ libs/gsm/src/preprocess.c | 113 ++++++ libs/gsm/src/rpe.c | 488 +++++++++++++++++++++++ libs/gsm/src/short_term.c | 429 ++++++++++++++++++++ libs/gsm/src/table.c | 63 +++ 23 files changed, 4386 insertions(+) Diff:
https://source.winehq.org/git/wine.git/?a=commitdiff;h=116ea9cec442ce66df2d…
1
0
0
0
Alexandre Julliard : mxsml3: Use the bundled libxml2 and libxslt and build with msvcrt.
by Alexandre Julliard
20 Oct '21
20 Oct '21
Module: wine Branch: master Commit: bca1b7f2faeb0798f4af420c15ff5a1b1f7b40af URL:
https://source.winehq.org/git/wine.git/?a=commit;h=bca1b7f2faeb0798f4af420c…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Wed Oct 20 11:39:06 2021 +0200 mxsml3: Use the bundled libxml2 and libxslt and build with msvcrt. Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- configure | 454 -------------------------------------------- configure.ac | 51 ----- dlls/msxml3/Makefile.in | 7 +- dlls/msxml3/attribute.c | 14 +- dlls/msxml3/cdata.c | 12 +- dlls/msxml3/comment.c | 12 +- dlls/msxml3/dispex.c | 6 +- dlls/msxml3/docfrag.c | 12 +- dlls/msxml3/doctype.c | 12 +- dlls/msxml3/domdoc.c | 61 +----- dlls/msxml3/element.c | 30 ++- dlls/msxml3/entityref.c | 12 +- dlls/msxml3/factory.c | 8 +- dlls/msxml3/httprequest.c | 33 ++-- dlls/msxml3/main.c | 112 ++--------- dlls/msxml3/msxml_private.h | 30 +-- dlls/msxml3/mxnamespace.c | 8 +- dlls/msxml3/mxwriter.c | 7 +- dlls/msxml3/node.c | 87 ++------- dlls/msxml3/nodelist.c | 12 +- dlls/msxml3/nodemap.c | 12 +- dlls/msxml3/pi.c | 18 +- dlls/msxml3/saxreader.c | 41 ++-- dlls/msxml3/schema.c | 56 ++---- dlls/msxml3/selection.c | 16 +- dlls/msxml3/stylesheet.c | 15 +- dlls/msxml3/text.c | 14 +- dlls/msxml3/xdr.c | 11 +- dlls/msxml3/xmldoc.c | 25 +-- dlls/msxml3/xmlelem.c | 12 +- dlls/msxml3/xmlview.c | 5 +- dlls/msxml3/xslpattern.h | 8 - dlls/msxml3/xslpattern.l | 7 - dlls/msxml3/xslpattern.y | 6 - include/config.h.in | 39 ---- 35 files changed, 150 insertions(+), 1115 deletions(-) Diff:
https://source.winehq.org/git/wine.git/?a=commitdiff;h=bca1b7f2faeb0798f4af…
1
0
0
0
Alexandre Julliard : libs: Import code from upstream libxslt 1.1.34.
by Alexandre Julliard
20 Oct '21
20 Oct '21
Module: wine Branch: master Commit: c638618cbc5f6f26b0a0d1b32078b9ecca3af8df URL:
https://source.winehq.org/git/wine.git/?a=commit;h=c638618cbc5f6f26b0a0d1b3…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Wed Oct 20 11:33:05 2021 +0200 libs: Import code from upstream libxslt 1.1.34. Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- configure | 26 + configure.ac | 2 + libs/xslt/AUTHORS | 63 + libs/xslt/COPYING | 53 + libs/xslt/Makefile.in | 23 + libs/xslt/libxslt/attributes.c | 1248 ++++++ libs/xslt/libxslt/attributes.h | 38 + libs/xslt/libxslt/attrvt.c | 396 ++ libs/xslt/libxslt/documents.c | 436 +++ libs/xslt/libxslt/documents.h | 93 + libs/xslt/libxslt/extensions.c | 2380 ++++++++++++ libs/xslt/libxslt/extensions.h | 262 ++ libs/xslt/libxslt/extra.c | 199 + libs/xslt/libxslt/extra.h | 72 + libs/xslt/libxslt/functions.c | 1008 +++++ libs/xslt/libxslt/functions.h | 78 + libs/xslt/libxslt/imports.c | 414 ++ libs/xslt/libxslt/imports.h | 75 + libs/xslt/libxslt/keys.c | 947 +++++ libs/xslt/libxslt/keys.h | 53 + libs/xslt/libxslt/libxslt.h | 36 + libs/xslt/libxslt/namespaces.c | 853 ++++ libs/xslt/libxslt/namespaces.h | 68 + libs/xslt/libxslt/numbers.c | 1363 +++++++ libs/xslt/libxslt/numbersInternals.h | 73 + libs/xslt/libxslt/pattern.c | 2642 +++++++++++++ libs/xslt/libxslt/pattern.h | 84 + libs/xslt/libxslt/preproc.c | 2376 ++++++++++++ libs/xslt/libxslt/preproc.h | 43 + libs/xslt/libxslt/security.c | 482 +++ libs/xslt/libxslt/security.h | 104 + libs/xslt/libxslt/templates.c | 864 +++++ libs/xslt/libxslt/templates.h | 77 + libs/xslt/libxslt/transform.c | 6524 +++++++++++++++++++++++++++++++ libs/xslt/libxslt/transform.h | 207 + libs/xslt/libxslt/trio.h | 216 ++ libs/xslt/libxslt/triodef.h | 220 ++ libs/xslt/libxslt/variables.c | 2374 ++++++++++++ libs/xslt/libxslt/variables.h | 118 + libs/xslt/libxslt/win32config.h | 129 + libs/xslt/libxslt/xslt.c | 7047 ++++++++++++++++++++++++++++++++++ libs/xslt/libxslt/xslt.h | 110 + libs/xslt/libxslt/xsltInternals.h | 1978 ++++++++++ libs/xslt/libxslt/xsltconfig.h | 180 + libs/xslt/libxslt/xsltexports.h | 142 + libs/xslt/libxslt/xsltlocale.c | 520 +++ libs/xslt/libxslt/xsltlocale.h | 76 + libs/xslt/libxslt/xsltutils.c | 2477 ++++++++++++ libs/xslt/libxslt/xsltutils.h | 313 ++ 49 files changed, 39562 insertions(+) Diff:
https://source.winehq.org/git/wine.git/?a=commitdiff;h=c638618cbc5f6f26b0a0…
1
0
0
0
Alexandre Julliard : libs: Import code from upstream libxml2 2.9.12.
by Alexandre Julliard
20 Oct '21
20 Oct '21
Module: wine Branch: master Commit: 9d9d4fcc379b2541a43b14f197facb6fa8c93ee8 URL:
https://source.winehq.org/git/wine.git/?a=commit;h=9d9d4fcc379b2541a43b14f1…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Wed Oct 20 11:32:39 2021 +0200 libs: Import code from upstream libxml2 2.9.12. Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- configure | 26 + configure.ac | 2 + libs/xml2/AUTHORS | 5 + libs/xml2/COPYING | 23 + libs/xml2/HTMLparser.c | 7287 +++++++ libs/xml2/HTMLtree.c | 1186 ++ libs/xml2/Makefile.in | 40 + libs/xml2/SAX.c | 180 + libs/xml2/SAX2.c | 3036 +++ libs/xml2/buf.c | 1351 ++ libs/xml2/buf.h | 72 + libs/xml2/catalog.c | 3828 ++++ libs/xml2/chvalid.c | 336 + libs/xml2/debugXML.c | 3423 +++ libs/xml2/dict.c | 1298 ++ libs/xml2/elfgcchack.h | 17818 ++++++++++++++++ libs/xml2/enc.h | 32 + libs/xml2/encoding.c | 3978 ++++ libs/xml2/entities.c | 1163 + libs/xml2/error.c | 998 + libs/xml2/globals.c | 1126 + libs/xml2/hash.c | 1146 + libs/xml2/include/libxml/HTMLparser.h | 306 + libs/xml2/include/libxml/HTMLtree.h | 147 + libs/xml2/include/libxml/SAX.h | 173 + libs/xml2/include/libxml/SAX2.h | 178 + libs/xml2/include/libxml/catalog.h | 182 + libs/xml2/include/libxml/chvalid.h | 230 + libs/xml2/include/libxml/debugXML.h | 217 + libs/xml2/include/libxml/dict.h | 79 + libs/xml2/include/libxml/encoding.h | 245 + libs/xml2/include/libxml/entities.h | 151 + libs/xml2/include/libxml/globals.h | 508 + libs/xml2/include/libxml/hash.h | 236 + libs/xml2/include/libxml/list.h | 137 + libs/xml2/include/libxml/nanoftp.h | 163 + libs/xml2/include/libxml/nanohttp.h | 81 + libs/xml2/include/libxml/parser.h | 1243 ++ libs/xml2/include/libxml/parserInternals.h | 644 + libs/xml2/include/libxml/pattern.h | 100 + libs/xml2/include/libxml/relaxng.h | 217 + libs/xml2/include/libxml/schemasInternals.h | 958 + libs/xml2/include/libxml/threads.h | 89 + libs/xml2/include/libxml/tree.h | 1311 ++ libs/xml2/include/libxml/uri.h | 94 + libs/xml2/include/libxml/valid.h | 458 + libs/xml2/include/libxml/xinclude.h | 129 + libs/xml2/include/libxml/xlink.h | 189 + libs/xml2/include/libxml/xmlIO.h | 368 + libs/xml2/include/libxml/xmlautomata.h | 146 + libs/xml2/include/libxml/xmlerror.h | 945 + libs/xml2/include/libxml/xmlexports.h | 79 + libs/xml2/include/libxml/xmlmemory.h | 224 + libs/xml2/include/libxml/xmlreader.h | 428 + libs/xml2/include/libxml/xmlregexp.h | 222 + libs/xml2/include/libxml/xmlsave.h | 88 + libs/xml2/include/libxml/xmlschemas.h | 246 + libs/xml2/include/libxml/xmlschemastypes.h | 151 + libs/xml2/include/libxml/xmlstring.h | 140 + libs/xml2/include/libxml/xmlunicode.h | 202 + libs/xml2/include/libxml/xmlversion.h | 485 + libs/xml2/include/libxml/xpath.h | 564 + libs/xml2/include/libxml/xpathInternals.h | 632 + libs/xml2/include/libxml/xpointer.h | 114 + libs/xml2/include/win32config.h | 122 + libs/xml2/libxml.h | 134 + libs/xml2/list.c | 779 + libs/xml2/parser.c | 15552 ++++++++++++++ libs/xml2/parserInternals.c | 2164 ++ libs/xml2/pattern.c | 2621 +++ libs/xml2/relaxng.c | 11101 ++++++++++ libs/xml2/save.h | 36 + libs/xml2/threads.c | 1049 + libs/xml2/timsort.h | 601 + libs/xml2/tree.c | 10183 +++++++++ libs/xml2/uri.c | 2561 +++ libs/xml2/valid.c | 7138 +++++++ libs/xml2/xinclude.c | 2657 +++ libs/xml2/xmlIO.c | 4123 ++++ libs/xml2/xmlmemory.c | 1163 + libs/xml2/xmlreader.c | 6033 ++++++ libs/xml2/xmlregexp.c | 8264 ++++++++ libs/xml2/xmlsave.c | 2724 +++ libs/xml2/xmlschemas.c | 29173 ++++++++++++++++++++++++++ libs/xml2/xmlschemastypes.c | 6276 ++++++ libs/xml2/xmlstring.c | 1050 + libs/xml2/xmlunicode.c | 3179 +++ libs/xml2/xpath.c | 14734 +++++++++++++ libs/xml2/xpointer.c | 2969 +++ 89 files changed, 198239 insertions(+) Diff:
https://source.winehq.org/git/wine.git/?a=commitdiff;h=9d9d4fcc379b2541a43b…
1
0
0
0
Alexandre Julliard : msxml3: Always set output length in encoding conversion.
by Alexandre Julliard
20 Oct '21
20 Oct '21
Module: wine Branch: master Commit: 9a335d89d0cc9c8cca04d41a8cd43b09a9488a20 URL:
https://source.winehq.org/git/wine.git/?a=commit;h=9a335d89d0cc9c8cca04d41a…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Wed Oct 20 11:31:58 2021 +0200 msxml3: Always set output length in encoding conversion. Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/msxml3/main.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dlls/msxml3/main.c b/dlls/msxml3/main.c index 25400b698ca..e9a43ab64b2 100644 --- a/dlls/msxml3/main.c +++ b/dlls/msxml3/main.c @@ -233,9 +233,9 @@ static void init_libxslt(void) static int to_utf8(int cp, unsigned char *out, int *outlen, const unsigned char *in, int *inlen) { WCHAR *tmp; - int len; + int len = 0; - if (!in || !inlen) return 0; + if (!in || !inlen) goto done; len = MultiByteToWideChar(cp, 0, (const char *)in, *inlen, NULL, 0); tmp = heap_alloc(len * sizeof(WCHAR)); @@ -245,7 +245,7 @@ static int to_utf8(int cp, unsigned char *out, int *outlen, const unsigned char len = WideCharToMultiByte(CP_UTF8, 0, tmp, len, (char *)out, *outlen, NULL, NULL); heap_free(tmp); if (!len) return -1; - +done: *outlen = len; return len; } @@ -253,9 +253,9 @@ static int to_utf8(int cp, unsigned char *out, int *outlen, const unsigned char static int from_utf8(int cp, unsigned char *out, int *outlen, const unsigned char *in, int *inlen) { WCHAR *tmp; - int len; + int len = 0; - if (!in || !inlen) return 0; + if (!in || !inlen) goto done; len = MultiByteToWideChar(CP_UTF8, 0, (const char *)in, *inlen, NULL, 0); tmp = heap_alloc(len * sizeof(WCHAR)); @@ -265,7 +265,7 @@ static int from_utf8(int cp, unsigned char *out, int *outlen, const unsigned cha len = WideCharToMultiByte(cp, 0, tmp, len, (char *)out, *outlen, NULL, NULL); heap_free(tmp); if (!len) return -1; - +done: *outlen = len; return len; }
1
0
0
0
← Newer
1
...
42
43
44
45
46
47
48
...
117
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
Results per page:
10
25
50
100
200