Commit graph

42218 commits

Author SHA1 Message Date
Daniel Reimer 2699cdc3de Update WinFile to Wine 1.1.44
svn path=/trunk/; revision=47151
2010-05-09 20:23:07 +00:00
Sir Richard eaaf713f3d [NTOS]: Acquire PFN lock before setting up hyperspace PTE/page.
[NTOS]: Flush TLB after setting up hyperspace.
[NTOS]: Use new MiRemoveAnyPage interface instead of MmAllocPage(MC_SYSTEM), as the first test of the new Page API/ABI.
[NTOS]: Add support for creating software PTEs.

svn path=/trunk/; revision=47150
2010-05-09 18:17:53 +00:00
Sir Richard af06182171 [NTOS]: Implement MiRemoveAnyPage and MiRemovePageByColor, but only using the list heads, and not the color list heads. Unused.
[NTOS]: Fixup unused MiInsertPageInFreeList variables ot match the other functions (ColorTable vs ColorHead).

svn path=/trunk/; revision=47149
2010-05-09 18:12:50 +00:00
Sir Richard a38d98d504 [NTOS]: At times, pages may be removed from the zero or free page list, but without being initialized as part of the PFN database, such that their PageLocation has not changed. However, we can detect these pages because their link pointers will be NULL, meaning they're not _really_ free or zeroed. Use this enhanced check when verifying if a page is in use or not, and additionally triple-check by making sure the reference count is zero. This now matches the Windows checks. We also consider Standby pages (not yet implemented) as usable, since we can always steal them.
svn path=/trunk/; revision=47148
2010-05-09 18:06:38 +00:00
Gregor Schneider b6b00740ca [INPUT]
- Reorder keyboard layouts in the registry after one was deleted
- Fixes changing keyboard layouts from regional options
See issue #3317 for more details.

svn path=/trunk/; revision=47147
2010-05-09 15:02:58 +00:00
Johannes Anderwald 9cb27f40af [WIN32CSR]
- Add primitive resizing support and automatic scrolling support
- Patch by Adam Kachwalla (IRC:Crocodile)

See issue #2622 for more details.

svn path=/trunk/; revision=47146
2010-05-09 13:39:48 +00:00
Johannes Anderwald 28f11ad5f1 [CONSOLE]
- Store console changes when screen buffer / window size changes
- Mark property sheet as changed when color control changes

svn path=/trunk/; revision=47144
2010-05-09 13:12:21 +00:00
Michael Martin 786f5a19d7 [win32k]
- When message are sent without waiting a reply (non-queued messages) the message queues are referenced and dereferenced in the call. 
Message removal and cleanup functions for queues expected a reference on the queue. Add checks to determine if the message is a non-queued message and if so release memory for those that had pointers and more importantly skip dereferencing the queues. Possibly fixes random crashes and memory leaks.

svn path=/trunk/; revision=47142
2010-05-09 12:27:57 +00:00
Daniel Reimer 330de811a7 Bug 5355: [PATCH] cacls: Add Japanese resource by Katayama Hirofumi
Bug 5371: TRANSLATION: Italian translation updates by Paolo Devoti
Bug 5337: PATCH: Some kernel32 lang updates (de-DE updated, others fixed) by forenkrams@tuxproject.de
Bug 5366: TRANSLATION: Czech translation update by Radek Liska

svn path=/trunk/; revision=47141
2010-05-09 12:14:25 +00:00
Cameron Gutman e47ef16223 [USBDRIVER]
- Register the device with the device manager only after it has been successfully allocated to avoid a crash
- A device that failed in xhci_alloc would never get deregistered from the device manager so it would crash when it entered xhci_start with a partially set up device extension
- Define release_adapter to HalPutDmaAdapter to fix a DMA adapter leak
[HAL]
- Export HalPutDmaAdapter

svn path=/trunk/; revision=47139
2010-05-09 11:18:16 +00:00
Gregor Schneider 428dff1a79 [WIN32K]
- Check the supplied scancode instead of the state buffer whether a key is up
- Fixes the calculator keyboard input regression introduced with r35117
- Ref: http://www.osronline.com/ddkx/w98ddk/keycnt_4ilz.htm and wine implementation
See issue #3727 for more details.

