Commit graph

51671 commits

Author SHA1 Message Date
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
Thomas Faber 8b45c713bf [NTDLL:LDR]
- Code cleanup in LdrpLoadDll

svn path=/trunk/; revision=57093
2012-08-18 08:19:48 +00:00
Thomas Faber e812fee585 [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
2012-08-18 07:56:45 +00:00
James Tabor 3f6031fbbf [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
2012-08-18 00:59:35 +00:00
Aleksey Bragin 4107cfe3f6 [ADVAPI32]
- Cleanup and update source code header.

svn path=/trunk/; revision=57090
2012-08-17 12:47:29 +00:00
Aleksey Bragin 97ce06cdeb [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
2012-08-16 22:14:49 +00:00
James Tabor a4768e7acd [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
2012-08-16 21:59:50 +00:00
James Tabor 026d9bc5a9 [User32|WineTest] - Patch by Alex Henrie: Correct dialog focus behavior.
svn path=/trunk/; revision=57087
2012-08-16 21:53:34 +00:00
Amine Khaldi c5248931b1 [KERNEL32]
* Fix a comment and a last error value. By Hermes Belusca.
See issue #7240 for more details.

svn path=/trunk/; revision=57086
2012-08-16 15:39:40 +00:00
Giannis Adamopoulos cb4991aa3a [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
2012-08-16 08:43:43 +00:00
Giannis Adamopoulos f648a1683f [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
2012-08-16 07:54:40 +00:00
Giannis Adamopoulos 1158d2cfed [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
2012-08-16 07:32:49 +00:00
James Tabor bf76d98310 [NtUser] - Prevent a crash when Tcb.Win32Thread NULL.
svn path=/trunk/; revision=57082
2012-08-16 02:11:11 +00:00
James Tabor 92544fb525 [NtUser] - Use window object instead of handle.
svn path=/trunk/; revision=57081
2012-08-15 23:31:30 +00:00
Aleksey Bragin 0aebbd328d [NTOS]
- Hermes Belusca: Give pnp driver object a name.
See issue #7241 for more details.

svn path=/trunk/; revision=57080
2012-08-15 22:29:11 +00:00
Giannis Adamopoulos f31f0a8e5d [user32_apitest]
- Hack around the fact that desktop handling in ros is awful. Now the child threads use the proper desktop.
- Convert all calls to SendMessage to SendMessageTimeout to make sure it won't hang (it doesn't hang in windows but who knows what can happen in ros)
- Add a few more tests

svn path=/trunk/; revision=57079
2012-08-15 19:37:29 +00:00
Colin Finck b5e81e6c46 [ROSAUTOTEST]
Use FILE_FLAG_NO_BUFFERING and FILE_FLAG_WRITE_THROUGH in the hope that they prevent journal changes from getting lost.

svn path=/trunk/; revision=57077
2012-08-14 20:33:54 +00:00
Colin Finck 647486074a [ROSAUTOTEST]
Use "advanced C++ features" like default parameters to reduce the complexity of StringOut calls and fix a warning in the MSVC build :-)

svn path=/trunk/; revision=57076
2012-08-14 20:25:58 +00:00
Amine Khaldi f2f3bf80cc [README.WINE]
* Remove some unused modules.
* Update some modules that didn't change between syncs.

svn path=/trunk/; revision=57075
2012-08-13 23:52:28 +00:00
Giannis Adamopoulos 933cb2d66d [user32_apitest]
- Add support for logging messages in different threads
- Add several tests for AttachThreadInput

svn path=/trunk/; revision=57074
2012-08-13 18:04:04 +00:00
Amine Khaldi 8d682ab52c [MOUNTMGR]
* Add a missing break.

svn path=/trunk/; revision=57073
2012-08-13 17:45:08 +00:00
Amine Khaldi 9f4cee2ca1 [UNIATA] [ATACTL]
* Sync to 0.43a1.
See issue #7237 for more details.

svn path=/trunk/; revision=57072
2012-08-13 16:25:08 +00:00
Amine Khaldi f3e0eb8fe0 [MSI_WINETEST]
* Sync to Wine 1.5.10.

svn path=/trunk/; revision=57071
2012-08-13 16:18:14 +00:00
Amine Khaldi 8939969e21 [MSI]
* Sync to Wine 1.5.10

svn path=/trunk/; revision=57070
2012-08-13 16:17:18 +00:00
Amine Khaldi d73b1daf7f [ADVAPI32]
* Implement and export RegDeleteKeyEx{A,W} (Thanks Alex).

svn path=/trunk/; revision=57069
2012-08-13 16:15:13 +00:00
James Tabor 02f891a26d [NtUser]
- Fix bug 6751, 7228 and others, Validate link windows, not relink them per say.
- Stop spurious window handle errors. This fixes all of the DeferWinPos handle errors.

svn path=/trunk/; revision=57068
2012-08-13 07:16:01 +00:00