reactos.git
7 years ago[WIN32SS] Mute a major spammer in AHK tests.
Mark Jansen [Tue, 7 Feb 2017 10:33:42 +0000 (10:33 +0000)]
[WIN32SS] Mute a major spammer in AHK tests.

svn path=/trunk/; revision=73744

7 years ago[BOOTLIB] Additional EfiPrintf conversion like r73736 for MSVC 2013
Mark Jansen [Tue, 7 Feb 2017 10:32:20 +0000 (10:32 +0000)]
[BOOTLIB] Additional EfiPrintf conversion like r73736 for MSVC 2013

svn path=/trunk/; revision=73743

7 years ago[BOOTLIB]: Implement MmFwGetMemoryMap when virtual memory is being enabled.
Alex Ionescu [Tue, 7 Feb 2017 04:26:21 +0000 (04:26 +0000)]
[BOOTLIB]: Implement MmFwGetMemoryMap when virtual memory is being enabled.
[BOOTLIB]: Implement MmPapAllocatePagesInRange when virtual memory is being enabled.
What's left now is implementing extension for the PA allocator when VM is enabled.

svn path=/trunk/; revision=73742

7 years ago[BOOTLIB]: Finish implementing Mmx86pMapMemoryRegions.
Alex Ionescu [Tue, 7 Feb 2017 03:34:49 +0000 (03:34 +0000)]
[BOOTLIB]: Finish implementing Mmx86pMapMemoryRegions.

svn path=/trunk/; revision=73741

7 years ago[BOOTLIB]: Implement most of Mmx86pMapMemoryRegions. Just missing the UEFI mappings...
Alex Ionescu [Tue, 7 Feb 2017 01:52:57 +0000 (01:52 +0000)]
[BOOTLIB]: Implement most of Mmx86pMapMemoryRegions. Just missing the UEFI mappings now.

svn path=/trunk/; revision=73740

7 years ago[BOOTLIB]: Don't use PTE_BASE/PDE_BASE in bootlib. Use MmPteBase and MmPdeBase instead.
Alex Ionescu [Tue, 7 Feb 2017 01:35:11 +0000 (01:35 +0000)]
[BOOTLIB]: Don't use PTE_BASE/PDE_BASE in bootlib. Use MmPteBase and MmPdeBase instead.
[BOOTLIB]: Implement MmDefpMapPhysicalAddress, MmDefpTranslateVirtualAddress. Fix definition of Mmx86MapPhysicalAddress.

svn path=/trunk/; revision=73739

7 years ago[BOOTLIB]: Implement BlMmIsTranslationEnabled and MmMapPhysicalAddress. MmDefpMapPhys...
Alex Ionescu [Mon, 6 Feb 2017 23:13:47 +0000 (23:13 +0000)]
[BOOTLIB]: Implement BlMmIsTranslationEnabled and MmMapPhysicalAddress. MmDefpMapPhysicalAddress is missing at this point.

svn path=/trunk/; revision=73738

7 years ago[USERENV]
Hermès Bélusca-Maïto [Mon, 6 Feb 2017 22:58:20 +0000 (22:58 +0000)]
[USERENV]
- Fix some DPRINTs;
- Add parameter validation in CreateUserProfileExW;
- Return the directory path of the created profile in CreateUserProfileExW, if the user wants it;
- Add value type validation for RegQueryValueExW calls;
- Use ARRAYSIZE where needed;
- Add parameter validation in GetAllUsersProfileDirectoryA, GetDefaultUserProfileDirectoryA;
- Correctly return error code in GetAllUsersProfileDirectoryW, GetDefaultUserProfileDirectoryW, GetProfilesDirectoryW and GetUserProfileDirectoryW. Should fix the userenv_apitest:GetProfileDirs tests.

svn path=/trunk/; revision=73737

7 years ago[BOOTLIB]: Make the EfiPrintf with __FUNCTION__ work also on GCC. Also, on MSVC ...
Hermès Bélusca-Maïto [Mon, 6 Feb 2017 22:46:57 +0000 (22:46 +0000)]
[BOOTLIB]: Make the EfiPrintf with __FUNCTION__ work also on GCC. Also, on MSVC (2010 at least), concatenating without converting __FUNCTION__ to unicode and adding 'L' for the "\r\n" returned error C2308.

svn path=/trunk/; revision=73736

7 years ago[USERENV_APITEST]: Add some simple tests for Get[AllUsers|DefaultUser|User]Profile...
Hermès Bélusca-Maïto [Mon, 6 Feb 2017 22:14:50 +0000 (22:14 +0000)]
[USERENV_APITEST]: Add some simple tests for Get[AllUsers|DefaultUser|User]Profile[s]Directory APIs (checking return values & last errors).

svn path=/trunk/; revision=73735