svn path=/trunk/; revision=47138
2010-05-08 22:26:48 +00:00
Cameron Gutman 1bd675f802 [USBDRIVER]
- Fix an off-by-one error in the probing code
- Scan all PCI buses instead of just the first two
- Fix a horrible bug that resulted in reinitializing EHCI controllers as UHCI controllers which caused a crash on VirtualBox (with _MULTI_UHCI)
- Implement support for multiple EHCI controllers and enable support for multiple UHCI controllers (greatly increases compatibility with real hardware because the first controller detected is often internal)

svn path=/trunk/; revision=47136
2010-05-08 21:53:57 +00:00
Aleksey Bragin 438916ee96 - Fix release build.
svn path=/trunk/; revision=47135
2010-05-08 20:38:58 +00:00
Kamil Hornicek 006a12e270 [WIN32K]
- Bring back support for RLE compressed bitmaps.
- Merge the decompress functions for 4bb and 8bpp bitmaps to one generic function.
- Simplify SURFMEM_bCreateDib a bit by not allowing PNG/JPEG compression at all.
See issue #5276 for more details.

svn path=/trunk/; revision=47134
2010-05-08 18:09:45 +00:00
Timo Kreuzer bfe6479cf7 Revert r47130, it was already comitted.
svn path=/trunk/; revision=47132
2010-05-08 16:42:03 +00:00
Timo Kreuzer 2545e83084 [w32knapi}
Patch by Jerome Gardou: add some more tests for NtGdiDeleteObjectApp

svn path=/trunk/; revision=47130
2010-05-08 16:38:05 +00:00
Eric Kohl e03efb63b2 [WINLOGON]
- Move environment creation to a separate file.
- Impersonate the new user and create the 'Volatile Environment' key for the new user.

svn path=/trunk/; revision=47129
2010-05-08 16:30:56 +00:00
Gregor Schneider 0963ef8f61 Add some win32k/gdi DC tests created by Jerome Gardou
svn path=/trunk/; revision=47128
2010-05-08 16:27:36 +00:00
Sylvain Petreolle 4545e038a2 Disable test_GetLongPathNameW() in kernel32:path test for now.
Fixes testbot crash, bug 5370


svn path=/trunk/; revision=47127
2010-05-08 16:27:15 +00:00
Michael Martin 5678dca446 [win32k]
- Modify how non-queued messages are send that originate from the Win23k subsystem. 
Non-queued messages must go directly to the windows WNDPROC and not through the message pump (previews ROS behavior). 
More importantly sending these messages must not cause the sending thread to block waiting for a reply.
- Add a messaging handling function that always sends message from Win32k to the windows thread without waiting. 
This will also allow the implementation of message call back later.
- Modify PackParam and UnpackParam to accept a BOOL value to determine whether LParam needs to be allocated from NonPagedPool. 
Use with new message handling as if message sent to another thread have any pointers they must be allocated from NonPagedPool.
- Fixed broken logic in can_active_window function and co_WinPosShowWindow.
- Fixed broken logic in co_IntSendActivateMessages. 
The WM_ACTIVATEAPP message was being sent to every window belonging to the desktop twice.
Once with flag saying window was activated and again with deactivated.
- These changes should fix bugs #969, #3171, #4501, #4676, #4677, #4948.

svn path=/trunk/; revision=47126
2010-05-08 15:49:02 +00:00
Gregor Schneider 4b9b7d580f [EXPLORER]
- Use proper buffer size, font type and an arbitrary high system time to create the size of the systray clock window
- Fixes clock clipping
See issue #2320 for more details.

svn path=/trunk/; revision=47125
2010-05-08 15:33:40 +00:00
Timo Kreuzer f820fe7a43 [WIN32K]
Fix broken parameter passing from EngMaskBitBlt to (Alpha)BltMask. It was passing the wrong surface and the wrong point. Rename some parameters to reflect what their usage is. Add ASSERTs to make sure noone passes useless parameters. Fixes crippled text in startmenu.
The whole code is broken by design, anyway it will go away, once the new text rendering code is done.
See issue #4379 for more details.

