Commit graph

64736 commits

Author SHA1 Message Date
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
Timo Kreuzer 42a833ef22 [CRT_APITEST]
Add tests for _snprintf, _snwprintf, strtoul, wcstoul
Patch by Thomas Faber (slightly modified by me)
CORE-6510

svn path=/trunk/; revision=70455
2015-12-28 15:24:47 +00:00
Timo Kreuzer ec916c445e [SPEC2DEF]
Don't use DATA and PRIVATE together. DATA means no stub function is generated in the import lib, PRIVATE means nothing is generated in the export lib.

svn path=/trunk/; revision=70454
2015-12-28 14:42:41 +00:00
Timo Kreuzer 66908136d4 [CRT_APITEST]
- Disable a check for crtdll
- Fix an MSVC warning

svn path=/trunk/; revision=70453
2015-12-28 11:01:03 +00:00
Hermès Bélusca-Maïto 1d88ccffb2 [BOOTDATA]: ReactOS can install and run fine on volumes of at least 450 MB (for example, on a volume of 450 MB and after creation of the pagefile, it leaves you 60+ MB of free space, which should be enough for you if you're already happy using HDDs of such small sizes ^^).
svn path=/trunk/; revision=70451
2015-12-27 22:41:48 +00:00
Timo Kreuzer 68fce95f21 [CRT]
Fix a typo in a comment and make it clearer, what we do here.
CORE-10754 #resolve

svn path=/trunk/; revision=70450
2015-12-27 20:24:04 +00:00
Hermès Bélusca-Maïto 93d7931412 [VFATLIB]
Now, the fix: the FAT disk checker expected that the free cluster count member of the FAT32 FSInfo sector be really initialized (not to 0xFFFFFFFF), and it expected the presence of the backup of the FSInfo sector as well as the free sector following the FSInfo sector.

svn path=/trunk/; revision=70449
2015-12-27 20:01:24 +00:00
Hermès Bélusca-Maïto 8fa0b21364 Remove a forgotten DPRINT1.
svn path=/trunk/; revision=70448
2015-12-27 19:57:10 +00:00
Hermès Bélusca-Maïto d70ce4face [VFATLIB]
- DPRINT messages printed via VfatPrint by the check-disk procedure.
- Addendum to r70434 and r70435 : The return value of fs_close is equal to the number of corrections made on the disk (0 corrections --> success; 1+ --> something was corrected).
  That way, the old code "return fs_close(FixErrors) ? STATUS_SUCCESS : STATUS_UNSUCCESSFUL;" that we had since eons (which always happened to return STATUS_SUCCESS) was actually
  indicating to us that our FAT32-formatted volumes were corrupted.
  If you test this revision, you should see something happening if you try to install ReactOS now (something that should have happened since ages actually).

svn path=/trunk/; revision=70447
2015-12-27 19:55:47 +00:00
Hermès Bélusca-Maïto 5507695a9e [VFATLIB]
- Formatting + RtlZero/FillMemory modifications as addendum to r70445.
- Do not hardcode FSInfo signature values, use instead the same set of macros fastfat_new introduces.

svn path=/trunk/; revision=70446
2015-12-27 19:38:13 +00:00
Hermès Bélusca-Maïto c3c0206133 [VFATLIB]
- Formatting fixes.
- Use RtlZeroMemory/RtlFillMemory instead of memset.

svn path=/trunk/; revision=70445
2015-12-27 19:30:53 +00:00
Hermès Bélusca-Maïto d594928f07 [TASKMGR]: Use taskmgr's icon for its run file dialog. Inspired by Wine.
svn path=/trunk/; revision=70444
2015-12-27 19:06:16 +00:00
Timo Kreuzer 4479984cbe [CRT]
Fix handling of NULL buffer in streamout. Fixes a few msvcrt_crt_apitests, while it breaks a few for crtdll. crtdll is broken anyway and obsolete, nothing uses it, so it doesn't really matter.
CORE-9105 #resolve

svn path=/trunk/; revision=70443
2015-12-27 18:22:13 +00:00
Timo Kreuzer 97f52680ef [SETUPAPI]
Fix invalid use of wcslen with NULL pointer. Should fix crash in setupapi_winetest:install.

svn path=/trunk/; revision=70441
2015-12-27 17:55:14 +00:00
Eric Kohl 4b7f7b68f1 [MSGINA]
Improve msgina's text in ReactOS.
Patch by Henry Tang Ih.
CORE-10720 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=70437
2015-12-27 16:36:32 +00:00
Hermès Bélusca-Maïto 64973789c5 [USETUP]: Fix some localization problems.
svn path=/trunk/; revision=70436
2015-12-27 15:22:39 +00:00
Hermès Bélusca-Maïto 11df9cf067 Fix build.
svn path=/trunk/; revision=70435
2015-12-27 02:04:09 +00:00
Hermès Bélusca-Maïto ed1b816943 [VFATLIB]
It seems suspicious to directly return the value of fs_close as the NTSTATUS code of the check-disk operation (for FAT32 volumes it happens to return 1 whereas for FAT16 volumes it returns 0).
The documentation of this function says that it "returns a non-zero integer if the file system has been changed since the last fs_open, zero otherwise."
Maybe somebody has a more precise idea on that subject? In the meantime I also add some DPRINTs to attempt to diagnose the conditions where this problem occurs.

svn path=/trunk/; revision=70434
2015-12-27 02:01:52 +00:00
Hermès Bélusca-Maïto c266fd3fb0 [VFATLIB]
- Gather common code in one file instead of duplicating it everywhere.
- Implement full format for FAT12 and FAT16 (using the same function Fat1216WipeSectors), based on similar code for FAT32 implemented by Eric Kohl in revision 63693.

svn path=/trunk/; revision=70433
2015-12-27 00:57:51 +00:00
Hermès Bélusca-Maïto ccda8278da [BOOTSECTORS]
- fat.asm: remove trailing whitespace.
- fat32.asm: backport the fixes from fat32.S introduced a long time ago.
- fat32.S/faty.S: use .space 12, 0 instead of the long .byte array (generates the same code, but is better readable).
- isoboot/btrt: whitespace fix only.

svn path=/trunk/; revision=70432
2015-12-26 21:28:01 +00:00