Commit graph

102 commits

Author SHA1 Message Date
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
Giannis Adamopoulos 1e903d96cb [RTL] actctx: Implement the implicit activation context 2018-01-27 02:45:50 +02: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
Thomas Faber 095a4d1d23
[RTL] Handle RtlReAllocateHeap failure in com_class_add_progid. CID 1223161 2018-01-20 09:48:07 +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
Timo Kreuzer f60a9eb7a3 [RTL] Fix amd64 version of DebugService2 2018-01-01 12:09:38 +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
Giannis Adamopoulos 51c694274f [RTL] find_string_index: name parameter may not be null terminated 2017-12-24 21:19:03 +02:00
Mark Jansen a730e3fce1 [ATL] Continue enumeration after a failing COM_INTERFACE_ENTRY_FUNC_BLIND 2017-12-21 21:37:54 +01:00
Ivan Labutin d6792047f3 [NTOS][NDK][RTL] A bunch of 'wrong size' fixes 2017-12-20 06:56:09 +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 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
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 00124d1b1a [CMAKE/CLANG-CL] Silence some clang-cl warnings in consistency with our gcc build. 2017-12-07 21:53:45 +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
Thomas Faber 631d1e071c
[RTL] Make RtlFillMemoryUlonglong public 2017-11-18 18:05: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
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 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 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
zefklop 07c7295545
[CRT] fix bug in _rotr implementation 2017-10-28 10:28:27 +02:00
Serge Gautherie 11baa0d723 [NTOSKRNL][ROSSYM] ZwReadFile() calls: Use explicit NULL instead of ambiguous 0. CORE-13910 2017-10-27 13:38:02 +02:00
Giannis Adamopoulos e7c29bb1fc [ATL] Add CHAIN_MSG_MAP macro 2017-10-26 12:37:08 +03:00
Samuel Serapion 136fabd357 [CRT] Use MAX_PATH for buffer meant to contain an arbitrary path
The cFileName member of WIN32_FIND_DATA is an array of MAX_PATH(260). Using strcpy/wcscpy with the target buffer being smaller is potentially bad. Corresponds to CID 1401198 and 1401195.
2017-10-23 14:44:38 +02:00
Mark Jansen 31a11bba7e [ATL] Implement CDialogImpl
CORE-13903
2017-10-22 21:18:04 +02:00
Pierre Schweitzer 8eb66fa1b6 [RDBSS] Make it clear that we want to zero all the create parameters
CID 1411975
2017-10-21 15:10:41 +02:00
Pierre Schweitzer ed263291d1 [UBTRFS] Update to 1.0.1
CORE-13896
2017-10-16 20:30:24 +02:00
Pierre Schweitzer 78e5caaec2 [RDBSS] Fix broken cast when comparing DFS magic values
CID 1419139
2017-10-11 08:38:26 +02:00
Pierre Schweitzer f9b26bc0f2 [RXCE] Don't remove uninitialized list entry
CID 1419234
2017-10-11 08:31:36 +02:00
Pierre Schweitzer 151869c6ef [RDBSS] Avoid uninit var usage.
CID 1419475
2017-10-11 08:20:48 +02:00
Colin Finck 9ebf43567d Add .gitattributes and .gitignore files and normalize line endings in the repository (#10) 2017-10-04 20:37:32 +02:00
Colin Finck c2c66aff7d Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00