reactos.git
8 years ago[MMSYS] don't mix TCHAR with WCHAR
Christoph von Wittich [Mon, 7 Sep 2015 14:53:31 +0000 (14:53 +0000)]
[MMSYS] don't mix TCHAR with WCHAR

svn path=/trunk/; revision=69089

8 years ago[mmsys]
Robert Naumann [Mon, 7 Sep 2015 14:44:29 +0000 (14:44 +0000)]
[mmsys]
-State if there are no audio devices installed
-remove an obsolete resource ID
Patch by Jared Smudde CORE-10009 #resolve

svn path=/trunk/; revision=69088

8 years ago[CMAKE] Add even more missing dependencies on xdk. CORE-9586
Amine Khaldi [Mon, 7 Sep 2015 11:13:09 +0000 (11:13 +0000)]
[CMAKE] Add even more missing dependencies on xdk. CORE-9586

svn path=/trunk/; revision=69087

8 years ago[CMAKE]
Thomas Faber [Mon, 7 Sep 2015 10:05:42 +0000 (10:05 +0000)]
[CMAKE]
- Fix more missing dependencies on xdk
CORE-9586

svn path=/trunk/; revision=69086

8 years ago[CMAKE] Add hpp in the new style build.
Amine Khaldi [Mon, 7 Sep 2015 10:00:51 +0000 (10:00 +0000)]
[CMAKE] Add hpp in the new style build.

svn path=/trunk/; revision=69085

8 years ago[BOOTLIB]
Thomas Faber [Mon, 7 Sep 2015 09:50:00 +0000 (09:50 +0000)]
[BOOTLIB]
- Add missing xdk dependency

svn path=/trunk/; revision=69084

8 years ago[XDK][DDK][PSDK]
Thomas Faber [Mon, 7 Sep 2015 09:46:43 +0000 (09:46 +0000)]
[XDK][DDK][PSDK]
- Generate XDK headers during build. To make changes to wdm.h, ntddk.h, ntifs.h, devioctl.h, ntdef.h or winnt.h, edit the appropriate files in include/xdk (as you should already have been doing for a long time).
CORE-9586 #resolve

svn path=/trunk/; revision=69083

8 years ago[ACPI]
Thomas Faber [Mon, 7 Sep 2015 09:08:48 +0000 (09:08 +0000)]
[ACPI]
- Reinstate the HPET hack, the VMware builders show that it's still needed. Reverts r69066.

svn path=/trunk/; revision=69082

8 years ago[XDK][PSDK] add security checks for PSDK as well
Christoph von Wittich [Mon, 7 Sep 2015 08:37:11 +0000 (08:37 +0000)]
[XDK][PSDK] add security checks for PSDK as well

svn path=/trunk/; revision=69081

8 years ago[XDK] add cpp security checks for RTL_NUMBER_OF_V2/ARRAYSIZE
Christoph von Wittich [Mon, 7 Sep 2015 08:08:01 +0000 (08:08 +0000)]
[XDK] add cpp security checks for RTL_NUMBER_OF_V2/ARRAYSIZE

svn path=/trunk/; revision=69080

8 years ago[MODE] use ARRAYSIZE, don't include windows.h, fix two possible out-of-bounds reads
Christoph von Wittich [Mon, 7 Sep 2015 07:05:33 +0000 (07:05 +0000)]
[MODE] use ARRAYSIZE, don't include windows.h, fix two possible out-of-bounds reads
CID 1206872
CID 1206873

svn path=/trunk/; revision=69079

8 years ago[BOOTMGFW]
Alex Ionescu [Mon, 7 Sep 2015 06:00:37 +0000 (06:00 +0000)]
[BOOTMGFW]
- Fix text console bugs. It works now both when already at 80x25, as well as when using UEFI Shell to switch to 100x31 first. Tested with Virtual Box.

svn path=/trunk/; revision=69078

8 years ago[BOOTMGFW]
Alex Ionescu [Mon, 7 Sep 2015 04:42:34 +0000 (04:42 +0000)]
[BOOTMGFW]
- Build fixes for GCC

svn path=/trunk/; revision=69077

