Commit graph

44419 commits

Author SHA1 Message Date
Jérôme Gardou 38bbc45b31 [APITESTS:GDI32]
Add missing \n

svn path=/trunk/; revision=50306
2011-01-06 19:03:09 +00:00
Michael Martin 686accee7c [usb/usbehci]:
- EhciDefferedRoutine: Only free Mdl if one was created when the request was added to the queue.
- Dont assume that three transfer descriptors need to be freed, use a while moving to each linked and free instead.
- Yabba Dabba Doo added to increase size of message. :)


svn path=/trunk/; revision=50304
2011-01-06 18:45:18 +00:00
Michael Martin e11ab1740c [usb/usbehci]:
- Implement URB_FUNCTION_SELECT_INTERFACE.
- Add missing IoMarkIrpPending before calling SubmitControlRequest.
- Now use BuildSetupPacketFromURB for creating the CtrlSetup data structure.
- When selecting configuration, make the ConfigurationHandle from the related UsbDevice instead of always the RootHub device.
- Fix typo that caused all pipes to be marked as interrupt type.
- Change CompletePendingURBRequest to only complete one SCE request Irp.

svn path=/trunk/; revision=50303
2011-01-06 18:29:52 +00:00
Michael Martin 748ea2de6c [usb/usbehci]:
- Fix bug in InitializeUsbDevice that caused endpoints to be duplicated in internal config structure.
- Fix implementation of UsbRemoveDevice.
- Implement SetDeviceHandleData and RestoreUsbDevice.
- SubmitControlTransfer: Not all control request need data, in which case dont create a MDL and a PID_CODE_IN_TOKEN TD Descriptor.
- Fix bug in ReleaseMemory that caused memory not to be marked as free.
- Fix incorrect memory header size that resulted in memory corruption.

svn path=/trunk/; revision=50302
2011-01-06 17:46:59 +00:00
Daniel Reimer 6d1907d27b Update rapps database
svn path=/trunk/; revision=50297
2011-01-06 12:44:01 +00:00
Timo Kreuzer 506c53833e [WIN32K]
Fix a bug in FLOATOBJ_DivLong

svn path=/trunk/; revision=50296
2011-01-06 00:19:40 +00:00
Timo Kreuzer 2f04a69915 [CRT]
Fix build

svn path=/trunk/; revision=50291
2011-01-04 22:29:43 +00:00
Timo Kreuzer 79ec14277f [CRT]
- Rewrite broken _flsbuf and implement _flswbuf
- use _flswbuf in wstreamout
- Fixes broken text output in dwnl etc

svn path=/trunk/; revision=50290
2011-01-04 22:22:13 +00:00
Sylvain Petreolle 6ea6bad914 TRANSLATION: Fix browseui bulgarian resource filename.
svn path=/trunk/; revision=50289
2011-01-04 22:19:45 +00:00
Timo Kreuzer 768bb41032 [WIN32K]
- Fix type of DCLEVEL::prgnClip / prgnMeta (PVOID -> PREGION)
- Move NtGdiGetRandomRgn to dcobjs.c

svn path=/trunk/; revision=50288
2011-01-04 18:18:28 +00:00
Johannes Anderwald 00b94dd55a [CRT]
- Fix build

svn path=/trunk/; revision=50287
2011-01-04 17:52:34 +00:00
Johannes Anderwald 2a21adaff0 [CRT]
- Set errno when a overflow occurs in strtoull
- Fixes 2 wine tests failures in msvcrt:string

svn path=/trunk/; revision=50286
2011-01-04 17:29:10 +00:00
Johannes Anderwald 14baaa8cb2 [MSVCRT_WINETEST]
- Revert 50283

svn path=/trunk/; revision=50285
2011-01-04 17:27:57 +00:00
Roel Messiant 7b455367ff [KERNEL32]
- ReadDirectoryChangesW: Treat the OVERLAPPED structure as an IO_STATUS_BLOCK, not one of its fields.

svn path=/trunk/; revision=50284
2011-01-04 17:26:25 +00:00
Timo Kreuzer ca2b0ca3a7 [WIN32K]
- Simplify error checks, by reordering code in NtGdiScaleViewportExtEx
- Simplify exception handling, use _SEH2_YIELD
- Change function order
- Minor code improvements

svn path=/trunk/; revision=50283
2011-01-04 16:53:23 +00:00
Johannes Anderwald 131fb32a3c [MSVCRT_WINETEST]
- Comment out test which fails in WinXP SP3

svn path=/trunk/; revision=50282
2011-01-04 16:45:03 +00:00
Timo Kreuzer 53d46bda12 [WIN32K]
- Access the DC member directly instead of using IntGdiGetDCOrg
- Remove unused IntGdiGetDCOrg, GdiSetDCOrg, GdiGetDCOrgEx

svn path=/trunk/; revision=50281
2011-01-04 15:52:59 +00:00
Timo Kreuzer c855b45934 [WIN32K]
Implement NtGdiGetBoundsRect and NtGdiSetBoundsRect. Patch by Samuel Serapion with modifications by me.

