reactos.git
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

8 years ago[NTOSKRNL]
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

8 years ago[USETUP]
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

8 years ago[GRMBL]: Fix build on *niks.
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

8 years ago[TOOLS_BIN2C]
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

8 years ago[NTFS]
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

8 years ago[HIDCLASS]
Christoph von Wittich [Wed, 24 Jun 2015 10:58:39 +0000 (10:58 +0000)]
[HIDCLASS]
fix a "formatting bug"

svn path=/trunk/; revision=68251

8 years ago[USBCCGP]
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

8 years ago[HIDCLASS]
Johannes Anderwald [Wed, 24 Jun 2015 10:13:15 +0000 (10:13 +0000)]
[HIDCLASS]
- fix a bug

svn path=/trunk/; revision=68249

8 years ago[ROSAUTOTEST]
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

8 years ago[ROSAUTOTEST]
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

8 years ago[CDFS]
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

8 years ago[NTOS:MM]
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

8 years ago[CDFS]
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

8 years ago[CMD][EXPLORER] Properly track resource file dependencies. CORE-9806
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

8 years ago[LIVECD] Add the required folder for the favorites menu to work. By Barrett Karish...
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

8 years ago[CDFS]
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

8 years ago[EXPLORER] Explicitly request applications to re-register their systray icons as...
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

8 years ago[USBEHCI]
Christoph von Wittich [Mon, 22 Jun 2015 10:00:00 +0000 (10:00 +0000)]
[USBEHCI]
fix some typos

svn path=/trunk/; revision=68236

8 years ago[USETUP]
Eric Kohl [Sun, 21 Jun 2015 20:18:23 +0000 (20:18 +0000)]
[USETUP]
UpdateDiskLayout:
- Resize the layout buffer if necessary.
- Start writing logical partitions to the disk.
- Disable the code that wipes unused table entries. May be enabled later.
Right now, you can only create one logical partition because the link entries are not created yet.

svn path=/trunk/; revision=68235

8 years ago[RTL][NDK][NTDLL_APITEST]
Thomas Faber [Sun, 21 Jun 2015 19:15:01 +0000 (19:15 +0000)]
[RTL][NDK][NTDLL_APITEST]
- Properly implement/declare/test RtlCopyMappedMemory... it's not that hard
CORE-9857

svn path=/trunk/; revision=68234

8 years ago[CDFS]
Pierre Schweitzer [Sun, 21 Jun 2015 16:47:23 +0000 (16:47 +0000)]
[CDFS]
Add a few sanity checks to our handling of ISO 9660 / Joliet:
- Null name entries are forbidden
- Degenerated entries (mistmaching sizes) reveal broken layout

In both cases, the lookup for a file is aborted and the CD considered as corrupted by the FSD.
explorer displays empty CDs then.

CORE-9254 #resolve #comment Fixed with r68233

svn path=/trunk/; revision=68233

8 years ago[RTL][NTDLL]
Thomas Faber [Sun, 21 Jun 2015 16:38:44 +0000 (16:38 +0000)]
[RTL][NTDLL]
- Add basic implementations of RtlApplicationVerifierStop and RtlCopyMappedMemory for the benefit of some Windows dlls
CORE-9857 CORE-9858 #resolve

svn path=/trunk/; revision=68232

8 years ago[CDFS]
Pierre Schweitzer [Sun, 21 Jun 2015 14:02:35 +0000 (14:02 +0000)]
[CDFS]
Remove redundant code now we have IRP context dispatch

svn path=/trunk/; revision=68231

8 years ago[TRANSLATION]
Daniel Reimer [Sun, 21 Jun 2015 11:20:39 +0000 (11:20 +0000)]
[TRANSLATION]
Updating Turkish Translation by Erdem Ersoy
CORE-9755 #resolve #comment Committed, thx ^^

svn path=/trunk/; revision=68230

8 years ago[FSLIB]
Eric Kohl [Sun, 21 Jun 2015 09:39:06 +0000 (09:39 +0000)]
[FSLIB]
Remove the HiddenSectors hack because usetup initializes the HiddenSectors value properly.

svn path=/trunk/; revision=68229

8 years ago[NTFS]
Pierre Schweitzer [Sun, 21 Jun 2015 09:26:15 +0000 (09:26 +0000)]
[NTFS]
CcInitializeCacheMap can raise exceptions, wrap it into a SEH block

svn path=/trunk/; revision=68228

8 years ago[NTOS:CC]
Thomas Faber [Sun, 21 Jun 2015 09:20:01 +0000 (09:20 +0000)]
[NTOS:CC]
- Raise an exception in case of failure in CcInitializeCacheMap
CORE-9848

svn path=/trunk/; revision=68227

8 years ago[USETUP]
Eric Kohl [Sun, 21 Jun 2015 08:55:43 +0000 (08:55 +0000)]
[USETUP]
UpdateDiskLayout:
- Set the proper HiddenSectors value.
- Fix counting the PartitonaNumber.
UpdatePartitionNumbers() has become obsolete. Remove it.

svn path=/trunk/; revision=68226

8 years ago[NTDLL_APITEST]
Thomas Faber [Sun, 21 Jun 2015 08:50:10 +0000 (08:50 +0000)]
[NTDLL_APITEST]
- Add a test for SystemFlagsInformation that demonstrates the parameter checks performed by NtQuerySystemInformation/NtSetSystemInformation
CORE-9849

svn path=/trunk/; revision=68225

