reactos.git
11 years ago[CMAKE]
Amine Khaldi [Mon, 27 Aug 2012 18:58:27 +0000 (18:58 +0000)]
[CMAKE]
* Prefer STREQUAL over MATCHES since we're comparing with strings here. Brought to you by Hermès Bélusca.
See issue #7306 for more details.

svn path=/trunk/; revision=57181

11 years ago[PSEH2]
Amine Khaldi [Mon, 27 Aug 2012 18:55:37 +0000 (18:55 +0000)]
[PSEH2]
* Make _SEH_DontInline() static inline.

svn path=/trunk/; revision=57180

11 years ago[KERNEL32_APITESTS]
Jérôme Gardou [Mon, 27 Aug 2012 16:34:17 +0000 (16:34 +0000)]
[KERNEL32_APITESTS]
- Add some tests for lstrncpyW
- This function is fine, I wrote that when chasing some bug thinking this function was at fault.

svn path=/trunk/; revision=57179

11 years ago[AFD]
Cameron Gutman [Mon, 27 Aug 2012 06:50:01 +0000 (06:50 +0000)]
[AFD]
- Fix broken overlapped I/O on sockets

svn path=/trunk/; revision=57178

11 years ago[MSAFD]
Cameron Gutman [Mon, 27 Aug 2012 06:34:21 +0000 (06:34 +0000)]
[MSAFD]
- Add error translation for STATUS_ACCESS_VIOLATION

svn path=/trunk/; revision=57177

11 years ago[AFD]
Cameron Gutman [Mon, 27 Aug 2012 06:19:19 +0000 (06:19 +0000)]
[AFD]
- Fix a bug causing the event passed to WSAEnumNetworkEvents to remain set after the call

svn path=/trunk/; revision=57176

11 years ago[AFD]
Cameron Gutman [Mon, 27 Aug 2012 04:16:28 +0000 (04:16 +0000)]
[AFD]
- Fix one of the worst bugs in AFD of all time. Our AFD code operated under the assumption that none of the input parameters would change once we called LockRequest. This assumption is completely false. The only guarantee that made was that the pages never disappeared from us, not they they couldn't be modified. There are frequent cases where the user-mode buffer was modified from underneath us (WSPRecv allocates the struct on stack which makes it invalid during overlapped operations that complete later). When this happened, we would bugcheck when we tried to unlock the buffers since we accessed this in a member of the struct the caller passed us.
- I've fixed this by adding a parameter to LockRequest which specifies whether the buffer should be copied back when it is unlocked.
- This bug has been around for ages and I was never able to figure out why we just freed garbage sometimes. Now that the ws2_32_winetest exposed it reliably, I was finally able to fix it.

svn path=/trunk/; revision=57175

11 years ago[AFD]
Cameron Gutman [Mon, 27 Aug 2012 03:43:40 +0000 (03:43 +0000)]
[AFD]
- Fix some size assumptions that fail on 64-bit

svn path=/trunk/; revision=57174

11 years ago[AFD]
Cameron Gutman [Mon, 27 Aug 2012 03:42:28 +0000 (03:42 +0000)]
[AFD]
- Only access stack parameters when we're sure that the major function is correct

svn path=/trunk/; revision=57173

11 years ago[CRT]
Jérôme Gardou [Sun, 26 Aug 2012 23:54:52 +0000 (23:54 +0000)]
[CRT]
- Fix some UNICODE vs non UNICODE definition mess.

svn path=/trunk/; revision=57172

11 years ago[MINGWEX]
Jérôme Gardou [Sun, 26 Aug 2012 23:31:49 +0000 (23:31 +0000)]
[MINGWEX]
- mark DllMain as a weak symbol for GCC.
- supply a stubbed DllMain for MSVC.
- DllMain is optional, and some DLLs don't implement it. That doesn't mean that they have no entry point, it means "I have nothing more to initialize than the CRT".

svn path=/trunk/; revision=57171

11 years ago[AFD]
Cameron Gutman [Sun, 26 Aug 2012 22:31:18 +0000 (22:31 +0000)]
[AFD]
- Change AFD to a very aggressive buffering policy
- It now attempts to keep its 64K receive buffer completely full at all times
- This increases network performance significantly

svn path=/trunk/; revision=57170

11 years ago[LWIP]
Cameron Gutman [Sun, 26 Aug 2012 22:24:49 +0000 (22:24 +0000)]
[LWIP]
- Fix broken handling of partial receives

