reactos.git
14 years ago- Implement setting / getting volume level
Johannes Anderwald [Mon, 5 Oct 2009 17:00:59 +0000 (17:00 +0000)]
- Implement setting / getting volume level

svn path=/trunk/; revision=43305

14 years ago- partly revert 43298
Matthias Kupfer [Mon, 5 Oct 2009 14:13:29 +0000 (14:13 +0000)]
- 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

14 years agoselect: change it to be more readable, avoid a spurious compiler warning.
Dmitry Gorbachev [Mon, 5 Oct 2009 14:13:15 +0000 (14:13 +0000)]
select: change it to be more readable, avoid a spurious compiler warning.

svn path=/trunk/; revision=43303

14 years agoAvoid GCC warnings: deprecated conversion from string constant to 'WCHAR*'.
Dmitry Gorbachev [Mon, 5 Oct 2009 14:13:09 +0000 (14:13 +0000)]
Avoid GCC warnings: deprecated conversion from string constant to 'WCHAR*'.

svn path=/trunk/; revision=43302

14 years agoDocument ROS_GENERATE_RSYM environment variable.
Dmitry Gorbachev [Mon, 5 Oct 2009 14:13:01 +0000 (14:13 +0000)]
Document ROS_GENERATE_RSYM environment variable.

svn path=/trunk/; revision=43301

14 years agoModify DPRINT / DRPINT1 macros, check if DbgPrint crashed. Bug #4420.
Dmitry Gorbachev [Mon, 5 Oct 2009 14:12:49 +0000 (14:12 +0000)]
Modify DPRINT / DRPINT1 macros, check if DbgPrint crashed. Bug #4420.

svn path=/trunk/; revision=43300

14 years agoFix internal name of ntkrnlmp.exe. Alexander Yastrebov (menone7 ~at~ gmail com),...
Dmitry Gorbachev [Mon, 5 Oct 2009 14:12:33 +0000 (14:12 +0000)]
Fix internal name of ntkrnlmp.exe. Alexander Yastrebov (menone7 ~at~ gmail com), bug #4821.

svn path=/trunk/; revision=43299

14 years ago- fix the mouse swap button issue
Matthias Kupfer [Mon, 5 Oct 2009 11:35:06 +0000 (11:35 +0000)]
- 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

14 years ago - Remove the STATUS_PENDING case in UnlockAndMaybeComplete so we can catch pending...
Cameron Gutman [Mon, 5 Oct 2009 02:31:16 +0000 (02:31 +0000)]
 - 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

14 years ago - Cancel pending user IRPs when we get a IRP_MJ_CLEANUP request
Cameron Gutman [Mon, 5 Oct 2009 01:44:17 +0000 (01:44 +0000)]
 - 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

14 years agoAdd "#pragma code_page(...)" again to fix compilation.
Dmitry Gorbachev [Sun, 4 Oct 2009 22:40:01 +0000 (22:40 +0000)]
Add "#pragma code_page(...)" again to fix compilation.

svn path=/trunk/; revision=43295

14 years agoUpdate German NLS Files in Kernel32
Daniel Reimer [Sun, 4 Oct 2009 22:32:07 +0000 (22:32 +0000)]
Update German NLS Files in Kernel32

svn path=/trunk/; revision=43294

14 years agoAdd Spanish translation of Kernel32, fix translation of ServMan. Javier Remacha,...
Dmitry Gorbachev [Sun, 4 Oct 2009 22:03:21 +0000 (22:03 +0000)]
Add Spanish translation of Kernel32, fix translation of ServMan. Javier Remacha, bug #4872.

svn path=/trunk/; revision=43293

14 years agotemporarily workaround for swap mouse buttons feature
Matthias Kupfer [Sun, 4 Oct 2009 20:45:51 +0000 (20:45 +0000)]
temporarily workaround for swap mouse buttons feature

svn path=/trunk/; revision=43292

14 years ago- Add STATUS_ASSERTION_FAILURE status code required for NT_ASSERT.
Stefan Ginsberg [Sun, 4 Oct 2009 20:19:43 +0000 (20:19 +0000)]
- 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

14 years ago- Return correct status code
Johannes Anderwald [Sun, 4 Oct 2009 20:14:09 +0000 (20:14 +0000)]
- Return correct status code

