Commit graph

62589 commits

Author SHA1 Message Date
Pierre Schweitzer
f633746280 [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
2015-06-21 08:07:11 +00:00
Pierre Schweitzer
c6f9fe3713 [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
2015-06-21 08:06:25 +00:00
Pierre Schweitzer
c37f5f9e7c [NTOSKRNL]
Revert r68221: probing *should* be done in NtSetSystemInformation()
Let's check there why it's not done instead...

svn path=/trunk/; revision=68222
2015-06-21 05:46:38 +00:00
Pierre Schweitzer
103e282d2d [NTOSKRNL]
Don't trust the user!
Probe buffers in NtSetSystemInformation - SystemSessionCreate and in NtSetSystemInformation - SystemSessionDetach

svn path=/trunk/; revision=68221
2015-06-21 05:40:15 +00:00
Pierre Schweitzer
4453279e3e [NTOSKRNL]
Don't use SYSTEM_INFORMATION_CLASS definition from Wine but from NDK.
Fix naming accordingly

svn path=/trunk/; revision=68220
2015-06-21 05:33:53 +00:00
Thomas Faber
6607052bc0 [SHELL32]
- Use CreateViewObject instead of QueryInterface to get a drop target from a shell folder.
CORE-9846

svn path=/trunk/; revision=68219
2015-06-21 05:30:20 +00:00
Thomas Faber
c146d77c04 [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
2015-06-21 05:21:30 +00:00
Thomas Faber
3d3afdd225 [SHELL32]
- Test your code, Arch! Fix another assertion failure.
CORE-9845 #resolve

svn path=/trunk/; revision=68217
2015-06-21 04:56:38 +00:00
Aleksandar Andrejevic
e2c2d3379b [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
2015-06-21 02:36:20 +00:00
Thomas Faber
8d850ac341 [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
2015-06-20 21:46:16 +00:00
Eric Kohl
f7bbd54974 [USETUP]
DumpPartitionTable: Improve the output and print the partition start and length in sectors instead of bytes.

svn path=/trunk/; revision=68214
2015-06-20 18:17:03 +00:00
Eric Kohl
566b655046 [USETUP]
AddDiskToList: Fix the allocation of the disk layout buffer.

CORE-9821 #resolve #comment Please retest.

svn path=/trunk/; revision=68213
2015-06-20 17:59:14 +00:00
Thomas Faber
cf0e32066c [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
2015-06-20 17:52:28 +00:00
Thomas Faber
1fd75ca0e4 [GRML]
- Fix build

svn path=/trunk/; revision=68211
2015-06-20 17:04:27 +00:00
Thomas Faber
cc47f60138 [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
2015-06-20 16:54:52 +00:00
Thomas Faber
6bb0bec44f [SHELL32_APITEST]
- Add a test for CLSID_MyComputer that shows this folder object is also cached.
CORE-9839

svn path=/trunk/; revision=68209
2015-06-20 16:28:38 +00:00
Thomas Faber
3a77e2ede5 [SHELL32]
- Addendum to r68202
CORE-9839

svn path=/trunk/; revision=68208
2015-06-20 15:23:25 +00:00
Eric Kohl
22d0c7022c [USETUP]
Add support for logical partitions to the partition deletion code.

svn path=/trunk/; revision=68207
2015-06-20 13:42:39 +00:00
Amine Khaldi
01158ef322 [REACTOS][VMWINST][WELCOME] Properly track resource file dependencies. CORE-9806
svn path=/trunk/; revision=68206
2015-06-20 13:03:46 +00:00
Amine Khaldi
cea8c71960 [MMSYS] Move the speaker bitmap up 5 pixels. By Jared Smudde. CORE-9790
svn path=/trunk/; revision=68205
2015-06-20 13:02:14 +00:00
Amine Khaldi
1c1e79e557 [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
2015-06-20 12:59:55 +00:00
Thomas Faber
cf07db224f [ATL]
- Implement CComClassFactorySingleton

svn path=/trunk/; revision=68203
2015-06-20 12:08:13 +00:00
Thomas Faber
dddbfc03a0 [SHELL32]
- Separate CDesktopFolder's IDropTarget out into its own class (since each caller needs its own instance)
CORE-9839

svn path=/trunk/; revision=68202
2015-06-20 10:26:22 +00:00
Thomas Faber
0c99435b9a [ATL]
- Fix compilation when UNICODE is not defined
CORE-9258 #resolve

svn path=/trunk/; revision=68201
2015-06-20 09:22:55 +00:00
Thomas Faber
9046d69084 [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
2015-06-20 09:07:29 +00:00
Thomas Faber
52e13410cb [APITESTS]
- Make CUnknownBase constructor parameters optional

svn path=/trunk/; revision=68199
2015-06-20 08:51:07 +00:00
Hermès Bélusca-Maïto
1509a6fe36 [ROSAPPS]: Merge the two existing CATs into one and improve it (see r66942, r66989 and r66990).
svn path=/trunk/; revision=68198
2015-06-19 22:38:34 +00:00
Eric Kohl
501e32913a [USETUP]
Implement CreateLogicalPartition. Now we can create logical partitons, but they will not be written to a disk yet.

svn path=/trunk/; revision=68197
2015-06-19 19:01:39 +00:00
Thomas Faber
7b8f59932c [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
2015-06-19 18:16:27 +00:00
Thomas Faber
9f97886e2a [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
2015-06-18 15:45:32 +00:00
Thomas Faber
8c4e56def9 [USER32_APITEST]
- Arch, will you stop only testing your code with MSVC?!

svn path=/trunk/; revision=68189
2015-06-18 14:02:55 +00:00
Thomas Faber
484a5f8751 [USER32_APITEST]
- Fail if we get too many WM_HOTKEY messages
CORE-9728

svn path=/trunk/; revision=68188
2015-06-18 13:59:51 +00:00
Thomas Faber
b86dbc4c76 [INCLUDE]
- Fix undocshell.h build without UNICODE defined

svn path=/trunk/; revision=68187
2015-06-18 13:45:17 +00:00
Thomas Faber
171f891e93 [USER32_APITEST]
- Add a simple test for RegisterHotKey with regular vs modifier-only hotkeys
CORE-9728

svn path=/trunk/; revision=68186
2015-06-18 13:41:52 +00:00
Ged Murphy
1a053ef99c [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
2015-06-18 13:08:11 +00:00
Ged Murphy
9f2ae55de0 [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
2015-06-18 11:02:52 +00:00
Amine Khaldi
5a5f8b1df4 [SHELL32] Add printer icons. By Lee Schroeder. CORE-9829
svn path=/trunk/; revision=68183
2015-06-18 10:48:00 +00:00
Ged Murphy
f36c37f8d9 [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
2015-06-18 10:26:30 +00:00
Hermès Bélusca-Maïto
38dbc4f271 [NTVDM]: Implement INT 10h, AX=1018/1019 "Set/Get PEL Mask".
svn path=/trunk/; revision=68181
2015-06-17 23:21:12 +00:00
Ged Murphy
66bbc9e4c1 [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
2015-06-17 21:26:42 +00:00
Pierre Schweitzer
a29eac1548 [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
2015-06-17 20:33:08 +00:00
Amine Khaldi
928bb9e412 [CDFS] Update the file paths in the header blocks. NFC
svn path=/trunk/; revision=68178
2015-06-17 20:27:52 +00:00
Pierre Schweitzer
fda3b2bf68 [NDK]
Fix KNODE definition, to be compatible with w2k3.

Thanks to Thomas for his help.

svn path=/trunk/; revision=68177
2015-06-17 20:07:44 +00:00
Amine Khaldi
972e24df5e [SHELL32] Report file system changes in SHChangeNotifyRegister. Brought to you by Huw Campbell. CORE-1171
svn path=/trunk/; revision=68176
2015-06-17 19:55:43 +00:00
Thomas Faber
2abff2a105 [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
2015-06-17 19:19:39 +00:00
Amine Khaldi
dc03297c13 [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
2015-06-17 18:30:14 +00:00
Pierre Schweitzer
de7f49ecd3 [NTOSKRNL]
Implement NtQuerySystemInformation - SystemNumaAvailableMemory
Stub out NtQuerySystemInformation - SystemPrefetcherInformation
Stub out NtQuerySystemInformation - SystemExtendedProcessInformation
Stub out NtQuerySystemInformation - SystemRecommendedSharedDataAlignment

svn path=/trunk/; revision=68173
2015-06-17 18:23:39 +00:00
Amine Khaldi
bb203b40e4 [CRYPTUI][NETSHELL] Add some missing DS_MODALFRAME. By Jared Smudde. CORE-9822
svn path=/trunk/; revision=68172
2015-06-17 17:32:48 +00:00
Pierre Schweitzer
0b3c4c8734 [NTOSKRNL]
Completely implement Complete NtQuerySystemInformation - SystemNumaProcessorMap

CORE-9680

svn path=/trunk/; revision=68171
2015-06-17 17:28:19 +00:00
Amine Khaldi
564ff01f3d [APPLICATIONS] Properly track resource file dependencies. CORE-9806
svn path=/trunk/; revision=68170
2015-06-17 17:20:29 +00:00