11 years agoRemove all Skip hacks from the Wine tests as we resume from crashes now
Colin Finck [Wed, 25 Mar 2009 14:37:01 +0000 (14:37 +0000)]
Remove all Skip hacks from the Wine tests as we resume from crashes now

svn path=/trunk/; revision=40229

11 years agoupdate README.WINE
Christoph von Wittich [Wed, 25 Mar 2009 14:00:43 +0000 (14:00 +0000)]

svn path=/trunk/; revision=40227

11 years agosync DDE to wine 1.1.17
Christoph von Wittich [Wed, 25 Mar 2009 13:57:58 +0000 (13:57 +0000)]
sync DDE to wine 1.1.17

svn path=/trunk/; revision=40226

11 years agoGetConsoleProcessist -> GetConsoleProcessList
Christoph von Wittich [Wed, 25 Mar 2009 10:11:53 +0000 (10:11 +0000)]
GetConsoleProcessist -> GetConsoleProcessList

svn path=/trunk/; revision=40223

11 years agofix some more typos...
Christoph von Wittich [Wed, 25 Mar 2009 10:10:17 +0000 (10:10 +0000)]
fix some more typos...

svn path=/trunk/; revision=40222

11 years agofix some typos
Christoph von Wittich [Wed, 25 Mar 2009 09:55:31 +0000 (09:55 +0000)]
fix some typos

svn path=/trunk/; revision=40221

11 years agoAdd the macro I forgot.
Timo Kreuzer [Wed, 25 Mar 2009 04:25:39 +0000 (04:25 +0000)]
Add the macro I forgot.

svn path=/trunk/; revision=40220

11 years agoRewrite the dc state saving implementation. We were doing it wrong and ugly. Now...
Timo Kreuzer [Wed, 25 Mar 2009 04:20:59 +0000 (04:20 +0000)]
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

11 years agoFix GetDCBrushColor. It was returning the pen color.
Timo Kreuzer [Wed, 25 Mar 2009 03:52:11 +0000 (03:52 +0000)]
Fix GetDCBrushColor. It was returning the pen color.

svn path=/trunk/; revision=40218

11 years agoAdd one test for NtGdiDeleteObjectApp, and a bunch of tests for NtGdiSaveDC and NtGdi...
Timo Kreuzer [Wed, 25 Mar 2009 03:51:22 +0000 (03:51 +0000)]
Add one test for NtGdiDeleteObjectApp, and a bunch of tests for NtGdiSaveDC and NtGdiRestoreDC.

svn path=/trunk/; revision=40217

11 years agogdihv: add a possibility to view all handles
Timo Kreuzer [Wed, 25 Mar 2009 03:48:51 +0000 (03:48 +0000)]
gdihv: add a possibility to view all handles

svn path=/trunk/; revision=40216

11 years ago - Fix ICMP
Cameron Gutman [Wed, 25 Mar 2009 02:28:40 +0000 (02:28 +0000)]
 - Fix ICMP

svn path=/trunk/; revision=40215

11 years ago - Return STATUS_NETWORK_UNREACHABLE if we can't get a route to the remote address
Cameron Gutman [Wed, 25 Mar 2009 02:10:49 +0000 (02:10 +0000)]
 - Return STATUS_NETWORK_UNREACHABLE if we can't get a route to the remote address

svn path=/trunk/; revision=40214

11 years ago - Set the IP_PACKET_FLAG_RAW flag on Raw IP packets
Cameron Gutman [Wed, 25 Mar 2009 02:04:01 +0000 (02:04 +0000)]
 - Set the IP_PACKET_FLAG_RAW flag on Raw IP packets

svn path=/trunk/; revision=40213

11 years ago- Write new simplified NtGdiDeleteObjectApp based on test case.
James Tabor [Wed, 25 Mar 2009 01:07:02 +0000 (01:07 +0000)]
- Write new simplified NtGdiDeleteObjectApp based on test case.
- Include internal function GetObjectOwner to support retrieval of owner process ID.

svn path=/trunk/; revision=40212

