Commit graph

59443 commits

Author SHA1 Message Date
Giannis Adamopoulos 5273a84a3f [SHELL32]
- Return a readable folder name when SHGDN_FORADDRESSBAR was specified
- We no longer show GUIDs in the address bar 

svn path=/branches/shell-experiments/; revision=65072
2014-10-28 15:07:31 +00:00
Giannis Adamopoulos 6dfa5325d0 [RSHELL]
- Actually give focus to the start menu when CMenuDeskBar::Popup is called
- Fixes opening and navigating the start menu with the keyboard

svn path=/branches/shell-experiments/; revision=65071
2014-10-28 14:31:19 +00:00
Giannis Adamopoulos 6f9dab8a15 [EXPLORER_NEW]
- Use IMenuPopup_OnSelect to close the start menu when the win key is pressed. 
- Fixes closing the start menu (on windows and on reactos)

svn path=/branches/shell-experiments/; revision=65070
2014-10-28 14:18:16 +00:00
Giannis Adamopoulos 2c619c6486 [WIN32K]
- Send the HSHELL_TASKMAN notification to the shell when the windows key is pressed
- Needed to open and close the start menu with the keyboard

svn path=/branches/shell-experiments/; revision=65069
2014-10-28 13:45:43 +00:00
David Quintana dc1da96ab8 [RSHELL]
* Fix some small things that were getting in the way of fixing the start menu (which was broken and no one noticed). The actual fix will come tomorrow since my brain is about to implode at this time.

svn path=/branches/shell-experiments/; revision=65065
2014-10-28 01:27:02 +00:00
Giannis Adamopoulos c199f8be2e [SHELL32]
- Properly check for error in CDefaultContextMenu::DoCreateLink

svn path=/branches/shell-experiments/; revision=65064
2014-10-28 00:58:19 +00:00
Giannis Adamopoulos a5597dfcc1 [win32k]
- Revert a recent change in trunk that broke the new shell. Its a shame to see the new shell behave like crap because of win32k

svn path=/branches/shell-experiments/; revision=65057
2014-10-27 23:49:06 +00:00
Giannis Adamopoulos afb6acc945 [SHELL32]
- Rewrite the monstrosity that was supposed to open control panel items. Still not really correct but works.

svn path=/branches/shell-experiments/; revision=65051
2014-10-27 18:26:09 +00:00
Giannis Adamopoulos 37ebd8e1e4 [BEOWSEUI]
- Simplify shellbrowser.cpp a bit

svn path=/branches/shell-experiments/; revision=65038
2014-10-27 00:39:53 +00:00
Giannis Adamopoulos a4feb3fb65 [BROWSUI]
- Fix CAddressBand::Invoke to correctly detect if an item exists in the list and select the correct item when it does.
- Improve CAddressEditBox::Execute to check if the passed pidl is the one that is being displayed.
- Also fix it to parse the path if needed.
- Directly call CAddressEditBox::Execute when enter is pressed or the Go button is pressed
- Should fix most issues with the address bar

svn path=/branches/shell-experiments/; revision=65036
2014-10-26 23:46:35 +00:00
Giannis Adamopoulos dffea1c618 [browseui]
- Improve CBaseBar::TranslateAcceleratorIO stub
- Returning always TRUE means that creating a basebar ended up eating all messages
- Fixes the hang that happened when we clicked on the folders button in the toolbar

svn path=/branches/shell-experiments/; revision=65020
2014-10-26 17:16:19 +00:00
David Quintana f99f83df93 [BROWSEUI]
* Sidebars are not implemented, but it's ok. No need to force a debug break in there.

svn path=/branches/shell-experiments/; revision=65019
2014-10-26 17:06:58 +00:00
Giannis Adamopoulos 845a63443c [user32]
- Properly notify the theme engine that the caption needs to be repainted on WM_SETICON
- Fixes a classic frame appearing when themes are enabled and we navigate to a different folder

svn path=/branches/shell-experiments/; revision=65001
2014-10-26 00:58:52 +00:00
Amine Khaldi 23298ac30c * Sync up to trunk head (r64995).
svn path=/branches/shell-experiments/; revision=64996
2014-10-25 19:46:12 +00:00
David Quintana d07a1dc09a [EXPLORER-NEW]
* Fix HMENU leak.