svn path=/trunk/; revision=50280
2011-01-04 12:36:19 +00:00
Timo Kreuzer 391de4dea7 fix build
svn path=/trunk/; revision=50279
2011-01-03 20:00:25 +00:00
Timo Kreuzer 316a3efbac [CRT]
Fix a number of errors in floating point output.

svn path=/trunk/; revision=50278
2011-01-03 19:39:17 +00:00
Sylvain Petreolle 6d8a71b4a4 [CMAKE]
Add apitests and pseh2_test.


svn path=/trunk/; revision=50277
2011-01-03 11:24:54 +00:00
Timo Kreuzer 09f4598c1d [CRT]
Enable new printf implementation.

svn path=/trunk/; revision=50276
2011-01-03 11:22:46 +00:00
Timo Kreuzer a457cc5898 [CRT]
Fix a bug in _ecvt that makes msvcrt_winetest::printf crash

svn path=/trunk/; revision=50275
2011-01-03 11:00:28 +00:00
Timo Kreuzer 6cdeeb6a1e [CRT]
Fix several bugs in new printf implementation.

svn path=/trunk/; revision=50274
2011-01-03 10:33:58 +00:00
Timo Kreuzer 92487266d8 [CRT]
Improve new printf implementation:
- remove duplicated code and implement a generic function for all (v)s(w)(n)printf
- don't call _flsbuf for string streams, while this works on windows, it doesn't work correctly on reactos (bug!)
- Fix return error codes

svn path=/trunk/; revision=50273
2011-01-03 01:07:54 +00:00
Roel Messiant 916ec376d6 [SETUPAPI]
- SetupDiClassNameFromGuidExW: Simplify interaction with registry.
- SetupDiCreateDeviceInfoW: Check for correct error value.
- SetupDiGetClassDescriptionExW: Rewrite to return the correct required size and prevent WCHAR sized buffer overflow.
- SetupDiGetClassDevsExW: Return INVALID_HANDLE_VALUE instead of NULL in failure case.

svn path=/trunk/; revision=50272
2011-01-03 00:45:34 +00:00
Timo Kreuzer 1cd9389032 [MSVCRT]
Apply a hack to msvcrt spec file to avoid duplicate definition of atexit. Mingw-w64 has an identical hack.

svn path=/trunk/; revision=50270
2011-01-02 21:17:03 +00:00
Timo Kreuzer 0f4c9e54a4 [MINGW]
Revert r50267 

svn path=/trunk/; revision=50269
2011-01-02 21:14:58 +00:00
Timo Kreuzer 1e9ed4c977 [MSVCRT_WINETEST]
Link explicitly to msvcrt, instead of importing half of the functions from ntdll.

svn path=/trunk/; revision=50268
2011-01-02 20:39:40 +00:00
Timo Kreuzer ad11d9e21a [MINGW]
Don't compile atonexit.c. atexit is exported from msvcrt.

svn path=/trunk/; revision=50267
2011-01-02 20:38:42 +00:00
Timo Kreuzer d8b80d9d78 [MSVCRT]
Don't export _matherr

svn path=/trunk/; revision=50266
2011-01-02 20:15:14 +00:00
Eric Kohl 4176a64858 [RBUILD]
Fix "format not a string literal and no format arguments" build warnings.

svn path=/trunk/; revision=50265
2011-01-02 20:04:53 +00:00
Eric Kohl b1b36bfcc3 [NPFS]
- Add support for FileFullDirectoryInformation and FileBothDirectoryInformation.
- Fix an off-by-one bug in the buffer size calculation.
- Zero-initialize the return buffer.

svn path=/trunk/; revision=50264
2011-01-02 19:37:08 +00:00
Roel Messiant e3c5d45770 [NTOS]
- Reduce PDE/PTE confusion a little more.
- MiQueryMemoryBasicInformation: Fall back on MEMORY_AREA data in sections until the MM rewrite also covers these. See issue #5791 for more info.

svn path=/trunk/; revision=50263
2011-01-02 19:30:26 +00:00
Johannes Anderwald ef85e78ddd [KERNEL32]
- Fix heap corruptions in MoveFileWithProgress
- Fixes kernel32_winetest change crash
- Introduced in rev 18073 (25.Sept 2005)

svn path=/trunk/; revision=50262
2011-01-02 16:54:00 +00:00
Christoph von Wittich 89c7718c10 [PSDK]
sync urlmon.idl with wine 1.3.10

svn path=/trunk/; revision=50261
2011-01-02 14:21:47 +00:00
Timo Kreuzer a29fc23779 [WIN32K]
Improve LDEVOBJ_bLoadImage, use ExportSectionPointer from the GdiDriverInfo structure instead of calling RtlImageDirectoryEntryToData

svn path=/trunk/; revision=50260
2011-01-02 13:05:51 +00:00
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