Commit Graph

64984 Commits

Author SHA1 Message Date
pschweitzer
6530b899b3 [CLASS2]
It's up to class drivers to handle MountMgr requests. So, make it handle them, even though that's just to fail because it's not implemented.
This will stop IOCTLs to be sent down in the storage stack.


git-svn-id: file:///srv/svn/reactos/trunk@76032 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-10-03 06:40:08 +00:00
pschweitzer
9cbb9a8675 [KERNEL32]
Reimplement GetVolumePathNameW(). This fixes a lot of failing Wine tests.
Note that three of them are not fixed, which is a good thing as these also fail in the WHS bot!


git-svn-id: file:///srv/svn/reactos/trunk@76031 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-10-03 06:19:12 +00:00
hbelusca
afd0323a9d [CMD]: New CTTY command.
- Introduce back the CTTY command (that normally only exists on DOS
  versions of COMMAND.COM but doesn't on Windows NT' CMD.EXE), whose aim
  is to "change the active terminal" (syntax: CTTY <dos_device>). To
  achieve that we actually redirect STDIN, STDOUT and STDERR to read/write
  handles opened to the <dos_device>. This is very handy when it comes to
  redirecting all the standard handles to e.g. a serial terminal ("CTTY COM1"
  for example).
- Fix some typos in the resources.

git-svn-id: file:///srv/svn/reactos/trunk@76029 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-10-02 17:03:01 +00:00
ekohl
2473ae5ad0 [DDK]
Prepare the storport header file for the new storport driver.

git-svn-id: file:///srv/svn/reactos/trunk@76028 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-10-02 12:56:27 +00:00
pschweitzer
25ae66678a [KERNEL32]
Avoid an use-after-free in GetVolumeNameForRoot()


git-svn-id: file:///srv/svn/reactos/trunk@76027 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-10-01 21:29:53 +00:00
tkreuzer
b330a293c5 [WIN32U] Rename win32kdll to win32u, which is the "official" name on Windows 10
git-svn-id: file:///srv/svn/reactos/trunk@76026 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-10-01 17:41:11 +00:00
pschweitzer
f8c289e2f1 [KERNEL32]
- Implement the internal functions: GetVolumeNameForRoot(), BasepGetVolumeNameFromReparsePoint(), BasepGetVolumeNameForVolumeMountPoint() that allow querying the volume name (GUID form) given a volume root
- Reimplement GetVolumeNameForVolumeMountPointW() with the new internal function BasepGetVolumeNameForVolumeMountPoint() this fixes a few bugs and adds supports for reparse points
- Reimplement GetVolumeNameForVolumeMountPointA() to make it w2k3 compliant 

Note that I dropped copyrights in the header, as everything got reimplemented


git-svn-id: file:///srv/svn/reactos/trunk@76025 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-10-01 16:36:37 +00:00
hbelusca
20626a88ef [CMD]: Fix inclusion order.
git-svn-id: file:///srv/svn/reactos/trunk@76024 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-10-01 16:33:33 +00:00
hbelusca
ebff9695c4 [CMD]: Use the CONUTILS library (Part 1/x) for an uniform and consistent experience across command-line tools.
- Make most of CMD use the conutils library. This means that
  now we explicitely use the CON_STREAM objects. In particular code
  handling STDIN/OUT/ERR redirection should be handled with care.
- Factor out much of console-related support code into console.c.
  Code for console input is however not "CON_STREAM-enabled" yet.
- Change ConOutPrintfPaging prototype to make it return TRUE/FALSE
  when it can continue paged-printing or not, respectively.
CORE-13860

git-svn-id: file:///srv/svn/reactos/trunk@76023 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-10-01 16:30:39 +00:00
hbelusca
2c60ac42f6 [CONUTILS]: Add some string resources functions that can support a specified hModule parameter, and add small construction helpers for CON_SCREEN and CON_PAGER.
git-svn-id: file:///srv/svn/reactos/trunk@76022 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-10-01 16:03:44 +00:00
tkreuzer
0fd0914314 [REACTOS] Replace comparison against TRUE with comparison against FALSE
Based on patch by Love Nystrom

