Commit graph

68383 commits

Author SHA1 Message Date
Mark Jansen 9bb6d0de5b [WIN32SS] Add missing \n to DPRINT1 Spotted by Thomas Schneider.
svn path=/trunk/; revision=74308
2017-04-14 18:20:13 +00:00
Robert Naumann 8bf97b3a3d [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
2017-04-14 18:08:34 +00:00
Eric Kohl 71817abc60 [AT]
Improve the time parser to handle 12-hour and 24-hour formats correctly.

svn path=/trunk/; revision=74306
2017-04-14 15:54:08 +00:00
Thomas Faber 389bdb30ca [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
2017-04-14 11:18:22 +00:00
Thomas Faber 8c82e4261d [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
2017-04-14 10:39:07 +00:00
Thomas Faber 21b119daec [USBSTOR]
- Avoid MDL leak in USBSTOR_SendIrp. Patch by Lesan Ilie.
CORE-13061 #resolve

svn path=/trunk/; revision=74303
2017-04-14 10:24:41 +00:00
Thomas Faber cb78e64537 [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
2017-04-14 09:55:17 +00:00
Thomas Faber c022c746c8 [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
2017-04-14 09:50:37 +00:00
Thomas Faber 0431372bc4 [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
2017-04-14 09:32:47 +00:00
Robert Naumann 8acb3b7995 [CRT] remove a self assignment. CORE-8215 #resolve
svn path=/trunk/; revision=74299
2017-04-13 19:09:31 +00:00
Robert Naumann 84ae261e52 [UXTHEME] DrawNCPreview(): Fix copypasta
svn path=/trunk/; revision=74298
2017-04-13 17:41:27 +00:00
Colin Finck a737c007e8 [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
2017-04-13 16:48:40 +00:00
Eric Kohl 6790e320bd [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
2017-04-11 19:58:05 +00:00
Eric Kohl 6ca2243552 [SETUPAPI]
Implement CMP_GetServerSideDeviceInstallFlags().

svn path=/trunk/; revision=74295
2017-04-10 19:17:17 +00:00
Eric Kohl 46a9b5557e [UMPNPMGR]
Implement most of PNP_GetServerSideDeviceInstallFlags().

svn path=/trunk/; revision=74294
2017-04-10 19:12:17 +00:00
Giannis Adamopoulos 59cc29bd8e [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
2017-04-09 15:10:08 +00:00
Giannis Adamopoulos 026c7235f9 [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
2017-04-09 13:51:39 +00:00
Sylvain Petreolle 35eb4001b2 [NTOS:MM]
Addendum to r74263:
- Really only warn once in MmLockPageableDataSection/MmUnlockPageableImageSection, not on every 256th call

svn path=/trunk/; revision=74291
2017-04-09 12:26:16 +00:00
Eric Kohl d1fa8b8908 [SCHEDSVC]
Add missing file. Sorry!

svn path=/trunk/; revision=74290
2017-04-09 10:03:20 +00:00
Eric Kohl 7d242dfe4c [UMPNPMGR]
Use SendMessageW() to broadcast WM_DEVICECHANGE messages because BroadcastSystemMessageW() does not seem to work.

svn path=/trunk/; revision=74289
2017-04-09 08:51:03 +00:00
Eric Kohl a1b2032688 [SCHEDSVC]
Implement storing and loading of jobs in the registry.

svn path=/trunk/; revision=74288
2017-04-09 08:47:10 +00:00
Mark Jansen 4e56b66072 [GDI32_APITEST] Add test for AddFontMemResourceEx. Uses PanosePitchTest.ttf from Katayama Hirofumi MZ. CORE-13046 CORE-13038 CORE-13053
svn path=/trunk/; revision=74287
2017-04-08 22:25:54 +00:00
Mark Jansen ebbf3e1aa6 [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
2017-04-08 19:06:46 +00:00
Mark Jansen ba121aaf83 [WIN32SS] Implement NtGdiAddFontMemResourceEx and NtGdiRemoveFontMemResourceEx. CORE-13046
svn path=/trunk/; revision=74285
2017-04-08 17:32:45 +00:00
Thomas Faber bc6b7e2b35 [LIBUSB]
- Silence some debug prints

svn path=/trunk/; revision=74284
2017-04-08 15:55:00 +00:00
Thomas Faber 97053d19c0 [NTOS:IO]
- Make debug prints about IopOpenRegistryKeyEx failure consistent

svn path=/trunk/; revision=74283
2017-04-08 09:26:42 +00:00
Mark Jansen bbc430fc8c [WIN32SS] Use Panose info from freetype. Patch by Katayama Hirofumi MZ. CORE-13038
svn path=/trunk/; revision=74282
2017-04-07 22:30:20 +00:00
Mark Jansen 00e7f308a4 [USETUP] Improve CJK Font Substitutes settings. Patch by Katayama Hirofumi MZ. CORE-12956
svn path=/trunk/; revision=74281
2017-04-07 21:54:43 +00:00
Giannis Adamopoulos 0588697d7a [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
2017-04-07 14:09:24 +00:00
Giannis Adamopoulos afd47c09cf [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
2017-04-07 13:01:42 +00:00
Giannis Adamopoulos 3fb8c7bc13 [WIN32K] -Implement NtUserCalcMenuBar.
svn path=/trunk/; revision=74278
2017-04-05 21:07:44 +00:00
Thomas Faber 925499d1b6 [NTOS:IO]
- Remove broken casts

svn path=/trunk/; revision=74277
2017-04-05 14:00:03 +00:00
Giannis Adamopoulos 3419e8ae60 [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
2017-04-05 09:09:50 +00:00
Giannis Adamopoulos e826abc369 [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
2017-04-04 10:07:07 +00:00
Robert Naumann 17ecb5786e [EXPLORER] Add modern start menu bitmap by Jared Smudde
svn path=/trunk/; revision=74274
2017-04-03 18:39:52 +00:00
Thomas Faber ee47b6c3f0 [NTOS]
- Silence some more debug prints

svn path=/trunk/; revision=74273
2017-04-02 21:33:25 +00:00
Eric Kohl 048ad653f4 [SCHEDSVC]
Implement NetsJobEnum.

svn path=/trunk/; revision=74272
2017-04-02 20:47:48 +00:00
Eric Kohl 6900e149e5 [IDL]
atsvc.idl: Add missing 'string' attribute which fixes NetrJobEnum.

svn path=/trunk/; revision=74271
2017-04-02 20:32:07 +00:00
Daniel Reimer 4545bf4999 [RAPPS]
As long as we use the current "db" format, keep these ones alive.

svn path=/trunk/; revision=74270
2017-04-02 17:52:14 +00:00
Mark Jansen 702511c91e [RAPPS][RAPPS_NEW] Finally replace rapps with rapps_new.
CORE-13017 #resolve

svn path=/trunk/; revision=74269
2017-04-02 14:46:54 +00:00
Giannis Adamopoulos fbfd0e502f [SHELL32] -CShellDispatch: Properly register Shell.Application. Implement CShellDispatch::ShutdownWindows. CORE-13010
svn path=/trunk/; revision=74268
2017-04-02 14:45:10 +00:00
Thomas Faber 29d8855a84 [NTOS:PNP]
- Silence debug prints about unhandled IRP_MN_QUERY_PNP_DEVICE_STATE

svn path=/trunk/; revision=74267
2017-04-02 14:41:17 +00:00
Thomas Faber f80095f154 [I8042PRT][PCIIDEX]
- Silence debug prints about IRP_MN_QUERY_CAPABILITIES

svn path=/trunk/; revision=74266
2017-04-02 14:35:33 +00:00
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