7 years ago[BOOTLIB]: Finish implementation of MmMdRemoveRegionFromMdlEx for other straddling...
Alex Ionescu [Mon, 6 Feb 2017 22:11:21 +0000 (22:11 +0000)]
[BOOTLIB]: Finish implementation of MmMdRemoveRegionFromMdlEx for other straddling scenarios.
[BOOTLIB]: Implement Mmx86MapInitStructure and most of Mmx86InitializeMemoryMap.
[BOOTLIB]: Continue implementation of MmDefInitializeTranslation.
[BOOTLIB]: More explicitly mark paths which are not yet implemented for paging mode yet (but only on compilers that don't give compiler errors when trying to use __FUNCTION__.

svn path=/trunk/; revision=73734

7 years ago[FASTFAT]
Pierre Schweitzer [Mon, 6 Feb 2017 19:43:48 +0000 (19:43 +0000)]
[FASTFAT]
Take the volume label into account when comparing the FAT volumes in case of a verify.
This helps avoiding remounting every removable device on verify. Current hack is only kept for FATX volumes for now.

svn path=/trunk/; revision=73733

7 years ago[BOOTLIB]: Don't use __getcallerseflags() in Archx86IsCpuidSupported -- __readeflags...
Alex Ionescu [Mon, 6 Feb 2017 19:34:15 +0000 (19:34 +0000)]
[BOOTLIB]: Don't use __getcallerseflags() in Archx86IsCpuidSupported -- __readeflags should be good enough.

svn path=/trunk/; revision=73732

7 years ago[ACCESS]
Eric Kohl [Mon, 6 Feb 2017 19:22:48 +0000 (19:22 +0000)]
[ACCESS]
Get rid of the calculated control positions and sizes.

svn path=/trunk/; revision=73731

7 years agoCleanly compiles with both VS/GCC on my system even though bcd.h is not included...
Alex Ionescu [Mon, 6 Feb 2017 19:21:01 +0000 (19:21 +0000)]
Cleanly compiles with both VS/GCC on my system even though bcd.h is not included. I have no idea how. Evidence in IRC channel.

svn path=/trunk/; revision=73730

7 years ago[BOOTLIB]: Implement MmPaReserveSelfMapPages, MmPaReleaseSelfMapPages
Alex Ionescu [Mon, 6 Feb 2017 19:07:17 +0000 (19:07 +0000)]
[BOOTLIB]: Implement MmPaReserveSelfMapPages, MmPaReleaseSelfMapPages
[BOOTLIB]: Stub MmDefMoveVirtualAddressRange, MmDefZeroVirtualAddressRange, MmDefRelocateSelfMap, MmDefpDestroySelfMap, MmDefpUnmapVirtualAddress, MmDefpRemapVirtualAddress, MmDefpMapPhysicalAddress, MmDefpTranslateVirtualAddress,
[BOOTLIB]: Implement MmDefpFlushTlbEntry, MmDefpFlushTlb
[BOOTLIB]: Implement MmPaReleaseSelfMapPages, MmPaReserveSelfMapPages.
[BOOTLIB]: Implement Archx86IsCpuidSupported, BlArchIsCpuIdFunctionSupported, BlArchCpuId, BlArchGetPerformanceCounter.
[BOOTLIB]: Implement MmArchInitialize.
[BOOTLIB]: Implement most of MmDefInitializeTranslation. Almost ready to turn on paging.

svn path=/trunk/; revision=73729

7 years ago[USERENV]
Hermès Bélusca-Maïto [Mon, 6 Feb 2017 18:57:57 +0000 (18:57 +0000)]
[USERENV]
- Remove old file comment header (the code license is already present in COPYING in the main directory);
- Fix DPRINT;
- Use new-style annotations for exported APIs.

svn path=/trunk/; revision=73728

7 years ago[FASTFAT]
Pierre Schweitzer [Mon, 6 Feb 2017 18:14:01 +0000 (18:14 +0000)]
[FASTFAT]
Optimize the FAT mount process: there is no need to recognize the FS twice on mounting.

svn path=/trunk/; revision=73727

7 years ago[RPCSS][THMSVC]: Perform the internal cleanup tasks before calling SetServiceStatus...
Hermès Bélusca-Maïto [Mon, 6 Feb 2017 16:56:32 +0000 (16:56 +0000)]
[RPCSS][THMSVC]: Perform the internal cleanup tasks before calling SetServiceStatus with 'dwCurrentState = SERVICE_STOPPED', because otherwise (if internal cleanup is done after calling SetServiceStatus) the SCM could kill the service in the middle of its cleanup tasks.

[SVCHOST][WINLOGON][LSASRV][SAMSRV]: Use the SDK-defined constant RPC_C_PROTSEQ_MAX_REQS_DEFAULT instead of hardcoding its value in the RpcServerUseProtseqEpW calls.

svn path=/trunk/; revision=73726

7 years ago[USER32_APITEST] -Add tests for global classes and versioned classes for RegisterClassEx.
Giannis Adamopoulos [Mon, 6 Feb 2017 16:33:25 +0000 (16:33 +0000)]
[USER32_APITEST] -Add tests for global classes and versioned classes for RegisterClassEx.

svn path=/trunk/; revision=73725

7 years agoThe 'UNIMPLEMENTED' macro call should be followed explicitely by a semicolon.
Hermès Bélusca-Maïto [Mon, 6 Feb 2017 15:49:23 +0000 (15:49 +0000)]
The 'UNIMPLEMENTED' macro call should be followed explicitely by a semicolon.

svn path=/trunk/; revision=73724

7 years ago[EXPLORER]: One indentation and one return value fix.
Hermès Bélusca-Maïto [Mon, 6 Feb 2017 15:18:33 +0000 (15:18 +0000)]
[EXPLORER]: One indentation and one return value fix.

svn path=/trunk/; revision=73723

7 years ago[BOOTLIB]: Clarify that BlMemoryReserved == BlMemoryBelow1MB
Alex Ionescu [Mon, 6 Feb 2017 03:14:14 +0000 (03:14 +0000)]
[BOOTLIB]: Clarify that BlMemoryReserved == BlMemoryBelow1MB
[BOOTLIB]: Implement EfiAllocatePages, EfiFreePages for Protected Mode.
[BOOTLIB]: Fix a "Todo" in MmFwGetMemoryMap: We now free the EFI buffer used for the memory map itself, and unmap it from the memory map (which would show it as 'in-use' while we're dumping it).

svn path=/trunk/; revision=73722

7 years ago[BOOTLIB]: Implement MmArchTranslateVirtualAddress for non-paging mode. Stub Mmx86Tra...
Alex Ionescu [Sun, 5 Feb 2017 22:34:47 +0000 (22:34 +0000)]
[BOOTLIB]: Implement MmArchTranslateVirtualAddress for non-paging mode. Stub Mmx86TranslateVirtualAddress.
[BOOTLIB]: Support EfiPrintf in Protected mode.
[BOOTLIB]: Support EfiGetMemoryMap in Protected Mode.

svn path=/trunk/; revision=73721

7 years ago[BOOTMGR]: Fix more gcc warnings. Maybe we should stop building GCC with /Wall but...
Alex Ionescu [Sun, 5 Feb 2017 22:17:07 +0000 (22:17 +0000)]
[BOOTMGR]: Fix more gcc warnings. Maybe we should stop building GCC with /Wall but MSVC with /Wnothing?
[BOOTLIB]: Hack EfiPrintf temporarily so we can get print outs even in "Protected mode".
[ROSLOAD]: Begin implementation. First, many bootlib fixes needed.

svn path=/trunk/; revision=73720

7 years ago[BOOTLIB]: Fix bug in MmPapFreePhysicalPages.
Alex Ionescu [Sun, 5 Feb 2017 22:03:27 +0000 (22:03 +0000)]
[BOOTLIB]: Fix bug in MmPapFreePhysicalPages.

svn path=/trunk/; revision=73719

7 years ago[BOOTMGR]: Finish alloc/free test. It shows that it seems? to be working ok? :-)
Alex Ionescu [Sun, 5 Feb 2017 22:02:24 +0000 (22:02 +0000)]
[BOOTMGR]: Finish alloc/free test. It shows that it seems? to be working ok? :-)
[BOOTLIB]: Wrap-up implementation of MmPapFreePhysicalPages. We no longer leak RAM.

