Commit graph

35613 commits

Author SHA1 Message Date
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
Christoph von Wittich 7ea6daa784 implement WlanCloseHandle
svn path=/trunk/; revision=40054
2009-03-16 08:23:58 +00:00
Christoph von Wittich 60a57f4c8a stub wlan rpcserver
svn path=/trunk/; revision=40053
2009-03-16 08:08:03 +00:00
Christoph von Wittich a8d63d2500 move some structs to the idl
svn path=/trunk/; revision=40052
2009-03-16 07:50:27 +00:00
James Tabor a27da8f7e8 - Patch by Evgeniy Boltik: Fix Rectangle, Ellipse, RoundRect and Polygon.
svn path=/trunk/; revision=40051
2009-03-16 03:21:00 +00:00
Jeffrey Morlan 6f8ec7004e Fixed output of various date/time stuff ($D and $T in prompt, %DATE% and %TIME% variables, DATE /T and TIME /T commands) to be more compatible with Windows.
svn path=/trunk/; revision=40050
2009-03-16 00:44:08 +00:00
Sylvain Petreolle 80c1384089 unbreak wlananpi build by #ifdef'ing struct_C, struct_D and struct_E
svn path=/trunk/; revision=40049
2009-03-15 21:25:18 +00:00
Aleksey Bragin 6bd4c18a13 Evgeniy Boltik <bstsoft@narod.ru>
- Move clipping from StretchBlt to Eng.
- Add ROP support to StretchBlt.
- Fix alphablend support (alphablend.exe produces same result as tested on Windows XP).

See issue #4156 for more details.

svn path=/trunk/; revision=40048
2009-03-15 20:13:10 +00:00
Christoph von Wittich 1ed252413b -add some more WLAN types
-add wlansvc.idl

svn path=/trunk/; revision=40047
2009-03-15 19:48:56 +00:00
Dmitry Chapyshev 2ce97e2c16 - Add some defines
svn path=/trunk/; revision=40046
2009-03-15 19:06:48 +00:00
Dmitry Chapyshev 57e8c21128 - Sync quartz with Wine head
svn path=/trunk/; revision=40045
2009-03-15 19:03:42 +00:00
Dmitry Chapyshev ea9fc099f5 - Change font to Tahoma
svn path=/trunk/; revision=40044
2009-03-15 18:59:09 +00:00
Christoph von Wittich ca12a2179c add wlantypes.h and move some definitions to the correct place
svn path=/trunk/; revision=40043
2009-03-15 18:55:51 +00:00
Christoph von Wittich ace79a8ee9 add ntddndis.h and windot11.h
svn path=/trunk/; revision=40042
2009-03-15 17:19:02 +00:00
Aleksey Bragin 1e1a103c24 Evgeniy Boltik <bstsoft@narod.ru>
- EngStretchBltROP expects a ROP4 code, but SRCCOPY is ROP3. Convert it accordingly.

See issue #4156 for more details.

svn path=/trunk/; revision=40041
2009-03-15 17:04:46 +00:00
Aleksey Bragin 5afd0c7426 Evgeniy Boltik <bstsoft@narod.ru>
- Brush's origin is always (0,0) of a window, not a screen. Offset it accordingly in NtGdiStretchBlt.
See issue #4147 for more details.

svn path=/trunk/; revision=40040
2009-03-15 17:00:13 +00:00
Dmitry Chapyshev 628321cb61 - Add mp3 codec from Wine
svn path=/trunk/; revision=40039
2009-03-15 15:54:15 +00:00
Jeffrey Morlan 341c5b2e5f - Allow running a batch file from inside a FOR
- A little cleanup

svn path=/trunk/; revision=40038
2009-03-15 15:45:17 +00:00
Dmitry Chapyshev c116a4507a - Fix build
svn path=/trunk/; revision=40037
2009-03-15 15:37:05 +00:00
Dmitry Chapyshev c0c953ae5d - Add httpapi, initpki, itircl, msisys.ocx, msnet32, pidgen, resutils, sccbase, slbcsp, softpub, traffic from Wine
svn path=/trunk/; revision=40036
2009-03-15 15:20:51 +00:00
Dmitry Gorbachev ea6fed1ec0 Update Spanish translations. Javier Remacha, bug #4278. (2/2)
svn path=/trunk/; revision=40035
2009-03-15 14:13:46 +00:00
Dmitry Gorbachev b37f7b3199 Update Spanish translations. Javier Remacha, bug #4278. (1/2)
svn path=/trunk/; revision=40034
2009-03-15 14:13:41 +00:00
Christoph von Wittich c16fc76360 add a dummy wlansvc
svn path=/trunk/; revision=40033
2009-03-15 13:55:41 +00:00
Aleksey Bragin 0eec102951 - Give winldr's PE loader its own debug mask.
svn path=/trunk/; revision=40032
2009-03-15 13:29:13 +00:00
Dmitry Chapyshev 093a0db906 - Add mssign32, msisip, query, updspapi, wintab32 from Wine
svn path=/trunk/; revision=40031
2009-03-15 11:22:15 +00:00
Aleksey Bragin 12a0ddf46e - Implement NLS data loading.
svn path=/trunk/; revision=40030
2009-03-15 11:10:52 +00:00
Dmitry Chapyshev d77cb9ea17 - Add shortcut for dxdiag
svn path=/trunk/; revision=40029
2009-03-15 10:57:55 +00:00