svn path=/trunk/; revision=43290

14 years ago- Implement Un-Muting of audio lines
Johannes Anderwald [Sun, 4 Oct 2009 19:45:16 +0000 (19:45 +0000)]
- Implement Un-Muting of audio lines
- TBD: SEH probing

svn path=/trunk/; revision=43289

14 years ago- remove double entry in inf
Matthias Kupfer [Sun, 4 Oct 2009 19:28:52 +0000 (19:28 +0000)]
- 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

14 years ago - Don't add the media-specific header until right before transmission
Cameron Gutman [Sun, 4 Oct 2009 19:23:53 +0000 (19:23 +0000)]
 - 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

14 years agoUpdate Spanish translations. Javier Remacha, bug #4872.
Dmitry Gorbachev [Sun, 4 Oct 2009 18:12:14 +0000 (18:12 +0000)]
Update Spanish translations. Javier Remacha, bug #4872.

svn path=/trunk/; revision=43286

14 years ago- Don't call ExFreePool for null pointers
Johannes Anderwald [Sun, 4 Oct 2009 17:39:26 +0000 (17:39 +0000)]
- Don't call ExFreePool for null pointers

svn path=/trunk/; revision=43285

14 years agocorrected magnifying glass cursor
Benedikt Freisen [Sun, 4 Oct 2009 17:25:55 +0000 (17:25 +0000)]
corrected magnifying glass cursor

svn path=/trunk/; revision=43284

14 years agoMega KD64 revival patch:
Stefan Ginsberg [Sun, 4 Oct 2009 16:53:15 +0000 (16:53 +0000)]
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

14 years ago- Convert remaining KEBUGCHECK to KeBugCheck.
Stefan Ginsberg [Sun, 4 Oct 2009 14:48:18 +0000 (14:48 +0000)]
- Convert remaining KEBUGCHECK to KeBugCheck.
- Add HAL_MEMORY_ALLOCATION bug code and use it.

svn path=/trunk/; revision=43282

14 years ago- DragFullWindow property changable via desktop settings / effects
Matthias Kupfer [Sun, 4 Oct 2009 10:50:18 +0000 (10:50 +0000)]
- DragFullWindow property changable via desktop settings / effects
- TODO: adapt desk.cpl to new sysparams implementation

svn path=/trunk/; revision=43281

14 years agoedit.c: Remove TPM_RETURNCMD flag from TrackPopupMenu missed during a recent WINE...
Michael Martin [Sun, 4 Oct 2009 07:26:23 +0000 (07:26 +0000)]
edit.c: Remove TPM_RETURNCMD flag from TrackPopupMenu missed during a recent WINE sync. Most apps that use edit control context menus are back to working. VB apps still crashes as the context menu implementation for edit controls is slightly wrong.

svn path=/trunk/; revision=43280

14 years ago - Put some code back which was removed in r43270
Cameron Gutman [Sun, 4 Oct 2009 03:55:34 +0000 (03:55 +0000)]
 - Put some code back which was removed in r43270

svn path=/trunk/; revision=43279

14 years agouse __debugbreak() insetad of EngDebugBreak()
Timo Kreuzer [Sun, 4 Oct 2009 00:04:38 +0000 (00:04 +0000)]
use __debugbreak() insetad of EngDebugBreak()
dedicated to Alex

svn path=/trunk/; revision=43278

14 years ago- Dont need this then.
James Tabor [Sat, 3 Oct 2009 23:42:06 +0000 (23:42 +0000)]
- Dont need this then.

svn path=/trunk/; revision=43277

14 years ago- Use TIF in cleanup flag.
James Tabor [Sat, 3 Oct 2009 23:39:30 +0000 (23:39 +0000)]
- Use TIF in cleanup flag.

svn path=/trunk/; revision=43276

14 years ago - Add cancellation support for IOCTL_AFD_SELECT
Cameron Gutman [Sat, 3 Oct 2009 21:34:34 +0000 (21:34 +0000)]
 - Add cancellation support for IOCTL_AFD_SELECT
 - Fix release build

svn path=/trunk/; revision=43275

14 years ago - Implement IRP cancellation for AFD
Cameron Gutman [Sat, 3 Oct 2009 20:52:54 +0000 (20:52 +0000)]
 - Implement IRP cancellation for AFD
 - Fixes "Broken driver did not complete!" showing up in the debug log (especially during winetests)

