Commit graph

70872 commits

Author SHA1 Message Date
Alex Ionescu e836d0b56e [ROSLOAD] Initial support for launching OS Loader Entrypoint and returning from it
[ENVIRON]: Implement BlArchGetCpuVendor
[ROSLOAD]: Stub OslPrepareTarget, OslExecuteTransition
[ROSLOAD]: Implement OslpMain
2018-01-28 13:24:20 +01:00
Pierre Schweitzer b49a2d6356
[NTOSKRNL] Drop ROS_DEFERRED_WRITE_CONTEXT in favor of DEFERRED_WRITE
that was introduced in d3e0eb2.

CORE-14235
2018-01-28 11:55:40 +01:00
Pierre Schweitzer 52287be9a9
[NTOSKRNL] Misc fixes to Cc:
- CcUnpinDataForThread() only release VACB when the last BCB reference is gone. This avoids having a valid BCB with an invalid VACB
- CcRosMarkDirtyVacb() will only accept non-dirty VACB now. This avoids a major bug where a an already dirty VACB was over-dereferenced
- Thanks to previous point, simplify CcRosUnmapVacb(), CcRosReleaseVacb() implementation
- And only set VACB dirty once in CcSetDirtyPinnedData()
- Add a few sanity checks

With that I can again install ReactOS with 128MB RAM :-).