11 years agoOutput "SYSREG_ROSAUTOTEST_FAILURE" for sysreg2 in case of a failure inside rosautotest
Colin Finck [Tue, 24 Mar 2009 20:49:04 +0000 (20:49 +0000)]
Output "SYSREG_ROSAUTOTEST_FAILURE" for sysreg2 in case of a failure inside rosautotest

svn path=/trunk/; revision=40211

11 years agoTake the line number as an integer, the STRINGIZER macro didn't work as expected
Colin Finck [Tue, 24 Mar 2009 12:37:54 +0000 (12:37 +0000)]
Take the line number as an integer, the STRINGIZER macro didn't work as expected

svn path=/trunk/; revision=40208

11 years ago- Replace stub msdmo on msdmo from Wine
Dmitry Chapyshev [Tue, 24 Mar 2009 11:20:24 +0000 (11:20 +0000)]
- Replace stub msdmo on msdmo from Wine

svn path=/trunk/; revision=40207

11 years ago- Replace stub qedit on qedit from Wine
Dmitry Chapyshev [Tue, 24 Mar 2009 11:17:08 +0000 (11:17 +0000)]
- Replace stub qedit on qedit from Wine

svn path=/trunk/; revision=40206

11 years ago- Sync Tahoma fonts with Wine head
Dmitry Chapyshev [Tue, 24 Mar 2009 11:09:11 +0000 (11:09 +0000)]
- Sync Tahoma fonts with Wine head

svn path=/trunk/; revision=40205

11 years ago[FORMATTING]
Timo Kreuzer [Tue, 24 Mar 2009 04:42:21 +0000 (04:42 +0000)]
fix indentation, no code change.

svn path=/trunk/; revision=40204

11 years agoMore dc cleanup: make DC_AllocDC return a pointer, not a handle, like done with the...
Timo Kreuzer [Tue, 24 Mar 2009 04:10:49 +0000 (04:10 +0000)]
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

11 years agoFix formatting add a FIXME comment, no code change
Timo Kreuzer [Tue, 24 Mar 2009 03:15:18 +0000 (03:15 +0000)]
Fix formatting add a FIXME comment, no code change

svn path=/trunk/; revision=40202

11 years agoRemove DC_GET_VAL macro and friends. They were defining functions that we didn't...
Timo Kreuzer [Tue, 24 Mar 2009 02:58:14 +0000 (02:58 +0000)]
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

11 years ago - Fix several cancellation and socket shutdown issues:
Cameron Gutman [Tue, 24 Mar 2009 02:01:46 +0000 (02:01 +0000)]
 - 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

11 years ago- Add a bunch of tests for NtGdiDeleteObjectApp
Timo Kreuzer [Tue, 24 Mar 2009 01:25:03 +0000 (01:25 +0000)]
- 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

11 years agoImplement all remaining switches for the START command.
Jeffrey Morlan [Mon, 23 Mar 2009 23:52:50 +0000 (23:52 +0000)]
Implement all remaining switches for the START command.

svn path=/trunk/; revision=40198

11 years agoFix a bug in wcstoul causing it to set *endptr improperly.
Jeffrey Morlan [Mon, 23 Mar 2009 23:51:59 +0000 (23:51 +0000)]
Fix a bug in wcstoul causing it to set *endptr improperly.

svn path=/trunk/; revision=40197

11 years ago- Don't delete an object that has a shared reference!
Timo Kreuzer [Mon, 23 Mar 2009 23:49:00 +0000 (23:49 +0000)]
- 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

11 years agosetupapi.CMP_RegisterNotification is not a stub anymore,
Sylvain Petreolle [Mon, 23 Mar 2009 22:01:40 +0000 (22:01 +0000)]
setupapi.CMP_RegisterNotification is not a stub anymore,
update cfgmgr32.spec accordingly.

svn path=/trunk/; revision=40192

11 years agoImplement %~$PATH:var variable substitution
Jeffrey Morlan [Mon, 23 Mar 2009 19:54:52 +0000 (19:54 +0000)]
Implement %~$PATH:var variable substitution

svn path=/trunk/; revision=40191

