Commit graph

60078 commits

Author SHA1 Message Date
Timo Kreuzer 35b6795c92 [WIN32SS]
if (BooleanValue == TRUE) -> if (!BooleanValue)
Patch by Love Nystrom
CORE-8799

svn path=/trunk/; revision=65390
2014-11-13 10:31:45 +00:00
David Quintana cd35aef5ab [BROWSEUI]
* Remove the unwanted "(Empty)" item from the static menu, the SF menu will add its own if needed.

[RSHELL]
* Load the "(Empty)" string from shell32 resources.

[SHELL32]
* Add the string resource for empty menus.


svn path=/branches/shell-experiments/; revision=65389
2014-11-12 17:13:05 +00:00
Timo Kreuzer 5cd320d592 [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
2014-11-12 10:15:09 +00:00
Timo Kreuzer 6ee2be9843 [GDI32_APITEST]
Fix build

svn path=/trunk/; revision=65381
2014-11-12 09:58:45 +00:00
Timo Kreuzer a1330711d6 [GDI32_APITEST]
Add tests for ExtCreateRegion

svn path=/trunk/; revision=65380
2014-11-12 09:49:32 +00:00
Hermès Bélusca-Maïto 8cd169b5c5 [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
2014-11-11 18:44:03 +00:00
Sylvain Petreolle 29782f8dc5 [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
2014-11-11 16:12:14 +00:00
Hermès Bélusca-Maïto 77ee067aa5 [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
2014-11-11 15:49:56 +00:00
Hermès Bélusca-Maïto 2f840d26f8 [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
2014-11-11 01:57:59 +00:00
Hermès Bélusca-Maïto 4b79109382 [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
2014-11-11 01:40:23 +00:00
David Quintana 4f5c586905 [RSHELL]
* Make use of the CToolbar class here too.
* Fix the menubar logic for closing menus on a second click. Almost. There's some glitch when clicking too fast, that I will fix later.

svn path=/branches/shell-experiments/; revision=65373
2014-11-11 01:05:39 +00:00
Pierre Schweitzer 0440330ea6 [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
2014-11-10 22:11:36 +00:00
Amine Khaldi 545615df47 [CMAKE][NTVDM]
* There is no folder named ntvdm inside ntvdm.
* Improve some inclusions (avoid ../ types).

svn path=/trunk/; revision=65369
2014-11-10 19:47:28 +00:00
Amine Khaldi 2bf9800b96 [CMAKE][BOOTSECT]
* Improve some inclusions (avoid ../ types).

svn path=/trunk/; revision=65368
2014-11-10 19:21:06 +00:00
Pierre Schweitzer ef570a4f3f [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
2014-11-10 18:26:34 +00:00
Pierre Schweitzer f00ed8906d [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
2014-11-10 17:42:51 +00:00
Amine Khaldi 0343b8c5b5 [NPPTOOLS]
* Import from Wine 1.7.27.
CORE-8789 #resolve #comment Imported in r65358.
CORE-8540

svn path=/trunk/; revision=65358
2014-11-10 16:41:42 +00:00
Amine Khaldi f57a299104 [CMAKE][NTOS]
* Improve some inclusions (avoid ../ types).
* The answer is 42.

svn path=/trunk/; revision=65357
2014-11-10 16:26:55 +00:00
Kamil Hornicek d65a3b59a3 [WIN32K]
- fix up icon size before calculating the destination rectangle
CORE-8782

svn path=/trunk/; revision=65356
2014-11-10 14:00:02 +00:00
Jérôme Gardou 2b4ca7374b [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
2014-11-10 13:06:48 +00:00
Amine Khaldi eae27787e5 * Sync up to trunk head (r65353).
svn path=/branches/shell-experiments/; revision=65354
2014-11-10 11:20:45 +00:00
Pierre Schweitzer da318dabea [FASTFAT]
Properly flush volume on dismount

svn path=/trunk/; revision=65353
2014-11-10 10:18:29 +00:00
Pierre Schweitzer 411da63870 [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
2014-11-10 09:45:43 +00:00
Kamil Hornicek e2ae551d1b [REGEDIT]
- initialize ExportKeyPath so that parseKeyName is not fed garbage if exporting all
CORE-8771

svn path=/trunk/; revision=65351
2014-11-09 23:31:26 +00:00
Eric Kohl 3c5de6a8aa [NET]
Add missing resources to the spanisch translation.

svn path=/trunk/; revision=65350
2014-11-09 21:22:46 +00:00
Sylvain Petreolle 5653be740f [NTVDM]
Verbosity--;


svn path=/trunk/; revision=65349
2014-11-09 21:07:59 +00:00
Timo Kreuzer d85969ddd5 [GDI32_APITEST]
Fix GCC build

svn path=/trunk/; revision=65348
2014-11-09 17:19:16 +00:00
Timo Kreuzer 9165518e88 [GDI32_APITEST]
Add test for rect regions

svn path=/trunk/; revision=65347
2014-11-09 17:14:17 +00:00
Amine Khaldi d86a0ae50f [TRANSLATIONS]
* Spanish translation update by Ismael Ferreras Morezuelas (IRC name swyter).
CORE-8767 #resolve #comment Committed in r65346. Gracias ;)

svn path=/trunk/; revision=65346
2014-11-09 17:05:20 +00:00
Amine Khaldi 83c7d4b77e [TRANSLATIONS]
* Turkish translation update by Erdem Ersoy.
CORE-7861

svn path=/trunk/; revision=65345
2014-11-09 16:58:28 +00:00
Hermès Bélusca-Maïto 494c79f6af [NET]: Forgot this change, lost in replacements ;)
svn path=/trunk/; revision=65344
2014-11-09 13:43:23 +00:00
Eric Kohl cb2d2566b1 [NET]
Fix indentation. No code changes!

svn path=/trunk/; revision=65343
2014-11-09 13:41:38 +00:00
Eric Kohl e05c2fc9d3 [NET]
Replace remaining hardcoded strings by resource strings.

svn path=/trunk/; revision=65342
2014-11-09 13:39:20 +00:00
Hermès Bélusca-Maïto 9108b0107b [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
2014-11-09 12:00:28 +00:00
Hermès Bélusca-Maïto 9789eed844 Fix variable type ;)
svn path=/trunk/; revision=65340
2014-11-09 11:50:33 +00:00
Hermès Bélusca-Maïto 05790cd38d [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
2014-11-09 11:48:18 +00:00
Johannes Anderwald 20f7791d4b [NTOS:PNPMGR]
- Implement IoGetDeviceInterfaces with PhysicalDeviceObject support

svn path=/trunk/; revision=65338
2014-11-09 08:22:43 +00:00
Hermès Bélusca-Maïto 951a7e2106 [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
2014-11-09 02:26:49 +00:00
Hermès Bélusca-Maïto a36ff01e00 [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
2014-11-09 01:46:31 +00:00
Hermès Bélusca-Maïto 0a21e7b198 [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
2014-11-09 00:49:17 +00:00
Timo Kreuzer 612333a5c0 [DPRINT12345]
Silence more annoying DPRINTs, and add one that hopefully helps to debug a problem.

svn path=/trunk/; revision=65334
2014-11-08 22:19:07 +00:00
Hermès Bélusca-Maïto 6990cd2172 [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
2014-11-08 21:45:20 +00:00
Eric Kohl 7cfea2fbb6 [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
2014-11-08 21:44:32 +00:00
Johannes Anderwald 5c1937b443 [USBHUB]
- it makes sense to also activate the device interface

svn path=/trunk/; revision=65331
2014-11-08 21:00:37 +00:00
Johannes Anderwald e713fbca92 [NTOS]
- implement PlugPlayControlGetInterfaceDeviceList class for NtPlugPlayControl

svn path=/trunk/; revision=65330
2014-11-08 20:58:57 +00:00
Johannes Anderwald 038c71e251 [UMPNPMGR]
- pass flags to NtPlugPlayControl

svn path=/trunk/; revision=65329
2014-11-08 20:54:40 +00:00
Johannes Anderwald df7f13199b [NDK]
- add flags member

svn path=/trunk/; revision=65328
2014-11-08 20:51:57 +00:00
Timo Kreuzer b5339379bc [FREELDR]
Tabs -> spaces!

svn path=/trunk/; revision=65327
2014-11-08 19:11:47 +00:00
Timo Kreuzer dc9b7a0dbe [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
2014-11-08 19:05:22 +00:00
Hermès Bélusca-Maïto 1b2bbd97fa [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
2014-11-08 16:35:05 +00:00