reactos.git
7 years ago[UNIATA]
Thomas Faber [Sat, 15 Apr 2017 20:24:43 +0000 (20:24 +0000)]
[UNIATA]
- Update to version 0.46e3 (and fix up the version numbers)
- Un-"fix" insignificant typo corrections that only serve to make syncing harder
CORE-13032 #resolve
CORE-11894 CORE-11277 CORE-12909

svn path=/trunk/; revision=74319

7 years ago[RTL]
Thomas Faber [Sat, 15 Apr 2017 17:39:49 +0000 (17:39 +0000)]
[RTL]
- In Wait_thread_proc, prioritize the cancel event over the wait object. This avoids executing the callback again after RtlDeregisterWait has been called.
Fixes ThemeStartCallback being called twice, causing a double free.
CORE-13074 #resolve

svn path=/trunk/; revision=74318

7 years ago[SCHEDSVC]
Eric Kohl [Sat, 15 Apr 2017 10:33:29 +0000 (10:33 +0000)]
[SCHEDSVC]
Insert a job into the start list when it is loaded or added. Remove it from the start list when it gets deleted. The start list is sorted by start time.

svn path=/trunk/; revision=74317

7 years ago[WIN32SS] Addendum to r74312 and r74309, fix some bad memory leaks. CORE-10876
Mark Jansen [Fri, 14 Apr 2017 21:22:18 +0000 (21:22 +0000)]
[WIN32SS] Addendum to r74312 and r74309, fix some bad memory leaks. CORE-10876
Thanks Giannis and Thomas :)

svn path=/trunk/; revision=74316

7 years ago[SCHEDSVC]
Eric Kohl [Fri, 14 Apr 2017 21:16:37 +0000 (21:16 +0000)]
[SCHEDSVC]
Calculate the next start time of a job and store it in the job object. DaysOfMonth and DaysOfWeek are not taken into account yet.

svn path=/trunk/; revision=74315

7 years ago[SHELLUTILS.H]
Giannis Adamopoulos [Fri, 14 Apr 2017 20:03:46 +0000 (20:03 +0000)]
[SHELLUTILS.H]
- Remove the ShellObjectCreator templates that allowed the caller to pass an arbitrary interface pointer. Leaving only the templates that take an void ** ppv parameter means that the callers are forced to use IID_PPV_ARG. This makes it less likely to have a pointer to an wrong interface.
- Fix the callers to always use IID_PPV_ARG.
- Rewrite the ShellObjectCreator templates to create the objects using the ATL CreateInstance thus allowing internal ATL methods to be called.

[BROWSEUI]
-Let CBandSite_CreateInstance take an additional parameter for the outer object since CBandSite is aggregatable. Create the object using the ATL creator class.

svn path=/trunk/; revision=74314

7 years ago[WIN32SS] Fix charset in font enumeration. Patch by Katayama Hirofumi MZ. CORE-10876
Mark Jansen [Fri, 14 Apr 2017 18:32:07 +0000 (18:32 +0000)]
[WIN32SS] Fix charset in font enumeration. Patch by Katayama Hirofumi MZ. CORE-10876

svn path=/trunk/; revision=74313

7 years ago[WIN32SS] Initial fixes for localized font enumeration. Patch by Katayama Hirofumi...
Mark Jansen [Fri, 14 Apr 2017 18:30:57 +0000 (18:30 +0000)]
[WIN32SS] Initial fixes for localized font enumeration. Patch by Katayama Hirofumi MZ. CORE-10876

svn path=/trunk/; revision=74312

7 years ago[EXPLORER] Addendum to r74307: Fix copypasta CORE-11498
Robert Naumann [Fri, 14 Apr 2017 18:25:05 +0000 (18:25 +0000)]
[EXPLORER] Addendum to r74307: Fix copypasta CORE-11498

svn path=/trunk/; revision=74311

7 years ago[WIN32SS] Count number of faces added instead of fonts in IntGdiLoadFontsFromMemory.
Mark Jansen [Fri, 14 Apr 2017 18:24:44 +0000 (18:24 +0000)]
[WIN32SS] Count number of faces added instead of fonts in IntGdiLoadFontsFromMemory.
This fixes displaying embedded fonts in firefox.
CORE-13046 CORE-13056

