Commit graph

35974 commits

Author SHA1 Message Date
Ged Murphy a23569ce50 - Show the underline menu cues when pressing the alt key
- Load user preferences on userinit
- Add the effects dialog to desk.cpl
- Patch by Jan Roeloffzen (jroeloffzen[at]hotmail[dot]com)
- Quickly reviewed by Thomas and I, applied a few bug fixes to the patch
See issue #3901 for more details.

svn path=/trunk/; revision=40299
2009-03-30 21:21:41 +00:00
Ged Murphy 569028fafb fix wine's code a little better
svn path=/trunk/; revision=40298
2009-03-30 19:28:39 +00:00
Ged Murphy 96c892841a Create the system and device imagelists with the correct bpp
Do the same with the explorer stuff

svn path=/trunk/; revision=40297
2009-03-30 19:08:16 +00:00
Johannes Anderwald 47bdeaf2b9 - Return correct byte size
- Fixes 3 wine test failures

svn path=/trunk/; revision=40296
2009-03-30 17:19:43 +00:00
Dmitry Gorbachev 63de8c6dce Do not crash with "Assertion 'Process == PsGetCurrentProcess()' failed" msg.
svn path=/trunk/; revision=40295
2009-03-30 09:12:25 +00:00
James Tabor c40699db49 - Move W32PROCESSINFO to PROCESSINFO.
svn path=/trunk/; revision=40294
2009-03-30 05:45:08 +00:00
James Tabor ea204363b7 - Update W32PROCESS and related code.
svn path=/trunk/; revision=40293
2009-03-30 03:56:53 +00:00
Daniel Reimer 4ff599ba79 Sync WinHLP32 and WordPad with Wine HEAD.
Bug 4306 by Paolo Devoti. Update for Italian Translations.

svn path=/trunk/; revision=40292
2009-03-29 23:28:29 +00:00
Daniel Reimer 7cd8a66013 Sync write with Wine HEAD
svn path=/trunk/; revision=40291
2009-03-29 23:17:43 +00:00
Aleksey Bragin 46689e8b55 [FORMATTING]
- Change comments to match kernel coding style
- Remove EOL spaces.

svn path=/trunk/; revision=40290
2009-03-29 19:32:37 +00:00
Jeffrey Morlan c1ff41171d Make cmd able to (sort of) work without a console.
svn path=/trunk/; revision=40289
2009-03-29 19:17:45 +00:00
James Tabor c233cfcaf8 - Fix W32PROCESS, replaced pointer with structure.
svn path=/trunk/; revision=40288
2009-03-29 16:31:27 +00:00
Kamil Hornicek 264b97f2c4 - return WSAEMSGSIZE on both STATUS_BUFFER_TOO_SMALL / STATUS_BUFFER_OVERFLOW:
svn path=/trunk/; revision=40287
2009-03-29 15:56:08 +00:00
Kamil Hornicek a83abb4f0e - fix possible memory leak (patch from Mesa3D by Daniel Zimmermann)
svn path=/trunk/; revision=40286
2009-03-29 13:39:18 +00:00
Aleksey Bragin df5b7d2582 - Synchronize debug messages output to the serial port. Now each line of a debug log is printed synchronously, as it is NT. In future, this should be converted to a generic spinlock for all registered KD handlers.
svn path=/trunk/; revision=40285
2009-03-29 13:15:03 +00:00
Aleksey Bragin fea868eebc - Implement KeTestSpinLock.
svn path=/trunk/; revision=40284
2009-03-29 12:57:58 +00:00
Kamil Hornicek d32512662f update Mesa3D to version 7.4
svn path=/trunk/; revision=40283
2009-03-29 12:45:34 +00:00
Dmitry Gorbachev 379a32cc4b Shell32 translation patch from Tomoya Kitagawa, bug #4310.
svn path=/trunk/; revision=40282
2009-03-29 11:53:16 +00:00
Michael Martin 4ea62038a8 create.c: NpfsCleanup - Do not set the pipe's state to FILE_PIPE_DISCONNECTED_STATE, it is needed for determining broken pipes.
Only set pipes otherside to NULL if it is not NULL already.
fsctrl.c: NpfsDisconnectPipe - Set return status to STATUS_PIPE_DISCONNECTED if pipe is already disconnected.
Add code to handle cases where PipeState is connected and pipes otherside has been set to NULL.
rw.c: Set return status to STATUS_BROKEN_PIPE if the other side of pipe has been set to NULL, the data available in pipe is zero and pipe state is connected.
Check that pipes otherside is valid before attempting to set the othersides read/write event.

