Commit graph

39060 commits

Author SHA1 Message Date
Dmitry Gorbachev
07dc415f89 Fix logging to a file.
In spite of limitations, it remains the only way to obtain desired logs for some people.

svn path=/trunk/; revision=43331
2009-10-07 19:57:40 +00:00
Dmitry Gorbachev
ffbb3fd184 Delete unused copy of GPL.
svn path=/trunk/; revision=43330
2009-10-07 19:56:35 +00:00
Dmitry Gorbachev
3da2eea23c Fix FreeLDR bug #4877. Patch by Gabriel.
svn path=/trunk/; revision=43329
2009-10-07 19:55:44 +00:00
Matthias Kupfer
85a206d9b2 - replace dropshadow from mouse settings by cursor shadow
- bind cursor shadow to registry via sysparams
- rename variable names and identifiers

svn path=/trunk/; revision=43328
2009-10-07 19:42:02 +00:00
Matthias Kupfer
f894aea679 - revert SPI_SETCLICKLOCK
- small optimization in mgsqueue

svn path=/trunk/; revision=43327
2009-10-07 18:22:25 +00:00
Timo Kreuzer
cfff690aae Add test for NtUserSystemParametersInfo case SPI_SETMOUSECLICKLOCK
svn path=/trunk/; revision=43326
2009-10-07 16:58:53 +00:00
Matthias Kupfer
4da1dafa69 - some preparation for ClickLock implementation
svn path=/trunk/; revision=43325
2009-10-07 14:25:52 +00:00
Aleksey Bragin
f637e66227 [fastfat_new]
- Implement FatiQueryNameInformation. It doesn't work right now due to missing file names in the FCB record.
- Make a stub for FatSetFcbNames.

svn path=/trunk/; revision=43324
2009-10-07 12:21:13 +00:00
Matthias Kupfer
0b89e7b0eb - load UserPreferencesMask from registry
svn path=/trunk/; revision=43323
2009-10-07 11:17:11 +00:00
Aleksey Bragin
c66ee08233 [fastfat_new]
- Lower importance of some debug messages.
- Add FCB locking routines.
- Lock VCB and FCB in QueryInformation.

svn path=/trunk/; revision=43322
2009-10-07 10:45:45 +00:00
Johannes Anderwald
5cb9dffd80 [WDMAUD]
- Use KsProbeStreamIrp in wdmaud to probe user buffers
- Remove a few hacks which were required to pass down irps to portcls
[PORTCLS]
- Check if there is an automation table
[SYSAUDIO]
- Release file object of pin to prevent reference leak
--
- Audio stack now reacts faster as it now longer copies audio buffers in kernel mode and instead locks down the user buffers. In addition it uses less memory to do the same work.


svn path=/trunk/; revision=43321
2009-10-07 10:41:34 +00:00
Johannes Anderwald
c959b785e7 - Fix building of ReactOS
svn path=/trunk/; revision=43320
2009-10-07 09:43:30 +00:00
Aleksey Bragin
abc450dbf0 [fastfat_new]
- Properly complete non-implemented volume open requests.

svn path=/trunk/; revision=43319
2009-10-07 09:27:03 +00:00
Johannes Anderwald
9da043a395 - Implement support for reading from waveIn devices
svn path=/trunk/; revision=43318
2009-10-07 09:10:00 +00:00
Dmitry Gorbachev
f80452789c Fix my stupid mistake, made in r43169. Bug #4863. Thanks to Gabriel & Victor.
svn path=/trunk/; revision=43317
2009-10-07 01:41:53 +00:00
Matthias Kupfer
54dec94b16 - fix typo in registry key name
- fix wrong argument order in SystemParametersInfo call
- use static variables instead of multiple strings
- fix wrong pointer access in sysparams

svn path=/trunk/; revision=43316
2009-10-07 00:07:30 +00:00
Johannes Anderwald
88c42f36e6 - Implement MIXER_GETLINEINFOF_COMPONENTTYPE for WdmAudGetLineInfo
- Implement MIXER_GETLINECONTROLSF_ONEBYID for WdmAudGetLineControls
- Clear MIXER_OBJECTF_HMIXER from Flags
- Fix a bug SetGetVolumeControlDetails which fixes retrieving current volume level (verified by sndvol32.exe from XP / mmsys.cpl ReactOS)

