Commit graph

51696 commits

Author SHA1 Message Date
Amine Khaldi 4f7e723359 [TCPIP]
* Fix a read-after-free. CID 716802.

svn path=/trunk/; revision=57143
2012-08-23 16:21:28 +00:00
Thomas Faber eb61421992 [FREELDR]
- Add missing bugcodes dependency in the object library case

svn path=/trunk/; revision=57142
2012-08-23 12:14:48 +00:00
Timo Kreuzer 1a0a97d909 [FREELDR]
Improve readability of sector calculation

svn path=/trunk/; revision=57141
2012-08-23 12:02:30 +00:00
Jérôme Gardou 10852819e3 [CMAKE]
- Get rid of __ROS_CMAKE__ definition

svn path=/trunk/; revision=57140
2012-08-23 11:30:26 +00:00
Jérôme Gardou 254b5617e2 [MESA]
- Add a small "how to upgrade" guide

svn path=/trunk/; revision=57139
2012-08-22 20:55:42 +00:00
Jérôme Gardou ae2e8ad562 [WIN32K]
- Use DC_vPrepareDCsForBlit in DIB transfer functions, as per Timo's remarks.

svn path=/trunk/; revision=57138
2012-08-22 20:11:41 +00:00
Jérôme Gardou 79c2bd51a0 [OPENGL32_WINETEST]
- Fix crash with gallium3d ICD.
Already sent to wine

