Commit graph

64871 commits

Author SHA1 Message Date
Alex Ionescu e0df0d3663 [BOOTLIB]: ACPI support (RSDP, XSDT/RSDT and arbitrary table lookup + mapping)
[BOOTLIB]: Additional text and graphics console support. Among other things, we have now gained the ability to fill a buffer with a particular color.
[BOOTLIB]: OEM Bitmap (ACPI 5!) support.
[BOOTMGR]: Continue making a few more initialization calls now that bootlib supports more functionality.

svn path=/trunk/; revision=70539
2016-01-07 23:43:15 +00:00
Alex Ionescu 55ef8d7cd2 [ACPI.H]: Fix broken definition of RSDP_SIGNATURE
[ACPI.H]: Add BGRT_TABLE definition.

svn path=/trunk/; revision=70538
2016-01-07 23:25:49 +00:00
Pierre Schweitzer d31cc46a14 [ROSVBOXMGMT]
Update the registry configuration to reflect the recent changes to rosvboxmgmt.
Just uncomment the line matching the behavior you prefer.

CORE-10032
ROSAPPS-303

svn path=/trunk/; revision=70537
2016-01-07 22:44:33 +00:00
Pierre Schweitzer 5e903370dc [ROSVBOXMGMT]
Introduce another automagic thing. Instead of creating shortlinks once shared folders have been enumerated, just assign them a drive letter!
See it in action: https://twitter.com/HeisSpiter/status/685229912748371968

Choose the one you prefer for 0.4.0 :-)

CORE-10032
ROSAPPS-303

svn path=/trunk/; revision=70536
2016-01-07 22:43:00 +00:00
Hermès Bélusca-Maïto 63025d14ef [NTOS:PO]: Whitespace fixes only!
svn path=/trunk/; revision=70535
2016-01-07 20:00:05 +00:00
Pierre Schweitzer d5691eba70 [FDC]
Fix FdcPower() stub so that it doesn't leak IRP on shutdown
Dedicated to Thomas.

CORE-10117

svn path=/trunk/; revision=70531
2016-01-07 19:23:55 +00:00
Hermès Bélusca-Maïto 762e2a1af4 [SMSS]
- Reenable RTL_QUERY_REGISTRY_DELETE: the "PendingFileRenameOperations(2)" and "AllowProtectedRenames" registry values are deleted after being parsed: we don't retry at every reboot to remove/rename files that were already deleted/renamed.
- Remove superfluous parentheses.
- Warn a FIXME if SFC-protected file renames are allowed and we are processing file renames (the "protected file renames" stuff is unimplemented atm.)

svn path=/trunk/; revision=70530
2016-01-07 19:03:35 +00:00
Hermès Bélusca-Maïto ae0b31a24a [SMSS]
- Use CRT string functions to loop through multi-strings.
- Do not fail the full KnownDll setup if one dll fails to load. Instead, just properly skip the file (and related to that, fix a bug when skipping excluded known dll files).
- Page files should be created only when we are not in WinPE mode (aka. MiniNTBoot = FALSE).
- Formatting fix in smloop.c, no code change.

svn path=/trunk/; revision=70529
2016-01-07 16:57:05 +00:00
Hermès Bélusca-Maïto 8ec9b6100f [BOOTDATA]
- Add support for opening ICO, EMF, TIF and WMF files with the shell image viewer since it already implements what is needed (via gdiplus).
- Add some missing "Content Type" (MIME type) and "PerceivedType" values for the image extensions.

[SHIMGVW]
- Enable the resource strings for EMF, TIF and WMF files since we actually support them.

Should be merged for 0.4 branch.

