Commit graph

58958 commits

Author SHA1 Message Date
Jérôme Gardou 8b80957dae [NTOS/SE]
- Use the authentication ID to determine if a token represents a child of the current process.
CORE-8631 #resolve #comment the installer now works fine, but chrome fails to start

svn path=/trunk/; revision=64735
2014-10-13 18:47:44 +00:00
Eric Kohl 4173674a62 [SETUPAPI]
Load a property sheet extension dll only once, otherwise we might leak module handles.

svn path=/trunk/; revision=64734
2014-10-13 18:31:55 +00:00
Amine Khaldi 6d6e0cda0c [CRT]
* Update free_fd().
* Fixes some msvcrt:file tests.
CORE-8540

svn path=/trunk/; revision=64733
2014-10-13 18:08:34 +00:00
Pierre Schweitzer 2598a46b01 [NTFS]
So far, keep our NTFS read-only. Booh, that's sad! *sob*. I know.

svn path=/trunk/; revision=64732
2014-10-13 17:57:25 +00:00
Amine Khaldi 5f83d34467 [CRT]
* Update setvbuf() and ungetc().
* Fixes some msvcrt:file tests.
CORE-8540

svn path=/trunk/; revision=64731
2014-10-13 17:50:17 +00:00
James Tabor e9aecdf259 [Win32k]
- Remove code that breaks API SetActiveWindow tests. See CORE-7447.
- Dedicated to Victor Martinez Calvo.

svn path=/trunk/; revision=64730
2014-10-13 17:15:04 +00:00
Jérôme Gardou 63dff05e61 Arch, stop screwing up your commits.
svn path=/trunk/; revision=64729
2014-10-13 16:25:23 +00:00
Jérôme Gardou 622ae3a606 [CMAKE]
- Also give a base address to d3dwine.dll

svn path=/trunk/; revision=64728
2014-10-13 16:21:48 +00:00
Jérôme Gardou d554ce375f [WINED3D]
- Fix build: This is wha happens when youknow you should perform a clean build but don't.

svn path=/trunk/; revision=64726
2014-10-13 16:07:46 +00:00
Jérôme Gardou 5d13c65d57 [WINED3D]
- Rename wined3d.dll as d3dwine.dll, so that the VBox additions don't erase it.
Dedicated to Daniel: Now you can safely use the opti-hacked vbox 3d additions.

svn path=/trunk/; revision=64724
2014-10-13 16:04:40 +00:00
Amine Khaldi 43b5d75525 [BOOTDATA]
* Partial revert of r64722 due to change of encoding. Spotted by Sylvain.
CORE-8520

svn path=/trunk/; revision=64723
2014-10-13 15:55:56 +00:00
Amine Khaldi 06a450f2b5 [BOOTDATA][MEDIA/INF]
* Romanian translations update by Ștefan Fulea.
CORE-8520

svn path=/trunk/; revision=64722
2014-10-13 15:26:46 +00:00
Amine Khaldi 339f0e568a [TRANSLATIONS]
* Romanian translations update by Ștefan Fulea.
CORE-8520

svn path=/trunk/; revision=64721
2014-10-13 15:24:08 +00:00
Thomas Faber d5b17b9082 [GDI32]
- Return 1 on failure in IntEnumFontFamilies, as shown by the test
CORE-8628 #resolve

svn path=/trunk/; revision=64720
2014-10-13 14:06:40 +00:00
Thomas Faber 00109ad544 [GDI32_APITEST]
- Add a test for EnumFontFamilies* returning no results
CORE-8628

svn path=/trunk/; revision=64719
2014-10-13 12:25:30 +00:00
Amine Khaldi d3d5f95600 [CRT]
* Bring-in some changes to init_fp().
* Update _filbuf(), _ftelli64(), alloc_buffer(), flush_all_buffers(), flush_buffer() and fread().
* Fixes msvcrt:file crash.
CORE-8540

svn path=/trunk/; revision=64716
2014-10-13 11:11:56 +00:00
Amine Khaldi cc3b98c999 [TFTPD]
* Update TFTPD Server. Initial patch by Kudratov Olimjon with some changes by me.
CORE-8620 #resolve #comment Committed in r64714 with some changes.

