Commit graph

41771 commits

Author SHA1 Message Date
Jérôme Gardou f6b83e4f45 [WIN32K]
Forgot this one

svn path=/branches/reactos-yarotows/; revision=46529
2010-03-28 22:18:45 +00:00
Jérôme Gardou aebd9f2971 [WIN32K]
More PDEVOBJ_vRelease fun

svn path=/branches/reactos-yarotows/; revision=46528
2010-03-28 22:09:45 +00:00
Jérôme Gardou c918b470ec [WIN32K]
Release ppdev when deleting DC

svn path=/branches/reactos-yarotows/; revision=46527
2010-03-28 21:45:43 +00:00
Jérôme Gardou 9234a82220 [WIN32K]
Close another pair of DC_lockDc DC_UnlockDc.

svn path=/branches/reactos-yarotows/; revision=46508
2010-03-28 00:51:25 +00:00
Jérôme Gardou fc0d9235a5 [WIN32K]
Each DC_lockDc call should be followed by a DC_UnlockDc, even on error path.

svn path=/branches/reactos-yarotows/; revision=46507
2010-03-27 23:58:09 +00:00
Jérôme Gardou 1f0205c1de svn will drive me nuts, part 2/2
svn path=/branches/reactos-yarotows/; revision=46506
2010-03-27 23:52:07 +00:00
Jérôme Gardou 84b4727064 svn will drive me nuts, part 1/x
svn path=/branches/reactos-yarotows/; revision=46505
2010-03-27 23:28:24 +00:00
Jérôme Gardou b6edb50eb1 sync with trunk r46493
svn path=/branches/reactos-yarotows/; revision=46494
2010-03-27 20:19:56 +00:00
Timo Kreuzer 719200874a Revert r46466 this time for real
svn path=/trunk/; revision=46493
2010-03-27 18:57:56 +00:00
Timo Kreuzer 579ef7b3cb Revert r46466
svn path=/trunk/; revision=46492
2010-03-27 18:29:08 +00:00
Eric Kohl 2ce28dacb7 [NTOSKRNL]
NtAccessCheck: Check for a valid security descriptor.

svn path=/trunk/; revision=46491
2010-03-27 16:54:02 +00:00
Cameron Gutman 6e6623f762 [ACPI]
- Fix a typo

svn path=/trunk/; revision=46488
2010-03-27 14:40:36 +00:00
James Tabor 474bc78d7d [Win32k]
- Kill debug warnings of dc ownership.

svn path=/trunk/; revision=46485
2010-03-27 04:45:31 +00:00
James Tabor 3ae7b85b5a [User32]
- Sébastien Ramage : End scrollbar tracking if the mouse capture is lost.
- Reduce diff to wine.

svn path=/trunk/; revision=46484
2010-03-27 04:20:07 +00:00
Cameron Gutman c0ce6da513 [AFD]
- Allow connection requests for connectionless sockets (they associate a default remote address with the socket required for use in AfdConnectedSocketWriteData and AfdConnectedSocketReadData)
- Add a check for a disconnected socket

svn path=/trunk/; revision=46479
2010-03-27 00:00:21 +00:00
Matthias Kupfer e8ce733165 - two small fixes (freeing resources on error)
svn path=/trunk/; revision=46476
2010-03-26 20:27:21 +00:00
Matthias Kupfer c566b7baea - fix encoding
- change size of dialog entry for fitting text

svn path=/trunk/; revision=46475
2010-03-26 20:26:01 +00:00
Johannes Anderwald 833d3c5b7f [BDAPLGIN]
- Enhance debug traces
[KSPROXY]
- Check if the input / output pin has any methods while enumerating them
[MSDVBNP]
- Implement IBaseFilter::Stop, IBaseFilter::Run, IBaseFilter::Pause
- Fix missing AddRef in IBaseFilter::QueryFilterInfo
- Implement IBDA_NetworkProvider::RegisterDeviceFilter, IBDA_NetworkProvider::UnRegisterDeviceFilter
- Partly implement ITuner::put_TuneRequest
- ReactOS DVBT Network Provider is now able to tune a channel, though sound is missing

svn path=/trunk/; revision=46471
2010-03-26 17:51:54 +00:00
Jérôme Gardou 76085ba982 [WIN32K]
Lock PDC with pDevObj semaphore too.

svn path=/branches/reactos-yarotows/; revision=46470
2010-03-26 16:17:12 +00:00
Daniel Reimer 7456c01cae Generalize some lines to be used for a whole bunch of models.
Reduced size about 10kb that way. As long as we don't have a CPU driver I will keep it that way its now, because now it at least shows a approximate CPU Title in Devmgr.

