reactos.git
9 years ago[CRT]
Amine Khaldi [Sun, 25 May 2014 16:09:32 +0000 (16:09 +0000)]
[CRT]
* Partial update of scanf routines (MS ABI varargs).
CORE-8080

svn path=/trunk/; revision=63445

9 years ago[WIN32K]
Timo Kreuzer [Sun, 25 May 2014 14:41:33 +0000 (14:41 +0000)]
[WIN32K]
Remove obsolete patblt.c (all the code is in bitblt.c)

svn path=/trunk/; revision=63444

9 years ago[CRT]
Amine Khaldi [Sun, 25 May 2014 14:30:54 +0000 (14:30 +0000)]
[CRT]
* Partial update of scanf routines. Focus was on the case of reading a float.
* Don't inline float processing, introduce _internal_handle_float() and co to take care of this. Brought to you by Timo.
* Msvcrt scanf tests are now green.
CORE-7005 #resolve #comment Should be fixed in r63443. Thanks Dmitry ;)
CORE-8080

svn path=/trunk/; revision=63443

9 years ago[WIN32K]
Timo Kreuzer [Sun, 25 May 2014 12:59:17 +0000 (12:59 +0000)]
[WIN32K]
Make sure to check for invalid NULL handles before passing them to GDIOBJ_bLockMultipleObjects, which skips NULL handles. This is a design limitation, since otherwise we either need to pass a bitfield of valid handles, or duplicate  code in certain functions, where different combinations of dest, source and mask dc are allowed.

svn path=/trunk/; revision=63442

9 years ago[CMAKE]
Amine Khaldi [Sun, 25 May 2014 12:29:49 +0000 (12:29 +0000)]
[CMAKE]
* Force the C++ compiler in the ARM case.

svn path=/trunk/; revision=63441

9 years ago[LAUTUS]
Daniel Reimer [Sun, 25 May 2014 11:40:30 +0000 (11:40 +0000)]
[LAUTUS]
Change the used font from Segoe UI (MS ONLY) to the very close looking OpenSans family. Same parameters though.

svn path=/trunk/; revision=63440

9 years ago[FONTS]
Daniel Reimer [Sun, 25 May 2014 11:39:12 +0000 (11:39 +0000)]
[FONTS]
Add Open Sans Font Family as Segoe UI like font for Lautus.
Add Ubuntu Font Family which is used by Lautus.

svn path=/trunk/; revision=63439

9 years ago[CRT]
Amine Khaldi [Sun, 25 May 2014 10:47:48 +0000 (10:47 +0000)]
[CRT]
* Use lconv and define MSVCRT_lconv to it.

svn path=/trunk/; revision=63438

9 years ago[RTL]
Timo Kreuzer [Sun, 25 May 2014 10:36:47 +0000 (10:36 +0000)]
[RTL]
Fix warnings and a bug in 64bit bitmap code

svn path=/trunk/; revision=63437

9 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 25 May 2014 10:21:08 +0000 (10:21 +0000)]
[NTOSKRNL]
Add SEH to LpcpCreatePort and NtAcceptConnectPort. Based on patches by Aleksander Andrejevic ([TheFlash])
CORE-7156 #resolve
CORE-7371 #comment SEH still missing in NtSecureConnectPort, NtReplyPort, NtReplyWaitReceivePortEx, NtRequestPort

svn path=/trunk/; revision=63436

9 years ago[powerprof]
Christoph von Wittich [Sun, 25 May 2014 08:28:51 +0000 (08:28 +0000)]
[powerprof]
fix some typos in comments

svn path=/trunk/; revision=63435

9 years ago[shell32]
Christoph von Wittich [Sat, 24 May 2014 16:39:55 +0000 (16:39 +0000)]
[shell32]
revert the revert, my wine version was outdated

svn path=/trunk/; revision=63430

9 years ago[MAGNIFY]
Timo Kreuzer [Sat, 24 May 2014 10:19:01 +0000 (10:19 +0000)]
[MAGNIFY]
Update display even when mouse does not move. Patch by Andrea Faulds.
CORE-4739 #comment Committed in r63429, thanks. #resolve

svn path=/trunk/; revision=63429

9 years ago[DDRAW]
Timo Kreuzer [Sat, 24 May 2014 09:53:24 +0000 (09:53 +0000)]
[DDRAW]
Avoid buffer overrun in IDirectDraw::GetCaps. Patch by Jérôme Gardou.
CORE-4623 #resolve

