Commit Graph

41 Commits

Author SHA1 Message Date
Nikolay Sivov c7ba8b7aa4 sxs: Query context that contains the GUID in SxsLookupClrGuid().
This restores pre-2cfc85dc55d403a7fcb885a62bb28f8d73498c2d logic;
activation/deactivation still happens, and user context in this case is
returned from FindActCtxSectionGuid().

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50139
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-07 22:35:29 +01:00
Dmitry Timoshkov 9ba6e5c2ab sxs: Fix off by 1 error when allocating memory.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-05 10:55:59 +02:00
Dmitry Timoshkov c460d4ff35 sxs: Return correct path from IAssemblyCache::QueryAssemblyInfo().
Some applications call IAssemblyCache::QueryAssemblyInfo(), then append
DLL name to the returned path, and call GetFileAttributes() to check DLL
existence.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-21 21:42:13 +02:00
Nikolay Sivov 2cfc85dc55 sxs: Add support for SXS_LOOKUP_CLR_GUID_USE_ACTCTX in SxsLookupClrGuid().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-21 15:18:20 +02:00
Nikolay Sivov fe2c271ecc sxs: Implement surrogate data lookup in SxsLookupClrGuid().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-21 15:18:10 +02:00
Nikolay Sivov 077e2a8e70 sxs/tests: Use wide string literal constants.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-21 15:18:08 +02:00
Nikolay Sivov 72d055854b ntdll: Use single field for misc flags in ComClass redirection section.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-11 21:03:34 +02:00
Rémi Bernon 2c9c20c0a6 sxs: Fix uninitialized variable warning.
Reported by MinGW GCC 10 with -Wmaybe-uninitialized, this seems to be
a typo.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-03 21:48:19 +02:00
Francois Gouget a909baeb4e tests: Report all errors when failing to wait for a child process.
Report the line number where the test failed to wait for the child so
one can identify which child process did not behave as expected.
Also wait_child_process() is meant for the general case so report
all non-crash error cases as test failures so they are accounted for.
Omit the "winetest_" prefix to match the other Wine test functions and
so the underlying winetest_wait_child_process() function can be wrapped
with the usual line-capturing macros.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48651
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-17 10:51:44 +01:00
Alexandre Julliard 9ce1a6e3ff sxs: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-21 08:53:04 +02:00
Fabian Maurer 4c7ffaecaf sxs: Implement SxsLookupClrGuid and add tests.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=43270
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-10 21:23:51 +02:00
Michael Stefaniuc 6c6af6412c sxs: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-19 08:07:12 +02:00
Michael Stefaniuc 1e9de768c9 sxs/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-31 09:25:04 +02:00
Alistair Leslie-Hughes 3c4f6ed812 sxs: Use standard wine_dbgstr_longlong.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-24 08:41:28 +09:00
Francois Gouget 06fd20a722 sxs: Mark internal symbols with hidden visibility. 2015-04-01 14:13:35 +09:00
André Hentschel 3011f5ee35 sxs/tests: Remove unused string (Clang). 2014-12-05 20:48:08 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Michael Stefaniuc d71d758667 sxs/tests: Avoid a magic constant. 2013-04-22 12:39:49 +02:00
Jacek Caban e679471885 Always define WIDL_C_INLINE_WRAPPERS. 2012-08-28 14:41:13 +02:00
Hans Leidekker f3069333a4 sxs: Use inline wrappers for calling COM methods. 2012-07-31 12:37:41 +02:00
Hans Leidekker 9790edd219 sxs: Add locking around operations on the assembly cache. 2012-04-30 11:02:22 +02:00
Hans Leidekker 8e70f73a75 sxs: Implement IAssemblyCache::UninstallAssembly. 2012-04-30 11:02:18 +02:00
Hans Leidekker b74f173e21 sxs: Add some helper functions. 2012-04-30 11:02:12 +02:00
Hans Leidekker 0a648d76f1 sxs: Add tests for IAssemblyCache::QueryAssemblyInfo. 2012-03-30 10:45:17 +02:00
Hans Leidekker f2ce0cdabf sxs: Implement IAssemblyCache::QueryAssemblyInfo. 2012-03-30 10:44:43 +02:00
Hans Leidekker 456961548e sxs/tests: Add tests for CreateAssemblyNameObject. 2012-03-28 17:29:55 +02:00
Hans Leidekker 5a6b9ec329 sxs: Parse the display name in CreateAssemblyNameObject. 2012-03-28 17:29:16 +02:00
Hans Leidekker 21e5c4c417 sxs: Add a stub implementation of IAssemblyName. 2012-03-14 11:53:27 +01:00
Francois Gouget 489a8554cb sxs: The sxs debug channel is unused so remove it. 2011-03-16 14:14:24 +01:00
Michael Stefaniuc 1c35951f9f sxs: COM cleanup for the IAssemblyCache iface. 2011-01-14 18:26:18 +01:00
Hans Leidekker 75e3544758 sxs: Add support for installing policy files. 2010-12-10 14:02:18 +01:00
Hans Leidekker aaf4227ae9 sxs: Add support for installing side-by-side assemblies. 2010-11-05 17:15:34 +01:00
Hans Leidekker d4f64121e8 sxs: Add a stub implementation of IAssemblyCache. 2010-11-03 16:07:52 +01:00
Hans Leidekker da831f4bbe sxs: Correct the spec entry for CreateAssemblyCache. 2010-11-03 16:07:41 +01:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Kai Blin 16a0528174 sxs: Implement a stub CreateAssemblyCache to make Publish or Perish install. 2009-04-21 18:28:19 +02:00
Andrew Talbot e0cd5b1e37 sxs: Remove unused Wine debug channel. 2008-12-22 10:28:52 +01:00
EA Durbin 74977dae45 sxs: Add new dll stub. 2007-04-23 16:16:53 +02:00