Commit graph

59521 commits

Author SHA1 Message Date
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
Timo Kreuzer b461fd27f1 [GDI32]
- Add annotations for text function
- Improve formatting and some variable names
- No code change

svn path=/trunk/; revision=65324
2014-11-08 15:34:47 +00:00
Eric Kohl 34353069cc [NET]
- Convert error messages to resource strings.
- ACCOUNTS: Add some padding to display strings.
- USER: Support interactive password input.

svn path=/trunk/; revision=65323
2014-11-08 14:35:27 +00:00
Johannes Anderwald 3c80eb5dc2 [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
2014-11-08 13:28:01 +00:00
Johannes Anderwald 8670de06d4 [NDK]
- add type for retrieving device interface list
- please review

svn path=/trunk/; revision=65321
2014-11-08 13:13:03 +00:00
Timo Kreuzer b52f449aca [GDI32]
Use GdiGetDcAttr() where appropriate, improve SetLastError() situation.

svn path=/trunk/; revision=65320
2014-11-08 13:12:07 +00:00
Amine Khaldi 583ff26215 [CSCRIPT]
* Import from Wine 1.7.27.
CORE-8770 #resolve #comment Imported in r65317.
CORE-8540

svn path=/trunk/; revision=65319
2014-11-08 11:41:13 +00:00
Amine Khaldi c7de5a4234 [WSCRIPT_WINETEST]
* Import from Wine 1.7.27.
CORE-8769 CORE-8540

svn path=/trunk/; revision=65318
2014-11-08 11:26:28 +00:00
Amine Khaldi fc7bb9d4d4 [WSCRIPT]
* Import from Wine 1.7.27.
CORE-8769 #resolve #comment Imported in r65317.
CORE-8540

svn path=/trunk/; revision=65317
2014-11-08 11:23:02 +00:00
Amine Khaldi b1eff474af [WSHOM_WINETEST]
* Import from Wine 1.7.27.
CORE-8768 CORE-8540

svn path=/trunk/; revision=65316
2014-11-08 10:27:05 +00:00
Amine Khaldi 5c37fe1739 [WSHOM.OCX]
* Import from Wine 1.7.27.
CORE-8768 #resolve #comment Imported in r65315.
CORE-8540

svn path=/trunk/; revision=65315
2014-11-08 10:22:22 +00:00
Johannes Anderwald 32019a9b0f [USBHUB]
- register device interface GUID_DEVINTERFACE_USB_DEVICE for usb devices

svn path=/trunk/; revision=65314
2014-11-08 09:26:21 +00:00
Aleksandar Andrejevic 02f61a837b [FAST486]
Clear the prefix flags when an exception occurs.
Add another missing return after a call to Fast486Exception.


svn path=/trunk/; revision=65313
2014-11-08 05:56:49 +00:00
Aleksandar Andrejevic 3117e70e36 [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
2014-11-08 02:56:54 +00:00
Hermès Bélusca-Maïto ca31e1569d [HALx86]: Display the invalid opcodes when HalpOpcodeInvalid is called.
svn path=/trunk/; revision=65311
2014-11-07 21:19:27 +00:00
Aleksandar Andrejevic ed11c3a778 [FAST486]
Fix BT, BTC, BTS and BTR.


svn path=/trunk/; revision=65310
2014-11-07 19:20:38 +00:00
Pierre Schweitzer 0ca2bff44e [FASTFAT]
Properly check for volume open on lock request

svn path=/trunk/; revision=65309
2014-11-07 15:38:31 +00:00
Amine Khaldi 86e82138e7 [TRANSLATIONS]
* Russian translation update by Kudratov Olimjon.
CORE-8701 #resolve #comment Committed in r65308. Thanks!

svn path=/trunk/; revision=65308
2014-11-07 15:08:59 +00:00
Aleksandar Andrejevic 572d2d2a26 [FAST486]
Store the faulting address in CR2 (PFLA) when a page fault occurs.


svn path=/trunk/; revision=65304
2014-11-07 00:00:17 +00:00
Kamil Hornicek a25ff6fb7e [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
2014-11-06 23:28:28 +00:00
Pierre Schweitzer fad60e6ee8 [NTFS]
MagicValues--;

svn path=/trunk/; revision=65302
2014-11-06 21:12:54 +00:00
Pierre Schweitzer c24acbfdc2 [NTFS]
Add a sanity check in NtfsFindMftRecord()

svn path=/trunk/; revision=65301
2014-11-06 20:54:27 +00:00
Aleksandar Andrejevic 3e9aa4c71d [FAST486]
Update the CPL when performing an interrupt.


svn path=/trunk/; revision=65300
2014-11-06 20:47:31 +00:00
Kamil Hornicek 5b5d036b35 [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
2014-11-06 19:11:03 +00:00
Kamil Hornicek 5eaf6cc648 [USER32]
- partially sync exticon.c with Wine 1.7.30

svn path=/trunk/; revision=65295
2014-11-06 18:33:42 +00:00
Aleksandar Andrejevic d7897ca1e5 [FAST486]
We can't load the stack segment until after we've updated the CPL.


svn path=/trunk/; revision=65281
2014-11-06 05:37:50 +00:00
Aleksandar Andrejevic e42640b500 [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
2014-11-06 05:16:14 +00:00
Thomas Faber 453e370737 [FASTFAT]
- Fix failure case handling in vfatUpdateFCB
- NULL output parameters on failure in vfatGetFCBForFile
- Fix a few typos

svn path=/trunk/; revision=65278
2014-11-06 00:07:01 +00:00
Thomas Faber 468b64c679 [NTOS:IO]
- Silence super noisy debug print in IopQueryAttributesFile

svn path=/trunk/; revision=65277
2014-11-05 23:27:04 +00:00
Thomas Faber 0e9ce28f2c [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
2014-11-05 23:23:52 +00:00
Kamil Hornicek 46f478ab95 [WIN32K]
- don't create a rect with a zero area in NtGdiExtFloodFill
CORE-8755

svn path=/trunk/; revision=65273
2014-11-05 22:01:08 +00:00
Aleksandar Andrejevic 6eb52f4986 [FAST486]
Make sure the corrected prefetch address contains the block we're trying to read.


svn path=/trunk/; revision=65272
2014-11-05 20:21:32 +00:00
Thomas Faber a66700e316 [FASTFAT]
- Assert that we never reference or dereference an FCB with RefCount 0
CORE-8733

svn path=/trunk/; revision=65270
2014-11-05 19:06:19 +00:00
Thomas Faber b708ab01e9 [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
2014-11-05 18:52:11 +00:00
Thomas Faber b637c49e6a [REGEDIT]
- Avoid unicode character literal. Fixes weird looking address bar button on MSVC build.

svn path=/trunk/; revision=65266
2014-11-05 16:51:16 +00:00
Thomas Faber 1cfc7939e6 [IPHLPAPI]
- Fix MSVC build

svn path=/trunk/; revision=65265
2014-11-05 16:31:13 +00:00
Hermès Bélusca-Maïto 895a44acc9 [FAST486]
- Fix another typo (addendum to r65263).
- Whitespace fixes.

svn path=/trunk/; revision=65264
2014-11-05 12:45:47 +00:00