reactos.git
11 years ago[MESA]
Jérôme Gardou [Thu, 30 Aug 2012 00:57:44 +0000 (00:57 +0000)]
[MESA]
- fix build

svn path=/trunk/; revision=57204

11 years ago[LIBMESA]
Jérôme Gardou [Thu, 30 Aug 2012 00:51:00 +0000 (00:51 +0000)]
[LIBMESA]
- Use x86 ASM optimizations on GCC
- Don't compile useless stuff

svn path=/trunk/; revision=57203

11 years ago[ROSAPPS]
Sylvain Petreolle [Wed, 29 Aug 2012 21:07:55 +0000 (21:07 +0000)]
[ROSAPPS]
Add the imagesoft CMakeLists.txt (forgotten in previous commit.)

svn path=/trunk/; revision=57202

11 years ago[ROSAPPS]
Sylvain Petreolle [Wed, 29 Aug 2012 20:44:54 +0000 (20:44 +0000)]
[ROSAPPS]
Move imagesoft to applications and add it to build.
Convert lang files to UTF-8.
Fix casts and x64 warnings.
Patch by Hermes Belusca.
See bug 7185 for details.

svn path=/trunk/; revision=57201

11 years ago[ROSAPPS]
Sylvain Petreolle [Wed, 29 Aug 2012 18:06:24 +0000 (18:06 +0000)]
[ROSAPPS]
Add vgafontedit to build.
Convert the language resource files into UTF-8.
Fix x64 warnings.
Patch by Hermes Belusca.
Bug 7152.

svn path=/trunk/; revision=57200

11 years ago[WS2_32]
Cameron Gutman [Wed, 29 Aug 2012 14:23:40 +0000 (14:23 +0000)]
[WS2_32]
- Fix a memory overwrite bug in some crappy WINE code that leads to nasty memory corruption of the service cache entry. This corrupts the first field of the cache, causing it to always reallocate memory because it thinks the size is 0. This would be even worse if the code didn't overwrite the other 12 bytes of corruption with proper data on the next lines. This also caused the aliases value to be garbage because it pointed at uninitialized data.

svn path=/trunk/; revision=57199

11 years agoSilence compiler warning
Mike Nordell [Wed, 29 Aug 2012 12:28:35 +0000 (12:28 +0000)]
Silence compiler warning

svn path=/trunk/; revision=57198

11 years agoSilence compiler warning
Mike Nordell [Wed, 29 Aug 2012 12:26:33 +0000 (12:26 +0000)]
Silence compiler warning

svn path=/trunk/; revision=57197

11 years ago[WIDL]
Jérôme Gardou [Wed, 29 Aug 2012 12:25:55 +0000 (12:25 +0000)]
[WIDL]
- Fix build with MSVC
- Fix  bug on rgs file creation. Will be sent to wine

svn path=/trunk/; revision=57196

11 years ago[DDRAW]
Amine Khaldi [Tue, 28 Aug 2012 23:17:31 +0000 (23:17 +0000)]
[DDRAW]
* We already have the correct rgs data in place. Fix build.

svn path=/trunk/; revision=57195

11 years ago[USER32]
Timo Kreuzer [Tue, 28 Aug 2012 20:24:55 +0000 (20:24 +0000)]
[USER32]
Use LONG instead of DWORD for a signed value

svn path=/trunk/; revision=57194

11 years ago[I_KNEW_IT_WOULD_HAPPEN]
Jérôme Gardou [Tue, 28 Aug 2012 19:16:02 +0000 (19:16 +0000)]
[I_KNEW_IT_WOULD_HAPPEN]
- Fix build

svn path=/trunk/; revision=57193

11 years ago[DIRECTX]
Jérôme Gardou [Tue, 28 Aug 2012 19:08:01 +0000 (19:08 +0000)]
[DIRECTX]
- sync ddraw, d3d8, d3d9 and wined3d with wine 1.5.11

svn path=/trunk/; revision=57192

11 years ago[CMAKE/WIDL]
Jérôme Gardou [Tue, 28 Aug 2012 19:02:29 +0000 (19:02 +0000)]
[CMAKE/WIDL]
- Add support for the wine COM interface registering

svn path=/trunk/; revision=57191

11 years ago[WINGDI.H]
Jérôme Gardou [Tue, 28 Aug 2012 09:27:07 +0000 (09:27 +0000)]
[WINGDI.H]
- Add missing DMDO_* definitions

svn path=/trunk/; revision=57190

11 years ago[LWIP]
Cameron Gutman [Tue, 28 Aug 2012 00:36:47 +0000 (00:36 +0000)]
[LWIP]
- Increase window size to 65535 so large sends work properly because send buffering still sucks

svn path=/trunk/; revision=57189

11 years ago[AFD]
Cameron Gutman [Tue, 28 Aug 2012 00:26:26 +0000 (00:26 +0000)]
[AFD]
- Fix handling pending writes in the TDI_SEND completion routine

svn path=/trunk/; revision=57188

11 years ago[AFD]
Cameron Gutman [Tue, 28 Aug 2012 00:14:08 +0000 (00:14 +0000)]
[AFD]
- Rewrite a large portion of the send code to have proper support for overlapped and non-blocking sockets

svn path=/trunk/; revision=57187

11 years ago[TCPIP]
Cameron Gutman [Mon, 27 Aug 2012 23:58:40 +0000 (23:58 +0000)]
[TCPIP]
- Implement proper support for partial sends on TCP sockets
- This prevents a deadlock when a very very large packet is queued to be sent

svn path=/trunk/; revision=57186

11 years ago[AFD]
Cameron Gutman [Mon, 27 Aug 2012 22:18:29 +0000 (22:18 +0000)]
[AFD]
- Fix enabling of some event select triggers

svn path=/trunk/; revision=57185

11 years ago[AFD]
Cameron Gutman [Mon, 27 Aug 2012 21:53:09 +0000 (21:53 +0000)]
[AFD]
- Mask out disabled events properly

svn path=/trunk/; revision=57184

11 years ago[MSVCRTEX]
Jérôme Gardou [Mon, 27 Aug 2012 21:34:42 +0000 (21:34 +0000)]
[MSVCRTEX]
- Better fix for DLLs not providing a DllMain function, as per Timo's remarks.

svn path=/trunk/; revision=57183

11 years ago[HAL]
Amine Khaldi [Mon, 27 Aug 2012 21:24:22 +0000 (21:24 +0000)]
[HAL]
* Don't compile lib_hal_pic for x64. Brought to you by Hermès Bélusca.
See issue #7309 for more details.

svn path=/trunk/; revision=57182

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