Commit graph

42096 commits

Author SHA1 Message Date
Gregor Schneider
07d8f76a27 [REGEDIT] Only set a registry path if the root node is not selected, adjust checks
See issue #5297 for more details.

svn path=/trunk/; revision=46991
2010-04-22 11:25:56 +00:00
Aleksey Bragin
2ea442a9df [KERNEL32]
- Update kernel32_winetests to Wine-1.1.43.

svn path=/trunk/; revision=46990
2010-04-22 08:47:47 +00:00
Sir Richard
2c0c247cc7 [NTOS]: Implement and call MiBuildImportsForBootDrivers. We now have full dependency tracking for correct unloading.
[NTOS]: Implement and call MiLocateKernelSections. Pool code and paging paths will require this information later. Loader work done for now.

svn path=/trunk/; revision=46989
2010-04-22 08:13:56 +00:00
Sir Richard
0e419c8771 [NTOS]: Implement and call MiUseLargeDriverPage.
[NTOS]: MmCheckSystemImage: Check for 32-bit/64-bit image/OS mismatch.
[NTOS]: MmCheckSystemImage: Return invalid checksum if couldn't get the NT header from the image.
[NTOS]: MmCheckSystemImage: Map images as SEC_IMAGE instead of SEC_COMMIT, and simply read the size off that way.

svn path=/trunk/; revision=46988
2010-04-22 08:04:57 +00:00
Sir Richard
0f570fe34c [NTOS]: MiFindExportedRoutineByName should validate the ordinal to make sure it's not higher than the function count.
[NTOS]: Use MM_SYSLDR_ defines instead of magic pointer casts. Use appropriate pool tags.
[NTOS]: Set the LoadedImport count early-on during image referencing, so that failure will correctly de-reference the imports. By setting it to zero, failures would've leaked driver-dependent DLLs already loaded but now useless.
[NTOS]: Do the same checks as Windows to avoid drivers linked with user-mode DLLs.
[NTOS]: Allow "coverage" and "irt" to be linked with Win32K drivers as well.
[NTOS]: When the linker is fixed not to generate corrupt drivers, add the appropriate code to scan IMAGE_DIRECTORY_ENTRY_IAT for updating thunks. A hack exists in ReactOS now to permit loading these hacked drivers, but Windows is not so generous and will crash with a ReactOS driver.

svn path=/trunk/; revision=46987
2010-04-22 03:54:09 +00:00
Cameron Gutman
6463764d66 [PCI]
- Don't set DO_BUS_ENUMERATED_DEVICE on child PDOs because the PnP manager does it for us

svn path=/trunk/; revision=46985
2010-04-21 23:19:12 +00:00
Cameron Gutman
2fa4179cf2 - Missed this from my last commit
svn path=/trunk/; revision=46984
2010-04-21 22:42:21 +00:00
Cameron Gutman
a31725e572 [NTOSKRNL]
- Replace the broken CM_RESOURCE_LIST_SIZE with a better function that actually works with resource lists that have device-specific data in them (fixes missing device specific data when resources are retrieved with IoGetDeviceProperty)
- Separate the resource code out of pnpmgr.c and into pnpres.c
- Simplify resource assigning to simply calling one function, IopAssignDeviceResources, which takes care of the registry configuration, translation, etc.
- Set the DNF_NEED_ENUMERATION_ONLY flag only AFTER the device is actually started not before
- Set DNF_START_FAILED if IRP_MN_START_DEVICE fails
- Fix a bug in IoReportDetectedDevice that wrote the AllocConfig value to wrong place

svn path=/trunk/; revision=46983
2010-04-21 22:33:11 +00:00
Aleksey Bragin
577625f6f8 [WINESYNC]
- Sync comdlg32, crypt32, gdiplus, inetcomm, jscript, msctf, mshtml, msxml3, rsaenh, schannel, shlwapi, urlmon, usp10, wininet winetests.

