Commit graph

41634 commits

Author SHA1 Message Date
Christoph von Wittich f3df4840c9 [AVIFIL32]
sync avifil32 with wine 1.1.41

svn path=/trunk/; revision=46315
2010-03-21 19:17:10 +00:00
Christoph von Wittich f5e7692926 [WINDOWSCODECS]
sync windowscodecs with wine 1.1.41

svn path=/trunk/; revision=46313
2010-03-21 19:14:16 +00:00
Christoph von Wittich b0d8fe0832 [QEDIT]
sync qedit with wine 1.1.41

svn path=/trunk/; revision=46312
2010-03-21 19:07:07 +00:00
Christoph von Wittich f8e7a6dbaf [QUARTZ]
sync quartz with wine 1.1.41

svn path=/trunk/; revision=46311
2010-03-21 19:02:37 +00:00
Sir Richard 22bb1901b6 [CMBATT]: Implement CmBattQueryTag and CmBattNotifyHandler for getting ACPI Battery notifications, as per ACPI Spec and http://www.microsoft.com/whdc/archive/ACPInotify.mspx.
svn path=/trunk/; revision=46309
2010-03-21 18:04:08 +00:00
Christoph von Wittich c825e8a684 [URLMON]
sync urlmon with wine 1.1.41

svn path=/trunk/; revision=46308
2010-03-21 17:43:25 +00:00
Daniel Reimer 9fc5887492 Add more HIDs for other CPUs and Manufacturers like VIA and AMD into cpu.inf to make it show the real CPU name in the Device Manager. This does not work yet, because our ACPI always returns the Default CPU HID right now.
svn path=/trunk/; revision=46306
2010-03-21 15:47:41 +00:00
Christoph von Wittich 5b9666d6ad [MSI]
sync msi with wine 1.1.41

svn path=/trunk/; revision=46305
2010-03-21 15:18:13 +00:00
Christoph von Wittich b7cad37389 [SHLWAPI]
sync shlwapi with wine 1.1.41

svn path=/trunk/; revision=46304
2010-03-21 15:14:34 +00:00
Christoph von Wittich a209a984ba [MSHTML]
sync mshtml with wine 1.1.41

svn path=/trunk/; revision=46303
2010-03-21 15:12:30 +00:00
Christoph von Wittich 154813b443 [SHDOCVW]
sync shdocvw with wine 1.1.41

svn path=/trunk/; revision=46302
2010-03-21 15:08:31 +00:00
Christoph von Wittich 4bf2ced778 [RSAENH]
sync rsaenh with wine 1.1.41

svn path=/trunk/; revision=46301
2010-03-21 15:03:19 +00:00
Christoph von Wittich 78e9a12f0a [CRYPT32]
sync crypt32 with wine 1.1.41

svn path=/trunk/; revision=46300
2010-03-21 14:58:20 +00:00
Christoph von Wittich a0b4b96d75 [RPCRT4]
partial rpcrt4 sync to wine 1.1.41

svn path=/trunk/; revision=46299
2010-03-21 14:53:49 +00:00
Christoph von Wittich 583156b208 [WININET]
sync wininet with wine 1.1.41

svn path=/trunk/; revision=46298
2010-03-21 14:53:28 +00:00
Eric Kohl 1b3286b8e0 [NTOSKRNL]
NtAccessCheck
- Probe parameters.
- Fail if generic access rights have not been mapped.

svn path=/trunk/; revision=46297
2010-03-21 14:10:50 +00:00
Christoph von Wittich 1436e51e2a [OLEAUT32]
sync oleaut32 with wine 1.1.41

svn path=/trunk/; revision=46296
2010-03-21 13:04:42 +00:00
Christoph von Wittich 1a25e4b86d [OLE32]
sync ole32 with wine 1.1.41

svn path=/trunk/; revision=46295
2010-03-21 13:00:22 +00:00
Christoph von Wittich 2e3fc85b22 [WIDL]
sync widl with wine 1.1.41

svn path=/trunk/; revision=46294
2010-03-21 12:47:24 +00:00
Christoph von Wittich 2daeb4ca5a [MSXML3]
sync msxml3 to wine 1.1.41

svn path=/trunk/; revision=46293
2010-03-21 11:14:47 +00:00
Christoph von Wittich 69ced963a6 [RPCRT4]
partial rpcrt4 sync to wine 1.1.40 (fixes crashing cstub test)

