Commit graph

34009 commits

Author SHA1 Message Date
KJK::Hyperion 0022cb57c0 Missing from previous commit
svn path=/trunk/; revision=37604
2008-11-24 01:38:43 +00:00
KJK::Hyperion 0d89ee1b23 Allow pseh.h and pseh2.h to be included in the same compilation unit. Mixing PSEH and PSEH 2.0 macros in the same function isn't safe yet, though
svn path=/trunk/; revision=37601
2008-11-23 23:00:37 +00:00
KJK::Hyperion eba975aff9 GCC can't appreciate my genius. _SEH2_EXCEPT temporarily broken until I figure out a simpler way
svn path=/trunk/; revision=37600
2008-11-23 22:47:16 +00:00
Eric Kohl 991af663db - Start the RPC-Server from a separate thread so the initial call to the DLL doesn't get blocked.
- Ensure the server accepts more than a single call from clients.

svn path=/trunk/; revision=37599
2008-11-23 22:39:43 +00:00
Eric Kohl 4abc5d743f Fix formatting. No code changes!
svn path=/trunk/; revision=37598
2008-11-23 22:36:15 +00:00
Cameron Gutman a1afe48a57 - NDIS always calls NdisMIndicateStatusComplete immediately after calling NdisMIndicateStatus
svn path=/trunk/; revision=37593
2008-11-23 16:50:11 +00:00
Dmitry Chapyshev 9f055c6d88 - More correct fix
svn path=/trunk/; revision=37592
2008-11-23 15:10:09 +00:00
Dmitry Chapyshev cee7f49628 - Set flag unicode="yes"
- Use WCHARs instead of TCHAR

svn path=/trunk/; revision=37589
2008-11-23 14:16:46 +00:00
Dmitry Chapyshev 4398dce305 - Fix formatting. No code change
svn path=/trunk/; revision=37588
2008-11-23 13:52:57 +00:00
Eric Kohl 8811ad12d4 - Replace the check-marks in the protocol menu by radio-bullets because the user can only select one of three protocols.
- Mark a protocol in the menu only if it was read correctly. Otherwise the security protocol gets selected although the user is not able to see this protocol.
- Minor clean-up of the resource id mess.

svn path=/trunk/; revision=37586
2008-11-23 13:34:15 +00:00
Dmitry Chapyshev d801a49d71 - Fix formatting. No code change
svn path=/trunk/; revision=37583
2008-11-23 11:15:52 +00:00
Dmitry Chapyshev f891a44a69 - Implement ActivateActCtx, AddRefActCtx, CreateActCtxW, DeactivateActCtx, FindActCtxSectionStringW, GetCurrentActCtx, ReleaseActCtx
All based on Wine

svn path=/trunk/; revision=37579
2008-11-23 10:10:29 +00:00
Dmitry Chapyshev 6bcb4d4872 - Add stubs for RtlActivateActivationContext and RtlCreateActivationContext
svn path=/trunk/; revision=37578
2008-11-23 10:02:20 +00:00
Dmitry Chapyshev 3d4737cb72 - Fix RtlFindActivationContextSectionString prototype
svn path=/trunk/; revision=37575
2008-11-23 08:57:19 +00:00
Dmitry Chapyshev 257cd9125a - Fix IsValidLanguageGroup and EnumSystemLanguageGroups. +102 passed tests
svn path=/trunk/; revision=37574
2008-11-23 08:19:35 +00:00
Dmitry Chapyshev 0c2971975e - Implement LCMapStringA/W (based on Wine, +55 passed tests)
- Fix CompareStringA/W (+6 passed tests)

svn path=/trunk/; revision=37571
2008-11-23 06:50:32 +00:00
KJK::Hyperion 7d4a8b9e1c modified include/reactos/libs/pseh/pseh2.h
Make SF_FramePointer field of _SEHFrame_t volatile, too, just to be safe
   Unoptimized compilation doesn't perform const-folding - "static const" could result in compilation errors, use just "const"
   Renamed _SEH2_GetExceptionPointers to _SEH2_GetExceptionInformation to be closer to the "standard" SEH syntax

