Commit graph

40938 commits

Author SHA1 Message Date
Kai Tietz b249cfa837 Merge version with mingw-w64 trunk version.
svn path=/branches/header-work/; revision=45720
2010-02-28 09:17:39 +00:00
Kai Tietz 6153abb607 Add __MINGW_EXTENSION to _mingw.h to suppress warnings for unnamed struct/union and the use of 'long long' in ISO C/C++.
svn path=/branches/header-work/; revision=45719
2010-02-28 09:12:16 +00:00
Kai Tietz 520bd868e4 Fix crt definition of TCHAR, ...
svn path=/branches/header-work/; revision=45718
2010-02-28 08:29:07 +00:00
Amine Khaldi 1a9142015a - Move more stuff to wdm.h
- Improve _IRP, (_)KSPIN_LOCK_QUEUE_NUMBER, _KDEVICE_QUEUE, _KTIMER and layout some IRP flags.

svn path=/branches/header-work/; revision=45713
2010-02-28 00:00:57 +00:00
Amine Khaldi b3c8d392e9 Move more stuff to wdm.h fixing what needed to be fixed.
svn path=/branches/header-work/; revision=45712
2010-02-27 22:25:01 +00:00
Amine Khaldi f2ebc0340a Move more stuff to wdm.h
svn path=/branches/header-work/; revision=45709
2010-02-27 18:55:11 +00:00
Kai Tietz 8099cb0496 Guard IN, OUT, and OPTIONAL by guards to prevent double definition warning.
svn path=/branches/header-work/; revision=45708
2010-02-27 18:34:13 +00:00
Amine Khaldi 27b53c01f0 Move more stuff to wdm.h
svn path=/branches/header-work/; revision=45707
2010-02-27 17:52:27 +00:00
Amine Khaldi 092583168e - Move more stuff to wdm.h
- FILE_OPEN_FOR_RECOVERY should be FILE_OPEN_REMOTE_INSTANCE

svn path=/branches/header-work/; revision=45705
2010-02-27 16:35:54 +00:00
Amine Khaldi b2d9b6ba98 Move more stuff to wdm.h
svn path=/branches/header-work/; revision=45704
2010-02-27 16:16:32 +00:00
Amine Khaldi 1394a5a5e7 Move more stuff to wdm.h
svn path=/branches/header-work/; revision=45703
2010-02-27 15:47:38 +00:00
Amine Khaldi a8e2d9b747 Move GUID comparison macro to wdm.h
svn path=/branches/header-work/; revision=45700
2010-02-27 15:09:59 +00:00
Amine Khaldi a642218a45 Move alignment macros to wdm.h
svn path=/branches/header-work/; revision=45699
2010-02-27 14:59:20 +00:00
Kai Tietz a61593425b Guard ANONYMOUS defines by __ANONYMOUS_DEFINED guard to prevent double definitions. Additional synchronize amount of DUMMYSTRUCTNAME defines.
svn path=/branches/header-work/; revision=45698
2010-02-27 14:43:32 +00:00
Amine Khaldi 2a50af3a8e * Disable compiling usermode components for now.
svn path=/branches/header-work/; revision=45697
2010-02-27 14:22:19 +00:00
Kai Tietz 2f0658a0d4 Drop special treating of gcc version < 2.95.
svn path=/branches/header-work/; revision=45696
2010-02-27 14:15:11 +00:00
Kai Tietz 8a7f4a428a Make sure that __int64 is getting prefix by __GCC_EXTENSION to avoid warnings for x64 gcc and the use of long long type in ISO-C/C++.
svn path=/branches/header-work/; revision=45695
2010-02-27 14:01:48 +00:00
Kai Tietz 9d6a449a8f Make sure that unnamed union/struct are prefix by __GCC_EXTENSION.
svn path=/branches/header-work/; revision=45694
2010-02-27 13:53:12 +00:00
Kai Tietz 9c22184e3c Extend unnamed union/struct by __GNU_EXTENSION in wdm.h
svn path=/branches/header-work/; revision=45693
2010-02-27 12:04:42 +00:00
Kai Tietz 05754bfdfe Add __GNU_EXTENSION macro for enabling gcc's extension on demand.
svn path=/branches/header-work/; revision=45692
2010-02-27 10:31:01 +00:00
Timo Kreuzer 9ea495ba33 Create a branch for header work.
svn path=/branches/header-work/; revision=45691
2010-02-26 22:57:55 +00:00
Aleksey Bragin 14fe274b1c [NTDLL]
- LdrpProcessImportDirectoryEntry: Don't try to fixup functions if an import address table is empty. Fixes Panzer General 2. Most of the work of discovering, fixing and testing this problem was performed by Olaf Siejka.

svn path=/trunk/; revision=45690
2010-02-26 22:52:55 +00:00
Aleksey Bragin 83038a06e3 Maarten Kroese
- SHELL_MergeMenus: Don't skip higher IDs if uIDAdjustMax is set to 0xFFFF (according to MSDN).