svn path=/trunk/; revision=46982
2010-04-21 20:35:09 +00:00
Timo Kreuzer
e20b4df9ef [WIN32K]
Update text and background brush properly. Fixes wrong colors in radio buttons in Firefox. Fix by Jerome Gardou.

See issue #5311 for more details.

svn path=/trunk/; revision=46980
2010-04-21 15:15:57 +00:00
Timo Kreuzer
8a0f9ea1b4 remove svn:mergeinfo
svn path=/trunk/; revision=46979
2010-04-21 15:12:58 +00:00
Sir Richard
1400882dda [NTOS]: Support unload of system modules by parsing the LoadedImports (implement MiDereferenceImports which was just a stub) and calling MiCallDllUnloadAndUnloadDll.
[NTOS]: Fix a bug in MiClearImports.

svn path=/trunk/; revision=46978
2010-04-21 14:14:45 +00:00
Sir Richard
73b2dc4317 [NTOS]: Enable MmPageEntireDriver by implementing MiSetPagingOfDriver.
[NTOS]: Call MiEnablePagingOfDriver from MmLoadSystemImage and implement it. All the work is done other than actually enabling paging, which requires system working set support.
[NTOS]: Implement MiWriteProtectSystemImage and MiComputeDriverProtection. All the work is done other than actually setting the bits on the pages, since I wanted to avoid too many changes.
[NTOS]: MmCheckSystemImage returns STATUS_INVALID_IMAGE_PROTECT, not STATUS_INVALID_IMAGE_FORMAT, so the branch in MmLoadSystemImage needs to check for the correct status code.
[NTOS]: Support FLG_SHOW_LDR_SNAPS for the kernel loader.

svn path=/trunk/; revision=46977
2010-04-21 14:06:01 +00:00
Timo Kreuzer
90b9c29f62 Recommit rest of ntifs.h and wdm.h from header merge revert
svn path=/trunk/; revision=46972
2010-04-21 01:12:04 +00:00
Sir Richard
f90e9cc903 [NTOS]: Read almost all the Memory Management variables into the system configuration vector. These includes pool limits, percentages, debugging flags, behavioral changes, and others.
[NTOS]: Minimal stubbed support for some large page functionality in case it gets implemented later and these things would've been ignored. One critical change is that now the MmProcessList is initialized, and the system process is added to it. Other processes should be added later.
[NTOS]: Add stubbed support for parsing the registry list of drivers that should have large pages enabled.
[NTOS]: Initialize the loaded module list before working set work.
[NTOS]: Reload the boot drivers much earlier, as part of ARM3 initialization.
[NTOS]: Start doing some minor MmResidentAvailablePages accounting during bootup.
[NTOS]: Start doing the math required for computing the appropriate MmSystemCacheWsMinimum on the booting system (based on RAM).
[NTOS]: Now that we use the HAL heap, add the code to scan it for I/O mappings. These are dangerous because we need to sync up caching attributes (not yet used in ReactOS, so not a problem for now).
[NTOS]: Add more header definitions, and helper definitions such as PDE_MAPPED_VA instead of doing the math by hand.
[NTOS]: Move MmPageEntireDriver and MmResetDriverPaging to sysldr.c since drvmgmt.c is more for Driver Verifier-style functionality.

svn path=/trunk/; revision=46971
2010-04-20 22:47:51 +00:00
Aleksey Bragin
34b02b74ca - Sync rsaenh, schannel, shlwapi, sti, urlmon, usp10, version, windowscodecs, wininet, wintrust to Wine-1.1.43.
- Update README.WINE.

