reactos.git
9 years ago[NTVDM]: Static'ify some local vars & functions.
Hermès Bélusca-Maïto [Fri, 21 Nov 2014 00:11:11 +0000 (00:11 +0000)]
[NTVDM]: Static'ify some local vars & functions.

svn path=/trunk/; revision=65434

9 years ago[NET]
Sylvain Petreolle [Thu, 20 Nov 2014 22:05:58 +0000 (22:05 +0000)]
[NET]
Update spanish localization.
Patch by swyter.
CORE-8817 #resolve

svn path=/trunk/; revision=65433

9 years ago[NtUser]
James Tabor [Wed, 19 Nov 2014 06:05:39 +0000 (06:05 +0000)]
[NtUser]
- Remove over compensating code. See CORE-7447.

svn path=/trunk/; revision=65432

9 years ago[NtUser]
James Tabor [Wed, 19 Nov 2014 05:35:33 +0000 (05:35 +0000)]
[NtUser]
- Fix Process Explorer crash in Win32k. See CORE-8779 and CORE-7447.

svn path=/trunk/; revision=65431

9 years ago[NTVDM]
Hermès Bélusca-Maïto [Tue, 18 Nov 2014 02:18:18 +0000 (02:18 +0000)]
[NTVDM]
Code organization:
- Create directory hardware/video where to put all video emulation (VGA currently, and maybe other things in the future);
- Create directory hardware/sound where to put all sound emulation (PC speaker currently, and maybe other things in the future);
- timer.c/h --> pit.c/h;
- Adjust the necessary includes and the cmakefiles;
- Remove unneeded includes;
- NTVDM is allowed to have its own VS project ^^

svn path=/trunk/; revision=65430

9 years ago[NTVDM]: Inline a function and fix spelling.
Hermès Bélusca-Maïto [Tue, 18 Nov 2014 00:44:24 +0000 (00:44 +0000)]
[NTVDM]: Inline a function and fix spelling.

svn path=/trunk/; revision=65429

9 years ago[RAPPS]
Amine Khaldi [Mon, 17 Nov 2014 16:33:45 +0000 (16:33 +0000)]
[RAPPS]
* Licence => License.
CORE-8804 #resolve #comment Committed in r65428. Thanks!

svn path=/trunk/; revision=65428

9 years ago[NTVDM]
Hermès Bélusca-Maïto [Mon, 17 Nov 2014 02:08:12 +0000 (02:08 +0000)]
[NTVDM]
- Remove unneeded commented code;
- Fix few things related to committing the reserved low-memory VDM page by kernel32;
- Decommit this memory when we terminate NTVDM.

svn path=/trunk/; revision=65426

9 years ago[NTVDM]: Use the ScreenMode variable in other places too...
Hermès Bélusca-Maïto [Mon, 17 Nov 2014 00:34:29 +0000 (00:34 +0000)]
[NTVDM]: Use the ScreenMode variable in other places too...

svn path=/trunk/; revision=65425

9 years ago[NTVDM]
Hermès Bélusca-Maïto [Mon, 17 Nov 2014 00:12:20 +0000 (00:12 +0000)]
[NTVDM]
- Do not recalculate at each refresh the new resolution that usually does not change (if it changes because of a modification of some VGA register, we detect that, and we change the vga mode). So keep the current resolution and use it in paint functions.
- Really reenter a new text/graphic mode when needed (ie. when alphanumeric bit and computed resolution change), this avoids useless console screenbuffers recreations (and flickering), things go faster, yet the VGA registers are still updated (as expected). See r65379, r65018 and r65015 for more details.

svn path=/trunk/; revision=65424

9 years ago[NTVDM]: Code formatting only!
Hermès Bélusca-Maïto [Sun, 16 Nov 2014 23:15:12 +0000 (23:15 +0000)]
[NTVDM]: Code formatting only!

svn path=/trunk/; revision=65423

9 years ago[NTVDM]
Hermès Bélusca-Maïto [Sun, 16 Nov 2014 22:19:32 +0000 (22:19 +0000)]
[NTVDM]
- Rename flags;
- Improve VgaUpdateTextCursor a bit (and fix a bug);
- Improve a DPRINT and monitor CGA ports (for debugging purposes);
- Code styling.

svn path=/trunk/; revision=65422

9 years ago[NTVDM]
Hermès Bélusca-Maïto [Sun, 16 Nov 2014 16:01:09 +0000 (16:01 +0000)]
[NTVDM]
- Remove some old comments (and commented DPRINTs);
- More support for Bda->VGAOptions;
- Improve implementation of VidBiosSetCursorShape (start some cursor emulation, and add a note about it);
- Implement few "Alternate Function Select" subfunctions.

svn path=/trunk/; revision=65421