svn path=/trunk/; revision=43274

14 years agoWINLDR: Finally, set Windows boot style as default
Hervé Poussineau [Sat, 3 Oct 2009 20:09:57 +0000 (20:09 +0000)]
WINLDR: Finally, set Windows boot style as default
Many thanks to Fireball and Alex for your hard work on Windows boot style

svn path=/trunk/; revision=43273

14 years ago[usetup] Simplify creation of entries in freeldr.ini
Hervé Poussineau [Sat, 3 Oct 2009 19:43:29 +0000 (19:43 +0000)]
[usetup] Simplify creation of entries in freeldr.ini

svn path=/trunk/; revision=43272

14 years ago[freeldr] Remove MachDiskGetPartitionEntry, and directly use the correct one
Hervé Poussineau [Sat, 3 Oct 2009 18:41:10 +0000 (18:41 +0000)]
[freeldr] Remove MachDiskGetPartitionEntry, and directly use the correct one
Remove PpcDiskNormalizeSystemPath(), it was the same as DiskNormalizeSystemPath()

svn path=/trunk/; revision=43271

14 years ago - Fix the crash in ws2_32_winetest during the ioctlsocket test
Cameron Gutman [Sat, 3 Oct 2009 18:21:14 +0000 (18:21 +0000)]
 - Fix the crash in ws2_32_winetest during the ioctlsocket test
 - Pass the blocking mode down to AFD
 - Dedicated to encoded

svn path=/trunk/; revision=43270

14 years ago- consider DragFullWindows-value from Registry
Matthias Kupfer [Sat, 3 Oct 2009 17:13:02 +0000 (17:13 +0000)]
- consider DragFullWindows-value from Registry

svn path=/trunk/; revision=43269

14 years ago[freeldr] Remove (Mach)DiskGetBootDevice, DiskGetBootVolume, DiskGetSystemVolume...
Hervé Poussineau [Sat, 3 Oct 2009 17:00:29 +0000 (17:00 +0000)]
[freeldr] Remove (Mach)DiskGetBootDevice, DiskGetBootVolume, DiskGetSystemVolume, FsRecognizeVolume
This commit breaks ext2 driver in freeldr, which needs to use ArcSeek/ArcRead/Arc* instead of DiskGetBootVolume/MachDiskReadLogicalSectors

svn path=/trunk/; revision=43268

14 years agoRework FAT filesystem to not be tied to boot filesystem
Hervé Poussineau [Sat, 3 Oct 2009 16:47:54 +0000 (16:47 +0000)]
Rework FAT filesystem to not be tied to boot filesystem

svn path=/trunk/; revision=43267

14 years ago* only show message box on exit if the image has not been saved and is not blank
Benedikt Freisen [Sat, 3 Oct 2009 16:33:41 +0000 (16:33 +0000)]
* only show message box on exit if the image has not been saved and is not blank
* set as wallpaper: now working, setting wallpaper style: not yet
* made number of undo-steps changeable through define-statement; increased to 10 (see original)
* zoom tool got its track bar (see original)

svn path=/trunk/; revision=43266

14 years ago- Replace some x86 assembly in drivers with portable breakpoint support.
Stefan Ginsberg [Sat, 3 Oct 2009 14:15:46 +0000 (14:15 +0000)]
- Replace some x86 assembly in drivers with portable breakpoint support.

svn path=/trunk/; revision=43265

14 years ago[freeldr] Fix warning on recent GCC versions
Hervé Poussineau [Sat, 3 Oct 2009 13:29:41 +0000 (13:29 +0000)]
[freeldr] Fix warning on recent GCC versions

svn path=/trunk/; revision=43264

14 years ago[freeldr] Code code specific to ARC emulation to its own directory
Hervé Poussineau [Sat, 3 Oct 2009 13:11:22 +0000 (13:11 +0000)]
[freeldr] Code code specific to ARC emulation to its own directory

svn path=/trunk/; revision=43263

14 years ago[freeldr] It's easy to check if we booted from a floppy thanks to boot path. No need...
Hervé Poussineau [Sat, 3 Oct 2009 12:49:14 +0000 (12:49 +0000)]
[freeldr] It's easy to check if we booted from a floppy thanks to boot path. No need to maintain a machine callback for that