svn path=/trunk/; revision=47124
2010-05-08 15:30:59 +00:00
Cameron Gutman f0d7ecd148 [PSDK]
- Replace WINE's commctrl.h with mingw-w64's commctrl.h
- Move WINE-specific hacks to reactos/wine/commctrl.h
- Patch by Timo Kreuzer
- Fixes bug 4958

svn path=/trunk/; revision=47123
2010-05-08 14:47:42 +00:00
Eric Kohl 3c586a19b2 [WINLOGON]
Add missing newline to a TRACE message.

svn path=/trunk/; revision=47122
2010-05-08 13:07:40 +00:00
Timo Kreuzer 4c417355a6 Disable GDI batch code for regions. "Fixes" broken drawing for AcrobatReader. Yes, it's a "band aid over a bullet wound". I hope the man with the gun is a surgeon, too.
svn path=/trunk/; revision=47121
2010-05-08 01:17:46 +00:00
Eric Kohl 3f5ef48069 [USERENV]
- Create the environment variables 'ProgramFiles' and 'CommonProgramFiles' from the registry.

Fixes bug #4008.
See issue #2972 for more details.

svn path=/trunk/; revision=47116
2010-05-07 00:17:04 +00:00
Aleksey Bragin a2464ecca7 [KERNEL32]
- Code committed in revision 846 was lazily initializing command line options with a first call to GetCommandLine. However, this is not really thread-safe. Move initialization to DLL_PROCESS_ATTACH, where it should actually happen.
See issue #5347 for more details.

svn path=/trunk/; revision=47113
2010-05-06 10:50:26 +00:00
Aleksey Bragin c47421927e [ADVAPI32]
- Katayama Hirofumi: Use a real computer name instead of an empty string when reporting events in ReportEventA and W.
See issue #5358 for more details.

svn path=/trunk/; revision=47112
2010-05-06 10:09:33 +00:00
Aleksey Bragin 50367b3dac [ADVAPI32]
- Katayama Hirofumi: Create GUID instead of hardcoding to 0 every time.
See issue #5364 for more details.

svn path=/trunk/; revision=47111
2010-05-06 09:44:59 +00:00
Cameron Gutman 6b6c137341 [NTOSKRNL]
- Don't enable the kernel debugger if the DEBUG option was not set
- Fixes displaying the BSOD when not booting in debug mode (broken in r41534)

svn path=/trunk/; revision=47110
2010-05-06 01:45:10 +00:00
Cameron Gutman a9e356ef1d [VIDEOPRT]
- Also check for the BASEVIDEO option set and return true in that case also
- Fixes a bug with boot time (F8) options on my WC

svn path=/trunk/; revision=47109
2010-05-05 23:16:17 +00:00
Cameron Gutman 8481a4f1b9 [NTOSKRNL]
- Implement Ke386IoSetAccessProcess, Ke386SetIoAccessMap, and Ke386QueryIoAccessMap
[NDK]
- Add definition of KIO_ACCESS_MAP

- Patch by Samuel Serapion
- Fixes bug 2641

svn path=/trunk/; revision=47108
2010-05-05 23:06:32 +00:00
Eric Kohl ac293dd5d6 [FORMATTING]
No code changes.

svn path=/trunk/; revision=47107
2010-05-05 22:53:01 +00:00
Eric Kohl 51e6829b67 [USERENV]
- Create 'Default User' and 'All Users' directories without postfix and append a postfix only if they already exist.
- Create the user account directory without a prefix and append a prefix if the directory already exists.
- Acquire the restore privilege before unloading a hive and remove it after unloading the hive.

Patch is based on Gabriel Ilardi's patch. Fixes bug #2972.

svn path=/trunk/; revision=47106
2010-05-05 22:30:14 +00:00
Aleksey Bragin 751c365e6e [MSTSC]
- Katayama Hirofumi: Remove temporary tchar.h inclusion and usage of _tcslen (replaced with lstrlen).

See issue #5360 for more details.

