reactos.git
9 years ago[CMAKE/KEYBOARD]
Amine Khaldi [Fri, 17 Oct 2014 20:41:58 +0000 (20:41 +0000)]
[CMAKE/KEYBOARD]
* Improve the way we handle keyboard layouts.

svn path=/trunk/; revision=64791

9 years ago[EXT2FS]
Sylvain Petreolle [Fri, 17 Oct 2014 19:27:29 +0000 (19:27 +0000)]
[EXT2FS]
Properly fix warnings on MSVC, introduced in r38302.
"- 'allowwarnings=true' -- not anymore", they said.
Advice by ThFabba.

svn path=/trunk/; revision=64790

9 years ago[User32Test]
James Tabor [Fri, 17 Oct 2014 17:48:35 +0000 (17:48 +0000)]
[User32Test]
- Turn off tracking pop up menu tests. See CORE-8299.

svn path=/trunk/; revision=64789

9 years ago[User32]
James Tabor [Fri, 17 Oct 2014 16:43:46 +0000 (16:43 +0000)]
[User32]
- Patch by Michael Müller : Also set cch member in GetMenuItemInfo when passing a null pointer.
- Fix two menu tests.

svn path=/trunk/; revision=64788

9 years ago[CMD]
Kamil Hornicek [Fri, 17 Oct 2014 16:39:54 +0000 (16:39 +0000)]
[CMD]
- prevent a buffer underrun (fixes stray quotes being appended on autocomplete in some cases)
- check if the input string is not empty (fixes first file in directory getting skipped on autocomplete)
- fix some typos
CORE-8623

svn path=/trunk/; revision=64787

9 years ago[NTVDM]
Aleksandar Andrejevic [Fri, 17 Oct 2014 14:15:43 +0000 (14:15 +0000)]
[NTVDM]
Add an 8x14 font to the video BIOS.
Font data provided by Roy Tam.

svn path=/trunk/; revision=64786

9 years ago[USER32_WINETEST]
Amine Khaldi [Fri, 17 Oct 2014 13:49:22 +0000 (13:49 +0000)]
[USER32_WINETEST]
* Sync with Wine 1.7.27.
* Jim! help!
CORE-8540

svn path=/trunk/; revision=64785