9 years ago[WIN32K]
Timo Kreuzer [Sun, 16 Nov 2014 14:22:54 +0000 (14:22 +0000)]
[WIN32K]
Copy only the actual size of the BITMAPINFO back to usermode in NtGdiGetDIBitsInternal.

svn path=/trunk/; revision=65420

9 years ago[LIBS]
Timo Kreuzer [Sun, 16 Nov 2014 14:07:37 +0000 (14:07 +0000)]
[LIBS]
Remove some explicit comparisons with TRUE and make desired explicit comparison more obvious.
Patch by Love Nystrom, modified by me. Fixes a bug in RtlUpcaseUnicodeString. Not committed: modifications to freetype, since this is 3rd party code.
CORE-8799

svn path=/trunk/; revision=65419

9 years ago[NET]
Eric Kohl [Sun, 16 Nov 2014 10:34:49 +0000 (10:34 +0000)]
[NET]
Replace remaining hard coded 'padding' strings.

svn path=/trunk/; revision=65418

9 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 15 Nov 2014 22:47:51 +0000 (22:47 +0000)]
[NTOSKRNL]
Remove explicit comparisons with TRUE
Patch by Love Nystrom, adjusted by me
CORE-8799

svn path=/trunk/; revision=65416

9 years ago[NTVDM]: Fix various little things in the video BIOS (and fix some video mode registers).
Hermès Bélusca-Maïto [Sat, 15 Nov 2014 16:14:04 +0000 (16:14 +0000)]
[NTVDM]: Fix various little things in the video BIOS (and fix some video mode registers).

svn path=/trunk/; revision=65414

9 years agoDeleting Old RAPPS's Readme Files And Adding New README File by Erdem Ersoy
Daniel Reimer [Sat, 15 Nov 2014 15:58:43 +0000 (15:58 +0000)]
Deleting Old RAPPS's Readme Files And Adding New README File by Erdem Ersoy
CORE-8503 #resolve #comment I have no problems with a translated readme file, but the line to the Wiki was added.

svn path=/trunk/; revision=65413

9 years agorapps: (for database) Many Improvements and Many Fixes by Erdem Ersoy
Daniel Reimer [Sat, 15 Nov 2014 15:46:30 +0000 (15:46 +0000)]
rapps: (for database) Many Improvements and Many Fixes by Erdem Ersoy
CORE-7710 #resolve #comment Committed again from the same CORE report. Note to my self, next time this thing is being reopened, I will set it to WONTFIX! Open a NEW REPORT!

svn path=/trunk/; revision=65412

9 years agoAdding New Apps for Rapps by Erdem Ersoy
Daniel Reimer [Sat, 15 Nov 2014 15:35:40 +0000 (15:35 +0000)]
Adding New Apps for Rapps by Erdem Ersoy
CORE-7493 #resolve #comment Added, but the more recent versions + changed the SF mirror to the generic one + skipped the translating of a application's english name. Thx

svn path=/trunk/; revision=65411

9 years agoAdd Inkscape to rapps by Ricardo Hanke
Daniel Reimer [Sat, 15 Nov 2014 15:33:13 +0000 (15:33 +0000)]
Add Inkscape to rapps by Ricardo Hanke
CORE-8604 #resolve #comment Added to rapps, thx for the prove that it works ^^

svn path=/trunk/; revision=65410

9 years ago[ADVAPI32]
Amine Khaldi [Sat, 15 Nov 2014 15:12:24 +0000 (15:12 +0000)]
[ADVAPI32]
* Update ConvertSecurityDescriptorToStringSecurityDescriptor{A,W}().
CORE-8540

svn path=/trunk/; revision=65409

9 years ago[MOUHID]
Pierre Schweitzer [Sat, 15 Nov 2014 13:41:24 +0000 (13:41 +0000)]
[MOUHID]
[KBDHID]
Remove redundant code in DriverEntry()

svn path=/trunk/; revision=65408

9 years ago[MSAFD]
Amine Khaldi [Sat, 15 Nov 2014 12:28:03 +0000 (12:28 +0000)]
[MSAFD]
* Plug a leak. CID 716386.
CORE-7975

svn path=/trunk/; revision=65407

9 years ago[DEVMGR]
Amine Khaldi [Sat, 15 Nov 2014 12:09:14 +0000 (12:09 +0000)]
[DEVMGR]
* Plug a leak. CID 1105932.
CORE-7975

svn path=/trunk/; revision=65406

9 years ago[ADVAPI32]
Amine Khaldi [Sat, 15 Nov 2014 11:57:24 +0000 (11:57 +0000)]
[ADVAPI32]
* Update CreateProcessWithTokenW().
CORE-8540

svn path=/trunk/; revision=65405

9 years ago[APPWIZ]
Eric Kohl [Sat, 15 Nov 2014 11:52:50 +0000 (11:52 +0000)]
[APPWIZ]
Formatting. No code changes!