svn path=/trunk/; revision=70528
2016-01-07 15:14:40 +00:00
Hermès Bélusca-Maïto b6c06cfb06 [SHELL32]: Nicely handle network drives in property dialog (and their icon). By Jared Smudde. To be synced for 0.4.0. CORE-10779
svn path=/trunk/; revision=70527
2016-01-07 14:04:07 +00:00
Hermès Bélusca-Maïto e28db0eef1 [USBEHCI]: Fix a wrong DPRINT string (caught by Thomas).
svn path=/trunk/; revision=70526
2016-01-07 13:44:20 +00:00
Hermès Bélusca-Maïto 4b3b08c1ca [BOOTDATA]: Fix encoding and broken french translation caused by r70375.
svn path=/trunk/; revision=70523
2016-01-07 13:31:46 +00:00
Aleksey Bragin d3d56d9cbc [LDR]
- Implement support for manifest prober routine in LdrpWalkImportDescriptor, in its simplest way
- Implement such routine in kernel32 (that's mostly a copy of Wine's create_module_activation_context which seems to nicely correspond to what Windows does).
- As create_module_activation_context is moved into kernel32, delete it from ntdll
- Improve debug output in RTL's Activation Context implementation to ease debugging
- Now, ReactOS indeed looks for and actually loads manifests when loading modules. Thanks to http://blog.tombowles.me.uk/2009/10/05/winsxs/ for a really good description of how activation contexts work
CORE-7313

svn path=/trunk/; revision=70522
2016-01-07 12:09:03 +00:00
Alex Ionescu b835d33a8c [BOOTLIB]: More debug print cleanups
[BOOTLIB]: Fix incorrect use of flag introduced a few revisions ago. This fixes <1MB RAM descriptors.
[BOOTLIB]: Enable BmFwMemoryInitialize, since it works now.
All (known) bugs are fixed, bootmgr is back on track.

