Commit Graph

98 Commits

Author SHA1 Message Date
Dmitry Timoshkov 3d37d45ed0 msxml3: Add support for windows-125x encodings to IMXWriter::put_encoding().
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-24 12:35:38 +01:00
Jacek Caban 73af53c4bc msxml3: Fix string length handling in I[VB]SAXContentHandler::characters.
Windows crashes when -1 length is passed. Escaping should just copy
embedded null bytes.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 20:43:37 +02:00
Nikolay Sivov 6b7e1131e5 msxml3: Use ARRAY_SIZE() macro.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-27 09:01:27 +01:00
Nikolay Sivov ea0d29184c msxml3/mxwriter: Implement notation declaration output.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-04 13:17:31 +09:00
Nikolay Sivov 30b661ad9c msxml3/mxwriter: Use 4K for internal buffer size.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-28 16:26:53 +09:00
Nikolay Sivov 737d90c21c msxml3/mxwriter: Flush internal buffer as soon as it's filled.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-28 16:26:53 +09:00
Nikolay Sivov 67efaac30f msxml3/mxwriter: Handle allocation failure in get_output().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-28 16:26:53 +09:00
Nikolay Sivov 8147f9001d msxml3/mxwriter: No need to use contiguous allocation in case of BSTR output.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-28 16:26:53 +09:00
Nikolay Sivov ba4fcecfa3 msxml3/mxwriter: Simplify argument check in externalEntityDecl().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-24 20:03:22 +09:00
Nikolay Sivov 62bd656711 msxml3/mxwriter: Don't allocate output buffer structure separately from the writer.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-24 20:03:19 +09:00
Nikolay Sivov 5b43c42c88 msxml3: Remove dynamic properties support. 2014-03-10 10:42:02 +01:00
Marcus Meissner 6e25c34f2f msxml3: Mirror the NULL checking logic (Coverity). 2014-03-10 10:40:35 +01:00
Nikolay Sivov 87fb169f9c msxml3: Implement endElement() for writer's IVBSAXContentHandler. 2014-03-06 12:01:25 +01:00
Nikolay Sivov dc37ed1f7a msxml3: Implement startElement() for writer's IVBSAXContentHandler. 2014-03-06 12:01:25 +01:00
Nikolay Sivov 969f060e58 msxml3: Fix IVBSAXAttributes handling of retval BSTRs. 2014-03-05 11:49:17 +01:00
Nikolay Sivov 3cce31b132 msxml3: Fix return values for some methods needed by SAX reader. 2014-03-05 11:49:12 +01:00
Nikolay Sivov 89c21a89a6 msxml3: Added stubs for ISAXErrorHandler/IVBSAXErrorHandler for MXWriter. 2014-03-05 11:49:09 +01:00
Nikolay Sivov 71ecd3b422 msxml3: Added stub support for ISAXDTDHandler/IVBSAXDTDHandler for MXWriter. 2014-03-05 11:49:04 +01:00
Nikolay Sivov d745e612ac msxml3: Added partial implementation of IVBSAXContentHandler for MXWriter. 2014-03-04 11:50:10 +01:00
Nikolay Sivov d6de1be777 msxml3: Added IVBSAXLexicalHandler interface for MXWriter. 2014-03-03 17:02:48 +01:00
Nikolay Sivov 94dcff1dda msxml3: Added IVBSAXDeclHandler interface for MXWriter. 2014-03-03 17:02:46 +01:00
Dmitry Timoshkov cdc9eff5d2 msxml3: Remove unused IUnknown *outer parameter from object constructors. 2014-01-09 14:23:39 +01:00
Nikolay Sivov ccf04d644b msxml3: Implement setting attributes properties with IMXAttributes. 2013-07-30 19:11:30 +02:00
Nikolay Sivov 11736f36c9 msxml3: Implement IMXAttributes_removeAttribute(). 2013-07-30 19:11:20 +02:00
Nikolay Sivov 5dc468f025 msxml3: Support for external entities in writer. 2013-07-29 14:28:23 +02:00
Nikolay Sivov b3d85d41d9 msxml3: Implement output indentation for writer. 2013-07-29 14:28:20 +02:00
Nikolay Sivov f929611a68 msxml3: Revert "msxml3: AddRef() typeinfo pointers only when we have to.".
This reverts commit 6e566ce6c2.
2012-11-29 11:16:02 +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 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 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 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 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 1478648b9f msxml3: Support ignorable whitespaces output in writer. 2012-03-26 18:15:51 +02:00
Nikolay Sivov 8072884136 msxml3: Support processing instructions in writer. 2012-03-26 18:15:50 +02:00
Nikolay Sivov a58249cd5c msxml3: Added IVBSAXAttributes for MXAttributes. 2012-03-15 19:55:55 +01:00
Nikolay Sivov 72187762a3 msxml3: Implement getValueFromQName() for MXAttributes. 2012-03-15 19:55:50 +01:00
Nikolay Sivov c685b92b3d msxml3: Implement getIndexFromQName() for MXAttributes. 2012-03-14 11:52:42 +01:00
Nikolay Sivov 69bc096645 msxml3: Implement getType() for MXAttributes. 2012-03-14 11:52:36 +01:00