svn path=/trunk/; revision=64714
2014-10-13 11:03:35 +00:00
Aleksey Bragin 3ed526868f [PSDK] and [NDK]
- Since NTSTATUS definition is returned into bcrypt.h, then let's define PNTSTATUS too. Otherwise it makes no sense and errors out.
- Handle BCRYPT_H and __WINE_BCRYPT_H in ndk/umtypes.h. Thomas said that BCRYPT_H is not an option - but our NDK should be compatible with ReactOS PSDK too. If I am wrong, please feel free to change __WINE_BCRYPT_H to BCRYPT_H in psdk/bcrypt.h, fix related probelms and revert my change. Thanks!

svn path=/trunk/; revision=64713
2014-10-13 10:53:58 +00:00
Amine Khaldi 43cbfe8aea [MSVCRT_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64712
2014-10-13 10:53:02 +00:00
Amine Khaldi 43f5fec7ad [INCLUDE/CRT]
* Add missing _USERBUF definition.

svn path=/trunk/; revision=64711
2014-10-13 10:42:59 +00:00
Amine Khaldi 9144185ad8 [CRT]
* Update MSVCRT_I10_OUTPUT().
CORE-8540

svn path=/trunk/; revision=64710
2014-10-13 10:31:36 +00:00
Thomas Faber 80ecfd75ed [USER32_APITEST]
- Extend GetUserObjectInformation test to include the ansi version. ... this is the lazy way and just duplicates the code, feel free to make it more concise.
CORE-8101

svn path=/trunk/; revision=64706
2014-10-13 09:22:59 +00:00
Thomas Faber fb3bffdf30 [USER32]
- Correctly treat lpnLengthNeeded as optional in GetUserObjectInformationA. Fixes crash in user32_winetest:winstation
CORE-8101 #resolve

svn path=/trunk/; revision=64705
2014-10-13 09:18:46 +00:00
Amine Khaldi f7a5377817 [CMAKE/MSVC]
* Introduce support for for MSVC native run-time checks. Set RUNTIME_CHECKS to TRUE to enable it.
* Dedicated to Christoph von Wittich and all ReactOS devs that use MSVC builds ;)
CORE-8626

svn path=/trunk/; revision=64704
2014-10-12 22:59:32 +00:00
Amine Khaldi 64a6fffdbc [CMAKE]
* Module type win32dll ENTRYPOINT 0 => module.

svn path=/trunk/; revision=64703
2014-10-12 22:28:39 +00:00
Thomas Faber b62c758526 [RTL]
- Allow the thread that called LdrShutdownProcess to forcefully acquire critical sections (the loader lock in particular).
This fixes the race condition where ExitProcess might terminate a thread holding the loader lock and subsequently call LdrShutdownProcess. That would then result in a deadlock because LdrShutdownProcess cannot acquire the loader lock.
This is a pretty ugly hack... but at least Windows does it the same way.
Fixes hangs after the summary line when running mshtml tests.
CORE-8624 #resolve