svn path=/trunk/; revision=57137
2012-08-22 18:45:25 +00:00
Jérôme Gardou 590268d3d8 [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
2012-08-22 18:42:57 +00:00
Jérôme Gardou c4375a16a5 [OPENGL]
- Remove old libmesa code base

svn path=/trunk/; revision=57135
2012-08-22 18:39:07 +00:00
Jérôme Gardou 1d5cb999d8 [HIVESFT]
- Use right driver version for new mesa driver

svn path=/trunk/; revision=57134
2012-08-22 18:38:02 +00:00
Jérôme Gardou d8ac969536 [[MESA]
- Fix compilation for case sensitive systems

svn path=/trunk/; revision=57133
2012-08-22 18:36:12 +00:00
Jérôme Gardou dc450af0bf [MESA]
- Try to fix weird buildbot failure

svn path=/trunk/; revision=57132
2012-08-22 18:28:22 +00:00
Jérôme Gardou f593d6a4ad [C++]
- don't include stlport headers, we don't even use it

svn path=/trunk/; revision=57131
2012-08-22 18:25:58 +00:00
Jérôme Gardou 25c54a61a4 [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
2012-08-22 17:58:09 +00:00
Jérôme Gardou c0a0dfce29 [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
2012-08-22 16:45:49 +00:00
Thomas Faber 7237d37b88 [RTL]
- Check the correct return status in RtlCreateUserProcess (CID 715961)

svn path=/trunk/; revision=57128
2012-08-22 11:35:19 +00:00
Thomas Faber b2fa124766 [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
2012-08-22 09:39:57 +00:00
Jérôme Gardou a4a967f486 [WIN32K]
- Fix complation when using diblib

svn path=/trunk/; revision=57126
2012-08-22 08:33:27 +00:00
James Tabor 0ea37bc5de - Fix DestroyCaret, thanks Thomas...
svn path=/trunk/; revision=57125
2012-08-21 23:25:42 +00:00
Jérôme Gardou de317c1814 [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
2012-08-21 13:38:02 +00:00
Jérôme Gardou eb053e921b [INCLUDE/C++]
- Add a draft version of <limits> header
- Fix "no return" attribute declaration of some functions

svn path=/trunk/; revision=57123
2012-08-21 09:49:58 +00:00
Jérôme Gardou 3023aa795c [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
2012-08-21 09:29:11 +00:00
Jérôme Gardou ac27322cee [INCLUDE/CRT]
- Update mingw_math.h and make use of it

svn path=/trunk/; revision=57121
2012-08-21 09:15:13 +00:00
Amine Khaldi e959e52ab1 * Fix build.
svn path=/trunk/; revision=57120
2012-08-20 17:53:44 +00:00
Aleksey Bragin acfa6d7f15 [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
2012-08-20 17:20:48 +00:00
Cameron Gutman 91a95100ef [LWIP]
- Fix address reuse at the TCP layer

svn path=/trunk/; revision=57118
2012-08-20 07:49:02 +00:00
Cameron Gutman 98d1378f1e [LWIP]
- Route multicast packets properly with SO_REUSE set

svn path=/trunk/; revision=57117
2012-08-20 07:29:40 +00:00
Cameron Gutman 4d9b81048b [TCPIP]
- Implement support for SO_REUSEADDR

svn path=/trunk/; revision=57116
2012-08-20 07:26:12 +00:00
Cameron Gutman e1499f3b9e [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
2012-08-20 05:48:52 +00:00
James Tabor 9e363e0bca [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
2012-08-20 05:19:50 +00:00
James Tabor fe0ec3d865 [NtUser]
- Fix API SetActiveWindow test, get it back.

svn path=/trunk/; revision=57113
2012-08-20 03:59:24 +00:00
James Tabor 06b23a2294 - Fix build.
svn path=/trunk/; revision=57112
2012-08-20 00:30:54 +00:00
James Tabor 12dc854709 [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
2012-08-20 00:26:08 +00:00
James Tabor 0be33b81df [NtUser]
- Fix last Win test_keyboard_input. No Focus use Active! Read MSDN WM_SYSKEYDOWN/UP.

svn path=/trunk/; revision=57110
2012-08-19 23:16:39 +00:00
James Tabor 1ea0ebc894 [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
2012-08-19 23:07:29 +00:00
Eric Kohl 50f30b7887 [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
2012-08-19 10:01:05 +00:00
Cameron Gutman 0813b21bc8 [WS2_32]
- Set last error inside getaddrinfo to properly mask some non-fatal errors generated by adns

svn path=/trunk/; revision=57107
2012-08-19 07:32:47 +00:00
Cameron Gutman ebb8b4350e [ADNS]
- Fix incorrect socket validity check that fails for unsigned types

svn path=/trunk/; revision=57106
2012-08-19 07:10:57 +00:00
James Tabor 89341a215c [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
2012-08-18 23:37:08 +00:00
James Tabor eb4e6cb7ca [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
2012-08-18 23:01:55 +00:00
James Tabor f9da00bc86 [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
2012-08-18 22:13:38 +00:00
James Tabor 5d164caee1 [NtUser]
- Use thread information pointer instead if the message queue.

svn path=/trunk/; revision=57102
2012-08-18 21:47:42 +00:00
James Tabor d2eab1cda4 [NtUser] - Stop spurious window handle errors and code fixes.
svn path=/trunk/; revision=57101
2012-08-18 21:40:49 +00:00
James Tabor 81198c59dd [Win32SS]
- Do not register classes in case of errors at startup.
- Fix desktop background.

svn path=/trunk/; revision=57100
2012-08-18 21:35:35 +00:00
Timo Kreuzer 6538f67e55 [NDK]
Fix a typo

svn path=/trunk/; revision=57099
2012-08-18 19:24:38 +00:00
Eric Kohl d01bc7cc93 [WIDL]
Sync WIDL to Wine 1.5.11. Part 2 of 2.

svn path=/trunk/; revision=57098
2012-08-18 18:37:39 +00:00
Cameron Gutman fbe20f8f92 [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
2012-08-18 16:36:05 +00:00
Eric Kohl a50950d708 [WIDL]
- Missed one old header guard.

svn path=/trunk/; revision=57096
2012-08-18 13:25:24 +00:00
Eric Kohl 7f242b94c7 [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
2012-08-18 13:11:56 +00:00
Cameron Gutman f2112ca452 [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
2012-08-18 09:57:27 +00:00