reactos.git
5 years ago[PSDK] Add missing NELOG-codes to lmerrlog.h
Eric Kohl [Fri, 16 Nov 2018 21:00:15 +0000 (22:00 +0100)]
[PSDK] Add missing NELOG-codes to lmerrlog.h

5 years ago[ACGENRAL] Don't leak memory on failure in InitIgnoreFreeLibrary()
Pierre Schweitzer [Fri, 16 Nov 2018 21:02:46 +0000 (22:02 +0100)]
[ACGENRAL] Don't leak memory on failure in InitIgnoreFreeLibrary()

CID 1441306

5 years ago[COMCTL32] Don't leak memory in CB_ThemedPaint()
Pierre Schweitzer [Fri, 16 Nov 2018 20:52:38 +0000 (21:52 +0100)]
[COMCTL32] Don't leak memory in CB_ThemedPaint()

CID 1441313

5 years ago[WIN32SS] Don't leak memory on failure in IntGdiWidenPath().
Pierre Schweitzer [Fri, 16 Nov 2018 20:42:42 +0000 (21:42 +0100)]
[WIN32SS] Don't leak memory on failure in IntGdiWidenPath().

CID 1441350

5 years ago[SETUPAPI] Allocate big enough buffer in CM_Query_Resource_Conflict_List().
Pierre Schweitzer [Fri, 16 Nov 2018 20:36:07 +0000 (21:36 +0100)]
[SETUPAPI] Allocate big enough buffer in CM_Query_Resource_Conflict_List().

CID 1441357

5 years ago[WIN32SS] Avoid an user-after-free in FontFamilyFillInfo().
Pierre Schweitzer [Fri, 16 Nov 2018 20:28:42 +0000 (21:28 +0100)]
[WIN32SS] Avoid an user-after-free in FontFamilyFillInfo().

CID 1441367

5 years ago[COMCTL32] Don't leak memory in PB_ThemedPaint()
Pierre Schweitzer [Fri, 16 Nov 2018 20:22:50 +0000 (21:22 +0100)]
[COMCTL32] Don't leak memory in PB_ThemedPaint()

CID 1441373

5 years ago[NTOSKRNL] Properly check for negative values in IoCheckEaBufferValidity()
Pierre Schweitzer [Fri, 16 Nov 2018 20:12:10 +0000 (21:12 +0100)]
[NTOSKRNL] Properly check for negative values in IoCheckEaBufferValidity()

CID 14413551441382

5 years ago[SYSSETUP] Fix error message in ApplyRegistryValues()
Pierre Schweitzer [Fri, 16 Nov 2018 19:00:30 +0000 (20:00 +0100)]
[SYSSETUP] Fix error message in ApplyRegistryValues()

CID 1441398

5 years ago[FASTFAT] Properly return failure in vfatFindDirSpace()
Pierre Schweitzer [Fri, 16 Nov 2018 18:35:36 +0000 (19:35 +0100)]
[FASTFAT] Properly return failure in vfatFindDirSpace()

CID 1441394

