reactos.git
6 years ago[IMAGEHLP_WINETEST] Sync with Wine 3.0. CORE-14225
Amine Khaldi [Thu, 18 Jan 2018 23:38:42 +0000 (00:38 +0100)]
[IMAGEHLP_WINETEST] Sync with Wine 3.0. CORE-14225

6 years ago[IMAGEHLP] Sync with Wine 3.0. CORE-14225
Amine Khaldi [Thu, 18 Jan 2018 23:37:52 +0000 (00:37 +0100)]
[IMAGEHLP] Sync with Wine 3.0. CORE-14225

6 years ago[IEFRAME] Sync with Wine 3.0. CORE-14225
Amine Khaldi [Thu, 18 Jan 2018 23:36:36 +0000 (00:36 +0100)]
[IEFRAME] Sync with Wine 3.0. CORE-14225

6 years ago[PSDK] Import ieautomation.idl from Wine 3.0. CORE-14225
Amine Khaldi [Thu, 18 Jan 2018 23:35:51 +0000 (00:35 +0100)]
[PSDK] Import ieautomation.idl from Wine 3.0. CORE-14225

6 years ago[ICCVID] Sync with Wine 3.0. CORE-14225
Amine Khaldi [Thu, 18 Jan 2018 23:32:44 +0000 (00:32 +0100)]
[ICCVID] Sync with Wine 3.0. CORE-14225

6 years ago[HNETCFG_WINETEST] Import from Wine 3.0. CORE-14225
Amine Khaldi [Thu, 18 Jan 2018 23:31:47 +0000 (00:31 +0100)]
[HNETCFG_WINETEST] Import from Wine 3.0. CORE-14225

6 years ago[HNETCFG] Sync with Wine 3.0. CORE-14225
Amine Khaldi [Thu, 18 Jan 2018 23:30:10 +0000 (00:30 +0100)]
[HNETCFG] Sync with Wine 3.0. CORE-14225

6 years ago[HLINK_WINETEST] Sync with Wine 3.0. CORE-14225
Amine Khaldi [Thu, 18 Jan 2018 23:24:20 +0000 (00:24 +0100)]
[HLINK_WINETEST] Sync with Wine 3.0. CORE-14225

6 years ago[HLINK] Sync with Wine 3.0. CORE-14225
Amine Khaldi [Thu, 18 Jan 2018 23:23:23 +0000 (00:23 +0100)]
[HLINK] Sync with Wine 3.0. CORE-14225

6 years ago[HHCTRL.OCX] Sync with Wine 3.0. CORE-14225
Amine Khaldi [Thu, 18 Jan 2018 23:21:29 +0000 (00:21 +0100)]
[HHCTRL.OCX] Sync with Wine 3.0. CORE-14225

6 years ago[GDIPLUS_WINETEST] Sync with Wine 3.0. CORE-14225
Amine Khaldi [Thu, 18 Jan 2018 23:20:03 +0000 (00:20 +0100)]
[GDIPLUS_WINETEST] Sync with Wine 3.0. CORE-14225

6 years ago[GDIPLUS] Sync with Wine 3.0. CORE-14225
Amine Khaldi [Thu, 18 Jan 2018 23:17:41 +0000 (00:17 +0100)]
[GDIPLUS] Sync with Wine 3.0. CORE-14225

6 years ago[PSDK] Update gdiplusflat.h and gdiplusgpstubs.h. CORE-14225
Amine Khaldi [Thu, 18 Jan 2018 23:15:20 +0000 (00:15 +0100)]
[PSDK] Update gdiplusflat.h and gdiplusgpstubs.h. CORE-14225

6 years ago[FUSION_WINETEST] Sync with Wine 3.0. CORE-14225
Amine Khaldi [Thu, 18 Jan 2018 23:11:52 +0000 (00:11 +0100)]
[FUSION_WINETEST] Sync with Wine 3.0. CORE-14225

6 years ago[FUSION] Sync with Wine 3.0. CORE-14225
Amine Khaldi [Thu, 18 Jan 2018 23:10:53 +0000 (00:10 +0100)]
[FUSION] Sync with Wine 3.0. CORE-14225

