Commit graph

66254 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto 9a84ae8ab1 Remove extra ending semicolons in our C code base.
svn path=/trunk/; revision=72199
2016-08-11 16:50:41 +00:00
Pierre Schweitzer 24572de19c [MPR]
Import Wine commit:
- b452e6285915b1ad46920fc8551335ab28bfb4c0, Implement local name automatic redirection for disks.
- a65c31e46fa354fc8fbf86c0b9f273f86132a571, Implement provider selection given remote name.

CORE-11757

svn path=/trunk/; revision=72198
2016-08-11 16:29:36 +00:00
James Tabor 4afd025847 [NtUser]
- Fix up Language Layout Hotkey Toggle support for the new Keyboard switching. Support registry settings. Dedicated to Dmitry Chapyshev.
- The registry entry it reads from is the wrong (the short number) one. Someone with registry knowledge please help.
  Also VK_LSHIFT is passed all the time and not VK_RSHIFT (WIP). Support for Left Alt and Control work including SysParam.
- Side Tracks : Fixed CORE-5683. ReactOS can switch from keyboard processing or from DeferWindowProc.

svn path=/trunk/; revision=72197
2016-08-11 15:53:05 +00:00
Thomas Faber a93f0e73ff [FASTFAT]
- Fail invalid opens specifying FILE_DELETE_ON_CLOSE
CORE-6931

svn path=/trunk/; revision=72196
2016-08-11 13:25:57 +00:00
Thomas Faber 3b70374248 [FASTFAT]
- Cancel deletion of a directory if it is not empty when its last handle is closed
CORE-6931

svn path=/trunk/; revision=72195
2016-08-11 11:41:25 +00:00
James Tabor d2ae65c710 - Fix Desktop hang if no windows open.
svn path=/trunk/; revision=72194
2016-08-11 00:29:26 +00:00
Thomas Faber aed9207c96 [NTOS:FSRTL]
- Use the correct parent node when replacing an identical cache entry in FsRtlAddToTunnelCache
CORE-11819

svn path=/trunk/; revision=72193
2016-08-10 21:09:50 +00:00
Pierre Schweitzer 72eefb7a68 [KMTESTS:FSRTL]
Add a stress test for tunnel cache implementation, where we have fun adding duplicated entries.
It doesn't seem to go well.
These tests are also known as "Learn your English ordinals", or as "Learn how to count in English". My pleasure.

CORE-11819

svn path=/trunk/; revision=72192
2016-08-10 20:50:36 +00:00
Mark Jansen da6a705bb1 [ATL][ATL_APITEST] Partially implement CRegKey + add tests. CORE-11746
svn path=/trunk/; revision=72191
2016-08-10 19:34:38 +00:00
Dmitry Chapyshev ac58e0fdf6 [SDK]
- KLF_SHIFTLOCK is not equal 65535. Correct value is 0x00010000

svn path=/trunk/; revision=72190
2016-08-10 19:05:54 +00:00
Dmitry Chapyshev 4245233f5f [INPUT]
- Draw 0x2022 unicode symbol instead 0x25CF (marking default input method)
- Fix incorrect logic in CapsLock parameters
- Notice system of change CapsLock mode parameters

svn path=/trunk/; revision=72189
2016-08-10 19:04:11 +00:00
Giannis Adamopoulos 22c0bb2723 [SHELL32]
- Add CRegFolder using the guid item specific functions. So far it is only partly implemented with stuff like enumerating still missing.
- Use CRegFolder in CDesktopFolder, CDrivesFolder and CControlPanelFolder and stop using guid item specific functions.

svn path=/trunk/; revision=72188
2016-08-10 18:56:48 +00:00
Amine Khaldi 5645cda63f [SHIMLIB] Improve header inclusions.
svn path=/trunk/; revision=72187
2016-08-10 13:37:22 +00:00
Pierre Schweitzer e3b0a95319 [NTOSKRNL]
While attempting to read data from disk in CcReadVirtualAddress(), always align our read size by pages.
That means that even on boundaries, we will read a complete page.
This fixes FSD relying on Cc to properly align reads and thus poorly failing in disk.sys because of unaligned reads.
Notably, it helps MS FastFAT loading a bit farther in ReactOS (but it still fails :-().
This also fixes a few kmtests.

CORE-11003
CORE-11819

svn path=/trunk/; revision=72186
2016-08-10 11:52:30 +00:00
Hermès Bélusca-Maïto 57888376d9 [INPUT]
- Fix misspelling "Dublicate" -> "Duplicate".
- Use ZeroMemory instead of memset(..., 0, ...).
- Don't hardcode most of the variable types for sizeof.

svn path=/trunk/; revision=72185
2016-08-10 11:42:21 +00:00
Thomas Faber 079e405958 [TCPIP]
- Use pool tagging

svn path=/trunk/; revision=72184
2016-08-10 11:19:59 +00:00
Thomas Faber 0439f525d3 [IP]
- Only accept an incoming connection on one listening socket, not all. Fixes use after free when multiple connection endpoints are assigned the same PCB.
CORE-11649 #resolve

svn path=/trunk/; revision=72183
2016-08-10 10:28:28 +00:00
Pierre Schweitzer f27ecf0960 [KMTESTS:CC]
New test case which is matching the MS FastFAT CcCopyRead (minus the offset) and shows clearly the issue in our Cc.
It also shows that my hack is utterly broken :-).