svn path=/trunk/; revision=73718

7 years ago[VARIOUS]
Eric Kohl [Sun, 5 Feb 2017 21:52:49 +0000 (21:52 +0000)]
[VARIOUS]
- Complete and updated translation for: runonce, winlogon, deskadp, deskmon, slayer, user32 and winsrv.
- Added right-to-left extended style for all dialogs.
Patch by Baruch Rutman.
CORE-6904 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=73717

7 years ago[BOOTMGR]: Fix bug in test.
Alex Ionescu [Sun, 5 Feb 2017 21:50:14 +0000 (21:50 +0000)]
[BOOTMGR]: Fix bug in test.
[BOOTLIB]: Fix bug in MmMdFindDescriptorFromMdl.
[BOOTLIB]: Implement MmFwFreePages.
[BOOTLIB]: Implement most of MmPapFreePhysicalPages. The rest is coming next.
[BOOTMGR]: Add test for alloc/free.

svn path=/trunk/; revision=73716

7 years ago[APPWIZ]
Eric Kohl [Sun, 5 Feb 2017 21:46:51 +0000 (21:46 +0000)]
[APPWIZ]
Replace resource metrics by fixed sizes.

svn path=/trunk/; revision=73715

7 years ago[CPL]
Eric Kohl [Sun, 5 Feb 2017 21:15:25 +0000 (21:15 +0000)]
[CPL]
Remove unused resource metrics.

svn path=/trunk/; revision=73714