6 years ago[DBGHELP] Sync with Wine 3.0. CORE-14225
Amine Khaldi [Thu, 18 Jan 2018 23:09:29 +0000 (00:09 +0100)]
[DBGHELP] Sync with Wine 3.0. CORE-14225

6 years ago[CABINET_WINETEST] Sync with Wine 3.0. CORE-14225
Amine Khaldi [Thu, 18 Jan 2018 23:07:18 +0000 (00:07 +0100)]
[CABINET_WINETEST] Sync with Wine 3.0. CORE-14225

6 years ago[CABINET] Sync with Wine 3.0. CORE-14225
Amine Khaldi [Thu, 18 Jan 2018 23:06:11 +0000 (00:06 +0100)]
[CABINET] Sync with Wine 3.0. CORE-14225

6 years ago[AVIFIL32] Sync with Wine 3.0. CORE-14225
Amine Khaldi [Thu, 18 Jan 2018 23:04:19 +0000 (00:04 +0100)]
[AVIFIL32] Sync with Wine 3.0. CORE-14225

6 years ago[ATL][ATL80][ATL100] Sync with Wine 3.0. CORE-14225
Amine Khaldi [Thu, 18 Jan 2018 23:01:06 +0000 (00:01 +0100)]
[ATL][ATL80][ATL100] Sync with Wine 3.0. CORE-14225

6 years ago[INCLUDE/WINE] Update atlbase.h. CORE-14225
Amine Khaldi [Thu, 18 Jan 2018 23:00:10 +0000 (00:00 +0100)]
[INCLUDE/WINE] Update atlbase.h. CORE-14225

6 years ago[COMDLG32] Sync with Wine 3.0. CORE-14225
Amine Khaldi [Thu, 18 Jan 2018 22:52:46 +0000 (23:52 +0100)]
[COMDLG32] Sync with Wine 3.0. CORE-14225

6 years ago[COMCTL32_WINETEST] Sync with Wine 3.0. CORE-14225
Amine Khaldi [Thu, 18 Jan 2018 22:49:50 +0000 (23:49 +0100)]
[COMCTL32_WINETEST] Sync with Wine 3.0. CORE-14225

6 years ago[COMCTL32] Sync with Wine 3.0. CORE-14225
Amine Khaldi [Thu, 18 Jan 2018 22:49:20 +0000 (23:49 +0100)]
[COMCTL32] Sync with Wine 3.0. CORE-14225

6 years ago[PSDK] Update commctrl.h. CORE-14225
Amine Khaldi [Thu, 18 Jan 2018 22:37:48 +0000 (23:37 +0100)]
[PSDK] Update commctrl.h. CORE-14225

6 years ago[FREETYPE] Update to v2.9.0 and use this as a chance to slim down our lib a bit....
Amine Khaldi [Thu, 18 Jan 2018 12:34:21 +0000 (13:34 +0100)]
[FREETYPE] Update to v2.9.0 and use this as a chance to slim down our lib a bit. CORE-14220

6 years ago[EXPLORER] Fix the code that requests the taskbar to recalculate the size,
David Quintana [Wed, 17 Jan 2018 23:21:14 +0000 (00:21 +0100)]
[EXPLORER] Fix the code that requests the taskbar to recalculate the size,
after an icon is removed due to missing owner. Also cleaned up the other case.

6 years ago[EXPLORER] Fix some issues with the notification area code,
David Quintana [Tue, 16 Jan 2018 21:11:14 +0000 (22:11 +0100)]
[EXPLORER] Fix some issues with the notification area code,
and implement NIS_SHAREDICON while at it.

6 years ago[PRINTING] Replace all my custom marshalling code by calls to the newly implemented...
Colin Finck [Wed, 17 Jan 2018 11:52:12 +0000 (12:52 +0100)]
[PRINTING] Replace all my custom marshalling code by calls to the newly implemented APIs, thereby significantly reducing the codebase and providing a sane template to implement more Printing APIs.

6 years ago[PRINTING] Try to fix Linux build #2
Colin Finck [Wed, 17 Jan 2018 09:55:02 +0000 (10:55 +0100)]
[PRINTING] Try to fix Linux build #2

