reactos.git
2 years agoDelete README
Alexander Shaposhnikov [Wed, 4 Oct 2017 18:58:32 +0000 (21:58 +0300)]
Delete README

2 years ago[VERSION] Use --abbrev=7 for "git describe" to enforce a short hash of 7 characters...
Colin Finck [Wed, 4 Oct 2017 18:44:52 +0000 (20:44 +0200)]
[VERSION] Use --abbrev=7 for "git describe" to enforce a short hash of 7 characters no matter what the default is for your Git installation.

2 years agoAdd .gitattributes and .gitignore files and normalize line endings in the repository...
Colin Finck [Wed, 4 Oct 2017 18:37:32 +0000 (20:37 +0200)]
Add .gitattributes and .gitignore files and normalize line endings in the repository (#10)

2 years agoFix url typo in README (#9)
Goblenus [Wed, 4 Oct 2017 08:40:37 +0000 (11:40 +0300)]
Fix url typo in README (#9)

2 years agoDelete "ghost" old(*) files that have been mysteriously added back during the SVN...
Hermès Bélusca-Maïto [Wed, 4 Oct 2017 01:05:47 +0000 (03:05 +0200)]
Delete "ghost" old(*) files that have been mysteriously added back during the SVN-to-Git transition.

To check that these changes are correct, checkout in a directory (let's call it "ros_svn") the /trunk/reactos/ of our read-only SVN repo r76032 and in /trunk/reactos/modules/, the rosapps, rostests and wallpapers.
In a second directory (let's call it "ros_git"), clone the corresponding Git-converted ReactOS directory.
Before applying this patch (and the previous one that added back the empty directories), you should see additional files in ros_git that are not in ros_svn, corresponding to these files I'm deleting here (plus some .gitignore files),
and you should also see additional files in ros_svn that do not appear in ros_git: these are the empty directories I've restored in my previous patch.

Now, after the application of both the previous patch that restores the empty directories (and deletes the .gitignore files), and this patch that removes the ghost files, you should only see that the only differences
between ros_git and ros_svn are the extra .keep files in the empty directories, and that's all!

Command-line for the tests:
diff --strip-trailing-cr -r ros_svn ros_git > diff_svn2git.txt

"-r" means recursive, and "--strip-trailing-cr" ignores the CR-LF vs. LF (or CR) EOLs.

(*): by "ghost" old(*) files I understand files that existed previously in the far past, that then were deleted long ago in SVN, and that popped out back during the Git migration.

2 years agoAdd .keep guard files in order to restore lost but empty directories we had with...
Hermès Bélusca-Maïto [Wed, 4 Oct 2017 00:19:57 +0000 (02:19 +0200)]
Add .keep guard files in order to restore lost but empty directories we had with SVN.
Note that when you start populating these directories, you can remove the associated .keep guard file(s)!

2 years agoRemove unwanted .gitignore files.
Hermès Bélusca-Maïto [Tue, 3 Oct 2017 23:39:34 +0000 (01:39 +0200)]
Remove unwanted .gitignore files.

2 years ago[NTOBJSHEX] Fix typo.
Sergei Abramov [Tue, 3 Oct 2017 10:35:31 +0000 (12:35 +0200)]
[NTOBJSHEX] Fix typo.
Patch by Sergei Abramov.
CORE-13863

2 years agoReadme Markdown Page (#2)
Alexander Shaposhnikov [Wed, 4 Oct 2017 05:28:08 +0000 (08:28 +0300)]
Readme Markdown Page (#2)

Create README.md

2 years ago[CLASS2]: Cosmetic fixes by Thomas
Pierre Schweitzer [Tue, 3 Oct 2017 19:21:09 +0000 (21:21 +0200)]
[CLASS2]: Cosmetic fixes by Thomas

2 years ago[CLASS2]: - In ScsiClassCreateDeviceObject() don't drop received object name and...
Pierre Schweitzer [Tue, 3 Oct 2017 18:57:50 +0000 (20:57 +0200)]
[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

2 years ago[REGEDIT] Support editing REG_FULL_RESOURCE_DESCRIPTOR values
tkreuzer [Tue, 3 Oct 2017 11:54:42 +0000 (13:54 +0200)]
[REGEDIT] Support editing REG_FULL_RESOURCE_DESCRIPTOR values

2 years agoBuild rosapps, rostests, wallpapers when their CMake variables are set instead of...
Colin Finck [Tue, 3 Oct 2017 14:36:59 +0000 (16:36 +0200)]
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".

2 years agoSupply the source directory as working directory when launching Git commands. Should...
Colin Finck [Tue, 3 Oct 2017 13:29:13 +0000 (15:29 +0200)]
Supply the source directory as working directory when launching Git commands. Should fix retrieving the Git hash on the build machines.

2 years agoMake ReactOS report the Git revision as output by "git describe".
Colin Finck [Tue, 3 Oct 2017 10:55:38 +0000 (12:55 +0200)]
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).

2 years agoGit conversion: Make reactos the root directory, move rosapps, rostests, wallpapers...
Colin Finck [Tue, 3 Oct 2017 07:45:34 +0000 (07:45 +0000)]
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.

2 years ago[CLASS2]
Pierre Schweitzer [Tue, 3 Oct 2017 06:40:08 +0000 (06:40 +0000)]
[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

2 years ago[KERNEL32]
Pierre Schweitzer [Tue, 3 Oct 2017 06:19:12 +0000 (06:19 +0000)]
[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

2 years ago[CMD]: New CTTY command.
Hermès Bélusca-Maïto [Mon, 2 Oct 2017 17:03:01 +0000 (17:03 +0000)]
[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

2 years ago[DDK]
Eric Kohl [Mon, 2 Oct 2017 12:56:27 +0000 (12:56 +0000)]
[DDK]
Prepare the storport header file for the new storport driver.

svn path=/trunk/; revision=76028

2 years ago[KERNEL32]
Pierre Schweitzer [Sun, 1 Oct 2017 21:29:53 +0000 (21:29 +0000)]
[KERNEL32]
Avoid an use-after-free in GetVolumeNameForRoot()

svn path=/trunk/; revision=76027

2 years ago[WIN32U] Rename win32kdll to win32u, which is the "official" name on Windows 10
Timo Kreuzer [Sun, 1 Oct 2017 17:41:11 +0000 (17:41 +0000)]
[WIN32U] Rename win32kdll to win32u, which is the "official" name on Windows 10

svn path=/trunk/; revision=76026

2 years ago[KERNEL32]
Pierre Schweitzer [Sun, 1 Oct 2017 16:36:37 +0000 (16:36 +0000)]
[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

2 years ago[CMD]: Fix inclusion order.
Hermès Bélusca-Maïto [Sun, 1 Oct 2017 16:33:33 +0000 (16:33 +0000)]
[CMD]: Fix inclusion order.

svn path=/trunk/; revision=76024

2 years ago[CMD]: Use the CONUTILS library (Part 1/x) for an uniform and consistent experience...
Hermès Bélusca-Maïto [Sun, 1 Oct 2017 16:30:39 +0000 (16:30 +0000)]
[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

2 years ago[CONUTILS]: Add some string resources functions that can support a specified hModule...
Hermès Bélusca-Maïto [Sun, 1 Oct 2017 16:03:44 +0000 (16:03 +0000)]
[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

2 years ago[REACTOS] Replace comparison against TRUE with comparison against FALSE
Timo Kreuzer [Sun, 1 Oct 2017 14:42:04 +0000 (14:42 +0000)]
[REACTOS] Replace comparison against TRUE with comparison against FALSE
Based on patch by Love Nystrom

svn path=/trunk/; revision=76021

2 years ago[RTL/x64] Fix logic in RtlpTryToUnwindEpilog
Timo Kreuzer [Sun, 1 Oct 2017 14:36:21 +0000 (14:36 +0000)]
[RTL/x64] Fix logic in RtlpTryToUnwindEpilog

svn path=/trunk/; revision=76020

2 years ago[RTL/x64] Support frames to skip in flags to RtlWalkFrameChain
Timo Kreuzer [Sun, 1 Oct 2017 14:34:26 +0000 (14:34 +0000)]
[RTL/x64] Support frames to skip in flags to RtlWalkFrameChain

svn path=/trunk/; revision=76019

2 years ago[NDK]
Pierre Schweitzer [Sun, 1 Oct 2017 12:56:00 +0000 (12:56 +0000)]
[NDK]
Define REPARSE_DATA_BUFFER so that we can stop redefining it everywhere...

svn path=/trunk/; revision=76018

2 years ago[FREELDR] Simplify DebugDumpBuffer
Timo Kreuzer [Sun, 1 Oct 2017 11:08:26 +0000 (11:08 +0000)]
[FREELDR] Simplify DebugDumpBuffer

svn path=/trunk/; revision=76017

2 years ago[MPU401] Move registry entries for mpu401.sys from hivesys.inf to it's own registry...
Timo Kreuzer [Sun, 1 Oct 2017 10:56:32 +0000 (10:56 +0000)]
[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

2 years ago[VGA_NEW] Remove duplicated enable.c from CMakeLists.txt
Timo Kreuzer [Sun, 1 Oct 2017 10:25:05 +0000 (10:25 +0000)]
[VGA_NEW] Remove duplicated enable.c from CMakeLists.txt

svn path=/trunk/; revision=76015

2 years ago[VGA_NEW] Add CMakeLists.txt and fix build
Timo Kreuzer [Sun, 1 Oct 2017 10:17:30 +0000 (10:17 +0000)]
[VGA_NEW] Add CMakeLists.txt and fix build

svn path=/trunk/; revision=76014

2 years ago[INTRIN] Add missing _cdecl attributes
Timo Kreuzer [Sun, 1 Oct 2017 10:14:03 +0000 (10:14 +0000)]
[INTRIN] Add missing _cdecl attributes

svn path=/trunk/; revision=76013

2 years ago[KERNEL32]
Pierre Schweitzer [Sun, 1 Oct 2017 08:23:06 +0000 (08:23 +0000)]
[KERNEL32]
Implement GetVolumePathNamesForVolumeNameW()

svn path=/trunk/; revision=76012

2 years ago[GDI32] Remove obsolete function GdiIsHandleValid, which is just a copy of GdiValidat...
Timo Kreuzer [Sun, 1 Oct 2017 07:53:54 +0000 (07:53 +0000)]
[GDI32] Remove obsolete function GdiIsHandleValid, which is just a copy of GdiValidateHandle

svn path=/trunk/; revision=76011

2 years ago[CMD]: Improve ExecuteAutoRunFile() with validity checks.
Hermès Bélusca-Maïto [Sat, 30 Sep 2017 22:12:21 +0000 (22:12 +0000)]
[CMD]: Improve ExecuteAutoRunFile() with validity checks.

svn path=/trunk/; revision=76010

2 years ago[CMD]: Small refactoring:
Hermès Bélusca-Maïto [Sat, 30 Sep 2017 21:37:34 +0000 (21:37 +0000)]
[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

2 years ago[CMD]: Continue refactoring to lay out the way to using the CONUTILS library in CMD...
Hermès Bélusca-Maïto [Sat, 30 Sep 2017 21:05:49 +0000 (21:05 +0000)]
[CMD]: Continue refactoring to lay out the way to using the CONUTILS library in CMD. Part 3/x

svn path=/trunk/; revision=76008

2 years ago[CMD]: Continue refactoring to lay out the way to using the CONUTILS library in CMD...
Hermès Bélusca-Maïto [Sat, 30 Sep 2017 19:52:30 +0000 (19:52 +0000)]
[CMD]: Continue refactoring to lay out the way to using the CONUTILS library in CMD. Part 2/x

svn path=/trunk/; revision=76007

2 years ago[FATTEN]
David Quintana [Sat, 30 Sep 2017 19:19:30 +0000 (19:19 +0000)]
[FATTEN]
Fix copypasta.

svn path=/trunk/; revision=76006

2 years ago[FATTEN]
David Quintana [Sat, 30 Sep 2017 19:11:22 +0000 (19:11 +0000)]
[FATTEN]
Improve the error checking and error messages a bit.

svn path=/trunk/; revision=76005

2 years ago[TIMEOUT]: Italian translation by Carlo Bramini.
Hermès Bélusca-Maïto [Sat, 30 Sep 2017 17:34:05 +0000 (17:34 +0000)]
[TIMEOUT]: Italian translation by Carlo Bramini.
CORE-13856 #resolve #comment Committed in r76004, thanks!

svn path=/trunk/; revision=76004

2 years ago[CMD]: Continue refactoring to lay out the way to using the CONUTILS library in CMD.
Hermès Bélusca-Maïto [Sat, 30 Sep 2017 15:28:06 +0000 (15:28 +0000)]
[CMD]: Continue refactoring to lay out the way to using the CONUTILS library in CMD.

svn path=/trunk/; revision=76003

2 years ago[CMD]: Move console management prototypes to their own header.
Hermès Bélusca-Maïto [Sat, 30 Sep 2017 15:09:38 +0000 (15:09 +0000)]
[CMD]: Move console management prototypes to their own header.

svn path=/trunk/; revision=76002

2 years ago[CMD]: Addendum to r76000, with ConSetTitle.
Hermès Bélusca-Maïto [Sat, 30 Sep 2017 14:26:34 +0000 (14:26 +0000)]
[CMD]: Addendum to r76000, with ConSetTitle.

svn path=/trunk/; revision=76001

2 years ago[CMD]: Little refactoring to lay out the way to using the CONUTILS library in CMD.
Hermès Bélusca-Maïto [Sat, 30 Sep 2017 14:10:21 +0000 (14:10 +0000)]
[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

2 years ago[CMD]: Minor modifications in the files I'm going to touch next:
Hermès Bélusca-Maïto [Sat, 30 Sep 2017 14:04:24 +0000 (14:04 +0000)]
[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

2 years ago[MSVCRT] Export _pwctype
Timo Kreuzer [Sat, 30 Sep 2017 12:43:08 +0000 (12:43 +0000)]
[MSVCRT] Export _pwctype
How did CRTDLL, which forwards _pwctype_dll to msvcrt._pwctype, ever link?

svn path=/trunk/; revision=75998

2 years ago[CMD]: Diverse improvements:
Hermès Bélusca-Maïto [Sat, 30 Sep 2017 11:39:08 +0000 (11:39 +0000)]
[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

2 years ago[ASM]: CORE-13850 #comment Fix MASM compilation errors with the CFI annotation macros...
Hermès Bélusca-Maïto [Sat, 30 Sep 2017 10:29:50 +0000 (10:29 +0000)]
[ASM]: CORE-13850 #comment Fix MASM compilation errors with the CFI annotation macros substitutes (broken by r75989).

svn path=/trunk/; revision=75996

2 years ago[ASM]: Code formatting only.
Hermès Bélusca-Maïto [Sat, 30 Sep 2017 10:29:06 +0000 (10:29 +0000)]
[ASM]: Code formatting only.

svn path=/trunk/; revision=75995

2 years ago[CMD]: Fix translations for the COLOR command.
Hermès Bélusca-Maïto [Sat, 30 Sep 2017 09:50:08 +0000 (09:50 +0000)]
[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

2 years ago[CMD]: Fix few comments & use ARRAYSIZE(str) instead of sizeof(str)/sizeof(str[0...
Hermès Bélusca-Maïto [Sat, 30 Sep 2017 09:13:04 +0000 (09:13 +0000)]
[CMD]: Fix few comments & use ARRAYSIZE(str) instead of sizeof(str)/sizeof(str[0]) for strings.

svn path=/trunk/; revision=75993

2 years ago[ROSTESTS] Use the new header with SPDX license identifier for my printing-related...
Colin Finck [Fri, 29 Sep 2017 18:33:04 +0000 (18:33 +0000)]
[ROSTESTS] Use the new header with SPDX license identifier for my printing-related API tests

svn path=/trunk/; revision=75992

2 years ago[ROSAUTOTEST] Use the new header with SPDX license identifier and remove dead source...
Colin Finck [Fri, 29 Sep 2017 18:13:54 +0000 (18:13 +0000)]
[ROSAUTOTEST] Use the new header with SPDX license identifier and remove dead source files.

svn path=/trunk/; revision=75991

2 years ago[RTL]
Jérôme Gardou [Fri, 29 Sep 2017 17:32:11 +0000 (17:32 +0000)]
[RTL]
 - Add CFI annotations to debug functions
CORE-8531

svn path=/trunk/; revision=75990

2 years ago[ASM]
Jérôme Gardou [Fri, 29 Sep 2017 17:31:23 +0000 (17:31 +0000)]
[ASM]
 - Add CFI annotation macros
CORE-13850 #resolve

svn path=/trunk/; revision=75989

2 years ago[PRINTING] [SKIPLIST] Use the new header with SPDX license identifier and relicense...
Colin Finck [Fri, 29 Sep 2017 17:18:19 +0000 (17:18 +0000)]
[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

2 years ago[VGAFONTEDIT] Use the new header with SPDX license identifier and make the entire...
Colin Finck [Fri, 29 Sep 2017 13:58:14 +0000 (13:58 +0000)]
[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

2 years ago[FASTFAT_NEW] [FULLFAT] Remove the FullFAT-based "fastfat_new" driver and the third...
Colin Finck [Fri, 29 Sep 2017 10:21:33 +0000 (10:21 +0000)]
[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

2 years ago[HEADERS] Use the new header with SPDX license identifier for host headers I've contr...
Colin Finck [Fri, 29 Sep 2017 10:10:26 +0000 (10:10 +0000)]
[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

2 years ago[BOOTSECTORS] Use the new header with SPDX license identifier for the ISO boot sector...
Colin Finck [Thu, 28 Sep 2017 20:21:45 +0000 (20:21 +0000)]
[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

2 years ago[CONTROL] Use the new header with SPDX license identifier.
Colin Finck [Thu, 28 Sep 2017 15:47:25 +0000 (15:47 +0000)]
[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

2 years agoSet the resolution to 800x600x16 bit onbootcdregtest.
Sylvain Petreolle [Thu, 28 Sep 2017 14:43:09 +0000 (14:43 +0000)]
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

svn path=/trunk/; revision=75982

2 years ago[PCI]
Eric Kohl [Wed, 27 Sep 2017 22:59:48 +0000 (22:59 +0000)]
[PCI]
Fix a port base adddress decoding bug. Port base addresses were always decoded like memory base addresses. Because of this bug, a device could have two port address ranges starting at the same base address but with different lengths.

svn path=/trunk/; revision=75981

2 years ago[NtUser]
James Tabor [Wed, 27 Sep 2017 22:39:17 +0000 (22:39 +0000)]
[NtUser]
- Patch by MudHead : Should test for invalid parent parameter. See CORE-13718.

svn path=/trunk/; revision=75980

2 years ago[NtUser]
James Tabor [Wed, 27 Sep 2017 22:35:26 +0000 (22:35 +0000)]
[NtUser]
- Patch by MudHead : Not setting error on success. See CORE-13717.

svn path=/trunk/; revision=75979

2 years ago[KERNEL32]
Pierre Schweitzer [Wed, 27 Sep 2017 17:43:52 +0000 (17:43 +0000)]
[KERNEL32]
- Move InternalOpenDirW() to disk.c; that's the last place where it's used
- Implement GetVolumePathNamesForVolumeNameA(); its -W implementation is still to be implemented
- W2K3ify SetVolumeLabelW() and SetVolumeLabelA()

svn path=/trunk/; revision=75978

2 years ago[TIMEOUT]: Use a waitable timer to wait for a maximum of 1 second, instead of using...
Hermès Bélusca-Maïto [Tue, 26 Sep 2017 14:29:25 +0000 (14:29 +0000)]
[TIMEOUT]: Use a waitable timer to wait for a maximum of 1 second, instead of using some Sleep(100) calls. The only Sleep() call allowed is the Sleep(INFINITE) one.

svn path=/trunk/; revision=75977

2 years ago[FASTFAT]
Eric Kohl [Tue, 26 Sep 2017 13:49:09 +0000 (13:49 +0000)]
[FASTFAT]
Revert r75975 because of failures in the advpack files winetest.

svn path=/trunk/; revision=75976

2 years ago[FASTFAT]
Eric Kohl [Tue, 26 Sep 2017 12:36:17 +0000 (12:36 +0000)]
[FASTFAT]
Terminate the path name at the last slash when a file is opened using the IO_OPEN_TARGET_DIRECTORY option. This fixes some IoCreateFile kernel mode tests.

svn path=/trunk/; revision=75975

2 years ago[NETAPI32]
Eric Kohl [Tue, 26 Sep 2017 09:18:20 +0000 (09:18 +0000)]
[NETAPI32]
Implement NetLogonSetServiceBits().

svn path=/trunk/; revision=75974

2 years ago[WINLOGON][WIN32K][WINSRV] -Silence a lot of debug prints in the shutdown sequence...
Giannis Adamopoulos [Tue, 26 Sep 2017 09:11:51 +0000 (09:11 +0000)]
[WINLOGON][WIN32K][WINSRV] -Silence a lot of debug prints in the shutdown sequence. Add some debug prints in case of error.  Also print the name of the processes that get terminated. Keep the debug prints that show the parameters that are passed to SrvExitWindowsEx and WM_LOGONNOTIFY.

svn path=/trunk/; revision=75973

2 years ago[NETAPI32]
Eric Kohl [Tue, 26 Sep 2017 09:03:27 +0000 (09:03 +0000)]
[NETAPI32]
Implement NetStatisticsGet() and move NetpNtStatusToApiStatus().

svn path=/trunk/; revision=75972

2 years ago[NETAPI32]
Eric Kohl [Tue, 26 Sep 2017 07:51:56 +0000 (07:51 +0000)]
[NETAPI32]
Rename misc.c to utils.c because misc.c will be used for something else.

svn path=/trunk/; revision=75971

2 years ago[NETAPI]
Eric Kohl [Tue, 26 Sep 2017 07:32:49 +0000 (07:32 +0000)]
[NETAPI]
Add proper client implementations for NetQueryDisplayInformation() and NetGetDisplayInformationIndex().

svn path=/trunk/; revision=75970

2 years ago[KERNEL32]
Pierre Schweitzer [Tue, 26 Sep 2017 06:18:07 +0000 (06:18 +0000)]
[KERNEL32]
W2K3ify GetVolumeInformationA().
Also fix a regression brought by GetVolumeInformationW() rewrite (yay, winetests!).

svn path=/trunk/; revision=75969

2 years ago[TIMEOUT]: Implement the TIMEOUT utility (found on Win2k3 and upwards). This is an...
Hermès Bélusca-Maïto [Mon, 25 Sep 2017 23:31:44 +0000 (23:31 +0000)]
[TIMEOUT]: Implement the TIMEOUT utility (found on Win2k3 and upwards). This is an improved "pause" command, with elapsed time count display.
Based from a patch by Lee Schröder, with modifications by myself.
CORE-10044 #resolve

svn path=/trunk/; revision=75968

2 years ago[KERNEL32]
Pierre Schweitzer [Mon, 25 Sep 2017 21:33:56 +0000 (21:33 +0000)]
[KERNEL32]
- Implement IsThisARootDirectory()
- Reimplement GetVolumeInformationW() to make it w2k3 compliant.
This fixes a few winetests and makes fsutil fsinfo ntfsinfo work in ROS :-)

svn path=/trunk/; revision=75967

2 years ago[FSUTIL]
Pierre Schweitzer [Mon, 25 Sep 2017 18:59:54 +0000 (18:59 +0000)]
[FSUTIL]
- Modify OpenVolume so that it can restrict volume opening to a NTFS volume (broken on ROS...)
- Implement fsutil fsinfo ntfsinfo

svn path=/trunk/; revision=75966

2 years ago[WINED3D] Silence a noisy DPRINT that makes Test KVM AHK abort.
Mark Jansen [Sun, 24 Sep 2017 21:32:18 +0000 (21:32 +0000)]
[WINED3D] Silence a noisy DPRINT that makes Test KVM AHK abort.
CORE-13829

svn path=/trunk/; revision=75965

2 years ago[MORE]: Remove an unused library import (user32).
Hermès Bélusca-Maïto [Sun, 24 Sep 2017 19:02:29 +0000 (19:02 +0000)]
[MORE]: Remove an unused library import (user32).

svn path=/trunk/; revision=75964

2 years ago[CHCP][CMD]: Make the CHCP command a standalone executable, for backwards compatibili...
Hermès Bélusca-Maïto [Sun, 24 Sep 2017 19:00:47 +0000 (19:00 +0000)]
[CHCP][CMD]: Make the CHCP command a standalone executable, for backwards compatibility with Windows etc. This allows the user to be able to replace it with a 3rd-party one.
CORE-10295 #resolve
CORE-9444

svn path=/trunk/; revision=75963

2 years ago[MBEDTLS]
Thomas Faber [Sun, 24 Sep 2017 13:11:18 +0000 (13:11 +0000)]
[MBEDTLS]
- Disable the use of SSE2 instruction. ROS supports CPUs that do not support these.
CORE-13826 #resolve
CORE-10338

svn path=/trunk/; revision=75962

2 years ago[FASTFAT]
Pierre Schweitzer [Sun, 24 Sep 2017 12:35:37 +0000 (12:35 +0000)]
[FASTFAT]
Implement statistics counting for non cached read/write operations.

svn path=/trunk/; revision=75961

2 years ago[WS2_32_WINETEST] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 24 Sep 2017 11:36:21 +0000 (11:36 +0000)]
[WS2_32_WINETEST] Sync with Wine Staging 2.16. CORE-13762

svn path=/trunk/; revision=75960

2 years ago[REG_WINETEST] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 24 Sep 2017 11:33:35 +0000 (11:33 +0000)]
[REG_WINETEST] Sync with Wine Staging 2.16. CORE-13762

svn path=/trunk/; revision=75959

2 years ago[REG] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 24 Sep 2017 11:33:04 +0000 (11:33 +0000)]
[REG] Sync with Wine Staging 2.16. CORE-13762

39e0e81 reg: Null-terminate incomplete REG_EXPAND_SZ and REG_MULTI_SZ Unicode data.
82fc4c8 reg: Close any open registry keys before starting the key deletion process.
5de883c reg: Use the correct return codes during the import operation.
56e58e4 reg: Delete registry keys via the state machine.
d90f2a5 reg: Delete registry values via the state machine.
db98cc4 reg: Handle unknown registry data types in the state machine.
32d5368 reg: Import hex data via the state machine.
f1874c1 reg: Import REG_DWORD data via the state machine.
038f1c6 reg: Parse data types and import REG_SZ data via the state machine.
0565934 reg: Parse key names and value names in the state machine.
3e87a70 reg: Introduce a partial state machine for importing Windows 3.1 registry data.
aa386af reg: Add initial support for the import operation.
f2fbbec reg: Rename reg.h to resource.h.
c6c95a0 reg: Compile with msvcrt.
8c253c4 reg: Make some variables 'static const'.
337e0f4 reg: Avoid an uninitialized variable warning.
8abec73 reg: Dynamically allocate memory for the value name buffer when deleting all registry values in a specified key.
e7ea838 reg: Use a helper function to resize a memory buffer.
a1bc33a reg: Use a helper function to free allocated memory.
a6e28cc reg: Use a helper function to allocate memory and die on failure.
90da210 reg: Account for sizeof(WCHAR) when resizing the value name buffer during the query operation.
fb22f6c reg: Avoid using RegQueryInfoKey() to enumerate subkeys and values in the query operation.

svn path=/trunk/; revision=75958

2 years ago[PSDK] Update winreg.h. CORE-13762
Amine Khaldi [Sun, 24 Sep 2017 11:32:16 +0000 (11:32 +0000)]
[PSDK] Update winreg.h. CORE-13762

svn path=/trunk/; revision=75957

2 years ago[XMLLITE_WINETEST] Addendum to r75951.
Amine Khaldi [Sun, 24 Sep 2017 11:27:47 +0000 (11:27 +0000)]
[XMLLITE_WINETEST] Addendum to r75951.

svn path=/trunk/; revision=75956

2 years ago[FREETYPE] Update to v2.8.1. CORE-13825
Amine Khaldi [Sun, 24 Sep 2017 11:20:15 +0000 (11:20 +0000)]
[FREETYPE] Update to v2.8.1. CORE-13825

svn path=/trunk/; revision=75955

2 years ago[WINDOWSCODECS_WINETEST] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 24 Sep 2017 11:19:20 +0000 (11:19 +0000)]
[WINDOWSCODECS_WINETEST] Sync with Wine Staging 2.16. CORE-13762

svn path=/trunk/; revision=75954

2 years ago[PSDK] Update wincodec.idl and winerror.h. [WINDOWSCODECS] Sync with Wine Staging...
Amine Khaldi [Sun, 24 Sep 2017 11:19:07 +0000 (11:19 +0000)]
[PSDK] Update wincodec.idl and winerror.h. [WINDOWSCODECS] Sync with Wine Staging 2.16. CORE-13762

b2229cc windowscodecs: Add support for CMYK to BGR conversion.
22b69e6 windowscodecs: Move JPEG frame image data initialization from Frame::CopyPixels to Decoder::Initialize. (v2)
b635fa0 windowscodecs: Move additional processing out of the JPEG decoding loop.
80649c5 windowscodecs: Fix stride calculation in JPEG decoder.
0d88ec1 windowscodecs: Fix IWICBitmapEncoder::SetPalette for a not initialized case in JPEG encoder.
267bca1 windowscodecs: PNGEncoder: Return 32bppRGBA pixel format by default.
8bae213 windowscodecs: Fix 32bppGrayFloat to 8bppGray conversion.
8648aaf wincodecs: Add encoder options for JPEG.
2eeef78 windowscodecs: Fix a memory leak.
c092f1a windowscodecs: Add some tests for IWICMetadataQueryReader.
2271ba8 windowscodecs: Add initial implementation of IWICMetadataQueryReader::GetMetadataByName.
d3280c8 windowscodecs: Implement IWICBitmapDecoder::GetMetadataQueryReader in the GIF decoder.
c94bf3c windowscodecs: Implement IWICMetadataQueryReader::GetLocation.
3059668 windowscodecs: Use PropVariantCompareEx to compare metadata items.
f258903 windowscodecs: Implement IWICMetadataQueryReader::GetContainerFormat.
714175e windowscodecs: Implement WICMapSchemaToName.
e1eed88 windowscodecs: Implement WICMapShortNameToGuid.
37ae4f2 windowscodecs: Implement WICMapGuidToShortName.
cf1269a windowscodecs: Register WICImagingFactory2 interface.

svn path=/trunk/; revision=75953

2 years ago[PSDK] Update propidl.idl. CORE-13762
Amine Khaldi [Sun, 24 Sep 2017 11:18:52 +0000 (11:18 +0000)]
[PSDK] Update propidl.idl. CORE-13762

svn path=/trunk/; revision=75952

2 years ago[XMLLITE_WINETEST] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 24 Sep 2017 11:18:47 +0000 (11:18 +0000)]
[XMLLITE_WINETEST] Sync with Wine Staging 2.16. CORE-13762

svn path=/trunk/; revision=75951

2 years ago[XMLLITE] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 24 Sep 2017 11:18:39 +0000 (11:18 +0000)]
[XMLLITE] Sync with Wine Staging 2.16. CORE-13762

49a57bc xmllite/writer: Improve handling of the output with invalid encoding.
a6d6beb xmllite/writer: Do not indent after just BOM has been written.
5773a5d xmllite/writer: Fix indentation on WriteElementString().
5f4ed88 xmllite/writer: Fix empty element and state handling in WriteElementString().
b06dd7d xmllite/reader: Added a helper for setting current attribute cursor.
be56791 xmllite/reader: Implement MoveToAttributeByName().

svn path=/trunk/; revision=75950

2 years ago[WINTRUST] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 24 Sep 2017 11:18:27 +0000 (11:18 +0000)]
[WINTRUST] Sync with Wine Staging 2.16. CORE-13762

59a476e wintrust: use enhanced crypto provider in VerifyImageHash
9369e80 wintrust: Increase buffer size to silence a gcc warning.

svn path=/trunk/; revision=75949

2 years ago[WINMINE] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 24 Sep 2017 11:18:18 +0000 (11:18 +0000)]
[WINMINE] Sync with Wine Staging 2.16. CORE-13762

ca8f056 winemine: Added Shift+LClick hotkey to uncover multiple cells.
9b90266 winemine: Mine random placing fix.

svn path=/trunk/; revision=75948