svn path=/trunk/; revision=63428

9 years ago[shell32]
Christoph von Wittich [Sat, 24 May 2014 06:44:22 +0000 (06:44 +0000)]
[shell32]
sync _SHGetUserProfilePath with wine

svn path=/trunk/; revision=63427

9 years ago[TXTSETUP]
Sylvain Petreolle [Fri, 23 May 2014 19:31:23 +0000 (19:31 +0000)]
[TXTSETUP]
Install wmilib.
Dedicated to Timo. ;)

svn path=/trunk/; revision=63425

9 years ago[shell32]
Christoph von Wittich [Fri, 23 May 2014 17:28:39 +0000 (17:28 +0000)]
[shell32]
set first verb as default
fixes opening control panel applets by double click

svn path=/trunk/; revision=63424

9 years ago[shell32]
Christoph von Wittich [Fri, 23 May 2014 17:14:39 +0000 (17:14 +0000)]
[shell32]
revert one line of r63414

svn path=/trunk/; revision=63423

9 years ago[USETUP]
Eric Kohl [Thu, 22 May 2014 23:31:39 +0000 (23:31 +0000)]
[USETUP]
- ScanForUnpartitionedDiskSpace: Scan the list of logical partitions for unpartitioned space too.
- Fix a little typo.

svn path=/trunk/; revision=63421

9 years ago[NTOSKRNL]
Timo Kreuzer [Thu, 22 May 2014 22:28:57 +0000 (22:28 +0000)]
[NTOSKRNL]
When a user mode debugger has single stepping enabled and steps over a sysenter instruction, you are obviously not supposed to enter the kernel debugger on the syscall entry handler. But exactly this happened on reactos. This was because the sysenter instruction doesn't disable single stepping, so we need to handle this special case manually in the single stepping handler (which we didn't). We now check if the single step comes from KiFastCallEntry and when it does, disable single stepping in the current (nested) trap frame and return back to a secondary fast call entry. The 2nd entrypoint will make sure to re-enable the single step flag in EFLAGS before returning to usermode.
To make this actually work, the asm entry stub itself needs to handle saving of eflags, so some trap frame modification from KiFastCallEntryHandler was moved into the asm stub. Since the amount of asm instructions is rather small (10 instructions, pretty straight forward) I moved everything from KiSystemServiceHandler to the asm stub and killed KiFastCallEntryHandler entirely, calling KiSystemServiceHandler instead.
Now stepping over a sysenter instruction works with OllyDbg without breaking into the kernel debugger. CORE-8057 #resolve

svn path=/trunk/; revision=63420

9 years ago[CRT]
Amine Khaldi [Thu, 22 May 2014 21:10:16 +0000 (21:10 +0000)]
[CRT]
* Update ungetwc().
CORE-8080

svn path=/trunk/; revision=63418

9 years ago[CRT]
Amine Khaldi [Thu, 22 May 2014 20:59:46 +0000 (20:59 +0000)]
[CRT]
* Update _wtmpnam() and tmpnam().
CORE-8080

svn path=/trunk/; revision=63417

9 years ago[WIN32K]
Timo Kreuzer [Thu, 22 May 2014 19:15:40 +0000 (19:15 +0000)]
[WIN32K]
Amendment to r63409.
Zap remaining kernel object header access from win32k. Noticed by Hermes.

svn path=/trunk/; revision=63416

9 years ago[shell32]
Christoph von Wittich [Thu, 22 May 2014 18:53:44 +0000 (18:53 +0000)]
[shell32]
Import some changes from Wine to shlexec.cpp
patch by Ivan Rodionov see CORE-8196

svn path=/trunk/; revision=63414

9 years ago[BMFD]
Timo Kreuzer [Thu, 22 May 2014 16:15:48 +0000 (16:15 +0000)]
[BMFD]
Fix inverted use of scaling factors. Patch by Victor Martinez. CORE-8165 #resolve

svn path=/trunk/; revision=63413

9 years ago[CRT]
Amine Khaldi [Thu, 22 May 2014 16:13:44 +0000 (16:13 +0000)]
[CRT]
* Update fputs().
CORE-8080

svn path=/trunk/; revision=63412