6 years ago[PRINTING] Try to fix Linux build.
Colin Finck [Wed, 17 Jan 2018 09:41:55 +0000 (10:41 +0100)]
[PRINTING] Try to fix Linux build.

Why this previously built without any errors using GCC and MSVC under Windows is left as an exercise to the reader.

6 years ago[PRINTING] Implement the undocumented MarshallDownStructure, MarshallDownStructuresAr...
Colin Finck [Wed, 17 Jan 2018 09:13:25 +0000 (10:13 +0100)]
[PRINTING] Implement the undocumented MarshallDownStructure, MarshallDownStructuresArray, MarshallUpStructure, and MarshallUpStructuresArray to the extent I need and could find out through black-box testing.

PDBs reveal that these functions are also used in winspool.drv, but not imported from spoolss.dll to retain the client/server architecture.
As winspool.drv highly benefits from the MarshallUp* functions, I put them in a source file shared between spoolss.dll and winspool.drv.

The added API Tests cover my testing and all implemented features.
One more item done from https://reactos.org/wiki/Printing !

6 years ago[NTOS:MM] Fix broken ASSERT. CID 701285
Thomas Faber [Tue, 16 Jan 2018 21:10:22 +0000 (22:10 +0100)]
[NTOS:MM] Fix broken ASSERT. CID 701285

6 years ago[EXPLORER] CTrayBandSite: Call DBID_SETWINDOWTHEME on new bands to make them use...
Giannis Adamopoulos [Tue, 16 Jan 2018 09:43:28 +0000 (11:43 +0200)]
[EXPLORER] CTrayBandSite: Call DBID_SETWINDOWTHEME on new bands to make them use the theme of the taskbar. CORE-14176

6 years ago[BROWSEUI] CISFBand: Handle DBID_SETWINDOWTHEME. CORE-14176
Giannis Adamopoulos [Tue, 16 Jan 2018 09:36:34 +0000 (11:36 +0200)]
[BROWSEUI] CISFBand: Handle DBID_SETWINDOWTHEME. CORE-14176

6 years ago[NTOSKRNL] Implement CcIsThereDirtyData()
Pierre Schweitzer [Mon, 15 Jan 2018 22:20:53 +0000 (23:20 +0100)]
[NTOSKRNL] Implement CcIsThereDirtyData()

6 years ago[KERNEL32] Add version info to VerifyVersionInfo mismatch print.
Mark Jansen [Sat, 13 Jan 2018 23:57:56 +0000 (00:57 +0100)]
[KERNEL32] Add version info to VerifyVersionInfo mismatch print.

6 years ago[UXTHEME] -Pass a non 0 wParam when themes get enabled and 0 when they get disabled
Giannis Adamopoulos [Fri, 12 Jan 2018 16:52:08 +0000 (18:52 +0200)]
[UXTHEME] -Pass a non 0 wParam when themes get enabled and 0 when they get disabled

6 years ago[COMCTL32] rebar: Remove some hacks and fix checking for transparent background
Giannis Adamopoulos [Fri, 12 Jan 2018 16:49:09 +0000 (18:49 +0200)]
[COMCTL32] rebar: Remove some hacks and fix checking for transparent background

6 years ago[USER32] InternalGetWindowText: Write to caller's buffer only when one was provided...
Giannis Adamopoulos [Mon, 15 Jan 2018 10:45:41 +0000 (12:45 +0200)]
[USER32] InternalGetWindowText: Write to caller's buffer only when one was provided. CORE-13614

6 years ago[USER32] Stop hiding exceptions left and right
Giannis Adamopoulos [Mon, 15 Jan 2018 10:36:45 +0000 (12:36 +0200)]
[USER32] Stop hiding exceptions left and right

6 years ago[SYSDM] Fix text truncation for ru-RU CORE-13845
Joachim Henze [Sun, 14 Jan 2018 12:54:30 +0000 (13:54 +0100)]
[SYSDM] Fix text truncation for ru-RU CORE-13845

