Commit graph

42919 commits

Author SHA1 Message Date
Matthias Kupfer c7119e7226 Katayama Hirofumi MZ <katayama DOT hirofumi DOT mz AT gmail DOT com>
- Preperation of quick preview für themes.
- See issue #5487 for details.

svn path=/trunk/; revision=47937
2010-07-04 16:40:03 +00:00
Eric Kohl d9e47e9039 [ADVAPI32/LSASRV]
- Implement LookupPrivilegeNameW and LsaLookupPrivilegeName.
- Move lookup code from LookupPrivilegeNameW and LsarLookupPrivilegeValue into a separate file.

svn path=/trunk/; revision=47936
2010-07-04 12:51:39 +00:00
Daniel Reimer d757f2ea25 Some more psdk updates needed for winetests.
svn path=/trunk/; revision=47935
2010-07-04 00:30:37 +00:00
Eric Kohl 66f17acd8f [ADVAPI32/LSASRV]
- Implement LookupPrivilegeValueW and LsaLookupPrivilegeValue.
- Move lookup code from LookupPrivilegeValueW to LsarLookupPrivilegeValue.

svn path=/trunk/; revision=47934
2010-07-03 22:51:44 +00:00
Daniel Reimer 35deb4dbb9 Update libxml to 2.7.7
Resync zlib to 1.2.5.
Patch by Samuel Serapion and some lil includes cleanup by me.

svn path=/trunk/; revision=47933
2010-07-03 22:34:05 +00:00
Daniel Reimer a15dcc4250 Sync advapi32, comctl32, crypt32, cryptui, cryptnet, fusion, gdi32, gdiplus, hlink, imm32, jscript, kernel32, localspl, msacm32, mscms, msi, mstask, msvcrtd, msxml3, ntdll, ole32, pdh, psapi, quartz, rasapi32, riched20 AND rsaenh Winetests.
TBD mshtml, shell32, oleaut32 which still fail to build here

svn path=/trunk/; revision=47931
2010-07-03 12:45:23 +00:00
Daniel Reimer 74b08b2f54 Sync aclui, advapi32, atl, authz, kernel32, msi, oledlg, powrprof, qmgr, riched20, samlib to Wine 1.2rc5
Update some psdk Headers to get some more synched winetests build

svn path=/trunk/; revision=47930
2010-07-03 12:42:55 +00:00
Michael Martin c11b4add2f [win32k]
- Remove old win32k timer code.

svn path=/trunk/; revision=47929
2010-07-03 12:37:51 +00:00
Michael Martin 6027c26e60 [win32k]
- Forgotten in r47924. Change name of BOOL parameter for UserSetCursorPos to better describe its purpose as done in c source.

svn path=/trunk/; revision=47927
2010-07-03 11:46:08 +00:00
Michael Martin cfc7748e23 [usb/usbehci]
- Implement FdoDispatchInternalDeviceControl and remove IrpStub as its no longer needed.
- Implement Direct Call RemoveUsbDevice.
- Implement URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE.
- Use the port parameter in ExecuteControlRequest.
- Windows now identifies my thumb drive as a mass storage device.

svn path=/trunk/; revision=47926
2010-07-03 11:40:58 +00:00
Michael Martin e769090231 [win32k]
- Revert changes done in 47325 which partially broke mouse hooks.
- If the UserSetCursorPos is reached due to SetCursorPos, dont generate a mouse move message or call mouse hooks.

svn path=/trunk/; revision=47924
2010-07-02 10:49:11 +00:00
Daniel Reimer f403974604 Partially revert dnsapi changes as demanded by Samuel Serapion.
Update the banner.bmp in credui.

svn path=/trunk/; revision=47922
2010-07-01 14:00:03 +00:00
Johannes Anderwald f2d29b70d7 [KS]
- Fix bogus debug print leading to buffer overflow

svn path=/trunk/; revision=47921
2010-07-01 11:59:42 +00:00
Daniel Reimer 913e2d6b7f Sync avifil, credui, crypt32, cryptdlg, cryptui, dnsapi, gdiplus, hhctrl, hnetcfg, iccvid, imaadp32, imm32, jscript, localspl, localui, mapi32, mciavi32, mcicda, mciqtz32, mciseq, mciwave, mshtml, msrle32, msvfw32, msvidc32, msxml3, oleacc, oleaut32 to Wine 1.2rc5 (Samuel Serapion, small changes by me)
Remove Esperanto and Walon languages from comctl32, comdlg32, mpr, msi, shlwapi, wininet