svn path=/trunk/; revision=57169

11 years ago[AFD]
Cameron Gutman [Sun, 26 Aug 2012 20:13:22 +0000 (20:13 +0000)]
[AFD]
- Fix returning uninitialized data from FIONREAD when the socket is not bound or connected

svn path=/trunk/; revision=57168

11 years ago[ADVAPI32/LSASRV]
Eric Kohl [Sun, 26 Aug 2012 14:05:27 +0000 (14:05 +0000)]
[ADVAPI32/LSASRV]
- Implement LsaSetSeceret/LsarSetSecret (secret values are not encrypted yet) and LsaSetSystemAccessAccount.
- Improve some TRACE messages.

svn path=/trunk/; revision=57167

11 years ago[KMTESTS:EX]
Thomas Faber [Sun, 26 Aug 2012 12:06:45 +0000 (12:06 +0000)]
[KMTESTS:EX]
- Make hard-coded calling convention exceptions in ExInterlocked compatible with GCC 4.7, and add the corresponding TODO about how ugly this is

svn path=/trunk/; revision=57166

11 years ago[GDI32_APITEST]
Thomas Faber [Sun, 26 Aug 2012 11:35:58 +0000 (11:35 +0000)]
[GDI32_APITEST]
- Fix build

svn path=/trunk/; revision=57165

11 years ago[GDI32_APITEST]
Thomas Faber [Sun, 26 Aug 2012 11:17:37 +0000 (11:17 +0000)]
[GDI32_APITEST]
- Actually run the CreateIconIndirect test when it's called

svn path=/trunk/; revision=57164

11 years ago[CMAKE]
Amine Khaldi [Sun, 26 Aug 2012 11:14:52 +0000 (11:14 +0000)]
[CMAKE]
* Escape the source folder here.

svn path=/trunk/; revision=57163

11 years ago[SYSCALLS]
Aleksey Bragin [Sun, 26 Aug 2012 10:22:39 +0000 (10:22 +0000)]
[SYSCALLS]
- Remove old unnecessary copy of syscalls.inc

svn path=/trunk/; revision=57162

11 years ago[NTOSKRNL]
Thomas Faber [Sun, 26 Aug 2012 09:22:09 +0000 (09:22 +0000)]
[NTOSKRNL]
- Revert r57155 until test issues are fixed

svn path=/trunk/; revision=57161

11 years ago[OPENGL32_WINETEST]
Jérôme Gardou [Sun, 26 Aug 2012 09:17:35 +0000 (09:17 +0000)]
[OPENGL32_WINETEST]
- Sync with wine

svn path=/trunk/; revision=57160

11 years ago[PSEH2]
Timo Kreuzer [Sat, 25 Aug 2012 22:19:02 +0000 (22:19 +0000)]
[PSEH2]
PSEH2 uses a special mechanism to deal with nested try blocks inside the same function. Instead of pushing a second exception registration record on the exception list, it uses an internal pointer to handle the different try-levels.
But when a function using SEH is inlined, the resulting code will push 2 registration frames on the stack. Now it happens with GCC 4.7.1 that these frames get shuffled on the stack, putting one for the inner try on a higher stack address. This is something that RtlUnwind regards as a bug and throws a STATUS_INVALID_UNWIND_TARGET exception. This was the reason for the crashing PSEH2_TEST, when compiled with GCC 4.7.1.
To fix this, I added a mechanism that will prevent functions using SEH from being inlined.

svn path=/trunk/; revision=57159

11 years ago[ADVAPI32/LSASRV]
Eric Kohl [Sat, 25 Aug 2012 15:40:06 +0000 (15:40 +0000)]
[ADVAPI32/LSASRV]
- Implement LsaCreateSecret/LsarCreateSecret, LsaOpenSecret/LsarOpenSecret,  LsaGetSystemAccessAccount/ LsarGetSystemAccessAccount and LsarSetSystemAccessAccount
- Improve some TRACE messages.

svn path=/trunk/; revision=57158

11 years ago[GDI32_APITEST]
Timo Kreuzer [Fri, 24 Aug 2012 20:25:29 +0000 (20:25 +0000)]
[GDI32_APITEST]
Fix use of uninitialized variables and remove broken test.
See issue #7299 for more details.

svn path=/trunk/; revision=57157

