reactos.git
8 years ago[NTVDM]: Add a write-protect ROM helper and use it when possible external ROMs are...
Hermès Bélusca-Maïto [Sat, 18 Jul 2015 23:46:22 +0000 (23:46 +0000)]
[NTVDM]: Add a write-protect ROM helper and use it when possible external ROMs are loaded.

svn path=/trunk/; revision=68419

8 years ago[NTVDM]
Hermès Bélusca-Maïto [Sat, 18 Jul 2015 19:45:37 +0000 (19:45 +0000)]
[NTVDM]
- Move some #defines into their correct headers.
- Fix some DPRINTs.
- Add missing DOS SYSVars values (memory-related), confirmed by DOS undocumented & FreeDOS.
- Implement INT 21h, AX=5700h and 5701h "Get/Set File last-written date & time".
- Implement INT 2Fh, AH=13h "Set Disk Interrupt Handler" chain support, which is an obscure functionality (to make story short: allows inserting disk filter drivers): see the comments inside the code (dos.c/dos.h) for more information.

svn path=/trunk/; revision=68418

8 years ago[NTVDM]
Hermès Bélusca-Maïto [Sat, 18 Jul 2015 00:48:38 +0000 (00:48 +0000)]
[NTVDM]
We don't support any PS/2 keyboard command for now. Just return ACKnowledge. This unblocks some programs that want to initialize the keyboard by sending keyboard commands and then performing polling on the port until "valid" data comes out. (unblocks e.g. DOS Mugen game, amongst others...).

svn path=/trunk/; revision=68415

8 years ago[FAST486]
Aleksandar Andrejevic [Tue, 14 Jul 2015 23:29:23 +0000 (23:29 +0000)]
[FAST486]
Combine FPREM and FPREM1 into one case.

svn path=/trunk/; revision=68400

8 years ago[FAST486]
Aleksandar Andrejevic [Tue, 14 Jul 2015 23:15:46 +0000 (23:15 +0000)]
[FAST486]
In FPREM and FPREM1, copy the lowest 3 bits of the quotient
into C1, C3 and C0 (in that order!).

svn path=/trunk/; revision=68399

8 years ago[MSPAINT_NEW]
Benedikt Freisen [Mon, 13 Jul 2015 14:46:41 +0000 (14:46 +0000)]
[MSPAINT_NEW]
Pasting a larger-than-current-canvas image now DOES resize the canvas.
(adapted from a patch by Gian Sass)
CORE-9674 #resolve #comment Fixed in r68398

svn path=/trunk/; revision=68398

8 years ago[NTVDM]: Fix compilation in STANDALONE mode.
Hermès Bélusca-Maïto [Mon, 13 Jul 2015 01:22:34 +0000 (01:22 +0000)]
[NTVDM]: Fix compilation in STANDALONE mode.
CORE-9823 #resolve #comment Fixed in r68396!

svn path=/trunk/; revision=68396

8 years ago[NTVDM]: Commit some local changes that can be committed now:
Hermès Bélusca-Maïto [Mon, 13 Jul 2015 01:21:46 +0000 (01:21 +0000)]
[NTVDM]: Commit some local changes that can be committed now:
- Whitespace fixes.
- Improve some DPRINTs.
- hardcoded_values--;
- Fix DisplayMessage() for NULL-terminated strings.
- Free the allocated block of memory in the mouse driver cleanup procedure.
- Properly inherit the parent process environment block if needed.
- Return the correct last error if DosCopyEnvironmentBlock fails.
- Big ifs turned into switch.
- Implement some INT 2Fh DOS multiplex functions (AX=1200h "Installation check", AX=1203h "Get DOS data segment", AX=1214h "Compare FAR pointers", AX=122Fh "Set DOS version to return"); remove the DPRINT for AX=1680h "Release Current Virtual Machine Time-slice".
- Stubplement INT 2Ah "DOS critical sections / network" (it just monitors calls to itself at the moment).
- Use the boot drive root path as the current directory if we failed retrieving a valid one.
- Offsetize the DOS_SYSVARS members (so that I don't have to compute by head the offsets, especially when some of the members is a structure from which I don't know in advance its size); add some C_ASSERTs on the size of DOS standard structures.
- Move the NullDriverRoutine buffer outside the sysvars buffer (because it has nothing to do inside it).
- In ConDrvReadInput: do not echo the first part of an extended character.
- Add basic support for changing the reported DosVersion.

svn path=/trunk/; revision=68395

8 years ago[NETCFGX]
Eric Kohl [Sun, 12 Jul 2015 21:49:10 +0000 (21:49 +0000)]
[NETCFGX]
- Initialize the 'IP Address' and 'Gateway Address' edit dialogs properly.
- OK pushbuttons are default pushbuttons.

svn path=/trunk/; revision=68394

8 years ago[NTDLL_APITEST]
Thomas Faber [Sun, 12 Jul 2015 17:52:42 +0000 (17:52 +0000)]
[NTDLL_APITEST]
- Add test for SystemKernelDebuggerInformation, showing that it accepts an unaligned info pointer

svn path=/trunk/; revision=68393

8 years ago[NETCFGX]
Eric Kohl [Sun, 12 Jul 2015 17:16:35 +0000 (17:16 +0000)]
[NETCFGX]
Enable the 'Edit...' and 'Remove' buttons on the Advanced IP Settings dialog only if the 'IP addresses' and 'Dafault gateways' lists are not empty.

svn path=/trunk/; revision=68392

8 years ago[NTDLL_APITEST]
Thomas Faber [Sun, 12 Jul 2015 08:53:40 +0000 (08:53 +0000)]
[NTDLL_APITEST]
- Add some tests for NtQuerySystemInformation with invalid info class

svn path=/trunk/; revision=68391

