Commit graph

2341 commits

Author SHA1 Message Date
Daniel Reimer 4cc03bbf01 [BOOTDATA]
Fix autorun.inf on LiveCD and HybridCD linking to a non existent welcome.exe. HybridCD now links to the correct folder to welcome.exe and LiveCD just opens the readme.txt
https://www.reactos.org/forum/viewtopic.php?f=2&t=15406

svn path=/trunk/; revision=71342
2016-05-16 11:11:22 +00:00
Hermès Bélusca-Maïto 81ed2a4ade [BOOTLIB]: Fix EtfspGetDirentNameLength loops. By Victor Martinez Calvo.
CID 1341138
CORE-11178 #resolve

svn path=/trunk/; revision=71285
2016-05-08 14:28:06 +00:00
Eric Kohl c5cff1ce1b [SHELL32]
Improvements to the file type property page:
- Read the EditFlags value for each file type from the registry.
- Sort the file type list by extension and description.
- Do not add a file type to the list if the FTA_Exclude flag is set for the file type.
- Disable the delete button if the FTA_NoRemove flag is set fot the file type.
- Set the FTA_Exclude flag for the dllfiles, lnkfiles and piffiles file types.
- Set the FTA_NoRemove flag for the batfile, cmdfile, comfile and exefile file types.

svn path=/trunk/; revision=71275
2016-05-07 21:59:00 +00:00
Eric Kohl 003c39d73b [TRANSLATION]
Romanian resources maintenance.
Patch by Ștefan Fulea.
CORE-11111 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=71266
2016-05-06 14:30:53 +00:00
Christoph von Wittich 035804c150 [FREELDR] fix copypasta
CORE-11161

svn path=/trunk/; revision=71259
2016-05-04 08:28:44 +00:00
Amine Khaldi 08a0346e9f [SDK] One step further towards ReactOS source code tree restructure: the sdk folder that groups includes, libraries and tools. CORE-9111
svn path=/trunk/; revision=71184
2016-04-20 12:36:25 +00:00
Pierre Schweitzer 60f5fc07fc [FREELDR]
Cherrypick r71159

svn path=/trunk/; revision=71160
2016-04-14 20:42:12 +00:00
Thomas Faber 1a15d6a55c [BOOTLIB]
- Fix uninitialized variable in MmFwGetMemoryMap. Patch by Víctor Martínez Calvo. CID 1341421
CORE-11026 #resolve

svn path=/trunk/; revision=71106
2016-04-06 12:30:06 +00:00
Daniel Reimer 053ffccb8e [CAROOTS]
Updated SSL certs to up to date Mozilla DB. Done with swyter's great script from ROSBE-61

svn path=/trunk/; revision=71075
2016-03-28 23:15:30 +00:00
Pierre Schweitzer 49cf2b67df [FREELDR]
Cherrypick r71053

svn path=/trunk/; revision=71054
2016-03-26 13:19:09 +00:00
Amine Khaldi 72fc8c1283 [HIVESFT] Fix Santiago timezone in ReactOS time settings. By Peter Hater. CORE-10231
svn path=/trunk/; revision=71042
2016-03-24 18:18:30 +00:00
Pierre Schweitzer d0b46d4b4f [BTRFS]
Add the driver to the registry and to the CDs (out of cab)
Feel free to enjoy btrfs in ReactOS :-)

CORE-10892

svn path=/trunk/; revision=71038
2016-03-23 20:37:55 +00:00
Pierre Schweitzer 6c63754861 [BOOTLIB]
Fix some invalid sizeof() usage

svn path=/trunk/; revision=70996
2016-03-12 17:01:39 +00:00
Amine Khaldi 6184b009f9 [TRANSLATIONS] Spanish translation update and general localization improvements by Ismael Ferreras Morezuelas. CORE-10685
svn path=/trunk/; revision=70786
2016-02-25 11:03:21 +00:00
Eric Kohl 8d665c9085 [VARIOUS]
Romanian resources maintenance
Patch by Ștefan Fulea.
CORE-10811 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=70761
2016-02-20 21:14:13 +00:00
Hermès Bélusca-Maïto 6caeaebbdc [CLIPBRD]
- Update the name of the application.
[SHORTCUTS]
- Add a clipboard viewer shortcut into the start menu (for boot and live-cd).
CORE-10853

