Commit graph

37412 commits

Author SHA1 Message Date
Timo Kreuzer 69d04cfc34 Get rid of the DCs XlateBrush and XlatePen. The resulting code isn't any better yet, but this step is needed for the upcoming xlateobj rewrite.
svn path=/trunk/; revision=41820
2009-07-08 21:53:35 +00:00
Timo Kreuzer 903a26ae64 BltMask: remove unnecessary check
svn path=/trunk/; revision=41819
2009-07-08 21:35:33 +00:00
Timo Kreuzer 9a36897e48 IntGdiPolyPatBlt: Don't unnecessarily update the dc's brush, improve and simplyfy code,
svn path=/trunk/; revision=41818
2009-07-08 21:05:37 +00:00
Stefan Ginsberg 915bec118b - Revert 41788, replaced by a real fix in 41815.
See issue #4663 for more details.

svn path=/trunk/; revision=41817
2009-07-08 21:04:54 +00:00
Stefan Ginsberg c589c03a22 - NtUserMessageCall: Fix probe-and-capture for the FNID_BROADCASTSYSTEMMESSAGE case -- win32k must copy user mode buffers to safe memory before reading from them (or wrap the operations in SEH). Copy the buffer to the stack as it is small.
svn path=/trunk/; revision=41816
2009-07-08 20:41:58 +00:00
KJK::Hyperion 488bf13922 modified lib/pseh/i386/framebased-gcchack.c
Notorious ass-clown Arch Blackmann forgot to pop the trylevel that handled an exception. Subsequent throws would keep being caught by the same trylevel over and over again, and infinite loops are indeed possible. Eat shit and die, Arch
   If test_bug_4663 test in the PSEH2 test suite is actually representative of the bug, the bug itself may have been fixed

svn path=/trunk/; revision=41815
2009-07-08 20:32:50 +00:00
KJK::Hyperion 3728596a8e modified pseh2/psehtest.c
We need a bigger boat. Improve the test for bug #4663

svn path=/trunk/; revision=41814
2009-07-08 20:28:33 +00:00
Gregor Schneider 973a9493c4 According to http://msdn.microsoft.com/en-us/library/tcxf1dw6(VS.71).aspx and http://www.cplusplus.com/reference/clibrary/cstdio/printf/ there are no %le and %lf printf formats. The 'l' specifier is used for integers or wide characters, 'L' for long double. Outputting a double doesn't require any additional specifier (see http://msdn.microsoft.com/en-us/library/hf4y5e3w(VS.71).aspx).
svn path=/trunk/; revision=41813
2009-07-08 20:06:11 +00:00
KJK::Hyperion 9060c87bad modified include/reactos/libs/pseh/pseh2.h
Only leave the frame in the outermost _SEH2_END (like in PSEH1)

svn path=/trunk/; revision=41812
2009-07-08 19:52:48 +00:00
KJK::Hyperion d6dcda9708 modified tests/pseh2/psehtest.c
Don't use ok() when we mean trace()
   Fix the stack after corruption of the registration list
   Revised figures: "only" FOURTY of ninety-three tests fail with a corrupted registration list

svn path=/trunk/; revision=41811
2009-07-08 19:40:54 +00:00
KJK::Hyperion dfccee750d modified tests/pseh2/psehtest.c
Test case for bug #4663 (still unsolved)
   New sanity check for correct unlinking of the frame. !!!EIGHTY TESTS OUT OF NINETY-THREE CURRENTLY FAIL THIS!!!

svn path=/trunk/; revision=41810
2009-07-08 19:30:02 +00:00
Jeffrey Morlan 24fe0f5f8c In cmd: free all memory before exiting to prevent "memory leak" messages (bug 4510). Also, CMD /? should exit with a code of 1 instead of 0.
svn path=/trunk/; revision=41808
2009-07-08 17:28:21 +00:00
Thomas Bluemel 6ddc722505 Simplify code, thx Ged
svn path=/trunk/; revision=41807
2009-07-08 16:57:12 +00:00
Timo Kreuzer 3fc14e0331 [FORMATTING]
no code change