11 years ago[NTDLL/LDR]
Aleksey Bragin [Fri, 24 Aug 2012 17:50:56 +0000 (17:50 +0000)]
[NTDLL/LDR]
- Check result of walking the import descriptor and properly fail in case it wasn't successful.
See issue #7289 for more details.

svn path=/trunk/; revision=57156

11 years ago[NTOSKRNL]: Cleanup MmCreateArm3Section a little bit to handle file-backed sections...
Alex Ionescu [Fri, 24 Aug 2012 17:17:36 +0000 (17:17 +0000)]
[NTOSKRNL]: Cleanup MmCreateArm3Section a little bit to handle file-backed sections in the future.
[NTOSKRNL]: Remove an ASSERT(FALSE) that was only there for testing.
[NTOSKRNL]: Enable richard's ARM3 section code unconditionally for all non-file backed sections. Works4me. Let's see what Testbot says.

svn path=/trunk/; revision=57155

11 years ago[CMAKE]
Jérôme Gardou [Fri, 24 Aug 2012 16:29:37 +0000 (16:29 +0000)]
[CMAKE]
- Fix build, sorry

svn path=/trunk/; revision=57154

11 years ago[OPENGL]
Jérôme Gardou [Fri, 24 Aug 2012 16:28:09 +0000 (16:28 +0000)]
[OPENGL]
- Add some optimizations (GCC) on compilation of libMesa
- Move opengl32 to the opengl directory
- Disable ICD refcounting for now, it does more harm than good.

svn path=/trunk/; revision=57153

11 years ago[CMAKE/MSVC]
Amine Khaldi [Fri, 24 Aug 2012 16:21:33 +0000 (16:21 +0000)]
[CMAKE/MSVC]
* Call cl directly instead of its full path using <CMAKE_C_COMPILER>. Figuring out why it didn't work is left as an exercise for the reader.

svn path=/trunk/; revision=57152

11 years ago[CMAKE/MSVC]
Amine Khaldi [Fri, 24 Aug 2012 15:36:17 +0000 (15:36 +0000)]
[CMAKE/MSVC]
Hermès Bélusca:
* Fix a bug in the way we compiled the boot sectors on the x64 build.
* Consistently set the mc compiler, like gcc builds.
* Use proper variables when referring to the compilers.
See issue #7297 for more details.

svn path=/trunk/; revision=57151

11 years ago[ADVAPI32]
Thomas Faber [Fri, 24 Aug 2012 12:52:29 +0000 (12:52 +0000)]
[ADVAPI32]
- Correctly handle NULL passwords for services. Patch by Hermès Bélusca. Fixes crash in advapi32_winetest:service. See bug 7239, bug 7293.

svn path=/trunk/; revision=57150

11 years ago[MSAFD]
Cameron Gutman [Fri, 24 Aug 2012 06:23:45 +0000 (06:23 +0000)]
[MSAFD]
- Stubplement support for SIOCATMARK
[WSHTCPIP]
- Add better debugging for unsupported options
- Implement setting SO_DONTROUTE (nop)
- Return WSAENOPROTOOPT for invalid SOL_SOCKET options

svn path=/trunk/; revision=57149

11 years ago[NTOSKRNL]: Fix broken way we were creating prototype PTEs, which was only supporting...
Alex Ionescu [Fri, 24 Aug 2012 06:08:20 +0000 (06:08 +0000)]
[NTOSKRNL]: Fix broken way we were creating prototype PTEs, which was only supporting 256MB worth of prototype PTE area instead of 1GB.
[NTOSKRNL]: Add support (macros) for subsection PTEs.

svn path=/trunk/; revision=57148

11 years ago[AFD]
Cameron Gutman [Fri, 24 Aug 2012 06:03:25 +0000 (06:03 +0000)]
[AFD]
- Fix a bug causing FIONREAD to return an incorrect value after a datagram receive completes when only returning a subset of the data (returns WSAEMSGSIZE)

svn path=/trunk/; revision=57147

11 years ago[ADVAPI32/SERVICES]
Eric Kohl [Thu, 23 Aug 2012 20:24:00 +0000 (20:24 +0000)]
[ADVAPI32/SERVICES]
Little improvements to advapi32.dll / services.exe.
Patch by Hermes Belusca.
See issue #7239 for more details.

svn path=/trunk/; revision=57146

