Commit graph

49054 commits

Author SHA1 Message Date
Alex Ionescu 9f4d272bac [KERNEL32]: Fix many bugs and confusion regarding string sizes in previous commit.
svn path=/trunk/; revision=54276
2011-10-30 16:49:25 +00:00
James Tabor 12f502c35b [Win32k]
- don't hangup on the user while in send message.

svn path=/trunk/; revision=54275
2011-10-30 15:44:31 +00:00
Alex Ionescu 0bf4287f08 [KERNEL32]: Rewrite (in some cases, simply clean-up) environment handling functions for better string handling, error codes, and performance. Part of ongoing kernel32 work.
svn path=/trunk/; revision=54274
2011-10-30 01:07:09 +00:00
Jérôme Gardou bfc68fc3a1 [CDFS]
- Read all blocks at once for misaligned read.

svn path=/trunk/; revision=54273
2011-10-30 00:58:21 +00:00
Eric Kohl f39c8938c3 [UMPNPMGR]
- Implement PNP_GetHwProfInfo.
- Fix PNP_GetClassRegProp: Set the transfer length only in case of success.

svn path=/trunk/; revision=54272
2011-10-29 21:54:24 +00:00
Jérôme Gardou f6d2cc099e [CDFS]
- fix non cached reading when offset or length is not aligned on block size

svn path=/trunk/; revision=54271
2011-10-29 20:34:08 +00:00
Jérôme Gardou d028b2cb22 [NTOSKRNL]
- add missing lock/unlock of kernel address space

svn path=/trunk/; revision=54270
2011-10-29 16:25:11 +00:00
Cameron Gutman 79721ed8cb [USETUP]
- Use a separate function, InstallFat12BootCodeToFloppy(), to install the floppy boot code
- Format the floppy to FAT12 before writing to it
- Booting FreeLoader from floppy works again (bug #6495)

svn path=/trunk/; revision=54269
2011-10-29 15:10:11 +00:00
Cameron Gutman daaf78f524 [FSLIB]
- Don't call the callback if the caller didn't give one

svn path=/trunk/; revision=54268
2011-10-29 15:03:01 +00:00
Cameron Gutman f89a5c926a [FLOPPY]
- Prevent a deadlock on very old controllers by sending the configure and version commands before resetting the controller

svn path=/trunk/; revision=54267
2011-10-29 14:19:30 +00:00
Cameron Gutman 9267b63627 [FLOPPY]
- Improve the floppy controller initialization code to fix several cases where the controller could deadlock or otherwise malfunction on us

svn path=/trunk/; revision=54266
2011-10-29 13:22:18 +00:00
Cameron Gutman fabd252d70 [NTOSKRNL]
- Fix handling of HAL returning a different address space than we thought

svn path=/trunk/; revision=54265
2011-10-29 12:18:25 +00:00
Thomas Faber 5fc47e3025 [USER32]
- Fix MSVC build

svn path=/trunk/; revision=54264
2011-10-28 22:15:53 +00:00
Cameron Gutman 48f72b0826 [WININET]
- Disable connection keep-alive to avoid calling into msafd to close the connection later during DLL_PROCESS_DETACH

svn path=/trunk/; revision=54263
2011-10-28 18:58:43 +00:00
Jérôme Gardou ae2c3ea022 [NTOSKRNL]
- remove unused variables/arguments
- Add small check in MmNotPresentFaultSectionView

svn path=/trunk/; revision=54262
2011-10-28 16:34:48 +00:00
James Tabor 7a4e31a240 [User32]
- Icon title, menu and scroll bar do not set the death bit. Menu and scroll bar set the id only on specific window messages.


svn path=/trunk/; revision=54261
2011-10-28 12:00:07 +00:00
Cameron Gutman 9485661218 [FREELDR]
- Check VESA BIOS signature before reporting VESA extensions are present

svn path=/trunk/; revision=54260
2011-10-27 19:11:22 +00:00
James Tabor c59fc2237c [User32]
- Fix function ids, setting of the death bit when in NC destroy.
- Implement get control brush and color.
- Patch by Alexander LAW, Replicate Windows behavior of WM_SETTEXT handler regarding WM_CTLCOLOR*

svn path=/trunk/; revision=54259
2011-10-27 12:17:44 +00:00
Sylvain Petreolle 3c1d785188 [KERNEL32]
Use ERROR_SUCCESS instead of 0.
Dedicated to Pierre.

svn path=/trunk/; revision=54258
2011-10-27 09:38:14 +00:00
Sylvain Petreolle 7d118f02b6 [KERNEL32]
CreateFile has to set last error on success.
Fixes kernel32:file test cancellation.

svn path=/trunk/; revision=54257
2011-10-26 19:02:32 +00:00
Cameron Gutman f8459fbb45 [NTOSKRNL]
- Pass a placeholder trap information, indicating that we are unlocked, to MmAccessFault in MmProbeAndLockPages as temporary hack until Mm locking is fixed
- Fixes "Assertion 'GuardedMutex->Owner == KeGetCurrentThread()' failed" when faulting in pages via MmProbeAndLockPages
- Dedicated to Jim :)

