reactos.git
8 years ago[DEVMGR]
Ged Murphy [Tue, 7 Jul 2015 11:55:36 +0000 (11:55 +0000)]
[DEVMGR]
- Rearrange the file structure, move the properties/resource/misc stuff to a ./properties folder
- Add a CMakeLists.txt file to combine both old and new code. Should now build with the msvc RosBe (doesn't yet run)

svn path=/trunk/; revision=68371

8 years ago[MSPAINT_NEW] further ATLification, hard-coded observer pattern, minor cleanup (fourt...
Benedikt Freisen [Tue, 7 Jul 2015 11:44:50 +0000 (11:44 +0000)]
[MSPAINT_NEW] further ATLification, hard-coded observer pattern, minor cleanup (fourth batch of git commits)

svn path=/trunk/; revision=68370

8 years ago[DEVMGR]
Ged Murphy [Tue, 7 Jul 2015 11:43:15 +0000 (11:43 +0000)]
[DEVMGR]
I know this *_new thing is a bit overused, but there are a lot of changes coming to devmgr and rather than take it out of the build for a few days, it's easier to do it this way

svn path=/trunk/; revision=68369

8 years ago[MSPAINT_NEW] manage palette and tools data in a PaletteModel and ToolsModel class...
Benedikt Freisen [Tue, 7 Jul 2015 11:15:24 +0000 (11:15 +0000)]
[MSPAINT_NEW] manage palette and tools data in a PaletteModel and ToolsModel class, respectively; fix tiny bug in mouse.cpp (third batch of git commits)

svn path=/trunk/; revision=68368

8 years ago[DEVMGR]
Ged Murphy [Tue, 7 Jul 2015 11:05:25 +0000 (11:05 +0000)]
[DEVMGR]
- last few fixes to the device manager code to get it building with rosbe (msvc)
- Next steps are to merge it with the existing devmgr code (mostly done in my WC) and get it running via mmc.exe & devmgmt.msc

svn path=/trunk/; revision=68367

8 years ago[MSPAINT_NEW] split CMainWindow: factor out CImgAreaWindow and CMiniatureWindow ...
Benedikt Freisen [Tue, 7 Jul 2015 11:02:30 +0000 (11:02 +0000)]
[MSPAINT_NEW] split CMainWindow: factor out CImgAreaWindow and CMiniatureWindow (second batch of git commits)

svn path=/trunk/; revision=68366

8 years ago[MSPAINT_NEW] port to ATL (first batch of git commits)
Benedikt Freisen [Tue, 7 Jul 2015 10:42:49 +0000 (10:42 +0000)]
[MSPAINT_NEW] port to ATL (first batch of git commits)

svn path=/trunk/; revision=68365

8 years ago[NTVDM]
Hermès Bélusca-Maïto [Tue, 7 Jul 2015 00:33:53 +0000 (00:33 +0000)]
[NTVDM]
Implement basic DOS country info (some stuff is not implemented yet, but the basic functionality is there). This is needed by Microsoft Diagnostics 2.0+ (amongst others)...
See also r66039.
CORE-9903 #resolve

svn path=/trunk/; revision=68363

8 years ago[NTVDM]
Hermès Bélusca-Maïto [Tue, 7 Jul 2015 00:11:18 +0000 (00:11 +0000)]
[NTVDM]
- Let the mouse driver use its own 32-to-16 call scratch buffer.
- Simplify some code.

svn path=/trunk/; revision=68362

8 years ago[RAPPS_NEW][EXPLORER][RSHELL][BROWSEUI]
Thomas Faber [Mon, 6 Jul 2015 19:38:22 +0000 (19:38 +0000)]
[RAPPS_NEW][EXPLORER][RSHELL][BROWSEUI]
- Use ATL::CWindow methods where appropriate. By Benedikt Freisen.
CORE-9675 #resolve

svn path=/trunk/; revision=68361

8 years ago[ATL]
Thomas Faber [Mon, 6 Jul 2015 19:29:21 +0000 (19:29 +0000)]
[ATL]
- Implement missing ATL::CWindow methods. Patch by Benedikt Freisen.
CORE-9675

svn path=/trunk/; revision=68360

8 years ago[RAPPS_NEW][EXPLORER][RSHELL][BROWSEUI]
Thomas Faber [Mon, 6 Jul 2015 19:20:39 +0000 (19:20 +0000)]
[RAPPS_NEW][EXPLORER][RSHELL][BROWSEUI]
- Unambiguously specify top-level namespace for Win32 API functions in preparation for upcoming ATL changes. Based on a patch by Benedikt Freisen.
CORE-9675

svn path=/trunk/; revision=68359

8 years ago[ACTXPRXY]
Thomas Faber [Mon, 6 Jul 2015 18:51:18 +0000 (18:51 +0000)]
[ACTXPRXY]
- Sync usrmarshal.c to Wine aka fix build

svn path=/trunk/; revision=68358

8 years ago[PSDK]
Thomas Faber [Mon, 6 Jul 2015 18:38:15 +0000 (18:38 +0000)]
[PSDK]
- Add IFolderView2 definition from Wine

svn path=/trunk/; revision=68357

8 years ago[USETUP]
Eric Kohl [Sun, 5 Jul 2015 21:00:38 +0000 (21:00 +0000)]
[USETUP]
Make the keyboard layouts selection not dependent on the selected language.
Patch by joao.jeronimo.89.
CORE-9630 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=68354

8 years ago[NTFS]
Pierre Schweitzer [Sun, 5 Jul 2015 20:31:54 +0000 (20:31 +0000)]
[NTFS]
Properly return allocation size on directory enum

svn path=/trunk/; revision=68353

8 years ago[NTOS:MM]
Thomas Faber [Sun, 5 Jul 2015 19:44:05 +0000 (19:44 +0000)]
[NTOS:MM]
- Show that PAGE_NOCACHE also works for image and data sections
- Show that *MapViewOfSection returns user space addresses
CORE-9808

svn path=/trunk/; revision=68352

8 years ago[KMTESTS:MM]
Thomas Faber [Sun, 5 Jul 2015 19:17:50 +0000 (19:17 +0000)]
[KMTESTS:MM]
- Add a test for \Device\PhysicalMemory sections, which shows that we have trouble with PAGE_NOCACHE.
CORE-9808

svn path=/trunk/; revision=68351

8 years ago[ARF]
Pierre Schweitzer [Sun, 5 Jul 2015 19:09:20 +0000 (19:09 +0000)]
[ARF]
Fix build(tm)

svn path=/trunk/; revision=68350

8 years ago[NTFS]
Pierre Schweitzer [Sun, 5 Jul 2015 19:08:08 +0000 (19:08 +0000)]
[NTFS]
Return correct size in FileNetworkOpenInformation operation

svn path=/trunk/; revision=68349

8 years ago[NTFS]
Pierre Schweitzer [Sun, 5 Jul 2015 19:04:05 +0000 (19:04 +0000)]
[NTFS]
Continue streams integration:
- NtfsGetFileSize() will now return the file size depending on the open data stream
- NtfsGetFileSize() will also optionally return allocated size
- In NtfsMakeFCBFromDirEntry(), when initializing FSRTL_COMMON_FCB_HEADER entry, use data stream sizes

svn path=/trunk/; revision=68348

8 years ago[NTVDM]
Hermès Bélusca-Maïto [Sun, 5 Jul 2015 18:35:25 +0000 (18:35 +0000)]
[NTVDM]
- Implement INT 10h, AH=13h "Write String" function.
- Fix VidBiosPrintCharacter to use the colour attribute only in graphics mode, or when explicitely needed.
- Fix some special cases where specifying a BIOS mode page of 0xFF means "use current page".
- Use a macro to check whether a given mode number specifies a text mode, and use it where needed.

svn path=/trunk/; revision=68347

8 years ago[NTOSKRNL]
Eric Kohl [Sun, 5 Jul 2015 09:58:03 +0000 (09:58 +0000)]
[NTOSKRNL]
NtQuerySystemInformation: Return ResultLength only in case of success.

svn path=/trunk/; revision=68346

8 years ago[NTFS]
Pierre Schweitzer [Sun, 5 Jul 2015 09:04:24 +0000 (09:04 +0000)]
[NTFS]
Ignore DOS name only entries when browsing index.

CORE-9086

svn path=/trunk/; revision=68345

8 years ago[DEVMGR]
Ged Murphy [Sun, 5 Jul 2015 08:49:54 +0000 (08:49 +0000)]
[DEVMGR]
- Implement very basic uninstall functionality
- Move device action code into the DeviceView class

svn path=/trunk/; revision=68344

8 years ago[DEVMGR]
Ged Murphy [Sat, 4 Jul 2015 21:31:19 +0000 (21:31 +0000)]
[DEVMGR]
Add the 'add hardware' option for the maun menu or if the root node is selected

svn path=/trunk/; revision=68343

8 years ago[DEVMGR]
Ged Murphy [Sat, 4 Jul 2015 21:12:06 +0000 (21:12 +0000)]
[DEVMGR]
- Add a separate class for the root node
- Move creating the action menu items to a generic function so we can use it for both the context menu and the main menu
- Create the main action menu as a dynamic popup menu. It doesn't work quite the same as the menus via the resources, so if any menu expects know how to fix this, be my guest

svn path=/trunk/; revision=68342

8 years ago[NTFS]
Pierre Schweitzer [Sat, 4 Jul 2015 19:52:31 +0000 (19:52 +0000)]
[NTFS]
Complete BrowseIndexEntries() implementation and simplify NtfsFindMftRecord() implementation

svn path=/trunk/; revision=68341

8 years ago[USETUP]
Eric Kohl [Sat, 4 Jul 2015 16:10:50 +0000 (16:10 +0000)]
[USETUP]
Assign the HiddenSectors values properly.

svn path=/trunk/; revision=68340

8 years ago[USETUP]
Eric Kohl [Sat, 4 Jul 2015 16:04:09 +0000 (16:04 +0000)]
[USETUP]
- Add description of the 'L' key to the partition selection page.
- Make the 'ENTER' key work for logical partitions too. Selected unpartitioned space will be converted to a logical partition.
Patch by Gerhard Gruber (sparhawk).
CORE-9641 #resolve

svn path=/trunk/; revision=68339

8 years ago[DEVMGR]
Ged Murphy [Sat, 4 Jul 2015 13:40:17 +0000 (13:40 +0000)]
[DEVMGR]
Replace hard coded strings with resources

svn path=/trunk/; revision=68338

8 years ago[SHELL32] Add an icon to Network Connections in Start menu. By Jared Smudde. CORE...
Amine Khaldi [Fri, 3 Jul 2015 18:43:46 +0000 (18:43 +0000)]
[SHELL32] Add an icon to Network Connections in Start menu. By Jared Smudde. CORE-9009

svn path=/trunk/; revision=68337

8 years ago[TASKMGR] Fix some multi-threaded drawing issues. Brought to you by Joachim Henze...
Amine Khaldi [Fri, 3 Jul 2015 17:17:56 +0000 (17:17 +0000)]
[TASKMGR] Fix some multi-threaded drawing issues. Brought to you by Joachim Henze. CORE-9868

svn path=/trunk/; revision=68336

8 years ago[DEVMGR]
Ged Murphy [Fri, 3 Jul 2015 06:56:58 +0000 (06:56 +0000)]
[DEVMGR]
- Implement dynamic context menu for device and class nodes
- Fix CanUninstall to return correct results
- Strings hardcoded for now, will fix soon

svn path=/trunk/; revision=68334

8 years ago[NTFS]
Pierre Schweitzer [Thu, 2 Jul 2015 20:11:11 +0000 (20:11 +0000)]
[NTFS]
Kill a magic value.
Dedicated to Hervé :-)

svn path=/trunk/; revision=68333

8 years ago[DDK]
Johannes Anderwald [Thu, 2 Jul 2015 15:40:49 +0000 (15:40 +0000)]
[DDK]
- add missing PcUnregisterAdapterPowerManagement

svn path=/trunk/; revision=68332

8 years ago[PORTCLS]
Johannes Anderwald [Thu, 2 Jul 2015 15:35:19 +0000 (15:35 +0000)]
[PORTCLS]
- implement & export PcUnregisterAdapterPowerManagement

svn path=/trunk/; revision=68331

8 years ago[HDAUDBUS]
Johannes Anderwald [Thu, 2 Jul 2015 11:07:39 +0000 (11:07 +0000)]
[HDAUDBUS]
- partly implement HDA_TransferCodecVerbs
- stubplement HDAUDIO_BUS_INTERFACE_V2
- silence traces

svn path=/trunk/; revision=68330

8 years ago[NTFS_TEST]
Pierre Schweitzer [Wed, 1 Jul 2015 11:17:22 +0000 (11:17 +0000)]
[NTFS_TEST]
No need for such test anylonger, we have NTFSInfo now which is better :-)