8 years ago[BOOTMGFW]
Alex Ionescu [Mon, 7 Sep 2015 04:37:01 +0000 (04:37 +0000)]
[BOOTMGFW]
- Checkpoint commit of about 1000+ lines of text console support code. Right now, it's very disorganized and not tested.
- Write out the rest of the initialization path. Almost everything else is only for Boot Debugging, BitLocker, TPM, PXE...

svn path=/trunk/; revision=69076

8 years ago- Fix the ASSERT in VdmSwapContext now that we are always setting up the trap frame...
Stefan Ginsberg [Sun, 6 Sep 2015 22:29:10 +0000 (22:29 +0000)]
- Fix the ASSERT in VdmSwapContext now that we are always setting up the trap frame correctly on debug build.
- Fix the ASSERT in KeConnectInterrupt for debug single-processor builds (but keep the old one for multiprocessor build to make it less confusing if it is hit).

svn path=/trunk/; revision=69075

8 years ago[NTOSKRNL]
Pierre Schweitzer [Sun, 6 Sep 2015 22:10:53 +0000 (22:10 +0000)]
[NTOSKRNL]
Fix a bug in HalpGetFullGeometry(): properly reset the event before reusing it. We may have waited on it previously.

svn path=/trunk/; revision=69074

8 years ago[BOOTMGFW]
Alex Ionescu [Sun, 6 Sep 2015 21:29:41 +0000 (21:29 +0000)]
[BOOTMGFW]
 - I/O Library initialization.
 - A few more random initialization routines. Skip TPM, BitLocker, Network and non-FAT filesystems for now.

svn path=/trunk/; revision=69073

8 years ago[Win32k]
James Tabor [Sun, 6 Sep 2015 21:10:46 +0000 (21:10 +0000)]
[Win32k]
- Set flags when it is appropriate, should fix CORE-10101.

svn path=/trunk/; revision=69072

8 years ago[BOOTMGFW]
Alex Ionescu [Sun, 6 Sep 2015 20:55:50 +0000 (20:55 +0000)]
[BOOTMGFW]
- Fix some heap bugs. It (works?) now, at least for one allocation.
- Fix GCC support for Phase 1 Architectural Initialization.
- Implement Time measurement for Hyper-V compatible hypervisors (tested with Virtual Box 5.0!) as well as non-hypervisors (also tested)

svn path=/trunk/; revision=69071

8 years ago[CDMAKE]
Hermès Bélusca-Maïto [Sun, 6 Sep 2015 20:42:08 +0000 (20:42 +0000)]
[CDMAKE]
- Factor out the code that writes data from a file.
- Use BOOL type where needed.

svn path=/trunk/; revision=69070

8 years ago[SERVMAN] Introduce the ability to sort the services list-view by any column in ascen...
Amine Khaldi [Sun, 6 Sep 2015 20:19:58 +0000 (20:19 +0000)]
[SERVMAN] Introduce the ability to sort the services list-view by any column in ascending and descending order. Brought to you by Joachim Henze. CORE-10122

svn path=/trunk/; revision=69069

8 years ago[BOOTMGFW]:
Alex Ionescu [Sun, 6 Sep 2015 19:56:47 +0000 (19:56 +0000)]
[BOOTMGFW]:
- Add heap implementation, continuing from my work last year. Seems to be pretty broken, next steps are fixing it.
- Implement block allocator initialization (needs heap).
- Implement a few other missing initialization paths.

svn path=/trunk/; revision=69068

8 years ago[BOOTMGFW]
Alex Ionescu [Sun, 6 Sep 2015 19:22:37 +0000 (19:22 +0000)]
[BOOTMGFW]
- Implement most of the physical memory allocator. The heap manager now gets its page allocation fulfilled.

svn path=/trunk/; revision=69067

8 years ago[ACPI]
Thomas Faber [Sun, 6 Sep 2015 18:51:09 +0000 (18:51 +0000)]
[ACPI]
- Remove the no longer needed HPET hack. VMware works fine now.

svn path=/trunk/; revision=69066

8 years ago[FATTEN]
David Quintana [Sun, 6 Sep 2015 18:24:44 +0000 (18:24 +0000)]
[FATTEN]
Change tabs to spaces, but only for the files I write. The rest come directly from the fatfs package and are best left untouched.

