Commit Graph

197 Commits

Author SHA1 Message Date
Aric Stewart 3d6bb38952 msctf/tests: Test EnumDocumentMgrs. 2009-07-10 15:14:09 +02:00
Aric Stewart 844fd92200 msctf: Implement ITfThreadMgr::EnumDocumentMgrs. 2009-07-10 15:14:04 +02:00
Aric Stewart 171a1ad0a2 msctf: Add code to track created ITfDocumentMgrs. 2009-07-10 15:13:53 +02:00
Aric Stewart 34751fbdf2 msctf: Correct return value from GetValue. 2009-07-09 16:04:34 +02:00
Aric Stewart 7de0b8299d msctf: Implement ITfDocumentMgr::EnumContexts. 2009-07-01 11:39:25 +02:00
Aric Stewart fac0d945e4 msctf: Implement TF_CreateInputProcessorProfiles. 2009-07-01 11:38:49 +02:00
Aric Stewart 7cd3e77624 msctf: Implement ITfInputProcessorProfiles::SetDefaultLanguageProfile. 2009-06-26 15:21:08 +02:00
Aric Stewart 6e7145d64e msctf: Implement ITfInputProcessorProfiles::GetDefaultLanguageProfile. 2009-06-26 15:21:03 +02:00
Aric Stewart a19efb7ad9 msctf: Semi-stub implementation of ITfInputProcessorProfiles::GetLanguageList. 2009-06-25 11:46:48 +02:00
Aric Stewart 3fff6ec879 msctf/tests: Release the ITfDocumentMgr received on GetFocus. 2009-06-25 11:46:43 +02:00
Aric Stewart eb0ef77478 msctf: Correct registry key from "Enabled" to "Enable". 2009-06-25 11:46:32 +02:00
Aric Stewart a307c6fdc2 msctf/tests: Verify to make sure OnPopContext happens before context is removed from stack. 2009-06-24 11:28:21 +02:00
Aric Stewart e73b17d018 msctf: Context initialization happens before OnPushContext sink. 2009-06-24 11:28:14 +02:00
Aric Stewart 2dd5a3bea2 msctf: ITfContext::GetDocumentMgr should AddRef the DocumentMgr. 2009-06-24 11:28:07 +02:00
Aric Stewart 190357b14b msctf: Implement ITfContext::GetStatus. 2009-06-24 11:28:00 +02:00
Francois Gouget 03584b4ff6 Assorted spelling fixes. 2009-06-22 13:32:01 +02:00
Aric Stewart 7aa9bd9823 msctf: Implement ITfCompartmentEventSink. 2009-06-22 13:29:26 +02:00
Aric Stewart 3bdfa1cc67 msctf: Define ITfSource for Compartments. 2009-06-22 13:29:16 +02:00
Aric Stewart 9d12acf342 msctf: ITfCompartmentMgr tests. 2009-06-22 13:29:02 +02:00
Aric Stewart ba69aebd3e msctf: Implement ITfCompartmentMgr::GetCompartment. 2009-06-22 13:28:49 +02:00
Aric Stewart 3a18408dd5 msctf: Implement ITfCompartment::SetValue. 2009-06-22 13:28:35 +02:00
Aric Stewart 21c4671e01 msctf: Implement ITfCompartment::GetValue. 2009-06-22 13:27:58 +02:00
Aric Stewart e842f250ee msctf: Define ITfCompartment. 2009-06-22 13:27:44 +02:00
Aric Stewart 6b2f56a0a7 msctf: Implement ITfCompartmentMgr::EnumCompartments. 2009-06-17 12:08:13 +02:00
Aric Stewart 979c929656 msctf: Implement ITfCompartmentMgr::ClearCompartment. 2009-06-17 12:08:05 +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 2e52edf38d msctf: Implement ITfThreadMgr::IsThreadFocus. 2009-06-17 12:05:10 +02:00
Aric Stewart dee4e5d5d9 msctf: Implement ITfContext::GetDocumentMgr. 2009-06-16 13:51:36 +02:00
Aric Stewart 936713fe33 msctf: Setup global CompartmentMgr. 2009-06-16 13:35:40 +02:00
Francois Gouget 1ba95da66f msctf: Make the CompartmentMgr functions static. 2009-06-15 13:42:29 +02:00
Francois Gouget 125131aea4 msctf/tests: Make EditSession_Constructor() static. 2009-06-15 13:42:29 +02:00
Aric Stewart 3726e38b19 msctf: Define ITfCompartmentMgr for Context. 2009-06-12 17:33:16 +02:00
Aric Stewart 1ffa3515dd msctf: Add ITfComponentMgr to documentmgr. 2009-06-12 17:33:16 +02:00
Aric Stewart 819518c461 msctf: Define ITfCompartmentMgr for ThreadMgr. 2009-06-12 17:33:16 +02:00
Aric Stewart 2b08041bf1 msctf: Framework for ITfCompartmentMgr. 2009-06-12 17:33:15 +02:00
Paul Vriens e42d7f9591 msctf: Fix a possible NULL dereference (Coverity). 2009-06-05 14:43:24 +02:00
Aric Stewart 584175bedf msctf: Implement ITfContext::SetSelection. 2009-06-04 12:12:28 +02:00
Aric Stewart 432db51ac3 msctf: Implement ITfInsertAtSelection::InsertTextAtSelection. 2009-06-04 12:12:19 +02:00
Aric Stewart 374d41d5b0 msctf: Framework for ITfInsertAtSelection in ITfContext. 2009-05-27 11:10:45 +02:00
Aric Stewart acbefe5b9e msctf: Implement ITfRange::Collapse. 2009-05-27 11:10:38 +02:00
Aric Stewart 6117ea47b3 msctf: Implement ITextStoreACPSink::OnStatusChange.
Requires changes in the way document locking is implemented and tested.
2009-05-25 11:21:34 +02:00
Aric Stewart 13d6aa2bb7 msctf: Beginning implementation of ITfContext::GetSelection. 2009-05-22 11:09:31 +02:00
Aric Stewart 7fa47cd3f5 msctf: Beginning implementation of ITfContext::GetEnd. 2009-05-22 11:09:18 +02:00
Aric Stewart 6772a07a94 msctf: Beginning implementation of ITfContext::GetStart. 2009-05-22 11:09:10 +02:00
Aric Stewart a9c998ae90 msctf: Correct order of dwFlag checking to properly be able to set a ReadWrite lock. 2009-05-22 11:08:55 +02:00
Aric Stewart bdb54fdaf2 msctf: Generate TfEditCookies for edit sessions. 2009-05-21 16:17:51 +02:00
Aric Stewart a5006e7eb4 msctf: Beginning of TfEditCookie definition and usage. 2009-05-21 16:17:51 +02:00
Francois Gouget 30df52ca1e msctf: Fix an error message. 2009-05-21 16:17:50 +02:00
Joris Huizer e11935a14b msctf: ITfContext::RequestEditSession: dwLockFlags logic corrected. 2009-05-20 13:34:30 +02:00
Michael Stefaniuc 2a11f2df47 msctf: Use FAILED instead of !SUCCEDED. 2009-05-20 10:54:35 +02:00
Aric Stewart bdd4e0b48b msctf: Implement ITfRange::GetContext. 2009-05-19 15:27:32 +02:00
Aric Stewart d0ef9886c3 msctf: Add stub implementation of ITfRange. 2009-05-19 15:27:27 +02:00
Aric Stewart 4bb8e9959a msctf: Starting implementation of ITfContext::RequestEditSession and ITextStoreACPSink::OnLockGranted. 2009-05-19 11:25:01 +02:00
Aric Stewart 8535f8c670 msctf/tests: Test TextService requesting an EditSession. 2009-05-18 14:01:36 +02:00
Aric Stewart 7d4e133624 msctf: TfContext intitalization and uninitialization on Push and Pop. 2009-05-18 14:01:27 +02:00
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