9 years ago[USETUP]
Eric Kohl [Thu, 22 May 2014 14:55:04 +0000 (14:55 +0000)]
[USETUP]
- Fix a failed partition type assignment, when unpartitioned disk space is converted to an extended partition.
- Rename the extended partition list to logical partition list.
- Add a pointer to an extended partition to the disk entries. And keep it up-to-date when the primary partition list is built or modified.
- Add the 'Unpartitioned space' partiton entry to the logical partition list when an extended partition has been created.
- Remove all logical partition entries when the coresponding extended partition will be deleted.

svn path=/trunk/; revision=63411

9 years ago[CRT]
Amine Khaldi [Thu, 22 May 2014 14:10:49 +0000 (14:10 +0000)]
[CRT]
* Update fgetpos().
CORE-8080

svn path=/trunk/; revision=63410

9 years ago[WIN32K]
Timo Kreuzer [Thu, 22 May 2014 13:40:23 +0000 (13:40 +0000)]
[WIN32K]
Don't access the object header of a kernel object from win32k. Instead get the desktop name from the desktop info structure. CORE-6818 #resolve

svn path=/trunk/; revision=63409

9 years ago[WIN32K]
Timo Kreuzer [Thu, 22 May 2014 11:45:53 +0000 (11:45 +0000)]
[WIN32K]
Make all GDI object cleanup functions return VOID instead of BOOL.
CORE-6870 #resolve

svn path=/trunk/; revision=63408

9 years ago[MSVCRT]
Amine Khaldi [Thu, 22 May 2014 11:42:45 +0000 (11:42 +0000)]
[MSVCRT]
* Don't export wcstombs_s().
CORE-8174

svn path=/trunk/; revision=63407

9 years ago[NTOSKRNL]
Timo Kreuzer [Thu, 22 May 2014 10:18:22 +0000 (10:18 +0000)]
[NTOSKRNL]
Pass process id to DbgUnLoadImageSymbols instead of ZwCurrentProcess() or a PEPROCESS.
Patch by Jérôme Gardou <jerome.gardou at reactos dot org>
CORE-8253 #resolve

svn path=/trunk/; revision=63406

9 years ago[NTOSKRNL]
Timo Kreuzer [Thu, 22 May 2014 10:08:44 +0000 (10:08 +0000)]
[NTOSKRNL]
- Do not align the size of a memory area to the allocation granularity, but to PAGE_SIZE. Fixes OllyDbg regression from r61108. CORE-8168 #resolve
- Clarify the size calculation in MmCreateMemoryArea
- Silence a few DPRINTs

svn path=/trunk/; revision=63405

9 years ago[WIN32K]
Kamil Hornicek [Thu, 22 May 2014 09:33:29 +0000 (09:33 +0000)]
[WIN32K]
- make DIB_XXBPP_StretchBlt work with top down bitmaps
- fixes missing icons in the taskbar in explorer new (32bpp)

svn path=/trunk/; revision=63404

9 years ago[USETUP]
Eric Kohl [Wed, 21 May 2014 20:20:18 +0000 (20:20 +0000)]
[USETUP]
Display logical partitions. They cannot be selected or modified yet.

svn path=/trunk/; revision=63403

9 years ago[MSVCRT]
Amine Khaldi [Wed, 21 May 2014 18:02:48 +0000 (18:02 +0000)]
[MSVCRT]
* Don't export mbstowcs_s().
CORE-7889

svn path=/trunk/; revision=63402

9 years ago[MSVCRT_CRT_APITEST]
Amine Khaldi [Wed, 21 May 2014 14:26:20 +0000 (14:26 +0000)]
[MSVCRT_CRT_APITEST]
* Don't enable wcstombs_s() tests (it shouldn't be exported).
CORE-7889

svn path=/trunk/; revision=63401

9 years ago[MSVCRT_CRT_APITEST]
Amine Khaldi [Wed, 21 May 2014 13:30:26 +0000 (13:30 +0000)]
[MSVCRT_CRT_APITEST]
* Don't enable mbstowcs_s() tests (it shouldn't be exported).
CORE-7889

svn path=/trunk/; revision=63400

9 years ago[MSVCRT_CRT_APITEST]
Amine Khaldi [Wed, 21 May 2014 13:20:38 +0000 (13:20 +0000)]
[MSVCRT_CRT_APITEST]
* Don't reply on _set_errno() which shouldn't be exported.

svn path=/trunk/; revision=63399

