reactos.git
6 years ago[NTDLL] Check the process manifest at startup for a compatibility section.
Mark Jansen [Sat, 13 Jan 2018 20:32:48 +0000 (21:32 +0100)]
[NTDLL] Check the process manifest at startup for a compatibility section.

6 years agoFix build
Giannis Adamopoulos [Sun, 8 Apr 2018 22:42:17 +0000 (01:42 +0300)]
Fix build

6 years ago[RTL] actctx.c: Use an alternative implicit activation context when an application...
Giannis Adamopoulos [Sun, 8 Apr 2018 19:28:29 +0000 (22:28 +0300)]
[RTL] actctx.c: Use an alternative implicit activation context when an application is built for latest windows versions.
Instead of loading systemcompatible.manifest as the implicit activation context, load forwardcompatible.manifest
Add a new assembly containing all apisets called ReactOS.Apisets and make it a dependency to forwardcompatible.manifest

6 years ago[RTL] Fixes for supportedOS close elements.
Mark Jansen [Sun, 8 Apr 2018 22:01:30 +0000 (00:01 +0200)]
[RTL] Fixes for supportedOS close elements.
Imported from wine
f8cca44: ntdll: Allow closing tags for 'supportedOS' elements.
697d4a7: ntdll: Allow explicitly specified asm.v2 namespace for "trustInfo".

6 years ago[NET] Add the NET STATISTICS command
Eric Kohl [Sun, 8 Apr 2018 18:04:11 +0000 (20:04 +0200)]
[NET] Add the NET STATISTICS command

6 years ago[CMAKE] Use configuration-specific names for files generated by CMake. 474/head
Thomas Faber [Sun, 8 Apr 2018 16:31:27 +0000 (18:31 +0200)]
[CMAKE] Use configuration-specific names for files generated by CMake.

Fixes configuring with VSSolution.

6 years ago[KERNEL32_VISTA] This function now comes from rtlfuncs.h
Mark Jansen [Sun, 8 Apr 2018 15:47:43 +0000 (17:47 +0200)]
[KERNEL32_VISTA] This function now comes from rtlfuncs.h

6 years ago[APISETS] Update the script to take the current newline setting into account.
Mark Jansen [Sun, 8 Apr 2018 09:10:11 +0000 (11:10 +0200)]
[APISETS] Update the script to take the current newline setting into account.

6 years ago[KERNEL32_VISTA] Export InitializeCriticalSectionEx.
Mark Jansen [Sun, 8 Apr 2018 09:09:54 +0000 (11:09 +0200)]
[KERNEL32_VISTA] Export InitializeCriticalSectionEx.

6 years ago[KERNEL32] Implement FlsAlloc/FlsFree based on Wine's implementation. 472/head
Mark Jansen [Sat, 7 Apr 2018 21:41:53 +0000 (23:41 +0200)]
[KERNEL32] Implement FlsAlloc/FlsFree based on Wine's implementation.

6 years ago[USERSRV] HardError: Fix compilation warning; fix few comments; fix the default empty...
Hermès Bélusca-Maïto [Sun, 8 Apr 2018 14:15:56 +0000 (16:15 +0200)]
[USERSRV] HardError: Fix compilation warning; fix few comments; fix the default empty window title string.

6 years ago[ZIPFLDR] Typo fix
Bișoc George [Sun, 8 Apr 2018 09:34:13 +0000 (11:34 +0200)]
[ZIPFLDR] Typo fix

6 years ago[EXPLORER] Implement the feature of cleanly shutting down the explorer shell when...
Hermès Bélusca-Maïto [Sat, 7 Apr 2018 22:33:23 +0000 (00:33 +0200)]
[EXPLORER] Implement the feature of cleanly shutting down the explorer shell when cancelling the shutdown-dialog while pressing the CTRL-ALT-SHIFT keys.

See the feature description in https://msdn.microsoft.com/en-us/library/windows/desktop/cc144064(v=vs.85).aspx
and the additional observations reported in CORE-14358 .

6 years ago[EXPLORER] Remove trailing whitespace.
Hermès Bélusca-Maïto [Sat, 7 Apr 2018 22:32:11 +0000 (00:32 +0200)]
[EXPLORER] Remove trailing whitespace.

6 years ago[MSGINA] Add the shutdown reason dialog but keep it disabled by default
Eric Kohl [Sat, 7 Apr 2018 18:47:10 +0000 (20:47 +0200)]
[MSGINA] Add the shutdown reason dialog but keep it disabled by default