Translators, please review!

svn path=/trunk/; revision=70737
2016-02-13 23:54:42 +00:00
Hermès Bélusca-Maïto c3c8cf879c [CLIPBRD]
- Add clipboard file icon by Jared Smudde.
- Open any clipboard data file given in the command line.

[BOOTDATA]
- Add registry entries for file extension .clp.

CORE-10853 #resolve #comment Support added in revision 70736.

svn path=/trunk/; revision=70736
2016-02-13 23:16:19 +00:00
Hermès Bélusca-Maïto 0455477600 [FREELDR]: Continue removing code not related to freeldr entry-point from entry.S, and adopt source file names for i386 architecture similar to those of amd64.
svn path=/trunk/; revision=70709
2016-02-11 22:33:03 +00:00
Hermès Bélusca-Maïto 9a5b681194 [FREELDR]
- Whitespace fixes only in the disk code.
- Fix the name of the EXT2 FS driver.
- Move I/O initialization after Mm init so that we can properly read disk data into the correct buffers if needed (and I will need that).

svn path=/trunk/; revision=70695
2016-02-05 23:47:35 +00:00
Hermès Bélusca-Maïto 1d42ae7dce Order of definitions is still important!
svn path=/trunk/; revision=70694
2016-02-05 21:15:25 +00:00
Hermès Bélusca-Maïto 7a8e098eb7 [FREELDR]: Add source file header to scsiport.c; move structure definitions together.
svn path=/trunk/; revision=70693
2016-02-05 21:12:53 +00:00
Hermès Bélusca-Maïto c62cd02730 [FREELDR]
Start splitting FreeLdr in the same spirit as our new UEFI boot manager/loader: split into a boot library, the boot manager code, and the NT loader.
- The boot library provides the basic support (read INI/INF files, memory management, debugging, ARC compatibility/emulation, ...).
- The boot manager code is FreeLdr proper.
- The NT loader is used for loading Windows or ReactOS. Because of that fact I rename its directory "windows" into "NTLDR" to underline the fact it can load NT-type OSes (more exactly version 5.x), to which both Windows 2k/XP/2k3 and ReactOS belong. The APIs will certainly be renamed "NtLdrXXX" instead of "WinLdrXXX".
- The general PE loader is put into the boot library since it is needed also by FreeLdr proper to be able to load SCSI drivers (on x86/64/... architectures; on ARC systems SCSI support is automatically provided).

