Commit graph

71701 commits

Author SHA1 Message Date
Thomas Faber 3a0e654027
[CMAKE] Use configuration-specific names for files generated by CMake.
Fixes configuring with VSSolution.
2018-04-08 18:31:36 +02:00
Mark Jansen dffd748dae
[KERNEL32_VISTA] This function now comes from rtlfuncs.h 2018-04-08 17:47:43 +02:00
Mark Jansen 15affd19ee
[APISETS] Update the script to take the current newline setting into account. 2018-04-08 17:30:44 +02:00
Mark Jansen 5aefc6f49a
[KERNEL32_VISTA] Export InitializeCriticalSectionEx. 2018-04-08 17:30:44 +02:00
Mark Jansen ac620c2e8e
[KERNEL32] Implement FlsAlloc/FlsFree based on Wine's implementation. 2018-04-08 17:27:24 +02:00
Hermès Bélusca-Maïto 75e80632d1
[USERSRV] HardError: Fix compilation warning; fix few comments; fix the default empty window title string. 2018-04-08 16:15:56 +02:00
Bișoc George 10e4517ff8 [ZIPFLDR] Typo fix 2018-04-08 12:08:06 +02:00
Hermès Bélusca-Maïto c62bccdda0
[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 .
2018-04-08 00:36:56 +02:00
Hermès Bélusca-Maïto 6093abdebb
[EXPLORER] Remove trailing whitespace. 2018-04-08 00:36:51 +02:00
Eric Kohl 4453f72ef8 [MSGINA] Add the shutdown reason dialog but keep it disabled by default 2018-04-07 22:26:46 +02:00
Hermès Bélusca-Maïto 40d7381e28
[BOOTDATA] Remove 'debugout.sys' mention since this driver has been removed in r26032 (ad07a1e5). 2018-04-07 22:13:42 +02:00
Hermès Bélusca-Maïto eff4c2138d
[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
2018-04-07 19:06:22 +02:00
Hermès Bélusca-Maïto 29d56f2b29
[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.
2018-04-07 18:48:13 +02:00
Hermès Bélusca-Maïto 2363fee51f
[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.
2018-04-07 18:48:12 +02:00
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