reactos.git
13 years ago[SHLWAPI]
Timo Kreuzer [Mon, 8 Nov 2010 10:04:43 +0000 (10:04 +0000)]
[SHLWAPI]
Explicitly add msvcrt before ntdll to use it's *sprintf functions. Fixes bug 5557

svn path=/trunk/; revision=49522

13 years ago[NTOS]: KiDispatchInterrupt (the DPC handler) in C, instead of ASM.
Sir Richard [Mon, 8 Nov 2010 02:37:17 +0000 (02:37 +0000)]
[NTOS]: KiDispatchInterrupt (the DPC handler) in C, instead of ASM.

svn path=/trunk/; revision=49521

13 years ago[NTOS]: Context switch in C instead of ASM. Can be made more portable, but it's a...
Sir Richard [Mon, 8 Nov 2010 02:15:53 +0000 (02:15 +0000)]
[NTOS]: Context switch in C instead of ASM. Can be made more portable, but it's a good start. Unless Timo rewrites it.

svn path=/trunk/; revision=49520

13 years ago[NTOSKRNL]
Pierre Schweitzer [Mon, 8 Nov 2010 00:31:00 +0000 (00:31 +0000)]
[NTOSKRNL]
Minor stuff.
Here is your commit Timo ;)

svn path=/trunk/; revision=49519

13 years ago[CRT]
Timo Kreuzer [Sun, 7 Nov 2010 10:06:00 +0000 (10:06 +0000)]
[CRT]
In streamout(): fix a number of formatting bugs, round floats, fix issue with large unsigned values that were treated as signed, simplify some code.

svn path=/trunk/; revision=49516

13 years ago[CRT]
Timo Kreuzer [Sun, 7 Nov 2010 00:59:41 +0000 (00:59 +0000)]
[CRT]
In streamout() handle %%, negative fieldwidth and negative precision.

svn path=/trunk/; revision=49514

13 years ago[CRT]
Timo Kreuzer [Sat, 6 Nov 2010 23:03:22 +0000 (23:03 +0000)]
[CRT]
Fix a bug in streamout(), that could cause a buffer overrun and made msvcrt_winetest crash.

svn path=/trunk/; revision=49513

13 years ago[SPRINTF]
Amine Khaldi [Sat, 6 Nov 2010 15:38:43 +0000 (15:38 +0000)]
[SPRINTF]
- Don't compile the new sprintf by default. Requested by Timo.

svn path=/trunk/; revision=49512

13 years agoFix build
Timo Kreuzer [Fri, 5 Nov 2010 23:12:59 +0000 (23:12 +0000)]
Fix build

svn path=/trunk/; revision=49501

13 years ago[CRT]
Timo Kreuzer [Fri, 5 Nov 2010 22:21:36 +0000 (22:21 +0000)]
[CRT]
New implementation of all printf functions. It's stream based (like MS one is) rather than buffer based (like our old is). Floating point is not 100% finished, but current implementation is good enough to boot. It can be enabled by a config switch.

svn path=/trunk/; revision=49499

13 years ago[NTOS]: Make idle loop portable. Can be moved out of /i386 now.
Sir Richard [Fri, 5 Nov 2010 16:00:05 +0000 (16:00 +0000)]
[NTOS]: Make idle loop portable. Can be moved out of /i386 now.

svn path=/trunk/; revision=49486

13 years ago[NTOS]: Implement the idle loop in C.
Sir Richard [Fri, 5 Nov 2010 15:58:34 +0000 (15:58 +0000)]
[NTOS]: Implement the idle loop in C.

svn path=/trunk/; revision=49485

13 years ago[Win32k] - Turn off debug prints.
James Tabor [Fri, 5 Nov 2010 00:37:30 +0000 (00:37 +0000)]
[Win32k] - Turn off debug prints.

svn path=/trunk/; revision=49475

13 years ago[Win32k|User32]
James Tabor [Thu, 4 Nov 2010 23:45:34 +0000 (23:45 +0000)]
[Win32k|User32]
- This hook commit fixes the ros regression testing startup, but consider this a hax fix until more research in Global hooks has completed. More pointed Global hook tests are needed. Misc changes, removed unused storage pointers and reordering. For DosBOX, the mouse low level is now working and the keyboard low level should not be so intermittent as before, now sending messages from system desktop not from thread desktop, see bug 5670 for more details.

svn path=/trunk/; revision=49472

