reactos.git
7 years ago[ISOHYBRID]
Colin Finck [Mon, 17 Apr 2017 13:49:46 +0000 (13:49 +0000)]
[ISOHYBRID]
Don't include inttypes.h, which isn't available on MSVC < 2013. Add the 4 needed typedefs to reactos_support_code.h instead.
Fixes CORE-13031

svn path=/trunk/; revision=74351

7 years ago[WINSPOOL]
Colin Finck [Mon, 17 Apr 2017 13:40:51 +0000 (13:40 +0000)]
[WINSPOOL]
Added tests for some more basic and newly discovered corner cases of EnumPrintersW.

svn path=/trunk/; revision=74350

7 years ago[SERVMAN]
Eric Kohl [Mon, 17 Apr 2017 12:48:51 +0000 (12:48 +0000)]
[SERVMAN]
Track changes to the general and and recovery pages.
CORE-12743

svn path=/trunk/; revision=74349

7 years agoAvoid attempts to reinstall a driver on reboot when a previous attempt has already...
Eric Kohl [Mon, 17 Apr 2017 11:34:08 +0000 (11:34 +0000)]
Avoid attempts to reinstall a driver on reboot when a previous attempt has already failed.

[NEWDEV]
Set the CONFIGFLAG_FAILEDINSTALL flag in the new hardware wizards welcome page and remove it only when the driver was successfully installed.

[UMPNPMGR]
Do not invoke the device installer if the devices CONFIGFLAG_FAILEDINSTALL flag is set.

svn path=/trunk/; revision=74348

7 years ago[BROWSEUI] Port some IAutoComplete changes from wine + fix a memory leak. This allows...
Mark Jansen [Mon, 17 Apr 2017 09:35:08 +0000 (09:35 +0000)]
[BROWSEUI] Port some IAutoComplete changes from wine + fix a memory leak. This allows the dropdown to show with ACO_AUTOSUGGEST and an empty input.

svn path=/trunk/; revision=74347

7 years ago[BROWSEUI] -Remove a couple of lines that shouldn't have been committed.
Giannis Adamopoulos [Mon, 17 Apr 2017 09:15:45 +0000 (09:15 +0000)]
[BROWSEUI] -Remove a couple of lines that shouldn't have been committed.

svn path=/trunk/; revision=74346

7 years ago[BROWSEUI] -CBandSiteMenu: Add preliminary support for adding and removing bands...
Giannis Adamopoulos [Mon, 17 Apr 2017 09:02:49 +0000 (09:02 +0000)]
[BROWSEUI] -CBandSiteMenu: Add preliminary support for adding and removing bands in the taskbar. If a class was registered in the CATID_DeskBand category it will be shown in the menu and selecting it can add it or remove it from the taskbar. Showing the two built in ones (quick launch and desktop) is not implemented yet.

svn path=/trunk/; revision=74345

7 years ago[WINMINE]
Eric Kohl [Sun, 16 Apr 2017 22:42:38 +0000 (22:42 +0000)]
[WINMINE]
Fix vertical aligment of the digits in mines.bmp.
Patch by Andre Semaki.
CORE-12777

svn path=/trunk/; revision=74344

7 years ago[SHELL]
Eric Kohl [Sun, 16 Apr 2017 22:00:46 +0000 (22:00 +0000)]
[SHELL]
Update russian translation.
Patch by amber.
CORE-12525

svn path=/trunk/; revision=74343

7 years ago[MEDIA/RAPPS]
Eric Kohl [Sun, 16 Apr 2017 21:57:41 +0000 (21:57 +0000)]
[MEDIA/RAPPS]
Update russian translation.
Patch by amber.
CORE-12525

svn path=/trunk/; revision=74342

7 years ago[OPENGLCFG]
Eric Kohl [Sun, 16 Apr 2017 21:53:37 +0000 (21:53 +0000)]
[OPENGLCFG]
Add russain translation.
Patch by amber.
CORE-12525

svn path=/trunk/; revision=74341

7 years ago[NET]
Eric Kohl [Sun, 16 Apr 2017 21:48:43 +0000 (21:48 +0000)]
[NET]
Update russian translation.
Patch by amber.
CORE-12525

svn path=/trunk/; revision=74340

7 years ago[LSASRV]
Eric Kohl [Sun, 16 Apr 2017 21:45:43 +0000 (21:45 +0000)]
[LSASRV]
Update the russian translation.
Patch by amber.
CORE-12525

svn path=/trunk/; revision=74339

7 years ago[AT]
Eric Kohl [Sun, 16 Apr 2017 21:42:09 +0000 (21:42 +0000)]
[AT]
Fix outdated russian translation.

svn path=/trunk/; revision=74338

7 years ago[HIVECLS]
Eric Kohl [Sun, 16 Apr 2017 21:33:56 +0000 (21:33 +0000)]
[HIVECLS]
Update russian translation.
Patch by amber.
CORE-12525

svn path=/trunk/; revision=74337

7 years ago[FONTVIEW]
Eric Kohl [Sun, 16 Apr 2017 21:30:29 +0000 (21:30 +0000)]
[FONTVIEW]
Update the russain translation.
CORE-12525

