Commit graph

48832 commits

Author SHA1 Message Date
Thomas Faber 238b9ff6c3 [MSHTML][SHDOCVW]
- Initialize OLEINPLACEFRAMEINFO.cb for IOleInPlaceSite::GetWindowContext. Fixes explorer "Web" button assert. Already applied upstream.
See issue #6011 for more details.

svn path=/trunk/; revision=54304
2011-11-05 20:40:59 +00:00
Claudiu Mihail c10be1a84f [shell32]
- Fix a few more winetests in shlfolder tests.

svn path=/trunk/; revision=54303
2011-11-05 20:09:30 +00:00
Cameron Gutman 2506e5967c [LWIP]
- Properly sync to lwIP 1.4.0
- No code changes (except unit tests)

svn path=/trunk/; revision=54302
2011-11-05 18:54:49 +00:00
Amine Khaldi 64e1212557 [SHELL32]
* Fix rbuild build.
* Remove a debug breakpoint that is no longer needed.

svn path=/trunk/; revision=54301
2011-11-05 17:56:10 +00:00
Claudiu Mihail eee7297139 [shell32]
- Fix ParseDisplayName based on wine by checking for paths that are parsable through IEParseDisplayNameWithBCW. Score 2 failed wine tests in shlfolder

svn path=/trunk/; revision=54300
2011-11-05 16:40:42 +00:00
Thomas Faber 325e646e25 [KERNEL32]
- Fix MSVC build

svn path=/trunk/; revision=54299
2011-11-05 11:39:37 +00:00
Thomas Faber e325aa3a89 [CRT]
- Gracefully fail on NULL for gmtime functions. Fixes msvcrt:time crash

svn path=/trunk/; revision=54298
2011-11-05 10:24:24 +00:00
Thomas Faber 48680406d2 [CRT]
- Sync heap.c and undname.c with Wine 1.3.32
- Remove incorrect casts. Undo an incorrect warning fix. Fixes hang in msvcrt:cpp test

svn path=/trunk/; revision=54297
2011-11-05 10:08:06 +00:00
Thomas Faber e2d5a05b09 [MSVCRT_WINETEST]
- Sync to Wine 1.3.32

svn path=/trunk/; revision=54296
2011-11-05 09:54:41 +00:00
Thomas Faber c5eb6b4cdf [PSDK][KERNEL32]
- Fix some DWORD vs SIZE_T confusion for memory functions

svn path=/trunk/; revision=54295
2011-11-05 09:07:39 +00:00
James Tabor 98c56da01a [Win32k]
- Reposition IntCallWndProc/Ret so it call when sending to client.

svn path=/trunk/; revision=54294
2011-11-05 06:01:05 +00:00
James Tabor c30a8a6e49 [User32]
- Fixed Dialog Ansi and color control brush acquisition.
- Added stack protection for message recursion. Due to wine message bug when in dialog initialization. See bug 6126.
- Miscellaneous fixups.

svn path=/trunk/; revision=54293
2011-11-05 05:18:57 +00:00
Alex Ionescu 888f1950e9 [KERNEL32]: Fix a missing "~" in GlobalReAlloc and LocalReAlloc, which caused a flag never to be removed.
svn path=/trunk/; revision=54292
2011-11-05 04:53:18 +00:00
Alex Ionescu d30964b0fb [KERNEL32]: Implement CreateJobSet
[KERNEL32]: Acquire SE_INCREASE_WORKING_SET_PRIVILEGE in SetInformationJobObject if needed.
[KERNEL32]: Only do conversion of Process Priority Class in SetInformationJobObject if the limit flags request it.
[KERNEL32]: Add missing size checks in QueryInformationJobObject.
[KERNEL32]: Use RtlEncode/DecodePointer to protect the top level exception handler pointer, as done on NT 5.2+
[KERNEL32]: Fix IsBadRead/WritePtr to use the correct page size from the CSRSS shared section.
[KERNEL32]: Fix IsBad(String)Read/WritePtr loops
[KERNEL32]: SetErrorMode now handles SEM_NOALIGNMENTFAULTEXCEPT.
[KERNEL32]: Set/GetErrorMode do not set LastError on failure.
[KERNEL32]: RaiseException can simply use memcpy instead of copying argument by argument.
[KERNEL32]: Minor formatting changes.

