Mohamed Mediouni
f2f97f9f4c
[CRT] ARM & ARM64 Windows do not have initenv in their CRTs ( #1597 )
...
Native CRT on ARM & ARM64 Windows doesn't have these functions.
For compatibility, it's mandatory to not have it at all. Otherwise,
ARM executables built for ReactOS do not run on true ARM Windows.
Consider doing full sync with mingw-w64 CRT in future.
2020-04-26 19:56:34 +03:00
Sylvain Deverre
666bac44c0
[LWIP] Use tcp_close when both shut_rx and shut_tx are set. Fixes CORE-16868 ( #2582 )
2020-04-26 18:40:47 +02:00
Mark Jansen
d5f0b2b160
[RTL] Implement LdrpRecordUnloadEvent
2020-04-26 14:35:51 +02:00
Mark Jansen
f26b670b38
[RTL] Partially implement RtlCreateQueryDebugBuffer and RtlDestroyQueryDebugBuffer
2020-04-26 13:44:02 +02:00
Thomas Faber
f22fa382fe
[LIBXML2] Update to version 2.9.10. CORE-16952
2020-04-24 14:44:52 +02:00
Katayama Hirofumi MZ
774ef4e80e
[SDK][RTL][NTDLL_APITEST] Add RtlMultipleAllocateHeap and RtlMultipleFreeHeap ( #2641 )
...
- Add RtlMultipleAllocateHeap and RtlMultipleFreeHeap functions (2k3+).
- Add a testcase for two functions.
CORE-12026
2020-04-24 17:45:43 +09:00
Victor Perevertkin
194ea909fd
[BTRFS][UBTRFS][SHELLBTRFS] Upgrade to 1.7.2
...
CORE-16679
2020-04-23 07:07:36 +03:00
Hermès Bélusca-Maïto
bbdb0ab6a8
[TZLIB] QueryTimeZoneData(): Don't fail if the optional values "Display", "Std", "Dlt" are missing (or too long to be captured). However fail if the timezone information is missing.
2020-04-22 00:58:32 +02:00
Hermès Bélusca-Maïto
7c3e96a26a
[TIMEDATE.CPL][SYSSETUP][TZLIB] Introduce a small static library "tzlib": "TimeZone Utilities Library", and use it in timedate.cpl and syssetup.dll.
...
This small win32 library provides time-zone utility wrappers around
Win32 functions, that are used by different ReactOS modules such as
timedate.cpl, syssetup.dll, and a possible future 'tzutil' tool.
The code has been extracted from the common code found in both
timedate.cpl and syssetup.dll.
2020-04-22 00:58:32 +02:00
Victor Perevertkin
7e069ccdb2
[CMAKE] Replace custom functions to built-in ones
...
add_target_compile_definitions -> target_compile_definitions
add_target_compile_flags -> target_compile_options
add_target_include_directories -> target_include_directories
2020-04-16 15:59:38 +03:00
Hervé Poussineau
033102fdb1
[NTOS] Add a #define __ROS_ROSSYM__ when using rossym
...
Use it where needed.
2020-04-09 23:00:57 +02:00
Hermès Bélusca-Maïto
6f67132686
[LIB:ARBITER] Addendum to 374f2b4d: Fix build.
...
- No need to use a PCH when compiling a 1-file library.
- Add the _NTSYSTEM_ definition.
- Since the arbiter.h file is to be included by the users of this
library, namely only kernel-mode NT components (incl. NTOS), there
is no need to include the standard kernel-mode headers in it.
Include these headers instead in the private implementation of the
library, arbiter.c.
2020-04-09 20:41:17 +02:00
Vadim Galyant
374f2b4d98
[NTOS][SDK:LIB] Add a Resources Arbiter library, to be used by bus drivers (acpi, pci), kernel and legacy hal (PIC HAL). ( #2471 )
2020-04-09 19:41:11 +02:00
Victor Perevertkin
167fa2c26a
[TCPIP] Remove duplicate declarations from ticonsts.h
2020-04-07 05:32:40 +03:00
Victor Perevertkin
d5ad2057d7
[SDK][IP] Pass IP options to ReceiveDatagramHandler
2020-04-07 05:32:40 +03:00
Victor Perevertkin
740a859e92
[TCPIP] Implement IOCTL_ICMP_ECHO_REQUEST in tcpip.sys
...
Also clean up ICMP handling code in sdk/lib/drivers/ip
CORE-10760
2020-04-07 05:32:40 +03:00
Victor Perevertkin
cf3ab9d15a
[SDK][IP] Fix formatting
2020-04-07 05:32:40 +03:00
Mark Jansen
1437433039
[ATL] Add some hacks for gcc,
...
since parsing templates is not something it can do
2020-04-04 19:55:31 +02:00
Mark Jansen
a37b5b2f39
[ATL] Fix an ATLASSERT expression
2020-04-04 19:55:31 +02:00
Mark Jansen
62c1bb6448
[CRT] Implement _CrtDbgReport and _CrtDbgReportW
...
Most functionality is working, except output to file
CORE-11835
2020-04-04 19:55:24 +02:00
Joachim Henze
45b5ec8e7b
[RDBSS] Avoid CORE-13938
...
Pierre recommended this workaround for 0.4.8rls before.
Avoids "GetVolumeInformation now fails on NFS volume"
This workaround was recurrently applied for all releases
0.4.8, 0.4.9, 0.4.10, 0.4.11, 0.4.12, 0.4.13.
I never got any reply in the regression-ticket and recurrently
applying this over and over again is a waste of time.
So I decided to commit to master today, but will leave
the ticket unresolved, so when a proper fix will arrive in the future,
the existing ticket will remind us to undo this workaround.
Please note that I replaced #if 0 with #if 1
as discussed with Pierre. That's different to the patch in ticket.
2020-04-02 15:09:46 +02:00
Mark Jansen
177ae91bf6
[RTL] Introduce RtlpImageNtHeader,
...
which implements the required functionality.
ntdll and ntoskrnl now have a wrapper for this, with SEH.
This protects the function against malformed / bad images,
whilst still being able to use the code in freeldr et al.
Idea from Thomas.
CORE-14857
2020-03-29 21:27:38 +02:00
Hervé Poussineau
796c1ac993
[TCPIP] Add some static specifiers, to prevent exporting FORCEINLINE function outside compilation unit
2020-03-26 16:39:16 +01:00
Mark Jansen
315765ed8b
[MSVCRT] Add _snwscanf
2020-03-15 13:12:20 +01:00
Dmitry Borisov
222e79232c
[CPORTLIB][NTOS:INBV][KDCOM][FREELDR] Add ComPort library for NEC PC-98 series ( #2407 )
...
There are 2 known serial ports:
COM1 - based on Intel 8251A
COM2 - National Semiconductor 16550
2020-03-06 19:50:31 +01:00
Thomas Faber
80296be1eb
[CMAKE] When disabling C4101, explicitly remove the error flag.
...
Fixes VC2010 build.
Addendum to 11ecf5c969
.
2020-02-24 22:29:33 +01:00
Timo Kreuzer
9efafd640f
[CRT] Import wine exception handling code
...
The code is mostly unchanged. This includes the following changes:
* Move all wine code to crt/wine to keep it separated from our own code
* Add a minimal winternl.h
* Remove the asm macros from wine/config.h
* Include wine/asm.h where required
* Fix the names of the exported functions (GCC uses thiscall now and no wrappers are used anymore)
2020-02-09 15:56:30 +01:00
Thomas Faber
d528e63477
[CRT] Only write to the output buffer when necessary in _strlwr. CORE-16667
...
Like e884290d29
, this is also a hack and is missing locale awareness.
2020-02-09 10:23:01 +01:00
Oleg Dubinskiy
6f232770d3
[NDK][RTL] Implement RtlGetUnloadEventTrace. CORE-16671
2020-02-09 08:37:58 +01:00
Mark Jansen
008745d951
[ATL][ATL_APITEST] Test + implement CHeapPtrList
2020-02-08 22:09:14 +01:00
Mark Jansen
45d33582e7
[ATL] Rename CHeapPtr data member, since it is public
2020-02-08 22:09:14 +01:00
Thomas Faber
2bbc94c6ac
[MMIXER] Fix overzealous asserts. CORE-16611
...
MAXPNAMELEN is the size of the array, so if wcslen returns MAXPNAMELEN-1,
the null terminator fits and everything is okay.
2020-02-08 13:08:27 +01:00
Thomas Faber
355700f45a
[MMIXER] Safely handle MMixerGetDeviceNameWithComponentId failure in MMixerInitializeFilter. CORE-16611
2020-02-08 13:08:27 +01:00
Thomas Faber
756aa270b1
[MMIXER] Fix memory leak in MMixerGetDeviceNameWithComponentId. CORE-16611
2020-02-08 13:08:27 +01:00
Thomas Faber
e884290d29
[CRT] Only write to the output buffer when necessary in _strupr. CORE-16667
...
Fixes crash in msvcrt_winetest:string.
This is a hack and is supposed to be specific to the C locale.
2020-02-08 13:04:12 +01:00
Mark Jansen
db55933b0c
[CMLIB] Use UNIMPLEMENTED_ONCE in HvHiveWillShrink
2020-01-29 22:58:43 +01:00
Katayama Hirofumi MZ
4c0426ec44
[SDK][ATL] Make ThrowMemoryException protected
2020-01-29 22:29:11 +09:00
Katayama Hirofumi MZ
eaa3692f7d
[SDK][ATL] Implement CStringT::FormatMessage ( #2286 )
...
CStringT::FormatMessage in ATL is a method to build a formatted string.
CORE-16666
2020-01-29 22:16:58 +09:00
Timo Kreuzer
42d2d5ec9c
[ROSTESTS] fix x64 build and fix/disable warnings
2020-01-26 11:50:37 +01:00
Hervé Poussineau
698e1a3782
[SDK] Use HEX macro, like elsewhere in the file
2020-01-22 20:57:04 +01:00
Hermès Bélusca-Maïto
1a231e1e70
[SDK:ATL] Fix the size of the ATL_WNDCLASSINFOW::m_szAutoName member according to the actual MS-compatible auto-generated window class name.
...
The autogenerated name has the format:
"ATL:<hexadecimal_digits_of_pointer><NULL-terminator>"
and the number of hex digits in 0xABCD1234 (for 32-bit == 4-byte)
pointers (without the '0x') is 8 == 4*2, and for 64-bit == 8-byte
pointers (e.g. 0xABCDEF0123456789) is 16 == 8*2.
2020-01-15 01:14:03 +01:00
Oleg Dubinskiy
83c07f4e4c
[SDK][USB] Delete old USB drivers and libusb
2020-01-06 21:16:08 +02:00
Timo Kreuzer
5fa4fd7bef
[RTL][NTDLL] Add some function stubs
...
- LdrSetAppCompatDllRedirectionCallback
- RtlCancelTimer
- RtlCreateServiceSid
- RtlQueryProcessHeapInformation
- RtlQueueApcWow64Thread
- RtlSetTimer
- RtlUnhandledExceptionFilter2
- RtlpNotOwnerCriticalSection
2020-01-03 13:00:45 +01:00
Timo Kreuzer
fb0ebac349
[NDK][XDK][RTL] Fix definition of RtlFillMemoryUlong on x64
2020-01-03 13:00:45 +01:00
Hermès Bélusca-Maïto
127fa1afc6
[RTL] Fix RtlValidateUnicodeString() regarding the tests and add some SAL annotations.
2020-01-02 21:11:28 +01:00
Victor Perevertkin
e92ab76d0d
[REACTOS] Exclude some modules from clang-format
2019-12-28 01:23:49 +02:00
Katayama Hirofumi MZ
03854056a2
[SDK][ATL] Use CStringW in CImage
2019-12-23 20:19:48 +09:00
Thomas Faber
e85f436a50
[LIBMPG123] Update to version 1.25.13. CORE-16550
2019-12-08 16:50:00 +01:00
Victor Martinez
9420daee3d
[RDBSSLIB] RxFirstCanonicalize(): Fix pointer arithmetic
...
CORE-13383
2019-11-18 08:20:49 +01:00
Hermès Bélusca-Maïto
a4b6e0d929
[SDK:RTL] Add one validity check + comment documentation for RtlDispatchException().
...
- RtlDispatchException(): Check for invalid stack in ExceptionContinueSearch handler
and bail out if so.
- Update few comments and fix a typo.
- Add a documenting comment about SafeSEH functionality support.
See e.g. the following articles:
https://www.optiv.com/blog/old-meets-new-microsoft-windows-safeseh-incompatibility
https://msrc-blog.microsoft.com/2012/01/10/more-information-on-the-impact-of-ms12-001/
2019-11-17 23:21:47 +01:00