svn path=/trunk/; revision=69065

8 years ago[FATTEN]
David Quintana [Sun, 6 Sep 2015 18:10:59 +0000 (18:10 +0000)]
[FATTEN]
* Improve crossplatformness.
* Turn back some indentations into tabs (temporarily).

svn path=/trunk/; revision=69064

8 years ago[FATTEN]
David Quintana [Sun, 6 Sep 2015 17:21:22 +0000 (17:21 +0000)]
[FATTEN]
Introduce a tool I wrote some years ago, that helps create and manage a FAT disk image from the command-line.
It is built using parts of the isofs embedded library, with win32 bindings for file access. Should be helpful in order to create the EFI boot images needed for EFI-bootable isos.
Because the code is not really portable (yet), it's currently not included in the build process.

svn path=/trunk/; revision=69063

8 years ago[MSCONFIG_NEW]
Hermès Bélusca-Maïto [Sun, 6 Sep 2015 17:19:40 +0000 (17:19 +0000)]
[MSCONFIG_NEW]
- Convert msconfig to a fully property-sheet-oriented app.
- Start converting the general page to a property page (serves as a model for the other pages).
- Sync translations for the general page.
- Temporarily remove the other pages from compilation.

svn path=/trunk/; revision=69062

8 years ago[NTOS:PNP]
Thomas Faber [Sun, 6 Sep 2015 17:13:48 +0000 (17:13 +0000)]
[NTOS:PNP]
- Handle power IRPs for the PNP root device
CORE-10117

svn path=/trunk/; revision=69061

8 years ago[CMAKE] Introduce a way to compile ReactOS without invoking CMake twice. You can...
Amine Khaldi [Sun, 6 Sep 2015 16:44:30 +0000 (16:44 +0000)]
[CMAKE] Introduce a way to compile ReactOS without invoking CMake twice. You can enable it by running configure with -DNEW_STYLE_BUILD=1. Once the transition goes smoothly we can enable this by default. CORE-10121

svn path=/trunk/; revision=69060

8 years ago[BOOTMGFW]:
Alex Ionescu [Sun, 6 Sep 2015 16:41:43 +0000 (16:41 +0000)]
[BOOTMGFW]:
- Implement case in BlMmRemoveRegionFromMdlEx where the descriptor's tail (or entire allocation) is contained in the descriptor -- this covers our BootMgr entry.
- Implement some more initialization functions.
- Start implementing the heap allocator initialization code. Now we need to implement the actual page allocator.

svn path=/trunk/; revision=69059

8 years ago[CONFIGURE] First step towards introducing a way to compile ReactOS without invoking...
Amine Khaldi [Sun, 6 Sep 2015 16:17:26 +0000 (16:17 +0000)]
[CONFIGURE] First step towards introducing a way to compile ReactOS without invoking CMake twice. NFC. CORE-10121

svn path=/trunk/; revision=69058

8 years ago[BOOTMGFW]
Alex Ionescu [Sun, 6 Sep 2015 15:44:56 +0000 (15:44 +0000)]
[BOOTMGFW]
- Start implementing MmMdRemoveRegionFromMdlEx. The 3 cases are detected and print right now.

svn path=/trunk/; revision=69057

8 years ago[BOOTMGFW]:
Alex Ionescu [Sun, 6 Sep 2015 15:02:49 +0000 (15:02 +0000)]
[BOOTMGFW]:
- Implement algorithm to detect if truncation is needed, which should only happen on IA64 systems I believe (otherwise, the OS and firmware should have the same alignment/page size requirements)
- Implement algorithm to detect if coalescing is needed. This shouldn't happen with firmware memory yet, but might happen once we start carving out stuff.

svn path=/trunk/; revision=69056

8 years ago[NDIS]
Thomas Faber [Sun, 6 Sep 2015 14:35:20 +0000 (14:35 +0000)]
[NDIS]
- Better stub power IRP handling. Failing IRP_MN_SET_POWER is illegal!
CORE-10117

svn path=/trunk/; revision=69055

8 years ago[KBDCLASS][MOUCLASS]
Thomas Faber [Sun, 6 Sep 2015 14:32:22 +0000 (14:32 +0000)]
[KBDCLASS][MOUCLASS]
- Forward power IRPs to lower devices. Failing IRP_MN_SET_POWER is illegal!
CORE-10117