svn path=/trunk/; revision=46967
2010-04-20 21:18:54 +00:00
Gregor Schneider
b423af097f [NTVDM] Load resource strings in Unicode when printing them in Unicode
svn path=/trunk/; revision=46963
2010-04-20 18:59:58 +00:00
Aleksey Bragin
1aa7aa1be5 - If MSDN says "BOOLEAN", let it be "BOOLEAN". Fixes build.
svn path=/trunk/; revision=46962
2010-04-20 18:55:05 +00:00
James Tabor
b88a39e105 [User32]
- Dmitry Timoshkov : Do not ask DrawFrameControl() to modify the passed in rectangle.
- Nikolay Sivov : Set WM_EXITMENULOOP wParam same way as for WM_ENTERMENULOOP.

svn path=/trunk/; revision=46961
2010-04-20 18:36:39 +00:00
Aleksey Bragin
590cff7bd1 - Add Wow64* functions declarations to winbase.h
- Export Wow64* functions in kernel32, because 32bit Windows also exports them.
- Sync ole32, oleaut32 with Wine-1.1.43.

svn path=/trunk/; revision=46959
2010-04-20 17:36:44 +00:00
Aleksey Bragin
fd7bc65588 - Sync msimtf, msvfw32, msvidc32, msxml3 to Wine-1.1.43.
svn path=/trunk/; revision=46958
2010-04-20 17:24:00 +00:00
Aleksey Bragin
4a1f6e12e3 - Sync localspl, mciavi32, mcicda, mciqtz32, mciseq, mciwave, mscoree, msctf, msgsm32.acm, mshtml to Wine-1.1.43.
svn path=/trunk/; revision=46957
2010-04-20 17:16:57 +00:00
Aleksey Bragin
79c442dc8f - Sync inetcomm, inseng, jscript to Wine-1.1.43.
svn path=/trunk/; revision=46956
2010-04-20 16:42:47 +00:00
Aleksey Bragin
0cb69766f3 - Sync comdlg32, crypt32, gdiplus, hhctrl.ocx to Wine-1.1.43.
svn path=/trunk/; revision=46955
2010-04-20 08:30:10 +00:00
Timo Kreuzer
85c5177ec9 Merge back most changes to ntifs.h from lastt revert
svn path=/trunk/; revision=46949
2010-04-19 21:40:23 +00:00
Timo Kreuzer
c31fcaaae7 [W32KNAPI]
Patch by Jerome Gardou: more tests for NtGdiBitBlt

svn path=/trunk/; revision=46948
2010-04-19 19:45:10 +00:00
Timo Kreuzer
d39e608d4d [NTDLL_WINETEST]
- Skip broken tests

svn path=/trunk/; revision=46947
2010-04-19 19:43:18 +00:00
Timo Kreuzer
c99e966e79 Patch by Jerome Gardou: add a bunch of tests for NtGdiBitBlt
svn path=/trunk/; revision=46946
2010-04-19 17:52:56 +00:00
Timo Kreuzer
d26ada0639 Merge changes to ketypes.h and ntimage.h from the last revert back.
svn path=/trunk/; revision=46945
2010-04-19 17:30:34 +00:00
Timo Kreuzer
7c4b750a57 Revert r46582, to see if it fixes the regtests
svn path=/trunk/; revision=46942
2010-04-19 15:41:21 +00:00
Aleksey Bragin
9403f80947 - Sync activeds, atl, avifil32, cabinet to Wine-1.1.43.
svn path=/trunk/; revision=46938
2010-04-19 14:03:42 +00:00
Daniel Reimer
cab24c4645 Update winhlp32 to Wine 1.1.43
svn path=/trunk/; revision=46931
2010-04-18 23:16:10 +00:00
Matthias Kupfer
57020ab2e3 - Once again, fix INF files
svn path=/trunk/; revision=46929
2010-04-18 23:02:14 +00:00
Aleksey Bragin
a3e472b248 Samuel Serapion
- Add IdlInterface module type.

svn path=/trunk/; revision=46928
2010-04-18 18:22:29 +00:00
Aleksey Bragin
250867ddb3 Samuel Serapion
- Assorted rbuild syntax fixes.

