Pierre Schweitzer [Sun, 5 Jul 2015 19:09:20 +0000 (19:09 +0000)]
[ARF]
Fix build(tm)
svn path=/trunk/; revision=68350
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
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
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
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
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
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
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
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
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
Eric Kohl [Sat, 4 Jul 2015 16:10:50 +0000 (16:10 +0000)]
[USETUP]
Assign the HiddenSectors values properly.
svn path=/trunk/; revision=68340
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
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
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
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
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
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
Johannes Anderwald [Thu, 2 Jul 2015 15:40:49 +0000 (15:40 +0000)]
[DDK]
- add missing PcUnregisterAdapterPowerManagement
svn path=/trunk/; revision=68332
Johannes Anderwald [Thu, 2 Jul 2015 15:35:19 +0000 (15:35 +0000)]
[PORTCLS]
- implement & export PcUnregisterAdapterPowerManagement
svn path=/trunk/; revision=68331
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
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
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
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
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
Johannes Anderwald [Tue, 30 Jun 2015 19:06:36 +0000 (19:06 +0000)]
[HDAUDBUS]
- fix small bug
svn path=/trunk/; revision=68325
Johannes Anderwald [Tue, 30 Jun 2015 12:37:39 +0000 (12:37 +0000)]
[HDAUDBUS]
- interface stub
svn path=/trunk/; revision=68321
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
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
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
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
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
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
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
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
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
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
Pierre Schweitzer [Sun, 28 Jun 2015 21:26:19 +0000 (21:26 +0000)]
[NTFS]
Simplify the implementation of NtfsGetFileSize()
svn path=/trunk/; revision=68310
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
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
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
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
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
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
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
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
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
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
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
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
Christoph von Wittich [Sat, 27 Jun 2015 19:30:17 +0000 (19:30 +0000)]
fix a typo
svn path=/trunk/; revision=68296
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Amine Khaldi [Fri, 26 Jun 2015 16:44:31 +0000 (16:44 +0000)]
[DDK] Annotate hdaudio.h. CORE-9882
svn path=/trunk/; revision=68279
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
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
Johannes Anderwald [Fri, 26 Jun 2015 14:42:09 +0000 (14:42 +0000)]
[DDK]
- add hdaudio.h
svn path=/trunk/; revision=68276
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
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
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
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
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
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
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
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
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
Eric Kohl [Thu, 25 Jun 2015 20:20:21 +0000 (20:20 +0000)]
[USETUP]
Remove obsolete restriction info.
svn path=/trunk/; revision=68266
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
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
Thomas Faber [Thu, 25 Jun 2015 12:57:03 +0000 (12:57 +0000)]
[SHELL32]
- Fix reference leak in SHLoadInProc
svn path=/trunk/; revision=68261
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
Eric Kohl [Wed, 24 Jun 2015 20:22:19 +0000 (20:22 +0000)]
[NTOSKRNL]
xHalIoReadPartitionTable: Do not return a valid partiton number for container partitions.
svn path=/trunk/; revision=68258
Eric Kohl [Wed, 24 Jun 2015 20:06:33 +0000 (20:06 +0000)]
[USETUP]
- ReAllocateLayoutBuffer: Write all new partition table entries to the disk.
- UpdateDiskLayout:
- Create link entries for logical partitions.
- Wipe unused logical partiton table entries.
svn path=/trunk/; revision=68257
Hermès Bélusca-Maïto [Wed, 24 Jun 2015 20:00:23 +0000 (20:00 +0000)]
[GRMBL]: Fix build on *niks.
svn path=/trunk/; revision=68256
Hermès Bélusca-Maïto [Wed, 24 Jun 2015 19:54:19 +0000 (19:54 +0000)]
[TOOLS_BIN2C]
- Fix a GCC warning (error on Macs) concerning the printf "%Iu" specifier.
- To make sure data included by bin2c, that need to be interpreted as a (long) string, is correctly NULL-terminated, introduce an output format called "STR": this creates a long character array using the "\xXX" format.
- To circumvent a silly limitation of MSVC (all versions?) about the maximum length (65535 bytes) of a char string (aka. char MyArray[] = "...my_long_string...";), introduced yet another output format called "BINSTR" which creates an array of bytes that is NULL-terminated (aka. char MyArray[] = {0xde, 0xad, 0xbe, 0xef, 0x00};).
- Finally, the output format "BIN" is the regular bin2c format (simple array of bytes).
[HAL_PCIDATA][FREELDR_INSTALL]
Use the above-described functionality (for HAL_PCIDATA, use BINSTR format because the PciVendors data is otherwise too large to be stored in "char_string" format).
svn path=/trunk/; revision=68255
Pierre Schweitzer [Wed, 24 Jun 2015 19:21:04 +0000 (19:21 +0000)]
[NTFS]
- Bail out if no subnode is available
- It's unimplemented if subnodes are available
svn path=/trunk/; revision=68254
Christoph von Wittich [Wed, 24 Jun 2015 10:58:39 +0000 (10:58 +0000)]
[HIDCLASS]
fix a "formatting bug"
svn path=/trunk/; revision=68251
Thomas Faber [Wed, 24 Jun 2015 10:31:50 +0000 (10:31 +0000)]
[USBCCGP]
- Reset FunctionDescriptorCount to zero in USBCCGP_LegacyEnum since the function can be called multiple times
CORE-9226
svn path=/trunk/; revision=68250
Johannes Anderwald [Wed, 24 Jun 2015 10:13:15 +0000 (10:13 +0000)]
[HIDCLASS]
- fix a bug
svn path=/trunk/; revision=68249
Thomas Faber [Tue, 23 Jun 2015 10:06:38 +0000 (10:06 +0000)]
[ROSAUTOTEST]
- Flush cout after each write as already done by Colin in r66855, per ROSTESTS-158
- Use DbgPrint instead of OutputDebugStringA again because the latter only calls the former anyway
Fixes test summary lines not being recognized by Testman, especially on VMware.
A little summary so we don't keep going back and forth with this function:
1) Only writing complete lines is required to that the output doesn't mix with debug output from other components. See r55618
2) OutputDebugStringA splits its input into 512-byte-sized blocks with no regard for line breaks, so using it with strings larger than 512 bytes breaks (1).
3) OutputDebugStringA eventually calls DbgPrint("%s", string) anyway so using it with chunks smaller than 512 bytes is not an optimization
As a result, yes this function MUST split up the lines itself, this can't be optimized or simplified away! kthxbye
ROSTESTS-178 #resolve
svn path=/trunk/; revision=68246
Thomas Faber [Tue, 23 Jun 2015 09:54:46 +0000 (09:54 +0000)]
[ROSAUTOTEST]
- Revert r66855 to make the upcoming commit's diff show my actual changes.
ROSTESTS-178 ROSTESTS-158
svn path=/trunk/; revision=68245
Pierre Schweitzer [Tue, 23 Jun 2015 06:54:44 +0000 (06:54 +0000)]
[CDFS]
In case of directory enumeration, validate the record earlier to really prevent any potentiel buffer overflow
CORE-9254
svn path=/trunk/; revision=68244
Thomas Faber [Mon, 22 Jun 2015 20:47:56 +0000 (20:47 +0000)]
[NTOS:MM]
- Print some debug information before asserting in MiRosUnmapViewOfSection.
CORE-9865
svn path=/trunk/; revision=68243
Pierre Schweitzer [Mon, 22 Jun 2015 18:42:56 +0000 (18:42 +0000)]
[CDFS]
Prevent code duplication by making CdfsGetEntryName() call CdfsGetDirEntryName() which is now available driver-wide
svn path=/trunk/; revision=68242
Amine Khaldi [Mon, 22 Jun 2015 18:39:14 +0000 (18:39 +0000)]
[CMD][EXPLORER] Properly track resource file dependencies. CORE-9806
svn path=/trunk/; revision=68241
Amine Khaldi [Mon, 22 Jun 2015 18:33:49 +0000 (18:33 +0000)]
[LIVECD] Add the required folder for the favorites menu to work. By Barrett Karish. CORE-9780
svn path=/trunk/; revision=68240
Pierre Schweitzer [Mon, 22 Jun 2015 17:27:47 +0000 (17:27 +0000)]
[CDFS]
Revamp r68233:
- Don't duplicate code, implement checks in a helper function
- When checking name content, do it earlier for better performances
- Add extra checks to prevent a potential buffer overflow in case of Joliet names with illformed entries
CORE-9254
svn path=/trunk/; revision=68239
Amine Khaldi [Mon, 22 Jun 2015 16:01:43 +0000 (16:01 +0000)]
[EXPLORER] Explicitly request applications to re-register their systray icons as soon as explorer is started. By Joachim Henze. CORE-9824
svn path=/trunk/; revision=68238
Christoph von Wittich [Mon, 22 Jun 2015 10:00:00 +0000 (10:00 +0000)]
[USBEHCI]
fix some typos
svn path=/trunk/; revision=68236