Commit graph

35639 commits

Author SHA1 Message Date
Cameron Gutman fb05aeee09 - Implement NdisCompleteUnbindAdapter
svn path=/trunk/; revision=40113
2009-03-20 03:45:35 +00:00
Cameron Gutman cf85baa5fa - Implement NdisGetDriverHandle
svn path=/trunk/; revision=40112
2009-03-20 03:26:12 +00:00
Timo Kreuzer af62ba6188 Change most DC struct members to the names they have on Windows according to gdikdx
svn path=/trunk/; revision=40111
2009-03-20 01:35:49 +00:00
Cameron Gutman b2490d5d64 - DmaSize is NDIS_DMA_SIZE not BOOLEAN
- DmaWidth and DmaSpeed aren't used for bus-master DMA

svn path=/trunk/; revision=40110
2009-03-20 01:07:09 +00:00
Cameron Gutman ac73f877b3 - Implement NdisMRegisterDmaChannel and NdisMInitializeScatterGatherDma
svn path=/trunk/; revision=40109
2009-03-20 00:26:53 +00:00
Cameron Gutman cea9babf80 - Implement NdisMQueryAdapterInstanceName
svn path=/trunk/; revision=40108
2009-03-20 00:19:53 +00:00
Cameron Gutman fed96b0d69 - 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
2009-03-19 23:02:12 +00:00
Aleksey Bragin d94693c32a - 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
2009-03-19 21:30:46 +00:00
Johannes Anderwald c8eaa18003 - Experimental implementation of _RpcEnumInterfaces
- If'd out as GetIfEntry2 is not yet implemented

svn path=/trunk/; revision=40104
2009-03-19 16:57:46 +00:00
Aleksey Bragin d9d83e8fb1 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
2009-03-19 16:56:07 +00:00
Timo Kreuzer 8d620098f5 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
2009-03-19 01:42:34 +00:00
Timo Kreuzer ee6542397d Merge 39375 from amd64 branch:
csrsrv: convert to spec (Timo Kreuzer)

svn path=/trunk/; revision=40099
2009-03-19 00:38:59 +00:00
Timo Kreuzer 24740374a1 remove UNW flags from winnt.h, they don't belong there
svn path=/trunk/; revision=40098
2009-03-18 22:58:49 +00:00
Timo Kreuzer 2a59efd748 merge r40095 from amd64 branch
svn path=/trunk/; revision=40097
2009-03-18 19:28:54 +00:00
Jeffrey Morlan a98a143a48 - 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
2009-03-18 18:11:19 +00:00
Timo Kreuzer de32a44cb9 Add DDI_DRIVER_VERSION_NT5_01_SP1
svn path=/trunk/; revision=40091
2009-03-18 17:13:23 +00:00
Timo Kreuzer 1ec5957c2c add missing definition of MultiplyHigh and UnsignedMultiplyHigh, fix typos.
svn path=/trunk/; revision=40090
2009-03-18 17:12:57 +00:00
Timo Kreuzer 5e3ee25bd3 Merge from amd64 branch:
34750 Add ExpChangePushlock macro for _WIN64 (Timo Kreuzer)
34941 Fix usage of InterlockedExchangeAddSizeT (Timo Kreuzer)

svn path=/trunk/; revision=40089
2009-03-18 17:03:58 +00:00
Dmitry Chapyshev 6c4ccad5b0 - Change icon for Network Connections folder
svn path=/trunk/; revision=40086
2009-03-18 09:31:53 +00:00
Dmitry Chapyshev 63c838d70d - Update toolbars bitmaps
- Set toolbars height to 16

svn path=/trunk/; revision=40085
2009-03-18 08:54:19 +00:00
Jeffrey Morlan 3a52766a90 - 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
2009-03-18 03:52:58 +00:00
Jeffrey Morlan 466a9064a2 Fix a typo
svn path=/trunk/; revision=40083
2009-03-17 22:53:13 +00:00
Jeffrey Morlan ef4415728b - Implement MKLINK command.
- Remove unused library shell32 from cmd.rbuild.