svn path=/trunk/; revision=69054

8 years ago[VIDEOPRT]
Thomas Faber [Sun, 6 Sep 2015 10:45:37 +0000 (10:45 +0000)]
[VIDEOPRT]
- Correctly stub power IRP handling. Fixes IRP leaks on shutdown.
- Correctly stub IntVideoPortDispatchSystemControl to avoid IRP leak.
CORE-10117 CORE-10105

svn path=/trunk/; revision=69053

8 years ago[NTOSKRNL]
Pierre Schweitzer [Sun, 6 Sep 2015 10:06:59 +0000 (10:06 +0000)]
[NTOSKRNL]
Define & use a tag for FsRtlNotify* memory allocations

svn path=/trunk/; revision=69052

8 years ago[FMIFS]
Thomas Faber [Sun, 6 Sep 2015 09:55:10 +0000 (09:55 +0000)]
[FMIFS]
- Remove useless export of InitializeFmIfs. Fixes MSVC warning (LNK4216: Exported entry point _InitializeFmIfs@12)

svn path=/trunk/; revision=69051

8 years ago[PCI]
Thomas Faber [Sun, 6 Sep 2015 08:54:20 +0000 (08:54 +0000)]
[PCI]
- Better stub IRP_MJ_POWER handlers. Failing IRP_MN_SET_POWER is illegal!
CORE-10117

svn path=/trunk/; revision=69050

8 years ago[DISPLAYS]
Thomas Faber [Sun, 6 Sep 2015 08:35:01 +0000 (08:35 +0000)]
[DISPLAYS]
- DrvEnableDriver does not need to be exported. Fixes MSVC warnings (LNK4216: Exported entry point _DrvEnableDriver@12)

svn path=/trunk/; revision=69049

8 years ago[SHELL32]
Thomas Faber [Sun, 6 Sep 2015 08:16:57 +0000 (08:16 +0000)]
[SHELL32]
- Initialize CNewMenu::m_pidlFolder. Fixes crash in com_apitest:shell32
CORE-10115 #resolve

svn path=/trunk/; revision=69048

8 years ago[BOOTMGFW]:
Alex Ionescu [Sun, 6 Sep 2015 06:15:08 +0000 (06:15 +0000)]
[BOOTMGFW]:
- Cleanup some bugs/issues in the memory map parsing code.
- Implement creation of BL/NT-compatible memory descriptors based on UEFI descriptors.
- Implement other remaining parts of the page allocator initialization routine.
- Last part missing is to implement routines for removing from a memory list, and for handling the boot manager's own descriptor.

svn path=/trunk/; revision=69047

8 years ago[MSVCRT]
Thomas Faber [Sun, 6 Sep 2015 05:20:26 +0000 (05:20 +0000)]
[MSVCRT]
- Properly ignore LNK4102 for libmsvcrt

svn path=/trunk/; revision=69046

8 years ago[BOOTMGFW]:
Alex Ionescu [Sun, 6 Sep 2015 04:53:49 +0000 (04:53 +0000)]
[BOOTMGFW]:
- Start implementing the page allocator. Right now, we are able to obtain & dump the UEFI memory map.

svn path=/trunk/; revision=69045

8 years ago[BOOTMGFW]
Alex Ionescu [Sun, 6 Sep 2015 03:24:30 +0000 (03:24 +0000)]
[BOOTMGFW]
- Begin carving out the rough edges of the memory manager. This will be the hardest part.

svn path=/trunk/; revision=69044

8 years ago[BOOTMGFW]:
Alex Ionescu [Sun, 6 Sep 2015 03:02:56 +0000 (03:02 +0000)]
[BOOTMGFW]:
- Use the right settings to make our CD UEFI compatible. The Internet says this is supposed to be 10000x harder, but it seems to work fine, at least in Virtual Box.
- Implement an EarlyPrint routine for early debugging/testing.
- Using the above, fix a bunch of stupid bugs. The previously committed code now seems to work (so far).

svn path=/trunk/; revision=69043

