Eric Pouech
7eab62d36e
qmgr/tests: Enable compilation with long types.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-03 12:06:36 +01:00
Eric Pouech
13de3b2ea6
qmgr: Enable compilation with long types.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-17 09:07:08 +01:00
Alexandre Julliard
f0cd33c69e
include: Add support for defining Win32 types as 'long' where possible.
...
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Alexandre Julliard
088a787a2c
makefiles: Make -mno-cygwin the default.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Alexandre Julliard
5d82baf974
winecrt0: Add a default implementation DllRegisterServer()/DllUnregisterServer().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-30 22:59:50 +02:00
Alexandre Julliard
7b470425f7
qmgr: Use --prefer_native instead of DLL_WINE_PREATTACH.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-02 10:55:57 +01:00
Francois Gouget
ed2b42727f
qmgr/tests: Fix the spelling of an ok() message.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-25 22:51:35 +01:00
Aaron Hill
2148167f25
qmgr/tests: Test registering an IBackgroundCopyCallback2.
...
Signed-off-by: Aaron Hill <aa1ronham@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-27 22:18:25 +01:00
Aaron Hill
2538077463
qmgr/tests: Fix issues with handling of transient errors.
...
When a BITS job is being transferred, it may enter into the state
BG_JOB_STATE_TRANSIENT_ERROR (for example, if the hostname fails to
resolve). Currently, entering this state causes qmgr job tests to fail,
even though it may occur due to temporary network issues out of our
control.
If a job enters BG_JOB_STATE_TRANSIENT_ERROR before the timeout has
elapsed, attempt to resume the job using
IBackgroundCopyJob_Resume. If the job is still in
BG_JOB_STATE_TRANSIENT_ERROR, query BITS for detailed error
information, and print it out.
Additionally, ensure that we are able to transfer files on Windows 10
with a metered connection. By default, BITS will not attempt to transfer
a job on a metered connection, instead failing with
BG_JOB_STATE_TRANSIENT_ERROR. On newer versions of Windows, we can
use IBackgroundCopyJob5 to set the transfer policy, forcing the job to
run even on a metered connection. This allows qmgr job tests to pass on
the testbot Windows 10 VMs, which have metered connections enabled in
order to disable Windows Update.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50048
Signed-off-by: Aaron Hill <aa1ronham@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-27 22:18:09 +01:00
Michael Stefaniuc
b0a64a8104
qmgr: Use wide-char string literals.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-12 10:39:57 +02:00
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