Commit graph

44482 commits

Author SHA1 Message Date
Aleksey Bragin ebef3b756c [NTOS]
- Temporary bring back the old boot image until I or sir_richard commit a proper fix.

svn path=/trunk/; revision=50259
2011-01-02 09:30:24 +00:00
Johannes Anderwald cbc098ed88 [NETCFGX]
- Fix case where there is only one static dns server set

svn path=/trunk/; revision=50258
2011-01-01 21:34:17 +00:00
Johannes Anderwald 3f0d2fffb3 [IPHLPAPI]
- Rewrite name server enumeration routines
- Check if static dns entries are present before checking for dynamic dns entries
- Fixes static dns entries
[NETCFGX]
- GetPerAdapterInfo requires IP_PER_ADAPTER_INFO struct
- Fix reading static dns entries
- Delete static name server key, when changing dns servers to automatic (dhcp)
- Don't delete DhcpNameServer key yet, as more interaction is needed with dhcp service when changing from static dns to dynamic dhcp
- Should finally fix static dns when dhcp is active

svn path=/trunk/; revision=50257
2011-01-01 21:13:07 +00:00
Sir Richard 3062a63e47 [VIDEOPRT/WIN32K]: Synchronize and share PEVENT/ENG_EVENT/VIDEO_PORT_EVENT implementation, as these objects are actually the same (and VideoPrt Event* APIs can be used on GRE Event Objects). Use ENG_EVENT structure from ntddvdeo.h instead of re-creating our own. Drivers using these interfaces will no longer explode.
[VIDEOPRT]: Add parameter checks to DeleteEvent and WaitForSingleObject.
[VIDEOPRT]: Fix WaitForSingleObject. It was waiting on the Object paramter itself -- which is the VideoPrt/ENG Event, not a real object, we have to wait on ->pKEvent instead.
[VIDEOPRT]: Fix WaitForSingleObject round two, it was returning the NT_STATUS, while VideoPrt should return VP_STATUS/Win32 error codes.
[WIN32K]: Allocate/free GRE events directly from pool, instead of using Eng APIs. Use documented tag for GRE Events (Dfsm), found in pooltag.txt
[WIN32K]: Implement EngMapEvent and EngUnmapEvent.


svn path=/trunk/; revision=50256
2011-01-01 18:15:25 +00:00
Colin Finck 05721dae3e Proper fix for r50248 ;-)
Happy New Year from my side as well!

svn path=/trunk/; revision=50254
2011-01-01 15:54:31 +00:00
Timo Kreuzer d50bc6057e [CRT]
Fix bugs in new printf implementation: use buffer size in _snprintf and check for the right failure return value of streamout_char.

svn path=/trunk/; revision=50251
2011-01-01 13:50:07 +00:00
Eric Kohl 90ac7fad2f [NPFS]
- Add NpfsDirectoryControl routine in order to enumerate pipes.
- Use NpfsGetFcb and NpfsGetCcb to retrieve the FCB or CCB and use SEH to protect these routines.

svn path=/trunk/; revision=50250
2011-01-01 12:40:24 +00:00
Michael Martin 7996ddf5cc [usb/usbehci]:
- Remove all hardware related routines from fdo.c as they are now in hardware.c
- Replace ExecuteControlRequest with new SubmitControlTransfer.
- For internal control requests (originating from ehci driver) use an event to signal request completion.
- When submitting non internal control request save the Irp in the software part of the QueueHead.
For these requests check for errors and complete the Irp with the appropriate URB Status when the QueueHead is complete.
- Misc code cleanup and dead code removal.
- UsbEhci now works as before and should be ready for some forward progress.

svn path=/trunk/; revision=50249
2011-01-01 12:20:19 +00:00
Aleksey Bragin 46fe11727a Happy New Year!
Dear ReactOS team, you're the best.

svn path=/trunk/; revision=50248
2010-12-31 23:06:19 +00:00
James Tabor 1f1bdb7dd4 [User32]
- Start creeping in more Left to Right support, readying up for the next wine User32 controls port and test sync. Code is based on wine, credit them for any breakages. 8^P Our positions are off by 103 x 122 in some test cases, anyone having an idea please chime in.

svn path=/trunk/; revision=50247
2010-12-31 21:10:29 +00:00
Roel Messiant f9a750c9c0 [UMPNPMGR]
- Start using XP- and Vista-compatible pipe names for the RPC endpoint. Kick out the ROS-specific \pipe\umpnpmgr one.
- Use only the Vista pipe name for now, using the XP one makes device installation fail..
- Use the correct PNP interface UUID
[SETUPAPI]
- Bind to the PNP service using the Vista-compatible pipe.
 

