Joachim Henze [Tue, 6 Feb 2018 13:48:43 +0000 (14:48 +0100)]
[EXPLORER] Update classic/modern startmenu preview bitmaps
To reflect our recent updates in banners and notification area.
Also reduces explorer binary size by 214.016bytes.
Pierre Schweitzer [Tue, 6 Feb 2018 12:38:55 +0000 (13:38 +0100)]
[NTOSKRNL] Define the Mm global variables related to Cc on Mm init.
This means that MmSystemCacheStart, MmSystemCacheEnd, MmSizeOfSystemCacheInPages
have now a valid value.
System cache is not used atm the moment though. MmMapViewInSystemCache() is to
be implemented, and Cc is to be made aware of this.
CORE-14259
Mark Jansen [Mon, 5 Feb 2018 23:02:17 +0000 (00:02 +0100)]
[RAPPS] Do not resize (hide) the treeview when minimizing.
Bișoc George [Mon, 5 Feb 2018 17:57:39 +0000 (18:57 +0100)]
[TRANSLATION] Romanian translation for FONTEXT and TIMEOUT (#363)
[FONTEXT]: At the moment there is a comment in the en-US.rc resource file that advises to not translate it. I only created this file as a basis for the future. The file will be updated later when there is the possibility for FONTEXT to be translated further.
Thomas Faber [Sun, 4 Feb 2018 16:15:47 +0000 (17:15 +0100)]
[LIBXML2] Update to version 2.9.7. CORE-14291
Luo Yufan [Mon, 5 Feb 2018 17:47:53 +0000 (01:47 +0800)]
[TRANSLATION][BROWSEUI][MEDIA] Simplified Chinese translations update (#360)
Thomas Faber [Mon, 5 Feb 2018 17:21:23 +0000 (18:21 +0100)]
[LIBTIFF] Restore ROS-diff that I thought was no longer needed because of PCH. CORE-14291
Mark Jansen [Mon, 5 Feb 2018 16:12:00 +0000 (17:12 +0100)]
[SHELL32] CDefViewBckgrndMenu: Fix a crash when pasting on a new explorer window.
Thomas Faber [Sun, 4 Feb 2018 15:37:07 +0000 (16:37 +0100)]
[LIBMPG123] Update to version 1.25.8. CORE-14291
Thomas Faber [Sun, 4 Feb 2018 15:21:58 +0000 (16:21 +0100)]
[LIBTIFF] Update to version 4.0.9. CORE-14291
Thomas Faber [Sun, 4 Feb 2018 14:52:31 +0000 (15:52 +0100)]
[LIBXSLT] Update to version 1.1.32. CORE-14291
Thomas Faber [Sun, 4 Feb 2018 14:51:19 +0000 (15:51 +0100)]
[LIBXSLT] Better highlight some ROS diffs. CORE-14291
Thomas Faber [Sun, 4 Feb 2018 12:22:20 +0000 (13:22 +0100)]
[LIBJPEG] Update to version 9c. CORE-14291
Thomas Faber [Sun, 4 Feb 2018 12:08:19 +0000 (13:08 +0100)]
[LIBPNG] Update to version 1.6.34. CORE-14291
Thomas Faber [Tue, 30 Jan 2018 19:50:05 +0000 (20:50 +0100)]
[FREELDR] Reduce the timeout during serial mouse detection. CORE-14280
Thomas Faber [Tue, 30 Jan 2018 19:48:25 +0000 (20:48 +0100)]
[FREELDR] Remove unnecessary checks. CORE-14280
Thomas Faber [Tue, 30 Jan 2018 19:47:12 +0000 (20:47 +0100)]
[FREELDR] Display an additional status message for hardware detection. CORE-14280
Timo Kreuzer [Sun, 28 Jan 2018 16:45:41 +0000 (17:45 +0100)]
[NTOS:MM] Make x64 address space layout more like Vista+
- Change MM_SYSTEM_SPACE_START to 0xFFFFF88000000000
- Move MI_DEBUG_MAPPING to the end of the system PTE range
- Add MI_SYSTEM_CACHE_START and MI_SYSTEM_CACHE_END, which is in the range that Vista uses as dynamic VA space for cache and other allocations
- Wrap x86 specific code that makes now invalid assumptions about the address space layout in #ifdef _M_IX86
Alex Ionescu [Mon, 5 Feb 2018 00:01:38 +0000 (16:01 -0800)]
[ROSLOAD]: Continue work on target preparation OslPrepareTarget 2/104.
[ROSLOAD]: Stubplement OslpCheckForcedFailure, OslpGetSetBootStatusData, OslSetBootStatusData, OslGetBootStatusData.
[ROSLOAD]: Stub OslpInitializeBootStatusDataLog, OslpReadWriteBootStatusData.
[BOOTLIB]: Fix BlAppendBootOptionString to accept an actual BCD ID instead of hardcoding LibraryPath.
[BOOTLIB]: Fix BlAppendBootOptionBoolean to accept an actual BOOLEAN value instead of hardcoding TRUE.
[BOOTLIB]: Implement BlDeviceIsVirtualPartitionDevice.
[BOOTLIB]: Add missing BcdOSLoaderInteger_ForceFailure BCD value. Add BCDE_OSLOADER_TYPE_BOOT_STATUS_POLICY based on BcdEdit.exe and Geoff Chappel site.
Eric Kohl [Sun, 4 Feb 2018 21:30:33 +0000 (22:30 +0100)]
[SERVICES] Remove the synchronous service control pipe code
Remove the synchronous service control pipe code because we are using the asynchronous service control pipe code for years.
Eric Kohl [Sun, 4 Feb 2018 20:02:20 +0000 (21:02 +0100)]
[SETUPAPI] Machine handles are pointers.
Pierre Schweitzer [Sun, 4 Feb 2018 21:02:27 +0000 (22:02 +0100)]
[NTOSKRNL] Yet another ASSERT...
CORE-14285
Pierre Schweitzer [Sun, 4 Feb 2018 20:46:08 +0000 (21:46 +0100)]
[NTOSKRNL] Add an assert against VACB reference count overflow.
Very likely to be hit...
CORE-14285
Eric Kohl [Sun, 4 Feb 2018 19:23:51 +0000 (20:23 +0100)]
[SETUPAPI] Add a proper (SEH protected) check for LOG_CONF handles
Eric Kohl [Sun, 4 Feb 2018 16:47:37 +0000 (17:47 +0100)]
[SETUPAPI] Fix the coding style, annotations and debug messages
* Fix the coding style.
* Add missing annotations.
* Add the function name to the debug messages.
* Treat all machine handles like pointers.
Thomas Faber [Sun, 4 Feb 2018 18:24:00 +0000 (19:24 +0100)]
[PSDK][XDK] Remove DECLSPEC_* from windef.h, protect against redefinition in winnt.h
Adam Słaboń [Sun, 4 Feb 2018 17:45:20 +0000 (18:45 +0100)]
[TRANSLATION] Polish translation update (#357)
Alex Ionescu [Sun, 4 Feb 2018 17:34:27 +0000 (09:34 -0800)]
Merge branch 'master' of https://github.com/reactos/reactos
Alex Ionescu [Sun, 4 Feb 2018 17:33:32 +0000 (09:33 -0800)]
[RTL]: Document and flesh out Boot Status Data (BSD) API/Structures
[NDK]: Document latest RTL_BSD_DATA as of RS3 based on ext.dll WinDBG
extension "!blackboxbsd" which outputs the entire structure field by
field :).
[NDK]: Update RTL_BSD_ITEM_TYPE thanks to ole32 symbols
[RTL]: Move system volume APIs to sysvol.c
[RTL]: Fill out BsdItemTable based on actual field offsets/sizes and not
hardcoded magic numbers which we won't ask where they came from.
[RTL]: Make RtlCreateBootStatusDataFile use an appropriate structure for
initializing the buffer instead of "UCHAR Buffer[12] = {0xC,0,0,0,
1,0,0,0, 1, 0x1e, 1, 0};" which appears like magic knowledge.
[RTL]: Rename "WriteMode" to "Read" in RtlGetSetBootStatusData since
it's much less confusing.
[RTL]: Some formatting fixes, SAL updates.
Hermès Bélusca-Maïto [Sun, 4 Feb 2018 17:02:41 +0000 (18:02 +0100)]
[SHELL32] Rewrite the wrapping code for shell taskbar notifications.
- Introduce the TRAYNOTIFYDATAW structure, as documented by Geoff
Chappell in "WM_COPYDATA for Taskbar Interface", at
http://www.geoffchappell.com/studies/windows/shell/shell32/api/shlnot/copydata.htm
that is the data structure passed between shell32 and explorer for
communicating shell notify icon information.
- In Shell_NotifyIcon(), correctly capture the (ANSI and) UNICODE
structures provided by the caller, properly taking into account for
the different NOTIFYICONDATA structure sizes existing out there.
The different strings are now properly null-terminated (especially
szTip if it needs to be truncated out), and the flags validated.
- Remove the now unneeded "SHELL_NotifyIcon()" helper function.
[EXPLORER] Use TRAYNOTIFYDATAW and adjust the callers.
Hermès Bélusca-Maïto [Sun, 4 Feb 2018 16:21:58 +0000 (17:21 +0100)]
[STOBJECT] Don't hardcode variable type in sizeof.
Hermès Bélusca-Maïto [Sun, 4 Feb 2018 16:19:40 +0000 (17:19 +0100)]
[PSDK] Fix NIF_STATE definition and add NIF_GUID.
Hermès Bélusca-Maïto [Sun, 4 Feb 2018 16:18:25 +0000 (17:18 +0100)]
[BROWSEUI] Shut a warning down ("windef.h(121) : warning RC4005: 'DECLSPEC_IMPORT' : redefinition" when compiling the resource).
Eric Kohl [Sun, 4 Feb 2018 14:40:35 +0000 (15:40 +0100)]
[SETUPAPI] Fix the coding style, add annotations and fix the debug messages.
Thomas Faber [Sat, 3 Feb 2018 13:37:22 +0000 (14:37 +0100)]
[MBEDTLS] Don't link with zlib, we don't use it. CORE-14290
Thomas Faber [Sat, 3 Feb 2018 13:36:40 +0000 (14:36 +0100)]
[USETUP] Use the smaller zlib_solo instead of the full zlib. CORE-14290
Thomas Faber [Sun, 4 Feb 2018 11:54:15 +0000 (12:54 +0100)]
[ROSLOAD] Fix clang-cl build.
Eric Kohl [Sat, 3 Feb 2018 22:16:31 +0000 (23:16 +0100)]
[SETUPAPI] Update some more functions to the current coding style, add annotations and add function names to the TRACE calls.
Hermès Bélusca-Maïto [Sun, 4 Feb 2018 01:23:28 +0000 (02:23 +0100)]
[STOBJECT] Revert
b7c3398 because it was not the cause of the original problem I wanted to fix (notify structure not completely zeroed-out on the receiver side of the notification).
Hermès Bélusca-Maïto [Sun, 4 Feb 2018 00:56:11 +0000 (01:56 +0100)]
[EXPLORER] Don't use deprecated StrNCpy function but use the string-safe StringCchCopy instead. Also fix a copy-paste error in the _countofs.
Hermès Bélusca-Maïto [Sun, 4 Feb 2018 00:54:55 +0000 (01:54 +0100)]
[STOBJECT] Fully zero-out the full NOTIFYICONDATA structure (it wasn't zeroed out correctly in MSVC build).
Hermès Bélusca-Maïto [Sun, 4 Feb 2018 00:53:24 +0000 (01:53 +0100)]
[NETSHELL] Don't use hardcoded values.
Hermès Bélusca-Maïto [Sun, 4 Feb 2018 00:52:50 +0000 (01:52 +0100)]
[SHELL32] Fix copy-pasta.
Hermès Bélusca-Maïto [Sun, 4 Feb 2018 00:51:46 +0000 (01:51 +0100)]
[PSDK] Fix NOTIFYICONDATA structure; add NOTIFYICONDATA_V3_SIZE definitions.
Alex Ionescu [Sat, 3 Feb 2018 23:52:31 +0000 (15:52 -0800)]
[ROSLOAD]: Begin target preparation code. 1/104.
[ROSLOAD]: Stubs for OslFatalErrorEx, OslAbortBoot.
OslpSanitizeLoadOptionsString, OslpSanitizeStringOptions
[ROSLOAD]: Implement OslBlStatusErrorHandler,
OslpRemoveInternalApplicationOptions
[ROSLOAD]: Begin work on OslPrepareTarget. Small misc. fixes.
[BOOTLIB]: Extend BlStatusError to handle a custom status error handler.
Hermès Bélusca-Maïto [Sat, 3 Feb 2018 22:42:46 +0000 (23:42 +0100)]
[RAPPS] Remove trailing spaces.
Hermès Bélusca-Maïto [Sat, 3 Feb 2018 22:40:58 +0000 (23:40 +0100)]
[RAPPS] Remove deprecated TODO; use _countof() where needed.
Hermès Bélusca-Maïto [Sat, 3 Feb 2018 22:40:11 +0000 (23:40 +0100)]
[RAPPS] Usability fixes.
jimtabor [Sat, 3 Feb 2018 17:35:08 +0000 (11:35 -0600)]
Fix Linux Build
Alex Ionescu [Sat, 3 Feb 2018 17:16:06 +0000 (09:16 -0800)]
[ROSLOAD]: Continue work on loader
[ROSLOAD]: Implement OslExecuteTransition, OslArchKernelSetup,
ArchRestoreProcessorFeatures, OslArchTransferToKernel.
[ROSLOAD]: Factor out the logo code. Clean ups.
Hermès Bélusca-Maïto [Fri, 2 Feb 2018 20:48:18 +0000 (21:48 +0100)]
[CONUTILS] Fix and improve the documentation for "outstream" and "utils", addendum to
f982d77.
Hermès Bélusca-Maïto [Thu, 1 Feb 2018 23:35:08 +0000 (00:35 +0100)]
[CONUTILS] Diverse improvements: start doxygenating and add some resource messsage helper functions.
- Start to doxygenate the library, focusing in great details on the
functions of the "outstream" module.
- Add a K32LoadStringEx function that expands (K32)LoadString by
allowing a LanguageId parameter to be able to load strings from other
languages than the current one.
- Add "ConResMsg*" helper functions to be able to (format and) print
message strings with inserts that come *NOT* from a message table (as
usual) *BUT* from resource string tables.
Will be helpful for CORE-14265 in particular.
[CMD] Fix the call to ConMsgPrintfV().
Pierre Schweitzer [Thu, 1 Feb 2018 07:35:27 +0000 (08:35 +0100)]
[NTOSKRNL] Add an helper for marking a VACB clean (ie, not dirty).
CORE-14263
Luo Yufan [Thu, 1 Feb 2018 01:50:29 +0000 (09:50 +0800)]
[TRANSLATION] Simplified Chinese translations updated. (#348)
Pierre Schweitzer [Wed, 31 Jan 2018 20:28:40 +0000 (21:28 +0100)]
[NTOSKRNL] Don't let CcWriteVirtualAddress() deal with VACB dirty status
CORE-14263
Stanislav Motylkov [Wed, 24 Jan 2018 13:32:51 +0000 (16:32 +0300)]
[IPHLPAPI_APITEST] Add tests for IcmpSendEcho
Stanislav Motylkov [Tue, 23 Jan 2018 21:28:55 +0000 (00:28 +0300)]
[IPHLPAPI] Fix IcmpSendEcho output when host is not reachable
- Add missing error code to DDK/NDIS
- Fix error code in IP driver
- Patch MSAFD to reply correct WSA error code
- Fix IcmpSendEcho function
- Fix returning error code in ICMP_ECHO_REPLY (see MSDN)
- Fix returning host address (using GetBestInterface and GetIpAddrTable functions)
- Fix GetBestRoute function (it is used by GetBestInterface)
Relates to #318 and CORE-14241
Stanislav Motylkov [Wed, 31 Jan 2018 15:05:45 +0000 (18:05 +0300)]
[SHELL32] Fix file and folder properties dialogs
CORE-12755
David Quintana [Wed, 31 Jan 2018 17:12:57 +0000 (18:12 +0100)]
[NTOSKRNL] Fix CcIdleDelay initializer for old msvc versions (#339)
[NTOSKRNL] Fix initialization of CcIdleDelay for msvc builds (fixes boot).
* Introduce a macro to initialize LARGE_INTEGERs in a consistent way.
Thomas Faber [Wed, 31 Jan 2018 11:34:41 +0000 (12:34 +0100)]
[WIN32K:NTGDI] Fix more uses of RtlCreateUnicodeString. CORE-14271
Addendum to
7f687154a0fe47826d8047f1a4f9cfd93414d45f. Spotted by Hermès.
Doug Lyons [Tue, 16 Jan 2018 15:40:03 +0000 (16:40 +0100)]
[TIMEDATE] Correctly set the time when using the "Update now" button. CORE-14167
Thomas Faber [Wed, 31 Jan 2018 10:47:39 +0000 (11:47 +0100)]
[SHELLMENU] Add missing psdk dependency.
Trevor Thompson [Sun, 10 Dec 2017 10:35:10 +0000 (11:35 +0100)]
[CMAKE] Add some fool-proofing to configure.cmd related to MSVS:
-VSSolution switch now outputs to a dedicated folder if running from source directory.
-Give an error if the user is trying to mix ninja and VSSolution in the same output directory.
-In a MingW environment, give an error on VSSolution switch and give a warning on RTC switch.
-Fix -DNEW_STYLE_BUILD=0 option.
-Ensure the source path doesn't contain any spaces.
-Issue a warning if passed an invalid switch.
-Don't announce completion if there were errors.
-Make end message specific for VSSolution.
-Replace redundant exit commands with quit label, as suggested by HBelusca.
Thomas Faber [Wed, 31 Jan 2018 09:23:44 +0000 (10:23 +0100)]
[KMTESTS:TCPIP] Fix ok() messages.
Thomas Faber [Wed, 31 Jan 2018 09:26:24 +0000 (10:26 +0100)]
[WIN32K:NTGDI] Correctly interpret RtlCreateUnicodeString return value. CORE-14271
Thomas Faber [Sun, 28 Jan 2018 12:42:13 +0000 (13:42 +0100)]
[NTOS:CM] Correctly interpret RtlCreateUnicodeString return value. CORE-14271
Hermès Bélusca-Maïto [Mon, 16 Oct 2017 21:58:23 +0000 (23:58 +0200)]
[CONUTILS] Split stream.c into input and output stream modules.
As code grows, this will allow for better maintenance of the console
stream code. In particular the input stream module will contain special
code for handling TTYs, and this is something not all console programs
will need. Having this code in a separate module will allow for the linker
to possibly remove this code when it is unused.
Luo Yufan [Tue, 30 Jan 2018 20:49:40 +0000 (04:49 +0800)]
[TRANSLATION] Simplified Chinese translation improved. (#346)
Katayama Hirofumi MZ [Tue, 30 Jan 2018 19:36:59 +0000 (04:36 +0900)]
[SHIMGVW] Enable zooming
* merge ZoomIn and ZoomOut functions
* NULL to hbrBackground
* use GET_X_LPARAM and GET_Y_LPARAM for WM_MOUSEWHEEL
Joachim Henze [Tue, 30 Jan 2018 17:42:21 +0000 (18:42 +0100)]
[EXPLORER] Pixel-perfect x-margins surrounding the clock
To look like XP/2k3.
Relies on
d11e7af5f2539c417e980ba1b3a622f8da450603
CORE-14272
Jared Smudde [Tue, 30 Jan 2018 17:07:09 +0000 (11:07 -0600)]
[NETCFGX] Rename 'Network connection' to 'Network Connection'. (#345)
English capitalization fix. It should look a little better both in the system tray and in the Network Connections folder.
Daniel Reimer [Mon, 29 Jan 2018 22:43:34 +0000 (23:43 +0100)]
[CAROOTS] Update certificates to Mozilla Certdata 28.01.18 (#338)
Timo Kreuzer [Sun, 28 Jan 2018 16:05:15 +0000 (17:05 +0100)]
Revert "[OLEAUT32] Sync with Wine 3.0. CORE-14225"
This reverts commit
13fd286c1840f80c0fca1dbfedd600a0f8a4478b.
The "sync" zapped a lot of fixes, in particular 64 bit compatibility.
Bișoc George [Mon, 29 Jan 2018 21:33:22 +0000 (22:33 +0100)]
[TRANSLATION][CLIPBRD] Italian translation implemented (#344)
Stanislav Motylkov [Mon, 29 Jan 2018 18:27:03 +0000 (21:27 +0300)]
[DESK.CPL] Fix dialog appearance in 640x480 resolution
CORE-14274
Mark Jansen [Mon, 29 Jan 2018 16:57:19 +0000 (17:57 +0100)]
[ACPPAGE] Visualize custom layers
Mark Jansen [Sat, 27 Jan 2018 16:41:58 +0000 (17:41 +0100)]
[ACPPAGE] Hide shims handled by the main ui.
Giannis Adamopoulos [Mon, 29 Jan 2018 20:32:17 +0000 (22:32 +0200)]
[EXPLORER] Improve the width of the taskbar clock
Don't take into account TRAY_CLOCK_WND_SPACING_X twice
Increase TRAY_CLOCK_WND_SPACING_X
Giannis Adamopoulos [Mon, 29 Jan 2018 19:50:33 +0000 (21:50 +0200)]
[EXPLORER] Center the text of the clock
CTrayClockWnd: Fix the calculation that centered the text of the clock.
CTrayNotifyWnd: Restore the 1 pixel margin between the clock and the pager.
Joachim Henze [Mon, 29 Jan 2018 18:15:50 +0000 (19:15 +0100)]
[EXPLORER] Tweak x-margins surrounding the clock
To look more like XP/2k3.
Not pixel-perfect yet, that would require asymmetric margins.
CORE-14272
Bișoc George [Mon, 29 Jan 2018 17:23:52 +0000 (18:23 +0100)]
[TRACERT] Translation for Italian and Romanian language (#333)
Luo Yufan [Mon, 29 Jan 2018 17:21:20 +0000 (01:21 +0800)]
[TRANSLATION] Update Simplified Chinese Translations of SHELL32 and USRMGR (#340)
Giannis Adamopoulos [Mon, 29 Jan 2018 16:13:22 +0000 (18:13 +0200)]
[EXPLORER] Fix showing the lock status in the taskbar popup menu
Joann Mõndresku [Mon, 29 Jan 2018 16:03:27 +0000 (18:03 +0200)]
[TRANSLATION] Various translations to Estonian (#329)
Estonian translations for shell + explorer, cpl files (access, appwiz, desk, timedate), devmgr, browseui, comctl32, aclui, avifil32, comdlg32 and credui.
Giannis Adamopoulos [Mon, 29 Jan 2018 15:51:06 +0000 (17:51 +0200)]
[COMCTL32] toolbar: Use szBarPadding.cy as the default top margin
Giannis Adamopoulos [Mon, 29 Jan 2018 15:28:29 +0000 (17:28 +0200)]
[EXPLORER] CNotifyToolbar: Set TBMETRICS::cxBarPad and TBMETRICS::cyBarPad
MSDN says that these values are not used but apparently they are used as a padding around the buttons.
This helps to center the buttons in the notification area.
Alexander Shaposhnikov [Mon, 29 Jan 2018 14:09:04 +0000 (16:09 +0200)]
[CONTRIBUTING] Update .gitmessage template
Alexander Shaposhnikov [Sat, 27 Jan 2018 22:51:48 +0000 (00:51 +0200)]
[CONTRIBUTING] Add a commit template and a paragraph about it
This template defines a general commit style, and will be most
helpful for newcomers. I will be using it personally :)
Giannis Adamopoulos [Sun, 28 Jan 2018 22:27:45 +0000 (00:27 +0200)]
[EXPLORER] CTrayWindow: Draw the sizer only when the taskbar is not locked.
Giannis Adamopoulos [Sun, 28 Jan 2018 20:38:48 +0000 (22:38 +0200)]
[EXPLORER] CTrayNotifyWnd: Fix resizing when the clock is hidden
Giannis Adamopoulos [Sun, 28 Jan 2018 20:04:34 +0000 (22:04 +0200)]
[EXPLORER] CTrayNotifyWnd: Only update the requested dimension when handling TNWM_GETMINIMUMSIZE.
Giannis Adamopoulos [Sun, 28 Jan 2018 17:20:12 +0000 (19:20 +0200)]
[EXPLORER] CTaskSwitchWnd: Implement getting the setting for grouping tasks. This doesn't work yet but the setting does get stored in m_IsGroupingEnabled. TSWM_ENABLEGROUPING is not needed.
Giannis Adamopoulos [Sun, 28 Jan 2018 16:59:18 +0000 (18:59 +0200)]
[EXPLORER] CTrayClockWnd: Implement showing and hiding seconds or the whole clock from the properties window.
Giannis Adamopoulos [Sun, 28 Jan 2018 12:21:45 +0000 (14:21 +0200)]
[EXPLORER] -Make CSysPagerWnd, CTaskSwitchWnd, CTrayClockWnd and CTrayNotifyWnd proper com objects so that their lifetime is managed properly.
Alex Ionescu [Sun, 28 Jan 2018 15:29:43 +0000 (16:29 +0100)]
[ROSLOAD]: Fix NX enabling
[ROSLOAD]: The IA32_MISC_ENABLE MSR bit actually _disables_ NX, so
diabling the bit _enables_ NX.
[ROSLOAD]: The MSR_XD_ENABLE_MASK is for the _high_ DWORD of the MSR
(bit 34), not the low.
[ROSLOAD]: Fix printf.
[ENVIRON/ROSLOAD]: Switch to CPU_INFO structure instead of blindly using
INT[4]. Revealed a bug in the PAE detection which was reading out of
bounds.
Alex Ionescu [Sun, 28 Jan 2018 12:24:20 +0000 (13:24 +0100)]
[ROSLOAD] Initial support for launching OS Loader Entrypoint and returning from it
[ENVIRON]: Implement BlArchGetCpuVendor
[ROSLOAD]: Stub OslPrepareTarget, OslExecuteTransition
[ROSLOAD]: Implement OslpMain
Pierre Schweitzer [Sun, 28 Jan 2018 10:55:40 +0000 (11:55 +0100)]
[NTOSKRNL] Drop ROS_DEFERRED_WRITE_CONTEXT in favor of DEFERRED_WRITE
that was introduced in
d3e0eb2.
CORE-14235
Pierre Schweitzer [Sun, 28 Jan 2018 10:09:21 +0000 (11:09 +0100)]
[NTOSKRNL] Misc fixes to Cc:
- CcUnpinDataForThread() only release VACB when the last BCB reference is gone. This avoids having a valid BCB with an invalid VACB
- CcRosMarkDirtyVacb() will only accept non-dirty VACB now. This avoids a major bug where a an already dirty VACB was over-dereferenced
- Thanks to previous point, simplify CcRosUnmapVacb(), CcRosReleaseVacb() implementation
- And only set VACB dirty once in CcSetDirtyPinnedData()
- Add a few sanity checks
With that I can again install ReactOS with 128MB RAM :-).
CORE-14263
CORE-14268
Thomas Faber [Sun, 28 Jan 2018 09:34:21 +0000 (10:34 +0100)]
[NDK] Add DEFERRED_WRITE structure for Cc. CORE-14235
Consistently use CSHORT for NodeTypeCode/NodeByteSize while we're at it.
Thomas Faber [Fri, 26 Jan 2018 12:56:06 +0000 (13:56 +0100)]
[NTOS:MM] Assert MmLocateMemoryAreaByAddress return value to satisfy Coverity. CID 701289