Commit graph

42614 commits

Author SHA1 Message Date
Cameron Gutman 5de258d708 [NPFS]
- Fix race conditions in read IRP cancellation that resulting in random crashes and hangs
- Fixes MULTIPLE_IRP_COMPLETE_REQUESTS bug checks and failed cancellations resulting in hangs during ntdll:file test

svn path=/trunk/; revision=47470
2010-05-30 22:18:50 +00:00
Timo Kreuzer 1c2429510e [NTIFS]
Use a preprocessor definition for FSRTL_COMMON_FCB_HEADER instead of using an ms extension, that wouldn't work for ISO C

svn path=/trunk/; revision=47466
2010-05-30 22:02:42 +00:00
Timo Kreuzer 08d4b579ab [lib/3rdparty]
Disable unused value warning here, too

svn path=/trunk/; revision=47465
2010-05-30 21:32:28 +00:00
Gregor Schneider 744022564b [KERNEL32] Return nothing from InternalCopyDeviceFindDataA/W functions
svn path=/trunk/; revision=47464
2010-05-30 21:19:26 +00:00
Timo Kreuzer 06a6306fa8 [WINETESTS]
Disable unused value warnings

svn path=/trunk/; revision=47463
2010-05-30 21:01:52 +00:00
Timo Kreuzer 8da06df010 [PSEH]
Use dummy pseh for clang

svn path=/trunk/; revision=47462
2010-05-30 20:57:02 +00:00
Gregor Schneider 8117e46131 Various application fixes by Jan Roeloffzen, bug #5182, part 4/4
dxdiag: tabs -> spaces, UINT -> UINT_PTR, remove unused assignments, simplify code, fix compiler warnings

svn path=/trunk/; revision=47461
2010-05-30 20:36:20 +00:00
Gregor Schneider ad964bddb1 Various application fixes by Jan Roeloffzen, bug #5182, part 3
arp: Remove unused variables
ftp: tabs->spaces, remove unused variables
nslookup: Remove unused variables

svn path=/trunk/; revision=47460
2010-05-30 20:31:58 +00:00
Gregor Schneider 81d25d5267 Various application fixes by Jan Roeloffzen, bug #5182, part 2
fontview: remove unused variable
kbswitch: remove unused variables
magnify: remove unused variable
mplay32: DWORD -> MCIERROR, tabs -> spaces
eventvwr: remove unused variable

svn path=/trunk/; revision=47459
2010-05-30 20:25:46 +00:00
Gregor Schneider 63313191f0 Various application fixes by Jan Roeloffzen, bug #5182, part 1
Notepad: remove unused variable, tabs -> spaces
Regedit: remove unused variable
Calc: dword->bool, remove unused variables, tabs -> spaces

svn path=/trunk/; revision=47458
2010-05-30 20:19:21 +00:00
Jeffrey Morlan d27f068a19 [FORMATTING] Standardize win32csr to 4-space indents. Based on a patch by Adam Kachwalla [Bug 5380]. No code changes.
svn path=/trunk/; revision=47457
2010-05-30 20:00:17 +00:00
Eric Kohl dfc4dcb9b5 [NTOSKRNL]
Make NtDuplicateToken fail if the caller tries to create a new impersonation token with a raised impersonation level. This fixes a winetest.

svn path=/trunk/; revision=47456
2010-05-30 19:46:02 +00:00
Christoph von Wittich 2e0bbab8ca [KMTEST]
cast the unused 0 in the ok macro to void to make clang happy as done for wine test.h

svn path=/trunk/; revision=47455
2010-05-30 19:37:27 +00:00
Gregor Schneider 3f536523c1 [CALC] Add units and conversion factors, patch by Andrea Maiani; nanoseconds entry added to resource files
See issue #5340 for more details.

svn path=/trunk/; revision=47454
2010-05-30 18:55:28 +00:00
Timo Kreuzer b99bfa42f2 - partly revert r47442 and apply a working fix by guarding some prototypes of functions that exist as intrinsics in #ifdefs, so we don't use them for gcc/clang
- remove duplicated prototypes, when an inline function exists already

svn path=/trunk/; revision=47453
2010-05-30 18:46:02 +00:00
Gregor Schneider cbb1f9480b [KBDLV] Latvian keyboard fixes by Arturs B., <mad_alchemist AT mail DOT ru>
See issue #5385 for more details.

svn path=/trunk/; revision=47452
2010-05-30 18:34:29 +00:00
Timo Kreuzer 25b2c670c4 [WINE]
Cast the unused 0 in the ok macro to void to make clang happy