svn path=/trunk/; revision=43262

14 years agoWINLDR: Move i386 specific code to its own file
Hervé Poussineau [Sat, 3 Oct 2009 12:36:52 +0000 (12:36 +0000)]
WINLDR: Move i386 specific code to its own file

svn path=/trunk/; revision=43261

14 years ago- Implement delete of the program information from the registry
Dmitry Chapyshev [Sat, 3 Oct 2009 09:34:19 +0000 (09:34 +0000)]
- Implement delete of the program information from the registry
- Store settings information in HKEY_LOCAL_MACHINE instead HKEY_CURRENT_USER

svn path=/trunk/; revision=43260

14 years ago- Prevent kernel bug check in win32k when calling a hook proc when thread is in cleanup.
James Tabor [Sat, 3 Oct 2009 02:30:47 +0000 (02:30 +0000)]
- Prevent kernel bug check in win32k when calling a hook proc when thread is in cleanup.
- This is not a hack and not a fix. Please retest related bug report applications. Tested Firefox 3.5 and the new putty. Need new debug print outs. ATM Ff 3.5 send out WH_JOURNALRECORD hook calls when the thread is in cleanup. Look like this: Thread is in cleanup and trying to call hook 0
- Reference bug 4298.

svn path=/trunk/; revision=43259

14 years ago- Add KSPROPSETID_Audio guid
Johannes Anderwald [Fri, 2 Oct 2009 21:55:53 +0000 (21:55 +0000)]
- Add KSPROPSETID_Audio guid
- Allocate data format after successful initialization of IPinWaveCyclic
- Store Miniport Adapter in subdevice descriptor
- Implement GUID_NULL handler for topology nodes
- Implement setting / retrieving properties for topology nodes

svn path=/trunk/; revision=43258

14 years ago[fastfat_new]
Aleksey Bragin [Fri, 2 Oct 2009 17:07:37 +0000 (17:07 +0000)]
[fastfat_new]
- Don't leak VCB lock, prevents hang when trying to open another file.

svn path=/trunk/; revision=43257

14 years ago[fastfat_new]
Aleksey Bragin [Fri, 2 Oct 2009 13:59:51 +0000 (13:59 +0000)]
[fastfat_new]
- Fail with an error if file can't be opened.
- Implement FatCreateDcb, actually create DCBs for all parsed directories in the path.
- Set file size in an advanced FSRTL header for a file.
- Implement a small helper function for setting full names in FCB/DCB like it's done in the reference driver.

svn path=/trunk/; revision=43256

14 years ago[fullfat]
Aleksey Bragin [Fri, 2 Oct 2009 11:56:03 +0000 (11:56 +0000)]
[fullfat]
- Substitute more "free" to FF_Free function.

svn path=/trunk/; revision=43255

14 years ago- Rewrite Wave API to enumerate wave out / in devices at startup
Johannes Anderwald [Fri, 2 Oct 2009 10:57:24 +0000 (10:57 +0000)]
- Rewrite Wave API to enumerate wave out / in devices at startup
- Improves speedup of application minus short delay in system boot
- Enumerate controls for source and destination lines

svn path=/trunk/; revision=43254

14 years ago- Check if NodeId is out of bounds
Johannes Anderwald [Fri, 2 Oct 2009 10:53:36 +0000 (10:53 +0000)]
- Check if NodeId is out of bounds
- Return correct status code

svn path=/trunk/; revision=43253

14 years ago[fastfat_new]
Aleksey Bragin [Fri, 2 Oct 2009 10:49:57 +0000 (10:49 +0000)]
[fastfat_new]
- Implement querying standard information (important for getting correct file size).
- Substitute CcMap/copy/Unpin by CcCopyRead in FatReadBlocks.
- Take offset into account (seek) in file read operation. Fixes always reading files from the beginning.

svn path=/trunk/; revision=43252

14 years ago - Get the length from each packet header instead of assuming that all packets will...
Cameron Gutman [Thu, 1 Oct 2009 21:00:41 +0000 (21:00 +0000)]
 - Get the length from each packet header instead of assuming that all packets will be the length of the first one

svn path=/trunk/; revision=43251

