Commit graph

44399 commits

Author SHA1 Message Date
Jérôme Gardou
e829b4d212 [EVENTLOG]
- Correct definition of midl_user_allocate

svn path=/branches/cmake-bringup/; revision=49283
2010-10-26 16:36:25 +00:00
Jérôme Gardou
ec1e12e566 [PSDK]
- Add MIDL_user_allocate and MIDL_user_free definitions
  - #ifdef a GCC hack

svn path=/branches/cmake-bringup/; revision=49281
2010-10-26 16:01:08 +00:00
Johannes Anderwald
4434b6bf69 [PORTCLS]
- Disable driver specific filter / pin / node property handlers until bug leading to crashes has been found

svn path=/trunk/; revision=49280
2010-10-26 15:19:14 +00:00
Jérôme Gardou
ab5836ad90 [CMAKE - MSC]
- Add set_image_base macro
  - add psdk and buildno dependencies to modules

svn path=/branches/cmake-bringup/; revision=49279
2010-10-26 07:31:04 +00:00
James Tabor
4588fc7dc5 [Win32k|User32]
- Add fix for KsStudio for Olaf Siejka and debug prints for WH_KEYBOARD_LL. See bug 5670 for more details.

svn path=/trunk/; revision=49278
2010-10-26 06:24:50 +00:00
Aleksey Bragin
f46ca6e613 [NTOS/MM]
- Handle various special cases in NtQueryVirtualMemory (e.g. querying illegal virtual addresses, shared memory area, etc). Example of an app doing this - OllyDbg.

svn path=/trunk/; revision=49277
2010-10-25 20:50:45 +00:00
Daniel Reimer
71ab4ed50f Update rapps database.
svn path=/trunk/; revision=49276
2010-10-25 20:08:50 +00:00
Timo Kreuzer
684c3d3791 [YAROTOWS] Reintegrate the branch. For a brighter future.
Main features:
- Implement LDEVOBJ api. Responsible for loading dlls (display drivers, font drivers, keyboard layout, etc), replacing code in different locations.
- Implement PDEVOBJ api. A PDEVOBJ represents a physical device and is the core component for handling multiple display devices.
- Rewrite device locking. The new method was neccessary to allow dynamic mode switching.
- Implement support for enumerating display devices and settings.
- Implement dynamic mode switching.
- Implement a number of Eng mapping functions.
- Rewrite Eng level surface handling for cleaner code and better compatability.
- Rewrite parts of the DIB handling code.
- Rewrite DC creation and deletion. Deletion and cleanup is now completely callback based. Now we don't leak the DC objects when terminating a process, like we did before.
- Improve the XLATE and BRUSH code, removing several old hacks.
- Improve icon code.

Thanks to Jerome Gardou, Kamil Hornicek and everyone helping.

svn path=/trunk/; revision=49275
2010-10-25 17:36:27 +00:00
Timo Kreuzer
7a2f3e30fc Merge trunk head (r49270)
svn path=/branches/reactos-yarotows/; revision=49272
2010-10-25 15:26:06 +00:00
Timo Kreuzer
8a28b85f48 [WIN32K]
Silence and improve a DPRINT

svn path=/branches/reactos-yarotows/; revision=49271
2010-10-25 15:05:33 +00:00
James Tabor
f5258132f4 [Win32k]
- Do not override WH_JOURNALPLAYBACK results if zero.

svn path=/trunk/; revision=49270
2010-10-25 02:51:09 +00:00
James Tabor
4f65bd047d [Win32k]
- Fix typos found by Mephisto on IRC, also add some debug prints in SetWindowsHookEx to see what hooks are installed. 

svn path=/trunk/; revision=49269
2010-10-25 01:37:14 +00:00
James Tabor
ba351010ec [User32]
- One more leftover to add. Now we test for both Local and Global hooks in user32. This will force any message sent to win32k if there are any Global hookers so we loose in performance. We need to rethink our usage of these Global hookers in our code.

svn path=/trunk/; revision=49268
2010-10-25 00:15:35 +00:00
Kamil Hornicek
a5a3c1563c [WIN32K]
Simplify the RLE hack and avoid code duplication.
Bail out of UserEnumDisplaySettings early in case invalid ModeNum was requested.
Use default BPP value in UserChangeDisplaySettings if DM_BITSPERPEL is not set. Partially fixes "fullscreen issue" as described on the yarotows wiki page.
Remove some unused variables + misc cleanup.

svn path=/branches/reactos-yarotows/; revision=49267
2010-10-24 23:40:23 +00:00
Timo Kreuzer
c5880b6a1c [WIN32K]
- Rewrite InitVideo
- Move registry functions to the appropriate file
- Silence some DPRINTs

