Commit graph

35947 commits

Author SHA1 Message Date
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
Timo Kreuzer cac93ee776 Move NtGdiSelectClipPath, Nt/IntGdiSelectBrush, Nt/IntGdiSelectpen to dcobj.c, improve formatting, no code change.
svn path=/trunk/; revision=40242
2009-03-25 22:14:20 +00:00
Timo Kreuzer ea055dde70 Rename NtGdiDeleteObject to GreDeleteObject
svn path=/trunk/; revision=40240
2009-03-25 20:24:34 +00:00
Johannes Anderwald 5a37c1fdad - Export KsNullDriverUnload
- Stop the audio stream at PASSIVE_LEVEL
- Refactor sysaudio code to make it less complex and remove code which is not used
- Add a few comments

svn path=/trunk/; revision=40238
2009-03-25 19:14:04 +00:00
Johannes Anderwald bf2b5adf8e - Fix calling convention for KsNullDriverUnload
svn path=/trunk/; revision=40237
2009-03-25 19:01:27 +00:00
Colin Finck 9148284b91 Readd the hack for skipping the bitmap font tests.
As long as we have no working bitmap font driver, it results in endless loops and fails, which even get sysreg2 into an uncomfortable state.

svn path=/trunk/; revision=40231
2009-03-25 16:31:17 +00:00
Cameron Gutman 6c67770a16 - Revert an unwanted change
svn path=/trunk/; revision=40230
2009-03-25 15:59:20 +00:00
Colin Finck 8cb8fb4761 Remove all Skip hacks from the Wine tests as we resume from crashes now
svn path=/trunk/; revision=40229
2009-03-25 14:37:01 +00:00
Christoph von Wittich 58f2230b68 update README.WINE
svn path=/trunk/; revision=40227
2009-03-25 14:00:43 +00:00
Christoph von Wittich 49aa71cfbc sync DDE to wine 1.1.17
svn path=/trunk/; revision=40226
2009-03-25 13:57:58 +00:00
Christoph von Wittich 034b4711be GetConsoleProcessist -> GetConsoleProcessList
svn path=/trunk/; revision=40223
2009-03-25 10:11:53 +00:00
Christoph von Wittich 4fe44b2b2d fix some more typos...
svn path=/trunk/; revision=40222
2009-03-25 10:10:17 +00:00
Christoph von Wittich 6af867cced fix some typos
svn path=/trunk/; revision=40221
2009-03-25 09:55:31 +00:00
Timo Kreuzer 809d606072 Add the macro I forgot.
svn path=/trunk/; revision=40220
2009-03-25 04:25:39 +00:00
Timo Kreuzer 126f671726 Rewrite the dc state saving implementation. We were doing it wrong and ugly. Now it should work correctly. It's also much fewer and cleaner code.
svn path=/trunk/; revision=40219
2009-03-25 04:20:59 +00:00
Timo Kreuzer 33561b92dd Fix GetDCBrushColor. It was returning the pen color.
svn path=/trunk/; revision=40218
2009-03-25 03:52:11 +00:00
Timo Kreuzer 9a1d43e359 Add one test for NtGdiDeleteObjectApp, and a bunch of tests for NtGdiSaveDC and NtGdiRestoreDC.
svn path=/trunk/; revision=40217
2009-03-25 03:51:22 +00:00
Timo Kreuzer b023f69f76 gdihv: add a possibility to view all handles
svn path=/trunk/; revision=40216
2009-03-25 03:48:51 +00:00
Cameron Gutman e6b79399bb - Fix ICMP
svn path=/trunk/; revision=40215
2009-03-25 02:28:40 +00:00
Cameron Gutman 88ab954b0b - Return STATUS_NETWORK_UNREACHABLE if we can't get a route to the remote address
svn path=/trunk/; revision=40214
2009-03-25 02:10:49 +00:00
Cameron Gutman 5350d438bc - Set the IP_PACKET_FLAG_RAW flag on Raw IP packets
svn path=/trunk/; revision=40213
2009-03-25 02:04:01 +00:00
James Tabor a1a53985e2 - Write new simplified NtGdiDeleteObjectApp based on test case.
- Include internal function GetObjectOwner to support retrieval of owner process ID.
- Update GDI_TABLE_ENTRY.


svn path=/trunk/; revision=40212
2009-03-25 01:07:02 +00:00
Colin Finck 1463b225be Output "SYSREG_ROSAUTOTEST_FAILURE" for sysreg2 in case of a failure inside rosautotest
svn path=/trunk/; revision=40211
2009-03-24 20:49:04 +00:00
Colin Finck 0a05554c18 Take the line number as an integer, the STRINGIZER macro didn't work as expected
svn path=/trunk/; revision=40208
2009-03-24 12:37:54 +00:00
Dmitry Chapyshev c0212e7286 - Replace stub msdmo on msdmo from Wine
svn path=/trunk/; revision=40207
2009-03-24 11:20:24 +00:00
Dmitry Chapyshev 9f3467c174 - Replace stub qedit on qedit from Wine
svn path=/trunk/; revision=40206
2009-03-24 11:17:08 +00:00
Dmitry Chapyshev 9e7ea00dc0 - Sync Tahoma fonts with Wine head
svn path=/trunk/; revision=40205
2009-03-24 11:09:11 +00:00
Timo Kreuzer ac888f35a3 [FORMATTING]
fix indentation, no code change.

svn path=/trunk/; revision=40204
2009-03-24 04:42:21 +00:00