svn path=/trunk/; revision=46927
2010-04-18 18:20:33 +00:00
Aleksey Bragin
e5a3966fdd [USER32]
- Fix SetSysColorTemps prototype and implementation for 64 bit compatibility, part 2/2.

svn path=/trunk/; revision=46918
2010-04-18 12:46:53 +00:00
Aleksey Bragin
f272498345 [USER32]
- Fix SetSysColorTemps prototype and implementation for 64 bit compatibility.

svn path=/trunk/; revision=46917
2010-04-18 12:42:28 +00:00
Michael Martin
78db5f0d71 [NTMARTA]
- AccRewriteSetEntriesInAcl: Fix a bug that caused the for loop never to complete due to reuse of same variable.

svn path=/trunk/; revision=46916
2010-04-18 12:06:29 +00:00
Cameron Gutman
b3be7aba54 [PCMCIA]
- Check if the IOCTL interface should be enabled (not used yet)

svn path=/trunk/; revision=46913
2010-04-17 23:32:29 +00:00
Cameron Gutman
9ce679f7cf [NTOSKRNL]
- Hackfix the device manager issue

svn path=/trunk/; revision=46912
2010-04-17 23:13:07 +00:00
Gregor Schneider
cb8592ebd4 [GDI32] GetFontUnicodeRanges was introduced in Windows 2000, patch by Love Nystrom
See issue #5031 for more details.

svn path=/trunk/; revision=46910
2010-04-17 20:59:59 +00:00
Gregor Schneider
22fbcbfd91 [SHELL32]
- Simplify checks for success of ShellExecuteEx, field hInst may be an unreliable indicator according to http://msdn.microsoft.com/en-us/library/bb759784%28v=VS.85%29.aspx
- Fixes folder options control panel opening twice
See issue #4910 for more details.

svn path=/trunk/; revision=46907
2010-04-17 20:02:12 +00:00
Sir Richard
03eaad9b13 [NTOS]: 1MB is not 1000 * 1KB...
svn path=/trunk/; revision=46904
2010-04-17 14:28:15 +00:00
Gregor Schneider
a40f637b41 [SHELL32]
- Add support for deleting multiple files from the context menu
- Fix error debug print
See issue #4383 for more details.

svn path=/trunk/; revision=46900
2010-04-16 21:22:06 +00:00
Gregor Schneider
76e18f2271 [PING]
- Skip the last unnecessary wait in a series of pings
- Patch by Rafal Harabien, <rafalh1992 AT o2 DOT pl>
See issue #5300 for more details.

svn path=/trunk/; revision=46898
2010-04-16 14:47:46 +00:00
Gregor Schneider
2dba0d9347 [NOTEPAD]
- Create a font even if no registry settings were loaded
- Patch by Rafal Harabien, <rafalh1992 AT o2 DOT pl>
See issue #4066 for more details.

svn path=/trunk/; revision=46897
2010-04-16 14:30:40 +00:00
Ged Murphy
d6c85206c0 Fix the make path.
Should fix building using the RosBuild config in Visual Studio

svn path=/trunk/; revision=46893
2010-04-16 10:48:02 +00:00
Gregor Schneider
3e8240e837 [DESK]
- Don't autoequip listview item selections upon item creation
- Handle selections via SetItemState, select newly added items that way
- Fixes current background wallpaper item not being selected initially and selection being ignored later
See issue #5030,5116 for more details.

svn path=/trunk/; revision=46887
2010-04-15 21:01:12 +00:00
Timo Kreuzer
1bb3aa8239 [MSIMTF]
Silence debug flood

svn path=/trunk/; revision=46886
2010-04-15 20:07:18 +00:00
Timo Kreuzer
2899a12647 [RBUILD]
- Link C++ apps to libsupc++.a, needed for recent versions of gcc
- remove amd64 hack

svn path=/trunk/; revision=46884
2010-04-15 18:47:44 +00:00