reactos.git
14 years ago[KSPROXY]
Johannes Anderwald [Thu, 11 Mar 2010 21:52:15 +0000 (21:52 +0000)]
[KSPROXY]
- Fix trunk

svn path=/trunk/; revision=46118

14 years ago[WIN32K]: Enable the alignment code and reduce the number of hacks, leaving only...
Sir Richard [Thu, 11 Mar 2010 21:41:19 +0000 (21:41 +0000)]
[WIN32K]: Enable the alignment code and reduce the number of hacks, leaving only one for 1bpp top-down output (Freetype?) which doesn't seem to like when the lDelta is aligned to the correct bit-boundary. This should fix the crashes and graphic cltches recently introduced.

svn path=/trunk/; revision=46117

14 years ago[KSPROXY]
Johannes Anderwald [Thu, 11 Mar 2010 21:38:13 +0000 (21:38 +0000)]
[KSPROXY]
- Recreate resource file with visual studio
- Fix compilation with msvc
- Copy extra format buffer in IEnumMediaTypes::Next
- Create the pin handle in IPin::ReceiveConnection
- Implement IPin::Disconnect for the input pin
- Enumerate media formats and pass it to constructor of CEnumMediaTypes
- Check if the passed format is null in CInputPin::CheckFormat
- Copy extra format buffer after KSDATAFORMAT in the pin connection request
- Implement KsGetMediaType function
- Implement ISpecifyPropertyPages, IKsPropertySet, IKsControl, IStreamBuilder, IKsPinFactory for the output pin
- Implement IPin::ReceiveConnection, IPin::EnumMediaTypes for output pin
- Stub interfaces for IReferenceClock, IMediaSeeking, IKsTopology, IKsAggregateControl, IKsClockPropertySet, ISpecifyPropertyPages, IPersistStream for proxy filter
- Implement IAMDeviceRemoval, IKsControl, IAMFilterMiscFlags, IKsPropertySet interface for proxy filter

svn path=/trunk/; revision=46116

14 years ago[PSDK]
Johannes Anderwald [Thu, 11 Mar 2010 21:15:46 +0000 (21:15 +0000)]
[PSDK]
- Add a few types required for ksproxy

svn path=/trunk/; revision=46115

14 years agoComment out RegisterServiceProcess' stub.
Dmitry Gorbachev [Thu, 11 Mar 2010 20:59:47 +0000 (20:59 +0000)]
Comment out RegisterServiceProcess' stub.

svn path=/trunk/; revision=46114

14 years agoOutput PCH even when full dependencies are enabled.
Dmitry Gorbachev [Thu, 11 Mar 2010 20:59:24 +0000 (20:59 +0000)]
Output PCH even when full dependencies are enabled.

svn path=/trunk/; revision=46113

14 years ago[SHELL32]
Kamil Hornicek [Thu, 11 Mar 2010 19:42:59 +0000 (19:42 +0000)]
[SHELL32]
- according to msdn ppidl should be set to NULL if an error occurs
- fixes shlfolder winetest crash

svn path=/trunk/; revision=46112

14 years ago[WIN32K]: Revert accidental changes to IntCreateBitmap.
Sir Richard [Thu, 11 Mar 2010 19:26:00 +0000 (19:26 +0000)]
[WIN32K]: Revert accidental changes to IntCreateBitmap.

svn path=/trunk/; revision=46111

14 years ago- missed this one.. fix build?
Kamil Hornicek [Thu, 11 Mar 2010 18:48:46 +0000 (18:48 +0000)]
- missed this one.. fix build?

svn path=/trunk/; revision=46110

14 years ago- fix build
Kamil Hornicek [Thu, 11 Mar 2010 18:40:26 +0000 (18:40 +0000)]
- fix build

svn path=/trunk/; revision=46109