svn path=/trunk/; revision=50242
2010-12-31 16:27:01 +00:00
Michael Martin 0d6bdbec51 [usb/usbehci]:
- Remove all hardware related structs from usbehci.h as they are now in hardware.h.
- Add debugging routines for usb descriptors, queue heads and transfer descriptors.
- This will break building usbehci, but not a problem as it is not included in the default build. Will be fixed with later commit.

svn path=/trunk/; revision=50231
2010-12-31 12:26:12 +00:00
Michael Martin 61f99c89a6 [usb/usbehci]:
- Implement creating and deleting Queue Heads and Transfer Descriptors from common buffer.
- Implement linking/unlinking QueueHeads to create a linked list for Asynchronous Schedule traversal.
- Implement BuildSetupPacketFromURB for creating a setup packet from a URB. 
- Implement SubmitControlTransfer.

svn path=/trunk/; revision=50230
2010-12-31 12:01:21 +00:00
James Tabor cb0b5d3b3a [Win32k|User32]
- Add hack to mark desktop window as a desktop window and notes for creating a desktop with tips in win32k. Move user position code from window to winpos.

svn path=/trunk/; revision=50229
2010-12-31 04:43:35 +00:00
Sylvain Petreolle 37fdeb8a46 [CMAKE]
Add all winetests to bootcd, thanks to unix find :)

svn path=/trunk/; revision=50228
2010-12-30 22:17:33 +00:00
Sylvain Petreolle ab2048a22f [CMAKE]
Add rosautotest and kernel32_winetest to bootcdregtest.
cmake bootcdregtest lives.

svn path=/trunk/; revision=50227
2010-12-30 21:49:36 +00:00
Amine Khaldi e26b7f9a66 [CMAKE]
- Wine lib isn't needed for rosautotest.

svn path=/trunk/; revision=50226
2010-12-30 17:58:18 +00:00
Amine Khaldi 078e5c0a31 [CMAKE]
- Update oleaut32 winetest.
- Add rosautotest to build.

svn path=/trunk/; revision=50225
2010-12-30 17:55:25 +00:00
Michael Martin 4eef1c1925 [usb/usbehci]:
- Reorganization code to put hardware related structures and routines in own source files. 
- Modify ResetPort to correctly reset the port instead of the controller.
- Implement allocating chunks of memory from the Common Buffer for use with the rest of source code.


svn path=/trunk/; revision=50223
2010-12-30 15:12:46 +00:00
James Tabor c1d677d16a - Fix copy paste error, which means this code is not used, should have pop up during testing.
svn path=/trunk/; revision=50222
2010-12-30 05:56:50 +00:00
James Tabor f888c0c7b1 [Win32k|User32]
- Fix most of the user32 wine win test_mdi tests. Leaving 6 failures dealing with rect size. Start A2U and U2A support.

svn path=/trunk/; revision=50221
2010-12-30 05:52:06 +00:00
James Tabor 88e4ef1d91 [Win32k]
- NtUserSetWindowFNID, sets user client side window function Ids, expands to ghost.

svn path=/trunk/; revision=50220
2010-12-30 03:03:45 +00:00
James Tabor a7d5cdfa3b [User32]
- Controls: Set fnids for the user client controls.

svn path=/trunk/; revision=50219
2010-12-30 02:32:50 +00:00
James Tabor c2a558dbb7 [Win32k|User32]
- Fix mdi class window function Id, now msi message tests do not assert.


svn path=/trunk/; revision=50218
2010-12-30 00:59:10 +00:00
Sylvain Petreolle a1d29e9435 [CMAKE]
Fix rpcrt4_winetest build.

svn path=/trunk/; revision=50214
2010-12-29 16:12:56 +00:00
Aleksey Bragin 0834418ad7 [NTOS]
- Greatly simplify and fix the incorrect and overcomplicated if condition in IoIsOperationSynchronous(), based on MSDN description. Bug spotted, fix tested by Pierre.

svn path=/trunk/; revision=50210
2010-12-29 11:12:17 +00:00
James Tabor 6c87e66f80 [User32]
- Fix most of the user32 wine win test_mdi tests. Leaving 30 failures dealing with rect size, Class and Title names.

svn path=/trunk/; revision=50208
2010-12-29 08:17:54 +00:00
James Tabor b2a4a3214a - Update note after 50205.
svn path=/trunk/; revision=50206
2010-12-29 04:52:06 +00:00
James Tabor 0f8e42980e [Win32k]
- Fix all the user32 wine win test_enum_thread_windows tests.