svn path=/trunk/; revision=43315
2009-10-06 18:16:21 +00:00
Johannes Anderwald
d4e6ed42ab - Fix creation of mixer pin
svn path=/trunk/; revision=43314
2009-10-06 09:55:19 +00:00
Johannes Anderwald
167a790409 - Partly implement WIDM_ADDBUFFER
svn path=/trunk/; revision=43313
2009-10-06 09:54:10 +00:00
Matthias Kupfer
91e81e3263 - bind (almost all) mouse settings to system and registry and fixup sysparams
svn path=/trunk/; revision=43312
2009-10-06 09:02:31 +00:00
Johannes Anderwald
89c0cc229a - Implement WIDM_OPEN, WIDM_CLOSE, WIDM_PREPARE, WIDM_UNPREPARE, WIDM_RESET for wave in devices
- Original code by Silverblade

svn path=/trunk/; revision=43311
2009-10-06 08:47:27 +00:00
James Tabor
ac17b39707 - Remove Thread from event structure and substitute with thread info from head structure.
svn path=/trunk/; revision=43310
2009-10-06 04:22:11 +00:00
James Tabor
6d29703714 - Set Process, pass keyboard handle and enable check for user hooks.
svn path=/trunk/; revision=43309
2009-10-06 03:38:23 +00:00
Matthias Kupfer
b63d2987f3 - use static variables instead of multiple strings
svn path=/trunk/; revision=43308
2009-10-05 21:00:44 +00:00
Matthias Kupfer
fca0dabc2d - add new desktop and mouse property keys to registry
- disable global settings from _SYSTEM_CURSORINFO and change files accordingly
- bind and load added registry keys for SystemParametersInfo
- TODO: read and set via SystemParametersInfo still incomplete

svn path=/trunk/; revision=43307
2009-10-05 19:53:15 +00:00
Johannes Anderwald
cf3f78eddf - Fix a critical bug in the counted worker implementation
svn path=/trunk/; revision=43306
2009-10-05 19:15:04 +00:00
Johannes Anderwald
9114169b5e - Implement setting / getting volume level
svn path=/trunk/; revision=43305
2009-10-05 17:00:59 +00:00
Matthias Kupfer
fb725bd122 - partly revert 43298
- fix the mouse swap button issue
- cleanup loading mouse properties
- change reg key types for mouse values like windows

svn path=/trunk/; revision=43304
2009-10-05 14:13:29 +00:00
Dmitry Gorbachev
6c43b7b64f select: change it to be more readable, avoid a spurious compiler warning.
svn path=/trunk/; revision=43303
2009-10-05 14:13:15 +00:00
Dmitry Gorbachev
9c974bb786 Avoid GCC warnings: deprecated conversion from string constant to 'WCHAR*'.
svn path=/trunk/; revision=43302
2009-10-05 14:13:09 +00:00
Dmitry Gorbachev
ea12565cf4 Document ROS_GENERATE_RSYM environment variable.
svn path=/trunk/; revision=43301
2009-10-05 14:13:01 +00:00
Dmitry Gorbachev
c2448f19d9 Modify DPRINT / DRPINT1 macros, check if DbgPrint crashed. Bug #4420.
svn path=/trunk/; revision=43300
2009-10-05 14:12:49 +00:00
Dmitry Gorbachev
69d7cf729d Fix internal name of ntkrnlmp.exe. Alexander Yastrebov (menone7 ~at~ gmail com), bug #4821.
svn path=/trunk/; revision=43299
2009-10-05 14:12:33 +00:00
Matthias Kupfer
8c914a280c - fix the mouse swap button issue
- cleanup loading mouse properties
- add function to load and store DWORD for sysparams registry keys
- TODO: check and fix the get and set cases for sysparams for the right registry key type

svn path=/trunk/; revision=43298
2009-10-05 11:35:06 +00:00
Cameron Gutman
605efdf3f2 - Remove the STATUS_PENDING case in UnlockAndMaybeComplete so we can catch pending IRPs which didn't get queued in the PendingIrpList
svn path=/trunk/; revision=43297
2009-10-05 02:31:16 +00:00
Cameron Gutman
29eda3e5dc - Cancel pending user IRPs when we get a IRP_MJ_CLEANUP request
- Previously there was some confusion between IRPs in PendingIrpList and InFlightRequest, InFlightRequest IRPs go from AFD to a TDI transport driver (tcpip) which are sent on behalf of AFD and are cancelled upon socket destruction (IRP_MJ_CLOSE) vs. IRPs in the PendingIrpList which go from user-mode to AFD which are sent of behalf of the user and should be cancelled when handling IRP_MJ_CLEANUP

