- Return the correct value if the PCI slot number is invalid
- Use the bus number from the PCI BIOS instead of doing a manual probe if we can because it is much more accurate (our probing code doesn't detect buses without devices present)
- Don't probe for devices at invalid locations on PCI type 2 buses
- Check for a valid bus number so we don't return the wrong value
svn path=/trunk/; revision=47162
[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
- 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
- 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
- Store console changes when screen buffer / window size changes
- Mark property sheet as changed when color control changes
svn path=/trunk/; revision=47144
- 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
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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
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
- Create the environment variables 'ProgramFiles' and 'CommonProgramFiles' from the registry.
Fixes bug #4008.
See issue #2972 for more details.
svn path=/trunk/; revision=47116
- 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
- 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
- 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
- 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
- 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
- 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
- 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