svn path=/trunk/; revision=41806
2009-07-08 16:19:11 +00:00
Thomas Bluemel 8d45a2401a Allow activating tasks
svn path=/trunk/; revision=41805
2009-07-08 14:33:25 +00:00
Cameron Gutman 137c0f6dd5 - Fix retrieval of the default gateway (missing default gateway in ipconfig)
svn path=/trunk/; revision=41803
2009-07-08 07:33:12 +00:00
Cameron Gutman 43a5a4bdb5 - Remove an old hack (r14812) which limited ROS to use only one DNS server
svn path=/trunk/; revision=41802
2009-07-08 07:02:33 +00:00
KJK::Hyperion 1aef6c7fa4 Reverting part of r40006 that introduced a regression (Arch Blackmann HAS been committing to mingw-w64). A real fix, if this is hiding a bug elsewhere, will have to wait until a proper vendor drop of mingw-w64
svn path=/trunk/; revision=41801
2009-07-08 00:48:05 +00:00
Gregor Schneider 453d1d9077 AlphaBlend:
- Return immediately if any bitmap size is smaller than zero
- Also check calculated input bitmap size against source size
- Remove outdated FIXME
- Fixes three gdi32 bitmap winetests

svn path=/trunk/; revision=41800
2009-07-07 16:58:36 +00:00
Gregor Schneider e80cf32fd5 Geoffroy Couprie <geo DOT couprie AT gmail DOT com>:
- Fix a printf case, where the exponent is zero
- Implement exponent increment/decrement for printf in scientific notation
My changes <grschneider AT gmail DOT com>:
- Change some lessequal/greaterequal to equal
- Exchange OR with AND operation
- Modify patch identation to match current code, remove FIXME
- Skipped the ecvt part of the patch (not needed, sprint has the bugs)
- Fixes five msvcrt printf winetests, see bug #4584 for more information

svn path=/trunk/; revision=41799
2009-07-07 16:19:34 +00:00
James Tabor 552a269ce8 - Add another Vista function WindowFromPhysicalPoint to user32.
svn path=/trunk/; revision=41798
2009-07-07 16:19:23 +00:00
Cameron Gutman 4837e387d0 - Recommit r41782 now that DHCP is ready for the fix
- Start the indexes at 0 (Software loopback will take index 0)

svn path=/trunk/; revision=41797
2009-07-07 05:29:37 +00:00
Cameron Gutman bfee1bad64 - Remove a bad ASSERT
- TCPPacketSendComplete isn't called from oskittcp