9 years ago[ADVAPI32_WINETEST]
Amine Khaldi [Fri, 17 Oct 2014 13:36:13 +0000 (13:36 +0000)]
[ADVAPI32_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64784

9 years ago[PSDK]
Amine Khaldi [Fri, 17 Oct 2014 13:35:59 +0000 (13:35 +0000)]
[PSDK]
* Add missing PROCESS_SET_LIMITED_INFORMATION and THREAD_RESUME.

svn path=/trunk/; revision=64783

9 years ago[PING]
Thomas Faber [Fri, 17 Oct 2014 13:21:06 +0000 (13:21 +0000)]
[PING]
- Remove a broken "optimization"
CORE-7509 #resolve

svn path=/trunk/; revision=64782

9 years ago[KDCOM]
Amine Khaldi [Fri, 17 Oct 2014 11:12:03 +0000 (11:12 +0000)]
[KDCOM]
* Use set_module_type() instead of combining set_entrypoint() and set_image_base().

svn path=/trunk/; revision=64781

9 years ago[CMAKE]
Amine Khaldi [Fri, 17 Oct 2014 11:10:47 +0000 (11:10 +0000)]
[CMAKE]
* Fix IMAGEBASE handling.

svn path=/trunk/; revision=64780

9 years ago[LIBXML2]
Amine Khaldi [Fri, 17 Oct 2014 10:58:01 +0000 (10:58 +0000)]
[LIBXML2]
* Update to v2.9.2.
CORE-8642

svn path=/trunk/; revision=64779

9 years ago[NPFS]
Thomas Faber [Fri, 17 Oct 2014 10:04:57 +0000 (10:04 +0000)]
[NPFS]
- Arch, pool tags are specified in reverse order

svn path=/trunk/; revision=64778

9 years ago[WIN32K]
Amine Khaldi [Fri, 17 Oct 2014 07:59:29 +0000 (07:59 +0000)]
[WIN32K]
* Workaround for CORE-8525, CORE-6023, CORE-7735 and CORE-8635.
* Brought to you by V and Amine. Thanks to Timo and Jerome for the reviews.
CORE-8525 CORE-6023 CORE-7735 CORE-8635 #comment Please retest with r64777 or later.

svn path=/trunk/; revision=64777

9 years ago[NTFS]
Pierre Schweitzer [Fri, 17 Oct 2014 06:55:52 +0000 (06:55 +0000)]
[NTFS]
Bugfixing... Part 3/X:
- Really release the allocated memory in NtfsFindFileAt() and NtfsLookupFileAt(). Don't attempt to release caller pointer!

This fixes crashes on directory enumeration failure. Even though this latter still doesn't work.

svn path=/trunk/; revision=64776

9 years ago[FAST486]: Use psh/poppack.h here too.
Hermès Bélusca-Maïto [Fri, 17 Oct 2014 02:31:14 +0000 (02:31 +0000)]
[FAST486]: Use psh/poppack.h here too.

svn path=/trunk/; revision=64775

9 years ago[FAST486]: rename some structs and use #include <pshpack/poppack.h> for portability...
Hermès Bélusca-Maïto [Fri, 17 Oct 2014 02:29:48 +0000 (02:29 +0000)]
[FAST486]: rename some structs and use #include <pshpack/poppack.h> for portability purposes.

svn path=/trunk/; revision=64774

9 years ago[FAST486]: Do not call RtlCopyMemory for copying few bytes (2 and 4).
Hermès Bélusca-Maïto [Thu, 16 Oct 2014 21:48:18 +0000 (21:48 +0000)]
[FAST486]: Do not call RtlCopyMemory for copying few bytes (2 and 4).

svn path=/trunk/; revision=64773

9 years ago[NPFS]
Thomas Faber [Thu, 16 Oct 2014 21:43:03 +0000 (21:43 +0000)]
[NPFS]
- Don't return a canceled IRP from NpRemoveDataQueueEntry.

svn path=/trunk/; revision=64772

9 years ago[NTFS]
Pierre Schweitzer [Thu, 16 Oct 2014 21:37:27 +0000 (21:37 +0000)]
[NTFS]
Bugfixing... Part 2/X:
- Please welcome yet another structure in our NTFS driver... The INDX buffer which is used for non resident index entries. Doc (incomplete) here: http://bos.asmhackers.net/docs/filesystems/ntfs/INDX.html
- Make use of it in NtfsFindMftRecord() to replace some totally obscure code.
- Add some asserts to verify we read somehow what we expect. One of the assert is not working properly... Hum! Need to find out why.

We don't go any farther so far. Good news though: a FIXME has been replaced by another FIXME.
NB: This would deserve being ported to FreeLDR to fix the same FIXME.

svn path=/trunk/; revision=64771

9 years ago{NTOSKRNL]
Timo Kreuzer [Thu, 16 Oct 2014 21:33:32 +0000 (21:33 +0000)]
{NTOSKRNL]
Handle int 0x2c (assertion failure) in KDBG by breaking into the debugger instead of ignoring it and pretending it was handled. Now NT_ASSERT works on GCC builds as well. (As good as things work in KDBG...)

svn path=/trunk/; revision=64770

9 years ago[TCPIP]
Jérôme Gardou [Thu, 16 Oct 2014 20:15:33 +0000 (20:15 +0000)]
[TCPIP]
 - Fix potential NULL pointer dereference

svn path=/trunk/; revision=64769

9 years ago[INCLUDE/IDL]
Jérôme Gardou [Thu, 16 Oct 2014 20:15:26 +0000 (20:15 +0000)]
[INCLUDE/IDL]
 - Properly mark some arguments as [out] only for wlansvc interface.

svn path=/trunk/; revision=64768

9 years ago[USERENV]
Jérôme Gardou [Thu, 16 Oct 2014 20:15:13 +0000 (20:15 +0000)]
[USERENV]
 - Add proper stubs for GetAppliedGPOList[A,W]
CORE-8636

svn path=/trunk/; revision=64767

9 years ago[PSDK]
Jérôme Gardou [Thu, 16 Oct 2014 20:14:25 +0000 (20:14 +0000)]
[PSDK]
 - Add GetAppliedGPOList[A,W] declarations
CORE-8636

svn path=/trunk/; revision=64766

9 years ago[NTFS]
Pierre Schweitzer [Thu, 16 Oct 2014 20:05:36 +0000 (20:05 +0000)]
[NTFS]
Bugfixing... Part 1/X:
- FixupUpdateSequenceArray() returns a NTSTATUS, so properly handle it.
- Actually... Attributes name can be unicode in case of a file name, but it can also be ansi, for streams name... So, don't force UNICODE_STRING, it causes more troubles than it solves.

So, now, we really progress in reading directory. Instead of finding no files because we improperly read attributes, we now corrupt memory somewhere and crash ReactOS.

svn path=/trunk/; revision=64765

9 years ago[WIN32K]
Amine Khaldi [Thu, 16 Oct 2014 19:14:52 +0000 (19:14 +0000)]
[WIN32K]
* Zap EGAColorsTriples and DefLogPaletteTriples.
* Remove extra () around a comparison.

svn path=/trunk/; revision=64764

9 years ago[NPFS]
Thomas Faber [Thu, 16 Oct 2014 16:57:11 +0000 (16:57 +0000)]
[NPFS]
- Don't truncate pipe name in the RootPipe case in NpCreateFcb. Found by Windows's RtlInsertUnicodePrefix implementation -- which might indicate that ours is broken.

svn path=/trunk/; revision=64763

9 years ago[NPFS]
Thomas Faber [Thu, 16 Oct 2014 16:40:13 +0000 (16:40 +0000)]
[NPFS]
- Don't call RtlEqualUnicodeString (paged code) while holding a spin lock. Powered by Driver Verifier.

svn path=/trunk/; revision=64762

9 years ago[NPFS]
Thomas Faber [Thu, 16 Oct 2014 16:36:17 +0000 (16:36 +0000)]
[NPFS]
- Use NpAcquire*Vcb/NpReleaseVcb instead of using NpVcb directly
- CaseInsensitiveIndex is integer, not boolean
- Minor fixes involving unnecessary casts and magic numbers

svn path=/trunk/; revision=64761

9 years ago[SPEC2DEF]
Jérôme Gardou [Thu, 16 Oct 2014 09:23:33 +0000 (09:23 +0000)]
[SPEC2DEF]
 - Fix typo: PRix64 --> PRIx64
 - Use GUID to trace 'int128' arguments, as that's what they almost always are.

svn path=/trunk/; revision=64760

9 years ago[NTVDM]
Aleksandar Andrejevic [Thu, 16 Oct 2014 01:41:24 +0000 (01:41 +0000)]
[NTVDM]
Fix the IRQ priority and routing in PicGetInterrupt.

svn path=/trunk/; revision=64759

9 years ago[RunTmChk]
Timo Kreuzer [Wed, 15 Oct 2014 22:44:26 +0000 (22:44 +0000)]
[RunTmChk]
Fix a typo, remove a spare int 3, add file headers with BSD license

svn path=/trunk/; revision=64758

9 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 15 Oct 2014 22:03:50 +0000 (22:03 +0000)]
[NTOSKRNL]
Don't use an uninitialized variable in MmArmAccessFault (Alex, please review). Brought to you by MSVC runtime checks.

