Commit graph

51660 commits

Author SHA1 Message Date
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
Cameron Gutman 59de552e2a [ACPI]
- Increase the size of the ID buffers to fit certain non-standard IDs reported by Hyper-V on Windows 8. These should be allocated from pool, but this code really sucks and should be replaced anyway.
- Fixes buffer overflow causing a bug check during boot on Hyper-V

svn path=/trunk/; revision=57067
2012-08-13 07:00:32 +00:00
Cameron Gutman 307df8d456 [IP]
- Favor routers that have responded to our ARP queries during route selection

svn path=/trunk/; revision=57066
2012-08-13 02:54:13 +00:00
Cameron Gutman 360a87c9f9 [NTOSKRNL]
- Fix a critical bug in interrupt handling that could result in HAL returning the current processor to the wrong IRQL after an interrupt is handled that requires a raise to a synchronize IRQL.

svn path=/trunk/; revision=57065
2012-08-13 01:17:13 +00:00
Cameron Gutman 8288824381 [SCSIPORT]
- Fix a critical bug in interrupt sharing between scsiport miniports and other drivers which caused scsiport to mask the interrupts from other devices sitting behind it
- This commit and r57063 fixes bug 7231

svn path=/trunk/; revision=57064
2012-08-13 00:31:27 +00:00
Cameron Gutman ea21f990a2 [PORTCLS]
- Properly handle interrupt sharing for InterruptSyncModeAll and InterruptSyncModeRepeat

svn path=/trunk/; revision=57063
2012-08-12 23:50:51 +00:00
Eric Kohl 80e2dfaa07 [WIDL]
Update widl to Wine-1.4

svn path=/trunk/; revision=57062
2012-08-12 16:19:13 +00:00
Timo Kreuzer 73862fa7c6 [WIDL]
Fix MSVC warnings.
Could be sent to wine ;-)

svn path=/trunk/; revision=57060
2012-08-12 12:26:48 +00:00
Aleksey Bragin 1748531321 [ROSBE]
- Support spaces in the source directory path on Windows.

svn path=/trunk/; revision=57059
2012-08-12 10:33:13 +00:00
Timo Kreuzer abbb3c6a5a [VGA]
Fix possible NULL pointer dereference.
Patch by numitus (domovoi94 at gmail dot com)

svn path=/trunk/; revision=57058
2012-08-11 22:40:50 +00:00
Eric Kohl 0015122a38 [SAMLIB/SAMSRV]
- Implement SamLookupIdsInDomain and SamrLookupIdsInDomain.

svn path=/trunk/; revision=57057
2012-08-11 19:41:17 +00:00
Amine Khaldi 67f22b7b53 [SHELL32_WINETEST]
* Skip tests that rely on DDE. See bug #7233 for more details.

svn path=/trunk/; revision=57056
2012-08-11 16:24:36 +00:00