svn path=/trunk/; revision=41796
2009-07-07 04:47:48 +00:00
Cameron Gutman fc4ea7b821 - Set Size to the size of the buffer we allocated (it previously had stack garbage in it which prevented proper buffer sizing)
- Fixes a buffer overwrite
 - Multiple NIC support is here! (DHCP currently doesn't work for multiple NICs so a static IP address is needed for now)

svn path=/trunk/; revision=41795
2009-07-07 04:40:54 +00:00
James Tabor 94b14962cf - Hit another one. Check window is still alive.
svn path=/trunk/; revision=41794
2009-07-07 03:23:27 +00:00
James Tabor 775000286f - Check window is still alive.
svn path=/trunk/; revision=41793
2009-07-07 00:06:54 +00:00
Stefan Ginsberg 1ab79b4fa3 - Remove a deprecated check from MmpAccessFault -- PsGetCurrentProcess doesn't return NULL since revision 24148.
svn path=/trunk/; revision=41792
2009-07-06 23:35:59 +00:00
James Tabor a4009f2c99 - Update apptest.
svn path=/trunk/; revision=41791
2009-07-06 20:57:23 +00:00
James Tabor 49042185f8 - fix build.
svn path=/trunk/; revision=41790
2009-07-06 20:56:48 +00:00
James Tabor 9e489f0c75 - Update UpdateLayeredWindow and Indirect.
svn path=/trunk/; revision=41789
2009-07-06 20:56:17 +00:00
Dmitry Gorbachev b045cc3db5 "Fix" MDL PROBE FAILED! bug #4663.
svn path=/trunk/; revision=41788
2009-07-06 18:28:11 +00:00
Dmitry Gorbachev e3a50e4fbb Fix compilation with latest GCC.
svn path=/trunk/; revision=41787
2009-07-06 18:26:57 +00:00
KJK::Hyperion 4ff21182dd Reverting incomplete commit r41782 on request of the author
svn path=/trunk/; revision=41786
2009-07-06 18:19:05 +00:00
James Tabor 57aa46671d - Update apitests.
svn path=/trunk/; revision=41785
2009-07-06 16:24:00 +00:00
James Tabor 797cea831c - Update NtGdiOpenDCW to the newest sdk.
svn path=/trunk/; revision=41784
2009-07-06 16:22:11 +00:00
Cameron Gutman 5477d3c2ff - Fix return value of tdiGetMibForIfEntity so it doesn't return a failure status on success
svn path=/trunk/; revision=41783
2009-07-06 07:54:28 +00:00
Cameron Gutman fe902d9d86 - Register us as a protocol and start the loopback adapter only after we are fully initialized
- Start the loopback adapter before registering as a protocol so binding happens in the correct order (will be important for my next commit)
 - TODO: Cleanup this code

svn path=/trunk/; revision=41782
2009-07-06 04:13:55 +00:00
Matthias Kupfer c8fc6c56e5 If you hit the close button the taskmanager shouldn't start up anymore
svn path=/trunk/; revision=41781
2009-07-05 15:02:29 +00:00
Dmitry Gorbachev 94fe2f6efe Update Norwegian translations. Lars Martin Hambro, bug #4655.
svn path=/trunk/; revision=41780
2009-07-05 14:51:07 +00:00
Dmitry Gorbachev bc9c521a84 If exception occurs, leave critical section. Bug #4431.
svn path=/trunk/; revision=41779
2009-07-05 14:08:10 +00:00
James Tabor 0d5243017d - Move PostThreadMessage internals into its own function.
svn path=/trunk/; revision=41778
2009-07-05 07:47:41 +00:00
James Tabor 4419fee70a - Discontinue the use of thread information for the hook check and use client information.
- Moved code around to make it readable.

svn path=/trunk/; revision=41777
2009-07-05 04:00:59 +00:00
James Tabor 3df7c8cf6a - Implement the client shutdown procedure. Tested with wine user32 msg undocumented 0x3B tests. Wine tests: msg: 6175 tests executed (0 marked as todo, 937 failures), 5 skipped.
- Add missing end session types.
- Reference: winproc.c WM_CLIENTSHUTDOWN http://wiki.winprog.org/wiki/Windows_messages

svn path=/trunk/; revision=41776
2009-07-05 02:21:35 +00:00
Cameron Gutman 3c12bab49c - Revert r41761
svn path=/trunk/; revision=41775
2009-07-04 21:28:39 +00:00
James Tabor 77c9c52324 - Cleanup patch tab removeal.
svn path=/trunk/; revision=41773
2009-07-04 16:43:59 +00:00
James Tabor 0aeef70968 - Updates and changes to, with one add on and removal: MenuWindowProc (Not supported in kernel space), PopupMenuWndProcA, PostMessage, SendNotifyMessage and win32k hook debugs.
- Patch by Smiley <johnyadams@hotmail.com>: Wrong PostMessage and SendNotifyMessage behavior, see Bug 4646.
- Reference: Related to TranslateMessage: http://msdn.microsoft.com/en-us/library/aa912145.aspx , Related to PopupMenuWndProcA: Registration of Atom classes, Unicode only: http://www.reactos.org/archives/public/ros-dev/2007-October/009976.html

svn path=/trunk/; revision=41772
2009-07-04 16:31:11 +00:00
Timo Kreuzer 43005003c0 Implement PALETTE_ulGetNearestPaletteIndex and PALETTE_ulGetRGBColorFromIndex, replacing COLOR_LookupNearestColor and COLOR_PaletteLookupPixel
Implement PALETTE_vGetBitMasks

svn path=/trunk/; revision=41771
2009-07-04 13:56:33 +00:00
Christoph von Wittich b6a256d5f2 sync localui with wine 1.1.25
svn path=/trunk/; revision=41770
2009-07-04 11:52:35 +00:00
Christoph von Wittich 2a8f77e56f sync jscript with wine 1.1.25
svn path=/trunk/; revision=41769
2009-07-04 11:49:53 +00:00
Christoph von Wittich 1e74322bd6 sync cryptui with wine 1.1.25
svn path=/trunk/; revision=41768
2009-07-04 11:47:38 +00:00