8 years ago- Silence some C4028 warnings in our code by fixing some mismatched const.
Stefan Ginsberg [Sat, 5 Sep 2015 20:50:51 +0000 (20:50 +0000)]
- Silence some C4028 warnings in our code by fixing some mismatched const.
- Also remove a misplaced INIT_FUNCTION and straggler RtlPrefetchMemoryNonTemporal.

svn path=/trunk/; revision=69042

8 years ago[BOOTMGFW]:
Alex Ionescu [Sat, 5 Sep 2015 20:31:14 +0000 (20:31 +0000)]
[BOOTMGFW]:
- Add very early EFI Firmware and x86 Context Management Support.

svn path=/trunk/; revision=69041

8 years agoNothing to see here move along
Stefan Ginsberg [Sat, 5 Sep 2015 19:50:14 +0000 (19:50 +0000)]
Nothing to see here move along

svn path=/trunk/; revision=69040

8 years ago[BOOTMGFW]:
Alex Ionescu [Sat, 5 Sep 2015 19:38:20 +0000 (19:38 +0000)]
[BOOTMGFW]:
Add support for converting the EFI file path as well. The first 1000 lines of many have been written. Time to test on Virtual Box.

svn path=/trunk/; revision=69039

8 years ago[BOOTMGFW]
Alex Ionescu [Sat, 5 Sep 2015 19:18:54 +0000 (19:18 +0000)]
[BOOTMGFW]
- Implement EFI device path conversion

svn path=/trunk/; revision=69038

8 years ago- Add in MSVC support for HAL .init sections by using alloc_text. MSVC support for...
Stefan Ginsberg [Sat, 5 Sep 2015 18:33:38 +0000 (18:33 +0000)]
- Add in MSVC support for HAL .init sections by using alloc_text. MSVC support for putting the HAL pci class and vendor tables into .init is still lacking. Put into a _MINIHAL_ guard or freeldr gets REALLY sad.
- Rename INIT_FUNCTION to INIT_SECTION and put it at the top of functions for consistency with __declspec declarations (it is actually possible to do this via __declspec in newer MSVC versions).

svn path=/trunk/; revision=69037

8 years ago[CMAKE/MSVC] C4200 doesn't look useful to us.
Amine Khaldi [Sat, 5 Sep 2015 17:46:04 +0000 (17:46 +0000)]
[CMAKE/MSVC] C4200 doesn't look useful to us.

svn path=/trunk/; revision=69036

8 years ago[SOFTPUB] Don't assign ordinals to Dll{Register,Unregister}Server(). CORE-10113
Amine Khaldi [Sat, 5 Sep 2015 17:42:27 +0000 (17:42 +0000)]
[SOFTPUB] Don't assign ordinals to Dll{Register,Unregister}Server(). CORE-10113

svn path=/trunk/; revision=69035

8 years ago[CMAKE/MSVC] Temporarily disable C4018 until we fix more of the others. CORE-10113
Amine Khaldi [Sat, 5 Sep 2015 17:31:51 +0000 (17:31 +0000)]
[CMAKE/MSVC] Temporarily disable C4018 until we fix more of the others. CORE-10113

svn path=/trunk/; revision=69034

8 years ago[BOOTMGFW]
Alex Ionescu [Sat, 5 Sep 2015 16:05:20 +0000 (16:05 +0000)]
[BOOTMGFW]
- Define some core boot library structures -- reverse engineered to be compatible with MS. This is important if we want to load MS' own binaries for testing (such as MemTest.Efi)
- Define basic BCD structures
- Start implementing EFI->Windows Boot Library conversion routines. Last part remaining is EFI path conversion.
- Fix linking with RTL, by providing some stubs for now.

svn path=/trunk/; revision=69033

8 years ago- Don't have two different implementation of KiConvertToGuiThread, first as inlined...
Stefan Ginsberg [Sat, 5 Sep 2015 15:20:27 +0000 (15:20 +0000)]
- Don't have two different implementation of KiConvertToGuiThread, first as inlined assembly gcc and second as a function call (for msvc). Always use the function call to be consistent with both compilers.

svn path=/trunk/; revision=69032

8 years ago[NTOS:MM]
Thomas Faber [Sat, 5 Sep 2015 14:39:40 +0000 (14:39 +0000)]
[NTOS:MM]
- Use MmExpansionLock to synchronize changes to MmProcessList. Should fix random crashes in MmDeleteProcessAddressSpace.
CORE-10111 #resolve

