reactos.git
10 years ago[KERNEL32]
Hermès Bélusca-Maïto [Fri, 13 Sep 2013 22:27:41 +0000 (22:27 +0000)]
[KERNEL32]
- npipe.c:
  * Use RtlPrefixUnicodeString instead of RtlPrefixString with casts.
  * Check results of RtlCreateUnicodeString and RtlPrefixUnicodeString, return FALSE if they fail and set an appropriate last error.
  * Free the string created with RtlCreateUnicodeString instead of leaking memory.
  * Fix a path type check (RtlPathTypeUncAbsolute instead of RtlPathTypeRootLocalDevice).
- path.c: I prefer seeing the default case at the end of the switch (no functional changes).

[NTOS:MM]
- Use RtlPrefixUnicodeString instead of RtlPrefixString with casts.

[RTL]
- RtlPrefixString acts on general PSTRINGs (which are not UNICODE).
- Remove extra spaces between names of functions and parentheses.
- Clarify the fact that we run over characters.

svn path=/trunk/; revision=60085

10 years ago[HIDUSB][USBHUB]
Amine Khaldi [Fri, 13 Sep 2013 22:03:47 +0000 (22:03 +0000)]
[HIDUSB][USBHUB]
* Silence some debug prints.

svn path=/trunk/; revision=60084

10 years ago[MOUNTMGR]
Hermès Bélusca-Maïto [Fri, 13 Sep 2013 22:02:07 +0000 (22:02 +0000)]
[MOUNTMGR]
- Clarify the code (use properly RtlPrefixUnicodeString)
- 'if' level--;

svn path=/trunk/; revision=60083

10 years ago[XCOPY]
Amine Khaldi [Fri, 13 Sep 2013 20:36:02 +0000 (20:36 +0000)]
[XCOPY]
* Move the resource files to the lang folder.
CORE-7455 #resolve

svn path=/trunk/; revision=60082

10 years ago[INCLUDES]
Amine Khaldi [Fri, 13 Sep 2013 20:32:30 +0000 (20:32 +0000)]
[INCLUDES]
* Deduplicate wpp.h and make the host one redirect to it.

svn path=/trunk/; revision=60081

10 years ago[PSDK]
Amine Khaldi [Fri, 13 Sep 2013 20:10:57 +0000 (20:10 +0000)]
[PSDK]
* Add missing EDS_ROTATEDMODE definition.

svn path=/trunk/; revision=60080

10 years ago[QMGR_WINETEST]
Thomas Faber [Fri, 13 Sep 2013 12:54:33 +0000 (12:54 +0000)]
[QMGR_WINETEST]
- Enable qmgr tests again. They all get skipped now instead of crashing. When npfs_new manages to run these, we know it's really working well ;)
CORE-6536

svn path=/trunk/; revision=60079

10 years ago[NPFS_NEW]
Thomas Faber [Fri, 13 Sep 2013 12:46:32 +0000 (12:46 +0000)]
[NPFS_NEW]
- Use documented functions

svn path=/trunk/; revision=60078

10 years ago[NPFS_NEW]
Thomas Faber [Fri, 13 Sep 2013 12:41:44 +0000 (12:41 +0000)]
[NPFS_NEW]
- Fix another DataQueue->QueueState condition
- Use IsListEmpty for readability

svn path=/trunk/; revision=60077

10 years ago[WINE/TEST]
Amine Khaldi [Fri, 13 Sep 2013 10:54:12 +0000 (10:54 +0000)]
[WINE/TEST]
* Make win_skip work for ReactOS test platform too.

svn path=/trunk/; revision=60076

10 years ago[SCRRUN_WINETEST]
Amine Khaldi [Fri, 13 Sep 2013 10:19:51 +0000 (10:19 +0000)]
[SCRRUN_WINETEST]
* Import from Wine 1.7.1.

svn path=/trunk/; revision=60075

10 years ago[WINE/TEST]
Amine Khaldi [Fri, 13 Sep 2013 09:20:52 +0000 (09:20 +0000)]
[WINE/TEST]
* Introduce a way to properly mark the todos instead of counting them as failures. Brought to you by Thomas Faber.

svn path=/trunk/; revision=60074

10 years ago[KERNEL32]
Amine Khaldi [Fri, 13 Sep 2013 09:02:56 +0000 (09:02 +0000)]
[KERNEL32]
* Silence some debug prints.

svn path=/trunk/; revision=60073

10 years ago[NPFS-NEW]: Activate NPFS-NEW. Let's see what happens.
Alex Ionescu [Fri, 13 Sep 2013 08:01:10 +0000 (08:01 +0000)]
[NPFS-NEW]: Activate NPFS-NEW. Let's see what happens.

svn path=/trunk/; revision=60072

10 years ago[NTOSKRNL]: Activate the pseudo-quota system. It doesnt' do much but at least it...
Alex Ionescu [Fri, 13 Sep 2013 08:00:16 +0000 (08:00 +0000)]
[NTOSKRNL]: Activate the pseudo-quota system. It doesnt' do much but at least it can silence the debug spam. I think mike wrote it..