CORE-14263
CORE-14268
2018-01-28 11:14:15 +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
Thomas Faber d3a29816ce
[NTOS:MM] Assert MmLocateMemoryAreaByAddress return value to satisfy Coverity. CID 701289 2018-01-28 10:48:27 +01:00
Thomas Faber 5c52ded05f
[NTOS:PS] Check for rundown success in PsReferenceProcessFilePointer. CID 514553 2018-01-28 10:48:19 +01:00
Eric Kohl 2d69520595 [SERVICES] Do not delete running services.
CORE-14260
2018-01-28 00:57:58 +01:00
Pierre Schweitzer f032b77c51
[NTOSKRNL] Fix MSVC build? 2018-01-27 22:02:01 +01:00
Pierre Schweitzer 2d4a54dcf2
[NTOSKRNL] Hello CcIdleDelay :-)
(Good link for the interested reader: https://msdn.microsoft.com/en-us/library/bb742613.aspx)
2018-01-27 21:52:19 +01:00
Serge Gautherie 2e868f2604 [SC] print.c: Minor code improvements. (#324)
- Plus: Update license header.
- Re-use PrintServiceStatus(), as SERVICE_STATUS_PROCESS is in fact an extension of SERVICE_STATUS.
- Use the "SERVICE_*" defines, not magic numbers.
2018-01-27 19:54:26 +00:00
Giannis Adamopoulos 7f35908ad2 [EXPLORER] CTrayNotifyWnd: Simplify how it interacts with its parent and children. Clean up. 2018-01-27 19:41:09 +02:00
Pierre Schweitzer 78664ebe15
[NTOSKRNL] On file cache deletion, only manipulate VACB once locked.
Should help avoiding race conditions with lazy write.

CORE-14263
2018-01-27 18:37:34 +01:00
Mark Jansen 3889d8309a [ACPPAGE] Improve the compatibility tab (#332)
- Use the tab title from the corresponding dialog resource caption string.
- Fix some translations, and complete the french one.
- Use DialogBoxParamW and MAKEINTRESOURCEW (with W).
2018-01-27 18:10:50 +01:00
Stanislav Motylkov dd65d06270 [TRANSLATION] Add and fix translations for ping and tracert (#331) 2018-01-27 16:25:51 +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 f7520da3ce [SDB] Define the layers GetShortPathNameNT4 and GetDiskFreeSpace2GB 2018-01-27 15:12:24 +01:00
Mark Jansen 7630bb0e79 [SHIMENG] Parse and apply [AppCompat] Flags. 2018-01-27 15:12:24 +01:00
Mark Jansen 1d0e7bddea [XML2SDB] Parse Flags. 2018-01-27 15:12:24 +01:00
Mark Jansen 06d7926e27 [SHIMENG] Change SE_InstallBeforeInit loglevel. 2018-01-27 15:12:24 +01:00
Ercan Ersoy cae04ffcb3 [STOBJECT] Change Turkish translation. 2018-01-27 14:40:54 +01:00
Ercan Ersoy 35bbc588a0 [NTOBJSHEX] Change Turkish translation. 2018-01-27 14:40:54 +01:00
Ercan Ersoy f59785581d [NETSHELL] Change Turkish translation. 2018-01-27 14:40:54 +01:00
Ercan Ersoy 771fa07d8e [NETSHELL] Change Turkish translation. 2018-01-27 14:40:54 +01:00
Ercan Ersoy c514d5c74a [DESKADP] Change Turkish translation. 2018-01-27 14:40:54 +01:00
Ercan Ersoy 9a908a3e4d [ACPPAGE] Change Turkish translation. 2018-01-27 14:40:54 +01:00
Ercan Ersoy 8d8d11f395 [DESKMON] Change Turkish translation. 2018-01-27 14:40:54 +01:00
Ercan Ersoy a1870cf427 [FONTEXT] Translate to Turkish.
Change fontext.rc file and add lang/tr-TR.rc file
2018-01-27 14:40:54 +01:00
Pierre Schweitzer 4035f79ac6
[TRANSLATION] Fix a few bits in shortcuts French translation. 2018-01-27 14:30:05 +01:00
Adam Słaboń fbcf05062e [TRANSLATION] Polish translation update (#328) 2018-01-27 13:21:22 +01:00
Pierre Schweitzer 79887db12e
[TRACERT] Add French translation 2018-01-27 13:01:45 +01:00
Pierre Schweitzer 77105d9c5b
[PING] Complete French translation 2018-01-27 12:49:14 +01:00
Pierre Schweitzer a3d78067ab
[NTOSKRNL] When marking a VACB dirty on unmap/unpin, use CcRosMarkDirtyVacb().
This should help reducing race conditions with lazy writer, and thus reduce random BSODs.

CORE-14263
2018-01-27 10:59:27 +01:00
Serge Gautherie 1971137a5f [KMTEST] TcpIpConnect: Fix harmless typos (#299)
- 1 s/ok_bool_true/ok/, overkill though harmless.
- 1 s/ntohs/htons/, typo though harmless.

ROSTESTS-274
2018-01-27 11:50:10 +02: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 22317b0ca4 [NTDLL_APITEST] Remove one of the hacks for the implicit activation context. 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
Serge Gautherie 50afbd48d4 [FREELDR] FreeLdr debug.h does not care about NDEBUG. (#201)
- Remove all "#define NDEBUG".
2018-01-26 23:34:21 +00:00
toehead2001 a30d12dde7 [SNDVOL32] Fix controls' offset (#280)
CORE-9108
2018-01-26 23:30:15 +02:00
Katayama Hirofumi MZ 19f8ed2b7a [GDI32_APITEST] Add GetTextMetrics tests to gdi32_apitest (#307)
CORE-13840
2018-01-26 23:23:00 +02:00
Serge Gautherie b5a7765068 [FREELDR] i386vid.c: Downgrade/Improve 3 false ERR() to WARN(). CORE-13496
Silence harmless errors, which can be reported at every boot.
2018-01-26 23:11:52 +02:00
Joann Mõndresku 757511c4e8 [TRANSLATION] Estonian translation for Notepad & Paint
Added Estonian translation for the common base applications Notepad and MS Paint. These are the initial translations, and are subject to change, as they may not be the most perfect.
2018-01-26 22:43:25 +02:00
Stanislav Motylkov 906fdf9ccb [PING] Fix error handling and response address decoding (#318)
- Host/net unreachable error should be obtained from EchoReply->Status
- Use GetNameInfoW to decode actual response addresses (borrowed from tracert code)

CORE-14241 #resolve
2018-01-26 18:38:47 +00:00
Stanislav Motylkov 010c7bfc9b [TRACERT] Improve error handling and output (#319)
- Correctly interpret network error codes
- Add output for generic transmit failure

CORE-14242 #resolve
2018-01-26 18:37:43 +00:00
Pierre Schweitzer dc85171674
[NTOSKRNL] Simplify (and speedup!) CcCanIWrite() using the dirty pages count in cache map. 2018-01-26 10:50:13 +01:00
Pierre Schweitzer 5cc0668b21
[NTOSKRNL] Store the total dirty pages per shared cache map in it. 2018-01-26 10:42:09 +01:00
Pierre Schweitzer 2362e0faae
[NTOSKRNL] Allow pinned dirty VACB to be lazy written.
This is an addition to 07e6e9c.
Also, fix a cppcheck warning (so minor!).

CORE-14249
2018-01-25 22:00:20 +01:00