Commit graph

71887 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto
08d70697a3
[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.
2018-04-07 18:48:11 +02:00
Hermès Bélusca-Maïto
9ea2783e56
[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.
2018-04-07 18:48:10 +02:00
Hermès Bélusca-Maïto
5a1a35ca5a
[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.
2018-04-07 18:48:09 +02:00
Hermès Bélusca-Maïto
2b299f5fec
[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.
2018-04-07 18:48:08 +02:00
Hermès Bélusca-Maïto
6718a1aa83
[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.
2018-04-07 18:48:06 +02:00
Hermès Bélusca-Maïto
e6d7ed7080
[NDK] Increase MAXIMUM_HARDERROR_PARAMETERS for Win2k3 compatibility. 2018-04-07 18:48:00 +02:00
Alexander Shaposhnikov
627739aed9
[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
2018-04-07 19:25:12 +03:00
Mark Jansen
da6a46c6ac
[ZIPFLDR] Register the shell extension.
CORE-7684
2018-04-07 15:29:59 +02:00
Mark Jansen
c7e6a9d04b
[ZIPFLDR] Initial implementation.
Icon by Jared Smudde
CORE-7684
2018-04-07 15:29:59 +02:00
Mark Jansen
5100859e06
[ZLIB] Add minizip as library.
CORE-7684
2018-04-07 15:29:59 +02:00
Mark Jansen
7fe78f2779
[SHELL32_APITEST] Show that our current SHCreateFileExtractIconW is incorrect.
CORE-14082
2018-04-07 15:29:59 +02:00
Mark Jansen
a69393205a
[SHELL32] Partially implement SHCreateFileExtractIconW
CORE-14082
2018-04-07 15:29:58 +02:00
Mark Jansen
0d07967a27
[SHELL32] Initial partial IShellFolderViewCB implementation. 2018-04-07 15:29:53 +02:00
Mark Jansen
3f15a0d473
[APISETS] Add the initial set of auto-generated files.
CORE-13231
2018-04-07 14:50:59 +02:00
Mark Jansen
3ff8f1bb09
[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
2018-04-07 14:50:58 +02:00
Mark Jansen
547240efd5
[SDK] Remove some unused includes in stubs.h
CORE-13231
2018-04-07 14:50:42 +02:00
Serge Gautherie
6618a2fd2c [NTOS:CC] Use UNIMPLEMENTED_ONCE instead of custom code
- Rewrite e319f85e67.
2018-04-07 12:00:10 +02:00
Serge Gautherie
c704cf5f87 [SDK:REACTOS] Define UNIMPLEMENTED_ONCE for "!DBG && _MSC_VER" too
- Addendum to 81eb3bbceb.
- Merge "_MSC_VER" and "!_MSC_VER" cases, to prevent such a mistake.
2018-04-07 12:00:10 +02:00
Mark Jansen
a5f12908df
[NTOSKRNL] Fix IopValidateID using uninitialized var, reset SeparatorsCount in the MultiSz case. 2018-04-05 22:06:31 +02:00
Timo Kreuzer
6b1ca75899
[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
2018-04-03 15:13:17 -06:00
Eric Kohl
d5f744ff31 [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.
2018-04-03 22:32:10 +02:00
Amine Khaldi
c63fc7f345 [XINPUT1_3_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-04-03 13:52:18 +01:00
Amine Khaldi
3c774903aa [WSCRIPT_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-04-03 13:51:45 +01:00
Amine Khaldi
67c66593ea [WS2_32_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-04-03 13:51:13 +01:00
Amine Khaldi
1c6244081e [WINMM_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-04-03 13:50:40 +01:00
Amine Khaldi
d558fc75a2 [USER32_WINETEST] Sync everything except win.c with Wine Staging 3.3. CORE-14434 2018-04-03 13:49:56 +01:00
Amine Khaldi
47e04dae50 [PSDK] Add some missing WDA_NONE and WDA_MONITOR. CORE-14434 2018-04-03 13:48:43 +01:00
Amine Khaldi
0be033fe1d [SHELL32_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-04-03 13:47:46 +01:00
Amine Khaldi
cdd41ac6c4 [SETUPAPI_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-04-03 13:47:12 +01:00
Amine Khaldi
340679bd1a [SERVICES_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-04-03 13:46:36 +01:00
Amine Khaldi
33b28635b4 [SECUR32_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-04-03 13:45:57 +01:00
Amine Khaldi
6d286a66c3 [RSAENH_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-04-03 13:45:23 +01:00
Amine Khaldi
0623a6f810 [PSAPI_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-04-03 13:44:31 +01:00
Amine Khaldi
551f3b9656 [OPENGL32_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-04-03 13:43:57 +01:00
Amine Khaldi
4ba4c4156a [NTDLL_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-04-03 13:43:22 +01:00
Amine Khaldi
1c9ac7a2d2 [MSVCRT_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-04-03 13:42:04 +01:00
Amine Khaldi
3479eb396c [LOCALSPL_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-04-03 13:40:29 +01:00
Amine Khaldi
ed41a4dee2 [KERNEL32_WINETEST] Sync everything except file.c and virtual.c with Wine Staging 3.3. CORE-14434 2018-04-03 13:39:42 +01:00
Amine Khaldi
4b456ff7cd [INCLUDE/WINE] Update winternl.h. CORE-14434 2018-04-03 13:38:27 +01:00
Amine Khaldi
1246f8b5e6 [PSDK][XDK] Add some missing definitions. CORE-14434 2018-04-03 13:35:01 +01:00
Amine Khaldi
845faec403 [HID_WINETEST] Import from Wine Staging 3.3. CORE-14434 2018-04-03 13:32:05 +01:00
Amine Khaldi
4049e52e79 [DDK] Import hidsdi.h from Wine Staging 3.3. CORE-14434 2018-04-03 13:30:30 +01:00
Amine Khaldi
ff449c5f6f [GDI32_WINETEST] Sync everything except dib.c with Wine Staging 3.3. CORE-14434 2018-04-03 13:28:13 +01:00
Amine Khaldi
a84a503c62 [DNSAPI_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-04-03 13:26:14 +01:00
Amine Khaldi
f37104dadf [COMCTL32_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-04-03 13:25:05 +01:00
Amine Khaldi
c3b4d356eb [PSDK] Add some missing BS_* definitions. CORE-14434 2018-04-03 13:24:07 +01:00
Amine Khaldi
0668b91e1b [APPVEYOR] Start with the MSVC x64 build so we can get to what breaks it a bit sooner. 2018-04-03 13:19:30 +01:00
Amine Khaldi
127d41715f [APPVEYOR] Add the MSVC x64 build. Dedicated to Timo. 2018-04-03 13:16:36 +01:00
Bișoc George
76c561e5f4 [CONSOLE] Italian translation update (#466)
- Strings translated
- Typo fixed
2018-04-03 12:58:54 +02:00
Alexander Shaposhnikov
a6d2172ccc
[RAPPS] Use FTP in passive mode
This should finally fix FTP downloads in RAPPS.
2018-04-03 00:47:08 +03:00