svn path=/trunk/; revision=54256
2011-10-26 14:38:57 +00:00
James Tabor c796f0b844 [User32]
- Up Dialog.c to 1.3.31, sync port and minimized differences.
- Sync Information:
  Alexandre Julliard <julliard@winehq.org> : Don't overwrite the default button id when creating the dialog structure.
  Michael Stefaniuc <mstefani@redhat.de>: Avoid using long. Avoid using HIWORD() on atoms/resources.

svn path=/trunk/; revision=54255
2011-10-26 02:17:02 +00:00
James Tabor 46520a9bbe - Port wine right.
svn path=/trunk/; revision=54254
2011-10-25 02:53:44 +00:00
James Tabor ee477c63ed - Fix crash in cursoricon test.
svn path=/trunk/; revision=54253
2011-10-25 02:14:38 +00:00
Cameron Gutman 9bd7961e1c [NTOSKRNL]
- Fix debug prints for 64-bit values

svn path=/trunk/; revision=54252
2011-10-24 21:09:58 +00:00
Cameron Gutman 84409cef86 [NDIS]
- Implement NdisMSetupDmaTransfer, NdisMCompleteDmaTransfer, NdisSetupDmaTransfer, NdisCompleteDmaTransfer, and NdisAllocateDmaChannel

svn path=/trunk/; revision=54251
2011-10-24 20:38:36 +00:00
James Tabor da83a8919e [User32]
- Fix class window procedure checks, prevents misbehaving applications from calling wrong class procs.

svn path=/trunk/; revision=54250
2011-10-24 14:49:25 +00:00
James Tabor 519e75748d [User32]
- Fix class window procedure checks, prevents misbehaving applications from calling wrong class procs.
- Fixed callout for static control color brush.

svn path=/trunk/; revision=54249
2011-10-24 14:47:59 +00:00
James Tabor 3581e033d0 [User32]
- Use SetWindowTextA/W so that it passes through defwnd to be processed for themes.
- Fix validation of the dialog window and procedure.

svn path=/trunk/; revision=54248
2011-10-24 14:16:53 +00:00
James Tabor 6027ff60e6 [User32]
- Fix SetWindowTextA/W so that it passes through defwnd to be processed for themes.
- Fix desktop checks.
- Add create window flags.

svn path=/trunk/; revision=54247
2011-10-24 14:13:19 +00:00
Cameron Gutman 27c384324c [NDIS]
- Stub and export NdisMSetupDmaTransfer and NdisMCompleteDmaTransfer

svn path=/trunk/; revision=54246
2011-10-24 09:33:29 +00:00
Cameron Gutman d8f0d214d2 [NDIS]
- Fix addressing constraints for slave DMA devices that don't have 32-bit address support

svn path=/trunk/; revision=54245
2011-10-24 09:12:34 +00:00
Cameron Gutman bc55323de3 [NDIS]
- Demote some debug prints

svn path=/trunk/; revision=54244
2011-10-24 08:22:56 +00:00
Sylvain Petreolle 3361be2360 [ROSAPPS]
Add rosapps to build.

svn path=/trunk/; revision=54243
2011-10-23 12:30:42 +00:00
Sylvain Petreolle 3ed5f76537 [ROSAPPS]
Add cmake base files with ssstars.

svn path=/trunk/; revision=54242
2011-10-23 12:30:27 +00:00
Eric Kohl 813bcdc401 [DISKPART]
- Add a simple usage function (/? option).
- Simplify the interpreter loop a little bit.

svn path=/trunk/; revision=54241
2011-10-23 12:04:48 +00:00
Cameron Gutman 51ca9e5645 [VIDEOPRT]
- Store the slot number we find in the device extension by legacy detection

