Commit graph

68440 commits

Author SHA1 Message Date
Thomas Faber ff51b80ac6 [HAL][NTOS:PNP]
- Silence some debug prints about unhandled PNP minor functions

svn path=/trunk/; revision=74265
2017-04-02 14:24:11 +00:00
David Quintana a2c9b85f80 [blackshade.msstyle]
Replaced the mockup image with a more up-to-date version, and added the "source" .PSD file it was created from. Someday I'll get around to to turning this into the actual theme. Someday.

svn path=/trunk/; revision=74264
2017-04-02 11:32:31 +00:00
Thomas Faber db2abeca16 [NTOS:MM]
- Really only warn once in MmSecureVirtualMemory/MmUnsecureVirtualMemory, not on every 256th call

svn path=/trunk/; revision=74263
2017-04-02 08:37:39 +00:00
Eric Kohl 0309c0644e [SCEDSVC]
- Implement a simple job list.
- Implement NetrJobAdd, NetrJobDel and NetrJobGetInfo.

svn path=/trunk/; revision=74262
2017-04-01 22:54:30 +00:00
Giannis Adamopoulos 77e85485aa [UXTHEME] -Implement painting the corner of the scrollbars.
svn path=/trunk/; revision=74261
2017-04-01 12:17:15 +00:00
Giannis Adamopoulos 837f2ae4cb [WIN32K] -Correct one parameter in NtUserPaintMenuBar and make it return the height of the menu bar.
[UXTHEME] -Pass the correct parameter to PaintMenuBar. Draw the edge of WS_EX_CLIENTEDGE even if the window has a themed frame.

svn path=/trunk/; revision=74260
2017-04-01 10:18:40 +00:00
Eric Kohl 15a480bb44 [UMPNPMGR]
Broadcast a WM_DEVICECHANGE message on device arrrival and removal.
CORE-12977

svn path=/trunk/; revision=74259
2017-04-01 08:07:39 +00:00
James Tabor 667ce623d5 [Win32SS]
- Patch by Alex Henrie : Translate WM_(NC)XBUTTONUP to WM_APPCOMMAND in DefWindowProc.
- Modified for ReactOS.

svn path=/trunk/; revision=74258
2017-04-01 02:01:59 +00:00
James Tabor 755636e921 [NtUser]
- Again, add more information from CORE-9667 thememenu.patch so it does not get lost.

svn path=/trunk/; revision=74257
2017-03-31 23:48:48 +00:00
Giannis Adamopoulos bf3b8cd273 [WIN32K] -Store the flat menus setting and the drop shadow setting in the UserPreferencesMask registry value.
svn path=/trunk/; revision=74256
2017-03-31 22:27:13 +00:00
James Tabor 0258ba9082 [NtUser]
- Add additional information from CORE-9667 thememenu.patch so it does not get lost.

svn path=/trunk/; revision=74255
2017-03-31 21:57:20 +00:00
Giannis Adamopoulos 1b2b13846d [UXTHEME] -Get rid of the hack that partly draws the menu bar in uxtheme. This was added to hack around the fact that we didn't set the flat menus setting. Use PaintMenuBar instead.
svn path=/trunk/; revision=74254
2017-03-31 19:24:00 +00:00
Giannis Adamopoulos c788005b8c [WIN32K] -Get the new value of SPI_SETFLATMENU from pvParam.
svn path=/trunk/; revision=74253
2017-03-31 19:04:31 +00:00
Giannis Adamopoulos 5e8714cdca [DESK.CPL] -Load the TMT_FLATMENUS property from the theme and use SPI_SETFLATMENU to set it.
svn path=/trunk/; revision=74252
2017-03-31 18:18:19 +00:00
Giannis Adamopoulos 4daf6ffcbc [WIN32K] -Stub NtUserPaintMenuBar. I'm still not sure about the last parameter and its return value.
svn path=/trunk/; revision=74251
2017-03-31 18:05:27 +00:00
Giannis Adamopoulos 2a507824c6 [WIN32K] -Update the prototype of NtUserPaintMenuBar here as well.
svn path=/trunk/; revision=74250
2017-03-31 17:17:35 +00:00
Giannis Adamopoulos cf6d69d369 [SDK] -Add the prototype of PaintMenuBar and update the prototype of NtUserPaintMenuBar.
svn path=/trunk/; revision=74249
2017-03-31 16:55:20 +00:00
Giannis Adamopoulos b1b089e5fe Fix gcc build.
svn path=/trunk/; revision=74248
2017-03-31 11:33:53 +00:00
Giannis Adamopoulos 55bba159b9 [UXTHEME] -Implement painting windows with WS_MINIMIZE. Such windows are minimized mdi windows.
svn path=/trunk/; revision=74247
2017-03-31 11:26:20 +00:00
Thomas Faber 9cac6ddd71 [USBEHCI][USBOHCI][USBUHCI]
- Avoid leaking CUSBRequest::m_CompletionEvent. Based on a patch by ReactCoder.
CORE-12984 #resolve