svn path=/trunk/; revision=68329

8 years ago[PORTCLS]
Johannes Anderwald [Wed, 1 Jul 2015 07:39:35 +0000 (07:39 +0000)]
[PORTCLS]
- check if there are enough irp stack locations

svn path=/trunk/; revision=68328

8 years ago[NTFS]
Pierre Schweitzer [Tue, 30 Jun 2015 21:24:03 +0000 (21:24 +0000)]
[NTFS]
Fix user buffer handling for FSCTL_GET_NTFS_VOLUME_DATA. It fixes NTFSInfo.
We're just lacking a few information in the output data now

CORE-8725

svn path=/trunk/; revision=68327

8 years ago[NTFSINFO]
Pierre Schweitzer [Tue, 30 Jun 2015 21:03:55 +0000 (21:03 +0000)]
[NTFSINFO]
Time to free some Sysinternals tool: ntfsinfo.

To make it short, this tool dumps various information about a NTFS volume and its reserved meta-data files

Our version comes with three advantages compared to the Russinovich's tool:
- It's FLOSS
- It works properly on NT5+ (developed with W2K3 & W7) whereas R's cannot display meta-data files information
- It will open a volume by default if none provided

One issue so far: it doesn't work properly on ReactOS!

CORE-8725

svn path=/trunk/; revision=68326