svn path=/trunk/; revision=64702
2014-10-12 20:45:32 +00:00
Hermès Bélusca-Maïto ae24fd4e41 [NTVDM]
- Move the stack frame indices to where they belong (this is the stack layout when an interrupt is called).
- In the bootstrap interrupt, modify the CS:IP stored in the stack instead of the current CS:IP of the CPU, so that we can clean up everything and the interrupt return correctly, instead of breaking everything... (some apps wouldn't start with the original code^^). This is an addendum/fix to revision 64521.

svn path=/trunk/; revision=64701
2014-10-12 17:23:20 +00:00
Eric Kohl 634d194a5f [SETUPAPI]
Store the module handles to loaded property page provider dlls in the DeviceInfoData (for class property pages) or in the DeviceInfo (for device property pages). The dlls are unloaded when the device info set is destroyed. These dlls were unloaded as soon as the property sheet data had been retrieved. These property pages could not be added to a property sheet because unloading the dll invalidated the page reources.

svn path=/trunk/; revision=64700
2014-10-12 17:13:36 +00:00
Thomas Faber 6774a3cf53 [SECUR32]
- Call SECUR32_initializeProviders from EnumerateSecurityPackagesW if necessary. Fixes a couple secur32 tests, and an occasional crash in rpcrt4:rpc

svn path=/trunk/; revision=64699
2014-10-12 16:19:45 +00:00
Hermès Bélusca-Maïto eebf53a4a1 [FAST486]: speed up things a bit when we're reading prefixes, by really going to the next instruction (no jump to the end of the do{}while() loop, then restart).
svn path=/trunk/; revision=64698
2014-10-12 14:08:14 +00:00
Timo Kreuzer 62a9101a31 [NTOSKRNL]
Make sure APCs are disabled when acquiring MmSectionCommitMutex.

svn path=/trunk/; revision=64697
2014-10-12 14:05:49 +00:00
Hermès Bélusca-Maïto 88b05a01ad [fast486]: code formatting + add a comment about the instruction 0xF1.
svn path=/trunk/; revision=64696
2014-10-12 13:50:05 +00:00
Thomas Faber 5aaaab86e4 [ROSAUTOTEST]
- DbgPrint expects a format string!
ROSTESTS-145 #resolve

svn path=/trunk/; revision=64695
2014-10-12 13:23:38 +00:00
Pierre Schweitzer 6214688a97 [NTFS]
Forgot that file²...

svn path=/trunk/; revision=64694
2014-10-12 11:52:05 +00:00
Pierre Schweitzer 0892e523ce [NTFS]
Forgot that file...

svn path=/trunk/; revision=64693
2014-10-12 11:50:08 +00:00
Pierre Schweitzer e8d374127e [NTFS]
On opening, check the file found matches the requested dispositions from the caller

svn path=/trunk/; revision=64692
2014-10-12 11:48:42 +00:00
Pierre Schweitzer c440495495 [NTFS]
Properly reset FCB & SectionObjectPointer fields from the FileObject on close

svn path=/trunk/; revision=64691
2014-10-12 11:43:10 +00:00
Thomas Faber 64e2bc0bcd [NTDLL:DBG]
- Use NtReadVirtualMemory instead of dereferencing a pointer from a different process in DbgUiConvertStateChangeStructure.
CORE-8622 #resolve

svn path=/trunk/; revision=64690
2014-10-12 11:35:11 +00:00
Thomas Faber 98b2bae8db [EVENTLOG]
- In ElfGetLogHandleEntryByHandle, actually verify the validity of the handle by traversing the log handle list. Fixes crash in advapi32_winetest:eventlog (double close).
- Minor style improvements to ElfDeleteEventLogHandle
CORE-8621 #resolve

svn path=/trunk/; revision=64689
2014-10-12 11:23:05 +00:00
Thomas Faber e85c3287e6 [FDEBUG]
- Fix build

svn path=/trunk/; revision=64688
2014-10-12 06:21:22 +00:00
Hermès Bélusca-Maïto 81e45ad891 [FAST486]
- fastcall'ize some functions,
- code formatting.

svn path=/trunk/; revision=64687
2014-10-12 00:10:44 +00:00
Hermès Bélusca-Maïto 76b9cec909 [FAST486]
- In order to always check for opcode handler being NULL, replace the only NULL handler by a non-NULL one that handles the invalid opcodes.
- To quickly retrieve opcode numbers, add their numbers in regard to their handlers.

svn path=/trunk/; revision=64686
2014-10-11 23:12:30 +00:00
Thomas Faber 40b5bdc561 [NTOS:KE]
- Make fastfail exception noncontinuable
CORE-8419

svn path=/trunk/; revision=64685
2014-10-11 23:07:04 +00:00
Amine Khaldi d52bd15a34 [README.WINE]
* Mark extrac32 and expand as synced with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64684
2014-10-11 19:43:36 +00:00
Amine Khaldi 0613b3fa09 [WORDPAD]
* Fix an inconsistency between resource compilers.

svn path=/trunk/; revision=64683
2014-10-11 19:06:53 +00:00
Hermès Bélusca-Maïto 05f282db13 errm... proper commenting.
svn path=/trunk/; revision=64682
2014-10-11 18:40:08 +00:00
Amine Khaldi ba92c6ada6 [WORDPAD]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64681
2014-10-11 18:39:41 +00:00
Hermès Bélusca-Maïto 4dc3817613 [FAST486]
Use a more performant CountLeadingZeros64 version from Timo (tested by Thomas), and disable the MSVC-specific one until you find a version that works, and is supported for any CPU.

svn path=/trunk/; revision=64680
2014-10-11 18:35:23 +00:00
Pierre Schweitzer e13190034d [NTFS]
Addendum to r64678

svn path=/trunk/; revision=64679
2014-10-11 18:03:48 +00:00
Pierre Schweitzer 6df3ae7aff [NTFS]
Return found FCB on successful file opening

svn path=/trunk/; revision=64678
2014-10-11 18:00:46 +00:00