svn path=/trunk/; revision=45688
2010-02-26 19:09:43 +00:00
Aleksey Bragin 1aed20b05d - Merge Wine-1.1.39 changes to shlmenu.c.
svn path=/trunk/; revision=45687
2010-02-26 18:58:21 +00:00
Colin Finck aaaa6b759a We don't need "csq.h" twice in our tree.
This ancient version didn't even receive the GCC 4.1 compatibility update from years ago, so it's safe to remove it.

svn path=/trunk/; revision=45686
2010-02-26 15:22:39 +00:00
Ged Murphy c5b25b8e9b - Move from using include guards to pragma once.
- Whilst this is non-standard and potentially makes the code less portable, it's supported by both gcc and msvc and should bringg increased compilation speed due to its optimized behaviour (doesn't need to invoke the preprocessor)
- Patch by Amine Khaldi [amine.khaldi@reactos.org]

svn path=/trunk/; revision=45685
2010-02-26 11:43:19 +00:00
Johannes Anderwald e9e9e2bd0e [BDAPLGIN]
- Add macro to enable/disable debug output 
- Query the BaseFilter for the target control pin in order to query for IKsObject interface, which is used to retrieve the real pin handle.
- Pass the NodeId to constructors of IBDA_FrequencyFilter, IBDA_SignalStatistics, IBDA_LNBInfo, IBDA_DigitalDemodulator
- Implement IBDA_DigitalDemodulator::put_ModulationType, IBDA_DigitalDemodulator::put_InnerFECMethod, IBDADigitalDemodulator::put_InnerFECRate, IBDADigitalDemodulator::put_OuterFECMethod, IBDADigitalDemodulator::put_OuterFECRate, IBDADigitalDemodulator::put_SymbolRate, IBDADigitalDemodulator::put_SpectralInversion
- Implement IBDAFrequencyFilter::put_Frequency, IBDAFrequencyFilter::put_Polarity, IBDAFrequencyFilter::put_Range, IBDAFrequencyFilter::put_Bandwidth, IBDAFrequencyFilter::put_FrequencyMultiplier
- Implement IBDALNBInfo::put_LocalOscilatorFrequencyLowBand, IBDALNBInfo::put_LocalOscilatorFrequencyHighBand, IBDALNBInfo::put_HighLowSwitchFrequency
- Implement IBDASignalStatistics::get_SignalStrength, IBDASignalStatistics::get_SignalQuality, IBDASignalStatistics::get_SignalPresent, IBDASignalStatistics::get_SignalLocked, IBDASignalStatistics::put_SampleTime, IBDASignalStatistics::get_SampleTime
- Implement IBDA_DeviceControl::StartChanges, IBDA_DeviceControl::CheckChanges, IBDA_DeviceControl::CommitChanges, IBDA_DeviceControl::GetChangeState
- IBDA_DeviceControl interface now works with SageDvbRecorder(Windows XP SP3)

svn path=/trunk/; revision=45684
2010-02-26 01:53:48 +00:00
Timo Kreuzer b69e24713a [HAL]
- Replace the inline assembly for entering V86 and the actual V86 stub with real assembly. This is neccesary for compiler portability. Also creating 16 bit V86 assembly using 32 bit inline assembly is rather hackish.

svn path=/trunk/; revision=45683
2010-02-26 00:07:22 +00:00
Johannes Anderwald d58b589596 [PSDK]
- Add KSPROPERTY_BDA_FREQUENCY_FILTER, KSPROPERTY_BDA_DIGITAL_DEMODULATOR, KSPROPERTY_BDA_LNB_INFO, KSPROPERTY_BDA_SIGNAL_STATS properties for BDAPLGIN

svn path=/trunk/; revision=45682
2010-02-25 22:31:02 +00:00
Johannes Anderwald 2896cc1cf3 [BDAPLGIN]
- Simply construction of CBDAFrequencyFilter, CBDALNBInfo, CBDASignalStatistics
- Find IBDA_NetworkProvider in filter graph
- Check for IBaseFilter interface when constructing the CBDADeviceControl object

svn path=/trunk/; revision=45681
2010-02-25 16:14:54 +00:00
Johannes Anderwald 04cd460d80 [BDAPLGIN]
- Implement IBDA_Topology::GetNodeTypes, IBDA_Topology::GetNodeDescriptors, IBDA_Topology::GetNodeInterfaces, IBDA_Topology::GetPinTypes, IBDA_Topology::CreateTopology, IBDA_Topology::GetControlNode
- Implement stub interfaces for control node, IBDA_DigitalDemodulator, IBDA_FrequencyFilter, IBDA_LNBInfo, IBDA_SignalStatistics

svn path=/trunk/; revision=45680
2010-02-24 18:37:07 +00:00
Johannes Anderwald 97adef8cb9 [BDAPLGIN]
- Try fix build
- Sorry folks