svn path=/trunk/; revision=69031

8 years ago[GDI32] Get back the condition we had before.
Amine Khaldi [Sat, 5 Sep 2015 14:39:27 +0000 (14:39 +0000)]
[GDI32] Get back the condition we had before.

svn path=/trunk/; revision=69030

8 years ago[CMAKE] Set Debug as the default build type for MSVC builds.
Amine Khaldi [Sat, 5 Sep 2015 14:38:50 +0000 (14:38 +0000)]
[CMAKE] Set Debug as the default build type for MSVC builds.

svn path=/trunk/; revision=69029

8 years ago[MESA] Fix mesa_swrast VS 2015 build.
Amine Khaldi [Sat, 5 Sep 2015 14:32:44 +0000 (14:32 +0000)]
[MESA] Fix mesa_swrast VS 2015 build.

svn path=/trunk/; revision=69028

8 years ago[LIBXML2] Actually, the VS build has the /wd4189 flag before /we4189 rendering it...
Amine Khaldi [Sat, 5 Sep 2015 14:29:27 +0000 (14:29 +0000)]
[LIBXML2] Actually, the VS build has the /wd4189 flag before /we4189 rendering it useless. Use another approach to silencing it.

svn path=/trunk/; revision=69027

8 years ago[LIBXML2] Fix VS 2015 build.
Amine Khaldi [Sat, 5 Sep 2015 14:14:35 +0000 (14:14 +0000)]
[LIBXML2] Fix VS 2015 build.

svn path=/trunk/; revision=69026

8 years ago[ACPI]
Thomas Faber [Sat, 5 Sep 2015 13:24:30 +0000 (13:24 +0000)]
[ACPI]
- Arch, don't shut down the system on IRP_MN_QUERY_POWER!
CORE-10110

svn path=/trunk/; revision=69025

8 years ago[MSCONFIG_NEW]
Hermès Bélusca-Maïto [Sat, 5 Sep 2015 13:03:04 +0000 (13:03 +0000)]
[MSCONFIG_NEW]
- Associate a temporary VS project (will be removed later on); change the name of the target for now...
- Allow only one instance of MSConfig running on the system (we use a semaphore, compatible with MS' msconfig, so that if you try to run ROS msconfig on windows, you cannot run also windows' msconfig, and vice versa).
- Introduce some utility functions (for strings and other stuff), will be used later on.
CORE-9333

svn path=/trunk/; revision=69024

8 years ago[NTOS]
Thomas Faber [Sat, 5 Sep 2015 11:53:04 +0000 (11:53 +0000)]
[NTOS]
- Addendum to r69022

svn path=/trunk/; revision=69023

8 years ago[NTOS:PS]
Thomas Faber [Sat, 5 Sep 2015 11:49:54 +0000 (11:49 +0000)]
[NTOS:PS]
- Implement NtApphelpCacheControl. Patch by Mark Jansen
CORE-9914 #resolve

svn path=/trunk/; revision=69022

8 years ago[NTOS]
Thomas Faber [Sat, 5 Sep 2015 11:32:02 +0000 (11:32 +0000)]
[NTOS]
- Fix build
CORE-9914

svn path=/trunk/; revision=69021

8 years ago[SHIMDBG]
Thomas Faber [Sat, 5 Sep 2015 11:27:20 +0000 (11:27 +0000)]
[SHIMDBG]
- Add a test tool for SHIM engine caching to rosapps. Patch by Mark Jansen
CORE-9914

svn path=/trunk/; revision=69020

8 years ago[NDK]
Thomas Faber [Sat, 5 Sep 2015 11:20:05 +0000 (11:20 +0000)]
[NDK]
- Update NtApphelpCacheControl declaration and add appropriate types. Patch by Mark Jansen
CORE-9914

svn path=/trunk/; revision=69019

8 years ago[MSCONFIG_NEW]: Start improved MSConfig. It's time to commit stuff I've done in it...
Hermès Bélusca-Maïto [Sat, 5 Sep 2015 10:37:36 +0000 (10:37 +0000)]
[MSCONFIG_NEW]: Start improved MSConfig. It's time to commit stuff I've done in it since 2011!

