Commit graph

34278 commits

Author SHA1 Message Date
Aleksey Bragin d8316ddcfb - Add a missing EA buffer validation.
- Free an EA buffer if it was allocated and error/exception happened.

svn path=/trunk/; revision=38521
2009-01-03 09:18:55 +00:00
James Tabor de1fd1f76d - Removed SEH abuse and add notes for the hook code, in NtUserDefSetText.
- Update NtUserCallHwndLock subfunctions.

svn path=/trunk/; revision=38518
2009-01-03 04:02:54 +00:00
James Tabor 140f031357 - Add check for null Wnd, see bug 3995.
svn path=/trunk/; revision=38517
2009-01-03 02:20:50 +00:00
James Tabor 33ff58086c - Implement RtlQuerySecurityObject.
svn path=/trunk/; revision=38513
2009-01-02 23:52:37 +00:00
Hervé Poussineau 7d3efdbdb0 Fix serial devices detection
Thanks at Maciej Bialas (bjauy at o2.pl) for testing

svn path=/trunk/; revision=38512
2009-01-02 22:12:48 +00:00
Timo Kreuzer 1fa9bb9b8e Use the bitmap's palette, not the DC one's in NtGdiGetDIBitsInternal. Fixes Firefox colors going nots after 60 sec.
See issue #3854 for more details.

svn path=/trunk/; revision=38511
2009-01-02 22:08:09 +00:00
Stefan Ginsberg fbd7681b84 - Cleanup AccessCheck, and set the correct last error in the case where the check succeeds but access is denied
- Cleanup NtAccessCheck, properly set desired access when previous mode is kernel, remove a duplicate check that is performed in SeAccessCheck, and don't fail with STATUS_ACCESS_DENIED when the check succeeds but denies access -- the result of the access check is returned in the 'AccessStatus' parameter

svn path=/trunk/; revision=38510
2009-01-02 17:39:45 +00:00
Aleksey Bragin 226c5fb558 - Add Dmitry Gorbachev's hack for bug 3626 problem (cmd shell initially comes up in permanent loop printing squares). Until a better solution is implemented...
See issue #3626 for more details.

svn path=/trunk/; revision=38509
2009-01-02 17:38:01 +00:00
Stefan Ginsberg 33e098eaaa - Add Wine's GetPrivateObjectSecurity and use it instead of our that uses the unimplemented RtlQuerySecurityObject routine
svn path=/trunk/; revision=38508
2009-01-02 17:14:42 +00:00
Johannes Anderwald 124bf05832 - Store PhysicalDeviceObject in device extension
- initialize ISubdevice list
- improve PcRegisterSubdevice
- implement IDmaChannelSlave_fnAllocateBuffer, IDmaChannelSlave_fnFreeBuffer
- partly implement IPortFilterWaveCyclic interface
- add IClsVersion interface to IPortDMus, IPortTopology, IPortWavePci 
- check for IPinCount, IPowerNotify interface during IPortWaveCyclic initialization
- implement IPortWaveCyclic_fnNewRegistryKey
- first hack version of creating IPortWaveCyclic_fnNewSlaveDmaChannel
- implement ISubdevice interface for IPortWaveCyclic


svn path=/trunk/; revision=38507
2009-01-02 15:05:57 +00:00
Aleksey Bragin 4d8ae40ee4 - Remove incorrect and undocumented FsRtlNotifyReportChange declaration.
- Add FILE_NOTIFY_INFORMATION structure definition.

svn path=/trunk/; revision=38504
2009-01-02 10:38:21 +00:00
Aleksey Bragin cf0aa5c69c - All FsRtlRemoveMcb functions return void.
svn path=/trunk/; revision=38503
2009-01-02 10:09:55 +00:00
Timo Kreuzer 9c19a9af87 Flush the gdi batch in NtGdiDeletObjectApp to make sure we don't try to do stuff with deleted objects later. This fixes some problems with Firefox.
svn path=/trunk/; revision=38501
2009-01-01 22:13:07 +00:00
Stefan Ginsberg fbd7f8a2aa - Only reserve APIC memory on x86
- Don't reserve 32 pages for VGA registers -- deprecated since 11917, 4 years ago
- Use KeNumberProcessors instead of MAXIMUM_PROCESSORS when mapping the PCRs
- Remove MmInitMemoryAreas, a nop since revision 1093, 8 years ago
- Remove unused KeMemoryMapRangeCount/KeMemoryMap

