Serge Gautherie
698a8e6554
[DOC] 3rd Party Files.txt: Add 'rdesktop' entry ( #3333 )
2020-10-30 15:35:49 +03:00
Hermès Bélusca-Maïto
731eddfe40
[BASESRV] Re-enable and actually fix the CsrValidateMessageBuffer() checks in BaseSrvDefineDosDevice(). ( #3304 )
...
Addendum to commit 0a392b18
.
The actual problem that existed all along was that the buffers being
validated with CsrValidateMessageBuffer() were not the correct ones!
What had to be checked is the string buffer **INSIDE** the UNICODE_STRING
structures! Indeed, it is these buffers that we are allocating on client side,
see https://github.com/reactos/reactos/blob/9b421af1/dll/win32/kernel32/client/dosdev.c#L324-L336
Dedicated to Pierre Schweitzer.
2020-10-30 01:58:16 +01:00
Hermès Bélusca-Maïto
f4279fc356
[CSRSRV] Clarify few comments, and use MAXULONG.
2020-10-30 01:55:16 +01:00
Mark Jansen
9b421af118
[NTDLL_APITEST] Fix LdrEnumResources testdata initialization
...
ROSTESTS-361
2020-10-29 20:17:58 +01:00
Timo Kreuzer
0e5a4d5afe
[PSDK] Import some SAL headers from MS
...
Taken from https://github.com/microsoft/ChakraCore/tree/master/pal/inc/rt
* Move _Check_return_opt_ and _Check_return_wat_ to crtdefs.h
* Update sal.h from https://github.com/microsoft/ChakraCore/blob/master/pal/inc/rt/sal.h
* Import no_sal2.h from MS and remove the one in NDK
* Import specstrings.h from MS
* Import specstrings_strict.h from MS
* Add specstrings_undef.h (based on defines in specstrings_strict.h)
* Remove __REACTOS__ hacks from cdfs
2020-10-29 06:51:28 +01:00
Jérôme Gardou
95d873091b
[CMAKE] Make reactos_cab_inf really depend on reactos.inf
...
Instead of being always out of date & always trigger reactos.cab creation
2020-10-28 18:03:34 +01:00
Jérôme Gardou
b2cf5a4c03
Revert "[CMAKE] Make unattended bootcd configurable via cmake"
...
This reverts commit cfd4ef9384
.
This was way more controversial than I would have thought
2020-10-26 18:13:50 +01:00
Mark Jansen
c3b3fcd111
[RAPPS] Abort screenshot iteration on the first not found
...
This should decrease startup time / db parse time
2020-10-25 20:30:03 +01:00
Mark Jansen
964c22c1ca
[RAPPS][RAPPS.COM] Introduce a rapps console shim
...
rapps.com will be launched when running 'rapps' from cmd or
from run, and since it is a console application, explorer/ cmd will
wait for it.
This rapps.com passes the commandline to rapps.exe,
and wait for rapps.exe to exit before closing.
CORE-17281
2020-10-25 15:44:33 +01:00
Carlo Bramini
4ffd9fb3a0
[DBGHELP] Add missing support for AMD64. ( #3083 )
...
See:
https://docs.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-context
2020-10-25 12:30:37 +01:00
Doug Lyons
8081ba9332
[WIN32SS] Repaint the whole window frame on some style bits set ( #3199 )
...
This fixes the ReactOS Calculator buttons disappearing in CORE-16827
2020-10-24 22:35:45 +03:00
Thomas Faber
303f17f884
[FASTFAT] Implement the overflow queue. CORE-17344 CORE-17328
...
This avoids blocking all Ex worker threads in fastfat, thereby making Cc
unable to issue the lazy writes that would unblock those workers.
This is more or less directly taken from fastfat_new.
2020-10-24 19:53:36 +02:00
Oleg Dubinskiy
cdb48b8219
[SHELL32] Stub SHGetShellStyleHInstance and SHGetAttributesFromDataObject CORE-17337 ( #3295 )
...
They are required by MS Picture and Fax Viewer (shimgvw.dll), together with MS browseui.dll.
CORE-17337
2020-10-24 18:04:54 +03:00
Oleg Dubinskiy
d0a7df49fa
[BROWSEUI] CCommonBrowser class should support aggregation ( #3308 )
...
It will remove the following error from the log when use MS shell32.dll in ReactOS:
`fixme:(dll/win32/ole32/compobj.c:3454) Class {af604efe-8897-11d1-b944-00a0c90312e1} does not support aggregation`.
References:
https://www.geoffchappell.com/studies/windows/ie/browseui/classes/ccommonbrowser.htm
https://docs.microsoft.com/en-us/cpp/atl/reference/aggregation-and-class-factory-macros?view=vs-2019
CORE-17345
2020-10-24 18:02:18 +03:00
Victor Perevertkin
dcfb80c47a
[DOC] Add more files to "3rd Party Files.txt"
2020-10-24 17:07:13 +03:00
Timo Kreuzer
a713e63b8b
[COMPILER_APITEST] Add new compiler_apitest, using pseh tests
2020-10-24 13:26:33 +02:00
Timo Kreuzer
69e80a1e74
[PSEH2_TEST] Move it to apitests
...
The folder name is compiler, because it is going to be part of a new compiler_apitest.
2020-10-24 13:26:33 +02:00
Timo Kreuzer
1fa9fdb625
[PSEH2_TEST] Fix compilation with MSVC
2020-10-24 13:26:33 +02:00
Piotr Hetnarowicz
16d8190f51
[SHELL32] PL-pl Dialogs fix v2
...
shell32.dll PL-pl
-FIXED: invisible icon,text & description
2020-10-24 10:20:59 +02:00
Serge Gautherie
be08d69bc3
[MLANG] Fix scripts values in fnIMLangFontLink2_GetScriptFontInfo()
...
MSVC:
'...\mlang.c(3568): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)'
Import
2dc0758b5d
2020-10-24 10:17:05 +02:00
Victor Perevertkin
119f102f63
[DOC] Make "3rd Party Files.txt" a main source about 3rd party projects
...
- Add path and license information to "3rd Party Files.txt"
- Merge README.FSD with it
- Rename README.WINE to WINESYNC.txt
2020-10-24 06:34:55 +03:00
Serge Gautherie
a2a6038e56
[CMAKE] MSVC RUNTIME_CHECKS is a 'Debug'-only feature
...
"cl : Command line error D8016 : '/Ox' and '/RTC1' command-line options are incompatible"
Addendum to 92dfec219d
.
2020-10-24 04:28:16 +03:00
Jérôme Gardou
de40118362
[CMAKE] Make unattended bootcd configurable via cmake
...
Instead of messing around with a file in the source tree and risk commiting it
use cmake -DUNATTENDED_BOOTCD=yes to enable it, and use the UNATTENDED_BOOTCD_* cache variables to configure
2020-10-23 10:31:57 +02:00
Jérôme Gardou
23e04ae1ee
[CMAKE] Use an INTERFACE library to perform the msvcrt <-> msvcrtex binding
2020-10-22 18:07:27 +02:00
Jérôme Gardou
bada20a361
[APISETS] Declare them as modules instead of win32dll
2020-10-22 18:07:27 +02:00
Jérôme Gardou
5c25e816bf
[CMAKE] Only link msvcrtex to win32cui, win32gui, win32dll, win32ocx and cpl modules
2020-10-22 18:07:27 +02:00
Jérôme Gardou
840fe4d6ac
[CMAKE] Introduce the REACTOS_MODULE_TYPE target property
...
And set it in set_module_type function
2020-10-22 18:07:27 +02:00
Jérôme Gardou
c321d3e88b
[CRTDLL] Make this a stand-alone CRT DLL
...
Because CRTs must be isolated from each other.
This basically reverts commit f0c91ae
2020-10-22 18:07:27 +02:00
Victor Perevertkin
953c03c336
[DEVMGR] Avoid buffer overflow when device reg key size is > 100 chars
2020-10-22 14:38:55 +03:00
Jérôme Gardou
bbe47e61b1
|CMAKE] Use ExternalProject for host-tools build
2020-10-22 09:31:11 +02:00
Katayama Hirofumi MZ
6cb3b62b4c
[APISETS] Revert 'Try to fix build of both case of MSVC AND CLANG'
2020-10-22 09:18:32 +09:00
Katayama Hirofumi MZ
926ada989c
[APISETS] Try to fix build of both case of MSVC AND CLANG
2020-10-22 09:07:15 +09:00
Katayama Hirofumi MZ
89bd2d12da
[INCLUDE] Use HeapAlloc/HeapFree in layout.h
...
CORE-17341
2020-10-22 08:07:32 +09:00
Katayama Hirofumi MZ
de8d156e2c
[SHELL32] Resizable for SHBrowseForFolder ( #3299 )
...
Make the dialog box of SHBrowseForFolder function resizable. CORE-17341
2020-10-21 22:25:16 +09:00
Victor Perevertkin
ba09834c5e
[PARPORT] Fix I/O port length check
...
The Standard Parallel Port (SPP) has 3 registers, not 4: data, status, control
This fixes the driver on the Compaq N600c laptop
2020-10-21 15:24:10 +03:00
Jérôme Gardou
f26754e6dd
[NTOSKRNL] Completely disable optimizations when using GDB
2020-10-21 13:11:20 +02:00
Jérôme Gardou
ab825334dd
Apply suggestions from code review
...
Beautification and clarity
Co-authored-by: Victor Perevertkin <victor@perevertkin.ru>
Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
2020-10-20 21:44:54 +02:00
Jérôme Gardou
c004b53d77
Apply suggestions from code review
...
Style fixes
Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
Co-authored-by: Victor Perevertkin <victor@perevertkin.ru>
2020-10-20 21:44:54 +02:00
Jérôme Gardou
00ed72d7e8
[CMAKE] Get rid of add_compile_flags
...
Use add_compile_options and the like instead
2020-10-20 21:44:54 +02:00
Jérôme Gardou
84621b3634
[CMAKE] Get rid of replace_compiler_option macro
...
This is not used anymore
2020-10-20 21:44:54 +02:00
Jérôme Gardou
683489ccf1
[CMAKE] Use -ffile-prefix-map for GCC builds
...
And also simplify the __RELFILE__ macro definition for the other cases
2020-10-20 21:44:54 +02:00
Jérôme Gardou
ed61512236
[CMAKE] Get rid of add_compile_flags_language macro
...
in favor of add_compile_options and the like with generator expressions
Also take this as an opportunity to remove the C++11 standard hack, GCC 8 now defaults to C++14
2020-10-20 21:44:54 +02:00
Jérôme Gardou
7e116f0ef3
[CMAKE] Get rid of replace_compile_flags
...
Introduce a finer-grained remove_target_compile_option instead
2020-10-20 21:44:54 +02:00
Jérôme Gardou
b52fa999eb
[CMAKE] Get rid of replace_compile_flags_language macro
...
It was only used in the set_cpp macro
2020-10-20 21:44:54 +02:00
Jérôme Gardou
907025a018
[CMAKE] Introduce the atl_classes interface library
...
This takes care of adding the relvant include directory and the _ATL_NO_EXCEPTIONS define, if needed
2020-10-20 21:44:54 +02:00
Jérôme Gardou
8b28f8d9ba
[CMAKE] Allow INTERFACE libraries for MSVC IDEs
2020-10-20 21:44:54 +02:00
Jérôme Gardou
d6ea8659c8
[CMAKE] Get rid of the set_cpp macro
...
Instead of messing with global variables and the like, we introduce two target properties:
- WITH_CXX_EXCEPTIONS: if you want to use C++ exceptions
- WITH_CXX_RTTI: if you need RTTI in your module
You can use the newly introduced set_target_cpp_properties function, with WITH_EXCEPTIONS and WITH_RTTI arguments
We also introduce two libraries :
- cpprt: for C++ runtime routines
- cppstl: for the C++ standard template library
NB: On GCC, this requires to create imported libraries with the related built-in libraries:libsupc++, limingwex, libstdc++
Finally, we manage the relevant flags with the ad-hoc generator expressions
So, if you don't need exceptions, nor RTTI, nor use any runtime at all: you simply have nothing else to do than add your C++ file to your module
2020-10-20 21:44:54 +02:00
Jérôme Gardou
980ce77316
[CMAKE] CMakeParseArguments is not needed anymore, cmake_parse_arguments is a builtin since CMake 3.5
2020-10-20 21:44:54 +02:00
Jérôme Gardou
15dd31377a
Revert "[NTOS/MM] Initialize process Working set and start implementing adding entries to it"
...
This reverts commit 5abc016401
.
Not ready for prime time
2020-10-20 15:56:53 +02:00
Jérôme Gardou
1c528cbf84
Revert "[NTOS/MM]
...
- Fix PFNs tracing
- Add private pages to the process working set"
This reverts commit 4c5351bf55
.
Not ready for prime time
2020-10-20 15:56:21 +02:00