Eric Pouech
5a94f20065
winedbg: Display line number of syntax errors when reading a command file.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-01 18:13:54 +01:00
Eric Pouech
dd59222d4d
winedbg: Support # as comment delimiter in commands.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-01 18:13:54 +01:00
Eric Pouech
9061634a01
winedbg: Be more strict when detecting a string from an array.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-01 18:13:54 +01:00
Eric Pouech
6cee83a665
winedbg: Protect fetch_float() in CPU backends against buffer overflow.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-26 22:08:55 +01:00
Eric Pouech
0ed49fabc3
winedbg: Protect against incorrect integer size in be_cpu.fetch_integer() method.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-26 22:08:55 +01:00
Eric Pouech
c8006d07eb
winedbg: Use debuggee pointer size when extracting typed value.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-26 22:08:55 +01:00
Eric Pouech
16fb9640d7
winedbg: Get size of underlying integral types in enums.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-26 22:08:55 +01:00
Eric Pouech
5b54dac338
winedbg: Use macros when manipulating variants.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-26 22:08:55 +01:00
Eric Pouech
07502a0646
winedbg: Replace wine_dbgstr_longlong with I64 width modifier.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-26 22:08:54 +01:00
Eric Pouech
a29a8a317a
winedbg: Print 'module+disp' instead of 'func+disp' when the address is after the function.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-26 22:08:54 +01:00
Eric Pouech
d65edd04cc
winedbg: Use I width modifier for DWORD_PTR printf's args.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-26 22:08:54 +01:00
Eric Pouech
14781c7183
winedbg: Use wide-char string literals.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-26 22:08:54 +01:00
Hugh McMaster
015dacccd4
chcp: Add a help string.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-24 18:57:42 +01:00
Hugh McMaster
ec2f579c71
chcp: Print the active code page after successfully setting the new one.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-24 18:56:35 +01:00
Hugh McMaster
97950e014a
chcp: Add internationalization support.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-24 18:56:16 +01:00
Jinoh Kang
ebc60f64e1
winedbg: Implement GDB qXfer object exec-file.
...
Today, when gdbproxy is started with --no-start mode, GDB fails to
recognise the symbol file unless the `file` command or the
`sharedlibrary` command is explicitly issued.
Also, RHEL's downstream GDB complains with the following message:
Remote gdbserver does not support determining executable automatically.
RHEL <=6.8 and <=7.2 versions of gdbserver do not support such automatic executable detection.
The following versions of gdbserver support it:
- Upstream version of gdbserver (unsupported) 7.10 or later
- Red Hat Developer Toolset (DTS) version of gdbserver from DTS 4.0 or later (only on x86_64)
- RHEL-7.3 versions of gdbserver (on any architecture)
Fix this by implementing the qXfer object "exec-file".
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-23 21:02:13 +01:00
Jinoh Kang
f18c0db314
winedbg: Cache GDB qXfer command result for chunked fetching.
...
GDB does not retrieve the result of a qXfer command at once; instead, it
issues a series of requests to obtain the result one "chunk" at a time,
and concatenates those chunks internally. Each request contains offset
and length variables that specify which portion of the result shall be
retrieved.
Today, Winedbg handles this by generating the entire result data each
time a request is received and slicing out the requested range for the
response. This is not only inefficient due to repeated computation,
but also prone to race condition since the result may change between
successive chunk requests due to the dynamic nature of some commands
such as "libraries" and "threads."
Fix this by cacheing the result into a buffer at the first request, and
use the buffer to serve successive chunk requests. The cache is
invalidated when the remote requests a different object, or the debugger
reaches the end of the result cache buffer.
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-23 21:02:13 +01:00
Jinoh Kang
595bfdee71
winedbg: Define table for GDB qXfer command handlers.
...
Define a handler lookup table for qXfer commands and use it.
This facilitates implementing more qXfer commands and cacheing reply
data.
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-23 21:02:13 +01:00
Jinoh Kang
4c01e00dbd
winedbg: Escape XML special characters in qXfer reply.
...
Some dynamic strings (e.g. loaded image paths) may contain XML special
characters which breaks parsing.
Fix this by escaping all dynamic strings (i.e. character data and
attribute values) that go into the XML replies.
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-23 21:02:13 +01:00
Jinoh Kang
26aee726fb
winedbg: Buffer output of GDB qXfer commands for proper slicing.
...
Today, gdbproxy reuses the same buffer for both the qXfer reply and the
actual GDB packet reply. This worked well, since each byte in the qXfer
reply buffer matched 1:1 to each byte in the actual GDB reply packet.
Since we escape special characters now, this property no longer holds
and a single byte in qXfer reply will take up to two bytes in the GDB
reply packet. This causes offsets to shift, preventing the
offset/length response slicing (part of GDB protocol) from working
correctly.
Fix this by writing the qXfer reply data in a separate buffer, and
performing slicing out of it.
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-23 21:02:13 +01:00
Jinoh Kang
16df778627
winedbg: Use exponential growth in gdbproxy reply_buffer_grow.
...
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-23 21:02:13 +01:00
Jinoh Kang
9b29182ca7
winedbg: Refactor gdb_context::out_{buf*,len} into reply_buffer.
...
This is required for a subsequent patch that adds buffering for
GDB qXfer reply data.
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-23 21:02:13 +01:00
Hugh McMaster
996126b2de
conhost: Only use the maximum character width if a double-byte character set is in use.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-23 13:38:23 +01:00
Jinoh Kang
f3478b4ec9
winedbg: Escape special characters in GDB packet reply.
...
There are four special characters in GDB's remote serial protocol:
- '$' (0x24): start of packet
- '}' (0x7D): escape
- '*' (0x2A): run-length encoding repeat count delimiter
- '#' (0x23): end of packet; start of checksum
In particular, the '#' and '}' characters are problematic since they
are often used in library filenames. A few examples:
- %SystemRoot%\assembly\NativeImages_v[.NET ver]\[module+hash]#\*\*.dll
- {CLSID or UUID}\*\.dll
To make GDB happy with those filenames, we scan for those characters and
escape them properly.
While we are at it, also remove the assert in the packet_reply function
that checks for '$' and '#' in the packet payload.
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-19 18:57:28 +01:00
Jinoh Kang
a4b55c620c
winedbg: Use unsigned int for offset/length in GDB qXfer handler.
...
packet_query uses sscanf format "%x" to parse out offset and length
values. Since %x corresponds to unsigned int in the C standard, adjust
the variable types appropriately.
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-19 18:52:30 +01:00
Jinoh Kang
d8c07c1391
winedbg: Replace packet_realloc() with realloc().
...
winedbg is now built with msvcrt, so just use realloc() directly
instead of Win32 heap functions.
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-19 18:52:21 +01:00
Floris Renaud
a6a2580c33
winecfg: Add the command line options to the man page.
...
Signed-off-by: Floris Renaud <jkfloris@dds.nl>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-17 17:59:26 +01:00
Jinoh Kang
820a866f0d
winedbg: Set reuseaddr flag for gdb remote socket.
...
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-17 16:02:29 +01:00
Jinoh Kang
829c06741b
winedbg: Report current thread ID to GDB for all stop replies.
...
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-17 16:01:43 +01:00
Alexandre Julliard
04d8725080
makefiles: Directly generate resources also for non-registered typelibs.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-16 10:22:51 +01:00
Eric Pouech
9808c1d8a3
winedbg: Fix command line arguments parsing.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=42030
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-15 20:00:38 +01:00
Rémi Bernon
7f749d58d9
services: Terminate all service processes on shutdown.
...
Instead of waiting for wineserver to kill them on shutdown, after a
2s delay.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-12 22:42:51 +01:00
Jacek Caban
cf87ceda7c
explorer: Set lib name for null driver.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-10 18:57:27 +01:00
Hans Leidekker
21fad44766
ipconfig: Print primary DNS suffix.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-09 22:02:55 +01:00
Paul Gofman
fd5d942a73
msiexec: Append .msi extension to file name if file is not found.
...
Fixes Stellaris failing to install launcher at start.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-08 10:49:26 +01:00
Francois Gouget
99d36ccfb9
winetest: Don't truncate oversize reports before sending them.
...
test.winehq.org already sets $CGI::POST_MAX to reject oversize reports.
Furthermore truncated reports are rejected anyway.
So avoid the code duplication and inconsistencies between the winetest
and test.winehq.org (or other site) size limits.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-28 18:25:16 +02:00
Eric Pouech
ce6eeda018
winedbg: Use inline contexts oriented APIs for stack backtrace.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 22:40:50 +02:00
Eric Pouech
8852004170
winedbg: Use SymSetScopeFromAddr() instead of SymSetContext().
...
This allows to simplify a bit the frame internal storage
(no longer using IMAGEHLP_STACK_FRAME structure).
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 22:40:50 +02:00
Eric Pouech
83f85f5c91
winedbg: Add a pair of helpers for accessing frames' internal info.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 22:40:50 +02:00
Alexandre Julliard
e0e6eda692
xcopy: Use the standard va_list instead of __ms_va_list.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 11:03:06 +02:00
Alexandre Julliard
789ba0fe41
wmic: Use the standard va_list instead of __ms_va_list.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 11:03:00 +02:00
Alexandre Julliard
acefbcf6c9
winetest: Use the standard va_list instead of __ms_va_list.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 11:02:53 +02:00
Alexandre Julliard
63bff91a7f
winemenubuilder: Use the standard va_list instead of __ms_va_list.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 11:02:26 +02:00
Alexandre Julliard
43e3e1e409
winedbg: Use the standard va_list instead of __ms_va_list.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 11:02:19 +02:00
Alexandre Julliard
9183aec7c7
uninstaller: Use the standard va_list instead of __ms_va_list.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 11:02:12 +02:00
Alexandre Julliard
2c2e75503b
taskkill: Use the standard va_list instead of __ms_va_list.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 11:02:04 +02:00
Alexandre Julliard
7f83b8fdd1
services/tests: Use the standard va_list instead of __ms_va_list.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 11:01:56 +02: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
8667b8d124
regedit: Use the standard va_list instead of __ms_va_list.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 11:01:38 +02:00
Alexandre Julliard
942f9f7157
reg: Use the standard va_list instead of __ms_va_list.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 11:01:29 +02:00
Alexandre Julliard
3b6b24ea42
netstat: Use the standard va_list instead of __ms_va_list.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 11:01:22 +02:00
Alexandre Julliard
3291ead14d
net: Use the standard va_list instead of __ms_va_list.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 11:01:16 +02:00
Alexandre Julliard
b2240d6dfb
ipconfig: Use the standard va_list instead of __ms_va_list.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 11:01:09 +02:00
Alexandre Julliard
bac8aff293
icinfo: Use the standard va_list instead of __ms_va_list.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 11:01:02 +02:00
Alexandre Julliard
2f680d281b
hostname: Use the standard va_list instead of __ms_va_list.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 11:00:55 +02:00
Alexandre Julliard
d39a23c518
fsutil: Use the standard va_list instead of __ms_va_list.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 11:00:46 +02:00
Alexandre Julliard
f0fcb19525
expand: Use the standard va_list instead of __ms_va_list.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 11:00:40 +02:00
Alexandre Julliard
a8a250cdbc
cmd: Use the standard va_list instead of __ms_va_list.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 11:00:27 +02:00
Alexandre Julliard
9be401e3cb
attrib: Use the standard va_list instead of __ms_va_list.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 11:00:16 +02:00
Zhiyi Zhang
e45d51fdda
winefile: Set size before calling RegQueryValueExW().
...
The value in size may be invalid if previous RegQueryValueExW() calls failed.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-20 11:22:30 +02:00
Zhiyi Zhang
b2099bce9b
winecfg: Pass size in bytes to RegQueryValueExW().
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-20 11:22:28 +02:00
Zhiyi Zhang
efd98caef1
cmd: Pass size in bytes to RegQueryValueExW().
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-20 11:22:26 +02:00
Florian Eder
530c183960
robocopy: Add stub.
...
Signed-off-by: Florian Eder <others.meder@gmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-18 21:26:10 +02:00
Alexandre Julliard
d208b29d10
winecfg: Store the logo image in PNG format.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-18 15:56:01 +02:00
Zhiyi Zhang
b1eeaa657d
Revert "winevdm: Enable visual styles.".
...
This reverts commit f304b2ae23
.
16-bit applications don't use themed controls even if theming is on.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51583
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51802
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-18 10:47:56 +02:00
Alexandre Julliard
2a92c58e11
include: Use the standard va_list instead of __ms_va_list when building with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-15 18:28:01 +02:00
Alex Henrie
5d8aac9cb0
winemenubuilder: Introduce a reg_enum_keyW helper function.
...
The helper function reduces code duplication and makes the 'done'
variable in the cleanup_associations function unnecessary.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-13 21:57:11 +02:00
Eric Pouech
01ddc2f8e4
winedbg: Use proper width when printing addresses with leading 0.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-12 18:41:06 +02:00
Eric Pouech
3a869c1f9b
winedbg: Simplify some printing of addresses.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-12 18:41:01 +02:00
Eric Pouech
ad8b107441
winedbg: Use proper modifier when using sscanf for a DWORD_PTR.
...
Regression introduced in 0ea9fe999c
.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-12 18:40:54 +02:00
Eric Pouech
e3fc699afa
winedbg: Fix result type in expression's computation.
...
All internal computation are made with DWORD_PTR and LONG_PTR,
so use corresponding internal type for the result.
Regression introduced in 0ea9fe999c
.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-12 18:40:52 +02:00
Eric Pouech
22c1619409
winedbg: Properly print 64bit integers.
...
Regression introduced in 0ea9fe999c
.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-12 18:40:49 +02:00
Alexandre Julliard
ca03420142
winemenubuilder: Remove dead code.
...
__APPLE__ is never defined in the PE build.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-12 17:36:18 +02:00
Alexandre Julliard
130ec9dbf9
explorer: Use the correct buffer size for the full path name.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-12 12:53:51 +02:00
Alex Henrie
38eb26f047
winemenubuilder: Return pointer from freedesktop_mime_type_for_extension.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-11 21:33:38 +02:00
Alexandre Julliard
97479d3d32
ntdll: Move some exception definitions to winternl.h.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-07 13:52:42 +02:00
Alexandre Julliard
0ea9fe999c
winedbg: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-04 15:20:56 +02:00
Alexandre Julliard
13125b51cd
winedbg: Avoid using the 'long double' type.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-04 15:18:38 +02:00
Alexandre Julliard
b9046a4936
winedbg: Avoid using 'long' types.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-04 14:50:41 +02:00
Alexandre Julliard
6a2325609c
winedbg: Use winsock for the gdb socket.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-04 11:27:43 +02:00
Alexandre Julliard
4adb160635
winemenubuilder: Use wide character string literals.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 11:37:52 +02:00
Alexandre Julliard
f1d4dd7cc8
winemenubuilder: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 11:37:33 +02:00
Alexandre Julliard
2f89d63bb9
winemenubuilder: Use DOS path names to create associations.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 11:36:09 +02:00
Alexandre Julliard
0428292fc7
winemenubuilder: Use DOS path names to create icon files.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 11:36:09 +02:00
Alexandre Julliard
1377be60ba
winemenubuilder: Use DOS path names to create desktop and menu files.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 11:36:09 +02:00
Alexandre Julliard
d4a773a1d7
winemenubuilder: Use Unicode strings to write desktop entries.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 11:36:09 +02:00
Alexandre Julliard
41881ff625
winemenubuilder: Use Unicode strings to process association entries.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 11:36:09 +02:00
Alexandre Julliard
542d67342d
winemenubuilder: Launch .lnk files directly through the Wine loader.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 10:20:15 +02:00
Alexandre Julliard
56701db474
winemenubuilder: Store the paths of .lnk files as DOS paths.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 10:19:32 +02:00
Alexandre Julliard
e14f3c40cd
winemenubuilder: Use PathMatchSpec() instead of fnmatch().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 09:36:17 +02:00
Alexandre Julliard
982a712c4d
winemenubuilder: Abort on memory allocation failures.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 09:35:48 +02:00
Alexandre Julliard
72449b76e8
winebrowser: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-27 17:40:14 +02:00
Alexandre Julliard
cd3e6db5a5
winevdm: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-27 17:40:14 +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
Alexandre Julliard
6ba7773121
makefiles: Add a -mcygwin flag to specify the inverse of -mno-cygwin.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Alexandre Julliard
fefb5da4ba
mountmgr: Make creating a backup optional for shell folders.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-17 16:49:30 +02:00
Alexandre Julliard
0f284520ec
wineboot: Add a generic mechanism for pre-installing things before the main wine.inf section.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-17 12:57:24 +02:00
Eric Pouech
0646e15665
winedbg: Show dwarf version(s) used for a module.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-15 22:06:55 +02:00
Nikolay Sivov
2de886dd7b
services/tests: Fix printf-style helper format (Coverity).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-14 21:41:28 +02:00
Bernhard Übelacker
810de9d1a7
cmd: Load start.exe from the system directory.
...
Fixes cmd test in pure 64-bit wine.
Signed-off-by: Bernhard Übelacker <bernhardu@mailbox.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-09 22:30:45 +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
Bernhard Übelacker
36cc3d4c9c
cmd/tests: Add test for attrib without parameter.
...
Signed-off-by: Bernhard Übelacker <bernhardu@mailbox.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-08 20:49:19 +02:00
Bernhard Übelacker
5ec1524326
attrib: Avoid crash when called without parameter.
...
If attrib is called without any parameter the variable originalname
is used uninitialized.
Signed-off-by: Bernhard Übelacker <bernhardu@mailbox.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-08 20:49:05 +02:00
Zhiyi Zhang
b8578a8ba9
wordpad: Add system DPI awareness settings to the application manifest.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-08 08:55:04 +02:00
Zhiyi Zhang
bfd1e33fb3
winver: Add system DPI awareness settings to the application manifest.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-08 08:55:02 +02:00
Zhiyi Zhang
227446dacd
winevdm: Add system DPI awareness settings to the application manifest.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-08 08:55:00 +02:00
Zhiyi Zhang
54ac92790a
winetest: Add system DPI awareness settings to the application manifest.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-08 08:54:58 +02:00
Zhiyi Zhang
1fcc3bce8c
winemine: Add system DPI awareness settings to the application manifest.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-08 08:54:56 +02:00
Zhiyi Zhang
838e7bcd1b
winefile: Add system DPI awareness settings to the application manifest.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-08 08:54:54 +02:00
Zhiyi Zhang
dacf456ca6
winedbg: Add system DPI awareness settings to the application manifest.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-08 08:54:52 +02:00
Zhiyi Zhang
757be27481
winecfg: Add system DPI awareness settings to the application manifest.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-08 08:54:50 +02:00
Zhiyi Zhang
7ba8481f32
wineboot: Add system DPI awareness settings to the application manifest.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-08 08:54:45 +02:00
Alexandre Julliard
d02d50299b
winecfg: Use Unicode functions throughout.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-07 21:35:54 +02:00
Alexandre Julliard
a243a7af97
winecfg: Use wide character string literals.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-07 21:35:54 +02:00
Alexandre Julliard
fe9799314b
winecfg: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-07 21:35:54 +02:00
Alexandre Julliard
01a2b9c628
winecfg: Use mountmgr to manage shell folders.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-07 21:35:54 +02:00
Zhiyi Zhang
0db1d906f5
view: Add system DPI awareness settings to the application manifest.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-07 10:17:05 +02:00
Zhiyi Zhang
ae384e6377
uninstaller: Add system DPI awareness settings to the application manifest.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-07 10:17:02 +02:00
Zhiyi Zhang
ce9b2911d4
taskmgr: Add system DPI awareness settings to the application manifest.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-07 10:16:59 +02:00
Zhiyi Zhang
190467d6af
regedit: Add system DPI awareness settings to the application manifest.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-07 10:16:56 +02:00
Zhiyi Zhang
bec770bc94
oleview: Add system DPI awareness settings to the application manifest.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-07 10:16:53 +02:00
Zhiyi Zhang
3c8bd7c0d0
notepad: Add system DPI awareness settings to the application manifest.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-07 10:16:50 +02:00
Zhiyi Zhang
517eccd0c1
msinfo32: Add system DPI awareness settings to the application manifest.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-07 10:16:46 +02:00
Zhiyi Zhang
aa3f2ccd1d
msiexec: Add system DPI awareness settings to the application manifest.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-07 10:16:43 +02:00
Zhiyi Zhang
8e11db9d55
iexplore: Set process DPI settings to be system awareness.
...
iexplore.exe doesn't have DPI awareness settings in its manifest. However, tests show that it has at
least per-monitor DPI awareness on Win10.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-07 10:16:39 +02:00
Zhiyi Zhang
3f95a56e59
hh: Add system DPI awareness settings to the application manifest.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-06 14:55:08 +02:00
Zhiyi Zhang
f613323d93
explorer: Add system DPI awareness settings to the application manifest.
...
This is also required for get_monitor_dpi() in wineserver to function properly for DPI unaware
applications because it uses desktop window DPI as monitor DPI.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-06 14:55:06 +02:00
Zhiyi Zhang
3331d92a3c
dxdiag: Add system DPI awareness settings to the application manifest.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-06 14:55:04 +02:00
Zhiyi Zhang
a30d2c5821
clock: Add DPI system awareness settings to the application manifest.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-06 14:55:02 +02:00
Zhiyi Zhang
882516e58c
control: Add DPI system awareness settings to the application manifest.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-06 14:54:59 +02:00
Alex Henrie
14bbccf756
cmd: Fix capitalization of WCMD_ReadFile in comment.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-06 14:50:28 +02:00
Eric Pouech
b99d7db835
winedbg: Allow debugging a 32bit target from a 64bit winedbg.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-02 21:57:39 +02:00
Zhiyi Zhang
53a0d57aff
winecfg: Use OpenThemeDataForDpi() to create a theme handle not associated to a window.
...
If a window is not passed to OpenThemeData(), OpenThemeData() assumes the DPI is 96 according to
tests. And GetThemePartSize() should select theme parts according to the DPI stored in theme
handles rather than using GDI device contexts. Thus, OpenThemeDataForDpi() should be used in place
of OpenThemeData() when DPI is not 96 and theme handles shouldn't be associated with a window.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-01 17:06:22 +02:00
Hugh McMaster
0eab766bce
conhost: Set keyboard focus to correct radio button in save dialog.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-31 21:56:52 +02:00
Francois Gouget
7d82abd2be
winedbg: dbg_get_debuggee_info() is not used anymore. Remove it.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-26 21:49:09 +02:00
Alistair Leslie-Hughes
4a18232e45
services: Check correct permission for QueryServiceConfig2W.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50412
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-25 22:03:29 +02:00
Hugh McMaster
a7fb08fba6
conhost: Use font face length as number of characters.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-25 18:27:44 +02:00
Francois Gouget
37f492ae55
services/tests: Vista+ returns fixed 1024x768 WinDisc monitor information.
...
Unlike Windows XP which returned the actual display information to
non-interactive services.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-23 12:08:18 +02:00
Gijs Vermeulen
e2db7ef7f4
winecfg: Disable virtual desktop when using macdrv.
...
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-18 20:08:20 +02:00
Jacek Caban
da86e50e29
conhost: Use message window to return a window for windowless consoles.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=38640
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-17 18:16:49 +02:00
Jacek Caban
365e99c022
conhost: Use dedicated ioctl for GetConsoleWindow.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-17 18:16:49 +02:00
Zhiyi Zhang
766388c552
wordpad: Use large icons for toolbar when DPI is greater than 120.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-17 11:44:12 +02:00
Hugh McMaster
bd9db4b6de
conhost: Use correct size when storing font FaceName in the registry.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-09 21:40:44 +02:00
Hugh McMaster
3bf6b27882
conhost: Copy font properties to the new screen buffer.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50187
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-05 20:43:28 +02:00
Hugh McMaster
cfb0d152eb
conhost: Set screen buffer height to 150 characters in registry defaults.
...
This matches the defaults in create_screen_buffer().
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-02 22:57:38 +02:00
Hugh McMaster
30edd84929
conhost: Remove duplicate lines from current_config().
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-02 22:57:38 +02:00
Hugh McMaster
04d52eb83f
reg: Support use of registry views in the 'copy' operation.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50962
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-27 21:09:49 +02:00
Hugh McMaster
f1023b4b52
conhost: Popup Attributes should match Character Attributes when creating a new screen buffer.
...
Popup Attributes should match Character Attributes when a new screen
buffer is created. The existing Popup Attributes are copied when
using a pseudo console.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-26 21:44:25 +02:00
Francois Gouget
2197bc9a92
winetest: Fix handling of relative -d directories.
...
Convert them to an absolute path so they result in a command line which
is still valid after changing the current directory in CreateProcess().
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-26 19:42:25 +02:00
Hugh McMaster
d92f26ed12
reg/tests: Test use of registry views when copying registry data.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-26 19:42:24 +02:00
Hugh McMaster
b17eb27112
conhost: Copy Character Attributes (colors) to the new screen buffer.
...
CreateConsoleScreenBuffer() copies the Character Attributes (colors)
to the new screen buffer when called.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-23 16:43:50 +02:00
Anton Baskanov
384fc71a48
winedbg: Report library load/unload events to GDB.
...
This allows GDB to load symbols and resolve pending breakpoints for
dynamically loaded DLLs.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-21 22:11:37 +02:00
Francois Gouget
dc8ef75904
winetest: Create the -d directory if it does not exist already.
...
'winetest.exe' automatically creates '%TEMP%\wct' (or an alternative new
directory).
'winetext.exe -x DIR' automatically creates DIR.
'winetest.exe -d DIR' now automatically creates DIR too.
In all cases newly created directories are removed after the tests.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-19 15:37:47 +02:00
Hugh McMaster
fcf7942614
reg: Support use of registry views when exporting registry data.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-19 12:23:56 +02:00
Hugh McMaster
0b5ba1d0be
reg/tests: Use correct file and line arguments with delete_file().
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-19 12:23:53 +02:00
Hugh McMaster
959ea6677e
reg/tests: Split 'export' syntax tests into a separate function.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-19 12:23:50 +02:00
Hugh McMaster
fee692178c
reg/tests: Test use of registry views when exporting registry data.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-19 12:23:40 +02:00
Hugh McMaster
49cde09958
reg/tests: Add registry view syntax tests for the 'import' operation.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-09 22:25:32 +02:00
Hugh McMaster
0c71a9879d
reg: Support use of registry views in the 'import' command.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-08 14:41:20 +02:00
Hugh McMaster
f2ce614d85
reg/tests: Test use of registry views when importing keys and values.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-07 16:33:44 +02:00
Esme Povirk
53ec99daeb
rundll32: Only call LoadLibrary16 on x86.
...
These are imported by ordinal, so on other architectures we end
up calling whatever ends up on that ordinal, which is currently
Beep on x86_64.
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-07 11:32:38 +02:00
Hugh McMaster
e3d14e66f7
reg/tests: Split 'import' syntax tests into a separate function.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-06 16:07:32 +02:00
Francois Gouget
37ea62f674
winetest: Report GetLastError() when CreateProcess() fails.
...
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-05 19:55:30 +02:00
Eric Pouech
40587a620e
winedbg: Add helper in gdbproxy mode to get proper address width information.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-02 20:48:48 +02:00
Eric Pouech
6c91e61c40
winedbg: Correct mapping read/write/execute information.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-02 20:48:23 +02:00
Eric Pouech
5d8bad570d
winedbg: Fix crash when no process attached in 'info wnd' command.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49625
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-02 20:47:55 +02:00
Hugh McMaster
8eef4a8735
reg: Support use of registry views in the 'query' operation.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-02 16:53:50 +02:00
Hugh McMaster
48c7386872
reg/tests: Check all error codes in delete_tree() before returning.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-02 16:53:50 +02:00
Zhiyi Zhang
5cebefc24f
winecfg: Don't convert font height to points when saving system font metrics.
...
Fix tooltip font size becomes smaller after clicking the apply button in Desktop Integration tab.
For example, the original non-client area tooltip font lfHeight is -11. 11 pixels is 8 points in 96
DPI. Setting font size to 8 points to SPI_SETNONCLIENTMETRICS will make SPI_GETNONCLIENTMETRICS
report lfHeight as 8. With lfHeight being 8, CreateFontIndirectW() creates a smaller font. This
behavior is added by 5b8fdb9
. I assume the intention was to save font size in a DPI-independent way.
However, when lfHeight is negative, lfHeight will still be scaled back to 96 DPI before saving it to
registry and scaled to system DPI when it's read from registry. So I think converting to points is
unnecessary.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-02 12:39:12 +02:00
Eric Pouech
8600ba2934
winedbg: Accept hex values in command line.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-01 22:34:31 +02:00
Hugh McMaster
45955658e1
reg/tests: Test use of registry views when querying registry values.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-01 22:34:31 +02:00
Hugh McMaster
3186a00463
reg/tests: Don't verify key deletion after calling delete_tree().
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-01 22:34:31 +02:00
Hugh McMaster
5115e51adb
reg/tests: Verify key opening and key deletion in delete_tree().
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-01 22:34:31 +02:00
Hugh McMaster
76b3009752
reg/tests: Test use of registry views with the 'query' operation.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-29 19:55:22 +02:00
Jacek Caban
8dfcc1e3bc
conhost: Silence FIXME in console_input_ioctl.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-28 19:43:28 +02:00
Hugh McMaster
a899d743c5
reg/tests: Split 'query' syntax tests into a separate function.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-28 19:43:28 +02:00
Hugh McMaster
31f070f7d3
reg: Support use of registry views when deleting registry keys.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-28 19:43:28 +02:00
Hugh McMaster
8d42cb9c1c
reg: Support use of registry views when deleting registry values.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-28 19:43:28 +02:00
Bernhard Übelacker
61310dd3b8
winedbg: Try to load debug symbols for executable in gdb mode.
...
Signed-off-by: Bernhard Übelacker <bernhardu@mailbox.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-25 22:48:48 +02:00
Hugh McMaster
556121b1ca
reg/tests: Test deletion of keys and values using registry views.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-25 22:48:48 +02:00
Hugh McMaster
8ad9c21b05
reg/tests: Remove duplicate test from test_registry_view_wow64().
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-25 22:48:47 +02:00
Hugh McMaster
d790c59349
reg/tests: Modify delete_tree() to support the use of registry views.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-25 22:48:47 +02:00
Zhiyi Zhang
bf6ed90cd6
winecfg: Set buddy window for the size up-down control only once.
...
Fix the size up-down control becoming smaller every time the apply button is pressed in the Desktop
Integration tab.
UDM_SETBUDDY always shrinks the buddy window for a up-down control according to tests. And a
PSN_SETACTIVE notification is sent every time the apply button is pressed, thus init_dialog() gets
called again and sends an extra UDM_SETBUDDY message.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-22 17:57:46 +02:00
Florian Eder
617d14bc12
cmd: Do not change errorlevel when setting environment variables.
...
Changes CMD to set its errorlevel to 0 only when the value of an environment variable
is set in in non-interactive / batch mode, retains the previous value otherwise.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47791
Signed-off-by: Florian Eder <others.meder@gmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-18 21:08:03 +02:00
Hugh McMaster
7c9f372480
reg/tests: Move 'delete' syntax tests into a separate function.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-18 16:49:34 +02:00
Hugh McMaster
304b80a9b5
reg: Support the use of registry views during the 'add' operation.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-18 16:49:27 +02:00
Hugh McMaster
24d0d6f524
reg/tests: Test key and value creation in 32-bit and 64-bit registry views.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-17 20:02:26 +02:00
Hugh McMaster
0d60749c21
reg/tests: Modify add_key() to support key creation in registry views.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-16 23:23:49 +02:00
Hugh McMaster
ff0445a5de
reg/tests: Update delete_value() declaration to deconstify 'const HKEY'.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-16 23:23:49 +02:00
Hugh McMaster
9780dfc01a
reg/tests: Modify verify_key_nonexist() to support registry views.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-16 23:23:49 +02:00
Hugh McMaster
fdceb5ed7e
reg/tests: Modify verify_key() to support opening of registry views.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-16 23:23:49 +02:00
Hugh McMaster
0eb85504b4
reg/tests: Update reg_open() and reg_open_() definitions.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-16 23:23:49 +02:00
Hugh McMaster
f068691995
reg/tests: Modify delete_key() to support use of RegDeleteKeyEx().
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-16 23:23:49 +02:00
Zhiyi Zhang
b527c13c54
winetest: Enable visual styles.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-16 09:00:16 +02:00
Zhiyi Zhang
7aa1d1cbe1
winedbg: Enable visual styles.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-16 09:00:12 +02:00
Zhiyi Zhang
1a47d1b96f
uninstaller: Enable visual styles.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-16 09:00:07 +02:00
Zhiyi Zhang
af242e43cb
clock: Enable visual styles.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-16 09:00:02 +02:00
Zhiyi Zhang
b564414e9b
wordpad: Enable visual styles.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-11 10:55:03 +02:00
Zhiyi Zhang
fb84605470
winver: Enable visual styles.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-11 10:54:59 +02:00
Zhiyi Zhang
f304b2ae23
winevdm: Enable visual styles.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-11 10:54:53 +02:00