Commit graph

62832 commits

Author SHA1 Message Date
Johannes Anderwald d2374e8208 [PORTCLS]
- implement & export PcUnregisterAdapterPowerManagement

svn path=/trunk/; revision=68331
2015-07-02 15:35:19 +00:00
Johannes Anderwald 0c4a5a1f46 [HDAUDBUS]
- partly implement HDA_TransferCodecVerbs
- stubplement HDAUDIO_BUS_INTERFACE_V2
- silence traces

svn path=/trunk/; revision=68330
2015-07-02 11:07:39 +00:00
Pierre Schweitzer ed161d747f [NTFS_TEST]
No need for such test anylonger, we have NTFSInfo now which is better :-)

svn path=/trunk/; revision=68329
2015-07-01 11:17:22 +00:00
Johannes Anderwald a5e2945149 [PORTCLS]
- check if there are enough irp stack locations

svn path=/trunk/; revision=68328
2015-07-01 07:39:35 +00:00
Pierre Schweitzer edae2b9bfb [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
2015-06-30 21:24:03 +00:00
Pierre Schweitzer 1c3c66afa4 [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
2015-06-30 21:03:55 +00:00
Johannes Anderwald 5b284d6338 [HDAUDBUS]
- fix small bug

svn path=/trunk/; revision=68325
2015-06-30 19:06:36 +00:00
Johannes Anderwald c3b021b163 [HDAUDBUS]
- interface stub

svn path=/trunk/; revision=68321
2015-06-30 12:37:39 +00:00
Johannes Anderwald a91363bc5d [HDAUDBUS]
- move code
- set FILE_AUTOGENERATED_DEVICE_NAME for pdos. Hint by ThFabba
- driver now gets further

svn path=/trunk/; revision=68320
2015-06-30 11:36:52 +00:00
Thomas Faber 6faf4f830e [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
2015-06-30 11:34:34 +00:00
Thomas Faber df14063ebc [KMTESTS:MM]
- Fix some massive NP pool leakage.

svn path=/trunk/; revision=68318
2015-06-30 10:54:41 +00:00
Johannes Anderwald 38d324f824 [HDAUDBUS]
- forward start device irp to lower device. Hint by ThFabba
- implement BusQueryCompatibleIDs

svn path=/trunk/; revision=68317
2015-06-30 10:16:41 +00:00
Pierre Schweitzer eacb96fe2c [BROWSEUI]
Revert r68305 per Christoph's request

svn path=/trunk/; revision=68316
2015-06-29 20:40:12 +00:00
Eric Kohl d25d5b8cec [NTOSKRNL]
Fix CmpDestroyHiveViewList adding checks for empty lists.

Thank you very much Thomas!

svn path=/trunk/; revision=68315
2015-06-29 20:29:19 +00:00
Eric Kohl 9826966d55 [NTOSKRNL]
Disable code in CmpDestroyHiveViewList(). Needs more testing!

svn path=/trunk/; revision=68314
2015-06-29 18:50:18 +00:00
Eric Kohl 3a7d34ee38 [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
2015-06-29 18:26:56 +00:00
Johannes Anderwald 223bd478e0 [HDAUDBUS]
- add driver inf
- fix build for gcc builds

svn path=/trunk/; revision=68312
2015-06-29 17:10:04 +00:00
Johannes Anderwald cf7fc816a1 [HDAUDBUS]
- start implementing HDAUDIO Bus driver 
- based heavily on Haiku exellent driver 

svn path=/trunk/; revision=68311
2015-06-29 17:03:33 +00:00
Pierre Schweitzer 7b665169ed [NTFS]
Simplify the implementation of NtfsGetFileSize()

svn path=/trunk/; revision=68310
2015-06-28 21:26:19 +00:00
Pierre Schweitzer a45dcb0d07 [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
2015-06-28 21:16:03 +00:00
Pierre Schweitzer 296712e3fa [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
2015-06-28 20:55:29 +00:00
Eric Kohl 7c3f4c94a4 [USETUP]
Restrict valid characters of the install path to:
- Letters
- Digits
- Dots (.)
- Backslashes (\)
- Dashes (-)
- Underscores (_)

CORE-6179 #resolve

svn path=/trunk/; revision=68307
2015-06-28 19:06:07 +00:00
Hermès Bélusca-Maïto 0bc85fb9f3 [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
2015-06-28 18:52:51 +00:00
Christoph von Wittich 143664a895 [BROWSEUI]
don't expose some interfaces
expose IID_IContextMenu3 from CBandSiteMenu

svn path=/trunk/; revision=68305
2015-06-28 18:22:02 +00:00
Eric Kohl 2423b35126 [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
2015-06-28 15:41:18 +00:00
Pierre Schweitzer fbff7e0e47 [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
2015-06-28 13:14:07 +00:00
Christoph von Wittich ec8ef644e3 [KERNEL32]
warn about unimplemented MB_ERR_INVALID_CHARS case

svn path=/trunk/; revision=68301
2015-06-28 13:06:43 +00:00
Christoph von Wittich f399e4f3e4 [KERNEL32]
return the thread ansicodepage when no ansicodepage exists for a specific lcid in CP_THREAD_ACP case

svn path=/trunk/; revision=68300
2015-06-28 12:34:01 +00:00
Christoph von Wittich 9ea5cf5ae9 [KERNEL32]
replace WideCharToUtf7 with wine version

svn path=/trunk/; revision=68299
2015-06-28 10:21:52 +00:00
Hermès Bélusca-Maïto 159d2fcc05 [SHELL32]:Add SmartCard icon from Tango; patch by Lee Schroeder.
CORE-9888 #resolve

svn path=/trunk/; revision=68298
2015-06-28 10:05:56 +00:00
Christoph von Wittich 469292197b [KERNEL32]
replace Utf7ToWideChar with wine version

svn path=/trunk/; revision=68297
2015-06-28 09:00:03 +00:00
Christoph von Wittich 6caacf4e1a fix a typo
svn path=/trunk/; revision=68296
2015-06-27 19:30:17 +00:00
Eric Kohl 3507ef2ac6 [NTOSKRNL]
Implement NtUnloadKey2. TODO: Destroy the unlinked hive.
CORE-3094

svn path=/trunk/; revision=68295
2015-06-27 19:26:12 +00:00
Amine Khaldi bc5c68db6d [KBSWITCH] Improve mouse events handling. By Joachim Henze. CORE-9883
svn path=/trunk/; revision=68294
2015-06-27 17:15:38 +00:00
Amine Khaldi 50991778f3 [DESK] Use pixels instead of Pixel. By Jared Smudde. CORE-9738
svn path=/trunk/; revision=68293
2015-06-27 17:09:04 +00:00
Pierre Schweitzer 9c3630ca79 [NTFS]
When dumping attributes, also dump attributes from the $ATTRIBUTE_LIST if present

svn path=/trunk/; revision=68291
2015-06-27 15:06:25 +00:00
Pierre Schweitzer c1f1ff059c [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
2015-06-27 13:40:05 +00:00
Amine Khaldi a011fa9bc5 [DEVMGMT] Free this module from the devil. Addendum to r68185. Spotted by fox_anthony.
svn path=/trunk/; revision=68289
2015-06-27 13:05:01 +00:00
Thomas Faber c8c9e7d157 [NTOS:KE]
- Fix a typo in KiGetCacheInformation. Spotted by Mike.

svn path=/trunk/; revision=68287
2015-06-27 10:58:32 +00:00
Pierre Schweitzer fc363d1f59 [NTFS]
Dump available streams (if any!) in case unnamed stream isn't available when trying to read a file

svn path=/trunk/; revision=68286
2015-06-27 09:04:39 +00:00
Pierre Schweitzer 950f284f09 [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
2015-06-27 08:55:34 +00:00
Amine Khaldi 78f1c4a361 [USERENV] Add %HOMEDRIVE% and %HOMEPATH% environment variables. Brought to you by Radek Liška. CORE-9875
svn path=/trunk/; revision=68284
2015-06-26 18:59:25 +00:00
Amine Khaldi ea61881cf9 [SHELL32] Get the Run dialog icon from shell32. By Jared Smudde. CORE-9837
svn path=/trunk/; revision=68283
2015-06-26 18:32:57 +00:00
Amine Khaldi 26878eaacf [MSIEXEC][RUNONCE][WINLOGON] Properly track resource file dependencies. CORE-9806
svn path=/trunk/; revision=68282
2015-06-26 18:04:31 +00:00
Amine Khaldi dd49d4d4a9 [IEFRAME] Add some missing quotes to ieframe.rc. NFC. Spotted by Jared Smudde. CORE-9843
svn path=/trunk/; revision=68281
2015-06-26 17:33:45 +00:00
Amine Khaldi ddbc58e7bd [KBSWITCH] Re-register the systray icon after explorer restart. By Joachim Henze. CORE-9869
svn path=/trunk/; revision=68280
2015-06-26 17:18:26 +00:00
Amine Khaldi 1c88ff2f14 [DDK] Annotate hdaudio.h. CORE-9882
svn path=/trunk/; revision=68279
2015-06-26 16:44:31 +00:00
Amine Khaldi 5703a3911d [DDK] Bring hdaudio.h to DDK formatting. NFC.
svn path=/trunk/; revision=68278
2015-06-26 16:32:40 +00:00
Amine Khaldi ef406986cb [DDK] Explicitly mark the function pointers as NTAPI. CORE-9882
svn path=/trunk/; revision=68277
2015-06-26 16:20:37 +00:00
Johannes Anderwald e95016183a [DDK]
- add hdaudio.h

svn path=/trunk/; revision=68276
2015-06-26 14:42:09 +00:00