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 2023
----- 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
775 discussions
Start a n
N
ew thread
Mohamad Al-Jaf : hrtfapo: Add stub DLL.
by Alexandre Julliard
02 May '23
02 May '23
Module: wine Branch: master Commit: 9c46b673ba99de85bff98ee2f2a8924b9ae24e83 URL:
https://gitlab.winehq.org/wine/wine/-/commit/9c46b673ba99de85bff98ee2f2a892…
Author: Mohamad Al-Jaf <mohamadaljaf(a)gmail.com> Date: Sun Dec 18 23:31:01 2022 -0500 hrtfapo: Add stub DLL. --- configure | 2 ++ configure.ac | 1 + dlls/hrtfapo/Makefile.in | 1 + dlls/hrtfapo/hrtfapo.spec | 5 +++++ 4 files changed, 9 insertions(+) diff --git a/configure b/configure index 6201d4444fd..001e80be636 100755 --- a/configure +++ b/configure @@ -1151,6 +1151,7 @@ enable_hidclass_sys enable_hidparse_sys enable_hlink enable_hnetcfg +enable_hrtfapo enable_http_sys enable_httpapi enable_ia2comproxy @@ -21391,6 +21392,7 @@ wine_fn_config_makefile dlls/hlink enable_hlink wine_fn_config_makefile dlls/hlink/tests enable_tests wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg wine_fn_config_makefile dlls/hnetcfg/tests enable_tests +wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo wine_fn_config_makefile dlls/http.sys enable_http_sys wine_fn_config_makefile dlls/httpapi enable_httpapi wine_fn_config_makefile dlls/httpapi/tests enable_tests diff --git a/configure.ac b/configure.ac index 265c7425a8e..0a6171e7fd3 100644 --- a/configure.ac +++ b/configure.ac @@ -2629,6 +2629,7 @@ WINE_CONFIG_MAKEFILE(dlls/hlink) WINE_CONFIG_MAKEFILE(dlls/hlink/tests) WINE_CONFIG_MAKEFILE(dlls/hnetcfg) WINE_CONFIG_MAKEFILE(dlls/hnetcfg/tests) +WINE_CONFIG_MAKEFILE(dlls/hrtfapo) WINE_CONFIG_MAKEFILE(dlls/http.sys) WINE_CONFIG_MAKEFILE(dlls/httpapi) WINE_CONFIG_MAKEFILE(dlls/httpapi/tests) diff --git a/dlls/hrtfapo/Makefile.in b/dlls/hrtfapo/Makefile.in new file mode 100644 index 00000000000..c2a24658436 --- /dev/null +++ b/dlls/hrtfapo/Makefile.in @@ -0,0 +1 @@ +MODULE = hrtfapo.dll diff --git a/dlls/hrtfapo/hrtfapo.spec b/dlls/hrtfapo/hrtfapo.spec new file mode 100644 index 00000000000..d9395a66c7e --- /dev/null +++ b/dlls/hrtfapo/hrtfapo.spec @@ -0,0 +1,5 @@ +@ stub CreateHrtfApo +@ stub CreateHrtfApoWithDatasetType +@ stub CreateHrtfEngineFactory +@ stub IsHrtfApoAvailable +@ stub GetHrtfEngineMinFrameCount
1
0
0
0
Mohamad Al-Jaf : include: Add hrtfapoapi.idl file.
by Alexandre Julliard
02 May '23
02 May '23
Module: wine Branch: master Commit: 2b32ba593dc06db3689ce07908265af96b9c03b3 URL:
https://gitlab.winehq.org/wine/wine/-/commit/2b32ba593dc06db3689ce07908265a…
Author: Mohamad Al-Jaf <mohamadaljaf(a)gmail.com> Date: Thu Dec 8 19:43:52 2022 -0500 include: Add hrtfapoapi.idl file. --- include/Makefile.in | 1 + include/hrtfapoapi.idl | 108 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 109 insertions(+) diff --git a/include/Makefile.in b/include/Makefile.in index c957fed884c..0dae4cab2bf 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -340,6 +340,7 @@ SOURCES = \ highlevelmonitorconfigurationapi.h \ hlguids.h \ hlink.idl \ + hrtfapoapi.idl \ hstring.idl \ htiface.idl \ htiframe.idl \ diff --git a/include/hrtfapoapi.idl b/include/hrtfapoapi.idl new file mode 100644 index 00000000000..15b479d0216 --- /dev/null +++ b/include/hrtfapoapi.idl @@ -0,0 +1,108 @@ +/* + * Copyright (C) 2023 Mohamad Al-Jaf + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "xapo.idl"; + +cpp_quote("#include <float.h>") + +cpp_quote("#define HRTF_MAX_GAIN_LIMIT 12.0f") +cpp_quote("#define HRTF_MIN_GAIN_LIMIT -96.0f") +cpp_quote("#define HRTF_MIN_UNITY_GAIN_DISTANCE 0.05f") +cpp_quote("#define HRTF_DEFAULT_UNITY_GAIN_DISTANCE 1.0f") +cpp_quote("#define HRTF_DEFAULT_CUTOFF_DISTANCE FLT_MAX") + +typedef struct HrtfPosition +{ + float x; + float y; + float z; +} HrtfPosition; + +typedef struct HrtfOrientation +{ + float element[9]; +} HrtfOrientation; + +typedef enum HrtfDirectivityType +{ + OmniDirectional, + Cardioid, + Cone, +} HrtfDirectivityType; + +typedef enum HrtfEnvironment +{ + Small, + Medium, + Large, + Outdoors, +} HrtfEnvironment; + +typedef struct HrtfDirectivity +{ + HrtfDirectivityType type; + float scaling; +} HrtfDirectivity; + +typedef struct HrtfDirectivityCardioid +{ + HrtfDirectivity directivity; + float order; +} HrtfDirectivityCardioid; + +typedef struct HrtfDirectivityCone +{ + HrtfDirectivity directivity; + float innerAngle; + float outerAngle; +} HrtfDirectivityCone; + +typedef enum HrtfDistanceDecayType +{ + NaturalDecay, + CustomDecay, +} HrtfDistanceDecayType; + +typedef struct HrtfDistanceDecay +{ + HrtfDistanceDecayType type; + float maxGain; + float minGain; + float unityGainDistance; + float cutoffDistance; +} HrtfDistanceDecay; + +typedef struct HrtfApoInit +{ + HrtfDistanceDecay *distanceDecay; + HrtfDirectivity *directivity; +} HrtfApoInit; + +HRESULT __stdcall CreateHrtfApo(const HrtfApoInit *init, IXAPO **xapo); + +[ + object, + uuid(15b3cd66-e9de-4464-b6e6-2bc3cf63d455) +] +interface IXAPOHrtfParameters : IUnknown +{ + HRESULT SetSourcePosition(const HrtfPosition *position); + HRESULT SetSourceOrientation(const HrtfOrientation *orientation); + HRESULT SetSourceGain(float gain); + HRESULT SetEnvironment(HrtfEnvironment environment); +}
1
0
0
0
Alex Henrie : winemenubuilder: Skip desktop integration for certain associations.
by Alexandre Julliard
02 May '23
02 May '23
Module: wine Branch: master Commit: 9d80b367ce0746b98a221f3b72e03da758af7c20 URL:
https://gitlab.winehq.org/wine/wine/-/commit/9d80b367ce0746b98a221f3b72e03d…
Author: Alex Henrie <alexhenrie24(a)gmail.com> Date: Wed Apr 5 19:26:38 2023 -0600 winemenubuilder: Skip desktop integration for certain associations. Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=41275
--- programs/winemenubuilder/winemenubuilder.c | 54 +++++++++++++++++++++++++++--- 1 file changed, 49 insertions(+), 5 deletions(-) diff --git a/programs/winemenubuilder/winemenubuilder.c b/programs/winemenubuilder/winemenubuilder.c index 1579ca8dafa..ae657d87bb1 100644 --- a/programs/winemenubuilder/winemenubuilder.c +++ b/programs/winemenubuilder/winemenubuilder.c @@ -1974,6 +1974,46 @@ static BOOL is_extension_banned(LPCWSTR extension) return FALSE; } +static BOOL on_exclude_list(const WCHAR *command) +{ + static const WCHAR default_exclude_list[] = L"ieframe.dll\0iexplore.exe\0notepad.exe\0" + L"winebrowser.exe\0wordpad.exe\0"; + WCHAR *exclude_list = NULL; + const WCHAR *pattern; + HKEY key; + DWORD size; + LSTATUS status; + BOOL found = FALSE; + + if ((key = open_associations_reg_key())) + { + status = RegGetValueW(key, NULL, L"Exclude", RRF_RT_REG_MULTI_SZ, NULL, NULL, &size); + if (status == ERROR_SUCCESS) + { + exclude_list = xmalloc(size); + status = RegGetValueW(key, NULL, L"Exclude", RRF_RT_REG_MULTI_SZ, NULL, exclude_list, &size); + if (status != ERROR_SUCCESS) + { + heap_free(exclude_list); + exclude_list = NULL; + } + } + RegCloseKey(key); + } + + for (pattern = exclude_list ? exclude_list : default_exclude_list; *pattern; pattern += wcslen(pattern) + 1) + { + if (wcsstr(command, pattern)) + { + found = TRUE; + break; + } + } + + heap_free(exclude_list); + return found; +} + static WCHAR *get_special_mime_type(LPCWSTR extension) { if (!wcsicmp(extension, L".lnk")) @@ -2054,6 +2094,15 @@ static BOOL generate_associations(const WCHAR *packages_dir, const WCHAR *applic WCHAR *mimeProgId = NULL; struct rb_string_entry *entry; + commandW = assoc_query(ASSOCSTR_COMMAND, extensionW, L"open"); + if (commandW == NULL) + /* no command => no application is associated */ + goto end; + + if (on_exclude_list(commandW)) + /* command is on the exclude list => desktop integration is not desirable */ + goto end; + wcslwr(extensionW); friendlyDocNameW = assoc_query(ASSOCSTR_FRIENDLYDOCNAME, extensionW, NULL); @@ -2093,11 +2142,6 @@ static BOOL generate_associations(const WCHAR *packages_dir, const WCHAR *applic hasChanged = TRUE; } - commandW = assoc_query(ASSOCSTR_COMMAND, extensionW, L"open"); - if (commandW == NULL) - /* no command => no application is associated */ - goto end; - executableW = assoc_query(ASSOCSTR_EXECUTABLE, extensionW, L"open"); if (executableW) openWithIcon = compute_native_identifier(0, executableW, NULL);
1
0
0
0
Tim Clem : ntdll: Decrement thread count from exit_thread and exit the process if needed.
by Alexandre Julliard
02 May '23
02 May '23
Module: wine Branch: master Commit: fac1aabbef3753afc53a4ea4f933b3d0516fd302 URL:
https://gitlab.winehq.org/wine/wine/-/commit/fac1aabbef3753afc53a4ea4f933b3…
Author: Tim Clem <tclem(a)codeweavers.com> Date: Mon Apr 24 11:51:31 2023 -0700 ntdll: Decrement thread count from exit_thread and exit the process if needed. --- dlls/ntdll/unix/thread.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/ntdll/unix/thread.c b/dlls/ntdll/unix/thread.c index 2686a8365cf..d76de4fcc98 100644 --- a/dlls/ntdll/unix/thread.c +++ b/dlls/ntdll/unix/thread.c @@ -1429,6 +1429,8 @@ static DECLSPEC_NORETURN void exit_thread( int status ) pthread_sigmask( SIG_BLOCK, &server_block_set, NULL ); + if (InterlockedDecrement( &nb_threads ) <= 0) exit_process( status ); + if ((teb = InterlockedExchangePointer( &prev_teb, NtCurrentTeb() ))) { struct ntdll_thread_data *thread_data = (struct ntdll_thread_data *)&teb->GdiTebBatch;
1
0
0
0
Zhiyi Zhang : findstr: Add basic functionality.
by Alexandre Julliard
02 May '23
02 May '23
Module: wine Branch: master Commit: f88affa2a188f4cf608900239d8486b649c00353 URL:
https://gitlab.winehq.org/wine/wine/-/commit/f88affa2a188f4cf608900239d8486…
Author: Zhiyi Zhang <zzhang(a)codeweavers.com> Date: Mon Apr 17 16:07:18 2023 +0800 findstr: Add basic functionality. Company of Heroes: Battle of Crete needs a functioning findstr.exe to exit properly. Freemake Video Converter 4.1 installer also needs this. Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=35254
--- configure | 1 + configure.ac | 1 + po/ar.po | 20 ++++ po/ast.po | 18 ++++ po/bg.po | 19 ++++ po/ca.po | 20 ++++ po/cs.po | 20 ++++ po/da.po | 20 ++++ po/de.po | 20 ++++ po/el.po | 18 ++++ po/en.po | 16 +++ po/en_US.po | 16 +++ po/eo.po | 20 ++++ po/es.po | 20 ++++ po/fa.po | 17 +++ po/fi.po | 20 ++++ po/fr.po | 20 ++++ po/he.po | 19 ++++ po/hi.po | 16 +++ po/hr.po | 20 ++++ po/hu.po | 20 ++++ po/it.po | 20 ++++ po/ja.po | 20 ++++ po/ko.po | 20 ++++ po/lt.po | 20 ++++ po/ml.po | 16 +++ po/nb_NO.po | 20 ++++ po/nl.po | 20 ++++ po/or.po | 16 +++ po/pa.po | 16 +++ po/pl.po | 20 ++++ po/pt_BR.po | 20 ++++ po/pt_PT.po | 20 ++++ po/rm.po | 16 +++ po/ro.po | 20 ++++ po/ru.po | 20 ++++ po/si.po | 20 ++++ po/sk.po | 18 ++++ po/sl.po | 20 ++++ po/sr_RS(a)cyrillic.po | 19 ++++ po/sr_RS(a)latin.po | 19 ++++ po/sv.po | 20 ++++ po/ta.po | 16 +++ po/te.po | 16 +++ po/th.po | 17 +++ po/tr.po | 20 ++++ po/uk.po | 20 ++++ po/wa.po | 18 ++++ po/wine.pot | 16 +++ po/zh_CN.po | 20 ++++ po/zh_TW.po | 20 ++++ programs/findstr/Makefile.in | 3 + programs/findstr/findstr.h | 38 +++++++ programs/findstr/findstr.rc | 31 ++++++ programs/findstr/main.c | 210 ++++++++++++++++++++++++++++++++++++- programs/findstr/tests/Makefile.in | 4 + programs/findstr/tests/findstr.c | 208 ++++++++++++++++++++++++++++++++++++ 57 files changed, 1413 insertions(+), 5 deletions(-)
1
0
0
0
Zhiyi Zhang : tasklist: Partially support '/fi' option.
by Alexandre Julliard
02 May '23
02 May '23
Module: wine Branch: master Commit: db0ccc440a9cb845f235e0453b60f67262761971 URL:
https://gitlab.winehq.org/wine/wine/-/commit/db0ccc440a9cb845f235e0453b60f6…
Author: Zhiyi Zhang <zzhang(a)codeweavers.com> Date: Fri Apr 14 17:39:31 2023 +0800 tasklist: Partially support '/fi' option. Some filters such as STATUS and CPUTIME are not implemented. Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=48596
--- po/ar.po | 6 ++ po/ast.po | 6 ++ po/bg.po | 5 ++ po/ca.po | 6 ++ po/cs.po | 6 ++ po/da.po | 6 ++ po/de.po | 6 ++ po/el.po | 4 + po/en.po | 4 + po/en_US.po | 4 + po/eo.po | 6 ++ po/es.po | 6 ++ po/fa.po | 5 ++ po/fi.po | 6 ++ po/fr.po | 6 ++ po/he.po | 5 ++ po/hi.po | 4 + po/hr.po | 6 ++ po/hu.po | 6 ++ po/it.po | 6 ++ po/ja.po | 6 ++ po/ko.po | 6 ++ po/lt.po | 6 ++ po/ml.po | 4 + po/nb_NO.po | 6 ++ po/nl.po | 6 ++ po/or.po | 4 + po/pa.po | 4 + po/pl.po | 6 ++ po/pt_BR.po | 6 ++ po/pt_PT.po | 6 ++ po/rm.po | 4 + po/ro.po | 5 ++ po/ru.po | 6 ++ po/si.po | 4 + po/sk.po | 4 + po/sl.po | 6 ++ po/sr_RS(a)cyrillic.po | 5 ++ po/sr_RS(a)latin.po | 5 ++ po/sv.po | 6 ++ po/ta.po | 4 + po/te.po | 4 + po/th.po | 5 ++ po/tr.po | 6 ++ po/uk.po | 6 ++ po/wa.po | 5 ++ po/wine.pot | 4 + po/zh_CN.po | 6 ++ po/zh_TW.po | 6 ++ programs/tasklist/tasklist.c | 173 +++++++++++++++++++++++++++++++++++-- programs/tasklist/tasklist.h | 32 +++++++ programs/tasklist/tasklist.rc | 1 + programs/tasklist/tests/tasklist.c | 104 ++++++++++++++++++++++ 53 files changed, 565 insertions(+), 5 deletions(-)
1
0
0
0
Zhiyi Zhang : tasklist: Support '/fo' option.
by Alexandre Julliard
02 May '23
02 May '23
Module: wine Branch: master Commit: 397ce0dbf2c8f536c2fab78109362b962c5de8cb URL:
https://gitlab.winehq.org/wine/wine/-/commit/397ce0dbf2c8f536c2fab78109362b…
Author: Zhiyi Zhang <zzhang(a)codeweavers.com> Date: Fri Apr 14 17:36:26 2023 +0800 tasklist: Support '/fo' option. --- po/ar.po | 6 +++ po/ast.po | 6 +++ po/bg.po | 5 +++ po/ca.po | 6 +++ po/cs.po | 6 +++ po/da.po | 6 +++ po/de.po | 6 +++ po/el.po | 5 +++ po/en.po | 4 ++ po/en_US.po | 4 ++ po/eo.po | 6 +++ po/es.po | 6 +++ po/fa.po | 5 +++ po/fi.po | 6 +++ po/fr.po | 6 +++ po/he.po | 6 +++ po/hi.po | 4 ++ po/hr.po | 6 +++ po/hu.po | 6 +++ po/it.po | 6 +++ po/ja.po | 6 +++ po/ko.po | 6 +++ po/lt.po | 6 +++ po/ml.po | 4 ++ po/nb_NO.po | 6 +++ po/nl.po | 6 +++ po/or.po | 4 ++ po/pa.po | 4 ++ po/pl.po | 6 +++ po/pt_BR.po | 6 +++ po/pt_PT.po | 6 +++ po/rm.po | 5 +++ po/ro.po | 6 +++ po/ru.po | 6 +++ po/si.po | 6 +++ po/sk.po | 6 +++ po/sl.po | 6 +++ po/sr_RS(a)cyrillic.po | 5 +++ po/sr_RS(a)latin.po | 5 +++ po/sv.po | 6 +++ po/ta.po | 4 ++ po/te.po | 4 ++ po/th.po | 5 +++ po/tr.po | 6 +++ po/uk.po | 6 +++ po/wa.po | 5 +++ po/wine.pot | 4 ++ po/zh_CN.po | 6 +++ po/zh_TW.po | 6 +++ programs/tasklist/tasklist.c | 79 ++++++++++++++++++++++++++++++++++---- programs/tasklist/tasklist.h | 9 +++++ programs/tasklist/tasklist.rc | 1 + programs/tasklist/tests/tasklist.c | 43 +++++++++++++++++++++ 53 files changed, 392 insertions(+), 8 deletions(-)
1
0
0
0
Zhiyi Zhang : tasklist: Support '/nh' option.
by Alexandre Julliard
02 May '23
02 May '23
Module: wine Branch: master Commit: 8238c1d48fe4d867d746579c0b79ffa6df6c738b URL:
https://gitlab.winehq.org/wine/wine/-/commit/8238c1d48fe4d867d746579c0b79ff…
Author: Zhiyi Zhang <zzhang(a)codeweavers.com> Date: Tue Apr 18 17:59:07 2023 +0800 tasklist: Support '/nh' option. --- programs/tasklist/tasklist.c | 21 +++++++++++++++------ programs/tasklist/tasklist.h | 5 +++++ programs/tasklist/tests/tasklist.c | 15 +++++++++++++++ 3 files changed, 35 insertions(+), 6 deletions(-) diff --git a/programs/tasklist/tasklist.c b/programs/tasklist/tasklist.c index 687b8bf6985..48d9b438e84 100644 --- a/programs/tasklist/tasklist.c +++ b/programs/tasklist/tasklist.c @@ -163,17 +163,21 @@ static BOOL tasklist_get_process_info(const PROCESSENTRY32W *process_entry, stru return TRUE; } -static void tasklist_print(void) +static void tasklist_print(const struct tasklist_options *options) { struct tasklist_process_info header, info; PROCESSENTRY32W *process_list; DWORD process_count, i; wprintf(L"\n"); - tasklist_get_header(&header); - wprintf(L"%-25.25s %8.8s %-16.16s %11.11s %12.12s\n" - L"========================= ======== ================ =========== ============\n", - header.image_name, header.pid, header.session_name, header.session_number, header.memory_usage); + + if (!options->no_header) + { + tasklist_get_header(&header); + wprintf(L"%-25.25s %8.8s %-16.16s %11.11s %12.12s\n" + L"========================= ======== ================ =========== ============\n", + header.image_name, header.pid, header.session_name, header.session_number, header.memory_usage); + } process_list = enumerate_processes(&process_count); for (i = 0; i < process_count; ++i) @@ -189,6 +193,7 @@ static void tasklist_print(void) int __cdecl wmain(int argc, WCHAR *argv[]) { + struct tasklist_options options = {0}; int i; for (i = 0; i < argc; i++) @@ -202,12 +207,16 @@ int __cdecl wmain(int argc, WCHAR *argv[]) tasklist_message(STRING_USAGE); return 0; } + else if (!wcsicmp(argv[i], L"/nh")) + { + options.no_header = TRUE; + } else { WINE_WARN("Ignoring option %s\n", wine_dbgstr_w(argv[i])); } } - tasklist_print(); + tasklist_print(&options); return 0; } diff --git a/programs/tasklist/tasklist.h b/programs/tasklist/tasklist.h index 707121680ec..6add1f30277 100644 --- a/programs/tasklist/tasklist.h +++ b/programs/tasklist/tasklist.h @@ -36,3 +36,8 @@ struct tasklist_process_info WCHAR session_number[32]; WCHAR memory_usage[32]; }; + +struct tasklist_options +{ + BOOL no_header; +}; diff --git a/programs/tasklist/tests/tasklist.c b/programs/tasklist/tests/tasklist.c index cd4a2be0178..2c4d77855b0 100644 --- a/programs/tasklist/tests/tasklist.c +++ b/programs/tasklist/tests/tasklist.c @@ -108,6 +108,20 @@ static void test_basic(void) ok(stderr_size == 0, "Unexpected stderr buffer size %ld.\n", stderr_size); } +static void test_no_header(void) +{ + char *pos; + + /* /nh */ + run_tasklist("/nh", 0); + ok(stdout_size > 0, "Unexpected stdout buffer size %ld.\n", stdout_size); + ok(stderr_size == 0, "Unexpected stderr buffer size %ld.\n", stderr_size); + pos = strstr(stdout_buffer, "Image Name"); + ok(!pos, "Got header.\n"); + pos = strstr(stdout_buffer, "="); + ok(!pos, "Got header.\n"); +} + START_TEST(tasklist) { if (PRIMARYLANGID(GetUserDefaultUILanguage()) != LANG_ENGLISH) @@ -117,4 +131,5 @@ START_TEST(tasklist) } test_basic(); + test_no_header(); }
1
0
0
0
Zhiyi Zhang : tasklist: Add basic functionality.
by Alexandre Julliard
02 May '23
02 May '23
Module: wine Branch: master Commit: 62af0b5f84a4b846d6c392f3acdcc8f8240d72a6 URL:
https://gitlab.winehq.org/wine/wine/-/commit/62af0b5f84a4b846d6c392f3acdcc8…
Author: Zhiyi Zhang <zzhang(a)codeweavers.com> Date: Fri Apr 14 17:14:42 2023 +0800 tasklist: Add basic functionality. Company of Heroes: Battle of Crete needs a functioning tasklist.exe to exit properly. --- configure | 1 + configure.ac | 1 + po/ar.po | 52 +++++-- po/ast.po | 52 +++++-- po/bg.po | 49 +++++-- po/ca.po | 52 +++++-- po/cs.po | 52 +++++-- po/da.po | 52 +++++-- po/de.po | 52 +++++-- po/el.po | 45 +++++-- po/en.po | 44 ++++-- po/en_US.po | 44 ++++-- po/eo.po | 52 +++++-- po/es.po | 52 +++++-- po/fa.po | 47 +++++-- po/fi.po | 52 +++++-- po/fr.po | 52 +++++-- po/he.po | 52 +++++-- po/hi.po | 44 ++++-- po/hr.po | 52 +++++-- po/hu.po | 52 +++++-- po/it.po | 52 +++++-- po/ja.po | 52 +++++-- po/ko.po | 52 +++++-- po/lt.po | 52 +++++-- po/ml.po | 48 +++++-- po/nb_NO.po | 52 +++++-- po/nl.po | 52 +++++-- po/or.po | 44 ++++-- po/pa.po | 44 ++++-- po/pl.po | 52 +++++-- po/pt_BR.po | 52 +++++-- po/pt_PT.po | 52 +++++-- po/rm.po | 46 +++++-- po/ro.po | 52 +++++-- po/ru.po | 52 +++++-- po/si.po | 52 +++++-- po/sk.po | 49 +++++-- po/sl.po | 52 +++++-- po/sr_RS(a)cyrillic.po | 53 ++++++-- po/sr_RS(a)latin.po | 53 ++++++-- po/sv.po | 52 +++++-- po/ta.po | 50 +++++-- po/te.po | 44 ++++-- po/th.po | 47 +++++-- po/tr.po | 52 +++++-- po/uk.po | 52 +++++-- po/wa.po | 46 +++++-- po/wine.pot | 44 ++++-- po/zh_CN.po | 52 +++++-- po/zh_TW.po | 52 +++++-- programs/tasklist/Makefile.in | 3 +- programs/tasklist/tasklist.c | 186 +++++++++++++++++++++++++- programs/tasklist/tasklist.h | 38 ++++++ programs/tasklist/{version.rc => tasklist.rc} | 18 +++ programs/tasklist/tests/Makefile.in | 4 + programs/tasklist/tests/tasklist.c | 120 +++++++++++++++++ 57 files changed, 2229 insertions(+), 595 deletions(-)
1
0
0
0
Conor McCarthy : vkd3d: Do not reset the descriptor heap count unless full or the command list is reset.
by Alexandre Julliard
02 May '23
02 May '23
Module: vkd3d Branch: master Commit: e2dac061e26f6b0404f680ca33ccc3e0443ede6e URL:
https://gitlab.winehq.org/wine/vkd3d/-/commit/e2dac061e26f6b0404f680ca33ccc…
Author: Conor McCarthy <cmccarthy(a)codeweavers.com> Date: Tue May 2 16:40:30 2023 +1000 vkd3d: Do not reset the descriptor heap count unless full or the command list is reset. The same heaps must be flushed again if the command list is executed again without a reset. --- libs/vkd3d/command.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/vkd3d/command.c b/libs/vkd3d/command.c index 81ddccb4..dd5c78a4 100644 --- a/libs/vkd3d/command.c +++ b/libs/vkd3d/command.c @@ -2463,6 +2463,8 @@ static void d3d12_command_list_reset_state(struct d3d12_command_list *list, memset(list->so_counter_buffers, 0, sizeof(list->so_counter_buffers)); memset(list->so_counter_buffer_offsets, 0, sizeof(list->so_counter_buffer_offsets)); + list->descriptor_heap_count = 0; + ID3D12GraphicsCommandList2_SetPipelineState(iface, initial_pipeline_state); } @@ -3181,7 +3183,6 @@ static void command_list_flush_vk_heap_updates(struct d3d12_command_list *list) d3d12_desc_flush_vk_heap_updates_locked(list->descriptor_heaps[i], device); vkd3d_mutex_unlock(&list->descriptor_heaps[i]->vk_sets_mutex); } - list->descriptor_heap_count = 0; } static void d3d12_command_list_bind_descriptor_heap(struct d3d12_command_list *list, @@ -3215,6 +3216,7 @@ static void d3d12_command_list_bind_descriptor_heap(struct d3d12_command_list *l /* Descriptors can be written after binding. */ FIXME("Flushing descriptor updates while list %p is not closed.\n", list); command_list_flush_vk_heap_updates(list); + list->descriptor_heap_count = 0; } list->descriptor_heaps[list->descriptor_heap_count++] = heap; }
1
0
0
0
← Newer
1
...
69
70
71
72
73
74
75
...
78
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
Results per page:
10
25
50
100
200