svn path=/trunk/; revision=60071

10 years ago[NPFS-NEW]: Fix pool corruption and crashing bugs in NpPeek, which was using sizeof...
Alex Ionescu [Fri, 13 Sep 2013 07:49:42 +0000 (07:49 +0000)]
[NPFS-NEW]: Fix pool corruption and crashing bugs in NpPeek, which was using sizeof instead of FIELD_OFFSET.
[NPFS-NEW]: Actually implement NpCancelWaiter instead of making it ASSERT.
[NPFS-NEW]: Critical fixes to NpAddWaiter and NpWaitForNamedPipe to fix logic flaws.
NPFS-NEW now behaves without any visible regressions, and exhibits only 2 failures in the kernel32 pipe winetest -- vs 120+ failures with the current NPFS driver. It has 0 ntdll pipe failures, and 0 kmtest pipe failures.

svn path=/trunk/; revision=60070

10 years ago[NPFS-NEW]: Implement NpImpersonate, needed by FSCTL_PIPE_IMPERSONATE, called by...
Alex Ionescu [Thu, 12 Sep 2013 23:55:56 +0000 (23:55 +0000)]
[NPFS-NEW]: Implement NpImpersonate, needed by FSCTL_PIPE_IMPERSONATE, called by ImpersonateNamedPipeClient (in advapi). Down to only 12 kernel32:pipe failures, a 1100% improvement over npfs.

svn path=/trunk/; revision=60069

10 years ago[NPFS-NEW]: Fix a bug in NpRemoveDataQueueEntry.
Alex Ionescu [Thu, 12 Sep 2013 23:54:59 +0000 (23:54 +0000)]
[NPFS-NEW]: Fix a bug in NpRemoveDataQueueEntry.
[NPFS-NEW]: Fix busted up NpGetNextRealDataQueueEntry and fix its usage.
These changes don't appear to "fix" any tests, but they were real bugs. Thanks to ThFabba.

svn path=/trunk/; revision=60068

10 years ago[NPFS-NEW]: Fix moar bougs. pipe: 33920 tests execute (0 marked as todo, 84 failures...
Alex Ionescu [Thu, 12 Sep 2013 22:42:13 +0000 (22:42 +0000)]
[NPFS-NEW]: Fix moar bougs. pipe: 33920 tests execute (0 marked as todo, 84 failures), 0 skipped. Note that this is already better than trunk's npfs!

svn path=/trunk/; revision=60067

10 years ago[VGA_NEW]
Jérôme Gardou [Thu, 12 Sep 2013 21:22:42 +0000 (21:22 +0000)]
[VGA_NEW]
 - Lessons learnt: the more trivial, the more suspicious.
Fix build, and remind that MSDN is not always right.

svn path=/trunk/; revision=60066

10 years ago[CSRSRV]: hbelusca: wait a sec ;-) Fix CsrCreateWait and CSR_WAIT_BLOCK to match...
Alex Ionescu [Thu, 12 Sep 2013 21:05:58 +0000 (21:05 +0000)]
[CSRSRV]: hbelusca: wait a sec ;-) Fix CsrCreateWait and CSR_WAIT_BLOCK to match Windows Server 2003 semantics, which don't have a "UserWaitList". Fix our winsrv not to call CsrCreateWait incorrectly (which corrupted the heap/stack when using windows's csrsrv.dll).

svn path=/trunk/; revision=60065

10 years ago[VGA_NEW]
Jérôme Gardou [Thu, 12 Sep 2013 20:58:12 +0000 (20:58 +0000)]
[VGA_NEW]
 - Use VideoDebugPrint macro instead of VideoPortDebugPrint function.
It's the same, but different (tm).

svn path=/trunk/; revision=60064

10 years ago[VGA_NEW]
Jérôme Gardou [Thu, 12 Sep 2013 20:25:24 +0000 (20:25 +0000)]
[VGA_NEW]
 - Zero out the Int10 Bios call arguments structure before calling Videoprt Int10CallBios
 - Properly check for VESA BIOS return value from such calls
 - Use VGA registers to update the palette when possible.
Now bochs goes up to 3rd stage when using this driver in conjunction with framebuf_new.

svn path=/trunk/; revision=60063

10 years ago[SETUPAPI]
Jérôme Gardou [Thu, 12 Sep 2013 20:18:26 +0000 (20:18 +0000)]
[SETUPAPI]
SourceDisksFiles and SourceDisksNames inf section can be platform dependant.

svn path=/trunk/; revision=60062

10 years ago[NTOSKRNL][KERNEL32]
Kamil Hornicek [Thu, 12 Sep 2013 10:06:34 +0000 (10:06 +0000)]
[NTOSKRNL][KERNEL32]
Fix a few more cases of missing _SEH2_YIELD.

svn path=/trunk/; revision=60061

10 years ago[NTMARTA]
Thomas Faber [Thu, 12 Sep 2013 09:57:25 +0000 (09:57 +0000)]
[NTMARTA]
- Request the necessary SYNCHRONIZE access right. Fixes advapi32:security regression