8 years ago[HDAUDBUS]
Johannes Anderwald [Tue, 30 Jun 2015 19:06:36 +0000 (19:06 +0000)]
[HDAUDBUS]
- fix small bug

svn path=/trunk/; revision=68325

8 years ago[HDAUDBUS]
Johannes Anderwald [Tue, 30 Jun 2015 12:37:39 +0000 (12:37 +0000)]
[HDAUDBUS]
- interface stub

svn path=/trunk/; revision=68321

8 years ago[HDAUDBUS]
Johannes Anderwald [Tue, 30 Jun 2015 11:36:52 +0000 (11:36 +0000)]
[HDAUDBUS]
- move code
- set FILE_AUTOGENERATED_DEVICE_NAME for pdos. Hint by ThFabba
- driver now gets further

svn path=/trunk/; revision=68320

8 years ago[MSI_WINETEST]
Thomas Faber [Tue, 30 Jun 2015 11:34:34 +0000 (11:34 +0000)]
[MSI_WINETEST]
- Skip msi:msi test if running on Windows in non-interactive mode. This should allow WHS-Testbot to get a bit further
ROSTESTS-180
ONLINE-441 ROSTESTS-179

svn path=/trunk/; revision=68319

8 years ago[KMTESTS:MM]
Thomas Faber [Tue, 30 Jun 2015 10:54:41 +0000 (10:54 +0000)]
[KMTESTS:MM]
- Fix some massive NP pool leakage.