11 years agoActually mark irp pending.
Art Yerkes [Mon, 23 Mar 2009 19:45:21 +0000 (19:45 +0000)]
Actually mark irp pending.

svn path=/trunk/; revision=40190

11 years agoGDIOBJ_ShareUnlockObjByPtr: Temporarily don't ASSERT, but print a backtrace when...
Timo Kreuzer [Mon, 23 Mar 2009 19:11:37 +0000 (19:11 +0000)]
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

11 years agoFormatting only, no change.
Art Yerkes [Mon, 23 Mar 2009 18:13:17 +0000 (18:13 +0000)]
Formatting only, no change.

svn path=/trunk/; revision=40188

11 years ago[FORMATTING]
Timo Kreuzer [Mon, 23 Mar 2009 17:47:58 +0000 (17:47 +0000)]
Apply indentation of 4 spaces. Misc formatting improvements. Add some FIXME comments, no code change

svn path=/trunk/; revision=40187

11 years ago- In cmd's PUSHD and POPD commands, change directory using _tchdir.
Jeffrey Morlan [Mon, 23 Mar 2009 14:48:04 +0000 (14:48 +0000)]
- In cmd's PUSHD and POPD commands, change directory using _tchdir.

svn path=/trunk/; revision=40185

11 years ago- Moved the code for updating the drive-specific current-directory environment variab...
Jeffrey Morlan [Mon, 23 Mar 2009 14:47:46 +0000 (14:47 +0000)]
- 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

11 years ago - This should fix a rare afd crash
Cameron Gutman [Mon, 23 Mar 2009 05:05:57 +0000 (05:05 +0000)]
 - 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

11 years agoIn the beginning somebody created dc.c. And he saw that it was empty. So he quickly...
Timo Kreuzer [Mon, 23 Mar 2009 03:43:11 +0000 (03:43 +0000)]
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

11 years agoAdd "REACTOS Mm Hack of Doom" again (removed in r39723). Bug #4296.
Dmitry Gorbachev [Mon, 23 Mar 2009 00:56:01 +0000 (00:56 +0000)]
Add "REACTOS Mm Hack of Doom" again (removed in r39723). Bug #4296.

svn path=/trunk/; revision=40181

11 years agoInitialize flattrs in EBRUSHOBJ_vInit
Timo Kreuzer [Mon, 23 Mar 2009 00:51:22 +0000 (00:51 +0000)]
Initialize flattrs in EBRUSHOBJ_vInit

svn path=/trunk/; revision=40180

11 years agoBrush rewrite part 1/x
Timo Kreuzer [Mon, 23 Mar 2009 00:38:59 +0000 (00:38 +0000)]
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

11 years ago - Implement NdisFreeDmaChannel
Cameron Gutman [Sun, 22 Mar 2009 23:49:24 +0000 (23:49 +0000)]
 - Implement NdisFreeDmaChannel

svn path=/trunk/; revision=40178

11 years ago - Fix a memory leak
Cameron Gutman [Sun, 22 Mar 2009 23:39:57 +0000 (23:39 +0000)]
 - Fix a memory leak

svn path=/trunk/; revision=40177

11 years ago- If we determine that the keyboard buffer is full, only call INT 16h,0 once without...
Colin Finck [Sun, 22 Mar 2009 23:36:48 +0000 (23:36 +0000)]
- 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

11 years ago - Query MaxMulticastAddresses from the miniport
Cameron Gutman [Sun, 22 Mar 2009 23:28:06 +0000 (23:28 +0000)]
 - Query MaxMulticastAddresses from the miniport

svn path=/trunk/; revision=40175

