reactos.git
10 years ago[FORMAT]
Timo Kreuzer [Mon, 31 May 2010 13:56:29 +0000 (13:56 +0000)]
[FORMAT]
Fix "potentially insecure" usage of non-string-literals in printf.

svn path=/trunk/; revision=47490

10 years ago[ACPI]
Timo Kreuzer [Mon, 31 May 2010 13:54:38 +0000 (13:54 +0000)]
[ACPI]
- Add some missing NTAPI
- Fix AcpiInterfaceConnectVector and AcpiInterfaceDisconnectVector parameters (ACPI_INTERFACE_STANDARD version 1 not version 2)
- Patch by Amine Khaldi

svn path=/trunk/; revision=47489

10 years ago[MSCONFIG]
Timo Kreuzer [Mon, 31 May 2010 13:45:29 +0000 (13:45 +0000)]
[MSCONFIG]
Add header guards. They are not neccessary in this case, but better to have them, especially since it uses a compilation unit.

svn path=/trunk/; revision=47488

10 years ago[NTOS] Re-enable the APC debug check in the system call exit code that somehow got...
Stefan Ginsberg [Mon, 31 May 2010 12:52:16 +0000 (12:52 +0000)]
[NTOS] Re-enable the APC debug check in the system call exit code that somehow got removed in 46247.
[NTOS] Use an inline for emitting the iret instruction in C code for portability.
[NTOS] Simplify the MSC assembly in KiSwitchToBootStack.

svn path=/trunk/; revision=47487

10 years ago[win32k]
Michael Martin [Mon, 31 May 2010 12:36:40 +0000 (12:36 +0000)]
[win32k]
- When processing and deleting timers use a seperate timer lock instead of using the global user lock.

svn path=/trunk/; revision=47486

10 years ago[WIN32CSR] Split up excessively large and disorganized conio.c into 3 separate files...
Jeffrey Morlan [Mon, 31 May 2010 06:28:55 +0000 (06:28 +0000)]
[WIN32CSR] Split up excessively large and disorganized conio.c into 3 separate files: one for input-related functions, one for output-related functions, and one for general/miscellaneous functions.

svn path=/trunk/; revision=47485

10 years ago- add explicit braces to avoid ambiguous 'else'
Timo Kreuzer [Mon, 31 May 2010 04:13:40 +0000 (04:13 +0000)]
- add explicit braces to avoid ambiguous 'else'
- fix deprecated conversion from string constant to 'char*'

svn path=/trunk/; revision=47484

