Commit graph

88 commits

Author SHA1 Message Date
Eric Pouech
cf63513af3 regsvr32: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-04 11:20:33 +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
f8ffea3a87 regsvr32: Use the standard va_list instead of __ms_va_list.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 11:01:45 +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
Zhiyi Zhang
d4d80a7bb3 regsvr32: Enable visual styles.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-09 10:24:58 +02:00
Alexandre Julliard
20984f2e1f regsvr32: Restart the correct version for all supported architectures.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-29 23:37:45 +02:00
Alexandre Julliard
44f0a67ba5 regsvr32: Don't use GetBinaryType() on DLL files.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-06 22:46:12 +02:00
Michael Stefaniuc
24ac30d2a0 regsvr32: Use a string literal for an empty string.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-03 10:25:26 +01:00
Michael Stefaniuc
dea850cfd5 regsvr32: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-08 12:40:29 +02:00
Alexandre Julliard
919d969087 regsvr32: FormatMessage() now reports ERROR_NO_WORK_DONE error for empty string.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-13 22:07:32 +02:00
Vincent Povirk
e90cca8e7a regsvr32: Re-exec as 32-bit or 64-bit if necessary.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47075
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-21 20:43:51 +02:00
Alexandre Julliard
ed6a5e97e0 programs: Make all program entrypoints cdecl.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-17 17:05:47 +02:00
Alexandre Julliard
4c5dd0e513 regsvr32: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 09:56:00 +02:00
Alexandre Julliard
d84de4ca00 makefiles: Support specifying installed files in the top-level makefile.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-27 14:48:04 +01:00
Michael Stefaniuc
33f4548ae6 regsvr32: 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:03 +02:00
Alexandre Julliard
d5f316bf0a makefiles: Disable binary installation in the individual makefiles on Wow64.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-22 14:16:33 +01:00
Austin English
b7a36b4b44 regsvr32: Move WineHQ URLs to https.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-01 10:06:03 +01:00
Alexandre Julliard
a31e62a267 regsvr32: Use WINAPIV calling convention for variadic functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-02 10:22:01 +01:00
Akihiro Sagawa
cd37c6e13b regsvr32: Use neutral language for the version resource.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-20 19:23:36 +01:00
Alexandre Julliard
17ac5ba7f9 makefiles: Specify whether to install program binaries in the individual makefiles.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-30 14:58:50 +09:00
Nikolay Sivov
6de871c01b regsvr32: Simplify conditional expression (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-13 23:35:23 +09:00
Hugh McMaster
e19a8fd706 regsvr32: Return the most recent error code, even if later DLLs succeed. 2015-09-09 19:47:33 +09:00
Hugh McMaster
07cc9a34a8 regsvr32: Process the next file in the array if an error occurs.
The Windows version stops processing the current file and moves to the
next file on the first error.
2015-09-07 20:42:04 +09:00
Hugh McMaster
48c7a3f4d7 regsvr32: Call InstallDll before UnregisterDll when using /u /i. 2015-09-07 20:42:01 +09:00
Hugh McMaster
80c3fca056 regsvr32: Do not attempt to register '/' or '-'. 2015-09-03 21:11:06 +09:00
Hugh McMaster
76162a4ea8 regsvr32: Use correct exit code when DllRegisterServer, DllUnregisterServer and DllInstall fail. 2015-09-03 19:02:21 +09:00
Hugh McMaster
99ecebe90d regsvr32: Use INVALID_ARG define instead of magic 1. 2015-09-02 22:45:51 +09:00
Hugh McMaster
4a4baf2566 regsvr32: Use correct exit code when LoadLibraryEx fails. 2015-09-02 22:45:49 +09:00
Hugh McMaster
68a5642d5c regsvr32: Use correct exit code when GetProcAddress fails. 2015-09-02 22:45:45 +09:00
Hugh McMaster
b09e98da78 regsvr32: /n and /u /n should be handled as invalid flags. 2015-09-02 16:41:11 +09:00
Hugh McMaster
d3b55e99e9 regsvr32: Process flags before files. 2015-08-31 20:13:26 +09:00
Hao Peng
e48c3e466c regsvr32: Change regsvr32 to a GUI program. 2015-07-29 21:44:04 +02:00
Hugh McMaster
db4a8bf0ec regsvr32: Clean up and update comments to reflect changes to the codebase. 2015-06-26 20:44:28 +09:00
Hugh McMaster
3f01461ddc regsvr32: Make Dll* exports WINAPI. 2015-06-24 19:07:12 +09:00
Hugh McMaster
485b8dfcf2 regsvr32: Add WriteFile fallback if WriteConsole fails. 2015-06-24 19:06:34 +09:00
Hugh McMaster
fdae80d45f regsvr32: Convert codebase to Unicode. 2015-06-24 19:06:32 +09:00
Hugh McMaster
dc1b177a1a regsvr32: Convert if-else block to switch statement. 2015-06-16 20:03:56 +09:00
Hugh McMaster
00c13a20a6 regsvr32: Move /i command line code to a separate function. 2015-06-16 20:03:39 +09:00
Nikolay Sivov
37d5149ea5 regsvr32: Update program version. 2014-12-11 17:36:14 +01:00
Nikolay Sivov
78720e52da regsvr32: Fix some usage message issues. 2014-04-01 13:36:59 +02:00
Hugh McMaster
2aad5d7caf regsvr32: Fix filename in version definition. 2014-03-28 20:09:07 +01:00
Hugh McMaster
3858ea03a3 regsvr32: Move silent check to the output_write function. 2014-03-26 19:20:31 +01:00
Hugh McMaster
412a4f13f6 regsvr32: Replace printf calls with WriteConsole function. 2014-03-26 19:20:30 +01:00
Alexandre Julliard
86b1f94d28 makefiles: Get rid of the MAKE_PROG_RULES variable. 2014-01-02 12:12:57 +01:00
Alexandre Julliard
e2df0ab856 makefiles: Generate rules from makedep for building and installing man pages. 2013-11-18 11:40:00 +01:00
Frédéric Delanoy
5fd54997ba regsvr32: Use BOOL type where appropriate. 2013-11-05 11:16:05 +01:00
Frédéric Delanoy
f0309d295a regsvr32: Fix manpage formatting. 2013-07-17 20:30:49 +02:00
Alexandre Julliard
dcc97a186d Standardize the BUGS, AVAILABILITY and SEE ALSO sections across all man pages. 2013-07-16 20:48:05 +02:00
Alexandre Julliard
da35622b83 makefiles: Disable use of Unicode macros globally for all the programs. 2012-01-20 13:14:16 +01:00
Alexandre Julliard
15ccabc9a8 makefiles: Add common rules for installing the main man page. 2010-12-05 16:17:58 +01:00