Commit graph

59831 commits

Author SHA1 Message Date
Thomas Faber 468b64c679 [NTOS:IO]
- Silence super noisy debug print in IopQueryAttributesFile

svn path=/trunk/; revision=65277
2014-11-05 23:27:04 +00:00
Thomas Faber 0e9ce28f2c [FASTFAT]
- Fix incorrect referencing in VfatCreateFile. vfatGetFCBForFile expects a reference on ParentFcb (and may release it), and also returns a referenced parent FCB.
CORE-8756 #resolve

svn path=/trunk/; revision=65276
2014-11-05 23:23:52 +00:00
David Quintana fb929febc6 [COMCTL32]
* Begin implementing TB_GETMETRICS/TB_SETMETRICS. Will send to wine once the button spacing setting works (after writing tests and whatever else may be necessary).

svn path=/branches/shell-experiments/; revision=65275
2014-11-05 23:00:23 +00:00
David Quintana a2cc12f3e7 [EXPLORER-NEW]
* Make use of the CToolbar<T> class to implement a CTaskToolbar.
* Change the CTaskSwitchWnd class to use CTaskToolbar instead of managing the HWND directly.
* Silence logspam in CTrayBandSite.
* Fix CNotifyToolbar to properly.
* Move the call to SetMetrics to be called only on initialization, instead of every time an icon changes.
* Make the start button a CContainedWindowT instead of a raw HWND. TODO: Make a CStartButton class to manage it.

[include/reactos/rosctrls.h]
* Some improvements needed by the taskbar.

svn path=/branches/shell-experiments/; revision=65274
2014-11-05 22:58:53 +00:00
Kamil Hornicek 46f478ab95 [WIN32K]
- don't create a rect with a zero area in NtGdiExtFloodFill
CORE-8755

svn path=/trunk/; revision=65273
2014-11-05 22:01:08 +00:00
Aleksandar Andrejevic 6eb52f4986 [FAST486]
Make sure the corrected prefetch address contains the block we're trying to read.


svn path=/trunk/; revision=65272
2014-11-05 20:21:32 +00:00
Amine Khaldi 2c30ae43b0 * Sync up to trunk head (r65270).
svn path=/branches/shell-experiments/; revision=65271
2014-11-05 19:33:30 +00:00
Thomas Faber a66700e316 [FASTFAT]
- Assert that we never reference or dereference an FCB with RefCount 0
CORE-8733

svn path=/trunk/; revision=65270
2014-11-05 19:06:19 +00:00
Thomas Faber b708ab01e9 [FASTFAT]
- VfatCleanupFile: do not dereference the FCB when closing the volume file object. ObDereferenceObject already causes an IRP_MJ_CLOSE request to be sent, which dereferences the FCB.
CORE-8733 #resolve

svn path=/trunk/; revision=65269
2014-11-05 18:52:11 +00:00
Amine Khaldi 1ed1e48cd2 [SHELL32]
* Another partial sync of brsfolder.c with Wine 1.7.27.
CORE-8540

svn path=/branches/shell-experiments/; revision=65267
2014-11-05 17:04:42 +00:00
Thomas Faber b637c49e6a [REGEDIT]
- Avoid unicode character literal. Fixes weird looking address bar button on MSVC build.

svn path=/trunk/; revision=65266
2014-11-05 16:51:16 +00:00
Thomas Faber 1cfc7939e6 [IPHLPAPI]
- Fix MSVC build

svn path=/trunk/; revision=65265
2014-11-05 16:31:13 +00:00
Hermès Bélusca-Maïto 895a44acc9 [FAST486]
- Fix another typo (addendum to r65263).
- Whitespace fixes.

svn path=/trunk/; revision=65264
2014-11-05 12:45:47 +00:00
Aleksandar Andrejevic 254daee831 [FAST486]
Fix two typos.


svn path=/trunk/; revision=65263
2014-11-05 04:58:40 +00:00
Aleksandar Andrejevic a57f40f992 [FAST486]
Allow direct calls/jumps to TSS selectors in Fast486ProcessGate.


svn path=/trunk/; revision=65262
2014-11-05 00:50:11 +00:00
Aleksandar Andrejevic b452f14184 [FAST486]
Fix the paging exception code.


svn path=/trunk/; revision=65261
2014-11-05 00:27:43 +00:00
Aleksandar Andrejevic b4648ec8fe [FAST486]
- Move the descriptor reading logic into a separate function.
- Implement hardware task switching and task gates.
- Flush the TLB when reloading CR3.


svn path=/trunk/; revision=65260
2014-11-04 22:58:02 +00:00
Thomas Faber ca809b6cdc [NTOS:SE]
- Implement ACL inheritance for SeAssignSecurityEx
CORE-8745 #resolve

svn path=/trunk/; revision=65259
2014-11-04 22:44:50 +00:00
Thomas Faber 418629f6a9 [KMTESTS:SE]
- Add a test for SeAssignSecurity[Ex]
CORE-8745

