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
December 2022
----- 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
1 participants
539 discussions
Start a n
N
ew thread
Eric Pouech : wined3d: Enable long types in adapter_gl.c.
by Alexandre Julliard
07 Dec '22
07 Dec '22
Module: wine Branch: master Commit: b36eab110b9e1a34a328685f63c5f7bb8fdf4e22 URL:
https://gitlab.winehq.org/wine/wine/-/commit/b36eab110b9e1a34a328685f63c5f7…
Author: Eric Pouech <eric.pouech(a)gmail.com> Date: Wed Dec 7 10:47:14 2022 +0100 wined3d: Enable long types in adapter_gl.c. Signed-off-by: Eric Pouech <eric.pouech(a)gmail.com> --- dlls/wined3d/adapter_gl.c | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/dlls/wined3d/adapter_gl.c b/dlls/wined3d/adapter_gl.c index fa9b24948d3..f3810bad440 100644 --- a/dlls/wined3d/adapter_gl.c +++ b/dlls/wined3d/adapter_gl.c @@ -20,7 +20,6 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#define WINE_NO_LONG_TYPES /* temporary */ #include <stdio.h> @@ -291,15 +290,15 @@ static BOOL wined3d_caps_gl_ctx_create_attribs(struct wined3d_caps_gl_ctx *caps_ if (!wglMakeCurrent(caps_gl_ctx->dc, new_ctx)) { - ERR("Failed to make new context current, last error %#x.\n", GetLastError()); + ERR("Failed to make new context current, last error %#lx.\n", GetLastError()); if (!wglDeleteContext(new_ctx)) - ERR("Failed to delete new context, last error %#x.\n", GetLastError()); + ERR("Failed to delete new context, last error %#lx.\n", GetLastError()); gl_info->p_wglCreateContextAttribsARB = NULL; return TRUE; } if (!wglDeleteContext(caps_gl_ctx->gl_ctx)) - ERR("Failed to delete old context, last error %#x.\n", GetLastError()); + ERR("Failed to delete old context, last error %#lx.\n", GetLastError()); caps_gl_ctx->gl_ctx = new_ctx; return TRUE; @@ -4265,7 +4264,7 @@ static HRESULT adapter_gl_create_device(struct wined3d *wined3d, const struct wi if (FAILED(hr = wined3d_device_init(&device_gl->d, wined3d, adapter->ordinal, device_type, focus_window, flags, surface_alignment, levels, level_count, adapter->gl_info.supported, device_parent))) { - WARN("Failed to initialize device, hr %#x.\n", hr); + WARN("Failed to initialize device, hr %#lx.\n", hr); heap_free(device_gl); return hr; } @@ -4700,7 +4699,7 @@ static HRESULT adapter_gl_create_swapchain(struct wined3d_device *device, if (FAILED(hr = wined3d_swapchain_gl_init(swapchain_gl, device, desc, state_parent, parent, parent_ops))) { - WARN("Failed to initialise swapchain, hr %#x.\n", hr); + WARN("Failed to initialise swapchain, hr %#lx.\n", hr); heap_free(swapchain_gl); return hr; } @@ -4734,7 +4733,7 @@ static HRESULT adapter_gl_create_buffer(struct wined3d_device *device, if (FAILED(hr = wined3d_buffer_gl_init(buffer_gl, device, desc, data, parent, parent_ops))) { - WARN("Failed to initialise buffer, hr %#x.\n", hr); + WARN("Failed to initialise buffer, hr %#lx.\n", hr); heap_free(buffer_gl); return hr; } @@ -4781,7 +4780,7 @@ static HRESULT adapter_gl_create_texture(struct wined3d_device *device, if (FAILED(hr = wined3d_texture_gl_init(texture_gl, device, desc, layer_count, level_count, flags, parent, parent_ops))) { - WARN("Failed to initialise texture, hr %#x.\n", hr); + WARN("Failed to initialise texture, hr %#lx.\n", hr); heap_free(texture_gl); return hr; } @@ -4832,7 +4831,7 @@ static HRESULT adapter_gl_create_rendertarget_view(const struct wined3d_view_des if (FAILED(hr = wined3d_rendertarget_view_gl_init(view_gl, desc, resource, parent, parent_ops))) { - WARN("Failed to initialise view, hr %#x.\n", hr); + WARN("Failed to initialise view, hr %#lx.\n", hr); heap_free(view_gl); return hr; } @@ -4936,7 +4935,7 @@ static HRESULT adapter_gl_create_shader_resource_view(const struct wined3d_view_ if (FAILED(hr = wined3d_shader_resource_view_gl_init(view_gl, desc, resource, parent, parent_ops))) { - WARN("Failed to initialise view, hr %#x.\n", hr); + WARN("Failed to initialise view, hr %#lx.\n", hr); heap_free(view_gl); return hr; } @@ -4981,7 +4980,7 @@ static HRESULT adapter_gl_create_unordered_access_view(const struct wined3d_view if (FAILED(hr = wined3d_unordered_access_view_gl_init(view_gl, desc, resource, parent, parent_ops))) { - WARN("Failed to initialise view, hr %#x.\n", hr); + WARN("Failed to initialise view, hr %#lx.\n", hr); heap_free(view_gl); return hr; }
1
0
0
0
Eric Pouech : wined3d: Reduce usage of long integral types in adapter_gl.c.
by Alexandre Julliard
07 Dec '22
07 Dec '22
Module: wine Branch: master Commit: f96630f04f68207db7c4ed2b95431d6bc36d94c9 URL:
https://gitlab.winehq.org/wine/wine/-/commit/f96630f04f68207db7c4ed2b95431d…
Author: Eric Pouech <eric.pouech(a)gmail.com> Date: Wed Dec 7 10:47:13 2022 +0100 wined3d: Reduce usage of long integral types in adapter_gl.c. Signed-off-by: Eric Pouech <eric.pouech(a)gmail.com> --- dlls/wined3d/adapter_gl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/adapter_gl.c b/dlls/wined3d/adapter_gl.c index 8353a10a87a..fa9b24948d3 100644 --- a/dlls/wined3d/adapter_gl.c +++ b/dlls/wined3d/adapter_gl.c @@ -719,7 +719,7 @@ static BOOL match_broken_arb_fog(const struct wined3d_gl_info *gl_info, struct w const char *gl_renderer, enum wined3d_gl_vendor gl_vendor, enum wined3d_pci_vendor card_vendor, enum wined3d_pci_device device) { - DWORD data[4]; + unsigned int data[4]; GLuint tex, fbo; GLenum status; float color[4] = {0.0f, 1.0f, 0.0f, 0.0f};
1
0
0
0
Eric Pouech : wined3d: Enable long integral types in cs.c.
by Alexandre Julliard
07 Dec '22
07 Dec '22
Module: wine Branch: master Commit: 386414fbdcaf0bcc20fb6381e1d3b06ce32cacc7 URL:
https://gitlab.winehq.org/wine/wine/-/commit/386414fbdcaf0bcc20fb6381e1d3b0…
Author: Eric Pouech <eric.pouech(a)gmail.com> Date: Wed Dec 7 10:46:19 2022 +0100 wined3d: Enable long integral types in cs.c. Signed-off-by: Eric Pouech <eric.pouech(a)gmail.com> --- dlls/wined3d/cs.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/dlls/wined3d/cs.c b/dlls/wined3d/cs.c index 9f5208c6bd9..4579cba27fe 100644 --- a/dlls/wined3d/cs.c +++ b/dlls/wined3d/cs.c @@ -15,7 +15,6 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#define WINE_NO_LONG_TYPES /* temporary */ #include "wined3d_private.h" @@ -3153,8 +3152,7 @@ static void *wined3d_cs_queue_require_space(struct wined3d_cs_queue *queue, size size = packet_size - header_size; if (packet_size >= WINED3D_CS_QUEUE_SIZE) { - ERR("Packet size %lu >= queue size %u.\n", - (unsigned long)packet_size, WINED3D_CS_QUEUE_SIZE); + ERR("Packet size %Iu >= queue size %u.\n", packet_size, WINED3D_CS_QUEUE_SIZE); return NULL; } @@ -3164,8 +3162,7 @@ static void *wined3d_cs_queue_require_space(struct wined3d_cs_queue *queue, size size_t nop_size = remaining - header_size; struct wined3d_cs_nop *nop; - TRACE("Inserting a nop for %lu + %lu bytes.\n", - (unsigned long)header_size, (unsigned long)nop_size); + TRACE("Inserting a nop for %Iu + %Iu bytes.\n", header_size, nop_size); nop = wined3d_cs_queue_require_space(queue, nop_size, cs); if (nop_size) @@ -3194,8 +3191,8 @@ static void *wined3d_cs_queue_require_space(struct wined3d_cs_queue *queue, size if (new_pos < tail && new_pos) break; - TRACE("Waiting for free space. Head %u, tail %u, packet size %lu.\n", - head, tail, (unsigned long)packet_size); + TRACE("Waiting for free space. Head %lu, tail %lu, packet size %Iu.\n", + head, tail, packet_size); } packet = (struct wined3d_cs_packet *)&queue->data[head];
1
0
0
0
Jacek Caban : winex11: Remove no longer used declarations.
by Alexandre Julliard
07 Dec '22
07 Dec '22
Module: wine Branch: master Commit: 1d3bf575e7fb019ddfca04f4e050bef2cb2856a5 URL:
https://gitlab.winehq.org/wine/wine/-/commit/1d3bf575e7fb019ddfca04f4e050be…
Author: Jacek Caban <jacek(a)codeweavers.com> Date: Wed Dec 7 17:19:28 2022 +0100 winex11: Remove no longer used declarations. --- dlls/winex11.drv/graphics.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/dlls/winex11.drv/graphics.c b/dlls/winex11.drv/graphics.c index 6365c9a30ad..54e6b9b2084 100644 --- a/dlls/winex11.drv/graphics.c +++ b/dlls/winex11.drv/graphics.c @@ -1643,18 +1643,6 @@ static char *get_icm_profile( unsigned long *size ) return ret; } -typedef struct -{ - unsigned int unknown[6]; - unsigned int state[5]; - unsigned int count[2]; - unsigned char buffer[64]; -} sha_ctx; - -extern void WINAPI A_SHAInit( sha_ctx * ); -extern void WINAPI A_SHAUpdate( sha_ctx *, const unsigned char *, unsigned int ); -extern void WINAPI A_SHAFinal( sha_ctx *, unsigned char * ); - static const WCHAR mntr_key[] = {'\\','R','e','g','i','s','t','r','y','\\','M','a','c','h','i','n','e','\\', 'S','o','f','t','w','a','r','e','\\','M','i','c','r','o','s','o','f','t','\\',
1
0
0
0
Brendan Shanks : loader: In macOS preloader, set NXArgc, NXArgv, and environ on i386 and x86_64.
by Alexandre Julliard
07 Dec '22
07 Dec '22
Module: wine Branch: master Commit: f99eef6847dffad30e3d06942b532a77545eb098 URL:
https://gitlab.winehq.org/wine/wine/-/commit/f99eef6847dffad30e3d06942b532a…
Author: Brendan Shanks <bshanks(a)codeweavers.com> Date: Tue Dec 6 11:58:12 2022 -0800 loader: In macOS preloader, set NXArgc, NXArgv, and environ on i386 and x86_64. --- loader/preloader_mac.c | 49 +++++++++++++++++++++++++++++++++++-------------- 1 file changed, 35 insertions(+), 14 deletions(-) diff --git a/loader/preloader_mac.c b/loader/preloader_mac.c index bb9336ead2c..5df185d0960 100644 --- a/loader/preloader_mac.c +++ b/loader/preloader_mac.c @@ -640,6 +640,34 @@ static void fixup_stack( void *stack ) memmove(&argv[0], &argv[1], (char *)apple_end - (char *)&argv[1]); } +static void set_program_vars( void *stack, void *mod ) +{ + int *pargc; + char **argv, **env; + int *wine_NXArgc = pdlsym( mod, "NXArgc" ); + char ***wine_NXArgv = pdlsym( mod, "NXArgv" ); + char ***wine_environ = pdlsym( mod, "environ" ); + + pargc = stack; + argv = (char **)pargc + 1; + env = &argv[*pargc-1] + 2; + + if (wine_NXArgc) + *wine_NXArgc = *pargc; + else + wld_printf( "preloader: Warning: failed to set NXArgc\n" ); + + if (wine_NXArgv) + *wine_NXArgv = argv; + else + wld_printf( "preloader: Warning: failed to set NXArgv\n" ); + + if (wine_environ) + *wine_environ = env; + else + wld_printf( "preloader: Warning: failed to set environ\n" ); +} + void *wld_start( void *stack, int *is_unix_thread ) { struct wine_preload_info builtin_dlls = { (void *)0x7a000000, 0x02000000 }; @@ -704,21 +732,14 @@ void *wld_start( void *stack, int *is_unix_thread ) /* decrement argc and "remove" argv[0] */ fixup_stack(stack); -#if defined(__x86_64__) - /* For LC_UNIXTHREAD binaries on Monterey and later, 'environ' is not set and is NULL. - * Set the correct value here. + /* Set NXArgc, NXArgv, and environ in the new binary. + * On different configurations these were either NULL/0 or still had their + * values from this preloader's launch. + * + * In particular, environ was not being updated, resulting in environ[0] being lost. + * And for LC_UNIXTHREAD binaries on Monterey and later, environ was just NULL. */ - if (*is_unix_thread) - { - char **env, ***wine_environ = pdlsym( mod, "environ" ); - - pargc = stack; - argv = (char **)pargc + 1; - env = &argv[*pargc-1] + 2; - - *wine_environ = env; - } -#endif + set_program_vars( stack, mod ); return entry; }
1
0
0
0
Alex Henrie : include: Annotate ILC* functions with __WINE_(DEALLOC|MALLOC).
by Alexandre Julliard
07 Dec '22
07 Dec '22
Module: wine Branch: master Commit: 1a7efafbab61d54595f347527ce06f24593ddedb URL:
https://gitlab.winehq.org/wine/wine/-/commit/1a7efafbab61d54595f347527ce06f…
Author: Alex Henrie <alexhenrie24(a)gmail.com> Date: Tue Dec 6 22:01:13 2022 -0700 include: Annotate ILC* functions with __WINE_(DEALLOC|MALLOC). --- include/shlobj.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/include/shlobj.h b/include/shlobj.h index 20144fbc503..c7452cf5f0a 100644 --- a/include/shlobj.h +++ b/include/shlobj.h @@ -1914,17 +1914,17 @@ WINSHELLAPI HRESULT WINAPI SHDoDragDrop(HWND,IDataObject*,IDropSource*,DWOR #define PID_IS_DESCRIPTION 12 #define PID_IS_COMMENT 13 +WINSHELLAPI void WINAPI ILFree(ITEMIDLIST*); +WINSHELLAPI ITEMIDLIST* WINAPI ILClone(const ITEMIDLIST*) __WINE_DEALLOC(ILFree) __WINE_MALLOC; +WINSHELLAPI ITEMIDLIST* WINAPI ILCloneFirst(const ITEMIDLIST*) __WINE_DEALLOC(ILFree) __WINE_MALLOC; +WINSHELLAPI ITEMIDLIST* WINAPI ILCreateFromPathA(const char*) __WINE_DEALLOC(ILFree) __WINE_MALLOC; +WINSHELLAPI ITEMIDLIST* WINAPI ILCreateFromPathW(const WCHAR*) __WINE_DEALLOC(ILFree) __WINE_MALLOC; +#define ILCreateFromPath WINELIB_NAME_AW(ILCreateFromPath) +WINSHELLAPI ITEMIDLIST* WINAPI ILCombine(const ITEMIDLIST*,const ITEMIDLIST*) __WINE_DEALLOC(ILFree) __WINE_MALLOC; WINSHELLAPI LPITEMIDLIST WINAPI ILAppendID(LPITEMIDLIST,LPCSHITEMID,BOOL); -WINSHELLAPI LPITEMIDLIST WINAPI ILClone(LPCITEMIDLIST); -WINSHELLAPI LPITEMIDLIST WINAPI ILCloneFirst(LPCITEMIDLIST); -WINSHELLAPI LPITEMIDLIST WINAPI ILCreateFromPathA(LPCSTR); -WINSHELLAPI LPITEMIDLIST WINAPI ILCreateFromPathW(LPCWSTR); -#define ILCreateFromPath WINELIB_NAME_AW(ILCreateFromPath) -WINSHELLAPI LPITEMIDLIST WINAPI ILCombine(LPCITEMIDLIST,LPCITEMIDLIST); WINSHELLAPI LPITEMIDLIST WINAPI ILFindChild(LPCITEMIDLIST,LPCITEMIDLIST); WINSHELLAPI LPITEMIDLIST WINAPI ILFindLastID(LPCITEMIDLIST); -WINSHELLAPI void WINAPI ILFree(LPITEMIDLIST); WINSHELLAPI LPITEMIDLIST WINAPI ILGetNext(LPCITEMIDLIST); WINSHELLAPI UINT WINAPI ILGetSize(LPCITEMIDLIST); WINSHELLAPI BOOL WINAPI ILIsEqual(LPCITEMIDLIST,LPCITEMIDLIST);
1
0
0
0
Alex Henrie : include: Annotate GdipAlloc with __WINE_(DEALLOC|MALLOC).
by Alexandre Julliard
07 Dec '22
07 Dec '22
Module: wine Branch: master Commit: dfb025c39ea254f270707cfb693dae3b83cb3231 URL:
https://gitlab.winehq.org/wine/wine/-/commit/dfb025c39ea254f270707cfb693dae…
Author: Alex Henrie <alexhenrie24(a)gmail.com> Date: Tue Dec 6 22:33:57 2022 -0700 include: Annotate GdipAlloc with __WINE_(DEALLOC|MALLOC). --- include/gdiplusmem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/gdiplusmem.h b/include/gdiplusmem.h index fad8ed6772d..896fdf43a03 100644 --- a/include/gdiplusmem.h +++ b/include/gdiplusmem.h @@ -25,8 +25,8 @@ extern "C" { #endif -void* WINGDIPAPI GdipAlloc(SIZE_T) __WINE_ALLOC_SIZE(1); void WINGDIPAPI GdipFree(void*); +void* WINGDIPAPI GdipAlloc(SIZE_T) __WINE_ALLOC_SIZE(1) __WINE_DEALLOC(GdipFree) __WINE_MALLOC; #ifdef __cplusplus }
1
0
0
0
Alex Henrie : include: Annotate (Alloc|Realloc)ADs* with __WINE_(ALLOC_SIZE|DEALLOC|MALLOC).
by Alexandre Julliard
07 Dec '22
07 Dec '22
Module: wine Branch: master Commit: 5e943f6e1a4a09297ba74e2c7c1c893efa5ff89b URL:
https://gitlab.winehq.org/wine/wine/-/commit/5e943f6e1a4a09297ba74e2c7c1c89…
Author: Alex Henrie <alexhenrie24(a)gmail.com> Date: Tue Dec 6 22:26:18 2022 -0700 include: Annotate (Alloc|Realloc)ADs* with __WINE_(ALLOC_SIZE|DEALLOC|MALLOC). --- include/adshlp.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/include/adshlp.h b/include/adshlp.h index dac57857edb..5dacbb6b821 100644 --- a/include/adshlp.h +++ b/include/adshlp.h @@ -23,14 +23,17 @@ extern "C" { #endif +BOOL WINAPI FreeADsMem(void*); +void* WINAPI AllocADsMem(DWORD) __WINE_ALLOC_SIZE(1) __WINE_DEALLOC(FreeADsMem) __WINE_MALLOC; +void* WINAPI ReallocADsMem(void*,DWORD,DWORD) __WINE_ALLOC_SIZE(3) __WINE_DEALLOC(FreeADsMem) __WINE_MALLOC; +BOOL WINAPI FreeADsStr(WCHAR*); +WCHAR* WINAPI AllocADsStr(WCHAR*) __WINE_DEALLOC(FreeADsStr) __WINE_MALLOC; + HRESULT WINAPI ADsBuildEnumerator(IADsContainer*,IEnumVARIANT**); HRESULT WINAPI ADsBuildVarArrayStr(LPWSTR*,DWORD,VARIANT*); HRESULT WINAPI ADsEnumerateNext(IEnumVARIANT*,ULONG,VARIANT*,ULONG*); HRESULT WINAPI ADsGetObject(LPCWSTR,REFIID,VOID**); HRESULT WINAPI ADsOpenObject(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,REFIID,VOID**); -LPWSTR WINAPI AllocADsStr(LPWSTR); -BOOL WINAPI FreeADsMem(LPVOID); -BOOL WINAPI FreeADsStr(LPWSTR); #ifdef __cplusplus }
1
0
0
0
Alex Henrie : include: Annotate MFHeapAlloc with __WINE_(ALLOC_SIZE|DEALLOC|MALLOC).
by Alexandre Julliard
07 Dec '22
07 Dec '22
Module: wine Branch: master Commit: b90f54b4b481fbfe407700c9231c0ec06957be43 URL:
https://gitlab.winehq.org/wine/wine/-/commit/b90f54b4b481fbfe407700c9231c0e…
Author: Alex Henrie <alexhenrie24(a)gmail.com> Date: Tue Dec 6 22:38:23 2022 -0700 include: Annotate MFHeapAlloc with __WINE_(ALLOC_SIZE|DEALLOC|MALLOC). --- include/mfapi.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/mfapi.h b/include/mfapi.h index 24f2d6dc560..3185fc6944f 100644 --- a/include/mfapi.h +++ b/include/mfapi.h @@ -556,6 +556,10 @@ HRESULT WINAPI MFCreateVideoMediaTypeFromVideoInfoHeader(const KS_VIDEOINFOHEADE IMFVideoMediaType **media_type); #endif +void WINAPI MFHeapFree(void *ptr); +void * WINAPI MFHeapAlloc(SIZE_T size, ULONG flags, char *file, int line, EAllocationType type) + __WINE_ALLOC_SIZE(1) __WINE_DEALLOC(MFHeapFree) __WINE_MALLOC; + HRESULT WINAPI MFCreateVideoSampleAllocatorEx(REFIID riid, void **allocator); HRESULT WINAPI MFCreateMemoryBuffer(DWORD max_length, IMFMediaBuffer **buffer); HRESULT WINAPI MFCreateWaveFormatExFromMFMediaType(IMFMediaType *type, WAVEFORMATEX **format, UINT32 *size, UINT32 flags); @@ -563,8 +567,6 @@ HRESULT WINAPI MFEndCreateFile(IMFAsyncResult *result, IMFByteStream **stream); HRESULT WINAPI MFEndRegisterWorkQueueWithMMCSS(IMFAsyncResult *result, DWORD *taskid); HRESULT WINAPI MFEndUnregisterWorkQueueWithMMCSS(IMFAsyncResult *result); HRESULT WINAPI MFFrameRateToAverageTimePerFrame(UINT32 numerator, UINT32 denominator, UINT64 *avgtime); -void * WINAPI MFHeapAlloc(SIZE_T size, ULONG flags, char *file, int line, EAllocationType type); -void WINAPI MFHeapFree(void *ptr); HRESULT WINAPI MFGetAttributesAsBlob(IMFAttributes *attributes, UINT8 *buffer, UINT size); HRESULT WINAPI MFGetAttributesAsBlobSize(IMFAttributes *attributes, UINT32 *size); HRESULT WINAPI MFGetStrideForBitmapInfoHeader(DWORD format, DWORD width, LONG *stride);
1
0
0
0
Alex Henrie : winhlp32: Use standard C functions for memory allocation.
by Alexandre Julliard
07 Dec '22
07 Dec '22
Module: wine Branch: master Commit: 33ae61d79b4b522b617be2da5485da3655355778 URL:
https://gitlab.winehq.org/wine/wine/-/commit/33ae61d79b4b522b617be2da5485da…
Author: Alex Henrie <alexhenrie24(a)gmail.com> Date: Tue Dec 6 23:55:33 2022 -0700 winhlp32: Use standard C functions for memory allocation. --- programs/winhlp32/hlpfile.c | 140 ++++++++++++++++++++---------------------- programs/winhlp32/macro.c | 35 ++++------- programs/winhlp32/macro.lex.l | 4 +- programs/winhlp32/winhelp.c | 10 +-- 4 files changed, 85 insertions(+), 104 deletions(-)
1
0
0
0
← Newer
1
...
25
26
27
28
29
30
31
...
54
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
Results per page:
10
25
50
100
200