Commit Graph

281 Commits

Author SHA1 Message Date
Eric Pouech 463822e6e9 advpack: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-08 10:45:58 +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 e855536a01 advpack/tests: Use the standard va_list instead of __ms_va_list.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-22 11:11:17 +02: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
Zebediah Figura a0b5cb6961 advpack: Do not export DllMain.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-15 19:34:21 +02:00
Michael Stefaniuc 2a2001b300 advpack: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-07 10:16:44 +02:00
Michael Stefaniuc 86ab6bc9a7 advpack: Don't use sizeof to calculate the length of a WCHAR string.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-07 10:16:40 +02:00
Serge Gautherie a359e02666 advpack: RegQueryValueExW() wants bytes, not chars.
Signed-off-by: Serge Gautherie <winehq-git_serge_180711@gautherie.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-28 20:10:53 +02:00
Gijs Vermeulen 90ddc58a86 advpack: Extract inf file before installing in ExecuteCab().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=29806
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-11 13:31:00 +02:00
Rémi Bernon ba0d2ba217 advpack/tests: Fix some format-overflow warnings.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-11 22:39:59 +01:00
Francois Gouget 529a45515b advpack: A spelling fix in a comment.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-08 17:53:36 +02:00
Alexandre Julliard 58f22b03f6 advpack: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-27 15:50:49 +02:00
Alexandre Julliard d4ef782db7 makefiles: Build all tests with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-24 12:10:51 +02:00
Alex Henrie 07e1d6b081 advpack: Turn variable 'prefix' into a static constant.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-30 11:41:09 +01:00
André Hentschel e7f5dc194a advpack: Use ARRAY_SIZE() macro.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-04 22:13:43 +02:00
Michael Stefaniuc 9cd82ad7ee advpack/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-11 11:41:59 +02:00
Michael Stefaniuc df2141a4c6 advpack: Use the global HeapAlloc() wrappers.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-30 09:07:20 +01:00
Austin English a059696046 advpack: Sort specfile.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-18 14:41:44 +02:00
Hans Leidekker c0b37037f5 advpack: Don't trace the contents of an output buffer (Valgrind).
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-24 20:52:04 +01:00
André Hentschel 31c1895ee8 advpack: Fix some spec file entries.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-23 13:15:45 +01:00
Francois Gouget 2ed059a469 advpack: Add a __WINE_ALLOC_SIZE attribute to heap_alloc().
And standardize its parameter name.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-10 21:34:48 +01:00
Hans Leidekker ea7c86a715 advpack/tests: Skip inf install tests if the user doesn't have admin rights.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-19 12:13:42 +01:00
Hugh McMaster 11669fa5e2 Assorted spelling and grammar fixes.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-17 22:56:40 +09:00
Michael Müller 10ff131325 advpack: Translate flags in LaunchINFSection.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-09 17:50:44 +09:00
Michael Stefaniuc 88725cb279 advpack: Simplify the check for an empty string (PVS-Studio). 2014-11-17 19:30:24 +09:00
Bruno Jesus c1b2fc3c4f advpack/tests: Remove dead assignment (Cppcheck). 2014-10-31 10:50:55 +09:00
Nikolay Sivov 6db64236a1 advpack: Use E_NOT_SUFFICIENT_BUFFER definition. 2014-10-07 20:21:57 +02:00
Alexandre Julliard 0289ea0e43 advpack: Remove unnecessary DllMain implementation. 2014-05-15 19:04:46 +02: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
Nikolay Sivov ba7f633fc8 advpack/tests: Compile with -D__WINESRC__. 2013-10-15 14:28:20 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Michael Stefaniuc 9463dba830 tests: Use the explicit LoadLibraryA function. 2013-10-02 11:02:21 +02:00
Vincent Povirk 531f795623 advpack: Handle quoted arguments to rundll exports. 2013-07-29 14:10:56 +02:00
Vincent Povirk 17f6609702 advpack/tests: Add test for LaunchINFSectionEx with quoted filename. 2013-07-29 14:10:53 +02:00
Marcus Meissner a6e4c094d0 advpack: Avoid using sessions uninitialized (Coverity). 2013-01-08 12:30:24 +01:00
André Hentschel bafe54e7e5 advpack: Fix possible NULL pointer access in heap_strdupWtoA. 2012-11-19 16:36:01 +01:00
Jacek Caban 57b83719b7 advpack: Added ExtractFilesW implementation. 2012-10-31 16:17:17 +01:00
Michael Stefaniuc e81c055e9c advpack/tests: Use the global "current directory" variable. 2012-08-17 16:25:47 +02:00
Detlef Riekenberg a97f81ff32 advpack/tests: Avoid test failures without high access rights. 2012-08-14 17:42:06 +02:00
Alexandre Julliard 2d60d91460 advpack: Pass all the specified parameters to do_ocx_reg. 2011-11-07 11:45:18 +01:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Marcus Meissner 048999c79a advpack: Mark internal symbols as hidden. 2011-05-02 12:39:01 +02:00
Austin English befe57aa14 advpack/tests: Remove win9x hacks. 2011-02-28 13:11:03 +01:00
Alexandre Julliard 730f01801f tests: Make some variables static. 2010-10-01 13:41:42 +02: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
Marko Nikolic 78b020c018 advpack/tests: Removed sign comparison warning in advpack tests. 2010-08-20 13:21:34 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02: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