git-svn-id: file:///srv/svn/reactos/trunk@76021 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-10-01 14:42:04 +00:00
tkreuzer
9a26bdf51e [RTL/x64] Fix logic in RtlpTryToUnwindEpilog
git-svn-id: file:///srv/svn/reactos/trunk@76020 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-10-01 14:36:21 +00:00
tkreuzer
727a915e76 [RTL/x64] Support frames to skip in flags to RtlWalkFrameChain
git-svn-id: file:///srv/svn/reactos/trunk@76019 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-10-01 14:34:26 +00:00
pschweitzer
a143bc1dde [NDK]
Define REPARSE_DATA_BUFFER so that we can stop redefining it everywhere...


git-svn-id: file:///srv/svn/reactos/trunk@76018 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-10-01 12:56:00 +00:00
tkreuzer
77b14ed92d [FREELDR] Simplify DebugDumpBuffer
git-svn-id: file:///srv/svn/reactos/trunk@76017 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-10-01 11:08:26 +00:00
tkreuzer
d14bf4a799 [MPU401] Move registry entries for mpu401.sys from hivesys.inf to it's own registry inf file.
This file is not used, since we don't even build the mpu401 driver.

git-svn-id: file:///srv/svn/reactos/trunk@76016 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-10-01 10:56:32 +00:00
tkreuzer
eb5cccae4a [VGA_NEW] Remove duplicated enable.c from CMakeLists.txt
git-svn-id: file:///srv/svn/reactos/trunk@76015 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-10-01 10:25:05 +00:00
tkreuzer
87bbe772bb [VGA_NEW] Add CMakeLists.txt and fix build
git-svn-id: file:///srv/svn/reactos/trunk@76014 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-10-01 10:17:30 +00:00
tkreuzer
a8d1945411 [INTRIN] Add missing _cdecl attributes
git-svn-id: file:///srv/svn/reactos/trunk@76013 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-10-01 10:14:03 +00:00
pschweitzer
af84dfee19 [KERNEL32]
Implement GetVolumePathNamesForVolumeNameW()


git-svn-id: file:///srv/svn/reactos/trunk@76012 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-10-01 08:23:06 +00:00
tkreuzer
4748a350a3 [GDI32] Remove obsolete function GdiIsHandleValid, which is just a copy of GdiValidateHandle
git-svn-id: file:///srv/svn/reactos/trunk@76011 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-10-01 07:53:54 +00:00
hbelusca
19e2f146a9 [CMD]: Improve ExecuteAutoRunFile() with validity checks.
git-svn-id: file:///srv/svn/reactos/trunk@76010 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-09-30 22:12:21 +00:00
hbelusca
74379ccfc7 [CMD]: Small refactoring:
- Moving ConGetDefaultAttributes() in console.h;
- Moving some SDK inclusions into precomp.h;
- Removing extern HANDLE hIn; and localize the SHORT maxx/y variables;
- Comment fix;
- Whitespace fixes for screen.c.

git-svn-id: file:///srv/svn/reactos/trunk@76009 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-09-30 21:37:34 +00:00
hbelusca
927af0ec7c [CMD]: Continue refactoring to lay out the way to using the CONUTILS library in CMD. Part 3/x
git-svn-id: file:///srv/svn/reactos/trunk@76008 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-09-30 21:05:49 +00:00
hbelusca
baa5547278 [CMD]: Continue refactoring to lay out the way to using the CONUTILS library in CMD. Part 2/x
git-svn-id: file:///srv/svn/reactos/trunk@76007 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-09-30 19:52:30 +00:00
dquintana
21086a7276 [FATTEN]
Fix copypasta.

git-svn-id: file:///srv/svn/reactos/trunk@76006 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-09-30 19:19:30 +00:00
dquintana
70aa728314 [FATTEN]
Improve the error checking and error messages a bit.

git-svn-id: file:///srv/svn/reactos/trunk@76005 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-09-30 19:11:22 +00:00
hbelusca
b4bb768723 [TIMEOUT]: Italian translation by Carlo Bramini.
CORE-13856 #resolve #comment Committed in r76004, thanks!

