Commit Graph

205 Commits

Author SHA1 Message Date
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
Aric Stewart
43db8477af msctf: Add stub ITfThreadMgr interface. 2009-01-28 14:06:21 +01:00
Aric Stewart
b8416b9ccb msctf: Add definition of CLSID_TF_ThreadMgr. 2009-01-28 14:02:26 +01:00
Aric Stewart
2e5a562020 msctf: Add regsvr functions. 2009-01-28 14:00:17 +01:00
Aric Stewart
a74aeae6e4 msctf: Add base dll framework. 2009-01-28 13:58:32 +01:00