reactos.git
9 years ago[FASTFAT]
Pierre Schweitzer [Mon, 10 Nov 2014 17:42:51 +0000 (17:42 +0000)]
[FASTFAT]
- Store IO VPB in our VCB for later use
- Prepare a spare VPB in our VCB for dismount swapout

svn path=/trunk/; revision=65361

9 years ago[NPPTOOLS]
Amine Khaldi [Mon, 10 Nov 2014 16:41:42 +0000 (16:41 +0000)]
[NPPTOOLS]
* Import from Wine 1.7.27.
CORE-8789 #resolve #comment Imported in r65358.
CORE-8540

svn path=/trunk/; revision=65358

9 years ago[CMAKE][NTOS]
Amine Khaldi [Mon, 10 Nov 2014 16:26:55 +0000 (16:26 +0000)]
[CMAKE][NTOS]
* Improve some inclusions (avoid ../ types).
* The answer is 42.

svn path=/trunk/; revision=65357

9 years ago[WIN32K]
Kamil Hornicek [Mon, 10 Nov 2014 14:00:02 +0000 (14:00 +0000)]
[WIN32K]
- fix up icon size before calculating the destination rectangle
CORE-8782

svn path=/trunk/; revision=65356

9 years ago[MSAFD]
Jérôme Gardou [Mon, 10 Nov 2014 13:06:48 +0000 (13:06 +0000)]
[MSAFD]
 - Use wine debug output routines instead of blunt DbgPrint
This avoids the horrid "MSAFD: STATUS_XXX" which doesn't help.

svn path=/trunk/; revision=65355

9 years ago[FASTFAT]
Pierre Schweitzer [Mon, 10 Nov 2014 10:18:29 +0000 (10:18 +0000)]
[FASTFAT]
Properly flush volume on dismount

svn path=/trunk/; revision=65353

9 years ago[NTOSKRNL]
Pierre Schweitzer [Mon, 10 Nov 2014 09:45:43 +0000 (09:45 +0000)]
[NTOSKRNL]
So... Because actual ReactOS mood is to worship hacks instead of looking for proper fixes to have decent behavior: reenable the IopParseDevice hack.

But, so far, only reenable it for the 1st stage: the most intensive storage stack stage (unless you start playing with partitions & formating in 3rd stage).

CORE-8732 #resolve #comment Bug is now properly hidden with r65352

svn path=/trunk/; revision=65352

9 years ago[REGEDIT]
Kamil Hornicek [Sun, 9 Nov 2014 23:31:26 +0000 (23:31 +0000)]
[REGEDIT]
- initialize ExportKeyPath so that parseKeyName is not fed garbage if exporting all
CORE-8771

svn path=/trunk/; revision=65351

9 years ago[NET]
Eric Kohl [Sun, 9 Nov 2014 21:22:46 +0000 (21:22 +0000)]
[NET]
Add missing resources to the spanisch translation.

svn path=/trunk/; revision=65350

9 years ago[NTVDM]
Sylvain Petreolle [Sun, 9 Nov 2014 21:07:59 +0000 (21:07 +0000)]
[NTVDM]
Verbosity--;

svn path=/trunk/; revision=65349

9 years ago[GDI32_APITEST]
Timo Kreuzer [Sun, 9 Nov 2014 17:19:16 +0000 (17:19 +0000)]
[GDI32_APITEST]
Fix GCC build

svn path=/trunk/; revision=65348

9 years ago[GDI32_APITEST]
Timo Kreuzer [Sun, 9 Nov 2014 17:14:17 +0000 (17:14 +0000)]
[GDI32_APITEST]
Add test for rect regions

svn path=/trunk/; revision=65347

9 years ago[TRANSLATIONS]
Amine Khaldi [Sun, 9 Nov 2014 17:05:20 +0000 (17:05 +0000)]
[TRANSLATIONS]
* Spanish translation update by Ismael Ferreras Morezuelas (IRC name swyter).
CORE-8767 #resolve #comment Committed in r65346. Gracias ;)

svn path=/trunk/; revision=65346

9 years ago[TRANSLATIONS]
Amine Khaldi [Sun, 9 Nov 2014 16:58:28 +0000 (16:58 +0000)]
[TRANSLATIONS]
* Turkish translation update by Erdem Ersoy.
CORE-7861

