Commit Graph

156 Commits

Author SHA1 Message Date
Hans Leidekker 509966796d fusion: Implement IAssemblyName::IsEqual. 2012-05-16 18:30:19 +02:00
Hans Leidekker 93f292506c fusion: Add locking around operations on the assembly cache. 2012-04-30 11:01:57 +02:00
Hans Leidekker 6032b47443 fusion: CreateAssemblyNameObject is no longer a stub. 2012-04-30 11:01:37 +02:00
Hans Leidekker 25ba5c8b59 fusion: Implement IAssemblyCache::UninstallAssembly. 2012-04-26 19:26:49 +02:00
Hans Leidekker aa53a8f005 fusion/tests: Add another test for IAssemblyCache::QueryAssemblyInfo. 2012-03-30 10:45:21 +02:00
Hans Leidekker e0425c6348 fusion/tests: Add a test for IAssemblyCache::QueryAssemblyInfo. 2012-01-10 18:29:04 +01:00
Francois Gouget 598c095329 fusion: Avoid hardcoding the Unicode string literal lengths. 2011-12-16 17:40:46 +01:00
Andrew Talbot d275236320 fusion: Remove unneeded address-of operators from array names. 2011-10-31 23:53:56 +01:00
André Hentschel efaa801361 fusion/tests: Skip tests when file creation fails. 2011-08-04 11:51:18 +02:00
Michael Stefaniuc b5a103d2d1 fusion: COM cleanup for the IAssemblyName iface. 2011-06-01 15:15:35 +02:00
Marcus Meissner 5b1016fc13 fusion: Mark internal symbols with hidden visibility. 2011-05-18 10:58:51 +02:00
Austin English cbc81c97d0 fusion/tests: Remove win9x hacks. 2011-02-28 13:11:43 +01:00
Austin English 262dab8418 fusion/tests: Make sure to use return values (LLVM/Clang). 2011-02-08 13:42:14 -06:00
Andrew Nguyen e46c66a1f5 fusion: Avoid memory leaks on memory allocation failure in parse_display_name. 2011-01-17 14:29:20 +01:00
Nikolay Sivov 79f1d863d2 fusion: Fix processor arch string leak (Valgrind). 2011-01-17 12:50:38 +01:00
Hans Leidekker c9e6f77419 fusion/tests: Add some tests for IAssemblyCache_QueryAssemblyInfo. 2011-01-11 16:05:46 +01:00
Michael Stefaniuc 0d7b3247ca fusion: Standardize the COM usage in asmcache.c. 2010-12-05 12:27:30 +01:00
Michael Stefaniuc b194b778b4 fusion: Use an iface instead of a vtbl pointer in IAssemblyEnumImpl. 2010-12-05 12:27:09 +01:00
Louis Lenders e068971075 fusion: Add version resource. 2010-10-07 12:04:27 +02:00
Vincent Povirk 1b978eadde fusion: Return the path from IAssemblyCacheImpl_QueryAssemblyInfo. 2010-10-05 11:39:57 +02:00
Andrew Talbot ea1ec88091 fusion: Constify some variables. 2010-10-04 15:00:04 +02: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 Goujon 135a70772d fusion: Improve parse_display_name. 2010-09-13 13:30:25 -05:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Owen Rudge 11dea57f69 fusion: Implement IAssemblyNameImpl_GetDisplayName more completely. 2010-07-21 09:33:23 +02:00
Owen Rudge c6d34d7b05 fusion: Install assemblies into correct directory for architecture. 2010-07-20 14:40:32 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Hans Leidekker 68ab799924 fusion: Add a stub implementation of CreateApplicationContext. 2010-02-22 13:15:33 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Huw Davies 998d9d9a8f fusion: Fix a memory leak in the tests.
Found by Valgrind.
2009-12-14 12:04:04 +01:00
Hans Leidekker 67963a76b4 fusion: Fix some memory leaks.
Found by Valgrind.
2009-12-07 14:18:29 +01:00
Hans Leidekker 9ae618f98c fusion/tests: Initialize a variable. 2009-07-03 13:06:17 +02:00
Francois Gouget 6218238c0c fusion: CompareAssemblyIdentity() and GetAssemblyIdentityFromFile() are unused stubs and don't belong in fusion.dll. So remove them. 2009-05-15 10:30:38 +02:00
Francois Gouget d26d99714c fusion: assembly_get_architecture() is unused so remove it. 2009-05-15 10:30:33 +02:00
Alexandre Julliard e2aefee80e fusion: Fix the 32/64 PE image format check on 64-bit platforms. 2009-04-08 12:06:35 +02:00
Alexandre Julliard bbe70550fe fusion/tests: Always use the 32-bit magic in the 32-bit optional header structure. 2009-04-08 12:06:07 +02:00
Alexandre Julliard 0baf5aa000 fusion: Use the correct cache path on Win64. 2009-04-08 11:50:33 +02:00
Paul Vriens 78402cfa7a fusion/tests: Fix some test failures on Win98. 2009-03-12 15:39:38 +01:00
Paul Vriens d929ea739a fusion/tests: Fix the last test failure on .NET 1.x. 2009-03-02 12:03:02 +01:00
Paul Vriens 7a435c01ca fusion/tests: Skip some tests on .NET 1.x. 2009-03-02 12:02:58 +01:00
Paul Vriens bc48bd9577 fusion/tests: Fix some test failures on .NET 1.x. 2009-02-27 13:15:34 +01:00
Paul Vriens c71348ff58 fusion/tests: Fix a few test failures on .NET 1.x. 2009-02-27 13:15:29 +01:00
Paul Vriens 0e4b0b9f21 fusion/tests: Directories with no dll or exe are not enumerated. 2009-02-25 16:06:22 +01:00
Francois Gouget b7a6cc3676 fusion/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-24 16:57:26 +01:00
Paul Vriens 6f73f1bdbb fusion/tests: Fix a test failure on Win64. 2009-02-23 12:19:18 +01:00
Detlef Riekenberg cfb33d1894 fusion/tests: Fix remaining win98 failures in asmcache. 2009-02-23 12:19:13 +01:00
Detlef Riekenberg d68c2956f5 fusion/tests: Do not use an hardcoded path for the windows directory. 2009-02-23 12:19:02 +01:00
Paul Vriens e0157f424b fusion/tests: Don't crash if we have a culture attribute. 2009-02-20 18:07:41 +01:00
Paul Vriens ad9fb647b4 fusion/tests: Don't use strdup to prevent crashes when freeing memory. 2009-02-20 18:07:41 +01:00
Paul Vriens 93c4158283 fusion/tests: Don't crash on .NET 1.x. 2009-02-20 18:07:41 +01:00
Nicolas Le Cam b76007d847 fusion/tests: Fix a test on some platforms. 2009-02-20 18:07:41 +01:00
James Hawkins 03cce43a92 fusion: Add tests for the IAssemblyEnum interface. 2009-02-19 16:17:17 +01:00
Hans Leidekker 5b41620853 fusion: Sort the list of assemblies built during enumeration. 2009-02-19 16:17:17 +01:00
Hans Leidekker 0aa3c187d8 fusion: Use parsed properties for assembly enumeration instead of trying to parse the display name again.
The display name passed in may not be normalized, e.g. if the version number
is passed as "1.0.0.00000" instead of "1.0.0.0". This patch should also cut
down on case insensitive file searches.
2009-02-19 16:17:17 +01:00
Hans Leidekker b386e3ad74 fusion: Don't trace contents of an out parameter. 2009-02-19 16:17:17 +01:00
Hans Leidekker f6bfbfb6df fusion: Allow spaces between attribute-value pairs in an assembly name. 2009-02-19 16:17:17 +01:00
Hans Leidekker a01b18fab1 fusion: Assembly version numbers are WORDs. 2009-02-19 16:17:17 +01:00
Hans Leidekker da1f834e09 fusion: Convert to Unicode. 2009-02-19 16:17:17 +01:00
Hans Leidekker a76c15356b fusion: Uninstall assembly used to check for presence of .NET runtime. 2009-02-19 16:17:17 +01:00
Hans Leidekker fdfeb33f37 fusion: Assembly version must be taken from the metadata, not the file version.
Office 2007 SP1 installer depends on this. I will supply a test as
soon as I figure out how to create a variation of the test assembly
in dlls/fusion/tests/asmcache.c.
2009-02-19 16:17:17 +01:00
James Hawkins 9ae0e89999 fusion: Add initial implementation of IAssemblyCache::QueryAssemblyInfo. 2009-02-19 16:17:17 +01:00
James Hawkins 34eccc80b9 fusion: Implement the IAssemblyEnum interface. 2009-02-19 16:17:17 +01:00
Paul Vriens 283e7842a2 fusion/tests: Fix some typos. 2009-02-11 12:30:08 +01:00
Paul Vriens 39e3bb8dbc fusion/tests: Mark test as skipped when we don't have enough rights. 2009-02-11 12:30:05 +01:00
Paul Vriens 2524523ea4 fusion/tests: Mark some tests as broken() on .NET 1.0. 2009-02-10 12:31:57 +01:00
Paul Vriens f803e9d316 fusion/tests: Skip tests on .NET 1.1. 2009-02-09 14:37:23 +01:00
Paul Vriens f42e507037 fusion/tests: Fix some tests failures on .NET 1.1 (and Win98). 2009-02-06 13:05:31 +01:00
Paul Vriens 09fc4e8063 fusion/tests: Fix a test failure on Win64. 2009-02-06 13:05:26 +01:00
Paul Vriens a89bd3f562 fusion/tests: Fix some test failures on systems with .NET 1.1. 2009-02-06 13:05:22 +01:00
Paul Vriens cf9f4dfa2a fusion/tests: Run tests correctly on Win98. 2009-02-06 13:05:06 +01:00
Paul Vriens c07b5fc5d9 fusion/tests: Do the conversion before testing. 2009-02-05 13:15:46 +01:00
Michael Stefaniuc 1b092d7013 fusion: Remove superfluous casts. 2009-01-08 12:54:29 +01:00
Michael Stefaniuc 311bef2a5c fusion: Remove superfluous casts of void pointers. 2008-11-05 10:55:50 +01:00
James Hawkins 236147b568 fusion: Ignore the case of the assembly filename extension. 2008-08-19 13:30:48 +02:00
James Hawkins cfc68a96c7 fusion: Align the metadata header pointer on a DWORD boundary. 2008-08-19 13:30:48 +02:00
James Hawkins dd9b0edb6f fusion: Handle loading 64-bit .NET assemblies. 2008-08-19 13:30:48 +02:00
Andrew Talbot 5f6d8da932 fusion: Sign-compare warnings fix. 2008-08-04 14:20:55 +02:00
James Hawkins 9dfd90fb98 fusion: The cases are tokens, not table indices. 2008-07-17 11:36:57 +02:00
James Hawkins 2a51df3b7a fusion: Handle DWORD-sized string indices when loading the assembly name. 2008-07-16 19:56:25 +02:00
James Hawkins 0edab123aa fusion: Add handling for alternate-sized table indices in the metadata. 2008-07-16 19:56:25 +02:00
James Hawkins b2888e1e56 fusion: Add the CorTokenType and use those constants in the assembly code. 2008-07-16 19:56:25 +02:00
James Hawkins 8f985a338a fusion: The VersionLength member is not constant, so dynamically load the metadata header. 2008-07-16 19:56:25 +02:00
James Hawkins 378fde9acf fusion: Load the table row numbers before calculating the table offsets. 2008-07-16 19:56:24 +02:00
James Hawkins 8a7b76fefa fusion: Allow parsing the blob stream without a #. 2008-07-16 19:56:24 +02:00
James Hawkins e7fe63df60 fusion: Implement GetCachePath. 2008-07-08 10:56:47 +02:00
James Hawkins e9acfbee57 fusion: pwzFilePath is an out parameter, so don't trace its contents. 2008-07-02 12:04:30 +02:00
James Hawkins 02391eb854 fusion: Add tests for IAssemblyCache::QueryAssemblyInfo. 2008-07-01 11:08:03 +02:00
James Hawkins 6ffc9d72b2 fusion: Add tests for IAssemblyName. 2008-07-01 11:07:49 +02:00
James Hawkins 7b1dde9d20 fusion: Add initial implementation of IAssemblyName. 2008-07-01 11:07:13 +02:00
Dan Kegel 713290ebce fusion: Use HeapAlloc, not strdup, to avoid malloc/HeapFree mismatch. 2008-05-27 19:36:37 +02:00
Dan Kegel b8ad05a25f fusion: UninstallAssembly test: Fix typo, avoid undefined value. 2008-05-27 19:35:54 +02:00
Francois Gouget 10a25c384f fusion: Fix compilation on systems that don't support nameless unions. 2008-05-06 16:09:58 +02:00
James Hawkins 56bfe2972f fusion: The Strings stream can be without a #. 2008-05-05 13:34:05 +02:00
James Hawkins f52ecfe041 fusion: Add the missing assembly table structs. 2008-05-05 13:34:05 +02:00
James Hawkins 4442306a84 fusion: Fix the type of an assembly struct member. 2008-05-05 13:34:05 +02:00
James Hawkins e52e5e6715 fusion: Explicitly check for -1 for a missing table. 2008-04-17 12:41:29 +02:00
Alexandre Julliard c889716979 fusion: Fix a number of leaks in assembly_create. 2008-04-16 13:51:48 +02:00
James Hawkins 282246eca4 fusion: Implement IAssemblyCache::InstallAssembly. 2008-04-15 15:36:15 +02:00
Francois Gouget e1ee7a3b8b fusion/tests: Fix compilation on systems that don't support nameless unions. 2008-04-07 13:36:18 +02:00
James Hawkins 9e021cff3d fusion: Add initial tests for IAssemblyCache. 2008-03-31 13:09:19 +02:00