9 years ago[USETUP]
Hermès Bélusca-Maïto [Wed, 21 May 2014 12:23:04 +0000 (12:23 +0000)]
[USETUP]
- Fix a bit the translation of yesterday;
- Use TEXT_PADDING_BIG instead of hardcoding 3 spaces in the status messages.

svn path=/trunk/; revision=63398

9 years ago[USETUP]
Eric Kohl [Wed, 21 May 2014 11:01:17 +0000 (11:01 +0000)]
[USETUP]
Display the proper partition type 'Extended Partiton' when an extended partition is going to be deleted.

svn path=/trunk/; revision=63396

9 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 21 May 2014 09:44:41 +0000 (09:44 +0000)]
[NTOSKRNL]
Do not ASSERT, when an unimplemented, yet legal flag (MEM_RESERVE) is passed to NtMapViewOfSection. Instead fail gracefully.

svn path=/trunk/; revision=63395

9 years agoForgot this...
Hermès Bélusca-Maïto [Wed, 21 May 2014 00:22:05 +0000 (00:22 +0000)]
Forgot this...

svn path=/trunk/; revision=63394

9 years ago[USETUP]: French translation for extended partitions feature, see r63392.
Hermès Bélusca-Maïto [Wed, 21 May 2014 00:18:50 +0000 (00:18 +0000)]
[USETUP]: French translation for extended partitions feature, see r63392.

svn path=/trunk/; revision=63393

9 years ago[USETUP]
Eric Kohl [Tue, 20 May 2014 23:48:36 +0000 (23:48 +0000)]
[USETUP]
- Implement creation of extended partitions.
- Add creation checks for primary and extended partitions.

svn path=/trunk/; revision=63392

9 years agoI was noted that I forgot to also apply the same fix to the KeRestoreFloatingPointSta...
David Quintana [Tue, 20 May 2014 22:51:38 +0000 (22:51 +0000)]
I was noted that I forgot to also apply the same fix to the KeRestoreFloatingPointState function.

Also, for reference: r23894 contained working implemnentations in fpu.c. In r23895 ion "moved" it to cpu.c, killing the MSVC implementation in the process. In 23972, ion added new MSVC code for it, but this new version had the bug. It has remained undiscovered until very recently.

svn path=/trunk/; revision=63391

9 years agoFix KeSaveFloatingPointState. It was working once upon a time, but the fix was lost...
David Quintana [Tue, 20 May 2014 22:33:26 +0000 (22:33 +0000)]
Fix KeSaveFloatingPointState. It was working once upon a time, but the fix was lost on some refactoring. I was told to blame it on Arch.

svn path=/trunk/; revision=63390

9 years ago[urlmon_winetest]
Christoph von Wittich [Tue, 20 May 2014 21:29:27 +0000 (21:29 +0000)]
[urlmon_winetest]
-Fixed some occasionally failing tests. Patch by Jacek Caban (sync to wine head)

svn path=/trunk/; revision=63389

9 years ago[NTOSKRNL]
Timo Kreuzer [Tue, 20 May 2014 21:11:43 +0000 (21:11 +0000)]
[NTOSKRNL]
Fix ending address calculation for the commit path in NtAllocateVirtualMemory like done for the reserve path in r63356. Add a comment about a Windows kernel bug, which we will keep for now, until the implications are better determined.

svn path=/trunk/; revision=63388

9 years ago[User32]
James Tabor [Tue, 20 May 2014 19:39:34 +0000 (19:39 +0000)]
[User32]
- Update and sync DDE code with wine. Make name space close to what it should be.

svn path=/trunk/; revision=63386

9 years ago[NTVDM]
Aleksandar Andrejevic [Tue, 20 May 2014 18:46:50 +0000 (18:46 +0000)]
[NTVDM]
Use a separate palette for text mode. Previously the text mode palette was equal to the
first 16 entries of the graphical palette, which is wrong since the AC registers can be
used to select arbitrary colors from the DAC.

svn path=/trunk/; revision=63385

9 years ago[Win32k]
James Tabor [Tue, 20 May 2014 03:40:42 +0000 (03:40 +0000)]
[Win32k]
- Fix load menu callback. Use it for loading system menus.
- Sync in more wine code, fix sub-menu arrow drawing. See WinMerge.
- Miscellaneous code changes.

svn path=/trunk/; revision=63380