CORE-11003
CORE-11819

svn path=/trunk/; revision=72182
2016-08-10 07:39:20 +00:00
James Tabor 831a53f80f [NtUser]
- Fix breakage due to WM_NCPAINT call. Duplicate check for draw caption bar Justin Case.

svn path=/trunk/; revision=72181
2016-08-10 03:02:57 +00:00
James Tabor 824b41c0b2 [NtUser]
- Fix regression from r71846. See CORE-11479 for more details.

svn path=/trunk/; revision=72180
2016-08-10 00:16:57 +00:00
Ged Murphy 6927d67350 [README.WINE]
- Remove reference to fltlib. It was, and will likely only ever be a stubbed dll in Wine

svn path=/trunk/; revision=72179
2016-08-09 22:23:16 +00:00
Ged Murphy 35623f5db9 [FLTLIB]
- Stub out fltlib.dll.
- Add basic implementations for FilterLoad and FilterUnload
- Remove the wine code, this lib talks directly to fltmgr.sys and is therefore a reactos only dll from now on.

svn path=/trunk/; revision=72178
2016-08-09 22:10:05 +00:00
Dmitry Chapyshev d89d2873bc [INPUT]
- Rename input_new to input

svn path=/trunk/; revision=72177
2016-08-09 21:49:06 +00:00
Dmitry Chapyshev ce6a889a7b [INPUT]
- Remove old input.dll

svn path=/trunk/; revision=72176
2016-08-09 21:45:58 +00:00
Dmitry Chapyshev fcb6eaa8cc [KBSWITCH]
- Hackfix detecting keyboard layout switching

* Now when hotkeys switching layouts icon changes

svn path=/trunk/; revision=72175
2016-08-09 21:41:05 +00:00
Ged Murphy 0b589c107d [FLTMC]
- Start to implement fltMC
- It currently supports loading, unloading and listing loaded filter driver.

svn path=/trunk/; revision=72174
2016-08-09 21:33:53 +00:00
Ged Murphy 705846cb25 [FLTLIB_APITEST]
- Create a skeleton test project for fltlib.dll
- Not yet part of the build

svn path=/trunk/; revision=72173
2016-08-09 21:23:40 +00:00
Dmitry Chapyshev e5d5259ab7 [INPUT]
- Small fix :-p

svn path=/trunk/; revision=72172
2016-08-09 21:09:07 +00:00
Dmitry Chapyshev 4e8d5c9c39 [INPUT]
- Implement 'Key Settings' and 'Change Key Settings' dialogs

* Now you can add, delete and change the input method, change the hotkey switching input methods. The system correctly responds to changes. It works fine in Windows 10, but has not yet been tested on ReactOS

svn path=/trunk/; revision=72171
2016-08-09 21:03:55 +00:00
Pierre Schweitzer b7586c0478 [KMTESTS:CC]
It seems we're page-aligned.

CORE-11003

svn path=/trunk/; revision=72170
2016-08-09 20:52:38 +00:00
Pierre Schweitzer dfdbabb521 [KMTESTS:CC]
Modify a bit the read test so that it actually fails in ReactOS. It instructs us that when it comes to file boundaries, our Cc fails to properly align read (whereas it should!).
This is the behavior exposed by the MS FastFAT.

CORE-11003
CORE-11819

svn path=/trunk/; revision=72169
2016-08-09 20:46:00 +00:00
Dmitry Chapyshev e64e194b5d [INPUT]
- Implement editing input methods
- Marking default layout
- Other bugfixes

svn path=/trunk/; revision=72168
2016-08-09 18:26:43 +00:00
Giannis Adamopoulos ecf30d78ed [SHELL32]
- Don't hardcode the path in the shell namespace in any folder appart for CDesktopFolder and CDrivesFolder.
- Make SHELL32_CoCreateInitSF slightly more generic and use it when we need to create and initialise a shell folder.
- Now SHELL32_BindToFS is used only by CFSFolder but SHELL32_CoCreateInitSF still uses the generic _ILSimpleGetTextW (it accesses the pidl).

