Commit graph

64871 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto 81e1b30067 [USETUP]: Enlarge some string buffers that hold localized printf-formatted strings.
svn path=/trunk/; revision=70676
2016-02-02 02:23:56 +00:00
Hermès Bélusca-Maïto f2f176a202 [USETUP]
- Use defines instead of hardcoded values for partition type IDs.
- Add some support for installing ReactOS on EXT2 partitions.
- Add few code that will be needed when we support NTFS installation.
- Refactor InstallFatBootcodeToPartition and its auxiliary functions. CORE-4870

svn path=/trunk/; revision=70675
2016-02-02 01:55:05 +00:00
Hermès Bélusca-Maïto f9e7ff40dc [CMLIB]: Demote the DPRINT1 saying that we leak the security block descriptor to a DPRINT. People (Alex & me) working on cmlib already know this. "Fixes" timeout problems of the testbots due to spamming this dprint.
svn path=/trunk/; revision=70674
2016-02-01 23:10:38 +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
Pierre Schweitzer 629f718914 [ROSVBOXMGMT]
Drop rosvboxmgmt hack.
Thanks, you served us well. But r70670 killed you. Too bad!

CORE-10032
ROSAPPS-303

svn path=/trunk/; revision=70672
2016-02-01 22:17:43 +00:00
Pierre Schweitzer 886fc1b808 [SHELL32]
Time to (re)act!
Step 2/2: continue Giannis' UNC hack in Shell32:
- Implement the ILCreateFromNetworkPlaceW() helper, which is just Giannis' code to allow creating a hacky PIDL for enumeration.
- Implement the CNetFolderEnum class, which allows enumerating network places. So far, it's pretty basic (no tree structure) but, it does its job. It would be to improve
- Implement the CNetFolder::EnumObjects() function.

This commit, in itself, more or less obsoletes hackssign application. Indeed, now, you just need to go to your network places, to be able to browse your network shares (like VMware or VBox shares) provided you installed the VMware/VBox additions in your VM.
However, hackssign will remains in rosapps for now: we don't have any other way to assign a drive letter to a network place so far, and VMware doesn't provide such feature.
Furthermore, this is a big hack. And until we have a correct implementation, we can keep another hack along ;-).

Feel free to decently enjoy your network shares in ReactOS :-).

CORE-10032
ROSAPPS-303

svn path=/trunk/; revision=70671
2016-02-01 22:07:55 +00:00
Pierre Schweitzer ef3e0ddadc [MPR]
Time to (re)act!
Step 1/2:
- Implement WNetUseConnectionA() as a simple forwarder to WNetUseConnectionW().
This function should make it somehow, somewhen to Wine. Feel free to help the process by lighting cierges.
- Halplement WNetUseConnectionW() to match a really specific case: it can handle requests from VBoxTray and pass them properly to VBox NP.
In its current state, this function isn't to be shared with Wine.
Other calls (specifically without local path, nor network provider) aren't handled and will lead to an error.

But, in itself, this commit obsoletes rosvboxmgmt by making ReactOS able to autostart (on VBoxTray demand :-)) the VBox shared folders.
Furthermore, if you ask for a drive letter to be assigned to your shared folder, it will happen!

Now, in order to use VBox shared folders, just configure VBox to assign them a drive letter, install ReactOS, install VBox Guest Additions... Profit!

CORE-10032
ROSAPPS-303

svn path=/trunk/; revision=70670
2016-02-01 21:59:47 +00:00
Sylvain Petreolle cebd126f81 [OPENGL]
Free the variable arguments in vsnprintf implementation.
Patch by Victor Martinez.
CORE-10629