9 years ago[NTVDM]
Aleksandar Andrejevic [Mon, 19 May 2014 22:40:36 +0000 (22:40 +0000)]
[NTVDM]
Properly repeat the GetNextVDMCommand request. Using "continue" there will not work
if the application has been started by a double click, since in that case AcceptCommands
is FALSE.

svn path=/trunk/; revision=63379

9 years ago[NTVDM]: Fix INT 15h, AH=C0h.
Hermès Bélusca-Maïto [Mon, 19 May 2014 21:12:35 +0000 (21:12 +0000)]
[NTVDM]: Fix INT 15h, AH=C0h.

svn path=/trunk/; revision=63377

9 years ago[CMAKE/MSVC]
Kamil Hornicek [Mon, 19 May 2014 20:28:35 +0000 (20:28 +0000)]
[CMAKE/MSVC]
- define _ALLOW_KEYWORD_MACROS for VS11 too

svn path=/trunk/; revision=63376

9 years ago[WINED3DCFG]
Daniel Reimer [Mon, 19 May 2014 18:26:26 +0000 (18:26 +0000)]
[WINED3DCFG]
Fixed two errors in the RCs.
Shortened a String of ... my ... translation.

svn path=/trunk/; revision=63375

9 years ago[BROWSEUI]
Daniel Reimer [Mon, 19 May 2014 18:14:30 +0000 (18:14 +0000)]
[BROWSEUI]
Russian Translation by Akhlamov Petr
CORE-7981 #resolve #comment Committed after some build fixes, thx.
P.S. Former commit was made by Alex Gorgurov

svn path=/trunk/; revision=63374

9 years ago[TRANSLATION]
Daniel Reimer [Mon, 19 May 2014 18:00:47 +0000 (18:00 +0000)]
[TRANSLATION]
Small improvement of Russian translation
CORE-7994 #resolve #comment Committed, thanks for help.

svn path=/trunk/; revision=63373

9 years ago[WINED3DCFG]
Daniel Reimer [Mon, 19 May 2014 17:33:24 +0000 (17:33 +0000)]
[WINED3DCFG]
German translation by ... me.

svn path=/trunk/; revision=63372

9 years ago[WINED3DCFG]
Kamil Hornicek [Mon, 19 May 2014 09:58:26 +0000 (09:58 +0000)]
[WINED3DCFG]
- rewrite the wined3d config cpl to make it work with the current version of wined3d
- add a "default" option so it's easier to revert changes done to the configuration
- I apologize for the "lost" translations but there were too many changes

svn path=/trunk/; revision=63368

9 years ago[NTVDM]
Hermès Bélusca-Maïto [Mon, 19 May 2014 02:21:49 +0000 (02:21 +0000)]
[NTVDM]
- Initialize the BIOS Configuration Table, see http://www.ctyme.com/intr/rb-1594.htm for more information.
- Implement INT 15h, AH=C0h "GET CONFIGURATION".

svn path=/trunk/; revision=63367

9 years ago[NTVDM]
Hermès Bélusca-Maïto [Mon, 19 May 2014 01:12:25 +0000 (01:12 +0000)]
[NTVDM]
Since the BIOS registers the whole range of possible interrupts, we register their stubs in an array-form so that the BIOS always registers INT n at the same place. We save 561 bytes of memory.

svn path=/trunk/; revision=63366

9 years ago[NTVDM]
Hermès Bélusca-Maïto [Sun, 18 May 2014 23:45:43 +0000 (23:45 +0000)]
[NTVDM]
Correctly NULL-terminate the command-lines when needed (and avoid buffer overruns).

svn path=/trunk/; revision=63365

9 years ago[KERNEL32]: Remove temporary DPRINTs and fix comments.
Hermès Bélusca-Maïto [Sun, 18 May 2014 23:17:25 +0000 (23:17 +0000)]
[KERNEL32]: Remove temporary DPRINTs and fix comments.

svn path=/trunk/; revision=63364

9 years ago[KERNEL32]: Fix the newline adding (see r63361).
Hermès Bélusca-Maïto [Sun, 18 May 2014 23:13:12 +0000 (23:13 +0000)]
[KERNEL32]: Fix the newline adding (see r63361).

svn path=/trunk/; revision=63363