svn path=/trunk/; revision=65345

9 years ago[NET]: Forgot this change, lost in replacements ;)
Hermès Bélusca-Maïto [Sun, 9 Nov 2014 13:43:23 +0000 (13:43 +0000)]
[NET]: Forgot this change, lost in replacements ;)

svn path=/trunk/; revision=65344

9 years ago[NET]
Eric Kohl [Sun, 9 Nov 2014 13:41:38 +0000 (13:41 +0000)]
[NET]
Fix indentation. No code changes!

svn path=/trunk/; revision=65343

9 years ago[NET]
Eric Kohl [Sun, 9 Nov 2014 13:39:20 +0000 (13:39 +0000)]
[NET]
Replace remaining hardcoded strings by resource strings.

svn path=/trunk/; revision=65342

9 years ago[DESK.CPL]
Hermès Bélusca-Maïto [Sun, 9 Nov 2014 12:00:28 +0000 (12:00 +0000)]
[DESK.CPL]
Do string case-insensitive comparisons when adding wallpaper file names to the list.
Patch by Ricardo Hanke.
CORE-8775 #resolve #comment Fixed in r65341, thanks!

svn path=/trunk/; revision=65341

9 years agoFix variable type ;)
Hermès Bélusca-Maïto [Sun, 9 Nov 2014 11:50:33 +0000 (11:50 +0000)]
Fix variable type ;)

svn path=/trunk/; revision=65340

9 years ago[TASKMGR]
Hermès Bélusca-Maïto [Sun, 9 Nov 2014 11:48:18 +0000 (11:48 +0000)]
[TASKMGR]
Displays the current user name in the TaskMgr shutdown menu.
Patch by Ismael Ferreras Morezuelas (swyter) with minor modifications by me.
CORE-8536 #resolve #comment Committed in r65339, thanks!

svn path=/trunk/; revision=65339

9 years ago[NTOS:PNPMGR]
Johannes Anderwald [Sun, 9 Nov 2014 08:22:43 +0000 (08:22 +0000)]
[NTOS:PNPMGR]
- Implement IoGetDeviceInterfaces with PhysicalDeviceObject support

svn path=/trunk/; revision=65338

9 years ago[NTOS:PNPMGR]
Hermès Bélusca-Maïto [Sun, 9 Nov 2014 02:26:49 +0000 (02:26 +0000)]
[NTOS:PNPMGR]
- Remove an unneeded ExFreePool(DeviceInstance.Buffer); call in IopGetInterfaceDeviceList because at this point DeviceInstance is not yet initialized. Fixes MSVC build.
- No need to check for DeviceInstance.Buffer being NULL or not (in IopDeviceStatus), because in case it was NULL the IopCaptureUnicodeString call already failed.
- Add some brackets to conform to code style.

svn path=/trunk/; revision=65337

9 years ago[NTVDM]: Use variable-length buffers in DisplayMessage, in case we display a very...
Hermès Bélusca-Maïto [Sun, 9 Nov 2014 01:46:31 +0000 (01:46 +0000)]
[NTVDM]: Use variable-length buffers in DisplayMessage, in case we display a very long message (uses the _vscwprintf CRT function, not available on Win2k. You need to recompile NTVDM with WIN2K_COMPLIANT define if you want to be able to run it on win2k. In that case DisplayMessage uses a quite large enough buffer for its needs). If somebody knows an alternative to _vscwprintf that does the very same job, and which exists on Win2k, I would be happy to use it instead.

svn path=/trunk/; revision=65336

9 years ago[NTVDM:DOS]
Hermès Bélusca-Maïto [Sun, 9 Nov 2014 00:49:17 +0000 (00:49 +0000)]
[NTVDM:DOS]
- Use the correct environment strings block when starting DOS programs.
- When building the DOS master env block, remove the current directory env strings (they start with '='), upcase the environment names (not their values) and remove the WINDIR environment that we inherited when we started NTVDM DOS.

svn path=/trunk/; revision=65335

9 years ago[DPRINT12345]
Timo Kreuzer [Sat, 8 Nov 2014 22:19:07 +0000 (22:19 +0000)]
[DPRINT12345]
Silence more annoying DPRINTs, and add one that hopefully helps to debug a problem.