svn path=/trunk/; revision=54291
2011-11-05 01:19:52 +00:00
Thomas Faber c0f989c66a [RICHED20_WINETEST]
- Sync to Wine 1.3.32

svn path=/trunk/; revision=54290
2011-11-04 23:07:16 +00:00
James Tabor 2db8caa0e5 - Fix build.
svn path=/trunk/; revision=54289
2011-11-04 13:21:13 +00:00
James Tabor bc031d7389 [Win32k|User32]
- Move control color support to Win32k.

svn path=/trunk/; revision=54288
2011-11-04 13:16:48 +00:00
Kamil Hornicek 600cd17828 [KERNEL32]
Fix a copypasta.
See issue #6635 for more details.

svn path=/trunk/; revision=54287
2011-11-03 13:48:23 +00:00
Alex Ionescu 549dd7a686 [KERNEL32]: BaseNamedObjectDirectory should work on demand, instead of on startup. Also, support cases when the thread is doing impersonation, to make sure it uses its real session ID and security access. Also, support cases when the BNO directory is not available, and use the BNO\Restricted directory instead (we should have our CSRSS create it).
svn path=/trunk/; revision=54286
2011-11-03 07:00:48 +00:00
Alex Ionescu 4ba4fdcb2c [KERNEL32]: Fix multiple issues in BaseCreateStack:
- StackLimit was set incorrectly.
- Code was not using BaseStaticServerdata, but querying NT instead.
- Fix memory leak in failure case.
- StackCommit and StackReserved values were not aligned correctly.
- Windows Server 2003+ feature of "Guaranteed Stack Commit Size" was not respected.
- Some math was screwy.
- Failure to get NT headers was not handled.

svn path=/trunk/; revision=54285
2011-11-03 06:46:22 +00:00
Alex Ionescu e5f31ab0a9 [KERNEL32]: Rearrange and rename some base functions.
[KERNEL32]: Fix some error cases in the helper string functions.
[KERNEL32]: Implement BasepIsRealtimeAllowed.
[KERNEL32]: Don't need RPL_MASK when setting up the CONTEXT, this now matches what Windows sets up (and also helps us validate the kernel is doing the right thing).

svn path=/trunk/; revision=54284
2011-11-03 00:30:44 +00:00
Jérôme Gardou b63701a2c9 [KERNEL32]
- Small performance improvement : Directly reference dll when getting its handle instead of just checking it's there and then load it

svn path=/trunk/; revision=54283
2011-11-02 23:37:38 +00:00
Kamil Hornicek b9abf0ef06 [KERNEL32]
Fix GetEnvironmentStringsA/W.
See issue #6633 for more details.

svn path=/trunk/; revision=54282
2011-11-02 20:10:02 +00:00
Eric Kohl 09de8a1431 [SYSDM]
Handle the user wait interval.

svn path=/trunk/; revision=54281
2011-11-01 17:47:18 +00:00
Cameron Gutman 7be8df8976 [USETUP]
- Fix FAT32 boot sector pointer arithmetic
- Fixes setup error when installing FAT32 boot sector to file

svn path=/trunk/; revision=54280
2011-10-31 07:32:00 +00:00
Alex Ionescu 5671dd839b [KERNEL32]: In failure cases we should return one more byte for ANSI_NULL as well. Also fix another length check.
svn path=/trunk/; revision=54279
2011-10-30 21:41:12 +00:00
Jérôme Gardou 5ef1d7f8d2 [NTOSKRNL]
- Fix typo

svn path=/trunk/; revision=54278
2011-10-30 19:19:49 +00:00
Jérôme Gardou daf8019f6c [WIN32K]
- Allocate lokkaside lists from non paged pool.
- Add allocation failure check.

svn path=/trunk/; revision=54277
2011-10-30 18:37:30 +00:00
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