svn path=/trunk/; revision=54240
2011-10-23 04:04:17 +00:00
Cameron Gutman c64e8b00c0 [VIDEOPRT]
- Support passing a resource requirements list to VideoPortGetAccessRanges

svn path=/trunk/; revision=54239
2011-10-23 03:55:35 +00:00
Cameron Gutman 69fdb2ac71 [NTOSKRNL]
- Fix a major off-by-one bug in resource conflict checking
- Respect requested alignment when checking for valid port/memory ranges

svn path=/trunk/; revision=54238
2011-10-23 03:06:23 +00:00
Cameron Gutman 25eae4b916 [VIDEOPRT]
- Report legacy resources to the PnP manager via IRP_MN_FILTER_RESOURCE_REQUIREMENTS
- Report legacy access ranges in response to VideoPortGetAccessRanges
- TODO: Handle an optional resource requirements list in VideoPortGetAccessRanges

svn path=/trunk/; revision=54237
2011-10-23 02:45:09 +00:00
Cameron Gutman 68be9235cf [VIDEOPRT]
- Check all PCI buses not just the first 8

svn path=/trunk/; revision=54236
2011-10-23 01:16:54 +00:00
Cameron Gutman dfb06c0abf [VIDEOPRT]
- Slot is an output parameter not an input parameter. Treat it as such.
- Don't use magic constants
- Remove a duplicate check
- Set RangeShareable for port resources based on the resource descriptor
- Initialize and set RangeShareable for memory and port access ranges instead of leaving garbage in there

svn path=/trunk/; revision=54235
2011-10-22 23:32:51 +00:00
Thomas Faber 9d229f5644 [RICHED20]
- Fix ME_CharFromPoint relying on Wine's incorrect behavior of GetTextExtentExPointW. Already sent upstream(TM)
See issue #6196,5784,6037,6095,6187,6513 for more details.

svn path=/trunk/; revision=54234
2011-10-22 20:55:11 +00:00
Eric Kohl 53a2d1fe4f [DISKPART]
Implement argument processing. Patch by Lee Schroeder.

The original patch was modified to fix the following issues:
- Indentation and coding style.
- Remove obsolete code: 1. The if-statement around the for-loop is not needed. 2. The call to wcsicmp() is already case insensitive (it is the 'i' in wcsicmp).
- Check the existence of a script file name and a timeout value before trying to process them.
- Call run_script() after the argument list has been processed. This fixes the argument order issue.


See issue #6552 for more details.

svn path=/trunk/; revision=54233
2011-10-22 19:52:17 +00:00
Rafal Harabien 4772994fec [WINLOGON]
- Move playing log on sound to HandleLogon
- Don't use HKEY_CURRENT_USER for accessing user registry key. This key points to settings of user which started Winlogon process (SYSTEM) instead of logged user. Instead use HKU\SID.
See issue #5436 for more details.

svn path=/trunk/; revision=54232
2011-10-22 18:28:05 +00:00
Thomas Faber a29cf1d59d [EXPLORER_NEW]
- Fix rectangle copypasta in ITrayWindowImpl_RegLoadSettings. Patch by Elton Chung

svn path=/trunk/; revision=54231
2011-10-22 15:27:29 +00:00
Giannis Adamopoulos db3c333ce8 [comctl32]
- merge r53027 that missed the merge from themes branch
- fixes floods of debug output by CombineRgn

svn path=/trunk/; revision=54230
2011-10-22 11:35:13 +00:00
Rafal Harabien 0835a3801d - Update Liberation fonts to 1.07.1
svn path=/trunk/; revision=54229
2011-10-22 10:01:49 +00:00
Rafal Harabien 1f46cba81b [WIN32K] - SystemParametersInfo does not support SPIF_UPDATEINIFILE for SPI_SETDEFAULTINPUTLANG
svn path=/trunk/; revision=54228
2011-10-21 21:47:16 +00:00
Rafal Harabien 9e2f17bd8e [WIN32K]
- Mouse code cleanup
- Support MOUSEEVENTF_VIRTUALDESK flag in MOUSEINPUT properly
- Support MOUSE_VIRTUAL_DESKTOP flag in MOUSE_INPUT_DATA properly
- Do not ignore MK_SHIFT and MK_CONTROL flags in some mouse messages

svn path=/trunk/; revision=54227
2011-10-21 21:23:51 +00:00