svn path=/trunk/; revision=74310

7 years ago[WIN32SS] Cleanup fonts at process destruction + implement font memory reference...
Mark Jansen [Fri, 14 Apr 2017 18:22:57 +0000 (18:22 +0000)]
[WIN32SS] Cleanup fonts at process destruction + implement font memory reference counting.
Thanks to everyone involved in reviewing this code! (See CR-112)
CORE-13056

svn path=/trunk/; revision=74309

7 years ago[WIN32SS] Add missing \n to DPRINT1 Spotted by Thomas Schneider.
Mark Jansen [Fri, 14 Apr 2017 18:20:13 +0000 (18:20 +0000)]
[WIN32SS] Add missing \n to DPRINT1 Spotted by Thomas Schneider.

svn path=/trunk/; revision=74308

7 years ago[EXPLORER] start reworking some code for loading/saving settings implementation CORE...
Robert Naumann [Fri, 14 Apr 2017 18:08:34 +0000 (18:08 +0000)]
[EXPLORER] start reworking some code for loading/saving settings implementation CORE-11498

- Rename the settings structure to something more meaningful for using it for all taskbar related settings
- define some default settings
- check checkboxes with settings values in the properties window
- move saving the settings to an own function which will be implemented later

svn path=/trunk/; revision=74307

7 years ago[AT]
Eric Kohl [Fri, 14 Apr 2017 15:54:08 +0000 (15:54 +0000)]
[AT]
Improve the time parser to handle 12-hour and 24-hour formats correctly.

svn path=/trunk/; revision=74306

7 years ago[NTOS:KE]
Thomas Faber [Fri, 14 Apr 2017 11:18:22 +0000 (11:18 +0000)]
[NTOS:KE]
- Gracefully handle page faults during V86 code execution. This is a bit of a hack because with our limited use of V86 code it is unclear how a page fault can even occur.
CORE-12993 #resolve

svn path=/trunk/; revision=74305

7 years ago[NTOS:KE]
Thomas Faber [Fri, 14 Apr 2017 10:39:07 +0000 (10:39 +0000)]
[NTOS:KE]
- Make decoding of the error code more obvious in KiTrap0EHandler
- Avoid or make explicit some signed/unsigned conversions

svn path=/trunk/; revision=74304

7 years ago[USBSTOR]
Thomas Faber [Fri, 14 Apr 2017 10:24:41 +0000 (10:24 +0000)]
[USBSTOR]
- Avoid MDL leak in USBSTOR_SendIrp. Patch by Lesan Ilie.
CORE-13061 #resolve

svn path=/trunk/; revision=74303

7 years ago[HIDCLASS]
Thomas Faber [Fri, 14 Apr 2017 09:55:17 +0000 (09:55 +0000)]
[HIDCLASS]
Patch by Lesan Ilie:
- Avoid over-allocating the DEVICE_RELATIONS structure in HidClassPDO_CreatePDO
- Allocate device relations from paged pool
CORE-13052 #resolve

svn path=/trunk/; revision=74302

7 years ago[CABMAN]
Thomas Faber [Fri, 14 Apr 2017 09:50:37 +0000 (09:50 +0000)]
[CABMAN]
- Fix leaks in ExtractFile and avoid double frees from failure cases of AddFile. Patch by Serge Gautherie.
CORE-7307 #resolve

svn path=/trunk/; revision=74301

7 years ago[ACPI]
Thomas Faber [Fri, 14 Apr 2017 09:32:47 +0000 (09:32 +0000)]
[ACPI]
- Ensure null termination of the method name passed to AcpiEvaluateObject in Bus_PDO_EvalMethod. Spotted by ReactCoder.
CORE-13068 #resolve

svn path=/trunk/; revision=74300

7 years ago[CRT] remove a self assignment. CORE-8215 #resolve
Robert Naumann [Thu, 13 Apr 2017 19:09:31 +0000 (19:09 +0000)]
[CRT] remove a self assignment. CORE-8215 #resolve

svn path=/trunk/; revision=74299