svn path=/trunk/; revision=60060

10 years ago[NTOSKRNL]: Implement ThreadIsTermination info class in NtQueryInformationThread.
Alex Ionescu [Thu, 12 Sep 2013 09:02:48 +0000 (09:02 +0000)]
[NTOSKRNL]: Implement ThreadIsTermination info class in NtQueryInformationThread.
[CSRSRV]: CsrInsertThread should call this API to make sure the thread isn't dead already. Update the callers to handle this possible failure.
This behavior was obeserved in Windows' CSRSRV.DLL. It now works in ReactOS as well.

svn path=/trunk/; revision=60059

10 years ago[USER32]: Make ClientThreadSetup return TRUE, and document how initialization should...
Alex Ionescu [Thu, 12 Sep 2013 08:41:25 +0000 (08:41 +0000)]
[USER32]: Make ClientThreadSetup return TRUE, and document how initialization should work. Enable CsrConnectToUser in CSRSRV. Works-4-me(TM).

svn path=/trunk/; revision=60058

10 years ago[SMLIB]: Use the right API port name. Now Windows's SMSS works fine in ROS.
Alex Ionescu [Thu, 12 Sep 2013 08:02:05 +0000 (08:02 +0000)]
[SMLIB]: Use the right API port name. Now Windows's SMSS works fine in ROS.

svn path=/trunk/; revision=60057

10 years ago[NTOSKRNL]: Fix the fix
Alex Ionescu [Thu, 12 Sep 2013 07:55:45 +0000 (07:55 +0000)]
[NTOSKRNL]: Fix the fix

svn path=/trunk/; revision=60056

10 years ago[NTOSKRNL]: Make MiCreateImageSection return STATUS_SUCCESS, not some fucked-up ROS...
Alex Ionescu [Thu, 12 Sep 2013 06:01:52 +0000 (06:01 +0000)]
[NTOSKRNL]: Make MiCreateImageSection return STATUS_SUCCESS, not some fucked-up ROS-specific status code.
[NTOSKRNL]: Make MmCreateSection do the correct access checks and parameter checks, just like ARM3 does. For example, asking for PAGE_EXECUTE on a non-image file no longer requests SYNCHRONIZE and FILE_READ_DATA...it asks... FILE_EXECUTE. Cause you know... that's what the caller..wants. Anyway, this, among other things, fixes LdrValidateImageChecksum (and those annoying errors 0xC0000022 in the logs). SMSS is now checking the checksums of Known DLLs just like before (in Win7 they stopped doing this to improve boot performance, lol). It also makes Windows' SMSS happy.

svn path=/trunk/; revision=60055

10 years agoAttempt to fix CORE-6024
James Tabor [Thu, 12 Sep 2013 02:26:36 +0000 (02:26 +0000)]
Attempt to fix CORE-6024

svn path=/trunk/; revision=60054

10 years agoFix other _SEH2_YIELD() issues, spotted for most of them by Pigglesworth, the other...
Hermès Bélusca-Maïto [Thu, 12 Sep 2013 00:41:24 +0000 (00:41 +0000)]
Fix other _SEH2_YIELD() issues, spotted for most of them by Pigglesworth, the other by myself.
I'm wondering how much remaining ones are in our code. Only the Lord knows...

svn path=/trunk/; revision=60053

10 years ago[NPFS_NEW]
Hermès Bélusca-Maïto [Thu, 12 Sep 2013 00:16:42 +0000 (00:16 +0000)]
[NPFS_NEW]
Use _SEH2_YIELD when exiting from a _SEH2 block via a return or a goto (otherwise --> bug in the stack).
This limitation will be removed in SEH3, but it's not used at the moment.

svn path=/trunk/; revision=60052

10 years ago[NPFS_NEW]
Hermès Bélusca-Maïto [Thu, 12 Sep 2013 00:05:54 +0000 (00:05 +0000)]
[NPFS_NEW]
Don't hardcode the first parameter of the bugchecks. Instead, I introduce a NpBugCheck macro and file identifiers
(their names conform to the existing name convention of the driver) so that, when bugchecking, we report as the
first parameter of the NPFS_FILE_SYSTEM bugcheck the file ID (in the high word) and the line (in the low word)
where the bugcheck was emitted.
See the MSDN article "Bug Check 0x25: NPFS_FILE_SYSTEM" - http://msdn.microsoft.com/en-us/library/windows/hardware/ff557436(v=vs.85).aspx
for more information.

Inspired from the existing ext2 driver.

Should be done for the other filesystems (FAT, NTFS, CDFS, Redirector, Mailslot, etc...).

svn path=/trunk/; revision=60051

10 years ago[KERNEL32]
Thomas Faber [Wed, 11 Sep 2013 23:31:11 +0000 (23:31 +0000)]
[KERNEL32]
- Fix access rights when using CreateFile with FILE_FLAG_DELETE_ON_CLOSE

svn path=/trunk/; revision=60048