7 years ago[BOOTLIB]: Fix GCC build. Maybe I should stop using MSVC.
Alex Ionescu [Sun, 5 Feb 2017 20:52:00 +0000 (20:52 +0000)]
[BOOTLIB]: Fix GCC build. Maybe I should stop using MSVC.

svn path=/trunk/; revision=73713

7 years ago[BOOTMGR]: Add the basics of some memory allocator/descriptor tests.
Alex Ionescu [Sun, 5 Feb 2017 19:55:49 +0000 (19:55 +0000)]
[BOOTMGR]: Add the basics of some memory allocator/descriptor tests.
[BOOTLIB]: Implement MmMdFindDescriptorFromMdl (broken?)
[BOOTLIB]: Implement MmMdFindDescriptor.
[BOOTLIB]: Implement BlMmFreePhysicalPages.
[BOOTLIB]: Implement MmPapFreePages for physical memory translation scenario only.

svn path=/trunk/; revision=73712

7 years ago[SPIDER]
Kamil Hornicek [Sun, 5 Feb 2017 18:17:27 +0000 (18:17 +0000)]
[SPIDER]
- Add a null pointer check. CID 500248
- Check for a memory allocation failure.
- Improve Czech resources.

svn path=/trunk/; revision=73711

7 years ago[FASTFAT]
Pierre Schweitzer [Sun, 5 Feb 2017 17:14:42 +0000 (17:14 +0000)]
[FASTFAT]
Addendum to r73709:
- Also apply the override to FATX partitions

CORE-9988

svn path=/trunk/; revision=73710

7 years ago[FASTFAT]
Pierre Schweitzer [Sun, 5 Feb 2017 17:07:31 +0000 (17:07 +0000)]
[FASTFAT]
- Modify the VfatHasFileSystem() so that it allows a DO_VERIFY_VOLUME override, when required
- Fix the implementation of VfatVerify() so that it actually really does the job it's supposed to do:
  - it will now use the appropriate DO for verification (lower DO and not volume DO)
  - it will properly clear the DO_VERIFY_VOLUME flag
- Introduce a hack in VfatVerify() so that in case of removal media, if FATInfo is the same, it forces a dismount

Effects of this commit:
- It properly fixes CORE-9988. That means if a FAT media changes, now FastFAT properly handles it, and does not go to a code path producing (expected!) BSODs
- The hack introduces a hacky way to make ReactOS remount FAT floppies when changed

In short, changing FAT floppy in ReactOS doesn't make it BSOD any longer.

CORE-9988

svn path=/trunk/; revision=73709

7 years ago[KBSWITCH]
Kamil Hornicek [Sun, 5 Feb 2017 15:42:23 +0000 (15:42 +0000)]
[KBSWITCH]
- Don't fall through to the default label. CID 515166

[NTUSER]
- Fix a copypasta.

[USER32]
- Fix computing of HKL for layouts with Layout id.
- Don't call NtUserLoadKeyboardLayoutEx with bogus keyboard layout id.
- Ideally LoadKeyboardLayout should return the default system layout on failure - to be continued.

svn path=/trunk/; revision=73708

7 years ago[BOOTLIB]: Stub MmPapFreePages
Alex Ionescu [Sun, 5 Feb 2017 15:14:44 +0000 (15:14 +0000)]
[BOOTLIB]: Stub MmPapFreePages
[BOOTLIB]: Implement BlImgUnallocateImageBuffer
[BOOTLIB]: Stub BlMmTranslateVirtualAddress

svn path=/trunk/; revision=73707

7 years ago[BROWSEUI]
Giannis Adamopoulos [Sun, 5 Feb 2017 13:41:45 +0000 (13:41 +0000)]
[BROWSEUI]
-CExplorerBand: Commit the last part of the work submitted by Sylvain Deverre. Sorry for not committing all this time. Unfortunately some parts were changed and some parts don't work well and we need to debug it a bit.
CORE-10838

svn path=/trunk/; revision=73706

7 years ago[SHELL32] -CDesktopBrowser: Implement handling FCIDM_DESKBROWSER_REFRESH.
Giannis Adamopoulos [Sun, 5 Feb 2017 12:35:47 +0000 (12:35 +0000)]
[SHELL32] -CDesktopBrowser: Implement handling FCIDM_DESKBROWSER_REFRESH.

svn path=/trunk/; revision=73705

7 years ago[SHELL32] -The only change I did in the previous patch was buggy.
Giannis Adamopoulos [Sun, 5 Feb 2017 12:27:53 +0000 (12:27 +0000)]
[SHELL32] -The only change I did in the previous patch was buggy.

svn path=/trunk/; revision=73704

7 years ago[SHELL32]
Giannis Adamopoulos [Sun, 5 Feb 2017 12:15:59 +0000 (12:15 +0000)]
[SHELL32]
- Implement View tab in Folder options dialog.
CORE-12540
Patch by Katayama Hirofumi MZ with a tiny improvement by me to refresh explorer in a better way.

svn path=/trunk/; revision=73703

