reactos.git
8 years ago[NTDLL] Fix a typo.
Amine Khaldi [Sun, 3 Jan 2016 16:27:06 +0000 (16:27 +0000)]
[NTDLL] Fix a typo.

svn path=/trunk/; revision=70484

8 years ago[NDK]: Document RtlPushFrame, RtlPopFrame, RtlGetFrame.
Alex Ionescu [Sun, 3 Jan 2016 16:23:38 +0000 (16:23 +0000)]
[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

8 years ago[WIN32K]
Timo Kreuzer [Sun, 3 Jan 2016 16:16:04 +0000 (16:16 +0000)]
[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

8 years agoImprove English strings in ReactOS.
Eric Kohl [Sun, 3 Jan 2016 15:40:57 +0000 (15:40 +0000)]
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

8 years ago[LSASRV]
Eric Kohl [Sun, 3 Jan 2016 09:22:14 +0000 (09:22 +0000)]
[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

8 years ago[ADVAPI32]
Eric Kohl [Fri, 1 Jan 2016 14:16:04 +0000 (14:16 +0000)]
[ADVAPI32]
CreateProcessAsUserA/W: Make hToken optional.

svn path=/trunk/; revision=70478

8 years agoHappy New Year 2016 !!
Hermès Bélusca-Maïto [Thu, 31 Dec 2015 23:05:23 +0000 (23:05 +0000)]
Happy New Year 2016 !!

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

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

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

svn path=/trunk/; revision=70477

8 years ago[INCLUDE]
Eric Kohl [Thu, 31 Dec 2015 22:42:20 +0000 (22:42 +0000)]
[INCLUDE]
Fix a typo! :-/

svn path=/trunk/; revision=70476

8 years ago[INCLUDE]
Eric Kohl [Thu, 31 Dec 2015 22:39:12 +0000 (22:39 +0000)]
[INCLUDE]
Does this fix MSVC builds?

svn path=/trunk/; revision=70475

8 years ago[SYSETUP]
Eric Kohl [Thu, 31 Dec 2015 22:17:45 +0000 (22:17 +0000)]
[SYSETUP]
- Implement pSetupDebugPrint and modify the LogItem macro accordingly.
- Add some log messages to the setup wizard.

svn path=/trunk/; revision=70474

8 years ago[SYSSETUP]
Eric Kohl [Thu, 31 Dec 2015 16:39:01 +0000 (16:39 +0000)]
[SYSSETUP]
Remove the NtUnloadKey hack.

svn path=/trunk/; revision=70473

8 years ago[ACPICA]
Thomas Faber [Thu, 31 Dec 2015 14:25:35 +0000 (14:25 +0000)]
[ACPICA]
- Update to version 20151218
CORE-10765

svn path=/trunk/; revision=70472

8 years ago[SOLITAIRE]
Eric Kohl [Thu, 31 Dec 2015 12:58:18 +0000 (12:58 +0000)]
[SOLITAIRE]
solitaire: no action upon doubleclick
Patch by Carlo Bramini.
CORE-6514 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=70470

8 years ago[USETUP]: Correctly check for existing "ReactOS" entries in FreeLdr in case ReactOS...
Hermès Bélusca-Maïto [Wed, 30 Dec 2015 20:23:18 +0000 (20:23 +0000)]
[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

8 years ago[USETUP]: Formatting fix & remove a redundant function.
Hermès Bélusca-Maïto [Wed, 30 Dec 2015 18:52:07 +0000 (18:52 +0000)]
[USETUP]: Formatting fix & remove a redundant function.

svn path=/trunk/; revision=70468

8 years ago[USETUP]
Hermès Bélusca-Maïto [Wed, 30 Dec 2015 18:26:42 +0000 (18:26 +0000)]
[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

8 years ago[WIN32K]
Timo Kreuzer [Tue, 29 Dec 2015 20:28:23 +0000 (20:28 +0000)]
[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

8 years ago[WIN32KDLL_2K3SP2]
Timo Kreuzer [Mon, 28 Dec 2015 23:51:05 +0000 (23:51 +0000)]
[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

8 years ago[WIN32KDLL_2K3SP2]
Timo Kreuzer [Mon, 28 Dec 2015 23:03:04 +0000 (23:03 +0000)]
[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

8 years ago[GDITOOLS]
Timo Kreuzer [Mon, 28 Dec 2015 20:53:34 +0000 (20:53 +0000)]
[GDITOOLS]
3rd try to fix WHS rostests build

svn path=/trunk/; revision=70461

8 years ago[WIN32NT_APITEST]
Timo Kreuzer [Mon, 28 Dec 2015 20:51:28 +0000 (20:51 +0000)]
[WIN32NT_APITEST]
2nd try to fix WHS rostests build

svn path=/trunk/; revision=70460

8 years ago[WIN32NT_APITEST]
Timo Kreuzer [Mon, 28 Dec 2015 20:46:05 +0000 (20:46 +0000)]
[WIN32NT_APITEST]
Try to fix WHS rostests build

svn path=/trunk/; revision=70459

8 years ago[APOTESTS]
Timo Kreuzer [Mon, 28 Dec 2015 20:31:10 +0000 (20:31 +0000)]
[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

8 years ago[GDITOOLS]
Timo Kreuzer [Mon, 28 Dec 2015 20:24:57 +0000 (20:24 +0000)]
[GDITOOLS]
Add a library with some helper routines for GDI tests

svn path=/trunk/; revision=70457

8 years ago[CRT_APITEST]
Timo Kreuzer [Mon, 28 Dec 2015 15:49:29 +0000 (15:49 +0000)]
[CRT_APITEST]
Fix sprintf tests to succeed on W2K3

svn path=/trunk/; revision=70456

8 years ago[CRT_APITEST]
Timo Kreuzer [Mon, 28 Dec 2015 15:24:47 +0000 (15:24 +0000)]
[CRT_APITEST]
Add tests for _snprintf, _snwprintf, strtoul, wcstoul
Patch by Thomas Faber (slightly modified by me)
CORE-6510

svn path=/trunk/; revision=70455

8 years ago[SPEC2DEF]
Timo Kreuzer [Mon, 28 Dec 2015 14:42:41 +0000 (14:42 +0000)]
[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

8 years ago[CRT_APITEST]
Timo Kreuzer [Mon, 28 Dec 2015 11:01:03 +0000 (11:01 +0000)]
[CRT_APITEST]
- Disable a check for crtdll
- Fix an MSVC warning

svn path=/trunk/; revision=70453

8 years ago[BOOTDATA]: ReactOS can install and run fine on volumes of at least 450 MB (for examp...
Hermès Bélusca-Maïto [Sun, 27 Dec 2015 22:41:48 +0000 (22:41 +0000)]
[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

8 years ago[CRT]
Timo Kreuzer [Sun, 27 Dec 2015 20:24:04 +0000 (20:24 +0000)]
[CRT]
Fix a typo in a comment and make it clearer, what we do here.
CORE-10754 #resolve

svn path=/trunk/; revision=70450

8 years ago[VFATLIB]
Hermès Bélusca-Maïto [Sun, 27 Dec 2015 20:01:24 +0000 (20:01 +0000)]
[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

8 years agoRemove a forgotten DPRINT1.
Hermès Bélusca-Maïto [Sun, 27 Dec 2015 19:57:10 +0000 (19:57 +0000)]
Remove a forgotten DPRINT1.

svn path=/trunk/; revision=70448

8 years ago[VFATLIB]
Hermès Bélusca-Maïto [Sun, 27 Dec 2015 19:55:47 +0000 (19:55 +0000)]
[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

8 years ago[VFATLIB]
Hermès Bélusca-Maïto [Sun, 27 Dec 2015 19:38:13 +0000 (19:38 +0000)]
[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

8 years ago[VFATLIB]
Hermès Bélusca-Maïto [Sun, 27 Dec 2015 19:30:53 +0000 (19:30 +0000)]
[VFATLIB]
- Formatting fixes.
- Use RtlZeroMemory/RtlFillMemory instead of memset.

svn path=/trunk/; revision=70445

8 years ago[TASKMGR]: Use taskmgr's icon for its run file dialog. Inspired by Wine.
Hermès Bélusca-Maïto [Sun, 27 Dec 2015 19:06:16 +0000 (19:06 +0000)]
[TASKMGR]: Use taskmgr's icon for its run file dialog. Inspired by Wine.

svn path=/trunk/; revision=70444

8 years ago[CRT]
Timo Kreuzer [Sun, 27 Dec 2015 18:22:13 +0000 (18:22 +0000)]
[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

8 years ago[SETUPAPI]
Timo Kreuzer [Sun, 27 Dec 2015 17:55:14 +0000 (17:55 +0000)]
[SETUPAPI]
Fix invalid use of wcslen with NULL pointer. Should fix crash in setupapi_winetest:install.

svn path=/trunk/; revision=70441

8 years ago[MSGINA]
Eric Kohl [Sun, 27 Dec 2015 16:36:32 +0000 (16:36 +0000)]
[MSGINA]
Improve msgina's text in ReactOS.
Patch by Henry Tang Ih.
CORE-10720 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=70437

8 years ago[USETUP]: Fix some localization problems.
Hermès Bélusca-Maïto [Sun, 27 Dec 2015 15:22:39 +0000 (15:22 +0000)]
[USETUP]: Fix some localization problems.

svn path=/trunk/; revision=70436

8 years agoFix build.
Hermès Bélusca-Maïto [Sun, 27 Dec 2015 02:04:09 +0000 (02:04 +0000)]
Fix build.

svn path=/trunk/; revision=70435

8 years ago[VFATLIB]
Hermès Bélusca-Maïto [Sun, 27 Dec 2015 02:01:52 +0000 (02:01 +0000)]
[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

8 years ago[VFATLIB]
Hermès Bélusca-Maïto [Sun, 27 Dec 2015 00:57:51 +0000 (00:57 +0000)]
[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

8 years ago[BOOTSECTORS]
Hermès Bélusca-Maïto [Sat, 26 Dec 2015 21:28:01 +0000 (21:28 +0000)]
[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

8 years ago[BOOTSECTORS]: Sync the .asm files with their .S counterparts (make easier for diff...
Hermès Bélusca-Maïto [Sat, 26 Dec 2015 20:43:50 +0000 (20:43 +0000)]
[BOOTSECTORS]: Sync the .asm files with their .S counterparts (make easier for diff'ing).

svn path=/trunk/; revision=70431

8 years ago[CRT]
Timo Kreuzer [Sat, 26 Dec 2015 20:34:15 +0000 (20:34 +0000)]
[CRT]
Fix x86 asm implementation of strlen / wcslen.

svn path=/trunk/; revision=70430

8 years ago[CRT_APITEST]
Timo Kreuzer [Sat, 26 Dec 2015 20:32:31 +0000 (20:32 +0000)]
[CRT_APITEST]
Add another test for strlen, that tests, whether the direction flag in ELFAGS has been modified. While clearing it is legitimate to do according to the ABI, the native implementation does not change it, so we don't want to do it either.

svn path=/trunk/; revision=70429

8 years ago[FATxxx BOOTSECTORS]: Whitespace changes mainly (makes easier for diffing). No code...
Hermès Bélusca-Maïto [Sat, 26 Dec 2015 20:13:27 +0000 (20:13 +0000)]
[FATxxx BOOTSECTORS]: Whitespace changes mainly (makes easier for diffing). No code changes.

svn path=/trunk/; revision=70428

8 years ago[CRT_APITEST]
Timo Kreuzer [Sat, 26 Dec 2015 19:20:54 +0000 (19:20 +0000)]
[CRT_APITEST]
- disable GCC builtins
- Add simple tests for strlen, showing that a NULL pointer will cause an access violation, which is broken in our asm implementation

svn path=/trunk/; revision=70427

8 years ago[BOOTSECT]
Pierre Schweitzer [Sat, 26 Dec 2015 17:44:07 +0000 (17:44 +0000)]
[BOOTSECT]
fatx.S isn't for the FATX filesystem, it's just a generic naming, so pick up the next variable

svn path=/trunk/; revision=70426

8 years ago[CRT] Add abs and labs to CRT lib
Timo Kreuzer [Sat, 26 Dec 2015 17:13:08 +0000 (17:13 +0000)]
[CRT] Add abs and labs to CRT lib
[MSVCRT] Explicitly pull in _vsnprintf, bsearch and strcspn from CRT, to prevent the MS linker from exporting stubs from libntdll instead.
See CORE-10753

svn path=/trunk/; revision=70425

8 years ago[NTVDM]: Cast all the number-of-sectors computations to DWORD/ULONG to prevent potent...
Hermès Bélusca-Maïto [Sat, 26 Dec 2015 17:08:13 +0000 (17:08 +0000)]
[NTVDM]: Cast all the number-of-sectors computations to DWORD/ULONG to prevent potential overflows. Should fix a strange floppy read/write corruption I noticed.

svn path=/trunk/; revision=70424

8 years ago[BOOTSECTORS]
Hermès Bélusca-Maïto [Sat, 26 Dec 2015 16:57:41 +0000 (16:57 +0000)]
[BOOTSECTORS]
- Use the old fat.S source for compiling the FAT12 boot sector, until FATX.S is completely implemented.
- Fix an assembly error in FATX.S
- In comments I added experimental FAT12/16/32 targets based on Timo's FATX.S.

svn path=/trunk/; revision=70423

8 years ago[MKHIVE]
Eric Kohl [Sat, 26 Dec 2015 01:34:49 +0000 (01:34 +0000)]
[MKHIVE]
Fix indentation. No code changes!

svn path=/trunk/; revision=70422

8 years ago[BOOTDATA]
Eric Kohl [Sat, 26 Dec 2015 01:23:10 +0000 (01:23 +0000)]
[BOOTDATA]
Add missing service groups.

svn path=/trunk/; revision=70421

8 years ago[ADVAPI32]
Eric Kohl [Sat, 26 Dec 2015 01:14:18 +0000 (01:14 +0000)]
[ADVAPI32]
- Implement AbortSystemShutdownW by a call to BaseAbortSystemShutdown.
- Implement InitiateSystemShutdownW by a call to BaseInitiateSystemShutdown.
- Implement InitiateSystemShutdownExW by a call to BaseInitiateSystemShutdownEx.
- Add RPC binding code for the winreg server (in winlogon.exe).

svn path=/trunk/; revision=70420

8 years ago[SHUTDOWN][WINLOGON]
Eric Kohl [Sat, 26 Dec 2015 00:38:37 +0000 (00:38 +0000)]
[SHUTDOWN][WINLOGON]
SHUTDOWN: Fix the hack be calling InitiateSystemShutdownExW instead of ExitWindowsEx.
WINLOGON: Add a hack by calling ExitWindowsEx in BaseInitiateSystemShutdownEx.

svn path=/trunk/; revision=70419

8 years ago[NTOS]
Hermès Bélusca-Maïto [Sat, 26 Dec 2015 00:29:07 +0000 (00:29 +0000)]
[NTOS]
Disable again the DR7 check until we correctly understand why bit 10 of DR7 (reserved) is almost always set (this lead to MSVC-built ReactOS crashing when being starting in non-debugging mode). See also r69244.
CORE-10165 #comment DR7 check again disabled in r70418.

svn path=/trunk/; revision=70418

8 years ago[KDCOM]
Hermès Bélusca-Maïto [Fri, 25 Dec 2015 18:43:16 +0000 (18:43 +0000)]
[KDCOM]
For MSVC builds (using KDCOM kd64 WinDbg protocol): Bail out for droppable packets after a given number of retries, if no debugger is attached (list of droppable packets can be found in http://articles.sysprogs.org/kdvmware/kdcom.shtml section "KDCOM protocol", subsection "Droppable packets").
CORE-10541 #resolve #comment Finally fixed in revision r70417!
CORE-7106

svn path=/trunk/; revision=70417

8 years ago[NTOS/KDBK]
Timo Kreuzer [Wed, 23 Dec 2015 22:38:46 +0000 (22:38 +0000)]
[NTOS/KDBK]
Fix the value for EIP used by KDBG after an INT3 set by KDBG itself. The address is already fixed by KiDispatchException, but only in the context frame, not in the trap frame and KDBG insists to use the trap frame for a lot of things. Also, after a cont from such an int3, KDBG uses a single step to re-enable the breakpoint (it needs to disable it after it was hit to be able to execute the actual instruction), but it used to dismiss *any* single steps after that. So make sure, that an actual single step, as created by the debugger is not being dismissed, but the break point is still restored after the next single step entry. You might expect that a kernel debugger would at least support setting breakpoints, but this is KDBG.

svn path=/trunk/; revision=70416

8 years ago[FLTMGR]
Ged Murphy [Wed, 23 Dec 2015 16:29:33 +0000 (16:29 +0000)]
[FLTMGR]
- Change the start type to demand.
- Should stop free loader from throwing a tantrum because it can't load a non-existant boot driver

svn path=/trunk/; revision=70414

8 years ago[XDK]
Hermès Bélusca-Maïto [Wed, 23 Dec 2015 16:15:08 +0000 (16:15 +0000)]
[XDK]
Correctly fix the definition of DRIVER_FS_NOTIFICATION (done the same way as the other DRIVER_xxx "callback" functions; by the way you'll notice they are all NTAPI aka. __stdcall. This is not explicitely mentioned in the W(D)DK, because MS supposes you compile all your kernel-mode code in stdcall convention, the WDK environment coming with preset default compiler switches enabling that. But if you try changing them, you'll run into big troubles. In our headers on the contrary we explicitely mention the calling conventions).

[FLTMGR]
Fix FltpFsNotification to adhere to the correct DRIVER_FS_NOTIFICATION definition.

Addendum to r70410.

svn path=/trunk/; revision=70413

8 years ago[WIN32K]
Timo Kreuzer [Wed, 23 Dec 2015 14:55:34 +0000 (14:55 +0000)]
[WIN32K]
Pass cjMaxBits parameter from GreCreateDIBitmapInternal to IntCreateDIBitmap and check the image size before creating the bitmap.
Should fix crash when hitting about tab in Office2000 WinWord.
CORE-10583 #comment please retest

svn path=/trunk/; revision=70412

8 years ago[FLTMGR]
Ged Murphy [Wed, 23 Dec 2015 14:55:17 +0000 (14:55 +0000)]
[FLTMGR]
- Add the service key

svn path=/trunk/; revision=70411

8 years ago[XDK]
Ged Murphy [Wed, 23 Dec 2015 14:45:15 +0000 (14:45 +0000)]
[XDK]
- hackfix just DRIVER_FS_NOTIFICATION until we decide how we want to declare them
- Should fix build

svn path=/trunk/; revision=70410

8 years ago[FLTMGR]
Ged Murphy [Wed, 23 Dec 2015 14:41:05 +0000 (14:41 +0000)]
[FLTMGR]
- Add the beginning of the fltmgr. It's called rosfltmgr for now so I can test in Windows.
- It's currently just base code  which registers for file systems appearing (or disappearing), and attaches itself to them and all other mounted devices in their chain.
- Although it builds (touch wood), don't add it to a running system. The IRPs aren't plugged in yet and it'll just bugcheck lower down the stack.

svn path=/trunk/; revision=70409

8 years ago[NTOSKRNL]
Ged Murphy [Wed, 23 Dec 2015 11:26:28 +0000 (11:26 +0000)]
[NTOSKRNL]
- Raise the IRQL when enumerating device lists so it doesn't get edited mid-listing
- Don't hardcode the pointer size when checking the buffer size

svn path=/trunk/; revision=70408

8 years ago[FREELDR/AMD64]
Timo Kreuzer [Mon, 21 Dec 2015 19:36:10 +0000 (19:36 +0000)]
[FREELDR/AMD64]
Save parameter registers (rcx, rdx) before calling CallRealMode. Patch by andy-123, applied to a secondary location by me.
CORE-10511 #resolve #comment Thanks. I added the same fix to PnpBiosGet below.

svn path=/trunk/; revision=70407

8 years ago[USERENV]
Eric Kohl [Sun, 20 Dec 2015 22:30:51 +0000 (22:30 +0000)]
[USERENV]
Hack, that fixes the "Volatile Environment" bug by deleting the "Volatile Environment" key before the user hive is unloaded.
CORE-10705

svn path=/trunk/; revision=70406

8 years ago[KDCOM]
Hermès Bélusca-Maïto [Sun, 20 Dec 2015 16:21:59 +0000 (16:21 +0000)]
[KDCOM]
Do not use the "LoaderBlock->u.I386.CommonDataArea;" hack to use FreeLdr's DbgPrint function inside KDCOM, for the simple reason that while it works when KDCOM just initializes, the memory area where FreeLdr's DbgPrint function is, gets erased when ReactOS is running. As a result, all attempts to call the DbgPrint function when tracing something in KDCOM at the end of life of ReactOS, just fails lamentably (it hangs).
We therefore cannot rely on external code to provide us with DbgPrint. Instead, implement a very simple DbgPrint function inside KDCOM, as done by KDGDB.
The KD serial port serving for debugging KDCOM is chosen dynamically amongst the other free COM ports.

This needs to be also fixed in KDVM.

[KDGDB]
Instead of hardcoding the KD serial port number serving for debugging KDGDB, determine it dynamically amongst the other free COM ports.

svn path=/trunk/; revision=70405

8 years ago[NTOS:KDBG]: Sync back the code that I copied in FreeLdr (r70403) for COM port selection.
Hermès Bélusca-Maïto [Sun, 20 Dec 2015 02:53:30 +0000 (02:53 +0000)]
[NTOS:KDBG]: Sync back the code that I copied in FreeLdr (r70403) for COM port selection.

svn path=/trunk/; revision=70404

8 years ago[FREELDR]
Hermès Bélusca-Maïto [Sun, 20 Dec 2015 02:06:40 +0000 (02:06 +0000)]
[FREELDR]
- Allow to specify in freeldr.ini the debugging port parameters, similarly to what NTLDR allows to do: http://naesten.blogspot.fr/2010/07/undocumented-debug-section-in-bootini.html
- Update the FREELDR.INI example file to reflect these changes.
- Because some FreeLdr components, that need to be initialized before the debugging port parameters can be read from freeldr.ini, use debugging features, we still need to choose some default parameters. For serial ports, we select the possible port starting from COM4 down to COM1.

CORE-9023 #comment Revision 70403: Allow to specify a debugging port in freeldr.ini .

svn path=/trunk/; revision=70403

8 years ago[REGEDIT]
Eric Kohl [Sat, 19 Dec 2015 19:18:21 +0000 (19:18 +0000)]
[REGEDIT]
When the root item in the treeview is selected, remove all items from the listview and wipe the address bar and status bar.

svn path=/trunk/; revision=70402

8 years ago[BOOTDATA]
Eric Kohl [Sat, 19 Dec 2015 08:57:56 +0000 (08:57 +0000)]
[BOOTDATA]
Remove obsolete default user locale values. They are now set by the 2nd stage installer.
#CORE-5989 #resolve

svn path=/trunk/; revision=70400

8 years ago[SHELL32]: Tray ToolTips: use the correct buffer size for when calling MultiByteToWid...
Hermès Bélusca-Maïto [Sat, 19 Dec 2015 01:08:11 +0000 (01:08 +0000)]
[SHELL32]: Tray ToolTips: use the correct buffer size for when calling MultiByteToWideChar. Addendum to r70360. CORE-10497

svn path=/trunk/; revision=70399

8 years ago[USETUP]
Eric Kohl [Fri, 18 Dec 2015 21:36:16 +0000 (21:36 +0000)]
[USETUP]
Set the default user locale after registry setup.
#CORE-5989 #comment Please retest!

svn path=/trunk/; revision=70398

8 years ago[RTL]
Aleksey Bragin [Fri, 18 Dec 2015 14:58:32 +0000 (14:58 +0000)]
[RTL]
- Improve implementation of RtlActivateActivationContextUnsafeFast / RtlDeactivateActivationContextUnsafeFast by replace magic numbers by flag values, which are already defined in rtltypes.h, and adding various debugging checks. Two of them are triggered for yet unknown reason:
 * Assert in RtlActivateActivationContextUnsafeFast
 * "Trying to activate already activated activation context"
They are commented out in trunk not to annoy everyone.

svn path=/trunk/; revision=70396

8 years ago[MSPAINT] Fix some English strings, to match Windows behaviour. Patch by Henry Tang...
Robert Naumann [Fri, 18 Dec 2015 12:31:57 +0000 (12:31 +0000)]
[MSPAINT] Fix some English strings, to match Windows behaviour. Patch by Henry Tang Ih CORE-10716

svn path=/trunk/; revision=70395

8 years ago[LOGON.SCR] - improve the bitmaps
Robert Naumann [Fri, 18 Dec 2015 12:29:01 +0000 (12:29 +0000)]
[LOGON.SCR] - improve the bitmaps
- remove the enterprise part (we are ReactOS and only ReactOS)
- Add an Application icon

svn path=/trunk/; revision=70394

8 years ago[DBGHELP][RTL]
Hermès Bélusca-Maïto [Thu, 17 Dec 2015 23:10:56 +0000 (23:10 +0000)]
[DBGHELP][RTL]
Fix usage of VirtualSize wrt. SizeOfRawData.
CORE-10523
CORE-9548 #comment Please retest with revision >= 70390

svn path=/trunk/; revision=70390

8 years ago[SYSSETUP]
Eric Kohl [Thu, 17 Dec 2015 22:22:16 +0000 (22:22 +0000)]
[SYSSETUP]
Initialize the defauls users locale settings based on the selected locale Id from first stage setup.
#CORE-5989 #resolve

svn path=/trunk/; revision=70389

8 years ago[WIN32K]
Timo Kreuzer [Thu, 17 Dec 2015 22:05:06 +0000 (22:05 +0000)]
[WIN32K]
Fix bugs in pen implementation:
- Do not use the x coordinate to adjust styles, instead they start where the lines start
- Don't leak allocated styles
- Make sure the PEN fields are initialized correctly, even for BRUSHES, so that the destructor can do it's cleanup work
- Fix numerous parameter checks
gdi32_apitest:pen now shows 0 failures!

svn path=/trunk/; revision=70388

8 years ago[WIN32K]
Timo Kreuzer [Thu, 17 Dec 2015 17:44:42 +0000 (17:44 +0000)]
[WIN32K]
Implement support for styled lines.
CORE-9984 #resolve

svn path=/trunk/; revision=70387

8 years ago[HIVECLS] Add bmp images to the shell "new" menu. Patch by Jared Smudde CORE-10668
Robert Naumann [Thu, 17 Dec 2015 14:23:21 +0000 (14:23 +0000)]
[HIVECLS] Add bmp images to the shell "new" menu. Patch by Jared Smudde CORE-10668

svn path=/trunk/; revision=70385

8 years ago[RUNDLL32] Add an icon. Patch by Jared Smudde. CORE-10669
Robert Naumann [Thu, 17 Dec 2015 14:10:18 +0000 (14:10 +0000)]
[RUNDLL32] Add an icon. Patch by Jared Smudde. CORE-10669

svn path=/trunk/; revision=70384

8 years ago[TRANSLATIONS] Traditional Chinese translation update by Henry Tang Ih. CORE-10655
Amine Khaldi [Thu, 17 Dec 2015 11:10:00 +0000 (11:10 +0000)]
[TRANSLATIONS] Traditional Chinese translation update by Henry Tang Ih. CORE-10655

svn path=/trunk/; revision=70381

8 years ago[NETCFGX]
Eric Kohl [Thu, 17 Dec 2015 09:32:10 +0000 (09:32 +0000)]
[NETCFGX]
Implement INetCfgPnpReconfigCallback stub.

svn path=/trunk/; revision=70379

8 years agoForgot this one...
Hermès Bélusca-Maïto [Thu, 17 Dec 2015 02:37:34 +0000 (02:37 +0000)]
Forgot this one...

svn path=/trunk/; revision=70378

8 years ago[SYSDM]: Fix translations.
Hermès Bélusca-Maïto [Thu, 17 Dec 2015 02:36:38 +0000 (02:36 +0000)]
[SYSDM]: Fix translations.

svn path=/trunk/; revision=70377

8 years ago[BROWSEUI]
Hermès Bélusca-Maïto [Thu, 17 Dec 2015 02:02:16 +0000 (02:02 +0000)]
[BROWSEUI]
- Add french translation (not complete, but enough for now: only what can be currently displayed is translated).
- Don't hardcode the "History" item in the travel-log, but use the localized string. Use the hardcoded string *only* if loading the translation failed.

svn path=/trunk/; revision=70376

8 years agoUpdate few french translations.
Hermès Bélusca-Maïto [Thu, 17 Dec 2015 00:24:28 +0000 (00:24 +0000)]
Update few french translations.

svn path=/trunk/; revision=70375

8 years ago[NTOS]: Fix comments only, no code changes.
Hermès Bélusca-Maïto [Wed, 16 Dec 2015 23:53:51 +0000 (23:53 +0000)]
[NTOS]: Fix comments only, no code changes.

svn path=/trunk/; revision=70374

8 years ago[REGEDIT]
Hermès Bélusca-Maïto [Wed, 16 Dec 2015 23:50:56 +0000 (23:50 +0000)]
[REGEDIT]
Fix hebrew "registry editor" translation.

[SHORTCUTS.INF]
Fix regedit shortcut name (localize it instead of using "regedit")

svn path=/trunk/; revision=70373

8 years ago[BOOTDATA] Default to wallpaper expanding. By Hermès BÉLUSCA - MAÏTO. CORE-10709
Amine Khaldi [Wed, 16 Dec 2015 21:54:11 +0000 (21:54 +0000)]
[BOOTDATA] Default to wallpaper expanding. By Hermès BÉLUSCA - MAÏTO. CORE-10709

svn path=/trunk/; revision=70369

8 years ago[IPHLPAPI_APITEST]
Pierre Schweitzer [Wed, 16 Dec 2015 21:11:22 +0000 (21:11 +0000)]
[IPHLPAPI_APITEST]
Rewrite the two existing tests for ICMP and add a third one (for IPv6).
Patch by Tim Crawford.

ROSTESTS-212 #resolve #comment Commited in r70367. Thanks!

svn path=/trunk/; revision=70367

8 years ago[NTOS:IO]
Thomas Faber [Wed, 16 Dec 2015 18:08:38 +0000 (18:08 +0000)]
[NTOS:IO]
- Add some missing OBJ_KERNEL_HANDLE.
CORE-10207

svn path=/trunk/; revision=70366

8 years ago[COMMAND.COM]
Hermès Bélusca-Maïto [Wed, 16 Dec 2015 17:28:59 +0000 (17:28 +0000)]
[COMMAND.COM]
Surround welcome & debugging messages in #ifndef NDEBUG blocks, that should be compiled in trunk but will be disabled in the release.
This is to "cure" the bad-looking problem described in http://www.reactos.org/forum/viewtopic.php?f=25&t=14620 .

svn path=/trunk/; revision=70365

8 years ago[ICONS] Fix some blurry icons by Henry Tang Ih. CORE-10640
Amine Khaldi [Wed, 16 Dec 2015 14:57:14 +0000 (14:57 +0000)]
[ICONS] Fix some blurry icons by Henry Tang Ih. CORE-10640

svn path=/trunk/; revision=70363

8 years ago[WINLOGON]
Eric Kohl [Wed, 16 Dec 2015 14:45:19 +0000 (14:45 +0000)]
[WINLOGON]
Get rid of setup.h.

svn path=/trunk/; revision=70361

8 years ago[SHELL32]
David Quintana [Wed, 16 Dec 2015 12:36:33 +0000 (12:36 +0000)]
[SHELL32]
Apply patch by Mark Jansen (learn_more) with a few tweaks. Fixes calls to Shell_NotifyIconA such as those from VBoxTray.
CORE-10497 #resolve

svn path=/trunk/; revision=70360