https://git.reactos.org/?p=reactos.git;a=commitdiff;h=152265729bd4959eef9b0…
commit 152265729bd4959eef9b043642b19d985a98e94b
Author: Thomas Faber <thomas.faber(a)reactos.org>
AuthorDate: Sun Apr 5 23:02:57 2020 +0200
Commit: Thomas Faber <thomas.faber(a)reactos.org>
CommitDate: Sat Apr 11 23:43:05 2020 +0200
[ACPI] Properly return a single alternative in Bus_PDO_QueryResourceRequirements. CORE-12892 CORE-14688
In ACPI resource descriptors, alternatives are marked with
StartDependent tags. Only the last set is terminated with EndDependent.
Therefore, since we only return the first alternative list for now,
ignore the first StartDependent tag and terminate enumeration at the second.
In the future we will need to build the full set of alternative lists here,
which will also make the unit test succeed fully.
This should fix random resource conflicts and make COM ports usable.
---
drivers/bus/acpi/buspdo.c | 25 ++++++++++++++++++++++---
1 file changed, 22 insertions(+), 3 deletions(-)
diff --git a/drivers/bus/acpi/buspdo.c b/drivers/bus/acpi/buspdo.c
index 48e599f6aa4..35c452bfc59 100644
--- a/drivers/bus/acpi/buspdo.c
+++ b/drivers/bus/acpi/buspdo.c
@@ -1310,6 +1310,7 @@ Bus_PDO_QueryResourceRequirements(
PIO_RESOURCE_REQUIREMENTS_LIST RequirementsList;
PIO_RESOURCE_DESCRIPTOR RequirementDescriptor;
BOOLEAN CurrentRes = FALSE;
+ BOOLEAN SeenStartDependent;
PAGED_CODE ();
@@ -1360,10 +1361,19 @@ Bus_PDO_QueryResourceRequirements(
return STATUS_UNSUCCESSFUL;
}
- resource= Buffer.Pointer;
+ SeenStartDependent = FALSE;
+ resource = Buffer.Pointer;
/* Count number of resources */
- while (resource->Type != ACPI_RESOURCE_TYPE_END_TAG)
+ while (resource->Type != ACPI_RESOURCE_TYPE_END_TAG && resource->Type != ACPI_RESOURCE_TYPE_END_DEPENDENT)
{
+ if (resource->Type == ACPI_RESOURCE_TYPE_START_DEPENDENT)
+ {
+ if (SeenStartDependent)
+ {
+ break;
+ }
+ SeenStartDependent = TRUE;
+ }
switch (resource->Type)
{
case ACPI_RESOURCE_TYPE_EXTENDED_IRQ:
@@ -1433,9 +1443,18 @@ Bus_PDO_QueryResourceRequirements(
RequirementDescriptor = RequirementsList->List[0].Descriptors;
/* Fill resources list structure */
- resource = Buffer.Pointer;
+ SeenStartDependent = FALSE;
+ resource = Buffer.Pointer;
while (resource->Type != ACPI_RESOURCE_TYPE_END_TAG && resource->Type != ACPI_RESOURCE_TYPE_END_DEPENDENT)
{
+ if (resource->Type == ACPI_RESOURCE_TYPE_START_DEPENDENT)
+ {
+ if (SeenStartDependent)
+ {
+ break;
+ }
+ SeenStartDependent = TRUE;
+ }
switch (resource->Type)
{
case ACPI_RESOURCE_TYPE_EXTENDED_IRQ:
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=deebc5848e4e1cff9cbf3…
commit deebc5848e4e1cff9cbf3706c5ea370076eeb160
Author: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito(a)reactos.org>
AuthorDate: Sat Apr 11 17:56:23 2020 +0200
Commit: GitHub <noreply(a)github.com>
CommitDate: Sat Apr 11 17:56:23 2020 +0200
Remove the 'end_of_line' value. Addendum to 32db19f6 - PR #2528
According to https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties#e…
there is not yet any value to translate "use the native end-of-line" from the VCS.
So for the time being, let's follow the advice mentioned in the article:
> if you want to use native line endings between different operating systems it is better not to set this option and leave that task to the VCS.
---
.editorconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/.editorconfig b/.editorconfig
index b2a5a96a6f9..5808c0a329e 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -4,7 +4,6 @@
root = true
[*]
-end_of_line = crlf
insert_final_newline = true
charset = utf-8
indent_size = 4
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=3bd492db215bedaaf049f…
commit 3bd492db215bedaaf049f59650406510236717fa
Author: Joachim Henze <Joachim.Henze(a)reactos.org>
AuthorDate: Sat Apr 11 12:45:42 2020 +0200
Commit: Joachim Henze <Joachim.Henze(a)reactos.org>
CommitDate: Sat Apr 11 12:45:42 2020 +0200
[ZIPFLDR] CORE-16838 Update de-DE translation
---
dll/shellext/zipfldr/lang/de-DE.rc | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/dll/shellext/zipfldr/lang/de-DE.rc b/dll/shellext/zipfldr/lang/de-DE.rc
index 4945a2c2369..7ea7f29fc27 100644
--- a/dll/shellext/zipfldr/lang/de-DE.rc
+++ b/dll/shellext/zipfldr/lang/de-DE.rc
@@ -16,7 +16,7 @@ BEGIN
EDITTEXT IDC_DIRECTORY,6,24,222,12,ES_AUTOHSCROLL
PUSHBUTTON "Durchsuchen...",IDC_BROWSE,174,42,54,14
PUSHBUTTON "Kennwort",IDC_PASSWORD,174,66,54,14
- LTEXT "Click 'Next' to extract",IDC_STATUSTEXT,6,114,100,8
+ LTEXT "Klicken Sie auf 'Weiter' um zu extrahieren",IDC_STATUSTEXT,6,114,150,8
CONTROL "",IDC_PROGRESS,"msctls_progress32",WS_BORDER,6,126,222,6
END
@@ -46,15 +46,15 @@ END
IDD_PASSWORD DIALOGEX 0, 0, 243, 62
STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
-CAPTION "Password needed"
+CAPTION "Passwort benötigt"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
EDITTEXT IDC_PASSWORD,72,42,108,13,ES_PASSWORD | ES_AUTOHSCROLL
DEFPUSHBUTTON "OK",IDOK,186,6,50,14
- PUSHBUTTON "Skip File",IDSKIP,186,24,50,14
- PUSHBUTTON "Cancel",IDCANCEL,186,42,50,14
+ PUSHBUTTON "Datei überspringen",IDSKIP,186,24,50,14
+ PUSHBUTTON "Abbrechen",IDCANCEL,186,42,50,14
LTEXT "Static",IDC_MESSAGE,24,6,156,30
- LTEXT "Password:",IDC_STATIC,24,44,44,8
+ LTEXT "Passwort:",IDC_STATIC,24,44,44,8
END
STRINGTABLE
@@ -68,11 +68,11 @@ BEGIN
IDS_COL_DATE_MOD "Änderungsdatum"
IDS_YES "Ja"
IDS_NO "Nein"
- IDS_ERRORTITLE "Compressed (zipped) Folders Error"
- IDS_CANTSTARTTHREAD "Cannot start thread to compress files."
- IDS_NOFILES "The specified directory '%s' is empty, so Compressed (zipped) Folders cannot add it to the archive."
- IDS_CANTCREATEZIP "Failed to create a compressed folder '%s' (Error Code: %d)."
- IDS_CANTREADFILE "Cannot read file '%s'."
+ IDS_ERRORTITLE "Extrahier-Assistent Fehler"
+ IDS_CANTSTARTTHREAD "Der Kompressions-Thread konnte nicht gestartet werden."
+ IDS_NOFILES "Das angegebene Verzeichnis '%s' ist leer, es kann nicht in das Archiv aufgenommen werden."
+ IDS_CANTCREATEZIP "Fehler beim Erstellen des Archivs '%s' (Fehler Code: %d)."
+ IDS_CANTREADFILE "Datei '%s' konnte nicht gelesen werden."
IDS_EXTRACTING "Extrahieren..."
IDS_WIZ_TITLE "Extrahier-Assistent"
@@ -83,8 +83,8 @@ BEGIN
IDS_WIZ_BROWSE_TITLE "Wählen Sie ein Ziel zum Extrahieren der Dateien."
IDS_OVERWRITEFILE_TEXT "Dieser Ordner enthält bereits eine Datei '%1'.\nMöchten Sie die existierende Datei ersetzen?"
- IDS_PASSWORD_FILE_TEXT "The file '%1' is password protected. Please enter the password."
- IDS_PASSWORD_ZIP_TEXT "Please specify the password to use when extracting this zip file."
+ IDS_PASSWORD_FILE_TEXT "Die Datei '%1' ist passwort-geschützt. Bitte geben Sie das Passwort ein."
+ IDS_PASSWORD_ZIP_TEXT "Bitte geben Sie das Passwort ein, um Dateien dieses Archivs zu extrahieren."
IDS_MENUITEM "&Alle Extrahieren..."
IDS_HELPTEXT "Ordnerinhalt extrahieren"