svn path=/trunk/; revision=64757

9 years ago[RunTmChk]
Timo Kreuzer [Wed, 15 Oct 2014 21:54:12 +0000 (21:54 +0000)]
[RunTmChk]
Implement a simple version of RunTmChk.lib for MSVC runtime check support, which can also be used in kernel mode. This one is good enough to compile ntoskrnl with it.

svn path=/trunk/; revision=64756

9 years ago[NTVDM]: Arch, please do *not* reinitialize twice the keyboard and the video (first...
Hermès Bélusca-Maïto [Wed, 15 Oct 2014 21:31:51 +0000 (21:31 +0000)]
[NTVDM]: Arch, please do *not* reinitialize twice the keyboard and the video (first time before initializing the BDA, second time after), otherwise some programs won't display correct things!!

svn path=/trunk/; revision=64755

9 years ago[NTFS]
Pierre Schweitzer [Wed, 15 Oct 2014 21:02:05 +0000 (21:02 +0000)]
[NTFS]
- Implement NtfsGetNameInformation()
- Implement NtfsGetDirectoryInformation()
- Implement NtfsGetFullDirectoryInformation()
- Implement NtfsGetBothDirectoryInformation()
- Implement NtfsQueryDirectory() which makes use of all the functions upper + all the previous fixes to make it able to look for a file using WC and file entry index

This is supposed to bring directory enumeration in line on NTFS volumes. BUT, there's a bug at some point which makes it fail (or my test volume is corrupted :-P (which is unlikely (Scheme, get out of this commit message!))). Will look into it later on. Committing so far because it's quite major work anyway.
More to follow~

svn path=/trunk/; revision=64754

9 years ago[NTFS]
Pierre Schweitzer [Wed, 15 Oct 2014 20:36:30 +0000 (20:36 +0000)]
[NTFS]
Implement NtfsFileFlagsToAttributes() to fix some of the attributes of the MFT to make them usable by ReactOS.
Would deserve a double-check

svn path=/trunk/; revision=64753

9 years ago[NTFS]
Pierre Schweitzer [Wed, 15 Oct 2014 20:23:47 +0000 (20:23 +0000)]
[NTFS]
Implement NtfsDateTimeToFileTime() which convert epoch time (1970) to Windows time (1601)

svn path=/trunk/; revision=64752

9 years ago[TRANSLATIONS]
Amine Khaldi [Wed, 15 Oct 2014 17:46:49 +0000 (17:46 +0000)]
[TRANSLATIONS]
* Turkish translations update by Erdem Ersoy.
CORE-7861

svn path=/trunk/; revision=64750

9 years ago[PSDK]
Thomas Faber [Wed, 15 Oct 2014 16:38:13 +0000 (16:38 +0000)]
[PSDK]
- Use macro version of RtlUlonglongByteSwap in winternl.h because using the fastcall version causes stack corruption
CORE-8632 #resolve

svn path=/trunk/; revision=64749

9 years ago[NTVDM]: Implement double-width and double-height separately; used when eg. an app...
Hermès Bélusca-Maïto [Wed, 15 Oct 2014 00:42:19 +0000 (00:42 +0000)]
[NTVDM]: Implement double-width and double-height separately; used when eg. an app displays in 640*180, etc...

svn path=/trunk/; revision=64748

9 years ago[NTVDM]: Zero-fill memory with RtlZeroMemory (that exists also in NT mode), and use...
Hermès Bélusca-Maïto [Tue, 14 Oct 2014 22:46:40 +0000 (22:46 +0000)]
[NTVDM]: Zero-fill memory with RtlZeroMemory (that exists also in NT mode), and use sizeof(object) instead of sizeof(type_of_object).

svn path=/trunk/; revision=64747

9 years agoForgot this file :)
Hermès Bélusca-Maïto [Tue, 14 Oct 2014 21:53:07 +0000 (21:53 +0000)]
Forgot this file :)