svn path=/trunk/; revision=46292
2010-03-21 10:53:17 +00:00
Sir Richard 7356746408 [CMBATT]: Implement CmBattGetBatteryStatus. See ACPI Specification 4.0B (10.2 Control Method Batteries, P.383).
svn path=/trunk/; revision=46291
2010-03-21 03:14:12 +00:00
Timo Kreuzer 532150345c [NTOS]
NtOpenThreadTokenEx: Initialize NewToken with NULL, so it doesn't get wrongly dereferenced. Fixes advapi32:security winetest crash.

svn path=/trunk/; revision=46289
2010-03-20 22:05:01 +00:00
Sir Richard 9f21a824cb [CMBATT]: Implement CmBattQueryInformation and CmBattQueryStatus.
svn path=/trunk/; revision=46288
2010-03-20 21:25:40 +00:00
Cameron Gutman 84d900acb3 - Fix build
svn path=/trunk/; revision=46286
2010-03-20 16:49:50 +00:00
Cameron Gutman 7d83ca07e8 [NTOSKRNL]
- Fix a memory leak of the allocated IO_STATUS_BLOCK
 - Don't free unallocated memory
 - Send the IRP with the correct MajorFunction
 - Use IoBuildAsynchronousFsdRequest instead of IoBuildSynchronousFsdRequest (fixes potiential null pointer access when attempting to set the wait event which is NULL)
 - Set the correct stack parameters for the IRPs

svn path=/trunk/; revision=46285
2010-03-20 16:48:00 +00:00
Timo Kreuzer b751e1e10b [CRT]
Import x87 asm version of pow() from glibc. Replaces our broken implementation, fixing a bunch of winetests (oleaut32 vartest)

svn path=/trunk/; revision=46283
2010-03-20 00:49:30 +00:00
Timo Kreuzer 26a974f2a0 [FREELDR]
Make the char buffer in KeBugCheckEx big enough for the output string. Spottet by Russel.

svn path=/trunk/; revision=46282
2010-03-20 00:41:46 +00:00
Cameron Gutman 8a6dda0909 - Add cpu.inf and usb.inf to inf.rbuild
svn path=/trunk/; revision=46281
2010-03-19 22:45:25 +00:00
Eric Kohl 05bc282aa8 - Add german translation.
- Install class installer DLL.
- Register class installer.
- Register class icon. The Device Manager does not recognize it yet.

svn path=/trunk/; revision=46280
2010-03-19 21:19:35 +00:00
Johannes Anderwald 333598b9c0 [KSPROXY]
- Fix build for XXX time because of me

svn path=/trunk/; revision=46278
2010-03-19 21:07:23 +00:00
Eric Kohl 7f270c0bd9 [BATT]
Add battery class installer dll.

svn path=/trunk/; revision=46277
2010-03-19 20:55:09 +00:00
Sir Richard dd3eb6e798 [CMBATT]: Driver Entrypoint, Create/Close handler, and Unload handler.
svn path=/trunk/; revision=46275
2010-03-19 18:17:32 +00:00
Johannes Anderwald c56e31c044 [KSPROXY]
- Start implementing IKsAllocator interface
- Retrieve the default format for the input and output pin
- Instantiate the kernel pin when an interface request for IMemInputPin / IKsPropertySet / IKsObject request arrives 
- Implement IKsPin::KsCreateSinkPinHandle for the input pin
- Partly implement IKsPin::KsPropagateAcquire for input / output pin
- Fix asserts in IKsControl::KsProperty, IKsControl::KsMethod, IKsControl::KsEvent
- Simplify CInputPin::CheckFormat
- Store the currently used pin medium / interface and connection format
- Implement IAMBufferNegotiation::SuggestAllocatorProperties, IAMBufferNegotiation::GetAllocatorProperties for the output pin
- Pass pin's communication to output pin
- Implement IMediaFilter::Pause, IMediaFilter::Run for CKsProxy
- CKsProxy is now able to deliver signal statistics for BDA devices (app: SageDvbRecorder, OS: WinXP SP3)

svn path=/trunk/; revision=46274
2010-03-19 15:39:08 +00:00
Cameron Gutman ba2554d6f4 [NTOSKRNL]
- Use the correct file name for services which have differing service and image names
 - Fixes the file name of the display miniports on the SOS screen (VGA.SYS -> VGAMP.SYS and VBE.SYS -> VBEMP.SYS)

svn path=/trunk/; revision=46270
2010-03-19 03:14:33 +00:00
Kamil Hornicek 70e434adea [WIN32K]
Remove a pedantic assert to allow compressed bitmaps.
See issue #5255 for more details.

svn path=/trunk/; revision=46266
2010-03-18 18:55:48 +00:00
Timo Kreuzer 5024944fa7 [NTOS]
Fix compilation with MSVC. Dedicated to Stefan.

