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
Jeffrey Morlan [Mon, 23 Mar 2009 19:54:52 +0000 (19:54 +0000)]
Implement %~$PATH:var variable substitution
svn path=/trunk/; revision=40191
Art Yerkes [Mon, 23 Mar 2009 19:45:21 +0000 (19:45 +0000)]
Actually mark irp pending.
svn path=/trunk/; revision=40190
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
Art Yerkes [Mon, 23 Mar 2009 18:13:17 +0000 (18:13 +0000)]
Formatting only, no change.
svn path=/trunk/; revision=40188
Timo Kreuzer [Mon, 23 Mar 2009 17:47:58 +0000 (17:47 +0000)]
[FORMATTING]
Apply indentation of 4 spaces. Misc formatting improvements. Add some FIXME comments, no code change
svn path=/trunk/; revision=40187
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
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
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
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
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
Timo Kreuzer [Mon, 23 Mar 2009 00:51:22 +0000 (00:51 +0000)]
Initialize flattrs in EBRUSHOBJ_vInit
svn path=/trunk/; revision=40180
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
Cameron Gutman [Sun, 22 Mar 2009 23:49:24 +0000 (23:49 +0000)]
- Implement NdisFreeDmaChannel
svn path=/trunk/; revision=40178
Cameron Gutman [Sun, 22 Mar 2009 23:39:57 +0000 (23:39 +0000)]
- Fix a memory leak
svn path=/trunk/; revision=40177
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
Cameron Gutman [Sun, 22 Mar 2009 23:28:06 +0000 (23:28 +0000)]
- Query MaxMulticastAddresses from the miniport
svn path=/trunk/; revision=40175
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
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
Johannes Anderwald [Sun, 22 Mar 2009 14:28:50 +0000 (14:28 +0000)]
- Clean up my working copy
svn path=/trunk/; revision=40172
James Tabor [Sun, 22 Mar 2009 05:20:55 +0000 (05:20 +0000)]
- Implement AddFontMemResourceEx and simplify RemoveFontMemResourceEx.
svn path=/trunk/; revision=40171
Cameron Gutman [Sun, 22 Mar 2009 02:02:22 +0000 (02:02 +0000)]
- Fix release build
svn path=/trunk/; revision=40170
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
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
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
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
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
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 readme.wine. Some apps are autosynched by me and are mentioned as really old. Fixed this.
svn path=/trunk/; revision=40159
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
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
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
Dmitry Gorbachev [Sat, 21 Mar 2009 07:11:56 +0000 (07:11 +0000)]
Do not forward TraceMessage() to itself.
svn path=/trunk/; revision=40150
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
Colin Finck [Sat, 21 Mar 2009 01:39:04 +0000 (01:39 +0000)]
Big testing system commit
rosautotest
- 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
sysreg2
- 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
testman
- Change the testman Web Interface to show such crashes as CRASH in the Compare and Detail views.
svn path=/trunk/; revision=40147
Timo Kreuzer [Sat, 21 Mar 2009 00:25:52 +0000 (00:25 +0000)]
Fix build.
svn path=/trunk/; revision=40146
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
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
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
Cameron Gutman [Fri, 20 Mar 2009 21:29:53 +0000 (21:29 +0000)]
- Reorganize NDIS code
svn path=/trunk/; revision=40142
Cameron Gutman [Fri, 20 Mar 2009 20:51:05 +0000 (20:51 +0000)]
- Implement NdisFreeSharedMemory
svn path=/trunk/; revision=40141
Cameron Gutman [Fri, 20 Mar 2009 20:45:27 +0000 (20:45 +0000)]
- Implement NdisAllocateSharedMemory
svn path=/trunk/; revision=40140
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
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
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
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
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
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
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
Dmitry Chapyshev [Fri, 20 Mar 2009 10:21:17 +0000 (10:21 +0000)]
- Implement NdisMapFile
- Implement NdisUnmapFile
svn path=/trunk/; revision=40129
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
Cameron Gutman [Fri, 20 Mar 2009 03:45:35 +0000 (03:45 +0000)]
- Implement NdisCompleteUnbindAdapter
svn path=/trunk/; revision=40113
Cameron Gutman [Fri, 20 Mar 2009 03:26:12 +0000 (03:26 +0000)]
- Implement NdisGetDriverHandle
svn path=/trunk/; revision=40112
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
Cameron Gutman [Fri, 20 Mar 2009 01:07:09 +0000 (01:07 +0000)]
- DmaSize is NDIS_DMA_SIZE not BOOLEAN
- DmaWidth and DmaSpeed aren't used for bus-master DMA
svn path=/trunk/; revision=40110
Cameron Gutman [Fri, 20 Mar 2009 00:26:53 +0000 (00:26 +0000)]
- Implement NdisMRegisterDmaChannel and NdisMInitializeScatterGatherDma
svn path=/trunk/; revision=40109
Cameron Gutman [Fri, 20 Mar 2009 00:19:53 +0000 (00:19 +0000)]
- Implement NdisMQueryAdapterInstanceName
svn path=/trunk/; revision=40108
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
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
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
Aleksey Bragin [Thu, 19 Mar 2009 16:56:07 +0000 (16:56 +0000)]
Evgeniy Boltik <bstsoft@narod.ru>
- 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
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
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
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
Timo Kreuzer [Wed, 18 Mar 2009 19:28:54 +0000 (19:28 +0000)]
merge r40095 from amd64 branch
svn path=/trunk/; revision=40097
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
Timo Kreuzer [Wed, 18 Mar 2009 17:13:23 +0000 (17:13 +0000)]
Add DDI_DRIVER_VERSION_NT5_01_SP1
svn path=/trunk/; revision=40091
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
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
Dmitry Chapyshev [Wed, 18 Mar 2009 09:31:53 +0000 (09:31 +0000)]
- Change icon for Network Connections folder
svn path=/trunk/; revision=40086
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
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
Jeffrey Morlan [Tue, 17 Mar 2009 22:53:13 +0000 (22:53 +0000)]
Fix a typo
svn path=/trunk/; revision=40083
Jeffrey Morlan [Tue, 17 Mar 2009 22:27:33 +0000 (22:27 +0000)]
- Implement MKLINK command.
- Remove unused library shell32 from cmd.rbuild.
svn path=/trunk/; revision=40082
James Tabor [Tue, 17 Mar 2009 21:50:47 +0000 (21:50 +0000)]
- Rename gdi entry flag.
svn path=/trunk/; revision=40081
Timo Kreuzer [Tue, 17 Mar 2009 21:39:17 +0000 (21:39 +0000)]
"same thing in BmfdUnloadFontFile btw :p"
Thanks Stefam again.
svn path=/trunk/; revision=40080
Timo Kreuzer [Tue, 17 Mar 2009 21:29:17 +0000 (21:29 +0000)]
Don't access the font structure after it was freed. Spotted by Stefan.
svn path=/trunk/; revision=40079
Timo Kreuzer [Tue, 17 Mar 2009 20:30:16 +0000 (20:30 +0000)]
C++ comment style -> C comment style
See issue #4284 for more details.
svn path=/trunk/; revision=40078
Colin Finck [Tue, 17 Mar 2009 20:17:02 +0000 (20:17 +0000)]
Sync CRT initialization code with mingw-w64 r690
- Fixed initialization for Console apps with Unicode entry point. Now stuff like "cout" in <iostream> doesn't lead to instant crashes.
- Unified the name of the entry point for ANSI and Unicode. The difference is just in the library now ("mingw_main" vs. "mingw_wmain")
RBuild was changed appropriately to support this
- No more ReactOS-specific changes inside the initialization code
svn path=/trunk/; revision=40077
Timo Kreuzer [Tue, 17 Mar 2009 20:08:53 +0000 (20:08 +0000)]
Don't use C++ comment style in C headers.
See issue #4284 for more details.
svn path=/trunk/; revision=40076
James Tabor [Tue, 17 Mar 2009 18:18:20 +0000 (18:18 +0000)]
- Added one more gdi entry flag with notes.
svn path=/trunk/; revision=40075
Aleksey Bragin [Tue, 17 Mar 2009 18:00:28 +0000 (18:00 +0000)]
Evgeniy Boltik <bstsoft@narod.ru>
- Rework 16bit DIB alphablend to do alpha operations in source's palette (32bpp) to obtain much better output quality without data loss.
See issue #3708 for more details.
svn path=/trunk/; revision=40074
Timo Kreuzer [Tue, 17 Mar 2009 06:34:09 +0000 (06:34 +0000)]
[FORMATTING]
- apply ansi style formatting with an indentation of 4 spaces
- Add 2 FIXME comments, regarding MmSecureVirtualmemory
- no code change
svn path=/trunk/; revision=40073
Timo Kreuzer [Tue, 17 Mar 2009 04:28:03 +0000 (04:28 +0000)]
Remove unused DriverFunction and GDIBdyToHdr
svn path=/trunk/; revision=40072
Timo Kreuzer [Tue, 17 Mar 2009 01:41:33 +0000 (01:41 +0000)]
- Move contents of eng/misc.h into include/misc.h, get rid of eng/misc.h
- Move eng/objects.h -> include/engobjects.h
svn path=/trunk/; revision=40071
Timo Kreuzer [Tue, 17 Mar 2009 01:15:26 +0000 (01:15 +0000)]
[FORMATTING]
- Change indentation to 4 spaces
- remove dditional header and $Id field
- no code change
svn path=/trunk/; revision=40070
Timo Kreuzer [Tue, 17 Mar 2009 01:06:34 +0000 (01:06 +0000)]
- Inline GDIOBJ_UnlockObjByPtr, ASSERT that we don't unlock an already unlocked object, return how many locks are left.
- Don't access the objects cExclsiveLock field after unlocking it, instead use new return value of GDIOBJ_UnlockObjByPtr
svn path=/trunk/; revision=40069
Timo Kreuzer [Tue, 17 Mar 2009 00:30:15 +0000 (00:30 +0000)]
Rewrite DRIVEROBJ api, giving the object a handle, belonging to the current process. Let the gdi obj cleanup take care for calling the callback function.
Allow deleting of objects that are exclusively locked by the current thread.
svn path=/trunk/; revision=40068
Art Yerkes [Mon, 16 Mar 2009 20:59:05 +0000 (20:59 +0000)]
Fix some issues with peer names being reported. There may be other problems
too.
My read of MSDN is that queries that return addresses in queries other than
TDI_QUERY_ADDRESS_INFO return a TRANSPORT_ADDRESS, so we plumb that through
for GetPeerName. Note that this isn't user-facing functionality, so it's
unlikely, though not impossible, that we've got it wrong and it'll affect
something. Likely, this is an improvement.
svn path=/trunk/; revision=40067
Aleksey Bragin [Mon, 16 Mar 2009 20:56:07 +0000 (20:56 +0000)]
- Implement boot drivers loading.
svn path=/trunk/; revision=40066
Cameron Gutman [Mon, 16 Mar 2009 19:26:38 +0000 (19:26 +0000)]
- Don't access an index outside the array bounds
- Fixes memory corruption when calling AfdGetSockName and AfdGetPeerName
- This caused a high-side redzone overwrite when accessing some web sites
svn path=/trunk/; revision=40065
Daniel Reimer [Mon, 16 Mar 2009 18:30:15 +0000 (18:30 +0000)]
Update German Translation
svn path=/trunk/; revision=40064
Aleksey Bragin [Mon, 16 Mar 2009 18:26:02 +0000 (18:26 +0000)]
- Support loading drivers which have no subdirectory in their image path.
svn path=/trunk/; revision=40063
Jeffrey Morlan [Mon, 16 Mar 2009 18:18:26 +0000 (18:18 +0000)]
Implement ASSOC command (Bug 4275). Patch by Lee C. Baker <lee at leecbaker.com>.
svn path=/trunk/; revision=40062
Dmitry Gorbachev [Mon, 16 Mar 2009 14:10:15 +0000 (14:10 +0000)]
Update Slovak translation, fix formatting. Mario Kacmar. Bug #4281.
svn path=/trunk/; revision=40061
Christoph von Wittich [Mon, 16 Mar 2009 13:40:25 +0000 (13:40 +0000)]
-add wlan service to registry
-add wlansvc and wlapapi_winetest to bootcd
-add some parameter checks to WlanCloseHandle
-halfplement WlanOpenHandle
svn path=/trunk/; revision=40060
Christoph von Wittich [Mon, 16 Mar 2009 13:39:03 +0000 (13:39 +0000)]
more precise error descriptions
svn path=/trunk/; revision=40059
Johannes Anderwald [Mon, 16 Mar 2009 13:12:14 +0000 (13:12 +0000)]
- Fix memory leak
- Fix memory corruptions
- Does not fix es1370mp / es1371mp driver (qemu / vmware)
svn path=/trunk/; revision=40058
Christoph von Wittich [Mon, 16 Mar 2009 12:15:02 +0000 (12:15 +0000)]
add some wlanapi tests
svn path=/trunk/; revision=40057
Christoph von Wittich [Mon, 16 Mar 2009 09:50:56 +0000 (09:50 +0000)]
add missing types
svn path=/trunk/; revision=40056
Christoph von Wittich [Mon, 16 Mar 2009 09:22:25 +0000 (09:22 +0000)]
-implement WlanScan and WlanEnumInterfaces
-add some more NDIS definitions
svn path=/trunk/; revision=40055