11 years agoUpdate Japanese translation of Syssetup. Patch from Tomoya Kitagawa (jptomoya|AT...
Dmitry Gorbachev [Sun, 22 Mar 2009 19:58:44 +0000 (19:58 +0000)]
Update Japanese translation of Syssetup. Patch from Tomoya Kitagawa (jptomoya|AT|yahoo|DOT|co|DOT|jp), bug #4295.

svn path=/trunk/; revision=40174

11 years ago- Disable "Back" in last page of syssetup, because it doesn't make any sense.
Matthias Kupfer [Sun, 22 Mar 2009 16:36:16 +0000 (16:36 +0000)]
- Disable "Back" in last page of syssetup, because it doesn't make any sense.

svn path=/trunk/; revision=40173

11 years ago- Clean up my working copy
Johannes Anderwald [Sun, 22 Mar 2009 14:28:50 +0000 (14:28 +0000)]
- Clean up my working copy

svn path=/trunk/; revision=40172

11 years ago- Implement AddFontMemResourceEx and simplify RemoveFontMemResourceEx.
James Tabor [Sun, 22 Mar 2009 05:20:55 +0000 (05:20 +0000)]
- Implement AddFontMemResourceEx and simplify RemoveFontMemResourceEx.

svn path=/trunk/; revision=40171

11 years ago - Fix release build
Cameron Gutman [Sun, 22 Mar 2009 02:02:22 +0000 (02:02 +0000)]
 - Fix release build

svn path=/trunk/; revision=40170

11 years agoMake START command able to open non-executable files/directories/URLs using ShellExec...
Jeffrey Morlan [Sun, 22 Mar 2009 01:51:29 +0000 (01:51 +0000)]
Make START command able to open non-executable files/directories/URLs using ShellExecute. (Bug 4055)

svn path=/trunk/; revision=40169

11 years ago - Don't forget to store the status in the IRP
Cameron Gutman [Sat, 21 Mar 2009 22:54:08 +0000 (22:54 +0000)]
 - Don't forget to store the status in the IRP
 - Fix some return statuses

svn path=/trunk/; revision=40168

11 years agoFix file location in file properties dialog.
Sylvain Petreolle [Sat, 21 Mar 2009 22:19:27 +0000 (22:19 +0000)]
Fix file location in file properties dialog.

svn path=/trunk/; revision=40167

11 years ago- GetBitmapBits: This function should return DDB size since it's for 16 bit win only...
Gregor Schneider [Sat, 21 Mar 2009 19:15:52 +0000 (19:15 +0000)]
- GetBitmapBits: This function should return DDB size since it's for 16 bit win only. So calculate this size instead of supplying the DIB size
- BITMAP_GetObject: Don't always supply compression type BI_RGB, but distinguish compression from bitmap format. A problem with BI_BITFIELDS remains, since it can't be detected that way. Add a comment to GetDIBits too, same problem - this implicit BITFIELDS -> RGB issue could be the reason for some (delayed?) drawing problems
- GetDIBits: The palette information should be copied in both operation modes so move it to the beginning of the function
- Fixes ~10 gdi32 bitmap winetests (but depends on used bit depth)

svn path=/trunk/; revision=40166

11 years ago - Uncomment the NdisUnmapFile call in NdisCloseFile
Cameron Gutman [Sat, 21 Mar 2009 13:01:12 +0000 (13:01 +0000)]
 - Uncomment the NdisUnmapFile call in NdisCloseFile
 - Found by Dmitry Chapyshev

svn path=/trunk/; revision=40161

11 years agoBug 4287: Lithuan Translaions by Vytis Girdžijauskas
Daniel Reimer [Sat, 21 Mar 2009 12:38:32 +0000 (12:38 +0000)]
Bug 4287: Lithuan Translaions by Vytis Girdžijauskas
Polish Translations by Maciej Bialas
Updated Some apps are autosynched by me and are mentioned as really old. Fixed this.

svn path=/trunk/; revision=40159

11 years agoEnable the Crash Recovery feature when doing the RegTest.
Colin Finck [Sat, 21 Mar 2009 12:21:12 +0000 (12:21 +0000)]
Enable the Crash Recovery feature when doing the RegTest.
Now the new sysreg2 just needs to be set up on the Buildslave and we might finally be able to remove all those "Skip Test xyz, because ROS sucks" hacks.

svn path=/trunk/; revision=40157

11 years ago- Allocate and initialize setup loader block.
Aleksey Bragin [Sat, 21 Mar 2009 11:11:44 +0000 (11:11 +0000)]
- Allocate and initialize setup loader block.
- Add setup loader block pointer conversion to WinLdrInitializePhase1 (if it exists).
- Temporary: provide empty boot options string.

svn path=/trunk/; revision=40156

11 years ago- Remove obsolete Doxyfile config files. Spotted by Alexey Komarov.
Aleksey Bragin [Sat, 21 Mar 2009 10:34:24 +0000 (10:34 +0000)]
- Remove obsolete Doxyfile config files. Spotted by Alexey Komarov.

svn path=/trunk/; revision=40152

11 years agoDo not forward TraceMessage() to itself.
Dmitry Gorbachev [Sat, 21 Mar 2009 07:11:56 +0000 (07:11 +0000)]
Do not forward TraceMessage() to itself.

svn path=/trunk/; revision=40150

11 years ago- When running a non-executable file, if the program handling the file type is a...
Jeffrey Morlan [Sat, 21 Mar 2009 02:12:23 +0000 (02:12 +0000)]
- When running a non-executable file, if the program handling the file type is a console program (e.g. Perl/Python) it should run in the same console as cmd, and cmd should wait for it. Implement this by using ShellExecuteEx instead of plain ShellExecute, with the SEE_MASK_NOCLOSEPROCESS and SEE_MASK_NO_CONSOLE flags. (SEE_MASK_NO_CONSOLE does the opposite of its MSDN description)
- Use NULL as the lpVerb to get the default action ("open" is not necessarily the default)
- Allow passing parameters besides just the file name

svn path=/trunk/; revision=40148

11 years agoBig testing system commit
Colin Finck [Sat, 21 Mar 2009 01:39:04 +0000 (01:39 +0000)]
Big testing system commit

- Rewrite rosautotest in C++
  Should increase maintainability and expandability, since most of the functionality is encapsulated in classes and there exist some abstract classes for further enhancements (i.e. new test types).
  Furthermore, due to the usage of STL strings, we don't need x lines anymore just for building a string out of several small parts.
- The new codebase made it fairly easy to implement a Crash Recovery feature based on a journal.
  If you start rosautotest with the /r option under ReactOS, it will keep a journal about the tests to run and the tests already ran. In case of a crash, it can just continue with the next test in the list then.
- Add some reasonable timeouts to avoid certain hangs in case a test crashes

- Make the necessary changes to sysreg2 to restart the VM in case of such a crash in 3rd stage, but set a maximum number of allowed crashes as well.
  Christoph, please test and review that on the Buildslave :-)
