Commit graph

70148 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto 748c87202c
[CMD] Update the documentation of the FOR command. CORE-5806
- Also update & translate the french translation.
- Translators, please verify & update the translations!
2017-11-21 23:47:46 +01:00
Thomas Faber ed95fa19f0
[PCIIDEX] Properly handle unknown PNP IRPs. CORE-13944 2017-11-21 23:08:21 +01:00
Pierre Schweitzer 8503842309
[FASTFAT] More FS statistics 2017-11-21 22:18:11 +01:00
Pierre Schweitzer 63dcfd2de3
[SHELL32] Update French translation 2017-11-21 18:24:08 +01:00
Ged Murphy dfb776380d
[FLTMGR] Latest from my branch (#135)
[FLTMGR][KMTEST] 
Squash and push my local branch across to master as the patch is getting a bit large. This is still WIP and none of this code is run in ros yet, so don't fret if you see ugly/unfinished code or int3's dotted around.

[FLTMGR] Improve loading/reg of filters and start to implement client connections
- Implement handling of connections from clients
- Implement closing of client ports
- Add a basic message waiter queue using CSQ's (untested)
- Hand off messages for the comms object to be handled by the comms file
- Initialize the connection list
- Add a registry file which will contain lib functions for accessing filter service entries

- [KMTEST] Initial usermode support for testing FS mini-filters
- Add base routines to wrap the win32 'Filter' APis
- Add support routines to be used when testing FS filter drivers
- Move KmtCreateService to a private routine so it can be shared with KmtFltCreateService
- Completely untested at the mo, so likely contains bugs at this point
- Add support for adding altitude and flags registry entries for minifilters
- Allow minifilters to setup without requiring instance attach/detach callbacks
- Add tests for FltRegisterFilter and FltUnregisterFilter and start to add associated tests
2017-11-21 16:36:29 +00:00
Stanislav Motylkov f884d29c90 [SHELL32] Update Russian translation, following 6465705 2017-11-21 14:06:54 +02:00
Pierre Schweitzer 9904aafd12
[MSGINA] Fix buttons alignment in French translation 2017-11-21 11:49:01 +01:00
Pierre Schweitzer 4b34e44782
[FLOPPY] Don't wait forever while trying to determine media type.
This should fix some virtual machines and real hardware machine with empty floopy drive
not being able to boot ReactOS (stuck while initializing floppy.sys).
This fixes a regression introduced in r70746.
It could be generalized to other interrupts, floppy controllers not being reliable.

For more information: http://wiki.osdev.org/Floppy_Disk_Controller

CORE-7935
CORE-12908
CORE-13080
2017-11-21 10:22:50 +01:00
Giannis Adamopoulos 8f98574e1d [UXTHEME] -Don't change the behaviour of DefWindowProc if SetWindowRgn was called before 2017-11-21 10:52:56 +02:00
Jérôme Gardou 4067eb1454 [OPENGL32]
- Get rid of the TLS based implementation
CORE-14024
2017-11-21 08:22:31 +01:00
Jérôme Gardou 31acac46a1 [OPENGL32]
- Get rid of the default stub table, use NULL instead
 - Simplify stub code by using the appropriate macros
CORE-14024
2017-11-21 08:22:31 +01:00
Jérôme Gardou b060a81d5d [OPENGL]
- Always use the TEB to store opengl data
CORE-14024
2017-11-21 08:22:31 +01:00
Jérôme Gardou 640af3f429 [OPENGL32]
- Fix a trace
2017-11-21 08:22:31 +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
Giannis Adamopoulos 1bfbdb6123 [COMCTL32] Button: Use double buffering when themes are enabled. 2017-11-20 18:51:03 +02:00
Amine Khaldi b3172ae098 [EXT2FS] For some reason we get error: conflicting types for 'do_split' when compiling with clang-cl so work around this with FIXMEs. CORE-11799 (#94) 2017-11-19 15:42:03 +01:00
Amine Khaldi 06b0cc74c5 [REISERFS] Do not take this code path when compiling with clang. CORE-11799 (#94) 2017-11-19 15:24:49 +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
Giannis Adamopoulos 3a68bebf87 [UXTHEME] EnumThemes: Don't fail if a theme doesn't have a tooltip. CORE-13732 2017-11-19 16:02:44 +02:00
Katayama Hirofumi MZ 3dbd44fde1 input: Overwrite font substitutes settings on lang change 2017-11-19 14:36:32 +01:00
Hermès Bélusca-Maïto 7bd33ac4df
[CMD] Addendum to 26ff2c8 and to r40474 / 8cf1106: Fix CMD process exit code.
As it appears, the process exit code of CMD /C is really the errorlevel,
and not the "command's return value".
2017-11-19 00:48:37 +01:00
Hermès Bélusca-Maïto 26ff2c8ef3
[CMD] Fix the errorlevel value set by the EXIT command, and when a batch file has run.
CORE-10495 CORE-13672

- Fix the behaviour of the EXIT command, where it set the last errorlevel
  value ONLY when it was called with the /b switch and otherwise kept the
  ambient one, instead of always using the value that the user specified
  on the command-line.

- When a batch file has terminated, make the Batch() helper returning the
  errorlevel value so that, when the batch file has been started with the
  CALL command, CALL can in turn set the correct errorlevel value.

Verified with respect to Windows' cmd.exe.
2017-11-18 23:52:50 +01:00
Hermès Bélusca-Maïto 24ed534474
[CMD] Code formatting only. 2017-11-18 23:52:50 +01:00
Serge Gautherie 1456310503
[FREELDR] PcMemGetBiosMemoryMap(): Add checks for entry sizes and bare handling of error case. CORE-13332 2017-11-18 21:54:14 +01:00
Pierre Schweitzer 2ddebe3291
[NFS41_NP] Attempt to fix MSVC build 2017-11-18 21:36:57 +01:00
Pierre Schweitzer 45b543202d
[SHELL32] Drop slash when dismounting a remote drive. MPR and NP are expecting a drive letter.
This fixes dismounting a network drive using explorer.
2017-11-18 21:27:30 +01:00
Pierre Schweitzer 764b2b6ef7
[NFS41_NP] Fix debug print in case of connection cancel failure 2017-11-18 21:27:30 +01:00
Hermès Bélusca-Maïto 56a19b1439
[CMD] ExecutePipeline() returns the last error level (set to process exit code).
CORE-13974

This should fix situations where (for example):
   command_1 | command_2 && echo Succeeded
should *NOT* run "echo Succeeded" if any of the command_1 or command_2 has
failed.

This also makes the ExecutePipeline() function on par with the other
"ExecuteXXX()" helpers.

Problem diagnosed by Doug Lyons; patch inspired by contributor 'cagey45'.
2017-11-18 20:59:06 +01:00
Pierre Schweitzer 0701527f20
[SHELL32] Update French translation, following 6465705 2017-11-18 18:56:59 +01:00
Pierre Schweitzer 2284a457a3
[NTOSKRNL] Fix MSVC build: don't attempt to return in a void function 2017-11-18 18:38:36 +01:00
Pierre Schweitzer ec6b3ecbe4
[CDFS] Attempt to a switch to the MS CDFS driver.
To be reverted if it brings in too many regressions, even though I tried to do my best to address them.

Leaving the old driver in place, for now; if no regressions are reported regarding CDFS in 0.4.8, then old driver could be dropped for 0.4.9.
2017-11-18 18:32:36 +01:00
Pierre Schweitzer d3d5853956
[NTOSKRNL] Implement FsRtlCheckOplock(), FsRtlCurrentBatchOplock(), FsRtlInitializeOplock(), FsRtlOplockFsctrl(), FsRtlOplockIsFastIoPossible(), FsRtlUninitializeOplock().
But also, implement FsRtlNotifyCompletion(), FsRtlCompletionRoutinePriv(), FsRtlRemoveAndCompleteWaitIrp(), FsRtlCancelWaitIrp(), FsRtlWaitOnIrp(), FsRtlOplockBreakNotify(), FsRtlRemoveAndCompleteIrp(), FsRtlCancelOplockIIIrp(), FsRtlAcknowledgeOplockBreak(), FsRtlOpBatchBreakClosePending(), FsRtlAllocateOplock(), FsRtlCancelExclusiveIrp(), FsRtlRequestExclusiveOplock(), FsRtlRequestOplockII(), FsRtlOplockCleanup(), FsRtlOplockBreakToNone(), FsRtlOplockBreakToII().
In short... Implement oplocks support in ReactOS.
2017-11-18 18:23:57 +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
Pierre Schweitzer 2b217e4ecf
[NTOSKRNL]
Don't make CcSetReadAheadGranularity() whine for every single file opened by FSDs making use of it.
2017-11-18 18:00:48 +01:00
Pierre Schweitzer 64cb138a67
[NTOSKRNL] In CcPurgeCacheSection(), don't assume the file being purged isn't used. Handle that case properly instead of asserting.
This fixes a triggerable ASSERT from umode where you open a file on a CDFS (with MS CDFS) and attempt to lock the volume.
2017-11-18 17:54:54 +01:00
Pierre Schweitzer 4768a371f4
[NTOSKRNL]
When CcPurgeCacheSection() succeed, make it return TRUE so that callers don't believe it always fail
2017-11-18 17:54:54 +01:00
Katayama Hirofumi MZ 5d2e34d1d4 [FONTS] Add more font substitutes. CORE-12419
Substitute Comic Sans MS with Ubuntu, Georgia with FreeSerif and Palatino Linotype with DejaVu Serif.
2017-11-18 17:11:16 +02:00
Katayama Hirofumi MZ 64657051c3 [SHELL32] CDrivesFolder: Implement the eject and disconnect menu items. CORE-13841
- The items are shown only for the drives where they are applicable.
- May not work fully yet due to bugs in the drivers.
2017-11-18 16:55:08 +02:00
Stanislav Motylkov 06919cde1a [BROWSEUI] [TRANSLATION] Improve english, polish and russian translation 2017-11-18 16:43:27 +02:00
Jérôme Gardou 89dbc88a2c [WIN32SS]
- Unconditionally enter NtUser implementation in EngCreateWnd and EngDeleteWnd
CORE-7727
2017-11-18 12:15:45 +01:00
Jérôme Gardou 3e1a54151f [WIN32SS]
- Do not call the driver Escape routine while holding locks on GDI objects
CORE-7727
2017-11-18 12:15:45 +01:00
Stanislav Motylkov e12763d5bc [BROWSEUI] CISFBand: Add "Open Folder" feature
CORE-13996 #resolve
2017-11-18 12:08:16 +02:00
Stanislav Motylkov f01e6ed6c5 [BROWSEUI] CBandSiteMenu: Show Toolbar error on failure 2017-11-18 11:40:58 +02:00
Pierre Schweitzer f723d230a0
[CDFS_NEW] _SEH2_FINALLY implement SEH support for real instead of its current stub.
This notably fixes BSOD on media change
2017-11-17 22:20:13 +01:00
Alexander Shaposhnikov 519620ce61
README.md: Add "Tweet" button 2017-11-17 22:15:46 +02:00
Mark Jansen 64d10228ee [OPENGL32] Allocate thread data in IntMakeCurrent if it is not allocated yet.
CORE-12232
2017-11-17 19:34:06 +01:00
Mark Jansen fa9ce98d8e [OPENGL32] Do not crash in IntGetCurrentDC if thread data was not allocated.
CORE-12232
2017-11-17 19:34:06 +01:00
Giannis Adamopoulos a4ea17218f [COMCTL32] Implement using different image list images depending on the button state 2017-11-17 14:44:52 +02: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