14 years ago[fastfat_new]
Aleksey Bragin [Thu, 1 Oct 2009 16:08:11 +0000 (16:08 +0000)]
[fastfat_new]
- Implement simple read support.
- Rewrite FatMapUserBuffer, no exception raising necessary at this stage.
- Silence FatReadBlocks dbgprint.

svn path=/trunk/; revision=43250

14 years ago- Fix MSVC YieldProcessor macro
Stefan Ginsberg [Thu, 1 Oct 2009 14:18:54 +0000 (14:18 +0000)]
- Fix MSVC YieldProcessor macro

svn path=/trunk/; revision=43249

14 years ago- Kill leftover __USE_W32API
Stefan Ginsberg [Thu, 1 Oct 2009 14:18:18 +0000 (14:18 +0000)]
- Kill leftover __USE_W32API

svn path=/trunk/; revision=43248

14 years ago[fastfat_new]
Aleksey Bragin [Thu, 1 Oct 2009 13:21:28 +0000 (13:21 +0000)]
[fastfat_new]
- Open a file in FatiOpenExistingFile by means of FullFAT library.
- Fix incorrect fullfat placement in fasfat.rbuild.
- Hack StreamFileObject to be 5Gb in length instead of 512 bytes. It'll be set to the size of an underlying physical device later.
- Add FF file handle to FCB structure.

svn path=/trunk/; revision=43247

14 years ago- Add usbdlib.h
Johannes Anderwald [Wed, 30 Sep 2009 23:58:04 +0000 (23:58 +0000)]
- Add usbdlib.h

svn path=/trunk/; revision=43246

14 years agoPatch by Viliam Lejcik (lejcik =at= gmail com). Fixes bug #4858. With the blessing...
Dmitry Gorbachev [Wed, 30 Sep 2009 20:59:21 +0000 (20:59 +0000)]
Patch by Viliam Lejcik (lejcik =at= gmail com). Fixes bug #4858. With the blessing of Ged Murphy.

svn path=/trunk/; revision=43245

14 years agoReactOS SMP Bringup Lite:
Stefan Ginsberg [Wed, 30 Sep 2009 20:30:57 +0000 (20:30 +0000)]
ReactOS SMP Bringup Lite:
- Add simple and hacky spinlock implementation to HAL and kernel. It treats queued spinlocks as normal spinlocks and does not support debug timeout, but works well enough to expose bugs in spinlock usage.
- Implement KiProcessDeferredReadyList, a simple wrapper around KiDeferredReadyThread.
- Add missing PRCB locking in KiDeferredReadyThread.
- Implement SMP handling in KiRetireDpcList.
- Acquire the spinlock in KeSynchronizeExecution for SMP.
- Stub and export Kii386SpinOnSpinLock -- not used yet.
- Fix locking in KiAcquire/ReleaseDispatcherLockAtDpcLevel -- KeAcquireQueuedSpinLockAtDpcLevel takes the lock queue pointer, not the index.
- "Implement" KiRundownThread for SMP.
- Fix some sanity checks in the SMP context switch code and implement a stubbed SMP case.
- Define SYNCH_LEVEL in asm.h and use it in HAL's KeRaiseIrqlToSynchLevel.

To try the MP kernel on UP (it does not work on multiple processors yet) compile ntkrnlmp, rename it to ntoskrnl and add it to your installation. This requires a HAL with CONFIG_SMP enabled in HAL's spinlock.c and irq.S. Booting with the MP kernel does not work because of a weird regression introduced sometime in the last few months --  it appears MmProbeAndLockPages fails for a user mode stack pointer (no, I have no idea why).

svn path=/trunk/; revision=43244

14 years ago- ASSERT on NULL-frees
Stefan Ginsberg [Wed, 30 Sep 2009 19:29:08 +0000 (19:29 +0000)]
- ASSERT on NULL-frees

svn path=/trunk/; revision=43243

14 years ago- Several bugfixes for mixer source / destination line detection code
Johannes Anderwald [Wed, 30 Sep 2009 18:58:52 +0000 (18:58 +0000)]
- Several bugfixes for mixer source / destination line detection code
- Fix a memory leak

svn path=/trunk/; revision=43242