svn path=/trunk/; revision=45679
2010-02-23 21:28:51 +00:00
Johannes Anderwald f4ef4493d0 [DXSDK]
- Add BDA Change Sync Method Set
[BDAPLGIN]
- Add "BDA Device Control Plug-in for MPEG2 based networks" stub

svn path=/trunk/; revision=45677
2010-02-23 17:40:34 +00:00
Johannes Anderwald 07e5b173eb [DDK]
- Fix IID_IUnknown definition 3/X

svn path=/trunk/; revision=45676
2010-02-23 17:25:46 +00:00
Johannes Anderwald 10544bcd64 [KSPROXY]
- Fix IID_IUnknown definition 3/X

svn path=/trunk/; revision=45675
2010-02-23 17:19:45 +00:00
Johannes Anderwald e9e38d03e3 [KS]
- Fix IID_IUnknown definition 2/X

svn path=/trunk/; revision=45674
2010-02-23 17:18:07 +00:00
Johannes Anderwald 3028423932 [PORTCLS]
- Fix IID_IUnknown definition 1/X

svn path=/trunk/; revision=45673
2010-02-23 17:16:56 +00:00
Ged Murphy 09c19796c9 remove unused library
svn path=/trunk/; revision=45672
2010-02-23 16:00:02 +00:00
James Tabor 2afc207a55 [Win32k]
- If dc is window owned and not class owned do not set class if null pdce. Added debug prints to locate reentrancy issues due to a race condition.
- Add more checks to find dead windows.

svn path=/trunk/; revision=45671
2010-02-23 15:42:08 +00:00
James Tabor e09b719f49 [User32]
- Remove 16 bit'isms. Added back removed code and commented it out with added notes.
- Jason Edmeades : Combo should preselect all text on first WM_SETFOCUS.
- Kusanagi Kouichi : Consolidate empty string.
- Alexandre Julliard : Don' t forward WM_SETCURSOR to the desktop window. Modified.
- Dmitry Timoshkov : In a DLGTEMPLATEEX resource dialog version goes before signature.
- Due to truck freeze, there might have slipped in miscellaneous patches.

svn path=/trunk/; revision=45670
2010-02-23 15:28:45 +00:00
Johannes Anderwald 9a8b7304ea [KSPROXY]
- Fix file headers for Christoph
- Add debug spam
- IsEqualIID uses REFIID

svn path=/trunk/; revision=45669
2010-02-23 15:25:59 +00:00
Michael Martin 04c5c8fb69 [usb/usbehci]
- Add back WorkItem code but use it for calling the hub drivers callback routine (telling hub driver it needs check port status).
- Add missing break for case URB_FUNCTION_GET_STATUS_FROM_DEVICE.
- RootHubInitNotification: BusContext is the Device Object not the Device Objects Extensions.
- UsbEhci now receives URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER IN requests,
 which is where we want to be for informing hub driver which port a device has been connected.

svn path=/trunk/; revision=45668
2010-02-23 11:20:15 +00:00
James Tabor 713671e519 [Win32k|Gdi32]
- Fix GdiBatch, the limit is for user space not system. Revert 45659.

svn path=/trunk/; revision=45667
2010-02-23 04:18:24 +00:00
James Tabor 478e25e9c8 [Win32k]
- Fix the new GetClipRgn clipping wine test for EqualRgn and clip region note.

svn path=/trunk/; revision=45666
2010-02-23 03:17:37 +00:00
James Tabor b86b56905f [User32]
- ReactOS uses DCX_KEEPCLIPRGN to prevent the deletion of regions so user support can manage them. Comctl32 depends on this since it does not delete the regions after calling DefWindowProc.

svn path=/trunk/; revision=45665
2010-02-23 03:14:09 +00:00
James Tabor 1441c052a2 [Win32k]
- Properly assign error code when a real status error occurred.
- Free the non user event container for WaitForInputIdle.

svn path=/trunk/; revision=45664
2010-02-23 03:08:16 +00:00
Eric Kohl b37ba9e7e6 Split the initial status code for drivers and services.
You can easily test services by uncommenting '#define USE_SERVICE_STATUS_PENDING'.

svn path=/trunk/; revision=45663
2010-02-22 23:17:03 +00:00
Colin Finck 606504c918 Put Vizzini's "csq.h" in the Public Domain with permission from the author:
<sedwards>    I talked to vizini
<sedwards>    it's public domain
<sedwards>    do what you will
<sedwards>    slap your name on it
<sedwards>    and submit it
<Colin_Finck> I can just do a commit to put it under PD now and everything will be alright?
<sedwards>    yes, the author who wishes to remain anonymous is quite fine with that

svn path=/trunk/; revision=45662
2010-02-22 22:00:00 +00:00
Dmitry Gorbachev 41e49f062c Clean up RPCSS.
svn path=/trunk/; revision=45661
2010-02-22 21:36:07 +00:00
Christoph von Wittich 3d06ca1682 fix build
svn path=/trunk/; revision=45660
2010-02-22 19:49:58 +00:00