13 years ago[APPS]
Aleksey Bragin [Thu, 4 Nov 2010 12:28:08 +0000 (12:28 +0000)]
[APPS]
- Damir Aliev: Properly convert encoding in cmdline tools.
See issue #3487 for more details.

svn path=/trunk/; revision=49466

13 years ago[REGEDIT]
Aleksey Bragin [Thu, 4 Nov 2010 12:05:35 +0000 (12:05 +0000)]
[REGEDIT]
Adam Kachwalla <geekdundee@gmail.com>
- "Load Hive..." and "Unload Hive..." menu items implemented
- Make address bar case-insensitive
- Remove trailing slashes in address bar when at root keys (e.g. "HKEY_LOCAL_MACHINE\" or "HKEY_CURRENT_USER\")
- Address "go" button added
- Removed ~8px slack from bottom of the app (not needed and looks better)
- Factored out error displaying functions into error.c file.

See issue #5711 for more details.

svn path=/trunk/; revision=49465

13 years ago[KERNEL32]
Timo Kreuzer [Thu, 4 Nov 2010 10:16:14 +0000 (10:16 +0000)]
[KERNEL32]
Print delphi exception with the Exception code 0xeedfade, we were previously only checking for 0xeedface, maybe an older value.

svn path=/trunk/; revision=49464

13 years ago[HAL]: Add INIT_FUNCTION where needed. Will save 860KB later.
Sir Richard [Thu, 4 Nov 2010 01:28:09 +0000 (01:28 +0000)]
[HAL]: Add INIT_FUNCTION where needed. Will save 860KB later.

svn path=/trunk/; revision=49463

13 years ago[WIN32K]
Timo Kreuzer [Wed, 3 Nov 2010 12:20:07 +0000 (12:20 +0000)]
[WIN32K]
- Make InitVideo return NTSTATUS and properly handle failure
- Silence a DPRINT, improve a DPRINT

svn path=/trunk/; revision=49458

13 years ago[KS]
Johannes Anderwald [Wed, 3 Nov 2010 11:16:33 +0000 (11:16 +0000)]
[KS]
- Fix several bugs in KsProbeStreamIrp
- If requestor is KernelMode - just save a pointer in Irp->AssociatedIrp.SystemBuffer (currently not used)
- If requestor is UserMode mark irp as buffered. Also set Flag IRP_INPUT_OPERATION when the ioctl is IOCTL_KS_READ_STREAM. This is important to propagate modifications to KSSTREAM_HEADERS (in particular DataUsed member)
- ReactOS KS can now be used in WinXP in combination with KSStudio. In order to make it fully work, ks needs to implement software bus functions
[PORTCLS]
- Rewrite internal irp queue handling
- It now supports multiple KSSTREAM_HEADERs per Irp, variable sized KSSTREAM_HEADERs per irp.
- Store the mapped virtual address not in the KSSTREAM_HEADER, as user programs will receive then invalid addresses
- Add checks whether this irp is for an sink pin or source pin
- Fix multiple bugs when the pin is looped buffer mode (How did this work before?)
- ReactOS portcls + WinXP now properly works with audio recording
[WDMAUD_KERNEL]
- Don't free associated stream header anymore
- Tested with VBox 3.2.10 + VmWare Player 3.1.2 + WinXP

svn path=/trunk/; revision=49457

13 years ago[TASKMGR]
Aleksey Bragin [Wed, 3 Nov 2010 09:09:57 +0000 (09:09 +0000)]
[TASKMGR]
- Fix Russian translation, by spb-ivan92.
See issue #5685 for more details.

svn path=/trunk/; revision=49456

13 years ago[WIN32K]
Timo Kreuzer [Wed, 3 Nov 2010 00:51:19 +0000 (00:51 +0000)]
[WIN32K]
Change all Init functions to be NTAPI instead of FASTCALL, return NTSTATUS, and be an INIT_FUNCTION (saving incredible 2k). Simplify the initialization sequence by using a simple macro. Delete a comment that is not true anymore.
Move some globals to appropriate file.

svn path=/trunk/; revision=49455

13 years ago[NTOS]: Mark all initialization functions INIT_FUNCTION.
Sir Richard [Tue, 2 Nov 2010 16:29:06 +0000 (16:29 +0000)]
[NTOS]: Mark all initialization functions INIT_FUNCTION.
[NTOS]: This will save ~280KB of RAM once we dump INIT from RAM in a future patch.
[NTOS]: Display current free RAM at certain checkpoints.

svn path=/trunk/; revision=49445

13 years ago[NTOS]: Add page-tracking macro calls wherever needed. MI_TRACE_PFNS is still off...
Sir Richard [Tue, 2 Nov 2010 15:16:22 +0000 (15:16 +0000)]
[NTOS]: Add page-tracking macro calls wherever needed. MI_TRACE_PFNS is still off, though, so this code won't be called.

svn path=/trunk/; revision=49444

13 years ago[NTOS]: Define an array of MI_USAGE integers to track what a PFN is used for.
Sir Richard [Tue, 2 Nov 2010 15:05:37 +0000 (15:05 +0000)]
[NTOS]: Define an array of MI_USAGE integers to track what a PFN is used for.
[NTOS]: Extend the MMPFN structure for ReactOS-specific PFN tracing mechanism.
[NTOS]: Add macros to track page usage and process/extra-data (not yet used).

svn path=/trunk/; revision=49443

13 years ago[NTOS]: CR3 should be PDE_BASE, not PTE_BASE!
Sir Richard [Tue, 2 Nov 2010 15:02:41 +0000 (15:02 +0000)]
[NTOS]: CR3 should be PDE_BASE, not PTE_BASE!
[NTOS]: Define DemandZeroPte.

svn path=/trunk/; revision=49442

13 years ago[NTOS]: Misc typo and cleanup fixes.
Sir Richard [Tue, 2 Nov 2010 14:58:39 +0000 (14:58 +0000)]
[NTOS]: Misc typo and cleanup fixes.

svn path=/trunk/; revision=49441

13 years ago[NTOS]: Fix a bug in the MDL Code which would dereference a completely bogus page...
Sir Richard [Tue, 2 Nov 2010 14:58:10 +0000 (14:58 +0000)]
[NTOS]: Fix a bug in the MDL Code which would dereference a completely bogus page frame index.

svn path=/trunk/; revision=49440

13 years ago[NTOS]: Fix a bug in MmFindGapBottomUp which could make it return an address lower...
Sir Richard [Tue, 2 Nov 2010 14:50:06 +0000 (14:50 +0000)]
[NTOS]: Fix a bug in MmFindGapBottomUp which could make it return an address lower than what the caller said should be the lowest address.

svn path=/trunk/; revision=49439

13 years ago[NTOS]: You can't just set MDL_LOCKED_PAGES without actually... locking the page...
Sir Richard [Tue, 2 Nov 2010 14:46:46 +0000 (14:46 +0000)]
[NTOS]: You can't just set MDL_LOCKED_PAGES without actually... locking the page. Add a MmReferencePage when doing so, so when that a paging read/write IRP gets completed (and MmUnlockPages is called), the page gets handled correctly. Can now boot with 64MB RAM without ASSERTs.
[NTOS]: Fix one of the MDL code paths that isn't getting called frequently.

svn path=/trunk/; revision=49438

13 years ago[NTOS]: ASSERT nobody tries to put ARM3 pages into the MC_USER LRU.
Sir Richard [Tue, 2 Nov 2010 14:42:08 +0000 (14:42 +0000)]
[NTOS]: ASSERT nobody tries to put ARM3 pages into the MC_USER LRU.

svn path=/trunk/; revision=49437

13 years ago[NTOS]: Assert nobody tries to touch the sharecount of a non-ARM3 page.
Sir Richard [Tue, 2 Nov 2010 14:41:51 +0000 (14:41 +0000)]
[NTOS]: Assert nobody tries to touch the sharecount of a non-ARM3 page.

svn path=/trunk/; revision=49436

13 years ago[NTOS]: Fix typos.
Sir Richard [Tue, 2 Nov 2010 14:41:29 +0000 (14:41 +0000)]
[NTOS]: Fix typos.

svn path=/trunk/; revision=49435

13 years ago[NTOS]: Sanity checks when dealing with creating/cleaning process address space.
Sir Richard [Tue, 2 Nov 2010 14:41:03 +0000 (14:41 +0000)]
[NTOS]: Sanity checks when dealing with creating/cleaning process address space.
[NTOS]: Set the VmDeleted flag when the process address space is being nuked.

svn path=/trunk/; revision=49434

13 years ago[NTOS]: Make sure we don't get a user-pointer back from MmMapInSystemSpace.
Sir Richard [Tue, 2 Nov 2010 14:40:31 +0000 (14:40 +0000)]
[NTOS]: Make sure we don't get a user-pointer back from MmMapInSystemSpace.

svn path=/trunk/; revision=49433

13 years ago[NTOS]: Remove merge artifact from newcc.
Sir Richard [Tue, 2 Nov 2010 14:40:07 +0000 (14:40 +0000)]
[NTOS]: Remove merge artifact from newcc.

svn path=/trunk/; revision=49432

13 years ago[NTOS]: Protect Arty's changes with #ifdef NEWCC, otherwise this code ASSERTs and...
Sir Richard [Tue, 2 Nov 2010 14:38:52 +0000 (14:38 +0000)]
[NTOS]: Protect Arty's changes with #ifdef NEWCC, otherwise this code ASSERTs and crashes as soon as a pageout operation is required. Since your advanced test/regression systems boot into configurations with 1GB+ RAM, you never even test these paths and one could put an ASSERT(FALSE) and you wouldn't even notice it (as proven).

svn path=/trunk/; revision=49431

13 years ago[KSUSER, KS, SYSAUDIO]
Johannes Anderwald [Tue, 2 Nov 2010 09:37:30 +0000 (09:37 +0000)]
[KSUSER, KS, SYSAUDIO]
- Make pin / node / allocator create requests compatible to ms by removing obsolete slash before object class
- Return correct error code in ksuser's KsCreatePin
- ReactOS KS is now able to create audio pins in Windows XP, though playback is not yet working
- All changes except ksuser change has been verified to work with VBox 3.2.10
- KS user changes not tested yet as KSStudio not working in trunk

svn path=/trunk/; revision=49428

13 years ago[CACHE]
Art Yerkes [Tue, 2 Nov 2010 02:32:39 +0000 (02:32 +0000)]
[CACHE]

The cache manager rewrite I started years ago has finally appeared in
ReactOS' trunk and although at this point it's not quite perfectly
integrated, it's enough to boot up the bootcd or livecd. To check out
the more mature original, check out arty-newcc-reactos, branch
arty-newcc on bitbucket.org . Amine Khaldi encouraged me quite a bit
to not give up on it, and was able to reach out and be an advocate
when i really wasn't able to.  Others agree that the time has come to
begin removing the old cache manager. I expect the remaining problems
in the version going to trunk will be taken care of relatively
quickly.

The motivation for this effort lies in the particularly hairy
relationship between ReactOS' cache manager and data sections. This
code completely removes page sharing between cache manager and section
and reimagines cache manager as being a facility layered on the memory
manager, not really caring about individual pages, but simply managing
data section objects where caching might occur.

It took me about 2 years to do the first pass of this rewrite and most
of this year to fix some lingering issues, properly implement demand
paging in ReactOS (code which didn't come with this patch in a
recognizable form), and finish getting the PrivateCacheMap and
SharedCacheMap relationship correct.

Currently, the new ntoskrnl/cache directory contains an own
implementation of data file sections. After things have settled down,
we can begin to deprecate and remove the parts of ReactOS' section
implementation that depend on a close relationship with cache
manager. Eventually, I think that the extra code added to
ntoskrnl/cache/section will be removed and ReactOS' own sections will
replace the use of the special MM_CACHE_SECTION_SEGMENT in the cache
path.

Note also, that this makes all cache manager (and new section parts)
use wide file offsets. If my section code were to take over other
parts of the ReactOS memory manager, they would also benefit from
these improvements.

I invite anyone who wants to to peek at this code and fix whatever
bugs can be found.

svn path=/trunk/; revision=49423

13 years ago[WIN32K]
Timo Kreuzer [Tue, 2 Nov 2010 01:17:45 +0000 (01:17 +0000)]
[WIN32K]
Disable GDI_DEBUG. It's using > 20 MB memory. Too much for some people ;-)

svn path=/trunk/; revision=49422

13 years ago[PORTCLS]
Johannes Anderwald [Mon, 1 Nov 2010 22:21:24 +0000 (22:21 +0000)]
[PORTCLS]
- Portcls does not need to set the size of the audio buffer for completed irps. This is done in a completion callback in wdmaud. Verified with WinXP portcls
[WDMAUD_KERNEL]
- Free allocated mdls in the io completion routine. Also free the associated stream header.
[KS]
- Replace all ms portcls hacks by one.
- MS Portcls is now working in ReactOS (which is nice for testing audio related bugs)

svn path=/trunk/; revision=49417

13 years ago[PSDK]
Jérôme Gardou [Mon, 1 Nov 2010 20:55:11 +0000 (20:55 +0000)]
[PSDK]
  - add TrustedDomainAuthInformationInternal and TrustedDomainFullInformationInternalFix to _TRUSTED_INFORMATION_CLASS.
Fixes build

svn path=/trunk/; revision=49415

13 years ago{ASM]
Timo Kreuzer [Mon, 1 Nov 2010 18:48:40 +0000 (18:48 +0000)]
{ASM]
- Remove superfluous .code64
- Add some macros for MSVC

svn path=/trunk/; revision=49413

13 years ago[PORTCLS]
Johannes Anderwald [Mon, 1 Nov 2010 17:33:06 +0000 (17:33 +0000)]
[PORTCLS]
- Dear lawyers / worried developers, this is the XP DDK Version.

svn path=/trunk/; revision=49410

13 years ago[ADVAPI32]
Eric Kohl [Mon, 1 Nov 2010 14:09:33 +0000 (14:09 +0000)]
[ADVAPI32]
Implement LsaAddAccountRights(), LsaQueryTrustedDomainInfoByName() and LsaRemoveAccountRights().

svn path=/trunk/; revision=49403

13 years ago[PORTCLS]
Johannes Anderwald [Mon, 1 Nov 2010 13:23:15 +0000 (13:23 +0000)]
[PORTCLS]
- Add license header

svn path=/trunk/; revision=49401

13 years ago[SETUPAPI]
Eric Kohl [Mon, 1 Nov 2010 12:39:51 +0000 (12:39 +0000)]
[SETUPAPI]
Implement CM_Get_Device_ID_List_ExW().

svn path=/trunk/; revision=49400

13 years ago[Explorer] - Revert last change.
James Tabor [Mon, 1 Nov 2010 03:21:52 +0000 (03:21 +0000)]
[Explorer] - Revert last change.

svn path=/trunk/; revision=49394

13 years ago[Explorer] - Track the only Global Hook ReactOS has.
James Tabor [Mon, 1 Nov 2010 03:10:59 +0000 (03:10 +0000)]
[Explorer] - Track the only Global Hook ReactOS has.

svn path=/trunk/; revision=49393

13 years ago[Win32k] - Track end of life thread when removing hooks.
James Tabor [Mon, 1 Nov 2010 01:56:07 +0000 (01:56 +0000)]
[Win32k] - Track end of life thread when removing hooks.

svn path=/trunk/; revision=49392

13 years ago[PORTCLS]
Johannes Anderwald [Mon, 1 Nov 2010 00:26:59 +0000 (00:26 +0000)]
[PORTCLS]
- Add MPU-401 Uart miniport driver from DDK 2003 sample

svn path=/trunk/; revision=49389

13 years ago[DDK]
Johannes Anderwald [Mon, 1 Nov 2010 00:17:07 +0000 (00:17 +0000)]
[DDK]
- Add dmusprop header
- Add IMP_PowerNotify macro to portcls.h
- Add IID_IMusicTechnology guid to portcls.h
- Add GTI_XXX macros to portcls.h
- Remove broken definitions of KSPROPSETID_Synth, KSPROPSETID_Synth_Dls. They are defined in dmusprop.h
- Add KSDATARANGE_MUSIC to ksmedia.h
- Add KSMUSIC_TECHNOLOGY, KSDATAFORMAT_SUBTYPE_MIDI_BUS, KSAUDFNAME_MIDI, KSNODETYPE_SYNTHESIZER to ksmedia.h

svn path=/trunk/; revision=49388

13 years ago[Win32k] - Lock thread when removing hooks.
James Tabor [Sun, 31 Oct 2010 23:42:37 +0000 (23:42 +0000)]
[Win32k] - Lock thread when removing hooks.

svn path=/trunk/; revision=49386

13 years ago[MMIXER]
Johannes Anderwald [Sun, 31 Oct 2010 14:34:41 +0000 (14:34 +0000)]
[MMIXER]
- Enumerate MIDI devices and provide all necessary functions to deal with them
[WDMAUD_KERNEL]
- Implement support functions which call the provided functions of mmixer library
- Fix a bug in device interface request ioctl handler
- Midi devices should now be visible, capabilities be retrieved and opened / close
- Writing data is not yet supported

svn path=/trunk/; revision=49376

13 years ago[MMEBUDDY]
Johannes Anderwald [Sun, 31 Oct 2010 13:20:11 +0000 (13:20 +0000)]
[MMEBUDDY]
- Getting device capabilities requires the unicode version of the structure
- Implement MIDM_OPEN, MIDM_CLOSE, MIDM_START, MIDM_STOP
- Implement MODM_OPEN, MODM_CLOSE
- Refactor MmeOpenWaveDevice into MmeOpenDevice add add support MIXER_DEVICE_TYPE, MIDI_IN_DEVICE_TYPE, MIDI_OUT_DEVICE_TYPE
- Refactor MmeCloseWaveDeivce into MmeCloseDevice and add support MIXER_DEVICE_TYPE, MIDI_IN_DEVICE_TYPE, MIDI_OUT_DEVICE_TYPE

svn path=/trunk/; revision=49374

13 years ago[SHELL32]
Johannes Anderwald [Sun, 31 Oct 2010 10:09:55 +0000 (10:09 +0000)]
[SHELL32]
- Enable code as we support now IOCTL_DISK_GET_LENGTH_INFO
- IOCTL_DISK_GET_LENGTH_INFO implemented in 49369

svn path=/trunk/; revision=49372

13 years ago[SERVICES]
Eric Kohl [Sun, 31 Oct 2010 10:00:21 +0000 (10:00 +0000)]
[SERVICES]
Revert r49366.

svn path=/trunk/; revision=49371

13 years ago[DISK]
Pierre Schweitzer [Sun, 31 Oct 2010 08:13:33 +0000 (08:13 +0000)]
[DISK]
Implemented support for IOCTL_DISK_GET_LENGTH_INFO

svn path=/trunk/; revision=49369

13 years ago[PORTCLS]
Johannes Anderwald [Sat, 30 Oct 2010 23:17:34 +0000 (23:17 +0000)]
[PORTCLS]
- Revert 49356
- This change breaks portcls on WinXP

svn path=/trunk/; revision=49368

13 years agoMerge ScmControlService() and ScmSendStartCommand() into ScmSendServiceCommand().
Eric Kohl [Sat, 30 Oct 2010 19:25:23 +0000 (19:25 +0000)]
Merge ScmControlService() and ScmSendStartCommand() into ScmSendServiceCommand().

svn path=/trunk/; revision=49366

13 years ago[REGEDIT]
Cameron Gutman [Sat, 30 Oct 2010 17:41:51 +0000 (17:41 +0000)]
[REGEDIT]
- Fix a bug causing registry entries with names containing a backslash to be displayed incorrectly

svn path=/trunk/; revision=49364

13 years ago[WIN32K]
Timo Kreuzer [Sat, 30 Oct 2010 16:34:52 +0000 (16:34 +0000)]
[WIN32K]
Fix a bug in InitVideo: when looping through the adapters, reinitialize the cbValue before querying the registry.
Also handle failure.

svn path=/trunk/; revision=49360

13 years ago[PORTCLS]
Johannes Anderwald [Sat, 30 Oct 2010 15:40:54 +0000 (15:40 +0000)]
[PORTCLS]
- Do not leak KSSTREAM_HEADER (48 bytes) for each IOCTL_KS_WRITE_STREAM / IOCTL_KS_READ_STREAM request
- Audio stack should now leak less memory

svn path=/trunk/; revision=49356

13 years ago[WDMAUD_KERNEL]
Johannes Anderwald [Sat, 30 Oct 2010 15:15:22 +0000 (15:15 +0000)]
[WDMAUD_KERNEL]
- Unlock locked pages before freeing the mdl
- Fixes assertion hit 'Assertion 'OldRefCount < 2500' failed at ARM³::MDLSUP line 1008'
- Fixes playback / recording of longer audio files

svn path=/trunk/; revision=49355

13 years ago[TIMEDATE]
Sylvain Petreolle [Fri, 29 Oct 2010 21:16:05 +0000 (21:16 +0000)]
[TIMEDATE]
Fix French translation.

svn path=/trunk/; revision=49343

13 years ago[CRT] Remove empty file
Gregor Schneider [Fri, 29 Oct 2010 18:18:54 +0000 (18:18 +0000)]
[CRT] Remove empty file

svn path=/trunk/; revision=49342

13 years ago- Remove obsolete code
Johannes Anderwald [Fri, 29 Oct 2010 13:47:19 +0000 (13:47 +0000)]
- Remove obsolete code
- Thanks to Amine

svn path=/trunk/; revision=49340

13 years ago[WIN32K]
Timo Kreuzer [Fri, 29 Oct 2010 09:31:54 +0000 (09:31 +0000)]
[WIN32K]
Fix possible use of uninitialized variable. Spotted by Amine.

svn path=/trunk/; revision=49338

13 years ago[PORTCLS]
Johannes Anderwald [Fri, 29 Oct 2010 01:09:13 +0000 (01:09 +0000)]
[PORTCLS]
- Fix stupid bug which lead to access an invalid buffer.
- dedicated to igorko

svn path=/trunk/; revision=49337

13 years ago- Fix mdl probe access rights
Johannes Anderwald [Fri, 29 Oct 2010 00:41:06 +0000 (00:41 +0000)]
- Fix mdl probe access rights

svn path=/trunk/; revision=49336

13 years ago- remove rtl dependency
Johannes Anderwald [Thu, 28 Oct 2010 23:33:50 +0000 (23:33 +0000)]
- remove rtl dependency
- thanks to mephisto!

svn path=/trunk/; revision=49335

13 years agoRoel Messiant:
Aleksey Bragin [Thu, 28 Oct 2010 22:08:18 +0000 (22:08 +0000)]
Roel Messiant:
- Heap corruption fixes.

svn path=/trunk/; revision=49332

13 years ago[win32k]
Giannis Adamopoulos [Thu, 28 Oct 2010 17:14:29 +0000 (17:14 +0000)]
[win32k]
message.c:
- Don't use RETURN macro
- Correctly use SEH. Use _SEH2_YIELD

svn path=/trunk/; revision=49331

13 years ago[FORMATTING]
Timo Kreuzer [Thu, 28 Oct 2010 08:15:41 +0000 (08:15 +0000)]
[FORMATTING]
- Replace big file header with small header
- apply consistent indentation of 4 spaces

svn path=/trunk/; revision=49324

13 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 27 Oct 2010 22:58:23 +0000 (22:58 +0000)]
[NTOSKRNL]
- Add IoWMIDeviceObjectToProviderId and IoIs32bitProcess stubs for 64bit builds
- Comment out some deprecated amd64 code
- Add MmProtectToValue
- Fix a typo