8 years ago[NTOSKNRL]
Pierre Schweitzer [Sun, 21 Jun 2015 08:07:11 +0000 (08:07 +0000)]
[NTOSKNRL]
As shown by the non commited yet tests from Thomas, we have to check for privilege in NtSetSystemInformation - SystemFlagsInformation

svn path=/trunk/; revision=68224

8 years ago[NTOSKRNL]
Pierre Schweitzer [Sun, 21 Jun 2015 08:06:25 +0000 (08:06 +0000)]
[NTOSKRNL]
- Probe input buffer for read in NtSetSystemInformation() and call the helpers function in a PSEH block
- For the NtSetSytemInformation - SystemSessionCreate specific case, as we return session ID, probe for write directly there.

svn path=/trunk/; revision=68223

8 years ago[NTOSKRNL]
Pierre Schweitzer [Sun, 21 Jun 2015 05:46:38 +0000 (05:46 +0000)]
[NTOSKRNL]
Revert r68221: probing *should* be done in NtSetSystemInformation()
Let's check there why it's not done instead...

svn path=/trunk/; revision=68222

8 years ago[NTOSKRNL]
Pierre Schweitzer [Sun, 21 Jun 2015 05:40:15 +0000 (05:40 +0000)]
[NTOSKRNL]
Don't trust the user!
Probe buffers in NtSetSystemInformation - SystemSessionCreate and in NtSetSystemInformation - SystemSessionDetach

svn path=/trunk/; revision=68221

8 years ago[NTOSKRNL]
Pierre Schweitzer [Sun, 21 Jun 2015 05:33:53 +0000 (05:33 +0000)]
[NTOSKRNL]
Don't use SYSTEM_INFORMATION_CLASS definition from Wine but from NDK.
Fix naming accordingly

svn path=/trunk/; revision=68220

8 years ago[SHELL32]
Thomas Faber [Sun, 21 Jun 2015 05:30:20 +0000 (05:30 +0000)]
[SHELL32]
- Use CreateViewObject instead of QueryInterface to get a drop target from a shell folder.
CORE-9846

svn path=/trunk/; revision=68219

8 years ago[SHELL32]
Thomas Faber [Sun, 21 Jun 2015 05:21:30 +0000 (05:21 +0000)]
[SHELL32]
- Finally give up on that assert. It's not easily fixable
CORE-9839 or CORE-9844 or CORE-9845 or whatever

svn path=/trunk/; revision=68218

8 years ago[SHELL32]
Thomas Faber [Sun, 21 Jun 2015 04:56:38 +0000 (04:56 +0000)]
[SHELL32]
- Test your code, Arch! Fix another assertion failure.
CORE-9845 #resolve

svn path=/trunk/; revision=68217

8 years ago[NTVDM]
Aleksandar Andrejevic [Sun, 21 Jun 2015 02:36:20 +0000 (02:36 +0000)]
[NTVDM]
Begin upgrading the VGA emulation to SuperVGA emulation
(Cirrus Logic CL-GD5343 compatible).
This is still a WIP. So far only the VCLK and MCLK have been implemented.

svn path=/trunk/; revision=68216

8 years ago[SHELL32]
Thomas Faber [Sat, 20 Jun 2015 21:46:16 +0000 (21:46 +0000)]
[SHELL32]
- Fix assertion failure in 2nd stage by setting s_IsTerminated when an instance does not yet exist.
- Rename CComCreatorSingleton to CComCreatorCentralInstance since it's not /technically/ a singleton

svn path=/trunk/; revision=68215

8 years ago[USETUP]
Eric Kohl [Sat, 20 Jun 2015 18:17:03 +0000 (18:17 +0000)]
[USETUP]
DumpPartitionTable: Improve the output and print the partition start and length in sectors instead of bytes.

svn path=/trunk/; revision=68214

8 years ago[USETUP]
Eric Kohl [Sat, 20 Jun 2015 17:59:14 +0000 (17:59 +0000)]
[USETUP]
AddDiskToList: Fix the allocation of the disk layout buffer.

CORE-9821 #resolve #comment Please retest.

svn path=/trunk/; revision=68213

8 years ago[SHELL32]
Thomas Faber [Sat, 20 Jun 2015 17:52:28 +0000 (17:52 +0000)]
[SHELL32]
- Also make My Computer a singleton, as shown by the CMyComputer test. With r68210 and this commit, SHFileOperation on a large number of files is approximately 3 times as fast.
CORE-9839 #resolve

svn path=/trunk/; revision=68212

8 years ago[GRML]
Thomas Faber [Sat, 20 Jun 2015 17:04:27 +0000 (17:04 +0000)]
[GRML]
- Fix build

svn path=/trunk/; revision=68211

8 years ago[SHELL32]
Thomas Faber [Sat, 20 Jun 2015 16:54:52 +0000 (16:54 +0000)]
[SHELL32]
- Introduce a CComCreatorSingleton class and use it for CDesktopFolder. Multiple calls to SHGetDesktopFolder will now return the same instance, which provides a massive speedup in many shell operations.
CORE-9839

svn path=/trunk/; revision=68210

8 years ago[SHELL32_APITEST]
Thomas Faber [Sat, 20 Jun 2015 16:28:38 +0000 (16:28 +0000)]
[SHELL32_APITEST]
- Add a test for CLSID_MyComputer that shows this folder object is also cached.
CORE-9839

svn path=/trunk/; revision=68209

8 years ago[SHELL32]
Thomas Faber [Sat, 20 Jun 2015 15:23:25 +0000 (15:23 +0000)]
[SHELL32]
- Addendum to r68202
CORE-9839

svn path=/trunk/; revision=68208