svn path=/trunk/; revision=47450
2010-05-30 16:24:51 +00:00
Christoph von Wittich 8e44cb3688 [WINE]
partial sync of test.h

svn path=/trunk/; revision=47449
2010-05-30 15:37:32 +00:00
Christoph von Wittich d6fb44f0d7 [COMCTL32_WINETEST]
sync to wine 1.2 RC2

svn path=/trunk/; revision=47448
2010-05-30 15:19:09 +00:00
Christoph von Wittich 769948f75a [PSDK]
add missing definitions

svn path=/trunk/; revision=47447
2010-05-30 15:18:08 +00:00
Gregor Schneider 5df0484c21 [MMSYS] Load the no sound item in the shared buffer before preparing the reactos/media path for loading individual files
See issue #5436 for more details.

svn path=/trunk/; revision=47446
2010-05-30 15:13:04 +00:00
Gregor Schneider 306e2ff6f2 [MMSYS] Adjust German dialog item positions and sizes
svn path=/trunk/; revision=47445
2010-05-30 15:09:25 +00:00
Christoph von Wittich 065ed554be [PSDK]
add missing definitions

svn path=/trunk/; revision=47444
2010-05-30 15:00:04 +00:00
Timo Kreuzer 76dc595732 [DDK]
Cast the string parameter of ASSERTMSG to PCHAR to allow passing string constants which are PCCHAR without a warning.

svn path=/trunk/; revision=47443
2010-05-30 14:02:47 +00:00
Timo Kreuzer 4af7c48119 [intrin_x86.h]
- cast return value of __sync_val_compare_and_swap to make clang happy
- add __cdecl to a number of intrinsics to make them (hopefully) compatible with crt header declarations.

svn path=/trunk/; revision=47442
2010-05-30 13:02:29 +00:00
Timo Kreuzer 64fc3cd5d7 [NTDDK]
Protect IoMapTransfer from incompatible redefinition. Patch by AmineKhaldi.

svn path=/trunk/; revision=47441
2010-05-30 12:21:21 +00:00
Christoph von Wittich 07f8aeb0e8 [WS2_32]
set LastError to 0 when WSASendTo was successful

svn path=/trunk/; revision=47440
2010-05-30 11:25:21 +00:00
Christoph von Wittich aa5ababad0 [SHDOCVW]
sync to wine 1.2 RC2

svn path=/trunk/; revision=47439
2010-05-30 10:25:19 +00:00
Christoph von Wittich 41cf6b121f [URLMON]
sync to wine 1.2 RC2

svn path=/trunk/; revision=47438
2010-05-30 10:20:31 +00:00
Michael Martin 7774953380 [user32]
- Pass a pointer to a structure, that holds the CallBack procedure and data, as the 5th parameter to NtUserMessageCall.
- Fix a bug In User32CallSendAsyncProcForKernel, the ArgumentLength is the size of SENDASYNCPROC_CALLBACK_ARGUMENTS.
[win32k]
- For types FNID_SENDMESSAGECALLBACK call co_IntSendMessageWithCallBack to put the message in the send queue.
- Rewrite code for when messages have a completioncallback

svn path=/trunk/; revision=47434
2010-05-30 06:23:41 +00:00
Sir Richard c816943def [NTOS]: Implement MiAllocatePfn, it is a simpler wrapper that grabs a page, sets its protection, and initializes its PFN entry.
[NTOS]: Use MiAllocatePfn in MiLoadImageSection instead of MmAllocPage. Other than doing a better job at initializing the page, it creates our first caller of this function, great for testing, since this is a rather high-demand function, especially at boot.
Please test.

svn path=/trunk/; revision=47432
2010-05-30 03:02:39 +00:00
Gregor Schneider a77d6480a6 [BOOTVID] Dramatically simplify 4bpp blitting routine
See issue #5103 for more details.

svn path=/trunk/; revision=47431
2010-05-29 23:54:47 +00:00
Timo Kreuzer 554237576f [_mingw.h]
Help compilation with clang. Patch by Amine Khaldi.

svn path=/trunk/; revision=47430
2010-05-29 21:48:32 +00:00
Eric Kohl d259616ce4 [RTL]
Implement RtlEncodeSystemPointer using the user shared data cookie.

svn path=/trunk/; revision=47429
2010-05-29 21:15:48 +00:00
Eric Kohl 6af485d3aa [FORMATTING]
No code changes.