9 years ago[KERNEL32] Improve a dprint (needed when studying spaces in command lines).
Hermès Bélusca-Maïto [Sun, 18 May 2014 23:12:24 +0000 (23:12 +0000)]
[KERNEL32] Improve a dprint (needed when studying spaces in command lines).

svn path=/trunk/; revision=63362

9 years ago[KERNEL32]
Hermès Bélusca-Maïto [Sun, 18 May 2014 22:10:45 +0000 (22:10 +0000)]
[KERNEL32]
Usually the command line is made of the application name and its parameters. When launching a DOS program, BaseCheckVDM builds suitable ApplicationName and CommandLine strings "DOS-compatible". ApplicationName is left-trimmed for whitespace and then converted to short-path format, and CommandLine sees the application name part (its first token) removed. We didn't do it before, we do it now. Care is taken when quotes are present in ApplicationName. Finally DOS command lines usually receive a newline character, so we also add it there. This is how behave Windows: just put our ntvdm in Windows, and observe what it receives...

svn path=/trunk/; revision=63361

9 years ago[NTOSKRNL]
Cameron Gutman [Sun, 18 May 2014 20:39:54 +0000 (20:39 +0000)]
[NTOSKRNL]
- Fail device initialization if a filter fails to load so the PnP manager can try again later
- Fix some handle leaks
- Reset device node flags after a remove IRP is sent
[I8042PRT|MOUCLASS|KBDCLASS]
- Implement proper support for PnP remove IRPs
See issue #8238 for more details.

svn path=/trunk/; revision=63360

9 years ago[bootdata]
Christoph von Wittich [Sun, 18 May 2014 18:40:02 +0000 (18:40 +0000)]
[bootdata]
add entries for optional broadcom 57xx drivers (used by the official ReactOS test laptop)

svn path=/trunk/; revision=63359

9 years ago[CRT]
Amine Khaldi [Sun, 18 May 2014 18:35:45 +0000 (18:35 +0000)]
[CRT]
* Import _isleadbyte_l().
* Import _mbtowc_l().
* Import mbtowc() instead of our own.
* Fixes some msvcrt tests.
CORE-8080

svn path=/trunk/; revision=63358

9 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 18 May 2014 16:25:40 +0000 (16:25 +0000)]
[NTOSKRNL]
- Fix a bug in MiQueryAddressState that prevented it from returning a valid protection
- Add support for PAE and x64 to MiQueryAddressState
- Acquire the working set lock in MiQueryMemoryBasicInformation before MiQueryAddressState
- Fix RegionSize calculation in MiQueryMemoryBasicInformation
- Handle ZeroBits and Process->VmTopDown in NtAllocateVirtualMemory
- Fix a bug in calculating the ending address of a virtual allocation
- Gracefully handle Vad allocation failure
- Free Vad allocation on failure
- Write values back to usermode only in case of success

svn path=/trunk/; revision=63356

9 years ago[USETUP]
Eric Kohl [Sun, 18 May 2014 15:14:24 +0000 (15:14 +0000)]
[USETUP]
First part of the partition management code rewrite. This part fixes the handling of primary partitions. Extended partitions and logical drives are not handled yet. Safety checks and warnings are still missing! Partitions created by the new code are accepted by gparted and Windows.

svn path=/trunk/; revision=63355

9 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 18 May 2014 14:59:31 +0000 (14:59 +0000)]
[NTOSKRNL]
- Do not ASSERT that a page fault im MmArmAccessFault happens on an invalid page. Instead handle write-on-readonly-PTE faults (Copy-on-write still unhandled). This ASSERT was not triggered so far, since ARM3 mapped all pages as read/write regardless of protection! So all (page file backed) sections mapped into user space were writable and could be happily modified from user mode!
- Fix MI_MAKE_HARDWARE_PTE_USER, so that it respects the actual protection.

svn path=/trunk/; revision=63354

9 years ago[CMAKE/MSVC]
Amine Khaldi [Sun, 18 May 2014 14:39:03 +0000 (14:39 +0000)]
[CMAKE/MSVC]
* Define _ALLOW_KEYWORD_MACROS to get the news MSVC toolchain to allow us to redefine inline (it became a keyword). Reported by David Quintana.

svn path=/trunk/; revision=63353

