Commit graph

37420 commits

Author SHA1 Message Date
Cameron Gutman e99d1fe3f9 - Implement IOCTL_AFD_SET_INFO
- We currently disregard the value of BlockingMode so this causes no behavior change

svn path=/trunk/; revision=41833
2009-07-09 16:47:11 +00:00
Cameron Gutman 5571325492 - Don't overwrite previously set flags
svn path=/trunk/; revision=41832
2009-07-09 15:55:29 +00:00
Dmitry Gorbachev 52f4e2b161 Add an assertion. Bug #4670.
svn path=/trunk/; revision=41831
2009-07-09 14:56:59 +00:00
Johannes Anderwald c70e3fd433 - Fix a few bugs in the sample rate conversion code
- Might fix playback for audio samples out of audio adapter supported range

svn path=/trunk/; revision=41830
2009-07-09 14:09:27 +00:00
Timo Kreuzer 7b83de4325 - Move GDI_DEBUG stuff to make it compile again
- Comment out some GDI_DEBUG prints related to deferred deletion, as this floods the log too much

svn path=/trunk/; revision=41829
2009-07-09 13:36:42 +00:00
Johannes Anderwald fb73a62428 - Stop removing good code, Arch!
svn path=/trunk/; revision=41828
2009-07-09 13:23:00 +00:00
ReactOS Portable Systems Group 16e52e7c46 - Fix a critical bug in the German hack which was causing the last PDE not to be synched with the ReactOS Memory Manager (or worse, the first, if there was only one PDE).
- Add a new file which will hold the executive layer above the pool allocator (the Ex* routines).
  - This should eventually be moved to \ex.
  - Note that the current ReactOS pool Ex* routines are in \mm, which is dead wrong.
- Define the POOL_DESCRIPTOR and POOL_HEADER structures for the NT 5.2 pool.
- Define, create, and implement the routine to initialize a pool vector.
  - For now, we assume you want the nonpaged pool vector/descriptor.
  - Call this routine from the ARM3 initialization routine.
- No changes to system behavior other than the bugfix above.


svn path=/trunk/; revision=41824
2009-07-09 09:33:49 +00:00
Dmitry Chapyshev 62951bd925 - Update Russian translation
svn path=/trunk/; revision=41823
2009-07-09 06:16:10 +00:00
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