Commit graph

32412 commits

Author SHA1 Message Date
Cameron Gutman 86ab49ef00 - Add myself to credits :)
svn path=/trunk/; revision=35585
2008-08-24 01:56:56 +00:00
Cameron Gutman dbc052ab84 - Merge aicom-network-fixes up to r35583
svn path=/trunk/; revision=35584
2008-08-24 01:53:58 +00:00
Art Yerkes 978a879fe9 Catch failure to release the cancel spinlock. Would've spotted my error in
tcpip.sys.

svn path=/trunk/; revision=35581
2008-08-23 23:04:15 +00:00
Cameron Gutman 0819ff13a1 - Enable the failure debug prints in MsafdReturnWithErrno
- They shouldn't spam the debug log and they're a great way to tell if something is going wrong in the network stack

svn path=/trunk/; revision=35580
2008-08-23 22:42:44 +00:00
Cameron Gutman 6d866748fb - Remove a hack not needed because of r35575
svn path=/trunk/; revision=35576
2008-08-23 20:27:26 +00:00
Cameron Gutman 5194ea09e3 - Release the cancel spin lock before returning
- Revert some unintentional changes made in r35485

svn path=/trunk/; revision=35575
2008-08-23 20:21:15 +00:00
Johannes Anderwald 132a5a7354 - Refresh treeview when a folder item is deleted
svn path=/trunk/; revision=35572
2008-08-23 18:10:04 +00:00
Gregor Brunmar 8a1dfee7ce This seems to be more correct
svn path=/trunk/; revision=35571
2008-08-23 17:52:35 +00:00
Johannes Anderwald c607aa3f2b - Check if source and destination is the same. Fixes creating a new directory and using the default name
- Prevent a potential buffer overflow in the file properties dialog

svn path=/trunk/; revision=35570
2008-08-23 17:32:17 +00:00
Johannes Anderwald 91c726edc7 - Pass the msi package in quotes
- Fixes launching msi packages from directories with spaces
- See bug 3342

svn path=/trunk/; revision=35569
2008-08-23 17:26:26 +00:00
Gregor Brunmar 07147e6a3c * Refactored GetDirect3D9AdapterInfo() to make life a little easier in InitD3D9BaseDevice().
* Filled IDirect3DDevice9::DeviceData[] with correct info

svn path=/trunk/; revision=35568
2008-08-23 17:24:27 +00:00
Stefan Ginsberg 48021764b4 - Add THREAD_TERMINATE_HELD_MUTEX bugcode and make use of it
svn path=/trunk/; revision=35567
2008-08-23 17:16:16 +00:00
Aleksey Bragin e8d5b46ac4 - Implement IopGetRegistryValue (complementary function to IopOpenRegistryKeyEx). Not used yet.
svn path=/trunk/; revision=35566
2008-08-23 17:11:12 +00:00
Stefan Ginsberg 5cf8b31211 - In IoAcquire/ReleaseCancelSpinLock, use the queued "IopCancelSpinLock" instead of a ros-specific "CancelSpinLock" standard spinlock
- Misc fixes

svn path=/trunk/; revision=35565
2008-08-23 16:30:14 +00:00
Gregor Brunmar 3291fc11c0 Added missing documentation
svn path=/trunk/; revision=35564
2008-08-23 15:17:00 +00:00
Gregor Brunmar ce56b08815 * Refactored D3D9 structures a bit
* Started implementing IDirect3D9::CreateDevice()

svn path=/trunk/; revision=35563
2008-08-23 15:01:19 +00:00
Hervé Poussineau 94c1c807bc Fix typo
svn path=/trunk/; revision=35562
2008-08-23 14:43:30 +00:00
Aleksey Bragin fed8bf35b4 - Perform volume operations as described in http://msdn.microsoft.com/en-us/library/aa364562(VS.85).aspx : Open, Lock, Work, Dismount, Unlock, Close.
- Our fastfat driver doesn't support lock/unlock and dismount operations, so no improvement yet.