svn path=/trunk/; revision=74246
2017-03-31 09:16:45 +00:00
Thomas Faber 34de8c3bdb [USBSTOR]
- Addendum to r73892: Don't free the output buffer on success in USBSTOR_SendIrp. Spotted (again) by curiousone
CORE-12970 #resolve

svn path=/trunk/; revision=74245
2017-03-31 09:02:43 +00:00
Giannis Adamopoulos 463dc9b8bd [UXTHEME} -Fix usage of uninitialized variable. CORE-11204
svn path=/trunk/; revision=74244
2017-03-29 20:50:56 +00:00
Robert Naumann b295df005d [EXPLORER] -implement showing the start menu preview
svn path=/trunk/; revision=74243
2017-03-29 18:37:06 +00:00
Hermès Bélusca-Maïto 73dff0f128 [NDK][XDK]: Add some forgotten RTL bitmap functions.
svn path=/trunk/; revision=74242
2017-03-29 16:36:13 +00:00
Giannis Adamopoulos 7fc8752aed [UXTHEME] -Draw the background glyph inside the content margins. CORE-6000
svn path=/trunk/; revision=74241
2017-03-29 10:01:00 +00:00
Giannis Adamopoulos f1421e61ad [UXTHEME] -Slightly improve the width of the caption buttons by scaling it based on the height of the caption buttons. CORE-6000
svn path=/trunk/; revision=74240
2017-03-28 21:31:16 +00:00
Eric Kohl f754176cb8 [TRANSLATIONS]
Minor corrections in Uzbek.
Patch by Kudratov Olimjon.
CORE-12907 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=74239
2017-03-28 18:28:05 +00:00
Giannis Adamopoulos 878152ec5b [EXPLORER] -Remove a debug print that wasn't supposed to be committed.
svn path=/trunk/; revision=74238
2017-03-28 10:22:54 +00:00
Giannis Adamopoulos 9ca6144945 [EXPLORER] -Try to fix a crash in explorer. CORE-12991
svn path=/trunk/; revision=74237
2017-03-28 09:28:06 +00:00
Thomas Faber 0c6d37d9fa [NTOS:KE]
- Addendum to r74235.
CORE-12985

svn path=/trunk/; revision=74236
2017-03-27 20:23:37 +00:00
Thomas Faber 10236225d3 [NTOS:KE]
- Make sure to disable interrupts each iteration of the idle loop, since IdleFunction can leave them enabled.
CORE-12985 #resolve

svn path=/trunk/; revision=74235
2017-03-27 20:16:59 +00:00
Giannis Adamopoulos 73696326a3 [UXTHEME] -Fix drawing the themed scrollbar. CORE-12933
svn path=/trunk/; revision=74234
2017-03-27 19:56:36 +00:00
Hermès Bélusca-Maïto 81d33af127 [SETUPAPI]: Partly sync parser.c with Wine Staging 2.2. CORE-9397 CORE-12823
Fixes all but 2 tests in setupapi_winetest:parser.

e8aa851 setupapi: Fix parsing of inf files containing garbage at the beginning of the file.

svn path=/trunk/; revision=74233
2017-03-27 16:29:50 +00:00
Eric Kohl e52d910948 [LSASRV]
Implement LsarpLookupPrivilegeDisplayName. Reading the resource strings is still buggy.
CORE-12976 #comment Please retest!