[BROWSEUI]
* Work around for WM_SETICON not properly returning the old HICON.

[SHELL32]
* Fix HICON leak.
* Nitpick.

[WIN32K]
* Do not refcount the menus improperly.

svn path=/branches/shell-experiments/; revision=64986
2014-10-25 15:44:11 +00:00
Amine Khaldi 8069b8c90d * Sync up to trunk head (r64959).
svn path=/branches/shell-experiments/; revision=64961
2014-10-24 16:06:58 +00:00
David Quintana fa016aa3a8 [RSHELL]
* Fix HMENU leak in menu-based shell popups (and menubar).

svn path=/branches/shell-experiments/; revision=64960
2014-10-24 16:03:58 +00:00
Amine Khaldi 598366a6cc [ADVAPI32]
* Move PrivilegeCheck() to security.c.
CORE-8540

svn path=/trunk/; revision=64959
2014-10-24 15:49:52 +00:00
Amine Khaldi 4423aa8bb2 [ADVAPI32]
* Reorder functions and definitions to reduce difference to the Wine source file.
CORE-8540

svn path=/trunk/; revision=64958
2014-10-24 15:40:29 +00:00
Amine Khaldi 51bb98a094 [ADVAPI32]
* Move sid.c to the wine folder as a starting point for security.c.
CORE-8540

svn path=/trunk/; revision=64957
2014-10-24 14:01:16 +00:00
Amine Khaldi 348778c75f [ADVAPI32]
* Move cred.c to the wine folder.
CORE-8540