svn path=/trunk/; revision=64746

9 years ago[FAST486]
Hermès Bélusca-Maïto [Tue, 14 Oct 2014 21:51:00 +0000 (21:51 +0000)]
[FAST486]
- Invalid extended opcodes get a special handler, so that we are not anymore obliged to check for NULL before running an extended opcode.
- To quickly retrieve extended opcode numbers, add their numbers in regard to their handlers.

svn path=/trunk/; revision=64745

9 years ago[NTFS]
Pierre Schweitzer [Tue, 14 Oct 2014 20:34:38 +0000 (20:34 +0000)]
[NTFS]
Also return the index of the entry which was found

svn path=/trunk/; revision=64744

9 years ago[NTFS]
Pierre Schweitzer [Tue, 14 Oct 2014 19:11:49 +0000 (19:11 +0000)]
[NTFS]
- Also make NtfsFindMftRecord() return the name of the record it found
- Implement support for entry enumeration (from 0 or not) in NtfsFindMftRecord()
- Experimental fix in NtfsLookupFileAt(), look for the attribute using the name of the record, and not the full path
- Implement NtfsFindFileAt() which is used to look for a file/directory using WC in a given directory

svn path=/trunk/; revision=64743

9 years ago[NTFS]
Pierre Schweitzer [Tue, 14 Oct 2014 18:41:38 +0000 (18:41 +0000)]
[NTFS]
- Prepare (only prototype so far) NtfsFindMftRecord() for directory search & enumeration with WC.
- Modify CompareFileName() so that comparisons can be done with or without WC.
- Fix NtfsLookupFileAt() accordingly

