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
May 2013
----- 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
498 discussions
Start a n
N
ew thread
Alexandre Julliard : wined3d: Don' t bother to unregister classes at process exit.
by Alexandre Julliard
14 May '13
14 May '13
Module: wine Branch: master Commit: 02d56bd3a217a20a6e2aa8e53bbb8f6c099b47fe URL:
http://source.winehq.org/git/wine.git/?a=commit;h=02d56bd3a217a20a6e2aa8e53…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Tue May 14 11:30:43 2013 +0200 wined3d: Don't bother to unregister classes at process exit. --- dlls/wined3d/wined3d_main.c | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/dlls/wined3d/wined3d_main.c b/dlls/wined3d/wined3d_main.c index f49e5bc..50bee78 100644 --- a/dlls/wined3d/wined3d_main.c +++ b/dlls/wined3d/wined3d_main.c @@ -521,18 +521,15 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv) return wined3d_dll_init(hInstDLL); case DLL_PROCESS_DETACH: + if (lpv) break; return wined3d_dll_destroy(hInstDLL); case DLL_THREAD_DETACH: - { if (!context_set_current(NULL)) { ERR("Failed to clear current context.\n"); } return TRUE; - } - - default: - return TRUE; } + return TRUE; }
1
0
0
0
Alexandre Julliard : wintab32: Don' t bother to unregister classes at process exit.
by Alexandre Julliard
14 May '13
14 May '13
Module: wine Branch: master Commit: 9cf94e30b2ef8140faca7c0268a1ef08329446f5 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=9cf94e30b2ef8140faca7c026…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Tue May 14 11:27:40 2013 +0200 wintab32: Don't bother to unregister classes at process exit. --- dlls/wintab32/wintab32.c | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/dlls/wintab32/wintab32.c b/dlls/wintab32/wintab32.c index 51cba6a..0633ea8 100644 --- a/dlls/wintab32/wintab32.c +++ b/dlls/wintab32/wintab32.c @@ -99,12 +99,9 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpReserved) return FALSE; break; case DLL_PROCESS_DETACH: + if (lpReserved) break; TRACE("Detaching\n"); - if (hwndDefault) - { - DestroyWindow(hwndDefault); - hwndDefault = 0; - } + if (hwndDefault) DestroyWindow(hwndDefault); TABLET_Unregister(); DeleteCriticalSection(&csTablet); break;
1
0
0
0
Alexandre Julliard : ole32: Don' t bother to unregister classes at process exit.
by Alexandre Julliard
14 May '13
14 May '13
Module: wine Branch: master Commit: 5e95368e0a40df0cba8c238ff43652631d840585 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=5e95368e0a40df0cba8c238ff…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Tue May 14 11:25:29 2013 +0200 ole32: Don't bother to unregister classes at process exit. --- dlls/ole32/compobj.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c index 1857ac7..e007440 100644 --- a/dlls/ole32/compobj.c +++ b/dlls/ole32/compobj.c @@ -4449,9 +4449,9 @@ HRESULT Handler_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv) /*********************************************************************** * DllMain (OLE32.@) */ -BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad) +BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID reserved) { - TRACE("%p 0x%x %p\n", hinstDLL, fdwReason, fImpLoad); + TRACE("%p 0x%x %p\n", hinstDLL, fdwReason, reserved); switch(fdwReason) { case DLL_PROCESS_ATTACH: @@ -4460,6 +4460,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad) break; case DLL_PROCESS_DETACH: + if (reserved) break; COMPOBJ_UninitProcess(); RPC_UnregisterAllChannelHooks(); COMPOBJ_DllList_Free();
1
0
0
0
Alexandre Julliard : riched32: Don' t bother to unregister classes at process exit.
by Alexandre Julliard
14 May '13
14 May '13
Module: wine Branch: master Commit: 0091c0ae964908f1e0227ecbcf01a7c43284136d URL:
http://source.winehq.org/git/wine.git/?a=commit;h=0091c0ae964908f1e0227ecbc…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Tue May 14 11:20:49 2013 +0200 riched32: Don't bother to unregister classes at process exit. --- dlls/riched32/richedit.c | 14 +++----------- 1 files changed, 3 insertions(+), 11 deletions(-) diff --git a/dlls/riched32/richedit.c b/dlls/riched32/richedit.c index 7513273..44ce843 100644 --- a/dlls/riched32/richedit.c +++ b/dlls/riched32/richedit.c @@ -40,16 +40,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(richedit); extern LRESULT WINAPI RichEdit10ANSIWndProc(HWND, UINT, WPARAM, LPARAM); -/* Unregisters the window class. */ -static BOOL RICHED32_Unregister(void) -{ - TRACE("\n"); - - UnregisterClassA(RICHEDIT_CLASS10A, NULL); - return TRUE; -} - - /* Registers the window class. */ static BOOL RICHED32_Register(void) { @@ -80,7 +70,9 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) return RICHED32_Register(); case DLL_PROCESS_DETACH: - return RICHED32_Unregister(); + if (lpvReserved) break; + UnregisterClassA(RICHEDIT_CLASS10A, NULL); + break; } return TRUE; }
1
0
0
0
Alexandre Julliard : riched20: Don' t bother to unregister classes at process exit.
by Alexandre Julliard
14 May '13
14 May '13
Module: wine Branch: master Commit: 85f882856053cbc5e51a1e94ed39146bc47700ba URL:
http://source.winehq.org/git/wine.git/?a=commit;h=85f882856053cbc5e51a1e94e…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Tue May 14 11:19:48 2013 +0200 riched20: Don't bother to unregister classes at process exit. --- dlls/riched20/editor.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c index 1b4788c..f54458e 100644 --- a/dlls/riched20/editor.c +++ b/dlls/riched20/editor.c @@ -2843,6 +2843,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) break; case DLL_PROCESS_DETACH: + if (lpvReserved) break; UnregisterClassW(RICHEDIT_CLASS20W, 0); UnregisterClassW(MSFTEDIT_CLASS, 0); UnregisterClassA(RICHEDIT_CLASS20A, 0); @@ -2853,7 +2854,6 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) UnregisterClassW(REComboBox20W, 0); LookupCleanup(); HeapDestroy (me_heap); - me_heap = NULL; break; } return TRUE;
1
0
0
0
Alexandre Julliard : msi: Don' t bother to unregister classes at process exit.
by Alexandre Julliard
14 May '13
14 May '13
Module: wine Branch: master Commit: d578d0d6c3407f292151979e28b13230c871abbf URL:
http://source.winehq.org/git/wine.git/?a=commit;h=d578d0d6c3407f292151979e2…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Tue May 14 11:18:37 2013 +0200 msi: Don't bother to unregister classes at process exit. --- dlls/msi/msi_main.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/msi/msi_main.c b/dlls/msi/msi_main.c index 46f9ed8..148e678 100644 --- a/dlls/msi/msi_main.c +++ b/dlls/msi/msi_main.c @@ -76,6 +76,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) IsWow64Process( GetCurrentProcess(), &is_wow64 ); break; case DLL_PROCESS_DETACH: + if (lpvReserved) break; msi_dialog_unregister_class(); msi_free_handle_table(); msi_free( gszLogFile );
1
0
0
0
Alexandre Julliard : inetcomm: Don' t bother to unregister classes at process exit.
by Alexandre Julliard
14 May '13
14 May '13
Module: wine Branch: master Commit: 1b5114d9fc37992af5698c9b2eb17cb9404d80ab URL:
http://source.winehq.org/git/wine.git/?a=commit;h=1b5114d9fc37992af5698c9b2…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Tue May 14 11:16:33 2013 +0200 inetcomm: Don't bother to unregister classes at process exit. --- dlls/inetcomm/inetcomm_main.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/dlls/inetcomm/inetcomm_main.c b/dlls/inetcomm/inetcomm_main.c index 8f5eca6..9987a41 100644 --- a/dlls/inetcomm/inetcomm_main.c +++ b/dlls/inetcomm/inetcomm_main.c @@ -58,11 +58,10 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) MimeInternational_Construct(&international); break; case DLL_PROCESS_DETACH: + if (lpvReserved) break; IMimeInternational_Release(international); InternetTransport_UnregisterClass(hinstDLL); break; - default: - break; } return TRUE; }
1
0
0
0
Alexandre Julliard : imm32: Don' t bother to unregister classes at process exit.
by Alexandre Julliard
14 May '13
14 May '13
Module: wine Branch: master Commit: 0243fd5aa3bbf7d279d7d41996ae6cbe194159f9 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=0243fd5aa3bbf7d279d7d4199…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Tue May 14 11:26:39 2013 +0200 imm32: Don't bother to unregister classes at process exit. --- dlls/imm32/imm.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/imm32/imm.c b/dlls/imm32/imm.c index fbb683f..62f4b71 100644 --- a/dlls/imm32/imm.c +++ b/dlls/imm32/imm.c @@ -386,6 +386,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpReserved) IMM_FreeThreadData(); break; case DLL_PROCESS_DETACH: + if (lpReserved) break; IMM_FreeThreadData(); IMM_FreeAllImmHkl(); TlsFree(tlsIndex);
1
0
0
0
Alexandre Julliard : ieframe: Don' t bother to unregister classes at process exit.
by Alexandre Julliard
14 May '13
14 May '13
Module: wine Branch: master Commit: 79fe2daafb261939bda89e617991eb851dd779bf URL:
http://source.winehq.org/git/wine.git/?a=commit;h=79fe2daafb261939bda89e617…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Tue May 14 11:15:32 2013 +0200 ieframe: Don't bother to unregister classes at process exit. --- dlls/ieframe/ieframe_main.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/ieframe/ieframe_main.c b/dlls/ieframe/ieframe_main.c index 7c0b37b..ffba1d7 100644 --- a/dlls/ieframe/ieframe_main.c +++ b/dlls/ieframe/ieframe_main.c @@ -218,6 +218,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv) DisableThreadLibraryCalls(ieframe_instance); break; case DLL_PROCESS_DETACH: + if (lpv) break; unregister_iewindow_class(); release_typelib(); }
1
0
0
0
Alexandre Julliard : ddraw: Don' t bother to unregister classes at process exit.
by Alexandre Julliard
14 May '13
14 May '13
Module: wine Branch: master Commit: 0ad26e27f38d7dc68f3a91275e35ca767acf4a6a URL:
http://source.winehq.org/git/wine.git/?a=commit;h=0ad26e27f38d7dc68f3a91275…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Tue May 14 11:29:47 2013 +0200 ddraw: Don't bother to unregister classes at process exit. --- dlls/ddraw/main.c | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/dlls/ddraw/main.c b/dlls/ddraw/main.c index e4c1ac1..aaa4032 100644 --- a/dlls/ddraw/main.c +++ b/dlls/ddraw/main.c @@ -848,13 +848,12 @@ static inline DWORD get_config_key(HKEY defkey, HKEY appkey, const char* name, c * app didn't release them properly(Gothic 2, Diablo 2, Moto racer, ...) * ***********************************************************************/ -BOOL WINAPI -DllMain(HINSTANCE hInstDLL, - DWORD Reason, - LPVOID lpv) +BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD reason, LPVOID reserved) { - TRACE("(%p,%x,%p)\n", hInstDLL, Reason, lpv); - if (Reason == DLL_PROCESS_ATTACH) + TRACE("(%p,%x,%p)\n", hInstDLL, reason, reserved); + switch (reason) + { + case DLL_PROCESS_ATTACH: { static HMODULE ddraw_self; char buffer[MAX_PATH+10]; @@ -968,9 +967,10 @@ DllMain(HINSTANCE hInstDLL, instance = hInstDLL; DisableThreadLibraryCalls(hInstDLL); + break; } - else if (Reason == DLL_PROCESS_DETACH) - { + + case DLL_PROCESS_DETACH: if(!list_empty(&global_ddraw_list)) { struct list *entry, *entry2; @@ -1034,7 +1034,7 @@ DllMain(HINSTANCE hInstDLL, } } - /* Unregister the window class. */ + if (reserved) break; UnregisterClassA(DDRAW_WINDOW_CLASS_NAME, hInstDLL); }
1
0
0
0
← Newer
1
...
30
31
32
33
34
35
36
...
50
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
Results per page:
10
25
50
100
200