modified   lib/pseh/framebased-gcchack.c
   Clobber the register that's actually used

svn path=/trunk/; revision=37570
2008-11-23 00:20:37 +00:00
Eric Kohl 29fc9d57c7 Make the event viewer unicode-enabled and build the unicode version.
svn path=/trunk/; revision=37568
2008-11-22 21:14:51 +00:00
Eric Kohl db8c3e9162 Replace TABs by Spaces.
No code changes!

svn path=/trunk/; revision=37564
2008-11-22 19:25:48 +00:00
James Tabor 01f04141d9 - Add tag for path objects. Set DC handle when selecting bitmap.
svn path=/trunk/; revision=37562
2008-11-22 18:26:32 +00:00
Dmitry Chapyshev 25c2fade91 - Fix CompareStringA/W. +7 passed wine tests
svn path=/trunk/; revision=37561
2008-11-22 17:41:52 +00:00
Cameron Gutman 438ac1d7da - Merge aicom-network-fixes up to r37556
svn path=/trunk/; revision=37559
2008-11-22 17:02:56 +00:00
James Tabor 07019b1508 -AttachThreadInput is a direct call to kernel space, good job Dmitry!
svn path=/trunk/; revision=37558
2008-11-22 16:23:43 +00:00
Dmitry Chapyshev 7c4e569119 - Update GetCurrencyFormatW. +34 wine tests passed
svn path=/trunk/; revision=37555
2008-11-22 13:45:17 +00:00
Dmitry Chapyshev 724defb850 - Fix RtlTimeFieldsToTime. Now GetDateFormatW passed all wine tests
svn path=/trunk/; revision=37554
2008-11-22 13:21:33 +00:00
Dmitry Chapyshev 3b5c12bcdc - Fix 2 wine tests for GetTimeFormatA/W
svn path=/trunk/; revision=37553
2008-11-22 12:15:24 +00:00
Stefan Ginsberg cd1bf24e93 - Make sure allocation succeeded (CID 467)
svn path=/trunk/; revision=37552
2008-11-22 11:51:01 +00:00
Dmitry Chapyshev af6290f733 - Fix EnumDateFormatsA implementation. + 7 passed tests
svn path=/trunk/; revision=37551
2008-11-22 11:32:08 +00:00
Stefan Ginsberg 21a89ddc01 - Don't. Include. ntdef.h. From. User. Mode.
svn path=/trunk/; revision=37550
2008-11-22 11:17:17 +00:00
Stefan Ginsberg f8b07da766 - Remove system_header too
svn path=/trunk/; revision=37549
2008-11-22 11:04:49 +00:00
Stefan Ginsberg 682255c554 - No, Winetests doesn't treat ntdef.h as a PSDK header, they don't include it. The include was added when the Winetest was added to ros, because of missing NTSTATUS type. Include NDK instead.
svn path=/trunk/; revision=37548
2008-11-22 11:03:56 +00:00
Stefan Ginsberg bbdf312552 - Deprecate PSDK's usage of system_header for real now that rostests/winetests are fixed
svn path=/trunk/; revision=37547
2008-11-22 10:47:17 +00:00
Stefan Ginsberg 7e38beba07 - Silence more "has virtual functions but non-virtual destructor" warnings
svn path=/trunk/; revision=37546
2008-11-22 10:38:09 +00:00
Stefan Ginsberg 774c361bad - Silence more "has virtual functions but non-virtual destructor" warnings
- Disable outdated and unused libjpeg

svn path=/trunk/; revision=37545
2008-11-22 10:37:47 +00:00
Stefan Ginsberg 137f21c9fd - Fix indentation (spaces -> tabs)
svn path=/trunk/; revision=37544
2008-11-22 09:09:50 +00:00
Aleksey Bragin b7af90ae54 Dmitry Gorbachev
- Fix an issue with choosing nonexistent x86 registers %sil/%dil, see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10153 for more details.
- Add "memory" to _InterlockedAddLargeStatistic(). "In Visual C++ 2005, this function behaves as a read-write barrier." -- MSDN library.
- Use "+m" instead of "=m".

