Commit graph

71941 commits

Author SHA1 Message Date
Serge Gautherie a8f1bea4b1 [KERNEL32] FlsAlloc(): Add a missing '\n' to a DPRINT1() 2018-04-14 16:07:29 +02:00
Mark Jansen e8dcbcc61d
[SHELL32] Sync CShellDispatch and family with wine.
Incorporates work from Ivan Rodionov.
CORE-12955
2018-04-14 15:47:13 +02:00
Pierre Schweitzer fd87f0ad87
[SC] Don't leak service status info on success
CID 1434266
2018-04-14 15:40:26 +02:00
Eric Kohl ff9c737acc [NET] Add help text for the NET LOCALGROUP command 2018-04-14 13:24:05 +02:00
Pierre Schweitzer 38791299ca
[VFATLIB] Simplify in-memory boot sector copy.
So that, coverity is happy again.
NFC

CID 1434230, 1434233, 1434238, 1434243, 1434246, 1434272
2018-04-14 12:05:32 +02:00
Pierre Schweitzer c7bba39afc
[NTFS] When reading $I30 attribute fails, stop the rename operation.
This makes the function return the error instead of continuing and
performing use-after-frees operations.
This is likely to be a forgotten return!

CID 1434254, 1434268
2018-04-14 11:43:57 +02:00
Hermès Bélusca-Maïto 1551d2b136
[EVENTLOG] Register .evt file extension so that we can open event log files from the shell.
Take also the opportunity to fix a problematic "%1" in wordpad.exe command line.
2018-04-13 23:46:32 +02:00
Thomas Faber fc9bc9390d
[HAL] Reset the stack pointer to the stack frame when calling second-entry interrupt handlers. CORE-14449
Because we can encounter pending interrupts repeatedly,
HalpEndSoftwareInterrupt and HalEndSystemInterrupt already clean up the stack
space for their arguments (done for CORE-11123/CORE-14076).
However these functions are called from C functions such as KiInterruptDispatch
and HalpDispatchInterrupt2[ndEntry]. These callers also use up stack space,
and it is unknown how much.
To fix this, we simply reset the stack pointer to the location of the trap
frame, which is where it points during a first-level dispatch. This cleans
up the stack usage of any callers higher up, and is okay because a return
will happen through the trap frame anyway.

Dedicated to Pierre.
2018-04-13 09:04:52 +02:00
Hermès Bélusca-Maïto bb03da981c
[EVENTVWR] Additions to the Event Viewer.
- Don't hardcode a buffer length in ExpandEnvironmentStringsW() call.
- If no file name is associated to a log (ErrorLog->FileName == NULL),
  don't try to attempt looking at its file properties. This also allows
  avoiding a crash in the FindFirstFileW() call under certain conditions
  on Windows.
2018-04-13 01:02:20 +02:00
Mark Jansen ab240d1b6d
[NTDLL] Allow shimdata to override the process manifest. 2018-04-12 18:49:25 +02:00
Mark Jansen bcb2613684
[SDB][APPHELP] Add ShimVersionNT data tags + read them in SdbPackAppCompatData 2018-04-12 18:49:25 +02:00
Mark Jansen 74bb9d5dc0
[APPHELP_APITEST] Add tests for Data tags 2018-04-12 18:49:25 +02:00
Mark Jansen d74a3fecad
[APPHELP] Implement SdbQueryData[Ex][TagID] 2018-04-12 18:49:25 +02:00
Mark Jansen 767fc4a6ad
[XML2SDB] Add support for DATA in Layers. 2018-04-12 18:49:12 +02:00
Joachim Henze 083c3d992b [USER32] Fix compilation when USE_VERSIONED_CLASSES is not defined
Variable 'Status' would be set but not used otherwise in this case.
This commit will not fix or improve CORE-13278,
but was spotted when having a look at that.
2018-04-12 17:57:38 +02:00
Hermès Bélusca-Maïto 1afc87ee57
[EVENTVWR] Add support for a command-line for the Event Log Viewer.
CORE-12269

- Add support for '/?' and '/l:' switches. The former displays usage
  information. The latter allows to specify an event log file to load.
  Also one can specify the computer name from which one wants to
  retrieve events for display (work in progress).
- In EnumEventsThread(), move around the code that updates the
  application title and status bar, so that the selected event log name
  and loading status is always displayed first, while loading itself is
  in progress.
2018-04-12 02:45:37 +02:00
Hermès Bélusca-Maïto eb2934df0e
[EVENTVWR] Enhancements to the event log viewer.
- Initialize hwndMainWindow as it can be used before it is properly
  initialized with an existing window handle.