- Prepend all sysreg messages with [SYSREG] through a new function SysregPrintf, so the BuildBot aggregator script of testman can distinguish between debug output and sysreg messages.
- Put all header includes into the central header file "sysreg.h"
- Remove unnecessary libs from the Makefile

- Change the testman Web Interface to show such crashes as CRASH in the Compare and Detail views.

svn path=/trunk/; revision=40147

11 years agoFix build.
Timo Kreuzer [Sat, 21 Mar 2009 00:25:52 +0000 (00:25 +0000)]
Fix build.

svn path=/trunk/; revision=40146

11 years agoRename IntGdiInitBrushInstance to EBRUSHOBJ_vInit and move it to engbrush.c. Add...
Timo Kreuzer [Fri, 20 Mar 2009 23:40:59 +0000 (23:40 +0000)]
Rename IntGdiInitBrushInstance to EBRUSHOBJ_vInit and move it to engbrush.c. Add 2 FIXME comments.

svn path=/trunk/; revision=40145

11 years agoReplace hard-coded English string constants with translatable resource strings. ...
Jeffrey Morlan [Fri, 20 Mar 2009 23:16:12 +0000 (23:16 +0000)]
Replace hard-coded English string constants with translatable resource strings. (Bug 3718)

svn path=/trunk/; revision=40144

11 years agoStart to cleanup the mess that claims to be our brush implementation: Rename GDIBRUSH...
Timo Kreuzer [Fri, 20 Mar 2009 22:40:14 +0000 (22:40 +0000)]
Start to cleanup the mess that claims to be our brush implementation: Rename GDIBRUSHOBJ to BRUSH and GDIBRUSHINST to EBRUSHOBJ. Because that's what it is and nothing else. Rename several BRUSHOBJ_xxx functions to BRUSH_xxx, as they deal with a BRUSH, not a BRUSHOBJ.

