Commit graph

64991 commits

Author SHA1 Message Date
Thomas Faber cab26c80f1 [LWIP]
- Don't use the already over-used LWIP_TAG for lookaside list allocations

svn path=/trunk/; revision=70696
2016-02-06 22:11: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
Eric Kohl ee1d2a2874 Used a better check for the root item of the treeview. The listview, status bar and address bar should only get wiped when the user selects the root item of the treeview.
CORE-10803 #comment Retest please!

svn path=/trunk/; revision=70691
2016-02-04 23:50:36 +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
James Tabor 201e5c881a [User32]
- Patch by Manuel : Explorer not draw (16 bits) icons. See CORE-10789.

svn path=/trunk/; revision=70685
2016-02-03 16:39:28 +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 7e33c2343e [i8042PRT]: Forgot this one, addendum to r70680.
svn path=/trunk/; revision=70681
2016-02-03 00:40:37 +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
Hermès Bélusca-Maïto 4d428f4551 [NTOS:INBV]
- Initialize global variables to known default values.
- When Inbv initializes the display, reset the video mode *ONLY* if we do not have a custom boot logo (because otherwise we want to see our custom boot logo!). This also fixes the video mode used by ReactOS when booting it using Windows ntldr!

svn path=/trunk/; revision=70678
2016-02-02 23:28:45 +00:00
Sylvain Petreolle ecc5e30ce6 MSVC: Properly define debug functions for release builds.
svn path=/trunk/; revision=70677
2016-02-02 20:51:50 +00:00
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