Commit Graph

92 Commits

Author SHA1 Message Date
Huw Davies fcf86b618a msctf/tests: Fix a compiler warning. 2009-05-18 13:26:46 +02:00
Michael Stefaniuc 850f6c7965 msctf: Allocate memory only right before it's needed.
Fixes a memory leak on an error path. Found by Smatch.
2009-05-18 12:32:08 +02:00
Aric Stewart daab4e2721 msctf: Map out currently missing interfaces. 2009-05-14 11:13:52 +02:00
Aric Stewart 619b3896ec msctf: Support advising ITfLanguageProfileNotifySink in ITfInputProcessorProfiles. 2009-05-13 14:48:52 +02:00
Aric Stewart fec456b3ff msctf: Implement ITfSource interface for ITfInputProcessorProfiles. 2009-05-13 14:48:44 +02:00
Francois Gouget ec80352ea0 msctf/tests: Make some functions static. 2009-05-13 12:45:28 +02:00
Francois Gouget ad28174e26 msctf/tests: Reorder the code to avoid forward declarations. 2009-05-13 12:32:49 +02:00
Aric Stewart cbf4671d48 msctf: Implement ITfKeystrokeMgr::GetForeground. 2009-05-11 14:51:15 +02:00
Aric Stewart 161fa4bc30 msctf: Implement ITfKeystrokeMgr::UnadviseKeyEventSink. 2009-05-11 14:51:04 +02:00
Aric Stewart f20c4d69c9 msctf: Implement ITfKeystrokeMgr::AdviseKeyEventSink. 2009-05-11 14:51:01 +02:00
Aric Stewart 43f5b64f06 msctf: Implement ITfThreadMgr::Activate and ITfThreadMgr::Deactivate. 2009-05-08 13:25:47 +02:00
Aric Stewart b88f32f116 msctf: Implement ITfInputProcessorProfiles::GetActiveLanguageProfile. 2009-05-08 13:25:32 +02:00
Aric Stewart c0233cbc88 msctf: Implement ITfInputProcessorProfiles::ActivateLanguageProfile. 2009-05-08 13:25:26 +02:00
Aric Stewart aaa15671f4 msctf: Add internal functions for managing active text services. 2009-05-08 13:25:18 +02:00
Aric Stewart 32828799ac msctf: Implement ITfKeystrokeMgr::IsPreservedKey. 2009-05-07 15:38:31 +02:00
Aric Stewart a2c7a99471 msctf: Implement ITfKeystrokeMgr::UnpreserveKey. 2009-05-07 15:38:27 +02:00
Aric Stewart 45c3ff2ff8 msctf: Implement ITfKeystrokeMgr::PreserveKey. 2009-05-07 15:38:22 +02:00
Aric Stewart f1d7cfa93a msctf: Implement ITfClientId. 2009-05-07 12:16:34 +02:00
Aric Stewart 1b92fcfa18 msctf: Implement ITfMessagePump. 2009-05-06 12:06:29 +02:00
Aric Stewart 19c2b7cbcb msctf: Implement ITfCategoryMgr::RegisterGUID, ITfCategoryMgr::GetGUID and ITfCategoryMgr::IsEqualTfGuidAtom. 2009-05-05 15:39:10 +02:00
Michael Stefaniuc 2d8f252def msctf/tests: Move 'inline' right after the storage specifier. 2009-05-04 16:00:55 +02:00
Aric Stewart 6bbd65d07a msctf: Implement ITfCategoryMgr::UnregisterCategory. 2009-05-04 13:22:08 +02:00
Francois Gouget 51fbc569d6 msctf/tests: Remove spaces before '\n'. 2009-05-04 12:53:26 +02:00
Aric Stewart 32924bd662 msctf/tests: Use ITfInputProcessorProfiles::GetCurrentLanguage to get gLangid. 2009-04-24 11:51:44 +02:00
Aric Stewart bd598adfdd msctf/tests: Test framework for ITfKeyEventSink. 2009-04-23 18:14:27 +02:00
Aric Stewart 35127bc01f msctf/tests: Test ITfKeystrokeMgr::IsPreservedKey. 2009-04-23 18:14:27 +02:00
Aric Stewart 19d83ae339 msctf/tests: Test ITfKeystrokeMgr::UnpreserveKey and ITfKeystrokeMgr::PreserveKey. 2009-04-23 18:14:27 +02:00
Aric Stewart 2bb5ade29f msctf/tests: Framework for testing ITfKeystrokeMgr. 2009-04-23 18:14:26 +02:00
Aric Stewart 987387c7c8 msctf: Add ITfKeystrokeMgr framework to ThreadMgr. 2009-04-23 18:14:26 +02:00
Aric Stewart d7c154a8db msctf: Make use of generated cookies in sinks to allow 64 bit compatibility. 2009-04-23 18:14:26 +02:00
Aric Stewart 4430518d15 msctf/tests: Add ITextStoreACP interface for testing. 2009-04-22 12:59:13 +02:00
Aric Stewart 0f9ad9ada7 msctf/tests: Test ITfContext Push, Pop, GetTop and GetBase. 2009-04-22 12:58:50 +02:00
Aric Stewart e415782dd2 msctf/tests: Test DocumentMgr creation and Focus. 2009-04-22 12:58:21 +02:00
Aric Stewart 94624ee307 msctf/tests: Test activation and deactivation of a text service. 2009-04-22 12:57:56 +02:00
Aric Stewart 0cdb39fa2b msctf/tests: Setup test framework for ITfThreadMgrEventSink. 2009-04-22 12:57:35 +02:00
Aric Stewart 3280bfe6b7 msctf: Helper functions for generating DWORD cookies. 2009-04-22 12:56:28 +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 af860c1a85 msctf: Release focused DocumentMgr on Deactivate and make sure to do a OnSetFocus Sink. 2009-04-14 15:29:09 -05:00
Aric Stewart 01a00b53fb msctf: Correct order of arguments to OnSetFocus sink call. 2009-04-14 15:28:49 -05:00
Aric Stewart afe5dba276 msctf/tests: Add framework for a TextService for testing. 2009-04-14 15:11:46 -05:00
Aric Stewart 5d3336ed73 msctf/test: Test enabling and disabling Language Profiles. 2009-04-14 15:11:13 -05:00
Aric Stewart f02e4dcf27 msctf: Add a file version.
Checked by the IE8 install.
2009-03-30 13:56:42 +02:00
Aric Stewart 91e2f61cda msctf: Implement ThreadMgr ITfSource::UnadviseSink. 2009-03-26 13:16:13 +01: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 1f21795f93 msctf: Add ITfThreadMgrEventSink to ThreadMgr. 2009-03-25 12:04:49 +01:00
Aric Stewart f723e4ca08 msctf: ThreadMgr sink framework. 2009-03-25 12:04:24 +01:00
Michael Stefaniuc cf56483f14 msctf: Remove superfluous pointer casts. 2009-03-05 13:24:53 +01:00
Aric Stewart 4fb6c01453 msctf: Use ITfCategoryMgr::FindClosestCategory to set catid when enuming language profiles. 2009-02-27 14:31:00 +01:00
Aric Stewart d26473564a msctf: Implement ITfCategoryMgr::FindClosestCategory. 2009-02-27 14:27:05 +01:00