7 years ago[UXTHEME] DrawNCPreview(): Fix copypasta
Robert Naumann [Thu, 13 Apr 2017 17:41:27 +0000 (17:41 +0000)]
[UXTHEME] DrawNCPreview(): Fix copypasta

svn path=/trunk/; revision=74298

7 years ago[SPOOLSS]
Colin Finck [Thu, 13 Apr 2017 16:48:40 +0000 (16:48 +0000)]
[SPOOLSS]
Implement the undocumented AlignRpcPtr and UndoAlignRpcPtr functions used by many Rpc* functions in spoolsv according to traced callchains.
I could reverse engineer them entirely using rohitab.com's API Monitor and black-box testing.
I also add documented tests covering all cases I found out. We now pass 17/17 tests on Windows Server 2003 and ReactOS.

Also const-ify a parameter in PackStrings.

svn path=/trunk/; revision=74297

7 years ago[NTOS:OB]
Eric Kohl [Tue, 11 Apr 2017 19:58:05 +0000 (19:58 +0000)]
[NTOS:OB]
- Move device map code into a separate file.
- Create and inherit device maps instead of using a single global device map.

svn path=/trunk/; revision=74296

7 years ago[SETUPAPI]
Eric Kohl [Mon, 10 Apr 2017 19:17:17 +0000 (19:17 +0000)]
[SETUPAPI]
Implement CMP_GetServerSideDeviceInstallFlags().

svn path=/trunk/; revision=74295

7 years ago[UMPNPMGR]
Eric Kohl [Mon, 10 Apr 2017 19:12:17 +0000 (19:12 +0000)]
[UMPNPMGR]
Implement most of PNP_GetServerSideDeviceInstallFlags().

svn path=/trunk/; revision=74294

7 years ago[RSHELL] -Link to shellbars and export CBandSite_CreateInstance and CBandSiteMenu_Cre...
Giannis Adamopoulos [Sun, 9 Apr 2017 15:10:08 +0000 (15:10 +0000)]
[RSHELL] -Link to shellbars and export CBandSite_CreateInstance and CBandSiteMenu_CreateInstance.
[SHELLMENU] -Remove second copy of CBandSite. It was originally added here to be tested in windows but now it is hosted in a proper static link.

svn path=/trunk/; revision=74293

7 years ago[BROWSEUI] -Move the following classes to a new static lib called shellbars: CBandSit...
Giannis Adamopoulos [Sun, 9 Apr 2017 13:51:39 +0000 (13:51 +0000)]
[BROWSEUI] -Move the following classes to a new static lib called shellbars: CBandSite, CBandSiteMenu, CBaseBar, CSHEnumClassesOfCategories.
- This will be linked to rshell in order to implement support for additional toolbars in the taskbar as well as floating toolbars.
- In the future more classes will be added in this static lib including: CISFBand (which implements a dockable toolbar that shows the contents of a shell folder), CQuickLinks (a special CISFBand), CDeskBarApp (a special CBaseBar that implements the floating host for toolbars) and perhaps more.

svn path=/trunk/; revision=74292

7 years ago[NTOS:MM]
Sylvain Petreolle [Sun, 9 Apr 2017 12:26:16 +0000 (12:26 +0000)]
[NTOS:MM]
Addendum to r74263:
- Really only warn once in MmLockPageableDataSection/MmUnlockPageableImageSection, not on every 256th call

svn path=/trunk/; revision=74291

7 years ago[SCHEDSVC]
Eric Kohl [Sun, 9 Apr 2017 10:03:20 +0000 (10:03 +0000)]
[SCHEDSVC]
Add missing file. Sorry!

svn path=/trunk/; revision=74290

7 years ago[UMPNPMGR]
Eric Kohl [Sun, 9 Apr 2017 08:51:03 +0000 (08:51 +0000)]
[UMPNPMGR]
Use SendMessageW() to broadcast WM_DEVICECHANGE messages because BroadcastSystemMessageW() does not seem to work.

svn path=/trunk/; revision=74289

7 years ago[SCHEDSVC]
Eric Kohl [Sun, 9 Apr 2017 08:47:10 +0000 (08:47 +0000)]
[SCHEDSVC]
Implement storing and loading of jobs in the registry.

svn path=/trunk/; revision=74288