9 years ago[ACPI]
Cameron Gutman [Sun, 18 May 2014 08:54:32 +0000 (08:54 +0000)]
[ACPI]
- Handle IRP_MN_CANCEL_REMOVE_DEVICE, IRP_MN_QUERY_REMOVE_DEVICE, and IRP_MN_REMOVE_DEVICE for child devices
- Fixes issues loading new drivers for ACPI-enumerated devices

svn path=/trunk/; revision=63349

9 years ago[NDIS]
Cameron Gutman [Sun, 18 May 2014 08:43:31 +0000 (08:43 +0000)]
[NDIS]
- Restore the pending NDIS request before calling the completion routine
- Fixes crash with Broadcom 57xx drivers (link detection still not working)

svn path=/trunk/; revision=63348

9 years ago[HIVESYS]
Cameron Gutman [Sun, 18 May 2014 07:21:58 +0000 (07:21 +0000)]
[HIVESYS]
- Add PS/2 input devices to the critical device database

svn path=/trunk/; revision=63347

9 years ago[ACPI]
Cameron Gutman [Sun, 18 May 2014 06:58:51 +0000 (06:58 +0000)]
[ACPI]
- Fix 2nd stage boot

svn path=/trunk/; revision=63346

9 years ago[ACPI]
Cameron Gutman [Sun, 18 May 2014 06:19:05 +0000 (06:19 +0000)]
[ACPI]
- Start reporting compatible IDs for ACPI-enumerated devices other than processors
- Not sure how this was overlooked for so long...

svn path=/trunk/; revision=63345

9 years ago[ACPI]
Cameron Gutman [Sun, 18 May 2014 05:52:09 +0000 (05:52 +0000)]
[ACPI]
- Fix a buffer overrun that caused a BSOD with ACPI enabled on Hyper-V
- Dynamically allocate the hardware ID buffer to prevent another HID overrun
- Switched sprintf to snprintf to prevent this from happening to another ID

svn path=/trunk/; revision=63344

9 years ago[NTVDM]: Improve the dumper a bit.
Hermès Bélusca-Maïto [Sat, 17 May 2014 23:55:14 +0000 (23:55 +0000)]
[NTVDM]: Improve the dumper a bit.

svn path=/trunk/; revision=63343

9 years ago[NTVDM]
Hermès Bélusca-Maïto [Sat, 17 May 2014 23:49:35 +0000 (23:49 +0000)]
[NTVDM]
Add a memory dump facility.

svn path=/trunk/; revision=63342

9 years ago[USER32]
Timo Kreuzer [Sat, 17 May 2014 23:00:34 +0000 (23:00 +0000)]
[USER32]
Fix sizeof(WCHAR) vs sizeof(CHAR) problem. Patch by Victor Martinez.
CORE-8166 #resolve #comment Committed in r63341, thanks.

svn path=/trunk/; revision=63341

9 years ago[VGA_NEW]
Timo Kreuzer [Sat, 17 May 2014 22:55:22 +0000 (22:55 +0000)]
[VGA_NEW]
Improve order of check against NULL and assignement. Patch by Victor Martinez.
CORE-8121 #resolve #comment Committed in r63340, thanks

svn path=/trunk/; revision=63340

9 years ago[WIN32K]
Timo Kreuzer [Sat, 17 May 2014 22:33:42 +0000 (22:33 +0000)]
[WIN32K]
Revert r56462. Should fix some win32k crashes. See CORE-7965

svn path=/trunk/; revision=63339

9 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 17 May 2014 22:30:43 +0000 (22:30 +0000)]
[NTOSKRNL]
Fix Mm

svn path=/trunk/; revision=63338

9 years ago[NTVDM][KERNEL32][BASESRV]
Aleksandar Andrejevic [Sat, 17 May 2014 22:26:37 +0000 (22:26 +0000)]
[NTVDM][KERNEL32][BASESRV]
Modify BaseSrvFillCommandInfo to always return the correct lengths of the parameters.
In BaseSrvGetNextVDMCommand, check if BaseSrvFillCommandInfo failed.
In CommandThreadProc, expand the size of the environment if necessary.
Add a useful DPRINT1 in BiosKbdBufferPush.
Finish implementing BaseCreateVDMEnvironment.
In GetNextVDMCommand, return the correct lengths of parameters if BaseSrvGetNextVDMCommand
failed.

svn path=/trunk/; revision=63337