svn path=/trunk/; revision=70692
2016-02-05 00:17:33 +00:00
Hermès Bélusca-Maïto 10bff42ab6 Remove redundant extra terminating ';' in all of our C code.
svn path=/trunk/; revision=70690
2016-02-04 20:42:07 +00:00
Hermès Bélusca-Maïto 02e447d135 [CODE]: s/interupt/interrupt/
svn path=/trunk/; revision=70689
2016-02-04 20:27:44 +00:00
Hermès Bélusca-Maïto 8bc34bbe18 [FREELDR]: Export RtlAssert.
svn path=/trunk/; revision=70688
2016-02-03 22:56:17 +00:00
Hermès Bélusca-Maïto bc01b35fdf [FREELDR]
- The PE code can be built as an executable, it works as expected and nothing changes (the size of the generated code doesn't change).
- Export the Scsi functions also on x86 MSVC builds. Because of that, increase the number of expected PE sections in the FreeLdr image check function. Note that x64 MSVC build do not have the Scsi code ready yet, hence it doesn't export the corresponding functions.
- The spec2def command should have the name of the generated PE file.
- Remove one hardcoded value.

During my investigations I noticed that using a section alignment of 0x400 for freeldr MSVC builds (instead of the default 0x1000) made the MSVC builds *bigger*. Furthermore, using the default alignment of 0x1000 makes the freeldr MSVC builds unbootable. I don't understand why. Maybe a freeldr guru knows that?

svn path=/trunk/; revision=70687
2016-02-03 22:18:05 +00:00
Hermès Bélusca-Maïto 3f9bbc9a01 [BOOTMGR]
- Make BmMain stdcall as it's an entry point, the same way as ROSLOAD's OslMain.
[ROSLOAD]
- Fix a comment.
- Fix compilation on x64 and on GCC by specifying the entrypoint stack, exactly as what we do for KiSystemStartup in the kernel.

svn path=/trunk/; revision=70686
2016-02-03 19:12:34 +00:00
Hermès Bélusca-Maïto a346165f3c [FREELDR]: Move the (private) HAL Pci bus initialization calls to where they are needed: for SCSI initialization (see r46017).
svn path=/trunk/; revision=70684
2016-02-03 16:30:39 +00:00
Hermès Bélusca-Maïto 076441f3ce [FREELDR]
- Move the NTOS loader files that were scattered in many places into their own directory (now all that stuff is inside freeldr/windows).
- Split arch/arm/winldr.c into the real winldr code (going into freeldr/windows) and entry point code (going into arch/arm/entry.c).

svn path=/trunk/; revision=70683
2016-02-03 15:20:37 +00:00
Hermès Bélusca-Maïto 9f8022a2b3 [FREELDR]
- Move some code where it should better belong to.
- Add few source code file headers.
- Add missing partition IDs.

svn path=/trunk/; revision=70682
2016-02-03 14:07:18 +00:00
Hermès Bélusca-Maïto 9cc0aedad7 [FREELDR][STREAM][NTOS]
Replace old bugzilla report IDs to their JIRA counterparts.

[LIBUSB]
The third parameter of IoRegisterDeviceInterface is a pointer (optional). Use NULL instead of 0.

svn path=/trunk/; revision=70680
2016-02-03 00:37:23 +00:00
Hermès Bélusca-Maïto fe52797f20 [FREELDR]: Remove deprecated code.
svn path=/trunk/; revision=70679
2016-02-03 00:04:05 +00:00
Pierre Schweitzer db453b5b54 [BOOTDATA]
Drop last references to rosvboxmgmt!

CORE-10032
ROSAPPS-303

svn path=/trunk/; revision=70673
2016-02-01 22:18:47 +00:00
Hermès Bélusca-Maïto 4dd9a543a3 [BOOTDATA]: Normally, in the hybridcd, the livecd stuff should go into its own subdirectory.
svn path=/trunk/; revision=70655
2016-01-29 01:18:53 +00:00
Alex Ionescu a68573d0c5 [BOOTLIB]: Fuck you binutils.
svn path=/trunk/; revision=70636
2016-01-21 17:08:33 +00:00
Alex Ionescu 445a748bf8 [RTL/NDK]: For some strange reason, we were missing LdrRelocateImage. Also we had the right type for LdrRelocateImageWithBias, but not the former. Fix that.
[BOOTLIB]: Finish the rest of the image loader. However, relocations appear to fail.

svn path=/trunk/; revision=70634
2016-01-21 16:16:12 +00:00
Alex Ionescu 55b6c66d7a [BOOTLIB]: Cleanup, less magic.
svn path=/trunk/; revision=70633
2016-01-21 15:47:14 +00:00
Alex Ionescu 953f5a4f99 [BOOTLIB]: Implement checksum calculation for PE header sum.
[BOOTLIB]: Implement most of ImgpLoadPEImage. The checksum of the mapped image file matches the checksum in the flat PE file, meaning our load loop works as designed.
Next step are relocations and we'll be done.

svn path=/trunk/; revision=70632
2016-01-21 05:16:40 +00:00
Alex Ionescu d59c799233 [ROSLOAD]: SUBSYSTEM_WINDOWS_BOOT_APPLICATION is 16, not 14.
svn path=/trunk/; revision=70630
2016-01-20 17:00:51 +00:00
Alex Ionescu 53c32a9428 [BOOTLIB]: Begin PE loader. Works so far. Next up is loading the sections, zeroing out the .bss, and computing checksum.
svn path=/trunk/; revision=70629
2016-01-20 17:00:18 +00:00
Alex Ionescu e7cbf6ea1b [ROSLOAD]: Create directory and build rules. rosload.efi is now dropped in system32\boot just like on the Windows Setup DVD. BlImgLoadBootApplication is able to find it.
[BOOTMGR/BOOTLIB]: Fix factorings that were incorrect but not noticed when bootmgr was the only bootlib user. Now with rosload in the picture, they became obvious.
[EFISYS]: BCD should not be on the EFISYS.BIN, only on the boot volume, just like a Windows DVD.

svn path=/trunk/; revision=70626
2016-01-20 06:59:12 +00:00
Alex Ionescu 5126de14b6 [HIVEBCD/BOOTMGR]: Prep work
svn path=/trunk/; revision=70625
2016-01-20 03:53:59 +00:00
Alex Ionescu 5a21e5a50e [BOOTLIB]: Cleanups and small fixes.
svn path=/trunk/; revision=70624
2016-01-20 03:43:56 +00:00
Alex Ionescu 00d85d909c [BOOTMGR]: Cleanup, less magic, one bug fix.
svn path=/trunk/; revision=70623
2016-01-20 02:58:39 +00:00
Alex Ionescu c68737148c [BOOTLIB]: Fix build
svn path=/trunk/; revision=70622
2016-01-20 01:29:59 +00:00
Alex Ionescu adeb70e21e [BOOTLIB]: Rough sketches of BlImgLoadBootApplication, BlImgStartBootApplication, BlImgUnLoadBootApplication.
svn path=/trunk/; revision=70621
2016-01-20 01:28:50 +00:00
Alex Ionescu 68e9874f36 [BOOTMGR]: Support for launching a recovery sequence.
[BOOTMGR]: Stub support for boot errors.
[BOOTMGR]: Stubplement support for device creation for boot applications (only for fully specified devices)
[BOOTMGR]: Implement support for execution transfer, including recovery mode/sequence.
[BOOTMGR]: Implement support for launching a boot entry.
[BOOTLIB]: Support for EFI Firmware device enumeration, driver attachment, and comparison.
[BOOTLIB]: Support for appending BOOLEAN or INTEGER BCD options.
Next step is the PE loader.

svn path=/trunk/; revision=70618
2016-01-19 18:21:54 +00:00
Alex Ionescu ac25cdec6c [BOOTMGR]: Implement support for getting the default boot entry, the current boot menu policy, and finish implementation of getting the selected boot entry.
[BOOTMGR]: Stubplement support for catching keystrokes right before boot (such as F8, F10). No key input is actually read.
Boot Manager now attempts to load the winload entry as part of BmpLaunchBootEntry.

svn path=/trunk/; revision=70615
2016-01-18 18:16:49 +00:00
Alex Ionescu 12f04d8cb1 [HIVEBCD]: Fix wrong element type for application device element.
[BOOTMGR]: Implement boot sequence population. We correctly detect our winload.efi entry in the BCD hive.
[BOOTMGR]: Document more application entry flags.
[BOOTLIB]: Document and implement BCD object description parsing. Based off BCD Reference Guide / Geoff Chappel's website.
[BOOTLIB]: Add support for appending a boot option to an entry.

svn path=/trunk/; revision=70614
2016-01-18 16:54:44 +00:00
Alex Ionescu f3c6cefe6f [BOOTMGFW]: Implement BmEnumerateBootEntries.
[BOOTLIB]: Implement BlGetOptionGuid. All BCD option APIs should now be implemented.
[BOOTLIB]: Fix memory corruption + out-of-bounds bugs in BlAppendBootOptions, which made the BCD options remain empty.

svn path=/trunk/; revision=70611
2016-01-18 05:26:10 +00:00