svn path=/trunk/; revision=70669
2016-01-31 19:14:24 +00:00
Sylvain Petreolle e0ac8691be cmlib: Fix debug string becoming too big for testbot (doesn't fix successful-but-canceled ntdll:NtDeleteKey)
Alex, do we have an actual free-security-descriptor function ?

svn path=/trunk/; revision=70668
2016-01-31 17:42:05 +00:00
Sylvain Petreolle fb390d657c [TASKMGR]
Remove hacks for idle time.

svn path=/trunk/; revision=70663
2016-01-30 17:18:08 +00:00
Sylvain Petreolle 2076f09a0c [TASKMGR]
protect some variables with the critical section
Patch by Mark Jansen.
CORE-10787

svn path=/trunk/; revision=70662
2016-01-30 17:01:04 +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
Hermès Bélusca-Maïto 32c29291cd [VERSION]: Improve versioning based on r70641.
svn path=/trunk/; revision=70651
2016-01-29 00:07:08 +00:00
Aleksey Bragin f6cd52a04f [LDR]
- Fix a typo in kernel32's manifest prober routine
- Don't RtlGetActiveActivationContext if it's already existing
- Improve actctx and ldr debug prints
- This fixes numerous LDR bugs, such as the famous bug with MSVCR90 CORE-7313, .NET installation issues CORE-7489 and, hopefully, many other. Thank you very much for putting your trust in me!

svn path=/trunk/; revision=70646
2016-01-27 15:02:28 +00:00
Pierre Schweitzer 1d3fa0bb12 [MPR]
Import Wine commit:
- 80eb2fa08eb21ba9504438493fa66097ed03faf5, Add support for REG_EXPAND_SZ for providers path.

This fixes VMware network provider (vmhgfs.dll) not being able to be loaded in ReactOS.

CORE-10032

svn path=/trunk/; revision=70645
2016-01-26 18:09:47 +00:00
Daniel Reimer 259b98442e [REACTOS]
Finish German translation, fix some coordinates and sync these fixes to all other languages. Fix a typo.

svn path=/trunk/; revision=70644
2016-01-26 01:45:29 +00:00
Eric Kohl 952474b7f9 [REACTOS]
- Remove the code that hides the system menu and the cancel button. Users should be able to cancel the installation process.
- Add code to reboot ReactOS after completing or cancelling the wizard. It is disabled for now.
- Remove the groupbox on the device page.
- Resize / realign the controls on the drive page.
- Replace the listbox on the drive page by a list view.

svn path=/trunk/; revision=70643
2016-01-25 22:39:26 +00:00
Amine Khaldi 2de93288c0 [VERSION] Improve the way we define ReactOS version, to allow us to mark it as SVN or as a release, and for the latter, allow us to mark it as a candidate or as the final one.
svn path=/trunk/; revision=70641
2016-01-25 18:37:20 +00:00
Amine Khaldi c8bc427d74 [I8042PRT] Apply a workaround for Dell Latitude D630. By Thomas Faber. CORE-10797
svn path=/trunk/; revision=70639
2016-01-25 18:08:06 +00:00
Eric Kohl ac19c5f29c [REACTOS]
- Fix height of the inner wizard pages.
- Do not show the header for the finish page.
- Remove the language selection page and the ReactOS logo because they have been moved to userinit.
- Start removing groupbox controls from the wizard pages. They just occupy a lot of space.
- Resize / realign the install type page and add some descriptive text to all languages.
- Allocate setup data from the heap and pass the setup data pointer to each wizard page.
- Move the drive wizard page (DriveDlgProc) to a separate file.
- Move the common declarations to a new header file.

svn path=/trunk/; revision=70638
2016-01-23 23:20:32 +00:00
Aleksey Bragin 7b1920c911 [NTOSKRNL]
- Fix a typo.

svn path=/trunk/; revision=70637
2016-01-22 09:23:21 +00:00
Alex Ionescu a68573d0c5 [BOOTLIB]: Fuck you binutils.
svn path=/trunk/; revision=70636
2016-01-21 17:08:33 +00:00
Amine Khaldi 125060988e [RTL] Revert some accidental formatting changes in r70634. NFC.
svn path=/trunk/; revision=70635
2016-01-21 16:52:31 +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 d5f06366a8 [DDK]: SVN isn't GIT alex. It's not smart enough to commit the entire tree, only the place where you right-clicked.
svn path=/trunk/; revision=70631
2016-01-20 17:01:53 +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
Amine Khaldi 26f25f68f5 [USETUP] Add missing Italian STRING_EXTENDED_PARTITION string. CORE-10809
svn path=/trunk/; revision=70627
2016-01-20 15:20:59 +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
Pierre Schweitzer e7f66b6dad [MPR]
Import Wine commits:
- 39ec97ea9dcba270bbea31a7eaa7b842bf1beb1f, Implement WNetAddConnectionA(), WNetAddConnection2A(), WNetAddConnection3A().
- 092c60e98cec9956127145f7c8a5db88082ce7d2, Implement WNetAddConnectionW(), WNetAddConnection2W(), WNetAddConnection3W().

CORE-10032
ROSAPPS-303

svn path=/trunk/; revision=70619
2016-01-19 18:39:18 +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
Amine Khaldi de0a6b1666 [TRANSLATIONS] Turkish translation update by Erdem Ersoy. CORE-10805
svn path=/trunk/; revision=70616
2016-01-18 19:20:44 +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
Alex Ionescu 51f9487ff7 [HIVEBCD]: Implement an entire wholeseome BCD boot hive, including multiple levels of inheritance (globalsettings, dbgsettings, emssettings, bootloadersettings), plus entries for {memdiag}, {bootmgr} and {winload}.
[BOOTLIB]: Fix a bug in BCD parsing which was causing massive heap corruption. Became evident with the increased complexity of the new BCD hive.

svn path=/trunk/; revision=70610
2016-01-18 04:18:12 +00:00
Alex Ionescu ba3178b813 [CMLIB/NTOSKRNL]: Move key deletion functions to cmlib, so that UEFI boot library can use them.
[BOOTLIB]: Implement BCD element deletion (bootreg: implement key deletion)
[BOOTMGR]: Implement BL_FATAL_ERROR_BCD_ENTRIES fatal error.
[BOOTMGR]: Stubplement support for memory list data parsing (when memtest.efi will run), and stubplement support for boot persistent data blobs.
[BOOTMGR]: Stubplement boot sequence support, create stub for boot entry population.
[BOOTMGR]: Stubplement boot entry selection, create stub for boot entry enumeration.
Mostly factoring-level changes to get us closer to the needed code paths.

svn path=/trunk/; revision=70609
2016-01-17 21:48:00 +00:00
Eric Kohl f91d835c5a [USERINIT]
Add missing newline for MSVC.

svn path=/trunk/; revision=70608
2016-01-17 19:37:18 +00:00
Eric Kohl 8c9a41db96 [USERINIT]
Add two dialogs that are shown when the LiveCD is booted. The first dialog is used to select the language and keyboard layout. The second dialog is used to either start the shell or the GUI installer. Language and keyboard layout selection are still work in progress.

svn path=/trunk/; revision=70607
2016-01-17 19:20:47 +00:00
Sylvain Petreolle 9511b56f3c [FLOPPY]
Check for controller configuration status.
CORE-10761 #comment Please retest.

svn path=/trunk/; revision=70606
2016-01-17 16:59:55 +00:00
Hermès Bélusca-Maïto 8c2454ea74 [CMLIB]
- Now that both FreeLdr and MKHIVE use the regular (aka. the "NT-style public") CMLIB functions, get rid of the "old-style public" cmlib functions, with the exception of CmCreateRootNode and CmPrepareHive which remain for now due to a slight different implementation difference between NT and ours. Remove the cmtools.c file containing those old functions.
- Remove the now-deprecated VALUE_LIST_CELL structure (which was an old version of CELL_DATA:KeyList).
- When freeing hive bins (in HvpFreeHiveBins), use the storage number count stored in the hive instead of a constant value.
- Flat hives have only one storage type (they are read-only and reside only in memory).
CORE-10802
CORE-10793

svn path=/trunk/; revision=70605
2016-01-17 02:12:37 +00:00
Hermès Bélusca-Maïto 17c6bfd956 [FREELDR]
Make FreeLdr fully using the CMLIB library. CORE-10802 #resolve
CORE-10793

svn path=/trunk/; revision=70604
2016-01-17 01:42:11 +00:00
Hermès Bélusca-Maïto 660ad50bae [MKHIVE]
- Fix two warnings in GCC Linux build (in KeBugCheckEx and in a call to the helper function RepGetValueData).
- Remove two unused RTL ANSI functions.
- Fix USHORT vs. ULONG type misuage.
- Fix SIZE_T vs. ULONG usage.

svn path=/trunk/; revision=70603
2016-01-17 01:29:43 +00:00