svn path=/trunk/; revision=68318

8 years ago[HDAUDBUS]
Johannes Anderwald [Tue, 30 Jun 2015 10:16:41 +0000 (10:16 +0000)]
[HDAUDBUS]
- forward start device irp to lower device. Hint by ThFabba
- implement BusQueryCompatibleIDs

svn path=/trunk/; revision=68317

8 years ago[BROWSEUI]
Pierre Schweitzer [Mon, 29 Jun 2015 20:40:12 +0000 (20:40 +0000)]
[BROWSEUI]
Revert r68305 per Christoph's request

svn path=/trunk/; revision=68316

8 years ago[NTOSKRNL]
Eric Kohl [Mon, 29 Jun 2015 20:29:19 +0000 (20:29 +0000)]
[NTOSKRNL]
Fix CmpDestroyHiveViewList adding checks for empty lists.

Thank you very much Thomas!

svn path=/trunk/; revision=68315

8 years ago[NTOSKRNL]
Eric Kohl [Mon, 29 Jun 2015 18:50:18 +0000 (18:50 +0000)]
[NTOSKRNL]
Disable code in CmpDestroyHiveViewList(). Needs more testing!

svn path=/trunk/; revision=68314

8 years ago[NTOSKRNL]
Eric Kohl [Mon, 29 Jun 2015 18:26:56 +0000 (18:26 +0000)]
[NTOSKRNL]
Add CmpDestroySecurityCache() and CmpDestroyHiveViewList() stubs and call them in CmpDestroyHive and CmUnloadKey().