6 years ago[BOOTDATA] Remove 'debugout.sys' mention since this driver has been removed in r26032...
Hermès Bélusca-Maïto [Sat, 7 Apr 2018 20:13:20 +0000 (22:13 +0200)]
[BOOTDATA] Remove 'debugout.sys' mention since this driver has been removed in r26032 (ad07a1e5).

6 years ago[EXPLORER] Remove double 'return' statement. Determining whether it should be HTBORDE...
Hermès Bélusca-Maïto [Sat, 7 Apr 2018 17:06:04 +0000 (19:06 +0200)]
[EXPLORER] Remove double 'return' statement. Determining whether it should be HTBORDER or HTCLIENT is left as an exercise to the reader.
Spotted by 'mudhead'. CORE-14528

6 years ago[USERSRV] Hard-error improvements 7/7 446/head
Hermès Bélusca-Maïto [Fri, 23 Mar 2018 22:50:50 +0000 (23:50 +0100)]
[USERSRV] Hard-error improvements 7/7

- Use a more descriptive "unknown hard error" string than Windows' one.
- Improve the computation of the buffer size for the hard error message
  by using _vscwprintf() instead of just "guessing" which size the fully
  printf'ed message could be.

6 years ago[USERSRV] Hard-error improvements 6/7
Hermès Bélusca-Maïto [Sat, 24 Mar 2018 22:07:35 +0000 (23:07 +0100)]
[USERSRV] Hard-error improvements 6/7

Make UserpFormatMessages() return the possible timeout for the hard error; use it when displaying the hard error message boxes.

6 years ago[USERSRV] Hard-error improvements 5/7 - Implement STATUS_SERVICE_NOTIFICATION handling.
Hermès Bélusca-Maïto [Mon, 19 Mar 2018 01:22:20 +0000 (02:22 +0100)]
[USERSRV] Hard-error improvements 5/7 - Implement STATUS_SERVICE_NOTIFICATION handling.

- In UserpCaptureStringParameters(), always capture the parameter
  strings with a terminating NULL. Also, no need to convert them to
  ANSI if they are used with a STATUS_SERVICE_NOTIFICATION message.
- Determine within UserpFormatMessages() the message box flags to be
  used, either from the message parameters (if STATUS_SERVICE_NOTIFICATION)
  or from the proposed response options and message status severity.
  These flags are then used by both UserpShowInformationBalloon()/UserpShellHardError()
  and by UserpMessageBox().
- Improve Message validation (especially for STATUS_SERVICE_NOTIFICATION).
- Try to display the hard error status number if it's an unknown one.

6 years ago[USERSRV] Hard-error improvements 4/7
Hermès Bélusca-Maïto [Sat, 24 Mar 2018 21:47:50 +0000 (22:47 +0100)]
[USERSRV] Hard-error improvements 4/7

- Make UserpFormatMessages() always succeed by falling back on
  static string buffers if allocating large string buffers fail due to
  lack of memory. Then the hard error popups will have truncated
  strings, but at least something will be displayed instead of nothing,
  thus alerting the user that something went wrong anyway.
- Simplify a bit the code by moving the NtOpenProcess(),
  UserpCaptureStringParameters() and UserpFreeStringParameters() calls
  inside UserpFormatMessages(). This also allows simplifying its
  prototype.

6 years ago[USERSRV] Hard-error improvements 3/7
Hermès Bélusca-Maïto [Sun, 4 Mar 2018 16:38:06 +0000 (17:38 +0100)]
[USERSRV] Hard-error improvements 3/7

- Cache localized hard error message components: the status severity,
  the system process name and the unhandled exception debug strings.
- Try not to fail too much. In particular, don't fail if a string could
  not be correctly captured in UserpCaptureStringParameters() (we then
  use a default empty string). The next aim is to make UserpFormatMessages()
  not failing at all.
- Use RtlStringCbPrintf(Ex)W where possible so that one can use counted
  (and not NULL-terminated) UNICODE_STRINGs where possible. This allows
  using counted resource strings without having to allocate memory.
- If available, prepend the window title of the application that
  triggered the hard error to the hard error message box caption.

6 years ago[USERSRV] Hard-error improvements 2/7 - More failure path handling.
Hermès Bélusca-Maïto [Sun, 4 Mar 2018 16:39:44 +0000 (17:39 +0100)]
[USERSRV] Hard-error improvements 2/7 - More failure path handling.

In particular do not always fail as soon as there is an error, because they may be the sign of an OS problem and this is precisely in this case that we want to display a hard-error.