svn path=/trunk/; revision=65334

9 years ago[NTVDM]
Hermès Bélusca-Maïto [Sat, 8 Nov 2014 21:45:20 +0000 (21:45 +0000)]
[NTVDM]
- For the BIOS wait hack, use the NT API instead of the Win32 one.
- Remove unneeded DOS-exported functions.
- Use a PitGetReloadValue function for retrieving the reload value of a given PIT channel, instead of directly reading the reload value member, for functions *outside* of the PIT module.
- Implement basic Pulse-Width Modulation code for the PC speaker emulation.

svn path=/trunk/; revision=65333

9 years ago[NET]
Eric Kohl [Sat, 8 Nov 2014 21:44:32 +0000 (21:44 +0000)]
[NET]
USER command:
- Replace stings by resource strings.
- Add a function to print padded resource strings.
- Fix the password input routine. Repeat if the passwords don't match.

svn path=/trunk/; revision=65332

9 years ago[USBHUB]
Johannes Anderwald [Sat, 8 Nov 2014 21:00:37 +0000 (21:00 +0000)]
[USBHUB]
- it makes sense to also activate the device interface

svn path=/trunk/; revision=65331

9 years ago[NTOS]
Johannes Anderwald [Sat, 8 Nov 2014 20:58:57 +0000 (20:58 +0000)]
[NTOS]
- implement PlugPlayControlGetInterfaceDeviceList class for NtPlugPlayControl

svn path=/trunk/; revision=65330

9 years ago[UMPNPMGR]
Johannes Anderwald [Sat, 8 Nov 2014 20:54:40 +0000 (20:54 +0000)]
[UMPNPMGR]
- pass flags to NtPlugPlayControl

svn path=/trunk/; revision=65329

9 years ago[NDK]
Johannes Anderwald [Sat, 8 Nov 2014 20:51:57 +0000 (20:51 +0000)]
[NDK]
- add flags member

svn path=/trunk/; revision=65328

9 years ago[FREELDR]
Timo Kreuzer [Sat, 8 Nov 2014 19:11:47 +0000 (19:11 +0000)]
[FREELDR]
Tabs -> spaces!

svn path=/trunk/; revision=65327

9 years ago[FREELDR]
Timo Kreuzer [Sat, 8 Nov 2014 19:05:22 +0000 (19:05 +0000)]
[FREELDR]
Check for CPU compatibility early and bugcheck if the CPU is too old.
Based on patch by winocm.
CORE-6427

svn path=/trunk/; revision=65326

9 years ago[KERNEL32][BEEP]
Hermès Bélusca-Maïto [Sat, 8 Nov 2014 16:35:05 +0000 (16:35 +0000)]
[KERNEL32][BEEP]
Int32x32To64 used with unsigned input values will cause unintentional sign extension. There is a lot of code in ROS that is still not fixed!!
Fixes BEEP sound. See also r64020, CORE-8502 and CORE-8505 for more details.
CORE-8505 #comment CsrCaptureTimeout and BEEP code fixed.

svn path=/trunk/; revision=65325

9 years ago[GDI32]
Timo Kreuzer [Sat, 8 Nov 2014 15:34:47 +0000 (15:34 +0000)]
[GDI32]
- Add annotations for text function
- Improve formatting and some variable names
- No code change

svn path=/trunk/; revision=65324

9 years ago[NET]
Eric Kohl [Sat, 8 Nov 2014 14:35:27 +0000 (14:35 +0000)]
[NET]
- Convert error messages to resource strings.
- ACCOUNTS: Add some padding to display strings.
- USER: Support interactive password input.

svn path=/trunk/; revision=65323

9 years ago[NDK]
Johannes Anderwald [Sat, 8 Nov 2014 13:28:01 +0000 (13:28 +0000)]
[NDK]
- adjust PLUGPLAY_CONTROL_INTERFACE_DEVICE_LIST_DATA
[UMPNPMGR]
- implement PNP_GetInterfaceDeviceList, PNP_GetInterfaceDeviceListSize
- currently not yet working PlugPlayControlGetInterfaceDeviceList class in NtPlugPlayControl is not implemented

svn path=/trunk/; revision=65322