svn path=/trunk/; revision=50205
2010-12-29 04:43:51 +00:00
Pierre Schweitzer 41c9b7cdd4 [NTOSKRNL]
Fix typo ~

svn path=/trunk/; revision=50204
2010-12-28 21:40:23 +00:00
Pierre Schweitzer eec37f83b1 [NTOSKRNL]
Hoovering part 2...

svn path=/trunk/; revision=50203
2010-12-28 21:34:54 +00:00
Pierre Schweitzer 3ca46a9903 [NTOSKRNL]
Plumber work part 1. To prevent leaks

svn path=/trunk/; revision=50202
2010-12-28 21:12:51 +00:00
Pierre Schweitzer f5bc202da7 [NTOSKRNL]
Hoover a bit in CC part 1. Should make MM happier.
But MS fastfat driver not yet

svn path=/trunk/; revision=50201
2010-12-28 20:59:24 +00:00
Timo Kreuzer a34ed64ca4 [DRIVERS]
Add missing breaks. Patch by Samuel Serapion.

svn path=/trunk/; revision=50197
2010-12-28 18:20:28 +00:00
Pierre Schweitzer 13e99eb885 [NTOSKRNL]
Apply consistent formatting to CcMapData

svn path=/trunk/; revision=50190
2010-12-28 14:49:53 +00:00
James Tabor 527d9e4e17 [Win32k]
- Fix all the user32 wine win test_CreateWindow tests.

svn path=/trunk/; revision=50185
2010-12-28 10:38:38 +00:00
James Tabor e6a4fb691d [User32]
- Fix all the user32 wine win test_parent_owner tests.

svn path=/trunk/; revision=50183
2010-12-28 10:03:07 +00:00
James Tabor 2bf00ca962 [Win32k|User32]
- Fix all the user32 wine win test_SetParent tests.


svn path=/trunk/; revision=50181
2010-12-28 07:22:42 +00:00
Aleksey Bragin 18910c84c6 [FASTFAT_NEW]
- Don't use same name for a local boolean var and global enum. Spotted by Pierre.

svn path=/trunk/; revision=50175
2010-12-27 22:02:11 +00:00
Pierre Schweitzer 9670bc63c4 [FASTFAT]
Remove unused vars ~

svn path=/trunk/; revision=50173
2010-12-27 21:38:40 +00:00
Aleksey Bragin 52891961b6 [FASTFAT_NEW]
- Some fixes to the previous commit.

svn path=/trunk/; revision=50168
2010-12-27 18:14:24 +00:00
Pierre Schweitzer 18204992ea [FASTFAT]
MagicValue--;
ThanksTo(James, Amine);
/* EOF */

svn path=/trunk/; revision=50167
2010-12-27 18:11:35 +00:00
Timo Kreuzer f59d1d7987 [PSEH]
Allow configuration of native SEH vs PSEH vs dummy PSEH with macro definitions (USE_NATIVE_SEH, USE_DUMMY_PSEH)

svn path=/trunk/; revision=50166
2010-12-27 17:55:53 +00:00
Amine Khaldi ce5c1f3bcb [CRT]
- Add missing _A_VOLID definition.

svn path=/trunk/; revision=50165
2010-12-27 17:51:08 +00:00
Aleksey Bragin 0858e66dd1 [FASTFAT_NEW]
- Substantially improve FatiCreate routine, to handle previously unhandled cases, fix wrong code structure in some places, add a stub for further implementation of a new file creation branch.
- Hackskip setting delay-on-close for a file for now (with a debug print reminder!)

svn path=/trunk/; revision=50164
2010-12-27 16:49:21 +00:00
Jérôme Gardou c7c2a79d5b [GDI32]
- Consistent formatting, no code change.

svn path=/trunk/; revision=50163
2010-12-27 16:23:59 +00:00
Aleksey Bragin f7ab02f22e [PSDK]
- Add missing definitions.

svn path=/trunk/; revision=50161
2010-12-27 15:32:47 +00:00
Christoph von Wittich fdea91b64c [CRT]
import strtoi64 from wine 1.3.10

svn path=/trunk/; revision=50159
2010-12-27 12:45:03 +00:00
Roel Messiant cd7f6a4a36 [SCSIPORT]
- ScsiPortDeviceControl: Slight improvement to buffer length validation. Return failure status on a handful of failure cases. Prevents buffer overruns in user code.

svn path=/trunk/; revision=50158
2010-12-27 10:15:36 +00:00
Christoph von Wittich 17d7d4c15e [FUSION]
use crt="msvcrt" instead of <library>msvcrt</library>

svn path=/trunk/; revision=50157
2010-12-27 09:54:01 +00:00