reactos.git
9 years ago[FASTFAT]
Pierre Schweitzer [Mon, 27 Oct 2014 13:38:14 +0000 (13:38 +0000)]
[FASTFAT]
Add sanity checks in VfatSetRenameInformation() to make sure we don't leak any FCB reference

svn path=/trunk/; revision=65042

9 years ago[NTFS]
Pierre Schweitzer [Mon, 27 Oct 2014 12:35:58 +0000 (12:35 +0000)]
[NTFS]
Bugfixing... Part 10/X:
- Properly compute entry name length in CompareFileName()
- Also, in CompareFileName() properly handle the return of RtlCompareUnicodeString(); this is not RtlEqualUnicodeString()!
- In NtfsLookupFileAt(), don't return an error when we're done walking the path, it's a normal behavior

All these fixes allow our NTFS to go one step farther: it can open directory/files (reading files data remains untested so far) in root and in its subdirs. Which was broken previously.
The said bugfixes in action (and in image): http://www.heisspiter.net/~Pierre/rostests/NTFS_listing_subdir.png

svn path=/trunk/; revision=65041

9 years ago[ADVAPI32]
Thomas Faber [Mon, 27 Oct 2014 11:52:44 +0000 (11:52 +0000)]
[ADVAPI32]
- Hackfix CORE-8717 to stop 2nd stage from failing. Proper fix will be submitted to Wine.

svn path=/trunk/; revision=65040

9 years ago[NtUser]
James Tabor [Mon, 27 Oct 2014 02:11:08 +0000 (02:11 +0000)]
[NtUser]
- Fix default sizes for desktop resources. See CORE-8659.

svn path=/trunk/; revision=65039

9 years ago[FAST486]
Aleksandar Andrejevic [Mon, 27 Oct 2014 00:21:06 +0000 (00:21 +0000)]
[FAST486]
Don't leave the prefetch cache in a possibly invalid state if Fast486ReadLinearMemory
returns FALSE.

svn path=/trunk/; revision=65037

9 years ago[FAST486]
Aleksandar Andrejevic [Sun, 26 Oct 2014 23:37:54 +0000 (23:37 +0000)]
[FAST486]
Implement an (optional) instruction prefetch cache.
Implement the INVLPG instruction.

svn path=/trunk/; revision=65035

9 years ago[KERNEL32]
Pierre Schweitzer [Sun, 26 Oct 2014 21:09:07 +0000 (21:09 +0000)]
[KERNEL32]
Prevent a use-after-free issue in GetVolumeNameForVolumeMountPointW()

svn path=/trunk/; revision=65034

9 years ago[FASTFAT]
Pierre Schweitzer [Sun, 26 Oct 2014 20:29:00 +0000 (20:29 +0000)]
[FASTFAT]
Make sure the appropriate resource is exclusively acquired when playing with FCB references

svn path=/trunk/; revision=65033

9 years ago[FASTFAT]
Pierre Schweitzer [Sun, 26 Oct 2014 20:23:07 +0000 (20:23 +0000)]
[FASTFAT]
s/DeviceObject/DeviceExt/g

svn path=/trunk/; revision=65032

9 years ago[FASTFAT]
Pierre Schweitzer [Sun, 26 Oct 2014 20:20:42 +0000 (20:20 +0000)]
[FASTFAT]
Implement vfatGrabFCB() (which was defined but never implemented) for increasing the reference count on a FCB.
This will make debugging easier.

Dedicated to Thomas :-).

svn path=/trunk/; revision=65031

9 years ago[ADVAPI32]
Amine Khaldi [Sun, 26 Oct 2014 19:56:15 +0000 (19:56 +0000)]
[ADVAPI32]
* Update ConvertStringSidToSid{A,W}().
* Fixes some advapi32:security tests.
CORE-8540

svn path=/trunk/; revision=65030

9 years ago[RASDLG]
Amine Khaldi [Sun, 26 Oct 2014 19:43:01 +0000 (19:43 +0000)]
[RASDLG]
* Turkish translation update by Erdem Ersoy.
CORE-7861