svn path=/trunk/; revision=40281
2009-03-29 11:15:10 +00:00
Jeffrey Morlan ad25b56ea8 Make command parsing in DoCommand/Execute more compatible with Windows
svn path=/trunk/; revision=40280
2009-03-29 05:13:35 +00:00
Timo Kreuzer 47bc28fa47 Add the DC XlateBrush / XlatePen hack to DC_vUpdateFillBrush / DC_vUpdateLineBrush, so these should now be a full replacement for the current usage of IntGdiSelectPen/Brush + EBRUSHOBJ_vInit
svn path=/trunk/; revision=40279
2009-03-29 02:15:37 +00:00
Timo Kreuzer c14d3364c7 Simple temporary implementation of EngRealizeBrush. Not tested, not used yet.
svn path=/trunk/; revision=40278
2009-03-29 01:43:09 +00:00
Timo Kreuzer d32f5cf257 BltMask:
by me: optimize by replacing the maskbit table with a byte containing the maskbit and rotating using _rotr8. Also move the comparison out of the loop, making 2 loops, one with pattern, one without.
By Evgeniy Boltik: Optimize by using function pointers. Fix calculation of brush position. By me again: optimize the fix by moving the calculation out of the outer loop.

svn path=/trunk/; revision=40277
2009-03-29 00:26:30 +00:00
Timo Kreuzer 77b12d6d18 Patch by Evgeniy Boltik:
Always calculate a palette for the DIB in NtGdiGetDIBitsInternal, when dealing with 15 or 16 bit depth. Fixes broken taskbar icons on 16bpp.

svn path=/trunk/; revision=40276
2009-03-29 00:25:47 +00:00
Cameron Gutman 060ac4d373 - Fix some TDI flags
svn path=/trunk/; revision=40275
2009-03-29 00:22:31 +00:00
James Tabor 0142494290 - Add The rest to W32PROCESS.
svn path=/trunk/; revision=40274
2009-03-28 23:28:38 +00:00
James Tabor b2c76fa160 - Add Lock point and AVL table pointer to W32PROCESS. This is for EngAllocUserMem and friends.
svn path=/trunk/; revision=40273
2009-03-28 23:06:07 +00:00
Jeffrey Morlan 4e02761261 - Implement CMD /A and /U switches.
- CLS: Fill console with current color rather than original; if standard output is not a console, print a form-feed character.
- COLOR: If standard output is not a console, do nothing.

svn path=/trunk/; revision=40272
2009-03-28 19:36:22 +00:00
Cameron Gutman 23cb0510c4 - Fix a typo
svn path=/trunk/; revision=40271
2009-03-28 17:52:50 +00:00
Cameron Gutman efaf3a892a - Implement NdisMAllocateSharedMemoryAsync
- Zero the entire packet in NdisAllocatePacket

svn path=/trunk/; revision=40270
2009-03-28 17:49:27 +00:00
Aleksey Bragin 02258e7e39 - Remove a header structure from memory regions allocated with EngAllocUserMem. Modern versions of Windows (at least XP and higher) don't do this and instead save this information elsewhere. Confirmed by Alexandre Julliard's test case for calling WriteFile with the DIB section bits as buffer (5 less failures now) and by arguing with Evgeniy Boltik.
svn path=/trunk/; revision=40269
2009-03-28 17:06:17 +00:00
Aleksey Bragin b5ceb7733a - Pass correct allocation flags to ZwAllocateVirtualMemory.
- Don't provide region size when freeing virtual memory (spotted by Evgeniy Boltik, confirmed by MSDN).

svn path=/trunk/; revision=40268
2009-03-28 16:53:51 +00:00
Cameron Gutman a5d8c32124 - Remove a useless parameter from UnlockAndMaybeComplete
- Fix a few listening bugs

svn path=/trunk/; revision=40267
2009-03-28 15:49:29 +00:00
Hervé Poussineau 82d4f0afe3 Add some defines, to be used later in freeldr
svn path=/trunk/; revision=40266
2009-03-28 10:33:19 +00:00
Hervé Poussineau 7ffb682eea Fix typo
svn path=/trunk/; revision=40265
2009-03-28 09:28:05 +00:00
Cameron Gutman 6e410f30f1 - Remove an unnecessary parameter
svn path=/trunk/; revision=40264
2009-03-28 01:27:01 +00:00
Cameron Gutman fc6b65aac3 - More LockBuffers fixes
- Now attempting to sync the clock with a network time server doesn't cause an access violation