7 years ago[BROWSEUI] - CShellBrowser: Implement Refresh menu item in the View menu.
Giannis Adamopoulos [Sun, 5 Feb 2017 11:01:24 +0000 (11:01 +0000)]
[BROWSEUI] - CShellBrowser: Implement Refresh menu item in the View menu.

svn path=/trunk/; revision=73702

7 years ago[FATTEN][KBDTOOL][RSYM]
Thomas Faber [Sun, 5 Feb 2017 10:46:29 +0000 (10:46 +0000)]
[FATTEN][KBDTOOL][RSYM]
- Fix clang warnings

svn path=/trunk/; revision=73701

7 years ago[BOOTLIB]
Thomas Faber [Sun, 5 Feb 2017 10:45:50 +0000 (10:45 +0000)]
[BOOTLIB]
- Add missing asm dependency

svn path=/trunk/; revision=73700

7 years ago[CONTROL]
Kamil Hornicek [Sun, 5 Feb 2017 10:28:42 +0000 (10:28 +0000)]
[CONTROL]
- Use strsafe functions. CID 515200

svn path=/trunk/; revision=73699

7 years ago[ZLIB]
Thomas Faber [Sun, 5 Feb 2017 10:28:40 +0000 (10:28 +0000)]
[ZLIB]
- Update to 1.2.11
CORE-12753 #resolve

svn path=/trunk/; revision=73698

7 years ago[HHPCOMP]
Thomas Faber [Sun, 5 Feb 2017 09:58:22 +0000 (09:58 +0000)]
[HHPCOMP]
- Avoid implicit function declarations

svn path=/trunk/; revision=73697

7 years ago[TOOLS]
Thomas Faber [Sun, 5 Feb 2017 09:51:33 +0000 (09:51 +0000)]
[TOOLS]
- Add /EHsc for all C++ sources under MSVC instead of doing it per-file

svn path=/trunk/; revision=73696

7 years ago[ZLIBHOST]
Thomas Faber [Sun, 5 Feb 2017 09:42:43 +0000 (09:42 +0000)]
[ZLIBHOST]
- We only need the minimal Z_SOLO functionality. Avoids some compiler warnings.

svn path=/trunk/; revision=73695

7 years ago[BOOTLIB]
Thomas Faber [Sun, 5 Feb 2017 08:50:40 +0000 (08:50 +0000)]
[BOOTLIB]
- Remove an unused variable aka fix GCC build

svn path=/trunk/; revision=73694

7 years ago[ROSLOAD]: Implement most of OslMain, which will try to initialize BootLib in Virtual...
Alex Ionescu [Sun, 5 Feb 2017 06:02:11 +0000 (06:02 +0000)]
[ROSLOAD]: Implement most of OslMain, which will try to initialize BootLib in Virtual Protected Mode (mostly unimplemented).
[BOOTLIB]: Fix GCC build.
Bootmgr now correctly switches execution into rosload, which must now be implemented.

svn path=/trunk/; revision=73693

7 years ago[BOOTLIB]: Implement BlFwGetParameters.
Alex Ionescu [Sun, 5 Feb 2017 05:35:44 +0000 (05:35 +0000)]
[BOOTLIB]: Implement BlFwGetParameters.
[BOOTLIB]: Implement ImgpCopyApplicationBootDevice except for partition devices;
[BOOTLIB]: Implement ImgpInitializeBootApplicationParameters.
[BOOTLIB]: Fix bug in BlMmGetMemoryMap.
[BOOTLIB]: Simplify MmMdCopyList.

svn path=/trunk/; revision=73692

7 years ago[BOOTLIB]: Implement BlMmGetMemoryMap.
Alex Ionescu [Sun, 5 Feb 2017 01:54:52 +0000 (01:54 +0000)]
[BOOTLIB]: Implement BlMmGetMemoryMap.
[BOOTLIB]: Implement MmMdCountList, MmMdInitializeList, MmMdCopyList
[BOOTLIB]: Bugfixes.

svn path=/trunk/; revision=73691

7 years agofix reactos_support_code MSVC build.
Sylvain Petreolle [Sun, 5 Feb 2017 01:03:45 +0000 (01:03 +0000)]
fix reactos_support_code MSVC build.

svn path=/trunk/; revision=73690

7 years ago[BOOTLIB]: Fix from hermes for BlReplaceBootOptions
Alex Ionescu [Sun, 5 Feb 2017 00:05:19 +0000 (00:05 +0000)]
[BOOTLIB]: Fix from hermes for BlReplaceBootOptions
[BOOTLIB]: More WIP transfer code.

svn path=/trunk/; revision=73689

7 years ago[BOOTLIB][CRT]
Thomas Faber [Sat, 4 Feb 2017 23:50:32 +0000 (23:50 +0000)]
[BOOTLIB][CRT]
- Fix GCC build

svn path=/trunk/; revision=73688