CORE-6492 #resolve #comment Thank you Hermes! This is exactly what I needed!

svn path=/trunk/; revision=68313

8 years ago[HDAUDBUS]
Johannes Anderwald [Mon, 29 Jun 2015 17:10:04 +0000 (17:10 +0000)]
[HDAUDBUS]
- add driver inf
- fix build for gcc builds

svn path=/trunk/; revision=68312

8 years ago[HDAUDBUS]
Johannes Anderwald [Mon, 29 Jun 2015 17:03:33 +0000 (17:03 +0000)]
[HDAUDBUS]
- start implementing HDAUDIO Bus driver
- based heavily on Haiku exellent driver

svn path=/trunk/; revision=68311

8 years ago[NTFS]
Pierre Schweitzer [Sun, 28 Jun 2015 21:26:19 +0000 (21:26 +0000)]
[NTFS]
Simplify the implementation of NtfsGetFileSize()

svn path=/trunk/; revision=68310

8 years ago[NTFS]
Pierre Schweitzer [Sun, 28 Jun 2015 21:16:03 +0000 (21:16 +0000)]
[NTFS]
Validate the stream we're trying to open properly exists.
This check might have to be moved later on when the driver switches to RW

svn path=/trunk/; revision=68309

8 years ago[NTFS]
Pierre Schweitzer [Sun, 28 Jun 2015 20:55:29 +0000 (20:55 +0000)]
[NTFS]
Always gather the size of the unnamed stream for directory display.
This fixes file size display when there are several data streams available

svn path=/trunk/; revision=68308

8 years ago[USETUP]
Eric Kohl [Sun, 28 Jun 2015 19:06:07 +0000 (19:06 +0000)]
[USETUP]
Restrict valid characters of the install path to:
- Letters
- Digits
- Dots (.)
- Backslashes (\)
- Dashes (-)
- Underscores (_)

CORE-6179 #resolve

svn path=/trunk/; revision=68307

8 years ago[NTOS]
Hermès Bélusca-Maïto [Sun, 28 Jun 2015 18:52:51 +0000 (18:52 +0000)]
[NTOS]
- Do not forget to initialize LoadDll->NamePointer in DbgkMapViewOfSection!!
- Just copy the NamePointer (pointer to pointer to file name) in DbgUiConvertStateChangeStructure. See the description of the lpImageName member of the LOAD_DLL_DEBUG_INFO structure in https://msdn.microsoft.com/en-us/library/windows/desktop/ms680351(v=vs.85).aspx for more details.

This fixes some debugging stuff with GDB (see the below-mentioned report).