svn path=/trunk/; revision=47920
2010-07-01 11:09:47 +00:00
Daniel Reimer 247f3945f9 Ukrainian translation Updates (Igor Paliychuk)
svn path=/trunk/; revision=47919
2010-07-01 08:08:04 +00:00
Amine Khaldi 5a8354d8ed [PSDK]
- Fix EVENT_FILTER_DESCRIPTOR redefinition.

svn path=/trunk/; revision=47918
2010-06-30 19:36:36 +00:00
Matthias Kupfer dd54fd1837 - move set of msg-time (for messages) back to msg queue (msg time is needed for all mouse events not only mouse move)
- ClickLock will work again

svn path=/trunk/; revision=47917
2010-06-30 18:40:20 +00:00
Sylvain Petreolle 576026667c Fix typo.
Dedicated to Physicus

svn path=/trunk/; revision=47916
2010-06-30 17:19:23 +00:00
Michael Martin ba87cb4d4d [win32k]
- Remove dead code as in the old SetTimer and KillTimer functions.

svn path=/trunk/; revision=47915
2010-06-30 11:00:21 +00:00
Daniel Reimer c533c98d1c Added Fox Audio Player to rapps and some more fixes. (Igor Paliychuk, myself)
svn path=/trunk/; revision=47914
2010-06-30 10:19:30 +00:00
Daniel Reimer e0887a8e63 Add Visual C++ 2008 SP1 runtime to rapps and rename the others correctly.
svn path=/trunk/; revision=47913
2010-06-30 07:15:16 +00:00
evb 23b4ebaf89 Implemented IRP dispatch to work in new PCI driver (PciDispatchIrp), fill out FDO IRP handlers which all stubs now, make up/down-call work (PciPassIrpFromFdoToPdo, PciPassDownIrp)
Added the helper debug routines
PCI driver receive IRP_QUERY_INTERFACE now and hit stub


svn path=/trunk/; revision=47912
2010-06-30 01:39:21 +00:00
James Tabor 0a31855a87 [Win32k]
- Set caret blink rate for global server information too.

svn path=/trunk/; revision=47911
2010-06-29 22:13:13 +00:00
Johannes Anderwald e8f968cbaa [PORTCLS]
- Check if there is a silence buffer available when there is no audio mapping available
- ignore failure for allocation requirements

svn path=/trunk/; revision=47909
2010-06-29 21:14:09 +00:00
Sir Richard 1ebaa1cc0b [PCIX]: Fix 17 different bugs in the new PCI driver. ACPI and PCI IRQ Routing table detection now works, ACPI table mapping doesn't crash anymore, PciGetRegistryValue doens't always fail, some DPRINTs fixed, added missing "continues", "breaks", and early-"returns". Fixed missing, or extra "!"s. If you're going to try being clever with do while FALSE loops, get 'em right!
The driver now works up to the point where eVb has last committed his code.

svn path=/trunk/; revision=47908
2010-06-29 20:21:45 +00:00
Sir Richard ec783fe1df [RTL]: RangeList APIs should not be allocating pool with a tag of 0, since this makes the checked kernel ASSERT. Good thing nobody used these APIs (I wonder if they even work), but eVb's PCI driver now does.
svn path=/trunk/; revision=47907
2010-06-29 19:23:16 +00:00
Michael Martin c95cec3745 [win32k]
- Change percision of win32k timers to 0.5 miliseconds.
- Remove Destroy parameter from FindTimer as it is just odd and call RemoveTimer where needed.
- PostTimerMessages: No need to continue looping the remainder of the timers once the target timer has been found and message posted to message queue.

svn path=/trunk/; revision=47906
2010-06-29 14:37:52 +00:00
Gabriel Ilardi 23e550f75e [EVENTVWR]
- Polish update by Maciej Bialas.

svn path=/trunk/; revision=47905
2010-06-29 10:29:30 +00:00
Daniel Reimer a1b90e2497 Update Thunderbird and FireFox in rapps.
svn path=/trunk/; revision=47902
2010-06-29 06:31:00 +00:00
Timo Kreuzer f2d9480a4f [WS2_32_NEW]
Fix WSAAccept parameter (DWORD -> DWORD_PTR)

svn path=/trunk/; revision=47901
2010-06-28 21:36:28 +00:00
Timo Kreuzer b40e7f0e03 [WINMM]
Fix a number of 64bit issues, add some comments where the code is not 64 bit safe. This module should be synced with wine, but this still causes a problem with Flash videos on FF2 (likely another timer problem)