svn path=/trunk/; revision=65404

9 years ago[NTVDM]
Aleksandar Andrejevic [Sat, 15 Nov 2014 01:35:28 +0000 (01:35 +0000)]
[NTVDM]
In non-standalone mode, commit the memory reserved in CreateProcessInternalW instead of
allocating from the heap.

svn path=/trunk/; revision=65403

9 years ago[KMTEST]
Pierre Schweitzer [Fri, 14 Nov 2014 21:01:45 +0000 (21:01 +0000)]
[KMTEST]
Close your eyes.
Really do it! I see you kept them open...
There are closed now?
OK... All fine.
You can open them again.
Nothing happened.
Source code always used to be like that. A commented was never left by mistake in it.
Never, ok?

svn path=/trunk/; revision=65402

9 years ago[KMTEST]
Pierre Schweitzer [Fri, 14 Nov 2014 19:43:39 +0000 (19:43 +0000)]
[KMTEST]
Reenable tests for MCBs. They got fixed by Hervé in r65398.

ROSTESTS-106 #resolve #comment Fixed by Hervé in r65398. Thanks!

svn path=/trunk/; revision=65401

9 years agoRapps: Word Viewer 2010 is not 2010, but 2003
Daniel Reimer [Thu, 13 Nov 2014 21:18:27 +0000 (21:18 +0000)]
Rapps: Word Viewer 2010 is not 2010, but 2003
CORE-8681 #resolve #comment Fixed, thx.

svn path=/trunk/; revision=65400

9 years agoOn Rapps Office Excel Viewer 2007 is called Office Excel Viewer 2010
Daniel Reimer [Thu, 13 Nov 2014 21:17:15 +0000 (21:17 +0000)]
On Rapps Office Excel Viewer 2007 is called Office Excel Viewer 2010
CORE-8710 #resolve #comment Fixed, thx.

svn path=/trunk/; revision=65399

9 years ago[NTOS:FSRTL] Fix lots of problems in large MCB implementation
Hervé Poussineau [Thu, 13 Nov 2014 20:11:05 +0000 (20:11 +0000)]
[NTOS:FSRTL] Fix lots of problems in large MCB implementation

KM tests now pass, except one error case which is not correctly handled.

svn path=/trunk/; revision=65398

9 years ago[NTOS:FSRTL] Stub-implement oplock and tunnel functions
Hervé Poussineau [Thu, 13 Nov 2014 20:11:00 +0000 (20:11 +0000)]
[NTOS:FSRTL] Stub-implement oplock and tunnel functions

svn path=/trunk/; revision=65397

9 years ago[NTOS:SE] Fix SeValidSecurityDescriptor
Hervé Poussineau [Thu, 13 Nov 2014 20:10:52 +0000 (20:10 +0000)]
[NTOS:SE] Fix SeValidSecurityDescriptor

svn path=/trunk/; revision=65396

9 years ago[WIN32K]
Timo Kreuzer [Thu, 13 Nov 2014 11:12:56 +0000 (11:12 +0000)]
[WIN32K]
Round to nearest integer in FIX2LONG, used in XFORMOBJ APIs. Fixes rounding errors when doing coordinate transformation.

svn path=/trunk/; revision=65392

9 years ago[FREELDR]
Timo Kreuzer [Thu, 13 Nov 2014 11:00:41 +0000 (11:00 +0000)]
[FREELDR]
Remove explicit comparisons with TRUE
i.e. if (BooleanValue == TRUE) -> if (BooleanValue) (and not !BooleanValue as accidentally written in the previous commit message!)
Patch by Love Nystrom
CORE-8799

svn path=/trunk/; revision=65391

9 years ago[WIN32SS]
Timo Kreuzer [Thu, 13 Nov 2014 10:31:45 +0000 (10:31 +0000)]
[WIN32SS]
if (BooleanValue == TRUE) -> if (!BooleanValue)
Patch by Love Nystrom
CORE-8799

svn path=/trunk/; revision=65390

9 years ago[WIN32K]
Timo Kreuzer [Wed, 12 Nov 2014 10:15:09 +0000 (10:15 +0000)]
[WIN32K]
Allow arbitrary transforms in NtGdiExtCreateRegion.
Shearing and rotation are not handled correctly yet, but at least we do no longer fail on transforms that have scaling and an offset, which are classified as GX_GENERAL

svn path=/trunk/; revision=65382

9 years ago[GDI32_APITEST]
Timo Kreuzer [Wed, 12 Nov 2014 09:58:45 +0000 (09:58 +0000)]
[GDI32_APITEST]
Fix build

svn path=/trunk/; revision=65381

