Commit graph

67763 commits

Author SHA1 Message Date
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
Thomas Faber b1de4fb737 [BOOTLIB]
- Fix operator precedence in call to MmMdAddDescriptorToList. CID 1341191.

svn path=/trunk/; revision=73675
2017-02-04 17:00:26 +00:00
Sylvain Petreolle cfe19bdf5f [STOBJECT]
Add a partial French translation.
Remove hardcoded string.
CORE-12490 #resolve

svn path=/trunk/; revision=73674
2017-02-04 16:12:15 +00:00
Sylvain Petreolle 243d613886 [STOBJECT]
Fix syntax of power resources.
CORE-12490

svn path=/trunk/; revision=73673
2017-02-04 15:35:16 +00:00
Giannis Adamopoulos 1cd6fc67b1 [SHELL32] -Remove two annoying prints. A FIXME comment is more than enough.
svn path=/trunk/; revision=73672
2017-02-04 15:12:25 +00:00
Giannis Adamopoulos 9594cc6ea9 [BROWSEUI] - Remove useless print.
svn path=/trunk/; revision=73671
2017-02-03 22:15:13 +00:00
Kamil Hornicek 747a21c72e [SETUPAPI]
- fix a mix up, caught by Mark

svn path=/trunk/; revision=73670
2017-02-02 19:48:38 +00:00
Kamil Hornicek 49f2678311 [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
2017-02-02 19:41:19 +00:00
Kamil Hornicek 1014d132dc [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
2017-02-02 11:07:01 +00:00
Thomas Faber f2ca31bf0f [NTOS]
- Remove a useless declaration.
CORE-12729 #resolve

svn path=/trunk/; revision=73666
2017-02-01 23:01:00 +00:00
Mark Jansen 1ec199bac3 [TRANSLATIONS] Addendum to r73662, fix the build.
svn path=/trunk/; revision=73665
2017-02-01 22:45:04 +00:00
Giannis Adamopoulos cf28e96ee8 [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
2017-02-01 21:43:20 +00:00
Kamil Hornicek b12e316394 [MSPORTS]
- Check for failure when calling SetupDiGetActualSectionToInstallW so we don't pass garbage to SetupInstallFromInfSectionW. CID 715920

svn path=/trunk/; revision=73663
2017-02-01 18:36:40 +00:00