There is a strict difference between a BRUSH and an (E)BRUSHOBJ. Please don't mix this up by giving them all names like BrushObj. Please use (proper!) hungarian notation.

Now the willing reader might actually get a clue how this stuff is supposed to work and maybe also realize how broken it is.

svn path=/trunk/; revision=40143

11 years ago - Reorganize NDIS code
Cameron Gutman [Fri, 20 Mar 2009 21:29:53 +0000 (21:29 +0000)]
 - Reorganize NDIS code

svn path=/trunk/; revision=40142

11 years ago - Implement NdisFreeSharedMemory
Cameron Gutman [Fri, 20 Mar 2009 20:51:05 +0000 (20:51 +0000)]
 - Implement NdisFreeSharedMemory

svn path=/trunk/; revision=40141

11 years ago - Implement NdisAllocateSharedMemory
Cameron Gutman [Fri, 20 Mar 2009 20:45:27 +0000 (20:45 +0000)]
 - Implement NdisAllocateSharedMemory

svn path=/trunk/; revision=40140

11 years ago - Implement NdisMCreateLog, NdisMCloseLog, and NdisMFlushLog
Cameron Gutman [Fri, 20 Mar 2009 20:43:43 +0000 (20:43 +0000)]
 - Implement NdisMCreateLog, NdisMCloseLog, and NdisMFlushLog
 - Patch by Dmitry Chapyshev (with modifications by me)

svn path=/trunk/; revision=40139

11 years ago - Implement NdisDeregisterAdapterShutdownHandler, NdisMapIoSpace, and NdisRegisterAd...
Cameron Gutman [Fri, 20 Mar 2009 20:14:01 +0000 (20:14 +0000)]
 - Implement NdisDeregisterAdapterShutdownHandler, NdisMapIoSpace, and NdisRegisterAdapterShutdownHandler
 - Move NdisCompleteDmaTransfer to 40gone.c

svn path=/trunk/; revision=40138

11 years agoRename GDIDEVICE to PDEVOBJ. Is seems ms uses both PDEV and PDEVOBJ, whith the latter...
Timo Kreuzer [Fri, 20 Mar 2009 18:02:55 +0000 (18:02 +0000)]
Rename GDIDEVICE to PDEVOBJ. Is seems ms uses both PDEV and PDEVOBJ, whith the latter being the C++ representation. But we don't use C++ and PDEVOBJ seems to be a more appropriate name, as PDEV is often used by display drivers.
Make DC.ppdev of type PDEVOBJ* and remove a bunch of typecasts.

svn path=/trunk/; revision=40137

11 years agoadd some new (incomplete) network headers
Christoph von Wittich [Fri, 20 Mar 2009 15:08:12 +0000 (15:08 +0000)]
add some new (incomplete) network headers

svn path=/trunk/; revision=40136

11 years agorename DC.Dc_attr to dcattr, DC.DcLevel to dclevel, just like in gdikdx. Some naming...
Timo Kreuzer [Fri, 20 Mar 2009 14:16:01 +0000 (14:16 +0000)]
rename DC.Dc_attr to dcattr, DC.DcLevel to dclevel, just like in gdikdx. Some naming improvement, remove an excessive variable.

svn path=/trunk/; revision=40135

11 years agouse ncalrpc instead of a named pipe
Christoph von Wittich [Fri, 20 Mar 2009 13:44:06 +0000 (13:44 +0000)]
use ncalrpc instead of a named pipe

svn path=/trunk/; revision=40134

11 years ago-allow to stop the service
Christoph von Wittich [Fri, 20 Mar 2009 13:43:43 +0000 (13:43 +0000)]
-allow to stop the service
-listen for rpc calls

svn path=/trunk/; revision=40133

11 years ago- Implement NdisMapFile
Dmitry Chapyshev [Fri, 20 Mar 2009 10:21:17 +0000 (10:21 +0000)]
- Implement NdisMapFile
- Implement NdisUnmapFile