svn path=/trunk/; revision=49322

13 years ago- remove debug prints
Johannes Anderwald [Wed, 27 Oct 2010 21:12:44 +0000 (21:12 +0000)]
- remove debug prints
- dedicated to christoph

svn path=/trunk/; revision=49316

13 years ago[CLASSPNP]
Timo Kreuzer [Wed, 27 Oct 2010 20:40:59 +0000 (20:40 +0000)]
[CLASSPNP]
Fix a typo in the spec file

svn path=/trunk/; revision=49314

13 years ago[FORMATTING]
Giannis Adamopoulos [Wed, 27 Oct 2010 20:31:17 +0000 (20:31 +0000)]
[FORMATTING]
- Fix formatting in message.c

svn path=/trunk/; revision=49313

13 years ago[basetsd.h]
Timo Kreuzer [Wed, 27 Oct 2010 20:14:15 +0000 (20:14 +0000)]
[basetsd.h]
add POINTER_SIGNED, POINTER_UNSIGNED, SPOINTER_32, UPOINTER_32

svn path=/trunk/; revision=49312

13 years ago[CLASSPNP]
Timo Kreuzer [Wed, 27 Oct 2010 20:13:06 +0000 (20:13 +0000)]
[CLASSPNP]
Convert to spec

svn path=/trunk/; revision=49311