9 years ago[NDK]
Johannes Anderwald [Sat, 8 Nov 2014 13:13:03 +0000 (13:13 +0000)]
[NDK]
- add type for retrieving device interface list
- please review

svn path=/trunk/; revision=65321

9 years ago[GDI32]
Timo Kreuzer [Sat, 8 Nov 2014 13:12:07 +0000 (13:12 +0000)]
[GDI32]
Use GdiGetDcAttr() where appropriate, improve SetLastError() situation.

svn path=/trunk/; revision=65320

9 years ago[CSCRIPT]
Amine Khaldi [Sat, 8 Nov 2014 11:41:13 +0000 (11:41 +0000)]
[CSCRIPT]
* Import from Wine 1.7.27.
CORE-8770 #resolve #comment Imported in r65317.
CORE-8540

svn path=/trunk/; revision=65319

9 years ago[WSCRIPT_WINETEST]
Amine Khaldi [Sat, 8 Nov 2014 11:26:28 +0000 (11:26 +0000)]
[WSCRIPT_WINETEST]
* Import from Wine 1.7.27.
CORE-8769 CORE-8540

svn path=/trunk/; revision=65318

9 years ago[WSCRIPT]
Amine Khaldi [Sat, 8 Nov 2014 11:23:02 +0000 (11:23 +0000)]
[WSCRIPT]
* Import from Wine 1.7.27.
CORE-8769 #resolve #comment Imported in r65317.
CORE-8540

svn path=/trunk/; revision=65317

9 years ago[WSHOM_WINETEST]
Amine Khaldi [Sat, 8 Nov 2014 10:27:05 +0000 (10:27 +0000)]
[WSHOM_WINETEST]
* Import from Wine 1.7.27.
CORE-8768 CORE-8540

svn path=/trunk/; revision=65316

9 years ago[WSHOM.OCX]
Amine Khaldi [Sat, 8 Nov 2014 10:22:22 +0000 (10:22 +0000)]
[WSHOM.OCX]
* Import from Wine 1.7.27.
CORE-8768 #resolve #comment Imported in r65315.
CORE-8540

svn path=/trunk/; revision=65315

9 years ago[USBHUB]
Johannes Anderwald [Sat, 8 Nov 2014 09:26:21 +0000 (09:26 +0000)]
[USBHUB]
- register device interface GUID_DEVINTERFACE_USB_DEVICE for usb devices

svn path=/trunk/; revision=65314

9 years ago[FAST486]
Aleksandar Andrejevic [Sat, 8 Nov 2014 05:56:49 +0000 (05:56 +0000)]
[FAST486]
Clear the prefix flags when an exception occurs.
Add another missing return after a call to Fast486Exception.

svn path=/trunk/; revision=65313

9 years ago[FAST486]
Aleksandar Andrejevic [Sat, 8 Nov 2014 02:56:54 +0000 (02:56 +0000)]
[FAST486]
- Fix the FPU_CHECK() macro.
- Make sure pages are marked dirty even if they have been accessed before.
- Always return after calling Fast486Exception.

svn path=/trunk/; revision=65312

9 years ago[HALx86]: Display the invalid opcodes when HalpOpcodeInvalid is called.
Hermès Bélusca-Maïto [Fri, 7 Nov 2014 21:19:27 +0000 (21:19 +0000)]
[HALx86]: Display the invalid opcodes when HalpOpcodeInvalid is called.

svn path=/trunk/; revision=65311

9 years ago[FAST486]
Aleksandar Andrejevic [Fri, 7 Nov 2014 19:20:38 +0000 (19:20 +0000)]
[FAST486]
Fix BT, BTC, BTS and BTR.

svn path=/trunk/; revision=65310

9 years ago[FASTFAT]
Pierre Schweitzer [Fri, 7 Nov 2014 15:38:31 +0000 (15:38 +0000)]
[FASTFAT]
Properly check for volume open on lock request

svn path=/trunk/; revision=65309

9 years ago[TRANSLATIONS]
Amine Khaldi [Fri, 7 Nov 2014 15:08:59 +0000 (15:08 +0000)]
[TRANSLATIONS]
* Russian translation update by Kudratov Olimjon.
CORE-8701 #resolve #comment Committed in r65308. Thanks!