10 years ago[NPFS_NEW]: Add file header info.
Hermès Bélusca-Maïto [Wed, 11 Sep 2013 23:19:20 +0000 (23:19 +0000)]
[NPFS_NEW]: Add file header info.

svn path=/trunk/; revision=60047

10 years ago[NTOSKRNL]
Amine Khaldi [Wed, 11 Sep 2013 22:09:41 +0000 (22:09 +0000)]
[NTOSKRNL]
* Fix a copy pasted typo.

svn path=/trunk/; revision=60046

10 years ago[NTOSKRNL]
Amine Khaldi [Wed, 11 Sep 2013 21:50:15 +0000 (21:50 +0000)]
[NTOSKRNL]
* Break down the checks as suggested by Alex. Brought to you by David Quintana.

svn path=/trunk/; revision=60045

10 years ago[NTOS:IO]
Thomas Faber [Wed, 11 Sep 2013 21:23:23 +0000 (21:23 +0000)]
[NTOS:IO]
- Fix pool corruption resulting form a combination of r60038 and dubious SEH programming patterns

svn path=/trunk/; revision=60044

10 years ago[NTOSKRNL]
Amine Khaldi [Wed, 11 Sep 2013 19:59:59 +0000 (19:59 +0000)]
[NTOSKRNL]
* Silence some debug prints.

svn path=/trunk/; revision=60043