6 years ago[USERSRV] Hard-error improvements 1/7
Hermès Bélusca-Maïto [Sat, 24 Mar 2018 20:26:20 +0000 (21:26 +0100)]
[USERSRV] Hard-error improvements 1/7

- Use hard-error captions depending on the status code severity.
- Improve handling of the STATUS_UNHANDLED_EXCEPTION error. Start
  implementing the display of the dialog button descriptions ("OK" to
  terminate the application; "Cancel" to debug the application).
- Add support for the "ErrorMode" and "ShellErrorMode" registry values
  under HKLM\System\CurrentControlSet\Control\Windows.
- Use MessageBoxTimeoutW() in UserpMessageBox() to support different
  message box timeouts.
- Log hard errors into the System event log.

6 years ago[NDK] Increase MAXIMUM_HARDERROR_PARAMETERS for Win2k3 compatibility.
Hermès Bélusca-Maïto [Sat, 17 Feb 2018 15:25:44 +0000 (16:25 +0100)]
[NDK] Increase MAXIMUM_HARDERROR_PARAMETERS for Win2k3 compatibility.

6 years ago[RAPPS] Introduce 'SizeBytes' DB entry and use it for display
Alexander Shaposhnikov [Sat, 7 Apr 2018 16:17:22 +0000 (19:17 +0300)]
[RAPPS] Introduce 'SizeBytes' DB entry and use it for display

This will allow us to reduce the DB size a little by avoiding
duplication for each and every entry.
Original patch by JIRA user "swyter"

CORE-10310

6 years ago[ZIPFLDR] Register the shell extension. 451/head
Mark Jansen [Fri, 29 Dec 2017 22:45:47 +0000 (23:45 +0100)]
[ZIPFLDR] Register the shell extension.
CORE-7684

6 years ago[ZIPFLDR] Initial implementation.
Mark Jansen [Fri, 29 Dec 2017 22:45:02 +0000 (23:45 +0100)]
[ZIPFLDR] Initial implementation.
Icon by Jared Smudde
CORE-7684

6 years ago[ZLIB] Add minizip as library.
Mark Jansen [Tue, 3 Apr 2018 20:15:20 +0000 (22:15 +0200)]
[ZLIB] Add minizip as library.
CORE-7684

6 years ago[SHELL32_APITEST] Show that our current SHCreateFileExtractIconW is incorrect.
Mark Jansen [Tue, 27 Mar 2018 17:58:43 +0000 (19:58 +0200)]
[SHELL32_APITEST] Show that our current SHCreateFileExtractIconW is incorrect.
CORE-14082

6 years ago[SHELL32] Partially implement SHCreateFileExtractIconW
Mark Jansen [Tue, 27 Mar 2018 17:57:00 +0000 (19:57 +0200)]
[SHELL32] Partially implement SHCreateFileExtractIconW
CORE-14082

6 years ago[SHELL32] Initial partial IShellFolderViewCB implementation.
Mark Jansen [Mon, 18 Dec 2017 22:27:05 +0000 (23:27 +0100)]
[SHELL32] Initial partial IShellFolderViewCB implementation.

6 years ago[APISETS] Add the initial set of auto-generated files. 468/head
Mark Jansen [Sat, 7 Apr 2018 01:24:12 +0000 (03:24 +0200)]
[APISETS] Add the initial set of auto-generated files.
CORE-13231

6 years ago[APISETS] Introduce a script that will generate apisets based on wine apisets.
Mark Jansen [Sat, 7 Apr 2018 01:24:07 +0000 (03:24 +0200)]
[APISETS] Introduce a script that will generate apisets based on wine apisets.
Functions that are present in ReactOS will be forwarded, the rest stubbed.
CORE-13231

6 years ago[SDK] Remove some unused includes in stubs.h
Mark Jansen [Sat, 7 Apr 2018 01:23:56 +0000 (03:23 +0200)]
[SDK] Remove some unused includes in stubs.h
CORE-13231

6 years ago[NTOS:CC] Use UNIMPLEMENTED_ONCE instead of custom code
Serge Gautherie [Thu, 22 Feb 2018 14:31:04 +0000 (15:31 +0100)]
[NTOS:CC] Use UNIMPLEMENTED_ONCE instead of custom code

- Rewrite e319f85e67b1d057fb1c0d0449a6756fa0d459ba.

