Commit graph

33567 commits

Author SHA1 Message Date
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
Matthias Kupfer 8cf20f8201 - Add key modifiers MK_CONTROL and MK_SHIFT to all mouse events.
- See issue #3557 for more details.

svn path=/trunk/; revision=37525
2008-11-21 20:58:07 +00:00
Sylvain Petreolle 968119aebb don't redefine IDHELP.
svn path=/trunk/; revision=37524
2008-11-21 20:13:22 +00:00
Stefan Ginsberg 922ae17a2e - winternl.h is deprecated since the NDK was invented, don't use
svn path=/trunk/; revision=37523
2008-11-21 19:23:42 +00:00
James Tabor de77947079 - Pass more bitmap cross tests, 16 bit is down to 52. I have more fixes that relate to that number, need more time to work on it. Fixed SEH abuse in CreateBitmap.
svn path=/trunk/; revision=37522
2008-11-21 18:34:31 +00:00
Stefan Ginsberg cc2c98c93f - Move ntdef.h to DDK as that is where it belongs, and remove unnecessary system_header. Also fix a #endif (kudos to hto -- bug 3888)
- Fix DDK to include ntdef.h instead of windef.h
- Fix a check in debug.h

svn path=/trunk/; revision=37521
2008-11-21 18:18:12 +00:00
Stefan Ginsberg 5173235ba2 - Fix a warning
svn path=/trunk/; revision=37520
2008-11-21 17:53:10 +00:00
Michael Martin c6e8145135 - Added EventSource structure for keeping track of EventLog Source name and associated Log File.
- Added and Implemented ElfCreateEventLogHandle and ElfDeleteEventLogHandle.

svn path=/trunk/; revision=37519
2008-11-21 15:40:47 +00:00
Stefan Ginsberg 9e37df129a - Correct some constants so they don't conflict with aviriff.h
svn path=/trunk/; revision=37518
2008-11-21 15:32:18 +00:00
Stefan Ginsberg a736d55b01 - Fix a bug
svn path=/trunk/; revision=37517
2008-11-21 15:23:27 +00:00
Stefan Ginsberg 2b96a6cb87 - Fix double declarations/definitions and remove system_header
svn path=/trunk/; revision=37516
2008-11-21 15:12:00 +00:00
Stefan Ginsberg abb1280385 - woops. temporarily revert system_header to fix build
svn path=/trunk/; revision=37515
2008-11-21 15:02:06 +00:00
Kamil Hornicek 62392c89a0 - avoid losing pointer to the next bezier patch while freeing the current one (CID 1298)
svn path=/trunk/; revision=37514
2008-11-21 15:01:01 +00:00
Stefan Ginsberg b67eece82f - Remove some straggler system_header
svn path=/trunk/; revision=37513
2008-11-21 14:52:22 +00:00
Kamil Hornicek e8dde635bf - free all resources before returning (CID 644)
svn path=/trunk/; revision=37512
2008-11-21 14:20:54 +00:00
Stefan Ginsberg 9f42dcf72a - Update a comment
svn path=/trunk/; revision=37511
2008-11-21 13:45:40 +00:00
Kamil Hornicek e491126867 - store the next node in a separate variable so we won't loose it after freeing the current node (CID 1296)
svn path=/trunk/; revision=37510
2008-11-21 13:20:22 +00:00
Kamil Hornicek 0f0b1a0a74 - reshuffle the code a bit
- fix CID 521 run 2

svn path=/trunk/; revision=37508
2008-11-21 12:20:48 +00:00
Kamil Hornicek 3abe5dfccd - don't leak resources, CID 609+610 run 2
svn path=/trunk/; revision=37506
2008-11-21 10:31:18 +00:00
Aleksey Bragin 5bd9816a8a - Always uninit cache for a file object (official documentation requires this).
svn path=/trunk/; revision=37504
2008-11-21 10:17:14 +00:00
Kamil Hornicek 66d5bd3206 - fix freeing of resources, CID 1295 run 2
- don't redefine _WIN32_WINNT

svn path=/trunk/; revision=37502
2008-11-21 09:45:54 +00:00
Johannes Anderwald b828f5779e - Convert Value of PATHEXT to lowercase
- see bug 3875

svn path=/trunk/; revision=37497
2008-11-21 08:57:13 +00:00
James Tabor a16c4ab474 - Update palette functions and small cleanup in bitmaps.
svn path=/trunk/; revision=37496
2008-11-21 06:50:36 +00:00
Eric Kohl 62a7ad910e SySync to wine-1.1.1 (Patch 6 of 10):
- Rob Shearman <robertshearman@gmail.com> Thu, 3 Jul 2008
widl: Consolidate top-level parameter conformance/variance expression writing into a separate function.

Descend through as many pointer types as necessary to find the
fundamental type and determine whether it needs a top-level parameter
conformance/variance expression to be written.

Add support for writing top-level parameter conformance/variance
expressions for non-encapsulated unions.

