Commit Graph

62 Commits

Author SHA1 Message Date
Alexandre Julliard 8631960745 opcservices: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-25 20:47:43 +01:00
Alexandre Julliard c6aeabdd2c opcservices: Import zlib deflate code.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-25 20:47:43 +01:00
Alexandre Julliard 7ac6cdfa00 configure: Use pkg-config to check for zlib.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-04 19:23:11 +02:00
Sven Baars 0b3e7115de opcservices/tests: Fix some memory leaks (Valgrind).
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-16 20:18:27 +01:00
Nikolay Sivov 9a5c583564 opcservices/tests: Add missing return value test (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-30 11:00:01 +02:00
Nikolay Sivov d9998f7747 opcservices: Fix potential uninitialized memory access (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-30 10:59:55 +02:00
Nikolay Sivov 979183e1f0 opcservices: Add missing error check (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-30 10:59:52 +02:00
Nikolay Sivov 6cfda8bfff opcservices: Improve error handling (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-30 10:59:48 +02:00
Nikolay Sivov 55af98d1a3 opcservices: Update content stream position on Read().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-21 23:58:56 +02:00
Nikolay Sivov 8479238fec opcservices: Write relationship stream for parts.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-21 23:58:56 +02:00
Nikolay Sivov 9c6d6899a7 opcservices: Add content type entry for relationship parts.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-21 23:58:56 +02:00
Nikolay Sivov 1b55ac7509 opcservices: Fix relationship stream names.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-20 12:34:55 +02:00
Nikolay Sivov f5156fd444 opcservices: Initialize archive write position.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-20 12:34:52 +02:00
Nikolay Sivov 5efe50e4d9 opcservices: Enforce unique relationship id.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-20 12:34:50 +02:00
Nikolay Sivov 65aa7242d2 opcservices: Improve parameter validation in CreateRelationship().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-20 12:34:47 +02:00
Nikolay Sivov adccf12e3b opcservices: Write full content type stream.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-19 17:22:07 +02:00
Nikolay Sivov c009967bae opcservices: Implement PartExists().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-19 17:22:05 +02:00
Nikolay Sivov f663745ca5 opcservices: Implement GetPart().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-19 17:22:02 +02:00
Nikolay Sivov ab462acf4e opcservices: Improve error handling (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-19 17:21:58 +02:00
Nikolay Sivov c1982f5dda opcservices: Write relationship parts.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-19 17:21:55 +02:00
Nikolay Sivov 2bd72b117c opcservices: Write package parts.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-19 17:21:51 +02:00
Nikolay Sivov 2546e47bb2 opcservices: Implement CombinePartUri().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-19 17:21:48 +02:00
Nikolay Sivov 960cbe80c4 opcservices: Fix path used for part URIs.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-19 17:21:43 +02:00
Nikolay Sivov 5f1f28c1cb opcservices/tests: Add some GetRelativeUri() tests.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-19 17:21:39 +02:00
Nikolay Sivov f7c9d08dc7 opcservices/uri: Fix IsEqual() to work with OPC URI objects.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-19 17:21:35 +02:00
Nikolay Sivov 0e70a10954 opcservices/tests: Fix copy-pasted copyright line.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-18 17:29:28 +02:00
Fabian Maurer 6c77083690 opcservices: Add missing break (coverity).
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-17 15:38:12 +02:00
Nikolay Sivov b11b9d5a25 opcservices: Implement IOpcRelationshipEnumerator.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-13 09:00:09 +02:00
Nikolay Sivov bacc74158e opcservices: Implement IOpcPartEnumerator.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-13 09:00:07 +02:00
Nikolay Sivov 29f52ac576 opcservices/tests: Fix some leaks in tests (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-13 09:00:05 +02:00
Nikolay Sivov 2f2a5a2ea1 opcservices: Fix underlying uri object leak (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-13 09:00:03 +02:00
Nikolay Sivov 397517bee2 opcservices: Fix uri path leak (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-13 09:00:00 +02:00
Nikolay Sivov d63a037eac opcservices/tests: Fix uninitialized variable access (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-13 08:59:58 +02:00
Nikolay Sivov 9b11e371bb opcservices: Partially implement content stream for package parts.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-12 23:15:14 +02:00
Nikolay Sivov bc33dbcc12 opcservices: Output content types URI.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-11 13:38:18 +02:00
Nikolay Sivov ce11b1bf62 opcservices: Fix a typo.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-07 13:03:45 +02:00
Nikolay Sivov 5a6cb3818d opcservices: Fix argument handling in CreatePackageRootUri().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-07 13:03:43 +02:00
Nikolay Sivov 390847214b opcservices: Implement relationships parts uri support.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-07 13:03:41 +02:00
Nikolay Sivov 89c2553503 opcservices: Implement RelationshipExists().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-06 17:07:15 +02:00
Nikolay Sivov 7e310f87fe opcservices: Implement GetRelationship().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-06 17:07:15 +02:00
Nikolay Sivov c2d8323f23 opcservices: Implement GetCompressionOptions().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-06 17:07:15 +02:00
Nikolay Sivov 80579d6344 opcservices: Implement writing stub compressed package.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-06 17:07:15 +02:00
Nikolay Sivov 951741e649 opcservices: Implement GetSourceUri().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-06 10:23:35 +02:00
Nikolay Sivov a37d8a203d opcservices: Forward IOpcPartUri methods to urlmon implementation.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-05 17:02:24 +02:00
Nikolay Sivov d6c50ee284 opcservices: Partially implement CreatePackageRootUri().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-05 17:02:23 +02:00
Nikolay Sivov a2e8bd8fdf opcservices: Keep relationship type string.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-05 17:02:20 +02:00
Nikolay Sivov 40e276f75d opcservices: Keep target uri and mode for relationships.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-05 17:02:19 +02:00
Nikolay Sivov 2ff3f6892b opcservices: Keep relationship id.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-05 17:02:17 +02:00
Nikolay Sivov d28cf66224 opcservices: Keep relationships in a set.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-05 17:02:15 +02:00
Nikolay Sivov 8fd70ff2bf opcservices: Keep parts in a set.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-05 17:02:11 +02:00