Commit Graph

154 Commits

Author SHA1 Message Date
Alexandre Julliard b14dffa60c hlink: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-05 08:37:02 +02:00
Sven Baars aab7fcd393 hlink/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-23 18:24:22 +01:00
Zebediah Figura 46c4b4700a hlink/tests: Add some tests for asynchronous binding.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-21 17:05:25 +01:00
Zebediah Figura efb84a58be hlink: Add support for asynchronous binding in IHlink_Navigate().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=44423
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-21 17:05:24 +01:00
Zebediah Figura f3a6d9ea4a hlink: Use clearer variable names in IHlink_fnNavigate().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-21 17:05:22 +01:00
Michael Stefaniuc 5da2f4674a hlink: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-13 20:54:28 +01:00
Michael Stefaniuc c13145af39 hlink/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-04 14:22:41 +02:00
André Hentschel 93aabab60d hlink/tests: Fix save data test on newer Windows 10.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-04 22:04:27 +02:00
Michael Stefaniuc c3ddc115aa hlink: Use the global HeapAlloc() wrappers.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-01 22:24:54 +01:00
Zebediah Figura 13e0671959 hlink: Directly check for S_OK from IHlinkBrowseContext_GetObject().
Fixes a regression introduced by 00aca1476e

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-29 20:29:00 +01:00
Zebediah Figura c2953ba457 hlink: Implement IHlinkBrowseContext_GetObject().
Fixes a regression introduced by 00aca1476e.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-10 10:19:57 +01:00
Nikolay Sivov 2bde3e203b hlink/tests: Check return value (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-26 10:12:10 +01:00
Zebediah Figura 00aca1476e hlink: Better handle the IBrowseContext parameter in IHlink::Navigate().
Query it for an IHlinkTarget object. Also, use ShellExecute() only if the
parameter is NULL.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 19:08:14 +01:00
Zebediah Figura 46aba95642 hlink/tests: Add tests for navigating from a string reference.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 19:08:12 +01:00
Francois Gouget d5c3a31616 hlink: Add __WINE_ALLOC_SIZE attributes to heap_xxx() functions.
And standardize their parameter names.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-20 10:32:02 +01:00
Nikolay Sivov f6b1e1235c hlink: Properly return interface pointers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-13 18:50:11 +01:00
Francois Gouget d5485d6ebb hlink/tests: Add a trailing '\n' to an ok() call.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-09 12:10:27 +01:00
André Hentschel b5ad6a4480 hlink/tests: Test skipped data.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-04 18:35:03 +01:00
André Hentschel 00c47a2a09 hlink/tests: Ignore single character fails on Win10.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-23 11:53:36 +01:00
Andrey Gusev 47099023ba hlink: Add missing parameter to TRACE() message.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-16 19:34:44 +01:00
Nikolay Sivov 0e486b789d hlink: Handle failure better (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-04 09:08:51 -05:00
Andrey Gusev cb901b5fe5 hlink: Use debugstr_guid() in FIXME() message.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-22 21:34:21 +09:00
Michael Stefaniuc fdb1f48a22 hlink/tests: Use wine_dbgstr_guid() to print a REFIID.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 22:54:05 +09:00
Andrey Gusev b9bbce9c74 hlink/tests: Fix a typo in ok() messages.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-03 12:30:48 +09:00
Piotr Caban 049f08f4cd hlink: Improve file protocol handling in HlinkParseDisplayName. 2014-03-04 19:24:29 +01:00
Frédéric Delanoy 3e8fa4c764 hlink/tests: Use common wine_dbgstr_guid implementation from test.h. 2014-01-28 11:45:09 +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
Alexandre Julliard d08ff3ff19 makefiles: Use a single variable for all types of idl files. 2013-12-31 18:15:17 +01:00
Frédéric Delanoy 4849e57866 hlink/tests: Constify some character strings. 2013-12-23 11:54:31 +01:00
Alexandre Julliard c7803b885b makefiles: Add makedep pragmas for registration idl files. 2013-11-05 20:38:18 +01:00
Alexandre Julliard f02cdd877f Remove empty DLL_PROCESS_DETACH case statements. 2013-04-15 16:45:35 +02:00
Nikolay Sivov 29d37bd714 hlink: Implement IHlinkBrowseContext_SetCurrentHlink(). 2013-03-27 12:04:14 +01:00
Nikolay Sivov 4521044758 hlink: Implement IHlinkBrowseContext_UpdateHlink(). 2013-03-26 12:11:03 +01:00
Nikolay Sivov ba40bbfcbf hlink: Implement IHlinkBrowseContext_GetHlink(). 2013-03-26 12:10:57 +01:00
Nikolay Sivov a083415dbc hlink: Add link stack to browser context. 2013-03-26 12:10:51 +01:00
Nikolay Sivov 3e3027761c hlink: Remove useless initializers. 2013-03-26 12:10:30 +01:00
Nikolay Sivov c5a73badad hlink: Implement HlinkUpdateStackItem(). 2013-03-26 12:10:16 +01:00
Piotr Caban 0159558560 hlink: Added basic Hlink::Navigate tests. 2013-02-26 18:19:08 +01:00
Piotr Caban e0b7aadb92 hlink: Return value returned by IHlinkTarget_Navigate in IHlink_fnNavigate. 2013-02-26 18:19:02 +01:00
Piotr Caban f8e0d2f5db hlink: Call BindToObject with IID_IUnknown in IHlink_fnNavigate. 2013-02-26 18:18:57 +01:00
Michael Stefaniuc a0e266972c hlink: "Fix" DllCanUnloadNow() implementation. 2012-11-22 11:55:37 +01:00
Michael Stefaniuc 7c365e35ab hlink: Avoid a TRUE:FALSE conditional expression. 2012-08-14 11:59:30 +02:00
Francois Gouget fde4e8f92e hlink: Fix the spelling of the Hlink::SetAdditionalParams() implementation. 2012-05-14 12:06:15 +02:00
Michael Stefaniuc 04305e7f38 hlink: Use the standard COM aggregation struct field names. 2012-03-26 12:41:27 +02:00
Andrew Eikum d1f6a5a376 hlink: Don't query the IHlinkSite if the IMoniker is a system moniker. 2012-02-06 10:19:31 -06:00
Andrew Eikum 8fa2b2d256 hlink: Always pass a bind context to IMoniker::GetDisplayName. 2012-02-06 10:19:30 -06:00
Piotr Caban 445db0a54d hlink: Fix leak in HlinkNavigateToStringReference. 2011-12-13 18:59:16 +01:00
Jacek Caban 28c94f5a53 hlink: Added TargetFrameName tests. 2011-10-21 16:47:11 +02:00
Jacek Caban 34db2d3926 hlink: Return S_FALSE in GetTargetFrameName when returning NULL. 2011-10-21 16:47:06 +02:00