svn path=/trunk/; revision=38500
2009-01-01 17:00:38 +00:00
Aleksey Bragin 56d6ef019e - Fix an always true comparison in IoCheckEaBufferValidity.
svn path=/trunk/; revision=38499
2009-01-01 15:19:15 +00:00
Colin Finck b0d177b83c Happy new year everybody!
svn path=/trunk/; revision=38497
2009-01-01 13:33:06 +00:00
Michael Martin d1f64418a1 - Deference pProcess not Process.
svn path=/trunk/; revision=38495
2009-01-01 10:09:57 +00:00
Michael Martin e28ed99f1b - Implement SetupDiSetDeviceInstallParamsA.
svn path=/trunk/; revision=38494
2008-12-31 22:01:58 +00:00
Martin Fuchs 607be3272e update XMLStorage: preserve CDATA formating of processed XML documents
svn path=/trunk/; revision=38492
2008-12-31 15:59:36 +00:00
Ged Murphy ee252ea491 - Set a dummy revision number. This value should be dynamically set prior to running doxygen.
- Inline the source in the docs. Although it makes the docs rather long, it's much more useful this way at the moment.
- Use case sensitive names as this will run on a unix server.

svn path=/trunk/; revision=38491
2008-12-31 15:38:28 +00:00
Dmitry Chapyshev 9e6bd133e6 - Fix attributes
svn path=/trunk/; revision=38490
2008-12-31 15:09:28 +00:00
Aleksey Bragin 8172ef5174 - Add a new API to Freeldr's memory manager, which allows to override type of an already allocated memory.
- WINLDR: Fix page tables buffer memory allocation so that it doesn't rely on luck anymore and always allocates a contiguous area of memory. Fixes spontaneous case of booting problem (immediate black screen after loading drivers, reboot of real hardware, halt of cpu in a virtual machine).
- WINLDR: Fix some debug print.

svn path=/trunk/; revision=38487
2008-12-31 12:21:36 +00:00
Dmitry Chapyshev 85e610895c - Fix ReadDirectoryChangesW
- FindFirstChangeNotificationW
+17 passed winetests

svn path=/trunk/; revision=38486
2008-12-31 11:54:30 +00:00
Christoph von Wittich abdee726bc fix build
svn path=/trunk/; revision=38485
2008-12-31 11:53:35 +00:00
Christoph von Wittich 66af77a707 sync wintrust and cryptui to wine 1.1.11
svn path=/trunk/; revision=38484
2008-12-31 09:26:01 +00:00
Dmitry Chapyshev d921149f3f - Add check of params
svn path=/trunk/; revision=38483
2008-12-31 08:11:43 +00:00
Christoph von Wittich 44a77186d2 add dwmapi from wine 1.1.11
svn path=/trunk/; revision=38482
2008-12-31 08:02:56 +00:00
Jeffrey Morlan 00fd22c6ba Make IF /? work again
svn path=/trunk/; revision=38481
2008-12-30 23:55:50 +00:00
KJK::Hyperion 85084975fe modified include/reactos/libs/pseh/pseh2.h
modified   lib/pseh/framebased-gcchack.c
   Call _SEH2EnterFrame before any goto. Gotos confuse GCC's flow control analysis making it disregard the returns_twice attribute on _SEH2EnterFrame. We avoid redundant inline code (NULL-initializing the top trylevel pointer) by modifying the library accordingly

svn path=/trunk/; revision=38480
2008-12-30 21:05:36 +00:00
Ged Murphy 3c8c5a77c0 update doxygen config to doxygen 1.5.8
Incorporates various changes to the existing config and introduces some new features.