5 years ago[TRANSLATION] Add/update Turkish translations. (#1043)
Ercan Ersoy [Fri, 16 Nov 2018 15:59:09 +0000 (18:59 +0300)]
[TRANSLATION] Add/update Turkish translations. (#1043)

Add or update Turkish translations for: CHKDSK, DISKPART, FORMAT, SUBST and WINLOGON.

5 years ago[SYSTEMINFO] Fix Chinese resource to fix MSVC2010 build (#1041)
Katayama Hirofumi MZ [Fri, 16 Nov 2018 00:32:41 +0000 (09:32 +0900)]
[SYSTEMINFO] Fix Chinese resource to fix MSVC2010 build (#1041)

5 years ago[MC] Add messages 3150-3186 and 3530-3547 to netmsg.dll.
Eric Kohl [Thu, 15 Nov 2018 21:38:35 +0000 (22:38 +0100)]
[MC] Add messages 3150-3186 and 3530-3547 to netmsg.dll.

5 years ago[SHELL32] COpenWithMenu: Use ShellExecuteExW to open the file
Giannis Adamopoulos [Thu, 15 Nov 2018 19:24:56 +0000 (21:24 +0200)]
[SHELL32] COpenWithMenu: Use ShellExecuteExW to open the file
CORE-15353

5 years ago[TRACERT] Fix Coverity #1434258 "Out-of-Bounds access" (#1038)
Pako Smith [Thu, 15 Nov 2018 13:15:23 +0000 (16:15 +0300)]
[TRACERT] Fix Coverity #1434258 "Out-of-Bounds access" (#1038)

5 years ago[CMD] Fix Coverity #715934 "Copy-paste error" (#1040)
Pako Smith [Thu, 15 Nov 2018 10:57:41 +0000 (13:57 +0300)]
[CMD] Fix Coverity #715934 "Copy-paste error" (#1040)

Fix linked-list pointer comparison.

5 years ago[MC] Add messages 3100-3141 and 3516-3529 to netmsg.dll.
Eric Kohl [Wed, 14 Nov 2018 21:30:19 +0000 (22:30 +0100)]
[MC] Add messages 3100-3141 and 3516-3529 to netmsg.dll.

5 years ago[TRANSLATION]Update Simplified Chinese translation. (#1032)
Luo Yufan [Wed, 14 Nov 2018 12:42:21 +0000 (20:42 +0800)]
[TRANSLATION]Update Simplified Chinese translation. (#1032)

5 years ago[WINMM] Sync wine commit ebae298 as a fix for CORE-15336 (#1031)
Baruch Rutman [Wed, 14 Nov 2018 11:32:55 +0000 (13:32 +0200)]
[WINMM] Sync wine commit ebae298 as a fix for CORE-15336 (#1031)

Reduce CPU usage by only attempting once to load the default joystick driver.
Fix for CORE-15336

Imported wine commit ebae298
https://github.com/wine-mirror/wine/commit/ebae298aa4d2711fef35d4ac60c6012438f36d61
https://www.winehq.org/pipermail/wine-devel/2018-November/134767.html

5 years ago[TFTPD] Fix Coverity #1434273 "Out-of-Bounds access" (#1037)
Pako Smith [Wed, 14 Nov 2018 11:30:30 +0000 (14:30 +0300)]
[TFTPD] Fix Coverity #1434273 "Out-of-Bounds access" (#1037)

'extbuff' must be of size _MAX_PATH to comply with its usage in the GetModuleFileName() call made in the code.

5 years ago[NTOSKRNL] Don't leak DACL 1036/head
Pierre Schweitzer [Sun, 11 Nov 2018 22:20:46 +0000 (23:20 +0100)]
[NTOSKRNL] Don't leak DACL

Spotted by Thomas :-)

5 years ago[MC] Add messages 2500-2999. The NERR-range is complete.
Eric Kohl [Sun, 11 Nov 2018 21:38:07 +0000 (22:38 +0100)]
[MC] Add messages 2500-2999. The NERR-range is complete.

5 years ago[PSDK] Add missing NERR-codes to lmerr.h
Eric Kohl [Sun, 11 Nov 2018 21:37:02 +0000 (22:37 +0100)]
[PSDK] Add missing NERR-codes to lmerr.h

5 years ago[NTOS:IO] RAW-FS: Few improvements.
Hermès Bélusca-Maïto [Sun, 11 Nov 2018 20:27:30 +0000 (21:27 +0100)]
[NTOS:IO] RAW-FS: Few improvements.

- Simplify the volume-deletion code in RawCheckForDismount().

- Fixes the OpenCount check in RawClose(): the VCB mutex must be
  released when the volume has not been dismounted, either because
  OpenCount != 0 or because RawCheckForDismount() returned FALSE.

- Explicitly use VCB_STATE_LOCKED instead of hardcoding its value.

- In IRP_MN_VERIFY_VOLUME handling, lock the volume before playing
  with it, and again let the volume be dismounted only if OpenCount == 0
  (and the IoDeleteDevice() call is done by RawCheckForDismount()).

5 years ago[NTOS:IO] RAW-FS: Minor code formatting only.
Hermès Bélusca-Maïto [Sun, 11 Nov 2018 20:23:21 +0000 (21:23 +0100)]
[NTOS:IO] RAW-FS: Minor code formatting only.

5 years ago[SETUPLIB] Lock the BTRFS volume before installing the new bootsector code.
Hermès Bélusca-Maïto [Sun, 11 Nov 2018 19:31:35 +0000 (20:31 +0100)]
[SETUPLIB] Lock the BTRFS volume before installing the new bootsector code.

CORE-15334 CORE-15339

The BTRFS driver requires the volume to be locked in order to modify
the first sectors of the partition, even though they are outside the
file-system space / in the reserved area (they are situated before
the super-block at 0x1000) and is in principle allowed by the NT
storage stack.
So we lock here in order to write the bootsector at sector 0.
If locking fails, we ignore and continue nonetheless.

See also the following links for reference:
https://stackoverflow.com/a/12928934
https://docs.microsoft.com/en-us/windows/desktop/api/fileapi/nf-fileapi-writefile
https://support.microsoft.com/en-us/help/942448/changes-to-the-file-system-and-to-the-storage-stack-to-restrict-direct

5 years ago[SETUPLIB] Use proper file share access when opening partitions for raw access.
Hermès Bélusca-Maïto [Sun, 11 Nov 2018 16:14:13 +0000 (17:14 +0100)]
[SETUPLIB] Use proper file share access when opening partitions for raw access.

5 years ago[BTRFS] Import BTRFS upstream commit e43183a0 "open_file: set granted_access when...
Mark Harmstone [Sun, 11 Nov 2018 18:47:35 +0000 (18:47 +0000)]
[BTRFS] Import BTRFS upstream commit e43183a0 "open_file: set granted_access when creating file".

Better solution for the original problem described at:
https://github.com/maharmstone/btrfs/pull/123

5 years ago[MC] Add messages 2300-2484 to netmsg.dll.
Eric Kohl [Sun, 11 Nov 2018 18:53:34 +0000 (19:53 +0100)]
[MC] Add messages 2300-2484 to netmsg.dll.

5 years ago[PSDK] Add missing NERR_IsDfsShare to lmerr.h.
Eric Kohl [Sun, 11 Nov 2018 18:33:49 +0000 (19:33 +0100)]
[PSDK] Add missing NERR_IsDfsShare to lmerr.h.

5 years ago[NETSHELL] CNetConUiObject: Fix implementation of IContextMenu.
Giannis Adamopoulos [Sun, 11 Nov 2018 18:09:53 +0000 (20:09 +0200)]
[NETSHELL] CNetConUiObject: Fix implementation of IContextMenu.
The id that InvokeCommand gets is the one used by QueryContextMenu after subtracting idCmdFirst.

5 years ago[NETSHELL] CNetConUiObject: Implement handling the rename context menu item
Giannis Adamopoulos [Sun, 11 Nov 2018 13:46:58 +0000 (15:46 +0200)]
[NETSHELL] CNetConUiObject: Implement handling the rename context menu item

5 years ago[NETSHELL] CNetConUiObject: Use a switch in InvokeCommand
Giannis Adamopoulos [Sun, 11 Nov 2018 13:37:44 +0000 (15:37 +0200)]
[NETSHELL] CNetConUiObject: Use a switch in InvokeCommand

5 years ago[NETSHELL] CNetworkConnections: Remove SFGAO_CANRENAME bit when renaming shouldn...
Giannis Adamopoulos [Sun, 11 Nov 2018 10:40:45 +0000 (12:40 +0200)]
[NETSHELL] CNetworkConnections: Remove SFGAO_CANRENAME bit when renaming shouldn't be enabled.
This fixes the problem where renaming could take place by clicking on a name even when it is disabled in the context menu.
CORE-14116

5 years ago[NETSHELL] CNetworkConnections: SetNameOf should always return a new pidl on success.
Giannis Adamopoulos [Sun, 11 Nov 2018 10:29:20 +0000 (12:29 +0200)]
[NETSHELL] CNetworkConnections: SetNameOf should always return a new pidl on success.
CORE-14116

5 years ago[SHELL32] CDefView: Don't assume that SetNameOf always works properly so initialize...
Giannis Adamopoulos [Sun, 11 Nov 2018 10:27:55 +0000 (12:27 +0200)]
[SHELL32] CDefView: Don't assume that SetNameOf always works properly so initialize pidlNew to NULL before
CORE-14116

5 years ago[FLTMC] Add volumes usage info
Ged Murphy [Sun, 11 Nov 2018 18:05:47 +0000 (18:05 +0000)]
[FLTMC] Add volumes usage info

5 years ago[FLTMC] Implement 'fltmc volumes'
Ged Murphy [Sun, 11 Nov 2018 17:57:56 +0000 (17:57 +0000)]
[FLTMC] Implement 'fltmc volumes'

5 years ago[FLTMC] Support displaying legacy FS filters
Ged Murphy [Sun, 11 Nov 2018 15:41:23 +0000 (15:41 +0000)]
[FLTMC] Support displaying legacy FS filters

5 years ago[FLTMC] Fix output when no args are shown
Ged Murphy [Sun, 11 Nov 2018 15:02:34 +0000 (15:02 +0000)]
[FLTMC] Fix output when no args are shown

5 years ago[TRANSLATION] Turkish translations of many components. (#1026)
Ercan Ersoy [Sun, 11 Nov 2018 17:13:48 +0000 (20:13 +0300)]
[TRANSLATION] Turkish translations of many components. (#1026)

5 years ago[TRANSLATION] Update Simplified Chinese translation. (#1028)
Luo Yufan [Sun, 11 Nov 2018 16:57:12 +0000 (00:57 +0800)]
[TRANSLATION] Update Simplified Chinese translation. (#1028)

5 years ago[MC] Add messages 2250-2299 and 3510-3513 to netmsg.dll.
Eric Kohl [Sun, 11 Nov 2018 16:55:16 +0000 (17:55 +0100)]
[MC] Add messages 2250-2299 and 3510-3513 to netmsg.dll.

5 years ago[TRANSLATION] Polish translation update (#1029)
Adam Słaboń [Sun, 11 Nov 2018 16:55:01 +0000 (17:55 +0100)]
[TRANSLATION] Polish translation update (#1029)

Translated missing strings and improved existing translations.

5 years ago[SETUP] Align partition start at 2048 minimum
Pierre Schweitzer [Sun, 11 Nov 2018 16:34:35 +0000 (17:34 +0100)]
[SETUP] Align partition start at 2048 minimum

This will allow compatibility with modern OSes and
modern disk management utilities.
It will also improve performances by properly aligning
partition start.
And it will let enough room at the begin of the disk
for 3rd party bootloaders.

WARNING: this is not compatible with previous partition
model, and old one will likely not be compatible. You'll
have to erase your whole partition table and start from
scratch.

5 years ago[DRWTSN32] Include displacement in stacktrace.
Mark Jansen [Sun, 11 Nov 2018 14:39:37 +0000 (15:39 +0100)]
[DRWTSN32] Include displacement in stacktrace.

5 years ago[GFLAGS] Use the registry access flags passed in
Mark Jansen [Sun, 11 Nov 2018 14:34:59 +0000 (15:34 +0100)]
[GFLAGS] Use the registry access flags passed in

5 years ago[MS] Add messages 2200-2249 and 3502-3507 to netmsg.dll.
Eric Kohl [Sun, 11 Nov 2018 14:46:15 +0000 (15:46 +0100)]
[MS] Add messages 2200-2249 and 3502-3507 to netmsg.dll.

5 years ago[NTOSKRNL] Create a security descriptor for the \security directory object
Pierre Schweitzer [Sat, 10 Nov 2018 22:23:59 +0000 (23:23 +0100)]
[NTOSKRNL] Create a security descriptor for the \security directory object

5 years agoUpdate the release info
Bișoc George [Sat, 10 Nov 2018 14:48:11 +0000 (15:48 +0100)]
Update the release info

5 years ago[NTOSKRNL] Return security descriptor size when querying object basic info
Pierre Schweitzer [Sat, 10 Nov 2018 09:31:03 +0000 (10:31 +0100)]
[NTOSKRNL] Return security descriptor size when querying object basic info

5 years ago[NTOSKRNL] Return quota information when querying object basic info
Pierre Schweitzer [Sat, 10 Nov 2018 09:02:34 +0000 (10:02 +0100)]
[NTOSKRNL] Return quota information when querying object basic info

5 years ago[MC] Add some messages to netmsg.dll.
Eric Kohl [Sat, 10 Nov 2018 09:32:30 +0000 (10:32 +0100)]
[MC] Add some messages to netmsg.dll.

5 years ago[TRANSLATION] Update Simplified Chinese translation. (#1025)
Luo Yufan [Fri, 9 Nov 2018 14:31:53 +0000 (22:31 +0800)]
[TRANSLATION] Update Simplified Chinese translation. (#1025)

5 years ago[OSK][RAPPS][USETUP] Turkish translations update. (#1024)
Ercan Ersoy [Fri, 9 Nov 2018 14:13:03 +0000 (17:13 +0300)]
[OSK][RAPPS][USETUP] Turkish translations update. (#1024)

5 years ago[FDEBUG][OSK][WINHLP32] Turkish translations update. (#1022)
Ercan Ersoy [Thu, 8 Nov 2018 17:52:56 +0000 (20:52 +0300)]
[FDEBUG][OSK][WINHLP32] Turkish translations update. (#1022)

5 years ago[SYSDM] Update Simplified Chinese translation. (#1021)
Luo Yufan [Thu, 8 Nov 2018 13:08:34 +0000 (21:08 +0800)]
[SYSDM] Update Simplified Chinese translation. (#1021)

5 years ago[USETUP] Fix and add Turkish translation. (#1020)
Ercan Ersoy [Thu, 8 Nov 2018 12:25:45 +0000 (15:25 +0300)]
[USETUP] Fix and add Turkish translation. (#1020)

5 years ago[USETUP] Display the chosen filesystem name in case of bootcode installation failure.
Hermès Bélusca-Maïto [Wed, 7 Nov 2018 23:54:59 +0000 (00:54 +0100)]
[USETUP] Display the chosen filesystem name in case of bootcode installation failure.

Simplified implementation of the proposed solution by George Bișoc
and revised by Victor Perevertkin from PR #952.

NOTE: For whatever reason ERROR_INSTALL_BOOTCODE and ERROR_WRITE_BOOT
seem to be redundant with each other. To be investigated...

5 years ago[USETUP] Remove the PARTITION_EXT2 constant and use PARTITION_LINUX in favour since...
Bișoc George [Sun, 28 Oct 2018 12:28:56 +0000 (13:28 +0100)]
[USETUP] Remove the PARTITION_EXT2 constant and use PARTITION_LINUX in favour since PARTITION_EXT2 is just an alias to PARTITION_LINUX

And since we're here, add PARTITION_LINUX_EXT to ReactOS I/O controls header (rosioctl.h).

5 years ago[USETUP] When choosing BTRFS for the partition, don't think of it as Ext2 but just...
Bișoc George [Fri, 19 Oct 2018 18:07:44 +0000 (20:07 +0200)]
[USETUP] When choosing BTRFS for the partition, don't think of it as Ext2 but just a Linux partition

Most of Linux filesystems have the MBR ID assigned as 0x83 and when the user chooses BTRFS upon partitions page wizard, we're thinking of the partition as having Ext2 filesystem which is wrong and misleading.

5 years ago[TRANSLATIONS] Style fixes for Estonian
Joann Mõndresku [Sun, 28 Oct 2018 07:28:09 +0000 (09:28 +0200)]
[TRANSLATIONS] Style fixes for Estonian

5 years ago[WELCOME] Fix some Turkish translations.
Ercan Ersoy [Wed, 7 Nov 2018 19:02:31 +0000 (22:02 +0300)]
[WELCOME] Fix some Turkish translations.

5 years ago[REACTOS] Fix and add Turkish translations.
Ercan Ersoy [Wed, 7 Nov 2018 19:00:33 +0000 (22:00 +0300)]
[REACTOS] Fix and add Turkish translations.

5 years ago[TRANSLATIONS] Estonian for various base applications
Joann Mõndresku [Fri, 26 Oct 2018 21:40:19 +0000 (00:40 +0300)]
[TRANSLATIONS] Estonian for various base applications

5 years ago[INCLUDE] typo in msgdump.h, s/MS_msgdump/MD_msgdump/ (#1016)
Katayama Hirofumi MZ [Wed, 7 Nov 2018 15:51:41 +0000 (00:51 +0900)]
[INCLUDE] typo in msgdump.h, s/MS_msgdump/MD_msgdump/ (#1016)

Fix #1015.

5 years ago[APPWIZ] Update polish translation (#921)
Zcooger [Wed, 7 Nov 2018 15:20:32 +0000 (16:20 +0100)]
[APPWIZ] Update polish translation (#921)

5 years ago[INCLUDE] Add <winxx.h> and <msgdump.h> (#1015)
Katayama Hirofumi MZ [Wed, 7 Nov 2018 13:28:59 +0000 (22:28 +0900)]
[INCLUDE] Add <winxx.h> and <msgdump.h> (#1015)

File "sdk/include/reactos/msgdump.h" I added helps us dump Win32API message info. Use freely.

5 years ago[SHELL32] Fix CORE-15295, wrong edit width in IDD_FILE_PROPERTIES for all langs
Joachim Henze [Wed, 7 Nov 2018 00:40:53 +0000 (01:40 +0100)]
[SHELL32] Fix CORE-15295, wrong edit width in IDD_FILE_PROPERTIES for all langs

5 years ago[NETSHELL] Add missing interface stubs to CNetworkConnections (aka CConnectionFolder).
Eric Kohl [Tue, 6 Nov 2018 21:23:08 +0000 (22:23 +0100)]
[NETSHELL] Add missing interface stubs to CNetworkConnections (aka CConnectionFolder).

5 years ago[REACTOS] Add features/usability additions.
Hermès Bélusca-Maïto [Sun, 28 Jan 2018 22:47:25 +0000 (23:47 +0100)]
[REACTOS] Add features/usability additions.

- Interface the TreeList code and populate it with the list of
  discovered disks and partitions. Code is adapted from USETUP.
  Also display the names of the disks.

- Display some installation settings summary, before doing the
  installation proper.

- Force the user to select a checkbox when (s)he acknowledges that
  ReactOS is alpha-quality software and may break on his/her computer
  or corrupt his/her data.

- Improve wizard pages transitions and buttons enabling/disabling.

- Press Shift-F10 to start a command-line (as in the 2nd-stage setup
  in syssetup.dll).

- Use some explicit UNICODE functions/macros.

5 years ago[REACTOS] Add two icons (drive and partition) for the drive list.
Hermès Bélusca-Maïto [Sun, 28 Jan 2018 22:05:43 +0000 (23:05 +0100)]
[REACTOS] Add two icons (drive and partition) for the drive list.

5 years ago[REACTOS] Update translations and add dialog controls for Setup Summary dialog.
Hermès Bélusca-Maïto [Sun, 28 Jan 2018 21:53:47 +0000 (22:53 +0100)]
[REACTOS] Update translations and add dialog controls for Setup Summary dialog.

5 years ago[REACTOS] Add a TreeList control (TreeView with columns).
Hermès Bélusca-Maïto [Sun, 28 Jan 2018 21:10:51 +0000 (22:10 +0100)]
[REACTOS] Add a TreeList control (TreeView with columns).

Add the TreeList control from Anton Zechner and Sébastien Kirche
from https://github.com/sebkirche/treelist (under GPL-3.0+) as a
*TEMPORARY* solution until a better-suited control for ReactOS is
developed.

- Compilation fixes for the TreeList control.

5 years ago[SETUPLIB] Retrieve and store the machine (architecture) ID of the discovered NTOS...
Hermès Bélusca-Maïto [Sun, 28 Jan 2018 22:32:52 +0000 (23:32 +0100)]
[SETUPLIB] Retrieve and store the machine (architecture) ID of the discovered NTOS installations. Will be used later.

5 years ago[SETUPLIB][USETUP] Partition code improvements.
Hermès Bélusca-Maïto [Sun, 28 Jan 2018 22:24:06 +0000 (23:24 +0100)]
[SETUPLIB][USETUP] Partition code improvements.

- SETUPLIB and USETUP: Convert PARTENTRY::DriveLetter to WCHAR.

- SETUPLIB: Retrieve volume label.

- SETUPLIB and USETUP: Move the partition types (IDs) table from
  USETUP to SETUPLIB so that they can share it with the 1st-stage
  GUI installer too. Also take the opportunity to update the table
  with information from http://www.win.tue.nl/~aeb/partitions/partition_types-1.html
  and cross-checked with the list from Paragon Hard-Disk Manager.

- USETUP: Simplify PrintPartitionData().
- Add some code comments.

5 years ago[REACTOS] Add helpers and modify ConvertNtPathToWin32Path() to make it use a cache...
Hermès Bélusca-Maïto [Tue, 9 Jan 2018 02:21:38 +0000 (03:21 +0100)]
[REACTOS] Add helpers and modify ConvertNtPathToWin32Path() to make it use a cache of NT/Win32 path mappings.

This increases performance for each time the SETUPLIB calls (using NT paths)
Win32 SetupAPI functions which of course only accept Win32 paths.

- Handle also the fact that a NT path to convert may start with
  \Device\HarddiskX\PartitionY\..., which can be a symlink to
  \Device\HarddiskVolumeN\... on some systems. In that case, the
  Win32 path mapping should be done slightly differently.

- Add support for network mapped drives.

5 years ago[REACTOS] Diverse UI improvements.
Hermès Bélusca-Maïto [Sun, 7 Jan 2018 00:35:48 +0000 (01:35 +0100)]
[REACTOS] Diverse UI improvements.

- Improve UI usage and wizard transitions (Work In Progress).
- Add interfacing code that display installation status.
- When the user attempts to cancel the installation during file copying,
  pause the file copying, and restart it if the user changes it mind and
  wants to continue the installation. Otherwise file copying is properly
  halted.

5 years ago[BOOTDATA][SETUPLIB][REACTOS] INF support fixes.
Hermès Bélusca-Maïto [Mon, 15 Jan 2018 17:09:53 +0000 (18:09 +0100)]
[BOOTDATA][SETUPLIB][REACTOS] INF support fixes.

- BOOTDATA: Use standard INF signature string, so that they can be
  opened successfully using ReactOS' or Windows' setupapi.dll with
  the INF_STYLE_WIN4 style.

- SETUPLIB: Use the correct INF_STYLE_* INF styles in SpInfOpenInfFile() calls.

- REACTOS : Switch thread locale to user-specified LocaleId when calling
  SetupOpenInfFileW(), so that the correct localized strings are used.

5 years ago[SETUPLIB] Fixes and improvements for the file copying code.
Hermès Bélusca-Maïto [Sun, 7 Jan 2018 00:35:48 +0000 (01:35 +0100)]
[SETUPLIB] Fixes and improvements for the file copying code.

- In PrepareCopyInfFile(), explicitly use AddSectionToCopyQueueCab()
  to retrieve the files from the CAB INF.

  Otherwise if one continued to use and rely on AddSectionToCopyQueue()
  to do this job instead, bad things could happen like, re-enumerating
  twice or more (and adding them to the file queue) the same files.
  This is because in the new code AddSectionToCopyQueue() can be called
  many times to deal with different SIF file sections. The old code then
  called AddSectionToCopyQueueCab() in turn, but on the same list...
  Now the steps performed are clear, and everything works as intended.

- Simplify the code that computes the full source and destination paths
  for the files to be copied and directories to be created, using helper
  functions.

- Compute the source file and target location from the TXTSETUP.SIF
  entries in a NT-compatible manner.

5 years ago[BOOTDATA] Use a Win2k3-compatible TXTSETUP.SIF layout for the specification of the...
Hermès Bélusca-Maïto [Sun, 7 Jan 2018 00:47:52 +0000 (01:47 +0100)]
[BOOTDATA] Use a Win2k3-compatible TXTSETUP.SIF layout for the specification of the files list.

Also add detailed documentation about the meaning of each field, obtained from:
- my own tests;
- http://www.msfn.org/board/topic/125480-txtsetupsif-syntax/
- http://www.msfn.org/board/topic/127677-txtsetupsif-layoutinf-reference/

In addition, add a spreadsheet that helps generating the files list.

Note that the files source directory is "\reactos", until we use
per-architecture directories in the installation medium.

5 years ago[SETUPLIB][USETUP] Move all the code that performs file copying into the SETUPLIB.
Hermès Bélusca-Maïto [Sun, 7 Jan 2018 00:35:48 +0000 (01:35 +0100)]
[SETUPLIB][USETUP] Move all the code that performs file copying into the SETUPLIB.

5 years ago[SETUPLIB][USETUP] Add support for setup error handling.
Hermès Bélusca-Maïto [Sun, 28 Oct 2018 21:51:33 +0000 (22:51 +0100)]
[SETUPLIB][USETUP] Add support for setup error handling.

5 years ago[WIN32SS][FONT] Fix regression of #1004 (#1012)
Katayama Hirofumi MZ [Mon, 5 Nov 2018 07:24:23 +0000 (16:24 +0900)]
[WIN32SS][FONT] Fix regression of #1004 (#1012)

Signed-off-by: Doug Lyons <douglyons@douglyons.com>
CORE-15333

5 years ago[SCHEDSVC] Start jobs on timeout
Eric Kohl [Sun, 4 Nov 2018 23:22:30 +0000 (00:22 +0100)]
[SCHEDSVC] Start jobs on timeout

- Start jobs on timeout
- Add job flags to the idl file

5 years ago[WIN32SS][FONT] Fix ntmCellHeight value to usWinAscent + usWinDescent (#1010)
Katayama Hirofumi MZ [Sun, 4 Nov 2018 21:03:53 +0000 (06:03 +0900)]
[WIN32SS][FONT] Fix ntmCellHeight value to usWinAscent + usWinDescent (#1010)

CORE-15331

5 years ago[MC] Add some messages to netmsg.dll
Eric Kohl [Sun, 4 Nov 2018 17:39:13 +0000 (18:39 +0100)]
[MC] Add some messages to netmsg.dll

5 years ago[LSASRV] Return STATUS_DIRECTORY_SERVICE_REQUIRED for all trusted domain functions...
Eric Kohl [Sun, 4 Nov 2018 14:27:57 +0000 (15:27 +0100)]
[LSASRV] Return STATUS_DIRECTORY_SERVICE_REQUIRED for all trusted domain functions that use a policy handle and a domain name or domain SID when the machine is not a domain controller.

5 years ago[LSASRV] Coding style fixes
Eric Kohl [Sun, 4 Nov 2018 11:50:21 +0000 (12:50 +0100)]
[LSASRV] Coding style fixes

5 years ago[KMTESTS:MM] Fix 'PAGE_NOACCESS' copypasta, in an error string
Serge Gautherie [Sat, 3 Nov 2018 13:57:24 +0000 (14:57 +0100)]
[KMTESTS:MM] Fix 'PAGE_NOACCESS' copypasta, in an error string

ROSTESTS-110

5 years ago[KMTESTS/MM] Enable again accessing forbidden memory.
Jérôme Gardou [Fri, 2 Nov 2018 17:26:52 +0000 (18:26 +0100)]
[KMTESTS/MM] Enable again accessing forbidden memory.

Also adda test case for the PAGE_GUARD case

ROSTESTS-110

5 years ago[NTOS/MM] Properly handle page faults in regions marked with
Jérôme Gardou [Fri, 2 Nov 2018 17:23:16 +0000 (18:23 +0100)]
[NTOS/MM] Properly handle page faults in regions marked with
PAGE_NOACCESS or PAGE_GUARD

ROSTESTS-110

5 years ago[NTOS/MM] Move up MmAlterViewAttributes for later use in MmNotPresentFaultSectionView
Jérôme Gardou [Fri, 2 Nov 2018 17:20:13 +0000 (18:20 +0100)]
[NTOS/MM] Move up MmAlterViewAttributes for later use in MmNotPresentFaultSectionView

No code change

5 years ago[WIN32SS][FONT] Define IntUnicodeStringToBuffer function and use it (#1004)
Katayama Hirofumi MZ [Fri, 2 Nov 2018 20:42:58 +0000 (05:42 +0900)]
[WIN32SS][FONT] Define IntUnicodeStringToBuffer function and use it (#1004)

- Define IntUnicodeStringToBuffer function to copy the contents of a UNICODE_STRING to a string buffer with a UNICODE_NULL correctly.
- Use it.
JIRA issue: N/A

5 years ago[WIN32SS][FONT] Improve Precision Penalty (#1006)
Katayama Hirofumi MZ [Fri, 2 Nov 2018 20:37:05 +0000 (05:37 +0900)]
[WIN32SS][FONT] Improve Precision Penalty (#1006)

5 years ago[REACTOS] Don't include another module's PCH aka fix build.
Thomas Faber [Fri, 2 Nov 2018 10:10:07 +0000 (11:10 +0100)]
[REACTOS] Don't include another module's PCH aka fix build.

5 years ago[WIN32SS][FONT] Add ASSERT_FREETYPE_LOCK_HELD(); in FillTMEx (#1005)
Katayama Hirofumi MZ [Fri, 2 Nov 2018 09:53:50 +0000 (18:53 +0900)]
[WIN32SS][FONT] Add ASSERT_FREETYPE_LOCK_HELD(); in FillTMEx (#1005)

Add a assertion for locking, in FillTMEx function of freetype.c. CORE-15166

5 years ago[SETUPAPI] Don't let LZClose() reset error code
Pierre Schweitzer [Fri, 2 Nov 2018 08:34:25 +0000 (09:34 +0100)]
[SETUPAPI] Don't let LZClose() reset error code

5 years agoAvoid stray temp files in failure cases of do_file_copyW. CORE-12616
Carlo Bramini [Fri, 2 Mar 2018 09:14:07 +0000 (10:14 +0100)]
Avoid stray temp files in failure cases of do_file_copyW. CORE-12616

5 years ago[WIN32SS][FONT] Move IntUnLockFreeType(); in ftGdiGetTextMetricsW (#1002)
Katayama Hirofumi MZ [Fri, 2 Nov 2018 07:29:18 +0000 (16:29 +0900)]
[WIN32SS][FONT] Move IntUnLockFreeType(); in ftGdiGetTextMetricsW (#1002)

Adjust timing of FreeType unlocking in ftGdiGetTextMetricsW function of "freetype.c". JIRA issue: N/A