svn path=/trunk/; revision=47900
2010-06-28 20:58:30 +00:00
Cameron Gutman e49b6bfe34 [DHCPCSVC]
- Discover adapters synchronously again until a bug (possibly a race condition) is fixed
- DHCP failure in certain situations is fixed now

svn path=/trunk/; revision=47899
2010-06-28 18:50:19 +00:00
evb 6d5d099e85 Implement Root Bus FDO AddDevice codes, get boot config, connect to HAL or ACPI config handlers (PciQueryForPciBusInterface, PciGetConfigHandlers), read BUS FDO hack flag, get _HPP HotPlug PCI ACPI data and initialize arbiter support.
PciGetHotPlugParameters work but no PCI HotPlug support on my machines, so cannot test ACPI data, that part stub now
Add PciFdoDispatchTable, PciFdoDispatchPnpTable, PciFdoDispatchPowerTable but all stub to PciIrpNotSupported however set correct IRP Dispatch Style for the IRPS
Arbiter support in PciInitializeARbiters done, but PciInterfaces array is NULL (stub) at moment
Add PCI_SIGNATURE, PCI_STATE, PCI_DISAPTCH_STYLE type, add PciInitializeState to begin the state support
Add structure for PCI_FDO_EXTENSION, PCI_SECONDARY_EXTENSION, PCI_INTERFACE, PCI_ARBITER_INSTANCE, PCI_DISPATCH_TABLE
PCI utility functions added: PciFindParentPciFdoExtension, PciInsertEntryAtTail, PciInsertEntryAtHead, PcipLinkSecondaryExtension, PciGetDeviceProperty, PciSendIoctl
Need sir_richard to add arbiter.h header to define ARBITER_INSTANCE for finish support
This 1000 more codes done now~

svn path=/trunk/; revision=47898
2010-06-28 17:30:35 +00:00
evb ce6c5dd121 Missing PCI_BUS_DRIVER_INTERNAL added to bugcodes. Thx for sir_richard to show me how to add.
svn path=/trunk/; revision=47897
2010-06-28 17:21:16 +00:00
Sylvain Petreolle f5a06bcb50 Fix midiOutOpen and midiInOpen prototypes.
svn path=/trunk/; revision=47896
2010-06-28 16:59:17 +00:00
Michael Martin c4915f13f1 [win32k]
- Only the CompletionCallback member determines if a callback is needed. Checking the SenderReturn is unwanted and this variable was never initialized which could cause bogus callback attempts. Just remove the BOOL variable SenderReturned and directly check if Message->DispatchingListEntry.Flink is NULL before attempting to remove the message from senders queue.  Noticed by Timo.

svn path=/trunk/; revision=47895
2010-06-28 12:05:49 +00:00
evb 1d4fa18cdc Begin implement full PCI Bus Driver. code by me comments by sir_richard to avoid Engrish
DriverEntry full 100% implemented, ACPI WatchDog detect, PCI IRQ Routing detect, PCI errata/hackflag detect (PciGetDebugPorts not support, need PCI Debug Device to test)
Native (S)ATA, PCI BIOS Resource Lock, System Errata/Hackflag also is detect
HAL Hoooking enabled, callbacks stub
Stub PnP Interfaces: PciAddDevice, PciDriverUnload, PciDispatchIrp
PCI utility routines: PciUnicodeStringStrStr, PciStringToUSHORT, PciIsSuiteVersion, PciIsDatacenter, PciOpenKey, PciGetRegistryValue, PciBuildDefaultExclusionList done
PCI Verifier Support for future: PciVerifierInit/PciVerifierProfileChangeCallback (stub)
Thank you for much patience~ This 1200 first codes, have 12000 codes more to come!~~


svn path=/trunk/; revision=47894
2010-06-28 05:23:31 +00:00
Sir Richard e1b8cfb906 [NDK]: Add some missing RTL Range Functions needed by eVb.
svn path=/trunk/; revision=47893
2010-06-28 04:26:18 +00:00
Sir Richard 2f23c40c67 [ACPI]: Share ACPI table structures and NT-specific registry data in a shared, internal ACPI header, instead of HAL's internal headers, because FreeLDR, the kernel's PnP Manager, the PCI Bus Driver and the ACPI Driver all need access to these types as well.
svn path=/trunk/; revision=47892
2010-06-28 04:25:38 +00:00
Timo Kreuzer 641c5d6ab8 [WINEMP§.ACM]
Define WIN32 to fix compilation for anything else than x86