svn path=/trunk/; revision=65029

9 years ago[NTFS] Also return the short file name to caller if available
Hervé Poussineau [Sun, 26 Oct 2014 19:10:39 +0000 (19:10 +0000)]
[NTFS] Also return the short file name to caller if available

svn path=/trunk/; revision=65028

9 years ago[NTFS] Prefer long file name when naming objects
Hervé Poussineau [Sun, 26 Oct 2014 19:10:17 +0000 (19:10 +0000)]
[NTFS] Prefer long file name when naming objects

We now always see the long file name of an object when browsing NTFS partitions.

svn path=/trunk/; revision=65027

9 years ago[NTFS] Correctly read indexes
Hervé Poussineau [Sun, 26 Oct 2014 19:10:04 +0000 (19:10 +0000)]
[NTFS] Correctly read indexes

This fixes (at least) an infinite loop when trying to mount some partitions.

svn path=/trunk/; revision=65026

9 years ago[NTFS] Fix some debug prints
Hervé Poussineau [Sun, 26 Oct 2014 19:09:52 +0000 (19:09 +0000)]
[NTFS] Fix some debug prints

svn path=/trunk/; revision=65025

9 years ago[FASTFAT]
Pierre Schweitzer [Sun, 26 Oct 2014 18:48:30 +0000 (18:48 +0000)]
[FASTFAT]
Acquire DirResource in DoQuery() before attempting to play with FCBs.

This is dedicated to Thomas ;-)

svn path=/trunk/; revision=65024

9 years ago[NTOS:SE]
Eric Kohl [Sun, 26 Oct 2014 18:39:58 +0000 (18:39 +0000)]
[NTOS:SE]
Remove the old access check code in SepAccessCheckEx and use the new code instead. The new access check code is a lot better than the old code, but it makes the boot and install fail. This is caused by some kernel objects which are accessed using insufficient access rights. Therefore I added a little hack that shows a warning when insufficient rights are granted for an object and access is granted anyway.

svn path=/trunk/; revision=65023

9 years ago[ADVAPI32]
Amine Khaldi [Sun, 26 Oct 2014 17:51:59 +0000 (17:51 +0000)]
[ADVAPI32]
* Update GetAclInformation().
CORE-8540

svn path=/trunk/; revision=65022

9 years ago[CRT]
Thomas Faber [Sun, 26 Oct 2014 17:32:00 +0000 (17:32 +0000)]
[CRT]
- Fix strlen/wcslen FPO specification. Spotted by Timo.
- Also add FPO info for memset, memchr, memmove/memcpy

svn path=/trunk/; revision=65021

9 years ago[NTVDM]: Temporarily fix for r65015 before a proper fix.
Hermès Bélusca-Maïto [Sun, 26 Oct 2014 16:56:14 +0000 (16:56 +0000)]
[NTVDM]: Temporarily fix for r65015 before a proper fix.

svn path=/trunk/; revision=65018

9 years ago[ADVAPI32]
Amine Khaldi [Sun, 26 Oct 2014 16:48:36 +0000 (16:48 +0000)]
[ADVAPI32]
* Update GetAce().
CORE-8540

svn path=/trunk/; revision=65017

9 years ago[ADVAPI32]
Amine Khaldi [Sun, 26 Oct 2014 15:59:57 +0000 (15:59 +0000)]
[ADVAPI32]
* Update DeleteAce().
CORE-8540

svn path=/trunk/; revision=65016

9 years ago[NTVDM]: No need to re-change to a given video mode when it is already set. Fixes...
Hermès Bélusca-Maïto [Sun, 26 Oct 2014 15:57:21 +0000 (15:57 +0000)]
[NTVDM]: No need to re-change to a given video mode when it is already set. Fixes strange changes for e.g. some apps that find intelligent to switch 256 times to mode 13h (for example) before continuing to run.

svn path=/trunk/; revision=65015

