Commit graph

808 commits

Author SHA1 Message Date
Timo Kreuzer 0ff3bb904b [CMAKE] Turn printf format warnings (C4313 and C4477) into errors 2019-11-24 09:28:00 +01:00
Timo Kreuzer 70bcd0fc6b [CMAKE] Disable EH4 for x64 and VS versions 16.3+
This fixes x64 build with latest VS 2019
See https://developercommunity.visualstudio.com/content/problem/746534/visual-c-163-runtime-uses-an-unsupported-api-for-u.html
2019-11-24 09:26:59 +01:00
Eric Kohl 630f34a0d0 [DNSAPI][DNSRSLVR] Parse the hosts file when the resolver is initializing
- Move the hosts file handling from dnsapi.dll to the resolver service. Now, the hosts file is no longer parsed on each query.
- Add support for DNS_QUERY_WIRE_ONLY and DNS_QUERY_NO_WIRE_QUERY flags to R_ResolverQuery.
- GetCurrentTimeInSeconds() should return DWORD instead of DNS_STATUS.
2019-11-23 17:13:51 +01:00
Amine Khaldi 392821caea [PSDK] Update rpcndr.h. CORE-16441 2019-11-23 12:12:08 +01:00
Amine Khaldi c41dde9a2b [INCLUDE/WINE] Add __FINALLY_CTX in the context of our PSEH library. CORE-16441 2019-11-23 12:11:45 +01:00
Amine Khaldi 7eba2742d2 [PSDK] Update propsys.idl and propvarutil.h. CORE-16441 2019-11-23 12:09:13 +01:00
Amine Khaldi 1431ca4c75 [PSDK] Update oleauto.h. CORE-16441 2019-11-23 12:04:39 +01:00
Katayama Hirofumi MZ 382675fc0d [SDK][INCLUDE] Update winxx.h and msgdump.h 2019-11-21 18:18:47 +09:00
Pierre Schweitzer 114556b1c9 [SDK] Implement std::vector.data() 2019-11-18 23:50:33 +01:00
Colin Finck eb0f16433b
[CMAKE] Define HAVE_* constants unconditionally (follow-up to PR #2041) (#2052)
sys/types.h is guaranteed to be available on all our supported host platforms and always contains a pid_t definition.
2019-11-18 18:57:35 +01:00
Katayama Hirofumi MZ 6cc8e7db4b
[INCLUDE][SHELL32_APITEST] Add SHLimitInputEdit testcase (#2053)
- Add IItemNameLimits interface into shobjidl.idl.
- Add a testcase for shell32!SHLimitInputEdit function.
CORE-11701
2019-11-18 20:02:18 +09: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 54c03f6965
[NTOS:KD64] Some code formatting + add SAL2 annotations to the functions that are going to be involved in the next commit.
+ s/ReturnStatus/Status/ , and get rid of Win32 LPSTR and replace by
  PCHAR (since the concerned code deals with counted strings).
2019-11-17 23:21:53 +01:00
Hermès Bélusca-Maïto 6c1aac6948
[NTOS] Complete the support of Debug Filters. CORE-13529
- KD64: Update the list of supported Debug Filter Masks (KdComponentTable)
  with the more up-to-date one from KDBG, that includes some components
  that have been added in Vista+, but some of which we also use in ReactOS.

- NtQueryDebugFilterState(), NtSetDebugFilterState() and KdpPrint():
  Add the Vista+ behaviour or falling back to the DEFAULT component ID
  settings for unknown Components (compiled in only wheen NTDDI_VERSION >= NTDDI_VISTA).
  + Remove redundant comments and update these functions with SAL2 annotations.

- KDBG: Add extra documentation for the debug filter components list.

- CONFIG: Load all the supported Debug Filter Masks settings from the
  registry.
2019-11-17 23:21:53 +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
Jérôme Gardou 493ceb7ade [CMAKE] Fix host tools build on x86-64 mingw
Dynamically check for sys/types.h and pid_t in wine config.h
Use TARGET_xxx defines instead of _X86_ as this is undefined by GCC
Add some sense in include directories management by using interface
libraries
2019-11-15 16:22:06 +01:00
Pierre Schweitzer 86ee9b0cc2
[UBTRFS] Upgrade to 1.5
CORE-16494
2019-11-12 19:35:43 +01:00
Pierre Schweitzer 0a0e6a9f07
[SDK] Properly define IsFTPartition so that it doesn't match Unix partition type
CORE-16499
2019-11-11 21:18:13 +01:00
Eric Kohl e92ad7f309 [IDL][DNSRSLVR] Use the stdcall calling convention for remote functions 2019-11-10 17:16:17 +01:00
Katayama Hirofumi MZ 3b2ead064f
[SHELL32] Follow up of #2021 (#2022)
- Delete IObjectWithSite interface.
- Use PIDLIST_ABSOLUTE and PITEMID_CHILD rather than LPITEMIDLIST.
- Move CLSID_SendToMenu to shlguid_undoc.h.
- Delete unnecessary codes.
CORE-12562
2019-11-11 00:37:23 +09:00
Eric Kohl 305035be7d [DNSRSLVR][DNSAPI] Enable the DNS resolver cache
- Fix the IDL file to return DNS records properly
- Reroute the DNS query call path: DNSQuery->R_ResolverQuery->Query_Main

DNS records get cached and 'ipconfig /flushdns' works as expected.

CORE-12159
2019-11-10 15:28:42 +01:00
Amine Khaldi 4c4918afe9 [PSDK] Update msctf.idl. CORE-16441 2019-11-09 22:01:26 +01:00
Amine Khaldi bd98e58af4 [PSDK] Update icm.h. CORE-16441 2019-11-09 21:58:15 +01:00
Eric Kohl 158fda5cdf [DNSAPI][PSDK] Implement GetCurrentTimeInSeconds() and fix DnsQuery_A/UTF8/W() 2019-11-02 23:59:06 +01:00
Amine Khaldi 1a703f6bde [INCLUDE/WINE] Import http.h from Wine Staging 4.18. CORE-16441 2019-11-02 18:32:04 +01:00
Amine Khaldi f07f98945e [PSDK] Update http.h. CORE-16441 2019-11-02 18:31:30 +01:00
Victor Perevertkin 2f15e2f743
[ATL] Suppress GCC8 warning in RelocateElements, fix build. 2019-10-31 02:44:20 +03:00
Eric Kohl d49d7b3282 [DNSRSLVR] Add the DNS Resolver Cache Service
Patch written by Peter Hater and Christoph von Wittich.

Slightly modified by me in order to
- fix bit-rot
- fix header include issues
- disable integration with dnsapi because of confusing use of DnsQweryEx().

Integration with dnsapi will follow in a future commit.

CORE-12159
2019-10-27 13:48:04 +01:00
Eric Kohl 789edebfac [IPCONFIG][DNSAPI][SDK] Renamed DNSCACHEENTRY and fixed its type field(s)
Now, 'ipconfig /displaydns' displays A- and AAAA-records correctly.
2019-10-27 08:35:03 +01:00
Amine Khaldi 5ddec3d944 [PSDK] Update commctrl.h. CORE-16441 2019-10-26 22:51:35 +01:00
Amine Khaldi 1477b2deb7 [PSDK] Update dinput.h. CORE-16441 2019-10-26 13:03:08 +01:00
Amine Khaldi 476c99b643 [INCLUDE/WINE] Import asm.h from Wine Staging 4.18. CORE-16441 2019-10-26 13:02:43 +01:00
Amine Khaldi 3c0800ac94 [PSDK] Add missing GetRequiresFlags. CORE-16441 2019-10-26 12:59:56 +01:00
Eric Kohl 4455dcb26e [DNSAPI][REACTOS] Add a header for undocumented dnsapi functions and use it in dnsapi.dll 2019-10-20 23:13:46 +02:00
Amine Khaldi c73a46af9c [PSDK][UUID] Import natupnp.idl from Wine Staging 4.18. CORE-16441 2019-10-20 20:01:58 +01:00
Amine Khaldi c1585bb868 [DEVENUM] Sync with Wine Staging 4.18. CORE-16441 2019-10-20 18:56:05 +01:00
Amine Khaldi a186e66945 [PSDK] Add missing OVERLAPPED_ENTRY. CORE-16441 2019-10-20 17:58:55 +01:00
Mark Jansen c31327114b
[SDK][SHELL32] Augment the internally used IDataObject with some extra formats
This is needed because our code seems to use CF_HDROP a lot, instead of HIDA...
2019-10-20 17:10:12 +02:00
Thomas Faber c1eccaffaa
[MBEDTLS] Update to version 2.7.12. CORE-16440 2019-10-20 12:46:35 +02:00
Thomas Faber e02cdcce68
[MPG123] Update to version 1.25.12. CORE-16440 2019-10-20 12:46:09 +02:00
Thomas Faber 983f57b6e0
[BZIP2] Remove unused library. CORE-16440
This was once used by the "ramdrv" driver, removed in r37739 (c47ab26e82).
2019-10-20 12:45:59 +02:00
Victor Perevertkin fdd1d7d60c [MSVCRT] Export __acrt_iob_func to fix GCC build with latest RosBE 2.2 (#1835)
This adds an evil hack to persuade libstdc++, which tries to import __acrt_iob_func from a DLL.
This can only be solved cleanly by adding a GCC-compatible C++ standard library to our tree later.
2019-10-20 12:44:17 +02:00
Mark Jansen 936b54faa3
[PSDK] Add some missing defines to shlobj.h 2019-10-19 18:42:14 +02:00
Eric Kohl 13bb5e2317 [umpnpmgr][ndk] Implement PNP_RequestDeviceEject() and update unknown type in PLUGPLAY_CONTROL_QUERY_REMOVE_DATA 2019-10-15 22:40:06 +02:00
Hermès Bélusca-Maïto fb4591c48c
[SDK] Fix a typo, caught by Stas'M :) 2019-10-14 01:36:42 +02:00
Mark Harmstone 43a8d871bf
[FREELDR] Set LDRP_IMAGE_INTEGRITY_FORCED if necessary. (Part of PR #1905)
+ Add extra information.
Co-authored-by: Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
2019-10-14 00:49:00 +02:00
Eric Kohl e83b256f65 [NDK] Fix coding style and indentation. No code changes! 2019-10-13 23:50:22 +02:00
Hermès Bélusca-Maïto 7d5577c21e
[SDK][NDK] Add two missing documented GDT selector names.
Add KGDT_NULL and KGDT_VDM_TILE to the list of known GDT name defines.
See https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/dg--display-selector-
2019-10-13 19:57:54 +02:00
Eric Kohl 7633ebcfde [NDK] Add PLUGPLAY_CONTROL_QUERY_REMOVE_DATA type 2019-10-13 15:25:47 +02:00
Katayama Hirofumi MZ 31d7680a53 [SDK][INCLUDE] Update msgdump.h 2019-10-13 10:45:17 +09:00