6 years ago[SDK:REACTOS] Define UNIMPLEMENTED_ONCE for "!DBG && _MSC_VER" too
Serge Gautherie [Thu, 22 Feb 2018 14:26:10 +0000 (15:26 +0100)]
[SDK:REACTOS] Define UNIMPLEMENTED_ONCE for "!DBG && _MSC_VER" too

- Addendum to 81eb3bbceb518c331f3d8e4754ad61adc0e94d33.
- Merge "_MSC_VER" and "!_MSC_VER" cases, to prevent such a mistake.

6 years ago[NTOSKRNL] Fix IopValidateID using uninitialized var, reset SeparatorsCount in the...
Mark Jansen [Thu, 5 Apr 2018 20:06:31 +0000 (22:06 +0200)]
[NTOSKRNL] Fix IopValidateID using uninitialized var, reset SeparatorsCount in the MultiSz case.

6 years ago[REACTOS] Fix 64 bit build (#465)
Timo Kreuzer [Tue, 3 Apr 2018 21:13:17 +0000 (15:13 -0600)]
[REACTOS] Fix 64 bit build (#465)

* [HAL] Simplify HalpReboot() and make it portable
* [NTOS:MM] Cast constant to PVOID
* [BINPATCH] Fix 64 bit build
* [VFDDRV] Fix 64 bit build and buffer overruns
* [USBOHCI] Fix structure alignment issues
* [ATL_APITEST] Fix 64 bit build
* [XDK] Update unwind structures in winnt.h
* [NTDLL_APITEST] Fix 64 bit build
* [NTDLL_WINETEST] Fix 64 bit build
* [TFTPD] Fix x64 build
* [USBPORT] Fix a C_ASSERT
* [DSOUND] Fix x64 build
* [HAL] Remove obsolete GetPteAddress() macro

6 years ago[MSGINA] Fix the SAS dialog
Eric Kohl [Tue, 3 Apr 2018 20:32:10 +0000 (22:32 +0200)]
[MSGINA] Fix the SAS dialog
- Make the "Press Crtl-Alt-Delete..." text control as wide as possible so that the text will fit in one line for all languages.
- Make the albaninan SAS dialog look like the SAS dialog for the other languages.

6 years ago[XINPUT1_3_WINETEST] Sync with Wine Staging 3.3. CORE-14434
Amine Khaldi [Tue, 3 Apr 2018 12:52:18 +0000 (13:52 +0100)]
[XINPUT1_3_WINETEST] Sync with Wine Staging 3.3. CORE-14434

6 years ago[WSCRIPT_WINETEST] Sync with Wine Staging 3.3. CORE-14434
Amine Khaldi [Tue, 3 Apr 2018 12:51:45 +0000 (13:51 +0100)]
[WSCRIPT_WINETEST] Sync with Wine Staging 3.3. CORE-14434

6 years ago[WS2_32_WINETEST] Sync with Wine Staging 3.3. CORE-14434
Amine Khaldi [Tue, 3 Apr 2018 12:51:13 +0000 (13:51 +0100)]
[WS2_32_WINETEST] Sync with Wine Staging 3.3. CORE-14434

6 years ago[WINMM_WINETEST] Sync with Wine Staging 3.3. CORE-14434
Amine Khaldi [Tue, 3 Apr 2018 12:50:40 +0000 (13:50 +0100)]
[WINMM_WINETEST] Sync with Wine Staging 3.3. CORE-14434

6 years ago[USER32_WINETEST] Sync everything except win.c with Wine Staging 3.3. CORE-14434
Amine Khaldi [Tue, 3 Apr 2018 12:49:56 +0000 (13:49 +0100)]
[USER32_WINETEST] Sync everything except win.c with Wine Staging 3.3. CORE-14434

6 years ago[PSDK] Add some missing WDA_NONE and WDA_MONITOR. CORE-14434
Amine Khaldi [Tue, 3 Apr 2018 12:48:43 +0000 (13:48 +0100)]
[PSDK] Add some missing WDA_NONE and WDA_MONITOR. CORE-14434

6 years ago[SHELL32_WINETEST] Sync with Wine Staging 3.3. CORE-14434
Amine Khaldi [Tue, 3 Apr 2018 12:47:46 +0000 (13:47 +0100)]
[SHELL32_WINETEST] Sync with Wine Staging 3.3. CORE-14434

6 years ago[SETUPAPI_WINETEST] Sync with Wine Staging 3.3. CORE-14434
Amine Khaldi [Tue, 3 Apr 2018 12:47:12 +0000 (13:47 +0100)]
[SETUPAPI_WINETEST] Sync with Wine Staging 3.3. CORE-14434

6 years ago[SERVICES_WINETEST] Sync with Wine Staging 3.3. CORE-14434
Amine Khaldi [Tue, 3 Apr 2018 12:46:36 +0000 (13:46 +0100)]
[SERVICES_WINETEST] Sync with Wine Staging 3.3. CORE-14434

6 years ago[SECUR32_WINETEST] Sync with Wine Staging 3.3. CORE-14434
Amine Khaldi [Tue, 3 Apr 2018 12:45:57 +0000 (13:45 +0100)]
[SECUR32_WINETEST] Sync with Wine Staging 3.3. CORE-14434

6 years ago[RSAENH_WINETEST] Sync with Wine Staging 3.3. CORE-14434
Amine Khaldi [Tue, 3 Apr 2018 12:45:23 +0000 (13:45 +0100)]
[RSAENH_WINETEST] Sync with Wine Staging 3.3. CORE-14434

6 years ago[PSAPI_WINETEST] Sync with Wine Staging 3.3. CORE-14434
Amine Khaldi [Tue, 3 Apr 2018 12:44:31 +0000 (13:44 +0100)]
[PSAPI_WINETEST] Sync with Wine Staging 3.3. CORE-14434

6 years ago[OPENGL32_WINETEST] Sync with Wine Staging 3.3. CORE-14434
Amine Khaldi [Tue, 3 Apr 2018 12:43:57 +0000 (13:43 +0100)]
[OPENGL32_WINETEST] Sync with Wine Staging 3.3. CORE-14434

6 years ago[NTDLL_WINETEST] Sync with Wine Staging 3.3. CORE-14434
Amine Khaldi [Tue, 3 Apr 2018 12:43:22 +0000 (13:43 +0100)]
[NTDLL_WINETEST] Sync with Wine Staging 3.3. CORE-14434

6 years ago[MSVCRT_WINETEST] Sync with Wine Staging 3.3. CORE-14434
Amine Khaldi [Tue, 3 Apr 2018 12:42:04 +0000 (13:42 +0100)]
[MSVCRT_WINETEST] Sync with Wine Staging 3.3. CORE-14434

6 years ago[LOCALSPL_WINETEST] Sync with Wine Staging 3.3. CORE-14434
Amine Khaldi [Tue, 3 Apr 2018 12:40:29 +0000 (13:40 +0100)]
[LOCALSPL_WINETEST] Sync with Wine Staging 3.3. CORE-14434

6 years ago[KERNEL32_WINETEST] Sync everything except file.c and virtual.c with Wine Staging...
Amine Khaldi [Tue, 3 Apr 2018 12:39:42 +0000 (13:39 +0100)]
[KERNEL32_WINETEST] Sync everything except file.c and virtual.c with Wine Staging 3.3. CORE-14434

6 years ago[INCLUDE/WINE] Update winternl.h. CORE-14434
Amine Khaldi [Tue, 3 Apr 2018 12:38:27 +0000 (13:38 +0100)]
[INCLUDE/WINE] Update winternl.h. CORE-14434

6 years ago[PSDK][XDK] Add some missing definitions. CORE-14434
Amine Khaldi [Tue, 3 Apr 2018 12:35:01 +0000 (13:35 +0100)]
[PSDK][XDK] Add some missing definitions. CORE-14434

6 years ago[HID_WINETEST] Import from Wine Staging 3.3. CORE-14434
Amine Khaldi [Tue, 3 Apr 2018 12:32:05 +0000 (13:32 +0100)]
[HID_WINETEST] Import from Wine Staging 3.3. CORE-14434

6 years ago[DDK] Import hidsdi.h from Wine Staging 3.3. CORE-14434
Amine Khaldi [Tue, 3 Apr 2018 12:30:30 +0000 (13:30 +0100)]
[DDK] Import hidsdi.h from Wine Staging 3.3. CORE-14434

6 years ago[GDI32_WINETEST] Sync everything except dib.c with Wine Staging 3.3. CORE-14434
Amine Khaldi [Tue, 3 Apr 2018 12:28:13 +0000 (13:28 +0100)]
[GDI32_WINETEST] Sync everything except dib.c with Wine Staging 3.3. CORE-14434

6 years ago[DNSAPI_WINETEST] Sync with Wine Staging 3.3. CORE-14434
Amine Khaldi [Tue, 3 Apr 2018 12:26:14 +0000 (13:26 +0100)]
[DNSAPI_WINETEST] Sync with Wine Staging 3.3. CORE-14434

6 years ago[COMCTL32_WINETEST] Sync with Wine Staging 3.3. CORE-14434
Amine Khaldi [Tue, 3 Apr 2018 12:25:05 +0000 (13:25 +0100)]
[COMCTL32_WINETEST] Sync with Wine Staging 3.3. CORE-14434

6 years ago[PSDK] Add some missing BS_* definitions. CORE-14434
Amine Khaldi [Tue, 3 Apr 2018 12:24:07 +0000 (13:24 +0100)]
[PSDK] Add some missing BS_* definitions. CORE-14434

6 years ago[APPVEYOR] Start with the MSVC x64 build so we can get to what breaks it a bit sooner.
Amine Khaldi [Tue, 3 Apr 2018 12:19:30 +0000 (13:19 +0100)]
[APPVEYOR] Start with the MSVC x64 build so we can get to what breaks it a bit sooner.

6 years ago[APPVEYOR] Add the MSVC x64 build. Dedicated to Timo.
Amine Khaldi [Tue, 3 Apr 2018 12:16:09 +0000 (13:16 +0100)]
[APPVEYOR] Add the MSVC x64 build. Dedicated to Timo.

6 years ago[CONSOLE] Italian translation update (#466)
Bișoc George [Tue, 3 Apr 2018 10:58:54 +0000 (12:58 +0200)]
[CONSOLE] Italian translation update (#466)

- Strings translated
- Typo fixed

6 years ago[RAPPS] Use FTP in passive mode
Alexander Shaposhnikov [Mon, 2 Apr 2018 21:44:12 +0000 (00:44 +0300)]
[RAPPS] Use FTP in passive mode

This should finally fix FTP downloads in RAPPS.

6 years ago[NET] Implement the NET CONFIG WORKSTATION command
Eric Kohl [Mon, 2 Apr 2018 21:13:50 +0000 (23:13 +0200)]
[NET] Implement the NET CONFIG WORKSTATION command

6 years ago[RAPPS] Fix FTP downloads
Alexander Shaposhnikov [Mon, 2 Apr 2018 20:51:35 +0000 (23:51 +0300)]
[RAPPS] Fix FTP downloads

6 years ago[EXPLORER] Handle WM_CONTEXTMENU message in CNotifyToolbar and BN_CLICKED notificatio...
Hermès Bélusca-Maïto [Mon, 2 Apr 2018 19:06:09 +0000 (21:06 +0200)]
[EXPLORER] Handle WM_CONTEXTMENU message in CNotifyToolbar and BN_CLICKED notification in CSysPagerWnd.

With these, we generate the WM_CONTEXTMENU and NIN_(KEY)SELECT
shell icon notifications that applications expect when they handle
shell notification icons with uVersion >= 3.

This fixes in particular the previously unresponsive icon of KVIrc 4.x,
and more generally *all* the notifiation icons of Qt applications.
CORE-10605 #resolve

6 years ago[RAPPS] Update rapps .cab download link
Alexander Shaposhnikov [Mon, 2 Apr 2018 18:00:10 +0000 (21:00 +0300)]
[RAPPS] Update rapps .cab download link

This replaces old link to svn.reactos.org with rapps.reactos.org
which is a new stable location for RAPPS database and future community
website. That said, svn.reactos.org link will be kept for some time.

TODO: make this a configurable value.

CORE-14351

6 years ago[WINLOGON] Fix shutdown timeout format string for long timeout
Eric Kohl [Mon, 2 Apr 2018 16:52:47 +0000 (18:52 +0200)]
[WINLOGON] Fix shutdown timeout format string for long timeout

- Use the "%d days" format for timeouts longer than a day.
- Fail if timeout is 10 years or longer.
- TODO: Replace format strings by resources. German WinXP uses "%d days" instead of "%d Tage". We can do better! ;-)

6 years ago[TRACERT] Use ConUtils lib and update de-DE.rc CORE-14265
Joachim Henze [Mon, 2 Apr 2018 16:10:31 +0000 (18:10 +0200)]
[TRACERT] Use ConUtils lib and update de-DE.rc CORE-14265

Most likely this also improves formerly unprintable characters for
fr-FR, it-IT, ro-RO, ru-RU, zh-CN.

6 years ago[EXPLORER] Add missing 'break' statements. Spotted by mudhead. CORE-14518
Hermès Bélusca-Maïto [Mon, 2 Apr 2018 14:12:25 +0000 (16:12 +0200)]
[EXPLORER] Add missing 'break' statements. Spotted by mudhead. CORE-14518

6 years ago[WINLOGON] Fix some dialog control dimensions.
Hermès Bélusca-Maïto [Sun, 1 Apr 2018 23:23:19 +0000 (01:23 +0200)]
[WINLOGON] Fix some dialog control dimensions.

6 years ago[NET] Reorganize and improve the help texts (3/X)
Eric Kohl [Mon, 2 Apr 2018 12:53:12 +0000 (14:53 +0200)]
[NET] Reorganize and improve the help texts (3/X)
- Add help texts for the START and STOP commands.
- Add text for the CONFIG command.

6 years ago[TRANSLATION][SERVMAN] Italian translation update (#463)
Bișoc George [Mon, 2 Apr 2018 11:57:10 +0000 (13:57 +0200)]
[TRANSLATION][SERVMAN] Italian translation update (#463)

* [SERVMAN] Italian update translation

* [SERVMAN] Small grammatical typo fixed

* [SERVMAN] Word replaced

- "Accedi" would be more convenient than "Accedere"

6 years ago[WINLOGON] System shutdown dialog clean-up
Eric Kohl [Mon, 2 Apr 2018 11:33:41 +0000 (13:33 +0200)]
[WINLOGON] System shutdown dialog clean-up
- Replace the winlogon icon by the warning icon.
- Add more space for the main text.
- Move the shutdown time into a separate line to ensure it is always fully visible.
- Add more space for the shutdown message and keep the message empty by default.
- Clean up the resource IDs.

6 years ago[WINLOGON] Clean up part 2
Eric Kohl [Mon, 2 Apr 2018 10:47:15 +0000 (12:47 +0200)]
[WINLOGON] Clean up part 2
- Replace the UNICODE_STRING usMessage by a PWSTR pszMessage.
- Use the "%02d:%02d:%02d" time format and get rid of the safe string printf because the string will NEVER be longer than 8 characters.
- Rename the timer id constant because it is NOT a resource id.
- Rename variables according to the coding style.

6 years ago[CMAKE] Avoid generator expresisons in install()'s RENAME argument. CORE-14509
Thomas Faber [Mon, 2 Apr 2018 07:57:51 +0000 (09:57 +0200)]
[CMAKE] Avoid generator expresisons in install()'s RENAME argument. CORE-14509

This fixes rostests_install, and thus hopefully WHS-Testbot.

6 years ago[ADVAPI32_WINETEST] Revert service.c changes from 3c1b7834e1 to avoid testbot hangs...
Thomas Faber [Mon, 2 Apr 2018 08:01:29 +0000 (10:01 +0200)]
[ADVAPI32_WINETEST] Revert service.c changes from 3c1b7834e1 to avoid testbot hangs. CORE-14521 CORE-14434

6 years ago[WINLOGON] Clean up part 1
Eric Kohl [Sun, 1 Apr 2018 23:37:50 +0000 (01:37 +0200)]
[WINLOGON] Clean up part 1
- Add empty lines to separate logical blocks of code.
- Add spaces according to our coding style.
- Move g_hShutdownDialog and g_bShuttingDown into the shutdown parameters struct.
- Pass a pointer to the shutdown parameters to the shutdown thread and the shutdown dialog and use the pointer instead of the global variables.
- Move the timer code into a separate function because it requires local variables.

6 years ago[WINLOGON] Missed this file
Eric Kohl [Sun, 1 Apr 2018 22:42:15 +0000 (00:42 +0200)]
[WINLOGON] Missed this file

6 years ago[WINLOGON] Move the system shutdown code into a separate file
Eric Kohl [Sun, 1 Apr 2018 22:38:18 +0000 (00:38 +0200)]
[WINLOGON] Move the system shutdown code into a separate file

6 years ago[NTOSKRNL] Formatting fix only. 461/head
Hermès Bélusca-Maïto [Sun, 1 Apr 2018 20:34:17 +0000 (22:34 +0200)]
[NTOSKRNL] Formatting fix only.

6 years ago[NTOSKRNL] Simplify NtRaiseHardError() by merging the terminating blocks.
Hermès Bélusca-Maïto [Sun, 1 Apr 2018 15:59:31 +0000 (17:59 +0200)]
[NTOSKRNL] Simplify NtRaiseHardError() by merging the terminating blocks.

- Return the status codes provided by the Ex(p)RaiseHardError() calls.
- Fix the return values in case of failure.

6 years ago[NTOSKRNL] ExRaiseHardError(): Protect strings copy to user-mode space inside a SEH...
Hermès Bélusca-Maïto [Sun, 1 Apr 2018 15:52:10 +0000 (17:52 +0200)]
[NTOSKRNL] ExRaiseHardError(): Protect strings copy to user-mode space inside a SEH block.

6 years ago[NTOSKRNL] Don't emit hard errors for the calling thread if hard errors have been...
Hermès Bélusca-Maïto [Sun, 1 Apr 2018 13:53:49 +0000 (15:53 +0200)]
[NTOSKRNL] Don't emit hard errors for the calling thread if hard errors have been disabled for this thread on user-mode side.

6 years ago[NTOSKRNL] Don't hardcode flag values for DefaultHardErrorProcessing.
Hermès Bélusca-Maïto [Sun, 1 Apr 2018 13:25:15 +0000 (15:25 +0200)]
[NTOSKRNL] Don't hardcode flag values for DefaultHardErrorProcessing.

6 years ago[NTOSKRNL] Update Doxygen descriptions for NtRaiseHardError, ExRaiseHardError, ExpRai...
Hermès Bélusca-Maïto [Sun, 1 Apr 2018 13:06:45 +0000 (15:06 +0200)]
[NTOSKRNL] Update Doxygen descriptions for NtRaiseHardError, ExRaiseHardError, ExpRaiseHardError and NtSetDefaultHardErrorPort.

6 years ago[NTOSKRNL] Forbid processes without the Tcb prvilege to perform a user-mode hard...
Hermès Bélusca-Maïto [Sun, 1 Apr 2018 12:46:19 +0000 (14:46 +0200)]
[NTOSKRNL] Forbid processes without the Tcb prvilege to perform a user-mode hard-error BSOD.

6 years ago[NTOSKRNL] In addition to the hard-error port, reference also the process that handle...
Hermès Bélusca-Maïto [Sat, 31 Mar 2018 20:12:44 +0000 (22:12 +0200)]
[NTOSKRNL] In addition to the hard-error port, reference also the process that handles the hard errors so that it doesn't disappear behind our back. On shutdown both the hard-error port and process are dereferenced.

6 years ago[WINLOGON] Implement BaseInitiateSystemShutdownEx(). (#458)
alpha5056 [Sun, 1 Apr 2018 17:39:41 +0000 (11:39 -0600)]
[WINLOGON] Implement BaseInitiateSystemShutdownEx(). (#458)

6 years ago[TRANSLATIONS] Update and add Turkish translations (#455)
Ercan Ersoy [Sun, 1 Apr 2018 17:27:08 +0000 (20:27 +0300)]
[TRANSLATIONS] Update and add Turkish translations (#455)

- Added Turkish translations for winetests/GUI and localmon.
- Modified Turkish translations for usersrv, user32, localmon, logon,
  3dtext, kbswitch, winemine, spider, solitarie, clipbrd and charmap_new.

6 years ago[TRANSLATION][USERSRV] Add Hungarian Translation (#442)
Kláben Szabolcs Bence (Tudi20) [Sun, 1 Apr 2018 17:13:35 +0000 (19:13 +0200)]
[TRANSLATION][USERSRV] Add Hungarian Translation (#442)

6 years ago[NET] Add the NET CONFIG (SERVER) command
Eric Kohl [Sun, 1 Apr 2018 17:00:32 +0000 (19:00 +0200)]
[NET] Add the NET CONFIG (SERVER) command

6 years ago[WIN32SS:FRAMEBUF] Improve/Fix DrvSetPointerShape(), from r7864 (#457)
Serge Gautherie [Sun, 1 Apr 2018 16:51:54 +0000 (18:51 +0200)]
[WIN32SS:FRAMEBUF] Improve/Fix DrvSetPointerShape(), from r7864 (#457)

- Fix a copypasta.
- Remove dead code.

Thanks to mudhead, who spotted most of these.

NB:
This EXPERIMENTAL_MOUSE_CURSOR_SUPPORT code isn't compiled by default since r7865.

CORE-14511

6 years ago[TRANSLATION][RAPPS] Translation update for Italian and Romanian (#460)
Bișoc George [Sun, 1 Apr 2018 16:30:36 +0000 (18:30 +0200)]
[TRANSLATION][RAPPS] Translation update for Italian and Romanian (#460)

- Small Italian translation update;
- Translation update for Romanian;
- Small update (just two strings translated based on the latest RAPPS commits);
- Header E-mail changed.