svn path=/trunk/; revision=64956
2014-10-24 13:37:01 +00:00
Jérôme Gardou 6990f9e443 [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
2014-10-24 11:35:07 +00:00
Jérôme Gardou 97fcf61354 [WIN32K]
- Do not dereference hook objects when it's not needed.
 - Avoid use after free.
CORE-8698 #resolve

svn path=/trunk/; revision=64954
2014-10-24 11:34:55 +00:00
Jérôme Gardou 7540c2ea36 [WIN32K]
- Add a proper Alpha blending implementation for 16bpp surfaces
CORE-8695

svn path=/trunk/; revision=64953
2014-10-24 11:34:45 +00:00
Thomas Faber 2b44442ffa [NTOS:IO]
- Serialize device enumeration requests
CORE-8697 #resolve

svn path=/trunk/; revision=64952
2014-10-24 10:03:42 +00:00
Thomas Faber fcae57435c [NTOS:IO]
- Introduce IopDriverLoadResource to protect against concurrent driver loading
CORE-8696 #resolve

svn path=/trunk/; revision=64951
2014-10-24 10:02:14 +00:00
Thomas Faber 2c91c440f1 [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
2014-10-24 09:39:15 +00:00
Thomas Faber 274363e9df [USER32]
- Zero-initialize result in SendMessageTimeout
CORE-8699 #resolve

svn path=/trunk/; revision=64949
2014-10-24 09:26:03 +00:00
Thomas Faber 487818ab87 [USER32_APITEST]
- Add a test for SendMessageTimeout failure case
- Remove a pointless (and broken) memset (Coverity)
CORE-8699

svn path=/trunk/; revision=64948
2014-10-24 09:16:04 +00:00
Timo Kreuzer 02995bf1a1 [NTOSKRNL]
Do not try to dereference Irp->UserIosb if it is NULL, to avoid unnecessary exceptions (inside SEH).

svn path=/trunk/; revision=64947
2014-10-24 07:16:44 +00:00
Thomas Faber 08701eea3f [NTOS:IO]
- Normalize, er.. simplify IopNormalizeImagePath a bit and use pool tagging

svn path=/trunk/; revision=64946
2014-10-23 22:05:56 +00:00
Timo Kreuzer 3b3996b399 [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
2014-10-23 21:52:39 +00:00
David Quintana 108d7f2057 Sync up to trunk HEAD (r64942).
svn path=/branches/shell-experiments/; revision=64943
2014-10-23 20:48:15 +00:00
Jérôme Gardou 9bc147ffd5 [WIN32K]
- Fix hook leaks.
User object manager creates object with 2 (two, deux, zwei, dos) reference counts.

svn path=/trunk/; revision=64942
2014-10-23 20:08:03 +00:00
Amine Khaldi 8039ce5b7d * Sync up to trunk head (r64939).
svn path=/branches/shell-experiments/; revision=64941
2014-10-23 19:52:45 +00:00
David Quintana ac06c3cf99 [BROWSEUI]
* Fix icon leak of the returned old icon from WM_SETICON.

[RSHELL]
* Add two debug prints (not hit).

[FILEBROWSER]
[EXPLORER-NEW]
* Free PWSTR pointers after exiting.

svn path=/branches/shell-experiments/; revision=64940
2014-10-23 19:50:29 +00:00
Jérôme Gardou 3ef4731492 [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
2014-10-23 19:41:52 +00:00
Jérôme Gardou 25c228cd3f [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
2014-10-23 19:41:42 +00:00
Amine Khaldi a8e3dcc9e1 [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
2014-10-23 18:58:35 +00:00
Amine Khaldi 73e6ff1519 [PCIX]
* PciIdPrintfAppend is a vararg too.

svn path=/trunk/; revision=64936
2014-10-23 18:51:12 +00:00
Amine Khaldi a0a95141dd [PCIX]
* PciIdPrintf is a vararg.

svn path=/trunk/; revision=64935
2014-10-23 18:42:39 +00:00
Eric Kohl 903f5b3e03 [NET]
Implement the first part of the NET USER command.

svn path=/trunk/; revision=64934
2014-10-23 18:36:11 +00:00
Amine Khaldi 26272f6095 [COMPBATT]
* Arch, don't return NTSTATUS instead of PCOMPBATT_BATTERY_DATA!

svn path=/trunk/; revision=64933
2014-10-23 18:33:21 +00:00
Amine Khaldi 36609d44e0 [DSOUND]
* ProjectVector is used in commented out code.

svn path=/trunk/; revision=64932
2014-10-23 18:07:43 +00:00
Thomas Faber 863c3c8c19 [NTOS:FORMATTING]
- Try to fix indentation in iomgr/driver.c. Whitespace changes only

svn path=/trunk/; revision=64931
2014-10-23 17:59:16 +00:00
Amine Khaldi 5892b26e03 [WINSPOOL.DRV]
* We're not using any debugging routines here.

svn path=/trunk/; revision=64930
2014-10-23 17:55:42 +00:00
David Quintana 1cd79168e1 [RSHELL]
* CMenuBand: Increase the refcount of m_smc before returning it.
* CMenuBand: Improve the closing logic so that the object is reusable when it needs to be, and can still be released properly.
* CMenuDeskBar: Protect self against unexpected termination.
* CMenuFocusManager: Refcount objects that are being used.
* CStartMenu: Properly release the created objects after it's done using them (by using CComPtr instead of raw pointers).

[BROWSEUI]
* AddressBand: Release the addressband site when closing the band.
* InternetToolbar: Do not filter away ALL the items of the favorites folder.
* InternetToolbar: Do not AddRef a CComPtr that already did the refcounting itself.

CORE-8690

svn path=/branches/shell-experiments/; revision=64929
2014-10-23 17:17:16 +00:00
Jérôme Gardou 532e8139c5 [USER32]
- Fix wrong size check.
Spotted by Thomas

svn path=/trunk/; revision=64926
2014-10-23 15:40:13 +00:00
Thomas Faber d617e9abfc [NTOS:IO]
- Simplify how IopLoadUnloadDriver is called by making the function queue a work item instead of its caller

svn path=/trunk/; revision=64925
2014-10-23 14:37:51 +00:00
Amine Khaldi cfb9b0f028 [USER32]
* Merge r64866 from the shell branch which had:

* Fix wrong array length passed to GetClassNameW. CID 716222
* Replace other instances of explicit array length to GetWindowTextW with _countof(x).
Based on a patch by Christoph von Wittich.

svn path=/trunk/; revision=64924
2014-10-23 12:24:07 +00:00