Commit Graph

138 Commits

Author SHA1 Message Date
Nikolay Sivov 2f454fa375 qmgr: Make SetMaximumDownloadTime() succeed.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-08 20:52:14 +02:00
Nikolay Sivov 60837d12a7 qmgr: Update to IBackgroundCopyJob4.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-08 20:52:14 +02:00
Francois Gouget a909baeb4e tests: Report all errors when failing to wait for a child process.
Report the line number where the test failed to wait for the child so
one can identify which child process did not behave as expected.
Also wait_child_process() is meant for the general case so report
all non-crash error cases as test failures so they are accounted for.
Omit the "winetest_" prefix to match the other Wine test functions and
so the underlying winetest_wait_child_process() function can be wrapped
with the usual line-capturing macros.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48651
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-17 10:51:44 +01:00
Hans Leidekker e82c5f65b0 qmgr/tests: Fix test failures on Windows XP.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-02 17:41:57 +01:00
Erich E. Hoover 34ed1e37da qmgr: Call the notification callback when jobs complete.
Signed-off-by: Erich E. Hoover <erich.e.hoover@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-11 22:58:00 +01:00
Alexandre Julliard d6d38f157a qmgr: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-19 10:28:11 +02:00
Alexandre Julliard 0ab48967bd qmgr: Use strncmpiW instead of memicmpW for strings without embedded nulls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-08 08:34:48 -05:00
Michael Stefaniuc 8c430a8286 qmgr: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:16:01 +02:00
Alistair Leslie-Hughes d11a6e6c04 qmgr/tests: Use standard wine_dbgstr_longlong.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-06 09:41:26 +02:00
Hans Leidekker ec6a17fa9c qmgr: Job error codes are HRESULT values.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-14 22:25:28 +09:00
Thomas Faber d0b72cee0d qmgr: Fully initialize URL_COMPONENTSW structure before calling WinHttpCrackUrl.
Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-23 17:36:18 +09:00
Hans Leidekker fb704266fa qmgr: Change job state on failure in transfer_file_http.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-17 18:17:12 +09:00
Hans Leidekker 98f7468f9a qmgr: Clear job error on resume.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-17 18:17:10 +09:00
Francois Gouget 4d6cba1bda qmgr: Fix a spelling error in a TRACE().
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-16 15:32:24 +09:00
Hans Leidekker 69d0764196 qmgr: Use the full path for HTTP downloads.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-23 16:32:14 +01:00
Thomas Faber bd7f43d7e8 qmgr: Do not omit mandatory argument to WriteFile. 2015-08-17 22:50:49 +09:00
Nikolay Sivov c3e4dff9f7 qmgr: Fix WINHTTP_OPTION_CONTEXT_VALUE data pointer (Coverity). 2015-06-29 19:07:53 +09:00
Nikolay Sivov 91e4394c1b qmgr: Simplify GetProgress() with a structure copy. 2015-06-24 15:28:08 +09:00
Nikolay Sivov 8ae201548f qmgr: Simplify string duplication using a helper. 2015-06-23 21:59:36 +09:00
Hans Leidekker c5a969904f qmgr/tests: Add tests. 2015-06-15 14:45:45 +09:00
Hans Leidekker bda14f61fc qmgr: Don't inline transitionJobState. 2015-06-15 14:45:42 +09:00
Hans Leidekker 13c3f7ac2b qmgr: Implement IBackgroundCopyJob::Cancel. 2015-06-15 14:45:40 +09:00
Hans Leidekker 63aa94573f qmgr: Implement IBackgroundCopyJob::SetCredentials and IBackgroundCopyJob::RemoveCredentials. 2015-06-15 14:45:38 +09:00
Hans Leidekker 1e800c7b94 qmgr: Implement IBackgroundCopyJobHttpOptions::SetCustomHeaders and IBackgroundCopyJobHttpOptions::GetCustomHeaders. 2015-06-15 14:45:36 +09:00
Hans Leidekker dcfe6648f8 qmgr: Implement IBackgroundCopyJobHttpOptions::SetSecurityFlags and IBackgroundCopyJobHttpOptions::GetSecurityFlags. 2015-06-15 14:45:34 +09:00
Hans Leidekker faa65f6291 qmgr: Add a stub implementation of IBackgroundCopyJobHttpOptions. 2015-06-15 14:45:32 +09:00
Hans Leidekker 230b52da18 qmgr: Use winhttp for HTTP transfers instead of wininet. 2015-06-15 14:45:29 +09:00
Hans Leidekker 69175fa9e1 qmgr: Implement IBackgroundCopyError. 2015-06-05 18:39:52 +09:00
Hans Leidekker 6aeeddbad7 qmgr: Add IHttpNegotiate support to the bind status callback. 2015-06-05 18:39:48 +09:00
Hans Leidekker 72103ab7d1 qmgr: Update to IBackgroundCopyJob3. 2015-06-05 18:39:30 +09:00
Hans Leidekker 04f3c2bbb0 qmgr: Update to IBackgroundCopyFile2. 2015-06-05 18:39:26 +09:00
André Hentschel 8ae3c7ae27 qmgr/tests: Remove unused macro. 2014-12-09 19:36:00 +01:00
André Hentschel 84a2a963dd qmgr/tests: Remove unused code (Clang). 2014-12-02 10:48:37 +01:00
Thomas Faber 8365eb8753 qmgr: Register WINE_REGISTRY resource in DllRegisterServer instead of a nonexistent inf file. 2014-05-01 16:31:36 +02:00
Dmitry Timoshkov da0c40326a qmgr: Remove unused IUnknown *outer parameter from object constructor. 2014-01-07 15:21:55 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Alexandre Julliard d08ff3ff19 makefiles: Use a single variable for all types of idl files. 2013-12-31 18:15:17 +01:00
Nikolay Sivov 5edaed3ee3 qmgr: Rearrange BSC methods in a natural way, call with proper wrapper. 2013-12-04 11:07:26 +01:00
Nikolay Sivov f4a2163de7 qmgr: Add file to a job with 1 refcount. 2013-12-04 11:07:20 +01:00
Nikolay Sivov 5cbd28aa51 qmgr: Implement AddFile() with AddFileSet(). 2013-12-04 11:07:11 +01:00
Nikolay Sivov 202e71769e qmgr/tests: Fixed some test failures on older windows versions. 2013-12-02 10:48:37 +01:00
Nikolay Sivov f2e9854483 qmgr: Implement Get/SetNotifyInterface(). 2013-11-28 11:19:00 +01:00
Nikolay Sivov 2245acf75a qmgr/tests: Do an early check to skip all tests. 2013-11-27 14:54:01 +01:00
Nikolay Sivov 76c3f0cffb qmgr: Implement Get/SetNotifyFlags(). 2013-11-27 14:53:02 +01:00
Nikolay Sivov a124e927fa qmgr: Added missing argument tracing, method naming made more compact. 2013-11-26 13:51:47 +01:00
Nikolay Sivov c132ed8d5b qmgr: Use helper to return string value for File. 2013-11-26 13:51:43 +01:00
Nikolay Sivov 15bfd4a925 qmgr: Added parameter tracing for Job and Manager, make naming more compact. 2013-11-25 15:15:54 +01:00
Nikolay Sivov 421a26a9a8 qmgr: Implement IBackgroundCopyManager::GetJob(). 2013-11-25 15:15:53 +01:00
Nikolay Sivov cd777e5418 qmgr/tests: Remove skips around tests that don't fail. 2013-11-25 15:15:53 +01:00