7 years ago[BOOTLIB]: Begin adding support for transferring to newly loaded i386 image.
Alex Ionescu [Sat, 4 Feb 2017 21:59:52 +0000 (21:59 +0000)]
[BOOTLIB]: Begin adding support for transferring to newly loaded i386 image.

svn path=/trunk/; revision=73687

7 years ago[HIVECLS|MSPAINT] Add Edit menu item for bitmaps. CORE-12679 #resolve
Mark Jansen [Sat, 4 Feb 2017 21:26:59 +0000 (21:26 +0000)]
[HIVECLS|MSPAINT] Add Edit menu item for bitmaps. CORE-12679 #resolve

svn path=/trunk/; revision=73686

7 years ago[BOOTLIB]: Super cool that y'all went and fixed typos in the codebase, but fixing...
Alex Ionescu [Sat, 4 Feb 2017 20:45:02 +0000 (20:45 +0000)]
[BOOTLIB]: Super cool that y'all went and fixed typos in the codebase, but fixing UEFI Official Specification Headers in our source tree is a bit much. Please submit a pull request to EDK-II if you'd like.

svn path=/trunk/; revision=73685

7 years ago[BOOTMGR]: ThFabba making me jealous. Fix a logic bug that Coverity *didn't* find...
Alex Ionescu [Sat, 4 Feb 2017 19:45:38 +0000 (19:45 +0000)]
[BOOTMGR]: ThFabba making me jealous. Fix a logic bug that Coverity *didn't* find. Ha. I'm better.
[BOOTLIB]: Apply the "Fuck You Binutils" hack only for ld-generated files, to unbreak MSVC UEFI boot.

svn path=/trunk/; revision=73684

7 years ago[FASTFAT]
Pierre Schweitzer [Sat, 4 Feb 2017 19:37:40 +0000 (19:37 +0000)]
[FASTFAT]
vfatMakeFCBFromDirEntry(), use appropriate tag on free.
Dedicated to Thomas :-)

svn path=/trunk/; revision=73683

7 years ago[CONFIGURE]: Better fix thanks to gigaherz.
Alex Ionescu [Sat, 4 Feb 2017 18:55:47 +0000 (18:55 +0000)]
[CONFIGURE]: Better fix thanks to gigaherz.

svn path=/trunk/; revision=73682

7 years ago[LIBUSB]
Thomas Faber [Sat, 4 Feb 2017 18:36:13 +0000 (18:36 +0000)]
[LIBUSB]
- Avoid pointless assignment in CDMAMemoryManager::Initialize. CID 515285

svn path=/trunk/; revision=73681

7 years ago[CONFIGURE]: Hack-support VS15 (VS 2017)
Alex Ionescu [Sat, 4 Feb 2017 17:59:32 +0000 (17:59 +0000)]
[CONFIGURE]: Hack-support VS15 (VS 2017)

svn path=/trunk/; revision=73680

7 years ago[FASTFAT]
Pierre Schweitzer [Sat, 4 Feb 2017 17:54:38 +0000 (17:54 +0000)]
[FASTFAT]
In vfatMakeFCBFromDirEntry(), handle vfatFCBInitializeCacheFromVolume() failure

svn path=/trunk/; revision=73679

7 years ago[FASTFAT]
Pierre Schweitzer [Sat, 4 Feb 2017 17:52:39 +0000 (17:52 +0000)]
[FASTFAT]
Drop a hack that seems no longer needed

svn path=/trunk/; revision=73678

7 years ago[BOOTLIB]
Thomas Faber [Sat, 4 Feb 2017 17:41:14 +0000 (17:41 +0000)]
[BOOTLIB]
- Zero the correct structure in EtfsOpen. CID 1341378

svn path=/trunk/; revision=73677

7 years ago[SYSDM]
Thomas Faber [Sat, 4 Feb 2017 17:27:49 +0000 (17:27 +0000)]
[SYSDM]
- Fix wrong sizeof expression in DeleteHardwareProfile. CID 1322188

svn path=/trunk/; revision=73676

7 years ago[BOOTLIB]
Thomas Faber [Sat, 4 Feb 2017 17:00:26 +0000 (17:00 +0000)]
[BOOTLIB]
- Fix operator precedence in call to MmMdAddDescriptorToList. CID 1341191.

svn path=/trunk/; revision=73675

7 years ago[STOBJECT]
Sylvain Petreolle [Sat, 4 Feb 2017 16:12:15 +0000 (16:12 +0000)]
[STOBJECT]
Add a partial French translation.
Remove hardcoded string.
CORE-12490 #resolve

svn path=/trunk/; revision=73674

7 years ago[STOBJECT]
Sylvain Petreolle [Sat, 4 Feb 2017 15:35:16 +0000 (15:35 +0000)]
[STOBJECT]
Fix syntax of power resources.
CORE-12490

svn path=/trunk/; revision=73673

7 years ago[SHELL32] -Remove two annoying prints. A FIXME comment is more than enough.
Giannis Adamopoulos [Sat, 4 Feb 2017 15:12:25 +0000 (15:12 +0000)]
[SHELL32] -Remove two annoying prints. A FIXME comment is more than enough.

