Commit graph

69944 commits

Author SHA1 Message Date
Colin Finck
c2c66aff7d Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
Pierre Schweitzer
b94e2d8ca0 [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.

svn path=/trunk/; revision=76032
2017-10-03 06:40:08 +00:00
Pierre Schweitzer
350ede0c7f [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!

svn path=/trunk/; revision=76031
2017-10-03 06:19:12 +00:00
Hermès Bélusca-Maïto
b896e9a9c3 [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.

svn path=/trunk/; revision=76029
2017-10-02 17:03:01 +00:00
Eric Kohl
084f682e54 [DDK]
Prepare the storport header file for the new storport driver.

svn path=/trunk/; revision=76028
2017-10-02 12:56:27 +00:00
Pierre Schweitzer
9c82138c3c [KERNEL32]
Avoid an use-after-free in GetVolumeNameForRoot()

svn path=/trunk/; revision=76027
2017-10-01 21:29:53 +00:00
Timo Kreuzer
bed6d00963 [WIN32U] Rename win32kdll to win32u, which is the "official" name on Windows 10
svn path=/trunk/; revision=76026
2017-10-01 17:41:11 +00:00
Pierre Schweitzer
a0b2ac0ff9 [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

svn path=/trunk/; revision=76025
2017-10-01 16:36:37 +00:00
Hermès Bélusca-Maïto
b77e16847d [CMD]: Fix inclusion order.
svn path=/trunk/; revision=76024
2017-10-01 16:33:33 +00:00
Hermès Bélusca-Maïto
2280ba6846 [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

svn path=/trunk/; revision=76023
2017-10-01 16:30:39 +00:00
Hermès Bélusca-Maïto
0599206b8b [CONUTILS]: Add some string resources functions that can support a specified hModule parameter, and add small construction helpers for CON_SCREEN and CON_PAGER.
svn path=/trunk/; revision=76022
2017-10-01 16:03:44 +00:00
Timo Kreuzer
d47bb60c1c [REACTOS] Replace comparison against TRUE with comparison against FALSE
Based on patch by Love Nystrom

svn path=/trunk/; revision=76021
2017-10-01 14:42:04 +00:00
Timo Kreuzer
87fcad8440 [RTL/x64] Fix logic in RtlpTryToUnwindEpilog
svn path=/trunk/; revision=76020
2017-10-01 14:36:21 +00:00
Timo Kreuzer
555300d680 [RTL/x64] Support frames to skip in flags to RtlWalkFrameChain
svn path=/trunk/; revision=76019
2017-10-01 14:34:26 +00:00
Pierre Schweitzer
37630ef0ab [NDK]
Define REPARSE_DATA_BUFFER so that we can stop redefining it everywhere...

svn path=/trunk/; revision=76018
2017-10-01 12:56:00 +00:00
Timo Kreuzer
d2f383360b [FREELDR] Simplify DebugDumpBuffer
svn path=/trunk/; revision=76017
2017-10-01 11:08:26 +00:00
Timo Kreuzer
256494ee63 [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.

svn path=/trunk/; revision=76016
2017-10-01 10:56:32 +00:00
Timo Kreuzer
5f052cf911 [VGA_NEW] Remove duplicated enable.c from CMakeLists.txt
svn path=/trunk/; revision=76015
2017-10-01 10:25:05 +00:00
Timo Kreuzer
fe39f082e1 [VGA_NEW] Add CMakeLists.txt and fix build
svn path=/trunk/; revision=76014
2017-10-01 10:17:30 +00:00
Timo Kreuzer
ce9ba19614 [INTRIN] Add missing _cdecl attributes
svn path=/trunk/; revision=76013
2017-10-01 10:14:03 +00:00
Pierre Schweitzer
8ded1b5746 [KERNEL32]
Implement GetVolumePathNamesForVolumeNameW()

svn path=/trunk/; revision=76012
2017-10-01 08:23:06 +00:00
Timo Kreuzer
c500afd0fa [GDI32] Remove obsolete function GdiIsHandleValid, which is just a copy of GdiValidateHandle
svn path=/trunk/; revision=76011
2017-10-01 07:53:54 +00:00
Hermès Bélusca-Maïto
552e8c13bb [CMD]: Improve ExecuteAutoRunFile() with validity checks.
svn path=/trunk/; revision=76010
2017-09-30 22:12:21 +00:00
Hermès Bélusca-Maïto
11f7d225c8 [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.

svn path=/trunk/; revision=76009
2017-09-30 21:37:34 +00:00
Hermès Bélusca-Maïto
d7bbf5ad8a [CMD]: Continue refactoring to lay out the way to using the CONUTILS library in CMD. Part 3/x
svn path=/trunk/; revision=76008
2017-09-30 21:05:49 +00:00
Hermès Bélusca-Maïto
03f438982b [CMD]: Continue refactoring to lay out the way to using the CONUTILS library in CMD. Part 2/x
svn path=/trunk/; revision=76007
2017-09-30 19:52:30 +00:00
David Quintana
e97875595e [FATTEN]
Fix copypasta.

svn path=/trunk/; revision=76006
2017-09-30 19:19:30 +00:00
David Quintana
26b0b23a26 [FATTEN]
Improve the error checking and error messages a bit.

svn path=/trunk/; revision=76005
2017-09-30 19:11:22 +00:00
Hermès Bélusca-Maïto
c94595ce44 [TIMEOUT]: Italian translation by Carlo Bramini.
CORE-13856 #resolve #comment Committed in r76004, thanks!

svn path=/trunk/; revision=76004
2017-09-30 17:34:05 +00:00
Hermès Bélusca-Maïto
f23489fd32 [CMD]: Continue refactoring to lay out the way to using the CONUTILS library in CMD.
svn path=/trunk/; revision=76003
2017-09-30 15:28:06 +00:00
Hermès Bélusca-Maïto
31530e9e62 [CMD]: Move console management prototypes to their own header.
svn path=/trunk/; revision=76002
2017-09-30 15:09:38 +00:00
Hermès Bélusca-Maïto
9254157290 [CMD]: Addendum to r76000, with ConSetTitle.
svn path=/trunk/; revision=76001
2017-09-30 14:26:34 +00:00
Hermès Bélusca-Maïto
c1596e7b3a [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.

svn path=/trunk/; revision=76000
2017-09-30 14:10:21 +00:00
Hermès Bélusca-Maïto
3c9f2e199f [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.

svn path=/trunk/; revision=75999
2017-09-30 14:04:24 +00:00
Timo Kreuzer
4f39e403dc [MSVCRT] Export _pwctype
How did CRTDLL, which forwards _pwctype_dll to msvcrt._pwctype, ever link?

svn path=/trunk/; revision=75998
2017-09-30 12:43:08 +00:00
Hermès Bélusca-Maïto
cd45987d1a [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.

svn path=/trunk/; revision=75997
2017-09-30 11:39:08 +00:00
Hermès Bélusca-Maïto
7d6b5d99a6 [ASM]: CORE-13850 #comment Fix MASM compilation errors with the CFI annotation macros substitutes (broken by r75989).
svn path=/trunk/; revision=75996
2017-09-30 10:29:50 +00:00
Hermès Bélusca-Maïto
9f36a72013 [ASM]: Code formatting only.
svn path=/trunk/; revision=75995
2017-09-30 10:29:06 +00:00
Hermès Bélusca-Maïto
ff79952c22 [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).

svn path=/trunk/; revision=75994
2017-09-30 09:50:08 +00:00
Hermès Bélusca-Maïto
5e41079086 [CMD]: Fix few comments & use ARRAYSIZE(str) instead of sizeof(str)/sizeof(str[0]) for strings.
svn path=/trunk/; revision=75993
2017-09-30 09:13:04 +00:00
Colin Finck
b6d999dbe4 [ROSTESTS] Use the new header with SPDX license identifier for my printing-related API tests
svn path=/trunk/; revision=75992
2017-09-29 18:33:04 +00:00
Colin Finck
bb0896b823 [ROSAUTOTEST] Use the new header with SPDX license identifier and remove dead source files.
svn path=/trunk/; revision=75991
2017-09-29 18:13:54 +00:00
Jérôme Gardou
abc37007a0 [RTL]
- Add CFI annotations to debug functions
CORE-8531

svn path=/trunk/; revision=75990
2017-09-29 17:32:11 +00:00
Jérôme Gardou
9173e7c6cf [ASM]
- Add CFI annotation macros
CORE-13850 #resolve

svn path=/trunk/; revision=75989
2017-09-29 17:31:23 +00:00
Colin Finck
154f1aaacd [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).

svn path=/trunk/; revision=75988
2017-09-29 17:18:19 +00:00
Colin Finck
57d74df773 [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.

svn path=/trunk/; revision=75987
2017-09-29 13:58:14 +00:00
Colin Finck
26dd1bcf1f [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.

svn path=/trunk/; revision=75986
2017-09-29 10:21:33 +00:00
Colin Finck
e9bc2c9b4c [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.

svn path=/trunk/; revision=75985
2017-09-29 10:10:26 +00:00
Colin Finck
ea2806e13c [BOOTSECTORS] Use the new header with SPDX license identifier for the ISO boot sector files I contributed to.
Remove the unmaintained .asm files.

svn path=/trunk/; revision=75984
2017-09-28 20:21:45 +00:00
Colin Finck
d20eaaf8ca [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.

svn path=/trunk/; revision=75983
2017-09-28 15:47:25 +00:00