Bernhard Übelacker
f238e846e7
cmd.exe: Change parsing of the if command to avoid parsing the operators.
...
Found while trying to look into bug 44236.
A batch script is executed containing a line like this:
if (%1)==(p) start /W " " "%SFDIR%WSFplot" wr2300.t35 3
This returns an error like this:
Syntax error
Can't recognize 'p' as an internal or external command, or batch script.
It looks like native does handle the brackets differently when contained
inside the condition part of the if command.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=44338
Signed-off-by: Bernhard Übelacker <bernhardu@mailbox.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-23 22:12:09 +02:00
Bernhard belacker
4684e1a9c6
cmd.exe: Command type with multiple files should print filenames to stderr.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46983
Signed-off-by: Bernhard Übelacker <bernhardu@mailbox.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-21 20:04:40 +02:00
Fabian Maurer
a64b9c93b1
find/tests: First tests.
...
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-20 21:29:37 +02:00
Damjan Jovanovic
42fa293d48
start.exe: Search PATH for the executable to launch.
...
We want to launch all executables through CreateProcess(), but need to
provide the full path, as the searching CreateProcess() does
internally when the application name is NULL is more limited: it only
searches for .EXE files.
Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-19 22:17:20 +02:00
Damjan Jovanovic
3c7501e8f0
start.exe: Launch all binaries through CreateProcess().
...
This lets us pass them the title, priority classes, and other
options unsupported by ShellExecuteEx().
Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-19 22:16:58 +02:00
Damjan Jovanovic
f2fa7ec3c5
start.exe: Pass the "show window" flags to CreateProcess() too.
...
Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-19 22:16:51 +02:00
Damjan Jovanovic
ada8b1ab93
cmd.exe: If there is a title given through STARTUPINFO, use it.
...
Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-19 22:16:46 +02:00
Damjan Jovanovic
6ae919de81
start.exe: Unquote the title.
...
Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-19 22:16:42 +02:00
Zebediah Figura
2430c17202
services: Don't redirect the image file path for kernel drivers.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47623
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-19 11:29:28 +02:00
Alexandre Julliard
44ee1c47ff
wineboot: Only use cpuid on platforms where it makes sense.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-13 20:24:48 +02:00
Zebediah Figura
57038f8ca3
services: Fix the arguments to is_root_pnp_service().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-31 09:40:14 +02:00
Alexandre Julliard
e245df2a0c
wineboot: Fix do_cpuid() calling convention.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47464
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-06 16:14:46 +02:00
Alexandre Julliard
4a8483044e
wineboot: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-05 11:38:15 +02:00
Zebediah Figura
4f8dfdba3d
services: Do not overwrite the service type in SetServiceStatus().
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-04 21:14:53 +02:00
Zebediah Figura
946e1b2f6b
services: Report a PID of 0 for drivers.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-04 09:39:54 +02:00
Alexandre Julliard
51bc180c1f
wineboot: Avoid using getopt_long().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-03 23:44:24 +02:00
Jacek Caban
1bb98982d6
winedbg: Set auto attach event after processing the first exception.
...
On Windows, the process is broken into by ordering an actual debug
break execution in a new thread. We need to process this event before
continuing exception handling in debuggee to avoid race.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 20:43:19 +02:00
Jacek Caban
136a0ac49b
winedbg: Move continue_on_first_exception handling out of dbg_attach_debuggee.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 20:43:19 +02:00
Zebediah Figura
887a57fadd
services: Load root PnP drivers on startup.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-25 19:27:13 +02:00
Jacek Caban
d8dec0b3f9
services: Support delayed autostart services.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-20 22:34:13 +02:00
Alistair Leslie-Hughes
101820d01a
dbghelp: Use internal flag for loading native files.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-10 12:29:30 +02:00
Michael Stefaniuc
12e085d7e6
winedbg: Fix the spelling of a comment.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-04 23:06:08 +02:00
Alexandre Julliard
f2a7405a09
winecrt0: Make the main() and wmain() entry points cdecl.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-30 15:04:06 +02:00
Piotr Caban
496380709d
services: Don't double release process in service_start.
...
Fixes a crash while running ntoskrnl tests.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-27 20:41:12 +02:00
Alexandre Julliard
386f372f05
winoldap.mod: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-21 18:08:36 +02:00
Alexandre Julliard
f3df87b3e0
winhelp.exe: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-21 18:08:36 +02:00
Alexandre Julliard
2e45ce1326
rundll.exe: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-21 18:08:36 +02:00
Huw Davies
e73d824121
explorer: Set the default driver to mac,x11 in all cases.
...
The host specific options won't work with the PE build anyway.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-20 18:32:02 +02:00
Alexandre Julliard
a23c20eee1
include: Don't allow using wine/library.h with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-17 20:01:01 +02:00
Alexandre Julliard
92e50f5757
cabarc: Remove duplicate defines.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-16 22:55:50 +02:00
Matteo Bruni
1e145b12a7
winecfg: Don't mark glu32 as builtin-only.
...
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-16 20:54:23 +02:00
Alexandre Julliard
d5a372abbb
include: Move inline assembly definitions to a new wine/asm.h header.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-14 13:45:07 +02:00
Tim Schumacher
7b139bbb5c
services: Allow reading binary registry values as DWORDs.
...
Some programs/services actually save those values as a registry
value of the type REG_BINARY.
Signed-off-by: Tim Schumacher <timschumi@gmx.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-13 12:49:31 +02:00
Alexandre Julliard
50af5c8337
winefile: Explicitly mark qsort() callback funtions cdecl.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-06 07:13:53 -05:00
Alexandre Julliard
89cbab5d51
uninstaller: Explicitly mark a qsort() callback funtion cdecl.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-06 07:13:53 -05:00
Alexandre Julliard
4b69b6710a
services: Explicitly mark a qsort() callback funtion cdecl.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47122
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-06 07:13:47 -05:00
Alexandre Julliard
7f0272a59a
cmd: Explicitly mark qsort() callback funtions cdecl.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-06 03:40:25 -05:00
Alexandre Julliard
e5e79bb7aa
explorer: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-03 16:30:39 +02:00
Alexandre Julliard
ed22f0454b
explorer: Move screen saver activation to the X11 driver.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-03 16:30:39 +02:00
Alexandre Julliard
43c430a6d8
cmd: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-03 16:30:39 +02:00
Alexandre Julliard
9c6f2e2d88
winefile: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 11:08:17 +02:00
Alexandre Julliard
dff5a02546
winefile: Get rid of the Unix filesystem support.
...
We already have a unixfs shell folder.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 11:08:17 +02:00
Alexandre Julliard
7497710839
ping: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 11:08:17 +02:00
Alexandre Julliard
cf39ae8962
ping: Avoid using getopt().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 11:08:17 +02:00
Alexandre Julliard
4432405ec5
wscript: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 11:08:17 +02:00
Alexandre Julliard
bb90e8dd49
write: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 11:08:17 +02:00
Alexandre Julliard
be5c1c86d4
wmic: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 11:08:17 +02:00
Alexandre Julliard
6cd7240fec
winhlp32: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 11:08:17 +02:00
Alexandre Julliard
15c4352f4c
winetest: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 11:08:17 +02:00
Alexandre Julliard
d87da76156
winemsibuilder: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 11:08:16 +02:00
Alexandre Julliard
4a8ae1c0f4
winemine: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 11:08:16 +02:00
Alexandre Julliard
8a52a73fe9
winedevice: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 11:08:16 +02:00
Alexandre Julliard
422ab96bcd
view: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-01 10:40:40 +02:00
Alexandre Julliard
01db71e4e4
uninstaller: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-01 10:40:32 +02:00
Alexandre Julliard
fb80c1b554
taskkill: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-01 10:40:25 +02:00
Alexandre Julliard
d0d51f98d8
svchost: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-01 10:40:19 +02:00
Alexandre Julliard
dae088939b
start: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-01 10:40:12 +02:00
Alexandre Julliard
32d7838da7
services: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-01 10:40:06 +02:00
Alexandre Julliard
13eac40939
schtasks: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-01 10:40:00 +02:00
Alexandre Julliard
a0863ce2e5
sc: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-01 10:39:55 +02:00
Alexandre Julliard
b09e18c40d
rundll32: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-01 10:39:49 +02:00
Alexandre Julliard
94700e8376
rpcss: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-01 10:39:42 +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
65e2d341a0
progman: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 09:55:50 +02:00
Alexandre Julliard
cd6aa5f229
oleview: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 09:55:42 +02:00
Alexandre Julliard
b13ce7597b
netstat: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 09:54:54 +02:00
Alexandre Julliard
cf391dc3e7
net: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 09:54:45 +02:00
Alexandre Julliard
8dff0e3445
msiexec: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 09:54:38 +02:00
Alexandre Julliard
40058d0486
msidb: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 09:54:28 +02:00
Alexandre Julliard
adeb282c33
ipconfig: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 09:54:17 +02:00
Alexandre Julliard
d47770e503
iexplore: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 09:54:08 +02:00
Alexandre Julliard
30ab4fe8ca
icinfo: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 09:54:05 +02:00
Alexandre Julliard
fdc124c1c6
hostname: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 09:54:02 +02:00
Alexandre Julliard
cc47be73c9
hh: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 09:53:59 +02:00
Alexandre Julliard
7cbae6b62c
extrac32: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-29 18:46:25 +02:00
Alexandre Julliard
b5e2f767b6
expand: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-29 18:46:25 +02:00
Alexandre Julliard
5bf6ab713d
eject: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-29 18:46:25 +02:00
Alexandre Julliard
d846e49a74
dxdiag: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-29 18:46:25 +02:00
Alexandre Julliard
3efefad87d
control: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-29 18:46:25 +02:00
Alexandre Julliard
3e25a1b26f
clock: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-29 18:46:25 +02:00
Alexandre Julliard
c7c9b45544
cabarc: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-29 18:46:25 +02:00
Alexandre Julliard
45442d270c
attrib: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-29 18:46:25 +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
Alexandre Julliard
76e6883a5e
makefiles: Build stub services with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-24 11:32:32 +02:00
Alexandre Julliard
4ec78dc7b5
makefiles: Build stub programs with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-24 11:27:57 +02:00
Alexandre Julliard
a58f4abc08
makefiles: Allow using EXTRADLLFLAGS instead of APPMODE.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-24 11:27:39 +02:00
Alexandre Julliard
3a02bc2ecd
winetest: Also check for builtin dll signature.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-22 19:48:26 +02:00
Zebediah Figura
a41c73d43e
regedit: Use an I-beam cursor in the hex edit dialog.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-22 11:15:47 +02:00
Hans Leidekker
6c486058f8
wineboot: Also process Run keys from the 32-bit registry view.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-19 12:04:36 +02:00
Zebediah Figura
cf274c6f0c
regedit: Use the default implementation of WM_ERASEBKGND.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-19 12:02:14 +02:00
Zebediah Figura
dcd9376ae7
wordpad: Use GetSysColorBrush().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-19 12:02:01 +02:00
Zebediah Figura
35afdf0f79
winecfg: Also set the text color for the license and version controls.
...
Otherwise they will default to black and not respect theming.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-18 23:11:38 +02:00
Zebediah Figura
f05fa1b99d
winecfg: Use GetSysColorBrush().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-18 23:11:36 +02:00
Alexandre Julliard
1f38c1abf6
include: Add wcsicmp() inline wrapper.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-11 16:46:41 +02:00
Alexandre Julliard
9b63daca51
include: Default to the standards-compliant version of swprintf().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-11 16:46:41 +02:00
Alexandre Julliard
1d6a410244
makefiles: Unify APPMODE and EXTRADLLFLAGS variables.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-09 15:46:03 +02:00
Vijay Kiran Kamuju
17056908ac
taskmgr: Use StrFormatKBSizeW/StrFormatByteSizeW to show memory usage.
...
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-04 22:30:44 +02:00
Alexandre Julliard
8268c47462
reg: Add missing null to terminate a string.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-03 21:47:59 +02:00
Isira Seneviratne
5d14f02f6a
start: Correct capitalization of "Windows Explorer".
...
Signed-off-by: Isira Seneviratne <isirasen96@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-03 19:28:19 +02:00
Isira Seneviratne
f4d4fba14c
cmd: Correct capitalization of "Windows Explorer".
...
Signed-off-by: Isira Seneviratne <isirasen96@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-03 19:28:19 +02:00