Pierre Schweitzer [Wed, 19 Dec 2018 21:49:48 +0000 (22:49 +0100)]
[NTOSKRNL] Drop the ViewLock mutex in favour of the master spin lock
This will allow Cc calls during DPC, which is required by MS FastFAT
CORE-11819
Eric Kohl [Tue, 18 Dec 2018 20:35:12 +0000 (21:35 +0100)]
[NTOSKRNL] Fix indentation. No code changes.
Eric Kohl [Mon, 17 Dec 2018 20:23:10 +0000 (21:23 +0100)]
[NTOSKRNL] Fix indentation. No code changes.
Giannis Adamopoulos [Sun, 16 Dec 2018 11:16:29 +0000 (13:16 +0200)]
[NTUSER] Implement creating the system threads
- Add UserCreateSystemThread function that will signal csrss to create a new system thread.
- NtUserCreateWindowStation: Create the raw input thread and the desktop thread when the IO window station gets created.
- IntMakeHungWindowGhosted: Create the ghost system thread that will own all ghost windows.
- Let the raw input thread manage the window station of csrss.
[USERSRV] Remove system threads creating hack
- Implement SrvCreateSystemThreads
- Don't create the system threads in UserServerDllInitialization.
Giannis Adamopoulos [Thu, 13 Dec 2018 09:21:00 +0000 (11:21 +0200)]
[USERSRV] Add definition for the USER_CREATE_SYSTEM_THREAD api message
Giannis Adamopoulos [Sun, 16 Dec 2018 11:14:56 +0000 (13:14 +0200)]
[WINSRV] Add a hack to fix giving the api port to win32k
- Register our api port with win32k in SrvRegisterLogonProcess because UserClientConnect is never really called.
[NTUSER] Silence a noisy trace
Giannis Adamopoulos [Sun, 16 Dec 2018 11:19:54 +0000 (13:19 +0200)]
[NTUSER] Fix desktop and window station assignment for csrss
- NtUserSetInformationThread: Stub UserThreadUseActiveDesktop and UserThreadRestoreDesktop
- Properly mark the first thread that enters win32k belonging to csrss. At this point we assume that since gpepCSRSS isn't initialized yet, it probably is the first thread.
[WINSRV] Use NtUserSetInformationThread to set the current desktop when needed
-When csrss needs to use user32 or enter win32k, it first needs to assign the current thread to a desktop.
Giannis Adamopoulos [Mon, 17 Dec 2018 18:11:59 +0000 (20:11 +0200)]
[NTUSER] Don't crash when the current thread doesn't have a desktop
Giannis Adamopoulos [Mon, 17 Dec 2018 08:50:50 +0000 (10:50 +0200)]
[WINSRV] Fix setting the console title
Baruch Rutman [Wed, 19 Dec 2018 12:20:18 +0000 (14:20 +0200)]
[TRANSLATION][USETUP] Complete Hebrew translation (#1163)
- Code-page 862, Hebrew text is in visual order.
- Use escape sequences for quotation marks.
Katayama Hirofumi MZ [Wed, 19 Dec 2018 12:08:25 +0000 (21:08 +0900)]
[ROSAPPS][VGAFONTEDIT] Allow file drop (#1165)
- Allow file drop on EXE file.
- Allow file drop on the main window.
Luo Yufan [Wed, 19 Dec 2018 12:04:19 +0000 (20:04 +0800)]
Update Chinese translation. (#1164)
* [SYSSETUP] Update Simplified Chinese translation.
* [SYSSETUP] Update Traditional Chinese translation.
* [SHELL32] Update Traditional Chinese translation.
* [VCDCONTROLTOOL] Update Simplified Chinese translation.
* [VCDCONTROLTOOL] Update Traditional Chinese translation.
Katayama Hirofumi MZ [Wed, 19 Dec 2018 11:07:17 +0000 (20:07 +0900)]
[DEVMGR][NETCFGX][MSCONFIG][NETSHELL] Fix and improve icons (#1143)
CORE-15445
Thomas Faber [Wed, 19 Dec 2018 09:54:49 +0000 (10:54 +0100)]
[CRT] Use explicit C linkage for intrinsic functions.
Fixes MSVC warnings:
sdk\include\crt\xmmintrin.h(33): warning C4162: '_mm_getcsr': no function with C linkage found
sdk\include\crt\xmmintrin.h(35): warning C4162: '_mm_setcsr': no function with C linkage found
Pierre Schweitzer [Wed, 19 Dec 2018 07:15:11 +0000 (08:15 +0100)]
[NTOSKRNL] Fix copy/pasta ;-)
Pierre Schweitzer [Wed, 19 Dec 2018 07:07:28 +0000 (08:07 +0100)]
[NTOSKRNL] Probe parameters in NtAllocateUuids() if called from user-mode
This will avoid that userland applications can trigger an invalid write in
the kernel (and thus, a BSOD).
CORE-15462
Oleg Dubinskiy [Tue, 18 Dec 2018 22:21:07 +0000 (00:21 +0200)]
[VCDCONTROLTOOL] Add Ukrainian translation
Pierre Schweitzer [Tue, 18 Dec 2018 22:08:19 +0000 (23:08 +0100)]
[NTOSKRNL] Only allow SYSTEM to call NtSetUuidSeed()
Also, validate input buffer before attempting any operation on it.
This will avoid userland applications to be able to trigger an invalid
read in the kernel (and thus a BSOD).
Regarding access restriction, see:
https://stackoverflow.com/questions/
1254244/need-access-to-ntsetuuidseed-from-a-non-localsystem-process
CORE-15460
Serge Gautherie [Tue, 18 Dec 2018 21:48:40 +0000 (22:48 +0100)]
[PSDK] Fix 5 MSVC-x64 "C4028" warnings about SQL*() (#1160)
Missed parts of sqlext.h in r74826 WineSync.
CORE-13362 CORE-7538
Yaroslav Kibysh [Tue, 18 Dec 2018 17:38:42 +0000 (19:38 +0200)]
[TRANSLATION] Ukrainian Translation Update & OEM-866 Code Page Problem (#1133)
Also add the Ї ї Є є characters to the VGA font for code page 866.
Luo Yufan [Tue, 18 Dec 2018 16:24:35 +0000 (00:24 +0800)]
[TRANSLATION] Update Chinese translation (zh_CN & zh_TW) (#1159)
Serge Gautherie [Tue, 18 Dec 2018 12:30:28 +0000 (13:30 +0100)]
[CYLFRAC] Fix 3 MSVC-x64 warnings about TimeProc() (#1157)
- "...\cylfrac.c(160): warning C4028: formal parameter 3 different from declaration"
- "...\cylfrac.c(160): warning C4028: formal parameter 4 different from declaration"
- "...\cylfrac.c(160): warning C4028: formal parameter 5 different from declaration"
CORE-7538
Serge Gautherie [Tue, 18 Dec 2018 12:29:03 +0000 (13:29 +0100)]
[CYLFRAC] Fix a MSVC-x64 warning about hwnd (#1158)
"...\cylfrac.c(160): warning C4311: 'type cast': pointer truncation from 'HWND' to 'DWORD'".
Pierre Schweitzer [Tue, 18 Dec 2018 07:20:27 +0000 (08:20 +0100)]
[VCDCONTROLTOOL] Enable Spanish translation
Addendum to
1cb1da5 which was an addendum to
be8a835
Luo Yufan [Tue, 18 Dec 2018 03:30:48 +0000 (11:30 +0800)]
[TRANSLATION] Update Traditional Chinese translation. (#1142)
Hermès Bélusca-Maïto [Tue, 18 Dec 2018 00:48:30 +0000 (01:48 +0100)]
Remove unwanted file; addendum to
be8a835.
Javier Fernandez [Tue, 18 Dec 2018 00:33:08 +0000 (01:33 +0100)]
[VCDCONTROLTOOL] Add Spanish translation (#1156)
Joachim Henze [Mon, 17 Dec 2018 21:01:49 +0000 (22:01 +0100)]
[DESK][SHELL32] Allow Desk.cpl to run standalone on WinXP/2003 again CORE-15412
addendum to 0.4.10-dev-502-g
d559ca9c982f9766acc5db3ea887ef2bc27acdff
That copy-paste was done once intentionally to keep our imports similar to 2003.
It's worth reading the conversation in PR #748: Getequ seems to be ok with this.
The ideal solution most likely would be to instead *statically*
link against RegLoadMUIStringW() from advapi32_vista when WINNT=0x502.
For now the stuff runs again at least.
I left the func existing in advapi32_vista.dll.
Mark Jansen [Sat, 15 Dec 2018 15:23:22 +0000 (16:23 +0100)]
[BROWSEUI] Add ITaskbarList implementation
CORE-15424
Mark Jansen [Sun, 16 Dec 2018 00:21:53 +0000 (01:21 +0100)]
[EXPLORER] Add TWM_GETTASKSWITCH, which seems to be used on windows
to get a handle to the task switch control.
This can then be used to send messages to it, like hiding/showing buttons
CORE-15424
Mark Jansen [Sun, 16 Dec 2018 21:03:26 +0000 (22:03 +0100)]
[OLE32] Don't free handles that are just copied in the inproc case.
This imports wine commit
25b136d40080a80c006b89e02708d2e248504a42,
by Huw Davies and Zebediah Figura
CORE-14696
Pierre Schweitzer [Mon, 17 Dec 2018 19:29:31 +0000 (20:29 +0100)]
[KMTESTS:CC] Add some tests regarding small pinning size (< PAGE_SIZE)
CORE-15384
Katayama Hirofumi MZ [Mon, 17 Dec 2018 13:42:18 +0000 (22:42 +0900)]
[SHELL32] Add backslash if path was like C: (#1152)
CORE-15434
Katayama Hirofumi MZ [Mon, 17 Dec 2018 13:37:51 +0000 (22:37 +0900)]
[SHELL32] 'Run' dialog box should accept URL (#1153)
Fix ShellExecCmdLine function. CORE-15455, CORE-11772
Katayama Hirofumi MZ [Mon, 17 Dec 2018 10:22:31 +0000 (19:22 +0900)]
[SHELL32] Add CDefView::DefMessageSFVCB (Retrial of #1145) (#1151)
CORE-14976
Oleg Dubinskiy [Mon, 17 Dec 2018 07:09:08 +0000 (09:09 +0200)]
[VCDCONTROLTOOL] Add Russian translation
Katayama Hirofumi MZ [Mon, 17 Dec 2018 02:29:35 +0000 (11:29 +0900)]
[KBDROST][NTDLL_APITEST] Revert #1135 (Delete UTF-8 BOM) (#1149)
CORE-15447
Mark Jansen [Sun, 16 Dec 2018 22:25:52 +0000 (23:25 +0100)]
[SDK] Define some constants for use with _mm_prefetch (#1147)
* [SDK] Define some constants for use with _mm_prefetch
This should fix the build for x64
Add __INTRIN_INLINE for gcc and clang
Serge Gautherie [Wed, 18 Jul 2018 15:08:57 +0000 (17:08 +0200)]
[CMAKE] MSVC: Make C4028 warning into error, on "i386" only
"C4028: formal parameter N different from declaration"
CORE-7538
Eric Kohl [Sun, 16 Dec 2018 19:41:36 +0000 (20:41 +0100)]
[SAMSRV] Implement SamConnect5() and add/improve TRACE messages.
- Implement SamConnect5() and let the other connect functions call SamrConnect5().
- Add missing and improve incomplete TRACE messages for all Samr functions.
Hermès Bélusca-Maïto [Sun, 16 Dec 2018 16:38:09 +0000 (17:38 +0100)]
[BTRFS] Fix MSVC build.
Hermès Bélusca-Maïto [Sun, 16 Dec 2018 16:20:37 +0000 (17:20 +0100)]
[SHELLBTRFS] Fix MSVC build.
Pierre Schweitzer [Sun, 16 Dec 2018 13:37:52 +0000 (14:37 +0100)]
[BTRFS] Fix link with modern MSVC compilers
CORE-15452
Eric Kohl [Sun, 16 Dec 2018 11:48:56 +0000 (12:48 +0100)]
[NTOSKRNL] Add and call the CmpSaveBootControlSet() stub.
Pierre Schweitzer [Sun, 16 Dec 2018 11:27:08 +0000 (12:27 +0100)]
[SHELLBTRFS] Oops, that local change got dropped...
CORE-15452
Pierre Schweitzer [Sun, 16 Dec 2018 11:19:32 +0000 (12:19 +0100)]
[SHELLBTRFS] Fix build
CORE-15452
Pierre Schweitzer [Sun, 16 Dec 2018 11:05:58 +0000 (12:05 +0100)]
[UBTRFS] Upgrade to 1.1
CORE-15452
Pierre Schweitzer [Sun, 16 Dec 2018 11:04:40 +0000 (12:04 +0100)]
[SHELLBTRFS] Upgrade to 1.1
CORE-15452
Pierre Schweitzer [Sun, 16 Dec 2018 11:03:16 +0000 (12:03 +0100)]
[BTRFS] Upgrade to 1.1
CORE-15452
Eric Kohl [Sun, 16 Dec 2018 09:30:23 +0000 (10:30 +0100)]
[NTOSKRNL] Fix indentation. No code changes.
Eric Kohl [Sun, 16 Dec 2018 09:28:26 +0000 (10:28 +0100)]
[KERNEL32] Store the current computer name in the volatile ActiveComputerName key on first query in order to ensure that the visible computer name does not change until the next reboot.
Katayama Hirofumi MZ [Sat, 15 Dec 2018 23:42:20 +0000 (08:42 +0900)]
[USER32] App Switcher Arrow keys (#1136)
Implement Arrow keys on App Switcher (Alt+Tab). CORE-15449
Katayama Hirofumi MZ [Sat, 15 Dec 2018 23:40:47 +0000 (08:40 +0900)]
[CPL][SHELL32] Add icons to input, joy, sysdm, folder options (#1138)
CORE-15445
Jared Smudde [Sat, 15 Dec 2018 20:22:57 +0000 (14:22 -0600)]
[SHELL32] Add a warning dialog before starting a dialog as well as a format complete dialog. (#1137)
Also fix the progress bar not working and the Allocation unit size combo box disappearing after a format completes.
Hermès Bélusca-Maïto [Sat, 15 Dec 2018 14:26:01 +0000 (15:26 +0100)]
[UMPNPMGR] Re-enable the usage of Interlocked Singly-Linked lists.
Using locked operations (insertion & removal) on the list of queued
devices installations is necessary, because these operations are done
concurrently by two different threads: PnpEventThread() and
DeviceInstallThread().
Addendum to commit
b2aeafca (r24365).
Hermès Bélusca-Maïto [Fri, 14 Dec 2018 23:41:40 +0000 (00:41 +0100)]
[UMPNPMGR] Fix a typo.
Hermès Bélusca-Maïto [Sat, 15 Dec 2018 16:05:59 +0000 (17:05 +0100)]
[STLPORT] Fix MSVC x64 build.
Timo, can you check whether this disabled code block is really needed?
Hermès Bélusca-Maïto [Sat, 15 Dec 2018 15:21:24 +0000 (16:21 +0100)]
[PSDK] PSDK-compatibility: Add the SList function declarations to winbase.h.
Luo Yufan [Sat, 15 Dec 2018 15:19:53 +0000 (23:19 +0800)]
[SHELL32] Update Simplified Chinese translation.
Luo Yufan [Sat, 15 Dec 2018 15:18:02 +0000 (23:18 +0800)]
[SHELL32] Update Traditional Chinese translation.
Pierre Schweitzer [Sat, 15 Dec 2018 19:02:03 +0000 (20:02 +0100)]
[FLOPPY_NEW] Import the floppy driver from MS GitHub repository
Do not enable it yet, as it doesn't work in ROS for the moment :-(.
Its place in tree is not optimal (it should be with disk/class/etc.),
but I prefer keeping it close to actual driver for now.
All the work has been done so that it compiles and links with ReactOS
SDK though.
Pierre Schweitzer [Sat, 15 Dec 2018 18:18:35 +0000 (19:18 +0100)]
[PSDK] Complete the MEDIA_TYPE enum
Eric Kohl [Sat, 15 Dec 2018 16:17:14 +0000 (17:17 +0100)]
[NETAPI32] Implement NetRegisterDomainNameChangeNotification() and NetUnregisterDomainNameChangeNotification().
Mark Jansen [Wed, 12 Dec 2018 19:07:05 +0000 (20:07 +0100)]
[MAINTAINERS][DOC] Update mspatcha in README.WINE and MAINTAINERS
Mark Jansen [Sat, 8 Dec 2018 22:49:57 +0000 (23:49 +0100)]
[MSPATCHA] Initial patch decoding + applying.
Some initial work is done, all testcases pass now.
However a lot of the patch format is still unknown / not working,
so do not expect anything other than the apitest to work yet.
The next thing to do now, is to gather input, output and patch files,
and analyze how the compression and patching works on bigger /
more complex files.
CORE-15417
Mark Jansen [Sun, 2 Dec 2018 18:14:16 +0000 (19:14 +0100)]
[MSPATCHA] Implement GetFilePatchSignature functions
Mark Jansen [Sat, 1 Dec 2018 21:35:29 +0000 (22:35 +0100)]
[MSPTCHA_APITEST] Initial tests.
The filename intentionally does not contain the word 'patch',
because this will trigger windows to auto-elevate the test app.
Mark Jansen [Sat, 1 Dec 2018 13:16:46 +0000 (14:16 +0100)]
[MSPATCHA][PSDK] Update / add some function definitions
Pierre Schweitzer [Sat, 15 Dec 2018 14:45:57 +0000 (15:45 +0100)]
[VCDCONTROLTOOL] Add a shortcut to start menu
Katayama Hirofumi MZ [Fri, 14 Dec 2018 23:00:39 +0000 (08:00 +0900)]
[KBDROST][NTDLL_APITEST] Add UTF-8 BOM (#1135)
Add UTF-8 BOM. CORE-15447
Hermès Bélusca-Maïto [Thu, 13 Dec 2018 23:30:12 +0000 (00:30 +0100)]
[SETUPLIB] Detect GPT-partitioned disks but don't use them since we don't support them at the moment.
- Add checks for GPT disks and either fail or ignore the disk,
depending on the operation being executed.
[USETUP][REACTOS] Display the disk style more accurately.
Katayama Hirofumi MZ [Fri, 14 Dec 2018 20:41:44 +0000 (05:41 +0900)]
[SHELL32] Improve French translation of Folder Options View
CORE-15259
Katayama Hirofumi MZ [Fri, 14 Dec 2018 11:07:33 +0000 (20:07 +0900)]
[EXPLORER] Set display icon of task properties (#1130)
CORE-10494
Katayama Hirofumi MZ [Fri, 14 Dec 2018 11:06:57 +0000 (20:06 +0900)]
[CPL] Properly set display icons of control panel applets (#1129)
CORE-15445
Katayama Hirofumi MZ [Fri, 14 Dec 2018 10:52:41 +0000 (19:52 +0900)]
[SHELL32] Localize caption of Folder Options
CORE-15247
Serge Gautherie [Thu, 13 Dec 2018 02:18:18 +0000 (03:18 +0100)]
[KMTEST:RTL] RtlException: Remove '#if CORE_6640_IS_FIXED'
On behalf of Víctor Martinez.
CORE-8773
Luo Yufan [Thu, 13 Dec 2018 17:54:13 +0000 (01:54 +0800)]
[SETUP][FONT] Add font substitute of Ubuntu font for CJK
CORE-15179
Katayama Hirofumi MZ [Thu, 13 Dec 2018 11:40:05 +0000 (20:40 +0900)]
[BROWSEUI] Follow up of #1121
CORE-15434
Katayama Hirofumi MZ [Thu, 13 Dec 2018 11:04:02 +0000 (20:04 +0900)]
[BROWSEUI] Add backslash for directory (#1121)
CORE-15434
Katayama Hirofumi MZ [Thu, 13 Dec 2018 11:00:27 +0000 (20:00 +0900)]
[REGEDIT] Set background brush to child window (#1122)
This commit fixes a problem with drawing of splitter. CORE-15442
Pierre Schweitzer [Thu, 13 Dec 2018 10:54:59 +0000 (11:54 +0100)]
[ROSAUTOTEST] Force HTTPS
ONLINE-855
Pierre Schweitzer [Thu, 13 Dec 2018 10:49:13 +0000 (11:49 +0100)]
[ROSAUTOTEST] Forget about HTTP, go over HTTPS directly
ONLINE-855
Pierre Schweitzer [Thu, 13 Dec 2018 10:45:43 +0000 (11:45 +0100)]
[ROSAUTOTEST] Allow transparent redirection to HTTPS URLs
ONLINE-855
Pierre Schweitzer [Wed, 12 Dec 2018 20:12:39 +0000 (21:12 +0100)]
[MAINTAINERS] Add the vcdcontroltool app
Serge Gautherie [Wed, 12 Dec 2018 19:24:07 +0000 (20:24 +0100)]
[WS2_32_APITEST] Fix 'inialialization' typo, in comments (#1119)
Mark Jansen [Sun, 25 Nov 2018 18:52:20 +0000 (19:52 +0100)]
[SFC_APITEST] Initial test for SfcIsFileProtected and SfcGetFiles
Mark Jansen [Sun, 9 Dec 2018 15:11:14 +0000 (16:11 +0100)]
[SHELL32] Add IActiveDesktop stub
CORE-15424
Mark Jansen [Sun, 9 Dec 2018 14:58:35 +0000 (15:58 +0100)]
[COM_APITEST] Add a test for CLSID_ActiveDesktop
CORE-15424
Mark Jansen [Sun, 9 Dec 2018 14:58:00 +0000 (15:58 +0100)]
[PSDK] Add a minimal IActiveDesktop definition
CORE-15424
Andrew Boyarshin [Wed, 12 Dec 2018 11:12:24 +0000 (18:12 +0700)]
[NTOS:MM] Fix typo in MiCheckForUserStackOverflow
Katayama Hirofumi MZ [Wed, 12 Dec 2018 01:33:05 +0000 (10:33 +0900)]
[SHELL32] Fix 'Run' dialog crash (#1117)
Running "%SYSTEMROOT%" sometimes crashed. This will fix it. CORE-15431
Katayama Hirofumi MZ [Wed, 12 Dec 2018 00:01:36 +0000 (09:01 +0900)]
[INCLUDE] Replace \r\n with \n
Mark Jansen [Sat, 1 Sep 2018 19:09:18 +0000 (21:09 +0200)]
[SDK] Update gen_baseaddress.
* Speed up the script by using the fallback by default
* Suggest what cmake file to edit
* Add support for x64 modules (addresses not updated yet)
CORE-14923
Katayama Hirofumi MZ [Tue, 11 Dec 2018 23:03:49 +0000 (08:03 +0900)]
[WIN32SS] Replace ASSERT(FALSE); in IntGhostWindowFromHungWindow (#1116)
CORE-11944
Pierre Schweitzer [Tue, 11 Dec 2018 22:39:00 +0000 (23:39 +0100)]
[ADVAPI32_APITEST] If TEB SubProcessTag is set, query ADVAPI32 to validate its correctness
This is based on: https://wj32.org/wp/2010/03/30/howto-use-i_querytaginformation/
and properly works in W2K3 SP2.
Thanks to Joachim for his tests.
Pierre Schweitzer [Tue, 11 Dec 2018 21:38:36 +0000 (22:38 +0100)]
[ADVAPI32_APITEST] Add a test to show that main service thread is tagged
This test will fail on everything < W2K3 SP2. In spite of what a wide spread
rumor says, MS seems to have added that feature quite lately, but not starting
Vista! ;-)
Eric Kohl [Tue, 11 Dec 2018 21:49:17 +0000 (22:49 +0100)]
[PSDK] Add missing prototypes NetRegisterDomainNameChangeNotification and NetUnregisterDomainNameChangeNotification to lmconfig.h.
Timo Kreuzer [Sun, 9 Dec 2018 16:51:50 +0000 (17:51 +0100)]
[CMAKE] Fix problem with __RELFILE__ not working when compiler uses relative pathes
This usually happens when the build dir is a subdir of the source dir. It is now detected during runtime, using the length of the relative path from the build dir to the source dir as the length of the prefix to skip, if __FILE__ starts with a '.'.
Also fix the escaping of REACTOS_*_DIR defines. It was gracefully fixed up by CMake, but resulted in broken syntax highliting.
CORE-14839 #resolve
Timo Kreuzer [Sun, 9 Dec 2018 13:23:55 +0000 (14:23 +0100)]
Revert "[CMAKE] Use configured include files to define the __RELFILE__ hack (#979)"
This reverts commit
07bd6089ec96b068d92f42e764cc7336a7de24a0.
Pierre Schweitzer [Tue, 11 Dec 2018 18:59:07 +0000 (19:59 +0100)]
[VCDCONTROLTOOL] Add French translation