Commit graph

59302 commits

Author SHA1 Message Date
Pierre Schweitzer 55fe55e6c5 [NTFS]
Hello, please don't leak memory.
Cheers.

Spotted by Thomas

svn path=/trunk/; revision=64625
2014-10-08 20:02:09 +00:00
Amine Khaldi 60d23c0d1d [WLDAP32]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64624
2014-10-08 19:57:11 +00:00
Amine Khaldi cb69955da5 [WINTRUST_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64623
2014-10-08 19:51:36 +00:00
Amine Khaldi 4dd1c81706 [WINTRUST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64622
2014-10-08 19:51:13 +00:00
Jérôme Gardou 6971881771 [WSHTCPIP]
- Implement IPPROTO_TCP:TCP_NODELAY case in WSHSetSocketInformation
[TCPIP]
 - Implement setting TCP_SOCKET_NODELAY connection property.

svn path=/trunk/; revision=64621
2014-10-08 19:50:38 +00:00
Jérôme Gardou 02a37b6bd9 [PSDK]
- Fix mismatch between DEV_BROADCAST_DEVICEINTERFACE_W and  DEV_BROADCAST_DEVICEINTERFACE_A
 - Add  DEV_BROADCAST_HANDLE structure definition

svn path=/trunk/; revision=64620
2014-10-08 19:50:23 +00:00
Jérôme Gardou ebcacdec7a [NTOS/SE]
- Correctly reference/dereference token object when the set token is already in use.

svn path=/trunk/; revision=64619
2014-10-08 19:50:14 +00:00
Pierre Schweitzer e679240501 [NTFS]
- Add missing defines about file attributes
- Implement NtfsFCBIsDirectory()

Source: http://bos.asmhackers.net/docs/filesystems/ntfs/filename.html

svn path=/trunk/; revision=64618
2014-10-08 19:45:33 +00:00
Pierre Schweitzer 011e52835b [NTFS]
- Add a directory entry into FCB which will be a copy of the $FILE_NAME attribute of the FILE record. Though, it won't contain the name itself (in the FCB instead), so keep first char NULL and length 0.
- Implement its support (which requires opening the FILE record 5 first) for root FCB creation.

svn path=/trunk/; revision=64617
2014-10-08 19:32:21 +00:00
Amine Khaldi afe0ca9945 [WINDOWSCODECS_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64616
2014-10-08 19:32:14 +00:00
Amine Khaldi cf3d7a4c7e [WINDOWSCODECS]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64615
2014-10-08 19:30:33 +00:00
Pierre Schweitzer b679bea004 [NTFS]
ReadFileRecord() returns a NTSTATUS

svn path=/trunk/; revision=64614
2014-10-08 19:25:00 +00:00
Amine Khaldi 1505056d55 [PSDK]
* Update iads.idl.
CORE-8540

svn path=/trunk/; revision=64613
2014-10-08 19:19:01 +00:00
Amine Khaldi 89e96775ab [WBEMPROX_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64612
2014-10-08 19:18:00 +00:00
Amine Khaldi cbbaf54b85 [WBEMPROX]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64611
2014-10-08 19:17:38 +00:00
Pierre Schweitzer df3a6889ba [NTFS]
- Remove magic value usage in NtfsDumpFileAttributes()
- Implement GetFileNameFromRecord() which returns the $FILE_NAME attribute from a FILE record
- On record lookup, also return the MFT index of the found record
- Finally implement NtfsMakeFCBFromDirEntry() which allows creating a FCB from a dir entry. It is still incomplete though, it doesn't copy any data yet from the entry

svn path=/trunk/; revision=64610
2014-10-08 19:12:48 +00:00
Amine Khaldi 189e1394bd [VBSCRIPT_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64609
2014-10-08 19:03:40 +00:00
Amine Khaldi 0b53a29c3a [VBSCRIPT]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64608
2014-10-08 19:03:07 +00:00
Amine Khaldi 1b1cd5f38d [USP10_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64607
2014-10-08 18:56:31 +00:00
Amine Khaldi c43444a51e [USP10]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64606
2014-10-08 18:56:19 +00:00
Amine Khaldi 5f4c045390 [STI_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64605
2014-10-08 18:47:38 +00:00
Amine Khaldi 170cbf44ba [SHDOCVW_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64604
2014-10-08 18:42:31 +00:00
Amine Khaldi 35fbb57c8f [SHDOCVW]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64603
2014-10-08 18:42:09 +00:00
Amine Khaldi ef7f2727a3 [SCRRUN_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64602
2014-10-08 18:04:21 +00:00
Amine Khaldi 91c1f8a294 [SCRRUN]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64601
2014-10-08 18:03:53 +00:00
Amine Khaldi 6eaad90ebb [SCHANNEL]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64600
2014-10-08 18:02:25 +00:00
Amine Khaldi 067e925c05 [RSAENH_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64599
2014-10-08 18:01:39 +00:00
Amine Khaldi 19e308686d [RSAENH]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64598
2014-10-08 18:01:22 +00:00
Amine Khaldi 1023de9cc6 [CMAKE/MSVC]
* We don't need to set /implib, we generate our own.

svn path=/trunk/; revision=64597
2014-10-08 17:55:55 +00:00
David Quintana 13c5c447a2 [RSHELL]
[BROWSEUI]
* Add some traces

[SHELL32]
* Implement displaying the View popup from the toolbar. 

svn path=/branches/shell-experiments/; revision=64596
2014-10-08 15:25:52 +00:00
Timo Kreuzer 86e6da7eb7 [NTOSKRNL]
Fix a status code

svn path=/trunk/; revision=64595
2014-10-08 07:38:56 +00:00
Timo Kreuzer 5e034d0a59 [NTOSKRNL]
Move calculation of commit charge to MiInsertVadEx.

svn path=/trunk/; revision=64594
2014-10-08 00:32:03 +00:00
Timo Kreuzer f48ae0dc23 [NTOSKRNL]
Modify MiCreatePebOrTeb to use MiInsertVadEx instead of doing everything "by hand". No, this does not "change Windows behavior". The TEB creation works exactly as before, and the only difference in the PEB creation is that if the first attempt fails, we will no longer try again from the top of the address space. But since this cannot fail in the first place, at least not due to the VA range not being free, another attempt would be pointless anyway!

svn path=/trunk/; revision=64593
2014-10-08 00:31:49 +00:00
Timo Kreuzer 76f325a78f [NTOSKRNL]
Lock the workingset before inserting a node into the address space in MiInsertVad

svn path=/trunk/; revision=64592
2014-10-08 00:31:43 +00:00
Timo Kreuzer def3dc0080 [NTOSKRNL]
- Improve the random address base code in MiCreatePebOrTeb to actually make sense and not rely on retarded hacks implicitly hardcoding the PEB size in pages into the random value generation.

svn path=/trunk/; revision=64591
2014-10-08 00:31:35 +00:00
Timo Kreuzer 4d4bb1e6cc [NTOSKRNL]
- Add missing dereference on failure in MiMapViewOfDataSection
- Simplify some code

svn path=/trunk/; revision=64590
2014-10-08 00:31:28 +00:00
Timo Kreuzer 40845ae7a6 [NTOSKRNL]
Implement MiInsertVadEx, replacing duplicated code from NtAllocateVirtualMemory and MiMapViewOfDataSection

svn path=/trunk/; revision=64589
2014-10-08 00:31:17 +00:00
Timo Kreuzer 1b6c4fe27c [NTOSKRNL]
Slightly refactor MiMapViewOfDataSection and NtAllocateVirtualMemory

svn path=/trunk/; revision=64588
2014-10-08 00:31:09 +00:00
Timo Kreuzer d5cfae9ac2 [NTOSKRNL]
Release AddressCreationLock in MiCreatePebOrTeb on failure path

svn path=/trunk/; revision=64587
2014-10-08 00:30:57 +00:00
Timo Kreuzer 2d22f6f372 [NTOSKRNL]
Move acquisition of PFN lock into MmAllocPage and MmDereferencePage

svn path=/trunk/; revision=64586
2014-10-08 00:30:50 +00:00
Timo Kreuzer ca00c95ea5 [NTOSKRNL]
Small impovement to NtFreeVirtualMemory to make things clearer

svn path=/trunk/; revision=64585
2014-10-08 00:30:37 +00:00
Timo Kreuzer 27b5c44ea3 [NTOSKRNL]
Refactor CcRosMapVacb a bit

svn path=/trunk/; revision=64584
2014-10-08 00:30:30 +00:00
Timo Kreuzer f82e8687b6 [NTOSKRNL]
Move MmMapMemoryArea to Cc and rename it to CcRosMapVacb

svn path=/trunk/; revision=64583
2014-10-08 00:30:15 +00:00
Timo Kreuzer e5ad24bf5e [ADVAPI32]
Hey Arch, stop spamming my debug logs!

svn path=/trunk/; revision=64582
2014-10-07 22:07:44 +00:00
Timo Kreuzer 10b789e07a [NTOSKRNL]
Silence some annoying DPRINTs

svn path=/trunk/; revision=64581
2014-10-07 22:02:12 +00:00
David Quintana 247aff1fe6 [BROWSEUI]
* Fix opening folder windows on desktop process.

svn path=/branches/shell-experiments/; revision=64580
2014-10-07 20:23:52 +00:00
David Quintana 1147974a95 [RSHELL]
* Work around shellexecute not handling GUID path components by giving them to explorer as a cmdline parameter.
* NOTE: The Printers and Faxes option is temporarily disabled because it CRASHES explorer-new.

svn path=/branches/shell-experiments/; revision=64579
2014-10-07 14:45:32 +00:00
David Quintana d9f777ce1c [FILEBROWSER]
* Always open separate.

[BROWSEUI]
* Use the threadref IUnknown for reference counting in the browser threads.

svn path=/branches/shell-experiments/; revision=64578
2014-10-07 14:40:33 +00:00
Pierre Schweitzer a78a879f54 [NTFS]
- Implement NtfsDirFindFile()
- Enable again NtfsMakeFCBFromDirEntry() and fix its prototype but disable its implementation yet

svn path=/trunk/; revision=64577
2014-10-06 20:51:41 +00:00
Pierre Schweitzer a0afb70918 [NTFS]
Not being working (yet) doesn't mean you can leak mem!

svn path=/trunk/; revision=64576
2014-10-06 19:28:41 +00:00