svn path=/trunk/; revision=46467
2010-03-26 14:57:35 +00:00
Timo Kreuzer d0701d72b7 Reintegrate header branch
- DDKAPI -> NTAPI
- delete duplicate definitions
- move files to right locations
- Fix Mm64BitPhysicalAddress definition
- Add a number of missing definitions
- add XDK

svn path=/trunk/; revision=46466
2010-03-26 13:50:02 +00:00
Daniel Reimer 3509318521 Add Cyrix, Pentium MMX, Pro, II, M, 4, Core Solo/Duo/Extreme/i*, Atom, AMD K6, K6-3, Via Nehemiah, Esther, Nano and a big bunch of Family 15 (1st gen Athlon64, Turion64, Sempron Series) AMD CPUs to cpu.inf
These should be all CPUs out there we support....

svn path=/trunk/; revision=46465
2010-03-26 12:59:02 +00:00
Johannes Anderwald 5dc1068022 [BDAPLGIN]
- Perform property request by passing the request through IKsPropertySet interface. This is necessary as the pin handle might not have been created at the time the proxy plugin has been loaded
- Set Reserved of KSP_NODE request to zero as required by the documentation

svn path=/trunk/; revision=46464
2010-03-26 11:43:52 +00:00
Amine Khaldi 7a3aaf62ee Sync with trunk head (part 1 of x)
svn path=/branches/header-work/; revision=46461
2010-03-26 09:25:42 +00:00
Aleksey Bragin 938600f750 [NTOSKRNL/CONFIG]
- Add a macro for asserting hash lock ownership.
- Add a macro for getting an alloc page from KCB / delay alloc item.
- Add a newly allocated KCB to the tail of CmpFreeKCBList, not to its head.

svn path=/trunk/; revision=46459
2010-03-26 08:39:27 +00:00
Cameron Gutman 443b32a725 [NTOSKRNL]
- Construct a valid device path for ZwOpenFile
- Button events are now recognized by the power manager (tested on VirtualBox)

svn path=/trunk/; revision=46458
2010-03-26 02:41:08 +00:00
Cameron Gutman 937d6233d7 [ACPI]
- Implement IOCTL_GET_SYS_BUTTON_EVENT
- Add the device event to the event list in a DPC instead of an ISR

svn path=/trunk/; revision=46457
2010-03-26 02:33:28 +00:00
Timo Kreuzer deac9bacde [HAL]
Add some files for amd64, just enough to make compilation start.

svn path=/trunk/; revision=46455
2010-03-26 00:21:45 +00:00
James Tabor 760e2b7930 - Fix warning.
svn path=/trunk/; revision=46454
2010-03-26 00:20:14 +00:00
Amine Khaldi d134425466 Fix build.
Dedicated to Timo ;)

svn path=/branches/header-work/; revision=46453
2010-03-25 23:40:31 +00:00
Timo Kreuzer b67e6b206a Merge from amd64 branch:
44762 (sserapion)
[rbuild]
- Automatically generate reactos.dff using the installfile and installbase attributes found in rbuild files.
-- Fixes race to grab reactos.dff on concurrent builds in the same tree.
-- Makes the result of make install, make livecd and make bootcd the same(some modules arent in reactos.dff but have installfile/base attributes, which means they got intto livecd/install but not bootcd!)

44763 (sserapion)
[rbuild]
Really fix mkhive command.

44764 (sserapion)
[rbuild]
- fix mkhive command try 2. 

svn path=/trunk/; revision=46452
2010-03-25 23:16:12 +00:00
Johannes Anderwald d3ab548697 [DXSDK]
- Implement bdatif.h

svn path=/trunk/; revision=46450
2010-03-25 20:51:54 +00:00
Timo Kreuzer 13aa4a3d04 [RBUILD]
instead of defining -fno-set-stack-executable and -fno-optimize-sibling-calls in gcc.mak file, do it in ReactOS-i386.rbuild

svn path=/trunk/; revision=46449
2010-03-25 19:55:28 +00:00
Timo Kreuzer c20a4b4bb5 fix build
svn path=/trunk/; revision=46448
2010-03-25 19:32:45 +00:00
Timo Kreuzer bcd0ad3405 [HAL]
- Move architecture specific files into appropriate folders
- Move UP specific files into up folder

svn path=/trunk/; revision=46447
2010-03-25 19:23:09 +00:00
Timo Kreuzer 929bbc7b7c [HAL]
UP/MP cleanup:
- remove KxAcquireSpinLock from halp.h, use the one from ntoskrnl instead
- Use generic/spinlock.c in hal_generic_up and hal_generic_mp
- Delete mp/spinlock.c
- Move cmos spinlock functions to spinlock.c to make sure they are compiled for both up and mp
- Move wrappers around fastcall functions to misc.c, as they are identical on up/mp.

