Commit Graph

163 Commits

Author SHA1 Message Date
Hans Leidekker 5a7f0bedf2 taskschd: Implement ITaskSettings_put_Hidden.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-29 20:15:31 +01:00
Hans Leidekker c9c86fbc42 taskschd: Implement ITaskSettings_put_Compatibility.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-29 20:15:31 +01:00
Hans Leidekker 484055e851 taskschd: Implement ITaskSettings_put_Priority.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-29 20:15:31 +01:00
Hans Leidekker f8483297a5 taskschd: Implement ITaskSettings_put_DeleteExpiredTaskAfter.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-29 20:15:30 +01:00
Hans Leidekker 196a97740e taskschd: Implement ITaskSettings_put_Enabled.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-28 15:34:14 +01:00
Hans Leidekker 64c08e68c0 taskschd: Implement ITaskSettings_put_ExecutionTimeLimit.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-28 15:34:12 +01:00
Hans Leidekker ee12d7c917 taskschd: Implement ITaskSettings_put_RunOnlyIfNetworkAvailable.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-28 15:34:10 +01:00
Hans Leidekker 62dd24af4a taskschd: Implement ITaskSettings_put_StartWhenAvailable.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-28 15:34:08 +01:00
Hans Leidekker a883a26f0f taskschd: Implement ITaskSettings_put_AllowHardTerminate.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-28 15:34:05 +01:00
Hans Leidekker 2032eedfa6 taskschd: Implement ITaskSettings_put_DisallowStartIfOnBatteries.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-28 15:34:03 +01:00
Hans Leidekker eb87ede3fe taskschd: Use heap_strdupW to allocate the interval in TaskSettings_put_RestartInterval.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-28 15:34:00 +01:00
Hans Leidekker fdb2eedd9e taskschd: Implement ITaskSettings_put_StopIfGoingOnBatteries.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-27 16:15:25 +01:00
Hans Leidekker 0ae50c22d6 taskschd: Implement ITaskSettings_put_MultipleInstances.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-27 16:15:25 +01:00
Hans Leidekker 01f6313659 taskschd: Implement ITaskSettings_put_RestartCount.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-27 16:15:25 +01:00
Hans Leidekker 059382a3d3 taskschd: Implement ITaskSettings_put_RestartInterval.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-27 16:15:25 +01:00
Hans Leidekker ca20711f11 taskschd: Return success from a couple of stubs.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-27 16:15:25 +01:00
Francois Gouget 2fe91725c5 taskschd: Simplify and standardize the heap_xxx() declarations.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-22 12:02:03 +01:00
Francois Gouget 22c1c9b551 taskschd/tests: Fix a couple of ITriggerCollection ok() messages.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-09 12:10:11 +01:00
Jacek Caban 82a590403f taskschd: Added IDailyTrigger::DaysInterval property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-19 17:54:28 -07:00
Jacek Caban 18427a0ce0 taskschd: Added ITriggerCollection::Create implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-19 17:54:23 -07:00
Sebastian Lackner e16b9f757b taskschd: Do not return ERROR_* constant in HRESULT function.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-14 11:53:26 +09:00
Jacek Caban d62ab576e5 taskschd/tests: Fixed tests on win10.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-07 00:34:24 +09:00
Jacek Caban 67abe79de0 taskschd: Added ITaskDefinition::get_Triggers implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-07 00:34:24 +09:00
Sebastian Lackner 9b09472d4f taskschd/tests: Fix a use-after-free in scheduler tests.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-20 16:54:47 +09:00
Dmitry Timoshkov 557c3714e8 taskschd/tests: Fix memory leaks (Valgrind).
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-09 16:44:53 +09:00
Michael Stefaniuc 39f1184ee1 taskschd/tests: Test the correct return value. 2015-03-25 20:12:47 +09:00
Francois Gouget aa1ad58ba7 taskschd: Remove an unneeded NONAMELESSUNION directive. 2015-03-24 20:01:06 +09:00
Michael Stefaniuc 87cfceb8bf taskschd: Print the debug string instead of the pointer value. 2015-03-24 18:16:05 +09:00
Alexandre Julliard f48a0d8ca3 taskschd/tests: Don't depend on the directory lookup order. 2014-12-03 11:25:51 +01:00
Jacek Caban d2886a05f9 wine/debug.h: Added debugstr_variant and debugstr_vt aliases and removed all duplicated implementations. 2014-07-24 17:05:55 +02:00
Dmitry Timoshkov bd1576975a taskschd: Implement setters for IRegistrationInfo string properties. 2014-04-11 11:23:27 +02:00
Dmitry Timoshkov 8fd6435a6a taskschd: Implement getters for IRegistrationInfo string properties. 2014-04-11 11:23:06 +02:00
Dmitry Timoshkov 84dc933cad taskschd/tests: Add some tests for task registration info. 2014-04-11 11:22:51 +02:00
Dmitry Timoshkov 39c1c9c262 taskschd: Add support for registering a task with NULL name in the root folder.
Because server receives full task name it can't autogenerate a name in
a non-root folder.
2014-04-10 13:54:48 +02:00
Dmitry Timoshkov adc60c779f taskschd/tests: Add a test for registering a task with NULL name in a not root folder. 2014-04-10 13:54:32 +02:00
Dmitry Timoshkov ea248186b3 taskschd: Add invalid parameter check to IRegisteredTask::get_State and IRegisteredTask::get_Enabled. 2014-04-10 13:53:53 +02:00
Dmitry Timoshkov a3cd93ca96 taskschd: Forward IRegisteredTask::get_Enabled to SchRpcGetTaskInfo. 2014-04-09 13:16:47 +02:00
Dmitry Timoshkov 7f3c32b626 taskschd: Forward IRegisteredTask::get_State to SchRpcGetTaskInfo. 2014-04-09 13:16:37 +02:00
Dmitry Timoshkov 96452fc810 schedsvc: Return correct error code when a being loaded xml doesn't exist. 2014-04-09 13:16:13 +02:00
Dmitry Timoshkov a5602f1708 taskschd: Implement IRegisteredTask::get_Path. 2014-04-08 18:28:26 +02:00
Dmitry Timoshkov d79cce769a taskschd: Implement IRegisteredTask::get_Name. 2014-04-08 10:01:00 +02:00
Dmitry Timoshkov 5c5d17e8f3 taskschd: Implement task management using RPC APIs. 2014-04-08 10:00:58 +02:00
Dmitry Timoshkov 04c3680d11 taskschd: Implement ITaskFolder::DeleteTask. 2014-04-08 10:00:32 +02:00
Dmitry Timoshkov 7e5bd67fc4 taskschd: Remove registry based task folder management. 2014-04-07 16:12:31 +02:00
Dmitry Timoshkov de8ce034b8 taskschd: Reimplement ITaskFolderCollection enumeration using SchRpcEnumFolders. 2014-04-07 16:12:29 +02:00
Dmitry Timoshkov 39e972b573 taskschd: Make ITaskFolder::CreateFolder, ITaskFolder::GetFolder and ITaskFolder::DeleteFolder use the RPC API. 2014-04-07 16:12:27 +02:00
Dmitry Timoshkov 38dcd677c8 taskschd: Implement ITaskService::get_HighestVersion. 2014-03-13 20:22:27 +01:00
Dmitry Timoshkov e06bac6ad8 taskschd/tests: Add more ITaskFolder::RegisterTask tests. 2014-03-06 13:36:04 +01:00
Dmitry Timoshkov ee806d9af7 taskschd: Add more tests for RegisterTask, GetTask and DeleteTask. 2014-02-27 11:47:06 -06:00
Dmitry Timoshkov 4c08276e6b taskschd: Return appropriate error code for a malformed XML. 2014-02-25 14:22:23 -06:00
Dmitry Timoshkov 39f0b276c7 taskschd: Don't accept task XML with an invalid boolean value. 2014-02-25 14:22:17 -06:00
Dmitry Timoshkov d2fc6b3145 taskschd: Add a check for the task namespace. 2014-02-25 14:22:10 -06:00
Dmitry Timoshkov 1c778d91bd taskschd/tests: Add more various tests. 2014-02-25 14:22:02 -06:00
Dmitry Timoshkov 175dc76336 taskschd: ITaskService::NewTask doesn't need a server connection. 2014-02-22 08:41:18 -06:00
Dmitry Timoshkov 67ad1d85ac taskschd: Add support for Principals to task definition XML writer. 2014-02-22 08:41:13 -06:00
Dmitry Timoshkov c6a01c42c9 taskschd: Add support for RegistrationInfo to task definition XML writer. 2014-02-22 08:41:09 -06:00
Dmitry Timoshkov 890bff2622 taskschd: Add initial version of the task definition XML writer. 2014-02-22 08:41:05 -06:00
Dmitry Timoshkov 3cb5015c4a taskschd: Add support for reading Principals to XML parser. 2014-02-22 08:41:01 -06:00
Dmitry Timoshkov a7c70a4904 taskschd: Add support for reading RegistrationInfo to XML parser. 2014-02-22 08:40:56 -06:00
Dmitry Timoshkov 606ee6cce3 taskschd: Add support for reading more TaskSettings fields to XML parser. 2014-02-22 08:40:52 -06:00
Dmitry Timoshkov ab8d8dd1dc taskschd: Implement IRegisteredTask::get_Xml. 2014-02-20 13:25:27 +01:00
Dmitry Timoshkov d99d3014f5 taskschd: Implement IRegisteredTask::get_Definition. 2014-02-20 13:25:26 +01:00
Dmitry Timoshkov 734417a481 taskschd: Make ITaskDefinition a part of IRegisteredTask implementation. 2014-02-20 13:25:26 +01:00
Dmitry Timoshkov 9c6e7dea5b taskschd: Delay creation of ITaskSettings until it's required. 2014-02-20 13:25:25 +01:00
Dmitry Timoshkov 7d95758e67 taskschd: Make IRegistrationInfo a part of ITaskDefinition implementation. 2014-02-20 13:25:24 +01:00
Dmitry Timoshkov 257a3bb17c taskschd: Add IRegistrationInfo stub implementation. 2014-02-20 13:25:23 +01:00
Dmitry Timoshkov 160c687710 taskschd: Implement reading Settings of the task definition XML chunk. 2014-02-18 10:49:53 +01:00
Dmitry Timoshkov 71f690a55d taskschd: Implement ITaskDefinition::put_Settings. 2014-02-18 10:49:50 +01:00
Dmitry Timoshkov 3aa2376fd9 taskschd: Make ITaskSettings a part of ITaskDefinition implementation. 2014-02-18 10:49:46 +01:00
Dmitry Timoshkov e29f64533f taskschd: Add initial implementation of ITaskDefinition::put_XmlText. 2014-02-18 10:49:41 +01:00
Dmitry Timoshkov 433598c10b taskschd: Implement ITaskFolder::RegisterTask as a wrapper around ITaskFolder::RegisterTaskDefinition. 2014-02-18 10:48:41 +01:00
Dmitry Timoshkov 7b08995141 taskschd: Implement most of ITaskSettings get methods. 2014-02-13 17:52:14 +01:00
Dmitry Timoshkov 12e8a31e72 taskschd: Add ITaskSettings stub implementation. 2014-02-13 17:52:14 +01:00
Dmitry Timoshkov 83e0fb8a5f taskschd/tests: Add some ITaskDefinition tests. 2014-02-13 17:52:14 +01:00
Dmitry Timoshkov a20b10e445 taskschd: Forward ITaskFolder::RegisterTask to IRegisterTask constructor. 2014-02-13 17:52:14 +01:00
Dmitry Timoshkov ae86839536 taskschd/tests: Add some tests for IRegisteredTask interface. 2014-02-07 11:05:50 +01:00
Dmitry Timoshkov 4248b1405d taskschd: Add ITaskDefinition stub implementation. 2014-02-06 17:08:28 +01:00
Dmitry Timoshkov 2201d7b0c1 taskschd: Add IRegisteredTaskCollection stub implementation. 2014-02-06 17:08:27 +01:00
Dmitry Timoshkov 4bd02f8e2d taskschd: QueryInterface should return NULL interface on error. 2014-02-06 17:08:26 +01:00
Dmitry Timoshkov 9c7025f92f taskschd: Add a NULL check to ITaskFolder::GetFolders. 2014-02-06 17:08:25 +01:00
Dmitry Timoshkov b3a79114e0 taskschd: ITaskService::GetFolder should fail if not connected to the server. 2014-02-06 17:08:25 +01:00
Dmitry Timoshkov 55b4f418c6 taskschd: Add IRegisteredTask stub implementation. 2014-02-04 10:52:28 +01:00
Dmitry Timoshkov 979e2d3a4e taskschd: Add some tests for ITaskFolderCollection::get__NewEnum. 2014-01-28 11:40:22 +01:00
Dmitry Timoshkov b5ed10c5ca taskschd: Implement IEnumVARIANT::Clone for a folder collection. 2014-01-28 11:40:21 +01:00
Dmitry Timoshkov d33c0e14ae taskschd: Implement ITaskFolderCollection::get__NewEnum. 2014-01-28 11:40:21 +01:00
Dmitry Timoshkov eeffc8f073 taskschd: Implement ITaskFolderCollection::get_Item. 2014-01-28 11:40:20 +01:00
Dmitry Timoshkov 18ccad8351 taskschd: Implement enumeration of task folders in registry. 2014-01-28 11:40:19 +01:00
Dmitry Timoshkov 89548cd0ad taskschd: Add some useful inline helpers for memory management. 2014-01-28 11:40:18 +01:00
Dmitry Timoshkov 463b1b6450 taskschd/tests: Add some ITaskFolderCollection tests. 2014-01-28 11:40:17 +01:00
Dmitry Timoshkov 553352f0af taskschd: Add ITaskFolderCollection stub implementation. 2014-01-28 11:40:17 +01:00
Dmitry Timoshkov e654be2aec taskschd: Add some invalid parameters checks to ITaskFolder::DeleteFolder. 2014-01-28 11:40:15 +01:00
Dmitry Timoshkov d6f6b6b798 taskschd: Implement ITaskFolder::CreateFolder. 2014-01-27 11:03:14 +01:00
Dmitry Timoshkov efced58861 taskschd: Implement ITaskFolder::GetFolder. 2014-01-27 11:03:12 +01:00
Dmitry Timoshkov a4c4574bd4 taskschd: Implement ITaskFolder::get_Name. 2014-01-27 11:03:11 +01:00
Dmitry Timoshkov 3003ee9ba1 taskschd: Implement ITaskFolder::DeleteFolder. 2014-01-27 11:03:09 +01:00
Dmitry Timoshkov 630354f6df taskschd: Make GetFolder check whether task folder tree exists in the registry. 2014-01-27 11:03:04 +01:00
Dmitry Timoshkov 663444ccb7 taskschd: Implement ITaskFolder::get_Path. 2014-01-17 11:03:34 +01:00
Dmitry Timoshkov fe55cb1031 taskschd: Add ITaskFolder stub implementation. 2014-01-17 11:03:31 +01:00
Dmitry Timoshkov 7341996f5d taskschd/tests: Add more task folder tests. 2014-01-16 21:04:19 +01:00
Dmitry Timoshkov 006aadd3d2 taskschd: Treat VT_BSTR/NULL or empty variant as NULL. 2014-01-16 21:04:19 +01:00