Commit graph

76153 commits

Author SHA1 Message Date
Jérôme Gardou 493ceb7ade [CMAKE] Fix host tools build on x86-64 mingw
Dynamically check for sys/types.h and pid_t in wine config.h
Use TARGET_xxx defines instead of _X86_ as this is undefined by GCC
Add some sense in include directories management by using interface
libraries
2019-11-15 16:22:06 +01:00
Katayma Hirofumi MZ 15748cf03a [MEDIA][FONTS] Improve tahomabd.ttf (Cyrillic) No.11
Tahoma Bold font.
Version 0.005 khmz
12px CYRILLIC SMALL LETTER O.
12px CYRILLIC SMALL LETTER IE.
12px CYRILLIC SMALL LETTER EM.
12px CYRILLIC SMALL LETTER TE.
12px CYRILLIC SMALL LETTER SHCHA.
CORE-8408
2019-11-15 22:17:20 +09:00
Katayma Hirofumi MZ 463a3f8c06 [MEDIA][FONTS] Improve tahoma.ttf (Cyrillic) No.10
Tahoma font.
Version 0.009 khmz.
12px CYRILLIC SMALL LETTER TSE.
12px CYRILLIC SMALL LETTER SHA.
12px CYRILLIC SMALL LETTER ZHE.
2019-11-15 22:00:10 +09:00
Katayma Hirofumi MZ c58eced19b [MEDIA][FONTS] Improve Cyrillic glyphs of tahoma.ttf a bit
Tahoma font.
Version 0.008 khmz.
11px CYRILLIC SMALL LETTER SHA.
2019-11-15 20:01:01 +09:00
Katayma Hirofumi MZ ff715073ca [MEDIA][FONTS] More improve Cyrillic glyphs of tahomabd.ttf
Tahoma Bold.
Version 0.004 khmz.
11px CYRILLIC SMALL LETTER DE.
11px CYRILLIC SMALL LETTER SOFT SIGN.
2019-11-15 18:53:40 +09:00
Katayama Hirofumi MZ 8f129932dd
[SHELL32] Simply return S_OK if *pdwEffect is none (#2039)
IDropTarget::DragEnter must simply return S_OK if *pdwEffect == DROPEFFECT_NONE. CORE-11238
2019-11-15 18:02:06 +09:00
Katayma Hirofumi MZ 6b1ca2895b [MEDIA][FONTS] Improve Cyrillic glyphs of tahomabd.ttf
Tahoma Bold.
Version 0.003 khmz.
11px CYRILLIC SMALL LETTER EF.
11px CYRILLIC SMALL LETTER GHE.
11px CYRILLIC SMALL LETTER GJE.
11px CYRILLIC SMALL LETTER U.
11px CYRILLIC SMALL LETTER SHORT U.
11px CYRILLIC SMALL LETTER TSE.
11px CYRILLIC SMALL LETTER YERU.
11px CYRILLIC SMALL LETTER TE.
2019-11-15 17:25:39 +09:00
Katayma Hirofumi MZ ff77ddff5e [MEDIA][FONTS] Improve Cylliric glyphs of tahoma.ttf more
11px CYRILLIC SMALL LETTER TE.
11px CYRILLIC SMALL LETTER SOFT SIGN.
2019-11-15 17:01:59 +09:00
Katayma Hirofumi MZ 6fe6a88b04 [MEDIA][FONTS] Improve Cyrillic bitmap glyphs of tahoma.ttf
Version 0.0006 khmz.

12px CYRILLIC SMALL LETTER EF.
11px CYRILLIC SMALL LETTER EM.
11px CYRILLIC SMALL LETTER SOFT SIGN.
11px CYRILLIC SMALL LETTER DE.
2019-11-15 12:56:58 +09:00
Katayama Hirofumi MZ 1b7732093c
[CMD] Unquote string at pushd (#2031)
pushd command of cmd.exe didn't treat the quoted parameter correctly.
- Call StripQuotes in SetRootPath function.
- Fix typo of FEATURE_DIRECTORY_STACK.
This PR will enable "Command Prompt" here. CORE-12150
2019-11-15 11:51:58 +09:00
Katayma Hirofumi MZ f038c2339b [BOOTDATA] s/cmd/cmd.exe/ 2019-11-15 10:09:13 +09:00
Tibor Lajos Füzi 352b2410cc [TRANSLATION] Add/update Hungarian translation for comctl32, samsrv, syssetup (#2036) 2019-11-15 00:12:25 +01:00
Katayama Hirofumi MZ 90c63d12a1
[SHELL32][BOOTDATA] Implement Command Prompt here (#2029)
Add "Command Prompt here" menu item to the Right-click menu of normal folders and drives. Currently, this menu item doesn't work correctly because of the bug of pushd. CORE-12150
2019-11-14 23:25:21 +09:00
Katayama Hirofumi MZ e753d5e108
[CMD_APITEST] Add cmd_apitest testcases (#2034)
Add some testcases for cmd.exe. CORE-12150
2019-11-14 22:52:31 +09:00
Dmitry Borisov 96040ecff9 [FREELDR] Fix triple fault with debug on screen
Move the trace call after the MachInit()
CORE-16507
2019-11-13 22:52:20 +01:00
Pierre Schweitzer 986f6a4b24
[SHELLBTRFS] Properly fix AppVeyor build
This reverts bb6fece
2019-11-13 08:22:13 +01:00
Katayma Hirofumi MZ bb6feced9f [SHELLBTRFS] Fix build (don't use C++11 auto) 2019-11-13 12:30:33 +09:00
Hermès Bélusca-Maïto d21ff0ed13
[NTOS:KDBG] Rewrite the TSS handling code in the backtrace function, removing limitations (and bugs) of the original code.
CORE-16448, PR #2003. Supersedes PR #1997.

This commit supersedes commit 6c5c7809 (r54503).

The original code was checking for the NMI or Double-Fault TSS by
comparing the current stack-traced EIP address with their corresponding
trap handler address ranges. That method was actually buggy because
nothing was ensuring that the trap handlers were in the "expected" order
in the kernel binary (and in memory).

Instead, we now can handle completely generic nested TSSes, instead of
just the NMI or the Double-Fault ones.
The way we proceed is by performing the full stack backtrace of the
current TSS, then once finished we check whether this TSS is nested
(has a parent). If so we change the (cached) current TSS to the latter,
restarting the backtrace at the parent TSS' latest EIP.

Examples of stack backtraces:
=============================

- General Protection fault:

<snip>

*** Fatal System Error: 0x0000007f
                       (0x0000000D,0x00000000,0x00000000,0x00000000)

Entered debugger on embedded INT3 at 0x0008:0x80953528.
kdb:> bt
Eip:
<ntoskrnl.exe:153529 (sdk/lib/rtl/i386/debug_asm.S:57 (RtlpBreakWithStatusInstruction))>
Frames:
<ntoskrnl.exe:899b0 (ntoskrnl/ke/bug.c:1136 (KeBugCheckWithTf))>
<ntoskrnl.exe:134826 (ntoskrnl/ke/i386/exp.c:1161 (KeRaiseUserException))>
<ntoskrnl.exe:19ae67 (ntoskrnl/ke/i386/traphdlr.c:1282 (KiTrap0DHandler))>
<ntoskrnl.exe:19a840 (:0 (KiTrap0D))>
<ntoskrnl.exe:1925e6 (ntoskrnl/include/internal/i386/intrin_i.h:45 (KiInitMachineDependent))>
<ntoskrnl.exe:187688 (ntoskrnl/ke/krnlinit.c:305 (KeInitSystem))>
<ntoskrnl.exe:17fb2f (ntoskrnl/ex/init.c:1621 (Phase1InitializationDiscard))>
<ntoskrnl.exe:3247f (ntoskrnl/ex/init.c:2019 (Phase1Initialization))>
<ntoskrnl.exe:11c079 (ntoskrnl/ps/thread.c:156 (PspSystemThreadStartup))>
<ntoskrnl.exe:135c8a (ntoskrnl/ke/i386/thrdini.c:78 (KiThreadStartup))>
<ntoskrnl.exe:11c040 (ntoskrnl/ps/thread.c:141 (PspSystemThreadStartup))>
<5d8950ec>
Couldn't access memory at 0x83E58959!

</snip>

- Double-fault (manually triggered by removing the GP handler):

Note how the backtrace explicitly specifies the crossed TSS boundaries,
and the trace in the parent TSS is indeed consistent with the previous
example. Note also that log2lines (used here to completely resolve the
trace) failed to see KiTrap08Handler(), which has been instead mistaken
for KiTrap09().

<snip>

*** Fatal System Error: 0x0000007f
                       (0x00000008,0x8009C000,0x00000000,0x00000000)

Entered debugger on embedded INT3 at 0x0008:0x80953528.
kdb:> bt
[Active TSS 0x0050 @ 0x80A10CA0]
Eip:
<ntoskrnl.exe:153529 (sdk/lib/rtl/i386/debug_asm.S:57 (RtlpBreakWithStatusInstruction))>
Frames:
<ntoskrnl.exe:899b0 (ntoskrnl/ke/bug.c:1136 (KeBugCheckWithTf))>
<ntoskrnl.exe:19a1d8 (ntoskrnl/ke/i386/traphdlr.c:917 (KiTrap09))>      // <-- Here, log2lines fails to see it's actually KiTrap08Handler.
<ntoskrnl.exe:19a145 (:0 (KiTrap08))>
[Parent TSS 0x0028 @ 0x8009C000]
<ntoskrnl.exe:1925e6 (ntoskrnl/include/internal/i386/intrin_i.h:45 (KiInitMachineDependent))>
<ntoskrnl.exe:187688 (ntoskrnl/ke/krnlinit.c:305 (KeInitSystem))>
<ntoskrnl.exe:17fb2f (ntoskrnl/ex/init.c:1621 (Phase1InitializationDiscard))>
<ntoskrnl.exe:3247f (ntoskrnl/ex/init.c:2019 (Phase1Initialization))>
<ntoskrnl.exe:11c079 (ntoskrnl/ps/thread.c:156 (PspSystemThreadStartup))>
<ntoskrnl.exe:135c8a (ntoskrnl/ke/i386/thrdini.c:78 (KiThreadStartup))>
<ntoskrnl.exe:11c040 (ntoskrnl/ps/thread.c:141 (PspSystemThreadStartup))>
<5d8950ec>
Couldn't access memory at 0x83E58959!

</snip>
2019-11-13 02:14:48 +01:00
Joachim Henze f9e4d81056 [COMCTL32] Beautification addendum CORE-16466
I overlooked those missing white-spaces in
0.4.14-dev-312-g
b931f643e3

No functional change.
2019-11-13 01:22:00 +01:00
Joachim Henze b931f643e3 [COMCTL32] Fix listview scrollbars flashing CORE-16466
Many Thanks to patches author JIRA user 'I_Kill_Bugs',
but also to Doug Lyons and Fabian Maurer.

Unhidden by SVN r75735 == git 0.4.7-dev-168-g
6af37fd54e

I will merge that back into 0.4.13-RC as well.
2019-11-13 00:30:00 +01:00
Pierre Schweitzer cc5c307b8e
[BTRFS] Fix MSVC build 2019-11-13 00:03:22 +01:00
Pierre Schweitzer 45a643a136
[SHELLBTRFS] Addendum to 1725ddf 2019-11-12 23:46:53 +01:00
Pierre Schweitzer 5f779048d3
[SHELLBTRFS] Replace emplace_back by something less efficient if not avaible 2019-11-12 23:29:08 +01:00
Pierre Schweitzer a3c13c624f
[SHELLBTRFS] Addendum to 1725ddf 2019-11-12 23:12:48 +01:00
Pierre Schweitzer 1725ddfd8f
[SHELLBTRFS] Fix build when std::vector.data() is not implemented 2019-11-12 22:59:27 +01:00
Pierre Schweitzer a837184300
[SHELLBTRFS] Fix build?
(Not sure why it works locally...)
2019-11-12 21:52:16 +01:00
Pierre Schweitzer 4eefc85c90
[DOC] Addendum to aed50d7 2019-11-12 21:46:36 +01:00
Pierre Schweitzer aed50d7e21
[SHELLBTRFS] Upgrade to 1.5
CORE-16494
2019-11-12 21:45:49 +01:00
Pierre Schweitzer 86ee9b0cc2
[UBTRFS] Upgrade to 1.5
CORE-16494
2019-11-12 19:35:43 +01:00
Pierre Schweitzer 62e630de4c
[BTRFS] Upgrade to 1.5
CORE-16494
2019-11-12 19:35:43 +01:00
Katayama Hirofumi MZ c214c04964
[SHELLEXT][FONTEXT] An attempt to implement IDropTarget (#2019)
CORE-12861
2019-11-12 20:26:56 +09:00
Katayama Hirofumi MZ d037003511
[SHELL32] Add SendTo My Documents (#2027)
If SendTo folder is empty in SHGetFolderPathAndSubDirW function, then add a shortcut file linked to My Documents. CORE-16496
2019-11-12 16:54:28 +09:00
Katayama Hirofumi MZ 6e42e63c46
[SHELL32_APITEST] Add DragDrop testcase (#2023)
Add DragDrop testcase to shell32_apitest for testing Drag & Drop feature of the Shell.
This PR tests IDropTarget::DragEnter and IDropTarget::Drop. CORE-11238
2019-11-12 16:49:52 +09:00
Katayama Hirofumi MZ c0f340bca5
[SHELL32] Implement 'Open file location' of shortcut files (#2028)
"Open file location" is a feature to open the location of the target of a shortcut file.
Ideally we should probably use SHOpenFolderAndSelectItems here, but that is not 100% implemented in ros yet... CORE-12770
2019-11-12 16:47:36 +09:00
Joachim Henze 23e575c1bc [MEDIA][FONTS] Revert "Add Microsoft Sans Serif font (#1805)"
To fix regression CORE-16497 "Chromium BSU setup using wrong font"

It is a good idea to add micross.ttf, but we should not use
"Liberation Sans" as template but instead either create it from scratch
or at least use something with the same metrics as the MS font
and does not blur in CORE-16497.

This reverts commit 0.4.13-dev-796-g
eefc544202

Same revert already done in 0.4.13-RC-25-g
c8edd36e3e
2019-11-12 01:54:07 +01:00
Pierre Schweitzer 324285f0b9
[NTOSKRNL] Properly check for Ft volumes
This fixes a regression introduced in 5ab1cfc which
was causing Unix (BtrFS, ExtX, and so on) volumes not
to be assigned a drive letter assigned anymore. And
thus, they were no longer mounted and presented to the
users.

CORE-16499
2019-11-11 21:20:58 +01:00
Pierre Schweitzer 0a0e6a9f07
[SDK] Properly define IsFTPartition so that it doesn't match Unix partition type
CORE-16499
2019-11-11 21:18:13 +01:00
Pierre Schweitzer 887200703c
[CLASS2] Drop the drive letter hack 2019-11-11 18:18:32 +01:00
Eric Kohl 2b39b42a0a [NETSHELL] Fix checkboxes in the network adapter properties
- Use AUTOCHECKBOX instead of BS_AUTOCHECKBOX
- Use multiline checkboxes (BS_MULTILINE | BS_TOP) in order to display long text

CORE-15248
2019-11-11 00:15:06 +01:00
Tibor Lajos Füzi a3398a8e80 [USETUP] Hungarian translation fix (#2026) 2019-11-10 23:36:51 +01:00
Eric Kohl e92ad7f309 [IDL][DNSRSLVR] Use the stdcall calling convention for remote functions 2019-11-10 17:16:17 +01:00
Katayama Hirofumi MZ 3b2ead064f
[SHELL32] Follow up of #2021 (#2022)
- Delete IObjectWithSite interface.
- Use PIDLIST_ABSOLUTE and PITEMID_CHILD rather than LPITEMIDLIST.
- Move CLSID_SendToMenu to shlguid_undoc.h.
- Delete unnecessary codes.
CORE-12562
2019-11-11 00:37:23 +09:00
Thomas Faber 5d85d534e0
[SMSS] When determining page file size, keep more free disk space. CORE-6839
64 MB used to be enough to at least finish 2nd stage, but that does not
always seem to be the case anymore. Leaving this little free space does
not make for a good user experience either way.
256 MB is still not much, but at least provides slightly more usability.
2019-11-10 16:28:38 +01:00
Eric Kohl 305035be7d [DNSRSLVR][DNSAPI] Enable the DNS resolver cache
- Fix the IDL file to return DNS records properly
- Reroute the DNS query call path: DNSQuery->R_ResolverQuery->Query_Main

DNS records get cached and 'ipconfig /flushdns' works as expected.

CORE-12159
2019-11-10 15:28:42 +01:00
Amine Khaldi fc6e4ed576 [OLE32_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-11-10 14:11:19 +01:00
Amine Khaldi 0f5d91b750 [OLE32] Sync with Wine Staging 4.18. CORE-16441 2019-11-10 14:10:55 +01:00
Amine Khaldi 6816ff8dbd [ODBCCP32_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-11-10 14:10:31 +01:00
Amine Khaldi 6410641025 [ODBCCP32] Sync with Wine Staging 4.18. CORE-16441 2019-11-10 14:10:08 +01:00
Amine Khaldi 4658658fb4 [ODBC32] Sync with Wine Staging 4.18. CORE-16441 2019-11-10 14:09:45 +01:00
Amine Khaldi 41203c9bb8 [OBJSEL] Sync with Wine Staging 4.18. CORE-16441 2019-11-10 14:09:23 +01:00