13 years ago[WIN32K]
Timo Kreuzer [Wed, 27 Oct 2010 17:16:11 +0000 (17:16 +0000)]
[WIN32K]
Improve the code to enumerate monitors.
- Don't use custom MIN / MAX / ABS macros
- Calculate distance by r^2 = x^2 + y^2
- Use RECTL_bIntersectRect instead of code duplication
- Fix possible NULL pointer dereference
- pass bottom-right exclusive rect to IntGetMonitorsFromRect from NtUserMonitorFromPoint
- Don't handle MONITOR_DEFAULTTOPRIMARY and MONITOR_DEFAULTTONEAREST twice
- Use unsigned variables for unsigned values
- Don't check the result of a UINT returning function for < 0
- Improve readability

svn path=/trunk/; revision=49310

13 years ago[WIN32K]
Timo Kreuzer [Wed, 27 Oct 2010 17:08:40 +0000 (17:08 +0000)]
[WIN32K]
Fix possible NULL pointer dereferences. Spotted by Amine Khaldi.

svn path=/trunk/; revision=49309

13 years ago[FORMATTING]
Timo Kreuzer [Wed, 27 Oct 2010 15:59:48 +0000 (15:59 +0000)]
[FORMATTING]
- Apply consistent indentation of 4 spaces and ansi style formatting.
- Remove the long GPL header

