Commit graph

39027 commits

Author SHA1 Message Date
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
Matthias Kupfer eb721653ab - DragFullWindow property changable via desktop settings / effects
- TODO: adapt desk.cpl to new sysparams implementation

svn path=/trunk/; revision=43281
2009-10-04 10:50:18 +00:00
Michael Martin b7725b3fcc 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
2009-10-04 07:26:23 +00:00
Cameron Gutman fe8bd01634 - Put some code back which was removed in r43270
svn path=/trunk/; revision=43279
2009-10-04 03:55:34 +00:00
Timo Kreuzer d6a01aca0e use __debugbreak() insetad of EngDebugBreak()
dedicated to Alex

svn path=/trunk/; revision=43278
2009-10-04 00:04:38 +00:00
James Tabor 62444813bb - Dont need this then.
svn path=/trunk/; revision=43277
2009-10-03 23:42:06 +00:00
James Tabor a466f21e52 - Use TIF in cleanup flag.
svn path=/trunk/; revision=43276
2009-10-03 23:39:30 +00:00
Cameron Gutman 6ad0121a58 - Add cancellation support for IOCTL_AFD_SELECT
- Fix release build

svn path=/trunk/; revision=43275
2009-10-03 21:34:34 +00:00
Cameron Gutman 5920b78ec2 - 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
2009-10-03 20:52:54 +00:00
Hervé Poussineau b809cead05 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
2009-10-03 20:09:57 +00:00
Hervé Poussineau 9e7fc1c095 [usetup] Simplify creation of entries in freeldr.ini
svn path=/trunk/; revision=43272
2009-10-03 19:43:29 +00:00
Hervé Poussineau b150069433 [freeldr] Remove MachDiskGetPartitionEntry, and directly use the correct one
Remove PpcDiskNormalizeSystemPath(), it was the same as DiskNormalizeSystemPath()

svn path=/trunk/; revision=43271
2009-10-03 18:41:10 +00:00
Cameron Gutman 94b78efb6a - 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
2009-10-03 18:21:14 +00:00
Matthias Kupfer 88b8d24b6f - consider DragFullWindows-value from Registry
svn path=/trunk/; revision=43269
2009-10-03 17:13:02 +00:00
Hervé Poussineau f501c2bcb5 [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
2009-10-03 17:00:29 +00:00
Hervé Poussineau c599bd7dc0 Rework FAT filesystem to not be tied to boot filesystem
svn path=/trunk/; revision=43267
2009-10-03 16:47:54 +00:00
Benedikt Freisen 8ccb271064 * 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
2009-10-03 16:33:41 +00:00
Stefan Ginsberg 5b8c2418b7 - Replace some x86 assembly in drivers with portable breakpoint support.
svn path=/trunk/; revision=43265
2009-10-03 14:15:46 +00:00
Hervé Poussineau 80611d5a1d [freeldr] Fix warning on recent GCC versions
svn path=/trunk/; revision=43264
2009-10-03 13:29:41 +00:00
Hervé Poussineau 9c3b85b7d0 [freeldr] Code code specific to ARC emulation to its own directory
svn path=/trunk/; revision=43263
2009-10-03 13:11:22 +00:00
Hervé Poussineau d9b6d51218 [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
2009-10-03 12:49:14 +00:00
Hervé Poussineau 7f2d93fde9 WINLDR: Move i386 specific code to its own file
svn path=/trunk/; revision=43261
2009-10-03 12:36:52 +00:00
Dmitry Chapyshev aa4379b267 - 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
2009-10-03 09:34:19 +00:00
James Tabor 68180a507a - 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
2009-10-03 02:30:47 +00:00
Johannes Anderwald f187acf5ef - 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
2009-10-02 21:55:53 +00:00
Aleksey Bragin 58df56f2c5 [fastfat_new]
- Don't leak VCB lock, prevents hang when trying to open another file.

svn path=/trunk/; revision=43257
2009-10-02 17:07:37 +00:00
Aleksey Bragin 11361e2730 [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
2009-10-02 13:59:51 +00:00
Aleksey Bragin 4e2fe08c74 [fullfat]
- Substitute more "free" to FF_Free function.

svn path=/trunk/; revision=43255
2009-10-02 11:56:03 +00:00
Johannes Anderwald 347609e691 - 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
2009-10-02 10:57:24 +00:00
Johannes Anderwald 2f541881a8 - Check if NodeId is out of bounds
- Return correct status code

svn path=/trunk/; revision=43253
2009-10-02 10:53:36 +00:00
Aleksey Bragin 9ef3f7c1a2 [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
2009-10-02 10:49:57 +00:00
Cameron Gutman 7fe54dcf63 - 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
2009-10-01 21:00:41 +00:00
Aleksey Bragin 43ef29d7ef [fastfat_new]
- Implement simple read support.
- Rewrite FatMapUserBuffer, no exception raising necessary at this stage.
- Silence FatReadBlocks dbgprint.

svn path=/trunk/; revision=43250
2009-10-01 16:08:11 +00:00
Stefan Ginsberg c57385622a - Fix MSVC YieldProcessor macro
svn path=/trunk/; revision=43249
2009-10-01 14:18:54 +00:00