svn path=/trunk/; revision=74232
2017-03-26 20:45:48 +00:00
Giannis Adamopoulos 3092ec5137 [EXPLORER]: Fix most problems with the size of the taskbar. (Most problems when run in windows. Running on ros still isn't perfect.)
- CTaskSwitchWnd: Use the height of the start button as minimum height in horizontal mode.
- CTrayClockWnd: Actually process WM_THEMECHANGED message.
- CTaskSwitchWnd: Use SM_CYSIZE as the height of the buttons of the toolbar.
- CStartButton: Simplify calculating the minimum size of the button.
- CTrayWindow: Don't use IsThemeActive. Checking if OpenThemeData returned non null is enough.

svn path=/trunk/; revision=74231
2017-03-26 16:46:55 +00:00
Eric Kohl fec280223d [LSASRV]
Add privilege display name resource strings.
CORE-12976

svn path=/trunk/; revision=74230
2017-03-26 14:02:39 +00:00
Eric Kohl 8ec42ffc99 [STOBJECT]
Fix a typo (wrong resource id).

svn path=/trunk/; revision=74229
2017-03-25 14:33:18 +00:00
Eric Kohl 587b5a7dcc [STOBJECT]
Implement the power schemes popup menu.

svn path=/trunk/; revision=74228
2017-03-25 13:35:41 +00:00
Eric Kohl 2a258f8902 [MMSYS]
Show and hide the volume systray icon.

svn path=/trunk/; revision=74227
2017-03-23 20:07:29 +00:00
Eric Kohl 3bce3e3e48 [POWERCFG]
Show and hide the power systray icon.

svn path=/trunk/; revision=74226
2017-03-23 20:00:54 +00:00
Eric Kohl a9265410de [STOBJECT]
Implement code to show and hide the power and volume icons in the notification area aka systray.
Control panel applications send WM_USR+220 messages to the systray window in order to show or hide an icon in the systray. The wParam parameter identifies the icon: 1=power, 4=volume. The lParam parameter indicates the new icon status: 0:show, 1:hide.
Control panel applications also send WM_USER+221 messages to the systray window in order to retrieve the current status of a systray icon. The wParam parameter identifies the icon, just like in the WM_SUER+220 messages. The lParam parameter is ignored. The return value indicates the status of the icon: 1:visible, 0:hidden.

svn path=/trunk/; revision=74225
2017-03-23 19:51:53 +00:00
Giannis Adamopoulos b8b7eedce2 [EXPLORER]: Simplify the creation of the tray band site and the tasks band.
- CTrayBandSite: Rename its constructor to CTrayBandSite_CreateInstance. Let the CTrayWindow create the CTasksBand and pass it to the constructor. Use a standard com interface to see if the tasks band was added while loading and don't use an explorer specific interface for it. Make CTrayBandSite::_Init a bit clearer.
- CTrayWindow: Implement the IOleWindow interface and create the CTaskBand before creating the CTrayBandSite. Then use standard com interfaces to get their respective HRND.
- CTaskBand: Rename its constructor to CTaskBand_CreateInstance. Remove a hack that was using its IOleWindow to act like the IOleWindow of the CTrayWindow during the creation of the CTrayBandSite. This is possible since the IOleWindow of the CTrayWindow is passed to the SetDeskBarSite method of CTrayBandSite.

svn path=/trunk/; revision=74224
2017-03-23 15:39:34 +00:00
Thomas Faber 0cd03197e2 [AT]
- Fix MSVC build

svn path=/trunk/; revision=74223
2017-03-22 23:35:50 +00:00
Eric Kohl 7b87ca6c5e [AT]
- Confirm deleting all jobs.
- Fix typos in resources and add missing usage text.

svn path=/trunk/; revision=74222
2017-03-22 21:59:06 +00:00
Giannis Adamopoulos fafcbebc79 [EXPLORER]
- Simplify the mess with the font handling in explorer. Make it respond to changes in the system metrics and use the correct fonts.
- Make CheckTrayWndPosition resize the taskbar based on the optimal size that the rebar returns.
- Without losing my sanity (yet), I managed to make it have exactly the same size as windows explorer when I run it in windows with the classic theme.
- Themes still aren't sized perfectly. Running on ros shows lots of bugs in our common controls.

svn path=/trunk/; revision=74221
2017-03-22 01:09:45 +00:00
Eric Kohl 8f792acdab [AT]
- Retrieve the users short day names instead of hardcoded day names.
- Fix resources.

svn path=/trunk/; revision=74220
2017-03-21 20:32:54 +00:00
Daniel Reimer 1b82948d08 [FONTSUB]
Added German Translation
DIALOG -> DIALOGEX
Windows -> system (not yet done in japanese translation...)

svn path=/trunk/; revision=74219
2017-03-21 16:00:05 +00:00
Eric Kohl 4603f5333e [AT]
- Implement the DaysOfWeek parser and display code.
- ParseDaysOfMonth: Handle a failure case.
- Fix display bugs.

svn path=/trunk/; revision=74218
2017-03-20 22:55:08 +00:00
Sebastian Gasiorek 340d80290d [NTGDI] Add missing LPtoDP in GreExtTextOutW (TA_UPDATECP). Fixes CORE-12218 without breaking CORE-11415
svn path=/trunk/; revision=74217
2017-03-20 22:40:52 +00:00
Kamil Hornicek e06db72a02 [TRANSLATIONS]
- Shorten some strings to make MSVC happy.

svn path=/trunk/; revision=74216
2017-03-20 22:23:33 +00:00