svn path=/trunk/; revision=70516
2016-01-07 05:30:18 +00:00
Alex Ionescu 93d3cafa85 [BOOTLIB]: Cleanup some debug prints.
[BOOTLIB]: Fix two big device I/O bugs (it's a miracle it worked)
[BOOTLIB]: Use defined constants and comment some more device I/O code.

svn path=/trunk/; revision=70515
2016-01-07 05:14:26 +00:00
Alex Ionescu 69dbd65521 [BOOTLIB]: Add support for initializing the input console object.
[BOOTLIB]: Add a bunch more graphical console support functions.
[BOOTLIB]: Cleanup some older graphics-related code.
[BOOTLIB]: Support graphics re-initialization. We now correctly fallback to text mode since font loading is not implemented.

svn path=/trunk/; revision=70514
2016-01-07 04:28:13 +00:00
Hermès Bélusca-Maïto fc458c3371 [BOOTVID_FONGEN]
- Fix a comment;
- Less hardcoded values.

svn path=/trunk/; revision=70513
2016-01-07 01:23:51 +00:00
Hermès Bélusca-Maïto 4219c4eed0 [BOOTVID_FONT_GEN]
Improve the bootvid font generator of Colin (see r70507) in many ways:
- Allow the user to specify the font name (optional), and optionally a font size and x- and y-offset so that (s)he doesn't have to recompile the generator each time (s)he wants to test a new font.
- The default settings (in case the user doesn't specify all or part of the font definition) are those of Windows' bootvid font (i.e. "Lucida Console", font size 10, x_offset = y_offset = 0).
- Create only once the DC and the font handle (to be used for all the generated characters) instead of each time a character is being generated. I still keep the recreation of the HBITMAP for each character (I don't know if we can also improve there by creating it once and zeroing it out before generating each character).

svn path=/trunk/; revision=70512
2016-01-07 00:29:41 +00:00
Hermès Bélusca-Maïto 0f3e09ea77 [USB(E|O|U)HCI]: Handle failure cases of BuildTransferDescriptorChain. By contributor 'vgal'. This is needed for gracefully handling failure cases hit during diagnosing CORE-8046.
CORE-10776

svn path=/trunk/; revision=70511
2016-01-06 23:43:38 +00:00
Pierre Schweitzer b932a314ce [ROSVBOXMGMT]
Add a commented out way to automatically start `rosvboxmgmt auto' on start so that shortcuts for VBox shared folders are properly created.

This is to be enabled on 0.4.0.

CORE-10032
ROSAPPS-303 

svn path=/trunk/; revision=70510
2016-01-06 19:47:03 +00:00
Hermès Bélusca-Maïto f16214d4ed [BOOTVID]: CORE-10777 #comment Sync the Plan-9 font to ARM bootvid. Addendum to r70508.
svn path=/trunk/; revision=70509
2016-01-06 17:39:08 +00:00
Amine Khaldi 678997dfe9 [BOOTVID] Use plan 9 8x13 font from Markus Kuhn. Patch by Roy Tam. CORE-10777
svn path=/trunk/; revision=70508
2016-01-06 15:43:24 +00:00
Colin Finck 471c9fdae6 [BOOTVID]
Change the Blue Screen Font hardcoded into bootvid.dll to the Open Source "Anonymous Pro" font, which makes a nice 8x13 font.
Blue Screens now look like this: http://fs5.directupload.net/images/160106/ehv6245t.png

[BOOTVID_FONT_GENERATOR]
In case you find an even better font, you now have a nice little tool to test that font and generate the corresponding FontData array for bootvid.

svn path=/trunk/; revision=70507
2016-01-06 09:31:53 +00:00
Alex Ionescu 23c811435c [BOOTLIB]: Add very early work around font loading.
[BOOTLIB]: Add mostly full support for resource and locale management.
[BOOTLIB]: Stub out bootstat.dat (Boot Status Data Log) support.
[BOOTLIB]: Some refactoring.
[BOOTMGFW]: Add a message table with a few initial strings. Also add an empty bootmgr.xsl stylesheet. We'll have to see what we want/need to do here.
[BOOTMGFW]: Correctly loading HTML and message table resource data, and add a few other additional initialization calls.
Next steps are to re-visit graphics code to support re-initialization.

svn path=/trunk/; revision=70504
2016-01-06 04:43:23 +00:00
Colin Finck ab2853dee8 I think almost 10 years of participation suffice to get into this file :)
svn path=/trunk/; revision=70501
2016-01-06 02:19:53 +00:00
Pierre Schweitzer 9422fce209 [ROSVBOXMGMT]
Add a new feature to the tool:
Let it auto start VBox Shared folders and to browse all the available shares in order to create shell links on desktop.
The purpose is to workaround the missing network shares discovery feature in ReactOS while keeping the VBox shared folders usage 'user-friendly'.

It has been designed specifically for the coming 0.4.0 release: just put it on autostart for the default user. If there are shares (even new ones), it will create links, if there are no shares, no guest additions, no VBox, it will just exit.

See it in action: https://twitter.com/HeisSpiter/status/684506579555741696

CORE-10032
ROSAPPS-303

svn path=/trunk/; revision=70500
2016-01-05 22:56:20 +00:00
Pierre Schweitzer ce8cc10e12 [ROSVBOXMGMT]
When displaying active shares, also display their names

svn path=/trunk/; revision=70499
2016-01-05 21:42:54 +00:00
Hermès Bélusca-Maïto d407f4f1e3 [NTOS:MM]: Don't hardcode Mm tags since we have a #define
svn path=/trunk/; revision=70498
2016-01-05 19:53:07 +00:00
Hermès Bélusca-Maïto e869e42c26 [REACTOS]
Update the README files for 0.4.x releases.

svn path=/trunk/; revision=70497
2016-01-05 19:52:35 +00:00
Ged Murphy f8cbc3e48c [NTOSKRNL]
- Use the LockQueueIoDatabaseLock spinlock to guard the device list instead of blindly raising the IRQL
- Add missing lock to IopEditDeviceList

svn path=/trunk/; revision=70496
2016-01-05 18:58:32 +00:00
Ged Murphy e77e4e378c [FLTMGR]
- Fix a bug in FltpDetachFromFileSystemDevice so it correctly bails when we've walked the attached device list.
- FltpDispatch can come in at high IRQL. Thanks to Thomas for noticing that err.
- Add newlines to the end of DPRINTS (it's been a while...)
- The filter now loads and runs in the reactos FS stack.

svn path=/trunk/; revision=70495
2016-01-05 18:43:26 +00:00
Alex Ionescu d493b44e41 [DDK]: Add IMAGE_RESOURCE_DIRECTORY_ENTRY to NTIMAGE.H. I shudder to think how our current code currently parses resource directories without this.
svn path=/trunk/; revision=70494
2016-01-05 17:12:14 +00:00
Ged Murphy d3c70e5b56 [FLTMGR]
- Mark the Dispatch / FastIo functions as paged code
- Fix declarations and remove casts

svn path=/trunk/; revision=70493
2016-01-05 13:04:52 +00:00
Alex Ionescu 6e87f8eab7 [BOOTLIB]: Separate out bcd.c into bcdopt.c, bootreg.c and bcd.c
[BOOTLIB]: Implement routines to enumerate subkeys and to read a key value.
[BOOTLIB]: Implement routines to parse, enumerate, and convert registry data into BCD elements, and to convert BCD elements into boot library BCD options.
[BOOTLIB/BOOTMGFW]: Lots of cleanups, mainly around the fact we now use ntintsafe.h instead of the manually self-inlined code from before, and from documenting additional flag values, and from using our newfound BCD powers.
[BOOTMGFW]: Implement BmGetOptionList, BmpUpdateApplicationOptions.
[BOOTMGFW]: Prepare for post-BCD library reinitialization. We correctly read the 3 BCD options so far in the hive.

svn path=/trunk/; revision=70492
2016-01-05 06:09:22 +00:00
Alex Ionescu bdc681e191 [BOOTMGFW]: Implement the rtlcompat functions, so that Rtl string functions will actually work.
[HIVEBCD]: Start filling out a minimalistic BCD Hive layout to try out the BCD parsing/conversion code in my WC.

svn path=/trunk/; revision=70491
2016-01-05 05:12:01 +00:00
Alex Ionescu de4c83cfb9 [CMLIB]: Attempt fix for Linux hosts.
svn path=/trunk/; revision=70490
2016-01-05 01:55:40 +00:00
Alex Ionescu 9a4cbe2cbe [CMLIB]: Move Value functions to CMLIB as well, so that they can be shared with the new boot code.
svn path=/trunk/; revision=70489
2016-01-05 01:51:54 +00:00
Ged Murphy 3789427f96 [FLTMGR]
- Plug in the dispatch routines. These are just pass through methods for now to get the filter up and running.
- Implement the FastIo handlers. The majority of these call the FastIo routines of the attached device object.
- Make sure we detach from devices that are being deleted in FastIoDetachDevice.
- Move the FastIoDetachDevice routine to a deferred call as it's too expensive to tie up a FastIo request.

svn path=/trunk/; revision=70488
2016-01-04 12:50:06 +00:00
Timo Kreuzer 7c033fc64b [WIN32K]
This ASSERT was actually supposed to be removed and only accidentally brought back.

svn path=/trunk/; revision=70487
2016-01-03 19:58:33 +00:00
Timo Kreuzer 7ba08f4ebf [WIN32K]
Fix the fix from r70482: Our DIBs are actually 32 bit aligned, so pass even uncompressed bits to GreCreateBitmapEx instead of copying them later with wrong alignment.

svn path=/trunk/; revision=70486
2016-01-03 19:46:57 +00:00
Timo Kreuzer 4b6f43dcfa [WIN32K]
Disable broken code to update a device palette. Should fix testbot crashes.

svn path=/trunk/; revision=70485
2016-01-03 18:10:31 +00:00
Amine Khaldi 1221a05a4f [NTDLL] Fix a typo.
svn path=/trunk/; revision=70484
2016-01-03 16:27:06 +00:00
Alex Ionescu b8e0613a39 [NDK]: Document RtlPushFrame, RtlPopFrame, RtlGetFrame.
[NDK]: Add TEB_ACTIVE_FRAME_CONTEXT_FLAG_EXTENDED, TEB_ACTIVE_FRAME_EX, TEB_ACTIVE_FRAME_CONTEXT_EX from the CoreCLR sources (clrnt.h)
[RTL]: Implement RtlPushFrame, RtlPopFrame, RtlGetFrame.
[NTDLL]: Export the above.
[RTL]: Fix MSVC warning after someone's earlier WINE merge.

svn path=/trunk/; revision=70483
2016-01-03 16:23:38 +00:00
Timo Kreuzer de7d65388d [WIN32K]
NtGdiCreateDIBitmapInternal: clear CBM_INIT flag, if no bits are given.
IntSetDIBits: Always calculate the bitmap size for uncompressed bitmaps, do not pass uncompressed bits to GreCreateBitmapEx, since they don't have the required alignment (the width in bytes for DIB is 16 bit aligned, bitmaps 32).
Remove a broken ASSERT.

svn path=/trunk/; revision=70482
2016-01-03 16:16:04 +00:00
Eric Kohl 4636e8a727 Improve English strings in ReactOS.
Patch by Henry Tang Ih.
CORE-10729 #resolve #comment Committed in r70480. Thanks a lot!

svn path=/trunk/; revision=70480
2016-01-03 15:40:57 +00:00
Eric Kohl 3c5e5eaf1b [LSASRV]
Implement LsarStorePrivateData and LsarRetrievePrivateData.

[ADVAPI32]
Implement LsaRetrievePrivateData and LsaStorePrivateData.

Encryption of secrets (aka private data) is NOT implemented yet!

svn path=/trunk/; revision=70479
2016-01-03 09:22:14 +00:00
Eric Kohl 94a6bf4cf5 [ADVAPI32]
CreateProcessAsUserA/W: Make hToken optional.

svn path=/trunk/; revision=70478
2016-01-01 14:16:04 +00:00
Hermès Bélusca-Maïto 42fdef7ea4 Happy New Year 2016 !!
☆.¸¸.•´☆.¸¸.•´☆.¸¸.•´☆.¸¸.•´☆

⋱★⋰⋱☆⋰⋱★⋰⋱☆⋰⋱☆⋰⋱★⋰⋱☆⋰⋱★⋰
░░░░░░█░█ █▀█ █▀█ █▀█ █░█░░░░░░
░░░░░░█▀█ █▀█ █▀▀ █▀▀ ▀█▀░░░░░░
░░░░░░▀░▀ ▀░▀ ▀░░ ▀░░ ░▀░░░░░░░
█▄░█ █▀▀ █░█░█░░█░█ █▀▀ █▀█ █▀█
█░██ █▀▀ █░█░█░░▀█▀ █▀▀ █▀█ ██▀
▀░░▀ ▀▀▀ ░▀▀▀░░░░▀░ ▀▀▀ ▀░▀ ▀░▀
⋱☆⋰⋱★⋰⋱☆⋰⋱★⋰⋱★⋰⋱☆⋰⋱★⋰⋱☆⋰
░░░▄████▄░▄███▄░░▄██░▄████▄░░░
░░░▀▀░▄██░██░██░████░██▄▄▄░░░░
░░░░▄██▀░░██░██░░░██░██░░██░░░
░░░██████░▀███▀░░░██░▀████▀░░░

☆.¸¸.•´☆.¸¸.•´☆.¸¸.•´☆.¸¸.•´☆

svn path=/trunk/; revision=70477
2015-12-31 23:05:23 +00:00
Eric Kohl 0a71365a59 [INCLUDE]
Fix a typo! :-/

svn path=/trunk/; revision=70476
2015-12-31 22:42:20 +00:00
Eric Kohl 61f58e20ec [INCLUDE]
Does this fix MSVC builds?

svn path=/trunk/; revision=70475
2015-12-31 22:39:12 +00:00