8 years ago[NTOSKRNL]
Christoph von Wittich [Sun, 12 Jul 2015 08:20:13 +0000 (08:20 +0000)]
[NTOSKRNL]
NtQuerySystemInformation: check for correct alignment

svn path=/trunk/; revision=68390

8 years ago[RTL]
Christoph von Wittich [Sat, 11 Jul 2015 13:47:22 +0000 (13:47 +0000)]
[RTL]
sync compression functions with wine

svn path=/trunk/; revision=68389

8 years ago[USETUP]
Eric Kohl [Sat, 11 Jul 2015 12:40:34 +0000 (12:40 +0000)]
[USETUP]
Show an error message if formatting a partition fails.
Based on patch by mna.
CORE-7969 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=68388

8 years ago[KERNEL32]: Fix GCC build.
Hermès Bélusca-Maïto [Sat, 11 Jul 2015 00:29:01 +0000 (00:29 +0000)]
[KERNEL32]: Fix GCC build.

svn path=/trunk/; revision=68387

8 years ago[NDK][KERNEL32][LIBCNTPR]
Hermès Bélusca-Maïto [Sat, 11 Jul 2015 00:18:30 +0000 (00:18 +0000)]
[NDK][KERNEL32][LIBCNTPR]
Add RtlAnsiCharToUnicodeChar prototype inside NDK.

[NDK][NTVDM]
Add few missing RTL bitmap prototypes.

svn path=/trunk/; revision=68386

8 years ago[KERNEL32]: Whitespace fix; remove useless FIELD_OFFSET definition since we have...
Hermès Bélusca-Maïto [Sat, 11 Jul 2015 00:02:59 +0000 (00:02 +0000)]
[KERNEL32]: Whitespace fix; remove useless FIELD_OFFSET definition since we have it in the standard (*DK) headers.

svn path=/trunk/; revision=68385

8 years ago[KERNEL32]
Hermès Bélusca-Maïto [Fri, 10 Jul 2015 23:57:26 +0000 (23:57 +0000)]
[KERNEL32]
Since CsrClientCallServer returns the value of ApiMessage.Status, then just use ApiMessage.Status instead of declaring another Status variable for querying the return value of CsrClientCallServer (continuation of r62460).

svn path=/trunk/; revision=68384

8 years ago[MSPAINT_NEW] use the same hard-coded observer pattern for the SelectionModel (WIP)
Benedikt Freisen [Thu, 9 Jul 2015 18:48:42 +0000 (18:48 +0000)]
[MSPAINT_NEW] use the same hard-coded observer pattern for the SelectionModel (WIP)

svn path=/trunk/; revision=68383

8 years ago[MSPAINT_NEW] refactoring: move selection management to a dedicated SelectionModel...
Benedikt Freisen [Thu, 9 Jul 2015 09:48:01 +0000 (09:48 +0000)]
[MSPAINT_NEW] refactoring: move selection management to a dedicated SelectionModel (WIP)

svn path=/trunk/; revision=68382

8 years ago[ATL]
Ged Murphy [Thu, 9 Jul 2015 08:18:24 +0000 (08:18 +0000)]
[ATL]
- Add the IAtlMemMgr interface
- Add a basic implementation of CWin32Heap which just implements the base IAtlMemMgr
- Required for CAtlString / CAtlStringMgr (coming later)

svn path=/trunk/; revision=68381

8 years ago[ATL]
Ged Murphy [Thu, 9 Jul 2015 07:51:43 +0000 (07:51 +0000)]
[ATL]
- Add basic support for CAtlList, CAtlPlex, CElementTraitsBase, CDefaultCompareTraits.
- Implements CAtlList::IsEmpty, ::GetHeadPosition, ::GetNext, ::AddTail, ::RemoveTail, ::RemoveAll
- Required in the new devmgr code.

svn path=/trunk/; revision=68380

8 years ago[DEV[DEVMGR]
Ged Murphy [Wed, 8 Jul 2015 06:43:16 +0000 (06:43 +0000)]
[DEV[DEVMGR]
- Use the correct HINSTANCE in the dll. Fixes loading strings for tooltips, etc.
- Rename CMainWindow to CDeviceManager
- Fixup the decelerations and add missing SAL decoration

svn path=/trunk/; revision=68378

8 years ago[NTVDM]
Hermès Bélusca-Maïto [Tue, 7 Jul 2015 23:51:57 +0000 (23:51 +0000)]
[NTVDM]
- Add few remaining members to the SYSVARS list.
- Implement retrieving the (DOS) boot drive (by using the host boot drive letter from %SYSTEMDRIVE%).
Should fix Win3.11 and MSD 2.0+ boot drive retrieval.

svn path=/trunk/; revision=68377

8 years agoMinor code cleanup
Ged Murphy [Tue, 7 Jul 2015 20:33:54 +0000 (20:33 +0000)]
Minor code cleanup

svn path=/trunk/; revision=68376

8 years ago[SHELL32_WINETEST]
Thomas Faber [Tue, 7 Jul 2015 13:44:32 +0000 (13:44 +0000)]
[SHELL32_WINETEST]
- Sync shfldr_special.c and shlview.c with Wine. Fixes some shell folder reference leaks.
CORE-9867

svn path=/trunk/; revision=68374

8 years ago[DEVMGR]
Ged Murphy [Tue, 7 Jul 2015 12:51:45 +0000 (12:51 +0000)]
[DEVMGR]
Start to fixup and merge the resources. English only at the moment

svn path=/trunk/; revision=68373

8 years ago[MSPAINT_NEW] turn the history into an ImageModel
Benedikt Freisen [Tue, 7 Jul 2015 11:56:37 +0000 (11:56 +0000)]
[MSPAINT_NEW] turn the history into an ImageModel

svn path=/trunk/; revision=68372

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