svn path=/trunk/; revision=65258
2014-11-04 22:42:15 +00:00
Pierre Schweitzer 71606f1035 [NTFS]
Actually, we know how to read non resident attributes, so read a non resident attribute list if found.

svn path=/trunk/; revision=65257
2014-11-04 21:16:14 +00:00
Thomas Faber 902e8bb68e [KMTESTS]
- Move out definitions for user/kernel test utility functions into their own header (still not pretty, but at least the one header won't get as huge
- Make KmtStartThread/KmtFinishThread available to all tests

svn path=/trunk/; revision=65256
2014-11-04 20:55:16 +00:00
Timo Kreuzer f1f1a19b03 Merged revision(s) 62353, 62531-62532, 62853, 64152, 64173-64174 from branches/kernel-fun/reactos:
[NTOSKRNL]
Implement SystemPrioritySeperation case in NtSetSystemInformation
........
[NTOSKRNL]
Fix an ASSERT in ExfReleasePushLockExclusive
........
[NTOSKRNL]
Fix KiCallbackReturnHandler
........
[NTOSKRNL]
Don't expect a fully sized LOADER_PARAMETER_EXTENSION, since the win2003 loader doesn't provide the full one.
........
[NTOSKRNL]
Implement a fake NtLockProductActivationKeys

........
[NTOSKRNL]
- Add some DPRINTs on errors
- Silence a DPRINT
- Only DPRINT on unimplemented affinity support on SMP builds

........
[NTOSKRNL]
- Remove an undocumented flag from the lpc request type in NtRequestWaitReplyPort. This is required for some windows modules that use this flag, otherwise the function fails.
........

svn path=/trunk/; revision=65255
2014-11-04 20:47:18 +00:00
Timo Kreuzer afc42dae68 [NTOSKRNL]
Merge r62304 and r65253 from kernel-fun branch:
Fix logic in ObSetSecurityDescriptorInfo. To understand the change: it is not only style change! The old code modified SecurityDescriptor, which must always stay the same in the loop!

svn path=/trunk/; revision=65254
2014-11-04 20:41:10 +00:00
Timo Kreuzer 4e41ff66c0 [WIN32K]
- Fix completely broken REGION_CropAndOffsetRegion
- Make sure iType is correctly set in NtGdiGetRegionData

svn path=/trunk/; revision=65252
2014-11-04 20:20:45 +00:00
Amine Khaldi b269ecaffd [SHELL32]
* Partial sync of brsfolder.c with Wine 1.7.27.
CORE-8540

svn path=/branches/shell-experiments/; revision=65251
2014-11-04 20:13:22 +00:00
Amine Khaldi 4190d21c43 [SHELL32]
* Move brsfolder.cpp to the wine folder.
* Convert brsfolder.cpp into brsfolder.c.

svn path=/branches/shell-experiments/; revision=65250
2014-11-04 20:10:43 +00:00
Amine Khaldi d05db38784 [SHELL32]
* bool => BOOL.

svn path=/branches/shell-experiments/; revision=65249
2014-11-04 20:00:09 +00:00
Thomas Faber e9fc785372 [NTOS:SE]
- Simplify SeSetSecurityDescriptorInfoEx
- Don't dereference an object that was never referenced

svn path=/trunk/; revision=65248
2014-11-04 18:47:13 +00:00
Thomas Faber 8a98907e4c [NTOS:SE]
- Call SeSetSecurityDescriptorInfoEx from SeSetSecurityDescriptorInfo

svn path=/trunk/; revision=65247
2014-11-04 18:40:24 +00:00
Giannis Adamopoulos a5bcd416fb [SHELL32]
Rename cpp files to the name of the class they implement

svn path=/branches/shell-experiments/; revision=65246
2014-11-04 13:28:57 +00:00
Giannis Adamopoulos dee95b2a3f [SHELL32]
- Rename IFileSystemBindDataImpl to CFileSysBindData
- Rename IconExtraction to CExtractIcon
- Rename IEnumIDListImpl to CEnumIDListBase
- Rename IDataObjectImpl to CIDLDataObj

svn path=/branches/shell-experiments/; revision=65245
2014-11-04 12:49:36 +00:00
Thomas Faber 9852daf344 [NTOS:SE]
Various minor behavior corrections & simplifications for SeAssignSecurityEx:
- Fail on missing subject context or invalid group
- Initialize NewDescriptor to NULL on failure
- Never set SE_*_DEFAULTED flags
- Assume a primary token exists
- Remove unnecessary variable initialization
- Remove unnecessary length alignment
CORE-8745

svn path=/trunk/; revision=65244
2014-11-04 12:35:22 +00:00
Giannis Adamopoulos bc9009dda3 [SHELL32]
- Simplify CMyDocsFolder folder to use a CFSFolder internally
- Note that while CAdminToolsFolder and CFontsFolder should aggregate CFSFolder, CMyDocsFolder shouldn't and this is implementation is much closer to windows.

svn path=/branches/shell-experiments/; revision=65243
2014-11-04 11:45:05 +00:00
Jérôme Gardou 092c5ad023 [IPHLPAPI]
- Retrieve unicast addresses and prefixes in GetAdaptersAddresses.

svn path=/trunk/; revision=65242
2014-11-04 10:38:43 +00:00
Jérôme Gardou 5e4cc9a9c9 [TCPIP/AFD]
- Use less weird internal structures and more public headers.

svn path=/trunk/; revision=65241
2014-11-04 10:38:26 +00:00
Pierre Schweitzer 099910fd83 [NTFS]
- Move the ROUND_UP & ROUND_DOWN macro definition to header
- Make NtfsReadDisk() sector size aware so that it can properly align read on the disk (and thus prevent them from failing)
- If $ATTRIBUTE_LIST is non resident, then display a message and continue, don't assert on it. This is to be implemented later on.

This fixes directory enumeration on a Windows 7 NTFS volume.

svn path=/trunk/; revision=65240
2014-11-04 07:56:20 +00:00
Pierre Schweitzer 217a030519 [NTFS]
Try to read the names from the biggest name space to the smallest.
Only at the end assert we have to have a name.

This fixes name enumeration on Windows 7 NTFS volumes.

svn path=/trunk/; revision=65239
2014-11-04 07:52:14 +00:00
James Tabor ef9b3e68e3 [NtUser]
- Capture is already set. Trouble shooting CORE-8299 and CORE-3247.
- Correct spellings and adding traces.

svn path=/trunk/; revision=65238
2014-11-04 05:21:41 +00:00
Hermès Bélusca-Maïto c13514d480 [NTVDM]
- Fix the BIOS32 Wait hack (Sleep takes a duration in milliseconds, whereas the BIOS function takes the duration in microseconds).
- Initialize the PIT channels with realistic values (realistic == found on real BIOSes).
- Remove unneeded commented code.

svn path=/trunk/; revision=65237
2014-11-03 21:27:20 +00:00
Giannis Adamopoulos 75ae835000 [SHELL32]
- Make CFontsFolder a dumb wrapper around CFSFolder

svn path=/branches/shell-experiments/; revision=65236
2014-11-03 21:14:49 +00:00
Amine Khaldi d7ca29bc06 [SHELL32]
* Another partial sync of pidl.c and pidl.h with Wine 1.7.27.
CORE-8540

svn path=/branches/shell-experiments/; revision=65235
2014-11-03 20:15:17 +00:00
Amine Khaldi 8c29f2837c [SHELL32]
* Partial sync of pidl.c and pidl.h with Wine 1.7.27.
CORE-8540

svn path=/branches/shell-experiments/; revision=65234
2014-11-03 19:58:55 +00:00
Amine Khaldi 6069abeef0 [SHELL32]
* Move pidl.cpp and pidl.h to the wine folder.
* Convert pidl.cpp into pidl.c.
CORE-8540

svn path=/branches/shell-experiments/; revision=65233
2014-11-03 19:50:36 +00:00
Amine Khaldi 6a6f52bf66 [SHELL32]
* Move shellreg.cpp to the wine folder.
* Rename shellreg.cpp to shellreg.c.
* Sync shellreg.c with Wine 1.7.27.
CORE-8540

svn path=/branches/shell-experiments/; revision=65232
2014-11-03 19:05:48 +00:00
Amine Khaldi 0f48f23d19 [SHELL32]
* Another partial sync of shellord.c with Wine 1.7.27.
CORE-8540

svn path=/branches/shell-experiments/; revision=65231
2014-11-03 18:53:50 +00:00
Amine Khaldi 8e1cdffb62 [SHELL32]
* Partial sync of shellord.c with Wine 1.7.27.
CORE-8540

svn path=/branches/shell-experiments/; revision=65230
2014-11-03 18:21:49 +00:00
Amine Khaldi ae35d57677 [SHELL32]
* Move shellord.cpp to the wine folder.
* Convert shellord.cpp into shellord.c.
CORE-8540

svn path=/branches/shell-experiments/; revision=65229
2014-11-03 18:09:50 +00:00
Giannis Adamopoulos 768eecf19e [SHELL32]
- Begin improving our shell folders implementation
- CAdminToolsFolder is just a fancy CFSFolder so there is no need to reinvent the wheel
- Use a real CFSFolder to do all the work. When ATL aggregation works, we will be able to make this prettier
- Keep a small hack in CAdminToolsFolder::GetDisplayNameOf which returns the folder's name (I need to investigate if this is correct or not)

svn path=/branches/shell-experiments/; revision=65228
2014-11-03 16:41:20 +00:00
Thomas Faber 053bc502bb [PCI]
- Addendum to r65181: fix a stray debug print

svn path=/trunk/; revision=65227
2014-11-03 16:16:26 +00:00
David Quintana 98bc7ac7c8 [EXPLORER-NEW]
* Move the CToolbar class into rosctrls.h, so we can make use of it in other parts of reactos.

svn path=/branches/shell-experiments/; revision=65226
2014-11-03 16:05:09 +00:00