Commit Graph

145 Commits

Author SHA1 Message Date
Alistair Leslie-Hughes 3e9b4c1a17 xmllite/tests: Fix memory leak (valgrind).
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-30 16:39:17 +09:00
Nikolay Sivov dc72103a1d xmllite: Don't use HRESULT codes for BOOL retval (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 00:25:34 +09:00
Hans Leidekker d1658260a2 xmllite: Implement CreateXmlWriterOutputWithEncodingCodePage. 2015-08-06 21:42:19 +09:00
Nikolay Sivov aadd9ff159 xmllite/writer: Implement WriteEndDocument(). 2015-05-20 17:28:58 +09:00
Vincent Povirk 8615365945 xmllite: Fix reader_cmp for multiple characters. 2015-02-23 15:25:55 +09:00
Vincent Povirk fd5a8a9db8 xmllite: Length is optional in IXmlReader::GetQualifiedName. 2015-01-23 11:08:15 +01:00
André Hentschel b91084a992 xmllite/tests: Clarify ok() condition (PVS-Studio). 2014-11-11 14:21:37 +09:00
Francois Gouget 0dd5cb1cef Assorted spelling fixes. 2014-09-29 10:36:36 +02:00
Gerald Pfeifer a8975f7dff xmllite: Remove unused function reader_get_len. 2014-08-11 23:55:17 +02:00
Nikolay Sivov bfceaa4f39 xmllite/writer: Implement WriteFullEndElement(). 2014-06-17 13:03:18 +02:00
Nikolay Sivov af46bab594 xmllite/writer: Maintain a stack of written elements to write end tags.
Xmllite helps in a way that user doesn't have to specify closing tag
name (like it has to in case of MXWriter). So when closing current level
element qname is used for a closing tag; later this stack will also hold
namespace definitions that element is carrying to check if nested
element uses defined prefix.
2014-06-16 09:31:40 +02:00
Nikolay Sivov f43a6d46da xmllite/writer: Initial implementation of WriteElementString(). 2014-05-21 12:07:37 +02:00
Nikolay Sivov 2177403b8e xmllite/writer: Initial implementation of WriteStartElement(). 2014-05-21 12:07:35 +02:00
Nikolay Sivov 086a1e3709 xmllite/writer: Implement ByteOrderMark property. 2014-05-20 21:26:55 +02:00
Nikolay Sivov 9a2177ff53 xmllite/writer: Implement OmitXmlDeclaration property. 2014-05-20 21:26:55 +02:00
Nikolay Sivov 81d2516449 xmllite/writer: Fix Flush() behaviour on partial writes. 2014-05-16 10:53:29 +02:00
Nikolay Sivov caeecfa223 xmllite/writer: Implement Flush() method. 2014-05-15 19:05:01 +02:00
Nikolay Sivov a0f67c3695 xmllite/writer: Initial support for starting a document. 2014-05-15 19:05:00 +02:00
Nikolay Sivov 71ab66efa0 xmllite/writer: Initial support of output buffer creation. 2014-05-15 19:04:59 +02:00
Nikolay Sivov 0ae578b71c xmllite/reader: Create reader input with same IMalloc as reader. 2014-05-15 19:04:58 +02:00
Nikolay Sivov d2737dde80 xmllite/writer: Implement GetProperty(). 2014-05-14 11:25:15 +02:00
Nikolay Sivov 9080329e4e xmllite/writer: Implement SetOutput() for writer. 2014-05-13 16:59:00 +02:00
Nikolay Sivov e58070ab83 xmllite: Support external IMalloc for writer. 2014-05-13 16:58:57 +02:00
Nikolay Sivov ac8a24aa26 xmllite: Implement CreateXmlWriterOutputWithEncodingName(). 2014-03-21 11:17:51 +01:00
Dmitry Timoshkov 529d9ea922 xmllite: Also clear the attr pointer in reader_clear_attrs. 2014-02-22 08:40:44 -06:00
Dmitry Timoshkov f41f8af021 xmllite/tests: Add a test for parsing an empty element after XML declaration. 2014-02-20 15:15:45 +01:00
Dmitry Timoshkov d73750f086 xmllite: Add an import library. 2014-02-18 10:48:28 +01:00
Dmitry Timoshkov 5425cb3413 xmllite: Don't fail the whole parsing process because of unsupported 'xmlns' attribute. 2014-02-17 11:16:42 +01:00
Dmitry Timoshkov f78b4f305d xmllite: Reader should set starting string offsets when encoding is being parsed. 2014-02-14 13:49:24 +01:00
Dmitry Timoshkov 493e406bbc xmllite/tests: Add a test for names and values parsed from an XML declaration. 2014-02-14 13:49:13 +01:00
Dmitry Timoshkov 09f371920f xmllite: Don't fail if standalone declaration is missing. 2014-02-14 13:49:01 +01:00
Dmitry Timoshkov 376eff51e0 xmllite: Don't fail if encoding declaration is missing. 2014-02-14 13:48:57 +01:00
Dmitry Timoshkov b02ea57e04 xmllite/tests: Add a test for short variant of xml declaration. 2014-02-10 10:43:46 +01:00
Dmitry Timoshkov ce894b9fc6 xmllite/tests: There is no need to initialize OLE. 2014-02-10 10:43:42 +01:00
Dmitry Timoshkov 42e681e31d xmllite/tests: Fix stack corruption in 64-bit builds. 2014-02-10 10:43:11 +01:00
Frédéric Delanoy 8610af58fe xmllite/tests: Use common wine_dbgstr_guid implementation from test.h. 2014-01-29 14:50:55 +01:00
Frédéric Delanoy e5b689b71e xmllite/tests: Use BOOL type where appropriate. 2014-01-07 10:42: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
Dmitry Timoshkov 07e7f40dc9 xmllite: Constify pointers in arrays that hold const data. 2014-01-01 11:44:25 +01:00
Dmitry Timoshkov 1be348ea51 xmllite: Use wine_dbg_sprintf instead of a static buffer. 2014-01-01 11:44:21 +01:00
Frédéric Delanoy 78cf65abb1 xmllite: Constify some character strings. 2013-12-19 17:09:19 +01:00
Francois Gouget ee28dd80ea Assorted spelling fixes. 2013-11-01 10:54:32 +01:00
Marcus Meissner 468be8b9d2 xmllite: Annotate fallthrough case (Coverity). 2013-10-28 10:39:35 +01:00
Nikolay Sivov 619ceae967 xmllite: Support resuming and value reporting for whitespace nodes in Misc. 2013-10-14 10:49:53 +02:00
Frédéric Delanoy 77a26de975 xmllite: Use BOOL type where appropriate. 2013-10-10 10:44:35 +02:00
Nikolay Sivov 587398259e xmllite: Correct allocated destination buffer size. 2013-10-09 19:28:16 +02:00
Nikolay Sivov feda40bbaa xmllite: Fix overwriting of dest buffer when pushing more data to it. 2013-10-09 19:28:11 +02:00
Nikolay Sivov ae341b9bd7 xmllite: Use buffer offset instead of pointers. 2013-10-09 17:48:26 +02:00
Nikolay Sivov ece36f17d0 xmllite: Fix node type for whitespace text nodes in Content. 2013-09-30 20:34:52 +02:00