svn path=/trunk/; revision=37491
2008-11-20 20:37:09 +00:00
Aleksey Bragin f9fd16f793 - Upcase a search expression when calling RtlIsNameInExpression with case-insensitive option (a merge of 37263 from Pierre's branch with changed comments).
svn path=/trunk/; revision=37490
2008-11-20 20:24:10 +00:00
Eric Kohl 783e8e1be3 SySync to wine-1.1.1 (Patch 5 of 10):
- Dan Hipschman <dsh@linux.ucla.edu> Tue, 1 Jul 2008
widl: Factor a small part of the grammar.

svn path=/trunk/; revision=37489
2008-11-20 20:21:33 +00:00
Aleksey Bragin 7dcc2be045 - Merge misaligned reads support (35998, 36834 by Art) from arty-newcc branch.
svn path=/trunk/; revision=37488
2008-11-20 20:02:36 +00:00
Stefan Ginsberg eb41cde3fa - Fix "missing newling" warning
svn path=/trunk/; revision=37486
2008-11-20 19:00:17 +00:00
Stefan Ginsberg b1398df863 - Remove more instances of system_header
svn path=/trunk/; revision=37485
2008-11-20 15:30:15 +00:00
James Tabor c388ad54d4 - Add Section support for CreateDIBSection. Section support was disabled from the first time it was committed at revision 1753.
svn path=/trunk/; revision=37484
2008-11-20 15:11:43 +00:00
Stefan Ginsberg 30baf5107f - Correct a header guard
svn path=/trunk/; revision=37483
2008-11-20 15:02:42 +00:00
Matthias Kupfer 813f7f6f26 - start with German translation (not finished yet)
- prepare setup to change setup language at runtime
- fix resource files

svn path=/trunk/; revision=37480
2008-11-20 10:21:17 +00:00
Eric Kohl 4bc0878195 Revert 37476 because it breaks the build bot.
svn path=/trunk/; revision=37477
2008-11-19 23:22:44 +00:00
Eric Kohl 75e18ffafa Sync to wine-1.1.1 (Patch 4 of 10):
ATTENTION: You MUST run "clean" before building ReactOS, otherwise WIDL will crash when it is run.

- Dan Hipschman <dsh@linux.ucla.edu> Tue, 1 Jul 2008
widl: Implement type redefinition checks.

This allows widl to catch type redefinitions and report an error, like MIDL.
However, this does a better job than MIDL since it also reports the location
of the originial definition, like GCC.

svn path=/trunk/; revision=37476
2008-11-19 23:13:05 +00:00
Eric Kohl 79b0c90fa8 Sync to wine-1.1.1 (Patch 3 of 10):
- Rob Shearman <robertshearman@gmail.com> Tue, 1 Jul 2008
widl: Check that the structure has been defined in check_remoting_args.

svn path=/trunk/; revision=37470
2008-11-19 21:44:03 +00:00
Colin Finck 66ea4d510a - Rearrange "host/typedefs.h" to make it look more logical
- Fix wrong definition of INT_PTR and UINT_PTR in this file
- Revert a hack added to winebuild in r32609 and r37206, which was added to work around these previously buggy definitions

svn path=/trunk/; revision=37468
2008-11-19 21:05:49 +00:00
Eric Kohl df50518f1e Sync to wine-1.1.1 (Patch 2 of 10):
- Rob Shearman <robertshearman@gmail.com> Tue, 1 Jul 2008
widl: Increment the buffer offset by 8 for embedded pointers inside varying arrays in varying structures.

The 8 bytes are for the variance and offset and are added just before
the array, as seen in the marshalling code in rpcrt4. No offset needs
to be added for non-varying structures since the buffer mark is set
after the conformance in marshalled or unmarshalled.

svn path=/trunk/; revision=37467
2008-11-19 21:01:47 +00:00
Eric Kohl 5e41cc9ce8 Sync to wine-1.1.1 (Patch 1 of 10):
- Alexandre Julliard <julliard@winehq.org> Tue, 1 Jul 2008
widl: Add some support for unencapsulated unions that need a conformance descriptor.

svn path=/trunk/; revision=37466
2008-11-19 20:33:58 +00:00
Colin Finck 3bf81471d2 Dmitry Gorbachev
- Fix compiler warnings, treated as errors due to our settings, which are emitted when using GCC 4.3.2

See issue #3849 for more details.

svn path=/trunk/; revision=37465
2008-11-19 19:59:54 +00:00
Stefan Ginsberg 993a932cdf - Remove system_header from basetsd/typs.h, and add 4 missing types
svn path=/trunk/; revision=37464
2008-11-19 19:25:42 +00:00
Matthias Kupfer 141eb9a2df - revert winioctl.h to previous version (for compatibility)
- add additional partition types to rosioctl.h
- adapt freeloader to rosioctl.h

svn path=/trunk/; revision=37458
2008-11-19 14:28:24 +00:00
Matthias Kupfer 5fef6df569 - add some linux partition types
svn path=/trunk/; revision=37456
2008-11-19 13:24:43 +00:00
Matthias Kupfer 5ae753abf9 revert to revision 37390
svn path=/trunk/; revision=37454
2008-11-19 12:00:23 +00:00