10 years ago[NPFS-NEW]: ntdll_winetest pipe : 107 tests executed (0 marked as todo, 0 failures...
Alex Ionescu [Wed, 11 Sep 2013 19:36:51 +0000 (19:36 +0000)]
[NPFS-NEW]: ntdll_winetest pipe : 107 tests executed (0 marked as todo, 0 failures), 0 skipped.

svn path=/trunk/; revision=60042

10 years ago[CMAKE]
Thomas Faber [Wed, 11 Sep 2013 19:25:48 +0000 (19:25 +0000)]
[CMAKE]
- Improve MSVC warning settings

svn path=/trunk/; revision=60041

10 years ago[SAC]: Don't return things from a VOID function (MSVC_warning--;)
Hermès Bélusca-Maïto [Wed, 11 Sep 2013 19:23:20 +0000 (19:23 +0000)]
[SAC]: Don't return things from a VOID function (MSVC_warning--;)

svn path=/trunk/; revision=60040

10 years ago[SPEC2DEF]
Thomas Faber [Wed, 11 Sep 2013 19:19:11 +0000 (19:19 +0000)]
[SPEC2DEF]
- Allow C++ redirects aka fix MSVC build

svn path=/trunk/; revision=60039

10 years ago[NTOSKRNL]: Fix a literal metric fuckton of missing parameter checks in IoCreateFile...
Alex Ionescu [Wed, 11 Sep 2013 18:50:28 +0000 (18:50 +0000)]
[NTOSKRNL]: Fix a literal metric fuckton of missing parameter checks in IoCreateFile. I know for a fact this fixes two ntdll pipe tests, it probably fixes a bunch of other tests too.
[NTOSKRNL]: Fix OPEN_PACKET definition. Also, allocate it from the pool in IoCreateFile, instead of the stack (Windows does too).
[NTOSKRNL]: IoCreateFile should only be setting IO_STATUS_BLOCK Information/Status if EA Buffer validation *Fails*, not if it succeeds!

svn path=/trunk/; revision=60038

10 years ago[FRAMEDYN]
Thomas Faber [Wed, 11 Sep 2013 18:36:27 +0000 (18:36 +0000)]
[FRAMEDYN]
- Fix MSVC build
- Fix some name mangling issues
- Add stub libraries to make the dll actually usable. The GCC alias library is still broken though.

svn path=/trunk/; revision=60037

10 years ago[SVCHOST]
Amine Khaldi [Wed, 11 Sep 2013 18:33:36 +0000 (18:33 +0000)]
[SVCHOST]
* CMake file improvements.

svn path=/trunk/; revision=60036

10 years ago[SVCHOST]
Amine Khaldi [Wed, 11 Sep 2013 18:20:30 +0000 (18:20 +0000)]
[SVCHOST]
* Use the DbgPrintEx based SvchostDbgPrint macro. We no longer have traces enabled by default here.

svn path=/trunk/; revision=60035

10 years ago[NPFS-NEW]: Use locking and IRP completion macros from NPFS snippet at "Common Driver...
Alex Ionescu [Wed, 11 Sep 2013 17:10:30 +0000 (17:10 +0000)]
[NPFS-NEW]: Use locking and IRP completion macros from NPFS snippet at "Common Driver Reliability Issues - Microsoft
download.microsoft.com/download/5/7/7/577a5684-8a83.../drvqa.doc". Fix a few incorrect exclusive vs shared lock acquires.

svn path=/trunk/; revision=60034

10 years ago[SCRRUN]
Amine Khaldi [Wed, 11 Sep 2013 12:44:58 +0000 (12:44 +0000)]
[SCRRUN]
* Import from Wine 1.7.1.

svn path=/trunk/; revision=60033

10 years ago[KERNEL32_WINETEST]
Amine Khaldi [Wed, 11 Sep 2013 11:32:57 +0000 (11:32 +0000)]
[KERNEL32_WINETEST]
* Sync with Wine 1.7.1.

svn path=/trunk/; revision=60032

10 years ago[WINE/INCLUDES]
Amine Khaldi [Wed, 11 Sep 2013 11:09:23 +0000 (11:09 +0000)]
[WINE/INCLUDES]
* Update Wine's atlbase.h.

svn path=/trunk/; revision=60031

10 years ago[COMDLG32]
Amine Khaldi [Wed, 11 Sep 2013 10:46:07 +0000 (10:46 +0000)]
[COMDLG32]
* Move the resource files to the appropriate folders.

svn path=/trunk/; revision=60030

10 years ago[ATL]
Amine Khaldi [Wed, 11 Sep 2013 10:20:46 +0000 (10:20 +0000)]
[ATL]
* Add _ATL_VER definition.

svn path=/trunk/; revision=60029

10 years ago[NPFS-NEW]:
Alex Ionescu [Wed, 11 Sep 2013 07:05:15 +0000 (07:05 +0000)]
[NPFS-NEW]:
NpfsCreate: 339 tests executed (0 marked as todo, 0 failures), 0 skipped.
NpfsConnect: 679 tests executed (0 marked as todo, 0 failures), 0 skipped.
NpfsReadWrite: 7154 tests executed (0 marked as todo, 0 failures), 0 skipped.
NpfsReadWriteAsync: 1176 tests executed (0 marked as todo, 0 failures), 0 skipped.
'Nuff said.

svn path=/trunk/; revision=60028

10 years ago[NPFS-NEW]: Multiple code fixes to almost all code paths. Mainly a collection of...
Alex Ionescu [Wed, 11 Sep 2013 02:04:17 +0000 (02:04 +0000)]
[NPFS-NEW]: Multiple code fixes to almost all code paths. Mainly a collection of small bugs, structural errors, logic flaws, off-by-ones, etc. But they were enough to make the driver essentially useless. Now Thomas's kmtests NpfsCreate and NpfsConnect return absolutely zero failures. On to NpfsReadWrite....

svn path=/trunk/; revision=60027

10 years ago[ADVPACK_WINETEST]
Amine Khaldi [Wed, 11 Sep 2013 00:08:28 +0000 (00:08 +0000)]
[ADVPACK_WINETEST]
* Sync with Wine 1.7.1.

svn path=/trunk/; revision=60026

10 years ago[ADVPACK]
Amine Khaldi [Wed, 11 Sep 2013 00:07:58 +0000 (00:07 +0000)]
[ADVPACK]
* Sync with Wine 1.7.1.

svn path=/trunk/; revision=60025

10 years ago[CREDUI]
Amine Khaldi [Tue, 10 Sep 2013 23:38:33 +0000 (23:38 +0000)]
[CREDUI]
* Move the resource files to the appropriate folders.

svn path=/trunk/; revision=60024

10 years ago[DDK]
Amine Khaldi [Tue, 10 Sep 2013 23:31:39 +0000 (23:31 +0000)]
[DDK]
* Annotate swenum.h.

svn path=/trunk/; revision=60023

10 years ago[WINE/TEST]
Amine Khaldi [Tue, 10 Sep 2013 23:30:54 +0000 (23:30 +0000)]
[WINE/TEST]
* Add winetest_{get,add}_failures().

svn path=/trunk/; revision=60022

10 years ago[NTOSKRNL]
Amine Khaldi [Tue, 10 Sep 2013 22:21:52 +0000 (22:21 +0000)]
[NTOSKRNL]
* Fix the locking in MiQueryBasicInformation to cover ARM3 too, not just RosMm. This makes sure we don't change the address space while querying it (or vice-versa).
* Don't attempt to query information for a terminated process (fixes some kernel32 loader winetests, matches Windows behavior).
* Brought to you by Alex Ionescu.

svn path=/trunk/; revision=60021

10 years ago[DDK]
Amine Khaldi [Tue, 10 Sep 2013 22:20:09 +0000 (22:20 +0000)]
[DDK]
* Annotate ntddpcm.h and apply some formatting consistency to it.

svn path=/trunk/; revision=60020

10 years ago[AVIFIL32]
Amine Khaldi [Tue, 10 Sep 2013 22:17:59 +0000 (22:17 +0000)]
[AVIFIL32]
* Move the resource files to the lang folder.

svn path=/trunk/; revision=60019

10 years ago[CALC]
Kamil Hornicek [Tue, 10 Sep 2013 22:10:14 +0000 (22:10 +0000)]
[CALC]
Fix two more misaligned buttons in Czech resources.

svn path=/trunk/; revision=60018

10 years ago[CSR]: Fix header information ;)
Hermès Bélusca-Maïto [Tue, 10 Sep 2013 22:06:25 +0000 (22:06 +0000)]
[CSR]: Fix header information ;)

svn path=/trunk/; revision=60017

