Commit Graph

122 Commits

Author SHA1 Message Date
Fabian Maurer 56b3304a01 ntdll/actctx: Don't stop looking for manifest if dll without manifest is found.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-29 22:01:38 +02:00
Michael Stefaniuc 10f23ddb58 ntdll: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:15:59 +02:00
Alexandre Julliard e46259fb82 ntdll: Check the namespace in RtlQueryActivationContextApplicationSettings.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-27 16:03:57 +02:00
Alexandre Julliard ab3debb2b0 ntdll: Add support for XML namespaces in manifest parser.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-27 16:03:56 +02:00
Alexandre Julliard 1aaaecba46 ntdll: Store the namespace separately from the XML element name.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-27 16:03:56 +02:00
Alexandre Julliard 7a349d8d87 ntdll: Check for closing element directly in next_xml_elem().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-27 16:03:55 +02:00
Alexandre Julliard 7b871727e5 ntdll: Propagate the error through the XML buffer in manifest parser.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-27 16:01:28 +02:00
Alexandre Julliard 8cf404ddd2 ntdll: Add separate types for XML elements and attributes in manifest parser.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-27 15:36:43 +02:00
Alexandre Julliard 14b9a5af0b ntdll: Implement RtlQueryActivationContextApplicationSettings.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-23 09:13:31 +01:00
Alexandre Julliard fc14442970 ntdll: Add support for parsing application settings in manifests.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-23 09:12:52 +01:00
Nikolay Sivov 697d4a710d ntdll: Allow explicitly specified asm.v2 namespace for "trustInfo".
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-06 15:46:09 -06:00
Nikolay Sivov f8cca445fb ntdll: Allow closing tags for 'supportedOS' elements.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-20 20:14:20 +01:00
Michael Müller 37c983966b ntdll: Implement RunlevelInformationInActivationContext in RtlQueryInformationActivationContext.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 16:55:08 +01:00
Michael Müller 5875dcd6f9 ntdll: Parse execution level information in manifest data.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 16:55:08 +01:00
Mark Jansen 0f1cb96b69 ntdll: Parse manifest compatibility section.
Signed-off-by: Mark Jansen <mark.jansen@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-12 17:20:36 +01:00
Thomas Faber 42f742e1be ntdll: Handle RtlReAllocateHeap failure in com_class_add_progid (Coverity).
Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-18 18:45:12 +01:00
Michael Stefaniuc 7c8832b23a ntdll: Remove a redundant NULL check before RtlFreeHeap().
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 20:14:04 +09:00
Alexandre Julliard 9fef5dc839 ntdll: Properly check the NtQueryDirectoryFile return status.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-29 23:14:23 +09:00
Jacek Caban 443c2a4719 ntdll: Pass SYNCHRONIZE flag in NtOpenFile and NtCreateFile calls.
This is needed by Office 2013, which hooks those functions and expects
flag to be set.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 20:36:17 +09:00
Mark Harmstone 104161cfd2 ntdll: Treat strings as case-insensitive in find_window_class. 2015-03-31 00:04:44 +09:00
Sebastian Lackner ab91c01112 ntdll: RtlFindActivationContextSectionString should accept a NULL pointer as data. 2015-03-17 16:02:25 +09:00
Francois Gouget ca1545cf17 ntdll: Remove unneeded NONAMELESSXXX directives. 2015-03-16 15:04:50 +09:00
Nikolay Sivov 7a612654dc ntdll: Skip context dependencies that have allowDelayedBinding attribute set. 2014-12-31 21:13:31 +01:00
Nikolay Sivov c134466224 ntdll: Fix 'description' element parsing to allow empty elements. 2014-12-28 19:08:47 +01:00
Nikolay Sivov 37c179794e ntdll: Accept asm.v2 as default namespace. 2014-12-28 19:08:23 +01:00
Piotr Caban f87767bc35 ntdll: Handle ACTCTX_FLAG_ASSEMBLY_DIRECTORY_VALID flag when opening manifest in RtlCreateActivationContext. 2014-11-28 17:04:07 +01:00
Nikolay Sivov 5a8d73283c ntdll: Fix LdrLockLoaderLock()/LdrUnlockLoaderLock() on 64bit. 2014-06-11 13:05:39 +02:00
Nikolay Sivov 4a28464484 ntdll: Fix a 'tlbid' string value leak (Valgrind). 2014-05-05 12:17:51 +02:00
Nikolay Sivov 88fc916442 ntdll: Use case-insensitive matching for typelib flags.
Spotted by Austin English.
2014-02-24 09:12:03 -06:00
Nikolay Sivov 1e1084232d ntdll: Fix manifest attribute parsing. 2014-01-01 19:32:56 +01:00
Nikolay Sivov aa4ebeb57c ntdll: Fix return value when failed to locate resource. 2013-12-30 19:01:45 +01:00
Nikolay Sivov 031c027262 ntdll: Open source file only when needed during context creation. 2013-12-30 19:01:44 +01:00
Nikolay Sivov cb0ef08839 ntdll: Suppress a warning on 'description' attribute of 'comClass'. 2013-10-29 20:07:07 +01:00
Nikolay Sivov 84d9b2502e ntdll: Added compatible ProgID section. 2013-09-13 10:54:53 +02:00
Nikolay Sivov b8a973dc52 kernel32/tests: Some tests for ProgID section. 2013-09-13 10:54:13 +02:00
Nikolay Sivov 37182e3f0f ntdll: Try application manifest path when searching for dependent assemblies. 2013-09-11 20:33:22 +02:00
Nikolay Sivov bcbd13b70c ntdll: Added compatible sections for clrClass data. 2013-09-09 22:09:56 +02:00
Nikolay Sivov af3a20d2ea ntdll: Added support for multiple progids in comClass and clrClass elements. 2013-09-04 11:36:32 +02:00
Nikolay Sivov 045682a4da kernel32: Forward ZombifyActCtx() to ntdll. 2013-09-03 16:58:16 +02:00
Nikolay Sivov 8e211065a8 ntdll: Store 'clrClass' as COM class. 2013-09-03 16:58:16 +02:00
Nikolay Sivov d0deaaa8ce kernel32/tests: Some tests for clrClass data. 2013-09-03 16:58:16 +02:00
Nikolay Sivov f0e5fd737d ntdll: Implement compatible section for 'clrSurrogate'. 2013-09-03 16:58:16 +02:00
Nikolay Sivov 5b38a13167 ntdll: Store clrSurrogate version value, added some tests. 2013-09-03 16:58:15 +02:00
Nikolay Sivov 44d8f6a35a ntdll: For typelib and COM class sections point global data to module names. 2013-09-03 16:58:15 +02:00
Nikolay Sivov 21c1706f79 ntdll: Implement interface redirection section. 2013-09-02 18:07:03 +02:00
Nikolay Sivov 9c44cb4f0f ntdll: Store all interface redirection data in context. 2013-09-02 18:07:00 +02:00
Nikolay Sivov 88070accd2 ntdll: Implement compatible comClass section. 2013-08-30 11:17:33 +02:00
Nikolay Sivov a5eb9eee42 ntdll: Fix typelib section leak on context release. 2013-08-29 11:20:43 +02:00
Nikolay Sivov 52fc0e4e29 ntdll: Store all 'comClass' attributes. 2013-08-29 11:20:37 +02:00
Nikolay Sivov 36acd61447 ntdll: Implement compatible typelib section. 2013-08-23 17:56:14 +02:00