svn path=/trunk/; revision=74336

7 years ago[SHELL32]
Eric Kohl [Sun, 16 Apr 2017 21:26:05 +0000 (21:26 +0000)]
[SHELL32]
Translate folder options.
CORE-12525

svn path=/trunk/; revision=74335

7 years ago[NEWDEV]
Eric Kohl [Sun, 16 Apr 2017 21:21:36 +0000 (21:21 +0000)]
[NEWDEV]
Fix control sizes in russian dialogs.
CORE-12525

svn path=/trunk/; revision=74334

7 years ago[AT]
Eric Kohl [Sun, 16 Apr 2017 20:57:30 +0000 (20:57 +0000)]
[AT]
Added RU translation to the AT command.

[BLACKSHADE]
Added RU translation to the blackshade theme.
CORE-12961

svn path=/trunk/; revision=74333

7 years ago[DESK]
Eric Kohl [Sun, 16 Apr 2017 20:39:37 +0000 (20:39 +0000)]
[DESK]
Added en-GB to desk.cpl.
CORE-13014

svn path=/trunk/; revision=74332

7 years ago[USETUP]
Eric Kohl [Sun, 16 Apr 2017 20:22:03 +0000 (20:22 +0000)]
[USETUP]
base/setup/usetup/it-IT translation patch.
CORE-12999 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=74331

7 years ago[SHLWAPI_UNDOC.H] -Fix definition of IUnknown_SetOwner.
Giannis Adamopoulos [Sun, 16 Apr 2017 19:35:19 +0000 (19:35 +0000)]
[SHLWAPI_UNDOC.H] -Fix definition of IUnknown_SetOwner.

svn path=/trunk/; revision=74330

7 years ago[EXPLORER] -If rshell is present and CBandSiteMenu_CreateInstance or CBandSite_Create...
Giannis Adamopoulos [Sun, 16 Apr 2017 19:29:27 +0000 (19:29 +0000)]
[EXPLORER] -If rshell is present and CBandSiteMenu_CreateInstance or CBandSite_CreateInstance are exported, use them instead of using the one provided by the system. Now we can start developing CBandSite and CBandSiteMenu on windows to implement support for taskbar toolbars.

svn path=/trunk/; revision=74329

7 years agoFix GCC build, part 4/X (losing my optimism)
Colin Finck [Sun, 16 Apr 2017 15:51:44 +0000 (15:51 +0000)]
Fix GCC build, part 4/X (losing my optimism)

svn path=/trunk/; revision=74328

7 years agoFix GCC build (3/3) :)
Colin Finck [Sun, 16 Apr 2017 15:44:22 +0000 (15:44 +0000)]
Fix GCC build (3/3) :)

svn path=/trunk/; revision=74327

7 years agoFix GCC build (2/2)
Colin Finck [Sun, 16 Apr 2017 15:37:31 +0000 (15:37 +0000)]
Fix GCC build (2/2)

svn path=/trunk/; revision=74326

7 years agoFix GCC build
Colin Finck [Sun, 16 Apr 2017 14:30:07 +0000 (14:30 +0000)]
Fix GCC build

svn path=/trunk/; revision=74325

7 years ago[LOCALSPL]
Colin Finck [Sun, 16 Apr 2017 14:12:01 +0000 (14:12 +0000)]
[LOCALSPL]
- Refactor LocalEnumPrinters to make it ready for supporting additional levels.
- Correctly handle all passed flags for Level 1 queries to the Local Print Provider.
- Introduce strsafe functions to LocalEnumPrinters in a way that actually makes the code smaller. To be done in other parts too.
- Use PackStrings in LocalEnumPrinters to simplify the code.
- Return the correct 3 strings in the Description field of Level 1 queries. That also introduces the "Location" field.
- Remove debug spam in _OpenEnvironment.

[SPOOLSV]
- Make use of the newly implemented AlignRpcPtr/UndoAlignRpcPtr. Fixes a test.

[WINSPOOL]
- Dismiss invalid levels already in EnumPrintersW and zero the input buffer here (but not in localspl). Verified by a test.

EnumPrintersW for Level 1 should be fully supported now.

svn path=/trunk/; revision=74324

7 years ago[SPOOLSS]
Colin Finck [Sun, 16 Apr 2017 10:36:16 +0000 (10:36 +0000)]
[SPOOLSS]
Add ASSERTs, improve documentation and the variety of tests for AlignRpcPtr/UndoAlignRpcPtr.
Based on comments by Serge Gautherie.

svn path=/trunk/; revision=74323

7 years ago[NTOS:CC]
Thomas Faber [Sun, 16 Apr 2017 08:50:20 +0000 (08:50 +0000)]
[NTOS:CC]
- Rename ROS_SHARED_CACHE_MAP::RefCount to OpenCount. One step closer to the real SHARED_CACHE_MAP.
CORE-8065

svn path=/trunk/; revision=74322

7 years agoFix copypasta error, spotted by Thomas.
Mark Jansen [Sat, 15 Apr 2017 22:18:29 +0000 (22:18 +0000)]
Fix copypasta error, spotted by Thomas.

svn path=/trunk/; revision=74320

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