Commit graph

59808 commits

Author SHA1 Message Date
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
David Quintana c6b81aa43b [EXPLORER-NEW]
* Fix GCC build.

svn path=/branches/shell-experiments/; revision=65225
2014-11-03 15:06:54 +00:00
Amine Khaldi 370a6f8dc3 [SHELL32]
* Move control.cpp to the wine folder.
* Rename control.cpp to control.c.
* Partially sync control.c with Wine 1.7.27.
CORE-8540

svn path=/branches/shell-experiments/; revision=65224
2014-11-03 14:36:57 +00:00
Amine Khaldi fd9f0d8b86 [SHELL32]
* Move shpolicy.cpp to the wine folder.
* Rename shpolicy.cpp to shpolicy.c.
* Sync shpolicy.c with Wine 1.7.27.
CORE-8540

svn path=/branches/shell-experiments/; revision=65223
2014-11-03 13:59:23 +00:00
Amine Khaldi e24032eb8c [SHELL32]
* Apply Wine commit e330a128 by Alexandre Julliard: Use Shell_GetImageLists to retrieve image lists instead of using a global variable.
CORE-8540

svn path=/branches/shell-experiments/; revision=65222
2014-11-03 13:43:01 +00:00
Amine Khaldi 3a9653d24e [SHELL32]
* Move shellpath.cpp to the wine folder.
* Rename shellpath.cpp to shellpath.c.
* Partially sync shellpath.c with Wine 1.7.27.
CORE-8540

svn path=/branches/shell-experiments/; revision=65221
2014-11-03 13:29:18 +00:00
Jérôme Gardou 9c6ff49dd7 [IPHLPAPI]
- Start implementing GetAdaptersAddresses.
For now it noly gives interface names and DNS servers IP, but that's already more than 'UNIMPLEMENTED'.

svn path=/trunk/; revision=65220
2014-11-03 12:55:59 +00:00
Jérôme Gardou 9de8655c35 [PSDK]
- Add missing GAA_FLAG_* flags for GetAdaptersAddresses function

svn path=/trunk/; revision=65219
2014-11-03 12:55:54 +00:00
Jérôme Gardou d4ca070d84 [TCPIP]
- Use the structure defined in the public headers instead of some strange internal thing.
Uppercase is not so fashionable after all.

svn path=/trunk/; revision=65218
2014-11-03 12:55:45 +00:00
Amine Khaldi ebaefd4cf3 [SHELL32]
* Move shell32_main.cpp to the wine folder.
* Rename shell32_main.cpp to shell32_main.c.
* Partially sync shell32_main.c with Wine 1.7.27.
* Update the location of shell32_main.h in inclusions.
CORE-8540

svn path=/branches/shell-experiments/; revision=65217
2014-11-03 12:17:30 +00:00
Amine Khaldi 8b3a691a5b [SHELL]
* Mark _ILGetExtension and _ILGetFileType as EXTERN_C.
* __inline before return type.
* Some tiny style consistency fixes.

svn path=/branches/shell-experiments/; revision=65216
2014-11-03 12:13:40 +00:00
Amine Khaldi 7328a488fa [SHELL]
* __inline before return type.

svn path=/branches/shell-experiments/; revision=65215
2014-11-03 12:10:23 +00:00
Giannis Adamopoulos afba1474ae [EXPLORER_NEW]
- Fix build

svn path=/branches/shell-experiments/; revision=65214
2014-11-03 11:33:23 +00:00
Amine Khaldi 86f440a776 [SHELL32]
* Allow shdebugstr_guid() to be used from C code too.
* Move shellole.cpp to the wine folder.
* Rename shellole.cpp to shellole.c.
* Sync shellole.c with Wine 1.7.27.
CORE-8540

svn path=/branches/shell-experiments/; revision=65213
2014-11-03 10:52:20 +00:00
Giannis Adamopoulos 2aefa1130a [SHELL32]
- Add shell32.cpp and move there CShell32Module, DllGetVersion, DllMain, DllCanUnloadNow, DllGetClassObject, DllRegisterServer, DllUnregisterServer, DllInstall, IDefClFImpl, IDefClF_fnConstructor and SHCreateDefClassObject
- Now shell32_main.cpp and shellole.cpp have code that can be converted back to C and synced to wine

svn path=/branches/shell-experiments/; revision=65212
2014-11-03 10:38:21 +00:00
Giannis Adamopoulos ee9f3746cc [SHELL32]
- Move SHGetDesktopFolder to desktop.cpp

svn path=/branches/shell-experiments/; revision=65211
2014-11-03 10:12:24 +00:00
Jérôme Gardou 0039187504 [NTOS/PS]
- Do not leak a reference to the process object when setting quotas.

svn path=/trunk/; revision=65210
2014-11-03 09:52:08 +00:00
David Quintana 406cb9dd75 [EXPLORER-NEW]
* Rename a few I<x>Impl to C<x>
* Refactor the toolbar code of notification area into its own class.
* Also refactor away the code specific to the toolbar control into a CToolbar class. Todo: move the CToolbar class into some header file.

svn path=/branches/shell-experiments/; revision=65209
2014-11-03 04:16:56 +00:00
Giannis Adamopoulos 89af2b02ad [SHELL32]
- Remove an old todo file that described the things that were implemented in the shell-experiments branch

svn path=/branches/shell-experiments/; revision=65208
2014-11-02 23:50:54 +00:00
Giannis Adamopoulos 855e2e5a66 [SHELL32]
- Move shellstring.c to a new folder called wine. More files should be moved there eventually.

svn path=/branches/shell-experiments/; revision=65207
2014-11-02 23:41:24 +00:00
Giannis Adamopoulos 5c14d148e1 [SHELL32]
- Move files that implement dialogs and property sheets in dialogs folder

svn path=/branches/shell-experiments/; revision=65206
2014-11-02 23:30:48 +00:00
Pierre Schweitzer 21cd59bc0f [DISK]
Add a hack to forcibly set sector size in case of weird input. This is noisy on purpose.
Also, be more informative in case of read rejection. Are we reading beyond partition or do we have invalid sector size?
With the hack, the invalid sector size should disappear.

This is to help debugging the recent errors with the removal of IopParseDevice() hack

svn path=/trunk/; revision=65205
2014-11-02 23:11:22 +00:00
Hervé Poussineau 3fc8b084e5 [NTFS] Implement IRP_MJ_QUERY_INFORMATION/FileNetworkOpenInformation:
We are now able to execute some binaries on a NTFS partition.

svn path=/trunk/; revision=65204
2014-11-02 22:56:53 +00:00
Hervé Poussineau 68487164df [NTFS] Fix IRP_MJ_QUERY_INFORMATION/FileNameInformation, which should handle buffers not big enough
svn path=/trunk/; revision=65203
2014-11-02 22:56:47 +00:00