Commit graph

68075 commits

Author SHA1 Message Date
Giannis Adamopoulos 0b7e31082f [USER32_APITEST] -Add tests for global classes and versioned classes for RegisterClassEx.
svn path=/trunk/; revision=73725
2017-02-06 16:33:25 +00:00
Hermès Bélusca-Maïto 772d8095c2 The 'UNIMPLEMENTED' macro call should be followed explicitely by a semicolon.
svn path=/trunk/; revision=73724
2017-02-06 15:49:23 +00:00
Hermès Bélusca-Maïto e96ee73cba [EXPLORER]: One indentation and one return value fix.
svn path=/trunk/; revision=73723
2017-02-06 15:18:33 +00:00
Alex Ionescu 27f761d0a3 [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
2017-02-06 03:14:14 +00:00
Alex Ionescu 88dcf31856 [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
2017-02-05 22:34:47 +00:00
Alex Ionescu 0348b64178 [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
2017-02-05 22:17:07 +00:00
Alex Ionescu 968d02e55c [BOOTLIB]: Fix bug in MmPapFreePhysicalPages.
svn path=/trunk/; revision=73719
2017-02-05 22:03:27 +00:00
Alex Ionescu 481f7c440a [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
2017-02-05 22:02:24 +00:00
Eric Kohl bcb2480c3c [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
2017-02-05 21:52:49 +00:00
Alex Ionescu 16fa7d18c5 [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
2017-02-05 21:50:14 +00:00
Eric Kohl b5f0b7d584 [APPWIZ]
Replace resource metrics by fixed sizes.

svn path=/trunk/; revision=73715
2017-02-05 21:46:51 +00:00
Eric Kohl 12a284e9eb [CPL]
Remove unused resource metrics.

svn path=/trunk/; revision=73714
2017-02-05 21:15:25 +00:00
Alex Ionescu 0cf270e3ca [BOOTLIB]: Fix GCC build. Maybe I should stop using MSVC.
svn path=/trunk/; revision=73713
2017-02-05 20:52:00 +00:00
Alex Ionescu 6eb6728488 [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
2017-02-05 19:55:49 +00:00
Kamil Hornicek b4bf1a0c92 [SPIDER]
- Add a null pointer check. CID 500248
- Check for a memory allocation failure.
- Improve Czech resources.

svn path=/trunk/; revision=73711
2017-02-05 18:17:27 +00:00
Pierre Schweitzer 95415c2f28 [FASTFAT]
Addendum to r73709:
- Also apply the override to FATX partitions

CORE-9988

svn path=/trunk/; revision=73710
2017-02-05 17:14:42 +00:00
Pierre Schweitzer 8987f5fa46 [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
2017-02-05 17:07:31 +00:00
Kamil Hornicek 73bb103c3c [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
2017-02-05 15:42:23 +00:00
Alex Ionescu 66a30f987b [BOOTLIB]: Stub MmPapFreePages
[BOOTLIB]: Implement BlImgUnallocateImageBuffer
[BOOTLIB]: Stub BlMmTranslateVirtualAddress

svn path=/trunk/; revision=73707
2017-02-05 15:14:44 +00:00
Giannis Adamopoulos 1b634b38ec [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
2017-02-05 13:41:45 +00:00
Giannis Adamopoulos 2ee2be0a07 [SHELL32] -CDesktopBrowser: Implement handling FCIDM_DESKBROWSER_REFRESH.
svn path=/trunk/; revision=73705
2017-02-05 12:35:47 +00:00
Giannis Adamopoulos 5e63cb55f0 [SHELL32] -The only change I did in the previous patch was buggy.
svn path=/trunk/; revision=73704
2017-02-05 12:27:53 +00:00
Giannis Adamopoulos 029cc4a9a1 [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
2017-02-05 12:15:59 +00:00
Giannis Adamopoulos af6491bc87 [BROWSEUI] - CShellBrowser: Implement Refresh menu item in the View menu.
svn path=/trunk/; revision=73702
2017-02-05 11:01:24 +00:00
Thomas Faber 25382c0600 [FATTEN][KBDTOOL][RSYM]
- Fix clang warnings

svn path=/trunk/; revision=73701
2017-02-05 10:46:29 +00:00
Thomas Faber 3f11bbbaf1 [BOOTLIB]
- Add missing asm dependency

svn path=/trunk/; revision=73700
2017-02-05 10:45:50 +00:00
Kamil Hornicek 4b762458f9 [CONTROL]
- Use strsafe functions. CID 515200

svn path=/trunk/; revision=73699
2017-02-05 10:28:42 +00:00
Thomas Faber 82fdf83109 [ZLIB]
- Update to 1.2.11
CORE-12753 #resolve

svn path=/trunk/; revision=73698
2017-02-05 10:28:40 +00:00
Thomas Faber b6295d12e2 [HHPCOMP]
- Avoid implicit function declarations

svn path=/trunk/; revision=73697
2017-02-05 09:58:22 +00:00
Thomas Faber 41c7ba2971 [TOOLS]
- Add /EHsc for all C++ sources under MSVC instead of doing it per-file

svn path=/trunk/; revision=73696
2017-02-05 09:51:33 +00:00
Thomas Faber 719936a2f1 [ZLIBHOST]
- We only need the minimal Z_SOLO functionality. Avoids some compiler warnings.

svn path=/trunk/; revision=73695
2017-02-05 09:42:43 +00:00
Thomas Faber dc0fc72451 [BOOTLIB]
- Remove an unused variable aka fix GCC build

svn path=/trunk/; revision=73694
2017-02-05 08:50:40 +00:00
Alex Ionescu d48996392c [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
2017-02-05 06:02:11 +00:00
Alex Ionescu 7800da4db6 [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
2017-02-05 05:35:44 +00:00
Alex Ionescu e3dca9d237 [BOOTLIB]: Implement BlMmGetMemoryMap.
[BOOTLIB]: Implement MmMdCountList, MmMdInitializeList, MmMdCopyList
[BOOTLIB]: Bugfixes.

svn path=/trunk/; revision=73691
2017-02-05 01:54:52 +00:00
Sylvain Petreolle 3cd888817c fix reactos_support_code MSVC build.
svn path=/trunk/; revision=73690
2017-02-05 01:03:45 +00:00
Alex Ionescu 996dfea0be [BOOTLIB]: Fix from hermes for BlReplaceBootOptions
[BOOTLIB]: More WIP transfer code.

svn path=/trunk/; revision=73689
2017-02-05 00:05:19 +00:00
Thomas Faber 0e90ca425c [BOOTLIB][CRT]
- Fix GCC build

svn path=/trunk/; revision=73688
2017-02-04 23:50:32 +00:00
Alex Ionescu 28dad177a0 [BOOTLIB]: Begin adding support for transferring to newly loaded i386 image.
svn path=/trunk/; revision=73687
2017-02-04 21:59:52 +00:00
Mark Jansen 6ee138b21a [HIVECLS|MSPAINT] Add Edit menu item for bitmaps. CORE-12679 #resolve
svn path=/trunk/; revision=73686
2017-02-04 21:26:59 +00:00
Alex Ionescu 836e49cf3b [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
2017-02-04 20:45:02 +00:00
Alex Ionescu 81ddcd09c3 [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
2017-02-04 19:45:38 +00:00
Pierre Schweitzer bdabc81718 [FASTFAT]
vfatMakeFCBFromDirEntry(), use appropriate tag on free.
Dedicated to Thomas :-)

svn path=/trunk/; revision=73683
2017-02-04 19:37:40 +00:00
Alex Ionescu 9ae2e91963 [CONFIGURE]: Better fix thanks to gigaherz.
svn path=/trunk/; revision=73682
2017-02-04 18:55:47 +00:00
Thomas Faber 4e8b6ffda0 [LIBUSB]
- Avoid pointless assignment in CDMAMemoryManager::Initialize. CID 515285

svn path=/trunk/; revision=73681
2017-02-04 18:36:13 +00:00
Alex Ionescu 9feb079172 [CONFIGURE]: Hack-support VS15 (VS 2017)
svn path=/trunk/; revision=73680
2017-02-04 17:59:32 +00:00
Pierre Schweitzer 39b324e543 [FASTFAT]
In vfatMakeFCBFromDirEntry(), handle vfatFCBInitializeCacheFromVolume() failure

svn path=/trunk/; revision=73679
2017-02-04 17:54:38 +00:00
Pierre Schweitzer e85e97caeb [FASTFAT]
Drop a hack that seems no longer needed

svn path=/trunk/; revision=73678
2017-02-04 17:52:39 +00:00
Thomas Faber e2e4314c68 [BOOTLIB]
- Zero the correct structure in EtfsOpen. CID 1341378

svn path=/trunk/; revision=73677
2017-02-04 17:41:14 +00:00
Thomas Faber b001a719b7 [SYSDM]
- Fix wrong sizeof expression in DeleteHardwareProfile. CID 1322188

svn path=/trunk/; revision=73676
2017-02-04 17:27:49 +00:00