Commit graph

35820 commits

Author SHA1 Message Date
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
Timo Kreuzer a6e1bbc54d More dc cleanup: make DC_AllocDC return a pointer, not a handle, like done with the other objects, too.
Remove DC_GetnextDC and DC_SetNextDC, as they are trivial. Misc cleanup and improvements.

svn path=/trunk/; revision=40203
2009-03-24 04:10:49 +00:00
Timo Kreuzer 65ce2884da Fix formatting add a FIXME comment, no code change
svn path=/trunk/; revision=40202
2009-03-24 03:15:18 +00:00
Timo Kreuzer 0a1914e0b7 Remove DC_GET_VAL macro and friends. They were defining functions that we didn't use, except 4, but those were also quite useless, as the only returned a value from the dc structure that you pass in.
same for IntGetGraphicsMode. Also remove IntGetViewportExtEx and replace it with DC_vUpdateViewportExt

svn path=/trunk/; revision=40201
2009-03-24 02:58:14 +00:00
Cameron Gutman c5a8c1281c - Fix several cancellation and socket shutdown issues:
- Don't call DestroySocket if FCB->State == SOCKET_STATE_CLOSED because the FCB is already being destroyed (Irp->Cancel checks hid this bug)
 - Remove the Irp->Cancel checks (hacks)
 - Only return early if we can't cancel an IRP
 - Add an FCB->State check in StreamSocketConnectComplete
 - Store the failure status in the IRP

svn path=/trunk/; revision=40200
2009-03-24 02:01:46 +00:00
Timo Kreuzer 8c84226668 - Add a bunch of tests for NtGdiDeleteObjectApp
- Add Is handle valid function to check whether a handle is still valid.

svn path=/trunk/; revision=40199
2009-03-24 01:25:03 +00:00
Jeffrey Morlan 2895b48a31 Implement all remaining switches for the START command.
svn path=/trunk/; revision=40198
2009-03-23 23:52:50 +00:00
Jeffrey Morlan d17f538267 Fix a bug in wcstoul causing it to set *endptr improperly.
svn path=/trunk/; revision=40197
2009-03-23 23:51:59 +00:00
Timo Kreuzer c3927d7e15 - Don't delete an object that has a shared reference!
- Implement DC_vSelectSurface, that dereferences the old SURFACE and references the new. Use it instead of doing it manually.
- Select NULL surface when doing cleanup.
- Go back to ASSERT in GDIOBJ_ShareUnlockObjByPtr. Should (hopefully) not be hit anymore.
- Add additional functions for tracing shared locks in gdidbg.c.
- Add debugprints when leaking objects on process cleanup.


svn path=/trunk/; revision=40196
2009-03-23 23:49:00 +00:00
Sylvain Petreolle 4724aa9fb0 setupapi.CMP_RegisterNotification is not a stub anymore,
update cfgmgr32.spec accordingly.

svn path=/trunk/; revision=40192
2009-03-23 22:01:40 +00:00
Jeffrey Morlan 4d872d113e Implement %~$PATH:var variable substitution
svn path=/trunk/; revision=40191
2009-03-23 19:54:52 +00:00
Art Yerkes a822f03d45 Actually mark irp pending.
svn path=/trunk/; revision=40190
2009-03-23 19:45:21 +00:00
Timo Kreuzer 3b14a5465d GDIOBJ_ShareUnlockObjByPtr: Temporarily don't ASSERT, but print a backtrace when trying to unlock an object that wasn't locked.
svn path=/trunk/; revision=40189
2009-03-23 19:11:37 +00:00
Art Yerkes d34ef92b8b Formatting only, no change.
svn path=/trunk/; revision=40188
2009-03-23 18:13:17 +00:00
Timo Kreuzer acc3c725d7 [FORMATTING]
Apply indentation of 4 spaces. Misc formatting improvements. Add some FIXME comments, no code change

svn path=/trunk/; revision=40187
2009-03-23 17:47:58 +00:00
Jeffrey Morlan 52b04dfa2f - In cmd's PUSHD and POPD commands, change directory using _tchdir.
svn path=/trunk/; revision=40185
2009-03-23 14:48:04 +00:00
Jeffrey Morlan 73694e1e38 - Moved the code for updating the drive-specific current-directory environment variable out of RTL and into the CRT. Testing on Windows shows that neither RtlSetCurrentDirectory_U or SetCurrentDirectory update these variables, but _tchdir does.
svn path=/trunk/; revision=40184
2009-03-23 14:47:46 +00:00
Cameron Gutman d99f998d2d - This should fix a rare afd crash
- It was a race condition caused by another thread clearing our IRP while we were still using it