git-svn-id: file:///srv/svn/reactos/trunk@76004 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-09-30 17:34:05 +00:00
hbelusca
e2b9d98361 [CMD]: Continue refactoring to lay out the way to using the CONUTILS library in CMD.
git-svn-id: file:///srv/svn/reactos/trunk@76003 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-09-30 15:28:06 +00:00
hbelusca
a04190892a [CMD]: Move console management prototypes to their own header.
git-svn-id: file:///srv/svn/reactos/trunk@76002 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-09-30 15:09:38 +00:00
hbelusca
1f303bb92f [CMD]: Addendum to r76000, with ConSetTitle.
git-svn-id: file:///srv/svn/reactos/trunk@76001 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-09-30 14:26:34 +00:00
hbelusca
3fc383a32c [CMD]: Little refactoring to lay out the way to using the CONUTILS library in CMD.
- Move the code used to beep, clear screen, and color the screen into console.c ;
- Rename SetScreenColor into ConSetScreenColor, and invert its second parameter (bNoFill -> bFill); its default behaviour is to fill all the screen.

git-svn-id: file:///srv/svn/reactos/trunk@76000 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-09-30 14:10:21 +00:00
hbelusca
6de99814b1 [CMD]: Minor modifications in the files I'm going to touch next:
- Use ARRAYSIZE() instead of hardcoding string buffer max. number of chars.
- Un-globalize a variable; remove dead defines.
- Minor code formatting fixes.

git-svn-id: file:///srv/svn/reactos/trunk@75999 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-09-30 14:04:24 +00:00
tkreuzer
73109c82e3 [MSVCRT] Export _pwctype
How did CRTDLL, which forwards _pwctype_dll to msvcrt._pwctype, ever link?

git-svn-id: file:///srv/svn/reactos/trunk@75998 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-09-30 12:43:08 +00:00
hbelusca
5108623f2a [CMD]: Diverse improvements:
- Add pre-support for "enable extensions".
- Load CMD settings at startup from the registry (from HKLM and HKCU
  Software\\Microsoft\\Command Processor reg key), as done by Windows' CMD.EXE.
- Add support for CMD.EXE /E(:OFF), /X, /Y command-line switches.
- Correctly set the console colors when using CMD.EXE /T: switch.
- Start support for two control characters for the completion: the standard CompletionChar
  and the PathCompletionChar (if one desires to autocomplete *just* directory
  names -- or associated -- but not everything), as Windows' CMD.EXE offers.


