Commit graph

64755 commits

Author SHA1 Message Date
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
Eric Kohl 93c88d5c67 [SYSETUP]
- Implement pSetupDebugPrint and modify the LogItem macro accordingly.
- Add some log messages to the setup wizard.

svn path=/trunk/; revision=70474
2015-12-31 22:17:45 +00:00
Eric Kohl fa4dd77466 [SYSSETUP]
Remove the NtUnloadKey hack.

svn path=/trunk/; revision=70473
2015-12-31 16:39:01 +00:00
Thomas Faber e6491c8051 [ACPICA]
- Update to version 20151218
CORE-10765

svn path=/trunk/; revision=70472
2015-12-31 14:25:35 +00:00
Eric Kohl 7655453180 [SOLITAIRE]
solitaire: no action upon doubleclick
Patch by Carlo Bramini.
CORE-6514 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=70470
2015-12-31 12:58:18 +00:00
Hermès Bélusca-Maïto c91100685b [USETUP]: Correctly check for existing "ReactOS" entries in FreeLdr in case ReactOS is reinstalled over an existing installation, and if no one does exist, then create a new one that actually works. Thanks tower for having reported the problem 8^)
svn path=/trunk/; revision=70469
2015-12-30 20:23:18 +00:00
Hermès Bélusca-Maïto ef915b1472 [USETUP]: Formatting fix & remove a redundant function.
svn path=/trunk/; revision=70468
2015-12-30 18:52:07 +00:00
Hermès Bélusca-Maïto c7272cefad [USETUP]
Factorize the code that creates ReactOS freeldr.ini entries, and use it to create a freeldr.ini at a clean ReactOS installation, and when it is installed in the same partition as Win9x/DOS.
CORE-4870 #comment Should be fixed with revision 70467, please retest.

svn path=/trunk/; revision=70467
2015-12-30 18:26:42 +00:00
Timo Kreuzer 89cb03b072 [WIN32K]
Properly check the bitmap size in IntSetDIBits, taking into account that it might be set to 0, then we have to calculate it ourselves. Fixes a crash when invalid data is passed to NtGdiCreateDIBitmapInternal.
[GDI32]
Convert COREINFOHEADER to BITMAPINFOHEADER before passing it to NtGdiCreateDIBitmapInternal, which doesn't support it.
CORE-10583 #resolve

svn path=/trunk/; revision=70464
2015-12-29 20:28:23 +00:00
Timo Kreuzer 64820cf82f [WIN32KDLL_2K3SP2]
Export NtUserGetClassInfoEx (as it's called in 2k3) both as NtUserGetClassInfo (as it's called on XP) and NtUserGetClassInfo. They have the same prototype.

svn path=/trunk/; revision=70463
2015-12-28 23:51:05 +00:00
Timo Kreuzer 0c24f4ecd6 [WIN32KDLL_2K3SP2]
- "Fix" an export name: NtUserGetClassInfoEx on 2k3 is the same as NtUserGetClassInfo on XP (note that we currently use the default, aka ros specific, win32kdll on the WHS testbot, but it's mostly identical.

[WIN32KNT_APITEST]
- Fix a typo
- add missing tests to testlist.c

svn path=/trunk/; revision=70462
2015-12-28 23:03:04 +00:00
Timo Kreuzer 7e81805878 [GDITOOLS]
3rd try to fix WHS rostests build

svn path=/trunk/; revision=70461
2015-12-28 20:53:34 +00:00
Timo Kreuzer 25b8fe488d [WIN32NT_APITEST]
2nd try to fix WHS rostests build

svn path=/trunk/; revision=70460
2015-12-28 20:51:28 +00:00
Timo Kreuzer 96071c690b [WIN32NT_APITEST]
Try to fix WHS rostests build

svn path=/trunk/; revision=70459
2015-12-28 20:46:05 +00:00
Timo Kreuzer 7ad21a4425 [APOTESTS]
- Convert win32k native api test to actual wine style api-tests
- Hack around a bit with the win32k dlls, some renaming, etc.
- Delete old apitest stuff

svn path=/trunk/; revision=70458
2015-12-28 20:31:10 +00:00
Timo Kreuzer 3ef0e98b4b [GDITOOLS]
Add a library with some helper routines for GDI tests

svn path=/trunk/; revision=70457
2015-12-28 20:24:57 +00:00
Timo Kreuzer c88949294c [CRT_APITEST]
Fix sprintf tests to succeed on W2K3

svn path=/trunk/; revision=70456
2015-12-28 15:49:29 +00:00