svn path=/trunk/; revision=73672

7 years ago[BROWSEUI] - Remove useless print.
Giannis Adamopoulos [Fri, 3 Feb 2017 22:15:13 +0000 (22:15 +0000)]
[BROWSEUI] - Remove useless print.

svn path=/trunk/; revision=73671

7 years ago[SETUPAPI]
Kamil Hornicek [Thu, 2 Feb 2017 19:48:38 +0000 (19:48 +0000)]
[SETUPAPI]
- fix a mix up, caught by Mark

svn path=/trunk/; revision=73670

7 years ago[SETUPAPI]
Kamil Hornicek [Thu, 2 Feb 2017 19:41:19 +0000 (19:41 +0000)]
[SETUPAPI]
- remove logically dead code in SetupDiGetClassImageIndex, CID 500046
- prevent null pointer dereference in SetupDiGetClassDevPropertySheetsA, CID 500676
- use strsafe functions in SETUP_CreateDevicesListFromEnumerator, CID 514263
- fix a check and adjust the logic in SetupDiLoadClassIcon to remove dead code and possible null pointer dereference CID 1250279, CID 1250287

svn path=/trunk/; revision=73669

7 years ago[CALC]
Kamil Hornicek [Thu, 2 Feb 2017 11:07:01 +0000 (11:07 +0000)]
[CALC]
- Fix a(n) (im)possible buffer overrun. Just a defensive measure in case some future work on calc would trigger this. CID 716050

svn path=/trunk/; revision=73668

7 years ago[NTOS]
Thomas Faber [Wed, 1 Feb 2017 23:01:00 +0000 (23:01 +0000)]
[NTOS]
- Remove a useless declaration.
CORE-12729 #resolve

svn path=/trunk/; revision=73666

7 years ago[TRANSLATIONS] Addendum to r73662, fix the build.
Mark Jansen [Wed, 1 Feb 2017 22:45:04 +0000 (22:45 +0000)]
[TRANSLATIONS] Addendum to r73662, fix the build.

svn path=/trunk/; revision=73665

7 years ago[SHELL32] -CDefView: Calculate correctly the position of the cursor over the icon...
Giannis Adamopoulos [Wed, 1 Feb 2017 21:43:20 +0000 (21:43 +0000)]
[SHELL32] -CDefView: Calculate correctly the position of the cursor over the icon. Call ImageList_DragEnter only after we are sure that DragEnter will succeed.

svn path=/trunk/; revision=73664

7 years ago[MSPORTS]
Kamil Hornicek [Wed, 1 Feb 2017 18:36:40 +0000 (18:36 +0000)]
[MSPORTS]
- Check for failure when calling SetupDiGetActualSectionToInstallW so we don't pass garbage to SetupInstallFromInfSectionW. CID 715920

svn path=/trunk/; revision=73663

7 years ago[TRANSLATIONS]
Kamil Hornicek [Wed, 1 Feb 2017 14:45:59 +0000 (14:45 +0000)]
[TRANSLATIONS]
- fix, update and add some czech translations + two tiny "improvements" in english ones

In case anyone wants to continue - these modules lack czech resources completely:
(and I suggest doing getuname first)
clip comp doskey eventcreate mode taskkill tree whoami wmic xcopy ipconfig net clb diskpart acppage fontext browseui getuname iernonce lsasrv modemui msports rasdlg samsrv tapiui localmon

svn path=/trunk/; revision=73662

7 years ago[SHELL32] - CDefView: Implement rudimentary support for drag icons. For now we only...
Giannis Adamopoulos [Wed, 1 Feb 2017 14:22:45 +0000 (14:22 +0000)]
[SHELL32] - CDefView: Implement rudimentary support for drag icons. For now we only show the icon of the first item (no caption or other icons yet).

svn path=/trunk/; revision=73661

7 years ago[SHELL32] Implement support for IID_IDropTarget in CDesktopFolder::GetUIObjectOf...
Giannis Adamopoulos [Wed, 1 Feb 2017 13:31:55 +0000 (13:31 +0000)]
[SHELL32] Implement support for IID_IDropTarget in CDesktopFolder::GetUIObjectOf and CDrivesFolder::GetUIObjectOf. Fixes dragging items to the icons of My documents, Recycle bin or drive.

svn path=/trunk/; revision=73660

7 years ago[WELCOME]: Addendum to r73656: The application title is also customizable!
Hermès Bélusca-Maïto [Wed, 1 Feb 2017 03:51:40 +0000 (03:51 +0000)]
[WELCOME]: Addendum to r73656: The application title is also customizable!
Change also the name of some helper functions.

svn path=/trunk/; revision=73658