9 years ago[GDI32_APITEST]
Timo Kreuzer [Wed, 12 Nov 2014 09:49:32 +0000 (09:49 +0000)]
[GDI32_APITEST]
Add tests for ExtCreateRegion

svn path=/trunk/; revision=65380

9 years ago[NTVDM]
Hermès Bélusca-Maïto [Tue, 11 Nov 2014 18:44:03 +0000 (18:44 +0000)]
[NTVDM]
- Store in bit 7 of Bda->VGAOptions (40:87) whether we needed to clear video memory (or not) when changing the video mode.
- When retrieving the current video mode, set this bit 7 as required.
- Improve a bit the DPRINT of VidBiosSetVideoMode for diagnostic purposes.
- Remove the temporary "fix" (read: hack, and it broke some apps) from r65015 / r65018 : I'm working on a real fix.
- Rework some subfunctions of the INT 10h, AH=11h function (font generator).
- Fix reporting "256 kb video memory" in the Bda->VGAOptions flag.

svn path=/trunk/; revision=65379

9 years ago[ADVAPI_WINETEST]
Sylvain Petreolle [Tue, 11 Nov 2014 16:12:14 +0000 (16:12 +0000)]
[ADVAPI_WINETEST]
Make peace^W tests, not war.☮
Wave a hello to sysreg so that it doesn't kill us.
ROSTESTS-56

svn path=/trunk/; revision=65378

9 years ago[NTVDM]: Make static some variables, fix IRQ1/12 timing, use NT QueryPerformanceCount...
Hermès Bélusca-Maïto [Tue, 11 Nov 2014 15:49:56 +0000 (15:49 +0000)]
[NTVDM]: Make static some variables, fix IRQ1/12 timing, use NT QueryPerformanceCounter API instead of its Win32 part and move the "while (VdmRunning && CpuRunning)" loop into ClockUpdate.

svn path=/trunk/; revision=65377

9 years ago[NTVDM]: Errm... fix the "fix": apps *must* always set AX (not AL) to a correct value...
Hermès Bélusca-Maïto [Tue, 11 Nov 2014 01:57:59 +0000 (01:57 +0000)]
[NTVDM]: Errm... fix the "fix": apps *must* always set AX (not AL) to a correct value before calling INT 33h. The app that wrongly set AX did it once... ^^

svn path=/trunk/; revision=65375

9 years ago[NTVDM]
Hermès Bélusca-Maïto [Tue, 11 Nov 2014 01:40:23 +0000 (01:40 +0000)]
[NTVDM]
- Disable some DPRINTs and reenable some others (those concerning programs loading).
- INT 15h, AH=C2h calls a dedicated mouse bios function, which is stubplemented.
- Move part of the HW mouse / driver hack from the HW mouse module into the BIOS mouse.
- INT 33h: s/BiosMouseService/DosMouseService/, in this interrupt we need to check for function numbers in AL (not in AX :) fixes few apps).
- Reenable mouse user handler callbacks calls in CallMouseUserHandlers.
- Some apps (e.g. the demo from http://www.brackeen.com/vga/mouse.html ) draw by themselves the cursor and do not bother to call the INT 33h "Show cursor" function, but expects that moving the mouse we report its correct position. Fix DosMouseUpdatePosition so that it always updates the stored mouse position, but redraws it only when the cursor is shown.

svn path=/trunk/; revision=65374

9 years ago[FASTFAT]
Pierre Schweitzer [Mon, 10 Nov 2014 22:11:36 +0000 (22:11 +0000)]
[FASTFAT]
- Implement VPB swapout in our FAT driver for dismout (see VfatCheckForDismount)
- Dereference volume handles on close (not on cleanup)
- Keep track of the VDO in our VCB
- Let VfatCheckForDismount() do the actual dismount, instead of VfatDismountVolume() which just initiates it

CORE-8732 #comment Can you retry?

svn path=/trunk/; revision=65372

9 years ago[CMAKE][NTVDM]
Amine Khaldi [Mon, 10 Nov 2014 19:47:28 +0000 (19:47 +0000)]
[CMAKE][NTVDM]
* There is no folder named ntvdm inside ntvdm.
* Improve some inclusions (avoid ../ types).

svn path=/trunk/; revision=65369

9 years ago[CMAKE][BOOTSECT]
Amine Khaldi [Mon, 10 Nov 2014 19:21:06 +0000 (19:21 +0000)]
[CMAKE][BOOTSECT]
* Improve some inclusions (avoid ../ types).

svn path=/trunk/; revision=65368

9 years ago[PARTTEST]
Pierre Schweitzer [Mon, 10 Nov 2014 18:26:34 +0000 (18:26 +0000)]
[PARTTEST]
Add a dummy application that will open first disk and check first sector for MBR and then will open first partition to check for something known (& not MBR)

svn path=/trunk/; revision=65367

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