svn path=/trunk/; revision=38479
2008-12-30 20:52:17 +00:00
KJK::Hyperion 25225baded modified include/reactos/libs/pseh/pseh2.h
Did you know gcc doesn't let PSEH deter it from inlining a function? Allocate the frame with __builtin_alloca so that this doesn't cause issues

svn path=/trunk/; revision=38476
2008-12-30 20:02:03 +00:00
Christoph von Wittich a1ffc8d05a fix some more security winetests
svn path=/trunk/; revision=38475
2008-12-30 17:10:40 +00:00
Christoph von Wittich 45bacdf407 fix some more security winetests
svn path=/trunk/; revision=38474
2008-12-30 16:01:13 +00:00
Christoph von Wittich fd09fafa0b fix some security winetests
svn path=/trunk/; revision=38472
2008-12-30 15:12:17 +00:00
Christoph von Wittich fa4a7deb60 get icmp.dll to work
svn path=/trunk/; revision=38471
2008-12-30 13:55:52 +00:00
Christoph von Wittich 8aaeedbb99 fix a winetest failure
svn path=/trunk/; revision=38470
2008-12-30 13:37:31 +00:00
Christoph von Wittich 2b9b7c7ab7 fix iphlpapi winetests
svn path=/trunk/; revision=38469
2008-12-30 12:04:47 +00:00
Aleksey Bragin bd0cab21cc - Silence debug output.
svn path=/trunk/; revision=38468
2008-12-30 10:32:23 +00:00
Christoph von Wittich 3241a12ecb add iphlpapi_winetest to bootcd
svn path=/trunk/; revision=38467
2008-12-30 09:11:13 +00:00
Christoph von Wittich 3befe40733 add func_iphlpapi winetest from wine 1.1.11
svn path=/trunk/; revision=38466
2008-12-30 09:10:17 +00:00
Christoph von Wittich 6951e57b2d add ws2_32_winetest to bootcd
svn path=/trunk/; revision=38465
2008-12-30 09:04:34 +00:00
Christoph von Wittich 8845107b6e add ws2_32 winetest from wine 1.1.11
svn path=/trunk/; revision=38464
2008-12-30 09:04:22 +00:00
Dmitry Chapyshev bba74c7731 - Implement FreeContextBuffer
svn path=/trunk/; revision=38463
2008-12-30 08:29:46 +00:00
Dmitry Chapyshev af929be7de - Implement InitSecurityInterfaceA/W
svn path=/trunk/; revision=38462
2008-12-30 08:06:39 +00:00
KJK::Hyperion 030aa56625 modified tests/pseh2/psehtest.c
finally_13 test re-enabled, as it doesn't crash anymore
   finally_14 test fixed. Now we know how exceptions thrown in a __finally are supposed to be handled
   PSEH test suite now has 91 tests and passes all of them with both GCC and Visual C++

svn path=/trunk/; revision=38461
2008-12-30 04:04:51 +00:00
KJK::Hyperion 26d5b48792 modified lib/pseh/framebased-gcchack.c
modified   lib/pseh/i386/framebased-gcchack.S
   Correctly handle exceptions thrown during unwinding
   Renamed some internal routines to more appropriate names

svn path=/trunk/; revision=38460
2008-12-30 04:00:45 +00:00
Dmitry Gorbachev d3c81b34be Fix UTF-8 -> Wide Char conversion bug #3990.
svn path=/trunk/; revision=38459
2008-12-29 20:16:22 +00:00
Dmitry Chapyshev cb89e7b0bd - Remove lpAddress check, this is broken trunk
svn path=/trunk/; revision=38458
2008-12-29 17:14:17 +00:00
Dmitry Gorbachev 93f8f62632 Fix translations. Patch by Mario Kacmar. Bug #3955.
svn path=/trunk/; revision=38457
2008-12-29 14:26:01 +00:00
Dmitry Gorbachev 05530904b8 - Fix more ICU warnings
svn path=/trunk/; revision=38456
2008-12-29 13:10:33 +00:00