Commit Graph

254 Commits

Author SHA1 Message Date
Aric Stewart 6245ef837b msctf/tests: Test ITfThreadMgr::AssociateFocus. 2009-09-02 10:23:55 +02:00
Aric Stewart 81118f7f06 msctf: Implement ITfThreadMgr::AssociateFocus. 2009-09-02 10:23:51 +02:00
Aric Stewart ae51d05d78 msctf: Correct handling if NULL for pdimFocus in ITfThreadMgr::SetFocus. 2009-09-01 12:43:28 +02:00
Aric Stewart a60f32739b msctf: Hook up ITfLanguageProfileNotifySink::OnLanguageChange. 2009-08-31 16:37:59 +02:00
Aric Stewart 0294cbc048 msctf: Hook up ITfTextEditSink::OnEndEdit. 2009-08-29 16:48:52 +02:00
Aric Stewart e00bc2d306 msctf: Stub implementation of ITfSourceSingle for ITfContext. 2009-08-29 16:48:52 +02:00
Alexandre Julliard f59a3097f2 uuid: Include some more headers. 2009-07-16 16:36:41 +02:00
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
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
Aric Stewart 7d1952b689 msctf: Implement ITfInputProcessorProfiles::EnumLanguageProfiles. 2009-02-23 13:21:07 +01:00
Aric Stewart 4d38c952d1 msctf: Implement ITfInputProcessorProfiles::EnumInputProcessorInfo. 2009-02-23 13:16:02 +01:00
Aric Stewart cb2637fa5d msctf: Add tests for ITfCategoryMgr::UnregisterCategory and ITfCategoryMgr::RegisterCategory. 2009-02-20 18:46:03 +01:00
Aric Stewart 8bd19cc93f msctf: Implement ITfInputProcessorProfiles::Unregister. 2009-02-20 18:46:03 +01:00
Alexandre Julliard cd656fa7f6 msctf/tests: Don't import uuid. 2009-02-19 15:57:30 +01:00
Aric Stewart 64ae0000b6 msctf: Added msctf tests. 2009-02-18 14:08:30 +01:00
Aric Stewart ba99ea2e0c msctf: Implement ITfInputProcessorProfiles::IsEnabledLanguageProfile. 2009-02-18 12:13:36 +01:00
Aric Stewart 6f019fe9fe msctf: Implement ITfInputProcessorProfiles::EnableLanguageProfileByDefault. 2009-02-18 12:13:00 +01:00
Aric Stewart f970d0006b msctf: Implement ITfInputProcessorProfiles::EnableLanguageProfile. 2009-02-18 12:12:45 +01:00
Aric Stewart bc1e27d99a msctf: Add Enable key and User key for language profile. 2009-02-16 16:01:37 +01:00
Francois Gouget f250f4fa04 Assorted spelling fixes. 2009-02-11 15:56:02 +01:00
Aric Stewart a840c35d42 msctf: Hook up ITfContextOwnerCompositionSink if present. 2009-02-09 12:06:11 +01:00
Aric Stewart 67d00e3ee6 msctf: When a Context is created connect to the ITextStoreACP if provided and create and advise our ITextStoreACPSink. 2009-02-06 14:50:26 +01:00
Aric Stewart 44148fe99a msctf: Add stub ITextStoreACPSink. 2009-02-06 14:50:26 +01:00
Aric Stewart 096643dfa6 msctf: Stub implementation of SetInputScopes. 2009-02-06 13:03:57 +01:00
Aric Stewart b7a47e7223 msctf: Stub for SetInputScope. 2009-02-06 13:03:52 +01:00
Aric Stewart 17666004c8 msctf: Add sink framework and implement ITfTextEditSink in Context. 2009-02-05 14:35:43 +01:00
Aric Stewart 929aadf29b msctf: Implement TF_GetThreadMgr. 2009-02-04 15:11:56 +01:00
Aric Stewart f94f78ff03 msctf: Implement TF_CreateThreadMgr. 2009-02-04 15:10:59 +01:00
Aric Stewart ea92f8cbff msctf: Flesh out spec file with stubs. 2009-02-04 15:10:53 +01:00
Aric Stewart c4d5872cd1 msctf: Implement ITfCategoryMgr::RegisterCategory. 2009-02-04 15:09:24 +01:00
Aric Stewart 2fe3b64fb4 msctf: Stub implementation of ITfCategoryMgr. 2009-02-04 15:09:00 +01:00
Aric Stewart 3680bdccc2 msctf: Implement ITfInputProcessorProfiles::AddLanguageProfile. 2009-02-04 15:08:30 +01:00
Aric Stewart 649d12b170 msctf: Implement ITfInputProcessorProfiles::Register. 2009-02-04 15:07:18 +01:00
Aric Stewart fd92f871a3 msctf: Implement InputProcessorProfiles::GetCurrentLanguage. 2009-02-04 15:06:42 +01:00
Aric Stewart 6c842a86bb msctf: Add stub implementation of ITfInputProcessorProfiles. 2009-02-04 15:06:33 +01:00
Aric Stewart aacbe97ae5 msctf: Add ITfSource interface to DocumentMgr. 2009-02-03 13:26:59 +01:00
Aric Stewart bc7dd32e67 msctf: Add ITfSource interface to ThreadMgr. 2009-02-03 13:26:48 +01:00
Aric Stewart efbd3b4f56 msctf: Add ITfSource interface to Context. 2009-02-03 13:26:37 +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 8b34370d7c msctf: Only 1 ITfThreadMgr is created per thread. 2009-02-03 13:18:19 +01:00
Aric Stewart 9105cd88c4 msctf: Implement SetFocus and GetFocus. 2009-02-03 13:17:27 +01:00
Aric Stewart fdbe3d1870 msctf: Add ITfDocumentMgr interface. 2009-02-02 15:21:45 +01:00
Andrew Talbot d92eca1ef9 msctf: Declare some variables static. 2009-01-30 11:43:45 +01:00