See issue #3772 for more details.

svn path=/trunk/; revision=37543
2008-11-22 08:32:15 +00:00
Aleksey Bragin 5312b56416 Dmitry Gorbachev
- SETxx instructions require 8-bit operand, but "r" constraint is used. Use "q" instead ("r" means any general register, including esi and edi, which are not suitable as an operand of setnz.)
See issue #3772 for more details.

svn path=/trunk/; revision=37542
2008-11-22 08:26:53 +00:00
Dmitry Chapyshev 54389c838c - Call NtUserAttachThreadInput
svn path=/trunk/; revision=37540
2008-11-22 06:16:19 +00:00
Dmitry Chapyshev 92b86da787 - Sync inetcomm with Wine head
svn path=/trunk/; revision=37539
2008-11-22 04:28:03 +00:00
Stefan Ginsberg 12ee0b7efd - Silence more "has virtual functions but non-virtual destructor"
svn path=/trunk/; revision=37537
2008-11-21 23:14:30 +00:00
Stefan Ginsberg 7b2da29cb3 - ...revert until all Winetests/rostests are fixed. Using a broken RosBe beta which doesn't build /rostests/ or /rosapps/ when doing header changes is a bad, bad idea.
svn path=/trunk/; revision=37535
2008-11-21 22:48:38 +00:00
Stefan Ginsberg 0e7b582264 - Winetests treats ntdef.h as a psdk header, so temporarily hack it...
svn path=/trunk/; revision=37534
2008-11-21 22:38:23 +00:00
Stefan Ginsberg 00a5b02ea1 - Fix rostests build, part 1 of ?
svn path=/trunk/; revision=37533
2008-11-21 22:23:46 +00:00
Stefan Ginsberg c0dbb1b2c1 - More hack, less build breakage
svn path=/trunk/; revision=37532
2008-11-21 22:03:45 +00:00
Stefan Ginsberg 57cf5503f1 - Remove system_header from the remaining PSDK headers. The era of liberally sprinkling the overkill system_header gcc hacH^H^H^extension has now come to an end and...oh, wait. What's that you say? DDK does this too? Uh, right. Will fix that too.
svn path=/trunk/; revision=37531
2008-11-21 21:46:58 +00:00
Stefan Ginsberg dff0e2ea0b - Hack-include ntsecapi.h in powrprof.h, so NTSTATUS gets defined in an NDK-safe way. Not the best way, and most likely not compatible with the official header set, but I can't get the hack used by MS headers to work.
svn path=/trunk/; revision=37530
2008-11-21 21:31:01 +00:00
Stefan Ginsberg f9798bcf09 - LANG_WELSH and LANG_BRETON are present in newer official winnt.h (and our winnt.h), so no need to put hacked-up versions of them in "Wine compatibility" winnt.h.
- Don't define wchar_t in winnt.h (kudos to Colin Finck for this fix)
- Remove system_header

svn path=/trunk/; revision=37529
2008-11-21 21:27:30 +00:00
Stefan Ginsberg f39e2f8b84 - Silence "'struct Foo' has virtual functions but non-virtual destructor" warnings for kernel32, as we don't allow warnings for this module. Needed for the coming header fixes, as system_header hides this warning.
svn path=/trunk/; revision=37528
2008-11-21 21:19:13 +00:00
Stefan Ginsberg e40f53753f - Protect NTSTATUS definition in NDK with a guard, as is done in the user mode headers which also define this type
- Remove system_header from these user mode headers

svn path=/trunk/; revision=37527
2008-11-21 21:12:53 +00:00
Stefan Ginsberg 1bf8f269d0 - Remove non-standard "PLANGID" type from NDK and use LANGID* instead. Also protect LANGID definition with a header guard, as winnt.h defines it too.
svn path=/trunk/; revision=37526
2008-11-21 21:05:33 +00:00