svn path=/trunk/; revision=47891
2010-06-28 02:56:08 +00:00
Timo Kreuzer e1ba256aed [WINED3D]
Fix prototype of wined3d_event_query_supported (BOOL != HRESULT)

svn path=/trunk/; revision=47890
2010-06-28 02:27:53 +00:00
Timo Kreuzer c2da054c20 usurp: Physicus: better use </if> in .rbuild ;)
So be it.

svn path=/trunk/; revision=47889
2010-06-28 01:29:27 +00:00
Timo Kreuzer c0cf67d988 build w32knapi only for x86
svn path=/trunk/; revision=47888
2010-06-28 00:32:35 +00:00
Sir Richard 55c95b78f9 [PCI]: Add pciclass.rc to use the pciclass.mc/res-generated file by MC. eVb can now start committing his driver.
svn path=/trunk/; revision=47887
2010-06-28 00:02:20 +00:00
Sir Richard 079e15a99e [PCI]: Add PCI IRQ Routing Table structure to Shared, Internal PCI Header (based off the Microsoft Spec and the Apple SMBIOS Header).
[PCI]: Remove HAL-internal PCI definitions from the existing "Shared/Internal" PCI Header which existed in NTOS's private include directory, and move them to HAL-internal headers.
[PCI]: Remove remaining shared PCI definitions from that same header, and put them in the new Shared/Internal PCI Header.
[PCI]: Remove duplicated PCI definitions from FreeLDR, and use thw new Shared/Internal PCI Header.

svn path=/trunk/; revision=47886
2010-06-27 23:54:47 +00:00
Sir Richard cdbd59e260 [PCI]: Add the PCI_ENABLE_BRIDGE definitions that can be present in PCI_COMMON_CONFIG/type1/BridgeControl. Microsoft does not document these in the public PCI headers, but the definitions were found in the Singularity headers. eVb's PCI driver uses these.
svn path=/trunk/; revision=47885
2010-06-27 22:22:34 +00:00
Timo Kreuzer 9322109bcf [USER32]
Merge from amd64 branch:

36987:
- Fix user32 compilation errors. (Samuel Serapion)
36988:
- Make user32 compile and link by defining Get/SetClass/WindowLongPtrA/W (Stefan Ginsberg)
41480:
- Fix 64bit issues, add a wine compatibility hack (Timo Kreuzer)
41540:
- Make parameters for NtUserCallOneParam and NtUserCallTwoParam DWORD_PTR instead of DWORD (Timo Kreuzer)
43965:  (Samuel Serapion)
- Fix several user32 warnings.
- Sync GetWindow*A/W with wine and unify all versions, commenting out a wine hack.
- As a bonus implement GetWindowLongPtrA/W.
- Tested to work in trunk.
43992:
- Fix user32 build.  (Samuel Serapion)
45124:
- Fix user32 build. (Samuel Serapion)
47472:
- Remove wine hack and allow user32 to compile again. (Samuel Serapion)
47878: (Timo Kreuzer)
- Use UlongToHandle instead of LongToHandle
- case to ULONG_PTR instead of using HandleToUlong
- SetSysColorsTemp: don't truncate the pointer sized n value, remove a comment
- IntGetClsWndProc: fix a bug
- IntGetWindowLong: pass !unicode to IntGetWndProc
47882:
- Make the uiLo and uiHi members of the KMDDELPARAM structure UINT_PTRs (Timo Kreuzer)

svn path=/trunk/; revision=47884
2010-06-27 22:19:17 +00:00
Sir Richard 66bec4f5b8 [PCI]: Add the 40 different PCI erratas ("hack flags") that Windows can apply to broken PCI devices. eVb's driver knowss to apply these by parsing the PCI\Parameters list. These are the actual internal symbolic names used by Microsoft, which accidentally leaked out in the Vista Errata Manager .INF file.
svn path=/trunk/; revision=47883
2010-06-27 22:17:37 +00:00
Sir Richard 495536ab69 [BOOTDATA]: Add the 176 different PCI devices that Windows knows about, and the erratas that need to be applied to make those devices work correctly. This information is processed by eVb's PCI Bus driver. 3rd-party device manufacturers, as well as Microsoft online support pages, sometimes instruct users to add new entries to this list as well, and new entries are also added by 3rd-party driver .INF files. Probably 30% of computers in the world have at least one of these devices installed.
svn path=/trunk/; revision=47881
2010-06-27 22:12:00 +00:00
Amine Khaldi b3d42ba099 Fix a warning (treated as an error).
svn path=/trunk/; revision=47879
2010-06-27 21:37:42 +00:00