Katayama Hirofumi MZ
45ec49ca2f
[APITESTS] set_module_type(win32u module)
2019-04-29 12:49:54 +09:00
Katayama Hirofumi MZ
45bbb11a50
[APITESTS] Add NtGdiTransformPoints testcase ( #1542 )
...
Add a testcase for NtGdiTransformPoints function. set_module_type(win32u... win32dll) CORE-15983
2019-04-29 09:13:22 +09:00
Hermès Bélusca-Maïto
f21f750467
[KERNEL32_APITEST] Rename the 'Console.c' file into 'ConsoleCP.c' and its test-function as well, in order to reflect the actual name of the corresponding test.
2019-04-28 23:46:35 +02:00
Colin Finck
2c11c41115
Add a shared "port" directory for POSIX functions needed by multiple host tools (getopt/mkstemps) and import the one and only getopt from glibc.
...
This finally fixes our duplicated getopt functions from different sources and gives us an up to date and the most compatible implementation.
isohybrid actually relies on a glibc-specific getopt behavior that we previously hacked into the reactos_support_code.c implementation derived from BSD/mingw-w64.
widl also needs getopt and previously used an even older BSD-derived code.
2019-04-28 23:23:06 +02:00
Colin Finck
c02257ef57
[ISOHYBRID] Fix the remaining warnings properly.
...
I will send these changes upstream (minus the REACTOS_ISOHYBRID_EFI_MAC_SUPPORT ifdefs).
2019-04-28 23:22:53 +02:00
Timo Kreuzer
f47f45dbdd
[TOOLS] Fix/suppress all MSVC/x64 warnings ( #1525 )
2019-04-28 23:21:48 +02:00
Hermès Bélusca-Maïto
0aed8b09a4
[CONSRV] Cache the console window system menu handle; simplify its initialization code.
2019-04-28 21:47:55 +02:00
Serge Gautherie
cf48f8bf8a
[REACTOS] Replace remnant legacy SPIF_SENDWININICHANGE by SPIF_SENDCHANGE ( #1526 )
...
No functional change otherwise.
2019-04-28 21:19:42 +02:00
Bișoc George
89f6929dae
[ACCESS] Reposition the "ToggleKeys" group box control ( #1541 )
...
CORE-15383
2019-04-28 20:21:38 +02:00
Andrew Boyarshin
458a26ab76
[WIN32SS:NTUSER] Use the 2nd parameter of NtUserGetThreadDesktop() as fallback. ( #1065 )
...
- The 2nd parameter is already passed in user-mode by GetThreadDesktop().
It is then used by NtUserGetThreadDesktop() as a fallback for console
threads.
- Lookup and validate the thread by using the IntTID2PTI() helper.
- Don't reference the desktop with too many access rights.
- Get rid of the old-school DECLARE_RETURN() & co. macros.
Co-authored-by: Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
2019-04-28 19:27:45 +02:00
Katayama Hirofumi MZ
23ad2173f2
[WIN32SS][NTGDI] Fix wrong IN/OUT ( #1539 )
2019-04-28 17:24:57 +02:00
Eric Kohl
93b54d007f
[POWERCFG] Fix minor power scheme issues
...
- Really fix the exception that occurs on closing the property sheet.
- Use the correct scheme ID when the current power scheme is set.
2019-04-28 13:18:52 +02:00
Serge Gautherie
f79ca12eda
[ROSAUTOTEST] "Enforce" ending '\n' on C___Exception messages ( #1533 )
2019-04-28 12:20:37 +02:00
Serge Gautherie
853f7d84a0
[FORMATTING] appveyor.yml: Remove an extra space ( #1538 )
...
Addendum to 48f98e88
.
2019-04-28 03:23:27 +02:00
Hermès Bélusca-Maïto
d70848b8b7
[WINSRV] Implement SrvGetThreadConsoleDesktop(). CORE-13470
...
It retrieves the handle to the desktop assigned to the specified
thread belonging to a console application, which is going to be
where the input thread of this console is.
2019-04-28 02:50:38 +02:00
Katayama Hirofumi MZ
2da24f7274
[COMDLG32] Follow up of #1514 CORE-7114 Don't load asterisk extension
2019-04-28 08:44:52 +09:00
Hermès Bélusca-Maïto
9256c808b1
[NFS] Fix a typo in the precompiled header.
2019-04-28 01:42:52 +02:00
Eric Kohl
ce218f70ec
[POWERCFG] Fix an exception that occurs when the control panel is closed.
2019-04-27 19:01:35 +02:00
Hermès Bélusca-Maïto
0e3a043526
[KERNEL32] Add an (incomplete) pre-implementation for SetThreadStackGuarantee(). ( #803 )
...
This should remove some of the "SetThreadStackGuarantee(): stub" messages in some simple cases.
2019-04-27 18:41:50 +02:00
Hermès Bélusca-Maïto
30b800f8b5
[MODERN.MSSTYLES] Remove trailing whitespace.
2019-04-27 17:04:48 +02:00
Jake Collins
50cf16b302
[THEMES] Reorganize files for future compatability.
...
Moved current theme assets into their own dedicated
files in preparation for .theme support.
CORE-15970
2019-04-27 17:04:39 +02:00
Katayama Hirofumi MZ
6a7d8112c3
[COMDLG32] Save open/save location by extension ( #1514 )
...
Use the proper open/save initial folder for comdlg32.GetOpenFileName and comdlg32.GetSaveFileName. CORE-7114
2019-04-27 23:02:34 +09:00
Katayama Hirofumi MZ
3cc2169556
[SDK][INCLUDE] Use FALSE for BOOL in msgdump.h
2019-04-27 22:06:37 +09:00
Timo Kreuzer
fad4b34db7
[CMAKE] Fix LINK_DEPENDS usage
...
Up to CMake 3.3 LINK_DEPENDS was ignored in non-Makefile generators. See also http://www.cmake.org/pipermail/cmake/2010-May/037206.html . Since CMake 3.4 it is no longer ignored, but requires CMP0005 policy to be set to NEW and it requires a full path which was already correctly used on GCC, but not on MSVC builds.
2019-04-27 14:29:33 +02:00
Andrew Cook
716613cddc
[CMAKE] Use new policies for CMP0005 and CMP0018 ( #1481 )
...
* [CMAKE] Fix for CMP0018
The new behaviour lets us explicitly disabling position independent code, avoiding the need to change undocumented variables
* LINK_DEPENDS is semicolon separated
* [CMAKE] Fix for CMP0005
it seems impossible to have cmake correct escape PROXY_CLSID_IS so move it to the header
2019-04-27 11:33:37 +02:00
Katayama Hirofumi MZ
3af58ea993
[SDK][INCLUDE] small fix for msgdump.h
2019-04-27 18:30:29 +09:00
Katayama Hirofumi MZ
39312ba688
[WIN32SS][NTGDI] Use UNICODE_NULL for consistency
2019-04-27 16:17:37 +09:00
Katayama Hirofumi MZ
19fc9415bf
[WIN32SS][NTGDI] FireFox checkmark fix CORE-15303 ( #1535 )
...
The font size was a bit larger than expected. FireFox will show checkmarks correctly in View menu. CORE-15303
2019-04-27 09:38:01 +09:00
Eric Kohl
9a24e9799e
[POWERCFG] Show the name of the power scheme in the delete confirmation message box
2019-04-26 23:12:36 +02:00
Eric Kohl
7251020e41
[POWERCFG] Some small cleanup
...
- Rename IDC_HYBERNATE... to IDC_HIBERNATE...
- Rename IDS_PORCENT to IDS_PERCENT
- Replace %1 by %s in IDS_CONFIG1 and IDS_CONFIG2
2019-04-26 21:52:30 +02:00
Katayama Hirofumi MZ
ae8417fd90
[WIN32SS][NTGDI] Keep FontSubstitutes enumeration CORE-15785 ( #1532 )
...
Fix CORE-15785. When LOGFONT.lfFaceName[0] == 0, then enumeration of font substitutes had failed. CORE-15785
2019-04-26 21:56:36 +09:00
Colin Finck
86ae6b029f
[ROSAUTOTEST] A timeout of 120 seconds kills the msi:action test prematurely, so increase it to 170 seconds.
...
This is still below the 180 seconds before sysreg2 kills the entire VM.
I've added a comment to clarify that.
2019-04-26 10:31:02 +02:00
Timo Kreuzer
b7ab90d932
[PSDK] Improve lmrepl.h
...
Added public domain header. This file was originally imported in r8283 from w32api where is has no copyright.
2019-04-26 10:30:01 +02:00
Colin Finck
e34d3cf379
[REGTEST] Add regtest.cmd to the Run key inside regtest.cmd, so we're also started on the next reboot in case ReactOS crashed *and* the registry has been saved.
...
unattend.inf only allows to add RunOnce entries, which are in theory only executed on the first boot after installation.
For almost a decade, this worked anyway to start regtest.cmd again after a ReactOS crash, because the registry and thus the deletion of the RunOnce entry wasn't stored on disk in case of a crash.
Thanks to Sylvain for the hint!
As Explorer processes the Run key right after RunOnce and therefore picks up regtest.cmd a second time during the first boot, exit the script just after adding the Run key.
Otherwise, rosautotest.exe would be started twice, with catastrophic results.
2019-04-26 10:02:47 +02:00
Colin Finck
064dffe6c3
[ROSAUTOTEST] Cache the result of GetLastError().
2019-04-26 08:47:15 +02:00
Colin Finck
7dd4d2256b
[ROSAUTOTEST] Implement a process activity timeout of 2 minutes. If there is no log output within 2 minutes, the test process is killed, and we continue with the next test.
...
This is a rather graceful approach compared to sysreg2's 3 minute timeout before killing and restarting the entire VM.
Since we added autochk for FAT filesystems, the filesystem is often "fixed" after a reset with the consequence that ReactOS doesn't boot up anymore.
The sysreg2 restart code still remains for handling tests causing BSODs.
2019-04-26 08:47:15 +02:00
Eric Kohl
0ca4b50791
[POWERCFG] Fix the initialization of the power schemes page
...
CORE-4995
2019-04-26 00:03:27 +02:00
Oleg Dubinskiy
c8611aea13
[DPNHPAST] Import dpnhpast.dll from Wine (Staging) 4.5
2019-04-24 19:59:15 +02:00
Jared Smudde
7e18b6d0eb
[BROWSEUI] Enable the Disconnect Network Drive menu item. ( #1522 )
...
CORE-13516, CORE-13518
2019-04-24 04:28:05 +02:00
Jared Smudde
bf431dd278
[MPR] Implement the function WNetDisconnectDialog(). ( #1522 )
...
CORE-13516, CORE-13518
2019-04-24 04:28:01 +02:00
Jared Smudde
d1404a7a2a
[NETPLWIZ] Implement the Disconnect Network Drive dialog. ( #1522 )
...
CORE-13516, CORE-13518
2019-04-24 04:26:12 +02:00
Katayama Hirofumi MZ
9de816c971
[APPWIZ.CPL] Set a default shortcut-link description ( #1520 )
...
CORE-15511
2019-04-24 03:44:44 +02:00
Hermès Bélusca-Maïto
62823a08ce
[SHELL32] Make the new-item menu work (aka. make it dynamic) when the .lnk handler doesn't have any ShellNew entry.
2019-04-24 03:41:41 +02:00
Hermès Bélusca-Maïto
0416c598f8
[SHELL32] Code formatting/style/whitespace fix + fix two memory leaks in failure paths of CNewMenu::LoadItem().
2019-04-24 03:36:27 +02:00
Katayama Hirofumi MZ
8e60c2efee
[SHELL32] Implement 'New Link' (Retrial of #1510 ), CORE-15511 ( #1518 )
...
Correctly create cache about ".lnk" and handling in the member functions.
Co-authored-by: Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
2019-04-24 03:28:17 +02:00
Katayama Hirofumi MZ
f2512254e0
[MSPAINT] Set default extension .bmp ( #1515 )
...
Set the default extension of mspaint to .bmp. CORE-7114
2019-04-23 14:25:18 +09:00
Eric Kohl
8c30fdab1c
[STOBJECT] Store the "Show x icon in the taskbar" setting for the hotplug, power and volume icons.
...
CORE-12365
CORE-12972
CORE-15234
2019-04-23 00:12:23 +02:00
Eric Kohl
22411ef223
[POWERCFG] Fix indentation and coding style. No code changes!
2019-04-23 00:09:10 +02:00
Eric Kohl
8fb2a2dd12
[STOBJECT][MMSYS][POWERCFG] Store the "Show x icon in the taskbar" setting for the hotplug, power and volume icons.
...
CORE-12365
CORE-12972
CORE-15234
2019-04-23 00:04:01 +02:00
Hermès Bélusca-Maïto
a7ddabcc12
[EXPLORER] Minor cleanup/comment fixes.
2019-04-22 21:25:41 +02:00