svn path=/trunk/; revision=43296
2009-10-05 01:44:17 +00:00
Dmitry Gorbachev
2f4399ff41 Add "#pragma code_page(...)" again to fix compilation.
svn path=/trunk/; revision=43295
2009-10-04 22:40:01 +00:00
Daniel Reimer
555b27970e Update German NLS Files in Kernel32
svn path=/trunk/; revision=43294
2009-10-04 22:32:07 +00:00
Dmitry Gorbachev
5ea6a97c68 Add Spanish translation of Kernel32, fix translation of ServMan. Javier Remacha, bug #4872.
svn path=/trunk/; revision=43293
2009-10-04 22:03:21 +00:00
Matthias Kupfer
d358de8a0f temporarily workaround for swap mouse buttons feature
svn path=/trunk/; revision=43292
2009-10-04 20:45:51 +00:00
Stefan Ginsberg
1c3808ef76 - Add STATUS_ASSERTION_FAILURE status code required for NT_ASSERT.
- Check KdReceivePacket return for KdPacketReceived instead of 0 for correctness.
- Use KdpDprintf instead of setting CR2 for unhandled cases.
- Add more variables to KdDebuggerDataBlock.

svn path=/trunk/; revision=43291
2009-10-04 20:19:43 +00:00
Johannes Anderwald
8d668541e1 - Return correct status code
svn path=/trunk/; revision=43290
2009-10-04 20:14:09 +00:00
Johannes Anderwald
87d50197d2 - Implement Un-Muting of audio lines
- TBD: SEH probing

svn path=/trunk/; revision=43289
2009-10-04 19:45:16 +00:00
Matthias Kupfer
374363363d - remove double entry in inf
- load mouse settings
- TODO: mouse settings doesn't work properly, but read and set works

svn path=/trunk/; revision=43288
2009-10-04 19:28:52 +00:00
Cameron Gutman
6f249378c9 - Don't add the media-specific header until right before transmission
- Previously we would store the largest media-specific header size and add that value when creating a packet
 - Makes loopback packets smaller because they have no need for a media-specific header
 - Would fix packet corruption if interfaces with different media-specific headers were installed (if we supported that)
 - Makes adding support for other media types easier

svn path=/trunk/; revision=43287
2009-10-04 19:23:53 +00:00
Dmitry Gorbachev
698c0e253d Update Spanish translations. Javier Remacha, bug #4872.
svn path=/trunk/; revision=43286
2009-10-04 18:12:14 +00:00
Johannes Anderwald
f04d450f1f - Don't call ExFreePool for null pointers
svn path=/trunk/; revision=43285
2009-10-04 17:39:26 +00:00
Benedikt Freisen
3c4ec53672 corrected magnifying glass cursor
svn path=/trunk/; revision=43284
2009-10-04 17:25:55 +00:00
Stefan Ginsberg
3c5b2d9a61 Mega KD64 revival patch:
KD64
- Fix some 64-bit issues and some x86 specificness.
- Sub out some KdpTrap cases more properly.
- Implement support for .crash and .reboot. Does not seem to work currently because of weird issues.
- Implement KdpDprintf to send strings directly to the debugger from inside of KD64. Use it in KdEnterDebugger instead of DbgPrint so we won't try to enter the debugger recursively.
- Implement KdUpdateDataBlock to set the KeUserCallbackDispatcher pointer in the debugger block after its address is retrieved from ntdll.
- Don't assume breakpoints are 1 byte long in portable code -- use KD_BREAKPOINT_SIZE and define it per architecture.
- KdpStub: KdEnableDebugger returns NTSTATUS, not TRUE/FALSE.

Other
- wdbgexts.h: Properly define CURRENT_KD_SECONDARY_VERSION for AMD64.
- Make PsNtosImageBase pointer-sized as it should be.
- Change the definition of KDSTATUS so it is guaranteed to be 32-bit.
- Fix a critical bug in KiRestoreProcessorControlState: it didn't clear the busy flag in the TSS before reloading the task register, resulting in a GPF if we tried to reload the same register.
- Add macros for getting and setting special purpose registers (the Program Counter and the "return register") in portable code instead of using #ifdef every time. Do likewise for setting IMAGE_FILE_MACHINE_XXX, using a new IMAGE_FILE_MACHINE_ARCHITECTURE macro.
- Don't refer to the Program Counter as "Eip" in portable code.
- Define DBG_STATUS_CONTROL_C for assembly code and use it in KeUpdateSystemTime.

svn path=/trunk/; revision=43283
2009-10-04 16:53:15 +00:00
Stefan Ginsberg
f0c0e70c05 - Convert remaining KEBUGCHECK to KeBugCheck.
- Add HAL_MEMORY_ALLOCATION bug code and use it.

svn path=/trunk/; revision=43282
2009-10-04 14:48:18 +00:00