reactos.git
19 months ago[REACTOS] Improve/Fix some "printf" formats (#555)
Serge Gautherie [Wed, 30 May 2018 12:18:23 +0000 (14:18 +0200)]
[REACTOS] Improve/Fix some "printf" formats (#555)

The smbios.c one was initially spotted by "Alahndro" on CORE-6328.

19 months ago[FONTS] Improve Tahoma Bold font (tahomabd.ttf) #580
Katayama Hirofumi MZ [Wed, 30 May 2018 11:44:54 +0000 (20:44 +0900)]
[FONTS] Improve Tahoma Bold font (tahomabd.ttf) #580

19 months ago[SYSSETUP][USERENV] Create the system profile after the creation of the default profi...
Eric Kohl [Wed, 30 May 2018 07:21:14 +0000 (09:21 +0200)]
[SYSSETUP][USERENV] Create the system profile after the creation of the default profile has been finished

CopySystemProfile: Don't try to create the user hive. Just copy it as it has already been created.

19 months ago[SYSSETUP] Save the HKEY_USERS\.DEFAULT hive in the ntuser.dat file of the default...
Eric Kohl [Wed, 30 May 2018 06:18:55 +0000 (08:18 +0200)]
[SYSSETUP] Save the HKEY_USERS\.DEFAULT hive in the ntuser.dat file of the default user profile

19 months ago[SYSSETUP] Fix an issue that may be caused by a missing security settings file
Eric Kohl [Tue, 29 May 2018 10:49:24 +0000 (12:49 +0200)]
[SYSSETUP] Fix an issue that may be caused by a missing security settings file

Found by Serge Gautherie

19 months ago[SYSSETUP] Open the security settings inf file only once in order to apply the settings
Eric Kohl [Mon, 28 May 2018 23:32:52 +0000 (01:32 +0200)]
[SYSSETUP] Open the security settings inf file only once in order to apply the settings

19 months ago[VFATLIB] Addendum to 469289e
Pierre Schweitzer [Mon, 28 May 2018 21:38:00 +0000 (23:38 +0200)]
[VFATLIB] Addendum to 469289e

19 months ago[VFATLIB] Fix MSVC build?
Pierre Schweitzer [Mon, 28 May 2018 21:29:06 +0000 (23:29 +0200)]
[VFATLIB] Fix MSVC build?

19 months ago[VFATLIB] Upgrade fsck.fat to 4.1
Pierre Schweitzer [Mon, 28 May 2018 21:18:25 +0000 (23:18 +0200)]
[VFATLIB] Upgrade fsck.fat to 4.1

Also make it easier to sync in the future.

19 months ago[FASTFAT] Lock DirResource on flush in case we're updating entry
Pierre Schweitzer [Mon, 28 May 2018 07:01:39 +0000 (09:01 +0200)]
[FASTFAT] Lock DirResource on flush in case we're updating entry

CORE-14660

19 months ago[VFATLIB] Only attempt to clear the dirty set bit in rw mode.
Pierre Schweitzer [Mon, 28 May 2018 07:00:13 +0000 (09:00 +0200)]
[VFATLIB] Only attempt to clear the dirty set bit in rw mode.

19 months ago[SYSSETUP][INF] Add the 'Registry Values' section to the default security settings...
Eric Kohl [Mon, 28 May 2018 17:26:02 +0000 (19:26 +0200)]
[SYSSETUP][INF] Add the 'Registry Values' section to the default security settings and apply it to the registry

19 months ago[USERENV] Implement CopySystemProfile Part 2 (Create the profile directory)
Eric Kohl [Mon, 28 May 2018 00:13:22 +0000 (02:13 +0200)]
[USERENV] Implement CopySystemProfile Part 2 (Create the profile directory)

19 months ago[SETUP] Remove myself from the 1st stage setup code
Eric Kohl [Sun, 27 May 2018 19:33:07 +0000 (21:33 +0200)]
[SETUP] Remove myself from the 1st stage setup code

Congratulations Hermès!
You just earned yourself full maintainership of the 1st stage setup. It's yours now. I'm out!

19 months ago[USETUP] Improve the inicache module.
Hermès Bélusca-Maïto [Sun, 21 May 2017 23:48:09 +0000 (23:48 +0000)]
[USETUP] Improve the inicache module.

From the existing IniCacheLoad() function, introduce a IniCacheLoadFromMemory() function that just does the same (initialize an INI file cache and parse the INI file), but takes the input from a memory buffer. Then, rewrite the IniCacheLoad() function to just open the file given in input, and then fall back to calling IniCacheLoadFromMemory.
The IniCacheLoadFromMemory() function will be used later.

svn path=/branches/setup_improvements/; revision=74620

19 months ago[USETUP] Improve the FileSup module.
Hermès Bélusca-Maïto [Sun, 21 May 2017 23:45:43 +0000 (23:45 +0000)]
[USETUP] Improve the FileSup module.

- Add a NtPathToDiskPartComponents() helper, that takes in input a fully qualified NT path to a file on hard disk,
  e.g.: \Device\Harddisk1\Partition2\foo\bar, and returns in output the disk number ('1'), the partition number ('2'),
  and the the path component "\foo\bar" that is after the device-harddisk-partition identifier.
- Make the OpenAndMapFile() return the file size of the opened file.

Both of these additions will be used soon.

- Turn a isspace() call into a iswspace() one.

svn path=/branches/setup_improvements/; revision=74619

19 months ago[USETUP] Code fixups after the introduction of the SetupLib.
Hermès Bélusca-Maïto [Thu, 18 May 2017 01:05:39 +0000 (01:05 +0000)]
[USETUP] Code fixups after the introduction of the SetupLib.

- Use the previously-introduced 'PreparePartitionForFormatting()' function; set the FormatState of the newly-formatted partition to Formatted.
- Remove the hackish call to CreateFileSystemList() in SelectFileSystemPage().
- Move 'TempPartition' and 'FormatState' back to USETUP.
- Put large "case"-blocks into brackets.

svn path=/branches/setup_improvements/; revision=74575
svn path=/branches/setup_improvements/; revision=74576

19 months ago[SETUPLIB] Consolidate the FsUtil and PartList modules of the SetupLib.
Hermès Bélusca-Maïto [Wed, 17 May 2017 23:31:52 +0000 (23:31 +0000)]
[SETUPLIB] Consolidate the FsUtil and PartList modules of the SetupLib.

- Add a PreparePartitionForFormatting routine that sets the partition ID depending on the chosen filesystem.
- The 'FORMATMACHINESTATE FormatState' machine-state and the 'TempPartition' members of the partition list structure is purely a USETUP convenience, so remove them from the PARTLIST structure and move them back into USETUP.
- Attempt to recognize the filesystem (set the 'FileSystem' member of PARTENTRY) of partitions we are adding into the PARTLIST list.
- Fix the return value of the SelectPartition function, which is by the way completely broken (it doesn't do what it is supposed to do; alternatively its naming is completely wrong...).

svn path=/branches/setup_improvements/; revision=74572
svn path=/branches/setup_improvements/; revision=74573

19 months ago[SETUPLIB][USETUP] Introduce a 'SetupLib' library. CORE-13544
Hermès Bélusca-Maïto [Wed, 17 May 2017 23:37:41 +0000 (23:37 +0000)]
[SETUPLIB][USETUP] Introduce a 'SetupLib' library. CORE-13544

- Create the beginnings of a "setuplib" library, whose aim is to be shared between the (currently existing) 1st-stage text-mode installer, and the (future) 1st-stage GUI installer.
- Finish to split the GenList and PartList codes into their UI part, which remain in usetup, and their algorithmic part, which go into setuplib.
- Move SetMountedDeviceValue into the PartList module.
- Split the FileSystem list code into its UI and the algorithmic part (which goes into setuplib under the name fsutil.c).
  * The algo part is meant to be able to manage the filesystems available on the running system, similarly to what is mostly done (in scattered form) in fmifs, format, chkdsk / autochk codes...
    It also manages the partition filesystem recognition, using OS routines.
  * The UI part manages the FS list as it appears on screen, showing only the possible FSes that can be used to format the selected partition (a bit similar to what we do in the shell32's drive.c, etc...).
- Adapt the calling code to these changes.
- Remove some "host" code that was dating back from the dark old times.

svn path=/branches/setup_improvements/; revision=74570
svn path=/branches/setup_improvements/; revision=74659

19 months ago[USERSRV] Romanian translation update
Bișoc George [Sun, 27 May 2018 13:19:14 +0000 (15:19 +0200)]
[USERSRV] Romanian translation update

19 months ago[USERENV] Implement CopySystemProfile Part 1 (Add a new profile subkey and values...
Eric Kohl [Sun, 27 May 2018 13:29:31 +0000 (15:29 +0200)]
[USERENV] Implement CopySystemProfile Part 1 (Add a new profile subkey and values to the profile list)

CORE-12541

19 months ago[WINETESTS] Fix build 527/head
Pierre Schweitzer [Sun, 27 May 2018 07:51:38 +0000 (09:51 +0200)]
[WINETESTS] Fix build

CORE-14656

19 months ago[HNETCFG_WINETEST] Sync with Wine Staging 3.9. CORE-14656
Amine Khaldi [Sun, 27 May 2018 03:13:26 +0000 (04:13 +0100)]
[HNETCFG_WINETEST] Sync with Wine Staging 3.9. CORE-14656

19 months ago[HNETCFG] Sync with Wine Staging 3.9. CORE-14656
Amine Khaldi [Sun, 27 May 2018 03:12:51 +0000 (04:12 +0100)]
[HNETCFG] Sync with Wine Staging 3.9. CORE-14656

19 months ago[HLINK_WINETEST] Sync with Wine Staging 3.9. CORE-14656
Amine Khaldi [Sun, 27 May 2018 03:12:13 +0000 (04:12 +0100)]
[HLINK_WINETEST] Sync with Wine Staging 3.9. CORE-14656

19 months ago[GDIPLUS_WINETEST] Sync with Wine Staging 3.9. CORE-14656
Amine Khaldi [Sun, 27 May 2018 03:11:35 +0000 (04:11 +0100)]
[GDIPLUS_WINETEST] Sync with Wine Staging 3.9. CORE-14656

19 months ago[GDIPLUS] Sync with Wine Staging 3.9. CORE-14656
Amine Khaldi [Sun, 27 May 2018 03:10:39 +0000 (04:10 +0100)]
[GDIPLUS] Sync with Wine Staging 3.9. CORE-14656

19 months ago[PSDK] Add missing GdipSetPathGradientPath() and GdipTranslatePenTransform(). CORE...
Amine Khaldi [Sun, 27 May 2018 03:09:49 +0000 (04:09 +0100)]
[PSDK] Add missing GdipSetPathGradientPath() and GdipTranslatePenTransform(). CORE-14656

19 months ago[DBGHELP] Sync with Wine Staging 3.9. CORE-14656
Amine Khaldi [Sun, 27 May 2018 03:08:32 +0000 (04:08 +0100)]
[DBGHELP] Sync with Wine Staging 3.9. CORE-14656

19 months ago[CRYPT32] Sync with Wine Staging 3.9. CORE-14656
Amine Khaldi [Sun, 27 May 2018 03:07:57 +0000 (04:07 +0100)]
[CRYPT32] Sync with Wine Staging 3.9. CORE-14656

19 months ago[COMDLG32_WINETEST] Sync with Wine Staging 3.9. CORE-14656
Amine Khaldi [Sun, 27 May 2018 03:07:12 +0000 (04:07 +0100)]
[COMDLG32_WINETEST] Sync with Wine Staging 3.9. CORE-14656

19 months ago[COMDLG32] Sync with Wine Staging 3.9. CORE-14656
Amine Khaldi [Sun, 27 May 2018 03:06:36 +0000 (04:06 +0100)]
[COMDLG32] Sync with Wine Staging 3.9. CORE-14656

19 months ago[INCLUDE/WINE][USER32_APITEST] Add ARRAY_SIZE to test.h and remove it from RealGetWin...
Amine Khaldi [Sun, 27 May 2018 03:05:33 +0000 (04:05 +0100)]
[INCLUDE/WINE][USER32_APITEST] Add ARRAY_SIZE to test.h and remove it from RealGetWindowClass.c. CORE-14656

19 months ago[PSDK] Add missing OFN_EX_NOPLACESBAR. CORE-14656
Amine Khaldi [Sun, 27 May 2018 03:03:38 +0000 (04:03 +0100)]
[PSDK] Add missing OFN_EX_NOPLACESBAR. CORE-14656

19 months ago[AVIFIL32] Sync with Wine Staging 3.9. CORE-14656
Amine Khaldi [Sun, 27 May 2018 03:02:26 +0000 (04:02 +0100)]
[AVIFIL32] Sync with Wine Staging 3.9. CORE-14656

19 months ago[QUARTZ_WINETEST] Sync with Wine Staging 3.9. CORE-14656
Amine Khaldi [Sun, 27 May 2018 03:01:18 +0000 (04:01 +0100)]
[QUARTZ_WINETEST] Sync with Wine Staging 3.9. CORE-14656

19 months ago[QUARTZ] Sync with Wine Staging 3.9. CORE-14656
Amine Khaldi [Sun, 27 May 2018 03:00:39 +0000 (04:00 +0100)]
[QUARTZ] Sync with Wine Staging 3.9. CORE-14656

19 months ago[MSDMO] Sync with Wine Staging 3.9. CORE-14656
Amine Khaldi [Sun, 27 May 2018 02:59:47 +0000 (03:59 +0100)]
[MSDMO] Sync with Wine Staging 3.9. CORE-14656

19 months ago[DMUSIC] Sync with Wine Staging 3.9. CORE-14656
Amine Khaldi [Sun, 27 May 2018 02:59:04 +0000 (03:59 +0100)]
[DMUSIC] Sync with Wine Staging 3.9. CORE-14656

19 months ago[DINPUT_WINETEST] Sync with Wine Staging 3.9. CORE-14656
Amine Khaldi [Sun, 27 May 2018 02:58:11 +0000 (03:58 +0100)]
[DINPUT_WINETEST] Sync with Wine Staging 3.9. CORE-14656

19 months ago[DINPUT] Sync with Wine Staging 3.9. CORE-14656
Amine Khaldi [Sun, 27 May 2018 02:57:38 +0000 (03:57 +0100)]
[DINPUT] Sync with Wine Staging 3.9. CORE-14656

19 months ago[DEVENUM_WINETEST] Sync with Wine Staging 3.9. CORE-14656
Amine Khaldi [Sun, 27 May 2018 02:56:54 +0000 (03:56 +0100)]
[DEVENUM_WINETEST] Sync with Wine Staging 3.9. CORE-14656

19 months ago[DEVENUM] Sync with Wine Staging 3.9. CORE-14656
Amine Khaldi [Sun, 27 May 2018 02:56:13 +0000 (03:56 +0100)]
[DEVENUM] Sync with Wine Staging 3.9. CORE-14656

19 months ago[PSDK] Add missing DRV_QUERYFUNCTIONINSTANCEID. CORE-14656
Amine Khaldi [Sun, 27 May 2018 02:55:03 +0000 (03:55 +0100)]
[PSDK] Add missing DRV_QUERYFUNCTIONINSTANCEID. CORE-14656

19 months ago[D3DX9_24 => 43] Sync with Wine Staging 3.9. CORE-14656
Amine Khaldi [Sun, 27 May 2018 02:54:15 +0000 (03:54 +0100)]
[D3DX9_24 => 43] Sync with Wine Staging 3.9. CORE-14656

19 months ago[D3DRM] Sync with Wine Staging 3.9. CORE-14656
Amine Khaldi [Sun, 27 May 2018 02:53:02 +0000 (03:53 +0100)]
[D3DRM] Sync with Wine Staging 3.9. CORE-14656

19 months ago[D3D8][D3D9][DDRAW][WINED3D] Sync with Wine Staging 3.9. CORE-14656
Amine Khaldi [Sun, 27 May 2018 02:52:04 +0000 (03:52 +0100)]
[D3D8][D3D9][DDRAW][WINED3D] Sync with Wine Staging 3.9. CORE-14656

19 months ago[AMSTREAM] Sync with Wine Staging 3.9. CORE-14656
Amine Khaldi [Sun, 27 May 2018 02:50:07 +0000 (03:50 +0100)]
[AMSTREAM] Sync with Wine Staging 3.9. CORE-14656

19 months ago[REG_WINETEST] Sync with Wine Staging 3.9. CORE-14656
Amine Khaldi [Sun, 27 May 2018 02:49:14 +0000 (03:49 +0100)]
[REG_WINETEST] Sync with Wine Staging 3.9. CORE-14656

19 months ago[REG] Sync with Wine Staging 3.9. CORE-14656
Amine Khaldi [Sun, 27 May 2018 02:48:33 +0000 (03:48 +0100)]
[REG] Sync with Wine Staging 3.9. CORE-14656

19 months ago[USETUP] Similarly to what was done for GenLists, factor out the UI code from the...
Hermès Bélusca-Maïto [Mon, 15 May 2017 19:41:18 +0000 (19:41 +0000)]
[USETUP] Similarly to what was done for GenLists, factor out the UI code from the partition list code.

This will allow to reuse it for the 1st-stage GUI setup too, while using another UI representation.
Add also two partition iterator functions: GetNextPartition and GetPrevPartition.

svn path=/branches/setup_improvements/; revision=74554

19 months ago[USETUP] Factor out the UI-specific code from the GenList code, and wrap it inside...
Hermès Bélusca-Maïto [Mon, 15 May 2017 16:22:18 +0000 (16:22 +0000)]
[USETUP] Factor out the UI-specific code from the GenList code, and wrap it inside a GENERIC_LIST_UI structure.

The aim here is to decouple the UI-specific code from code that can be used by both the text-mode USETUP and a future 1st-stage GUI setup.
Indeed, the GenLists can actually be used in the 1st-stage GUI; and their contents be displayed inside ListBoxes/ListViews... (this is just one example amongst others).

Additionally (in usetup.c):
- Make both FormatPartitionPage and CheckFileSystemPage return PAGE_NUMBERs.
- Improve a couple of comments.

svn path=/branches/setup_improvements/; revision=74553

19 months ago[USETUP] Additions for generic lists.
Hermès Bélusca-Maïto [Mon, 15 May 2017 01:43:28 +0000 (01:43 +0000)]
[USETUP] Additions for generic lists.

- Allow retrieving the number of items existing in the list;
- Fix the name of some function parameters.

svn path=/branches/setup_improvements/; revision=74547

19 months ago[USETUP] Additions for the PartList code.
Hermès Bélusca-Maïto [Sat, 13 May 2017 16:40:30 +0000 (16:40 +0000)]
[USETUP] Additions for the PartList code.

- Document more some of the fields in the PARTENTRY, DISKETNRY and PARTLIST structures;
- Remove the redundant members "SystemDisk", "OriginalSystemDisk" and "TempDisk" in PARTLIST as these can be consistently deduced from the corresponding (Original)(System)(Temp)Partition members
  (note that we however keep "CurrentDisk" alongside "CurrentPartition", see the comment in the code why we do it so).
- Adjust the rest of the code to take the removal of the redundant members into account. The 2nd parameter of GetNextUnformattedPartition() and GetNextUncheckedPartition() is now really optional.
- Introduce a SetPartitionType() helper to simplify the code that sets the partition type, which also automatically adjusts other internal variables of said partition in accordance.
- "Mounted" logical drives can have assigned letters too, registered in \DosDevices\.

svn path=/branches/setup_improvements/; revision=74532

19 months ago[USETUP] Code improvements for PartList.
Hermès Bélusca-Maïto [Sat, 13 May 2017 16:32:53 +0000 (16:32 +0000)]
[USETUP] Code improvements for PartList.

- Use explicit ansi string safe functions (where they are used ansi, but not explicitely);
- Add (old-school) function parameters annotations;
- Use PARTITION_ENTRY_UNUSED where needed (instead of hardcoding its value);
- Turn some functions static to this module;
- Turn the 2nd parameter of both GetNextUnformattedPartition() and GetNextUncheckedPartition() optional (for next commit);
- Improve some comments;
- Use NT types.

svn path=/branches/setup_improvements/; revision=74531

19 months ago[USETUP] Enhancements for filesystem utility functions.
Hermès Bélusca-Maïto [Sat, 13 May 2017 16:20:10 +0000 (16:20 +0000)]
[USETUP] Enhancements for filesystem utility functions.

- Introduce code that detects the filesystem of a (mounted?) partition, using NtQueryVolumeInformationFile() with FileFsAttributeInformation class,
  aka. rely on ReactOS itself (kernel, storage stack, filesystem drivers...) to recognize the FS on a partition that should normally be seen by the system.
  This currently half-works for whatever reason (to be insvestigated), while it works on Windows.
- Fix few comments & a function parameter name.
- Use NT string pointer types.

svn path=/branches/setup_improvements/; revision=74529

19 months ago[USETUP] Add & modify some file utility functions that are going to be used next.
Hermès Bélusca-Maïto [Sat, 13 May 2017 16:13:49 +0000 (16:13 +0000)]
[USETUP] Add & modify some file utility functions that are going to be used next.

- ConcatPaths that concatenates paths (or a path and a file name);
- OpenAndMapFile (resp. UnMapFile), whose purpose is to open a file and map it in memory (resp. unmap it from memory).
- Add extra optional parameters to DoesPathExist and DoesFileExist: an optional "RootDirectory" handle and, for DoesFileExist only, an optional PathName.
- Close the opened file handles only on success.

svn path=/branches/setup_improvements/; revision=74528
svn path=/branches/setup_improvements/; revision=74538
svn path=/branches/setup_improvements/; revision=74549

19 months ago[USETUP] Fix some spacings in the french translation.
Hermès Bélusca-Maïto [Wed, 17 May 2017 23:37:41 +0000 (23:37 +0000)]
[USETUP] Fix some spacings in the french translation.

svn path=/branches/setup_improvements/; revision=74574

19 months ago[USETUP] Code formatting only.
Hermès Bélusca-Maïto [Sat, 13 May 2017 16:23:08 +0000 (16:23 +0000)]
[USETUP] Code formatting only.

svn path=/branches/setup_improvements/; revision=74530

19 months ago[MSV1_0] Add logon support for the LocalService and NetworkService accounts
Eric Kohl [Sat, 26 May 2018 16:42:31 +0000 (18:42 +0200)]
[MSV1_0] Add logon support for the LocalService and NetworkService accounts

19 months ago[FASTFAT] Lock DirResource when modifying an entry on disk.
Pierre Schweitzer [Sat, 26 May 2018 15:12:03 +0000 (17:12 +0200)]
[FASTFAT] Lock DirResource when modifying an entry on disk.

Likely not optimal, but fixes some races conditions where
the directory is uninit in the middle of the write.

19 months ago[MSPAINT] When clicking selection, invalidate _and_ repaint Scroll Client _and_ Image...
Benedikt Freisen [Sat, 26 May 2018 11:23:20 +0000 (13:23 +0200)]
[MSPAINT] When clicking selection, invalidate _and_ repaint Scroll Client _and_ Image Area

Previously, the canvas disappeared when a selection was clicked until the mouse was moved.

CORE-13288

19 months ago[MSPAINT] Store subsequent changes to file selected via Save As
Benedikt Freisen [Sat, 26 May 2018 10:36:47 +0000 (12:36 +0200)]
[MSPAINT] Store subsequent changes to file selected via Save As

Paint has erroneously been storing subsequent changes to Unnamed.bmp

CORE-13291

19 months ago[UBTRFS] Upgrade to 1.0.2
Pierre Schweitzer [Sat, 26 May 2018 09:00:51 +0000 (11:00 +0200)]
[UBTRFS] Upgrade to 1.0.2

CORE-14655

19 months ago[SHELLBTRFS] Upgrade to 1.0.2
Pierre Schweitzer [Sat, 26 May 2018 08:58:48 +0000 (10:58 +0200)]
[SHELLBTRFS] Upgrade to 1.0.2

CORE-14655

19 months ago[BTRFS] Upgrade to 1.0.2
Pierre Schweitzer [Sat, 26 May 2018 08:44:36 +0000 (10:44 +0200)]
[BTRFS] Upgrade to 1.0.2

CORE-14655

19 months ago[FASTFAT] Initialize cache if neded for changing volume label.
Pierre Schweitzer [Sat, 26 May 2018 08:12:00 +0000 (10:12 +0200)]
[FASTFAT] Initialize cache if neded for changing volume label.

CORE-14654

19 months ago[MSGINA] Clean-up the resource IDs and the dialog function names.
Eric Kohl [Fri, 25 May 2018 23:54:58 +0000 (01:54 +0200)]
[MSGINA] Clean-up the resource IDs and the dialog function names.

19 months ago[NTOSKRNL] Implement KeQueryValuesProcess().
Pierre Schweitzer [Fri, 25 May 2018 19:40:39 +0000 (21:40 +0200)]
[NTOSKRNL] Implement KeQueryValuesProcess().

And make use of it.

19 months ago[NTOSKRNL] Make NtSetInformationJobObject() success for JobObjectExtendedLimitInformation
Pierre Schweitzer [Fri, 25 May 2018 06:46:19 +0000 (08:46 +0200)]
[NTOSKRNL] Make NtSetInformationJobObject() success for JobObjectExtendedLimitInformation

This fixes pip from Python 2.7.9 starting in ReactOS.
Though it doesn't work due to TLS issues.

19 months ago[NTOSKRNL] Define required sizes with structures sizes
Pierre Schweitzer [Fri, 25 May 2018 06:14:44 +0000 (08:14 +0200)]
[NTOSKRNL] Define required sizes with structures sizes

19 months ago[SDK] Add more types for job objects information
Pierre Schweitzer [Fri, 25 May 2018 06:14:16 +0000 (08:14 +0200)]
[SDK] Add more types for job objects information

19 months ago[NTOSKRNL] Implement NtQueryInformationJobObject().
Pierre Schweitzer [Thu, 24 May 2018 22:18:20 +0000 (00:18 +0200)]
[NTOSKRNL] Implement NtQueryInformationJobObject().

This is required by some Python2 applications
such as pip.exe

19 months ago[SDK] Add a few types for job objects information
Pierre Schweitzer [Thu, 24 May 2018 22:17:58 +0000 (00:17 +0200)]
[SDK] Add a few types for job objects information

19 months ago[MSPAINT] Fix call sequence in OnRButtonUp
Stanislav Motylkov [Thu, 24 May 2018 17:11:46 +0000 (20:11 +0300)]
[MSPAINT] Fix call sequence in OnRButtonUp

This fixes unexpected undo action when zooming out with right mouse
click.

The call sequence in OnLButtonUp is already correct.

CORE-14539

19 months ago[STORPORT] Enumerate attached devices
Eric Kohl [Thu, 24 May 2018 09:39:01 +0000 (11:39 +0200)]
[STORPORT] Enumerate attached devices

- Implement AcquireSpinlock, ReleaseSpinlock and GetExtendedFunctionTable notifications.
- Implement a bus scan routine, borrowed from scsiport.

Storport and storahci are now able to detect a disk device attached to a Virtual Box AHCI controller.

20 months ago[MSPAINT] Fix divide by zero in drawZoomFrame
Stanislav Motylkov [Wed, 23 May 2018 21:31:20 +0000 (00:31 +0300)]
[MSPAINT] Fix divide by zero in drawZoomFrame

CORE-14539 #resolve

20 months ago[SHELL32] Add icons to the 'File Types' listview (#557)
Katayama Hirofumi MZ [Wed, 23 May 2018 21:25:11 +0000 (06:25 +0900)]
[SHELL32] Add icons to the 'File Types' listview (#557)

This commit adds icons to the listview of the 'File Types' property sheet of Folder Options.
CORE-12906

20 months ago[MSPAINT] Fix copy-pasta bug (#562)
Stanislav Motylkov [Wed, 23 May 2018 20:17:22 +0000 (23:17 +0300)]
[MSPAINT] Fix copy-pasta bug (#562)

This would fix setting image height via Attributes dialog and help fixing CORE-14539.

20 months ago[MSGINA] Implement the Welcome text feature
Eric Kohl [Wed, 23 May 2018 11:51:45 +0000 (13:51 +0200)]
[MSGINA] Implement the Welcome text feature

20 months ago[NTOSKRNL] Addendum to 8a8cb4d: don't print uninit pointer.
Pierre Schweitzer [Wed, 23 May 2018 06:44:43 +0000 (08:44 +0200)]
[NTOSKRNL] Addendum to 8a8cb4d: don't print uninit pointer.

20 months ago[NTOSKRNL] Only consider SharedCacheMap value once ViewLock is acquired.
Pierre Schweitzer [Wed, 23 May 2018 06:37:50 +0000 (08:37 +0200)]
[NTOSKRNL] Only consider SharedCacheMap value once ViewLock is acquired.

This avoids a really nasty race condition in our cache controler where
two concurrents could try to initialize cache on the same file.
This had two nasty effects: first shared map was purely leaked and erased
by the second one. And the private cache map, allocated on the first shared
cache map couldn't be freed and was leading to Mm BSOD (free in a middle of
a block).

This was often triggered while building ReactOS on ReactOS (with multi threads).
With that patch, I cannot crash anylonger while building ReactOS.

CORE-14634

20 months ago[MSGINA] Clear the password on logoff
Eric Kohl [Tue, 22 May 2018 22:27:11 +0000 (00:27 +0200)]
[MSGINA] Clear the password on logoff

20 months ago[MSGIINA] Make sure we do not leak bitmaps
Eric Kohl [Tue, 22 May 2018 22:24:01 +0000 (00:24 +0200)]
[MSGIINA] Make sure we do not leak bitmaps

20 months ago[FASTFAT] Properly handle IRPs that can wait and these that cannot.
Pierre Schweitzer [Tue, 22 May 2018 19:29:10 +0000 (21:29 +0200)]
[FASTFAT] Properly handle IRPs that can wait and these that cannot.

CORE-14634

20 months ago[MSGINA] Always stop the automatic login after the first try
Eric Kohl [Tue, 22 May 2018 19:19:58 +0000 (21:19 +0200)]
[MSGINA] Always stop the automatic login after the first try

Fixes CORE-14643

20 months ago[WINLOGON] Ignore the CTRL+SHIFT+ESC hotkey when the session is not in the logged...
Eric Kohl [Tue, 22 May 2018 16:14:42 +0000 (18:14 +0200)]
[WINLOGON] Ignore the CTRL+SHIFT+ESC hotkey when the session is not in the logged-on state

Should fix CORE-13478

20 months ago[MSGINA] Do not try to impersonate the user on shutdown when we are already logged off
Eric Kohl [Tue, 22 May 2018 15:35:33 +0000 (17:35 +0200)]
[MSGINA] Do not try to impersonate the user on shutdown when we are already logged off

20 months ago[MSGINA] Close the LSA handle on shutdown
Eric Kohl [Tue, 22 May 2018 15:31:20 +0000 (17:31 +0200)]
[MSGINA] Close the LSA handle on shutdown

20 months ago[MSGINA] Close the user token in WlxLogoff
Eric Kohl [Tue, 22 May 2018 14:32:10 +0000 (16:32 +0200)]
[MSGINA] Close the user token in WlxLogoff

20 months ago[MSGINA] Rename context variable: Domain -> DomainName
Eric Kohl [Tue, 22 May 2018 12:39:38 +0000 (14:39 +0200)]
[MSGINA] Rename context variable: Domain -> DomainName

20 months ago[WINLOGON] Prevent shell restart when the user is logged off
Eric Kohl [Tue, 22 May 2018 12:36:55 +0000 (14:36 +0200)]
[WINLOGON] Prevent shell restart when the user is logged off

20 months ago[BOOTDATA][MSGINA][SYSSETUP] Rename the DefaultDomain registry value to DefaultDomainName
Eric Kohl [Tue, 22 May 2018 09:30:27 +0000 (11:30 +0200)]
[BOOTDATA][MSGINA][SYSSETUP] Rename the DefaultDomain registry value to DefaultDomainName

20 months ago[MSGINA] Add the IgnoreShiftOverride feature again
Eric Kohl [Tue, 22 May 2018 09:06:38 +0000 (11:06 +0200)]
[MSGINA] Add the IgnoreShiftOverride feature again

20 months ago[MSGINA] Simplify the auto logon code path
Eric Kohl [Mon, 21 May 2018 14:29:02 +0000 (16:29 +0200)]
[MSGINA] Simplify the auto logon code path

- Get rid of DoAutoLogon() and the AutoLogonState variable.
- Handle the auto logon in the normal logon code path instead.
- Set bAutoAdminLogon to FALSE on a successful login. This will prevent another automatic logon after a logoff.
- The IgnoreShiftOverride feature got lost by this change but I will add it again.

20 months ago[WINLOGON] Fix build.
Pierre Schweitzer [Mon, 21 May 2018 09:33:02 +0000 (11:33 +0200)]
[WINLOGON] Fix build.

20 months ago[WINLOGON] Close all dialog boxes on SAS
Eric Kohl [Mon, 21 May 2018 09:20:50 +0000 (11:20 +0200)]
[WINLOGON] Close all dialog boxes on SAS

CORE-13593

20 months ago[FASTFAT] Properly queue pending write IRPs.
Pierre Schweitzer [Mon, 21 May 2018 08:41:59 +0000 (10:41 +0200)]
[FASTFAT] Properly queue pending write IRPs.

Addendum to 30b836b

20 months ago[FASTFAT] When extending a file, also lock the DirResource.
Pierre Schweitzer [Mon, 21 May 2018 08:28:44 +0000 (10:28 +0200)]
[FASTFAT] When extending a file, also lock the DirResource.

This avoids race conditions under high IOs and thus corruption on
the FS, or assertions failures in the kernel.
Easily triggered by building ReactOS on ReactOS ;-).

20 months ago[SETUPAPI] Add stubs for CM_Detect_Resource_Conflict and CM_Detect_Resource_Conflict_Ex
Eric Kohl [Mon, 21 May 2018 00:30:35 +0000 (02:30 +0200)]
[SETUPAPI] Add stubs for CM_Detect_Resource_Conflict and CM_Detect_Resource_Conflict_Ex