10 years ago[NTOSKRNL]
Amine Khaldi [Tue, 10 Sep 2013 21:57:52 +0000 (21:57 +0000)]
[NTOSKRNL]
* Return the proper status when we attempt to illegally commit non-ARM3 section. We hit this assert with some kernel32 winetests (mainly loader and virtual). Brought to you by Alex Ionescu.

svn path=/trunk/; revision=60016

10 years ago[ADVAPI32]
Hermès Bélusca-Maïto [Tue, 10 Sep 2013 21:38:15 +0000 (21:38 +0000)]
[ADVAPI32]
Use a correct control pipe sharing policy.

svn path=/trunk/; revision=60015

10 years ago[USERENV][USER32]
Hermès Bélusca-Maïto [Tue, 10 Sep 2013 21:26:37 +0000 (21:26 +0000)]
[USERENV][USER32]
Use a correct return variable for RtlCreateUnicodeStringFromAsciiz. Advice: read the documentation before using functions...

svn path=/trunk/; revision=60014

10 years ago[LSASRV]
Eric Kohl [Tue, 10 Sep 2013 21:20:22 +0000 (21:20 +0000)]
[LSASRV]
- Allocate buffers for account and domain names in the well-known sid list instead of using pointers to strings.
- Add a string load routine and convert all hard-coded SID names to resources.
A german translation will follow soon.

svn path=/trunk/; revision=60013

10 years ago[BASESRV]
Hermès Bélusca-Maïto [Tue, 10 Sep 2013 20:45:53 +0000 (20:45 +0000)]
[BASESRV]
- Fix header formatting plus windows headers inclusion.
- RtlCreateUnicodeString returns booleans, not ntstatuses, so fix the code appropriately.

svn path=/trunk/; revision=60012

10 years ago[CMAKE]
Thomas Faber [Tue, 10 Sep 2013 20:06:05 +0000 (20:06 +0000)]
[CMAKE]
- Correctly escape error message. Spotted & tested by David Quintana

svn path=/trunk/; revision=60010

10 years ago[KERNEL32]
Thomas Faber [Tue, 10 Sep 2013 17:12:21 +0000 (17:12 +0000)]
[KERNEL32]
- Improve a DPRINT in CreateProcessInternalW. Patch by Víctor Martínez Calvo
CORE-7452 #resolve

svn path=/trunk/; revision=60009

10 years agoWoops, modified the Description to be a bit more helpful.
Daniel Reimer [Tue, 10 Sep 2013 16:59:13 +0000 (16:59 +0000)]
Woops, modified the Description to be a bit more helpful.

svn path=/trunk/; revision=60008

10 years ago[NTDLL_WINETEST]
Amine Khaldi [Tue, 10 Sep 2013 16:49:44 +0000 (16:49 +0000)]
[NTDLL_WINETEST]
* Sync with Wine 1.7.1.

svn path=/trunk/; revision=60007

10 years agoCommit some Rapps Database regarding patches.
Daniel Reimer [Tue, 10 Sep 2013 16:49:30 +0000 (16:49 +0000)]
Commit some Rapps Database regarding patches.

CORE-7312 #resolve #comment Committed in r60006. Thank you.
CORE-7352 #resolve #comment Committed in r60006. Thank you.
ROSAPPS-284 #resolve #comment Committed in r60006. Thank you.
ROSAPPS-283 #resolve #comment Committed in r60006. Thank you.

svn path=/trunk/; revision=60006

10 years ago[PSDK]
Amine Khaldi [Tue, 10 Sep 2013 16:39:37 +0000 (16:39 +0000)]
[PSDK]
* Import Wine's (broken) winioctl.h.
* Remove FILE_FS_VOLUME_INFORMATION from winternl.h. It doesn't belong there.
[NTDLL_WINETEST]
* Be more specific about winioctl.h inclusion.

svn path=/trunk/; revision=60005

10 years ago[USER32]
Amine Khaldi [Tue, 10 Sep 2013 16:28:05 +0000 (16:28 +0000)]
[USER32]
* Be more specific about the commctrl.h inclusion.
* We no longer need to add include/reactos/wine as a global inclusions folder.

svn path=/trunk/; revision=60004

10 years ago[NTOSKRNL]
Pierre Schweitzer [Tue, 10 Sep 2013 13:42:34 +0000 (13:42 +0000)]
[NTOSKRNL]
Fix string size to store GPT GUIDs.
This was causing a buffer overflow (with ending null char) and thus a stack corruption.
The side effect of the stack corruption was that the debug code (display) was looping
forever while attempting to read partition table making ntoskrnl unable to boot with
a machine where there's a GPT disk.
Kernel is now able again to handle GPT disks (and they can be used again in user-land).

This was magically hidding before r59923 or by disabling NDEBUG. Lovely Heisenbugs :-).

svn path=/trunk/; revision=60003

10 years ago[NTOSKRNL]: Implement ExAllocatePoolWithQuotaTag. However PsChargeProcessPoolQuota...
Alex Ionescu [Tue, 10 Sep 2013 10:02:27 +0000 (10:02 +0000)]
[NTOSKRNL]: Implement ExAllocatePoolWithQuotaTag. However PsChargeProcessPoolQuota is still unimplemented so nothing really gets charged (we do write the owner process, though).

