Mark Jansen [Sat, 24 Feb 2018 17:42:42 +0000 (18:42 +0100)]
[XML2SDB] Add support for TAG_LINK_DATE and TAG_LINKER_VERSION.
Mark Jansen [Sat, 24 Feb 2018 13:57:00 +0000 (14:57 +0100)]
[SHIMLIB] Update helper functions, add ShimLib_StringNDuplicateA
Mark Jansen [Sat, 24 Feb 2018 13:55:11 +0000 (14:55 +0100)]
[APPSHIM_APITEST] Add a test for the shim IgnoreFreeLibrary
Eric Kohl [Sun, 22 Apr 2018 15:42:20 +0000 (17:42 +0200)]
[ZIPFLDR] Fix russian translation
Mark Jansen [Sat, 21 Apr 2018 11:31:29 +0000 (13:31 +0200)]
[SHELL32] Partially sync SHGetFileInfo with wine to improve folder type names.
CORE-14542
Mark Jansen [Sat, 21 Apr 2018 10:50:05 +0000 (12:50 +0200)]
[ZIPFLDR] Various usability improvements
- Take the user-entered folder into account
- Hide size / ratio for folders
CORE-14543
CORE-14542
Mark Jansen [Sat, 21 Apr 2018 10:48:08 +0000 (12:48 +0200)]
[ATL] Add COMMAND_HANDLER macro.
CORE-14543
Stanislav Motylkov [Sun, 22 Apr 2018 14:31:21 +0000 (17:31 +0300)]
[ZIPFLDR] Add Russian translation
Hermès Bélusca-Maïto [Sun, 22 Apr 2018 14:31:53 +0000 (16:31 +0200)]
[NTOSKRNL] Minor PnP enhancements.
- For non-PnP devices reported to the PnP manager through the
IoReportDetectedDevice() function, store the corresponding
service/driver name and (non-)legacy information inside their
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\ entries.
- Drivers flagged as "DRVO_BUILTIN_DRIVER" (basically, only those
created via a IoCreateDriver() call) have their "Service" name that
contain "\Driver\", which should be stripped before being used in
building e.g. the corresponding "DETECTEDxxx" PnP compatible IDs.
CORE-14247
- Use explicit REG_OPTION_NON_VOLATILE flag where needed in the
IopCreateDeviceKeyPath() calls.
- Save NULL-terminated REG-SZ string properties in the enumeration tree
for each device enumerated inside \Enum\Root\.
- Always use upcased key name for the "LEGACY_***" elements in \Enum\Root\.
- Add a default "ConfigFlags" value for the legacy elements.
- Simplify few parts of code.
Hermès Bélusca-Maïto [Wed, 4 Apr 2018 00:25:49 +0000 (02:25 +0200)]
[ACPI] Fix the format of the (default hardcoded) "unique" instance ID.
Hermès Bélusca-Maïto [Tue, 3 Apr 2018 00:17:52 +0000 (02:17 +0200)]
[NTOSKRNL] Whitespace fixes only.
Hermès Bélusca-Maïto [Tue, 3 Apr 2018 00:14:48 +0000 (02:14 +0200)]
[NTOSKRNL] Set the DRVO_BUILTIN_DRIVER DriverObject flag when a built-in driver is created using IoCreateDriver().
Hermès Bélusca-Maïto [Tue, 3 Apr 2018 00:10:08 +0000 (02:10 +0200)]
[NTOSKRNL] Set flags the standard way.
Doug Lyons [Sun, 22 Apr 2018 13:42:10 +0000 (15:42 +0200)]
[BROWSEUI] Apply a hack to prevent truncating the address bar text.
CORE-13003
Timo Kreuzer [Mon, 29 Jan 2018 11:37:26 +0000 (12:37 +0100)]
[NTOS:MM] Fix ViewSize parameter passed to MiInsertVadEx() from MiCreatePebOrTeb()
The size is in bytes, not in pages! On x86 we got away with it, since PEB and TEB require only a single page and the 1 passed to MiInsertVadEx() was aligned up to PAGE_SIZE. On x64 this doesn't work, since the size is 2 pages.
Eric Kohl [Sun, 22 Apr 2018 12:26:11 +0000 (14:26 +0200)]
[SYSSETUP] Add the property sheet page and initialize it
- Add the wheel detection option strings.
- Add the property sheet page and initialize the dialog.
Eric Kohl [Sun, 22 Apr 2018 09:59:47 +0000 (11:59 +0200)]
[SYSSETUP] Add the PS/2-Mouse property page dialog
Hermès Bélusca-Maïto [Sun, 22 Apr 2018 00:52:11 +0000 (02:52 +0200)]
[README] Convert to UTF-8 without BOM.
Hermès Bélusca-Maïto [Sun, 22 Apr 2018 00:51:32 +0000 (02:51 +0200)]
[BOOTDATA] Increase the maximum size of the default event log files.
Hermès Bélusca-Maïto [Sun, 22 Apr 2018 00:42:04 +0000 (02:42 +0200)]
[EVTLIB] Silence some DPRINTs.
Mark Jansen [Sat, 21 Apr 2018 16:55:57 +0000 (18:55 +0200)]
[APISETS] Fix data forwarding.
Thanks to Timo for the help :)
Timo Kreuzer [Sun, 18 Feb 2018 21:21:31 +0000 (22:21 +0100)]
[KERNEL32] Add Vista exports
Timo Kreuzer [Sun, 18 Feb 2018 21:06:30 +0000 (22:06 +0100)]
[KERNEL32] Go back to auto-numbering of export ordinals
Using static numbers was a bad idea in the first place, since we already deal with x64, which has different ordinals. Also @ will automatically do the same thing! It does not mean "no ordinal", it only means automatically apply incrementing numbers.
Timo Kreuzer [Sun, 18 Feb 2018 20:22:52 +0000 (21:22 +0100)]
[SPEC2DEF] Implement support for different OS versions
Eric Kohl [Sat, 21 Apr 2018 12:14:49 +0000 (14:14 +0200)]
[SYSETUP] Add property page provider stubs and register them
Giannis Adamopoulos [Sun, 8 Apr 2018 18:28:53 +0000 (21:28 +0300)]
[COMCTL32_APITEST] Add some button tests
Giannis Adamopoulos [Wed, 4 Apr 2018 13:39:21 +0000 (16:39 +0300)]
[COMCTL32] Sync with Wine Staging 3.3. CORE-14434
Eric Kohl [Thu, 19 Apr 2018 04:09:57 +0000 (06:09 +0200)]
[ADVAPI32] Ignore the return value of the HandlerFunctionEx as well
Ignore the return value of the HandlerFunctionEx because we already ignore the return value of the HandlerFunction.
This fixes a winetest failure.
Serge Gautherie [Wed, 18 Apr 2018 15:25:34 +0000 (17:25 +0200)]
[LOCALSPL] Fix 2 Clang-Cl warnings about ullResult and "UserName"
- "warning: comparison of unsigned expression < 0 is always false [-Wtautological-unsigned-zero-compare]"
- "warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]"
CORE-14306
Thomas Faber [Sun, 17 Dec 2017 23:13:51 +0000 (00:13 +0100)]
[NTOS:PNP] Use pool tagging for DEVICE_ACTION_DATA. CORE-10456
Thomas Faber [Sun, 17 Dec 2017 21:53:01 +0000 (22:53 +0100)]
[NTOS:PNP] Rename IopDeviceRelations* to IopDeviceAction*. CORE-10456
Hermès Bélusca-Maïto [Tue, 17 Apr 2018 22:44:39 +0000 (00:44 +0200)]
[MODE] Use ConUtils functions for printing to screen.
Hermès Bélusca-Maïto [Tue, 17 Apr 2018 22:37:42 +0000 (00:37 +0200)]
[MODE] Improve few points in the MODE command. Adapted from a patch by Katayama Hirofumi MZ. CORE-12894
Hermès Bélusca-Maïto [Tue, 17 Apr 2018 21:01:45 +0000 (23:01 +0200)]
[EVENTVWR] Additions for the Event Viewer.
CORE-11637, CORE-12269
- Implement support for remote connections to NT computers to view their
event logs (and the event logs settings). For the moment the remote
computer name specification is is only available via the command-line.
Note that the paths to the event log files need also to be translated
to network-share format.
- Implement loading and saving the settings of the event viewer.
- Implement showing/hiding the events description pane, the ListView
grid, and whether or not to save the EventViewer settings.
- Handle hypertext link click handling for the RichEdit edit box of the
events description dialog.
Hermès Bélusca-Maïto [Tue, 17 Apr 2018 20:43:47 +0000 (22:43 +0200)]
[EVENTVWR] Code style only.
Pierre Schweitzer [Sat, 14 Apr 2018 09:13:12 +0000 (11:13 +0200)]
[NTOSKRNL] Properly reset VACB on free
CID
1434271
Pierre Schweitzer [Sun, 8 Apr 2018 17:09:36 +0000 (19:09 +0200)]
[NTOSKRNL] Drop the VACB lock.
This has have several benefits for ReactOS Cc:
- It helps reducing potential deadlocks situations in Cc
- It speeds up ReactOS by reducing locks
- It gets us a bit closer to Windows VACB
CORE-14349
Pierre Schweitzer [Sun, 8 Apr 2018 16:58:15 +0000 (18:58 +0200)]
[NTOSKRNL] Use interlocked operations when dealing with map count.
CORE-14349
Pierre Schweitzer [Sun, 8 Apr 2018 16:45:38 +0000 (18:45 +0200)]
[NTOSKRNL] Map the VACB in kernel space before inserting it in lists.
The avoids race conditions where attempts to read from disk to
not fully initialized VACB were performed.
Also, added more debug prints in such situations.
CORE-14349
Pierre Schweitzer [Sun, 8 Apr 2018 16:34:00 +0000 (18:34 +0200)]
[NTOSKRNL] Add extra sanity checks for VACB lists.
We now always initialize list members from the VACB
and make sure the list entry has properly been removed
from the list before free.
CORE-14349
Thomas Faber [Sun, 15 Apr 2018 17:42:18 +0000 (19:42 +0200)]
[NTOS:MM] Do not map two pages into hyperspace in MiCopyFromUserPage. CORE-14548
Doing this is not only wrong because it acquires the same spinlock twice,
it also completely breaks the TLB flushing logic in MiMapPageInHyperSpace.
If the PTE with Offset 1 is still valid when a wrap-around to 0 happens,
the TLB flush on wrap-around will not clear the entry for this previous page.
After another loop around all hyperspace pages, page 1 is re-used but its
TLB entry has not been flushed, which may result into incorrect translation.
Li Keqing [Sun, 15 Apr 2018 12:45:31 +0000 (20:45 +0800)]
[ZIPFLDR] Add Chinese(Simplified) translation
Eric Kohl [Sun, 15 Apr 2018 13:32:01 +0000 (15:32 +0200)]
[NET] Implement the options in the NET CONFIG SERVER command
Pierre Schweitzer [Sun, 15 Apr 2018 08:56:00 +0000 (10:56 +0200)]
[ZIPFLDR] Add French translation
Bișoc George [Sat, 14 Apr 2018 15:29:55 +0000 (17:29 +0200)]
[WINLOGON] Romanian translation update
Joann Mõndresku [Sat, 14 Apr 2018 18:19:39 +0000 (21:19 +0300)]
[TRANSLATION][ZIPFLDR] Added Estonian translation
Bișoc George [Sun, 8 Apr 2018 18:28:28 +0000 (20:28 +0200)]
[ZIPFLDR] Implement Romanian resource translation
Bișoc George [Sun, 8 Apr 2018 16:38:19 +0000 (18:38 +0200)]
[ZIPFLDR] Implement Italian resource translation
Bișoc George [Sun, 8 Apr 2018 15:31:29 +0000 (17:31 +0200)]
[ZIPFLDR] Typo fix on constant
Bișoc George [Sun, 8 Apr 2018 15:15:24 +0000 (17:15 +0200)]
[ZIPFLDR] Support for multiple languages interface
Eric Kohl [Sat, 14 Apr 2018 16:31:14 +0000 (18:31 +0200)]
[NETMSG] Add netmsg resource dll with some lmerr messages
Eric Kohl [Sat, 14 Apr 2018 12:54:50 +0000 (14:54 +0200)]
[NET] Add help text for the NET GROUP command and improve the NET LOCALGROUP help text
Serge Gautherie [Sun, 8 Apr 2018 21:44:35 +0000 (23:44 +0200)]
[KERNEL32] FlsAlloc(): Add a missing '\n' to a DPRINT1()
Mark Jansen [Fri, 13 Apr 2018 20:59:04 +0000 (22:59 +0200)]
[SHELL32] Sync CShellDispatch and family with wine.
Incorporates work from Ivan Rodionov.
CORE-12955
Pierre Schweitzer [Sat, 14 Apr 2018 13:38:12 +0000 (15:38 +0200)]
[SC] Don't leak service status info on success
CID
1434266
Eric Kohl [Sat, 14 Apr 2018 11:23:37 +0000 (13:23 +0200)]
[NET] Add help text for the NET LOCALGROUP command
Pierre Schweitzer [Sat, 14 Apr 2018 10:05:32 +0000 (12:05 +0200)]
[VFATLIB] Simplify in-memory boot sector copy.
So that, coverity is happy again.
NFC
CID
1434230,
1434233,
1434238,
1434243,
1434246,
1434272
Pierre Schweitzer [Sat, 14 Apr 2018 09:39:33 +0000 (11:39 +0200)]
[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
Hermès Bélusca-Maïto [Fri, 13 Apr 2018 21:46:32 +0000 (23:46 +0200)]
[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.
Thomas Faber [Fri, 13 Apr 2018 06:48:57 +0000 (08:48 +0200)]
[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.
Hermès Bélusca-Maïto [Thu, 12 Apr 2018 22:52:25 +0000 (00:52 +0200)]
[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.
Mark Jansen [Tue, 10 Apr 2018 22:18:17 +0000 (00:18 +0200)]
[NTDLL] Allow shimdata to override the process manifest.
Mark Jansen [Tue, 10 Apr 2018 22:05:41 +0000 (00:05 +0200)]
[SDB][APPHELP] Add ShimVersionNT data tags + read them in SdbPackAppCompatData
Mark Jansen [Tue, 10 Apr 2018 20:40:27 +0000 (22:40 +0200)]
[APPHELP_APITEST] Add tests for Data tags
Mark Jansen [Tue, 10 Apr 2018 20:42:03 +0000 (22:42 +0200)]
[APPHELP] Implement SdbQueryData[Ex][TagID]
Mark Jansen [Tue, 10 Apr 2018 20:39:29 +0000 (22:39 +0200)]
[XML2SDB] Add support for DATA in Layers.
Joachim Henze [Thu, 12 Apr 2018 15:57:38 +0000 (17:57 +0200)]
[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.
Hermès Bélusca-Maïto [Thu, 12 Apr 2018 00:45:37 +0000 (02:45 +0200)]
[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.
Hermès Bélusca-Maïto [Thu, 12 Apr 2018 00:32:37 +0000 (02:32 +0200)]
[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.
Eric Kohl [Wed, 11 Apr 2018 22:58:30 +0000 (00:58 +0200)]
[NET] Replace remaining hard-coded strings by string resources for the NET STATISTICS command.
Joachim Henze [Wed, 11 Apr 2018 13:39:54 +0000 (15:39 +0200)]
[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.
Amine Khaldi [Wed, 11 Apr 2018 11:49:52 +0000 (12:49 +0100)]
[KERNEL32/STRING] Sync sortkey.c with Wine Staging 3.3. CORE-14434
Amine Khaldi [Wed, 11 Apr 2018 11:48:50 +0000 (12:48 +0100)]
[KERNEL32/STRING] Sync lcformat.c with Wine Staging 3.3. CORE-14434
Amine Khaldi [Wed, 11 Apr 2018 11:47:12 +0000 (12:47 +0100)]
[KERNEL32/STRING] Sync format_msg.c with Wine Staging 3.3. CORE-14434
Amine Khaldi [Wed, 11 Apr 2018 11:45:42 +0000 (12:45 +0100)]
[KERNEL32/STRING] Sync fold.c with Wine Staging 3.3. CORE-14434
Amine Khaldi [Wed, 11 Apr 2018 11:44:23 +0000 (12:44 +0100)]
[KERNEL32] Missed this file. Fixes build.
Amine Khaldi [Wed, 11 Apr 2018 11:39:39 +0000 (12:39 +0100)]
[KERNEL32/STRING] Import digitmap.c from, and sync casemap.c with, Wine Staging 3.3. CORE-14434
Amine Khaldi [Wed, 11 Apr 2018 11:36:44 +0000 (12:36 +0100)]
[KERNEL32/WINE] Sync res.c with Wine Staging 3.3. CORE-14434
Amine Khaldi [Wed, 11 Apr 2018 11:32:54 +0000 (12:32 +0100)]
[KERNEL32/WINE] Sync profile.c with Wine Staging 3.3. CORE-14434
Amine Khaldi [Wed, 11 Apr 2018 11:30:53 +0000 (12:30 +0100)]
[KERNEL32/WINE] Sync lzexpand.c with Wine Staging 3.3. CORE-14434
Amine Khaldi [Wed, 11 Apr 2018 11:29:04 +0000 (12:29 +0100)]
[WIDL] Sync with Wine Staging 3.3. CORE-14434
Amine Khaldi [Wed, 11 Apr 2018 11:25:43 +0000 (12:25 +0100)]
[UNICODE] Sync with Wine Staging 3.3. CORE-14434
Adam Słaboń [Tue, 10 Apr 2018 20:54:34 +0000 (22:54 +0200)]
[TRANSLATION] Polish translation update for drwtsn32, winlogon and usersrv. (#475)
Joann Mõndresku [Tue, 10 Apr 2018 15:25:48 +0000 (18:25 +0300)]
[TRANSLATION][SHELL32] Corrected mistakes
Eric Kohl [Tue, 10 Apr 2018 19:32:30 +0000 (21:32 +0200)]
[NET] Improve the NET STATISTICS command
- Add resource strings for the NET STATISTICS SERVER command.
- Convert and display the 'statistics since' time.
Paweł Cholewa [Tue, 10 Apr 2018 13:50:03 +0000 (15:50 +0200)]
[TRANSLATION][MEDIA] Polish translation update (#479)
Mark Jansen [Mon, 9 Apr 2018 16:55:59 +0000 (18:55 +0200)]
[RTL] actctx: Use the new RosGetProcessCompatVersion.
Mark Jansen [Sat, 13 Jan 2018 20:32:48 +0000 (21:32 +0100)]
[NTDLL] Check the process manifest at startup for a compatibility section.
Giannis Adamopoulos [Sun, 8 Apr 2018 22:42:17 +0000 (01:42 +0300)]
Fix build
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
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".
Eric Kohl [Sun, 8 Apr 2018 18:04:11 +0000 (20:04 +0200)]
[NET] Add the NET STATISTICS command
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.
Mark Jansen [Sun, 8 Apr 2018 15:47:43 +0000 (17:47 +0200)]
[KERNEL32_VISTA] This function now comes from rtlfuncs.h
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.
Mark Jansen [Sun, 8 Apr 2018 09:09:54 +0000 (11:09 +0200)]
[KERNEL32_VISTA] Export InitializeCriticalSectionEx.
Mark Jansen [Sat, 7 Apr 2018 21:41:53 +0000 (23:41 +0200)]
[KERNEL32] Implement FlsAlloc/FlsFree based on Wine's implementation.
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.
Bișoc George [Sun, 8 Apr 2018 09:34:13 +0000 (11:34 +0200)]
[ZIPFLDR] Typo fix
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 .