9 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 17 May 2014 20:34:11 +0000 (20:34 +0000)]
[NTOSKRNL]
Modify the VAD node code to return a TABLE_SEARCH_RESULT instead of an NTSTATUS, this allows us to avoid a 2nd tree iteration when inserting VADs. Fix several bugs in MiFindEmptyAddressRangeDownBasedTree. This code now contains a compatibility hack, that emulates a bug in the Windows 2003 kernel. Note that this bug is also present in MiFindEmptyAddressRangeDownTree on Windows 2003, but will not be exposed to the user, since it only affects the region above the top-most VAD, which will always be occupied by the PEB or TEB. Implement MEM_TOPDOWN in NtAllocateVirtualMemory. See CORE-6392

svn path=/trunk/; revision=63336

9 years ago[FREETYPE]
Amine Khaldi [Sat, 17 May 2014 18:52:24 +0000 (18:52 +0000)]
[FREETYPE]
* Update to 2.5.3. Based on the sync done by Ivan Di Francesco.
CORE-8033

svn path=/trunk/; revision=63335

9 years ago[TESTDATA]
Timo Kreuzer [Sat, 17 May 2014 18:36:22 +0000 (18:36 +0000)]
[TESTDATA]
Fix test.dll

svn path=/trunk/; revision=63334

9 years ago[NTDLL_APITEST]
Timo Kreuzer [Sat, 17 May 2014 18:35:39 +0000 (18:35 +0000)]
[NTDLL_APITEST]
Add more tests for NtMapViewOfSection. Fix some tests, so that everything works on windows 2003.

svn path=/trunk/; revision=63333

9 years ago[LIBJPEG]
Amine Khaldi [Sat, 17 May 2014 18:14:51 +0000 (18:14 +0000)]
[LIBJPEG]
* Update to release 9a. Based on the sync done by Ivan Di Francesco.
CORE-8033

svn path=/trunk/; revision=63332

9 years ago[NTVDM]
Aleksandar Andrejevic [Sat, 17 May 2014 15:29:07 +0000 (15:29 +0000)]
[NTVDM]
DosResizeMemory shouldn't succeed unless the memory block has been resized to the specified amount.

svn path=/trunk/; revision=63331

9 years ago[NTOSKRNL]
Eric Kohl [Sat, 17 May 2014 14:42:28 +0000 (14:42 +0000)]
[NTOSKRNL]
Partial revert of r63326! The correct partition numbers cause boot failures.

svn path=/trunk/; revision=63330

9 years ago[WINSCARD]
Amine Khaldi [Sat, 17 May 2014 14:06:12 +0000 (14:06 +0000)]
[WINSCARD]
* Import from Wine 1.7.17.
* Properly stub some exports thanks to our previous code.
* Add to build.
CORE-8224 #resolve #comment Added in r63328. Thanks for reporting!
CORE-8080

svn path=/trunk/; revision=63329

9 years ago[PSDK]
Amine Khaldi [Sat, 17 May 2014 14:00:54 +0000 (14:00 +0000)]
[PSDK]
* Add some missing definitions.
* Fix SCardReleaseStartedEvent().

svn path=/trunk/; revision=63328

9 years ago[GREEN]: Fix 2nd parameter of ObOpenObjectByName.
Hermès Bélusca-Maïto [Sat, 17 May 2014 13:26:32 +0000 (13:26 +0000)]
[GREEN]: Fix 2nd parameter of ObOpenObjectByName.

svn path=/trunk/; revision=63327

9 years ago[NTOSKRNL]
Eric Kohl [Sat, 17 May 2014 12:55:06 +0000 (12:55 +0000)]
[NTOSKRNL]
xHalIoReadPartitionTable: Only used non-container partition entries have a non-zero partition number.

svn path=/trunk/; revision=63326

9 years ago[FONTS]
Amine Khaldi [Sat, 17 May 2014 11:40:54 +0000 (11:40 +0000)]
[FONTS]
* Update tahoma.ttf and tahomabd.ttf.
CORE-7909 #resolve #comment Committed in r63325. Thanks Ștefan!
CORE-8080

svn path=/trunk/; revision=63325

9 years ago[RAPPS]
Amine Khaldi [Sat, 17 May 2014 11:25:50 +0000 (11:25 +0000)]
[RAPPS]
* Some list entries fixes.
* Mention that Turkish translations were done by Erdem Ersoy.
CORE-7710 #resolve #comment Committed in r63324.

svn path=/trunk/; revision=63324