svn path=/trunk/; revision=49308

13 years ago[WIN32K]
Timo Kreuzer [Wed, 27 Oct 2010 12:51:32 +0000 (12:51 +0000)]
[WIN32K]
Fix possible NULL pointer dereference. Spotted by Amine Khaldi.

svn path=/trunk/; revision=49303

13 years ago[NTOS/MM]
Aleksey Bragin [Wed, 27 Oct 2010 09:58:18 +0000 (09:58 +0000)]
[NTOS/MM]
- Don't access pfn database directly, there is a function for this. Thanks sir_richard.

svn path=/trunk/; revision=49302

13 years ago[Win32k|User32]
James Tabor [Wed, 27 Oct 2010 01:56:56 +0000 (01:56 +0000)]
[Win32k|User32]
- Fix for DosBOX. See bug 5670 for more details. Added more data copies in user32 hook.c.

svn path=/trunk/; revision=49301

13 years ago[User32] - Fix an over site and copy the return data back to the kernel.
James Tabor [Wed, 27 Oct 2010 00:03:41 +0000 (00:03 +0000)]
[User32] - Fix an over site and copy the return data back to the kernel.

svn path=/trunk/; revision=49300

13 years ago[NTOS/MM]
Aleksey Bragin [Tue, 26 Oct 2010 21:34:52 +0000 (21:34 +0000)]
[NTOS/MM]
- Don't lie about page protection in MiQueryAddressState. Fixes PDFCreator-alike bugs.
See issue #5627 for more details.

