Commit graph

67734 commits

Author SHA1 Message Date
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
Kamil Hornicek 5fd3611831 [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
2017-02-01 14:45:59 +00:00
Giannis Adamopoulos 9d21751b1b [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
2017-02-01 14:22:45 +00:00
Giannis Adamopoulos 926c3cfb05 [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
2017-02-01 13:31:55 +00:00
Hermès Bélusca-Maïto ccf03e4ba8 [WELCOME]: Addendum to r73656: The application title is also customizable!
Change also the name of some helper functions.

svn path=/trunk/; revision=73658
2017-02-01 03:51:40 +00:00
Hermès Bélusca-Maïto 9ffcd6f25a [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
2017-02-01 03:12:56 +00:00
Hermès Bélusca-Maïto 229958ea1d [CMAKE]: Fix the dependencies for the hybridcd.
svn path=/trunk/; revision=73654
2017-02-01 02:18:30 +00:00
Hermès Bélusca-Maïto 103ff5a0b0 [ISOMBR]: Pad isombr.S to the size expected by the 'isohybrid' tool.
svn path=/trunk/; revision=73651
2017-01-31 22:08:19 +00:00
Thomas Faber 7eb46b4d50 [BOOTLIB]
- Correctly check for floppy devices in BlockIoEfiGetDeviceInformation. CID 1341189.

svn path=/trunk/; revision=73643
2017-01-31 13:15:29 +00:00
Thomas Faber ea461699aa [MSPAINT]
- Add missing break in CMainWindow::OnCommand/IDM_FORMATICONBAR. CID 1322024.

svn path=/trunk/; revision=73642
2017-01-31 12:53:39 +00:00
Thomas Faber ed174701c8 [LIBWINE]
- Fix broken indentation (-Wmisleading-indentation)

svn path=/trunk/; revision=73641
2017-01-31 12:46:37 +00:00
Thomas Faber 5eebde25c0 [ACPI]
- Fix some broken indentation (and GCC6 -Wmisleading-indentation warnings with it)

svn path=/trunk/; revision=73637
2017-01-30 19:20:54 +00:00
Thomas Faber ceeeea30e1 [FREELDR]
- Correctly check for vertical retrace in PcVideoSync. CID 513066.

svn path=/trunk/; revision=73636
2017-01-30 13:50:10 +00:00
Thomas Faber d41a3f0e64 [DHCPCSVC]
- Addendum to r69652: Avoid some more "Operands don't affect result" warnings. CID 515151, 515152, 515153

svn path=/trunk/; revision=73635
2017-01-30 13:43:21 +00:00
Thomas Faber 2a53c5f4b0 [PSDK]
- Remove incorrect bit masking from IsRecognizedPartition & IsContainerPartition. CID 1341188.

svn path=/trunk/; revision=73634
2017-01-30 13:33:46 +00:00
Thomas Faber c8ec5e1a66 [FRAMEDYN]
- Fix integer overflow checks. CID 1101981, 1248380, 1248381

svn path=/trunk/; revision=73633
2017-01-30 13:15:41 +00:00
Thomas Faber dacd843616 [NDK]
- Add missing lpctypes.h include in lpcfuncs.h
- Fix some file header comments

svn path=/trunk/; revision=73632
2017-01-30 11:45:51 +00:00
Hermès Bélusca-Maïto 96fc9a41f8 [PING]: Convert ping to use ConStreams. Also fix file redirection.
CORE-12122 #resolve

svn path=/trunk/; revision=73626
2017-01-29 20:29:28 +00:00
Hermès Bélusca-Maïto 0ad9e5d154 [CMD]: The 'type' command can open & display files opened with write access.
svn path=/trunk/; revision=73623
2017-01-29 17:45:34 +00:00
Hermès Bélusca-Maïto c8a8975faf [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
2017-01-29 16:51:23 +00:00
Hermès Bélusca-Maïto ff5f825f59 [FREELDR]
- Simplify the implementation of the 'DiskGetBootPath' function;
- Cache the retrived freeldr boot path (corresponding to a given 'FrldrBootDrive' number);
- Introduce a 'DiskIsCdRomDrive' function to attempt to fix CORE-12692 .

svn path=/trunk/; revision=73621
2017-01-29 15:43:12 +00:00
Thomas Faber 841f48d8f2 [CALC]
- Do not push memory stores onto the operation stack since they can't be acted upon. Based on a patch by Katayama Hirofumi MZ.
CORE-12325 #resolve

svn path=/trunk/; revision=73620
2017-01-29 14:25:28 +00:00
Hermès Bélusca-Maïto a5fd03e6e1 [SHELL32]: Fix build on *sane* compilers (wth, is that an assignment without the equal sign, or a called constructor, missing its parentheses?!).
svn path=/trunk/; revision=73619
2017-01-29 13:48:39 +00:00
Hermès Bélusca-Maïto 9a649094dc [FREELDR]: Part 3 of my local changes merging:
- Remove the DiskVtbl functions (machxbox.c) of the XBOX and share them instead with those of the PC, since they are basically the same.
  They just however differ by which 'DiskGetPartitionEntry' function they use. To cope with this, 'DiskGetPartitionEntry' becomes a pointer
  to either the default function 'DiskGetMbrPartitionEntry' (which indeed assumes a MBR-layout, see partition.c), or the special function
  'XboxDiskGetPartitionEntry' in the case of partitionless XBOX disks.
  Note that, by the way, partition.c should in the future support GPT-layout disks as well...
- The boot devices pre-initialization code can also be shared as well, thus getting rid of 'XboxInitializeBootDevices', because we note that
  this is exactly what the (old) XBOX version of 'DetectBiosDisks' did at its beginning.
- But then, we can also share 'DetectBiosDisks' XBOX code with its PC version, and also *fix* the PC code version as well!
  'DetectSystem' and 'DetectBiosDisks' are therefore merged *as they should be*. Thanks to the boot devices pre-initialization code that has
  run before the hardware detection, 'DetectBiosDisks' can just use the cached information.
- Now we correctly initialize the PC root HW system configuration key: we first create it, then, after the bios disks (floppies + HDDs) are enumerated
  we set the BIOS INT13h disk data to the system key's configuration data.

svn path=/trunk/; revision=73618
2017-01-29 02:35:28 +00:00
Thomas Faber 17990b28a2 [FREELDR]
- Correctly check for buffer overflow in DetectPnpBios. Patch by Serge Gautherie.
CORE-12623 #resolve

svn path=/trunk/; revision=73617
2017-01-29 00:00:22 +00:00
Hermès Bélusca-Maïto dde1f97a02 [FREELDR]: More local changes merging, part 2/x:
- Move the HW detection code specific to the PC architecture from hardware.c to machpc.c, keeping in hardware.c the code that is shared between PC and XBOX.
- Move what remained of i386disk.c into pcdisk.c (specific to PC architecture) + code formatting.
- Move what remained of xboxhw.c into machxbox.c (specific to XBOX architecture); we discover that some code related to disk management is actually shared with PC architecture (in hwdisk.c): hwdisk.c therefore contains disk-management routines common to both PC & XBOX.
- xboxdisk.c: Code formatting only.
- Cleanup in disk.c/disk.h

svn path=/trunk/; revision=73616
2017-01-28 23:47:35 +00:00
Mark Jansen 8c8c4f495c [EXPLORER] Re-save the start menu banner so that we can display it again (and touch the .rc so it will be used).
svn path=/trunk/; revision=73615
2017-01-28 23:05:04 +00:00
Giannis Adamopoulos 36f927df20 [SHELL32] - CDefView: When dragging an item it shouldn't interact with itself. So you can move a folder in itself. Highlight the item that we are dragging over if it can accept the item that is being dragged.
svn path=/trunk/; revision=73614
2017-01-28 21:43:53 +00:00
Thomas Faber 334e885321 [CMAKE]
- Add missing target-level dependency when passing a target to add_rostests_file

svn path=/trunk/; revision=73613
2017-01-28 21:41:12 +00:00
David Quintana 87b6094ea0 [EXPLORER]
* Recreated the start menu banner as a SVG file in Inkscape.
* Deleted old PSD (Photoshop) files.
* Replaced the explorer banner BMP with one exported by Inkscape from the SVG file.
The end result is slightly sharper text, but otherwise identical.

svn path=/trunk/; revision=73612
2017-01-28 21:11:39 +00:00