Adapted from a patch by andy-123 (whom I don't remember his name^^),
CORE-7019 #resolve #comment Fixed in r68306
CORE-8622 #comment An updated fix was committed in r68306

svn path=/trunk/; revision=68306

8 years ago[BROWSEUI]
Christoph von Wittich [Sun, 28 Jun 2015 18:22:02 +0000 (18:22 +0000)]
[BROWSEUI]
don't expose some interfaces
expose IID_IContextMenu3 from CBandSiteMenu

svn path=/trunk/; revision=68305

8 years ago[CMLIB]
Eric Kohl [Sun, 28 Jun 2015 15:41:18 +0000 (15:41 +0000)]
[CMLIB]
HvFree:
- Free the BaseBlock.
- Do not free the hive itself because the HHIVE is part of the CMHIVE structure and freeing it here could be an unpleasant surprise.

[NTOSKRNL]
CmpDestroyHive: Free the CMHIVE after calling HvFree.
CmUnloadKey: Free the hive storage, the hive locks and the CMHIVE properly.

svn path=/trunk/; revision=68303

8 years ago[NTFS]
Pierre Schweitzer [Sun, 28 Jun 2015 13:14:07 +0000 (13:14 +0000)]
[NTFS]
Implement support for NTFS $DATA streams:
- The driver is now able to read various streams for a same file, using the same syntax as Windows.
- This fixes to read (in general) files with multiple streams where reading unnamed stream was leading to read beyond file end
- Also fix reading small files which are smaller than a sector

For demo, see: http://www.heisspiter.net/~Pierre/rostests/NTFS_Streams.png

svn path=/trunk/; revision=68302

8 years ago[KERNEL32]
Christoph von Wittich [Sun, 28 Jun 2015 13:06:43 +0000 (13:06 +0000)]
[KERNEL32]
warn about unimplemented MB_ERR_INVALID_CHARS case

svn path=/trunk/; revision=68301

8 years ago[KERNEL32]
Christoph von Wittich [Sun, 28 Jun 2015 12:34:01 +0000 (12:34 +0000)]
[KERNEL32]
return the thread ansicodepage when no ansicodepage exists for a specific lcid in CP_THREAD_ACP case

svn path=/trunk/; revision=68300

8 years ago[KERNEL32]
Christoph von Wittich [Sun, 28 Jun 2015 10:21:52 +0000 (10:21 +0000)]
[KERNEL32]
replace WideCharToUtf7 with wine version

svn path=/trunk/; revision=68299

8 years ago[SHELL32]:Add SmartCard icon from Tango; patch by Lee Schroeder.
Hermès Bélusca-Maïto [Sun, 28 Jun 2015 10:05:56 +0000 (10:05 +0000)]
[SHELL32]:Add SmartCard icon from Tango; patch by Lee Schroeder.
CORE-9888 #resolve

svn path=/trunk/; revision=68298

8 years ago[KERNEL32]
Christoph von Wittich [Sun, 28 Jun 2015 09:00:03 +0000 (09:00 +0000)]
[KERNEL32]
replace Utf7ToWideChar with wine version

svn path=/trunk/; revision=68297

8 years agofix a typo
Christoph von Wittich [Sat, 27 Jun 2015 19:30:17 +0000 (19:30 +0000)]
fix a typo

svn path=/trunk/; revision=68296

8 years ago[NTOSKRNL]
Eric Kohl [Sat, 27 Jun 2015 19:26:12 +0000 (19:26 +0000)]
[NTOSKRNL]
Implement NtUnloadKey2. TODO: Destroy the unlinked hive.
CORE-3094

svn path=/trunk/; revision=68295

8 years ago[KBSWITCH] Improve mouse events handling. By Joachim Henze. CORE-9883
Amine Khaldi [Sat, 27 Jun 2015 17:15:38 +0000 (17:15 +0000)]
[KBSWITCH] Improve mouse events handling. By Joachim Henze. CORE-9883

svn path=/trunk/; revision=68294

8 years ago[DESK] Use pixels instead of Pixel. By Jared Smudde. CORE-9738
Amine Khaldi [Sat, 27 Jun 2015 17:09:04 +0000 (17:09 +0000)]
[DESK] Use pixels instead of Pixel. By Jared Smudde. CORE-9738

svn path=/trunk/; revision=68293

8 years ago[NTFS]
Pierre Schweitzer [Sat, 27 Jun 2015 15:06:25 +0000 (15:06 +0000)]
[NTFS]
When dumping attributes, also dump attributes from the $ATTRIBUTE_LIST if present

svn path=/trunk/; revision=68291

8 years ago[NTFS]
Pierre Schweitzer [Sat, 27 Jun 2015 13:40:05 +0000 (13:40 +0000)]
[NTFS]
While handling IRP_MN_QUERY_DIRECTORY, in case there is no $FILE_NAME attribute, dump file attributes & MFT ID.
This fixes ASSERT failure when browsing some Win7 volumes

svn path=/trunk/; revision=68290

8 years ago[DEVMGMT] Free this module from the devil. Addendum to r68185. Spotted by fox_anthony.
Amine Khaldi [Sat, 27 Jun 2015 13:05:01 +0000 (13:05 +0000)]
[DEVMGMT] Free this module from the devil. Addendum to r68185. Spotted by fox_anthony.

svn path=/trunk/; revision=68289

8 years ago[NTOS:KE]
Thomas Faber [Sat, 27 Jun 2015 10:58:32 +0000 (10:58 +0000)]
[NTOS:KE]
- Fix a typo in KiGetCacheInformation. Spotted by Mike.

svn path=/trunk/; revision=68287

8 years ago[NTFS]
Pierre Schweitzer [Sat, 27 Jun 2015 09:04:39 +0000 (09:04 +0000)]
[NTFS]
Dump available streams (if any!) in case unnamed stream isn't available when trying to read a file

svn path=/trunk/; revision=68286

8 years ago[NTFS]
Pierre Schweitzer [Sat, 27 Jun 2015 08:55:34 +0000 (08:55 +0000)]
[NTFS]
Don't attempt to open the unnamed stream from $DATA attribute on file lookup. It was unused & leaking.

It fixes opening files that don't have unnamed stream (even though we cannot read there contents yet as we only support unnamed stream)

svn path=/trunk/; revision=68285

8 years ago[USERENV] Add %HOMEDRIVE% and %HOMEPATH% environment variables. Brought to you by...
Amine Khaldi [Fri, 26 Jun 2015 18:59:25 +0000 (18:59 +0000)]
[USERENV] Add %HOMEDRIVE% and %HOMEPATH% environment variables. Brought to you by Radek Liška. CORE-9875

svn path=/trunk/; revision=68284

8 years ago[SHELL32] Get the Run dialog icon from shell32. By Jared Smudde. CORE-9837
Amine Khaldi [Fri, 26 Jun 2015 18:32:57 +0000 (18:32 +0000)]
[SHELL32] Get the Run dialog icon from shell32. By Jared Smudde. CORE-9837

svn path=/trunk/; revision=68283

8 years ago[MSIEXEC][RUNONCE][WINLOGON] Properly track resource file dependencies. CORE-9806
Amine Khaldi [Fri, 26 Jun 2015 18:04:31 +0000 (18:04 +0000)]
[MSIEXEC][RUNONCE][WINLOGON] Properly track resource file dependencies. CORE-9806

svn path=/trunk/; revision=68282

8 years ago[IEFRAME] Add some missing quotes to ieframe.rc. NFC. Spotted by Jared Smudde. CORE...
Amine Khaldi [Fri, 26 Jun 2015 17:33:45 +0000 (17:33 +0000)]
[IEFRAME] Add some missing quotes to ieframe.rc. NFC. Spotted by Jared Smudde. CORE-9843

svn path=/trunk/; revision=68281

8 years ago[KBSWITCH] Re-register the systray icon after explorer restart. By Joachim Henze...
Amine Khaldi [Fri, 26 Jun 2015 17:18:26 +0000 (17:18 +0000)]
[KBSWITCH] Re-register the systray icon after explorer restart. By Joachim Henze. CORE-9869

svn path=/trunk/; revision=68280

8 years ago[DDK] Annotate hdaudio.h. CORE-9882
Amine Khaldi [Fri, 26 Jun 2015 16:44:31 +0000 (16:44 +0000)]
[DDK] Annotate hdaudio.h. CORE-9882

svn path=/trunk/; revision=68279

8 years ago[DDK] Bring hdaudio.h to DDK formatting. NFC.
Amine Khaldi [Fri, 26 Jun 2015 16:32:40 +0000 (16:32 +0000)]
[DDK] Bring hdaudio.h to DDK formatting. NFC.

svn path=/trunk/; revision=68278

8 years ago[DDK] Explicitly mark the function pointers as NTAPI. CORE-9882
Amine Khaldi [Fri, 26 Jun 2015 16:20:37 +0000 (16:20 +0000)]
[DDK] Explicitly mark the function pointers as NTAPI. CORE-9882

svn path=/trunk/; revision=68277

8 years ago[DDK]
Johannes Anderwald [Fri, 26 Jun 2015 14:42:09 +0000 (14:42 +0000)]
[DDK]
- add hdaudio.h

svn path=/trunk/; revision=68276

8 years ago[MSIMTF]
Thomas Faber [Fri, 26 Jun 2015 12:27:54 +0000 (12:27 +0000)]
[MSIMTF]
- Add a stub implementation for IActiveIMMMessagePumpOwner.
- Use #ifdef __REACTOS__ to mark a ROS-diff
CORE-4953 #resolve

svn path=/trunk/; revision=68275

8 years ago[NTOS:MM]
Thomas Faber [Fri, 26 Jun 2015 11:02:40 +0000 (11:02 +0000)]
[NTOS:MM]
- Do not request a page in MiAllocatePagesForMdl if no pages are available. Fixes kmtest:MmMdl.
CORE-9879 #resolve

svn path=/trunk/; revision=68274

8 years ago[NTOS:MM]
Thomas Faber [Fri, 26 Jun 2015 10:40:49 +0000 (10:40 +0000)]
[NTOS:MM]
- Mark the page as being on the standby list before dereferencing it in MmFreePagesFromMdl. Since the PFN is marked as deleted, MiDecrementReferenceCount will correctly insert it into the free list, but this is required to satisfy MiDecrementReferenceCount's sanity check.
CORE-9877 #resolve

svn path=/trunk/; revision=68273

8 years ago[DEVMGR]
Ged Murphy [Fri, 26 Jun 2015 08:45:49 +0000 (08:45 +0000)]
[DEVMGR]
- Add support for selecting any device when refreshing the view. This allows us to re-select a device after it's been enabled instead of collapsing the tree and losing track of what you did.
- Plug some memory leaks
- HeapAlloc -> new

svn path=/trunk/; revision=68272

8 years ago[KMTESTS:MM]
Thomas Faber [Fri, 26 Jun 2015 07:31:01 +0000 (07:31 +0000)]
[KMTESTS:MM]
- Add a test for MmAllocatePagesForMdl

svn path=/trunk/; revision=68271

8 years ago[VIDEOPRT]
Christoph von Wittich [Fri, 26 Jun 2015 06:14:15 +0000 (06:14 +0000)]
[VIDEOPRT]
export functions needed by gfx drivers
patch by Mike Nordell
CORE-9808

svn path=/trunk/; revision=68270

8 years ago[NTFS]
Pierre Schweitzer [Thu, 25 Jun 2015 20:51:30 +0000 (20:51 +0000)]
[NTFS]
In NtfsFindFileAt() directly print first entry value instead of its address

svn path=/trunk/; revision=68269

8 years ago[NTFS]
Pierre Schweitzer [Thu, 25 Jun 2015 20:49:40 +0000 (20:49 +0000)]
[NTFS]
Don't attempt to read the unnamed stream of the $DATA attribute of each file matching:
- We don't need such attribute later on
- In case there's no such unammed stream, finding the file fails, whereas the file really exist

This fixes (at least here) browsing Win7 NTFS system drives, where our driver was always failing on pagefile.sys

svn path=/trunk/; revision=68268

8 years ago[DEVMGR]
Ged Murphy [Thu, 25 Jun 2015 20:34:57 +0000 (20:34 +0000)]
[DEVMGR]
- When disabling a device, show the user a message box to confirm before disabling
- Some code cleanup

svn path=/trunk/; revision=68267

8 years ago[USETUP]
Eric Kohl [Thu, 25 Jun 2015 20:20:21 +0000 (20:20 +0000)]
[USETUP]
Remove obsolete restriction info.

svn path=/trunk/; revision=68266

8 years ago[DEVMGR]
Ged Murphy [Thu, 25 Jun 2015 18:59:23 +0000 (18:59 +0000)]
[DEVMGR]
- Add basic functionality for enabling and disabling devices. Make it accessible via the toolbar and main menu
- Implement checking whether a device has a problem and if a device can be uninstalled
- Implement getting, setting and removing device flags in the install params
- Fix creating and destroying the (currently empty) context menu

svn path=/trunk/; revision=68265

8 years ago[SHELL32]
Thomas Faber [Thu, 25 Jun 2015 14:04:02 +0000 (14:04 +0000)]
[SHELL32]
- Fix shell folder reference leak in _OpenDirectory.
CORE-9867

svn path=/trunk/; revision=68263

8 years ago[SHELL32]
Thomas Faber [Thu, 25 Jun 2015 12:57:03 +0000 (12:57 +0000)]
[SHELL32]
- Fix reference leak in SHLoadInProc

svn path=/trunk/; revision=68261

8 years ago[SHELL32]
Thomas Faber [Thu, 25 Jun 2015 12:51:38 +0000 (12:51 +0000)]
[SHELL32]
- Fix shell folder reference leak in SHGetFileInfoW
CORE-9867

svn path=/trunk/; revision=68260