svn path=/trunk/; revision=40129

11 years agorename DCs pDc_Attr to pdcattr, like in gdikdx.
Timo Kreuzer [Fri, 20 Mar 2009 04:51:26 +0000 (04:51 +0000)]
rename DCs pDc_Attr to pdcattr, like in gdikdx.
Make pdcattr alsways point to a DC_ATTR, either the user mode struct or the local part. Get rid of all the If (!pdcattr) pdcattr = &dc->Dc_Attr; That are not required anymore.

svn path=/trunk/; revision=40115

11 years ago - Implement NdisCompleteUnbindAdapter
Cameron Gutman [Fri, 20 Mar 2009 03:45:35 +0000 (03:45 +0000)]
 - Implement NdisCompleteUnbindAdapter

svn path=/trunk/; revision=40113

11 years ago - Implement NdisGetDriverHandle
Cameron Gutman [Fri, 20 Mar 2009 03:26:12 +0000 (03:26 +0000)]
 - Implement NdisGetDriverHandle

svn path=/trunk/; revision=40112

11 years agoChange most DC struct members to the names they have on Windows according to gdikdx
Timo Kreuzer [Fri, 20 Mar 2009 01:35:49 +0000 (01:35 +0000)]
Change most DC struct members to the names they have on Windows according to gdikdx

svn path=/trunk/; revision=40111

11 years ago - DmaSize is NDIS_DMA_SIZE not BOOLEAN
Cameron Gutman [Fri, 20 Mar 2009 01:07:09 +0000 (01:07 +0000)]
 - DmaWidth and DmaSpeed aren't used for bus-master DMA

svn path=/trunk/; revision=40110

11 years ago - Implement NdisMRegisterDmaChannel and NdisMInitializeScatterGatherDma
Cameron Gutman [Fri, 20 Mar 2009 00:26:53 +0000 (00:26 +0000)]
 - Implement NdisMRegisterDmaChannel and NdisMInitializeScatterGatherDma

svn path=/trunk/; revision=40109

11 years ago - Implement NdisMQueryAdapterInstanceName
Cameron Gutman [Fri, 20 Mar 2009 00:19:53 +0000 (00:19 +0000)]
 - Implement NdisMQueryAdapterInstanceName

svn path=/trunk/; revision=40108

11 years ago - Implement NdisMDeregisterDmaChannel
Cameron Gutman [Thu, 19 Mar 2009 23:02:12 +0000 (23:02 +0000)]
 - Implement NdisMDeregisterDmaChannel
 - My branch needs to be synced with trunk so I'm not using it right now (plus these changes aren't likely to break anything)

svn path=/trunk/; revision=40107

11 years ago- Don't try to be smarter than Windows and don't copy background/foreground color...
Aleksey Bragin [Thu, 19 Mar 2009 21:30:46 +0000 (21:30 +0000)]
- Don't try to be smarter than Windows and don't copy background/foreground color from the original DC. Spotted and confirmed by Evgeniy Boltik. As a result issues in bug 4143 are fixed, as well as other possible problems.
See issue #4143 for more details.

svn path=/trunk/; revision=40106

11 years ago- Experimental implementation of _RpcEnumInterfaces
Johannes Anderwald [Thu, 19 Mar 2009 16:57:46 +0000 (16:57 +0000)]
- Experimental implementation of _RpcEnumInterfaces
- If'd out as GetIfEntry2 is not yet implemented

svn path=/trunk/; revision=40104

11 years agoEvgeniy Boltik <>
Aleksey Bragin [Thu, 19 Mar 2009 16:56:07 +0000 (16:56 +0000)]
Evgeniy Boltik <>
- Rework 8bit DIB alphablend to do alpha operations in source's palette (32bpp) to obtain much better output quality with lowest possible quality loss.
See issue #4291 for more details.

svn path=/trunk/; revision=40103

