Hermès Bélusca-Maïto
cbaa8e7dfb
[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()).
2018-11-11 21:56:18 +01:00
Hermès Bélusca-Maïto
a5ead049d9
[NTOS:IO] RAW-FS: Minor code formatting only.
2018-11-11 21:56:17 +01:00
Hermès Bélusca-Maïto
f527e23aa7
[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
2018-11-11 21:55:48 +01:00
Hermès Bélusca-Maïto
bfb2b88f82
[SETUPLIB] Use proper file share access when opening partitions for raw access.
2018-11-11 21:47:37 +01:00
Mark Harmstone
5729380349
[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
2018-11-11 21:47:29 +01:00
Eric Kohl
bebbb69b21
[MC] Add messages 2300-2484 to netmsg.dll.
2018-11-11 19:54:32 +01:00
Eric Kohl
7021115c21
[PSDK] Add missing NERR_IsDfsShare to lmerr.h.
2018-11-11 19:54:30 +01:00
Giannis Adamopoulos
73b679e4a6
[NETSHELL] CNetConUiObject: Fix implementation of IContextMenu.
...
The id that InvokeCommand gets is the one used by QueryContextMenu after subtracting idCmdFirst.
2018-11-11 20:28:36 +02:00
Giannis Adamopoulos
cd7a331749
[NETSHELL] CNetConUiObject: Implement handling the rename context menu item
2018-11-11 20:28:34 +02:00
Giannis Adamopoulos
af3a1b1936
[NETSHELL] CNetConUiObject: Use a switch in InvokeCommand
2018-11-11 20:28:32 +02:00
Giannis Adamopoulos
41639e94c2
[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
2018-11-11 20:28:31 +02:00
Giannis Adamopoulos
91119080bc
[NETSHELL] CNetworkConnections: SetNameOf should always return a new pidl on success.
...
CORE-14116
2018-11-11 20:28:29 +02:00
Giannis Adamopoulos
bcd309cb7a
[SHELL32] CDefView: Don't assume that SetNameOf always works properly so initialize pidlNew to NULL before
...
CORE-14116
2018-11-11 20:28:27 +02:00
Ged Murphy
f66f58991c
[FLTMC] Add volumes usage info
2018-11-11 18:05:47 +00:00
Ged Murphy
0231c8baec
[FLTMC] Implement 'fltmc volumes'
2018-11-11 17:58:39 +00:00
Ged Murphy
5617ba9841
[FLTMC] Support displaying legacy FS filters
2018-11-11 17:58:38 +00:00
Ged Murphy
14a05528d0
[FLTMC] Fix output when no args are shown
2018-11-11 17:58:38 +00:00
Ercan Ersoy
44323e610f
[TRANSLATION] Turkish translations of many components. ( #1026 )
2018-11-11 18:13:48 +01:00
Luo Yufan
5cdee1ab82
[TRANSLATION] Update Simplified Chinese translation. ( #1028 )
2018-11-11 17:57:12 +01:00
Eric Kohl
0d3f1a1c02
[MC] Add messages 2250-2299 and 3510-3513 to netmsg.dll.
2018-11-11 17:56:05 +01:00
Adam Słaboń
b8044d6783
[TRANSLATION] Polish translation update ( #1029 )
...
Translated missing strings and improved existing translations.
2018-11-11 17:55:01 +01:00
Pierre Schweitzer
26408b02f1
[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.
2018-11-11 17:38:37 +01:00
Mark Jansen
86ced3f237
[DRWTSN32] Include displacement in stacktrace.
2018-11-11 17:21:16 +01:00
Mark Jansen
027df341f3
[GFLAGS] Use the registry access flags passed in
2018-11-11 17:21:16 +01:00
Eric Kohl
8d8188b679
[MS] Add messages 2200-2249 and 3502-3507 to netmsg.dll.
2018-11-11 15:46:55 +01:00
Pierre Schweitzer
6747dacf10
[NTOSKRNL] Create a security descriptor for the \security directory object
2018-11-10 23:25:10 +01:00
Bișoc George
501145e27b
Update the release info
2018-11-10 15:53:14 +01:00
Pierre Schweitzer
102ba75f15
[NTOSKRNL] Return security descriptor size when querying object basic info
2018-11-10 10:54:10 +01:00
Pierre Schweitzer
1fb32afefa
[NTOSKRNL] Return quota information when querying object basic info
2018-11-10 10:54:06 +01:00
Eric Kohl
0b2da20b41
[MC] Add some messages to netmsg.dll.
2018-11-10 10:33:23 +01:00
Luo Yufan
91e032f9b1
[TRANSLATION] Update Simplified Chinese translation. ( #1025 )
2018-11-09 15:31:53 +01:00
Ercan Ersoy
ea47d95b05
[OSK][RAPPS][USETUP] Turkish translations update. ( #1024 )
2018-11-09 15:13:03 +01:00
Ercan Ersoy
89090b1618
[FDEBUG][OSK][WINHLP32] Turkish translations update. ( #1022 )
2018-11-08 18:52:56 +01:00
Luo Yufan
7fafe923cb
[SYSDM] Update Simplified Chinese translation. ( #1021 )
2018-11-08 14:08:34 +01:00
Ercan Ersoy
bb0de60a4e
[USETUP] Fix and add Turkish translation. ( #1020 )
2018-11-08 13:25:45 +01:00
Hermès Bélusca-Maïto
073c09e491
[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...
2018-11-08 01:02:21 +01:00
Bișoc George
4c6370de16
[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).
2018-11-07 23:16:29 +01:00
Bișoc George
538f9d6aae
[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.
2018-11-07 23:16:29 +01:00
Joann Mõndresku
b63e2d5046
[TRANSLATIONS] Style fixes for Estonian
2018-11-07 22:10:27 +01:00
Ercan Ersoy
2e562fd690
[WELCOME] Fix some Turkish translations.
2018-11-07 22:09:17 +01:00
Ercan Ersoy
7c0c3a1bd5
[REACTOS] Fix and add Turkish translations.
2018-11-07 22:09:17 +01:00
Joann Mõndresku
cc439606a5
[TRANSLATIONS] Estonian for various base applications
2018-11-07 16:58:16 +01:00
Katayama Hirofumi MZ
3ccb48e6c2
[INCLUDE] typo in msgdump.h, s/MS_msgdump/MD_msgdump/ ( #1016 )
...
Fix #1015 .
2018-11-08 00:51:41 +09:00
Zcooger
52eee8955c
[APPWIZ] Update polish translation ( #921 )
2018-11-07 16:20:32 +01:00
Katayama Hirofumi MZ
df5bee6509
[INCLUDE] Add <winxx.h> and <msgdump.h> ( #1015 )
...
File "sdk/include/reactos/msgdump.h" I added helps us dump Win32API message info. Use freely.
2018-11-07 22:28:59 +09:00
Joachim Henze
04e1263921
[SHELL32] Fix CORE-15295, wrong edit width in IDD_FILE_PROPERTIES for all langs
2018-11-07 01:40:53 +01:00
Eric Kohl
f26513f942
[NETSHELL] Add missing interface stubs to CNetworkConnections (aka CConnectionFolder).
2018-11-06 22:23:45 +01:00
Hermès Bélusca-Maïto
bbc4bb2d08
[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.
2018-11-06 00:09:16 +01:00
Hermès Bélusca-Maïto
a531843245
[REACTOS] Add two icons (drive and partition) for the drive list.
2018-11-06 00:09:15 +01:00
Hermès Bélusca-Maïto
6b1e7b182a
[REACTOS] Update translations and add dialog controls for Setup Summary dialog.
2018-11-06 00:09:15 +01:00