Commit Graph

239 Commits

Author SHA1 Message Date
Greg Geldorp 8532d06602 msctf/tests: Wait a bit for registrations to become active on Win7. 2011-01-03 12:14:26 +01:00
Michael Stefaniuc 6aaf2aa30b msctf: Standardize the COM usage in documentmgr.c. 2010-12-23 13:47:23 +01:00
Michael Stefaniuc d5c285ddb0 msctf/tests: Standardize the COM usage in inputprocessor.c. 2010-12-14 12:11:15 +01:00
Michael Stefaniuc 5e5e69f0fc msctf: Use an iface instead of a vtbl pointer in Range. 2010-12-09 12:24:58 +01:00
Michael Stefaniuc 3feb3e4815 msctf: Use an iface instead of a vtbl pointer in LangBarMgr. 2010-12-09 12:24:52 +01:00
Michael Stefaniuc 774ef1d3cb msctf: Use an iface instead of a vtbl pointer in CategoryMgr. 2010-12-09 12:24:43 +01:00
Michael Stefaniuc 3f6751f4de msctf: Use an iface instead of a vtbl pointer in ClassFactory. 2010-12-09 12:24:35 +01:00
Michael Stefaniuc 242bd9e4b2 msctf: Use an iface instead of a vtbl pointer in DisplayAttributeMgr. 2010-12-09 12:24:31 +01:00
Alexandre Julliard 1c18430aad msctf: Convert dll registration to the IRegistrar mechanism. 2010-12-08 16:10:43 +01:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Harry Jeffery 4faf80280c Fixed various spelling mistakes. 2010-07-26 13:34:20 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Mikhail Maroukhine bbf827c38f msctf: Fix compiler warnings with flag -Wcast-qual. 2010-03-29 12:14:24 +02:00
Aric Stewart e669ffe6e5 msctf: Add stub for ITfDisplayAttributeMgr. 2010-03-18 17:03:51 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Justin Chevrier 4e1c8767f9 msctf: Implement stubbed out TF_CreateLangBarMgr. 2010-02-17 10:57:28 +01:00
Justin Chevrier b6da823354 msctf: Add TF_LangBarMgr registration. 2010-02-17 10:56:36 +01:00
Nikolay Sivov 4d7d648b97 Fix remaining copy&paste typos in self-registration functions comments. 2010-02-04 13:39:28 +01:00
Marcin Baczyński 14ed846438 msctf: Remove superfluous void* cast. 2010-01-07 09:27:13 +01:00
Huw Davies 625ec9f05f msctf/tests: Don't convert past the end of a nul terminated string.
Found by Valgrind.
2009-11-13 13:36:12 +01:00
Huw Davies d775d6e31f msctf: Correctly initialize the description field.
Found by Valgrind.
2009-11-13 11:52:25 +01:00
Aric Stewart 25bfe9df49 msctf/tests: Handle an occasional unexpected SetFocus from wine. 2009-11-10 13:14:23 +01:00
Alexandre Julliard fa6ffb4d5d Fix empty function prototypes. 2009-10-07 12:24:53 +02:00
Stefan Ginsberg 32648d4802 msctf: Define function calling convention compatibly for MSVC. 2009-09-22 17:47:31 +02:00
Aric Stewart ecd17659df msctf/tests: Add wine_todo processing to sink_check_ok. 2009-09-11 13:08:40 +02:00
Francois Gouget 4e53bbda2e msctf: Make ThreadFocusHookProc() static. 2009-09-11 12:10:32 +02:00
Francois Gouget 80f862dedf msctf: Reorder a couple of functions to avoid forward declarations. 2009-09-11 12:10:25 +02:00
Francois Gouget 08c6eca9b5 msctf/tests: Make _sink_check_ok() static. 2009-09-11 12:10:20 +02:00
Aric Stewart 43256560e9 msctf/tests: Fix tests for Windows Vista. 2009-09-10 11:06:22 +02:00
Aric Stewart 017c84e75e msctf/tests: Correct wine_todo handling in sinks. 2009-09-10 11:06:16 +02:00
Aric Stewart 91791768f7 msctf/tests: Add handler sink_check_ok for checking fired sinks. 2009-09-09 13:13:40 +02:00
Aric Stewart b0e452f1cf msctf/test: Add sink_fire_ok helper and use it to check sink firing. 2009-09-09 13:13:31 +02:00
Aric Stewart 515c13774a msctf: Add stub ITfSourceSingle interface to ThreadMgr. 2009-09-09 12:07:17 +02:00
Aric Stewart c4da0b6115 msctf: Stub of TF_InvalidAssemblyListCacheIfExist. 2009-09-09 12:07:06 +02:00
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