svn path=/trunk/; revision=60002

10 years ago[CSRSRV]: Update CSR_SERVER_DLL definition to Server 2003 instead of XP. Get rid...
Alex Ionescu [Tue, 10 Sep 2013 08:55:09 +0000 (08:55 +0000)]
[CSRSRV]: Update CSR_SERVER_DLL definition to Server 2003 instead of XP. Get rid of the whole initialization event stuff. This should make Windows CSRSS+CSRSRV work with our BASESRV. Thanks to Hermes for discovering there was a structure issue.

svn path=/trunk/; revision=60001

10 years agoFor our 60000th commit, I bring you a complete rewrite of the Named Pipe File System...
Alex Ionescu [Tue, 10 Sep 2013 08:36:25 +0000 (08:36 +0000)]
For our 60000th commit, I bring you a complete rewrite of the Named Pipe File System. It is not yet "active", but I consider this to now be largely code complete and worthy of the prize (and I didn't want to delay other commiters any further). Once the code is reviewed, fixed, tested, and commented, it will replace our old and aging NPFS. This driver is cross-compatible with Windows Server 2003. It is expected to fix winetest incompatiblities, speed up performance, and reduce bizare RPC/SCM issues. This commit is dedicated to my best friend Rachel, who has not only always been there for me, but was also the motivating factor behind my return to my passion -- ReactOS :)

[NPFS-NEW]: Implement QueryVolume, QuerySecurity, SetSecurity. Everything but Directory Query, Fast I/O, and a few rare FSCTLs is implemented now. The former two will come in an upcoming commit.
[NPFS-NEW]: Major cleanup in the way some member variables were being addressed. Reference them as array members based on the correct FILE_PIPE defines from now on. Also fix a lot of formatting issues. Fix a bunch of bugs that were found. Use FILE_PIPE_SERVER_END and FILE_PIPE_CLIENT_END intead of a BOOLEAN. Use TRUE/FALSE/STATUS_SUCCESS/NULL/etc when needed intead of 0/1. The code formatting can/should still be improved, but this was a big help.

svn path=/trunk/; revision=60000

10 years ago[NPFS-NEW]: Implement Close, Cleanup, Disconnect, Flush, Listen, Peek, SetInfo, Trans...
Alex Ionescu [Tue, 10 Sep 2013 02:23:32 +0000 (02:23 +0000)]
[NPFS-NEW]: Implement Close, Cleanup, Disconnect, Flush, Listen, Peek, SetInfo, Transceive, Wait, Write. Only QueryInfo remains as critical functionality to support the Kernel32 APIs. Code is WIP, untested, and ugly! But it is now 90% complete. r60000 should hopefully finalize the implementation. As long as I didn't forget a file :)

svn path=/trunk/; revision=59999

10 years ago[NPFS-NEW]: Add data queue management routines, and add read support. Implement NpFsd...
Alex Ionescu [Mon, 9 Sep 2013 01:16:06 +0000 (01:16 +0000)]
[NPFS-NEW]: Add data queue management routines, and add read support. Implement NpFsdRead & NpfsCommonRead (Peek is inherently implemented too, just didn't write the FSCTL handlers yet). Next up will be Write/Peek/Close/Cleanup. Code is WIP.

svn path=/trunk/; revision=59998

10 years agoUpdate Rapps Database to most recent versions.
Daniel Reimer [Sun, 8 Sep 2013 10:34:18 +0000 (10:34 +0000)]
Update Rapps Database to most recent versions.

svn path=/trunk/; revision=59997

10 years ago[NPFS_NEW]
Amine Khaldi [Sat, 7 Sep 2013 15:32:29 +0000 (15:32 +0000)]
[NPFS_NEW]
* Beginnings of windows-compatible NPFS driver. Still rough WIP, supports CreateNamedPipe and Create IRPs for now only. This is mainly to lay out all the structures (VCB, DCB, FCB and CCB). Work on read/write (and hence data queue management) is next. Brought to you by Alex Ionescu.

svn path=/trunk/; revision=59996

10 years ago[KERNEL32]
Thomas Faber [Wed, 4 Sep 2013 19:53:59 +0000 (19:53 +0000)]
[KERNEL32]
- Fix LoaderLock assert in TerminateThread. Spotted by Amine

svn path=/trunk/; revision=59992

10 years ago[README.WINE]
Amine Khaldi [Wed, 4 Sep 2013 15:28:22 +0000 (15:28 +0000)]
[README.WINE]
* Update bcrypt and clusapi sync states.

svn path=/trunk/; revision=59989

10 years ago[JSCRIPT]
Amine Khaldi [Wed, 4 Sep 2013 12:27:18 +0000 (12:27 +0000)]
[JSCRIPT]
* Move the resource files to the lang folder.

svn path=/trunk/; revision=59988

10 years ago[USER32]: Remove another stack check. Should fix ole32 marshall tests.
Alex Ionescu [Wed, 4 Sep 2013 11:08:43 +0000 (11:08 +0000)]
[USER32]: Remove another stack check. Should fix ole32 marshall tests.

svn path=/trunk/; revision=59987

10 years ago[MSHTML]
Amine Khaldi [Wed, 4 Sep 2013 10:01:30 +0000 (10:01 +0000)]
[MSHTML]
* Move the resource files to the lang folder.

svn path=/trunk/; revision=59986

10 years agoThis commit, in my opinion, marks an important milestone in ReactOS development....
Alex Ionescu [Wed, 4 Sep 2013 07:28:15 +0000 (07:28 +0000)]
This commit, in my opinion, marks an important milestone in ReactOS development. One is now able to boot to desktop, launch applications, download through the application manager, play solitaire, minesweeper, launch Task Manager, etc... by using an unmodified Windows 2003 kernel32.dll binary (and, until our NPFS driver is fixed, the unmodified Windows 2003 NPFS driver). Additionally, one is able to achieve the same by booting with an unmodified Windows 2003 ntdll.dll, including a combination of both. The capability to mix-and-match components such as kernel32 and ntdll, at the heart of the system, will allow to better understand apitest failures (just as Wine has long had the capability to use Windows DLLs instead). With these two building blocks, additional Windows 2003 DLLs can be dropped in/tested, etc, and where failures are seen, a likely component can now be blamed. Furthermore, debugging with public symbols for these DLLs is now possible with WinDBG (in fact, this is how many bugs were fixed in this attempt). Many issues already exist when running with this combination FYI, for example, I was not able to launch any installers (tested Firefox and MIRC). This already demonstrates either missing functionality or ReactOS-specific functionality in components which depend on kernel32. I suspect the next step is infrastructure work to get special patchbot/builders to try and report back winetest results, and for additional DLLs to be "ported"/made to work. On a final note, this mixing and matching has benefits on both ends -- it's now likely that ReactOS' ntdll can run on Server 2003, at least far enough to get to Explorer or Task Manager. Running apitests on Server 2003 with and without reactos DLLs should also easily identify if certain DLLs are directly to blame for certain regressions/failures. </end excited rant>
[BASESRV]: Allocate the INI mappings from the right heap.

svn path=/trunk/; revision=59985

10 years ago[BASESRV]: Add INIFILE_MAPPING structures, and set a valid IniFileMapping pointer...
Alex Ionescu [Wed, 4 Sep 2013 07:07:08 +0000 (07:07 +0000)]
[BASESRV]: Add INIFILE_MAPPING structures, and set a valid IniFileMapping pointer in the shared static data. Windows' kernel32 needs this whenever an INI API is called, which is why UserInit was crashing on load (our pointer was set to NULL). Now userinit.exe loads/works, and explorer.exe is the one that fails to initialize. But one can CTRL-ALT-DEL and launch Task Manager (works!), Calc (but not Notepad).

svn path=/trunk/; revision=59984

10 years ago[BASESRV]: Fix inverted definition of BASE_CREATE_THREAD. Now Windows' kernel32.dll...
Alex Ionescu [Wed, 4 Sep 2013 05:06:19 +0000 (05:06 +0000)]
[BASESRV]: Fix inverted definition of BASE_CREATE_THREAD. Now Windows' kernel32.dll can create threads :) And so RPC now works, and services.exe + all the services now initailize and run correctly. userinit.exe now dies with 0xC0000005.

svn path=/trunk/; revision=59983

10 years ago[KERNEL32]: Enable guard pages for Win32 threads too, not just native threads (replic...
Alex Ionescu [Wed, 4 Sep 2013 04:47:02 +0000 (04:47 +0000)]
[KERNEL32]: Enable guard pages for Win32 threads too, not just native threads (replicated the changes I made to RtlpCreateStack).

svn path=/trunk/; revision=59982

10 years ago[COMCTL32]
Amine Khaldi [Tue, 3 Sep 2013 22:44:37 +0000 (22:44 +0000)]
[COMCTL32]
* Move the resource files to the lang folder.

svn path=/trunk/; revision=59980

10 years agoFix much more fonts (the reverse exclamation point and the block 0xb2 in particular...
Hermès Bélusca-Maïto [Tue, 3 Sep 2013 20:19:24 +0000 (20:19 +0000)]
Fix much more fonts (the reverse exclamation point and the block 0xb2 in particular, as well as the æ character).

svn path=/trunk/; revision=59979

10 years ago[TRANSLATIONS]
Amine Khaldi [Tue, 3 Sep 2013 17:07:25 +0000 (17:07 +0000)]
[TRANSLATIONS]
* Improve Russian localization. Patch by Alex Gorgurov based on the work of jperm (jaroslaff111 @at@ mail .dot. ru).
CORE-7381 #resolve #comment Committed in r59977. Thank you all.

svn path=/trunk/; revision=59978

10 years ago[PSDK]
Amine Khaldi [Tue, 3 Sep 2013 13:15:35 +0000 (13:15 +0000)]
[PSDK]
* Annotate wincred.h.

svn path=/trunk/; revision=59977