https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0a80b77e766964e84e38a…
commit 0a80b77e766964e84e38a4559956ffc30d32786b
Author: Giannis Adamopoulos <gadamopoulos(a)reactos.org>
AuthorDate: Fri Jan 4 01:22:44 2019 +0200
Commit: Giannis Adamopoulos <gadamopoulos(a)reactos.org>
CommitDate: Fri Jan 4 13:29:26 2019 +0200
[WINSRV] usersrv: Simplify sanity checks in UserClientShutdown
UserClientShutdown will never be called for csrss so we don't need to have a check for that. The existing check was broken and wasn't doing anything anyway.
Handle processing winlogon by doing nothing so that consrv won't be bothered about it.
---
win32ss/user/winsrv/usersrv/shutdown.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/win32ss/user/winsrv/usersrv/shutdown.c b/win32ss/user/winsrv/usersrv/shutdown.c
index c73a535ffb..539ef2a932 100644
--- a/win32ss/user/winsrv/usersrv/shutdown.c
+++ b/win32ss/user/winsrv/usersrv/shutdown.c
@@ -770,15 +770,17 @@ UserClientShutdown(IN PCSR_PROCESS CsrProcess,
return CsrShutdownNonCsrProcess;
}
- /* Do not kill Winlogon or CSRSS */
- if (CsrProcess->ClientId.UniqueProcess == NtCurrentProcess() ||
- CsrProcess->ClientId.UniqueProcess == UlongToHandle(LogonProcessId))
+ /* Do not kill Winlogon */
+ if (CsrProcess->ClientId.UniqueProcess == UlongToHandle(LogonProcessId))
{
DPRINT("Not killing %s; CsrProcess->ShutdownFlags = %lu\n",
CsrProcess->ClientId.UniqueProcess == NtCurrentProcess() ? "CSRSS" : "Winlogon",
CsrProcess->ShutdownFlags);
- return CsrShutdownNonCsrProcess;
+ /* Returning CsrShutdownCsrProcess means that we handled this process by doing nothing */
+ /* This will mark winlogon as processed so consrv won't be notified again for it */
+ CsrDereferenceProcess(CsrProcess);
+ return CsrShutdownCsrProcess;
}
/* Notify the process for shutdown if needed */
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=97d0595bf6810713b4a74…
commit 97d0595bf6810713b4a74b2337e98d63496f2d81
Author: Mark Jansen <mark.jansen(a)reactos.org>
AuthorDate: Fri Dec 28 19:25:43 2018 +0100
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Thu Jan 3 22:52:06 2019 +0100
[LDR] Don't dereference a possible nullptr
---
dll/ntdll/ldr/ldrinit.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/dll/ntdll/ldr/ldrinit.c b/dll/ntdll/ldr/ldrinit.c
index bc72c952cd..d28cb6e8a1 100644
--- a/dll/ntdll/ldr/ldrinit.c
+++ b/dll/ntdll/ldr/ldrinit.c
@@ -2135,8 +2135,10 @@ LdrpInitializeProcess(IN PCONTEXT Context,
if (FreeCurDir) RtlFreeUnicodeString(&CurrentDirectory);
}
- /* Check if we should look for a .local file */
- if (ProcessParameters->Flags & RTL_USER_PROCESS_PARAMETERS_LOCAL_DLL_PATH)
+ /* Check if we should look for a .local file
+ FIXME: Thomas suggested that this check might actually be reversed, we should check this file
+ if the flag is NOT set. */
+ if (ProcessParameters && (ProcessParameters->Flags & RTL_USER_PROCESS_PARAMETERS_LOCAL_DLL_PATH))
{
/* FIXME */
DPRINT1("We don't support .local overrides yet\n");
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=760027783a6c8d5c8e23f…
commit 760027783a6c8d5c8e23fb49addef4c694b8e672
Author: Bișoc George <fraizeraust99(a)gmail.com>
AuthorDate: Thu Jan 3 22:28:03 2019 +0100
Commit: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito(a)reactos.org>
CommitDate: Thu Jan 3 22:28:03 2019 +0100
[OSK] Update translation files (#1189)
Translate the welcome dialog resource for Italian and Romanian.
---
base/applications/osk/lang/it-IT.rc | 8 ++++----
base/applications/osk/lang/ro-RO.rc | 6 +++---
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/base/applications/osk/lang/it-IT.rc b/base/applications/osk/lang/it-IT.rc
index 6448871909..e63092de54 100644
--- a/base/applications/osk/lang/it-IT.rc
+++ b/base/applications/osk/lang/it-IT.rc
@@ -9,7 +9,7 @@
LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
MAIN_DIALOG DIALOGEX DISCARDABLE 0, 0, 463, 115
-CAPTION "Tastiera visivo"
+CAPTION "Tastiera a schermo"
FONT 8, "MS Shell Dlg"
STYLE WS_SYSMENU | WS_MINIMIZEBOX
EXSTYLE WS_EX_TOPMOST | WS_EX_NOACTIVATE | WS_EX_APPWINDOW
@@ -129,13 +129,13 @@ END
IDD_WARNINGDIALOG_OSK DIALOGEX 0, 0, 250, 97
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION
-CAPTION "On-Screen Keyboard"
+CAPTION "Tastiera a schermo"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "OK", IDOK, 193, 76, 50, 14
ICON IDI_OSK, IDC_STATIC, 7, 17, 20, 20
- LTEXT "On-Screen Keyboard provides a minimum level of functionality for mobility-impaired users. Mobility-impaired users will need a utility program with higher functionality for daily use.", IDC_STATIC, 36, 7, 207, 33
- CONTROL "Do not show this message again", IDC_SHOWWARNINGCHECK, "Button",
+ LTEXT "La tastiera virtuale fornisce un livello minimo di funzionalità per gli utenti con mobilità ridotta. Gli utenti con mobilità ridotta hanno bisogno di questa programma con maggiore funzionalità per un uso giornaliero.", IDC_STATIC, 36, 7, 207, 33
+ CONTROL "Non visualizzare più questo messaggio", IDC_SHOWWARNINGCHECK, "Button",
BS_AUTOCHECKBOX | WS_TABSTOP, 43, 80, 137, 10
END
diff --git a/base/applications/osk/lang/ro-RO.rc b/base/applications/osk/lang/ro-RO.rc
index d02d41f5e9..9b3d080aaa 100644
--- a/base/applications/osk/lang/ro-RO.rc
+++ b/base/applications/osk/lang/ro-RO.rc
@@ -129,13 +129,13 @@ END
IDD_WARNINGDIALOG_OSK DIALOGEX 0, 0, 250, 97
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION
-CAPTION "On-Screen Keyboard"
+CAPTION "Tastatură virtuală"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "OK", IDOK, 193, 76, 50, 14
ICON IDI_OSK, IDC_STATIC, 7, 17, 20, 20
- LTEXT "On-Screen Keyboard provides a minimum level of functionality for mobility-impaired users. Mobility-impaired users will need a utility program with higher functionality for daily use.", IDC_STATIC, 36, 7, 207, 33
- CONTROL "Do not show this message again", IDC_SHOWWARNINGCHECK, "Button",
+ LTEXT "Tastatura virtuală asigură un nivel minim de funcționalitate pentru utilizatori cu dizabilități. Utilizatori cu dizabilități au nevoie de un program cu o mai mare funcționalitate pentru un uz zilnic.", IDC_STATIC, 36, 7, 207, 33
+ CONTROL "Nu mai afișa acest mesaj", IDC_SHOWWARNINGCHECK, "Button",
BS_AUTOCHECKBOX | WS_TABSTOP, 43, 80, 137, 10
END
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f759dddb4b2e75548c110…
commit f759dddb4b2e75548c11005ed25c3b43cd0e49e8
Author: Yaroslav Kibysh <yanet.prod(a)gmail.com>
AuthorDate: Thu Jan 3 23:20:40 2019 +0200
Commit: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito(a)reactos.org>
CommitDate: Thu Jan 3 22:20:40 2019 +0100
[APPWIZ] Russian and Ukrainian Translations Update (#1215)
---
dll/cpl/appwiz/lang/ru-RU.rc | 6 +++---
dll/cpl/appwiz/lang/uk-UA.rc | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/dll/cpl/appwiz/lang/ru-RU.rc b/dll/cpl/appwiz/lang/ru-RU.rc
index 59b6710f9d..94a9bc76c3 100644
--- a/dll/cpl/appwiz/lang/ru-RU.rc
+++ b/dll/cpl/appwiz/lang/ru-RU.rc
@@ -82,7 +82,7 @@ BEGIN
IDS_DWL_FAILED "Не удалось скачать пакет установки Gecko, проверьте ваше подключение к сети интернет. Установка будет продолжена без включения пакета Gecko."
IDS_CANTMAKEINETSHORTCUT "Не удалось создать ярлык интернета."
IDS_CANTMAKESHORTCUT "Не удалось создать ярлык."
- IDS_NO_MEMORY "No memory could be allocated!"
- IDS_NO_DIRECTORY "No directory given!"
- IDS_INVALID_PATH "The given path is invalid!"
+ IDS_NO_MEMORY "Невозможно выделить память."
+ IDS_NO_DIRECTORY "Не указано ни одного каталога!"
+ IDS_INVALID_PATH "Указанный путь неверен!"
END
diff --git a/dll/cpl/appwiz/lang/uk-UA.rc b/dll/cpl/appwiz/lang/uk-UA.rc
index 4b5fef4fc2..c3ec10ceea 100644
--- a/dll/cpl/appwiz/lang/uk-UA.rc
+++ b/dll/cpl/appwiz/lang/uk-UA.rc
@@ -90,7 +90,7 @@ BEGIN
IDS_DWL_FAILED "Не вдалося завантажити пакет встановки Gecko. Перевірте ваше підключення до мережі інтернет. Встановка буде продовжена без включення пакета Gecko."
IDS_CANTMAKEINETSHORTCUT "Не вдалося створити ярлик інтернету."
IDS_CANTMAKESHORTCUT "Не вдалося створити ярлик."
- IDS_NO_MEMORY "No memory could be allocated!"
- IDS_NO_DIRECTORY "No directory given!"
- IDS_INVALID_PATH "The given path is invalid!"
+ IDS_NO_MEMORY "Неможливо виділити пам'ять."
+ IDS_NO_DIRECTORY "Не вказано жодного каталогу!"
+ IDS_INVALID_PATH "Вказаний шлях недійсний!"
END