11 years ago[GLU32]
Jérôme Gardou [Thu, 23 Aug 2012 19:45:25 +0000 (19:45 +0000)]
[GLU32]
- Use up-to-date mesa3d version

svn path=/trunk/; revision=57145

11 years ago[WINGDI.H]
Jérôme Gardou [Thu, 23 Aug 2012 19:41:19 +0000 (19:41 +0000)]
[WINGDI.H]
- Take the NOGDI define into account

svn path=/trunk/; revision=57144

11 years ago[TCPIP]
Amine Khaldi [Thu, 23 Aug 2012 16:21:28 +0000 (16:21 +0000)]
[TCPIP]
* Fix a read-after-free. CID 716802.

svn path=/trunk/; revision=57143

11 years ago[FREELDR]
Thomas Faber [Thu, 23 Aug 2012 12:14:48 +0000 (12:14 +0000)]
[FREELDR]
- Add missing bugcodes dependency in the object library case

svn path=/trunk/; revision=57142

11 years ago[FREELDR]
Timo Kreuzer [Thu, 23 Aug 2012 12:02:30 +0000 (12:02 +0000)]
[FREELDR]
Improve readability of sector calculation

svn path=/trunk/; revision=57141

11 years ago[CMAKE]
Jérôme Gardou [Thu, 23 Aug 2012 11:30:26 +0000 (11:30 +0000)]
[CMAKE]
- Get rid of __ROS_CMAKE__ definition

svn path=/trunk/; revision=57140

11 years ago[MESA]
Jérôme Gardou [Wed, 22 Aug 2012 20:55:42 +0000 (20:55 +0000)]
[MESA]
- Add a small "how to upgrade" guide

svn path=/trunk/; revision=57139

11 years ago[WIN32K]
Jérôme Gardou [Wed, 22 Aug 2012 20:11:41 +0000 (20:11 +0000)]
[WIN32K]
- Use DC_vPrepareDCsForBlit in DIB transfer functions, as per Timo's remarks.

svn path=/trunk/; revision=57138

11 years ago[OPENGL32_WINETEST]
Jérôme Gardou [Wed, 22 Aug 2012 18:45:25 +0000 (18:45 +0000)]
[OPENGL32_WINETEST]
- Fix crash with gallium3d ICD.
Already sent to wine

svn path=/trunk/; revision=57137

11 years ago[INCLUDE/C++]
Jérôme Gardou [Wed, 22 Aug 2012 18:42:57 +0000 (18:42 +0000)]
[INCLUDE/C++]
- Add fake iostream headers to fix MSVC compilation
- hack numerical_limits<float>::infinity() implementation until we have a real C++ library
Oddly, empty headers seem to be enough for now

svn path=/trunk/; revision=57136

11 years ago[OPENGL]
Jérôme Gardou [Wed, 22 Aug 2012 18:39:07 +0000 (18:39 +0000)]
[OPENGL]
- Remove old libmesa code base

svn path=/trunk/; revision=57135

11 years ago[HIVESFT]
Jérôme Gardou [Wed, 22 Aug 2012 18:38:02 +0000 (18:38 +0000)]
[HIVESFT]
- Use right driver version for new mesa driver

svn path=/trunk/; revision=57134