svn path=/trunk/; revision=40263
2009-03-28 01:23:50 +00:00
Cameron Gutman 4e466b6892 - Fix some issues with LockBuffers
- We must lock buffers before using them

svn path=/trunk/; revision=40262
2009-03-27 22:32:28 +00:00
Aleksey Bragin 6971703e7b - Fix queue index (actually do what comment in the code says). Spotted by Alex.
svn path=/trunk/; revision=40261
2009-03-27 12:03:29 +00:00
Cameron Gutman 48301f631c - Wait on the correct event
svn path=/trunk/; revision=40260
2009-03-27 04:10:10 +00:00
Cameron Gutman 3066a61fce - Remove some unnecessary code
svn path=/trunk/; revision=40259
2009-03-27 03:48:16 +00:00
Cameron Gutman ed72b6606d - Fix several handle leaks
svn path=/trunk/; revision=40258
2009-03-27 03:21:21 +00:00
Aleksey Bragin b233e13933 Apply patch from Wine:
http://www.winehq.org/pipermail/wine-patches/2009-March/071155.html

- Fix bitmap size calculation in IMAGELIST_InternalExpandBitmaps and remove unneeded parameter. Memory requirements are greatly reduced after this fix.

See issue #4304 for more details.

svn path=/trunk/; revision=40257
2009-03-26 19:46:11 +00:00
Johannes Anderwald 93c61940bb - Remove dead code
- Silence a few debug prints
- Implement Dispatch_FastRead, Dispatch_fnFastDeviceIoControl
- Change _InterlockedXXX to InterlockedXXX
- Store IPortPinWaveCyclic pins in an array and close pin on a new create request (fixes a memory leak)
- Complete the close irp when the stream has really been closed


svn path=/trunk/; revision=40250
2009-03-26 09:59:45 +00:00
Jeffrey Morlan 72160071f9 - Add another heap freelist for small blocks, making mingw32-make about 100 times faster at loading makefile.auto
svn path=/trunk/; revision=40249
2009-03-26 06:32:14 +00:00
Jeffrey Morlan 8b1901148f - Fix a buffer overflow in cmd
- Make "CMD /C" clean up before exiting to get rid of spurious "memory leak" debug messages

svn path=/trunk/; revision=40248
2009-03-26 06:31:46 +00:00
Timo Kreuzer 9285de53cd Hack cleanup: IntGdiBrushXlate is a dirty ros hack, it is needed due to the fact that we handle brushes totally wrong. Replace it with a static function IntUpdateBrushXlate and move it to dcobjs.c.
svn path=/trunk/; revision=40246
2009-03-26 03:41:57 +00:00
Art Yerkes 2bb581031f Prevent a double lock on the surface by splitting FillSolid into a locking and
unlocked version, allowing surface.c to use the locking version.

svn path=/trunk/; revision=40245
2009-03-26 02:33:15 +00:00
Jeffrey Morlan db8815a497 - Implement CMD /D, /Q, and /R switches
- Do %envvar% expansions in CMD /C or /K commands
- Make SETLOCAL recognize ENABLEEXTENSIONS and DISABLEEXTENSIONS, although it doesn't do anything yet
- Make VERIFY set the errorlevel (documented in SETLOCAL /?). Also make it recognize when ON/OFF is followed by space
- Make ECHOSERR actually print to stderr, not stdout
- Make echoed display of ( ... ) blocks look nicer (Bug 4022)
- Fix some other minor display bugs

svn path=/trunk/; revision=40244
2009-03-26 01:14:25 +00:00
Timo Kreuzer 65d9fbc726 Move NtGdiSelectBitmap to dcobjs.c, implement DC_vSelectFillBrush and DC_vSelectLineBrush, use them in IntGdiSelectBrush and IntGdiSelectPen, DC_Cleanup and DC_vCopyState. Should fix leaking brushes/pens on process cleanup.
Remove the flag checks from DC_vUpdateXxxBrush functions.

svn path=/trunk/; revision=40243
2009-03-26 00:56:46 +00:00