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

8 years ago[USETUP]
Eric Kohl [Sat, 20 Jun 2015 13:42:39 +0000 (13:42 +0000)]
[USETUP]
Add support for logical partitions to the partition deletion code.

svn path=/trunk/; revision=68207

8 years ago[REACTOS][VMWINST][WELCOME] Properly track resource file dependencies. CORE-9806
Amine Khaldi [Sat, 20 Jun 2015 13:03:46 +0000 (13:03 +0000)]
[REACTOS][VMWINST][WELCOME] Properly track resource file dependencies. CORE-9806

svn path=/trunk/; revision=68206

8 years ago[MMSYS] Move the speaker bitmap up 5 pixels. By Jared Smudde. CORE-9790
Amine Khaldi [Sat, 20 Jun 2015 13:02:14 +0000 (13:02 +0000)]
[MMSYS] Move the speaker bitmap up 5 pixels. By Jared Smudde. CORE-9790

svn path=/trunk/; revision=68205

8 years ago[BROWSEUI] Make the view->go to menu items reflect the toolbar buttons status. By...
Amine Khaldi [Sat, 20 Jun 2015 12:59:55 +0000 (12:59 +0000)]
[BROWSEUI] Make the view->go to menu items reflect the toolbar buttons status. By Barrett Karish with some slight changes by me. CORE-9800

svn path=/trunk/; revision=68204

8 years ago[ATL]
Thomas Faber [Sat, 20 Jun 2015 12:08:13 +0000 (12:08 +0000)]
[ATL]
- Implement CComClassFactorySingleton

svn path=/trunk/; revision=68203

8 years ago[SHELL32]
Thomas Faber [Sat, 20 Jun 2015 10:26:22 +0000 (10:26 +0000)]
[SHELL32]
- Separate CDesktopFolder's IDropTarget out into its own class (since each caller needs its own instance)
CORE-9839

svn path=/trunk/; revision=68202

8 years ago[ATL]
Thomas Faber [Sat, 20 Jun 2015 09:22:55 +0000 (09:22 +0000)]
[ATL]
- Fix compilation when UNICODE is not defined
CORE-9258 #resolve

svn path=/trunk/; revision=68201

8 years ago[SHELL32_APITEST]
Thomas Faber [Sat, 20 Jun 2015 09:07:29 +0000 (09:07 +0000)]
[SHELL32_APITEST]
- Add a test showing that repeated calls to SHGetDesktopFolder return pointers to the same object, and that its CreateViewObject method instead creates new objects.
CORE-9839

svn path=/trunk/; revision=68200

8 years ago[APITESTS]
Thomas Faber [Sat, 20 Jun 2015 08:51:07 +0000 (08:51 +0000)]
[APITESTS]
- Make CUnknownBase constructor parameters optional

svn path=/trunk/; revision=68199