svn path=/trunk/; revision=47105
2010-05-05 19:00:13 +00:00
Aleksey Bragin 4b382e5846 [FONTVIEW]
- Katayama Hirofumi: Redraw the window when string is set.
See issue #5357 for more details.

svn path=/trunk/; revision=47104
2010-05-05 18:54:36 +00:00
Giannis Adamopoulos e3ce00b76b [win32k]
-Fix sending WM_KILLFOCUS when we give focus to a window of a different thread

Fixes bugs 1546 and 1603

svn path=/trunk/; revision=47103
2010-05-05 10:08:23 +00:00
Jeffrey Morlan 79121eccea [NTOSKRNL] In kdbg 'thread list', don't try to read from the kernel stack if there isn't one. (Bug 5318)
svn path=/trunk/; revision=47102
2010-05-04 23:17:30 +00:00
Johannes Anderwald 950bbde105 [SHELL32]
- Use target path when there is no icon path specified

svn path=/trunk/; revision=47100
2010-05-04 08:28:42 +00:00
Eric Kohl dbfa8cfb54 [SETUP]
- Don't call InitializeProfiles() twice. This is one part of the fix for bug 2972. Patch by Gabriel Ilardi.

svn path=/trunk/; revision=47099
2010-05-03 22:15:53 +00:00
Cameron Gutman c751f4300a [NTOSKRNL]
- Fix a typo that results in ISRs being called at an unsafe IRQL (Interrupt->Irql instead of Interrupt->SynchronizeIrql) in certain situations (when Interrupt->Irql < Interrupt->SynchronizeIrql) that can result in ISR synchronization issues

svn path=/trunk/; revision=47098
2010-05-03 22:03:15 +00:00
Johannes Anderwald 4b714650f4 [SHELL32]
- Show icons / folders from AllUsers\Desktop directory
- Fixes bug 4289

svn path=/trunk/; revision=47097
2010-05-03 19:26:12 +00:00
Cameron Gutman 66482fa4f3 - Remove a forgotten debug print
svn path=/trunk/; revision=47091
2010-05-03 00:30:49 +00:00
Cameron Gutman c55eb25c06 [NDIS]
- Provide a IRP_MJ_CREATE and IRP_MJ_CLOSE handler for miniport drivers so IoGetDeviceObjectPointer doesn't fail (and consequently, IoSetDeviceInterfaceState)

svn path=/trunk/; revision=47090
2010-05-03 00:28:29 +00:00
Cameron Gutman 2fce2d1d8f [NETCFGX]
- Remove the hack that set DI_NEEDRESTART for all network adapters which prevented us from starting the miniport driver
- Part of the fix for bug 3716

svn path=/trunk/; revision=47089
2010-05-03 00:06:31 +00:00
Timo Kreuzer 567bf0c188 [NTDLL]
The harderror message for STATUS_DLL_NOT_FOUND expects an ANSI dll name.

svn path=/trunk/; revision=47088
2010-05-02 23:26:06 +00:00
Cameron Gutman 31c846d674 [VGA]
- Return SPS_ACCEPT_NOEXCLUDE from DrvSetPointerShape because we completed the requested operation successfully
- Patch by Daniel Zimmermann
- Fixes bug 4347

svn path=/trunk/; revision=47087
2010-05-02 21:04:47 +00:00
Johannes Anderwald dc3a34f70b [SETUPAPI]
- Store device settings in the "Device Parameters" key, as the kernel now does it too
- Fixes display of AC97 device in audio cpl

svn path=/trunk/; revision=47084
2010-05-02 19:19:28 +00:00
Michael Martin 91e196a64f [win32k]
- co_UserDestroyWindow: ThreadInfo->pDeskInfo->hShell holds the hWnd of the Shells Desktop Window. Set it to NULL if that windows is being destroyed. Fixes bug #4902.

svn path=/trunk/; revision=47082
2010-05-02 16:40:05 +00:00
Aleksey Bragin 2b896af128 Gabriel Ilardi:
- Update spanish %temp% path, part of bug 2482.

svn path=/trunk/; revision=47081
2010-05-02 11:47:19 +00:00