14 years ago- KeBugCheckEx expects BugCheckParameter2 to point to an array when the bug code...
Stefan Ginsberg [Wed, 30 Sep 2009 18:31:26 +0000 (18:31 +0000)]
- KeBugCheckEx expects BugCheckParameter2 to point to an array when the bug code is FATAL_UNHANDLED_HARD_ERROR -- properly stub out ExpSystemErrorHandler so we don't crash in KeBugCheckEx.

svn path=/trunk/; revision=43241

14 years ago- Fix recursive spinlock acquisition in Mm caused by locking inconsistency between...
Stefan Ginsberg [Wed, 30 Sep 2009 18:24:00 +0000 (18:24 +0000)]
- Fix recursive spinlock acquisition in Mm caused by locking inconsistency between ARM3 and the old ReactOS Mm. The old Mm calls certain routines to modify PFN entries (lock, unlock, reference, dereference, etc) and acquires/releases the PFN lock inside those functions (which is extremely inefficient as you can't, for example, have to acquire/release the PFN lock twice to reference and lock the same page), while ARM3 synchronizes differently and holds the lock while calling those routines, resulting in a recursive lock attempt on MP (which works on UP because spinlocks are just IRQL raise/lower there). Move out locking from MmAllocPage, MmReference/DereferencePage and MmLock/UnlockPage to the callers to be consistent with ARM3.
- Add missing PFN locking to MmFreePagesFromMdl and MiAllocatePoolPages.
- Get rid of MmLockPageUnsafe and MmReferencePageUnsafe. The "safe" routines just forwarded to the unsafe versions -- call them directly instead. Remove unused MmAcquirePageListLock/MmReleasePageListLock.

svn path=/trunk/; revision=43240

14 years ago[fastfat_new]
Aleksey Bragin [Wed, 30 Sep 2009 16:16:18 +0000 (16:16 +0000)]
[fastfat_new]
- Partially implement a codepath for opening an existing file.
- Implement simple FCB and CCB creation.
- Correctly set FILE_OBJECT fields.
- Allocate space for SECTION_POINTERS.
- Implement some misc in FatQueryInformation.
- The driver goes up to getting a read request for ntdll.dll.

svn path=/trunk/; revision=43239

14 years ago- ...and this one.
Stefan Ginsberg [Wed, 30 Sep 2009 13:43:55 +0000 (13:43 +0000)]
- ...and this one.

svn path=/trunk/; revision=43238

14 years ago- Missed this one
Stefan Ginsberg [Wed, 30 Sep 2009 13:33:48 +0000 (13:33 +0000)]
- Missed this one

svn path=/trunk/; revision=43237

14 years ago- Goodbye __USE_W32API
Stefan Ginsberg [Wed, 30 Sep 2009 13:32:05 +0000 (13:32 +0000)]
- Goodbye __USE_W32API

svn path=/trunk/; revision=43236

14 years ago- Good bye __USE_W32API, _DISABLE_TIDENTS
Stefan Ginsberg [Wed, 30 Sep 2009 13:31:50 +0000 (13:31 +0000)]
- Good bye __USE_W32API, _DISABLE_TIDENTS

svn path=/trunk/; revision=43235

14 years ago- Remove the remaining __USE_W32API, deprecated for ages.
Stefan Ginsberg [Wed, 30 Sep 2009 13:28:51 +0000 (13:28 +0000)]
- Remove the remaining __USE_W32API, deprecated for ages.
- Remove _SEH_NO_NATIVE_NLG from msvcrt.rbuild, deprecated long ago.
- Get rid of __NO_CTYPE_INLINES for everything but host tools, deprecated since revision 38052.
- Deprecate and remove _DISABLE_TIDENTS.

svn path=/trunk/; revision=43234

14 years ago- simplify the code a bit
Kamil Hornicek [Wed, 30 Sep 2009 12:59:06 +0000 (12:59 +0000)]
- simplify the code a bit

svn path=/trunk/; revision=43233

14 years ago- add wglUseFontOutlines, wglUseFontBitmaps
Kamil Hornicek [Wed, 30 Sep 2009 12:12:56 +0000 (12:12 +0000)]
- add wglUseFontOutlines, wglUseFontBitmaps
- code ported (rearranged, simplified, fixed memory leaks, removed unneeded variables) from Mesa3D glDirect driver (c) SciTech Software, Inc
- more work needed but 3D text screen saver finally renders at least something

svn path=/trunk/; revision=43232

14 years ago- Store destination line in LineList
Johannes Anderwald [Wed, 30 Sep 2009 10:32:15 +0000 (10:32 +0000)]
- Store destination line in LineList
- Implement WdmAudGetLineInfo for MIXER_GETLINEINFOF_LINEID
- Add a hack for WdmAudGetLineControls for MIXER_GETLINECONTROLSF_ONEBYTYPE

svn path=/trunk/; revision=43231

14 years ago - Uncomment some SYN handling code
Cameron Gutman [Wed, 30 Sep 2009 03:44:44 +0000 (03:44 +0000)]
 - Uncomment some SYN handling code
 - Enable a ROS-specific hack because oskittcp doesn't know about all interfaces in the system
 - Small cleanup of code

svn path=/trunk/; revision=43230

14 years ago - Fix a nasty bug that caused us to exit the loop before sending all the data
Cameron Gutman [Wed, 30 Sep 2009 01:30:45 +0000 (01:30 +0000)]
 - Fix a nasty bug that caused us to exit the loop before sending all the data

svn path=/trunk/; revision=43229

14 years ago - Sync the ACK hack with the last oskit release
Cameron Gutman [Tue, 29 Sep 2009 23:14:21 +0000 (23:14 +0000)]
 - Sync the ACK hack with the last oskit release

svn path=/trunk/; revision=43228

14 years agoReapply r43141: Remove now unneeded ARC cdrom hack in NTLDR boot-style. We're now...
Hervé Poussineau [Tue, 29 Sep 2009 20:01:20 +0000 (20:01 +0000)]
Reapply r43141: Remove now unneeded ARC cdrom hack in NTLDR boot-style. We're now able to boot from a LiveCD, even if ReactOS directory is not "reactos"
Keep the existing hack for FreeLdr boot-style, which should be removed one day

svn path=/trunk/; revision=43227

14 years ago- Italian & english translation of ks.inf
Johannes Anderwald [Tue, 29 Sep 2009 18:03:41 +0000 (18:03 +0000)]
- Italian & english translation of ks.inf
- Patch by Gabriel Ilardi (gabriel_it)

svn path=/trunk/; revision=43226

14 years ago[fastfat_new]
Aleksey Bragin [Tue, 29 Sep 2009 13:09:16 +0000 (13:09 +0000)]
[fastfat_new]
- Add directory path parsing which tries to find existing FCBs for path names.
- Add a framework for creating DCBs during path dissection. Currently just prints out path names.
- Cleanup fcb.c, Alexey Vlasov's version was great, but it is a bit different from what I want to implement now.

svn path=/trunk/; revision=43225

14 years ago- Implement enumerating mixer source and destination lines
Johannes Anderwald [Tue, 29 Sep 2009 12:26:48 +0000 (12:26 +0000)]
- Implement enumerating mixer source and destination lines

svn path=/trunk/; revision=43224

14 years ago- Implement PcHandlePropertyWithTable
Johannes Anderwald [Tue, 29 Sep 2009 10:46:30 +0000 (10:46 +0000)]
- Implement PcHandlePropertyWithTable
- Use PcHandlePropertyWithTable to handle IOCTL_KS_PROPERTY requests
- Remove dead code

svn path=/trunk/; revision=43223

14 years ago[fastfat_new]
Aleksey Bragin [Tue, 29 Sep 2009 10:08:43 +0000 (10:08 +0000)]
[fastfat_new]
- Start integrating FullFAT library.
- Current state is that it's able to mount a FAT volume.

svn path=/trunk/; revision=43222

14 years ago[fullfat]
Aleksey Bragin [Tue, 29 Sep 2009 09:14:08 +0000 (09:14 +0000)]
[fullfat]
- Remove all malloc/free usage in the library and substitute them by user-provided FF_Malloc and FF_Free functions.
- Cleanup fullfat.rbuild.

svn path=/trunk/; revision=43221

14 years ago- Add GraphApp, Ext2 and X to the list of acknowledged projects.
James Tabor [Tue, 29 Sep 2009 04:01:30 +0000 (04:01 +0000)]
- Add GraphApp, Ext2 and X to the list of acknowledged projects.

svn path=/trunk/; revision=43220

14 years ago- Retrieve the correct pin name
Johannes Anderwald [Tue, 29 Sep 2009 00:25:05 +0000 (00:25 +0000)]
- Retrieve the correct pin name

svn path=/trunk/; revision=43219

14 years agoAdd 1152x864, 1280x1024, and 1600x1200 modes.
Dmitry Gorbachev [Mon, 28 Sep 2009 20:46:44 +0000 (20:46 +0000)]
Add 1152x864, 1280x1024, and 1600x1200 modes.

svn path=/trunk/; revision=43218

14 years agoFix some bugs.
Dmitry Gorbachev [Mon, 28 Sep 2009 20:46:30 +0000 (20:46 +0000)]
Fix some bugs.

svn path=/trunk/; revision=43217

14 years agoDo not copy those structures twice.
Dmitry Gorbachev [Mon, 28 Sep 2009 20:46:19 +0000 (20:46 +0000)]
Do not copy those structures twice.

svn path=/trunk/; revision=43216

14 years agoErm, thanks Timo...
Stefan Ginsberg [Mon, 28 Sep 2009 20:34:11 +0000 (20:34 +0000)]
Erm, thanks Timo...

svn path=/trunk/; revision=43215

14 years ago- Fix Winetests build after sddkver.h update (and why the hell isn't the build server...
Stefan Ginsberg [Mon, 28 Sep 2009 20:25:30 +0000 (20:25 +0000)]
- Fix Winetests build after sddkver.h update (and why the hell isn't the build server building the tests anymore???)

svn path=/trunk/; revision=43214

14 years ago- Thanks Stefan.
Aleksey Bragin [Mon, 28 Sep 2009 18:43:27 +0000 (18:43 +0000)]
- Thanks Stefan.

svn path=/trunk/; revision=43213

14 years ago- Import FullFAT and add it to build.
Aleksey Bragin [Mon, 28 Sep 2009 18:41:51 +0000 (18:41 +0000)]
- Import FullFAT and add it to build.

svn path=/trunk/; revision=43212

14 years agoCorrection to 36917: EPROFILE/KPROFILE.Segment is pointer sized, not a pointer.
Stefan Ginsberg [Mon, 28 Sep 2009 18:27:06 +0000 (18:27 +0000)]
Correction to 36917: EPROFILE/KPROFILE.Segment is pointer sized, not a pointer.

svn path=/trunk/; revision=43211

14 years ago- Add ks.inf
Johannes Anderwald [Mon, 28 Sep 2009 18:12:40 +0000 (18:12 +0000)]
- Add ks.inf
- ATM, only german is available, and is also the default

svn path=/trunk/; revision=43209

14 years ago[fastfat_new]
Aleksey Bragin [Mon, 28 Sep 2009 18:04:31 +0000 (18:04 +0000)]
[fastfat_new]
- Create root DCB when mounting a volume.

svn path=/trunk/; revision=43207

14 years ago- Comment fixes
Stefan Ginsberg [Mon, 28 Sep 2009 18:02:45 +0000 (18:02 +0000)]
- Comment fixes

svn path=/trunk/; revision=43206

14 years agoHey Arch, how do you expect kernel32 to build with Microsoft's headers if you define...
Stefan Ginsberg [Mon, 28 Sep 2009 17:45:23 +0000 (17:45 +0000)]
Hey Arch, how do you expect kernel32 to build with Microsoft's headers if you define a NTDDI_VERSION that conflicts with _WIN32_WINNT and makes sdkddkver.h cry? Remove the conflicting define from the .rbuild and redefine it in the header before including the NDK (this is needed because we need Vista types from the PSDK but require 2003 types from the NDK -- glorious, eh?).

Prepare sddkver.h for mingw-w64 import:
- Point out the fact that the header is in the public domain.
- Add some missing stuff, including a NTDDI_VERSION sanity check.
- Format fixes, add some comments

svn path=/trunk/; revision=43205

14 years ago- Implement KSPROPERTY_PIN_NAME properly
Johannes Anderwald [Mon, 28 Sep 2009 13:33:17 +0000 (13:33 +0000)]
- Implement KSPROPERTY_PIN_NAME properly
- KsPinPropertyHandler does *NOT* set Status in the IRP

svn path=/trunk/; revision=43204