8 years ago[ROSAPPS]: Merge the two existing CATs into one and improve it (see r66942, r66989...
Hermès Bélusca-Maïto [Fri, 19 Jun 2015 22:38:34 +0000 (22:38 +0000)]
[ROSAPPS]: Merge the two existing CATs into one and improve it (see r66942, r66989 and r66990).

svn path=/trunk/; revision=68198

8 years ago[USETUP]
Eric Kohl [Fri, 19 Jun 2015 19:01:39 +0000 (19:01 +0000)]
[USETUP]
Implement CreateLogicalPartition. Now we can create logical partitons, but they will not be written to a disk yet.

svn path=/trunk/; revision=68197

8 years ago[ADVAPI32]
Thomas Faber [Fri, 19 Jun 2015 18:16:27 +0000 (18:16 +0000)]
[ADVAPI32]
- Use a separate heap allocation for the thread parameters to ScServiceMainStub, since the thread can live longer than the ACTIVE_SERVICE structure
CORE-9235

svn path=/trunk/; revision=68196

8 years ago[WIN32K:NTUSER]
Thomas Faber [Thu, 18 Jun 2015 15:45:32 +0000 (15:45 +0000)]
[WIN32K:NTUSER]
- Restructure co_UserProcessHotKeys to correctly process modifier-only hotkeys. Fixes start menu opening after Win+X shortcuts, and probably several other hotkey-related issues. Thanks to reactosfanboy.
CORE-9728 #resolve

svn path=/trunk/; revision=68190

8 years ago[USER32_APITEST]
Thomas Faber [Thu, 18 Jun 2015 14:02:55 +0000 (14:02 +0000)]
[USER32_APITEST]
- Arch, will you stop only testing your code with MSVC?!

svn path=/trunk/; revision=68189

8 years ago[USER32_APITEST]
Thomas Faber [Thu, 18 Jun 2015 13:59:51 +0000 (13:59 +0000)]
[USER32_APITEST]
- Fail if we get too many WM_HOTKEY messages
CORE-9728

svn path=/trunk/; revision=68188

8 years ago[INCLUDE]
Thomas Faber [Thu, 18 Jun 2015 13:45:17 +0000 (13:45 +0000)]
[INCLUDE]
- Fix undocshell.h build without UNICODE defined

svn path=/trunk/; revision=68187

8 years ago[USER32_APITEST]
Thomas Faber [Thu, 18 Jun 2015 13:41:52 +0000 (13:41 +0000)]
[USER32_APITEST]
- Add a simple test for RegisterHotKey with regular vs modifier-only hotkeys
CORE-9728

svn path=/trunk/; revision=68186

8 years ago[DEVMGR]
Ged Murphy [Thu, 18 Jun 2015 13:08:11 +0000 (13:08 +0000)]
[DEVMGR]
- Add tooltips for the toolbar
- Fix the 'disable' button not showing for devices that be disabled
- Some code cleanup / noise

svn path=/trunk/; revision=68185

8 years ago[DEVMGR]
Ged Murphy [Thu, 18 Jun 2015 11:02:52 +0000 (11:02 +0000)]
[DEVMGR]
- Add support for WM_ENTERMENULOOP/WM_EXITMENULOOP and update the status bar style to allow hints to be drawn
- Fixup the menu hints

svn path=/trunk/; revision=68184

8 years ago[SHELL32] Add printer icons. By Lee Schroeder. CORE-9829
Amine Khaldi [Thu, 18 Jun 2015 10:48:00 +0000 (10:48 +0000)]
[SHELL32] Add printer icons. By Lee Schroeder. CORE-9829

svn path=/trunk/; revision=68183

8 years ago[DEVMGR]
Ged Murphy [Thu, 18 Jun 2015 10:26:30 +0000 (10:26 +0000)]
[DEVMGR]
- In 'Devices by Connection, if a device has a problem, expand the treeview to to show that problem device.
- Add a missing break in WM_COMMAND to stop the app from closing
- Fix clearing the lists

svn path=/trunk/; revision=68182

8 years ago[NTVDM]: Implement INT 10h, AX=1018/1019 "Set/Get PEL Mask".
Hermès Bélusca-Maïto [Wed, 17 Jun 2015 23:21:12 +0000 (23:21 +0000)]
[NTVDM]: Implement INT 10h, AX=1018/1019 "Set/Get PEL Mask".

svn path=/trunk/; revision=68181

8 years ago[DEVMGR]
Ged Murphy [Wed, 17 Jun 2015 21:26:42 +0000 (21:26 +0000)]
[DEVMGR]
- Make class and device nodes polymorphic and move the code into separate files
- Add an abstract base class which we attach to the listview nodes
- Add double clicking of nodes

svn path=/trunk/; revision=68180

8 years ago[CDFS]
Pierre Schweitzer [Wed, 17 Jun 2015 20:33:08 +0000 (20:33 +0000)]
[CDFS]
Don't attempt to complete an IRP that was took over by FsRtl.

CORE-9777 #resolve #comment Fixed in r68179

svn path=/trunk/; revision=68179

8 years ago[CDFS] Update the file paths in the header blocks. NFC
Amine Khaldi [Wed, 17 Jun 2015 20:27:52 +0000 (20:27 +0000)]
[CDFS] Update the file paths in the header blocks. NFC

svn path=/trunk/; revision=68178

8 years ago[NDK]
Pierre Schweitzer [Wed, 17 Jun 2015 20:07:44 +0000 (20:07 +0000)]
[NDK]
Fix KNODE definition, to be compatible with w2k3.

Thanks to Thomas for his help.

svn path=/trunk/; revision=68177

8 years ago[SHELL32] Report file system changes in SHChangeNotifyRegister. Brought to you by...
Amine Khaldi [Wed, 17 Jun 2015 19:55:43 +0000 (19:55 +0000)]
[SHELL32] Report file system changes in SHChangeNotifyRegister. Brought to you by Huw Campbell. CORE-1171

svn path=/trunk/; revision=68176

8 years ago[FASTFAT]
Thomas Faber [Wed, 17 Jun 2015 19:19:39 +0000 (19:19 +0000)]
[FASTFAT]
- Set the correct length in FsdGetFsVolumeInformation/FsdGetFsAttributeInformation, and write back partial data when returning STATUS_BUFFER_OVERFLOW
- Replace unnecessary checks with ASSERTs
CORE-9820 #resolve

svn path=/trunk/; revision=68175

8 years ago[SHELL32] Fix IDI_SHELL_EXTENDED_PROPERTIES, use the icons 6 and 7 for floppy drive...
Amine Khaldi [Wed, 17 Jun 2015 18:30:14 +0000 (18:30 +0000)]
[SHELL32] Fix IDI_SHELL_EXTENDED_PROPERTIES, use the icons 6 and 7 for floppy drive and remove floppy.ico. By Jared Smudde. CORE-9804

svn path=/trunk/; revision=68174

8 years ago[NTOSKRNL]
Pierre Schweitzer [Wed, 17 Jun 2015 18:23:39 +0000 (18:23 +0000)]
[NTOSKRNL]
Implement NtQuerySystemInformation - SystemNumaAvailableMemory
Stub out NtQuerySystemInformation - SystemPrefetcherInformation
Stub out NtQuerySystemInformation - SystemExtendedProcessInformation
Stub out NtQuerySystemInformation - SystemRecommendedSharedDataAlignment

svn path=/trunk/; revision=68173

8 years ago[CRYPTUI][NETSHELL] Add some missing DS_MODALFRAME. By Jared Smudde. CORE-9822
Amine Khaldi [Wed, 17 Jun 2015 17:32:48 +0000 (17:32 +0000)]
[CRYPTUI][NETSHELL] Add some missing DS_MODALFRAME. By Jared Smudde. CORE-9822

svn path=/trunk/; revision=68172

8 years ago[NTOSKRNL]
Pierre Schweitzer [Wed, 17 Jun 2015 17:28:19 +0000 (17:28 +0000)]
[NTOSKRNL]
Completely implement Complete NtQuerySystemInformation - SystemNumaProcessorMap

CORE-9680

svn path=/trunk/; revision=68171

8 years ago[APPLICATIONS] Properly track resource file dependencies. CORE-9806
Amine Khaldi [Wed, 17 Jun 2015 17:20:29 +0000 (17:20 +0000)]
[APPLICATIONS] Properly track resource file dependencies. CORE-9806

svn path=/trunk/; revision=68170

8 years ago[DEVMGR]
Ged Murphy [Wed, 17 Jun 2015 08:38:34 +0000 (08:38 +0000)]
[DEVMGR]
- Make sure the device nodes use the latest device status'

svn path=/trunk/; revision=68169

8 years ago[DEVMGMT]
Christoph von Wittich [Wed, 17 Jun 2015 08:24:05 +0000 (08:24 +0000)]
[DEVMGMT]
fix a typo

svn path=/trunk/; revision=68168

8 years ago[DEVMGR]
Ged Murphy [Wed, 17 Jun 2015 08:15:08 +0000 (08:15 +0000)]
[DEVMGR]
- Add the (not yet dynamic) context menu
- Implement right click node select

svn path=/trunk/; revision=68167

8 years ago[NTDLL_APITEST]
Thomas Faber [Wed, 17 Jun 2015 06:54:17 +0000 (06:54 +0000)]
[NTDLL_APITEST]
- Also test FileFsAttributeInformation in NtQueryVolumeInformationFile

svn path=/trunk/; revision=68166

8 years ago[DEVMGR]
Ged Murphy [Tue, 16 Jun 2015 21:13:28 +0000 (21:13 +0000)]
[DEVMGR]
- Move the devmgmt code to devmgr where it belongs and start to rewrite it (devmgmt_new wasn't a good design). It's not part of devmgr yet, I'll merge it and add it to the build when it's more complete.
- Add support for caching devices to speed up switching device views
- start to add dynamic context support so we can enable/disable, update and uninstall devices depending on its state.
- WIP

svn path=/trunk/; revision=68165

8 years ago[DEVMGMT]
Ged Murphy [Tue, 16 Jun 2015 12:45:24 +0000 (12:45 +0000)]
[DEVMGMT]
Add the icon back

svn path=/trunk/; revision=68164

8 years ago[DEVMGMT]
Ged Murphy [Tue, 16 Jun 2015 12:22:14 +0000 (12:22 +0000)]
[DEVMGMT]
The new device manager will be located in devmgr.dll

svn path=/trunk/; revision=68163

8 years ago[DEVMGR]
Ged Murphy [Tue, 16 Jun 2015 12:18:01 +0000 (12:18 +0000)]
[DEVMGR]
Make the header c++ friendly

svn path=/trunk/; revision=68162

8 years ago[NTDLL_APITEST]
Thomas Faber [Tue, 16 Jun 2015 11:40:51 +0000 (11:40 +0000)]
[NTDLL_APITEST]
- Fix GCC build

svn path=/trunk/; revision=68161

8 years ago[NTDLL_APITEST]
Thomas Faber [Tue, 16 Jun 2015 11:33:35 +0000 (11:33 +0000)]
[NTDLL_APITEST]
- Test FileFsVolumeInformation in NtQueryVolumeInformationFile test
CORE-9820

svn path=/trunk/; revision=68160

8 years ago[NTVDM]: Commit what I have in my local wc so far (and which is commitable & works):
Hermès Bélusca-Maïto [Mon, 15 Jun 2015 23:43:16 +0000 (23:43 +0000)]
[NTVDM]: Commit what I have in my local wc so far (and which is commitable & works):
- Simplify PicIRQComplete helper function.
- Set up temporary stack for the BIOS.
- Initialize the "User Data Area" that is found at 0050:xxxx (see http://helppc.netcore2k.net/table/memory-map for more details).
- Some INT --> UINT
- Simplify few macros.
- Simplify DOS initialization; add few functions that will be useful later on.
- Remove trailing whitespace.

svn path=/trunk/; revision=68159

8 years ago[USETUP]
Eric Kohl [Mon, 15 Jun 2015 22:44:12 +0000 (22:44 +0000)]
[USETUP]
Improve the recovery console:
- Add help texts.
- Implement the partinfo command which displays the partition table of the chosen drive.

svn path=/trunk/; revision=68158

8 years ago[UDFS] Remove definitions that exist in platform headers and use those instead.
Amine Khaldi [Mon, 15 Jun 2015 21:19:04 +0000 (21:19 +0000)]
[UDFS] Remove definitions that exist in platform headers and use those instead.

svn path=/trunk/; revision=68157

8 years ago[USETUP]
Eric Kohl [Mon, 15 Jun 2015 20:47:30 +0000 (20:47 +0000)]
[USETUP]
Fix broken filesystem detection.
- Treat FAT32 filesystems like FAT filesystems because we do not provide a FAT32 entry in the filesystemlist.
- HACK: Do not try to check an unidentified filesystem.

CORE-9815 #resolve

svn path=/trunk/; revision=68156

8 years ago[THEMEUI] Revert r67304 (Leverage add_registry_inf() as suggested by Timo). Figuring...
Amine Khaldi [Mon, 15 Jun 2015 20:42:08 +0000 (20:42 +0000)]
[THEMEUI] Revert r67304 (Leverage add_registry_inf() as suggested by Timo). Figuring out why that doesn't work is left as an exercise for the reader. See CORE-5984 for details.

svn path=/trunk/; revision=68155

8 years ago[CMAKE] Use a separate set for the optimization level in GCC release builds. We shoul...
Amine Khaldi [Mon, 15 Jun 2015 18:59:46 +0000 (18:59 +0000)]
[CMAKE] Use a separate set for the optimization level in GCC release builds. We should revisit this to see if we need this rbuild era block nowadays.

svn path=/trunk/; revision=68154

8 years ago[CMAKE] Disable treating warnings as errors in GCC release builds, at least until...
Amine Khaldi [Mon, 15 Jun 2015 18:48:38 +0000 (18:48 +0000)]
[CMAKE] Disable treating warnings as errors in GCC release builds, at least until we get everything under control, for example CORE-7885.

svn path=/trunk/; revision=68153

8 years ago[NTOS:CC]
Thomas Faber [Mon, 15 Jun 2015 18:44:08 +0000 (18:44 +0000)]
[NTOS:CC]
- Properly stub CcCanIWrite, CcDeferWrite, CcFastCopyRead, CcFastCopyWrite
CORE-9624

svn path=/trunk/; revision=68152

8 years ago[NDK][NTDLL][PSAPI] Correct the the names of two LDR_DATA_TABLE_ENTRY fields. Brought...
Amine Khaldi [Mon, 15 Jun 2015 18:38:57 +0000 (18:38 +0000)]
[NDK][NTDLL][PSAPI] Correct the the names of two LDR_DATA_TABLE_ENTRY fields. Brought to you by Mike Nordell aka tamlin. CORE-9817

svn path=/trunk/; revision=68151

8 years ago[CMAKE] Add some FIXMEs so these won't be forgotten.
Amine Khaldi [Mon, 15 Jun 2015 17:45:24 +0000 (17:45 +0000)]
[CMAKE] Add some FIXMEs so these won't be forgotten.

svn path=/trunk/; revision=68150

8 years ago[CMAKE] Disable debug sections compression in GCC release builds.
Amine Khaldi [Mon, 15 Jun 2015 17:35:29 +0000 (17:35 +0000)]
[CMAKE] Disable debug sections compression in GCC release builds.

svn path=/trunk/; revision=68149

8 years ago[CMAKE] Disable debugging related GCC flags in release mode.
Amine Khaldi [Mon, 15 Jun 2015 17:26:04 +0000 (17:26 +0000)]
[CMAKE] Disable debugging related GCC flags in release mode.

svn path=/trunk/; revision=68148

8 years ago[CMAKE] Disable rossym for GCC release builds.
Amine Khaldi [Mon, 15 Jun 2015 16:43:11 +0000 (16:43 +0000)]
[CMAKE] Disable rossym for GCC release builds.

svn path=/trunk/; revision=68147

8 years ago[UDFS]
Daniel Reimer [Mon, 15 Jun 2015 11:59:49 +0000 (11:59 +0000)]
[UDFS]
Use the same fix for the PIMAGE_NT_HEADERS32 redefinition which is bein used in uniata. Spotted by Thomas Faber

svn path=/trunk/; revision=68146

8 years ago[ARM arch]
Daniel Reimer [Mon, 15 Jun 2015 11:40:33 +0000 (11:40 +0000)]
[ARM arch]
PATCH: Get configure and host-tools building on arm again by Steven Edwards from dev-ml
+ adding Timo's portable sqrt variant to where it's needed to fix win32k build.
+ disabled the assert in sqrt.c for now.

svn path=/trunk/; revision=68145

8 years ago[UDFS]
Daniel Reimer [Mon, 15 Jun 2015 11:35:30 +0000 (11:35 +0000)]
[UDFS]
Fix compilation for AMD64 and ARM.
- It's no good idea to use the x86 ASM optimizations on any architecture. Luckily Alter made plain C++ ones for that case, too. Thus modify the #ifdefs a bit to use em.
- Fix a few directly used functions instead of the defined architecture fixed ones of em.
- After some discussion with Thomas Faber the ULONG vs UINT32 problems were resolved by using the same platform defines for all three architectures.
BUILDS? yes WORKS? Trololololo ^^

svn path=/trunk/; revision=68144

8 years ago[UDFS]
Daniel Reimer [Mon, 15 Jun 2015 01:35:25 +0000 (01:35 +0000)]
[UDFS]
VC makefiles and their deps are not needed for us.

svn path=/trunk/; revision=68143

8 years ago[NTOSKRNL]
Pierre Schweitzer [Sun, 14 Jun 2015 19:58:45 +0000 (19:58 +0000)]
[NTOSKRNL]
Complete NtQuerySystemInformation - SystemNumaProcessorMap stub so that it is possible to query the highest node number (and only that!)

CORE-9680

svn path=/trunk/; revision=68142

8 years ago[NTOSKRNL]
Pierre Schweitzer [Sun, 14 Jun 2015 19:27:19 +0000 (19:27 +0000)]
[NTOSKRNL]
Stub out NtSetSystemInformation - SystemLoadGdiDriverInSystemSpaceInformation
Stub out NtQuerySystemInformation - SystemNumaProcessorMap

svn path=/trunk/; revision=68141

8 years ago[KERNEL32]
Pierre Schweitzer [Sun, 14 Jun 2015 18:54:57 +0000 (18:54 +0000)]
[KERNEL32]
Fix stupidness, spotted by Thomas

svn path=/trunk/; revision=68140

8 years ago[TOOLS]
Hermès Bélusca-Maïto [Sun, 14 Jun 2015 18:13:50 +0000 (18:13 +0000)]
[TOOLS]
Improve bin2c by saving in a #define the size of the generated array, and specify this size in the declaration of the array so that doing sizeof(...) becomes possible. Use "unsigned char" as the (portable) type of the contents of the array.

[HAL]
Add PCHAR casts where needed to take into account the previous modifications.

svn path=/trunk/; revision=68139

8 years ago[NTVDM]: Allocate a dedicated block of memory for the mouse driver, in which we write...
Hermès Bélusca-Maïto [Sun, 14 Jun 2015 16:40:45 +0000 (16:40 +0000)]
[NTVDM]: Allocate a dedicated block of memory for the mouse driver, in which we write all the needed info (instead of putting them in the BIOS space). The INT32 stubs go in this region, too.

svn path=/trunk/; revision=68138

8 years ago[KERNEL32]
Pierre Schweitzer [Sun, 14 Jun 2015 16:00:27 +0000 (16:00 +0000)]
[KERNEL32]
Addendum to r68136: use appropriate define.
Spotted by Thomas

svn path=/trunk/; revision=68137

8 years ago[KERNEL32]
Pierre Schweitzer [Sun, 14 Jun 2015 15:52:28 +0000 (15:52 +0000)]
[KERNEL32]
Implement GetNumaHighestNodeNumber()
Implement GetNumaNodeProcessorMask()
Implement GetNumaProcessorNode()
Implement GetNumaAvailableMemoryNode()

They won't work yet though, given that the kernel mode counterpart is still unimplemented.

CORE-9680

svn path=/trunk/; revision=68136

8 years ago[NDK]
Pierre Schweitzer [Sun, 14 Jun 2015 15:49:39 +0000 (15:49 +0000)]
[NDK]
Add definition for SYSTEM_NUMA_INFORMATION

Source: http://fy5388.blog.163.com/blog/static/564995372009112711571197/

svn path=/trunk/; revision=68135

8 years ago[NTVDM]
Hermès Bélusca-Maïto [Sun, 14 Jun 2015 15:35:38 +0000 (15:35 +0000)]
[NTVDM]
- Stubplement the font generator functions for text-mode.
- Store in plane 2+ the font ONLY in text mode (guilty r68085). Fixes spurious graphics corruption in gfx modes.
CORE-9791
CORE-9794 #resolve #comment Should be fixed in r68134.

svn path=/trunk/; revision=68134

8 years ago[MC]
Thomas Faber [Sun, 14 Jun 2015 11:19:02 +0000 (11:19 +0000)]
[MC]
- Add missing status codes STATUS_SMARTCARD_CERT_EXPIRED through STATUS_NO_S4U_PROT_SUPPORT.
CORE-8373

svn path=/trunk/; revision=68133

8 years ago[MSAFD]
Thomas Faber [Sun, 14 Jun 2015 08:03:15 +0000 (08:03 +0000)]
[MSAFD]
- Fix error mapping for STATUS_INVALID_CONNECTION
CORE-9810 CORE-9807 #resolve

svn path=/trunk/; revision=68132

8 years ago[AFD]
Thomas Faber [Sun, 14 Jun 2015 07:58:58 +0000 (07:58 +0000)]
[AFD]
- Immediately finish a zero-length request in TdiSendDatagram. This may not be completely correct (should possibly get forwarded to tcpip instead) but is better than asserting.
CORE-9810

svn path=/trunk/; revision=68131

8 years ago[AFD]
Thomas Faber [Sun, 14 Jun 2015 07:54:19 +0000 (07:54 +0000)]
[AFD]
- Don't leave the IRP queued if TdiSendDatagram does not perform its downcall. Complete it instead.
CORE-9810

svn path=/trunk/; revision=68130

8 years ago[AFD]
Thomas Faber [Sun, 14 Jun 2015 07:48:28 +0000 (07:48 +0000)]
[AFD]
- Fail sends on sockets that are not connected in AfdConnectedSocketWriteData
CORE-9810

svn path=/trunk/; revision=68129

8 years ago[PSDK]
Thomas Faber [Sun, 14 Jun 2015 07:44:06 +0000 (07:44 +0000)]
[PSDK]
- Add STATUS_INVALID_SIGNATURE through STATUS_PROTOCOL_NOT_SUPPORTED

svn path=/trunk/; revision=68128

8 years ago[NTOS|MM]
Aleksandar Andrejevic [Sun, 14 Jun 2015 04:07:11 +0000 (04:07 +0000)]
[NTOS|MM]
Addendum to 68126. The loader should return STATUS_INVALID_IMAGE_PROTECT
if e_lfanew is 0, or if the DOS stub appears too large due to a bad
e_lfanew. (Note: All plain MZ executables have an invalid e_lfanew)

svn path=/trunk/; revision=68127

8 years ago[NTOS|MM]
Aleksandar Andrejevic [Sun, 14 Jun 2015 01:37:56 +0000 (01:37 +0000)]
[NTOS|MM]
Return STATUS_INVALID_IMAGE_PROTECT if the NT header can't be read from the file.

svn path=/trunk/; revision=68126

8 years ago[FAST486]
Aleksandar Andrejevic [Sat, 13 Jun 2015 23:12:55 +0000 (23:12 +0000)]
[FAST486]
FPU exceptions are delayed until the next non-control FPU instruction.

svn path=/trunk/; revision=68125

8 years ago[USETUP]
Eric Kohl [Sat, 13 Jun 2015 23:11:57 +0000 (23:11 +0000)]
[USETUP]
AssignDriveLetters: Fix the code that assigns drive letters to logical partitions.

svn path=/trunk/; revision=68124

8 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 13 Jun 2015 19:18:25 +0000 (19:18 +0000)]
[NTOSKRNL]
- Set VadType = VadImageMap for image section mappings
- Rewrite MmGetFileNameForAddress and NtAreMappedFilesTheSame. Take into account that the first address must be an image section mapping
- Fixes a few kernel32_winetest:virtual tests
CORE-9736 #resolve

svn path=/trunk/; revision=68123

8 years ago[USETUP]
Eric Kohl [Sat, 13 Jun 2015 12:46:42 +0000 (12:46 +0000)]
[USETUP]
Allocate a disk layout buffer that is large enough to keep all partitions of the disk.

CORE-5818 resolve

svn path=/trunk/; revision=68122

8 years ago[AFD]
Thomas Faber [Sat, 13 Jun 2015 12:30:33 +0000 (12:30 +0000)]
[AFD]
- Probe for read access only in TdiSend/TdiSendDatagram
CORE-9807 resolve

svn path=/trunk/; revision=68121

8 years ago[WS2_32_APITEST]
Thomas Faber [Sat, 13 Jun 2015 12:29:07 +0000 (12:29 +0000)]
[WS2_32_APITEST]
- Add a test for send/sendto with a read-only buffer
CORE-9807

svn path=/trunk/; revision=68120

8 years ago[SERVMAN] Use a glob mechanism as resource files lists do not change often. CORE...
Amine Khaldi [Sat, 13 Jun 2015 11:41:32 +0000 (11:41 +0000)]
[SERVMAN] Use a glob mechanism as resource files lists do not change often. CORE-9806

svn path=/trunk/; revision=68119

8 years ago[SERVMAN] Properly track resource file dependencies. CORE-9806
Amine Khaldi [Sat, 13 Jun 2015 11:12:48 +0000 (11:12 +0000)]
[SERVMAN] Properly track resource file dependencies. CORE-9806

svn path=/trunk/; revision=68118

8 years ago[CMAKE] Introduce add_rc_deps() to take care of adding OBJECT_DEPENDS to rc source...
Amine Khaldi [Sat, 13 Jun 2015 11:05:03 +0000 (11:05 +0000)]
[CMAKE] Introduce add_rc_deps() to take care of adding OBJECT_DEPENDS to rc source files. CORE-9806

svn path=/trunk/; revision=68117