Commit Graph

32 Commits

Author SHA1 Message Date
Derek Lesho 3c09634ece msctf: Always provide a context when from GetBase/Top.
Signed-off-by: Derek Lesho <dlesho@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-10 22:46:24 +01:00
Zhiyi Zhang 0bebbbaa51 msctf: Check TF_GetThreadMgr error in DocumentMgr_Destructor.
Thread manager could be already destroyed when calling DocumentMgr_Destructor.
This removes the error dialog when closing Unreal Engine 4 games.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-27 20:23:34 +02:00
Alexandre Julliard dc176dedf0 msctf: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-12 11:44:26 +02:00
Michael Stefaniuc 7aef9a9db1 msctf: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:15:59 +02: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
Nikolay Sivov bf395eb172 msctf: Remove some duplication. 2013-11-19 18:49:46 +01:00
Nikolay Sivov f2b29ecf72 msctf: Fix some interface casts left from cleanup. 2013-11-19 18:49:37 +01:00
Nikolay Sivov 58f06cf972 msctf: Pass QueryInterface arguments properly to main interface method. 2013-11-18 11:19:06 +01:00
Nikolay Sivov fc245339b0 msctf: COM interface cleanup. 2013-11-18 11:18:50 +01:00
Aric Stewart ed4c7fa95f msctf: Uninitialize context prior to releasing it. 2012-10-11 20:22:17 +02:00
Nikolay Sivov 955e27d0e3 msctf: Call interface methods properly. 2012-08-20 10:59:20 +02:00
Michael Stefaniuc 07d8619979 msctf: Remove a stray backslash at the end of a line. 2012-06-07 10:33:23 +02:00
Francois Gouget c992ca277d Assorted spelling fixes. 2011-08-24 19:07:46 +02:00
Michael Stefaniuc 6aaf2aa30b msctf: Standardize the COM usage in documentmgr.c. 2010-12-23 13:47:23 +01:00
Stefan Ginsberg 32648d4802 msctf: Define function calling convention compatibly for MSVC. 2009-09-22 17:47:31 +02:00
Aric Stewart 171a1ad0a2 msctf: Add code to track created ITfDocumentMgrs. 2009-07-10 15:13:53 +02:00
Aric Stewart 7de0b8299d msctf: Implement ITfDocumentMgr::EnumContexts. 2009-07-01 11:39:25 +02:00
Aric Stewart e73b17d018 msctf: Context initialization happens before OnPushContext sink. 2009-06-24 11:28:14 +02:00
Aric Stewart ca9ca58c20 msctf: Contexts have a default DocumentMgr of the one that creates them. 2009-06-17 12:07:58 +02:00
Aric Stewart dee4e5d5d9 msctf: Implement ITfContext::GetDocumentMgr. 2009-06-16 13:51:36 +02:00
Aric Stewart 1ffa3515dd msctf: Add ITfComponentMgr to documentmgr. 2009-06-12 17:33:16 +02:00
Aric Stewart 7d4e133624 msctf: TfContext intitalization and uninitialization on Push and Pop. 2009-05-18 14:01:27 +02:00
Aric Stewart ed74088d7d msctf: Correct index for being unable to pop last context. We need to leave one behind. 2009-04-14 15:29:29 -05:00
Aric Stewart 846093ea26 msctf: ITfDocumentMgr::GetBase returns the top if there is only one context pushed. 2009-04-14 15:29:20 -05:00
Aric Stewart db37679b4e msctf: Hook up the DocumentMgr to be able to forward ITfThreadMgrEventSink events to sinks advised to the ThreadMgr. 2009-03-25 12:04:55 +01:00
Aric Stewart aacbe97ae5 msctf: Add ITfSource interface to DocumentMgr. 2009-02-03 13:26:59 +01:00
Aric Stewart e1014b3ea4 msctf: Implement ITfDocumentMgr::GetBase. 2009-02-03 13:25:51 +01:00
Aric Stewart 130303bcea msctf: Implement ITfDocumentMgr::GetTop. 2009-02-03 13:25:33 +01:00
Aric Stewart f3e2027b43 msctf: Implement ITfDocumentMgr::Pop. 2009-02-03 13:25:28 +01:00
Aric Stewart fd8c2a18cf msctf: Implement ITfDocumentMgr::Push. 2009-02-03 13:24:10 +01:00
Aric Stewart b712f39b66 msctf: Implement stub ITfContext. 2009-02-03 13:22:56 +01:00
Aric Stewart fdbe3d1870 msctf: Add ITfDocumentMgr interface. 2009-02-02 15:21:45 +01:00