svn path=/trunk/; revision=35560
2008-08-23 11:41:04 +00:00
Aleksey Bragin ccfc2dc23d - Fix fs_isdirty prototype, since there is no need to pass DriveRoot there.
svn path=/trunk/; revision=35559
2008-08-23 10:49:57 +00:00
Aleksey Bragin f460c4e31c - Remove a hack around sending FSCTL_ to an opened volume handle, it works good enough without the need to open another handle to the file system.
svn path=/trunk/; revision=35558
2008-08-23 10:47:52 +00:00
Art Yerkes 6156320103 Silence debug spew.
svn path=/trunk/; revision=35557
2008-08-23 10:13:14 +00:00
Art Yerkes f2bd7ae8a0 Restore cancellation for proper socket shutdown.
svn path=/trunk/; revision=35555
2008-08-23 09:49:57 +00:00
Hervé Poussineau 0720856576 Add new devices at start of list, not end. Order is now like in pre-r35543
svn path=/trunk/; revision=35554
2008-08-23 09:43:56 +00:00
Art Yerkes 30108cfd31 Should've done this a long time ago. Just noticed that we're potentially
sending a bunch of 0 handles into AfdSelect.

svn path=/trunk/; revision=35553
2008-08-23 09:01:29 +00:00
Aleksey Bragin c0e1bccba7 - Silence "Font loaded" debug print, which was mistakingly promoted to DPRINT in r35184.
svn path=/trunk/; revision=35552
2008-08-23 08:10:15 +00:00
Art Yerkes 1a6f6971b8 Hand merge a lost change from aicom-network-fixes.
svn path=/trunk/; revision=35551
2008-08-23 07:39:02 +00:00
Art Yerkes db4dc32f9f Merge aicom-network-fixes up to 35538
svn path=/trunk/; revision=35550
2008-08-23 07:20:22 +00:00
Hervé Poussineau 16553f0003 Remove useless 'if'
svn path=/trunk/; revision=35545
2008-08-22 22:13:46 +00:00
Hervé Poussineau 7380fcd1f4 LONG -> NTSTATUS
svn path=/trunk/; revision=35544
2008-08-22 22:11:49 +00:00
Hervé Poussineau dcc142c4a1 Fix device node structure to be compatible with MS Windows Vista
Send GUID_DEVICE_ENUMERATED event
umpnpmgr: react on GUID_DEVICE_ENUMERATED, not GUID_DEVICE_ARRIVAL
IopEnumerateDevice: Set DNF_ENUMERATED and DO_BUS_ENUMERATED_DEVICE when required
IopEnumerateDevice: Continue to process PDOs, even if one failed

svn path=/trunk/; revision=35543
2008-08-22 21:43:42 +00:00
Stefan Ginsberg 03d12cf07b - Remove a LIST_FOR_EACH
- ASSERTify 2 assumptions
- Rename "ListEntry" to "NextEntry" for clarification

svn path=/trunk/; revision=35542
2008-08-22 21:24:31 +00:00
Johannes Anderwald df9f666602 * When clicking on the desktop background, there is no item selected, thus, apidl is null
* Fixes bug 3676

svn path=/trunk/; revision=35540
2008-08-22 20:07:14 +00:00
Hervé Poussineau 60ef511bb8 DEVICE_RELATIONS->Count is ULONG
svn path=/trunk/; revision=35535
2008-08-22 19:08:25 +00:00
Hervé Poussineau 44fdf97ae2 Calling IoSynchronousInvalidateDeviceRelations with type TargetDeviceRelation returns success.
Spotted by Alex

svn path=/trunk/; revision=35534
2008-08-22 19:06:25 +00:00
Hervé Poussineau 70f34a3756 Move most of the code of IoSynchronousInvalidateDeviceRelations to IopEnumerateDevice, and use it when possible
Fix IoSynchronousInvalidateDeviceRelations prototype

svn path=/trunk/; revision=35533
2008-08-22 19:00:31 +00:00
Hervé Poussineau bf702f35f2 Clean up code by removing now useless parts
Replace 3rd arg of IopActionInitChildServices by a global variable (removes a pointer cast)
IopStartDevice: no need to get top of stack, IopInitiatePnpIrp does it for us