9 years ago[FASTFAT]
Pierre Schweitzer [Sun, 26 Oct 2014 15:56:20 +0000 (15:56 +0000)]
[FASTFAT]
Make FATGetNextDirEntry() and vfatFindDirSpace() complain when they are given a cleaned up FCB (which shouldn't happen!).
They'll display full path, references count, open handles count.

Where are you little reference leak?

svn path=/trunk/; revision=65014

9 years ago[FASTFAT]
Pierre Schweitzer [Sun, 26 Oct 2014 15:35:18 +0000 (15:35 +0000)]
[FASTFAT]
Don't leak reference on failure in vfatPrepareTargetForRename().

svn path=/trunk/; revision=65013

9 years ago[NTVDM]: Return the latched data for keyboard ps/2 port only. Also when starting...
Hermès Bélusca-Maïto [Sun, 26 Oct 2014 15:01:14 +0000 (15:01 +0000)]
[NTVDM]: Return the latched data for keyboard ps/2 port only. Also when starting an app put a ENTER key release into the keyboard buffer because some apps expect it.

svn path=/trunk/; revision=65012

9 years ago[NTVDM]
Aleksandar Andrejevic [Sun, 26 Oct 2014 14:57:44 +0000 (14:57 +0000)]
[NTVDM]
Signal the next IRQ on EOI.

svn path=/trunk/; revision=65011

9 years ago[ADVAPI32]
Amine Khaldi [Sun, 26 Oct 2014 11:55:05 +0000 (11:55 +0000)]
[ADVAPI32]
* Import ADVAPI_GetComputerSid from Wine 1.7.27.
* Apply Wine commit f7a6c4c3 by Detlef Riekenberg: Allow string alias for common RID in sid strings.
CORE-8540

svn path=/trunk/; revision=65010

9 years ago[FAST486][NTVDM]: Do not compile some FPU functions when FAST486_NO_FPU is defined...
Hermès Bélusca-Maïto [Sun, 26 Oct 2014 11:50:14 +0000 (11:50 +0000)]
[FAST486][NTVDM]: Do not compile some FPU functions when FAST486_NO_FPU is defined (fixes build).

svn path=/trunk/; revision=65009

9 years ago[ADVAPI32]
Amine Khaldi [Sun, 26 Oct 2014 11:47:29 +0000 (11:47 +0000)]
[ADVAPI32]
* Reorder AceRights to reduce difference to Wine.
CORE-8540

svn path=/trunk/; revision=65008

9 years ago[ADVAPI32]
Amine Khaldi [Sun, 26 Oct 2014 10:59:11 +0000 (10:59 +0000)]
[ADVAPI32]
* Apply Wine commit e57edfea by Paul Vriens: Skip leading spaces when parsing.
* Update the related functions with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=65007

9 years ago[ADVAPI32]
Amine Khaldi [Sun, 26 Oct 2014 10:34:40 +0000 (10:34 +0000)]
[ADVAPI32]
* Update CopySid().
CORE-8540

svn path=/trunk/; revision=65006

9 years ago[NTVDM]: Addendum to r64985: correctly display the IPS and the TimerTicks (both of...
Hermès Bélusca-Maïto [Sun, 26 Oct 2014 02:38:07 +0000 (02:38 +0000)]
[NTVDM]: Addendum to r64985: correctly display the IPS and the TimerTicks (both of them are *LONGLONG).

svn path=/trunk/; revision=65005

9 years ago[NTVDM]
Aleksandar Andrejevic [Sun, 26 Oct 2014 02:29:31 +0000 (02:29 +0000)]
[NTVDM]
Make sure the offset doesn't exceed the VGA bank size.
Load the latch registers after the loop (optimization).

svn path=/trunk/; revision=65004

9 years ago[NTVDM]: Fix the validity check of the hVdd handle in the port structure so that...
Hermès Bélusca-Maïto [Sun, 26 Oct 2014 02:27:11 +0000 (02:27 +0000)]
[NTVDM]: Fix the validity check of the hVdd handle in the port structure so that we don't try to call an invalid VDD IO handler. That fixes stack corruption for example in the case of OUTSB/W operations, where we could call an invalid VDD handler taking 3 parameters that in fact calls (because VDD handlers and our internal ones are stored in a union, the choice of the handler is done via the hVdd value) an internal handler taking only 2 parameters... Bug triggered when testing MSVC-compiled NTVDM in speed-optimized mode. Diagnosed by V. and I, thanks V!

svn path=/trunk/; revision=65003

9 years ago[DDK]: VDD IO handlers are WINAPI and not something undefined (CDECL ... ?). Double...
Hermès Bélusca-Maïto [Sun, 26 Oct 2014 01:28:32 +0000 (01:28 +0000)]
[DDK]: VDD IO handlers are WINAPI and not something undefined (CDECL ... ?). Double-checked by V.

svn path=/trunk/; revision=65002

9 years ago[ADVAPI32]
Amine Khaldi [Sat, 25 Oct 2014 22:37:02 +0000 (22:37 +0000)]
[ADVAPI32]
* Update OpenThreadToken().
CORE-8540

svn path=/trunk/; revision=65000

9 years ago[NtUser]
James Tabor [Sat, 25 Oct 2014 22:06:13 +0000 (22:06 +0000)]
[NtUser]
- Do not block sending messages from a dying thread. See CORE-7447.

svn path=/trunk/; revision=64999

9 years ago[NET]
Eric Kohl [Sat, 25 Oct 2014 21:27:05 +0000 (21:27 +0000)]
[NET]
Implement and use console-aware print functions to print strings and resources.

svn path=/trunk/; revision=64998

9 years ago[WIN32k]
Timo Kreuzer [Sat, 25 Oct 2014 21:16:17 +0000 (21:16 +0000)]
[WIN32k]
Stop ASSERTing, that we always have all the resources we need in IntCreateCompatibleBitmap

svn path=/trunk/; revision=64997

9 years ago[WININET_WINETEST]
Amine Khaldi [Sat, 25 Oct 2014 18:35:58 +0000 (18:35 +0000)]
[WININET_WINETEST]
* ROSTESTS-73 is not fixed yet.

svn path=/trunk/; revision=64995

9 years ago[ADVAPI32]
Amine Khaldi [Sat, 25 Oct 2014 18:30:05 +0000 (18:30 +0000)]
[ADVAPI32]
* Update ImpersonateNamedPipeClient().
CORE-8540

svn path=/trunk/; revision=64994

9 years ago[WIN32K]
Jérôme Gardou [Sat, 25 Oct 2014 18:11:36 +0000 (18:11 +0000)]
[WIN32K]
 - Use a palette created from the DIB infos for surface created through CreateDIBitmap(CBM_CREATEDIB)
CORE-8695 #comment Booting in 16bpp mode is now OK, but some problems remain when switching mode from 16bpp to 32bpp

svn path=/trunk/; revision=64993

9 years ago[WIN32K]
Jérôme Gardou [Sat, 25 Oct 2014 18:11:31 +0000 (18:11 +0000)]
[WIN32K]
 - Always store alpha-aware cursors in a 32bpp RGB surface.
CORE-8695

svn path=/trunk/; revision=64992

9 years ago[WIN32K]
Jérôme Gardou [Sat, 25 Oct 2014 18:11:27 +0000 (18:11 +0000)]
[WIN32K]
 - Avoid leaking handles when loading animated cursors.

svn path=/trunk/; revision=64991

9 years ago[USER32]
Jérôme Gardou [Sat, 25 Oct 2014 18:11:11 +0000 (18:11 +0000)]
[USER32]
 - Fix a stupid buffer overflow I introduced in r64967.
 - Take BITMAPCOREINFO into account when loading a cursor from file.

svn path=/trunk/; revision=64990

9 years ago[ADVAPI32]
Amine Khaldi [Sat, 25 Oct 2014 17:46:33 +0000 (17:46 +0000)]
[ADVAPI32]
* Move a couple functions from sec.c to security.c.
CORE-8540

svn path=/trunk/; revision=64989

9 years ago[FAST486]
Aleksandar Andrejevic [Sat, 25 Oct 2014 17:16:37 +0000 (17:16 +0000)]
[FAST486]
The opcode handlers don't need a return value, it's not used anywhere.

svn path=/trunk/; revision=64988

9 years ago[ADVAPI32]
Amine Khaldi [Sat, 25 Oct 2014 16:08:39 +0000 (16:08 +0000)]
[ADVAPI32]
* Update GetKernelObjectSecurity().
CORE-8540

svn path=/trunk/; revision=64987

9 years ago[NTVDM]: So..... do not overflow the Cycles count, i.e. better estimate the number...
Hermès Bélusca-Maïto [Sat, 25 Oct 2014 15:36:11 +0000 (15:36 +0000)]
[NTVDM]: So..... do not overflow the Cycles count, i.e. better estimate the number of instructions per second :)

svn path=/trunk/; revision=64985

9 years ago[ADVAPI32]
Amine Khaldi [Sat, 25 Oct 2014 15:28:29 +0000 (15:28 +0000)]
[ADVAPI32]
* Update AllocateAndInitializeSid().
CORE-8540

svn path=/trunk/; revision=64984

9 years ago[NET]
Eric Kohl [Sat, 25 Oct 2014 14:28:38 +0000 (14:28 +0000)]
[NET]
Display local group properties and members.

svn path=/trunk/; revision=64983

9 years ago[ADVAPI32]
Amine Khaldi [Sat, 25 Oct 2014 14:15:00 +0000 (14:15 +0000)]
[ADVAPI32]
* Update CreateRestrictedToken().
* More advapi32:security tests run now.
CORE-8540

svn path=/trunk/; revision=64982

9 years ago[ADVAPI32]
Amine Khaldi [Sat, 25 Oct 2014 14:02:23 +0000 (14:02 +0000)]
[ADVAPI32]
* Update ADVAPI_IsLocalComputer().
CORE-8540

svn path=/trunk/; revision=64981

9 years ago[ADVAPI32]
Amine Khaldi [Sat, 25 Oct 2014 13:56:28 +0000 (13:56 +0000)]
[ADVAPI32]
* Fix set_ntstatus() to use NT_SUCCESS when performing the checks.
CORE-8540

svn path=/trunk/; revision=64980

9 years ago[ADVAPI32]
Amine Khaldi [Sat, 25 Oct 2014 12:45:57 +0000 (12:45 +0000)]
[ADVAPI32]
* Move some functions from trustee.c to security.c.
CORE-8540

svn path=/trunk/; revision=64979

9 years ago[ADVAPI32]
Amine Khaldi [Sat, 25 Oct 2014 12:30:01 +0000 (12:30 +0000)]
[ADVAPI32]
* Move some functions from sec/misc.c to security.c.
CORE-8540

svn path=/trunk/; revision=64978

9 years ago[ADVAPI32]
Amine Khaldi [Sat, 25 Oct 2014 12:27:03 +0000 (12:27 +0000)]
[ADVAPI32]
* Move CreateProcessWithLogonW() from logon.c to security.c.
CORE-8540

svn path=/trunk/; revision=64977

9 years ago[Win32k]
James Tabor [Sat, 25 Oct 2014 11:45:47 +0000 (11:45 +0000)]
[Win32k]
- Fix a copy paste error, see CORE-8667.
- Set top margin to 2.

svn path=/trunk/; revision=64976

9 years ago[RAPPS]
Daniel Reimer [Sat, 25 Oct 2014 11:43:51 +0000 (11:43 +0000)]
[RAPPS]
Updates for some softwares.
Fix several broken mirrors and replace the in theory working one for IrfanView.
Fix some sizes.

svn path=/trunk/; revision=64975

9 years ago[CRT]
Thomas Faber [Sat, 25 Oct 2014 00:08:23 +0000 (00:08 +0000)]
[CRT]
- Add frame pointer omission information to assembly string functions to fix debugging annoyances. Reviews appreciated

svn path=/trunk/; revision=64974

9 years ago[TASKMGR]
Christoph von Wittich [Fri, 24 Oct 2014 20:41:25 +0000 (20:41 +0000)]
[TASKMGR]
fix HMENU leak in TaskManager_OnTabWndSelChange
CORE-8705

svn path=/trunk/; revision=64972

9 years ago[CMAKE]
Timo Kreuzer [Fri, 24 Oct 2014 19:17:58 +0000 (19:17 +0000)]
[CMAKE]
Improve configure script to allow passing multiple arguments, like "configure VSSolution RTC". Add a small help command ("help" or "/?"), allow passing CMake parameters like -DFOO:BOOL=TRUE after our custom parameters.

svn path=/trunk/; revision=64971

9 years ago[RTL]
Thomas Faber [Fri, 24 Oct 2014 19:05:54 +0000 (19:05 +0000)]
[RTL]
- Implement RtlTryEnterHeapLock and use it to fix RtlpDphEnterCriticalSection

svn path=/trunk/; revision=64970

9 years ago[WIN32K]
Jérôme Gardou [Fri, 24 Oct 2014 18:45:25 +0000 (18:45 +0000)]
[WIN32K]
 - Properly check for CBM_INIT bit in CreateDIBitmap.
 - Take into account the fact that we could be passed a BITMAPCOREHEADER
CORE-8695

svn path=/trunk/; revision=64969

9 years ago[ADVAPI32]
Amine Khaldi [Fri, 24 Oct 2014 17:51:40 +0000 (17:51 +0000)]
[ADVAPI32]
* Move some functions from ac.c to security.c.
CORE-8540

svn path=/trunk/; revision=64968

9 years ago[USER32]
Jérôme Gardou [Fri, 24 Oct 2014 17:31:50 +0000 (17:31 +0000)]
[USER32]
 - Use CreateDIBitmap with the CDM_CREATEDIB undocumented flag to create alpha bitmaps. This permits to create display compatible yet 32bpp DDBs.
CORE-8695 #comment PLease retest, should be OK now.

svn path=/trunk/; revision=64967

9 years ago[WIN32K]
Jérôme Gardou [Fri, 24 Oct 2014 17:31:46 +0000 (17:31 +0000)]
[WIN32K]
 - First implementation of CreateDIBitmap with the undocumented CBM_CREATEDIB flag.
CORE-8695

svn path=/trunk/; revision=64966

9 years ago[WIN32K]
Jérôme Gardou [Fri, 24 Oct 2014 17:31:37 +0000 (17:31 +0000)]
[WIN32K]
 - Differenciate 16bpp 565 from 16bpp 555 in alphablending code.
 - Fix RGB vs BGR mismatch
CORE-8695

svn path=/trunk/; revision=64965

9 years ago[WIN32K]
Thomas Faber [Fri, 24 Oct 2014 17:28:21 +0000 (17:28 +0000)]
[WIN32K]
- Move call to UserRegisterClass out of SEH. All parameters are kernel pointers, so exceptions here are critical kernel bugs that shouldn't be hidden.
CORE-8702 #resolve

svn path=/trunk/; revision=64964

9 years ago[ADVAPI32]
Amine Khaldi [Fri, 24 Oct 2014 16:57:17 +0000 (16:57 +0000)]
[ADVAPI32]
* Reorder AllocateLocallyUniqueId() to reduce difference to Wine.
CORE-8540

svn path=/trunk/; revision=64963

9 years ago[ADVAPI32]
Amine Khaldi [Fri, 24 Oct 2014 16:52:57 +0000 (16:52 +0000)]
[ADVAPI32]
* Move some functions from token.c to security.c.
CORE-8540

svn path=/trunk/; revision=64962

9 years ago[ADVAPI32]
Amine Khaldi [Fri, 24 Oct 2014 15:49:52 +0000 (15:49 +0000)]
[ADVAPI32]
* Move PrivilegeCheck() to security.c.
CORE-8540

svn path=/trunk/; revision=64959

9 years ago[ADVAPI32]
Amine Khaldi [Fri, 24 Oct 2014 15:40:29 +0000 (15:40 +0000)]
[ADVAPI32]
* Reorder functions and definitions to reduce difference to the Wine source file.
CORE-8540

svn path=/trunk/; revision=64958

9 years ago[ADVAPI32]
Amine Khaldi [Fri, 24 Oct 2014 14:01:16 +0000 (14:01 +0000)]
[ADVAPI32]
* Move sid.c to the wine folder as a starting point for security.c.
CORE-8540

svn path=/trunk/; revision=64957

9 years ago[ADVAPI32]
Amine Khaldi [Fri, 24 Oct 2014 13:37:01 +0000 (13:37 +0000)]
[ADVAPI32]
* Move cred.c to the wine folder.
CORE-8540

svn path=/trunk/; revision=64956

9 years ago[WIN32K]
Jérôme Gardou [Fri, 24 Oct 2014 11:35:07 +0000 (11:35 +0000)]
[WIN32K]
 - Keep track of the PDEV which we create a compatible bitmap for.
 - Allow attaching a DDB to a DC if they are from the same PDEV
Fixes various problems after mode switching, including the infamous "Where is desk.cpl palette bitmap"

svn path=/trunk/; revision=64955

9 years ago[WIN32K]
Jérôme Gardou [Fri, 24 Oct 2014 11:34:55 +0000 (11:34 +0000)]
[WIN32K]
 - Do not dereference hook objects when it's not needed.
 - Avoid use after free.
CORE-8698 #resolve

svn path=/trunk/; revision=64954

9 years ago[WIN32K]
Jérôme Gardou [Fri, 24 Oct 2014 11:34:45 +0000 (11:34 +0000)]
[WIN32K]
 - Add a proper Alpha blending implementation for 16bpp surfaces
CORE-8695

svn path=/trunk/; revision=64953

9 years ago[NTOS:IO]
Thomas Faber [Fri, 24 Oct 2014 10:03:42 +0000 (10:03 +0000)]
[NTOS:IO]
- Serialize device enumeration requests
CORE-8697 #resolve

svn path=/trunk/; revision=64952

9 years ago[NTOS:IO]
Thomas Faber [Fri, 24 Oct 2014 10:02:14 +0000 (10:02 +0000)]
[NTOS:IO]
- Introduce IopDriverLoadResource to protect against concurrent driver loading
CORE-8696 #resolve

svn path=/trunk/; revision=64951

9 years ago[NTOS:IO]
Thomas Faber [Fri, 24 Oct 2014 09:39:15 +0000 (09:39 +0000)]
[NTOS:IO]
- Don't delete the device node for root enumerated device objects on failure. It's pointless, since IopEnumerateDevice will just recreate it, and more importantly it causes a use-after-free because IopFreeDeviceNode does not unset the DeviceNode member of the device object extension, so IopEnumerateDevice will try to access the freed node
- Set the device object's DeviceNode pointer to NULL in IopFreeDeviceNode
- Use consistent pool tagging for device nodes
CORE-8671 #resolve

svn path=/trunk/; revision=64950

9 years ago[USER32]
Thomas Faber [Fri, 24 Oct 2014 09:26:03 +0000 (09:26 +0000)]
[USER32]
- Zero-initialize result in SendMessageTimeout
CORE-8699 #resolve

svn path=/trunk/; revision=64949

9 years ago[USER32_APITEST]
Thomas Faber [Fri, 24 Oct 2014 09:16:04 +0000 (09:16 +0000)]
[USER32_APITEST]
- Add a test for SendMessageTimeout failure case
- Remove a pointless (and broken) memset (Coverity)
CORE-8699

svn path=/trunk/; revision=64948

9 years ago[NTOSKRNL]
Timo Kreuzer [Fri, 24 Oct 2014 07:16:44 +0000 (07:16 +0000)]
[NTOSKRNL]
Do not try to dereference Irp->UserIosb if it is NULL, to avoid unnecessary exceptions (inside SEH).

svn path=/trunk/; revision=64947

9 years ago[NTOS:IO]
Thomas Faber [Thu, 23 Oct 2014 22:05:56 +0000 (22:05 +0000)]
[NTOS:IO]
- Normalize, er.. simplify IopNormalizeImagePath a bit and use pool tagging

svn path=/trunk/; revision=64946

9 years ago[FREELDR]
Timo Kreuzer [Thu, 23 Oct 2014 21:52:39 +0000 (21:52 +0000)]
[FREELDR]
Move the BIOS call buffer to physical address 0x4000, making another page available at the top, moving the margin down to 0x9E000. Should fix boot with machines that have a large EBDA.
CORE-8692 #comment please retest.

svn path=/trunk/; revision=64945

9 years ago[WIN32K]
Jérôme Gardou [Thu, 23 Oct 2014 20:08:03 +0000 (20:08 +0000)]
[WIN32K]
 - Fix hook leaks.
User object manager creates object with 2 (two, deux, zwei, dos) reference counts.

svn path=/trunk/; revision=64942

9 years ago[WIN32K]
Jérôme Gardou [Thu, 23 Oct 2014 19:41:52 +0000 (19:41 +0000)]
[WIN32K]
 - Properly free classes small icon handles
 - Do not use LR_SHARED when copying them from the large icon. There's no reason for them to outlive the class.
Should fix remaining failures in user32:class that I introduced.

svn path=/trunk/; revision=64939

9 years ago[WIN32K/USER32]
Jérôme Gardou [Thu, 23 Oct 2014 19:41:42 +0000 (19:41 +0000)]
[WIN32K/USER32]
 - Simplify an overcomplicated way to get buffer size from win32k
 - Do not spaghettize between string length and buffer size.
 - Properly use GetModuleFileName.

svn path=/trunk/; revision=64938

9 years ago[ADVAPI32]
Amine Khaldi [Thu, 23 Oct 2014 18:58:35 +0000 (18:58 +0000)]
[ADVAPI32]
* Introduce a wine folder to group the Wine synced source files.
* Use the crypt folder as a starting point. More will follow.
CORE-8540

svn path=/trunk/; revision=64937

9 years ago[PCIX]
Amine Khaldi [Thu, 23 Oct 2014 18:51:12 +0000 (18:51 +0000)]
[PCIX]
* PciIdPrintfAppend is a vararg too.

svn path=/trunk/; revision=64936

9 years ago[PCIX]
Amine Khaldi [Thu, 23 Oct 2014 18:42:39 +0000 (18:42 +0000)]
[PCIX]
* PciIdPrintf is a vararg.

svn path=/trunk/; revision=64935

9 years ago[NET]
Eric Kohl [Thu, 23 Oct 2014 18:36:11 +0000 (18:36 +0000)]
[NET]
Implement the first part of the NET USER command.

svn path=/trunk/; revision=64934

9 years ago[COMPBATT]
Amine Khaldi [Thu, 23 Oct 2014 18:33:21 +0000 (18:33 +0000)]
[COMPBATT]
* Arch, don't return NTSTATUS instead of PCOMPBATT_BATTERY_DATA!

svn path=/trunk/; revision=64933

9 years ago[DSOUND]
Amine Khaldi [Thu, 23 Oct 2014 18:07:43 +0000 (18:07 +0000)]
[DSOUND]
* ProjectVector is used in commented out code.

svn path=/trunk/; revision=64932

9 years ago[NTOS:FORMATTING]
Thomas Faber [Thu, 23 Oct 2014 17:59:16 +0000 (17:59 +0000)]
[NTOS:FORMATTING]
- Try to fix indentation in iomgr/driver.c. Whitespace changes only

svn path=/trunk/; revision=64931

9 years ago[WINSPOOL.DRV]
Amine Khaldi [Thu, 23 Oct 2014 17:55:42 +0000 (17:55 +0000)]
[WINSPOOL.DRV]
* We're not using any debugging routines here.

svn path=/trunk/; revision=64930

9 years ago[USER32]
Jérôme Gardou [Thu, 23 Oct 2014 15:40:13 +0000 (15:40 +0000)]
[USER32]
 - Fix wrong size check.
Spotted by Thomas

svn path=/trunk/; revision=64926