- Transform ShowLastWin32Error() to a more generic ShowWin32Error().
- Use iswdigit() instead of isdigit().
- Add extra heap buffer cleanup.
- Split OpenUserEventLog() in two: OpenUserEventLog() that displays
  an open-file dialog, and OpenUserEventLogFile() that does the real
  work of allocating internal structures and opening the log file using
  the event-log service. We also check that the file really exists
  before proceeding further.
- Force treeview repaint when *children* items are inserted, because
  otherwise the expand/collapse buttons do not display next to parent
  items (this problem happens on Windows too).
- Reshuffle the resource string IDs.
2018-04-12 02:32:37 +02:00
Eric Kohl ef0f6861fb [NET] Replace remaining hard-coded strings by string resources for the NET STATISTICS command. 2018-04-12 00:58:30 +02:00
Joachim Henze 14f0e62f9a [WIN32SS][NTDDRAW] Fix ddraw palette regression CORE-13714
This nice patch of Jerome Gardou improves palette
when VBEMP & inbuilt Mesa is used for
Diablo II, MS Age Of Empires 1, Anno 1602
to the state we had in SVN r75060 and below.

We already committed this fix into 0.4.8-release before.
2018-04-11 15:39:54 +02:00
Amine Khaldi dabc7c9e92 [KERNEL32/STRING] Sync sortkey.c with Wine Staging 3.3. CORE-14434 2018-04-11 12:49:52 +01:00
Amine Khaldi cf14b6b2f5 [KERNEL32/STRING] Sync lcformat.c with Wine Staging 3.3. CORE-14434 2018-04-11 12:48:50 +01:00
Amine Khaldi eaa9d0d12c [KERNEL32/STRING] Sync format_msg.c with Wine Staging 3.3. CORE-14434 2018-04-11 12:47:12 +01:00
Amine Khaldi 7f3e00c573 [KERNEL32/STRING] Sync fold.c with Wine Staging 3.3. CORE-14434 2018-04-11 12:45:42 +01:00
Amine Khaldi d5064a6894 [KERNEL32] Missed this file. Fixes build. 2018-04-11 12:44:23 +01:00
Amine Khaldi efc8966665 [KERNEL32/STRING] Import digitmap.c from, and sync casemap.c with, Wine Staging 3.3. CORE-14434 2018-04-11 12:39:39 +01:00
Amine Khaldi 6d262f1ee4 [KERNEL32/WINE] Sync res.c with Wine Staging 3.3. CORE-14434 2018-04-11 12:36:44 +01:00
Amine Khaldi 8d2519218f [KERNEL32/WINE] Sync profile.c with Wine Staging 3.3. CORE-14434 2018-04-11 12:32:54 +01:00
Amine Khaldi 2f1d080ce5 [KERNEL32/WINE] Sync lzexpand.c with Wine Staging 3.3. CORE-14434 2018-04-11 12:30:53 +01:00
Amine Khaldi 8296d6c1ef [WIDL] Sync with Wine Staging 3.3. CORE-14434 2018-04-11 12:29:04 +01:00
Amine Khaldi 6cbd6bd3ce [UNICODE] Sync with Wine Staging 3.3. CORE-14434 2018-04-11 12:25:43 +01:00
Adam Słaboń abe6bbabfb [TRANSLATION] Polish translation update for drwtsn32, winlogon and usersrv. (#475) 2018-04-10 22:54:34 +02:00
Joann Mõndresku 6522bb42df [TRANSLATION][SHELL32] Corrected mistakes 2018-04-10 22:49:16 +02:00
Eric Kohl 2e60a17e8b [NET] Improve the NET STATISTICS command
- Add resource strings for the NET STATISTICS SERVER command.
- Convert and display the 'statistics since' time.
2018-04-10 21:34:00 +02:00
Paweł Cholewa 30eb3859f4 [TRANSLATION][MEDIA] Polish translation update (#479) 2018-04-10 15:50:03 +02:00
Mark Jansen 9aa26b9c23
[RTL] actctx: Use the new RosGetProcessCompatVersion. 2018-04-09 19:36:09 +02:00
Mark Jansen d49004352f
[NTDLL] Check the process manifest at startup for a compatibility section. 2018-04-09 19:36:09 +02:00
Giannis Adamopoulos e195199a51 Fix build 2018-04-09 01:42:17 +03:00
Giannis Adamopoulos 8d3045622e [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
2018-04-09 01:28:43 +03:00
Mark Jansen 19912955f6
[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".
2018-04-09 00:07:31 +02:00
Eric Kohl 58b5cdc77c [NET] Add the NET STATISTICS command 2018-04-08 21:27:05 +02:00
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