svn path=/branches/reactos-yarotows/; revision=49266
2010-10-24 23:32:18 +00:00
Kamil Hornicek
a2e78394d2 [WIN32K]
Set proper flags and masks in BuildDIBPalette. Set PAL_BGR for 24/32 BPP in AllocPalette. Rename Mode to Flags to better reflect its usage. Fixes "red icons" and dibtest.

svn path=/branches/reactos-yarotows/; revision=49265
2010-10-24 22:52:50 +00:00
Kamil Hornicek
6237a1d524 [WIN32K]
Follow-up to r48681. Fixes text on disabled controls.

svn path=/branches/reactos-yarotows/; revision=49264
2010-10-24 22:51:51 +00:00
Sylvain Petreolle
394ca95775 [CMAKE]
Use msvc friendly macro.
Add network drivers to livecd.

svn path=/branches/cmake-bringup/; revision=49263
2010-10-24 21:19:00 +00:00
Sylvain Petreolle
9fad2797d5 [CMAKE]
Add network applications to build and livecd.

svn path=/branches/cmake-bringup/; revision=49262
2010-10-24 21:07:56 +00:00
Aleksey Bragin
9bfee86717 [N[NTOS/MM]
- Initialize Found to FALSE in NtQueryVirtualMemory. I wonder how GCC missed uninitialized var usage?
- Implement case when NtQueryVirtualMemory is called with non-existing virtual address.
See issue #3755 for more details.

svn path=/trunk/; revision=49261
2010-10-24 20:02:04 +00:00
Sylvain Petreolle
0ef2d803bf [CMAKE]
Fix winspool loading.

svn path=/branches/cmake-bringup/; revision=49260
2010-10-24 15:03:07 +00:00
Eric Kohl
4cb29716d1 [SERVICES]
RControlService: Check the current state before sending a control request.

svn path=/trunk/; revision=49259
2010-10-24 13:48:11 +00:00
Amine Khaldi
8c7563f645 [CMAKE]
- Add set_image_base macro.
- Fix ks linking.

svn path=/branches/cmake-bringup/; revision=49258
2010-10-24 12:44:36 +00:00
Timo Kreuzer
2eb1b02bc0 [WIN32K]
Fix possible NULL pointer free. Fixes solitaire.

svn path=/branches/reactos-yarotows/; revision=49257
2010-10-24 11:57:02 +00:00
Cameron Gutman
3a7694182b [HAL]
- Fix a broken loop that resulted in us registering the resources of multiple COM ports as our KD port
- Fixes bug #5530

svn path=/trunk/; revision=49256
2010-10-24 10:48:10 +00:00
Cameron Gutman
f7f4cae9ba [HAL]
- HalpEnableInterruptHandler: Set the IDT_LATCHED flag if the caller requested a latched interrupt

svn path=/trunk/; revision=49255
2010-10-24 10:28:15 +00:00
Eric Kohl
7d6c0f7918 [SERVICES]
- Use new handle check functions in RCloseServiceHandle().
- RControlService: Check if a control request is acceptable for a user mode service before sending it to the service.

svn path=/trunk/; revision=49253
2010-10-24 09:21:37 +00:00
Cameron Gutman
7d9a1e9f3b [NTOSKRNL]
- Fix a critical bug in the conflict detection code
- Don't unconditionally skip conflict detection for shared resources, instead it should be done on a descriptor-by-descriptor basis (if both descriptors are shared)
- This check wasn't removed when I initially wrote this code and added the proper check below

svn path=/trunk/; revision=49252
2010-10-24 09:05:17 +00:00
Cameron Gutman
58a93c730c [PNPMGR]
- Check that we got a valid vector back from HAL when translating an interrupt resource
- Add some debugging messages for failure paths in device resource handling code

svn path=/trunk/; revision=49251
2010-10-24 06:16:35 +00:00
James Tabor
24acd670a4 [Win32k]
- Fix an exception when set condition * first always is used then moving the mouse. There seems to be an initialization issue (The Init Bug) and not setting a desktop.

svn path=/trunk/; revision=49250
2010-10-24 04:36:45 +00:00
Cameron Gutman
5958a4e877 [NTOSKRNL]
- Partially implement IoAssignResources so that it creates a non-conflicting resource list from the requirements but it doesn't claim the resources for the device in the registry
- Partially implement IoReportResourceUsage so that it checks the resource list for conflicts but doesn't claim the resources in the registry
- Please test this revision with a variety of hardware and drivers because it activates several code paths in the PnP manager
- If this causes problems, look for "Denying an attempt to claim resources currently in use by another device!" in the debug log and report the bug to me

svn path=/trunk/; revision=49249
2010-10-24 02:51:48 +00:00
Cameron Gutman
e7431a821b [NTOSKRNL]
- Rewrite the resource map code to fix a regression, several failures cases, and a few memory leaks
- Remove an incorrect definition of IopDetectResourceConflict in pnpreport.c (no idea how this didn't trigger an onslaught of warnings)

svn path=/trunk/; revision=49248
2010-10-24 02:38:14 +00:00
Timo Kreuzer
d90c19e431 Fix a comment
svn path=/trunk/; revision=49247
2010-10-23 22:34:47 +00:00
Sylvain Petreolle
1fb94b1cb5 [CMAKE]
sync with trunk (r49230)

svn path=/branches/cmake-bringup/; revision=49246
2010-10-23 22:14:59 +00:00
Timo Kreuzer
548559a3d5 [WIN32K]
- Remove a wrong ASSERT
- Improve EngLoadImageEx to correctly handle the path and optional dll extension.
- Get rid of EngLoadDriver

svn path=/branches/reactos-yarotows/; revision=49245
2010-10-23 21:59:21 +00:00
Johannes Anderwald
69b6f20b77 [PORTCLS]
- Fix multiple bugs in round buffer implementation
- Should result in less audio glitches, especially when playing audio files with low sample rates. Please report any regressions!

svn path=/trunk/; revision=49244
2010-10-23 20:20:18 +00:00
Johannes Anderwald
37d654bb93 [PORTCLS]
- Rewrite the topology filter / pin / node property handling
- Store property sets of filter / pins / nodes in a common property set array
- Write a common dispatch function, which serves as a trampoline for filter / pin / node property requests
- Private property handlers of the drivers are now accessible

svn path=/trunk/; revision=49243
2010-10-23 18:51:17 +00:00
Johannes Anderwald
0d136362a0 [PORTCLS]
- Remove silence buffer hack
- Stub DRM Property Handler
- Before stopping the audio pin, fill the dma buffer with silence samples
- create a subdevice descriptor for instantiated pins too

svn path=/trunk/; revision=49242
2010-10-23 18:42:59 +00:00
Timo Kreuzer
b0dd54e446 [FORMATTING]
Fix indentation, no code change.

svn path=/branches/reactos-yarotows/; revision=49241
2010-10-23 17:05:34 +00:00
Timo Kreuzer
8af88571ea sync with trunk (r49238)
svn path=/branches/reactos-yarotows/; revision=49240
2010-10-23 16:42:45 +00:00
Johannes Anderwald
17fe2b3988 - Fix definition of KSPROPSETID_DrmAudioStream, KSPROPERTY_DRMAUDIOSTREAM
svn path=/trunk/; revision=49239
2010-10-23 14:42:22 +00:00
Johannes Anderwald
4b5747df27 [PORTCLS]
- Fix check if the pin can be instantiated another time
- Remove hack to close old
- Add function FreePin to remove its old reference
- Fix memory leaks / reference leaks in WavePci pin implementation
- Fix memory / reference leaks in WavePci Close implementation

svn path=/trunk/; revision=49238
2010-10-23 12:10:56 +00:00
Johannes Anderwald
cd63ffe6c2 [KS]
- Fix property set support handler for topology nodes
- Check if the driver supports a basic support handler. In that case return the basic support handler

svn path=/trunk/; revision=49237
2010-10-23 12:00:11 +00:00
Sylvain Petreolle
956eb46aec [CMAKE]
Livecd: Add rundll32.
Cmake livecd lives !

svn path=/branches/cmake-bringup/; revision=49236
2010-10-23 11:55:36 +00:00
Sylvain Petreolle
070a3b3935 [CMAKE]
Livecd: Add inf files.
Temporarily add generated syssetup.inf from trunk.

svn path=/branches/cmake-bringup/; revision=49235
2010-10-23 11:35:26 +00:00
Amine Khaldi
b975ab079c [CMAKE]
- Create profiles related folders into the livecd iso.
- Add some missing modules to livecd.

svn path=/branches/cmake-bringup/; revision=49234
2010-10-23 10:38:48 +00:00
Amine Khaldi
885ea97149 [CMAKE]
- Add the missing resource file to explorer.

svn path=/branches/cmake-bringup/; revision=49233
2010-10-23 10:24:53 +00:00
Amine Khaldi
76697d8da4 [CMAKE]
- Add explorer, umpnpmgr, userinit and winhlp32 to livecd.

svn path=/branches/cmake-bringup/; revision=49232
2010-10-23 10:15:02 +00:00
James Tabor
e7c4137319 [Win32k|User32]
- Rewrite the Event and Hook procedures. See bug 5670 for more details.

svn path=/trunk/; revision=49231
2010-10-23 05:36:12 +00:00
Sylvain Petreolle
89271fe38d [CMAKE]
Add each win32dll module to livecd and remove global temporary add-on from gcc.cmake.
Fix pch use in fmifs.
Enable remaining dlls in dll/win32/CMakeLists.txt.

svn path=/branches/cmake-bringup/; revision=49230
2010-10-22 19:40:56 +00:00