svn path=/trunk/; revision=35532
2008-08-22 17:47:13 +00:00
Stefan Ginsberg b129412701 - Replace more magic values with symbolic constants
- Fix a peculiar header duplication

svn path=/trunk/; revision=35531
2008-08-22 14:55:20 +00:00
Jeffrey Morlan 8b52a8e50a - Extract the line-reading code in ProcessInput to a separate function (ReadLine) that the parser can call. Now line continuations (using ^ at the end of a line) and multi-line parenthesized blocks work.
- ReadBatchLine: Don't strip the trailing \n, the parser needs it. Remove handling of :labels and @quiet commands, now done by the parser.
- ReadCommand: Add a \n to the line. Move PrintPrompt call out, since the prompt shouldn't be printed for additional lines read in a command beyond the first.

svn path=/trunk/; revision=35530
2008-08-22 14:37:11 +00:00
Stefan Ginsberg 16ab5c9a07 - Add EFLAGS_IOPL to asm.h and make use of it in assembly
- Fix a potential 64-bit warning in handle.c
- Comment fixes

svn path=/trunk/; revision=35529
2008-08-22 14:29:01 +00:00
Art Yerkes f1fe2984b3 Commit bugboy's patch from bug 2392, and remove DeviceDesc, which isn't needed
anymore.

svn path=/trunk/; revision=35523
2008-08-22 05:58:56 +00:00
Stefan Ginsberg 7e8e8407d0 - Fix kernel mode debug output broken in 35520
- Patch by Alex

svn path=/trunk/; revision=35522
2008-08-22 00:39:26 +00:00
Stefan Ginsberg 81af67a6fe - Use correct bug code when crashing due to closing a protected handle
- Add INVALID_KERNEL_HANDLE bug code

svn path=/trunk/; revision=35521
2008-08-22 00:26:52 +00:00
Stefan Ginsberg b9a32878e1 - Patch by Alex Ionescu: Fix a typo, and code cleanup
svn path=/trunk/; revision=35520
2008-08-21 22:41:17 +00:00
Stefan Ginsberg ea3057f862 - Change ASSERT to C_ASSERT
svn path=/trunk/; revision=35519
2008-08-21 21:25:16 +00:00
Aleksey Bragin 83029d2dd8 - "When releasing the gmutex my awesome code was removing the woken flag" (c) Alex Ionescu.
svn path=/trunk/; revision=35516
2008-08-21 21:07:52 +00:00
Jeffrey Morlan 4cdc27c1a2 - Begin writing a real parser for cmd. &, &&, ||, and () are implemented. The parenthesized blocks aren't too useful yet as the parser can't read additional lines; doing this will require some restructuring in cmd.c.
- Remove ^-removing hacks in echo and set.

svn path=/trunk/; revision=35514
2008-08-21 20:18:35 +00:00
Jeffrey Morlan 07912f2b23 - Implement X>&Y redirections. Hold redirections in a linked list structure, because order matters (>x 2>&1 is not the same as 2>&1 >x). Allow redirection of any handle number from 0 to 9.
- Allow quotes around the redirection file name.
- Batch: Fix buffer overflow bug (incorrect size for bc->BatchFilePath)

svn path=/trunk/; revision=35508
2008-08-21 15:33:59 +00:00
Aleksey Bragin 4af7567008 - Add missing MmCallDllInitialize prototype.
- Make IopOpenRegistryKeyEx NTAPI.
- Patch by Alex Ionescu.

svn path=/trunk/; revision=35503
2008-08-21 11:04:50 +00:00
Aleksey Bragin d1213e5977 - Fix definition of BOOT_DRIVER_LIST_ENTRY (Information provided by Alex Ionescu).
svn path=/trunk/; revision=35502
2008-08-21 10:58:53 +00:00
Art Yerkes 36b8b4a111 Merge aicom-network-fixes up to 35486
svn path=/trunk/; revision=35499
2008-08-21 03:38:49 +00:00