svn path=/trunk/; revision=65308

9 years ago[FAST486]
Aleksandar Andrejevic [Fri, 7 Nov 2014 00:00:17 +0000 (00:00 +0000)]
[FAST486]
Store the faulting address in CR2 (PFLA) when a page fault occurs.

svn path=/trunk/; revision=65304

9 years ago[USER32]
Kamil Hornicek [Thu, 6 Nov 2014 23:28:28 +0000 (23:28 +0000)]
[USER32]
- use get_best_icon_file_entry's magic to find the correct icon in ICO_ExtractIconExW - thanks Jérôme!
- add cursor files support for PrivateExtractIcon(Ex)

svn path=/trunk/; revision=65303

9 years ago[NTFS]
Pierre Schweitzer [Thu, 6 Nov 2014 21:12:54 +0000 (21:12 +0000)]
[NTFS]
MagicValues--;

svn path=/trunk/; revision=65302

9 years ago[NTFS]
Pierre Schweitzer [Thu, 6 Nov 2014 20:54:27 +0000 (20:54 +0000)]
[NTFS]
Add a sanity check in NtfsFindMftRecord()

svn path=/trunk/; revision=65301

9 years ago[FAST486]
Aleksandar Andrejevic [Thu, 6 Nov 2014 20:47:31 +0000 (20:47 +0000)]
[FAST486]
Update the CPL when performing an interrupt.

svn path=/trunk/; revision=65300

9 years ago[USER32]
Kamil Hornicek [Thu, 6 Nov 2014 19:11:03 +0000 (19:11 +0000)]
[USER32]
- add ICO files support for PrivateExtractIcons(Ex)
- fixes Juice and ICO files now show their icons in explorer
CORE-4021

svn path=/trunk/; revision=65297

9 years ago[USER32]
Kamil Hornicek [Thu, 6 Nov 2014 18:33:42 +0000 (18:33 +0000)]
[USER32]
- partially sync exticon.c with Wine 1.7.30

svn path=/trunk/; revision=65295

9 years ago[FAST486]
Aleksandar Andrejevic [Thu, 6 Nov 2014 05:37:50 +0000 (05:37 +0000)]
[FAST486]
We can't load the stack segment until after we've updated the CPL.

svn path=/trunk/; revision=65281

9 years ago[FAST486]
Aleksandar Andrejevic [Thu, 6 Nov 2014 05:16:14 +0000 (05:16 +0000)]
[FAST486]
Fix the limit calculation when using page granularity.
RETF can also perform inter-privilege returns.
Fix the privilege checks when loading CS. DPL != CPL is only a #GP
when we're doing a jump or a call.

svn path=/trunk/; revision=65280

9 years ago[FASTFAT]
Thomas Faber [Thu, 6 Nov 2014 00:07:01 +0000 (00:07 +0000)]
[FASTFAT]
- Fix failure case handling in vfatUpdateFCB
- NULL output parameters on failure in vfatGetFCBForFile
- Fix a few typos

svn path=/trunk/; revision=65278

9 years ago[NTOS:IO]
Thomas Faber [Wed, 5 Nov 2014 23:27:04 +0000 (23:27 +0000)]
[NTOS:IO]
- Silence super noisy debug print in IopQueryAttributesFile

svn path=/trunk/; revision=65277

9 years ago[FASTFAT]
Thomas Faber [Wed, 5 Nov 2014 23:23:52 +0000 (23:23 +0000)]
[FASTFAT]
- Fix incorrect referencing in VfatCreateFile. vfatGetFCBForFile expects a reference on ParentFcb (and may release it), and also returns a referenced parent FCB.
CORE-8756 #resolve

svn path=/trunk/; revision=65276

9 years ago[WIN32K]
Kamil Hornicek [Wed, 5 Nov 2014 22:01:08 +0000 (22:01 +0000)]
[WIN32K]
- don't create a rect with a zero area in NtGdiExtFloodFill
CORE-8755

svn path=/trunk/; revision=65273

9 years ago[FAST486]
Aleksandar Andrejevic [Wed, 5 Nov 2014 20:21:32 +0000 (20:21 +0000)]
[FAST486]
Make sure the corrected prefetch address contains the block we're trying to read.