14 years ago- Remove bits saying dithering supported, since code patented and removed (also,...
evb [Thu, 11 Mar 2010 18:19:58 +0000 (18:19 +0000)]
- Remove bits saying dithering supported, since code patented and removed (also, ReactOS win32k not support dithering calls!).

svn path=/trunk/; revision=46108

14 years ago[FRAMEBUF]: Use precompiled header.
Sir Richard [Thu, 11 Mar 2010 18:19:02 +0000 (18:19 +0000)]
[FRAMEBUF]: Use precompiled header.

svn path=/trunk/; revision=46107

14 years ago- Added support IOCTRL_QUERY_PUBLIC_ACCESS_RANGES, IOCTRL_SET_PALETTE_REGISTERS,...
evb [Thu, 11 Mar 2010 17:56:27 +0000 (17:56 +0000)]
- Added support IOCTRL_QUERY_PUBLIC_ACCESS_RANGES, IOCTRL_SET_PALETTE_REGISTERS, IOCTRL_QUERY_CURRENT_MODE, used by test Standard VGA-only display driver.
- Code from NT4 DDK Cirrus miniport with some mods by me.

svn path=/trunk/; revision=46106

14 years ago[WIN32K]: EngCreateBitmap/IntCreateBitmap don't make much sense (code written back...
Sir Richard [Thu, 11 Mar 2010 17:49:44 +0000 (17:49 +0000)]
[WIN32K]: EngCreateBitmap/IntCreateBitmap don't make much sense (code written back in 2004...). RLEs don't have scanlines by definitions, bit depth alignments and sizing is not done, newer display formats (compressed) are not supported correctly, zero-width surfaces fail because the size is ignored during scanline calculation, etc. These bugs caused eVb's test VGA display driver to fail as it needs to create a zero-depth shadow surface, which would end up with pv0Bits == NULL in the current implementation (and crash during ROPs/BitBLTs). Attempted to rewrite as much of it to 1) make Windows drivers work with it 2) continue the current hacks needed for ReactOS drawing. Note that the broken IntCreateBitmap is still used by non EngXXX interfaces to reduce the change of breakage, but keep in mind the function is entirely wrong.

svn path=/trunk/; revision=46104

14 years ago[WIN32K]: Stop memory corruption when InstalledDisplayDrivers has more than one drive...
Sir Richard [Thu, 11 Mar 2010 17:46:15 +0000 (17:46 +0000)]
[WIN32K]: Stop memory corruption when InstalledDisplayDrivers has more than one driver in the list. Note that driver loading is inherently broken right now, as the list of drivers is not parsed properly (this breaks eVb's VGA/VBE driver).

svn path=/trunk/; revision=46103

14 years ago[COMDLG32]
Aleksey Bragin [Thu, 11 Mar 2010 17:37:30 +0000 (17:37 +0000)]
[COMDLG32]
- Sync to Wine-1.1.40.

svn path=/trunk/; revision=46102

14 years ago[PSDK]
Aleksey Bragin [Thu, 11 Mar 2010 17:32:43 +0000 (17:32 +0000)]
[PSDK]
- Add GdiConvertToDevmodeW declaration (needed for comdlg32). Arwinss PSDK changes should really be merged in.

svn path=/trunk/; revision=46101

14 years ago[WLANSVC]
Sylvain Petreolle [Thu, 11 Mar 2010 16:36:11 +0000 (16:36 +0000)]
[WLANSVC]
Correctly start and report status to the service manager.

svn path=/trunk/; revision=46099

14 years ago[SHELL32]
Kamil Hornicek [Thu, 11 Mar 2010 14:57:05 +0000 (14:57 +0000)]
[SHELL32]
- partial Wine sync, fixes crashing shlfileop winetest:
Use the current directory when copying to an empty destination.
Fix a memory leak in SHFileOperationW.
Vincent Povirk <vincent at codeweavers dot com>

svn path=/trunk/; revision=46098

14 years agofix build?
Kamil Hornicek [Thu, 11 Mar 2010 11:47:13 +0000 (11:47 +0000)]
fix build?

svn path=/trunk/; revision=46096

14 years ago[KERNEL32] GetConsoleProcessList is implemented, this prevents the console winetest...
Kamil Hornicek [Thu, 11 Mar 2010 11:34:29 +0000 (11:34 +0000)]
[KERNEL32] GetConsoleProcessList is implemented, this prevents the console winetest from crashing

svn path=/trunk/; revision=46095

14 years ago[OLEAUT32]
Aleksey Bragin [Thu, 11 Mar 2010 10:28:34 +0000 (10:28 +0000)]
[OLEAUT32]
- Sync to Wine-1.1.40.

svn path=/trunk/; revision=46093

14 years ago- Fix test build!
James Tabor [Thu, 11 Mar 2010 03:29:01 +0000 (03:29 +0000)]
- Fix test build!

svn path=/trunk/; revision=46092

14 years ago- Fix build!
James Tabor [Thu, 11 Mar 2010 03:28:32 +0000 (03:28 +0000)]
- Fix build!

svn path=/trunk/; revision=46091

14 years ago- Add new menu structures.
James Tabor [Thu, 11 Mar 2010 02:43:51 +0000 (02:43 +0000)]
- Add new menu structures.

svn path=/trunk/; revision=46090

14 years ago - We forget that AE_BUFFER_OVERFLOW is normal and expected since our buffer length...
Cameron Gutman [Wed, 10 Mar 2010 22:25:40 +0000 (22:25 +0000)]
 - We forget that AE_BUFFER_OVERFLOW is normal and expected since our buffer length is 0 so don't fail if that status is returned
 - For any device that actually had resources we would return STATUS_SUCCESS without building a resource list and if the device didn't have resources we would end up freeing a NULL pointer, storing stack trash in Irp->IoStatus.Information, and then returning STATUS_SUCCESS
 - Fixes reporting device resources (and possibly the VBox additions crash with ACPI enabled)

svn path=/trunk/; revision=46080

14 years ago[OLE32_WINETEST]
Christoph von Wittich [Wed, 10 Mar 2010 21:52:40 +0000 (21:52 +0000)]
[OLE32_WINETEST]
sync OLE32_WINETEST with wine 1.1.40

svn path=/trunk/; revision=46077

14 years ago[PSDK]
Christoph von Wittich [Wed, 10 Mar 2010 21:52:00 +0000 (21:52 +0000)]
[PSDK]
add extern GUID_NULL

svn path=/trunk/; revision=46076

14 years ago[ACPI]
Sylvain Petreolle [Wed, 10 Mar 2010 21:49:42 +0000 (21:49 +0000)]
[ACPI]
Fix implicit declaration warnings

svn path=/trunk/; revision=46075

14 years ago - Quit building a useless IO_RESOURCE_REQUIREMENTS_LIST (and leaking memory) in...
Cameron Gutman [Wed, 10 Mar 2010 21:11:23 +0000 (21:11 +0000)]
 - Quit building a useless IO_RESOURCE_REQUIREMENTS_LIST (and leaking memory) in response to IRP_MN_QUERY_RESOURCES
 - Actually store the IO_RESOURCE_REQUIREMENTS_LIST in Irp->IoStatus.Information in response to IRP_MN_QUERY_RESOURCE_REQUIREMENTS so the PnP manager can use it (and fixes another memory leak)

svn path=/trunk/; revision=46073

14 years agoSync sccbase, slbcsp, usp10, wldap32, wuapi and xinput1_3 to Wine 1.1.40
Daniel Reimer [Wed, 10 Mar 2010 20:44:19 +0000 (20:44 +0000)]
Sync sccbase, slbcsp, usp10, wldap32, wuapi and xinput1_3 to Wine 1.1.40
Theres more, like: comctl32, comdlg32, oleaut32, riched20, sti, version, winemp3.acm, wininet and winhttp which is above my skills or looks strange, like its not really synched (winemp3.acm!!) Feel free to play with them.

svn path=/trunk/; revision=46072

14 years ago[NTOS]: List still-running processes at kernel shutdown. Useful for debugging shutdow...
Sir Richard [Wed, 10 Mar 2010 18:29:10 +0000 (18:29 +0000)]
[NTOS]: List still-running processes at kernel shutdown. Useful for debugging shutdown code later.

svn path=/trunk/; revision=46069

14 years ago[SCM]: Fix SCM shutdown. Now all services are stopped (in my working copy with the...
Sir Richard [Wed, 10 Mar 2010 18:28:45 +0000 (18:28 +0000)]
[SCM]: Fix SCM shutdown. Now all services are stopped (in my working copy with the CSRSS shutdown code).

svn path=/trunk/; revision=46068

14 years ago[DDK]: Add MEMORY_BARRIER missing from ioaccess.h.
Sir Richard [Wed, 10 Mar 2010 18:28:03 +0000 (18:28 +0000)]
[DDK]: Add MEMORY_BARRIER missing from ioaccess.h.

svn path=/trunk/; revision=46067

14 years agoSync mscms, msg711.acm, msgm32.acm, msimtf. msnet32, msrle32, mssip32, msvcrt20,...
Daniel Reimer [Wed, 10 Mar 2010 17:03:25 +0000 (17:03 +0000)]
Sync mscms, msg711.acm, msgm32.acm, msimtf. msnet32, msrle32, mssip32, msvcrt20, msvfw32, msvidc32 and nddeapi to Wine 1.1.40
Even more will come.

svn path=/trunk/; revision=46063

14 years agoSync avifil32, hnetcfg, initpki, localspl, localui, mciavi32, mciqtz32, mciseq and...
Daniel Reimer [Wed, 10 Mar 2010 16:21:22 +0000 (16:21 +0000)]
Sync avifil32, hnetcfg, initpki, localspl, localui, mciavi32, mciqtz32, mciseq and mlang to Wine 1.1.40
More will come.

svn path=/trunk/; revision=46062

14 years ago[WLANSVC]
Sylvain Petreolle [Wed, 10 Mar 2010 16:18:32 +0000 (16:18 +0000)]
[WLANSVC]
- Add required libary iphlpapi

svn path=/trunk/; revision=46061

14 years agoUpdated README.WINE.
Daniel Reimer [Wed, 10 Mar 2010 15:00:25 +0000 (15:00 +0000)]
Updated README.WINE.
Additionally I added a * to all Autosyncs which lie a bit back already. Will look through them and check which are still recent.

svn path=/trunk/; revision=46058

14 years ago[OLE32]
Aleksey Bragin [Wed, 10 Mar 2010 14:28:56 +0000 (14:28 +0000)]
[OLE32]
- Sync to Wine-1.1.40. Along with improvements, it provides many memory corruption fixes.

svn path=/trunk/; revision=46056

14 years ago- [User32] Send WM_CANCELMODE in EnableWindow.
James Tabor [Wed, 10 Mar 2010 10:19:49 +0000 (10:19 +0000)]
- [User32] Send WM_CANCELMODE in EnableWindow.

svn path=/trunk/; revision=46054

14 years ago[KERNEL32]: Remove debug output.
Sir Richard [Wed, 10 Mar 2010 06:50:15 +0000 (06:50 +0000)]
[KERNEL32]: Remove debug output.

svn path=/trunk/; revision=46053

14 years ago[CSRSRV]: Move the new process/thread management functions into new, dedicated files...
Sir Richard [Wed, 10 Mar 2010 06:49:53 +0000 (06:49 +0000)]
[CSRSRV]: Move the new process/thread management functions into new, dedicated files. Export some of the functions, so that win32csr can use them by linking to csrsrv. Last change needed for barebones user-mode shutdown support.

svn path=/trunk/; revision=46052

14 years ago[CSRSS]: Split off CSRSS into a more Windows-friendly model. CSRSS.EXE is simply...
Sir Richard [Wed, 10 Mar 2010 04:59:39 +0000 (04:59 +0000)]
[CSRSS]: Split off CSRSS into a more Windows-friendly model. CSRSS.EXE is simply a stub which loads CSRSRV.DLL, where all the actual code is present.
[CSRSRV]: Mostly moved all the current CSRSS code into CSRSRV, with some very minor changes to get it workking.
[CSRSRV]: Add some more code from Alex's CSRSRV, such as thread dereferencing/deallocation, hacked to work.
[CSRSRV]: Make CsrTerminateProcess destroy each CSR thread in that process, otherwise we were always leaking a handle, so processes never died. Because of this, primary tokens would remain "in use", and when umpnpmgr attempted to do a "Create Process as User" for the second+ time, the call would fail since the token from the first process was still around. This fixed that regression from the mailing list.

svn path=/trunk/; revision=46051

14 years ago[NTOS]: No good deed goes unpunished. Continuing the novel/saga from a couple of...
Sir Richard [Wed, 10 Mar 2010 04:12:25 +0000 (04:12 +0000)]
[NTOS]: No good deed goes unpunished. Continuing the novel/saga from a couple of days ago, it seems that now that impersonation works, various code paths are being tickled into existence. For example, it would seem parts of the system now attempt setting primary tokens. This would cause an assertion, since PspAssignPrimaryToken incorrectly dereferenced the token (leading to a double-dereference) due to an off-by-! mistake.

svn path=/trunk/; revision=46049

14 years ago[CSRSS]: Differentiate between first-try and second-try shutdown. In the first try...
Sir Richard [Wed, 10 Mar 2010 03:35:18 +0000 (03:35 +0000)]
[CSRSS]: Differentiate between first-try and second-try shutdown. In the first try, the console server should defer to the user/win32k server to attempt shutdown for a non-console app. However, if we end up with a second try because this did not happen, then the console server takes matters in its own hands and calls the CTRL-C handler (with some exceptions, such as system/service apps, or apps not belonging to the LUID).

svn path=/trunk/; revision=46048

14 years ago[KERNEL32]: As indicated by the comment, kernel32 should always connect to the consol...
Sir Richard [Wed, 10 Mar 2010 03:32:17 +0000 (03:32 +0000)]
[KERNEL32]: As indicated by the comment, kernel32 should always connect to the console server, even for non-console apps (the latter will just basically ignore the request). This is needed to (at minimum) setup the Ctrl-C handler, as otherwise, only "true console" apps will have a handler, even though internally, all apps have such a handler. This is what CSRSS needs to call internally for shutting down non-GUI apps, for example. (The default CTRL-C handler will just call ExitProcess).

svn path=/trunk/; revision=46047

14 years agomerge r46045
Timo Kreuzer [Wed, 10 Mar 2010 00:56:07 +0000 (00:56 +0000)]
merge r46045

svn path=/trunk/; revision=46046

14 years agoLink SCSI miniport drivers only to scsiport
Hervé Poussineau [Tue, 9 Mar 2010 22:36:52 +0000 (22:36 +0000)]
Link SCSI miniport drivers only to scsiport

svn path=/trunk/; revision=46044

14 years ago- [User32] sync spy to wine 1.1.40
James Tabor [Tue, 9 Mar 2010 21:14:52 +0000 (21:14 +0000)]
- [User32] sync spy to wine 1.1.40

svn path=/trunk/; revision=46043

14 years ago[KERNEL32/CSRSS]: Register new Win32 threads with CSRSS. Add a bunch of lookup, creat...
Sir Richard [Tue, 9 Mar 2010 20:23:22 +0000 (20:23 +0000)]
[KERNEL32/CSRSS]: Register new Win32 threads with CSRSS. Add a bunch of lookup, creation, allocation, hashing and CSR thread management routines from the unused CSRSRV in trunk.
[CSRSS]: Bang in the new thread support in a bunch of places, including creating static server threads. It's very hacked and handle duplication doesn't work 100% reliably, but it gets the job done.
[CSRSS]: Add CsrGetProcessLuid, CsrImpersonateClient, CsrRevertToSelf, CsrShutdownProcesses, CsrFindProcessForShutdown required for user-mode shutdown. Right now we are able to reliably enumerate user apps (in the user LUID) and then service/system apps (in the LOCAL SYSTEM LUID).

svn path=/trunk/; revision=46042

14 years ago[KERNEL32]: Bug fix CTRL-C handler registration/deregistration/notification, needed...
Sir Richard [Tue, 9 Mar 2010 20:13:19 +0000 (20:13 +0000)]
[KERNEL32]: Bug fix CTRL-C handler registration/deregistration/notification, needed for correct console shutdown behavior.

svn path=/trunk/; revision=46041

14 years ago[CSRSS]: Fix yet another bug in the unused csrss code.
Sir Richard [Tue, 9 Mar 2010 18:22:25 +0000 (18:22 +0000)]
[CSRSS]: Fix yet another bug in the unused csrss code.

svn path=/trunk/; revision=46040

14 years agoConvert battery.inf to UTF-16
Sylvain Petreolle [Tue, 9 Mar 2010 17:21:29 +0000 (17:21 +0000)]
Convert battery.inf to UTF-16
Add French translation.
Add battery.inf and fdc.inf to syssetup process.

Floppy disk controllers and batteries now appear correctly in device manager.
Dedicated to aicom ;)

svn path=/trunk/; revision=46038

14 years ago[NTOS]: While attempting to ressucitate the user-mode shutdown code in CSRSS (disable...
Sir Richard [Tue, 9 Mar 2010 10:35:58 +0000 (10:35 +0000)]
[NTOS]: While attempting to ressucitate the user-mode shutdown code in CSRSS (disabled since 2006), it seemed clear that one of the main steps is to obtain the caller's LUID in order to kill the right processes. This LUID is obtained from the current thread's token, and we know it's the callers since we're supposed to impersonate the caller. Unfortunately, impersonation failed, making the whole process fail.
        Impersonation failed because NtImpersonateThread was actually inverting the THREAD_IMPERSONATE rights, asking the client thread for the server's permissions, and vice versa. Fixing this resulted in yet another failure.
        Analysis of this failure showed that even opening the server (ie: current) thread for THREAD_DIRECT_IMPERSONATION failed, which is unusual since the current thread should have access to all its rights. This is determined in PspCreateThread when the ETHREAD->GrantedAccess field is set.
        Continuing onto this path, tracing revealed that GrantedAccess was merely 0x1607F and not 0x1F3FF as expected, meaning that not all rights were given, including the impersonate right (0x200), explaining the failure, but not the deeper reason behind it.
        Attempting to identify which code path set this GrantedAccess, the SepAccessCheck routine came to light. A bug there caused MAXIMUM_ALLOWED accesses to fail in certain scenarios, such as when the object had no security descriptor, because MAXIMUM_ALLOWED would be granted as an absolute value, when instead of it is a flag that should grant GENERIC_ALL. Fixing that bug, the failure continued.
        Further analysis identified that the Administrators SID was being found with GENERIC_READ + WRITE + EXECUTE access, and no SID was found for GENERIC_ALL access. This happened when searching the system token's default DACL, which is assigned to the kernel (but for kernel-mode callers, this check was skipped), smss, winlogon, etc.
        The code for creating this system token was heavily hacked, so the function to create the system token, as well as NtCreateToken were refactored to use a common piece of token-creating code. Furthermode, the system token was correctly created with Local System as the user, and Administrators as one of the groups. Finally, SeDefaultDacl was used (already setup properly) instead of a badly configured Default DACL. The new shared code also correctly sets the SE_GROUP_ENABLED flag on all SE_GROUP_MANDATORY groups, and scans tokens to set the TOKEN_HAS_ADMIN_GROUP and TOKEN_HAS_TRAVERSE_PRIVILEGE flags which were not previously set.
        With the correct system token and default DACL, the Local System SID was now found, but the failure continued. This was revealed to be due to an even deeper rooted problem, as the SepIsSidInToken routine checked for SE_GROUP_ENABLED before listing a SID as "present". Although this is correct for actual groups, the User SID will never have the SE_GROUP_ENABLED flag as it is not a group. This caused any granted access ACE belonging to a user (instead of a group) to be ignored, causing either access check failures, or limited rights returned (in the MAXIMUM_ALLOWED case).
        Upon fixing this bug, the NtImpersonateThread call finally returned success, since the rights were now correct. Promptly upon calling NtOpenThreadToken to query the LUID however, the system ASSERTED with FALSE.
        The code at fault was a line in NtOpenThreadTokenEx which forcefully ASSERTed if the impersonation code path was taken, presumably because this was never tested, and ReactOS would actually always fail impersonation attempts due to the bugs fixed above. This routine was thus quickly reworked to fix some mistakes (such as forgetting to actually impersonate the client, incorrect referencing/dereferencing of thread/tokens, and assumptions about DACL creation success).
        Having fixed the NtOpenThreadTokenEx routine, the LUID query now went through for the impersonated token, but soon causing a user-mode crash, due to an incorrect parameter reference in the CsrGetProcessLuid function in the csrsrv code by Alex (which I copy/pasted to reduce code duplication).
        Fixing this final bug finally allowed the correct LUID to be queried and I was able to continue development of not-yet-commited user-mode shutdown code.

svn path=/trunk/; revision=46028

14 years ago[WIN32K]: Stub-plement NtUserSetInformationThread for UserInitiateShutdown and UserEn...
Sir Richard [Tue, 9 Mar 2010 09:26:46 +0000 (09:26 +0000)]
[WIN32K]: Stub-plement NtUserSetInformationThread for UserInitiateShutdown and UserEndShutdown. I think we're supposed to notify Winlogon at some point, and check for races. Part of new shutdown code.

svn path=/trunk/; revision=46027

14 years ago- [User32_winetest] Restore Timer test.
James Tabor [Tue, 9 Mar 2010 03:48:43 +0000 (03:48 +0000)]
- [User32_winetest] Restore Timer test.

svn path=/trunk/; revision=46026

14 years ago- [User32] Fix timer crash when calling proc.
James Tabor [Tue, 9 Mar 2010 03:48:05 +0000 (03:48 +0000)]
- [User32] Fix timer crash when calling proc.

svn path=/trunk/; revision=46025

14 years ago[SETUPLDR]: Fix build breakage caused by hpoussin, by linking minihal into setupldr...
Sir Richard [Tue, 9 Mar 2010 02:29:25 +0000 (02:29 +0000)]
[SETUPLDR]: Fix build breakage caused by hpoussin, by linking minihal into setupldr as well.

svn path=/trunk/; revision=46023

14 years ago[freeldr] Load an additional SCSI driver if present (NTBOOTSYS.SYS on boot partition...
Hervé Poussineau [Mon, 8 Mar 2010 22:04:38 +0000 (22:04 +0000)]
[freeldr] Load an additional SCSI driver if present (NTBOOTSYS.SYS on boot partition), to increase number of known storage devices.
Works only with very simple miniport drivers.

svn path=/trunk/; revision=46017

14 years ago[headers] Fix type of PRTL_HEAP_PARAMETERS in ifssupp.h. Will be required soon
Hervé Poussineau [Mon, 8 Mar 2010 21:42:18 +0000 (21:42 +0000)]
[headers] Fix type of PRTL_HEAP_PARAMETERS in ifssupp.h. Will be required soon

svn path=/trunk/; revision=46016

14 years agoFix include directories
Hervé Poussineau [Mon, 8 Mar 2010 21:40:29 +0000 (21:40 +0000)]
Fix include directories

svn path=/trunk/; revision=46015

14 years ago[User32]
James Tabor [Mon, 8 Mar 2010 21:24:47 +0000 (21:24 +0000)]
[User32]
- David Hedberg Fix return value for EDIT_EM_Scroll and case where EM_SCROLL with page down results in trying to scroll up past the beginning. Sync to wine 1.1.40.

svn path=/trunk/; revision=46013

14 years ago- [User32_winetest]
James Tabor [Mon, 8 Mar 2010 21:20:18 +0000 (21:20 +0000)]
- [User32_winetest]
- Msg : Remove more tests from service. test_timers crashed on a callback which passed months ago. The rest are related to TrackMouseEvent and capture.

svn path=/trunk/; revision=46012

14 years ago[CMBATT]
Cameron Gutman [Mon, 8 Mar 2010 21:09:25 +0000 (21:09 +0000)]
[CMBATT]
 - Add initial cmbatt driver which mostly stubs
 - All it does right now is register a battery device with the battc driver
[BATTC]
 - Add a nearly complete battc driver (the only stuff missing is WMI)
 - Tested with our stubbed cmbatt driver but testing on Windows would be nice too
[BATTERY.INF]
 - Added battery.inf to install battery devices
[MISC]
 - Add cmbatt.sys, battc.sys, and battery.inf to bootcd
 - We still need to implement compbatt.sys
 - PS: Janderwald, you stole my commit number ;)

svn path=/trunk/; revision=46011

14 years agoPolish translation update by Maciej Bialas.
Daniel Reimer [Mon, 8 Mar 2010 21:08:20 +0000 (21:08 +0000)]
Polish translation update by Maciej Bialas.

svn path=/trunk/; revision=46010

14 years ago- Fix a crash in user32 winetest msg.
James Tabor [Mon, 8 Mar 2010 21:04:00 +0000 (21:04 +0000)]
- Fix a crash in user32 winetest msg.

svn path=/trunk/; revision=46009

14 years ago[User32]
James Tabor [Mon, 8 Mar 2010 20:57:24 +0000 (20:57 +0000)]
[User32]
- Andrew Nguyen : Ensure That WM_INITDIALOG passes the first tabstop control handle to the dialog procedure.
- Henri Verbeet : Also show dialogs right after a WM_TIMER message.

svn path=/trunk/; revision=46007

14 years ago- [User32_winetest]
James Tabor [Mon, 8 Mar 2010 20:52:04 +0000 (20:52 +0000)]
- [User32_winetest]
- Win : Remove test_capture from service. This is related to TrackMouseEvent issues which use SetCapture.

svn path=/trunk/; revision=46006

14 years ago[PSDK]
Aleksey Bragin [Mon, 8 Mar 2010 20:51:33 +0000 (20:51 +0000)]
[PSDK]
- Update all IDLs to Wine-1.1.40. If you feel some of your change was lost, it wasn't needed for building. Please recommit if you still think it's of a high value.

svn path=/trunk/; revision=46005

14 years ago[NTOS]: Have I/O Manager Volume Device Objects register with the Power Manager so...
Sir Richard [Mon, 8 Mar 2010 20:47:10 +0000 (20:47 +0000)]
[NTOS]: Have I/O Manager Volume Device Objects register with the Power Manager so that they can receive dope.
[NTOS]: Reimplement NtShutdownSystem.
[NTOS]: Implement NtSetSystemPowerState for the shutdown/reboot cases.
[NTOS]: Use the dope from the volume device objects to flush all writeable (non-floppy) devices. Pending hard-disk changes are now flushed to disks before shutdown.
[NTOS]: Flush \\REGISTRY during shutdown. This flushes all pending changes.
[NTOS]: Call into Cc to flush lazy writer during shutdown.
[NTOS]: Stop killing processes on shutdown. The kernel should not be doing this.
[NTOS]: Don't only shutdown disk file systems, but also cdrom and tape.
[NTOS]: Don't only notify drivers of first-chance shutdown -- also parse the last-change shutdown list.
[NTOS]: Reference drivers registering for shutdown notifications so that they remain loaded for them to get the notification at shutdown.
[NTOS]: Notify drivers that have registered/opened the Power State callback.
[NTOS]: A lot of the Po* power state code is highly simplified, but provides a good roadmap to anyone interested in this functionality long-term.

svn path=/trunk/; revision=46004

14 years ago[CMLIB]: Just use UNIMPLEMENTED.
Sir Richard [Mon, 8 Mar 2010 20:46:53 +0000 (20:46 +0000)]
[CMLIB]: Just use UNIMPLEMENTED.

svn path=/trunk/; revision=46003

14 years agoSEH-Protect the call to RSetServiceStatus in SetServiceStatus. This keeps services...
Eric Kohl [Mon, 8 Mar 2010 20:42:48 +0000 (20:42 +0000)]
SEH-Protect the call to RSetServiceStatus in SetServiceStatus. This keeps services from crashing when the connection to the service manager fails.

svn path=/trunk/; revision=46002

14 years ago[NTOS]: Implement CmSetLazyFlushState to disable lazy writing in the Cm.
Sir Richard [Mon, 8 Mar 2010 20:37:24 +0000 (20:37 +0000)]
[NTOS]: Implement CmSetLazyFlushState to disable lazy writing in the Cm.
[NTOS]: Implement ExSwapInWorkerThreads to in-swap any worker threads when needed.
[NTOS]: Add HAL stubs for HalEndOfBoot and HalSetWakeEnable since most HALs set this to NULL.
[DDK]: Add some missing definitions.

svn path=/trunk/; revision=46001

14 years ago- Silent traces
Johannes Anderwald [Mon, 8 Mar 2010 20:30:51 +0000 (20:30 +0000)]
- Silent traces

svn path=/trunk/; revision=46000

14 years ago- [User32] Sync Mdi to wine 1.1.40.
James Tabor [Sun, 7 Mar 2010 21:18:52 +0000 (21:18 +0000)]
- [User32] Sync Mdi to wine 1.1.40.

svn path=/trunk/; revision=45995

14 years ago[freeldr] Add SCSIPORT category to debug messages
Hervé Poussineau [Sun, 7 Mar 2010 20:12:28 +0000 (20:12 +0000)]
[freeldr] Add SCSIPORT category to debug messages
Add missing PELOADER entry + fix one debug message

svn path=/trunk/; revision=45994

14 years agoUpdate reg and msiexec to Wine 1.1.40.
Daniel Reimer [Sun, 7 Mar 2010 14:59:15 +0000 (14:59 +0000)]
Update reg and msiexec to Wine 1.1.40.

svn path=/trunk/; revision=45992

14 years ago[HHCTRL.OCX]
Sylvain Petreolle [Sun, 7 Mar 2010 13:26:27 +0000 (13:26 +0000)]
[HHCTRL.OCX]
fix build

svn path=/trunk/; revision=45991

14 years ago[HHCTRL.OCX]
Christoph von Wittich [Sun, 7 Mar 2010 12:48:05 +0000 (12:48 +0000)]
[HHCTRL.OCX]
sync hhctrl.ocx to wine 1.1.40

svn path=/trunk/; revision=45990

14 years agoPolish translation update by Maciej Bialas.
Daniel Reimer [Sun, 7 Mar 2010 11:51:02 +0000 (11:51 +0000)]
Polish translation update by Maciej Bialas.

svn path=/trunk/; revision=45988

14 years ago[IMM32]
Christoph von Wittich [Sun, 7 Mar 2010 11:27:14 +0000 (11:27 +0000)]
[IMM32]
sync imm32 to wine 1.1.40

svn path=/trunk/; revision=45987

14 years ago[ITIRCL]
Christoph von Wittich [Sun, 7 Mar 2010 11:21:31 +0000 (11:21 +0000)]
[ITIRCL]
sync itircl to wine 1.1.40

svn path=/trunk/; revision=45986

14 years ago[ICCVID]
Christoph von Wittich [Sun, 7 Mar 2010 11:20:29 +0000 (11:20 +0000)]
[ICCVID]
sync iccvid to wine 1.1.40

svn path=/trunk/; revision=45985

14 years ago[CLUSAPI]
Christoph von Wittich [Sun, 7 Mar 2010 11:15:16 +0000 (11:15 +0000)]
[CLUSAPI]
sync clusapi to wine 1.1.40

svn path=/trunk/; revision=45984

14 years ago[PSDK]
Christoph von Wittich [Sun, 7 Mar 2010 11:10:18 +0000 (11:10 +0000)]
[PSDK]
sync xmldom.idl to wine 1.1.40

svn path=/trunk/; revision=45983

14 years ago[MSCTF]
Christoph von Wittich [Sun, 7 Mar 2010 09:48:42 +0000 (09:48 +0000)]
[MSCTF]
sync msctf to wine 1.1.40

svn path=/trunk/; revision=45982

14 years ago[PSAPI_WINETEST]
Christoph von Wittich [Sun, 7 Mar 2010 09:34:40 +0000 (09:34 +0000)]
[PSAPI_WINETEST]
sync psapi_winetest to wine 1.1.40

svn path=/trunk/; revision=45980

14 years ago[ITSS]
Christoph von Wittich [Sun, 7 Mar 2010 09:32:58 +0000 (09:32 +0000)]
[ITSS]
sync itss to wine 1.1.40

svn path=/trunk/; revision=45979

14 years ago[OBJSEL]
Christoph von Wittich [Sun, 7 Mar 2010 09:29:02 +0000 (09:29 +0000)]
[OBJSEL]
sync objsel to wine 1.1.40

svn path=/trunk/; revision=45978

14 years ago[SHELL32_WINETEST]
Christoph von Wittich [Sun, 7 Mar 2010 07:34:02 +0000 (07:34 +0000)]
[SHELL32_WINETEST]
sync shell32_winetest to wine 1.1.40

svn path=/trunk/; revision=45977

14 years ago[USER32_WINETEST]
Christoph von Wittich [Sun, 7 Mar 2010 07:32:14 +0000 (07:32 +0000)]
[USER32_WINETEST]
sync user32_winetest to wine 1.1.40

svn path=/trunk/; revision=45976

14 years ago[GDI32_WINETEST]
Christoph von Wittich [Sun, 7 Mar 2010 07:29:40 +0000 (07:29 +0000)]
[GDI32_WINETEST]
sync gdi32_winetest to wine 1.1.40

svn path=/trunk/; revision=45975

14 years ago[ADVAPI32_WINETEST]
Christoph von Wittich [Sun, 7 Mar 2010 07:27:57 +0000 (07:27 +0000)]
[ADVAPI32_WINETEST]
sync advapi32_winetest to wine 1.1.40

svn path=/trunk/; revision=45974

14 years agoStubplement WTSQueryUserToken.
Sylvain Petreolle [Sat, 6 Mar 2010 23:14:36 +0000 (23:14 +0000)]
Stubplement WTSQueryUserToken.
Patch by Olaf Siejka.

svn path=/trunk/; revision=45969

14 years agoMake the shutdown with ACPI enabled actually work.
Sylvain Petreolle [Sat, 6 Mar 2010 22:22:28 +0000 (22:22 +0000)]
Make the shutdown with ACPI enabled actually work.
Patch by Samuel Serapion.

svn path=/trunk/; revision=45967

14 years ago- fix palette index for the progress bar
Matthias Kupfer [Sat, 6 Mar 2010 22:14:46 +0000 (22:14 +0000)]
- fix palette index for the progress bar

svn path=/trunk/; revision=45966

14 years ago - Add a stub for GetOwnerModuleFromTcpEntry
Cameron Gutman [Sat, 6 Mar 2010 18:30:55 +0000 (18:30 +0000)]
 - Add a stub for GetOwnerModuleFromTcpEntry
 - Patch by Olaf Siejka

svn path=/trunk/; revision=45960

14 years ago - Call acpi_bus_set_power instead of acpi_power_transition
Cameron Gutman [Sat, 6 Mar 2010 18:15:56 +0000 (18:15 +0000)]
 - Call acpi_bus_set_power instead of acpi_power_transition
 - Make sure the device has power management capabilities before calling acpi_bus_set_power
 - Report the new power state with PoSetPowerState
 - Initialize PDOs with the correct device power state (Patch by Samuel Serapion)
 - Initialze PDOs with the correct system power state

svn path=/trunk/; revision=45959

14 years agoadd dsound_winetest to bootcd
Christoph von Wittich [Sat, 6 Mar 2010 16:27:51 +0000 (16:27 +0000)]
add dsound_winetest to bootcd

svn path=/trunk/; revision=45958

14 years ago[GDIPLUS_WINETEST]
Christoph von Wittich [Sat, 6 Mar 2010 16:24:37 +0000 (16:24 +0000)]
[GDIPLUS_WINETEST]
sync gdiplus_winetest to wine 1.1.40

svn path=/trunk/; revision=45957