svn path=/trunk/; revision=49296

13 years ago[PORTCLS]
Johannes Anderwald [Tue, 26 Oct 2010 15:19:14 +0000 (15:19 +0000)]
[PORTCLS]
- Disable driver specific filter / pin / node property handlers until bug leading to crashes has been found

svn path=/trunk/; revision=49280

13 years ago[Win32k|User32]
James Tabor [Tue, 26 Oct 2010 06:24:50 +0000 (06:24 +0000)]
[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

13 years ago[NTOS/MM]
Aleksey Bragin [Mon, 25 Oct 2010 20:50:45 +0000 (20:50 +0000)]
[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

13 years agoUpdate rapps database.
Daniel Reimer [Mon, 25 Oct 2010 20:08:50 +0000 (20:08 +0000)]
Update rapps database.

svn path=/trunk/; revision=49276

13 years ago[YAROTOWS] Reintegrate the branch. For a brighter future.
Timo Kreuzer [Mon, 25 Oct 2010 17:36:27 +0000 (17:36 +0000)]
[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

13 years agoMerge trunk head (r49270) backups/reactos-yarotows@57446
Timo Kreuzer [Mon, 25 Oct 2010 15:26:06 +0000 (15:26 +0000)]
Merge trunk head (r49270)

svn path=/branches/reactos-yarotows/; revision=49272

13 years ago[WIN32K]
Timo Kreuzer [Mon, 25 Oct 2010 15:05:33 +0000 (15:05 +0000)]
[WIN32K]
Silence and improve a DPRINT

svn path=/branches/reactos-yarotows/; revision=49271

13 years ago[Win32k]
James Tabor [Mon, 25 Oct 2010 02:51:09 +0000 (02:51 +0000)]
[Win32k]
- Do not override WH_JOURNALPLAYBACK results if zero.

svn path=/trunk/; revision=49270

13 years ago[Win32k]
James Tabor [Mon, 25 Oct 2010 01:37:14 +0000 (01:37 +0000)]
[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

13 years ago[User32]
James Tabor [Mon, 25 Oct 2010 00:15:35 +0000 (00:15 +0000)]
[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

13 years ago[WIN32K]
Kamil Hornicek [Sun, 24 Oct 2010 23:40:23 +0000 (23:40 +0000)]
[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

13 years ago[WIN32K]
Timo Kreuzer [Sun, 24 Oct 2010 23:32:18 +0000 (23:32 +0000)]
[WIN32K]
- Rewrite InitVideo
- Move registry functions to the appropriate file
- Silence some DPRINTs

svn path=/branches/reactos-yarotows/; revision=49266