svn path=/trunk/; revision=65272

9 years ago[FASTFAT]
Thomas Faber [Wed, 5 Nov 2014 19:06:19 +0000 (19:06 +0000)]
[FASTFAT]
- Assert that we never reference or dereference an FCB with RefCount 0
CORE-8733

svn path=/trunk/; revision=65270

9 years ago[FASTFAT]
Thomas Faber [Wed, 5 Nov 2014 18:52:11 +0000 (18:52 +0000)]
[FASTFAT]
- VfatCleanupFile: do not dereference the FCB when closing the volume file object. ObDereferenceObject already causes an IRP_MJ_CLOSE request to be sent, which dereferences the FCB.
CORE-8733 #resolve

svn path=/trunk/; revision=65269

9 years ago[REGEDIT]
Thomas Faber [Wed, 5 Nov 2014 16:51:16 +0000 (16:51 +0000)]
[REGEDIT]
- Avoid unicode character literal. Fixes weird looking address bar button on MSVC build.

svn path=/trunk/; revision=65266

9 years ago[IPHLPAPI]
Thomas Faber [Wed, 5 Nov 2014 16:31:13 +0000 (16:31 +0000)]
[IPHLPAPI]
- Fix MSVC build

svn path=/trunk/; revision=65265

9 years ago[FAST486]
Hermès Bélusca-Maïto [Wed, 5 Nov 2014 12:45:47 +0000 (12:45 +0000)]
[FAST486]
- Fix another typo (addendum to r65263).
- Whitespace fixes.

svn path=/trunk/; revision=65264

9 years ago[FAST486]
Aleksandar Andrejevic [Wed, 5 Nov 2014 04:58:40 +0000 (04:58 +0000)]
[FAST486]
Fix two typos.

svn path=/trunk/; revision=65263

9 years ago[FAST486]
Aleksandar Andrejevic [Wed, 5 Nov 2014 00:50:11 +0000 (00:50 +0000)]
[FAST486]
Allow direct calls/jumps to TSS selectors in Fast486ProcessGate.

svn path=/trunk/; revision=65262

9 years ago[FAST486]
Aleksandar Andrejevic [Wed, 5 Nov 2014 00:27:43 +0000 (00:27 +0000)]
[FAST486]
Fix the paging exception code.

svn path=/trunk/; revision=65261

9 years ago[FAST486]
Aleksandar Andrejevic [Tue, 4 Nov 2014 22:58:02 +0000 (22:58 +0000)]
[FAST486]
- Move the descriptor reading logic into a separate function.
- Implement hardware task switching and task gates.
- Flush the TLB when reloading CR3.

svn path=/trunk/; revision=65260

9 years ago[NTOS:SE]
Thomas Faber [Tue, 4 Nov 2014 22:44:50 +0000 (22:44 +0000)]
[NTOS:SE]
- Implement ACL inheritance for SeAssignSecurityEx
CORE-8745 #resolve

svn path=/trunk/; revision=65259

9 years ago[KMTESTS:SE]
Thomas Faber [Tue, 4 Nov 2014 22:42:15 +0000 (22:42 +0000)]
[KMTESTS:SE]
- Add a test for SeAssignSecurity[Ex]
CORE-8745

svn path=/trunk/; revision=65258

9 years ago[NTFS]
Pierre Schweitzer [Tue, 4 Nov 2014 21:16:14 +0000 (21:16 +0000)]
[NTFS]
Actually, we know how to read non resident attributes, so read a non resident attribute list if found.

svn path=/trunk/; revision=65257