6 years ago[NTOS] Fix 64 bit warnings
Timo Kreuzer [Mon, 1 Jan 2018 14:24:05 +0000 (15:24 +0100)]
[NTOS] Fix 64 bit warnings

6 years ago[DESK] Fix text truncation for ru-RU CORE-13845
Joachim Henze [Sun, 14 Jan 2018 12:52:34 +0000 (13:52 +0100)]
[DESK] Fix text truncation for ru-RU CORE-13845

6 years ago[PSDK][ACTXPROXY] Add IExplorerCommand and related classes (Vista+)
Mark Jansen [Thu, 28 Dec 2017 22:19:52 +0000 (23:19 +0100)]
[PSDK][ACTXPROXY] Add IExplorerCommand and related classes (Vista+)

6 years ago[NTOSKRNL] When mapping data in CcMapData(), don't truncate offset to ULONG.
Pierre Schweitzer [Sat, 13 Jan 2018 20:27:29 +0000 (21:27 +0100)]
[NTOSKRNL] When mapping data in CcMapData(), don't truncate offset to ULONG.
This would affect reads/writes on large volumes where offset is higher than what a ULONG can hold.

This really nasty bug was hitting CcMapData() but also CcPinRead() (due to the nature of its implementation)
and both were returning garbage data under certain circumstances with Ext2Fsd.

This should (I hope!) help some other FSDs to work better in ROS.

CORE-12456

6 years ago[BROWSEUI] Do not clear a CComPtr with memset.
Mark Jansen [Sat, 13 Jan 2018 19:57:04 +0000 (20:57 +0100)]
[BROWSEUI] Do not clear a CComPtr with memset.

6 years ago[SHELL32] CDrivesFolder: Fix showing the drive capacity. CORE-14201
Giannis Adamopoulos [Sat, 13 Jan 2018 19:27:57 +0000 (21:27 +0200)]
[SHELL32] CDrivesFolder: Fix showing the drive capacity. CORE-14201

6 years ago[EXPLORER] Winkey + E shortcut should open "My Computer" instead of "My documents...
Giannis Adamopoulos [Sat, 13 Jan 2018 19:14:16 +0000 (21:14 +0200)]
[EXPLORER] Winkey + E shortcut should open "My Computer" instead of "My documents" CORE-14199

6 years ago[COMCTL32] toolbar: Use the theme text color for the dropdown arrows. CORE-13855
Giannis Adamopoulos [Sat, 13 Jan 2018 14:19:27 +0000 (16:19 +0200)]
[COMCTL32] toolbar: Use the theme text color for the dropdown arrows. CORE-13855

6 years ago[SHELL32] CMenuBand: Redraw the toolbars if this is the menu bar of a window and...
Giannis Adamopoulos [Sat, 13 Jan 2018 12:57:24 +0000 (14:57 +0200)]
[SHELL32] CMenuBand: Redraw the toolbars if this is the menu bar of a window and its active state changed. Use COLOR_GRAYTEXT for the text of the inactive menu bar items. CORE-14197