7 years ago[GDI32_APITEST] Add test for AddFontMemResourceEx. Uses PanosePitchTest.ttf from...
Mark Jansen [Sat, 8 Apr 2017 22:25:54 +0000 (22:25 +0000)]
[GDI32_APITEST] Add test for AddFontMemResourceEx. Uses PanosePitchTest.ttf from Katayama Hirofumi MZ. CORE-13046 CORE-13038 CORE-13053

svn path=/trunk/; revision=74287

7 years ago[WIN32SS] Addendum to r74285, actually leak the pointer used by Freetype, so that...
Mark Jansen [Sat, 8 Apr 2017 19:06:46 +0000 (19:06 +0000)]
[WIN32SS] Addendum to r74285, actually leak the pointer used by Freetype, so that when it is accessed later, we have not freed it.

svn path=/trunk/; revision=74286

7 years ago[WIN32SS] Implement NtGdiAddFontMemResourceEx and NtGdiRemoveFontMemResourceEx. CORE...
Mark Jansen [Sat, 8 Apr 2017 17:32:45 +0000 (17:32 +0000)]
[WIN32SS] Implement NtGdiAddFontMemResourceEx and NtGdiRemoveFontMemResourceEx. CORE-13046

svn path=/trunk/; revision=74285

7 years ago[LIBUSB]
Thomas Faber [Sat, 8 Apr 2017 15:55:00 +0000 (15:55 +0000)]
[LIBUSB]
- Silence some debug prints

svn path=/trunk/; revision=74284

7 years ago[NTOS:IO]
Thomas Faber [Sat, 8 Apr 2017 09:26:42 +0000 (09:26 +0000)]
[NTOS:IO]
- Make debug prints about IopOpenRegistryKeyEx failure consistent

svn path=/trunk/; revision=74283

7 years ago[WIN32SS] Use Panose info from freetype. Patch by Katayama Hirofumi MZ. CORE-13038
Mark Jansen [Fri, 7 Apr 2017 22:30:20 +0000 (22:30 +0000)]
[WIN32SS] Use Panose info from freetype. Patch by Katayama Hirofumi MZ. CORE-13038

svn path=/trunk/; revision=74282

7 years ago[USETUP] Improve CJK Font Substitutes settings. Patch by Katayama Hirofumi MZ. CORE...
Mark Jansen [Fri, 7 Apr 2017 21:54:43 +0000 (21:54 +0000)]
[USETUP] Improve CJK Font Substitutes settings. Patch by Katayama Hirofumi MZ. CORE-12956

svn path=/trunk/; revision=74281

7 years ago[GDI32] -Implement GdiDrawStream.
Giannis Adamopoulos [Fri, 7 Apr 2017 14:09:24 +0000 (14:09 +0000)]
[GDI32] -Implement GdiDrawStream.
- This is based on the prototype I found in a sample app on codeproject. I don't really know what the unknown parameters are for but I haven't found anything yet passing different values. Almost all of the code is from the drawing code from uxtheme with the only difference that in uxtheme UXTHEME_DrawImageBackground reads several values from the theme but his takes them as parameters. I don't see any reason to spend time understanding what these are for. I found what the draw flags are for by passing different values in the test application and trying to replicate the parameters that UXTHEME_DrawImageBackground need. I decided to keep the naming like that since it is almost verbatim wine code. At some point it should be moved to win32k however.
CORE-4420

svn path=/trunk/; revision=74280

7 years ago[SHSVCS] -Add the module that should host the theme service. Implement ThemeWaitForSe...
Giannis Adamopoulos [Fri, 7 Apr 2017 13:01:42 +0000 (13:01 +0000)]
[SHSVCS] -Add the module that should host the theme service. Implement ThemeWaitForServiceReady and ThemeWatchForStart. These are already called by our msgina and are responsible for starting themes in the session.

svn path=/trunk/; revision=74279

7 years ago[WIN32K] -Implement NtUserCalcMenuBar.
Giannis Adamopoulos [Wed, 5 Apr 2017 21:07:44 +0000 (21:07 +0000)]
[WIN32K] -Implement NtUserCalcMenuBar.

svn path=/trunk/; revision=74278