svn path=/trunk/; revision=40082
2009-03-17 22:27:33 +00:00
James Tabor 9fdb6d5596 - Rename gdi entry flag.
svn path=/trunk/; revision=40081
2009-03-17 21:50:47 +00:00
Timo Kreuzer baa5b4b9e6 "same thing in BmfdUnloadFontFile btw :p"
Thanks Stefam again.

svn path=/trunk/; revision=40080
2009-03-17 21:39:17 +00:00
Timo Kreuzer b12cd7a282 Don't access the font structure after it was freed. Spotted by Stefan.
svn path=/trunk/; revision=40079
2009-03-17 21:29:17 +00:00
Timo Kreuzer 8f4fd76b65 C++ comment style -> C comment style
See issue #4284 for more details.

svn path=/trunk/; revision=40078
2009-03-17 20:30:16 +00:00
Colin Finck 9ffc9028a2 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
2009-03-17 20:17:02 +00:00
Timo Kreuzer 72e2fbe6f8 Don't use C++ comment style in C headers.
See issue #4284 for more details.

svn path=/trunk/; revision=40076
2009-03-17 20:08:53 +00:00
James Tabor abb0a44950 - Added one more gdi entry flag with notes.
svn path=/trunk/; revision=40075
2009-03-17 18:18:20 +00:00
Aleksey Bragin 64b42346d2 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
2009-03-17 18:00:28 +00:00
Timo Kreuzer cf3d6a794f [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
2009-03-17 06:34:09 +00:00
Timo Kreuzer 0f06669f19 Remove unused DriverFunction and GDIBdyToHdr
svn path=/trunk/; revision=40072
2009-03-17 04:28:03 +00:00
Timo Kreuzer 5c5cfa7b96 - 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
2009-03-17 01:41:33 +00:00
Timo Kreuzer 4ab0724bd7 [FORMATTING]
- Change indentation to 4 spaces
- remove dditional header and $Id field
- no code change

svn path=/trunk/; revision=40070
2009-03-17 01:15:26 +00:00
Timo Kreuzer 886b7b2ab2 - 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
2009-03-17 01:06:34 +00:00
Timo Kreuzer 8d1df272ce 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
2009-03-17 00:30:15 +00:00
Art Yerkes 1c4400b8ae 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
2009-03-16 20:59:05 +00:00
Aleksey Bragin 455369fa90 - Implement boot drivers loading.
svn path=/trunk/; revision=40066
2009-03-16 20:56:07 +00:00
Cameron Gutman 08c383c3de - 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
2009-03-16 19:26:38 +00:00
Daniel Reimer ae440999df Update German Translation
svn path=/trunk/; revision=40064
2009-03-16 18:30:15 +00:00
Aleksey Bragin 48291b3d33 - Support loading drivers which have no subdirectory in their image path.
svn path=/trunk/; revision=40063
2009-03-16 18:26:02 +00:00
Jeffrey Morlan 34afc06d0a Implement ASSOC command (Bug 4275). Patch by Lee C. Baker <lee at leecbaker.com>.
svn path=/trunk/; revision=40062
2009-03-16 18:18:26 +00:00
Dmitry Gorbachev 71f14c5422 Update Slovak translation, fix formatting. Mario Kacmar. Bug #4281.
svn path=/trunk/; revision=40061
2009-03-16 14:10:15 +00:00
Christoph von Wittich d548413ae8 -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
2009-03-16 13:40:25 +00:00
Christoph von Wittich 71362c59fd more precise error descriptions
svn path=/trunk/; revision=40059
2009-03-16 13:39:03 +00:00
Johannes Anderwald 118cf3b5e1 - Fix memory leak
- Fix memory corruptions
- Does not fix es1370mp / es1371mp driver (qemu / vmware)

svn path=/trunk/; revision=40058
2009-03-16 13:12:14 +00:00
Christoph von Wittich 5c6d424c26 add some wlanapi tests
svn path=/trunk/; revision=40057
2009-03-16 12:15:02 +00:00
Christoph von Wittich 151e1c47c1 add missing types
svn path=/trunk/; revision=40056
2009-03-16 09:50:56 +00:00
Christoph von Wittich aaa5075d3d -implement WlanScan and WlanEnumInterfaces
-add some more NDIS definitions

svn path=/trunk/; revision=40055
2009-03-16 09:22:25 +00:00