svn path=/trunk/; revision=64742

9 years ago[NTVDM]
Hermès Bélusca-Maïto [Tue, 14 Oct 2014 00:14:56 +0000 (00:14 +0000)]
[NTVDM]
- Call CpuUnsimulate in EmulatorTerminate so that we really stop the CPU, before stopping the rest of the VM.
- We can reset CpuRunning to TRUE in CpuSimulate *only* if the VM is still running AND the CpuCallLevel is strictly positive (>=1 means, CPU halted or running; ==0 means, CPU stopped).

svn path=/trunk/; revision=64741

9 years ago[FAST486]: Rename fast486dbg.c to debug.c as per opular demand :P
Hermès Bélusca-Maïto [Mon, 13 Oct 2014 22:08:08 +0000 (22:08 +0000)]
[FAST486]: Rename fast486dbg.c to debug.c as per opular demand :P

svn path=/trunk/; revision=64740

9 years ago[FAST486]
Hermès Bélusca-Maïto [Mon, 13 Oct 2014 21:49:01 +0000 (21:49 +0000)]
[FAST486]
- Add doc for INT instructions,
- Move debug functions to an appropriate file.

svn path=/trunk/; revision=64739

9 years ago[CRT]
Amine Khaldi [Mon, 13 Oct 2014 19:48:08 +0000 (19:48 +0000)]
[CRT]
* Update fwrite().
* Fixes some msvcrt:file tests.
CORE-8540

svn path=/trunk/; revision=64738

9 years ago[NTVDM]: it is always interesting to dump the full CPU state when an exception occurs.
Hermès Bélusca-Maïto [Mon, 13 Oct 2014 18:51:40 +0000 (18:51 +0000)]
[NTVDM]: it is always interesting to dump the full CPU state when an exception occurs.

svn path=/trunk/; revision=64737

9 years ago[ADVAPI32_APITESTS]
Jérôme Gardou [Mon, 13 Oct 2014 18:49:09 +0000 (18:49 +0000)]
[ADVAPI32_APITESTS]
 - Add a few tests for DuplicateTokenEx

svn path=/trunk/; revision=64736