svn path=/trunk/; revision=46264
2010-03-18 16:30:54 +00:00
Timo Kreuzer 814940c42b [NTOS]
Add DPRINTs to tell if SYSENTER is detected. Requested by Christoph for testing the test machine.

svn path=/trunk/; revision=46253
2010-03-17 21:26:04 +00:00
Christoph von Wittich f891c7f43b [USER32]
reduce diff to wine

svn path=/trunk/; revision=46251
2010-03-17 16:20:55 +00:00
Timo Kreuzer 1dd7c3a8e0 [NTOS]
I forgot to set the exit function for systems without sysenter/sysexit support. Should fix sysreg.

svn path=/trunk/; revision=46250
2010-03-17 16:17:16 +00:00
Timo Kreuzer 69330a5795 [NTOS]
Rewrite Trap exits stubs in raw assembly (2nd try) and remove inline assembly. Bugcheck in KiTrap0DHandler, when the fault was not handled. Replace code patching for sysexit vs iret with a function pointer. Slightly refactor KiSystemServiceHandler/KiFastCallEntryHanlder. Unroll the loop in the systemcall handler and use volatile keyword when reloading TrapFrame and DescriptorTable from the new stack after converting to gui thread to prevent the compiler from optimizing it away (or moving it out of the loop). Add an asm macro KiCallHandler, which expands to call on debug builds to make sure backtraces work as expected and to jmp on release builds for improved performance. Modify KiExitV86Trap to always exit and add DECLSPEC_NORETURN. Use __debugbreak() instead of while(TRUE) on errors in KiExitTrapDebugChecks.
The old code hat 2 issues: one was restoring segments in KiExitV86Trap when they shouldn't be, leading to a bugcheck. And the other was a long hang (5 mintes or more) in 3rd stage on qemu when selecting RosDbg, caused by the KiFastCallExitHandler function pointer being initialized with a pointer to the iret handler. Initializing it in code solved the issue. To figure out why is left as an exercise to the reader.

svn path=/trunk/; revision=46247
2010-03-17 13:12:46 +00:00
Kamil Hornicek b6e52b15e3 [WIN32K]
When adding new glyph cache entry convert the glyph bitmap with proper alignment to comply with the new code in EngCreateBitmap and remove the corresponding hack from SURFMEM_bCreateDib.

[FREETYPE]
When doing 1BPP -> 8BPP conversion set all 8 bits not only the LSB. (Freetype devs were notified of this issue)
See issue #5244 for more details.

svn path=/trunk/; revision=46246
2010-03-17 12:11:55 +00:00
Cameron Gutman cc5a045b54 - Enable ACPI
- Please send all complaints to roswarrior ;)

svn path=/trunk/; revision=46243
2010-03-17 09:25:55 +00:00
Cameron Gutman 2545746a80 - Set the resource pointer back to the start of the list before looping a second time
- Remove the duplicate OSL
 - Disable more debug prints
 - ROS with ACPI has been booted successfully on VirtualBox (with additions), QEMU, and VMware

svn path=/trunk/; revision=46242
2010-03-17 09:25:07 +00:00
Cameron Gutman 44b4c1e7d1 - Check that the memory location that we are trying to read is valid
- Remove the VMware hack
 - ACPI works on all tested VMs now (QEMU, VirtualBox, and VMware)
 - Just a resource code issue remains and prevents us from enabling ACPI by default

svn path=/trunk/; revision=46241
2010-03-17 08:48:57 +00:00
Cameron Gutman 82b8272584 - Check that the device number is not invalid
- ACPI now crashes later on VMware

svn path=/trunk/; revision=46240
2010-03-17 07:16:08 +00:00
Cameron Gutman fa481444a7 - Don't acquire the mutex in the ISR handler because we're at a raised IRQL
- Fixes VirtualBox Additions with ACPI enabled

svn path=/trunk/; revision=46239
2010-03-17 06:19:01 +00:00
Cameron Gutman e77675a0a9 - Define NDEBUG and demote several non-critical debug prints to DPRINT
svn path=/trunk/; revision=46238
2010-03-17 05:30:22 +00:00
Cameron Gutman 6c45294b53 - Add a hack to disable ACPI if VMware is detected
- This hack circumvents the main blocker that prevents enabling ACPI in trunk

svn path=/trunk/; revision=46237
2010-03-17 05:02:06 +00:00
Christoph von Wittich 85b127e4c1 [USER32]
reduce diff to wine

svn path=/trunk/; revision=46236
2010-03-17 00:11:31 +00:00