7 years ago[NTOS:IO]
Thomas Faber [Wed, 5 Apr 2017 14:00:03 +0000 (14:00 +0000)]
[NTOS:IO]
- Remove broken casts

svn path=/trunk/; revision=74277

7 years ago[WIN32K] -MENU_TrackMouseMenuBar: Use IntGetSystemMenu instead of get_win_sys_menu...
Giannis Adamopoulos [Wed, 5 Apr 2017 09:09:50 +0000 (09:09 +0000)]
[WIN32K] -MENU_TrackMouseMenuBar: Use IntGetSystemMenu instead of get_win_sys_menu because the system menu have not been initialized yet (it is delay initialized). CORE-12801

svn path=/trunk/; revision=74276

7 years ago[WIN32K] -NtGdiGetRegionData: prgn->rdh.nRgnSize is the size of kernel mode buffer...
Giannis Adamopoulos [Tue, 4 Apr 2017 10:07:07 +0000 (10:07 +0000)]
[WIN32K] -NtGdiGetRegionData: prgn->rdh.nRgnSize is the size of kernel mode buffer for the region. After copying it to the caller we should set lpRgnData->rdh.nRgnSize to cjRects.

svn path=/trunk/; revision=74275

7 years ago[EXPLORER] Add modern start menu bitmap by Jared Smudde
Robert Naumann [Mon, 3 Apr 2017 18:39:52 +0000 (18:39 +0000)]
[EXPLORER] Add modern start menu bitmap by Jared Smudde

svn path=/trunk/; revision=74274

7 years ago[NTOS]
Thomas Faber [Sun, 2 Apr 2017 21:33:25 +0000 (21:33 +0000)]
[NTOS]
- Silence some more debug prints

svn path=/trunk/; revision=74273

7 years ago[SCHEDSVC]
Eric Kohl [Sun, 2 Apr 2017 20:47:48 +0000 (20:47 +0000)]
[SCHEDSVC]
Implement NetsJobEnum.

svn path=/trunk/; revision=74272

7 years ago[IDL]
Eric Kohl [Sun, 2 Apr 2017 20:32:07 +0000 (20:32 +0000)]
[IDL]
atsvc.idl: Add missing 'string' attribute which fixes NetrJobEnum.

svn path=/trunk/; revision=74271

7 years ago[RAPPS]
Daniel Reimer [Sun, 2 Apr 2017 17:52:14 +0000 (17:52 +0000)]
[RAPPS]
As long as we use the current "db" format, keep these ones alive.

svn path=/trunk/; revision=74270

7 years ago[RAPPS][RAPPS_NEW] Finally replace rapps with rapps_new.
Mark Jansen [Sun, 2 Apr 2017 14:46:54 +0000 (14:46 +0000)]
[RAPPS][RAPPS_NEW] Finally replace rapps with rapps_new.
CORE-13017 #resolve

svn path=/trunk/; revision=74269

7 years ago[SHELL32] -CShellDispatch: Properly register Shell.Application. Implement CShellDispa...
Giannis Adamopoulos [Sun, 2 Apr 2017 14:45:10 +0000 (14:45 +0000)]
[SHELL32] -CShellDispatch: Properly register Shell.Application. Implement CShellDispatch::ShutdownWindows. CORE-13010

svn path=/trunk/; revision=74268

7 years ago[NTOS:PNP]
Thomas Faber [Sun, 2 Apr 2017 14:41:17 +0000 (14:41 +0000)]
[NTOS:PNP]
- Silence debug prints about unhandled IRP_MN_QUERY_PNP_DEVICE_STATE

svn path=/trunk/; revision=74267

7 years ago[I8042PRT][PCIIDEX]
Thomas Faber [Sun, 2 Apr 2017 14:35:33 +0000 (14:35 +0000)]
[I8042PRT][PCIIDEX]
- Silence debug prints about IRP_MN_QUERY_CAPABILITIES

svn path=/trunk/; revision=74266

7 years ago[HAL][NTOS:PNP]
Thomas Faber [Sun, 2 Apr 2017 14:24:11 +0000 (14:24 +0000)]
[HAL][NTOS:PNP]
- Silence some debug prints about unhandled PNP minor functions

svn path=/trunk/; revision=74265