11 years ago[[MESA]
Jérôme Gardou [Wed, 22 Aug 2012 18:36:12 +0000 (18:36 +0000)]
[[MESA]
- Fix compilation for case sensitive systems

svn path=/trunk/; revision=57133

11 years ago[MESA]
Jérôme Gardou [Wed, 22 Aug 2012 18:28:22 +0000 (18:28 +0000)]
[MESA]
- Try to fix weird buildbot failure

svn path=/trunk/; revision=57132

11 years ago[C++]
Jérôme Gardou [Wed, 22 Aug 2012 18:25:58 +0000 (18:25 +0000)]
[C++]
- don't include stlport headers, we don't even use it

svn path=/trunk/; revision=57131

11 years ago[OPENGL]
Jérôme Gardou [Wed, 22 Aug 2012 17:58:09 +0000 (17:58 +0000)]
[OPENGL]
- Import newest libMesa version, featuring functional gallium3D opengl ICD.
- Test app was Baldur's Gate (ddraw app, using wined3d)
- dll/opengl directory will contain more stuff later.

svn path=/trunk/; revision=57130

11 years ago[WIN32K]
Jérôme Gardou [Wed, 22 Aug 2012 16:45:49 +0000 (16:45 +0000)]
[WIN32K]
- Use the right surface for direct DCs in DIB transfer functions
It could have changed with a display settings change

svn path=/trunk/; revision=57129

11 years ago[RTL]
Thomas Faber [Wed, 22 Aug 2012 11:35:19 +0000 (11:35 +0000)]
[RTL]
- Check the correct return status in RtlCreateUserProcess (CID 715961)

svn path=/trunk/; revision=57128

11 years ago[DEVMGR] - Actually fail on error in AllocAndLoadStringsCat (CID 716793/716794)
Thomas Faber [Wed, 22 Aug 2012 09:39:57 +0000 (09:39 +0000)]
[DEVMGR] - Actually fail on error in AllocAndLoadStringsCat (CID 716793/716794)
[IPHLPAPI] - Fix a use after free in getNthInterfaceEntity (CID 716795 - partly reverts r53190). Fix a possible double free in getArpTable (CID 716796).

svn path=/trunk/; revision=57127

11 years ago[WIN32K]
Jérôme Gardou [Wed, 22 Aug 2012 08:33:27 +0000 (08:33 +0000)]
[WIN32K]
- Fix complation when using diblib

svn path=/trunk/; revision=57126

11 years ago- Fix DestroyCaret, thanks Thomas...
James Tabor [Tue, 21 Aug 2012 23:25:42 +0000 (23:25 +0000)]
- Fix DestroyCaret, thanks Thomas...

svn path=/trunk/; revision=57125

11 years ago[WINED3D]
Jérôme Gardou [Tue, 21 Aug 2012 13:38:02 +0000 (13:38 +0000)]
[WINED3D]
- MSVC needs INFINITY and NAN from wine/port.h.
It can't be included from a header
Will be sent upstream

svn path=/trunk/; revision=57124

11 years ago[INCLUDE/C++]
Jérôme Gardou [Tue, 21 Aug 2012 09:49:58 +0000 (09:49 +0000)]
[INCLUDE/C++]
- Add a draft version of <limits> header
- Fix "no return" attribute declaration of some functions

svn path=/trunk/; revision=57123

11 years ago[INCLUDES]
Jérôme Gardou [Tue, 21 Aug 2012 09:29:11 +0000 (09:29 +0000)]
[INCLUDES]
- Move NAN and INFINITY definition from wine/math.h to wine/port.h
- Delete wine/math.h
- Fix build

svn path=/trunk/; revision=57122

11 years ago[INCLUDE/CRT]
Jérôme Gardou [Tue, 21 Aug 2012 09:15:13 +0000 (09:15 +0000)]
[INCLUDE/CRT]
- Update mingw_math.h and make use of it

svn path=/trunk/; revision=57121

11 years ago* Fix build.
Amine Khaldi [Mon, 20 Aug 2012 17:53:44 +0000 (17:53 +0000)]
* Fix build.

svn path=/trunk/; revision=57120

11 years ago[CRT]
Aleksey Bragin [Mon, 20 Aug 2012 17:20:48 +0000 (17:20 +0000)]
[CRT]
- Use wine's wctype table in CRT for iswctype() function. Previous implementation was returning incorrect information for non-Latin characters. Problem found and fixed by Sergey Shamanaev (seven_ro).
- Move wctype.c from libwine to lib/sdk/crt instead of making yet another copy of it (currently there is one more in tools/unicode). Suggested by Amine Khaldi.
See issue #5090 for more details.

svn path=/trunk/; revision=57119

11 years ago[LWIP]
Cameron Gutman [Mon, 20 Aug 2012 07:49:02 +0000 (07:49 +0000)]
[LWIP]
- Fix address reuse at the TCP layer

svn path=/trunk/; revision=57118

11 years ago[LWIP]
Cameron Gutman [Mon, 20 Aug 2012 07:29:40 +0000 (07:29 +0000)]
[LWIP]
- Route multicast packets properly with SO_REUSE set

svn path=/trunk/; revision=57117

11 years ago[TCPIP]
Cameron Gutman [Mon, 20 Aug 2012 07:26:12 +0000 (07:26 +0000)]
[TCPIP]
- Implement support for SO_REUSEADDR

svn path=/trunk/; revision=57116

11 years ago[MSAFD]
Cameron Gutman [Mon, 20 Aug 2012 05:48:52 +0000 (05:48 +0000)]
[MSAFD]
- Add support for getting and setting SO_EXCLUSIVEADDRUSE
- Add support for setting SO_REUSEADDR
[AFD]
- Implement proper TDI way of indicating a reusable address file
- More work remains in TCP/IP to support this

svn path=/trunk/; revision=57115

11 years ago[NtUser]
James Tabor [Mon, 20 Aug 2012 05:19:50 +0000 (05:19 +0000)]
[NtUser]
- Fix screensave access hangs but it was recoverable and did not crash. The new ATI points seem to kick in so disabling them for now and leaving error prints. See bug 7225, need to separate the message queue.

svn path=/trunk/; revision=57114

11 years ago[NtUser]
James Tabor [Mon, 20 Aug 2012 03:59:24 +0000 (03:59 +0000)]
[NtUser]
- Fix API SetActiveWindow test, get it back.

svn path=/trunk/; revision=57113

11 years ago- Fix build.
James Tabor [Mon, 20 Aug 2012 00:30:54 +0000 (00:30 +0000)]
- Fix build.

svn path=/trunk/; revision=57112

11 years ago[Win32SS]
James Tabor [Mon, 20 Aug 2012 00:26:08 +0000 (00:26 +0000)]
[Win32SS]
- Active, Focus and Foreground. Fixes many of the the wine tests and including the todos. Fix bug 7089.
- Get ATI support points in place, include code support for ptiSysLock which will be rewritten soon.
- Move Desktop Proc to Win32k. This will allow the access checks to work. Note: DesktopBG.c creates a Win32 thread every time a Desktop is created. Please keep the file and code intact for historical purposes.
- Get code close to wine.

References:
Focus test ROS passes: http://www.winehq.org/pipermail/wine-patches/2012-August/116887.html
Install acts and looks better: http://www.resmap.com/instructions/plug-ins/ERViewer7_0_RC.exe

svn path=/trunk/; revision=57111

11 years ago[NtUser]
James Tabor [Sun, 19 Aug 2012 23:16:39 +0000 (23:16 +0000)]
[NtUser]
- Fix last Win test_keyboard_input. No Focus use Active! Read MSDN WM_SYSKEYDOWN/UP.

svn path=/trunk/; revision=57110

11 years ago[User32]
James Tabor [Sun, 19 Aug 2012 23:07:29 +0000 (23:07 +0000)]
[User32]
- Attempt to fix Win test_mouse_input, properly set MA_ACTIVATE with right conditions when sending WM_LBUTTONDOWN.
- Get code close to wine.

svn path=/trunk/; revision=57109

11 years ago[SERVICES]
Eric Kohl [Sun, 19 Aug 2012 10:01:05 +0000 (10:01 +0000)]
[SERVICES]
Remove "size_t to DWORD/int..." conversion warnings in x64 build.
Patch by Hermes Belusca.

I replaced size_t by SIZE_T, as this is the proper Win32 type. And I also used the prefix 'cch' (count of characters) instead of the generic 'dw'.

See issue #7149 for more details.

svn path=/trunk/; revision=57108

11 years ago[WS2_32]
Cameron Gutman [Sun, 19 Aug 2012 07:32:47 +0000 (07:32 +0000)]
[WS2_32]
- Set last error inside getaddrinfo to properly mask some non-fatal errors generated by adns

svn path=/trunk/; revision=57107

11 years ago[ADNS]
Cameron Gutman [Sun, 19 Aug 2012 07:10:57 +0000 (07:10 +0000)]
[ADNS]
- Fix incorrect socket validity check that fails for unsigned types

svn path=/trunk/; revision=57106

11 years ago[Win32SS]
James Tabor [Sat, 18 Aug 2012 23:37:08 +0000 (23:37 +0000)]
[Win32SS]
- Move WM_SETREDRAW and WM_SYNCPAINT to Win32k.
- Patch by Alex Henrie: Minimize and maximize boxes can only appear when WS_SYSMENU is set.

svn path=/trunk/; revision=57105

11 years ago[NtUser]
James Tabor [Sat, 18 Aug 2012 23:01:55 +0000 (23:01 +0000)]
[NtUser]
- Patch based on Daniel Jelinski: search more aggressively for a window under a tooltip and better HTTRANSPARENT handling. When the test patch is applied, ReactOS passes the new tests.

References:
http://www.winehq.org/pipermail/wine-patches/2012-July/116429.html
http://www.winehq.org/pipermail/wine-patches/2012-August/116776.html
http://www.winehq.org/pipermail/wine-patches/2012-August/116777.html
http://www.winehq.org/pipermail/wine-devel/2012-August/096681.html

svn path=/trunk/; revision=57104

11 years ago[Win32k]
James Tabor [Sat, 18 Aug 2012 22:13:38 +0000 (22:13 +0000)]
[Win32k]
- AttachThreadInput, this should fix the crash. Original crash patch by Giannis Adamopoulos. See bug 7225.
- WARNING: This code should be turned off until the restructuring is finished. Please read bug 7225!

svn path=/trunk/; revision=57103

11 years ago[NtUser]
James Tabor [Sat, 18 Aug 2012 21:47:42 +0000 (21:47 +0000)]
[NtUser]
- Use thread information pointer instead if the message queue.

svn path=/trunk/; revision=57102

11 years ago[NtUser] - Stop spurious window handle errors and code fixes.
James Tabor [Sat, 18 Aug 2012 21:40:49 +0000 (21:40 +0000)]
[NtUser] - Stop spurious window handle errors and code fixes.

svn path=/trunk/; revision=57101

11 years ago[Win32SS]
James Tabor [Sat, 18 Aug 2012 21:35:35 +0000 (21:35 +0000)]
[Win32SS]
- Do not register classes in case of errors at startup.
- Fix desktop background.

svn path=/trunk/; revision=57100

11 years ago[NDK]
Timo Kreuzer [Sat, 18 Aug 2012 19:24:38 +0000 (19:24 +0000)]
[NDK]
Fix a typo

svn path=/trunk/; revision=57099

11 years ago[WIDL]
Eric Kohl [Sat, 18 Aug 2012 18:37:39 +0000 (18:37 +0000)]
[WIDL]
Sync WIDL to Wine 1.5.11. Part 2 of 2.

svn path=/trunk/; revision=57098

11 years ago[MSAFD]
Cameron Gutman [Sat, 18 Aug 2012 16:36:05 +0000 (16:36 +0000)]
[MSAFD]
- Fix a memory leak in the failure path of WSPGetSockName and WSPGetPeerName
- Fix a broken debug print in WSPGetPeerName

svn path=/trunk/; revision=57097

11 years ago[WIDL]
Eric Kohl [Sat, 18 Aug 2012 13:25:24 +0000 (13:25 +0000)]
[WIDL]
- Missed one old header guard.

svn path=/trunk/; revision=57096

11 years ago[WIDL]
Eric Kohl [Sat, 18 Aug 2012 13:11:56 +0000 (13:11 +0000)]
[WIDL]
- Sync WIDL to Wine 1.5.10. Part 1 of 2.
- Adjust files to use MIDL compatible header guards.
- Add support for nameless structs and unions.

svn path=/trunk/; revision=57095

11 years ago[MSAFD]
Cameron Gutman [Sat, 18 Aug 2012 09:57:27 +0000 (09:57 +0000)]
[MSAFD]
- Add more option support to WSPGetSockOpt and WSPSetSockOpt
- Return the correct error code for an unsupported option in WSPGetSockOpt
- Hack a SO_ERROR get handler together for apps that need it
- Add better unsupported protoopts debugging (particularly for getsockopt)
- SMPlayer can now stream media from the Internet :)

svn path=/trunk/; revision=57094

11 years ago[NTDLL:LDR]
Thomas Faber [Sat, 18 Aug 2012 08:19:48 +0000 (08:19 +0000)]
[NTDLL:LDR]
- Code cleanup in LdrpLoadDll

svn path=/trunk/; revision=57093

11 years ago[NTDLL:LDR]
Thomas Faber [Sat, 18 Aug 2012 07:56:45 +0000 (07:56 +0000)]
[NTDLL:LDR]
- Do not assume null termination of DllName and optimize extension search in LdrpLoadDll. Patch by Alexander Yastrebov (menone7 at gmail dot com).
See issue #7251 for more details.

svn path=/trunk/; revision=57092

11 years ago[Win32SS]
James Tabor [Sat, 18 Aug 2012 00:59:35 +0000 (00:59 +0000)]
[Win32SS]
- Fixed skip test regression in User32 Win wine test.
- Regressed one scroll control test. AbiWord scrolls and Explorer redraw issue still
the same.
- WIP: Rearranged code for standard structures prior to moving scroll code to Win32k. Proc support will remain in User32 (A2W etc) and redirected to Win32k. Drawing support will be added when this switch is made. Then ReactOS will have 100 percent wine scrolls plus our fixes in one file.

svn path=/trunk/; revision=57091

11 years ago[ADVAPI32]
Aleksey Bragin [Fri, 17 Aug 2012 12:47:29 +0000 (12:47 +0000)]
[ADVAPI32]
- Cleanup and update source code header.

svn path=/trunk/; revision=57090

11 years ago[ADVAPI32]
Aleksey Bragin [Thu, 16 Aug 2012 22:14:49 +0000 (22:14 +0000)]
[ADVAPI32]
Patch by milawynsrealm:
* Implemented the beginnings of InitiateShutdownA/W (nothing works yet, and it's not exported).
* Running InitiateSystemShutdownA/W invokes InitiateSystemShutdownExA/W while
using "Other (Planned)" as the reason code.
        - The "Other (Planned)" reason code seemed to be the best default
option so far.
        Let me know if you feel otherwise.
* Added the shutdown flags that are used for InitiateShutdownA/W inside of
winreg.h.
* Include the reason.h header inside the winreg.h header so that the reason
codes can be
properly called. This conforms to the VC2010 method of adding this support.
* Added the declarations for InitiateSystemShutdownExA/W and InitiateShutdownA/W inside of winreg.h.
* In winuser.h, change the definitions for EWX_* to conform to MSDN
documentation
        -
http://msdn.microsoft.com/en-us/library/windows/desktop/aa376868%28v=vs.85%29.aspx
* Added definition support for EWX_HYBRID_SHUTDOWN which is found in Windows 8.
* Calling InitiateSystemShutdownExA will convert strings to UNICODE and send it
over to InitiateSystemShutdownExW. The same is also for InitiateShutdownA.

See issue #7245 for more details.

svn path=/trunk/; revision=57089

11 years ago[User32]
James Tabor [Thu, 16 Aug 2012 21:59:50 +0000 (21:59 +0000)]
[User32]
- Patch by Alex Henrie : Correct dialog focus behavior. See wine bug http://bugs.winehq.org/show_bug.cgi?id=31386 and I hope someone noticed.

svn path=/trunk/; revision=57088

11 years ago[User32|WineTest] - Patch by Alex Henrie: Correct dialog focus behavior.
James Tabor [Thu, 16 Aug 2012 21:53:34 +0000 (21:53 +0000)]
[User32|WineTest] - Patch by Alex Henrie: Correct dialog focus behavior.

svn path=/trunk/; revision=57087

11 years ago[KERNEL32]
Amine Khaldi [Thu, 16 Aug 2012 15:39:40 +0000 (15:39 +0000)]
[KERNEL32]
* Fix a comment and a last error value. By Hermes Belusca.
See issue #7240 for more details.

svn path=/trunk/; revision=57086

11 years ago[user32_apitest]
Giannis Adamopoulos [Thu, 16 Aug 2012 08:43:43 +0000 (08:43 +0000)]
[user32_apitest]
- Deactivate Test_SimpleParameters in AttachThreadInput tests until it doesn't crash in win32k.
- Add some more tests in Test_SimpleParameters that should bring win32k to its limits

svn path=/trunk/; revision=57085

11 years ago[user32]
Giannis Adamopoulos [Thu, 16 Aug 2012 07:54:40 +0000 (07:54 +0000)]
[user32]
- change error messages in CallWindowProc to make it apparent that we caught an exception with SEH as requested by Caemyr

svn path=/trunk/; revision=57084

11 years ago[win32k]
Giannis Adamopoulos [Thu, 16 Aug 2012 07:32:49 +0000 (07:32 +0000)]
[win32k]
- Do not treat the release of the windows key as a hotkey if it was used as a modifier for another hotkey that was pressed
- Now if I press win+R only the Run window opens

svn path=/trunk/; revision=57083

11 years ago[NtUser] - Prevent a crash when Tcb.Win32Thread NULL.
James Tabor [Thu, 16 Aug 2012 02:11:11 +0000 (02:11 +0000)]
[NtUser] - Prevent a crash when Tcb.Win32Thread NULL.

svn path=/trunk/; revision=57082