Commit graph

269 commits

Author SHA1 Message Date
Nikolay Sivov
8d03bef891 msctf/tests: Fix test object leak (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-13 19:39:38 +01:00
Nikolay Sivov
7bcca927bc msctf: Return proper pointer to interface.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-06 13:44:45 +01:00
Jacek Caban
04b97c2eaa msctf: Allow unadvising ITfThreadFocusSink.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-02 19:50:35 +01:00
Jacek Caban
7ebe59b922 msctf: Use correct sink for ITfThreadFocusSink.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-31 15:58:44 +01:00
Huw Davies
aac4cc8fbb msctf/tests: Return if the constructor fails. This avoids several clang warnings.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-17 12:50:42 +01:00
Huw Davies
5fb2267a78 msctf/tests: Fix tests on Windows 8 and 10.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-17 12:50:40 +01:00
Huw Davies
543496a4fc msctf/tests: Fix usage of test_ShouldDeactivate which is a BOOL.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-17 12:50:38 +01:00
Brock York
d7662881a5 msctf: Remove incorrect dereference of double pointer.
Signed-off-by: Brock York <twunknown@gmail.com>
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-09 16:30:41 +01:00
Nikolay Sivov
137166ff0a msctf: Use interface pointer instead of object pointer.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-28 13:55:15 +01:00
Jacek Caban
63859e382f msctf: Added IID_ITfThreadFocusSink support to AdviseSink.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-06 11:29:22 +09:00
Nikolay Sivov
bbae410a2b msctf/tests: Return interface pointers instead of pointers to impl structure.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-01 20:47:48 +09:00
Michael Stefaniuc
a944b4eed9 msctf: Avoid a cast from IEnumTfLanguageProfiles to the COM object.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 11:02:34 +09:00
Michael Stefaniuc
fd0101ab61 msctf: Don't crash on NULL input in EnumLanguageProfiles().
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 11:02:32 +09:00
Michael Stefaniuc
8e2db1dfe1 msctf: Get rid of a cast from a COM object to an iface.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-04 17:30:40 +09:00
Francois Gouget
7fabedfadf msctf: Spelling fix.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-14 01:02:44 +09:00
Jacek Caban
0bf6df6866 msctf: Fixed ref counts in tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-28 22:54:11 +09:00
Jacek Caban
bc645ca71a msctf: Added Push/Pop context tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-28 22:54:09 +09:00
Jacek Caban
79025d0e6a msctf: Don't call ITextStoreACP::UnadviseSink in context destructor.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-28 22:54:07 +09:00
Jacek Caban
4585687e7d msctf: Added ITfTransitoryExtensionSink tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-05 20:40:11 +09:00
Jacek Caban
a9d4b0344b msctf: Added document manager's AdviseSink and UnadviseSink implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-05 20:40:07 +09:00
Jacek Caban
361f0690f6 msctf: Use generic sinks in InputProcessorProfiles object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-05 20:40:05 +09:00
Jacek Caban
c80a96504e msctf: Use generic sinks in Context object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-05 20:40:03 +09:00
Jacek Caban
40cdfd2a6a msctf: Use generic sinks in Compartment object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-05 20:40:01 +09:00
Jacek Caban
7c1c94c258 msctf: Added a helper macro for interating sink list.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-05 20:39:59 +09:00
Jacek Caban
a27da35b05 msctf: Moved thread manager's sink list destructor implementation into a more generic helper.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-05 20:39:57 +09:00
Jacek Caban
0374ee290d msctf: Moved thread manager's UnadviseSink implementation into a more generic helper.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-05 20:39:55 +09:00
Jacek Caban
c0efd074b2 msctf: Moved thread manager's AdviseSink implementation into a more generic helper.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-05 20:39:52 +09:00
Jacek Caban
0b912fecf6 msctf: Use generic sink type for thread manager sinks.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-05 20:39:50 +09:00
Jacek Caban
dfebe8cb63 msctf: Improved ITfKeystrokeMgr::TestKeyUp and TestKeyDown stubs.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-05 01:27:53 +09:00
Francois Gouget
958d143526 msctf/tests: Spelling fixes for inputprocessor ok() messages.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-22 21:04:34 +09:00
Francois Gouget
0ebb3f2fcc msctf: Fix spelling of a private struct's field name.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-13 23:01:12 +09:00
Nikolay Sivov
6834367a16 msctf/tests: Fix a crash on unsupported interface.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 22:23:40 +09:00
Nikolay Sivov
85210d46c4 msctf: Added stub ITextStoreACPServices support for context ITextStoreACPSink.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 22:23:28 +09:00
Nikolay Sivov
80c91976a2 msctf: Make ITextStoreACPSink a part of context object.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 22:23:12 +09:00
Frédéric Delanoy
430556ae06 msctf/tests: Use todo_wine_if() in tests.
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-20 12:08:06 +09:00
Matteo Bruni
a977484765 msctf: Add a partial implementation of ITfThreadMgrEx_ActivateEx().
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-30 23:16:49 +09:00
Alistair Leslie-Hughes
89fd36e1df msctf/tests: Fix memory leaks (valgrind).
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-30 19:11:51 +09:00
Matteo Bruni
585028be18 msctf: Add ITfUIElementMgr stub.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-29 10:54:52 +09:00
Matteo Bruni
ccff353a0b msctf: Add ITfThreadMgrEx stub.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-29 10:54:39 +09:00
Nikolay Sivov
d4bbcc44cb msctf: Set fActive directly in ActivateLanguageProfile() (Coverity). 2015-06-08 15:30:15 +09:00
Alistair Leslie-Hughes
46198a5fa6 msctf: Always return FALSE in DllCanUnloadNow. 2015-04-03 00:33:27 +09:00
Francois Gouget
d21aca41ff msctf: Mark internal symbols with hidden visibility. 2015-03-24 20:01:24 +09:00
Stefan Leichter
e269444f3a msctf: Add TF_InitMlngInfo stub. 2015-03-19 17:14:57 +09:00
Michael Stefaniuc
5c9d24702f msctf/tests: Remove an unsused assignment (PVS-Studio). 2015-03-06 20:32:01 +09:00
Sebastian Lackner
3765e08ddc msctf: Always use interlocked functions when accessing MSCTF_refCount. 2015-03-02 13:53:24 +09:00
Nikolay Sivov
d3980cdcf2 msctf/tests: Fix crash when ITfInputProcessorProfileMgr is not supported. 2014-06-16 09:31:14 +02:00
Jacek Caban
645cdf9dc3 msctf: Added IEnumTfInputProcessorProfiles interface stub implementation. 2014-05-15 19:04:57 +02:00
Jacek Caban
b84e112dd6 msctf: Added ITfInputProcessorProfileMgr interface stub implementation. 2014-04-29 18:22:36 +02: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