svn path=/trunk/; revision=40183
2009-03-23 05:05:57 +00:00
Timo Kreuzer d7ab2a464e In the beginning somebody created dc.c. And he saw that it was empty. So he quickly added some functions to it. And as there were so many nice dc functions, the dc.c quickly got populated with a lot of code. But dc.c must have still felt lonely,
so that people added more and more code, even completely unrelated code. Finally dc.c became a fat wastedump for all the code a developer didn't know where to put.

Clean up this mess by splitting the 3600 line monster file into 5 files and moving some stuff into other files.

svn path=/trunk/; revision=40182
2009-03-23 03:43:11 +00:00
Dmitry Gorbachev 8cb1d37567 Add "REACTOS Mm Hack of Doom" again (removed in r39723). Bug #4296.
svn path=/trunk/; revision=40181
2009-03-23 00:56:01 +00:00
Timo Kreuzer f20923b70c Initialize flattrs in EBRUSHOBJ_vInit
svn path=/trunk/; revision=40180
2009-03-23 00:51:22 +00:00
Timo Kreuzer e2a450fc3f Brush rewrite part 1/x
- Make the EBRUSHOBJ structure somewhat like XPs. 
- Make the eboXxx members of the DC real EBRUSHOBJs and initialize them on DC creation. Except for IntArc they are not yet used and there still with the old way of doing it.
- Implement DC_vUpdateXxxBrush functions that update the DCs EBRUSHOBJs after changes to the dcattr.
- Implement EBRUSHOBJ_bRealizeBrush that realizes the brush by either calling the DrvRealizeBrush or EngRealizeBrush, which is currently only stubbed and this functionality is not plugged in due to other broken features.
- EBRUSHOBJ_vInit: Store the RGB color and return it in BRUSHOBJ_ulGetBrushColor.
- Implement EBRUSHOBJ_vSetSolidBrushColor, EBRUSHOBJ_vUpdate and EBRUSHOBJ_vUnrealizeBrush
- Rename PENOBJ_bla to PEN_bla.
- Make GDIOBJ_ShareUnlockObjByPtr an inline function
- Implement GDIOBJ_IncrementShareCount as inline function.
- NtGdiSelectBitmap: keep a shared reference on the selected bitmap.
- EngAssociateSurface: don't ASSERT, but fail if locking the surface handle failed.
- EngModifySurface: use an exclusive lock and handle everything inside this function.

svn path=/trunk/; revision=40179
2009-03-23 00:38:59 +00:00
Cameron Gutman 7eafa4dee6 - Implement NdisFreeDmaChannel
svn path=/trunk/; revision=40178
2009-03-22 23:49:24 +00:00
Cameron Gutman 253abcd0db - Fix a memory leak
svn path=/trunk/; revision=40177
2009-03-22 23:39:57 +00:00
Colin Finck 8403d77a18 - If we determine that the keyboard buffer is full, only call INT 16h,0 once without checking again whether the buffer is free afterwards
Fixes bug #4264
- Get rid of another procedure for getting a character, can be replaced with two instructions in the only place where this procedure was called
See issue #4264 for more details.

svn path=/trunk/; revision=40176
2009-03-22 23:36:48 +00:00
Cameron Gutman bd33ba7e48 - Query MaxMulticastAddresses from the miniport
svn path=/trunk/; revision=40175
2009-03-22 23:28:06 +00:00
Dmitry Gorbachev 1c93767ee0 Update Japanese translation of Syssetup. Patch from Tomoya Kitagawa (jptomoya|AT|yahoo|DOT|co|DOT|jp), bug #4295.
svn path=/trunk/; revision=40174
2009-03-22 19:58:44 +00:00
Matthias Kupfer 0297ddda32 - Disable "Back" in last page of syssetup, because it doesn't make any sense.
svn path=/trunk/; revision=40173
2009-03-22 16:36:16 +00:00