7 years ago[blackshade.msstyle]
David Quintana [Sun, 2 Apr 2017 11:32:31 +0000 (11:32 +0000)]
[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

7 years ago[NTOS:MM]
Thomas Faber [Sun, 2 Apr 2017 08:37:39 +0000 (08:37 +0000)]
[NTOS:MM]
- Really only warn once in MmSecureVirtualMemory/MmUnsecureVirtualMemory, not on every 256th call

svn path=/trunk/; revision=74263

7 years ago[SCEDSVC]
Eric Kohl [Sat, 1 Apr 2017 22:54:30 +0000 (22:54 +0000)]
[SCEDSVC]
- Implement a simple job list.
- Implement NetrJobAdd, NetrJobDel and NetrJobGetInfo.

svn path=/trunk/; revision=74262

7 years ago[UXTHEME] -Implement painting the corner of the scrollbars.
Giannis Adamopoulos [Sat, 1 Apr 2017 12:17:15 +0000 (12:17 +0000)]
[UXTHEME] -Implement painting the corner of the scrollbars.

svn path=/trunk/; revision=74261

7 years ago[WIN32K] -Correct one parameter in NtUserPaintMenuBar and make it return the height...
Giannis Adamopoulos [Sat, 1 Apr 2017 10:18:40 +0000 (10:18 +0000)]
[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

7 years ago[UMPNPMGR]
Eric Kohl [Sat, 1 Apr 2017 08:07:39 +0000 (08:07 +0000)]
[UMPNPMGR]
Broadcast a WM_DEVICECHANGE message on device arrrival and removal.
CORE-12977

svn path=/trunk/; revision=74259

7 years ago[Win32SS]
James Tabor [Sat, 1 Apr 2017 02:01:59 +0000 (02:01 +0000)]
[Win32SS]
- Patch by Alex Henrie : Translate WM_(NC)XBUTTONUP to WM_APPCOMMAND in DefWindowProc.
- Modified for ReactOS.

svn path=/trunk/; revision=74258

7 years ago[NtUser]
James Tabor [Fri, 31 Mar 2017 23:48:48 +0000 (23:48 +0000)]
[NtUser]
- Again, add more information from CORE-9667 thememenu.patch so it does not get lost.

svn path=/trunk/; revision=74257

7 years ago[WIN32K] -Store the flat menus setting and the drop shadow setting in the UserPrefere...
Giannis Adamopoulos [Fri, 31 Mar 2017 22:27:13 +0000 (22:27 +0000)]
[WIN32K] -Store the flat menus setting and the drop shadow setting in the UserPreferencesMask registry value.

svn path=/trunk/; revision=74256

7 years ago[NtUser]
James Tabor [Fri, 31 Mar 2017 21:57:20 +0000 (21:57 +0000)]
[NtUser]
- Add additional information from CORE-9667 thememenu.patch so it does not get lost.

svn path=/trunk/; revision=74255

7 years ago[UXTHEME] -Get rid of the hack that partly draws the menu bar in uxtheme. This was...
Giannis Adamopoulos [Fri, 31 Mar 2017 19:24:00 +0000 (19:24 +0000)]
[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

7 years ago[WIN32K] -Get the new value of SPI_SETFLATMENU from pvParam.
Giannis Adamopoulos [Fri, 31 Mar 2017 19:04:31 +0000 (19:04 +0000)]
[WIN32K] -Get the new value of SPI_SETFLATMENU from pvParam.

svn path=/trunk/; revision=74253

7 years ago[DESK.CPL] -Load the TMT_FLATMENUS property from the theme and use SPI_SETFLATMENU...
Giannis Adamopoulos [Fri, 31 Mar 2017 18:18:19 +0000 (18:18 +0000)]
[DESK.CPL] -Load the TMT_FLATMENUS property from the theme and use SPI_SETFLATMENU to set it.

svn path=/trunk/; revision=74252

7 years ago[WIN32K] -Stub NtUserPaintMenuBar. I'm still not sure about the last parameter and...
Giannis Adamopoulos [Fri, 31 Mar 2017 18:05:27 +0000 (18:05 +0000)]
[WIN32K] -Stub NtUserPaintMenuBar. I'm still not sure about the last parameter and its return value.

svn path=/trunk/; revision=74251

7 years ago[WIN32K] -Update the prototype of NtUserPaintMenuBar here as well.
Giannis Adamopoulos [Fri, 31 Mar 2017 17:17:35 +0000 (17:17 +0000)]
[WIN32K] -Update the prototype of NtUserPaintMenuBar here as well.

svn path=/trunk/; revision=74250

7 years ago[SDK] -Add the prototype of PaintMenuBar and update the prototype of NtUserPaintMenuBar.
Giannis Adamopoulos [Fri, 31 Mar 2017 16:55:20 +0000 (16:55 +0000)]
[SDK] -Add the prototype of PaintMenuBar and update the prototype of NtUserPaintMenuBar.

svn path=/trunk/; revision=74249

7 years agoFix gcc build.
Giannis Adamopoulos [Fri, 31 Mar 2017 11:33:53 +0000 (11:33 +0000)]
Fix gcc build.

svn path=/trunk/; revision=74248

7 years ago[UXTHEME] -Implement painting windows with WS_MINIMIZE. Such windows are minimized...
Giannis Adamopoulos [Fri, 31 Mar 2017 11:26:20 +0000 (11:26 +0000)]
[UXTHEME] -Implement painting windows with WS_MINIMIZE. Such windows are minimized mdi windows.

svn path=/trunk/; revision=74247

7 years ago[USBEHCI][USBOHCI][USBUHCI]
Thomas Faber [Fri, 31 Mar 2017 09:16:45 +0000 (09:16 +0000)]
[USBEHCI][USBOHCI][USBUHCI]
- Avoid leaking CUSBRequest::m_CompletionEvent. Based on a patch by ReactCoder.
CORE-12984 #resolve

svn path=/trunk/; revision=74246

7 years ago[USBSTOR]
Thomas Faber [Fri, 31 Mar 2017 09:02:43 +0000 (09:02 +0000)]
[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

7 years ago[UXTHEME} -Fix usage of uninitialized variable. CORE-11204
Giannis Adamopoulos [Wed, 29 Mar 2017 20:50:56 +0000 (20:50 +0000)]
[UXTHEME} -Fix usage of uninitialized variable. CORE-11204

svn path=/trunk/; revision=74244

7 years ago[EXPLORER] -implement showing the start menu preview
Robert Naumann [Wed, 29 Mar 2017 18:37:06 +0000 (18:37 +0000)]
[EXPLORER] -implement showing the start menu preview

svn path=/trunk/; revision=74243

7 years ago[NDK][XDK]: Add some forgotten RTL bitmap functions.
Hermès Bélusca-Maïto [Wed, 29 Mar 2017 16:36:13 +0000 (16:36 +0000)]
[NDK][XDK]: Add some forgotten RTL bitmap functions.

svn path=/trunk/; revision=74242

7 years ago[UXTHEME] -Draw the background glyph inside the content margins. CORE-6000
Giannis Adamopoulos [Wed, 29 Mar 2017 10:01:00 +0000 (10:01 +0000)]
[UXTHEME] -Draw the background glyph inside the content margins. CORE-6000

svn path=/trunk/; revision=74241

7 years ago[UXTHEME] -Slightly improve the width of the caption buttons by scaling it based...
Giannis Adamopoulos [Tue, 28 Mar 2017 21:31:16 +0000 (21:31 +0000)]
[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

7 years ago[TRANSLATIONS]
Eric Kohl [Tue, 28 Mar 2017 18:28:05 +0000 (18:28 +0000)]
[TRANSLATIONS]
Minor corrections in Uzbek.
Patch by Kudratov Olimjon.
CORE-12907 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=74239

7 years ago[EXPLORER] -Remove a debug print that wasn't supposed to be committed.
Giannis Adamopoulos [Tue, 28 Mar 2017 10:22:54 +0000 (10:22 +0000)]
[EXPLORER] -Remove a debug print that wasn't supposed to be committed.

svn path=/trunk/; revision=74238

7 years ago[EXPLORER] -Try to fix a crash in explorer. CORE-12991
Giannis Adamopoulos [Tue, 28 Mar 2017 09:28:06 +0000 (09:28 +0000)]
[EXPLORER] -Try to fix a crash in explorer. CORE-12991

svn path=/trunk/; revision=74237

7 years ago[NTOS:KE]
Thomas Faber [Mon, 27 Mar 2017 20:23:37 +0000 (20:23 +0000)]
[NTOS:KE]
- Addendum to r74235.
CORE-12985

svn path=/trunk/; revision=74236

7 years ago[NTOS:KE]
Thomas Faber [Mon, 27 Mar 2017 20:16:59 +0000 (20:16 +0000)]
[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

7 years ago[UXTHEME] -Fix drawing the themed scrollbar. CORE-12933
Giannis Adamopoulos [Mon, 27 Mar 2017 19:56:36 +0000 (19:56 +0000)]
[UXTHEME] -Fix drawing the themed scrollbar. CORE-12933

svn path=/trunk/; revision=74234

7 years ago[SETUPAPI]: Partly sync parser.c with Wine Staging 2.2. CORE-9397 CORE-12823
Hermès Bélusca-Maïto [Mon, 27 Mar 2017 16:29:50 +0000 (16:29 +0000)]
[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

7 years ago[LSASRV]
Eric Kohl [Sun, 26 Mar 2017 20:45:48 +0000 (20:45 +0000)]
[LSASRV]
Implement LsarpLookupPrivilegeDisplayName. Reading the resource strings is still buggy.
CORE-12976 #comment Please retest!

svn path=/trunk/; revision=74232

7 years ago[EXPLORER]: Fix most problems with the size of the taskbar. (Most problems when run...
Giannis Adamopoulos [Sun, 26 Mar 2017 16:46:55 +0000 (16:46 +0000)]
[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

7 years ago[LSASRV]
Eric Kohl [Sun, 26 Mar 2017 14:02:39 +0000 (14:02 +0000)]
[LSASRV]
Add privilege display name resource strings.
CORE-12976

svn path=/trunk/; revision=74230

7 years ago[STOBJECT]
Eric Kohl [Sat, 25 Mar 2017 14:33:18 +0000 (14:33 +0000)]
[STOBJECT]
Fix a typo (wrong resource id).

svn path=/trunk/; revision=74229

7 years ago[STOBJECT]
Eric Kohl [Sat, 25 Mar 2017 13:35:41 +0000 (13:35 +0000)]
[STOBJECT]
Implement the power schemes popup menu.

svn path=/trunk/; revision=74228

7 years ago[MMSYS]
Eric Kohl [Thu, 23 Mar 2017 20:07:29 +0000 (20:07 +0000)]
[MMSYS]
Show and hide the volume systray icon.

svn path=/trunk/; revision=74227

7 years ago[POWERCFG]
Eric Kohl [Thu, 23 Mar 2017 20:00:54 +0000 (20:00 +0000)]
[POWERCFG]
Show and hide the power systray icon.

svn path=/trunk/; revision=74226

7 years ago[STOBJECT]
Eric Kohl [Thu, 23 Mar 2017 19:51:53 +0000 (19:51 +0000)]
[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

7 years ago[EXPLORER]: Simplify the creation of the tray band site and the tasks band.
Giannis Adamopoulos [Thu, 23 Mar 2017 15:39:34 +0000 (15:39 +0000)]
[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

7 years ago[AT]
Thomas Faber [Wed, 22 Mar 2017 23:35:50 +0000 (23:35 +0000)]
[AT]
- Fix MSVC build

svn path=/trunk/; revision=74223

7 years ago[AT]
Eric Kohl [Wed, 22 Mar 2017 21:59:06 +0000 (21:59 +0000)]
[AT]
- Confirm deleting all jobs.
- Fix typos in resources and add missing usage text.

svn path=/trunk/; revision=74222

7 years ago[EXPLORER]
Giannis Adamopoulos [Wed, 22 Mar 2017 01:09:45 +0000 (01:09 +0000)]
[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

7 years ago[AT]
Eric Kohl [Tue, 21 Mar 2017 20:32:54 +0000 (20:32 +0000)]
[AT]
- Retrieve the users short day names instead of hardcoded day names.
- Fix resources.

svn path=/trunk/; revision=74220