11 years agowin32k RECT/RECTL issues:
Timo Kreuzer [Thu, 19 Mar 2009 01:42:34 +0000 (01:42 +0000)]
win32k RECT/RECTL issues:
- Although RECT and RECTL are defined equal, the compiler treats them as incompatible. MS has created a lot of definitions with RECT and a lot with RECTL. So far we had to typecast them. Now with adding some defines into a win32k header file, we can finally treat them as equal inside win32k and get rid of a lot of type casts. Also use RECTL in favour of RECT internally, as this is the type that MS uses for the DDI and seems to be the more appropriate type.
- We had a lot of "const PRECT" stuff inside win32k. Note: there's difference between "const RECT *" (what you currently want) and "CONST PRECT" (which you proabably don't want). Despite the fact that CONST is not an official modifier (please stick to const) the main difference is that the former describes a pointer to a constant structure, while the latter describes a constant pointer to a modifyable structure.
- In an attempt to clean up the overpolluted IntGdi namespace, "objectify" the rect functions, moving them into their own namespace RECTL_Xxx.

svn path=/trunk/; revision=40100

11 years agoMerge 39375 from amd64 branch:
Timo Kreuzer [Thu, 19 Mar 2009 00:38:59 +0000 (00:38 +0000)]
Merge 39375 from amd64 branch:
csrsrv: convert to spec (Timo Kreuzer)

svn path=/trunk/; revision=40099

11 years agoremove UNW flags from winnt.h, they don't belong there
Timo Kreuzer [Wed, 18 Mar 2009 22:58:49 +0000 (22:58 +0000)]
remove UNW flags from winnt.h, they don't belong there

svn path=/trunk/; revision=40098

11 years agomerge r40095 from amd64 branch
Timo Kreuzer [Wed, 18 Mar 2009 19:28:54 +0000 (19:28 +0000)]
merge r40095 from amd64 branch

svn path=/trunk/; revision=40097

11 years ago- Make MEMORY command use GlobalMemoryStatusEx if available, so it can show values...
Jeffrey Morlan [Wed, 18 Mar 2009 18:11:19 +0000 (18:11 +0000)]
- Make MEMORY command use GlobalMemoryStatusEx if available, so it can show values >= 4GB.
- Fix overflow bug in FREE command that caused values >= 4GB to wrap around.
- A little simplification of ConvertULargeInteger function

svn path=/trunk/; revision=40094

11 years agoAdd DDI_DRIVER_VERSION_NT5_01_SP1
Timo Kreuzer [Wed, 18 Mar 2009 17:13:23 +0000 (17:13 +0000)]

svn path=/trunk/; revision=40091

11 years agoadd missing definition of MultiplyHigh and UnsignedMultiplyHigh, fix typos.
Timo Kreuzer [Wed, 18 Mar 2009 17:12:57 +0000 (17:12 +0000)]
add missing definition of MultiplyHigh and UnsignedMultiplyHigh, fix typos.

svn path=/trunk/; revision=40090

11 years agoMerge from amd64 branch:
Timo Kreuzer [Wed, 18 Mar 2009 17:03:58 +0000 (17:03 +0000)]
Merge from amd64 branch:
34750 Add ExpChangePushlock macro for _WIN64 (Timo Kreuzer)
34941 Fix usage of InterlockedExchangeAddSizeT (Timo Kreuzer)

svn path=/trunk/; revision=40089

11 years ago- Change icon for Network Connections folder
Dmitry Chapyshev [Wed, 18 Mar 2009 09:31:53 +0000 (09:31 +0000)]
- Change icon for Network Connections folder

svn path=/trunk/; revision=40086

11 years ago- Update toolbars bitmaps
Dmitry Chapyshev [Wed, 18 Mar 2009 08:54:19 +0000 (08:54 +0000)]
- Update toolbars bitmaps
- Set toolbars height to 16

svn path=/trunk/; revision=40085

11 years ago- Implement SHIFT /n.
Jeffrey Morlan [Wed, 18 Mar 2009 03:52:58 +0000 (03:52 +0000)]
- Implement SHIFT /n.
- Make prompt code $T and %TIME% have the hours space-padded, not zero-padded.
- Allow delayed expansion in the parameter of IF ERRORLEVEL.

svn path=/trunk/; revision=40084