svn path=/trunk/; revision=69018

8 years ago[ESENT]
Thomas Faber [Sat, 5 Sep 2015 10:00:31 +0000 (10:00 +0000)]
[ESENT]
- Add stub dll. Fixes CCleaner startup. Patch by Mark Jansen
CORE-8758 #resolve

svn path=/trunk/; revision=69017

8 years ago[GDI32] Fix build with VS 2015.
Amine Khaldi [Sat, 5 Sep 2015 08:39:14 +0000 (08:39 +0000)]
[GDI32] Fix build with VS 2015.

svn path=/trunk/; revision=69016

8 years ago[CRT]: Add a missing header inclusion.
Hermès Bélusca-Maïto [Sat, 5 Sep 2015 00:41:56 +0000 (00:41 +0000)]
[CRT]: Add a missing header inclusion.

svn path=/trunk/; revision=69015

8 years ago[NTOS:WMI]
Thomas Faber [Fri, 4 Sep 2015 22:11:51 +0000 (22:11 +0000)]
[NTOS:WMI]
- Actually fix WmipShutdown. Spotted by Hermès
CORE-10105

svn path=/trunk/; revision=69014

8 years ago[NTOS:WMI][HAL]
Thomas Faber [Fri, 4 Sep 2015 21:30:16 +0000 (21:30 +0000)]
[NTOS:WMI][HAL]
- Properly stub WmipShutdown and HalpDispatchPower to avoid IRP leaks
CORE-10105

svn path=/trunk/; revision=69013

8 years ago[NTOS:KE]
Thomas Faber [Fri, 4 Sep 2015 20:33:37 +0000 (20:33 +0000)]
[NTOS:KE]
- Fix KiGetCacheInformation for Intel processors according to the latest Intel Instruction Set Reference

svn path=/trunk/; revision=69012

8 years ago[WHOAMI] fix a memory leak CID 1322119
Christoph von Wittich [Fri, 4 Sep 2015 20:15:01 +0000 (20:15 +0000)]
[WHOAMI] fix a memory leak CID 1322119

svn path=/trunk/; revision=69011

8 years ago[CHARMAP] assign the DC to the correct variable CID 1322245
Christoph von Wittich [Fri, 4 Sep 2015 20:02:25 +0000 (20:02 +0000)]
[CHARMAP] assign the DC to the correct variable CID 1322245

svn path=/trunk/; revision=69010

8 years ago[IPCONFIG] fix format string issues and double free
Christoph von Wittich [Fri, 4 Sep 2015 19:03:41 +0000 (19:03 +0000)]
[IPCONFIG] fix format string issues and double free
CID 502632
CID 502633
CID 502634
CID 1322301

svn path=/trunk/; revision=69009

8 years ago[HIDCLASS][USBHUB]
Thomas Faber [Fri, 4 Sep 2015 17:31:58 +0000 (17:31 +0000)]
[HIDCLASS][USBHUB]
- Fix IRP leaks in success case of hidclass!HidClassFDO_GetDescriptors and usbhub!FowardUrbToRootHub

svn path=/trunk/; revision=69008

8 years ago[SETUPAPI] Partially sync query.c with Wine Staging 1.7.47. CORE-9924
Amine Khaldi [Fri, 4 Sep 2015 17:29:32 +0000 (17:29 +0000)]
[SETUPAPI] Partially sync query.c with Wine Staging 1.7.47. CORE-9924

svn path=/trunk/; revision=69007

8 years ago[CRT]
Pierre Schweitzer [Fri, 4 Sep 2015 16:49:51 +0000 (16:49 +0000)]
[CRT]
Fix memory allocation in __dllonexit

CID 514138

svn path=/trunk/; revision=69006