9 years ago[KMTESTS]
Thomas Faber [Tue, 4 Nov 2014 20:55:16 +0000 (20:55 +0000)]
[KMTESTS]
- Move out definitions for user/kernel test utility functions into their own header (still not pretty, but at least the one header won't get as huge
- Make KmtStartThread/KmtFinishThread available to all tests

svn path=/trunk/; revision=65256

9 years agoMerged revision(s) 62353, 62531-62532, 62853, 64152, 64173-64174 from branches/kernel...
Timo Kreuzer [Tue, 4 Nov 2014 20:47:18 +0000 (20:47 +0000)]
Merged revision(s) 62353, 62531-62532, 62853, 64152, 64173-64174 from branches/kernel-fun/reactos:
[NTOSKRNL]
Implement SystemPrioritySeperation case in NtSetSystemInformation
........
[NTOSKRNL]
Fix an ASSERT in ExfReleasePushLockExclusive
........
[NTOSKRNL]
Fix KiCallbackReturnHandler
........
[NTOSKRNL]
Don't expect a fully sized LOADER_PARAMETER_EXTENSION, since the win2003 loader doesn't provide the full one.
........
[NTOSKRNL]
Implement a fake NtLockProductActivationKeys

........
[NTOSKRNL]
- Add some DPRINTs on errors
- Silence a DPRINT
- Only DPRINT on unimplemented affinity support on SMP builds

........
[NTOSKRNL]
- Remove an undocumented flag from the lpc request type in NtRequestWaitReplyPort. This is required for some windows modules that use this flag, otherwise the function fails.
........

svn path=/trunk/; revision=65255

9 years ago[NTOSKRNL]
Timo Kreuzer [Tue, 4 Nov 2014 20:41:10 +0000 (20:41 +0000)]
[NTOSKRNL]
Merge r62304 and r65253 from kernel-fun branch:
Fix logic in ObSetSecurityDescriptorInfo. To understand the change: it is not only style change! The old code modified SecurityDescriptor, which must always stay the same in the loop!

svn path=/trunk/; revision=65254

9 years ago[WIN32K]
Timo Kreuzer [Tue, 4 Nov 2014 20:20:45 +0000 (20:20 +0000)]
[WIN32K]
- Fix completely broken REGION_CropAndOffsetRegion
- Make sure iType is correctly set in NtGdiGetRegionData

svn path=/trunk/; revision=65252

9 years ago[NTOS:SE]
Thomas Faber [Tue, 4 Nov 2014 18:47:13 +0000 (18:47 +0000)]
[NTOS:SE]
- Simplify SeSetSecurityDescriptorInfoEx
- Don't dereference an object that was never referenced

svn path=/trunk/; revision=65248

9 years ago[NTOS:SE]
Thomas Faber [Tue, 4 Nov 2014 18:40:24 +0000 (18:40 +0000)]
[NTOS:SE]
- Call SeSetSecurityDescriptorInfoEx from SeSetSecurityDescriptorInfo

svn path=/trunk/; revision=65247

9 years ago[NTOS:SE]
Thomas Faber [Tue, 4 Nov 2014 12:35:22 +0000 (12:35 +0000)]
[NTOS:SE]
Various minor behavior corrections & simplifications for SeAssignSecurityEx:
- Fail on missing subject context or invalid group
- Initialize NewDescriptor to NULL on failure
- Never set SE_*_DEFAULTED flags
- Assume a primary token exists
- Remove unnecessary variable initialization
- Remove unnecessary length alignment
CORE-8745

svn path=/trunk/; revision=65244

9 years ago[IPHLPAPI]
Jérôme Gardou [Tue, 4 Nov 2014 10:38:43 +0000 (10:38 +0000)]
[IPHLPAPI]
 - Retrieve unicast addresses and prefixes in GetAdaptersAddresses.

svn path=/trunk/; revision=65242

9 years ago[TCPIP/AFD]
Jérôme Gardou [Tue, 4 Nov 2014 10:38:26 +0000 (10:38 +0000)]
[TCPIP/AFD]
 - Use less weird internal structures and more public headers.

svn path=/trunk/; revision=65241

9 years ago[NTFS]
Pierre Schweitzer [Tue, 4 Nov 2014 07:56:20 +0000 (07:56 +0000)]
[NTFS]
- Move the ROUND_UP & ROUND_DOWN macro definition to header
- Make NtfsReadDisk() sector size aware so that it can properly align read on the disk (and thus prevent them from failing)
- If $ATTRIBUTE_LIST is non resident, then display a message and continue, don't assert on it. This is to be implemented later on.

This fixes directory enumeration on a Windows 7 NTFS volume.

svn path=/trunk/; revision=65240

9 years ago[NTFS]
Pierre Schweitzer [Tue, 4 Nov 2014 07:52:14 +0000 (07:52 +0000)]
[NTFS]
Try to read the names from the biggest name space to the smallest.
Only at the end assert we have to have a name.

This fixes name enumeration on Windows 7 NTFS volumes.

svn path=/trunk/; revision=65239

9 years ago[NtUser]
James Tabor [Tue, 4 Nov 2014 05:21:41 +0000 (05:21 +0000)]
[NtUser]
- Capture is already set. Trouble shooting CORE-8299 and CORE-3247.
- Correct spellings and adding traces.

svn path=/trunk/; revision=65238

9 years ago[NTVDM]
Hermès Bélusca-Maïto [Mon, 3 Nov 2014 21:27:20 +0000 (21:27 +0000)]
[NTVDM]
- Fix the BIOS32 Wait hack (Sleep takes a duration in milliseconds, whereas the BIOS function takes the duration in microseconds).
- Initialize the PIT channels with realistic values (realistic == found on real BIOSes).
- Remove unneeded commented code.

svn path=/trunk/; revision=65237

9 years ago[PCI]
Thomas Faber [Mon, 3 Nov 2014 16:16:26 +0000 (16:16 +0000)]
[PCI]
- Addendum to r65181: fix a stray debug print

svn path=/trunk/; revision=65227

9 years ago[IPHLPAPI]
Jérôme Gardou [Mon, 3 Nov 2014 12:55:59 +0000 (12:55 +0000)]
[IPHLPAPI]
 - Start implementing GetAdaptersAddresses.
For now it noly gives interface names and DNS servers IP, but that's already more than 'UNIMPLEMENTED'.

svn path=/trunk/; revision=65220

9 years ago[PSDK]
Jérôme Gardou [Mon, 3 Nov 2014 12:55:54 +0000 (12:55 +0000)]
[PSDK]
 - Add missing GAA_FLAG_* flags for GetAdaptersAddresses function

svn path=/trunk/; revision=65219

9 years ago[TCPIP]
Jérôme Gardou [Mon, 3 Nov 2014 12:55:45 +0000 (12:55 +0000)]
[TCPIP]
 - Use the structure defined in the public headers instead of some strange internal thing.
Uppercase is not so fashionable after all.

svn path=/trunk/; revision=65218

9 years ago[NTOS/PS]
Jérôme Gardou [Mon, 3 Nov 2014 09:52:08 +0000 (09:52 +0000)]
[NTOS/PS]
 - Do not leak a reference to the process object when setting quotas.

svn path=/trunk/; revision=65210

9 years ago[DISK]
Pierre Schweitzer [Sun, 2 Nov 2014 23:11:22 +0000 (23:11 +0000)]
[DISK]
Add a hack to forcibly set sector size in case of weird input. This is noisy on purpose.
Also, be more informative in case of read rejection. Are we reading beyond partition or do we have invalid sector size?
With the hack, the invalid sector size should disappear.

This is to help debugging the recent errors with the removal of IopParseDevice() hack

svn path=/trunk/; revision=65205

9 years ago[NTFS] Implement IRP_MJ_QUERY_INFORMATION/FileNetworkOpenInformation:
Hervé Poussineau [Sun, 2 Nov 2014 22:56:53 +0000 (22:56 +0000)]
[NTFS] Implement IRP_MJ_QUERY_INFORMATION/FileNetworkOpenInformation:

We are now able to execute some binaries on a NTFS partition.

svn path=/trunk/; revision=65204

9 years ago[NTFS] Fix IRP_MJ_QUERY_INFORMATION/FileNameInformation, which should handle buffers...
Hervé Poussineau [Sun, 2 Nov 2014 22:56:47 +0000 (22:56 +0000)]
[NTFS] Fix IRP_MJ_QUERY_INFORMATION/FileNameInformation, which should handle buffers not big enough

svn path=/trunk/; revision=65203

9 years ago[NTFS] Update headers
Hervé Poussineau [Sun, 2 Nov 2014 22:56:38 +0000 (22:56 +0000)]
[NTFS] Update headers

svn path=/trunk/; revision=65202

9 years ago[NTFS]
Pierre Schweitzer [Sun, 2 Nov 2014 21:50:40 +0000 (21:50 +0000)]
[NTFS]
Update headers.
Hervé, feel free to copy :-P

svn path=/trunk/; revision=65198