svn path=/trunk/; revision=47428
2010-05-29 20:40:28 +00:00
Sir Richard fa9cd08b02 Timo/Physicus: Please validate for AMD64.
[NTOS]: Write down the PTE attribute flags for X86/AMD64. Timo/Physicus: Please double-check.
[NTOS]: Write down the array that converts from the MM_ protection flags arleady defined, into the appropriate PTE attribute flags that are architecture-specific.
[NTOS]: This will allow constant-time conversion of NT attributes into PTE attributes. Win32 attributes to NT attributes conversion won't be needed until VAD support.

svn path=/trunk/; revision=47427
2010-05-29 19:27:32 +00:00
Sir Richard 27957c2212 [NTOS]: Fix Implementation of BreakOnTermination -- Process Flags should be accessed with interlocked bit semantics, not through C bitfield extension.
[NTOS]: Revert 47425 and apply a better fix.

svn path=/trunk/; revision=47426
2010-05-29 19:21:08 +00:00
Eric Kohl c5cc4a4bd7 [NTOSKRNL]
Do not use _SEH2_YIELD in NtSetInformationProcess, NtQueryInformationThread and NtSetInformationThread while a thread or process is still being referenced.

svn path=/trunk/; revision=47425
2010-05-29 19:13:19 +00:00
Sir Richard c916ce9d20 Testers: Please pay attention to this build and test it fully:
[NTOS]: Implement MiDecrementShareCount (to start replacing MmReleasePageMemoryConsumer calls for pages that were grabbed through ARM3, not Mm).
[NTOS]: Implement MiInitializePfn (to initialize pages grabbed through ARM3/MiRemoveAnyPage instead of Mm/MmAllocPage).
[NTOS]: For stack pages, use new ARM3 PFN alloc/free routines, as a first test/beginning of the new ARM3 ABI.
[NTOS]: Implement and start using the Pending-Deletion PFN flag.
[NTOS]: As a result, for stack pages, the Transition page state will now be seen, and the new routine for re-inserting pages into the free list will now be used. Tracking of page table references is also done now for these pages (but we don't free the PT since this doesn't seem safe yet).


svn path=/trunk/; revision=47424
2010-05-29 18:33:50 +00:00
Eric Kohl 00fbba2fb4 [NTOSKRNL / RTL]
- Implement BreakOnTermination case for NtQueryInformationProcess and NtSetInformationProcess.
- Implement RtlSetProcessIsCritical.

svn path=/trunk/; revision=47423
2010-05-29 18:22:47 +00:00
Christoph von Wittich 5e8f4e5fd6 [MSHTML_WINETEST]
sync to wine 1.2 RC2

svn path=/trunk/; revision=47422
2010-05-29 18:04:05 +00:00
Gregor Schneider fcb1ce77af [CMD] File completion
- Don't pass device paths to FindFirstFile (similar to r47418)
- Allows to complete files, whose names start like DOS devices (COMx, LPTx. AUX, NUL, CON, etc)
See issue #4848 for more details.

svn path=/trunk/; revision=47421
2010-05-29 18:01:20 +00:00
Christoph von Wittich 4141772cae [SHLWAPI]
sync to wine 1.2 RC2

svn path=/trunk/; revision=47420
2010-05-29 17:47:03 +00:00
Christoph von Wittich 2489a60f61 [WS2_32]
implement WSAAddressToStringA/W (taken from wine)

svn path=/trunk/; revision=47419
2010-05-29 17:33:37 +00:00
Gregor Schneider 08ca572fc4 [CMD] copy command:
- Don't pass device path to FindFirstFile, use short path instead
- Join duplicate code to simplify processing
See issue #3575 for more details.

svn path=/trunk/; revision=47418
2010-05-29 16:49:23 +00:00
Cameron Gutman 04c946cecc [NTOSKRNL]
- Fix stack skipping logic in IofCompleteRequest
- Fixes displaying MULTIPLE_IRP_COMPLETE_REQUESTS bug check
- Patch by lassy with a typo fix by me

svn path=/trunk/; revision=47417
2010-05-29 16:00:43 +00:00
Christoph von Wittich 7f10ebad54 [MSHTML]
-sync to wine 1.2 RC2
-add ros_diff.patch

svn path=/trunk/; revision=47416
2010-05-29 14:54:55 +00:00
Christoph von Wittich bc9b61ca21 [MSHTML]
restore local mshtml changes lost by last wine sync

svn path=/trunk/; revision=47415
2010-05-29 14:44:13 +00:00
Christoph von Wittich da3904b159 [BOOTDATA]
revert 47055

svn path=/trunk/; revision=47414
2010-05-29 14:42:39 +00:00
Christoph von Wittich b2caf487ee [JSCRIPT]
sync to wine 1.2 RC2

svn path=/trunk/; revision=47413
2010-05-29 14:21:43 +00:00