svn path=/trunk/; revision=46446
2010-03-25 18:37:59 +00:00
Amine Khaldi 2bce4e0e52 Sync with trunk head.
svn path=/branches/header-work/; revision=46444
2010-03-25 18:04:58 +00:00
Sir Richard e928936a69 [COMPBATT]: Composite Battery Driver Stub Interface to keep Mr. Gutman happy.
svn path=/trunk/; revision=46443
2010-03-25 14:26:04 +00:00
Cameron Gutman da0c010307 [ACPI]
- Add support for fixed power buttons
- Cleanup some extra junk
- Add a hack to prevent acquiring the mutex while in an ISR or DPC
- Button events are received now and "acpi_bus_generate_event" will appear in the debug log when a power/sleep button is pressed
- TODO: Implement IOCTL_GET_SYS_BUTTON_EVENT support so the power manager can recognize our button presses

svn path=/trunk/; revision=46442
2010-03-25 14:19:54 +00:00
Sir Richard 497c878f97 [CMBATT]: Use PCH.
svn path=/trunk/; revision=46441
2010-03-25 14:05:03 +00:00
Timo Kreuzer d488d92ff8 [BOOTCD/LIVECD]
Add -$(ARCH) to non-x86 bootcd and livecd image names.

svn path=/trunk/; revision=46440
2010-03-25 13:55:00 +00:00
Timo Kreuzer 077f0d7c3c [IDNDL]
Convert to spec

svn path=/trunk/; revision=46439
2010-03-25 13:15:37 +00:00
Timo Kreuzer 3c7051eca2 fix build
svn path=/trunk/; revision=46438
2010-03-25 13:09:43 +00:00
Timo Kreuzer 28e1c9e1c5 [NTVDM]
Only compile on x86 builds

svn path=/trunk/; revision=46437
2010-03-25 12:52:00 +00:00
Timo Kreuzer a80a2887aa Merge from amd64 branch:
45124
[USER32]
NtUserTranslateMessage: HKL -> UINT in 2nd parameter

45126 (tkreuzer)
[WIN32k] Fix build

45127 (sserapion)
[WIN32k] Fix build

svn path=/trunk/; revision=46436
2010-03-25 12:48:03 +00:00
Amine Khaldi 0474c721c7 [DDK]
- Move tvout.h to PSDK.

svn path=/branches/header-work/; revision=46435
2010-03-25 12:37:44 +00:00
Timo Kreuzer fb69e522da Merge from amd64-branch:
44501 (tkreuzer)
[NDK]
- Add CLIENT_ID32/64
- Create explicit 32/64 bit versions of PEB, GDI_TEB_BATCH and TEB, using macros.
- Fix some member names.


44503 (tkreuzer)
[CMD]
Fix a teb member name

44504 (tkreuzer)
[NTSOKRNL]
Fix a teb member name

44506 (tkreuzer)
[NDK]
fix a typo in the TEB definition

44511 (tkreuzer)
[NDK]
- Add Wx86ThreadState
- Add WinXP version of ACTIVATION_CONTEXT_STACK
- rtltypes doesn't depend on pstypes, but the opposite way around now

44512 (tkreuzer)
[NDK]
Fix some dependencies

44521 (tkreuzer)
[NTDKK]
- Don't use PEB::FastPeb(Un)LockRoutine, these members are deprecated since Windows 2003, use RtlEnter/LeaveCriticalSection instead.

44523 (tkreuzer)
[NTDLL]
Fix usage of PEB::KernelCallbacktable. It's a PVOID.

44524 (tkreuzer)
NDK]
- Add missing TEB member for Vista

44525 (tkreuzer)
[NDK]
Fix a TEB array size.

44526 (tkreuzer)
[USER32]
More fix of TEB::KernelCallbackTable usage

svn path=/trunk/; revision=46434
2010-03-25 12:22:59 +00:00
Amine Khaldi 9ac94def32 [DDK]
- Remove duplicate xmldsodid.h

svn path=/branches/header-work/; revision=46433
2010-03-25 12:07:42 +00:00
Timo Kreuzer e13ac2cb13 merge from amd64 branch:
34741 (tkreuzer)
[BOOTVID]
- make bootvid build for PLATFORM=PC instead of ARCH=i386 to share the files between i386 and amd64
- fix ULONG <-> pointer casts

svn path=/trunk/; revision=46432
2010-03-25 05:25:07 +00:00
Cameron Gutman 67c1ce90bd [NTOSKRNL]
- Handle devices that are run by their own bus drivers
- This could be done a bit nicer but it works

svn path=/trunk/; revision=46431
2010-03-25 05:16:31 +00:00