7 years ago[WELCOME]: Follow-up to r73590: Load a "welcome.ini" configuration file inside the...
Hermès Bélusca-Maïto [Wed, 1 Feb 2017 03:12:56 +0000 (03:12 +0000)]
[WELCOME]: Follow-up to r73590: Load a "welcome.ini" configuration file inside the path of the welcome.exe application, if present, that specifies few default values to use for the interface, as well as the path (possibly relative) to a subdirectory containing ini files specifying localized resources for the interface.
[BOOTDATA]: Add a default "welcome.ini" file to the build, only for hybrid-cds. The ini files containing the localized resources are automatically converted to UTF-16 prior to inclusion in the hybridcd.

svn path=/trunk/; revision=73656

7 years ago[CMAKE]: Fix the dependencies for the hybridcd.
Hermès Bélusca-Maïto [Wed, 1 Feb 2017 02:18:30 +0000 (02:18 +0000)]
[CMAKE]: Fix the dependencies for the hybridcd.

svn path=/trunk/; revision=73654

7 years ago[ISOMBR]: Pad isombr.S to the size expected by the 'isohybrid' tool.
Hermès Bélusca-Maïto [Tue, 31 Jan 2017 22:08:19 +0000 (22:08 +0000)]
[ISOMBR]: Pad isombr.S to the size expected by the 'isohybrid' tool.

svn path=/trunk/; revision=73651

7 years ago[BOOTLIB]
Thomas Faber [Tue, 31 Jan 2017 13:15:29 +0000 (13:15 +0000)]
[BOOTLIB]
- Correctly check for floppy devices in BlockIoEfiGetDeviceInformation. CID 1341189.

svn path=/trunk/; revision=73643

7 years ago[MSPAINT]
Thomas Faber [Tue, 31 Jan 2017 12:53:39 +0000 (12:53 +0000)]
[MSPAINT]
- Add missing break in CMainWindow::OnCommand/IDM_FORMATICONBAR. CID 1322024.

svn path=/trunk/; revision=73642

7 years ago[LIBWINE]
Thomas Faber [Tue, 31 Jan 2017 12:46:37 +0000 (12:46 +0000)]
[LIBWINE]
- Fix broken indentation (-Wmisleading-indentation)

svn path=/trunk/; revision=73641

7 years ago[ACPI]
Thomas Faber [Mon, 30 Jan 2017 19:20:54 +0000 (19:20 +0000)]
[ACPI]
- Fix some broken indentation (and GCC6 -Wmisleading-indentation warnings with it)

svn path=/trunk/; revision=73637

7 years ago[FREELDR]
Thomas Faber [Mon, 30 Jan 2017 13:50:10 +0000 (13:50 +0000)]
[FREELDR]
- Correctly check for vertical retrace in PcVideoSync. CID 513066.

svn path=/trunk/; revision=73636

7 years ago[DHCPCSVC]
Thomas Faber [Mon, 30 Jan 2017 13:43:21 +0000 (13:43 +0000)]
[DHCPCSVC]
- Addendum to r69652: Avoid some more "Operands don't affect result" warnings. CID 515151, 515152, 515153

svn path=/trunk/; revision=73635

7 years ago[PSDK]
Thomas Faber [Mon, 30 Jan 2017 13:33:46 +0000 (13:33 +0000)]
[PSDK]
- Remove incorrect bit masking from IsRecognizedPartition & IsContainerPartition. CID 1341188.

svn path=/trunk/; revision=73634

7 years ago[FRAMEDYN]
Thomas Faber [Mon, 30 Jan 2017 13:15:41 +0000 (13:15 +0000)]
[FRAMEDYN]
- Fix integer overflow checks. CID 110198112483801248381

svn path=/trunk/; revision=73633

7 years ago[NDK]
Thomas Faber [Mon, 30 Jan 2017 11:45:51 +0000 (11:45 +0000)]
[NDK]
- Add missing lpctypes.h include in lpcfuncs.h
- Fix some file header comments

svn path=/trunk/; revision=73632

7 years ago[PING]: Convert ping to use ConStreams. Also fix file redirection.
Hermès Bélusca-Maïto [Sun, 29 Jan 2017 20:29:28 +0000 (20:29 +0000)]
[PING]: Convert ping to use ConStreams. Also fix file redirection.
CORE-12122 #resolve

svn path=/trunk/; revision=73626

7 years ago[CMD]: The 'type' command can open & display files opened with write access.
Hermès Bélusca-Maïto [Sun, 29 Jan 2017 17:45:34 +0000 (17:45 +0000)]
[CMD]: The 'type' command can open & display files opened with write access.

svn path=/trunk/; revision=73623

7 years ago[TREE]: Rework the utility (use explicit UNICODE, use WIN32 types, remove useless...
Hermès Bélusca-Maïto [Sun, 29 Jan 2017 16:51:23 +0000 (16:51 +0000)]
[TREE]: Rework the utility (use explicit UNICODE, use WIN32 types, remove useless dependency to user32...), and add support for console ConUtils streams.
CORE-12677 #resolve

svn path=/trunk/; revision=73622