Commit graph

69753 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto
221ed4cefe Remove unwanted .gitignore files. 2017-10-04 10:28:36 +02:00
Sergei Abramov
b4f0a71f90 [NTOBJSHEX] Fix typo.
Patch by Sergei Abramov.
CORE-13863
2017-10-04 10:16:12 +03:00
Alexander Shaposhnikov
42051b6055 Readme Markdown Page (#2)
Create README.md
2017-10-04 08:28:08 +03:00
Pierre Schweitzer
e48d6a658f [CLASS2]: Cosmetic fixes by Thomas 2017-10-03 21:34:00 +02:00
Pierre Schweitzer
fdb72d7f85 [CLASS2]: - In ScsiClassCreateDeviceObject() don't drop received object name and store it in the device extension
- Implement support for the IOCTL_MOUNTDEV_QUERY_DEVICE_NAME IOCTL; return the store device name
2017-10-03 21:34:00 +02:00
tkreuzer
6882d62790 [REGEDIT] Support editing REG_FULL_RESOURCE_DESCRIPTOR values 2017-10-03 20:33:31 +02:00
Colin Finck
417e262dfc Build rosapps, rostests, wallpapers when their CMake variables are set instead of checking for directory existence.
By default, ReactOS will now build without any of these modules.
You can enable them using e.g. "configure -DENABLE_ROSTESTS=1".
2017-10-03 16:36:59 +02:00
Colin Finck
b9cf2e37f3 Supply the source directory as working directory when launching Git commands. Should fix retrieving the Git hash on the build machines. 2017-10-03 15:29:13 +02:00
Colin Finck
3d6040615a Make ReactOS report the Git revision as output by "git describe".
- REVISION is now something like "0.4.7-dev-53-g1304b53" instead of "r12345".
- Change WINDOWS_NT_BANNER to better represent the ReactOS version and the reported NT version.
- Introduce REACTOS_COMMIT_HASH which contains the full 40-character commit hash (for comparing revisions, e.g. in rosautotest/testman).
2017-10-03 12:55:38 +02:00
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