6 years ago[USBOHCI_NEW] Bring-in the USB OHCI miniport driver created by Vadim Galyant. (#244)
Amine Khaldi [Fri, 12 Jan 2018 20:09:58 +0000 (21:09 +0100)]
[USBOHCI_NEW] Bring-in the USB OHCI miniport driver created by Vadim Galyant. (#244)

[USBOHCI_NEW] Add the new usbport-based OHCI driver.

6 years ago[DRWTSN32] Update output string copypasta from #268 168223aeb88f5503dedc60b982a1ba80d... 269/head
Serge Gautherie [Sun, 7 Jan 2018 14:07:22 +0000 (15:07 +0100)]
[DRWTSN32] Update output string copypasta from #268 168223aeb88f5503dedc60b982a1ba80d972703d.

6 years ago[COMCTL32] -toolbar: Improve drawing diabled text with themes. CORE-13855
Giannis Adamopoulos [Wed, 10 Jan 2018 21:29:20 +0000 (23:29 +0200)]
[COMCTL32] -toolbar: Improve drawing diabled text with themes. CORE-13855

6 years ago[USBPORT] In USBHI_GetExtendedHubInformation, pass the correct port index to RH_GetPo...
Vadim Galyant [Wed, 10 Jan 2018 17:58:44 +0000 (18:58 +0100)]
[USBPORT] In USBHI_GetExtendedHubInformation, pass the correct port index to RH_GetPortStatus.

6 years ago[USBHUB] Move DPRINT after check Status. 282/head
Vadim Galyant [Sat, 6 Jan 2018 03:48:37 +0000 (12:48 +0900)]
[USBHUB] Move DPRINT after check Status.

6 years ago[USBHUB] Correcting L"USB\\Vid_0000&Pid_0000" for case BusQueryDeviceID in USBH_PdoQu...
Vadim Galyant [Sat, 6 Jan 2018 03:55:09 +0000 (12:55 +0900)]
[USBHUB] Correcting L"USB\\Vid_0000&Pid_0000" for case BusQueryDeviceID in USBH_PdoQueryId() if INIT_PORT_FAILED.

6 years ago[COMCTL32] status: Use DrawThemeText when drawing text with themes. CORE-13855
Giannis Adamopoulos [Wed, 10 Jan 2018 13:52:42 +0000 (15:52 +0200)]
[COMCTL32] status: Use DrawThemeText when drawing text with themes. CORE-13855

6 years ago[COMCTL32] rebar: Use DrawThemeText when drawing text with themes. CORE-13855
Giannis Adamopoulos [Wed, 10 Jan 2018 11:42:53 +0000 (13:42 +0200)]
[COMCTL32] rebar: Use DrawThemeText when drawing text with themes. CORE-13855

6 years ago[MSAFD] Avoid magic numbers in NtCreateEvent calls. 279/head
Thomas Faber [Sat, 6 Jan 2018 17:11:18 +0000 (18:11 +0100)]
[MSAFD] Avoid magic numbers in NtCreateEvent calls.

6 years ago[TCPIP] Fix buffer sizes in ReadIpConfiguration. 278/head
Thomas Faber [Mon, 8 Jan 2018 12:58:20 +0000 (13:58 +0100)]
[TCPIP] Fix buffer sizes in ReadIpConfiguration.

6 years ago[TCPIP] Check for allocation failures in ReadIpConfiguration. CID 1411924
Thomas Faber [Mon, 8 Jan 2018 12:51:04 +0000 (13:51 +0100)]
[TCPIP] Check for allocation failures in ReadIpConfiguration. CID 1411924

6 years ago[KERNEL32] Accept all images for NT 3.1 and higher instead of bailing out at image...
Colin Finck [Wed, 10 Jan 2018 08:24:22 +0000 (09:24 +0100)]
[KERNEL32] Accept all images for NT 3.1 and higher instead of bailing out at image versions > 5.01 (#273)

Print a debug message whenever an application newer than ReactOS' internal NT version is started.
This gets a simple "Hello World" compiled by VS' 2017 regular "v141" toolchain to run under ReactOS.

Please retry NT6+ applications!

6 years ago[SHIMENG] Mark modified dll's as visited, and apply shims to newly loaded dlls
Mark Jansen [Tue, 29 Aug 2017 20:21:58 +0000 (22:21 +0200)]
[SHIMENG] Mark modified dll's as visited, and apply shims to newly loaded dlls

6 years ago[APPHELP] Try Dos and Nt path formats in SdbGetFileAttributes.
Mark Jansen [Sun, 7 Jan 2018 20:52:13 +0000 (21:52 +0100)]
[APPHELP] Try Dos and Nt path formats in SdbGetFileAttributes.

6 years ago[SETUPAPI]: Fix a FIXME in SetupDiSetDeviceRegistryPropertyA. 264/head
Andreas Maier [Thu, 4 Jan 2018 11:15:38 +0000 (12:15 +0100)]
[SETUPAPI]: Fix a FIXME in SetupDiSetDeviceRegistryPropertyA.
Rename SetupDiSetDeviceRegistryPropertyW to IntSetupDiSetDeviceRegistryPropertyAW and use it for both (A/W).
The FIXME in the A-Version was already implemented in the W-Version.

CORE-14173.

6 years ago[NTOS] Limit the spam from NtNotifyChangeMultipleKeys.
Mark Jansen [Mon, 8 Jan 2018 20:18:30 +0000 (21:18 +0100)]
[NTOS] Limit the spam from NtNotifyChangeMultipleKeys.
CORE-13125

6 years ago[SDK] Add UNIMPLEMENTED_ONCE macro, to be used for functions that spam.
Mark Jansen [Mon, 8 Jan 2018 20:06:23 +0000 (21:06 +0100)]
[SDK] Add UNIMPLEMENTED_ONCE macro, to be used for functions that spam.

6 years ago[RAPPS] Remove the RAPPS database from the main source tree. It will now be maintaine...
Colin Finck [Mon, 8 Jan 2018 17:04:50 +0000 (18:04 +0100)]
[RAPPS] Remove the RAPPS database from the main source tree. It will now be maintained in the new repository https://github.com/reactos/rapps-db

As a bonus, the public database at https://svn.reactos.org/packages/rappmgr.cab is now automatically updated with every commit to that repository.
Thanks to Alexander Shaposhnikov for the idea and help!

6 years ago[USETUP] Improve muifonts.h and add a SimHei font substitution entry (#272)
Katayama Hirofumi MZ [Mon, 8 Jan 2018 15:24:31 +0000 (00:24 +0900)]
[USETUP] Improve muifonts.h and add a SimHei font substitution entry (#272)

6 years ago[ADVAPI32] Fix non-PCH build.
Thomas Faber [Mon, 8 Jan 2018 08:50:56 +0000 (09:50 +0100)]
[ADVAPI32] Fix non-PCH build.

6 years ago[ADVAPI32] Stub OpenTrace and ProcessTrace so newer versions of ProcessExplorer start...
Mark Jansen [Sat, 6 Jan 2018 19:48:21 +0000 (20:48 +0100)]
[ADVAPI32] Stub OpenTrace and ProcessTrace so newer versions of ProcessExplorer start again.
CORE-10312

6 years ago[PSDK] Fix definition of INVALID_PROCESSTRACE_HANDLE as suggested by Thomas.
Mark Jansen [Sat, 6 Jan 2018 20:09:51 +0000 (21:09 +0100)]
[PSDK] Fix definition of INVALID_PROCESSTRACE_HANDLE as suggested by Thomas.
#267

6 years ago[TRANSLATIONS] Update the email address and add a note in the Turkish translation...
Erdem Ersoy [Sun, 7 Jan 2018 21:09:42 +0000 (21:09 +0000)]
[TRANSLATIONS] Update the email address and add a note in the Turkish translation document (#271)

6 years ago[RichEd20] Fix structure by adding missing byte, see CORE-8452.
jimtabor [Sun, 7 Jan 2018 20:47:42 +0000 (14:47 -0600)]
[RichEd20] Fix structure by adding missing byte, see CORE-8452.

Update version, tell wine.
This fixes "Assertion failed: style->cbSize == sizeof(CHARFORMAT2W)".

6 years ago[FASTFAT] Improve code style in addition to 8294118174b28a10daec3f763d8b5ab64104d1fa.
Serge Gautherie [Sun, 7 Jan 2018 14:07:22 +0000 (15:07 +0100)]
[FASTFAT] Improve code style in addition to 8294118174b28a10daec3f763d8b5ab64104d1fa.

6 years ago[WIN32K] revert PR173 to fix regressions in Chrome/Chromium CORE-14170
Joachim Henze [Sun, 7 Jan 2018 16:58:47 +0000 (17:58 +0100)]
[WIN32K] revert PR173 to fix regressions in Chrome/Chromium CORE-14170

This reverts ea4daf8b6873cd6256c45ac1c6b7cfea2e58b340 committed 2017-12-09 to master, the commit was named
"[WIN32K] Fix NtGdiGetTextFaceW to report face name correctly (#173)",
reverting got ack of khmz,
reopening less severe CORE-14071 accordingly

6 years ago[FASTFAT] Notify on file size change in FileAllocationInformation/FileEndOfFileInform...
Pierre Schweitzer [Sun, 7 Jan 2018 14:29:33 +0000 (15:29 +0100)]
[FASTFAT] Notify on file size change in FileAllocationInformation/FileEndOfFileInformation

6 years ago[FASTFAT] Add a wrapper around FsRtlNotifyFullReportChange
Pierre Schweitzer [Sun, 7 Jan 2018 13:16:11 +0000 (14:16 +0100)]
[FASTFAT] Add a wrapper around FsRtlNotifyFullReportChange

6 years ago[DRWTSN32] Fix amd64 build
Timo Kreuzer [Sun, 7 Jan 2018 11:03:44 +0000 (12:03 +0100)]
[DRWTSN32] Fix amd64 build

6 years ago[FASTFAT] When a file gets overwritten, notify about the changes
Pierre Schweitzer [Sun, 7 Jan 2018 10:44:25 +0000 (11:44 +0100)]
[FASTFAT] When a file gets overwritten, notify about the changes

6 years ago[FASTFAT] When overwriting a file, also update its write time
Pierre Schweitzer [Sun, 7 Jan 2018 10:34:41 +0000 (11:34 +0100)]
[FASTFAT] When overwriting a file, also update its write time

6 years ago[FASTFAT] When dealing with attributes on IRP_MJ_CREATE, filter user input to ensure...
Pierre Schweitzer [Sat, 6 Jan 2018 21:02:10 +0000 (22:02 +0100)]
[FASTFAT] When dealing with attributes on IRP_MJ_CREATE, filter user input to ensure we have only attributes we can handle.
This applies to files newly created, or for files overwritten where attributes are reset/modified.

6 years ago[NTFS] Apply fix from 52f0726: allow partial info copy on dir enumeration on first...
Pierre Schweitzer [Sat, 6 Jan 2018 20:39:25 +0000 (21:39 +0100)]
[NTFS] Apply fix from 52f0726: allow partial info copy on dir enumeration on first entry return.
This is assorted with misc fixes to make this code closer to what we currently have in FastFAT.
This also allows fixing a memory leak in case of single entry return.

CORE-13367

6 years ago[NTOS:MM] Pass FaultCode to MiDispatchFault
Timo Kreuzer [Mon, 1 Jan 2018 21:40:43 +0000 (22:40 +0100)]
[NTOS:MM] Pass FaultCode to MiDispatchFault

6 years ago[NTOS:MM] Mark local functions with static
Timo Kreuzer [Tue, 2 Jan 2018 10:31:37 +0000 (11:31 +0100)]
[NTOS:MM] Mark local functions with static

6 years ago[NTOS:MM] Add support for NX page-faults
Timo Kreuzer [Tue, 2 Jan 2018 10:22:22 +0000 (11:22 +0100)]
[NTOS:MM] Add support for NX page-faults

6 years ago[NTOS:MM] Make use of FaultCode and MI_IS_NOT_PRESENT_FAULT and MI_IS_WRITE_ACCESS...
Timo Kreuzer [Mon, 1 Jan 2018 22:03:56 +0000 (23:03 +0100)]
[NTOS:MM] Make use of FaultCode and MI_IS_NOT_PRESENT_FAULT and MI_IS_WRITE_ACCESS macros in MmArmAccessFault.

6 years ago[NTOS:MM] Pass The FaultCode to MmArmAcceessFault as well and translate it there...
Timo Kreuzer [Mon, 1 Jan 2018 21:52:37 +0000 (22:52 +0100)]
[NTOS:MM] Pass The FaultCode to MmArmAcceessFault as well and translate it there to what was declared as "StoreInstruction"
No functional changes.

6 years ago[NTOS:MM] Pass page fault code to MmAccessFault
Timo Kreuzer [Mon, 1 Jan 2018 14:25:45 +0000 (15:25 +0100)]
[NTOS:MM] Pass page fault code to MmAccessFault
Note: before we had a BOOLEAN parameter called StoreInstruction, but in reality it was not specifying whether the fault was from a store store instruction, but whether it was an access violation rather than a page-not-present fault. On x86 without PAE there are only 2 kinds of access violations: (1) Access of a kernel mode page from user mode, which is handled early and (2) access of a read-only (or COW) page with a writing instruction. Therefore we could get away with this, even though it relied on the wrong assumption that a fault, which was not a page-not-present-fault, was automatically a write access. This commit only changes one thing: we pass the full fault-code to MmAccessFault and handle the rest from there in exactly the same way as before. More changes are coming to make things clear.

6 years ago[TRANSLATION] Update Simplified Chinese translations and font settings. (#266)
Luo Yufan [Sat, 6 Jan 2018 17:05:07 +0000 (01:05 +0800)]
[TRANSLATION] Update Simplified Chinese translations and font settings. (#266)

6 years ago[NDK] Fix some ob types (64 bit)
Timo Kreuzer [Thu, 4 Jan 2018 18:23:47 +0000 (19:23 +0100)]
[NDK] Fix some ob types (64 bit)

6 years ago! Fix build of tracert
Timo Kreuzer [Thu, 4 Jan 2018 17:29:11 +0000 (18:29 +0100)]
! Fix build of tracert

# Conflicts:
# sdk/include/psdk/ipexport.h

6 years ago[FLTMGR] Properly allocate CCB in CreatePortCCB()
Pierre Schweitzer [Sat, 6 Jan 2018 12:54:21 +0000 (13:54 +0100)]
[FLTMGR] Properly allocate CCB in CreatePortCCB()

CID 1427031

6 years ago[NTOS:CM] Improve code in cmsysini.c (#216)
Colin Finck [Sat, 6 Jan 2018 12:27:41 +0000 (13:27 +0100)]
[NTOS:CM] Improve code in cmsysini.c (#216)

Based on an original patch by Timo Kreuzer, with modifications by me to adapt it to latest HEAD and use a single exit path through the Cleanup label. This reliably frees all allocated handles.

The original code returns STATUS_SUCCESS for many cases. This has been preserved.
In the future, it should be checked though whether returning success is appropriate for all these cases.

CORE-6844

6 years ago[USETUP] When opening the target file for dropping readonly mode only use required...
Pierre Schweitzer [Sat, 6 Jan 2018 11:11:02 +0000 (12:11 +0100)]
[USETUP] When opening the target file for dropping readonly mode only use required access.
This avoids the open failing on certain file systems where GENERIC_WRITE access would be denied
for a readonly file.
This is an addendum to 82f44a2.

CORE-14158

6 years ago[DRWTSN32] Implement basic crash report functionality
Mark Jansen [Sat, 6 Jan 2018 10:47:54 +0000 (11:47 +0100)]
[DRWTSN32] Implement basic crash report functionality

On application crash, drwtsn32 will attach to the application and try to get a dump, consisting of:
- List of loaded modules
- List of loaded threads
- Per thread, a stacktrace
- Per thread, a small hexdump from the stack
- Per thread, a dump of the most common registers

This dump is saved to the desktop, and the user is notified of the dump being dropped there.

CORE-14180
#145

6 years ago[TRANSLATION] Improve Simplified Chinese Translations (#265)
Luo Yufan [Fri, 5 Jan 2018 13:15:03 +0000 (21:15 +0800)]
[TRANSLATION] Improve Simplified Chinese Translations (#265)

* Update Simplified Chinese translation of SYSSETUP
* Update Simplified Chinese translations and font settings.
* Update Translation of SHELL32.

6 years ago[SHELL32] CMenuToolbarBase: Use COLOR_MENUTEXT color for the text color in normal...
Giannis Adamopoulos [Fri, 5 Jan 2018 09:53:35 +0000 (11:53 +0200)]
[SHELL32] CMenuToolbarBase: Use COLOR_MENUTEXT color for the text color in normal menu items. CORE-13855

6 years ago[COMCTL32] tab: Use DrawThemeText when drawing text with themes. CORE-13855
Giannis Adamopoulos [Thu, 4 Jan 2018 21:25:37 +0000 (23:25 +0200)]
[COMCTL32] tab: Use DrawThemeText when drawing text with themes. CORE-13855