8 years ago[CRT]
Pierre Schweitzer [Fri, 4 Sep 2015 16:41:51 +0000 (16:41 +0000)]
[CRT]
Fix rand_s implementation so that it doesn't leak resources, so that it doesn't dereference null pointer, so that it matches MSDN documentation (https://msdn.microsoft.com/fr-fr/library/sxtz2fa8.aspx)

CID 716561
CID 716668

svn path=/trunk/; revision=69005

8 years ago[NTOS]
Thomas Faber [Fri, 4 Sep 2015 16:16:48 +0000 (16:16 +0000)]
[NTOS]
- Fix TAG_IRP

svn path=/trunk/; revision=69004

8 years ago[CDROM]
Thomas Faber [Fri, 4 Sep 2015 16:01:46 +0000 (16:01 +0000)]
[CDROM]
- Avoid IRP leaks

svn path=/trunk/; revision=69003

8 years ago[MOUNTMGR]
Pierre Schweitzer [Fri, 4 Sep 2015 15:58:44 +0000 (15:58 +0000)]
[MOUNTMGR]
Fix a nasty typo in QueryPointsFromMemory() which was like breaking the behavior of IOCTL_MOUNTMGR_QUERY_POINTS, IOCTL_MOUNTMGR_DELETE_POINTS

CID 1321853

svn path=/trunk/; revision=69002

8 years ago[NTFS]
Pierre Schweitzer [Fri, 4 Sep 2015 15:52:19 +0000 (15:52 +0000)]
[NTFS]
Don't bother comparing names if they have null length

svn path=/trunk/; revision=69001

8 years ago[NTFS]
Pierre Schweitzer [Fri, 4 Sep 2015 15:37:15 +0000 (15:37 +0000)]
[NTFS]
Don't attempt to dereference a null pointer
CID 1321987

svn path=/trunk/; revision=69000

8 years ago[BOOTMGFW]
Thomas Faber [Fri, 4 Sep 2015 15:33:12 +0000 (15:33 +0000)]
[BOOTMGFW]
- Fix build with RUNTIME_CHECKS (and hopefully STACK_PROTECTOR)

svn path=/trunk/; revision=68999

8 years ago[TOOLS]
Thomas Faber [Fri, 4 Sep 2015 15:22:16 +0000 (15:22 +0000)]
[TOOLS]
- Fix MSVC warnings for C++ host-tools

svn path=/trunk/; revision=68998

8 years ago[BOOTMGFW] Add missing dependency.
Amine Khaldi [Fri, 4 Sep 2015 14:45:40 +0000 (14:45 +0000)]
[BOOTMGFW] Add missing dependency.

svn path=/trunk/; revision=68997

8 years ago[BOOTMGFW] Add missing dependency.
Amine Khaldi [Fri, 4 Sep 2015 14:43:01 +0000 (14:43 +0000)]
[BOOTMGFW] Add missing dependency.

svn path=/trunk/; revision=68996

8 years ago[BOOTMGFW] Set the subsystem differently between GCC and MSVC builds.
Amine Khaldi [Fri, 4 Sep 2015 14:40:15 +0000 (14:40 +0000)]
[BOOTMGFW] Set the subsystem differently between GCC and MSVC builds.

svn path=/trunk/; revision=68995

8 years ago[TXTSETUP]
Alex Ionescu [Fri, 4 Sep 2015 14:26:09 +0000 (14:26 +0000)]
[TXTSETUP]
Still takes 3 commits to get 1 right.

svn path=/trunk/; revision=68994

8 years ago[BOOTMGFW]
Alex Ionescu [Fri, 4 Sep 2015 14:23:45 +0000 (14:23 +0000)]
[BOOTMGFW]
Try to fix header.

svn path=/trunk/; revision=68993

8 years ago[BOOTMGFW]
Alex Ionescu [Fri, 4 Sep 2015 14:16:56 +0000 (14:16 +0000)]
[BOOTMGFW]
Nothing to see here. I hope this doesn't break the build.

svn path=/trunk/; revision=68992

8 years ago[MUP]
Pierre Schweitzer [Fri, 4 Sep 2015 13:58:44 +0000 (13:58 +0000)]
[MUP]
Fix uninitialized address freeing in case of error in MupGetProviderInformation(), InitializeProvider()
CID 1322227
CID 1322240

svn path=/trunk/; revision=68990

8 years ago[USBSTOR] fix memory leaks CID 1322134
Christoph von Wittich [Fri, 4 Sep 2015 12:05:14 +0000 (12:05 +0000)]
[USBSTOR] fix memory leaks CID 1322134

svn path=/trunk/; revision=68989