9 years ago[NTOS/SE]
Jérôme Gardou [Mon, 13 Oct 2014 18:47:44 +0000 (18:47 +0000)]
[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

9 years ago[SETUPAPI]
Eric Kohl [Mon, 13 Oct 2014 18:31:55 +0000 (18:31 +0000)]
[SETUPAPI]
Load a property sheet extension dll only once, otherwise we might leak module handles.

svn path=/trunk/; revision=64734

9 years ago[CRT]
Amine Khaldi [Mon, 13 Oct 2014 18:08:34 +0000 (18:08 +0000)]
[CRT]
* Update free_fd().
* Fixes some msvcrt:file tests.
CORE-8540

svn path=/trunk/; revision=64733

9 years ago[NTFS]
Pierre Schweitzer [Mon, 13 Oct 2014 17:57:25 +0000 (17:57 +0000)]
[NTFS]
So far, keep our NTFS read-only. Booh, that's sad! *sob*. I know.

svn path=/trunk/; revision=64732

9 years ago[CRT]
Amine Khaldi [Mon, 13 Oct 2014 17:50:17 +0000 (17:50 +0000)]
[CRT]
* Update setvbuf() and ungetc().
* Fixes some msvcrt:file tests.
CORE-8540

svn path=/trunk/; revision=64731

9 years ago[Win32k]
James Tabor [Mon, 13 Oct 2014 17:15:04 +0000 (17:15 +0000)]
[Win32k]
- Remove code that breaks API SetActiveWindow tests. See CORE-7447.
- Dedicated to Victor Martinez Calvo.

svn path=/trunk/; revision=64730

9 years agoArch, stop screwing up your commits.
Jérôme Gardou [Mon, 13 Oct 2014 16:25:23 +0000 (16:25 +0000)]
Arch, stop screwing up your commits.

svn path=/trunk/; revision=64729

9 years ago[CMAKE]
Jérôme Gardou [Mon, 13 Oct 2014 16:21:48 +0000 (16:21 +0000)]
[CMAKE]
 - Also give a base address to d3dwine.dll

svn path=/trunk/; revision=64728

9 years ago[WINED3D]
Jérôme Gardou [Mon, 13 Oct 2014 16:07:46 +0000 (16:07 +0000)]
[WINED3D]
 - Fix build: This is wha happens when youknow you should perform a clean build but don't.

svn path=/trunk/; revision=64726

9 years ago[WINED3D]
Jérôme Gardou [Mon, 13 Oct 2014 16:04:40 +0000 (16:04 +0000)]
[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

9 years ago[BOOTDATA]
Amine Khaldi [Mon, 13 Oct 2014 15:55:56 +0000 (15:55 +0000)]
[BOOTDATA]
* Partial revert of r64722 due to change of encoding. Spotted by Sylvain.
CORE-8520

svn path=/trunk/; revision=64723

9 years ago[BOOTDATA][MEDIA/INF]
Amine Khaldi [Mon, 13 Oct 2014 15:26:46 +0000 (15:26 +0000)]
[BOOTDATA][MEDIA/INF]
* Romanian translations update by Ștefan Fulea.
CORE-8520

svn path=/trunk/; revision=64722

9 years ago[TRANSLATIONS]
Amine Khaldi [Mon, 13 Oct 2014 15:24:08 +0000 (15:24 +0000)]
[TRANSLATIONS]
* Romanian translations update by Ștefan Fulea.
CORE-8520

svn path=/trunk/; revision=64721

9 years ago[GDI32]
Thomas Faber [Mon, 13 Oct 2014 14:06:40 +0000 (14:06 +0000)]
[GDI32]
- Return 1 on failure in IntEnumFontFamilies, as shown by the test
CORE-8628 #resolve

svn path=/trunk/; revision=64720

9 years ago[GDI32_APITEST]
Thomas Faber [Mon, 13 Oct 2014 12:25:30 +0000 (12:25 +0000)]
[GDI32_APITEST]
- Add a test for EnumFontFamilies* returning no results
CORE-8628

svn path=/trunk/; revision=64719

9 years ago[CRT]
Amine Khaldi [Mon, 13 Oct 2014 11:11:56 +0000 (11:11 +0000)]
[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

9 years ago[TFTPD]
Amine Khaldi [Mon, 13 Oct 2014 11:03:35 +0000 (11:03 +0000)]
[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

9 years ago[PSDK] and [NDK]
Aleksey Bragin [Mon, 13 Oct 2014 10:53:58 +0000 (10:53 +0000)]
[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

9 years ago[MSVCRT_WINETEST]
Amine Khaldi [Mon, 13 Oct 2014 10:53:02 +0000 (10:53 +0000)]
[MSVCRT_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64712

9 years ago[INCLUDE/CRT]
Amine Khaldi [Mon, 13 Oct 2014 10:42:59 +0000 (10:42 +0000)]
[INCLUDE/CRT]
* Add missing _USERBUF definition.

svn path=/trunk/; revision=64711

9 years ago[CRT]
Amine Khaldi [Mon, 13 Oct 2014 10:31:36 +0000 (10:31 +0000)]
[CRT]
* Update MSVCRT_I10_OUTPUT().
CORE-8540

svn path=/trunk/; revision=64710

9 years ago[USER32_APITEST]
Thomas Faber [Mon, 13 Oct 2014 09:22:59 +0000 (09:22 +0000)]
[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

9 years ago[USER32]
Thomas Faber [Mon, 13 Oct 2014 09:18:46 +0000 (09:18 +0000)]
[USER32]
- Correctly treat lpnLengthNeeded as optional in GetUserObjectInformationA. Fixes crash in user32_winetest:winstation
CORE-8101 #resolve

svn path=/trunk/; revision=64705

9 years ago[CMAKE/MSVC]
Amine Khaldi [Sun, 12 Oct 2014 22:59:32 +0000 (22:59 +0000)]
[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

9 years ago[CMAKE]
Amine Khaldi [Sun, 12 Oct 2014 22:28:39 +0000 (22:28 +0000)]
[CMAKE]
* Module type win32dll ENTRYPOINT 0 => module.

svn path=/trunk/; revision=64703

9 years ago[RTL]
Thomas Faber [Sun, 12 Oct 2014 20:45:32 +0000 (20:45 +0000)]
[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

9 years ago[NTVDM]
Hermès Bélusca-Maïto [Sun, 12 Oct 2014 17:23:20 +0000 (17:23 +0000)]
[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

9 years ago[SETUPAPI]
Eric Kohl [Sun, 12 Oct 2014 17:13:36 +0000 (17:13 +0000)]
[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

9 years ago[SECUR32]
Thomas Faber [Sun, 12 Oct 2014 16:19:45 +0000 (16:19 +0000)]
[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

9 years ago[FAST486]: speed up things a bit when we're reading prefixes, by really going to...
Hermès Bélusca-Maïto [Sun, 12 Oct 2014 14:08:14 +0000 (14:08 +0000)]
[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

9 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 12 Oct 2014 14:05:49 +0000 (14:05 +0000)]
[NTOSKRNL]
Make sure APCs are disabled when acquiring MmSectionCommitMutex.

svn path=/trunk/; revision=64697

9 years ago[fast486]: code formatting + add a comment about the instruction 0xF1.
Hermès Bélusca-Maïto [Sun, 12 Oct 2014 13:50:05 +0000 (13:50 +0000)]
[fast486]: code formatting + add a comment about the instruction 0xF1.

svn path=/trunk/; revision=64696

9 years ago[ROSAUTOTEST]
Thomas Faber [Sun, 12 Oct 2014 13:23:38 +0000 (13:23 +0000)]
[ROSAUTOTEST]
- DbgPrint expects a format string!
ROSTESTS-145 #resolve

svn path=/trunk/; revision=64695

9 years ago[NTFS]
Pierre Schweitzer [Sun, 12 Oct 2014 11:52:05 +0000 (11:52 +0000)]
[NTFS]
Forgot that file²...

svn path=/trunk/; revision=64694

9 years ago[NTFS]
Pierre Schweitzer [Sun, 12 Oct 2014 11:50:08 +0000 (11:50 +0000)]
[NTFS]
Forgot that file...

svn path=/trunk/; revision=64693

9 years ago[NTFS]
Pierre Schweitzer [Sun, 12 Oct 2014 11:48:42 +0000 (11:48 +0000)]
[NTFS]
On opening, check the file found matches the requested dispositions from the caller

svn path=/trunk/; revision=64692

9 years ago[NTFS]
Pierre Schweitzer [Sun, 12 Oct 2014 11:43:10 +0000 (11:43 +0000)]
[NTFS]
Properly reset FCB & SectionObjectPointer fields from the FileObject on close

svn path=/trunk/; revision=64691

9 years ago[NTDLL:DBG]
Thomas Faber [Sun, 12 Oct 2014 11:35:11 +0000 (11:35 +0000)]
[NTDLL:DBG]
- Use NtReadVirtualMemory instead of dereferencing a pointer from a different process in DbgUiConvertStateChangeStructure.
CORE-8622 #resolve

svn path=/trunk/; revision=64690

9 years ago[EVENTLOG]
Thomas Faber [Sun, 12 Oct 2014 11:23:05 +0000 (11:23 +0000)]
[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

9 years ago[FDEBUG]
Thomas Faber [Sun, 12 Oct 2014 06:21:22 +0000 (06:21 +0000)]
[FDEBUG]
- Fix build

svn path=/trunk/; revision=64688

9 years ago[FAST486]
Hermès Bélusca-Maïto [Sun, 12 Oct 2014 00:10:44 +0000 (00:10 +0000)]
[FAST486]
- fastcall'ize some functions,
- code formatting.

svn path=/trunk/; revision=64687

9 years ago[FAST486]
Hermès Bélusca-Maïto [Sat, 11 Oct 2014 23:12:30 +0000 (23:12 +0000)]
[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

9 years ago[NTOS:KE]
Thomas Faber [Sat, 11 Oct 2014 23:07:04 +0000 (23:07 +0000)]
[NTOS:KE]
- Make fastfail exception noncontinuable
CORE-8419

svn path=/trunk/; revision=64685

9 years ago[README.WINE]
Amine Khaldi [Sat, 11 Oct 2014 19:43:36 +0000 (19:43 +0000)]
[README.WINE]
* Mark extrac32 and expand as synced with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64684

9 years ago[WORDPAD]
Amine Khaldi [Sat, 11 Oct 2014 19:06:53 +0000 (19:06 +0000)]
[WORDPAD]
* Fix an inconsistency between resource compilers.

svn path=/trunk/; revision=64683