git-svn-id: file:///srv/svn/reactos/trunk@75997 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-09-30 11:39:08 +00:00
hbelusca
1cc4b6c276 [ASM]: CORE-13850 #comment Fix MASM compilation errors with the CFI annotation macros substitutes (broken by r75989).
git-svn-id: file:///srv/svn/reactos/trunk@75996 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-09-30 10:29:50 +00:00
hbelusca
8c79c32776 [ASM]: Code formatting only.
git-svn-id: file:///srv/svn/reactos/trunk@75995 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-09-30 10:29:06 +00:00
hbelusca
653702dc1e [CMD]: Fix translations for the COLOR command.
For few translations, the COLOR command help contained a deprecated /F switch,
which was changed long time ago to the /-F switch ("Does not fill the console
blank space with color attribute").
Also, remove a now-unneeded localized informative string for the COLOR command (which rendered it Windows-incompatible).

git-svn-id: file:///srv/svn/reactos/trunk@75994 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-09-30 09:50:08 +00:00
hbelusca
cadca2a3a5 [CMD]: Fix few comments & use ARRAYSIZE(str) instead of sizeof(str)/sizeof(str[0]) for strings.
git-svn-id: file:///srv/svn/reactos/trunk@75993 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-09-30 09:13:04 +00:00
cfinck
2abbcefd39 [ROSTESTS] Use the new header with SPDX license identifier for my printing-related API tests
git-svn-id: file:///srv/svn/reactos/trunk@75992 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-09-29 18:33:04 +00:00
cfinck
4421d56e86 [ROSAUTOTEST] Use the new header with SPDX license identifier and remove dead source files.
git-svn-id: file:///srv/svn/reactos/trunk@75991 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-09-29 18:13:54 +00:00
jgardou
f604759bb3 [RTL]
- Add CFI annotations to debug functions
CORE-8531


git-svn-id: file:///srv/svn/reactos/trunk@75990 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-09-29 17:32:11 +00:00
jgardou
28d1b1486a [ASM]
- Add CFI annotation macros
CORE-13850 #resolve


git-svn-id: file:///srv/svn/reactos/trunk@75989 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-09-29 17:31:23 +00:00
cfinck
c359d09fcf [PRINTING] [SKIPLIST] Use the new header with SPDX license identifier and relicense the entire Printing Stack as well as its Skiplist dependency under GPL-2.0+
Previously, the Printing Stack was a mix of GPLed and LGPLed code. Having everything under GPL-2.0+ makes things consistent and allows me to import code from most Open Source licenses.
Given that the Printing Stack components are exchangeable with their Windows counterparts and implement documented interfaces, this license change doesn't impose any additional restrictions on dependent components (like printer drivers).

git-svn-id: file:///srv/svn/reactos/trunk@75988 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-09-29 17:18:19 +00:00
cfinck
11344d1deb [VGAFONTEDIT] Use the new header with SPDX license identifier and make the entire application GPL-2.0+
The code of the single GPL-2.0 only file "misc.c" was originally derived from GPL-2.0 only devmgmt.
I have now replaced it with the same code from LGPL-2.1+ mmc, which makes my application a full GPL-2.0+ work. This is legit, because I know that Thomas Weidenmueller is the original author of the "misc.c" code.

git-svn-id: file:///srv/svn/reactos/trunk@75987 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-09-29 13:58:14 +00:00
cfinck
eed2c728d1 [FASTFAT_NEW] [FULLFAT] Remove the FullFAT-based "fastfat_new" driver and the third-party FullFAT library itself.
Our driver has not seen any development since 2010 and the current fastfat driver has long surpassed it.
Even more important, FullFAT is licensed under a modified version of GPLv3 that forbids commercial usage. Shipping it as a ReactOS dependency would render the OS unusable for commercial scenarios.
If anybody wants to resurrect the driver, you can always get it from the repository history.

git-svn-id: file:///srv/svn/reactos/trunk@75986 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-09-29 10:21:33 +00:00
cfinck
fba5f8d321 [HEADERS] Use the new header with SPDX license identifier for host headers I've contributed to and ensure license compliance for pshpack/poppack.
- The pshpack and poppack headers were rewritten from scratch as their current versions came with no license information and included obsolete checks (e.g. for an ancient FreeBSD version).
  I have put the new ones under CC0-1.0, which is equivalent to Public Domain but legally valid also in jurisdictions which have no concept of Public Domain (e.g. Germany).
- Relicense nls.h under CC0-1.0 too. I'd recommend the same for typedefs.h, but I'm not the only contributor to that file.

git-svn-id: file:///srv/svn/reactos/trunk@75985 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-09-29 10:10:26 +00:00
cfinck
4ada607664 [BOOTSECTORS] Use the new header with SPDX license identifier for the ISO boot sector files I contributed to.
Remove the unmaintained .asm files.

git-svn-id: file:///srv/svn/reactos/trunk@75984 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-09-28 20:21:45 +00:00
cfinck
1553c25eeb [CONTROL] Use the new header with SPDX license identifier.
- The original header committed in 2004 clearly indicated "or any later version", so use GPL-2.0+
  That header has since been removed in r33507 by some "Colin Finck" guy ;)
- Add Hermès to the list of copyright holders, since he rewrote most of this in r62694.

git-svn-id: file:///srv/svn/reactos/trunk@75983 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-09-28 15:47:25 +00:00
spetreolle
4a9f9499c9 Set the resolution to 800x600x16 bit onbootcdregtest.
This removes the fallback to 640x480x256 colors induced by the lack of 32bits in KVM's cirrus GPU.
Fixes:
dosbox 2.intro
irfanview 2.OpenDocument
smplayer 2.play_file



git-svn-id: file:///srv/svn/reactos/trunk@75982 97493ccd-5924-5043-b1f5-66cb403b36ce
2017-09-28 14:43:09 +00:00