Hermès Bélusca-Maïto
ce044cf80e
[CONUTILS] Fix and improve the documentation for "outstream" and "utils", addendum to f982d77
.
2018-02-02 22:19:54 +01:00
Hermès Bélusca-Maïto
f982d77b8a
[CONUTILS] Diverse improvements: start doxygenating and add some resource messsage helper functions.
...
- Start to doxygenate the library, focusing in great details on the
functions of the "outstream" module.
- Add a K32LoadStringEx function that expands (K32)LoadString by
allowing a LanguageId parameter to be able to load strings from other
languages than the current one.
- Add "ConResMsg*" helper functions to be able to (format and) print
message strings with inserts that come *NOT* from a message table (as
usual) *BUT* from resource string tables.
Will be helpful for CORE-14265 in particular.
[CMD] Fix the call to ConMsgPrintfV().
2018-02-02 00:41:54 +01:00
Stanislav Motylkov
63ad8a71c0
[IPHLPAPI] Fix IcmpSendEcho output when host is not reachable
...
- Add missing error code to DDK/NDIS
- Fix error code in IP driver
- Patch MSAFD to reply correct WSA error code
- Fix IcmpSendEcho function
- Fix returning error code in ICMP_ECHO_REPLY (see MSDN)
- Fix returning host address (using GetBestInterface and GetIpAddrTable functions)
- Fix GetBestRoute function (it is used by GetBestInterface)
Relates to #318 and CORE-14241
2018-01-31 17:28:21 +00:00
David Quintana
9b89cd1ef2
[NTOSKRNL] Fix CcIdleDelay initializer for old msvc versions ( #339 )
...
[NTOSKRNL] Fix initialization of CcIdleDelay for msvc builds (fixes boot).
* Introduce a macro to initialize LARGE_INTEGERs in a consistent way.
2018-01-31 18:12:57 +01:00
Hermès Bélusca-Maïto
4e697fee2c
[CONUTILS] Split stream.c into input and output stream modules.
...
As code grows, this will allow for better maintenance of the console
stream code. In particular the input stream module will contain special
code for handling TTYs, and this is something not all console programs
will need. Having this code in a separate module will allow for the linker
to possibly remove this code when it is unused.
2018-01-31 02:10:41 +01:00
Thomas Faber
d3e0eb2026
[NDK] Add DEFERRED_WRITE structure for Cc. CORE-14235
...
Consistently use CSHORT for NodeTypeCode/NodeByteSize while we're at it.
2018-01-28 10:48:36 +01:00
Hermès Bélusca-Maïto
32c875032b
[EVTLIB] Make the header C++ compatible.
2018-01-27 16:07:32 +01:00
Hermès Bélusca-Maïto
e9113338c6
[CONUTILS] Fix macro definition.
2018-01-27 16:00:58 +01:00
Hermès Bélusca-Maïto
1e87e2fa9d
[CONUTILS] Make the headers C++ compatible.
2018-01-27 15:49:17 +01:00
Mark Jansen
1d0e7bddea
[XML2SDB] Parse Flags.
2018-01-27 15:12:24 +01:00
Dmitry Bagdanov
991d33c5d1
[CABMAN] Move CCFDATAStorage class to a separate file
2018-01-27 10:42:05 +01:00
Dmitry Bagdanov
ae391dd609
[CABMAN] Remove _WIN32 ifdef's
2018-01-27 10:42:05 +01:00
Giannis Adamopoulos
5b8975211d
[GDIPLUS] Add it to winsxs.
...
[NTDLL_APITEST] Remove a hack for gdiplus
2018-01-27 02:45:50 +02:00
Giannis Adamopoulos
1e903d96cb
[RTL] actctx: Implement the implicit activation context
2018-01-27 02:45:50 +02:00
David Quintana
bbca71c4a5
[EXPLORER] Implement rudimentary uVersion management, and notification balloons.
...
- uVersion will only be truly useful when Vista+'s V4 style notification icons are implemented.
- Balloon notifications do not yet support queuing and auto-closing.
- Force the notification icon tooltips to always show even if the taskbar isn't foreground.
[ROSCTRLS.H] Implement CTooltips class which manages a comctl32 tooltips window.
2018-01-23 22:13:01 +01:00
Amine Khaldi
d6ac0a71ad
[D3D9][WINED3D] Sync with Wine 3.0. CORE-14225
2018-01-21 22:20:57 +01:00
Amine Khaldi
d7c47feb25
[FREETYPE] Bring back our diffs to reduce the stack usage in cf2_interpT2CharString(). CORE-14227
2018-01-21 13:31:05 +01:00
Serge Gautherie
63775c3215
[LWIP] dhcp.c: Cherry-pick lwIP 32aa9a4. CORE-8978
...
- Fix a while() check order.
2018-01-20 16:04:34 +01:00
Mark Jansen
7e9fb41b9f
[CMAKE/WIDL] Add rudimentary dependency tracking in add_rpcproxy_files
...
CORE-14204
2018-01-20 15:46:25 +01:00
Amine Khaldi
4f825146c2
[PSDK] Update winhttp.h. CORE-14225
2018-01-20 13:54:50 +01:00
Amine Khaldi
2dd1f8b089
[PSDK] Update propvarutil.h. CORE-14225
2018-01-20 13:04:48 +01:00
Thomas Faber
095a4d1d23
[RTL] Handle RtlReAllocateHeap failure in com_class_add_progid. CID 1223161
2018-01-20 09:48:07 +01:00
Amine Khaldi
e399d3ec3e
[PSDK] Import ieautomation.idl from Wine 3.0. CORE-14225
2018-01-19 00:35:51 +01:00
Amine Khaldi
7a00f240c6
[PSDK] Update gdiplusflat.h and gdiplusgpstubs.h. CORE-14225
2018-01-19 00:15:20 +01:00
Amine Khaldi
4c8b42be0f
[INCLUDE/WINE] Update atlbase.h. CORE-14225
2018-01-19 00:00:10 +01:00
Amine Khaldi
65ab703cd5
[PSDK] Update commctrl.h. CORE-14225
2018-01-18 23:48:30 +01:00
Amine Khaldi
b744385652
[FREETYPE] Update to v2.9.0 and use this as a chance to slim down our lib a bit. CORE-14220
2018-01-18 23:29:50 +01:00
Mark Jansen
1d4d88b062
[PSDK][ACTXPROXY] Add IExplorerCommand and related classes (Vista+)
2018-01-13 23:49:58 +01:00
Mark Jansen
81eb3bbceb
[SDK] Add UNIMPLEMENTED_ONCE macro, to be used for functions that spam.
2018-01-08 22:24:54 +01:00
Mark Jansen
e3459ec36e
[PSDK] Fix definition of INVALID_PROCESSTRACE_HANDLE as suggested by Thomas.
...
#267
2018-01-07 22:29:17 +01:00
jimtabor
7c75bc627b
[RichEd20] Fix structure by adding missing byte, see CORE-8452.
...
Update version, tell wine.
This fixes "Assertion failed: style->cbSize == sizeof(CHARFORMAT2W)".
2018-01-07 14:47:42 -06:00
Timo Kreuzer
690cc9f30b
[NDK] Fix some ob types (64 bit)
2018-01-06 17:13:22 +01:00
Timo Kreuzer
5985fe613b
! Fix build of tracert
...
# Conflicts:
# sdk/include/psdk/ipexport.h
2018-01-06 17:07:54 +01:00
David Quintana
c32993c672
[PSDK] Change #if to #ifdef, to be more consistent with the majority of our codebase.
2018-01-04 19:15:06 +01:00
David Quintana
c8b93430d4
[PSDK] Add ICMP_ECHO_REPLY32 needed by 64-bit code. Fixes x64 build of tracert.
2018-01-04 18:21:16 +01:00
Ged Murphy
344f367211
[TRACERT] Rewrite tracert
...
- Full rewrite. This commit replaces the old utility.
- Use the new ICMP APIs instead of manually crafting ping requests using raw sockets.
- Add support for additional languages (the previous utility was hardcoded)
- Add support for IPv6
- Make the icmpapi header C++ compatible. (we don't appear to sync this with wine anymore.)
- Now runs on Win10, is much more reliable, and brings the code somewhat into the 21st century.
(It's currently missing source routing (-j), but as most routers disable this anyway, I'm not sure that it's worth adding)
2018-01-02 09:43:14 +00:00
Thomas Faber
b20280a0f9
[CMAKE] Allow overriding the .dll extension for delay imports in MSVC builds.
...
Fixes delay-importing winspool.drv.
2018-01-01 19:05:30 +01:00
Timo Kreuzer
f60a9eb7a3
[RTL] Fix amd64 version of DebugService2
2018-01-01 12:09:38 +01:00
Timo Kreuzer
a2f7de7ee8
Amd64/misc 64bit fixes ( #236 )
...
[REACTOS] Misc 64 bit fixes
* [NTOS:MM] Allow MEM_DOS_LIM in NtMapViewOfSection on x64 as well
* [NTOS:MM] Implement x64 version of MmIsDisabledPage
* [HAL] Remove obsolete code
* [NTOS:KE] Fix amd64 version of KeContextToTrapFrame and KeTrapFrameToContext
* [XDK] Fix CONTEXT_XSTATE definition
* [PCNET] Convert physical address types from pointers to PHYSICAL_ADDRESS
2018-01-01 12:07:50 +01:00
Hermès Bélusca-Maïto
9fa693e59b
[REACTOS] Switch to year 2018...
...
... and Happy New Year 2018 to everyone!!
☆.¸¸.•´☆.¸¸.•´☆.¸¸.•´☆.¸¸.•´☆
⋱★⋰⋱☆⋰⋱★⋰⋱☆⋰⋱☆⋰⋱★⋰⋱☆⋰⋱★⋰
░░░░░░█░█ █▀█ █▀█ █▀█ █░█░░░░░░
░░░░░░█▀█ █▀█ █▀▀ █▀▀ ▀█▀░░░░░░
░░░░░░▀░▀ ▀░▀ ▀░░ ▀░░ ░▀░░░░░░░
█▄░█ █▀▀ █░█░█░░█░█ █▀▀ █▀█ █▀█
█░██ █▀▀ █░█░█░░▀█▀ █▀▀ █▀█ ██▀
▀░░▀ ▀▀▀ ░▀▀▀░░░░▀░ ▀▀▀ ▀░▀ ▀░▀
⋱☆⋰⋱★⋰⋱☆⋰⋱★⋰⋱★⋰⋱☆⋰⋱★⋰⋱☆⋰
░░░▄████▄░▄███▄░░▄██░▄████▄░░░
░░░▀▀░▄██░██░██░████░██▄▄██░░░
░░░░▄██▀░░██░██░░░██░██▀▀██░░░
░░░██████░▀███▀░░░██░▀████▀░░░
☆.¸¸.•´☆.¸¸.•´☆.¸¸.•´☆.¸¸.•´☆
2018-01-01 00:00:00 +01:00
Mark Jansen
b2a5a804b4
[ROSDLGS] Add SetWizardButtons to CPropertyPageImpl
...
CORE-7684 #234
2017-12-31 14:56:22 +01:00
Thomas Faber
008e035b7e
[LIBS] Use KeClearEvent instead of KeResetEvent where the previous state is not needed.
2017-12-30 11:46:57 +01:00
Giannis Adamopoulos
406c31cee8
[ATL] CWindow: Add an overload of GetDlgItemText which takes a CSimpleString as parameter
2017-12-27 19:25:58 +02:00
Giannis Adamopoulos
deb908b038
[ATL] -Add COMMAND_CODE_HANDLER macro
2017-12-27 19:25:58 +02:00
Mark Jansen
fa3e173515
[ATL] Add CString.AllocSysString
2017-12-25 14:00:51 +01:00
Mark Jansen
6c92d5c14a
[ATL] Add CComBSTR.Attach
2017-12-25 14:00:51 +01:00
Amine Khaldi
0d35ee7ade
[INCLUDE/CRT] Add some throw() annotations. #179 #210
2017-12-25 12:56:16 +01:00
Giannis Adamopoulos
435b0b19d2
[COMCTL32] Install comctl32 v6 and its manifest in first stage
2017-12-24 21:19:03 +02:00
Giannis Adamopoulos
51c694274f
[RTL] find_string_index: name parameter may not be null terminated
2017-12-24 21:19:03 +02:00
Hermès Bélusca-Maïto
f49caecb3b
[SDK] Fix copy-pasta, addendum to 7861960
by Mark Jansen.
2017-12-24 16:48:13 +01:00
Mark Jansen
7861960a88
[SDK] Guard manifest_[dll|exe].rc against wrong usage.
2017-12-24 11:44:21 +01:00
Mark Jansen
a730e3fce1
[ATL] Continue enumeration after a failing COM_INTERFACE_ENTRY_FUNC_BLIND
2017-12-21 21:37:54 +01:00
Colin Finck
12b78f182d
Replace our dxtn.dll by a version based on the libtxc_dxtn source code ( #203 )
...
This is no official system DLL and WineD3D is its only user. But latest WineD3D prefers the libtxc_dxtn codebase instead of the alternative library we used.
This is also what Mesa uses and Fedora ships now that the patents have expired, so we should stick to the same.
I'm importing the libtxc_dxtn-1.0.1 codebase from https://people.freedesktop.org/~cbrill/libtxc_dxtn/
It compiles warning-free in our tree without modifying a single line!
I'm merging this Pull Request based on the positive response in CORE-12759.
I lack a proper test case myself, but my version at least shouldn't make things worse. In my opinion, the previous one was broken anyway due to using stdcall imports when WineD3D called cdecl ones.
This also removes the NSWPAT option from our buildsystem as dxtn was its latest user.
2017-12-20 11:15:13 +01:00
Ivan Labutin
d6792047f3
[NTOS][NDK][RTL] A bunch of 'wrong size' fixes
2017-12-20 06:56:09 +01:00
Mark Jansen
ad181d892c
[BROWSEUI] Implement ACLCustomMRU.
...
CORE-9281
2017-12-18 23:17:17 +01:00
Amine Khaldi
0a4e5911fc
[UUID] Add SID_SHTMLEditServices.
2017-12-18 13:18:26 +01:00
Pierre Schweitzer
b0bf7dfb62
[VFATLIB] Never touch the file system if not in interactive or RW mode.
...
It's critical not to perform any write on a volume without an exclusive lock on it.
That lock is only acquired if ChkDsk is started in RW mode.
Also added an assert in write routine, to make sure that when we're about to perform
a write operation, we're really allowed to do so.
This will avoid volume corruptions when a simple "chkdsk" is issued from cmd.
To put it simple: check will really check now, and won't attempt any repair.
CORE-14119
2017-12-17 14:02:31 +01:00
Pierre Schweitzer
d82796778f
[PSDK] Add some missing defines
...
CORE-14090
2017-12-16 21:48:34 +01:00
Serge Gautherie
e8b1752162
[SDK] pnp.idl: Add a reminder comment about removed Vista/+ functions. CORE-12580
2017-12-15 16:01:53 +01:00
Amine Khaldi
631a14ff64
[ASM][NDK][NTOS] Rename Self to SelfPcr in the KIPCR structure.
2017-12-13 13:49:00 +01:00
Pierre Schweitzer
6a224a38a1
[VFATLIB] Make Chkdsk handle volume opening locking failures.
...
For instance, when repair is required, we can ask the caller whether we should
continue or not in case locking failed.
Also, introduced a hack for 1st stage where IopParseDevice() hack is in usage
so that broken NTSTATUS is diverted to appropriate status.
That way, usetup will properly continue even if locking failed (due to its
callback stub!)
CORE-14087
2017-12-09 21:12:09 +01:00
Amine Khaldi
69005963fb
[UUID] Add a PCH.
2017-12-09 13:04:23 +01:00
James Tabor
c45a6e15bf
[User32|IMM32] Fix a recursion crash in IMM. See CORE-14041.
...
Required a sync port from wine. This is a hack fix with Win32SS until
proper IMM support is added to Win32SS.
2017-12-07 21:14:21 -06:00
Amine Khaldi
5633423086
[FREETYPE][PORTCLS][RPCSS][SPOOLSV][STLPORT][USETUP][WLANSVC] Silence some clang-cl warnings.
2017-12-07 23:26:59 +01:00
Amine Khaldi
9f85ef6712
[CMAKE/CLANG-CL] Don't pass /TP twice when we're dealing with a clang-cl c++ PCH. Pass -nostdinc instead of /X on clang-cl builds.
2017-12-07 23:22:48 +01:00
Amine Khaldi
00124d1b1a
[CMAKE/CLANG-CL] Silence some clang-cl warnings in consistency with our gcc build.
2017-12-07 21:53:45 +01:00
Pierre Schweitzer
63d46228b8
[PSDK] Define the IOCTL_CDROM_EJECT_MEDIA IOCTL
2017-12-03 18:17:28 +01:00
Pierre Schweitzer
d8a15d0cc7
[PSDK] Add various defines needed to build fastfat_new
2017-11-23 23:27:51 +01:00
Vadim Galyant
73bfc3c897
[USBPORT] Type-safe function signature (PVOID -> PUSBPORT_xxx).
2017-11-23 16:34:24 +01:00
Amine Khaldi
09c06a2f45
[CLANG-CL] Initial commit that allows us to compile ReactOS with clang-cl.
2017-11-23 14:09:57 +01:00
Amine Khaldi
861360c65f
[CRT/STARTUP] For some reason we get unresolved external symbol ___globallocalestatus when compiling with clang-cl. CORE-11799 CORE-14042 ( #94 )
2017-11-23 13:25:57 +01:00
Jérôme Gardou
6aaf217b10
[OPENGL32]
...
- Implement storing thread data into the TEB
CORE-14024
2017-11-21 08:22:31 +01:00
Amine Khaldi
b439381523
[CRT/INTRIN] Leverage __has_builtin() with the intrinsics. Dedicated to Thomas. CORE-11799 ( #94 )
2017-11-19 15:20:02 +01:00
Thomas Faber
89e83b2cf4
[CRT] Add __m128i, _mm_setzero_si128, and _mm_stream_si128.
2017-11-18 18:05:24 +01:00
Thomas Faber
631d1e071c
[RTL] Make RtlFillMemoryUlonglong public
2017-11-18 18:05:22 +01:00
Hermès Bélusca-Maïto
3356f87b9e
[REACTOS] Add reactos/bin/suppl/ to the list of "known" (hardcoded) directories to make build configuration happy.
...
I use a (not yet used) dir-id value of "80" for this purpose (the value
"8" being already used for /bin/testdata/ and of course values from 9 up
to 50+ are also already used... >_>).
2017-11-17 01:48:18 +01:00
Eric Kohl
52fa3479f3
[EVENTLOG] Use the STDCALL calling convention for all remote procedure calls.
2017-11-12 15:54:22 +01:00
Eric Kohl
7dd8ebcbbd
[SERVICES] Use the STDCALL calling convention for all remote procedure calls.
2017-11-12 14:04:22 +01:00
Serge Gautherie
f0e6c11bba
[USETUP][EXT2LIB] NtWriteFile() calls: Remove unused 'ByteOffset = 0', Use explicit NULL instead of ambiguous 0. CORE-13910
2017-11-09 21:28:50 +01:00
Stas'M
1eea9304e1
[DBGHELP] [XDK] [ARM64] Fix magic constant
2017-11-04 14:01:27 +01:00
Serge Gautherie
bcaa33e33b
[USETUP][ROSAPPS][EXT2LIB] NtReadFile() calls: Remove unused 'ByteOffset = 0', Use explicit NULL instead of ambiguous 0, Remove casts to same type. CORE-13910
2017-11-03 15:02:16 +01:00
Pierre Schweitzer
3c679fc6b4
[RDBSS] Fix a bug in RxQueryNameInfo(): don't only return name length, but also the whole structure. Avoids corruption
2017-11-02 23:03:48 +01:00
Mark Jansen
be1155f294
[ATL] Initial implementation of CAtlExeModuleT.
...
CORE-13908
2017-11-01 18:55:45 +01:00
Pierre Schweitzer
5b960479bf
[RDBSS] More capture
2017-11-01 15:12:08 +01:00
Pierre Schweitzer
2511ba8f8f
[RDBSS] Start defining the RxCapture* macros and start using them (to be continued)
2017-11-01 12:07:18 +01:00
Pierre Schweitzer
b840f65362
[RXCE] Implement RxInitializeDebugSupport()
2017-11-01 12:07:18 +01:00
Pierre Schweitzer
ac3e4a4895
[RDBSS] Implement RxCheckFcbStructuresForAlignment()
2017-11-01 12:07:18 +01:00
Pierre Schweitzer
cc578af6df
[RDBSS] Implement RxQueryNameInfo() and RxConjureOriginalName()
2017-10-31 23:03:16 +01:00
Pierre Schweitzer
f5104a0042
[RXCE] Implement RxAcquireExclusiveFcbResourceInMRx()
2017-10-31 21:34:36 +01:00
Amine Khaldi
9556390f8f
[XDK][DDK] Take the gcc path for __assert_annotation{A,W} and __CREATE_NTOS_DATA_IMPORT_ALIAS when compiling with clang-cl. Include kdfuncs.h before rtlfuncs.h to have DbgPrint() defined before using it. CORE-11799 ( #94 )
2017-10-31 15:19:49 +01:00
Amine Khaldi
a75904fe66
[LIB/ATL] Take the gcc code path for the unused macros when compiling with clang. CORE-11799 ( #94 )
2017-10-31 14:44:29 +01:00
Amine Khaldi
7571d351ce
[LIBXML2] Do not rely on nan() when compiling with clang. CORE-11799 ( #94 )
2017-10-31 14:10:03 +01:00
Amine Khaldi
8ffffbb294
[XDK/NTBASEDEF] Use __builtin_offsetof to define FIELD_OFFSET when compiling with clang-cl. CORE-11799 ( #94 )
2017-10-31 13:54:41 +01:00
Amine Khaldi
dde1b98a78
[CRT/INTRIN] Use the gcc intrinsic equivalents when compiling with clang-cl and skip the ones that are already supported/built-in. CORE-11799 ( #94 )
2017-10-30 22:51:00 +01:00
Amine Khaldi
d56c9a8927
[INCLUDE/REACTOS][LOCALMON][LOCALSPL][SPOOLSS] Add some missing VOIDs. CORE-11799 ( #94 )
2017-10-30 22:43:47 +01:00
Amine Khaldi
80774a2fca
[LIBSAMPLERATE] Define exit() as __debugbreak(). CORE-11799 ( #94 )
2017-10-30 22:38:29 +01:00
Pierre Schweitzer
ec9912f334
[RTL] Revert b3b2a23
which introduced a regression.
...
Spotted by Jérome
2017-10-29 15:03:12 +01:00
Samuel Serapion
b3b2a23f05
CID 1206831 Dereference after null check
...
BytesRead is an optional out parameter and must be checked before being written to.
2017-10-29 11:17:47 +01:00
Amine Khaldi
28dd5cfc5e
[CRT/INTRIN] Use __forceinline for __INTRIN_INLINE in the clang case. CORE-11799 ( #94 )
2017-10-28 13:35:16 +01:00
zefklop
07c7295545
[CRT] fix bug in _rotr implementation
2017-10-28 10:28:27 +02:00