10 years agoremove WTIME_S_DEFINED guard and move the functions from wchar_s to wchar.h (like...
Timo Kreuzer [Mon, 31 May 2010 03:32:51 +0000 (03:32 +0000)]
remove WTIME_S_DEFINED guard and move the functions from wchar_s to wchar.h (like in MS headers)

svn path=/trunk/; revision=47483

10 years ago[IPHLPAPI]
Timo Kreuzer [Mon, 31 May 2010 02:29:36 +0000 (02:29 +0000)]
[IPHLPAPI]
- remove unused variable

svn path=/trunk/; revision=47482

10 years agoFix build (don't redefine structures)
Timo Kreuzer [Mon, 31 May 2010 02:23:30 +0000 (02:23 +0000)]
Fix build (don't redefine structures)

svn path=/trunk/; revision=47481

10 years ago[DDK/XDK]
Timo Kreuzer [Mon, 31 May 2010 02:15:15 +0000 (02:15 +0000)]
[DDK/XDK]
- Use PCI_COMMON_HEADER_LAYOUT for C, too, place it where it belongs

svn path=/trunk/; revision=47480

10 years ago[CRT]
Timo Kreuzer [Mon, 31 May 2010 01:50:09 +0000 (01:50 +0000)]
[CRT]
- add clang compatible asm version of ldexp and make the code more readable
- constify strndup parameter to match standard
- fix broken pointer comparison in signal()

svn path=/trunk/; revision=47479

10 years ago[time.h]
Timo Kreuzer [Mon, 31 May 2010 01:49:22 +0000 (01:49 +0000)]
[time.h]
Add missing asctime_s and localtime_s, don't include time_s.h anymore

svn path=/trunk/; revision=47478

10 years ago[CRT]
Timo Kreuzer [Sun, 30 May 2010 22:28:00 +0000 (22:28 +0000)]
[CRT]
- Don't define __int64 for clang (patch by Amine Khaldi)
- Fix file and purpose in the header

svn path=/trunk/; revision=47471

10 years ago[NPFS]
Cameron Gutman [Sun, 30 May 2010 22:18:50 +0000 (22:18 +0000)]
[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

10 years ago[NTIFS]
Timo Kreuzer [Sun, 30 May 2010 22:02:42 +0000 (22:02 +0000)]
[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

10 years ago[lib/3rdparty]
Timo Kreuzer [Sun, 30 May 2010 21:32:28 +0000 (21:32 +0000)]
[lib/3rdparty]
Disable unused value warning here, too

svn path=/trunk/; revision=47465

10 years ago[KERNEL32] Return nothing from InternalCopyDeviceFindDataA/W functions
Gregor Schneider [Sun, 30 May 2010 21:19:26 +0000 (21:19 +0000)]
[KERNEL32] Return nothing from InternalCopyDeviceFindDataA/W functions

svn path=/trunk/; revision=47464

10 years ago[WINETESTS]
Timo Kreuzer [Sun, 30 May 2010 21:01:52 +0000 (21:01 +0000)]
[WINETESTS]
Disable unused value warnings

svn path=/trunk/; revision=47463

10 years ago[PSEH]
Timo Kreuzer [Sun, 30 May 2010 20:57:02 +0000 (20:57 +0000)]
[PSEH]
Use dummy pseh for clang

svn path=/trunk/; revision=47462

10 years agoVarious application fixes by Jan Roeloffzen, bug #5182, part 4/4
Gregor Schneider [Sun, 30 May 2010 20:36:20 +0000 (20:36 +0000)]
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

10 years agoVarious application fixes by Jan Roeloffzen, bug #5182, part 3
Gregor Schneider [Sun, 30 May 2010 20:31:58 +0000 (20:31 +0000)]
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

10 years agoVarious application fixes by Jan Roeloffzen, bug #5182, part 2
Gregor Schneider [Sun, 30 May 2010 20:25:46 +0000 (20:25 +0000)]
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

10 years agoVarious application fixes by Jan Roeloffzen, bug #5182, part 1
Gregor Schneider [Sun, 30 May 2010 20:19:21 +0000 (20:19 +0000)]
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

10 years ago[FORMATTING] Standardize win32csr to 4-space indents. Based on a patch by Adam Kachwa...
Jeffrey Morlan [Sun, 30 May 2010 20:00:17 +0000 (20:00 +0000)]
[FORMATTING] Standardize win32csr to 4-space indents. Based on a patch by Adam Kachwalla [Bug 5380]. No code changes.

svn path=/trunk/; revision=47457

10 years ago[NTOSKRNL]
Eric Kohl [Sun, 30 May 2010 19:46:02 +0000 (19:46 +0000)]
[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

10 years ago[KMTEST]
Christoph von Wittich [Sun, 30 May 2010 19:37:27 +0000 (19:37 +0000)]
[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

10 years ago[CALC] Add units and conversion factors, patch by Andrea Maiani; nanoseconds entry...
Gregor Schneider [Sun, 30 May 2010 18:55:28 +0000 (18:55 +0000)]
[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

10 years ago- partly revert r47442 and apply a working fix by guarding some prototypes of functio...
Timo Kreuzer [Sun, 30 May 2010 18:46:02 +0000 (18:46 +0000)]
- 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

10 years ago[KBDLV] Latvian keyboard fixes by Arturs B., <mad_alchemist AT mail DOT ru>
Gregor Schneider [Sun, 30 May 2010 18:34:29 +0000 (18:34 +0000)]
[KBDLV] Latvian keyboard fixes by Arturs B., <mad_alchemist AT mail DOT ru>
See issue #5385 for more details.

svn path=/trunk/; revision=47452

10 years ago[WINE]
Timo Kreuzer [Sun, 30 May 2010 16:24:51 +0000 (16:24 +0000)]
[WINE]
Cast the unused 0 in the ok macro to void to make clang happy

svn path=/trunk/; revision=47450

10 years ago[WINE]
Christoph von Wittich [Sun, 30 May 2010 15:37:32 +0000 (15:37 +0000)]
[WINE]
partial sync of test.h

svn path=/trunk/; revision=47449

10 years ago[COMCTL32_WINETEST]
Christoph von Wittich [Sun, 30 May 2010 15:19:09 +0000 (15:19 +0000)]
[COMCTL32_WINETEST]
sync to wine 1.2 RC2

svn path=/trunk/; revision=47448

10 years ago[PSDK]
Christoph von Wittich [Sun, 30 May 2010 15:18:08 +0000 (15:18 +0000)]
[PSDK]
 add missing definitions

svn path=/trunk/; revision=47447

10 years ago[MMSYS] Load the no sound item in the shared buffer before preparing the reactos...
Gregor Schneider [Sun, 30 May 2010 15:13:04 +0000 (15:13 +0000)]
[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

10 years ago[MMSYS] Adjust German dialog item positions and sizes
Gregor Schneider [Sun, 30 May 2010 15:09:25 +0000 (15:09 +0000)]
[MMSYS] Adjust German dialog item positions and sizes

svn path=/trunk/; revision=47445

10 years ago[PSDK]
Christoph von Wittich [Sun, 30 May 2010 15:00:04 +0000 (15:00 +0000)]
[PSDK]
add missing definitions

svn path=/trunk/; revision=47444

10 years ago[DDK]
Timo Kreuzer [Sun, 30 May 2010 14:02:47 +0000 (14:02 +0000)]
[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

10 years ago[intrin_x86.h]
Timo Kreuzer [Sun, 30 May 2010 13:02:29 +0000 (13:02 +0000)]
[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

10 years ago[NTDDK]
Timo Kreuzer [Sun, 30 May 2010 12:21:21 +0000 (12:21 +0000)]
[NTDDK]
Protect IoMapTransfer from incompatible redefinition. Patch by AmineKhaldi.

svn path=/trunk/; revision=47441

10 years ago[WS2_32]
Christoph von Wittich [Sun, 30 May 2010 11:25:21 +0000 (11:25 +0000)]
[WS2_32]
set LastError to 0 when WSASendTo was successful

svn path=/trunk/; revision=47440

10 years ago[SHDOCVW]
Christoph von Wittich [Sun, 30 May 2010 10:25:19 +0000 (10:25 +0000)]
[SHDOCVW]
sync to wine 1.2 RC2

svn path=/trunk/; revision=47439

10 years ago[URLMON]
Christoph von Wittich [Sun, 30 May 2010 10:20:31 +0000 (10:20 +0000)]
[URLMON]
sync to wine 1.2 RC2

svn path=/trunk/; revision=47438

10 years ago[user32]
Michael Martin [Sun, 30 May 2010 06:23:41 +0000 (06:23 +0000)]
[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

10 years ago[NTOS]: Implement MiAllocatePfn, it is a simpler wrapper that grabs a page, sets...
Sir Richard [Sun, 30 May 2010 03:02:39 +0000 (03:02 +0000)]
[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

10 years ago[BOOTVID] Dramatically simplify 4bpp blitting routine
Gregor Schneider [Sat, 29 May 2010 23:54:47 +0000 (23:54 +0000)]
[BOOTVID] Dramatically simplify 4bpp blitting routine
See issue #5103 for more details.

svn path=/trunk/; revision=47431

10 years ago[_mingw.h]
Timo Kreuzer [Sat, 29 May 2010 21:48:32 +0000 (21:48 +0000)]
[_mingw.h]
Help compilation with clang. Patch by Amine Khaldi.

svn path=/trunk/; revision=47430

10 years ago[RTL]
Eric Kohl [Sat, 29 May 2010 21:15:48 +0000 (21:15 +0000)]
[RTL]
Implement RtlEncodeSystemPointer using the user shared data cookie.

svn path=/trunk/; revision=47429

10 years ago[FORMATTING]
Eric Kohl [Sat, 29 May 2010 20:40:28 +0000 (20:40 +0000)]
[FORMATTING]
No code changes.

svn path=/trunk/; revision=47428

10 years agoTimo/Physicus: Please validate for AMD64.
Sir Richard [Sat, 29 May 2010 19:27:32 +0000 (19:27 +0000)]
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

10 years ago[NTOS]: Fix Implementation of BreakOnTermination -- Process Flags should be accessed...
Sir Richard [Sat, 29 May 2010 19:21:08 +0000 (19:21 +0000)]
[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

10 years ago[NTOSKRNL]
Eric Kohl [Sat, 29 May 2010 19:13:19 +0000 (19:13 +0000)]
[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

10 years agoTesters: Please pay attention to this build and test it fully:
Sir Richard [Sat, 29 May 2010 18:33:50 +0000 (18:33 +0000)]
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

10 years ago[NTOSKRNL / RTL]
Eric Kohl [Sat, 29 May 2010 18:22:47 +0000 (18:22 +0000)]
[NTOSKRNL / RTL]
- Implement BreakOnTermination case for NtQueryInformationProcess and NtSetInformationProcess.
- Implement RtlSetProcessIsCritical.

svn path=/trunk/; revision=47423

10 years ago[MSHTML_WINETEST]
Christoph von Wittich [Sat, 29 May 2010 18:04:05 +0000 (18:04 +0000)]
[MSHTML_WINETEST]
sync to wine 1.2 RC2

svn path=/trunk/; revision=47422

10 years ago[CMD] File completion
Gregor Schneider [Sat, 29 May 2010 18:01:20 +0000 (18:01 +0000)]
[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

10 years ago[SHLWAPI]
Christoph von Wittich [Sat, 29 May 2010 17:47:03 +0000 (17:47 +0000)]
[SHLWAPI]
sync to wine 1.2 RC2

svn path=/trunk/; revision=47420

10 years ago[WS2_32]
Christoph von Wittich [Sat, 29 May 2010 17:33:37 +0000 (17:33 +0000)]
[WS2_32]
implement WSAAddressToStringA/W (taken from wine)

svn path=/trunk/; revision=47419

10 years ago[CMD] copy command:
Gregor Schneider [Sat, 29 May 2010 16:49:23 +0000 (16:49 +0000)]
[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

10 years ago[NTOSKRNL]
Cameron Gutman [Sat, 29 May 2010 16:00:43 +0000 (16:00 +0000)]
[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

10 years ago[MSHTML]
Christoph von Wittich [Sat, 29 May 2010 14:54:55 +0000 (14:54 +0000)]
[MSHTML]
-sync to wine 1.2 RC2
-add ros_diff.patch

svn path=/trunk/; revision=47416

10 years ago[MSHTML]
Christoph von Wittich [Sat, 29 May 2010 14:44:13 +0000 (14:44 +0000)]
[MSHTML]
restore local mshtml changes lost by last wine sync

svn path=/trunk/; revision=47415

10 years ago[BOOTDATA]
Christoph von Wittich [Sat, 29 May 2010 14:42:39 +0000 (14:42 +0000)]
[BOOTDATA]
revert 47055

svn path=/trunk/; revision=47414

10 years ago[JSCRIPT]
Christoph von Wittich [Sat, 29 May 2010 14:21:43 +0000 (14:21 +0000)]
[JSCRIPT]
sync to wine 1.2 RC2

svn path=/trunk/; revision=47413

10 years ago[WININET]
Christoph von Wittich [Sat, 29 May 2010 13:41:35 +0000 (13:41 +0000)]
[WININET]
-sync to wine 1.2 RC2
-enable http compression with zlib

svn path=/trunk/; revision=47412

10 years agoUpdate zlib from 1.2.3 to 1.2.5
Daniel Reimer [Sat, 29 May 2010 13:22:48 +0000 (13:22 +0000)]
Update zlib from 1.2.3 to 1.2.5

svn path=/trunk/; revision=47411

10 years ago[CRYPT32]
Christoph von Wittich [Sat, 29 May 2010 13:14:05 +0000 (13:14 +0000)]
[CRYPT32]
sync to wine 1.2 RC2

svn path=/trunk/; revision=47410

10 years ago[BOOTVID] Don't increment an uninitialized and unused variable, bug #5103
Gregor Schneider [Sat, 29 May 2010 12:57:29 +0000 (12:57 +0000)]
[BOOTVID] Don't increment an uninitialized and unused variable, bug #5103

svn path=/trunk/; revision=47409

10 years agoUpdate:
Daniel Reimer [Sat, 29 May 2010 12:47:30 +0000 (12:47 +0000)]
Update:
DejaVu Fonts 2.30 -> 2.31
Liberation Fonts 1.04 -> 1.05.2

svn path=/trunk/; revision=47408

10 years ago[KERNEL32] ReplaceFileW:
Gregor Schneider [Sat, 29 May 2010 12:31:48 +0000 (12:31 +0000)]
[KERNEL32] ReplaceFileW:
- Initialize Unicode string structure, so that only allocated buffers are freed when leaving the function
- Fixes several heap warnings in kernel32:file test

svn path=/trunk/; revision=47407

10 years ago[KERNEL32] WaitNamedPipeW: Free Unicode buffer when leaving the function
Gregor Schneider [Sat, 29 May 2010 12:29:26 +0000 (12:29 +0000)]
[KERNEL32] WaitNamedPipeW: Free Unicode buffer when leaving the function

svn path=/trunk/; revision=47406

10 years ago[OLE32]
Christoph von Wittich [Sat, 29 May 2010 11:34:57 +0000 (11:34 +0000)]
[OLE32]
sync to wine 1.2 RC2

svn path=/trunk/; revision=47405

10 years ago[CRT]
Christoph von Wittich [Sat, 29 May 2010 09:23:23 +0000 (09:23 +0000)]
[CRT]
fix behavior of _system (fixes msvcrt environ winetest)

svn path=/trunk/; revision=47403

10 years ago[MSVCRT_WINETEST]
Christoph von Wittich [Sat, 29 May 2010 09:22:07 +0000 (09:22 +0000)]
[MSVCRT_WINETEST]
partial sync to wine 1.2 RC2

svn path=/trunk/; revision=47402

10 years ago[QUARTZ]
Christoph von Wittich [Sat, 29 May 2010 09:07:32 +0000 (09:07 +0000)]
[QUARTZ]
sync to wine 1.2 RC2

svn path=/trunk/; revision=47401

10 years ago[QEDIT]
Christoph von Wittich [Sat, 29 May 2010 09:05:43 +0000 (09:05 +0000)]
[QEDIT]
sync to wine 1.2 RC2

svn path=/trunk/; revision=47400

10 years ago[RSAENH]
Christoph von Wittich [Sat, 29 May 2010 09:03:59 +0000 (09:03 +0000)]
[RSAENH]
sync to wine 1.2 RC2

svn path=/trunk/; revision=47399

10 years ago[MSXML3]
Christoph von Wittich [Sat, 29 May 2010 09:02:25 +0000 (09:02 +0000)]
[MSXML3]
sync to wine 1.2 RC2

svn path=/trunk/; revision=47398

10 years ago[MSI]
Christoph von Wittich [Sat, 29 May 2010 08:55:43 +0000 (08:55 +0000)]
[MSI]
sync to wine 1.2 RC2

svn path=/trunk/; revision=47397

10 years ago[MSI]
Christoph von Wittich [Sat, 29 May 2010 08:01:25 +0000 (08:01 +0000)]
[MSI]
delete msi_ros.diff

svn path=/trunk/; revision=47394

10 years ago[win32k]
Michael Martin [Sat, 29 May 2010 06:51:03 +0000 (06:51 +0000)]
[win32k]
- The timer is created usingUserCreateObject. It may be a good idea to save the handle in the timer object so that it can be deleted later.
- Dereference the object before attempting to delete it.

svn path=/trunk/; revision=47393

10 years ago[NTOSKRNL]
Cameron Gutman [Sat, 29 May 2010 00:29:12 +0000 (00:29 +0000)]
[NTOSKRNL]
- Set the Status variable to STATUS_SUCCESS in PIP_RETURN_DATA
- Fixes testbot

svn path=/trunk/; revision=47391

10 years ago[NTOSKRNL]
Cameron Gutman [Fri, 28 May 2010 23:17:59 +0000 (23:17 +0000)]
[NTOSKRNL]
- Use PnpDetermineResourceListSize to determine the resource list size and remove the broken IopCalculateResourceListSize function

svn path=/trunk/; revision=47390

10 years ago[NTOS]: Root Bus PDO should not override Status with STATUS_NOT_IMPLEMENTED and inste...
Sir Richard [Fri, 28 May 2010 23:08:41 +0000 (23:08 +0000)]
[NTOS]: Root Bus PDO should not override Status with STATUS_NOT_IMPLEMENTED and instead use the current IRP status (which drivers/PnP will typically set to STATUS_NOT_SUPPORTED). Found by testing the new PCIx driver (probably fixes other bus drivers too).

svn path=/trunk/; revision=47389

10 years ago[NTOS]: Re-implement IoGetDeviceProperty. Main changes are usage of existing (and...
Sir Richard [Fri, 28 May 2010 23:03:27 +0000 (23:03 +0000)]
[NTOS]: Re-implement IoGetDeviceProperty. Main changes are usage of existing (and new) helper functions for registry/IRP access, much better factored code, correct implementation of DevicePropertyPhysicalDeviceObjectName, fixed implementation of DevicePropertyBootConfigurationTranslated and DevicePropertyBootConfiguration (do not crash the system anymore), and support for more device properties.
[NTOS]: Fix caller of IoGetDeviceProperty in pnpres.c to work with new function behavior (which matches WDK documentation and test cases).
[NTOS]: Implement helper function PnpBusTypeGuidGet, should be used later in other PnP code, but now used only for this patch.
[NTOS]: Implement helper function PnpDetermineResourceListSize, ditto. N.B. Current IopCalculateResourceListSize function is broken and callers should use this one instead.
[NTOS]: Implement helper function PpIrpQueryCapabilities, should be used later in device node code, but now only used for this patch.
[NTOS]: Implement helper function PnpDeviceObjectToDeviceInstance, ditto.
Main purpose of this patch is to unblock the new PCIx driver.

svn path=/trunk/; revision=47388

10 years ago[FREELOADER]
Cameron Gutman [Fri, 28 May 2010 22:54:27 +0000 (22:54 +0000)]
[FREELOADER]
- Fix DoOptionsMenu and implement AppendBootOptions to support F8 boot options
- Fixes bug 5363

svn path=/trunk/; revision=47387

10 years ago[win32k]
Michael Martin [Fri, 28 May 2010 20:35:30 +0000 (20:35 +0000)]
[win32k]
- Remove use of TMRF_DELETEPENDING for deleting timers as this was a bad idea.
Timers need to be deleted immediately as waiting for them to be deleted resulted in some processes running out of handles.
Fixes richedit winetest for editor.
- Add flag TMRF_TIFROMWND for timers created from user mode so the thread stored in the timer object is from the window and not caller.
Fixes an issue where FireFox would not show any of its windows and looked dead.
- When creating and deleting timers, If the window is non null and IDEvent is 0 then the IDEvent is changed to 1.
- When modifying timer list use UserEnter and Leave instead of a Critical Region only.

svn path=/trunk/; revision=47385

10 years ago[NTOSKRNL]
Eric Kohl [Fri, 28 May 2010 19:36:57 +0000 (19:36 +0000)]
[NTOSKRNL]
- Implement SeAppendPrivileges().

svn path=/trunk/; revision=47384

10 years ago[FORMATTING]
Eric Kohl [Fri, 28 May 2010 16:28:27 +0000 (16:28 +0000)]
[FORMATTING]
No code changes.

svn path=/trunk/; revision=47383

10 years ago[NTOSKRNL]
Eric Kohl [Fri, 28 May 2010 15:03:09 +0000 (15:03 +0000)]
[NTOSKRNL]
Implement SeFreePrivileges().

svn path=/trunk/; revision=47382

10 years ago[MSAFD]
Cameron Gutman [Fri, 28 May 2010 05:15:42 +0000 (05:15 +0000)]
[MSAFD]
- Fix a broken call to WSPBind that I missed in r47378

svn path=/trunk/; revision=47380

10 years ago[TCPIP]
Cameron Gutman [Fri, 28 May 2010 04:39:49 +0000 (04:39 +0000)]
[TCPIP]
- Return STATUS_INVALID_ADDRESS if the caller tries to get a non-local address
- Return STATUS_ADDRESS_ALREADY_EXISTS if the caller uses an address that is in use
[MSAFD]
- Translate STATUS_ADDRESS_ALREADY_EXISTS -> WSAEADDRINUSE, STATUS_LOCAL_DISCONNECT -> WSAECONNABORTED, and STATUS_REMOTE_DISCONNECT -> WSAECONNRESET
[IP]
- Translate OSK_EADDRINUSE -> STATUS_ADDRESS_ALREADY_EXISTS, OSK_ECONNABORTED -> STATUS_LOCAL_DISCONNECT, and OSK_ECONNRESET -> STATUS_REMOTE_DISCONNECT
- Fixes waiting for binding during ws2_32 sock winetest

svn path=/trunk/; revision=47379

10 years ago[MSAFD]
Cameron Gutman [Fri, 28 May 2010 04:07:39 +0000 (04:07 +0000)]
[MSAFD]
- Pass a valid pointer for lpErrno to WSPBind when performing an implicit bind
- Remove the hack in MsafdReturnWithErrno for dealing with stupid callers that provide don't provide a valid Errno pointer

svn path=/trunk/; revision=47378

10 years ago[MSAFD]
Cameron Gutman [Fri, 28 May 2010 03:55:50 +0000 (03:55 +0000)]
[MSAFD]
- Remove an incorrect change
- Create a new function called TranslateNtStatusError to translate NTSTATUS to winsock error codes
- Call the TranslateNtStatusError in MsafdReturnWithErrno and also use it to translate AFD's poll event error codes
[AFD]
- Track the status for each poll event in our FCB and copy it back when we get an IOCTL_AFD_ENUM_NETWORK_EVENTS IRP
- Remove some useless PollReeval calls

svn path=/trunk/; revision=47377

10 years ago[MSAFD]
Cameron Gutman [Fri, 28 May 2010 02:25:56 +0000 (02:25 +0000)]
[MSAFD]
- Zero the entire struct not just the lpNetworkEvents member
- Write the error codes returned from AFD to the iErrorCode array
- Fixes hundreds of ws2_32_winetest sock failures (only 104 failures now)
- Dedicated to Physicus

svn path=/trunk/; revision=47376

10 years ago[NPFS]
Cameron Gutman [Thu, 27 May 2010 23:52:32 +0000 (23:52 +0000)]
[NPFS]
- Partially revert r47370 and apply a better patch
- Change ReadEvent and WriteEvent to notification events because we reset those events manually when we run out of buffer space

svn path=/trunk/; revision=47375

10 years agoThe global flag FLG_HEAP_ENABLE_CALL_TRACING has been replaced by FLG_ENABLE_SYSTEM_C...
Eric Kohl [Thu, 27 May 2010 20:15:35 +0000 (20:15 +0000)]
The global flag FLG_HEAP_ENABLE_CALL_TRACING has been replaced by FLG_ENABLE_SYSTEM_CRIT_BREAKS in Windows XP and above.

svn path=/trunk/; revision=47374

10 years ago[PAINT]
Benedikt Freisen [Thu, 27 May 2010 14:53:53 +0000 (14:53 +0000)]
[PAINT]
- After clearing a new selection and creating an undo-step, draw selection contents
- Fixes bug #5246

svn path=/trunk/; revision=47373

10 years ago[PAINT]
Benedikt Freisen [Thu, 27 May 2010 12:21:50 +0000 (12:21 +0000)]
[PAINT]
- Improvements by Black_Fox, see bug #5418
- Readability improvement, patch by Katayama Hirofumi, see  bug #5420

svn path=/trunk/; revision=47372

10 years ago- Sync wined3d, ddraw, d3d8, d3d9 with Wine
Kamil Hornicek [Thu, 27 May 2010 10:25:14 +0000 (10:25 +0000)]
- Sync wined3d, ddraw, d3d8, d3d9 with Wine

svn path=/trunk/; revision=47371