svn path=/trunk/; revision=72167
2016-08-09 18:05:50 +00:00
Dmitry Chapyshev b346062c73 [INPUT]
- Implement 'Remove', 'Set Default' for input methods

svn path=/trunk/; revision=72166
2016-08-09 14:01:52 +00:00
Pierre Schweitzer 22f90f2210 [KMTESTS:CC]
Complete the tests for Cc: not only check for alignment, but also check that expected data are returned.
Thanks to Thomas for his help on this :-).

CORE-11003

svn path=/trunk/; revision=72165
2016-08-09 12:43:18 +00:00
Thomas Faber 7849fac958 [NTOS:CC]
- Gracefully handle failure to obtain virtual memory when creating a VACB. We now no longer crash when running out of virtual memory during (large) file operations (but will still crash when running out of physical memory).
CORE-11533

svn path=/trunk/; revision=72164
2016-08-09 07:59:07 +00:00
Thomas Faber 0c43b4ec9c [NTOS:MM]
- Correctly reserve the whole 4 MB of HAL address space instead of just 2 pages
CORE-11533

svn path=/trunk/; revision=72163
2016-08-09 07:48:09 +00:00
Thomas Faber 2a05ceca1d [NTOS:MM]
- Accept memory areas that end at 0xffffffff
CORE-11533

svn path=/trunk/; revision=72162
2016-08-09 07:43:51 +00:00
Thomas Faber 41defc9597 [NTOS:MM]
- In debug builds, invalidate the MEMORY_AREA's Magic on destroy to catch potential uses after free

svn path=/trunk/; revision=72161
2016-08-09 07:28:02 +00:00
Dmitry Chapyshev 8a32608dfe [INPUT]
- Implement add input methods
- Some improvents

svn path=/trunk/; revision=72160
2016-08-08 20:30:36 +00:00
Benedikt Freisen 3185db7675 [MSPAINT] Handle settings from registry correctly. Patch by Carlo Bramini. CORE-11400
svn path=/trunk/; revision=72158
2016-08-08 14:00:18 +00:00
Pierre Schweitzer 77624f187f [FASTFAT]
Fix a FIXME: update the last writing date in case of null-length write.

svn path=/trunk/; revision=72157
2016-08-08 12:44:15 +00:00
Pierre Schweitzer 2a1acea36f [FASTFAT]
Opening file by ID is not possible with FAT.

svn path=/trunk/; revision=72156
2016-08-08 07:28:14 +00:00
James Tabor f2e1baa17e [User32]
- Fix bug that was uncovered by r72143. See CORE-11810.
- Move System Commands to server side. Leaving Alt-Tab and Scrolls.

svn path=/trunk/; revision=72155
2016-08-07 23:52:43 +00:00
Dmitry Chapyshev 6b265ca585 [INPUT]
- Implement list of keyboard layouts on Settings Page

svn path=/trunk/; revision=72154
2016-08-07 23:28:50 +00:00
Eric Kohl 71757bb0fe [LSASRV]
- Partital implementation of LsarRemoveAccountRights.
- Simplify LsapLookupAccountRightValue. Return ACCESS_MASK instead of NTSTATUS.
- LsarAddAccountRights: Check parameters before referncing the policy handle.

svn path=/trunk/; revision=72153
2016-08-07 22:36:07 +00:00
Hermès Bélusca-Maïto 17704fdd87 [ADVAPI32]: Addendum to r72151: It's incorrect to compare the variable of BOOL type with TRUE. Any non-zero value is considered to be "true". Caught by Thomas.
svn path=/trunk/; revision=72152
2016-08-07 19:11:08 +00:00
Hermès Bélusca-Maïto 1b15193628 [ADVAPI32]: Don't directly redirect IsTextUnicode to RtlIsTextUnicode, but use a helper function, so that the return value is correctly set to TRUE or FALSE. Indeed the former function returns a BOOL (long) while the latter returns a BOOLEAN (byte), and the high bytes in the return value could not be correctly set otherwise.
Adapted from a patch by 'andy-123'.

CORE-11803 #resolve #comment Fixesd, thanks!

svn path=/trunk/; revision=72151
2016-08-07 19:02:07 +00:00
Hermès Bélusca-Maïto 0644419fd1 [SDK][RTL][NDK]: Update RtlIsTextUnicode prototype.
svn path=/trunk/; revision=72150
2016-08-07 18:52:49 +00:00
Hermès Bélusca-Maïto 2ecffb24d7 [ADVAPI32]: Cleanup file headers and whitespace.
svn path=/trunk/; revision=72149
2016-08-07 16:57:45 +00:00