Commit Graph

1306 Commits

Author SHA1 Message Date
Nikolay Sivov b296b08a5c msxml3: Move document loading from stream to a separate function. 2012-11-27 16:58:20 +01:00
Andrew Talbot 6256379a96 msxml3: Remove unused variable. 2012-11-22 11:54:49 +01:00
Nikolay Sivov 2b5ddbfe9a msxml3: Properly update node to doc link when cloning. 2012-11-21 19:20:54 +01:00
André Hentschel c02b84d3c5 msxml3: Fix possible NULL pointer access in heap_strdupW. 2012-11-19 16:36:58 +01:00
Nikolay Sivov 6e566ce6c2 msxml3: AddRef() typeinfo pointers only when we have to. 2012-11-19 16:35:22 +01:00
Nikolay Sivov f6d22b06c6 msxml3: Make it clear when encoded buffer is created. 2012-11-19 16:35:22 +01:00
Nikolay Sivov 7a00f31ecf msxml3: Stub support for external entity resolver. 2012-11-16 17:42:48 +01:00
Nikolay Sivov a644bad2af msxml3: Store handler pointers so casts to particular type are avoided. 2012-11-16 17:42:47 +01:00
André Hentschel 5e031741cd msxml3: Fix remaining memory leak (coverity). 2012-11-13 18:09:48 +01:00
Nikolay Sivov 47d2f3caf5 msxml3: Disable text data escaping for format nodes set with put_data(). 2012-11-12 13:16:58 +01:00
Nikolay Sivov f9ab8dab51 msxml3: Fix a redundant newline in transformation result in html mode. 2012-11-12 13:16:58 +01:00
Nikolay Sivov 9860e85ac8 msxml3: Add VT_INT to VARIANT tracing helper. 2012-11-12 13:16:57 +01:00
Nikolay Sivov 3d013afec7 msxml3: Fix indexed access to schema collection namespace uris. 2012-11-01 15:09:13 +01:00
André Hentschel 764011a94f msxml3: Avoid memory leak (coverity). 2012-10-29 10:38:37 +01:00
Alexandre Julliard 2763a983fe Mark all lexers as never-interactive. 2012-10-01 12:19:25 +02:00
Nikolay Sivov 65598b975c msxml3: Implemented IConnectionPoint_Advise for document object. 2012-09-24 22:27:25 +02:00
Thomas Faber c9d389c311 msxml3: Do not directly write to resource section. 2012-09-14 11:46:11 +02:00
Jacek Caban e679471885 Always define WIDL_C_INLINE_WRAPPERS. 2012-08-28 14:41:13 +02:00
Nikolay Sivov 2a8552a925 msxml3: Implement xmldecl-version property for a reader. 2012-08-27 11:32:00 +02:00
Nikolay Sivov 6ca60b59c9 msxml3: Enable inline wrappers for tests. 2012-07-30 17:13:34 +02:00
Alexandre Julliard 32a188e862 msxml3: Fix an uninitialized variable. 2012-07-27 17:05:28 +02:00
Nikolay Sivov f14c2f712f msxml3: Enable inline wrappers and fix warnings. 2012-07-27 17:05:22 +02:00
Nikolay Sivov 5b7a55f67f msxml3: Accept ISequentialStream as reader input. 2012-07-24 13:36:26 +02:00
Nikolay Sivov c3fd306f61 msxml3: Accept selection namespaces string with trailing spaces. 2012-07-19 15:44:16 +02:00
Nikolay Sivov 007ac83fc9 msxml3: Use single helper to test for handler presence. 2012-07-17 12:50:18 +02:00
Nikolay Sivov 33a1f892b8 msxml3: Implement a common way to store and get callback interface pointers. 2012-07-16 15:21:46 +02:00
Nikolay Sivov 2bff764df0 msxml3: Implement put/get for DTD handler callback interface. 2012-07-16 15:21:46 +02:00
Nikolay Sivov 13d95525c3 msxml3: Protect from null pointer in load(). 2012-07-16 15:21:45 +02:00
Nikolay Sivov ec8ec0fa9b msxml3: Add VT_I1 type to variant dump helper. 2012-07-09 15:06:00 -04:00
Nikolay Sivov 9a28ac8f7b msxml3: Remove unneeded xmlInitParser call. 2012-07-09 15:05:54 -04:00
Nikolay Sivov 41aa34758e msxml3: Fix xml declaration output when it's specified in loaded document (in case of file). 2012-07-09 15:05:47 -04:00
Nikolay Sivov 46d08bb6ce msxml3: Fix xml declaration output when it's specified in loaded document (in case of stream). 2012-07-09 15:05:41 -04:00
Nikolay Sivov 1a0552443c msxml3: Don't use stream written value when saving to stream. 2012-07-09 15:05:31 -04:00
Nikolay Sivov 1625dae7e3 msxml3: Added _newEnum() support for IXMLDOMNamedNodeMap. 2012-07-03 12:03:10 +02:00
Nikolay Sivov a9aee4c03f msxml3: Add support for bin.hex element type encoding. 2012-07-02 19:18:06 +02:00
Nikolay Sivov 2b5dd13a0a msxml3: Fix putref_schemas()/get_schemas() behaviour on NULL pointer. 2012-07-02 19:18:06 +02:00
Nikolay Sivov 892b21088e msxml3: Implement _newEnum() for schema cache. 2012-07-02 19:18:04 +02:00
Nikolay Sivov 03ad0acfad msxml3: Add IEnumVARIANT support for IXMLDOMNodeList. 2012-07-02 19:18:03 +02:00
Nikolay Sivov 27eedd5f5e msxml3: Make it possible to use different outer objects with single IEnumVARIANT implementation. 2012-07-02 19:18:03 +02:00
Nikolay Sivov f139a88fd5 msxml3: Fix node interface leak after nextNode(). 2012-07-02 19:18:02 +02:00
Nikolay Sivov 60dd1c6a6e msxml3: Correct IEnumVARIANT regarding IUnknown forwarding. 2012-07-02 19:18:02 +02:00
Nikolay Sivov a11ce7945a msxml3: Implement put_nodeTypedValue() for bin.base64 type and commonly used input vartypes. 2012-06-29 10:46:44 +02:00
Nikolay Sivov 1796632166 msxml3: Support VT_UI1|VT_ARRAY variant debug output. 2012-06-29 10:23:29 +02:00
Nikolay Sivov fd5e384979 msxml3: Support VT_I2 variants tracing. 2012-06-25 18:12:51 +02:00
Nikolay Sivov 3ec82583d0 msxml3: Accept VT_ERROR body as empty data. 2012-06-25 18:12:50 +02:00
Nikolay Sivov 76dc17b496 msxml3: Fix async flag setting. 2012-06-25 18:12:50 +02:00
Nikolay Sivov d7a21dedbb msxml3: Recognise PROPFIND method in open(). 2012-06-25 18:12:49 +02:00
Nikolay Sivov 924a4e1371 msxml3: Basic refcount test for IMXNamespacePrefixes. 2012-06-25 10:40:26 +02:00
Nikolay Sivov acce94a04e msxml3: Implement internalEntityDecl() for writer. 2012-06-25 10:40:18 +02:00
Nikolay Sivov d20e487717 msxml3: Initial implementation of attributeDecl() in writer. 2012-06-25 10:40:11 +02:00
Nikolay Sivov 7c9a1b52e3 msxml3: Fix closing of open element. 2012-06-25 10:40:03 +02:00
Nikolay Sivov 5e08765fbb msxml3: Properly handle -1 as length of element qualified name in startElement(). 2012-06-25 10:39:55 +02:00
Nikolay Sivov 6ab3f1ae99 msxml3: Return stream reference from get_output() if stream is set. 2012-06-25 10:39:47 +02:00
Nikolay Sivov 7cbd9dcdc3 msxml3: Reader shouldn't depend on input being properly allocated BSTR string. 2012-06-18 11:59:41 +02:00
Nikolay Sivov 16ef649b5f msxml3: Revert: msxml3: Reuse MXAttributes implementation for SAX reader attributes reporting.
This reverts commit c2c8b9e771 and adds
a comment for uri reporting feature that some application use, for
example Office 2010.  The problem is that namespace uri pointer should
stay the same and we keep it in element stack for that, MXAttributes
allocates new string for each attribute and won't work as needed
unfortunately.
2012-06-18 11:59:41 +02:00
Ulrik Dickow fc8ab63563 msxml3/tests: Test namespace change for all document versions. 2012-06-13 19:39:56 +02:00
Alistair Leslie-Hughes 524a817195 msxml3: Implement IXMLParser Get/Set Flags. 2012-06-12 10:18:01 +02:00
Nikolay Sivov ad914986e8 msxml3: Fix status text value parsing. 2012-06-11 12:19:07 +02:00
Nikolay Sivov c2c8b9e771 msxml3: Reuse MXAttributes implementation for SAX reader attributes reporting. 2012-06-11 12:19:07 +02:00
Michael Stefaniuc 90f93e3819 msxml3/tests: Fix the expected values in some ok() messages. 2012-06-04 19:36:23 +02:00
Nikolay Sivov 84863dfff7 msxml3: Use constant to store supported safety options. 2012-05-21 11:46:54 +02:00
Nikolay Sivov ec2114e66e msxml3: Added IDispatch support for IServerXMLHTTPRequest. 2012-05-21 11:46:48 +02:00
Nikolay Sivov 1a94d8f3c1 msxml3: Stub support for IServerXMLHTTPRequest. 2012-05-21 11:46:42 +02:00
Nikolay Sivov 82fe81c404 msxml3: Move methods implementation to separate functions, so it can be reused. 2012-05-21 11:46:32 +02:00
Nikolay Sivov 9a4d8c30d1 msxml3/tests: A test to show that writer flushes buffer to stream automatically. 2012-05-21 11:46:13 +02:00
Nikolay Sivov cce2b95a8f msxml3/tests: Fix test crashes running old versions. 2012-05-21 11:46:06 +02:00
Nikolay Sivov 08d3b4b9fc msxml3: Support dumping VT_VARIANT|VT_BYREF variants. 2012-05-21 11:45:56 +02:00
Michael Stefaniuc e86063d686 msxml3/tests: Check the correct return value. 2012-05-16 18:30:22 +02:00
Nikolay Sivov edf6162340 msxml3: Remove no longer used get_xml() option to mess with encoding attribute. 2012-05-15 16:26:46 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Austin English 5de180beeb msxml3: Avoid a dangling else (LLVM/Clang). 2012-05-14 17:53:07 +02:00
Nikolay Sivov 320d419be1 msxml3: Support iso-8859-x encodings in writer. 2012-05-14 17:46:59 +02:00
Nikolay Sivov fb8fa44bb9 msxml3: Store encoding-codepage mapping in a table. 2012-05-14 17:46:50 +02:00
Nikolay Sivov 9c0486d7a8 msxml3/tests: Really test load() on files with leading spaces. 2012-05-09 17:50:15 +02:00
Nikolay Sivov b2a5d37a46 msxml3/tests: Correct variant type. 2012-05-09 17:50:04 +02:00
Nikolay Sivov fc4dab4c3b msxml3: Add a helper to check that lexical handler is set. 2012-05-08 16:22:28 +02:00
Nikolay Sivov 2dc6711f6d msxml3: Protect content callbacks from being called on reset content handler pointer. 2012-05-08 16:22:21 +02:00
Nikolay Sivov b80c71abe6 msxml3: Make ::put_data() use passed BSTR as general WCHAR buffer. 2012-05-07 17:21:26 +02:00
Nikolay Sivov fc7aea37f6 msxml3: Test for attribute value normalization. 2012-04-30 11:00:58 +02:00
Nikolay Sivov 9756cbf70f msxml3: Use dispex support for IDispatch implementation of process instruction node. 2012-04-30 11:00:51 +02:00
Nikolay Sivov 28335fb39b msxml3: Query for handler interface instead of using what was passed in Variant directly. 2012-04-27 11:59:50 +02:00
Nikolay Sivov 3bc1bdaee7 msxml3: Support disabled escaping mode when writing attribute values. 2012-04-26 19:27:52 +02:00
Nikolay Sivov 622c94acad msxml3: Support disabled escaping mode for characters() callback. 2012-04-26 19:27:42 +02:00
Nikolay Sivov 9472b8ca43 msxml3: Implement getURI() for IMXAttributes. 2012-04-24 11:37:57 +02:00
Nikolay Sivov 3f5ec72fcf msxml3: Implement getLocalName() for IMXAttributes. 2012-04-24 11:37:53 +02:00
Nikolay Sivov 521467fd08 msxml3: Added getName() for IMXAttributes. 2012-04-23 11:44:31 +02:00
Nikolay Sivov 9a509594f9 msxml3: Added getValueFromName() for IMXAttributes. 2012-04-23 11:44:24 +02:00
Nikolay Sivov fd42393792 msxml3: getPrefix() should check all pushed contexts as well. 2012-04-23 11:44:17 +02:00
Nikolay Sivov 43241140aa msxml3: Implement push/pop operations for contexts. 2012-04-23 11:44:09 +02:00
Nikolay Sivov 221f9efe27 msxml3: Switch parser encoding manually when it won't be able to detect it (UTF-16 case). 2012-04-23 11:44:01 +02:00
Nikolay Sivov 4fb5872bd2 msxml3: Support 'namespace-prefixes' feature. 2012-04-20 11:58:57 +02:00
Nikolay Sivov 1554cbc4d7 msxml3: Make failing Locator QI a warning. 2012-04-19 12:06:00 +02:00
Nikolay Sivov 54df4811c6 msxml3: Fix handling of feature values. 2012-04-19 12:05:55 +02:00
Nikolay Sivov f27159a59f msxml3: Respect 'namespaces' feature calling content handler callbacks. 2012-04-19 12:05:50 +02:00
Nikolay Sivov 137a21d04c msxml3: Use lookup table for feature names. 2012-04-19 12:05:42 +02:00
Nikolay Sivov 9a5da56f56 msxml3: Set namespace-prefixes on by default. 2012-04-17 11:48:35 +02:00
Nikolay Sivov 8dcd01bbeb msxml3: Added getIndexFromName() implementation for SAXAttributes. 2012-04-17 11:48:30 +02:00
Nikolay Sivov 6f95c6990a msxml3: Added IMXAttributes::clear(). 2012-04-17 11:48:24 +02:00
Nikolay Sivov f9c3a51fd8 msxml3: Fix end prefix iteration for SAXXMLReader40. 2012-04-17 11:48:18 +02:00
Nikolay Sivov bcd858547b msxml3: Use expected/actual sequence concept for reader tests including attributes tests. 2012-04-16 12:04:43 +02:00